Module Name: src
Committed By: rin
Date: Thu Dec 10 07:14:58 UTC 2020
Modified Files:
src/external/gpl3/gdb/dist/gdb: nbsd-nat.c
Log Message:
Fix arm, for which PT_STEP is defined but unimplemented.
XXX
Stop exposing PT_STEP to userland for arm?
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/external/gpl3/gdb/dist/gdb/nbsd-nat.c:1.20
--- src/external/gpl3/gdb/dist/gdb/nbsd-nat.c:1.19 Sat Dec 5 22:14:44 2020
+++ src/external/gpl3/gdb/dist/gdb/nbsd-nat.c Thu Dec 10 07:14:58 2020
@@ -458,7 +458,7 @@ nbsd_nat_target::info_proc (const char *
return true;
}
-#ifdef PT_STEP
+#if defined(PT_STEP) && !defined(__arm__)
/* 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)
{
-#ifdef PT_STEP
+#if defined(PT_STEP) && !defined(__arm__)
if (minus_one_ptid != ptid)
nbsd_resume (this, ptid, step, signal);
else