* gdbtypes.h (builtin_type_void): Remove macro, add declaration.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index aedacce09fb0aeb624f8308a8195d26c26e0c6de..5a486af2478d5a6bb79cbb287671b0d298e07b2a 100644 (file)
@@ -1,3 +1,52 @@
+2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * 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.
+
+2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * eval.c (evaluate_subexp_standard): Use exp->gdbarch types instead
+       of builtin_type_ macros when handling OP_OBJC_ operations.
+       * objc-lang.c (print_object_command): Likewise.
+
+2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-valprint.c: Include "objfiles.h".
+       (ada_val_print_1): Use the gdbarch associated with the objfile whether
+       a System.Address type is defined to retrieve the proper pointer type
+       to use to print it.
+
+2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-lang.c (value_pos_atr): Add TYPE argument.  Use it as
+       result type instead of builtin_type_int.
+       (value_subscript_packed): Use pos_atr instead of value_pos_atr.
+       (ada_value_subscript): Update call to value_pos_atr.
+       (ada_value_ptr_subscript): Likewise.
+       (ada_evaluate_subexp): Likewise.
+
+2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-lang.c (cast_to_fixed): Do not cast to builtin_type_double.
+       (cast_from_fixed_to_double): Rename to ...
+       (cast_from_fixed): ... this.  Add TYPE parameter.  Use it instead
+       of builtin_type_double.
+       (ada_value_cast): Use cast_from_fixed instead of casting result
+       of cast_from_fixed_to_double.
+       (ada_evaluate_subexp): Update calls to cast_from_fixed_to_double. 
+
 2008-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * valops.c (value_ind): No longer allow dereferencing an
This page took 0.025214 seconds and 4 git commands to generate.