/* S390 native-dependent code for GDB, the GNU debugger.
- Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by D.J. Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
for IBM Deutschland Entwicklung GmbH, IBM Corporation.
#include "regset.h"
#include "nat/linux-ptrace.h"
#include "gdbcmd.h"
+#include "gdbarch.h"
#include "s390-tdep.h"
#include "s390-linux-tdep.h"
#include <algorithm>
#include "inf-ptrace.h"
#include "linux-tdep.h"
-#include "gdbarch.h"
/* Per-thread arch-specific data. */
}
}
- fprintf_unfiltered (gdb_stderr,
- "Attempt to remove nonexistent watchpoint.\n");
+ gdb_printf (gdb_stderr,
+ "Attempt to remove nonexistent watchpoint.\n");
return -1;
}
}
}
- fprintf_unfiltered (gdb_stderr,
- "Attempt to remove nonexistent breakpoint.\n");
+ gdb_printf (gdb_stderr,
+ "Attempt to remove nonexistent breakpoint.\n");
return -1;
}
const struct target_desc *
s390_linux_nat_target::read_description ()
{
- int tid = s390_inferior_tid ();
+ int tid = inferior_ptid.pid ();
have_regset_last_break
= check_regset (tid, NT_S390_LAST_BREAK, 8);