RE: [arm-gnu] Core File seems to be corrupted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] Core File seems to be corrupted



Hi Daniel,

   I downloaded the following tar files of "Sourcery G++ Lite 2009q3-67
for ARM GNU/Linux"
Source TAR
IA32 GNU/Linux TAR  
IA32 GNU/Linux Installer

URL: http://www.codesourcery.com/sgpp/lite/arm/portal/release1039

   Unfortunately, when I tried to untar/ungzip using WinZip I get the
following error:-
   "Error reading header after processing 0 entries"


>Sourcery G++ Lite is not supported; if you continue to have difficulty
>configuring Linux debugging, you may want to consider an evaluation of
>our Standard Edition or Professional Edition product for access to
>support.
 
 You mean GDB manual not supported ? or solib-absolute-prefix variable
not supported ?

 Thanks a lot for your help

Regards, Balaji

-----Original Message-----
From: Daniel Jacobowitz [mailto:dan@xxxxxxxxxxxxxxxx] 
Sent: Tuesday, December 22, 2009 7:12 PM
To: Balaji Kani -X (balkani - WIPRO at Cisco)
Cc: arm-gnu@xxxxxxxxxxxxxxxx
Subject: Re: [arm-gnu] Core File seems to be corrupted

On Tue, Dec 22, 2009 at 06:32:15PM +0530, Balaji Kani -X (balkani -
WIPRO at Cisco) wrote:
> Hi Daniel,
> 
>    Could you please help me with my issue ?
> 
>    I have set solib-absolute-prefix variable and still I'm seeing the
> "??" only.
>    I tried absolute path and also the relative path, still no luck for
> me.
> 
> (gdb) set solib-absolute-prefix
>
./lib:./:../ipaccess/lib:../:../lib:./ipaccess/lib:/u01/balkani/TR069/fr
>
amework/build/TR069:/u01/balkani/TR069/framework/build/TR069/lib:/u01/ba
> lkani/TR069/framework/build/TR069/ipaccess/lib

Please look at the GDB manual, which describes what the argument to
this command should be.

Sourcery G++ Lite is not supported; if you continue to have difficulty
configuring Linux debugging, you may want to consider an evaluation of
our Standard Edition or Professional Edition product for access to
support.

> +int
> +__arm_backtrace(int **arr, int maxsiz)
> +{
> +   int cnt = 0;
> +   void *fp = __builtin_frame_address (0);
> +   struct layout *lp = (struct layout *)(fp - 12);

No modern compiler uses this frame layout.  If you upgrade to the
latest Sourcery G++ release, you can use the libc backtrace()
function, but it's never as reliable as GDB.

-- 
Daniel Jacobowitz
CodeSourcery