From 793e1c063fe97c54c218a5130aa179fdd3140fb9 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 4 Oct 2013 08:53:27 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52454aeb677..88a25ba970a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-10-04 Joel Brobecker + + * procfs.c (procfs_init_inferior): Fix typo causing the build + to fail. + 2013-10-04 Joel Brobecker * aix-thread.c (ptrace32): Remove cast to addr_ptr. diff --git a/gdb/procfs.c b/gdb/procfs.c index 97bb86c1658..5a425ed4665 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". */ -- 2.30.2