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: catch load/unload not implemented on any target (remove?)


> Date: Sun, 26 Oct 2008 17:40:44 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> 
> I am conflicted as to what to do in the meantime: Leave the code as is,
> and update the documentation that this feature is currently implemented
> on no platform. Or remove the code entirely.
> 
> I am leaning towards removing the code entirely, for several reasons:
>   - Documentating a feature as unimplemented seems silly;
>   - I don't think there is much in the current code that once can
>     reuse in order to implement this feature properly
>   - When someone is ready to implement this feature again for his platform,
>     there shouldn't be much to do in terms of infrastructure work to do at
>     the breakpoint module level.  So it shouldn't be very difficult to
>     implement. There might be one little difficulty based on the fact
>     that some architectures will implement this feature using a phyical
>     breakpoint (eg: svr4) whereas others won't (eg: Windows), but that
>     shouldn't be very difficult to handle by using the right bp_kind.
> 
> Thoughts?

Given what you describe, I'm okay with removing that code.


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