summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-13 17:48:13 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-13 17:48:13 +0000
commit0b69ed24cdb63deaf24b6135ace4edbae8e1eff4 (patch)
tree2402cb65737262992e8d8b1a490c66e4b6b52038 /gdb/gdbtypes.c
parentae4477d70bc6eee4eefc6738afb128df27e009b4 (diff)
downloadgdb-0b69ed24cdb63deaf24b6135ace4edbae8e1eff4.tar.gz
2007-06-13 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. * gdbtypes.c (build_flt): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 9c093adbfcd..93c1e55eafa 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -3578,7 +3578,7 @@ Show resolution of opaque struct/class/union types (if set before loading symbol
TYPE_FLAG_UNSIGNED,
"__CORE_ADDR", (struct objfile *) NULL);
builtin_type_bfd_vma =
- init_type (TYPE_CODE_INT, TARGET_BFD_VMA_BIT / 8,
+ init_type (TYPE_CODE_INT, gdbarch_addr_bit (current_gdbarch) / 8,
TYPE_FLAG_UNSIGNED,
"__bfd_vma", (struct objfile *) NULL);
}