aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index 6af26f1..dfdb61d 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -493,14 +493,12 @@ ui_out_field_core_addr (struct ui_out *uiout,
char addstr[20];
int addr_bit = gdbarch_addr_bit (current_gdbarch);
- /* Truncate address to match deprecated_print_address_numeric(). */
if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT))
address &= ((CORE_ADDR) 1 << addr_bit) - 1;
/* FIXME: cagney/2002-05-03: Need local_address_string() function
that returns the language localized string formatted to a width
based on gdbarch_addr_bit. */
- /* deprecated_print_address_numeric (address, 1, local_stream); */
if (addr_bit <= 32)
strcpy (addstr, hex_string_custom (address, 8));
else