This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA Precord] Disable process record in amd64
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Wed, 13 May 2009 11:18:02 +0100
>
> On Wednesday 13 May 2009 09:07:03, Hui Zhu wrote:
> > Hi,
> >
> > The i386 process record can't work together with amd64 now. So I make
> > a patch to disable it in amd64.
>
> It would be better to move the `set_gdbarch_process_record (gdbarch, i386_process_record)'
> call to tdep files where precord will actually work --- in this
> case, i386-linux-tdep.c --- instead of having i386-tdep.c assume
> precord support. We've done the exact same thing for displaced
> stepping.
I agree with Pedro here.