1 /* Basic definitions for GDB, the GNU debugger.
2 Copyright (C) 1986 Free Software Foundation, Inc.
4 GDB is distributed in the hope that it will be useful, but WITHOUT ANY
5 WARRANTY. No author or distributor accepts responsibility to anyone
6 for the consequences of using it or for whether it serves any
7 particular purpose or works at all, unless he says so in writing.
8 Refer to the GDB General Public License for full details.
10 Everyone is granted permission to copy, modify and redistribute GDB,
11 but only under the conditions described in the GDB General Public
12 License. A copy of this license is supposed to have been given to you
13 along with GDB so you can know your rights and responsibilities. It
14 should be in a file named COPYING. Among other things, the copyright
15 notice and this notice must be preserved on all copies.
17 In other words, go ahead and share GDB, but don't try to stop
18 anyone else from sharing it farther. Help stamp out software hoarding!
21 #define CORE_ADDR unsigned int
23 #define min(a, b) ((a) < (b) ? (a) : (b))
24 #define max(a, b) ((a) > (b) ? (a) : (b))
26 extern char *savestring ();
27 extern char *concat ();
28 extern char *xmalloc (), *xrealloc ();
29 extern int parse_escape ();
30 extern char *reg_names
[];
34 extern int immediate_quit
;
36 #define QUIT { if (quit_flag) quit (); }
40 class_run
, class_vars
, class_stack
, class_files
, class_support
, class_info
,
41 class_breakpoint
, class_alias
, class_obscure
, class_user
,
44 /* the cleanup list records things that have to be undone
45 if an error happens (descriptors to be closed, memory to be freed, etc.)
46 Each link in the chain records a function to call and an
49 Use make_cleanup to add an element to the cleanup chain.
50 Use do_cleanups to do all cleanup actions back to a given
51 point in the chain. Use discard_cleanups to remove cleanups
52 from the chain back to a given point, not doing them. */
61 extern void do_cleanups ();
62 extern void discard_cleanups ();
63 extern struct cleanup
*make_cleanup ();
64 extern void free_current_contents ();
66 /* Structure for saved commands lines
67 (for breakpoints, defined commands, etc). */
71 struct command_line
*next
;
75 struct command_line
*read_command_lines ();
This page took 0.031146 seconds and 5 git commands to generate.