OSDN Git Service

* gdbtypes.h (builtin_type_void): Remove macro, add declaration.
authoruweigand <uweigand>
Thu, 11 Sep 2008 14:20:50 +0000 (14:20 +0000)
committeruweigand <uweigand>
Thu, 11 Sep 2008 14:20:50 +0000 (14:20 +0000)
commit9badfcb1609394869dc53aace4863dec75c6c9c5
treeafec2ba5a06b7c32ac10393a7f6784cf41d5cd10
parent3d93fd71b3f6b57f9748947e0277d7442d055bde
* 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.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-v3-abi.c
gdb/mt-tdep.c
gdb/objc-lang.c
gdb/printcmd.c
gdb/symfile.c
gdb/xtensa-tdep.c