delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/10/12:45:11

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gdb still doesn't work for me
Date: 10 Apr 2001 16:29:59 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 34
Message-ID: <9avce7$lab$1@nets3.rz.RWTH-Aachen.DE>
References: <3AD0B992 DOT 44D0D3C3 AT jps DOT net> <4634-Sun08Apr2001234906+0300-eliz AT is DOT elta DOT co DOT il> <3AD10B71 DOT 9019CC9 AT jps DOT net> <3AD1E414 DOT 8D811D08 AT jps DOT net> <9auqog$6ah$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <3AD3339E DOT 2C1F2F32 AT jps DOT net>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 986920199 21835 137.226.32.75 (10 Apr 2001 16:29:59 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 10 Apr 2001 16:29:59 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dennis Yelle <dennis51 AT jps DOT net> wrote:

[...]
> Thanks for the suggestion, -gstabs definitely changes
> the behavior of gdb.  It still does not work the
> way I want it to, or the way I expect it to.

How *does* it work, then? Please try to be a bit less mysterious. What
is the change in behaviour, and what's still not like you want or
expect it?

> My understanding is that the command 'n' is 'step over'.  That is,
> if the next line to be executed is line 20, and line 20 calls a
> function, or method, then the 'n' command would be equivalent to
> setting a breakpoint on line 21 and running the program until line
> 21 is reached.

Right.

The problem I currently suspect to be hitting you is that due to bugs
in other parts of the setup (at least one upload of gcc-2.95.3
binaries, in particular), the debugging informations found in the
executable might be so confusing for GDB that it takes much longer
than it usually would to locate where a "breakpoint on line 21"
actually has to be put.

Another possibility: you could have a .gdb_init file sitting around
from earlier work, containing a software watchpoint or whatever.
"info break" should tell you about that.


-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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