gdb/257: Linux/PPC GDB 5.1 dies debugging programs linked with -lrt

mendell@ca.ibm.com mendell@ca.ibm.com
Fri Oct 26 05:08:00 GMT 2001


>Number:         257
>Category:       gdb
>Synopsis:       Linux/PPC GDB 5.1 dies debugging programs linked with -lrt
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 13 11:18:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark Mendell
>Release:        gdb-5.1
>Organization:
>Environment:
Linux/PPC: SuSe 7.1
>Description:
linking any program with -lrt will cause gdb to crash after program execution starts
>How-To-Repeat:
mendell@cedar:~ > cat > t.c
int main()
{
        printf ("hi\n");
}
mendell@cedar:~ > gcc t.c -lrt
mendell@cedar:~ > src/gdb-5.1/gdb/gdb a.out 
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...(no debugging symbols found)...
(gdb) r
Starting program: /home/mendell/a.out 
(no debugging symbols found)...[New Thread 1024 (LWP 861)]
Segmentation fault
mendell@cedar:~ >
>Fix:

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



More information about the Gdb-prs mailing list