This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add task-specific breakpoint capability...
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 Mar 2009 17:49:38 -0600
- Subject: Re: [RFC] Add task-specific breakpoint capability...
- References: <20090324203319.GB24100@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> The reason why I'm posting this as an RFC is that, although
Joel> the implementation is pretty straightforward, for some reason,
Joel> I find it a bit inelegant. Having two integers which are pretty
Joel> much mutually exclusive sounds pretty bad to me. But, on the other
Joel> hand, I didn't really find anything that is that much better.
FWIW this approach seems reasonable enough to me.
Joel> +int
Joel> +breakpoint_ada_task_match (CORE_ADDR pc, ptid_t ptid)
Nothing calls this. Maybe the patch is missing changes from
infrun.c, and a declaration in breakpoint.h?
Tom