ports/devel/gdb/files/patch-gdb_i386-fbsd-nat.c
John Baldwin 05bc472d2d Upgrade to 8.2.
- Remove patches for upstream commits in 8.2.
- Add an upstream patch to include NT_PROCSTAT_AUXV, NT_PROCSTAT_PS_STRINGS,
  and NT_PROCSTAT_VMMAP notes in core dumps generated by 'gcore'.
- Update kgdb for changes in 8.2.
- Add 'USES=gettext-runtime'

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D17085
2018-09-24 17:23:35 +00:00

27 lines
832 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- gdb/i386-fbsd-nat.c 2017-09-14 09:28:17 UTC
+++ gdb/i386-fbsd-nat.c
@@ -43,8 +43,6 @@ public:
const struct target_desc *read_description () override;
#endif
- void resume (ptid_t, int, enum gdb_signal) override;
-
#if defined(HAVE_PT_GETDBREGS) && defined(USE_SIGTRAP_SIGINFO)
bool supports_stopped_by_hw_breakpoint () override;
#endif
@@ -52,6 +50,7 @@ public:
static i386_fbsd_nat_target the_i386_fbsd_nat_target;
+#if 0
/* Resume execution of the inferior process. If STEP is nonzero,
single-step it. If SIGNAL is nonzero, give it that signal. */
@@ -98,6 +97,7 @@ i386_fbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
gdb_signal_to_host (signal)) == -1)
perror_with_name (("ptrace"));
}
+#endif
/* Support for debugging kernel virtual memory images. */