aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-hpux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-01-14 13:38:24 +0000
committerPedro Alves <palves@redhat.com>2011-01-14 13:38:24 +0000
commit76adfcaec192e8572ed0c2fe5bdf13ee2c069c36 (patch)
tree6d9c40418e0ee71c2e449b9a8fa5f008f357a0f1 /gdb/hppa-hpux-nat.c
parente922bcabdffb3f36677c587e5ff04e90488837b6 (diff)
downloadgdb-76adfcaec192e8572ed0c2fe5bdf13ee2c069c36.zip
gdb-76adfcaec192e8572ed0c2fe5bdf13ee2c069c36.tar.gz
gdb-76adfcaec192e8572ed0c2fe5bdf13ee2c069c36.tar.bz2
* 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 7032ce7..4a5ac11 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);
}