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
On Wed, May 13, 2009 at 18:18, Pedro Alves <pedro@codesourcery.com> wrote:
> 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.
>
Maybe make i386_process_record support x86-64 is better.
Forget this patch.
Thanks,
Hui