/* Target-dependent code for OpenVMS IA-64.
- Copyright (C) 2012-2021 Free Software Foundation, Inc.
+ Copyright (C) 2012-2022 Free Software Foundation, Inc.
This file is part of GDB.
CORE_ADDR table_addr;
unsigned int info_len;
- res = target_read (current_top_target (), TARGET_OBJECT_OPENVMS_UIB,
+ res = target_read (current_inferior ()->top_target (),
+ TARGET_OBJECT_OPENVMS_UIB,
annex + 2, buf, 0, sizeof (buf));
if (res != sizeof (buf))