Subject: Re: gdb-4.15 for 1.1 (PT_READ_U, PT_WRITE_U)
To: None <port-i386@NetBSD.ORG>
From: Guenther Grau <s_grau@ira.uka.de>
List: port-i386
Date: 01/31/1996 22:26:58
Hi,

>    PS: Should PT_READ_U  and  PT_WRITE_U be in <sys/ptrace.h>? Could somebody
>    explain why or why not?
> 
> PT_READ_U and PT_WRITE_U are outdated, slow interfaces used to read
> and write a process's registers from a debugger.  Implementing them
> is annoying and hardly worthwhile.  Our GDB was changed some time ago
> to use PT_READREGS and PT_WRITEREGS, which are simpler, faster to
> use, and don't break every time the kernel is changed.

And why did noone get these changes back to the gdb maintainers?
IMHO it would be great if we contributed changes back to the
original maintainers of external software so newer versions can be
incorporated into NetBSD without the need to do the old changes
again and again.

  Guenther