Problems printing variables in sparc-rtems4.11-gdb 7.6

Sebastian Huber sebastian.huber at
Tue Jun 10 07:43:21 UTC 2014

On 2014-06-10 01:15, Joel Sherrill wrote:
> On 6/9/2014 5:57 AM, Daniel Hellstrom wrote:
>> >Hi,
>> >
>> >Have you seen a fix or update on this issue?
> I have gdb 7.7 on Centos 6.x built using the RSB and it handles
> your case fine. I don't recall seeing those type of messages
> from it.

With GDB 7.7.1 and GCC 4.8.3 it doesn't work for me:

GNU gdb (GDB) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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-unknown-linux-gnu 
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ticker.exe...done.
Connected to the simulator.
Breakpoint 1 at 0x2005b10: file 
/home/sh/rtems-4.11/c/src/../../cpukit/libcsupport/src/__assert.c, line 38.
Breakpoint 2 at 0x201c244: file 
/home/sh/rtems-4.11/c/src/../../cpukit/score/src/interr.c, line 39.
Breakpoint 3 at 0x2001160: file 
line 379.
(gdb) b rtems_clock_tick
Breakpoint 4 at 0x2010ba4: file 
/home/sh/rtems-4.11/c/src/../../cpukit/rtems/src/clocktick.c, line 30.
(gdb) r
Starting program: 

Breakpoint 4, rtems_clock_tick () at 
30        _Thread_Disable_dispatch();
(gdb) where
#0  rtems_clock_tick () at 
#1  0x02002bf4 in Clock_isr (vector=<error reading variable: can't compute CFA 
for this frame>) at 
#2  0x020437a4 in dont_fix_pil2 () at 
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

See also:

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the devel mailing list