This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Add task-specific breakpoint capability...


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]