diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:20:50 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:20:50 +0000 |
commit | fde6c81990c82b00f737cec2d781458de2ac84e1 (patch) | |
tree | 73bdf87cc47981432c3844665086f52145d9cf1b /gdb/symfile.c | |
parent | d4dbb9c7d4ddc39cb0affb783515944bdf8cce68 (diff) | |
download | gdb-fde6c81990c82b00f737cec2d781458de2ac84e1.zip gdb-fde6c81990c82b00f737cec2d781458de2ac84e1.tar.gz gdb-fde6c81990c82b00f737cec2d781458de2ac84e1.tar.bz2 |
* gdbtypes.h (builtin_type_void): Remove macro, add declaration.
(builtin_type_f_void): Remove macro.
* gdbtypes.c (builtin_type_void): New global variable.
(_initialize_gdbtypes): Initialize it.
* gnu-v3-abi.c (build_gdb_vtable_type): Do not call
lookup_pointer_type or lookup_function_type on builtin_type_void.
* printcmd.c (set_next_address): Likewise.
* objc-lang.c (value_nsstring): Likewise.
* mt-tdep.c (mt_copro_register_type): Likewise.
* xtensa-tdep.c (xtensa_register_type): Likewise.
* symfile.c (syms_from_objfile): Remove special handling
of builtin_type_void and builtin_type_char.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index d067d2b..5827a53 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -896,14 +896,6 @@ syms_from_objfile (struct objfile *objfile, (*objfile->sf->sym_read) (objfile, mainline); - /* Don't allow char * to have a typename (else would get caddr_t). - Ditto void *. FIXME: Check whether this is now done by all the - symbol readers themselves (many of them now do), and if so remove - it from here. */ - - TYPE_NAME (lookup_pointer_type (builtin_type_char)) = 0; - TYPE_NAME (lookup_pointer_type (builtin_type_void)) = 0; - /* Mark the objfile has having had initial symbol read attempted. Note that this does not mean we found any symbols... */ |