diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aee0d967e1..4a49d32277 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-04-04 Thomas Schwinge + + * gnu-nat.c (gnu_nat_target::wait): Fix + target_waitstatus_to_string call. + 2019-04-01 Andrew Burgess * eval.c (evaluate_subexp_standard): Handle internal functions diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 654a652717..5eeac9270a 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -1649,7 +1649,7 @@ rewait: inf_debug (inf, "returning ptid = %s, %s", target_pid_to_str (ptid).c_str (), - target_waitstatus_to_string (&status).c_str ()); + target_waitstatus_to_string (status).c_str ()); return ptid; }