This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] remove using_exec_ops global
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 21 Jul 2014 17:02:28 +0100
- Subject: Re: [PATCH] remove using_exec_ops global
- Authentication-results: sourceware.org; auth=none
- References: <1405700703-29043-1-git-send-email-tromey at redhat dot com>
On 07/18/2014 05:25 PM, Tom Tromey wrote:
> This removes the using_exec_ops global from exec.c, in favor of
> querying the target stack directly using target_is_pushed. This is
> more in keeping with other code in gdb, and is also more future-proof
> as it is more multi-target-ready.
>
> Built and regtested on x86-64 Fedora 20.
>
> 2014-07-18 Tom Tromey <tromey@redhat.com>
>
> * exec.c (using_exec_ops): Remove.
> (exec_close_1): Update. Remove extraneous block, reindent.
> (add_target_sections): Use target_is_pushed.
Looks good to me.
Thanks,
--
Pedro Alves