public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Source search path
@ 2003-09-05  5:18 Russell Shaw
  0 siblings, 0 replies; 2+ messages in thread
From: Russell Shaw @ 2003-09-05  5:18 UTC (permalink / raw)
  To: gdb

Hi,
I have a dozen directories containing source files
and load them thru an environment variable when starting
gdb:

   gdb -d $cpath myapp

(myapp uses shared libraries)

Is there a default environment variable for gdb to load
the source path instead of needing the -d option? Does
gdb have a .gdbrc file? (couldn't find anything in the
manual)

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

* Re: Source search path
@ 2003-09-05  5:41 Michael Elizabeth Chastain
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Elizabeth Chastain @ 2003-09-05  5:41 UTC (permalink / raw)
  To: gdb, rjshaw

> Does gdb have a .gdbrc file? (couldn't find anything in the
> manual)

Yes; the file is named .gdbinit.

Michael C

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

end of thread, other threads:[~2003-09-05  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05  5:18 Source search path Russell Shaw
2003-09-05  5:41 Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).