aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-08-13 18:05:40 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-08-13 18:05:40 +0000
commit1426ac1daf31271d44d622bb2b044a1bb514d8f4 (patch)
tree7b527adcd1a489bcd3854ee64f8cc59735ac3942 /gdb
parentb6fbdd1dbd3fc51820618ba044e81eaac6205f19 (diff)
downloadgdb-1426ac1daf31271d44d622bb2b044a1bb514d8f4.zip
gdb-1426ac1daf31271d44d622bb2b044a1bb514d8f4.tar.gz
gdb-1426ac1daf31271d44d622bb2b044a1bb514d8f4.tar.bz2
* config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
(ADDR_BITS_REMOVE): Remove, redundant.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/pa/tm-hppa64.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5474300..e611112 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2003-08-13 J. Brobecker <brobecker@gnat.com>
+ * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
+ (ADDR_BITS_REMOVE): Remove, redundant.
+
+2003-08-13 J. Brobecker <brobecker@gnat.com>
+
* hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
gdbarch method to clear the 2 low bits of text addresses.
diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h
index 98d0497..5fcaa2c 100644
--- a/gdb/config/pa/tm-hppa64.h
+++ b/gdb/config/pa/tm-hppa64.h
@@ -43,11 +43,6 @@ struct frame_info;
#include "pa/tm-hppah.h"
-#define HPUX_1100 1
-
-/* The low two bits of the IA are the privilege level of the instruction. */
-#define ADDR_BITS_REMOVE(addr) ((CORE_ADDR)addr & (CORE_ADDR)~3)
-
/* Say how long (ordinary) registers are. This is used in
push_word and a few other places, but REGISTER_RAW_SIZE is
the real way to know how big a register is. */