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 | 5b7f31a409c4cf665493580e9087f293298255dc (patch) | |
tree | b936d1ef981f869c7ef1a8354b48fd3ee58d9d8a /gdb/defs.h | |
parent | 8aaf581c5dfbcf0645ac94ee8c54f3a0279765bb (diff) | |
download | gdb-5b7f31a409c4cf665493580e9087f293298255dc.zip gdb-5b7f31a409c4cf665493580e9087f293298255dc.tar.gz gdb-5b7f31a409c4cf665493580e9087f293298255dc.tar.bz2 |
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
@@ -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 */ |