diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-22 12:27:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-22 12:27:00 +0000 |
commit | 64c50499d5446901112a8a7c169fc6cb751f8fe2 (patch) | |
tree | 1d729cf244ad9ca2735a9e58d5d140cf7dd1e6b4 /gdb/gdbtypes.h | |
parent | 0d161102d03cac3722e9ae1e9b88039594feba0a (diff) | |
download | binutils-gdb-64c50499d5446901112a8a7c169fc6cb751f8fe2.tar.gz |
* gdbtypes.h (struct builtin_type): New members nodebug_text_symbol,
nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol.
* gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types.
* parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove.
(msym_unknown_symbol_type, msym_tls_symbol_type): Remove.
(write_exp_msymbol): Use builtin nodebug_ types instead of them.
(build_parse): Remove.
(_initialize_parse): Do not call build_parse. Do not register
msym_ types for gdbarch-swapping.
* dwarf2read.c (new_symbol): Use default nodebug_data_symbol type
instead of creating private type.
* xcoffread.c (func_symbol_type, var_symbol_type): Remove.
(_initialize_xcoffread): Do not initialized them.
(process_xcoff_symbol): Use builtin nodebug_ types instead of them.
* mdebugread.c (nodebug_func_symbol_type): Remove.
(nodebug_var_symbol_type): Remove.
(_initialize_mdebugread): Do not initialize them.
(parse_symbol): Use builtin nodebug_ type instead of them.
(parse_procedure): Likewise.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 220400cae3c..c565be626bb 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1001,6 +1001,14 @@ struct builtin_type /* The target CPU's address type. This is the ISA address size. */ struct type *builtin_core_addr; + + /* Types used for symbols with no debug information. */ + struct type *nodebug_text_symbol; + struct type *nodebug_data_symbol; + struct type *nodebug_unknown_symbol; + struct type *nodebug_tls_symbol; + + /* Integral types. */ /* We use this for the '/c' print format, because c_char is just a |