This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC Prec] Add Linux AMD64 process record support second version, (AMD64 Linux system call support) 3/3
On Wed, Jul 15, 2009 at 04:07, Michael Snyder<msnyder@vmware.com> wrote:
> Hui,
>
> It looks like amd64-tdep.c is going to need an epilogue unwinder,
> similar to the one in i386-tdep.c. ?Can you add one, maybe using
> the 386 one as a model?
>
> I haven't checked in the infrun change that makes use of it,
> but when I do, this will break.
>
OK. I will.
And about infrun code, without the arch support. It will break,right?
What about add a check for "frame_unwind_caller_id" in infrun? If it
got something wrong or arch don't support it. Use the way in
http://sourceware.org/ml/gdb-patches/2009-07/msg00182.html to handle
it.
Then we will not worry about the arch doesn't have unwinder.
What do you think about it?
Thanks,
Hui