diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-10-04 08:53:26 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-10-04 08:53:26 +0000 |
commit | 958f43c76b1bde04fbf2b97631a93093c17c3bc8 (patch) | |
tree | 352c6cf044999d4457f5b5425d46652cb56b1b11 /gdb | |
parent | 5ffb28e53763e1950f0468eb6c477ca3e0cd2dc9 (diff) | |
download | gdb-958f43c76b1bde04fbf2b97631a93093c17c3bc8.tar.gz |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/procfs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52454aeb677..88a25ba970a 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 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". */ |