www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/16/17:00:59

Date: Fri, 16 Sep 94 10:59:06 EDT
From: dliu AT faraday-gw DOT njit DOT edu (Dong Liu)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: How to debug graphics program with gdb
Mailer: VM 5.32 (beta) for GNU Emacs 18.59.5

Hello,

I'm hoping someone can give me a hint about how to debug graphics
program with gdb. I don't have two monitors, but I have a vt100 terminal
connected to one of the serial port. I have tried first type "ctty com3"
in dos prompt, then from the terminal invoke gdb. The problem is gdb
won't take inputs from the terminal.

The other problem with gdb is that in Unix if the source file and the
excutable are in different directory, gdb has not problem to find the
source file, but with djgpp gdb can't find source file in different
directory. It looks like the directory information is not compiled into
the object file. If so, is there an envrioment variable just like "PATH"
I can use it to tell gdb where to look for source file?

Thanks
---
Dong Liu  <dliu AT ace DOT njit DOT edu>
Electrical and Computer Engineering Department
New Jersey Institute of Technology, Newark, NJ 07102

- Raw text -


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