This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 30/32] convert to_search_memory
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 14 Jan 2014 19:45:14 +0000
- Subject: Re: [RFC 30/32] convert to_search_memory
- Authentication-results: sourceware.org; auth=none
- References: <1389640367-5571-1-git-send-email-tromey at redhat dot com> <1389640367-5571-31-git-send-email-tromey at redhat dot com>
Looks good.
On 01/13/2014 07:12 PM, Tom Tromey wrote:
> @@ -2789,7 +2778,7 @@ find_default_run_target (char *do_mesg)
> for (t = target_structs; t < target_structs + target_struct_size;
> ++t)
> {
> - if ((*t)->to_can_run && target_can_run (*t))
> + if ((*t)->to_can_run != delegate_can_run && target_can_run (*t))
OOC, I'm wondering how you envision translating checks
like this into a C++ world?
> {
> runable = *t;
> ++count;
--
Pedro Alves