Module Name: src
Committed By: rin
Date: Mon Dec 14 02:01:03 UTC 2020
Modified Files:
src/external/gpl3/gdb/dist/gdb: nbsd-nat.c
Log Message:
Revert previous as per request from kamil; now, arm/ptrace.h does not
expose unimplemented PT_STEP.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gdb/dist/gdb/nbsd-nat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/nbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/nbsd-nat.c:1.20 src/external/gpl3/gdb/dist/gdb/nbsd-nat.c:1.21
--- src/external/gpl3/gdb/dist/gdb/nbsd-nat.c:1.20 Thu Dec 10 07:14:58 2020
+++ src/external/gpl3/gdb/dist/gdb/nbsd-nat.c Mon Dec 14 02:01:03 2020
@@ -458,7 +458,7 @@ nbsd_nat_target::info_proc (const char *
return true;
}
-#if defined(PT_STEP) && !defined(__arm__)
+#ifdef PT_STEP
/* Resume execution of a specified PTID, that points to a process or a thread
within a process. If one thread is specified, all other threads are
suspended. If STEP is nonzero, single-step it. If SIGNAL is nonzero,
@@ -530,7 +530,7 @@ nbsd_resume(nbsd_nat_target *target, pti
void
nbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
{
-#if defined(PT_STEP) && !defined(__arm__)
+#ifdef PT_STEP
if (minus_one_ptid != ptid)
nbsd_resume (this, ptid, step, signal);
else