Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Revert previous as per request fr...
details: https://anonhg.NetBSD.org/src/rev/d0af42004358
branches: trunk
changeset: 1017149:d0af42004358
user: rin <rin%NetBSD.org@localhost>
date: Mon Dec 14 02:01:03 2020 +0000
description:
Revert previous as per request from kamil; now, arm/ptrace.h does not
expose unimplemented PT_STEP.
diffstat:
external/gpl3/gdb/dist/gdb/nbsd-nat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r ad9d413f51fb -r d0af42004358 external/gpl3/gdb/dist/gdb/nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/nbsd-nat.c Mon Dec 14 01:58:48 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/nbsd-nat.c Mon Dec 14 02:01:03 2020 +0000
@@ -458,7 +458,7 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index