diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-03-13 17:13:15 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-03-13 17:13:15 +0000 |
commit | efa8608055b81753e9523065689ac36831b92b06 (patch) | |
tree | afd33bd5c0160143ca4c64fd79718c58ac65deac /include/callback.h | |
parent | 2e9974a4504db68072a7b373bbb3d13ea574505a (diff) | |
download | gdb-efa8608055b81753e9523065689ac36831b92b06.zip gdb-efa8608055b81753e9523065689ac36831b92b06.tar.gz gdb-efa8608055b81753e9523065689ac36831b92b06.tar.bz2 |
Add copyright, tweak some comments.
Diffstat (limited to 'include/callback.h')
-rw-r--r-- | include/callback.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/include/callback.h b/include/callback.h index dad6391..944a1b7 100644 --- a/include/callback.h +++ b/include/callback.h @@ -1,3 +1,22 @@ +/* Remote target system call callback support. + Copyright 1997 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifndef CALLBACK_H #define CALLBACK_H @@ -32,13 +51,16 @@ struct host_callback_struct /* depreciated, use vprintf_filtered - Talk to the user on a console. */ void (*printf_filtered) PARAMS ((host_callback *, const char *, ...)); - /* Talk to the user on a console. */ + /* Talk to the user on a console. + The `void *' is actually `va_list *'. */ void (*vprintf_filtered) PARAMS ((host_callback *, const char *, void *)); + /* Same as vprintf_filtered but to stderr. */ + void (*evprintf_filtered) PARAMS ((host_callback *, const char *, void *)); + /* Print an error message and "exit". In the case of gdb "exiting" means doing a longjmp back to the main command loop. */ - void (*evprintf_filtered) PARAMS ((host_callback *, const char *, void *)); void (*error) PARAMS ((host_callback *, const char *, ...)); int last_errno; /* host format */ |