Problems printing variables in sparc-rtems4.11-gdb 7.6
Ralf Kirchner
ralf.kirchner at embedded-brains.de
Wed May 29 11:42:38 UTC 2013
Hi All,
I noticed a strange problem with gdb version 7.6 (our current RPM version)
Printing variables in in gdb is not possible.
Scenario:
rk at 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
--
--------------------------------------------
Embedded Brains GmbH
Ralf Kirchner Dornierstr. 4
D-82178 Puchheim Germany
email: ralf.kirchner at embedded-brains.de
Phone: +49-89-18 94 741-17
Fax: +49-89-18 94 741-08
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list