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] |
> > It looks like the two blocks are completely identical, and we should > > be able to remove one of them. Should I perhaps test what happens > > when I delete, say, the first one? > > They're not 100% the same (there's an extra b->inserted check) so I'd > recommend deleting the second one, since it's dead code. Argh! I knew I had a blind spot :-/. I've checked the following change in after having tested in on x86-linux. 2006-01-01 Joel Brobecker <brobecker@adacore.com> * breakpoint.c (remove_breakpoint): Remove dead code. -- Joel
Attachment:
dead.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |