Fix build failure in procfs.c after MERGEPID -> ptid_build conversion.

gdb/ChangeLog:

        * procfs.c (procfs_init_inferior): Fix typo causing the build
        to fail.
This commit is contained in:
Joel Brobecker 2013-10-04 08:53:27 +00:00
parent 26f0edc14e
commit 793e1c063f
2 changed files with 6 additions and 1 deletions

View 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.

View 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". */