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] design question re: watchpoint target methods


On Thu, 29 Oct 2009 15:58:17 +0100, Joel Brobecker wrote:
>     enum stopped_by_watchpoint (*to_thread_stopped_by_watchpoint)
>         (ptid_t ptid, CORE_ADDR *data_address_p);
> 
> Actually, I think that all target_ops operations should take a struct
> target_ops parameter, even if not needed, at least for consistency, but
> also to facilitate transitions if this parameter ever becomes needed
> later on.

OK, I had some wrong assumptions, I see it fits more the targets abstractions,
I agree with adding it there.


Thanks,
Jan


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