summaryrefslogtreecommitdiff
path: root/gdb/hppa-hpux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-01-14 13:38:21 +0000
committerPedro Alves <pedro@codesourcery.com>2011-01-14 13:38:21 +0000
commit92f94c62fe0788276b24d4bd2245fdd67158626e (patch)
treedbf41aa7392246cc7374c63219af56b6f9a2d8ee /gdb/hppa-hpux-nat.c
parent26d2277068ada3d73735650612ca7582dff749ce (diff)
downloadgdb-92f94c62fe0788276b24d4bd2245fdd67158626e.tar.gz
* Makefile.in (hpux-thread.o): Delete rule.
* configure.ac: Don't check for HPUX DCE threads support. * configure, config.in: Regenerate. * hppa-hpux-nat.c (child_suppress_run): Delete. (hppa_hpux_child_can_run): Delete. (_initialize_hppa_hpux_nat): Don't override to_can_run. * hpux-thread.c: Delete.
Diffstat (limited to 'gdb/hppa-hpux-nat.c')
-rw-r--r--gdb/hppa-hpux-nat.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/hppa-hpux-nat.c b/gdb/hppa-hpux-nat.c
index 7032ce795d9..4a5ac113025 100644
--- a/gdb/hppa-hpux-nat.c
+++ b/gdb/hppa-hpux-nat.c
@@ -35,9 +35,6 @@
#include "inf-ptrace.h"
#include "inf-ttrace.h"
-/* Non-zero if we should pretend not to be a runnable target. */
-int child_suppress_run = 0;
-
/* Return the offset of register REGNUM within `struct save_state'.
The offset returns depends on the flags in the "flags" register and
the register size (32-bit or 64-bit). These are taken from
@@ -236,15 +233,6 @@ hppa_hpux_store_inferior_registers (struct target_ops *ops,
hppa_hpux_store_register (regcache, regnum);
}
-static int
-hppa_hpux_child_can_run (void)
-{
- /* This variable is controlled by modules that layer their own
- process structure atop that provided here. The code in
- hpux-thread.c does this to support the HP-UX user-mode DCE
- threads. */
- return !child_suppress_run;
-}
/* Prevent warning from -Wmissing-prototypes. */
@@ -263,7 +251,6 @@ _initialize_hppa_hpux_nat (void)
t->to_fetch_registers = hppa_hpux_fetch_inferior_registers;
t->to_store_registers = hppa_hpux_store_inferior_registers;
- t->to_can_run = hppa_hpux_child_can_run;
add_target (t);
}