diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-29 07:41:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-29 07:41:36 +0000 |
commit | 8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (patch) | |
tree | d2a66b076f54b73533ad7a7241e9cb27489406cf /gdb/config/h8500/tm-h8500.h | |
parent | 3a0c96a9966a85f4205558490e1281471c34980f (diff) | |
download | gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.zip gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.gz gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.bz2 |
CARP:
Convert ADDR_BITS_REMOVE to a function.
Diffstat (limited to 'gdb/config/h8500/tm-h8500.h')
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 22e5061..8f7d966 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -251,7 +251,8 @@ extern void h8500_pop_frame PARAMS ((void)); typedef unsigned short INSN_WORD; -#define ADDR_BITS_REMOVE(addr) ((addr) & 0xffffff) +extern CORE_ADDR h8500_addr_bits_remove PARAMS ((CORE_ADDR)); +#define ADDR_BITS_REMOVE(addr) h8500_addr_bits_remove (addr) #define read_memory_short(x) (read_memory_integer(x,2) & 0xffff) |