delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/08/15:34:36

Date: Fri, 8 Apr 94 14:57:12 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: skachman AT unlinfo DOT unl DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Source listings and debuggers

> Is it possible to get the source code listings along with the
> assembler listings? What I have tried is
>
> gcc -g -o test test.c
> go32 -d gdb test
> go32 -d fsdb test
> go32 -d edebug32 test

Hmmm... this is what I do, so it *should* work.  Try building the .o
separate from the executable, maybe it will work better (?).  Note
that edebug *always* prints the assembler (fsdb also), but with -g
will *also* print the source lines, if the source file is in the
current directory.


- Raw text -


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