www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/22/18:16:23

Sender: nate AT cartsys DOT com
Message-ID: <35B626AE.7D81F063@cartsys.com>
Date: Wed, 22 Jul 1998 10:51:42 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Anton Helm <tony AT nt DOT tuwien DOT ac DOT at>
CC: djgpp AT delorie DOT com
Subject: Re: djgpp and WinNT 4.0 summary of problems
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980722153436 DOT 0099e970 AT hal DOT nt DOT tuwien DOT ac DOT at>

Anton Helm wrote:

> BTW: gdb reads source files from the directories given with the 'dir'
> command (defaults to compile-dir and cwd). Do djgpp executables
> contain the compile-dir info? gdb never finds the sources for
> programs without explicit 'dir' command. (I haven't tested this with plain DOS.)
> I've tried strings on the *.exe file but did't find any directory info.

No, the executable has no record of the path of the source; you have to
use `dir'.  (This is the same on Unix, btw.)  You can automate that with
a gdb.ini file for the project.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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