Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* relative file paths?
@ 2003-02-26 22:50 christopher j bottaro
  2003-02-27 23:31 ` gdb 5.3 doesn't find line numbers David Wuertele
  0 siblings, 1 reply; 6+ messages in thread
From: christopher j bottaro @ 2003-02-26 22:50 UTC (permalink / raw)
  To: gdb

gdb won't let me set a breakpoint when i use a relative file name.  i have to 
cd into the dir where the file is to make a break point.  its kinda annoying.  
am i doing something wrong or is this how its suppose to be?

ex output:

(gdb) pwd
Working directory /home/cjb/projects/cs378/linux-2.4.19.
(gdb) b arch/um/kernel/hostandtime.c:9
No source file named arch/um/kernel/hostandtime.c.
(gdb) cd arch/um/kernel/             
Working directory /home/cjb/projects/cs378/linux-2.4.19/arch/um/kernel.
(gdb) b hostandtime.c:9
Breakpoint 4 at 0xa0074187: file hostandtime.c, line 9.

thanks for the help,
-- christopher


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-28  0:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26 22:50 relative file paths? christopher j bottaro
2003-02-27 23:31 ` gdb 5.3 doesn't find line numbers David Wuertele
2003-02-27 23:33   ` Daniel Jacobowitz
2003-02-27 23:57     ` David Wuertele
2003-02-28  0:08       ` Daniel Jacobowitz
2003-02-28  0:23         ` David Wuertele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox