This is the mail archive of the gdb-patches@sourceware.org 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] Fix i386 memory-by-register access on amd64


> Date: Mon, 13 Jul 2009 19:08:09 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
> 
> Jan Kratochvil wrote:
> 
> > Therefore fixed linux_xfer_partial.  Therefore it no longer needs
> > the fix to be present also in inf_ptrace_xfer_partial.  I do not
> > know how non-Linux OSes handle the debugging of 32bit inferior on
> > 64bit GDB so I have no opinion whether the inf_ptrace_xfer_partial
> > patch makes sense, i can drop it.
> 
> I think at this point it would probably be better to just to the Linux fix.
> I've looked at a couple of ptrace implementations in the Linux kernel, and
> it seems this fix should be correct on all bi-arch Linux platforms.
> 
> I simply do not know enough how ptrace behaves on other OSes -- until we
> get a specific bug report on some other OS, I think we should leave the
> behaviour unchanged for now.

I agree.


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