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: [PING^3] [PATCH] Expose signal and syscall catchpoints to Python


> On Dec 18, 2015, at 10:56 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> 
>> This will need doc additions too of course, but before you
>> spend time on that there is a high level issue that we
>> (the community) should decide on:
>> Is it time to start subclassing breakpoints instead of
>> continually extending the one uber-breakpoint class?
>> IOW, should catchpoints be a subclass of breakpoints?
>> 
>> Subclassing is clearly a better way to go,
>> so I'm kinda thinking now's the time.
> 
> Thinking out loud...
> 
> I like the idea of starting subclassing. 

Same here.

That makes me wonder: it probably makes no sense for some of the classes, but there are likely to be some GDB classes where user-defined subclasses would be useful.

	paul


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