/* Target-dependent code for OpenVMS IA-64.
- Copyright (C) 2012-2018 Free Software Foundation, Inc.
+ Copyright (C) 2012-2020 Free Software Foundation, Inc.
This file is part of GDB.
#include "osabi.h"
#include "gdbtypes.h"
#include "gdbcore.h"
+#include "gdbarch.h"
#ifdef HAVE_LIBUNWIND_IA64_H
int need_unwind_info, void *arg)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
- unw_dyn_info_t di;
- int ret;
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;
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);