🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #757

Can't find files in gdb-3.1.2

#757
From: grunwald
Date: Sun, 16 Apr 1989 22:03
24 lines
1185 bytes
When using gdb-mode, I have trouble finding files in the following situation:

I have directories: Foo/Bar, Foo/Src

binaries are in Foo/Bar, where I'm running GDB.
Source is in Foo/Src.

I compile in Foo/Bar, using e..g, gcc -o -c ../Src/woof.cc

when I'm in gdb-mode within emacs (18.53) and examine file ``woof.cc'',
and try to set a break-point, GDB tells me that file my binary doesn't
reference file ``woof.cc''.

instead, it's looking for ``../Src/woof.cc''. When I hit breakpoints, I
do, in fact, pop up in ../Src/woof.cc.

it should ask me something like ``do you mean....'' or somesuch.

this happens with gdb-3.1.2
--
Dirk Grunwald
Univ. of Illinois
grunwald@flute.cs.uiuc.edu
Technical Details
Message-ID: <GRUNWALD.89Apr16170341@flute.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald
From: grunwald@flute.cs.uiuc.edu
Newsgroups: gnu.gdb.bug,gnu.g++.bug
Subject: Can't find files in gdb-3.1.2
Message-ID: <GRUNWALD.89Apr16170341@flute.cs.uiuc.edu>
Date: 16 Apr 89 22:03:41 GMT
Sender: news@garcon.cso.uiuc.edu
Distribution: gnu
Organization: University of Illinois, Urbana-Champaign
Lines: 24