aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parenta5da26a4edd7e83137f914da7270a4f75df34242 (diff)
downloadfsf-binutils-gdb-f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178.zip
fsf-binutils-gdb-f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178.tar.gz
fsf-binutils-gdb-f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178.tar.bz2
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ppc-linux-nat.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a6a7160..4683f06 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-07 Andrew Cagney <cagney@redhat.com>
+
+ * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
+ unused function.
+
2004-03-07 Daniel Jacobowitz <drow@mvista.com>
* arm-tdep.c (thumb_get_next_pc): Handle BX.
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 372ad0c..619984a 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. */