aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-10-04 08:53:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-10-04 08:53:27 +0000
commit793e1c063fe97c54c218a5130aa179fdd3140fb9 (patch)
treeee150f60e599f5943b4ebeaba9b90e609c4aac5b /gdb/procfs.c
parent26f0edc14e60747a8ca134178e90cb2b5559aaed (diff)
downloadgdb-793e1c063fe97c54c218a5130aa179fdd3140fb9.zip
gdb-793e1c063fe97c54c218a5130aa179fdd3140fb9.tar.gz
gdb-793e1c063fe97c54c218a5130aa179fdd3140fb9.tar.bz2
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.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 97bb86c..5a425ed 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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". */