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))