aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-bsd-nat.c
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-14 16:23:11 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-14 16:26:41 +0100
commit66eaca97ebd0f1b456ffe158fce73bafcce561bb (patch)
tree0f5035da6ac90ada75b196ea13e959e938e995f2 /gdb/alpha-bsd-nat.c
parent4fed520be264b60893aa674071947890f8172915 (diff)
downloadgdb-66eaca97ebd0f1b456ffe158fce73bafcce561bb.zip
gdb-66eaca97ebd0f1b456ffe158fce73bafcce561bb.tar.gz
gdb-66eaca97ebd0f1b456ffe158fce73bafcce561bb.tar.bz2
Remove unused code from alpha-bsd-nat.c
gdb/ChangeLog: * alpha-bsd-nat.c: Remove <sys/procfs.h> and "gregset.h" from includes. * alpha-bsd-nat.c (gregset_t, fpregset_t): Remove. * alpha-bsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Likewise.
Diffstat (limited to 'gdb/alpha-bsd-nat.c')
-rw-r--r--gdb/alpha-bsd-nat.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c
index 75c5589..4b14cfe 100644
--- a/gdb/alpha-bsd-nat.c
+++ b/gdb/alpha-bsd-nat.c
@@ -32,20 +32,6 @@
#include <sys/ptrace.h>
#include <machine/reg.h>
-#ifdef HAVE_SYS_PROCFS_H
-#include <sys/procfs.h>
-#endif
-
-#ifndef HAVE_GREGSET_T
-typedef struct reg gregset_t;
-#endif
-
-#ifndef HAVE_FPREGSET_T
-typedef struct fpreg fpregset_t;
-#endif
-
-#include "gregset.h"
-
struct alpha_bsd_nat_target final : public nbsd_nat_target
{
void fetch_registers (struct regcache *, int) override;
@@ -54,34 +40,6 @@ struct alpha_bsd_nat_target final : public nbsd_nat_target
static alpha_bsd_nat_target the_alpha_bsd_nat_target;
-/* Provide *regset() wrappers around the generic Alpha BSD register
- supply/fill routines. */
-
-void
-supply_gregset (struct regcache *regcache, const gregset_t *gregsetp)
-{
- alphabsd_supply_reg (regcache, (const char *) gregsetp, -1);
-}
-
-void
-fill_gregset (const struct regcache *regcache, gregset_t *gregsetp, int regno)
-{
- alphabsd_fill_reg (regcache, (char *) gregsetp, regno);
-}
-
-void
-supply_fpregset (struct regcache *regcache, const fpregset_t *fpregsetp)
-{
- alphabsd_supply_fpreg (regcache, (const char *) fpregsetp, -1);
-}
-
-void
-fill_fpregset (const struct regcache *regcache,
- fpregset_t *fpregsetp, int regno)
-{
- alphabsd_fill_fpreg (regcache, (char *) fpregsetp, regno);
-}
-
/* Determine if PT_GETREGS fetches this register. */
static int