From 70a41b521dd59c14b0ef98aa2bc3e08ee087724c Mon Sep 17 00:00:00 2001 From: cagney Date: Mon, 8 Mar 2004 01:45:01 +0000 Subject: [PATCH] 2004-03-07 Andrew Cagney * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete unused function. --- gdb/ChangeLog | 5 +++++ gdb/ppc-linux-nat.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a6a71604b5..4683f06064 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 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. */ -- 2.11.0