Hi! On Sat, 30 Mar 2019 10:58:31 +0100, Philippe Waroquiers wrote: > This patch [...] improves/factorises some wait kind traces. > --- a/gdb/gnu-nat.c > +++ b/gdb/gnu-nat.c > @@ -1647,15 +1647,9 @@ rewait: > inf_update_suspends (inf); > } > > - inf_debug (inf, "returning ptid = %s, status = %s (%d)", > + inf_debug (inf, "returning ptid = %s, %s", > target_pid_to_str (ptid).c_str (), > - status->kind == TARGET_WAITKIND_EXITED ? "EXITED" > - : status->kind == TARGET_WAITKIND_STOPPED ? "STOPPED" > - : status->kind == TARGET_WAITKIND_SIGNALLED ? "SIGNALLED" > - : status->kind == TARGET_WAITKIND_LOADED ? "LOADED" > - : status->kind == TARGET_WAITKIND_SPURIOUS ? "SPURIOUS" > - : "?", > - status->value.integer); > + target_waitstatus_to_string (&status).c_str ()); Thanks for that cleanup. I pushed the attached commit e9f8e3f109d57c119eaaa1e56378926f7f20863f "[GDB, Hurd] Fix build; 'target_waitstatus_to_string' call" to make it work. ;-) Grüße Thomas