This is the mail archive of the gdb-patches@sources.redhat.com 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]

[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 ----


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