summaryrefslogtreecommitdiffstats
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-08 01:45:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-08 01:45:02 +0000
commitf15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178 (patch)
tree3aece5ccffd3ea2766542a9dd044e35f68b88d06 /gdb/ppc-linux-nat.c
parenta5da26a4edd7e83137f914da7270a4f75df34242 (diff)
downloadppe42-binutils-f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178.tar.gz
ppe42-binutils-f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178.zip
2004-03-07 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete unused function.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 372ad0c7b4..619984a6c3 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -164,12 +164,6 @@ ppc_register_u_addr (int regno)
return u_addr;
}
-static int
-ppc_ptrace_cannot_fetch_store_register (int regno)
-{
- return (ppc_register_u_addr (regno) == -1);
-}
-
/* The Linux kernel ptrace interface for AltiVec registers uses the
registers set mechanism, as opposed to the interface for all the
other registers, that stores/fetches each register individually. */
OpenPOWER on IntegriCloud