This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
breakpoints/2180: invalid address for symbol w/o debugging info when using stabs
- From: eager at eagercon dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 3 Oct 2006 02:31:30 -0000
- Subject: breakpoints/2180: invalid address for symbol w/o debugging info when using stabs
- Reply-to: eager at eagercon dot com
>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: