Article View: gnu.gdb.bug
Article #9939trouble with multiple object files with the same name
From: Eric Hanchrow
Date: Wed, 28 Nov 1990 02:38
Date: Wed, 28 Nov 1990 02:38
17 lines
1680 bytes
1680 bytes
I have a program which includes a library; the library has an object
file named `port.o' in it. My program also has a file named `port.o'.
When I look at `port.c' (the one from my program, not the library) in
Emacs, and ask gdb to set a breakpoint in it (with C-x SPC,
gdb-break), gdb tells me this:
(gdb) Reading in symbols for /home/CapFast/src/libs/src/pnl/src/port.c...done.
No line 41 in file "/home/CapFast/src/libs/src/pnl/src/port.c".
How can I tell it to set a break in the file I'm interested in -- the
local port.c, not the one in the library???
------------------------------------------------------------------------
|Eric Hanchrow nosun.west.sun.com!yamada-sun!eric |
|Phase III Logic, Inc. cse.ogi.edu!yamada-sun!eric |
|1600 N.W. 167th Place Beaverton, OR 97006-4800 USA |
|Voice: (503)-645-0313 Fax: (503)-645-0207 as of 4-Oct-89|
--------------Crackling-noises-OK--do-not-correct!----------------------
Technical Details
Message-ID:
<9011280238.AA05220@>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!AI.MIT.EDU!yamada-sun!ericShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,aa49be7b2abd29f7,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-11-27 18:38:48 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!AI.MIT.EDU!yamada-sun!eric From: yamada-sun!eric@AI.MIT.EDU (Eric Hanchrow) Newsgroups: gnu.gdb.bug Subject: trouble with multiple object files with the same name Message-ID: <9011280238.AA05220@> Date: 28 Nov 90 02:38:48 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 Approved: bug-gdb@prep.ai.mit.edu Posted: Wed Nov 28 03:38:48 1990