summaryrefslogtreecommitdiff
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
commitd44e8a5a77405cfffaac0aedce76d50c44f98953 (patch)
tree9549e03a537c16738f6cf93fd93af6166cfbe824
parent689573c07c81fc2ac309b0dd0ce196a544a123cc (diff)
downloadgdb-d44e8a5a77405cfffaac0aedce76d50c44f98953.tar.gz
2004-03-07 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete unused function.
-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 a6a71604b5f..4683f060642 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 372ad0c7b48..619984a6c3b 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. */