aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 16:45:16 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 16:45:16 +0000
commitc84141d67e109faa68267eba2fbfbb4840a103c2 (patch)
tree76da83406b25e03790239d7c4037f6120d75e408 /gdb/valprint.c
parentacf0f27f9e1e9d8258bf8739b6e947fd07a563f2 (diff)
downloadgdb-c84141d67e109faa68267eba2fbfbb4840a103c2.zip
gdb-c84141d67e109faa68267eba2fbfbb4840a103c2.tar.gz
gdb-c84141d67e109faa68267eba2fbfbb4840a103c2.tar.bz2
2005-01-28 Andrew Cagney <cagney@gnu.org>
* value.h (value_bit_index, print_floating) (find_rt_vbase_offset): Make buffer a const bfd_byte. * valprint.c (print_floating): Update. * valarith.c (value_bit_index): Update. * valops.c (find_rt_vbase_offset): Update.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 4ef327f..3cd76ec 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -284,7 +284,8 @@ longest_to_int (LONGEST arg)
TYPE_CODE_FLT), pointed to in GDB by VALADDR, on STREAM. */
void
-print_floating (char *valaddr, struct type *type, struct ui_file *stream)
+print_floating (const bfd_byte *valaddr, struct type *type,
+ struct ui_file *stream)
{
DOUBLEST doub;
int inv;