summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-07-27 01:54:15 +0000
committerKevin Buettner <kevinb@redhat.com>2002-07-27 01:54:15 +0000
commite40f70fb5166e27b4fb9003b331472d8ef54d607 (patch)
tree474c83e4d6c4d32d5afc719c160bd1f7aaf5cc04 /gdb
parent0e00614010f084b4abf52b0a81c8ccff6e6b7ed2 (diff)
downloadgdb-e40f70fb5166e27b4fb9003b331472d8ef54d607.tar.gz
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
calls to local_hex_string_custom().
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ui-out.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 91b1c64baa5..88b6573fe2d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2002-07-26 Kevin Buettner <kevinb@redhat.com>
+ * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
+ calls to local_hex_string_custom().
+
+2002-07-26 Kevin Buettner <kevinb@redhat.com>
+
* irix5-nat.c: Move IRIX shared library support from here...
* solib-irix.c: ...to here. Revised substantially to work with
generic solib framework.
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index c07d6952e6c..4a4a9228540 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -497,9 +497,9 @@ ui_out_field_core_addr (struct ui_out *uiout,
based on TARGET_ADDR_BIT. */
/* print_address_numeric (address, 1, local_stream); */
if (TARGET_ADDR_BIT <= 32)
- strcpy (addstr, local_hex_string_custom ((unsigned long) address, "08l"));
+ strcpy (addstr, local_hex_string_custom (address, "08l"));
else
- strcpy (addstr, local_hex_string_custom ((unsigned long) address, "016l"));
+ strcpy (addstr, local_hex_string_custom (address, "016l"));
ui_out_field_string (uiout, fldname, addstr);
}