Subject: Re: ddb Upcoming enhancements/changes/history
To: John Hawkinson <jhawk@mit.edu>
From: Eduardo Horvath <eeh@turbolinux.com>
List: tech-kern
Date: 05/24/2000 09:43:15
On Tue, 23 May 2000, John Hawkinson wrote:

> 2)	There should be a "step over" command (like :e in adb) that sets
> 	a breakpoint at the next instruction if the current instruction
> 	is a call (or jump?).

This may be a bit difficult to generalize.  Between some machines with
branch delay slots and others that use variable length instruction
encodings it's not necessarily easy to find the next instruction.

Another nice feature would be to be able to extract datastructure layout
from debugger information.  That way you boot /netbsd.gdb and can dump out
any structure in the kernel without having to write and maintain
macros.  

(I have had the pleasure of maintaining adb macros.  It's not viable
long-term unless the macros can be automatically generated.)

Eduardo Horvath