diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-12-09 01:12:03 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-12-09 01:12:03 +0000 |
commit | e1144153325b53ae84cb9e1b5ac21e1a632d9fc3 (patch) | |
tree | 090085565d8c8ced457abb4403d7635bd616d9b4 /include/callback.h | |
parent | b65415a4465e6f29a2d96a532ae7e6f4e14e7195 (diff) | |
download | gdb-e1144153325b53ae84cb9e1b5ac21e1a632d9fc3.zip gdb-e1144153325b53ae84cb9e1b5ac21e1a632d9fc3.tar.gz gdb-e1144153325b53ae84cb9e1b5ac21e1a632d9fc3.tar.bz2 |
* callback.h (host_callback): New member `error'.
Diffstat (limited to 'include/callback.h')
-rw-r--r-- | include/callback.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/callback.h b/include/callback.h index b6d7b69..8968ce2 100644 --- a/include/callback.h +++ b/include/callback.h @@ -22,12 +22,16 @@ struct host_callback_struct int (*write_stdout) PARAMS ((host_callback *, const char *, int)); /* Used when the target has gone away, so we can close open - handles and free memory etc etc. */ + handles and free memory etc etc. */ int (*shutdown) PARAMS ((host_callback *)); int (*init) PARAMS ((host_callback *)); - /* Talk to the user on a console. */ + /* Talk to the user on a console. */ void (*printf_filtered) PARAMS ((host_callback *, const char *, ...)); + /* Print an error message and "exit". + In the case of gdb "exiting" means doing a longjmp back to the main + command loop. */ + void (*error) PARAMS ((host_callback *, const char *, ...)); int last_errno; /* host format */ |