Fix build failure in procfs.c after MERGEPID -> ptid_build conversion.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:53:27 +0000 (08:53 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:53:27 +0000 (08:53 +0000)
gdb/ChangeLog:

        * procfs.c (procfs_init_inferior): Fix typo causing the build
        to fail.

gdb/ChangeLog
gdb/procfs.c

index 52454aeb6778fc8fce3208d52e23aa26fb26ec38..88a25ba970a6cef293fd03e026173ff611025074 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (procfs_init_inferior): Fix typo causing the build
+       to fail.
+
 2013-10-04  Joel Brobecker  <brobecker@adacore.com>
 
        * aix-thread.c (ptrace32): Remove cast to addr_ptr.
index 97bb86c1658ac6f90a8871c00161aa5ca3267351..5a425ed466510101d76fc4603901c74229bfde9e 100644 (file)
@@ -4449,7 +4449,7 @@ procfs_init_inferior (struct target_ops *ops, int pid)
      this point, but it didn't have any lwp info yet.  Notify the core
      about it.  This changes inferior_ptid as well.  */
   thread_change_ptid (pid_to_ptid (pid),
-                     ptid_build (pid, lwpid), 0);
+                     ptid_build (pid, lwpid, 0));
 
   /* Typically two, one trap to exec the shell, one to exec the
      program being debugged.  Defined by "inferior.h".  */