From c844881fe9990c08fa3ac1807defd0e999c40b81 Mon Sep 17 00:00:00 2001 From: muller Date: Sun, 24 May 2009 08:38:27 +0000 Subject: [PATCH] * Adapt to target_wait_hook change. * generic/gdbtk-hooks.c (gdbtk_wait): Add `options' argument. --- gdb/gdbtk/ChangeLog | 5 +++++ gdb/gdbtk/generic/gdbtk-hooks.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index e053317933..5ae2fef319 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,8 @@ +2009-05-24 Pierre Muller + + * Adapt to target_wait_hook change. + * generic/gdbtk-hooks.c (gdbtk_wait): Add `options' argument. + 2009-05-06 Pierre Muller * Adapt to read_pc function removal. diff --git a/gdb/gdbtk/generic/gdbtk-hooks.c b/gdb/gdbtk/generic/gdbtk-hooks.c index bd1280d5c9..01759570a2 100644 --- a/gdb/gdbtk/generic/gdbtk-hooks.c +++ b/gdb/gdbtk/generic/gdbtk-hooks.c @@ -83,7 +83,7 @@ static void gdbtk_detach (void); static void gdbtk_file_changed (char *); static void gdbtk_exec_file_display (char *); static void gdbtk_call_command (struct cmd_list_element *, char *, int); -static ptid_t gdbtk_wait (ptid_t, struct target_waitstatus *); +static ptid_t gdbtk_wait (ptid_t, struct target_waitstatus *, int); int x_event (int); static int gdbtk_query (const char *, va_list); static void gdbtk_warning (const char *, va_list); @@ -658,11 +658,11 @@ gdbtk_post_add_symbol () target. */ static ptid_t -gdbtk_wait (ptid_t ptid, struct target_waitstatus *ourstatus) +gdbtk_wait (ptid_t ptid, struct target_waitstatus *ourstatus, int options) { gdbtk_force_detach = 0; gdbtk_start_timer (); - ptid = target_wait (ptid, ourstatus); + ptid = target_wait (ptid, ourstatus, options); gdbtk_stop_timer (); gdbtk_ptid = ptid; -- 2.11.0