diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-28 19:48:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-28 19:48:15 +0000 |
commit | f87985124e207659cabd278bf01bed1991e9a50d (patch) | |
tree | be467d9a721b1c9f787d45beffaa4c107cb7dfbb /gdb/defs.h | |
parent | 37abaa34591554339c0c20e0a1c4e49840f12628 (diff) | |
download | gdb-f87985124e207659cabd278bf01bed1991e9a50d.tar.gz |
Move libgdb library functions to gdb.h (new file).
Update everything related to this.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index b54a6166343..d535b7c015c 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1437,45 +1437,4 @@ extern int use_windows; #define ISATTY(FP) (isatty (fileno (FP))) #endif - -/* FIXME: cagney/1999-12-13: The following will be moved to gdb.h / - libgdb.h or gdblib.h. */ - -/* Return-code (RC) from a gdb library call. (The abreviation RC is - taken from the sim/common directory.) */ - -enum gdb_rc { - /* The operation failed. The failure message can be fetched by - calling ``char *error_last_message(void)''. The value is - determined by the catch_errors() interface. */ - /* NOTE: Since ``defs.h:catch_errors()'' does not return an error / - internal / quit indication it is not possible to return that - here. */ - GDB_RC_FAIL = 0, - /* No error occured but nothing happened. Due to the catch_errors() - interface, this must be non-zero. */ - GDB_RC_NONE = 1, - /* The operation was successful. Due to the catch_errors() - interface, this must be non-zero. */ - GDB_RC_OK = 2 -}; - - -/* Print the specified breakpoint on GDB_STDOUT. (Eventually this - function will ``print'' the object on ``output''). */ -enum gdb_rc gdb_breakpoint_query (/* struct {ui,gdb}_out *output, */ int bnum); - -/* Create a breakpoint at ADDRESS (a GDB source and line). */ -enum gdb_rc gdb_breakpoint (char *address, char *condition, - int hardwareflag, int tempflag, - int thread, int ignore_count); -enum gdb_rc gdb_thread_select (/* output object */ char *tidstr); - -#ifdef UI_OUT -/* Print a list of known thread ids. */ -enum gdb_rc gdb_list_thread_ids (/* output object */); - -/* Switch thread and print notification. */ -#endif - #endif /* #ifndef DEFS_H */ |