Article View: gnu.gcc.help
Article #49411GDB only works with GCC-compiled binaries
From: wpwood
Date: Wed, 26 Jan 1994 16:03
Date: Wed, 26 Jan 1994 16:03
17 lines
1696 bytes
1696 bytes
I realize that this may not be the right newsgroup, but I couldn't find a more appropriate one, so apologies in advance. I just compile gcc 2.5.7 and gdb 4.11, and I'm having some trouble with gdb. Basically, I try to run gdb on a binary compiled with my system's native C compiler (using the -g flag), and when I try to list the source, I get a message about .file not being found. If I compile the program with gcc, gdb works fine. Now, does gdb support xcoff format (I'm on an RS/6000). Obviously it does, since gcc produces xcoff output as well. So, is there a flag that I forgot to specify when I compiled gdb? Anyway, any help would be greatly appreciated. Thanks, <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Bill Woodward | wpwood@austin.ibm.com | Crack the Sky fanatic AIX Graphics Support | 512-838-2834 | Have a day. My other computer is a 386 running Linux !!!
Technical Details
Message-ID:
<WPWOOD.94Jan26100353@darkwing.austin.ibm.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!awdprime!wpwoodShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,dba8afdeaa8d3d6c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-27 04:35:53 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!awdprime!wpwood From: wpwood@darkwing.austin.ibm.com Subject: GDB only works with GCC-compiled binaries Sender: news@austin.ibm.com (News id) Message-ID: <WPWOOD.94Jan26100353@darkwing.austin.ibm.com> Date: Wed, 26 Jan 1994 16:03:53 GMT Reply-To: wpwood@austin.ibm.com (Bill Woodward) Organization: The Institute of Knowledge on Jinx Lines: 17