Hi,
Have you seen a fix or update on this issue?
Regards,
Daniel
On 05/29/2013 07:30 PM, Jiri Gaisler wrote:
On 05/29/2013 01:42 PM, Ralf Kirchner wrote:
Hi All,
I noticed a strange problem with gdb version 7.6 (our current RPM version)
Printing variables in in gdb is not possible.
I have the same problem on both gdb-7.5 and 7.6 (ubuntu 12.04 x64).
Some variables print OK, some get the 'can't compute CFA' error.
Gdb version 7.4 and earlier cannot read the symbol table at all, probably
due to unsupported dwarf version 4 produced by sparc-rtems4.11-gcc (gcc-4.8).
Most annoying ....
Jiri.
Scenario:
rk@linux-aiv4:~/git-rtems-testing/rtems/build-sparc-sis-rtems/sparc-rtems4.11/c/sis/testsuites/fstests/fsdosfsname01
sparc-rtems4.11-gdb *.exe
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-suse-linux-gnu
--target=sparc-rtems4.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/scratch/git-rtems-testing/rtems/build-sparc-sis-rtems/sparc-rtems4.11/c/sis/testsuites/fstests/fsdosfsname01/fsdosfsname01.exe...done.
(gdb) tar sim
Connected to the simulator.
(gdb) load
(gdb) break Init
Breakpoint 1 at 0x2004338: file
../../../../../../../git-rtems/c/src/../../testsuites/fstests/fsdosfsname01/init.c,
line 1295.
(gdb) run
Starting program:
/scratch/git-rtems-testing/rtems/build-sparc-sis-rtems/sparc-rtems4.11/c/sis/testsuites/fstests/fsdosfsname01/fsdosfsname01.exe
Breakpoint 1, Init (arg=<error reading variable: can't compute CFA for
this frame>) at
../../../../../../../git-rtems/c/src/../../testsuites/fstests/fsdosfsname01/init.c:1295
1295 puts( "\n\n*** TEST fsdosfsname01 ***" );
(gdb) p arg
can't compute CFA for this frame
(gdb)
Has anybody else seen such problems with gdb 7.6?
Am I doing anything wrong? Does version 7.6 need any special treatment
to work correctly?
Kind Regards
Ralf Kirchner
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel