breakpoints/2180: invalid address for symbol w/o debugging info when using stabs

eager@eagercon.com eager@eagercon.com
Tue Oct 3 02:38:00 GMT 2006


>Number:         2180
>Category:       breakpoints
>Synopsis:       invalid address for symbol w/o debugging info when using stabs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 03 02:38:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Eager
>Release:        6.5.0
>Organization:
>Environment:
powerpc-eabi-linux
>Description:
GDB sets a breakpoint at the wrong address when you give it a symbol name in a module which doesn't have debug info.  The address used is the last line of a preceeding module which contains stabs debug info.

See http://sources.redhat.com/ml/gdb/2006-10/msg00000.html
and following.
>How-To-Repeat:
void foo() { }
int main() { foo(); }

powerpc-eabi-gcc -gstabs test.c
powerpc-eabi-gdb a.out
break __fini
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list