This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] testsuite tweak for gdb.arch/i386-signal.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: msnyder at vmware dot com
- Cc: gdb-patches at sourceware dot org, drow at false dot org, mark dot kettenis at xs4all dot nl
- Date: Mon, 13 Jul 2009 22:32:23 +0200 (CEST)
- Subject: Re: [RFA] testsuite tweak for gdb.arch/i386-signal.c
- References: <4A5B97CB.2040109@vmware.com>
> Date: Mon, 13 Jul 2009 13:23:39 -0700
> From: Michael Snyder <msnyder@vmware.com>
>
> Index: gdb.arch/i386-signal.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/i386-signal.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 i386-signal.c
> --- gdb.arch/i386-signal.c 3 Jan 2009 05:58:03 -0000 1.4
> +++ gdb.arch/i386-signal.c 13 Jul 2009 20:22:52 -0000
> @@ -37,6 +37,10 @@ main (void)
> The default CIE created by gas suffices to unwind from an empty
> function. */
>
> +/* Note: to make sure that the Dwarf unwinder gets to handle
> + the frame, we add an extra 'nop' after the label. Otherwise,
> + the new epilogue unwinder will see the 'ret' and grab the frame. */
Hmm, at some point in the future this epilogue unwinder will no longer
be new.