diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c index 748d5bb..b01e1ac 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -2108,7 +2108,7 @@ dispose_inferior (struct inferior *inf, void *args) if (target_has_execution) target_kill (); else - target_detach (NULL, 0); + target_detach (0); } return 0; @@ -2141,10 +2141,10 @@ target_preopen (int from_tty) target_pre_inferior (from_tty); } -/* Detach a target after doing deferred register stores. */ +/* See target.h. */ void -target_detach (const char *args, int from_tty) +target_detach (int from_tty) { if (gdbarch_has_global_breakpoints (target_gdbarch ())) /* Don't remove global breakpoints here. They're removed on @@ -2157,7 +2157,7 @@ target_detach (const char *args, int from_tty) prepare_for_detach (); - current_target.to_detach (¤t_target, args, from_tty); + current_target.to_detach (¤t_target, from_tty); } void |