diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:35:15 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:11 -0700 |
commit | 423a48075e748691f7fa83dbae404da3e4edc914 (patch) | |
tree | 7b2c54dd9658c59dc407f565d2a5c390c75b5cca /gdb/target.h | |
parent | 6c7e5e5cdc78f2930423b87d76006e067749e6ba (diff) | |
download | gdb-423a48075e748691f7fa83dbae404da3e4edc914.zip gdb-423a48075e748691f7fa83dbae404da3e4edc914.tar.gz gdb-423a48075e748691f7fa83dbae404da3e4edc914.tar.bz2 |
convert to_kill
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (target_kill): Unconditionally delegate.
* target.h (struct target_ops) <to_kill>: Use
TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 696020c..5b6ada7 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -517,7 +517,8 @@ struct target_ops TARGET_DEFAULT_IGNORE (); void (*to_terminal_info) (struct target_ops *, const char *, int) TARGET_DEFAULT_FUNC (default_terminal_info); - void (*to_kill) (struct target_ops *); + void (*to_kill) (struct target_ops *) + TARGET_DEFAULT_NORETURN (noprocess ()); void (*to_load) (struct target_ops *, char *, int) TARGET_DEFAULT_NORETURN (tcomplain ()); void (*to_create_inferior) (struct target_ops *, |