This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Delete unused ppc_ptrace_cannot_fetch_store_register
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 07 Mar 2004 20:46:05 -0500
- Subject: [ob] Delete unused ppc_ptrace_cannot_fetch_store_register
subject says it all, committed to mainline,
Andrew
2004-03-07 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
unused function.
Index: ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.27
diff -u -r1.27 ppc-linux-nat.c
--- ppc-linux-nat.c 3 Dec 2003 19:37:03 -0000 1.27
+++ ppc-linux-nat.c 8 Mar 2004 01:14:02 -0000
@@ -164,12 +164,6 @@
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. */