c/9955: objdump incomplete if gcc has option -ggdb (instead of -g)

dwang@3upsystems.com dwang@3upsystems.com
Tue Mar 4 23:26:00 GMT 2003


>Number:         9955
>Category:       c
>Synopsis:       objdump incomplete if gcc has option -ggdb (instead of -g)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 23:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dean Wang
>Release:        unknown-1.0
>Organization:
>Environment:
cygwin in Windows 2000 gcc corss compiler for MIPS324kc building eCos redboot.elf
>Description:
When building redboot.elf, if using "gcc -g", I got N_SO for source file (*.c) with 00000000 as addresses. If I use "gcc -ggdb", the "objdump --stabs " will not finish.

Enclosed junk2 is built with "gcc -g" and "objdump --stabs". File junk3 is built with "gcc -ggdb" and "objdump --stabs".
>How-To-Repeat:
Build a relatively big file with -ggdb and see if objdump --stabs will work. 
>Fix:

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



More information about the Gcc-bugs mailing list