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] Remove dead code in breakpoint.c


On Fri, Jun 22, 2007 at 11:28:23AM +0200, Markus Deuling wrote:
> Hello,
> 
> there is no place where DISABLE_UNSETTABLE_BREAK macro is defined. So I guess 
> the code in
> breakpoint.c is dead code. But I'm not sure about this- Is there a situation 
> where the removed
> code is used? If so please ignore that patch.
> 
> ChangeLog:
> 
> 	* breakpoint.c (insert_bp_location): Remove dead code
> 	(DISABLE_UNSETTABLE_BREAK).
> 	(disable_breakpoints_in_shlibs)
> 	(disable_breakpoints_in_unloaded_shlib): Likewise (comment).
> 
> Is this ok ?

Yes, this is OK.  Thanks.


-- 
Daniel Jacobowitz
CodeSourcery


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