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



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