diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:59:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:59:51 +0000 |
commit | 17a912b6825ef7feaad6d9b4f5419f045fe3c8d0 (patch) | |
tree | efb8f5f61bc4e5847a2239bea947736f89e326d3 /gdb/memattr.c | |
parent | 1143fffb920d9d9995854541dae2c8f6add8387a (diff) | |
download | gdb-17a912b6825ef7feaad6d9b4f5419f045fe3c8d0.zip gdb-17a912b6825ef7feaad6d9b4f5419f045fe3c8d0.tar.gz gdb-17a912b6825ef7feaad6d9b4f5419f045fe3c8d0.tar.bz2 |
2007-06-13 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
* valops.c (value_cast): Likewise.
* utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
* ui-out.c (ui_out_field_core_addr): Likewise.
* tracepoint.c (tracepoints_info): Likewise.
* symtab.c (print_msymbol_info): Likewise.
* solib-irix.c (irix_current_sos)
(irix_open_symbol_file_object): Likewise.
* remote.c (build_remote_gdbarch_data): Likewise.
* prologue-value.c (make_pv_area): Likewise.
* procfs.c (info_mappings_callback): Likewise.
* printcmd.c (print_scalar_formatted)
(deprecated_print_address_numeric): Likewise.
* memattr.c (mem_info_command): Likewise.
* linux-nat.c (linux_nat_info_proc_cmd): Likewise.
* gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
* exec.c (print_section_info): Likewise.
* dwarf2read.c (read_subrange_type): Likewise.
* dwarf2loc.c (find_location_expression): Likewise.
* dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
(signed_address_type, execute_stack_op): Likewise.
* breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index f8e0732..1fe9e90 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -434,10 +434,10 @@ mem_info_command (char *args, int from_tty) printf_filtered ("Num "); printf_filtered ("Enb "); printf_filtered ("Low Addr "); - if (TARGET_ADDR_BIT > 32) + if (gdbarch_addr_bit (current_gdbarch) > 32) printf_filtered (" "); printf_filtered ("High Addr "); - if (TARGET_ADDR_BIT > 32) + if (gdbarch_addr_bit (current_gdbarch) > 32) printf_filtered (" "); printf_filtered ("Attrs "); printf_filtered ("\n"); @@ -448,14 +448,14 @@ mem_info_command (char *args, int from_tty) printf_filtered ("%-3d %-3c\t", m->number, m->enabled_p ? 'y' : 'n'); - if (TARGET_ADDR_BIT <= 32) + if (gdbarch_addr_bit (current_gdbarch) <= 32) tmp = hex_string_custom ((unsigned long) m->lo, 8); else tmp = hex_string_custom ((unsigned long) m->lo, 16); printf_filtered ("%s ", tmp); - if (TARGET_ADDR_BIT <= 32) + if (gdbarch_addr_bit (current_gdbarch) <= 32) { if (m->hi == 0) tmp = "0x100000000"; |