Subject: Re: gdb is still broken
To: Arthur Hoffmann <hoffmann@it.ntu.edu.au>
From: Andy Heffernan <ahh@netcom.com>
List: amiga-dev
Date: 09/03/1994 12:19:23
> > > root@atze(6)$ gdb hoffmann1         
> > > (gdb) break main
> > > Breakpoint 1 at 0x28a0: file hoffmann1.c, line 36.
> > > (gdb) run
> > > Starting program: /home/hoffmann/vogle/ass1/hoffmann-ass1/hoffmann1 
> > > reading register pc (#17): Invalid argument.
> > 
> > This is due to some bogus checks in ptrace():

[...]
> I installed the patch , but now when using gdb it simply hangs my
> machine.

Oops -- the last time I supped was 20 August, another problem may have
crept in since then.  Or I seriously misunderstand the importance of
having ptrace() only read u-area values on long-word boundaries.


------------------------------------------------------------------------------