GDB (xrefs)
/tmp/gdb-7.10/gdb/defs.h
Go to the documentation of this file.
1 /* *INDENT-OFF* */ /* ATTRIBUTE_PRINTF confuses indent, avoid running it
2  for now. */
3 /* Basic, host-specific, and target-specific definitions for GDB.
4  Copyright (C) 1986-2015 Free Software Foundation, Inc.
5 
6  This file is part of GDB.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 
21 #ifndef DEFS_H
22 #define DEFS_H
23 
24 #ifdef GDBSERVER
25 # error gdbserver should not include gdb/defs.h
26 #endif
27 
28 #include "common-defs.h"
29 
30 #include <sys/types.h>
31 #include <limits.h>
32 
33 /* The libdecnumber library, on which GDB depends, includes a header file
34  called gstdint.h instead of relying directly on stdint.h. GDB, on the
35  other hand, includes stdint.h directly, relying on the fact that gnulib
36  generates a copy if the system doesn't provide one or if it is missing
37  some features. Unfortunately, gstdint.h and stdint.h cannot be included
38  at the same time, which may happen when we include a file from
39  libdecnumber.
40 
41  The following macro definition effectively prevents the inclusion of
42  gstdint.h, as all the definitions it provides are guarded against
43  the GCC_GENERATED_STDINT_H macro. We already have gnulib/stdint.h
44  included, so it's ok to blank out gstdint.h. */
45 #define GCC_GENERATED_STDINT_H 1
46 
47 #include <unistd.h>
48 
49 #include <fcntl.h>
50 
51 #include "gdb_wchar.h"
52 
53 #include "ui-file.h"
54 
55 #include "host-defs.h"
56 
57 /* Scope types enumerator. List the types of scopes the compiler will
58  accept. */
59 
61  {
63 
64  /* A simple scope. Wrap an expression into a simple scope that
65  takes no arguments, returns no value, and uses the generic
66  function name "_gdb_expr". */
67 
69 
70  /* Do not wrap the expression,
71  it has to provide function "_gdb_expr" on its own. */
73 
74  /* A printable expression scope. Wrap an expression into a scope
75  suitable for the "compile print" command. It uses the generic
76  function name "_gdb_expr". COMPILE_I_PRINT_ADDRESS_SCOPE variant
77  is the usual one, taking address of the object.
78  COMPILE_I_PRINT_VALUE_SCOPE is needed for arrays where the array
79  name already specifies its address. See get_out_value_type. */
82  };
83 
84 /* Just in case they're not defined in stdio.h. */
85 
86 #ifndef SEEK_SET
87 #define SEEK_SET 0
88 #endif
89 #ifndef SEEK_CUR
90 #define SEEK_CUR 1
91 #endif
92 
93 /* The O_BINARY flag is defined in fcntl.h on some non-Posix platforms.
94  It is used as an access modifier in calls to open(), where it acts
95  similarly to the "b" character in fopen()'s MODE argument. On Posix
96  platforms it should be a no-op, so it is defined as 0 here. This
97  ensures that the symbol may be used freely elsewhere in gdb. */
98 
99 #ifndef O_BINARY
100 #define O_BINARY 0
101 #endif
102 
103 #include "hashtab.h"
104 
105 #ifndef min
106 #define min(a, b) ((a) < (b) ? (a) : (b))
107 #endif
108 #ifndef max
109 #define max(a, b) ((a) > (b) ? (a) : (b))
110 #endif
111 
112 /* * Enable dbx commands if set. */
113 extern int dbx_commands;
114 
115 /* * System root path, used to find libraries etc. */
116 extern char *gdb_sysroot;
117 
118 /* * GDB datadir, used to store data files. */
119 extern char *gdb_datadir;
120 
121 /* * If non-NULL, the possibly relocated path to python's "lib" directory
122  specified with --with-python. */
123 extern char *python_libdir;
124 
125 /* * Search path for separate debug files. */
126 extern char *debug_file_directory;
127 
128 /* GDB has two methods for handling SIGINT. When immediate_quit is
129  nonzero, a SIGINT results in an immediate longjmp out of the signal
130  handler. Otherwise, SIGINT simply sets a flag; code that might
131  take a long time, and which ought to be interruptible, checks this
132  flag using the QUIT macro.
133 
134  These functions use the extension_language_ops API to allow extension
135  language(s) and GDB SIGINT handling to coexist seamlessly. */
136 
137 /* * Clear the quit flag. */
138 extern void clear_quit_flag (void);
139 /* * Evaluate to non-zero if the quit flag is set, zero otherwise. This
140  will clear the quit flag as a side effect. */
141 extern int check_quit_flag (void);
142 /* * Set the quit flag. */
143 extern void set_quit_flag (void);
144 
145 /* Flag that function quit should call quit_force. */
146 extern volatile int sync_quit_force_run;
147 
148 extern int immediate_quit;
149 
150 extern void quit (void);
151 
152 /* Helper for the QUIT macro. */
153 
154 extern void maybe_quit (void);
155 
156 /* Check whether a Ctrl-C was typed, and if so, call quit. The target
157  is given a chance to process the Ctrl-C. E.g., it may detect that
158  repeated Ctrl-C requests were issued, and choose to close the
159  connection. */
160 #define QUIT maybe_quit ()
161 
162 /* * Languages represented in the symbol table and elsewhere.
163  This should probably be in language.h, but since enum's can't
164  be forward declared to satisfy opaque references before their
165  actual definition, needs to be here. */
166 
168  {
169  language_unknown, /* Language not known */
170  language_auto, /* Placeholder for automatic setting */
171  language_c, /* C */
172  language_cplus, /* C++ */
173  language_d, /* D */
174  language_go, /* Go */
175  language_objc, /* Objective-C */
176  language_java, /* Java */
177  language_fortran, /* Fortran */
178  language_m2, /* Modula-2 */
179  language_asm, /* Assembly language */
180  language_pascal, /* Pascal */
181  language_ada, /* Ada */
182  language_opencl, /* OpenCL */
183  language_minimal, /* All other languages, minimal support only */
185  };
186 
188  {
192  };
193 
194 /* * A generic, not quite boolean, enumeration. This is used for
195  set/show commands in which the options are on/off/automatic. */
197 {
201 };
202 
203 /* * Potential ways that a function can return a value of a given
204  type. */
205 
207 {
208  /* * Where the return value has been squeezed into one or more
209  registers. */
211  /* * Commonly known as the "struct return convention". The caller
212  passes an additional hidden first parameter to the caller. That
213  parameter contains the address at which the value being returned
214  should be stored. While typically, and historically, used for
215  large structs, this is convention is applied to values of many
216  different types. */
218  /* * Like the "struct return convention" above, but where the ABI
219  guarantees that the called function stores the address at which
220  the value being returned is stored in a well-defined location,
221  such as a register or memory slot in the stack frame. Don't use
222  this if the ABI doesn't explicitly guarantees this. */
224  /* * Like the "struct return convention" above, but where the ABI
225  guarantees that the address at which the value being returned is
226  stored will be available in a well-defined location, such as a
227  register or memory slot in the stack frame. Don't use this if
228  the ABI doesn't explicitly guarantees this. */
230 };
231 
232 /* Needed for various prototypes */
233 
234 struct symtab;
235 struct breakpoint;
236 struct frame_info;
237 struct gdbarch;
238 struct value;
239 
240 /* From main.c. */
241 
242 /* This really belong in utils.c (path-utils.c?), but it references some
243  globals that are currently only available to main.c. */
244 extern char *relocate_gdb_directory (const char *initial, int flag);
245 
246 
247 /* Annotation stuff. */
248 
249 extern int annotation_level; /* in stack.c */
250 
251 
252 /* From regex.c or libc. BSD 4.4 declares this with the argument type as
253  "const char *" in unistd.h, so we can't declare the argument
254  as "char *". */
255 
256 EXTERN_C char *re_comp (const char *);
257 
258 /* From symfile.c */
259 
260 extern void symbol_file_command (char *, int);
261 
262 /* * Remote targets may wish to use this as their load function. */
263 extern void generic_load (const char *name, int from_tty);
264 
265 /* * Report on STREAM the performance of memory transfer operation,
266  such as 'load'.
267  @param DATA_COUNT is the number of bytes transferred.
268  @param WRITE_COUNT is the number of separate write operations, or 0,
269  if that information is not available.
270  @param START_TIME is the time at which an operation was started.
271  @param END_TIME is the time at which an operation ended. */
272 struct timeval;
273 extern void print_transfer_performance (struct ui_file *stream,
274  unsigned long data_count,
275  unsigned long write_count,
276  const struct timeval *start_time,
277  const struct timeval *end_time);
278 
279 /* From top.c */
280 
281 typedef void initialize_file_ftype (void);
282 
283 extern char *gdb_readline (const char *);
284 
285 extern char *gdb_readline_wrapper (const char *);
286 
287 extern char *command_line_input (const char *, int, char *);
288 
289 extern void print_prompt (void);
290 
291 extern int input_from_terminal_p (void);
292 
293 extern int info_verbose;
294 
295 /* From printcmd.c */
296 
297 extern void set_next_address (struct gdbarch *, CORE_ADDR);
298 
299 extern int print_address_symbolic (struct gdbarch *, CORE_ADDR,
300  struct ui_file *, int, char *);
301 
302 extern int build_address_symbolic (struct gdbarch *,
303  CORE_ADDR addr,
304  int do_demangle,
305  char **name,
306  int *offset,
307  char **filename,
308  int *line,
309  int *unmapped);
310 
311 extern void print_address (struct gdbarch *, CORE_ADDR, struct ui_file *);
312 extern const char *pc_prefix (CORE_ADDR);
313 
314 /* From source.c */
315 
316 /* See openp function definition for their description. */
317 #define OPF_TRY_CWD_FIRST 0x01
318 #define OPF_SEARCH_IN_PATH 0x02
319 #define OPF_RETURN_REALPATH 0x04
320 
321 extern int openp (const char *, int, const char *, int, char **);
322 
323 extern int source_full_path_of (const char *, char **);
324 
325 extern void mod_path (char *, char **);
326 
327 extern void add_path (char *, char **, int);
328 
329 extern void directory_switch (char *, int);
330 
331 extern char *source_path;
332 
333 extern void init_source_path (void);
334 
335 /* From exec.c */
336 
337 /* * Process memory area starting at ADDR with length SIZE. Area is
338  readable iff READ is non-zero, writable if WRITE is non-zero,
339  executable if EXEC is non-zero. Area is possibly changed against
340  its original file based copy if MODIFIED is non-zero. DATA is
341  passed without changes from a caller. */
342 
343 typedef int (*find_memory_region_ftype) (CORE_ADDR addr, unsigned long size,
344  int read, int write, int exec,
345  int modified, void *data);
346 
347 /* * Possible lvalue types. Like enum language, this should be in
348  value.h, but needs to be here for the same reason. */
349 
351  {
352  /* * Not an lval. */
354  /* * In memory. */
356  /* * In a register. Registers are relative to a frame. */
358  /* * In a gdb internal variable. */
360  /* * Value encapsulates a callable defined in an extension language. */
362  /* * Part of a gdb internal variable (structure field). */
364  /* * Value's bits are fetched and stored using functions provided
365  by its creator. */
367  };
368 
369 /* * Control types for commands. */
370 
372  {
377  };
378 
380  {
392  };
393 
394 /* * Structure for saved commands lines (for breakpoints, defined
395  commands, etc). */
396 
398  {
400  char *line;
402  union
403  {
404  struct
405  {
407  void *scope_data;
408  }
409  compile;
410  }
411  control_u;
412  /* * The number of elements in body_list. */
414  /* * For composite commands, the nested lists of commands. For
415  example, for "if" command this will contain the then branch and
416  the else branch, if that is available. */
418  };
419 
420 extern struct command_line *read_command_lines (char *, int, int,
421  void (*)(char *, void *),
422  void *);
423 extern struct command_line *read_command_lines_1 (char * (*) (void), int,
424  void (*)(char *, void *),
425  void *);
426 
427 extern void free_command_lines (struct command_line **);
428 
429 /* * Parameters of the "info proc" command. */
430 
432  {
433  /* * Display the default cmdline, cwd and exe outputs. */
435 
436  /* * Display `info proc mappings'. */
438 
439  /* * Display `info proc status'. */
441 
442  /* * Display `info proc stat'. */
444 
445  /* * Display `info proc cmdline'. */
447 
448  /* * Display `info proc exe'. */
450 
451  /* * Display `info proc cwd'. */
453 
454  /* * Display all of the above. */
456  };
457 
458 /* * String containing the current directory (what getwd would return). */
459 
460 extern char *current_directory;
461 
462 /* * Default radixes for input and output. Only some values supported. */
463 extern unsigned input_radix;
464 extern unsigned output_radix;
465 
466 /* * Possibilities for prettyformat parameters to routines which print
467  things. Like enum language, this should be in value.h, but needs
468  to be here for the same reason. FIXME: If we can eliminate this
469  as an arg to LA_VAL_PRINT, then we can probably move it back to
470  value.h. */
471 
473  {
476  /* * Use the default setting which the user has specified. */
478  };
479 
480 /* * Optional native machine support. Non-native (and possibly pure
481  multi-arch) targets do not need a "nm.h" file. This will be a
482  symlink to one of the nm-*.h files, built by the `configure'
483  script. */
484 
485 #ifdef GDB_NM_FILE
486 #include "nm.h"
487 #endif
488 
489 /* Assume that fopen accepts the letter "b" in the mode string.
490  It is demanded by ISO C9X, and should be supported on all
491  platforms that claim to have a standard-conforming C library. On
492  true POSIX systems it will be ignored and have no effect. There
493  may still be systems without a standard-conforming C library where
494  an ISO C9X compiler (GCC) is available. Known examples are SunOS
495  4.x and 4.3BSD. This assumption means these systems are no longer
496  supported. */
497 #ifndef FOPEN_RB
498 # include "fopen-bin.h"
499 #endif
500 
501 /* Defaults for system-wide constants (if not defined by xm.h, we fake it).
502  FIXME: Assumes 2's complement arithmetic. */
503 
504 #if !defined (UINT_MAX)
505 #define UINT_MAX ((unsigned int)(~0)) /* 0xFFFFFFFF for 32-bits */
506 #endif
507 
508 #if !defined (INT_MAX)
509 #define INT_MAX ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */
510 #endif
511 
512 #if !defined (INT_MIN)
513 #define INT_MIN ((int)((int) ~0 ^ INT_MAX)) /* 0x80000000 for 32-bits */
514 #endif
515 
516 #if !defined (ULONG_MAX)
517 #define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF for 32-bits */
518 #endif
519 
520 #if !defined (LONG_MAX)
521 #define LONG_MAX ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */
522 #endif
523 
524 #if !defined (ULONGEST_MAX)
525 #define ULONGEST_MAX (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */
526 #endif
527 
528 #if !defined (LONGEST_MAX) /* 0x7FFFFFFFFFFFFFFF for 64-bits */
529 #define LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1))
530 #endif
531 
532 /* * Convert a LONGEST to an int. This is used in contexts (e.g. number of
533  arguments to a function, number in a value history, register number, etc.)
534  where the value must not be larger than can fit in an int. */
535 
536 extern int longest_to_int (LONGEST);
537 
538 /* * List of known OS ABIs. If you change this, make sure to update the
539  table in osabi.c. */
541 {
542  GDB_OSABI_UNINITIALIZED = -1, /* For struct gdbarch_info. */
543 
544  GDB_OSABI_UNKNOWN = 0, /* keep this zero */
545 
570 
571  GDB_OSABI_INVALID /* keep this last */
572 };
573 
574 /* Global functions from other, non-gdb GNU thingies.
575  Libiberty thingies are no longer declared here. We include libiberty.h
576  above, instead. */
577 
578 /* From other system libraries */
579 
580 #ifndef atof
581 extern double atof (const char *); /* X3.159-1989 4.10.1.1 */
582 #endif
583 
584 /* Dynamic target-system-dependent parameters for GDB. */
585 #include "gdbarch.h"
586 
587 /* * Maximum size of a register. Something small, but large enough for
588  all known ISAs. If it turns out to be too small, make it bigger. */
589 
590 enum { MAX_REGISTER_SIZE = 64 };
591 
592 /* In findvar.c. */
593 
594 extern LONGEST extract_signed_integer (const gdb_byte *, int,
595  enum bfd_endian);
596 
597 extern ULONGEST extract_unsigned_integer (const gdb_byte *, int,
598  enum bfd_endian);
599 
600 extern int extract_long_unsigned_integer (const gdb_byte *, int,
601  enum bfd_endian, LONGEST *);
602 
603 extern CORE_ADDR extract_typed_address (const gdb_byte *buf,
604  struct type *type);
605 
606 extern void store_signed_integer (gdb_byte *, int,
607  enum bfd_endian, LONGEST);
608 
609 extern void store_unsigned_integer (gdb_byte *, int,
610  enum bfd_endian, ULONGEST);
611 
612 extern void store_typed_address (gdb_byte *buf, struct type *type,
613  CORE_ADDR addr);
614 
615 
616 /* From valops.c */
617 
618 extern int watchdog;
619 
620 /* Hooks for alternate command interfaces. */
621 
622 /* * The name of the interpreter if specified on the command line. */
623 extern char *interpreter_p;
624 
625 struct target_waitstatus;
626 struct cmd_list_element;
627 
628 extern void (*deprecated_pre_add_symbol_hook) (const char *);
629 extern void (*deprecated_post_add_symbol_hook) (void);
630 extern void (*selected_frame_level_changed_hook) (int);
631 extern int (*deprecated_ui_loop_hook) (int signo);
632 extern void (*deprecated_show_load_progress) (const char *section,
633  unsigned long section_sent,
634  unsigned long section_size,
635  unsigned long total_sent,
636  unsigned long total_size);
637 extern void (*deprecated_print_frame_info_listing_hook) (struct symtab * s,
638  int line,
639  int stopline,
640  int noerror);
641 extern int (*deprecated_query_hook) (const char *, va_list)
642  ATTRIBUTE_FPTR_PRINTF(1,0);
643 extern void (*deprecated_warning_hook) (const char *, va_list)
644  ATTRIBUTE_FPTR_PRINTF(1,0);
645 extern void (*deprecated_interactive_hook) (void);
646 extern void (*deprecated_readline_begin_hook) (char *, ...)
647  ATTRIBUTE_FPTR_PRINTF_1;
648 extern char *(*deprecated_readline_hook) (const char *);
649 extern void (*deprecated_readline_end_hook) (void);
650 extern void (*deprecated_register_changed_hook) (int regno);
651 extern void (*deprecated_context_hook) (int);
653  struct target_waitstatus *status,
654  int options);
655 
656 extern void (*deprecated_attach_hook) (void);
657 extern void (*deprecated_detach_hook) (void);
658 extern void (*deprecated_call_command_hook) (struct cmd_list_element * c,
659  char *cmd, int from_tty);
660 
661 extern int (*deprecated_ui_load_progress_hook) (const char *section,
662  unsigned long num);
663 
664 /* If this definition isn't overridden by the header files, assume
665  that isatty and fileno exist on this system. */
666 #ifndef ISATTY
667 #define ISATTY(FP) (isatty (fileno (FP)))
668 #endif
669 
670 /* * A width that can achieve a better legibility for GDB MI mode. */
671 #define GDB_MI_MSG_WIDTH 80
672 
673 /* From progspace.c */
674 
675 extern void initialize_progspace (void);
676 extern void initialize_inferiors (void);
677 
678 /* * Special block numbers */
679 
681 {
685 };
686 
687 #include "utils.h"
688 
689 #endif /* #ifndef DEFS_H */
void(* deprecated_detach_hook)(void)
Definition: top.c:217
int body_count
Definition: defs.h:413
ssize_t read(int fd, void *buf, size_t count)
Definition: expect-read1.c:26
ULONGEST extract_unsigned_integer(const gdb_byte *, int, enum bfd_endian)
Definition: findvar.c:84
CORE_ADDR extract_typed_address(const gdb_byte *buf, struct type *type)
Definition: findvar.c:169
char * python_libdir
Definition: main.c:69
int dbx_commands
Definition: main.c:54
command_control_type
Definition: defs.h:379
int source_full_path_of(const char *, char **)
Definition: source.c:914
struct command_line::@48::@49 compile
void(* deprecated_register_changed_hook)(int regno)
Definition: top.c:227
union command_line::@48 control_u
bfd_vma CORE_ADDR
Definition: common-types.h:41
void initialize_inferiors(void)
Definition: inferior.c:998
void print_address(struct gdbarch *, CORE_ADDR, struct ui_file *)
Definition: printcmd.c:741
void store_signed_integer(gdb_byte *, int, enum bfd_endian, LONGEST)
Definition: findvar.c:184
void clear_quit_flag(void)
Definition: extension.c:793
void set_quit_flag(void)
Definition: extension.c:816
int(* deprecated_query_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
Definition: top.c:191
struct ptid ptid_t
Definition: ptid.h:47
int info_verbose
Definition: top.c:1699
return_value_convention
Definition: defs.h:206
struct command_line * read_command_lines_1(char *(*)(void), int, void(*)(char *, void *), void *)
void print_prompt(void)
precision_type
Definition: defs.h:187
compile_i_scope_types
Definition: defs.h:60
void(* deprecated_context_hook)(int)
Definition: top.c:244
void(* deprecated_print_frame_info_listing_hook)(struct symtab *s, int line, int stopline, int noerror)
Definition: top.c:185
void set_next_address(struct gdbarch *, CORE_ADDR)
Definition: printcmd.c:534
int extract_long_unsigned_integer(const gdb_byte *, int, enum bfd_endian, LONGEST *)
Definition: findvar.c:119
void free_command_lines(struct command_line **)
Definition: cli-script.c:1375
lval_type
Definition: defs.h:350
ptid_t(* deprecated_target_wait_hook)(ptid_t ptid, struct target_waitstatus *status, int options)
Definition: top.c:232
const char * pc_prefix(CORE_ADDR)
Definition: printcmd.c:752
char * debug_file_directory
Definition: symfile.c:1434
void store_unsigned_integer(gdb_byte *, int, enum bfd_endian, ULONGEST)
Definition: findvar.c:212
int longest_to_int(LONGEST)
Definition: valprint.c:1054
Definition: ptid.h:35
void quit(void)
Definition: utils.c:1021
unsigned input_radix
Definition: valprint.c:166
int watchdog
Definition: maint.c:75
void init_source_path(void)
Definition: source.c:414
char * interpreter_p
Definition: main.c:51
char * gdb_readline(const char *)
Definition: top.c:615
char * line
Definition: defs.h:400
const char *const name
Definition: aarch64-tdep.c:68
char * command_line_input(const char *, int, char *)
Definition: top.c:1024
void(* deprecated_call_command_hook)(struct cmd_list_element *c, char *cmd, int from_tty)
Definition: top.c:239
void initialize_file_ftype(void)
Definition: defs.h:281
char * gdb_sysroot
Definition: main.c:57
int openp(const char *, int, const char *, int, char **)
Definition: source.c:739
int(*) void(* deprecated_warning_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
Definition: top.c:195
Definition: defs.h:452
char * gdb_readline_wrapper(const char *)
Definition: top.c:821
Definition: defs.h:449
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int status
Definition: gnu-nat.c:1816
void maybe_quit(void)
Definition: utils.c:1047
void generic_load(const char *name, int from_tty)
Definition: symfile.c:2064
enum compile_i_scope_types scope
Definition: defs.h:406
char * source_path
Definition: source.c:68
void(* selected_frame_level_changed_hook)(int)
Definition: gdbtypes.h:749
void print_transfer_performance(struct ui_file *stream, unsigned long data_count, unsigned long write_count, const struct timeval *start_time, const struct timeval *end_time)
Definition: symfile.c:2173
int annotation_level
Definition: stack.c:109
char * gdb_datadir
Definition: main.c:60
void mod_path(char *, char **)
Definition: source.c:459
void(* deprecated_show_load_progress)(const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size)
Definition: symfile.c:71
#define EXTERN_C
Definition: common-defs.h:58
void(* deprecated_pre_add_symbol_hook)(const char *)
Definition: symfile.c:76
unsigned output_radix
Definition: valprint.c:176
void * scope_data
Definition: defs.h:407
info_proc_what
Definition: defs.h:431
Definition: symtab.h:925
volatile int sync_quit_force_run
Definition: event-top.c:870
val_prettyformat
Definition: defs.h:472
Definition: value.c:172
int(*) void(*) void(* deprecated_interactive_hook)(void)
Definition: top.c:222
block_enum
Definition: defs.h:680
void initialize_progspace(void)
Definition: progspace.c:504
int input_from_terminal_p(void)
Definition: top.c:1573
int build_address_symbolic(struct gdbarch *, CORE_ADDR addr, int do_demangle, char **name, int *offset, char **filename, int *line, int *unmapped)
Definition: printcmd.c:611
char * current_directory
Definition: top.c:117
struct command_line * next
Definition: defs.h:399
misc_command_type
Definition: defs.h:371
const char const char int
Definition: command.h:229
bfd_byte gdb_byte
Definition: common-types.h:38
enum command_control_type control_type
Definition: defs.h:401
int immediate_quit
int print_address_symbolic(struct gdbarch *, CORE_ADDR, struct ui_file *, int, char *)
Definition: printcmd.c:556
void(* deprecated_readline_end_hook)(void)
Definition: top.c:211
Definition: defs.h:443
int check_quit_flag(void)
Definition: extension.c:831
void symbol_file_command(char *, int)
Definition: symfile.c:1642
int offset
Definition: agent.c:65
void(* deprecated_readline_begin_hook)(char *,...) ATTRIBUTE_FPTR_PRINTF_1
Definition: top.c:209
int line
Definition: symtab.h:1570
void directory_switch(char *, int)
Definition: source.c:451
auto_boolean
Definition: defs.h:196
EXTERN_C char * re_comp(const char *)
unsigned long long ULONGEST
Definition: common-types.h:53
language
Definition: defs.h:167
double atof(const char *)
char * relocate_gdb_directory(const char *initial, int flag)
Definition: main.c:161
void store_typed_address(gdb_byte *buf, struct type *type, CORE_ADDR addr)
Definition: findvar.c:242
Definition: defs.h:455
void(* deprecated_post_add_symbol_hook)(void)
Definition: symfile.c:77
int(* deprecated_ui_load_progress_hook)(const char *section, unsigned long num)
Definition: symfile.c:69
LONGEST extract_signed_integer(const gdb_byte *, int, enum bfd_endian)
Definition: findvar.c:49
struct command_line * read_command_lines(char *, int, int, void(*)(char *, void *), void *)
Definition: cli-script.c:1259
int(* find_memory_region_ftype)(CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data)
Definition: defs.h:343
Definition: defs.h:353
void add_path(char *, char **, int)
Definition: source.c:471
void(* deprecated_attach_hook)(void)
Definition: top.c:216
struct command_line ** body_list
Definition: defs.h:417
size_t size
Definition: go32-nat.c:242
long long LONGEST
Definition: common-types.h:52
gdb_osabi
Definition: defs.h:540
int(* deprecated_ui_loop_hook)(int signo)
Definition: top.c:180