This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Setting breakpoint in src file located in different directory
Daniel Jacobowitz <drow@false.org> writes:
> On Tue, Apr 12, 2005 at 01:59:46PM +0200, Joakim Hove wrote:
>> o I have a directory ~/libdos/src/ which contains many different
>> source files. These files are compiled and linked to a shared
>> library.
>
> That's the key. Shared library.
OK - sorry for being late with that information.
> [...] If you want this to work from .gdbinit, see "help set
> breakpoint pending".
"set breakpoint pending on"
at the top of .gdbinit did the trick.
Thank you very much for your help.
Best Regards
Joakim Hove
--
Joakim Hove
hove AT ift uib no /
Tlf: +47 (55 5)8 27 90 / Stabburveien 18
Fax: +47 (55 5)8 94 40 / N-5231 Paradis
http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04