diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ia64-vms-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6bcd84..29b2e7e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2018-07-16 Simon Marchi <simon.marchi@ericsson.com> + * ia64-vms-tdep.c (ia64_vms_find_proc_info_x): Add cast. + +2018-07-16 Simon Marchi <simon.marchi@ericsson.com> + * remote-sim.c (gdbsim_target::close, gdbsim_target::mourn_inferior): Remove unused variables. diff --git a/gdb/ia64-vms-tdep.c b/gdb/ia64-vms-tdep.c index e2d40e2..a62a66e 100644 --- a/gdb/ia64-vms-tdep.c +++ b/gdb/ia64-vms-tdep.c @@ -76,7 +76,7 @@ ia64_vms_find_proc_info_x (unw_addr_space_t as, unw_word_t ip, pi->unwind_info = xmalloc (pi->unwind_info_size); res = target_read_memory (table_addr + 8, - pi->unwind_info, pi->unwind_info_size); + (gdb_byte *) pi->unwind_info, pi->unwind_info_size); if (res != 0) { xfree (pi->unwind_info); |