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]

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


>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:


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