aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore A. Roth <troth@openavr.org>2004-01-23 22:37:14 +0000
committerTheodore A. Roth <troth@openavr.org>2004-01-23 22:37:14 +0000
commit5b828b6b4baa16fa2c3ca0ceb4708dcb9a142cc4 (patch)
treedf1ade409dd50a800285ea3c2d28a8df492fb685
parentad445c2c174e3b27503dd50ef1461d7621e5072d (diff)
downloadgdb-5b828b6b4baa16fa2c3ca0ceb4708dcb9a142cc4.zip
gdb-5b828b6b4baa16fa2c3ca0ceb4708dcb9a142cc4.tar.gz
gdb-5b828b6b4baa16fa2c3ca0ceb4708dcb9a142cc4.tar.bz2
* avr-tdep.c: Update copyright.
(avr_iaddr_p): Delete unused function. (avr_saddr_p): Delete unused function.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/avr-tdep.c14
2 files changed, 7 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ddebc04..f3a468d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-23 Theodore A. Roth <troth@openavr.org>
+
+ * avr-tdep.c: Update copyright.
+ (avr_iaddr_p): Delete unused function.
+ (avr_saddr_p): Delete unused function.
+
2004-01-23 David Carlton <carlton@kealia.com>
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index b381adf..cf231fa 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)
{