This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug backtrace/16215] SPARC: can't compute CFA for this frame


https://sourceware.org/bugzilla/show_bug.cgi?id=16215

--- Comment #1 from Sebastian Huber <sebastian.huber@embedded-brains.de> ---
Created attachment 7308
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7308&action=edit
Workaround patch for GCC

This patch for GCC forces the old debug format.  With it I don't have the
backtrace problems:

(gdb) where
#0  console_write (major=0, minor=0, arg=0x400426f0) at
/home/sh/rtems-4.11/c/src/lib/libbsp/sparc/leon3/console/console.c:452
#1  0x4002a7f0 in rtems_io_write (major=0, minor=0, argument=0x400426f0) at
/home/sh/rtems-4.11/c/src/../../cpukit/sapi/src/iowrite.c:37
#2  0x40029124 in rtems_deviceio_write (iop=0x4004b150, buf=0x40039fe8,
nbyte=25, major=0, minor=0) at
/home/sh/rtems-4.11/c/src/../../cpukit/libcsupport/src/sup_fs_deviceio.c:108
#3  0x40028a3c in device_write (iop=0x4004b150, buffer=0x40039fe8, count=25) at
/home/sh/rtems-4.11/c/src/../../cpukit/libfs/src/imfs/deviceio.c:90
#4  0x40038330 in write (fd=2, buffer=0x40039fe8, count=25) at
/home/sh/rtems-4.11/c/src/../../cpukit/libcsupport/src/write.c:48
#5  0x40037e74 in _write_r (ptr=0x40042c60, fd=2, buf=0x40039fe8, nbytes=25) at
/home/sh/rtems-4.11/c/src/../../cpukit/libcsupport/src/write_r.c:41
#6  0x40033878 in __sfvwrite_r (ptr=0x40042c60, fp=0x40042e98, uio=0x400429d4)
at /home/sh/archive/gcc-git/newlib/libc/stdio/fvwrite.c:99
#7  0x4002dd1c in __sprint_r (ptr=0x40042c60, fp=0x40042e98, uio=0x400429d4) at
/home/sh/archive/gcc-git/newlib/libc/stdio/vfprintf.c:437
#8  0x4002e904 in _vfiprintf_r (data=0x40042c60, fp=<optimized out>,
fmt0=<optimized out>, ap=<optimized out>) at
/home/sh/archive/gcc-git/newlib/libc/stdio/vfprintf.c:1776
#9  0x4002c214 in fiprintf (fp=0x40042e98, fmt=0x40039fe0 "%s\n") at
/home/sh/archive/gcc-git/newlib/libc/stdio/fiprintf.c:50
#10 0x40001420 in Init (argument=1073991032) at
/home/sh/rtems-4.11/c/src/../../testsuites/samples/ticker/init.c:31
#11 0x4002b688 in _Thread_Handler () at
/home/sh/rtems-4.11/c/src/../../cpukit/score/src/threadhandler.c:188
#12 0x4002b5b4 in _Thread_Handler () at
/home/sh/rtems-4.11/c/src/../../cpukit/score/src/threadhandler.c:93

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]