This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove ancient #if 0 code
- From: Michael Snyder <msnyder at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 1 Feb 2002 18:42:17 -0800
- Subject: [PATCH] Remove ancient #if 0 code
This code has been #if 0 since 1992...
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.62
diff -c -3 -p -r1.62 breakpoint.c
*** breakpoint.c 2002/02/02 01:25:28 1.62
--- breakpoint.c 2002/02/02 02:45:42
*************** breakpoint_re_set_one (PTR bint)
*** 6789,6795 ****
b->address = sals.sals[i].pc;
/* Used to check for duplicates here, but that can
! cause trouble, as it doesn't check for disable
breakpoints. */
mention (b);
--- 6789,6795 ----
b->address = sals.sals[i].pc;
/* Used to check for duplicates here, but that can
! cause trouble, as it doesn't check for disabled
breakpoints. */
mention (b);
*************** breakpoint_re_set (void)
*** 6918,6930 ****
create_longjmp_breakpoint ("siglongjmp");
create_longjmp_breakpoint ("_siglongjmp");
create_longjmp_breakpoint (NULL);
- #endif
-
- #if 0
- /* Took this out (temporarily at least), since it produces an extra
- blank line at startup. This messes up the gdbtests. -PB */
- /* Blank line to finish off all those mention() messages we just printed. */
- printf_filtered ("\n");
#endif
}
--- 6918,6923 ----