Subject: Re: Can't have `gdb' make proper "steps"
To: None <jlovy@mygale.org, port-amiga@netbsd.org>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-amiga
Date: 10/12/1998 21:25:55
On Sat, Oct 10, 1998 at 07:33:08PM +0200, Jerome Lovy wrote:
> Hi,
> 
> Using vanilla gdb on NetBSD-1.3 (/amiga), I just cannot get it to
> make `next' properly.
> It happens to stop somewhere in a function where I didn't put any
> breakpoint.
> 
> Here is a dump of my session (trying to run `mgv' step-by-step) :
...
> 	(gdb) next
> 	0x3c364 in _DYNAMIC ()
> 	(gdb)
> 
> As you can see, the first `next' is OK. But does anyone know
> where this `_DYNAMIC()' comes from ?
> Would it mean that one cannot properly debug dynamically linked
> programs ?

Sort of. At least in some version(s) of the NetBSD  compilation
tool chain, we had such a bug. I don't know what the status of this bug
is, currenlty... I suggest you ask on current-users or netbsd-help.

Regards,
	-is