Fix for gdb.server/non-existing-program.exp test case
authorCarl E. Love <carll@oc4738070240.ibm.com>
Tue, 13 Sep 2016 16:58:18 +0000 (09:58 -0700)
committerCarl E. Love <carll@oc4738070240.ibm.com>
Tue, 13 Sep 2016 16:58:18 +0000 (09:58 -0700)
The last commit was supposed to have the reference to ptrace () removed.
The patch didn't get updated correctly before the commit.  This commit
fixes the comment as requested

gdbserver/ChangeLog

2016-09-06  Carl Love  <cel@us.ibm.com>

* server.c (start_inferior):  Fixed comment, requested comment change
didn't get updated correctly.  Removed reference to ptrace () call as
  it is only true on Linux systems.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index 4b9bc7eb65b31fc55d6a13ac7283af857619aeef..af8420f11b1459da2c744cd4ab44dcfd68c1ca4c 100644 (file)
@@ -1,3 +1,9 @@
+2016-09-06  Carl Love  <cel@us.ibm.com>
+
+       * server.c (start_inferior):  Fixed comment, requested comment change
+       didn't get updated correctly.  Removed reference to ptrace () call as
+       it is only true on Linux systems.
+
 2016-09-06  Carl Love  <cel@us.ibm.com>
 
        * server.c (start_inferior):  Do not call
index 96e3a18cb9c49daf98bbd9a25106e5f0358a2a9b..3ec585cfb6bb6130dcb4a295c59cec33315c3a0b 100644 (file)
@@ -285,8 +285,7 @@ start_inferior (char **argv)
      (assuming success).  */
   last_ptid = mywait (pid_to_ptid (signal_pid), &last_status, 0, 0);
 
-  /* The last_status.kind was set by the call to ptrace(PTRACE_TRACEME, ...).
-     At this point, the target process, if it exits, is stopped.  Do not call
+  /* At this point, the target process, if it exits, is stopped.  Do not call
      the function target_post_create_inferior if the process has already
      exited, as the target implementation of the routine may rely on the
      process being live. */
This page took 0.042783 seconds and 4 git commands to generate.