www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/29/11:04:56

From: kagel AT quasar DOT bloomberg DOT com
Date: Mon, 29 Apr 1996 10:52:36 -0400
Message-Id: <9604291452.AA01170@quasar.bloomberg.com >
To: j DOT aldrich6 AT genie DOT com
Cc: djgpp AT delorie DOT com
In-Reply-To: <199604260151.AA092663478@relay1.geis.com> (j.aldrich6@genie.com)
Subject: Re: Standard 32-bit libraries
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   From: j DOT aldrich6 AT genie DOT com
   Date: Fri, 26 Apr 96 01:56:00 UTC 0000

   Reply to message 4187547    from ELRIC AT WHEEL DOT D on 04/24/96 11:47AM


   >I debug across multiple source files in mutliple directories.  What is
   >the difficulty?  Or did I miss a winky?

   How do you get multiple directories?  When I run gdb, it can't find the
   source code unless I run the program from the source directory.

   John


Just use the "directory" command.  You can specify one or more source
directories and GDB will add it/them to the list of directories it searches.
The default search list includes only current directory.  You can also put dir
commands into your gdb init file for directories you frequently use or a
current hot project (it is .gdbinit in UNIX I don't remember the file name for
the DJGPP port, look in the info docs).

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019