Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do

funnies to integer to address conversions.
This commit is contained in:
Andrew Cagney
2001-10-15 18:18:30 +00:00
parent cf5c0c5bc6
commit fc0c74b114
10 changed files with 196 additions and 29 deletions

View File

@@ -499,9 +499,5 @@ typedef unsigned long t_inst; /* Integer big enough to hold an instruction */
extern void mips_set_processor_type_command (char *, int);
/* MIPS sign extends addresses */
#define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF))
#define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR))
/* Single step based on where the current instruction will take us. */
extern void mips_software_single_step (enum target_signal, int);