This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] x86-64 ptrace() ABI change sync


Daniel Jacobowitz <drow@mvista.com> writes:

> On Thu, Apr 04, 2002 at 03:13:22PM +0200, Michal Ludvig wrote:
>> Hi all,
>> I've committed this obvious patch which synces gdb with changed glibc to 
>> both mainline and 5.2-branch.
>> 
>> Michal Ludvig
>> 
>> Index: ChangeLog
>> 	* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
>> 	change sync
>
> Is this needed for gdbserver?  I'd guess not, since I assumed that
> ptrace() behaved according to its man page.  So probably gdbserver is
> already correct.

If you followed the man page, everything should be fine.  The problem
was that I didn't follow the man page in implemting ptrace in glibc
for x86-64 - and fixing this meant changing the interface...  ptrace
is now using the same interface for x86-64 as for x86,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]