From 5b828b6b4baa16fa2c3ca0ceb4708dcb9a142cc4 Mon Sep 17 00:00:00 2001 From: "Theodore A. Roth" Date: Fri, 23 Jan 2004 22:37:14 +0000 Subject: [PATCH] * avr-tdep.c: Update copyright. (avr_iaddr_p): Delete unused function. (avr_saddr_p): Delete unused function. --- gdb/ChangeLog | 6 ++++++ gdb/avr-tdep.c | 14 +------------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ddebc0493ff..f3a468d331b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Theodore A. Roth + + * avr-tdep.c: Update copyright. + (avr_iaddr_p): Delete unused function. + (avr_saddr_p): Delete unused function. + 2004-01-23 David Carlton * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index b381adfc5be..cf231faff6f 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent code for Atmel AVR, for GDB. - Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -226,12 +226,6 @@ avr_make_iaddr (CORE_ADDR x) return ((x) | AVR_IMEM_START); } -static int -avr_iaddr_p (CORE_ADDR x) -{ - return (((x) & AVR_MEM_MASK) == AVR_IMEM_START); -} - /* FIXME: TRoth: Really need to use a larger mask for instructions. Some devices are already up to 128KBytes of flash space. @@ -251,12 +245,6 @@ avr_make_saddr (CORE_ADDR x) return ((x) | AVR_SMEM_START); } -static int -avr_saddr_p (CORE_ADDR x) -{ - return (((x) & AVR_MEM_MASK) == AVR_SMEM_START); -} - static CORE_ADDR avr_convert_saddr_to_raw (CORE_ADDR x) { -- 2.30.2