This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Remove dead code in breakpoint.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Sun, 1 Jul 2007 18:34:33 -0400
- Subject: Re: [rfc] Remove dead code in breakpoint.c
- References: <467B9637.4000409@de.ibm.com>
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