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: [PATCH 1/4] 'catch syscall' feature -- Architecture-independent part


Hi Daniel,

On Fri, 2008-10-03 at 13:51 -0400, Daniel Jacobowitz wrote:
> On Thu, Oct 02, 2008 at 11:06:29PM -0700, Joel Brobecker wrote:
> > That's correct. The short answer is that, if we make your catchpoint
> > use a more generic type and base the actual implementation of
> > breakpoint_ops methods, then, later on, when someone decides to
> > implement a new kind of catchpoint with similar functionality,
> > then all he should have to do is create a new breakpoint_ops vector
> > with appropriate methods, and voila.
> 
> Right.  This is what's supposed to be possible, at least.

I'm not sure if I understood correctly, but you're saying that the
approach that Joel proposed is already working, right? If that's the
case, then there should be no problem in "converting" my patch to this
new way.

Regards,

-- 
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil


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