This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix build failure in procfs.c after MERGEPID -> ptid_build conversion.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 4 Oct 2013 10:54:07 +0200
- Subject: [commit] Fix build failure in procfs.c after MERGEPID -> ptid_build conversion.
- Authentication-results: sourceware.org; auth=none
Hello,
Fixing a small typo...
gdb/ChangeLog:
* procfs.c (procfs_init_inferior): Fix typo causing the build
to fail.
Checked in.
---
gdb/ChangeLog | 5 +++++
gdb/procfs.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 52454ae..88a25ba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
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". */
--
1.8.1.2