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: Tue, 7 Jul 2009 20:22:04 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> On Tue, 07 Jul 2009 19:59:43 +0200, Mark Kettenis wrote:
> > But then I don't understand Jan's diff at all.  Linux has its own
> > implementation for TARGET_OBJECT_MEMORY in linux-nat.c.  Why isn't
> > that one used?
> 
> Expecting the same problem must affect even non-Linux ptrace usage.  I will
> move it to linux-nat.c if you think so.

I suppose I should have been more specific.  You are trying to fix a
bug that you see on Linux isn't it?

And this fix should only be relevant for TARGET_OBJECT_MEMORY isn't
it?

But Linux has its own implementation for doing TARGET_OBJECT_MEMORY
xfers in linux_proc_xfer_partial.

So I don't understand how this change fixes anything on Linux.

Can you enlighten me here?


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