From: Andrew Cagney Date: Mon, 8 Mar 2004 01:45:02 +0000 (+0000) Subject: 2004-03-07 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f15a4bc0e0ca9fd18e5606c03bf1289f6f4b4178;p=binutils-gdb.git 2004-03-07 Andrew Cagney * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete unused function. --- 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 + + * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete + unused function. + 2004-03-07 Daniel Jacobowitz * 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. */