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,

    Thanks a lot for your response. 

    I'm not able to set sysroot variable. And, inspite of setting
solib-search-path variable,
    Functions are not displaying properly. Could you please kindly help
?

[balkani@ssevm32 TR069]$ arm-none-linux-gnueabi-gdb DslmSsp
~/CRASH/core_11_DslmSsp.4364
GNU gdb (CodeSourcery ARM Sourcery G++ 2006q3-26) 6.5.50.20060822-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-none-linux-gnueabi".
For bug reporting instructions, please see:
<URL:mailto:arm-gnu@xxxxxxxxxxxxxxxx>.
..


warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Core was generated by `/opt/cisco/DslmSsp'.
Program terminated with signal 11, Segmentation fault.
#0  0x402b39d8 in ?? ()
(gdb) where
#0  0x402b39d8 in ?? ()
#1  0x40299004 in ?? ()
#2  0x40299004 in ?? ()
Previous frame identical to this frame (corrupt stack?)


(gdb) set solib-search-path
/u01/balkani/TR069/framework/build/TR069:/u01/balkani/TR069/framework/bu
ild/TR069/lib:/u01/balkani/TR069/framework/build/TR069/ipaccess/lib:


(gdb) set sysroot ../
No symbol "sysroot" in current context.
(gdb) set sysroot /u01/balkani/TR069/framework/build/TR069
No symbol "sysroot" in current context.

(gdb) where
#0  0x402b39d8 in ?? ()
#1  0x40299004 in ?? ()
#2  0x40299004 in ?? ()
(gdb)


Could you please suggest me the latest version which I could download ?

[balkani@ssevm32 TR069]$ arm-none-linux-gnueabi-gcc --version
arm-none-linux-gnueabi-gcc (CodeSourcery ARM Sourcery G++ 2006q3-26)
4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.

[balkani@ssevm32 TR069]$ arm-none-linux-gnueabi-gdb --version
GNU gdb (CodeSourcery ARM Sourcery G++ 2006q3-26) 6.5.50.20060822-cvs
Copyright (C) 2006 Free Software Foundation, Inc.

Regards, Balaji

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

On Mon, Dec 21, 2009 at 11:25:54AM +0530, Balaji Kani -X (balkani -
WIPRO at Cisco) wrote:
> Cannot access memory at address 0x400256b0

You probably need to use "set sysroot" and "set solib-search-path" to
find your shared libraries.

Also, I suggest upgrading.  You're using a very old release of
Sourcery G++.

-- 
Daniel Jacobowitz
CodeSourcery