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 dead code from linux-low.c


This comment's been annoying me every time I scroll past it for months. 
It's a legacy of when low-linux.c was originally lifted out of GDB proper,
and the design of gdbserver has evolved a bit since.  Committed.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.2139
diff -u -p -r1.2139 ChangeLog
--- ChangeLog	2002/02/05 21:41:29	1.2139
+++ ChangeLog	2002/02/05 22:00:09
@@ -1,5 +1,10 @@
 2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
 
+	* gdbserver/linux-low.c (kill_inferior): Remove commented out
+	code.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
         * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
 
 2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
Index: gdbserver/linux-low.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/linux-low.c,v
retrieving revision 1.4
diff -u -p -r1.4 linux-low.c
--- linux-low.c	2002/02/05 19:09:34	1.4
+++ linux-low.c	2002/02/05 22:00:10
@@ -101,7 +101,6 @@ kill_inferior (void)
     return;
   ptrace (PTRACE_KILL, inferior_pid, 0, 0);
   wait (0);
-/*************inferior_died ();****VK**************/
 }
 
 /* Return nonzero if the given thread is still alive.  */


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