diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52454aeb67..88a25ba970 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 97bb86c165..5a425ed466 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". */