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 52454ae..88a25ba 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
 2013-10-04  Joel Brobecker  <brobecker@adacore.com>
index 97bb86c..5a425ed 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".  */