diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-28 22:53:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-28 22:53:04 +0000 |
commit | 3a0c96a9966a85f4205558490e1281471c34980f (patch) | |
tree | 6b5b199df7937536be9ad316fe4283f851d64cc5 /gdb/config | |
parent | 02331869322178ead208b8328caab67c5a77b6b3 (diff) | |
download | gdb-3a0c96a9966a85f4205558490e1281471c34980f.zip gdb-3a0c96a9966a85f4205558490e1281471c34980f.tar.gz gdb-3a0c96a9966a85f4205558490e1281471c34980f.tar.bz2 |
CARP:
Rewrite INNER_THAN so that it takes parameters.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/a29k/tm-a29k.h | 2 | ||||
-rw-r--r-- | gdb/config/arc/tm-arc.h | 2 | ||||
-rw-r--r-- | gdb/config/arm/tm-arm.h | 2 | ||||
-rw-r--r-- | gdb/config/d10v/tm-d10v.h | 2 | ||||
-rw-r--r-- | gdb/config/d30v/tm-d30v.h | 2 | ||||
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 2 | ||||
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-i386.h | 2 | ||||
-rw-r--r-- | gdb/config/i960/tm-i960.h | 2 | ||||
-rw-r--r-- | gdb/config/m32r/tm-m32r.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-m68k.h | 2 | ||||
-rw-r--r-- | gdb/config/m88k/tm-m88k.h | 2 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 2 | ||||
-rw-r--r-- | gdb/config/mn10200/tm-mn10200.h | 2 | ||||
-rw-r--r-- | gdb/config/mn10300/tm-mn10300.h | 2 | ||||
-rw-r--r-- | gdb/config/none/tm-none.h | 2 | ||||
-rw-r--r-- | gdb/config/ns32k/tm-merlin.h | 2 | ||||
-rw-r--r-- | gdb/config/ns32k/tm-umax.h | 2 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa.h | 2 | ||||
-rw-r--r-- | gdb/config/sh/tm-sh.h | 2 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 2 | ||||
-rw-r--r-- | gdb/config/tic80/tm-tic80.h | 2 | ||||
-rw-r--r-- | gdb/config/v850/tm-v850.h | 2 | ||||
-rw-r--r-- | gdb/config/vax/tm-vax.h | 2 | ||||
-rw-r--r-- | gdb/config/w65/tm-w65.h | 2 | ||||
-rw-r--r-- | gdb/config/z8k/tm-z8k.h | 2 |
26 files changed, 26 insertions, 26 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h index 66f54bf..8d451d8 100644 --- a/gdb/config/a29k/tm-a29k.h +++ b/gdb/config/a29k/tm-a29k.h @@ -58,7 +58,7 @@ CORE_ADDR skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Stack must be aligned on 32-bit boundaries when synthesizing function calls. */ diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h index 69a3a6f..043ead6 100644 --- a/gdb/config/arc/tm-arc.h +++ b/gdb/config/arc/tm-arc.h @@ -83,7 +83,7 @@ extern void arc_software_single_step PARAMS ((unsigned int, int)); /* Stack grows upward */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Say how long (ordinary) registers are. This is a piece of bogosity used in push_word and a few other places; REGISTER_RAW_SIZE is the diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h index 907773f..7185712 100644 --- a/gdb/config/arm/tm-arm.h +++ b/gdb/config/arm/tm-arm.h @@ -77,7 +77,7 @@ extern CORE_ADDR arm_saved_pc_after_call PARAMS ((struct frame_info *)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* !!!! if we're using RDP, then we're inserting breakpoints and storing their handles instread of what was in memory. It is nice that diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h index 2062a68..1fc5052 100644 --- a/gdb/config/d10v/tm-d10v.h +++ b/gdb/config/d10v/tm-d10v.h @@ -53,7 +53,7 @@ extern CORE_ADDR d10v_skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* for a breakpoint, use "dbt || nop" */ #define BREAKPOINT {0x2f, 0x90, 0x5e, 0x00} diff --git a/gdb/config/d30v/tm-d30v.h b/gdb/config/d30v/tm-d30v.h index 3455ed1..a9f6059 100644 --- a/gdb/config/d30v/tm-d30v.h +++ b/gdb/config/d30v/tm-d30v.h @@ -52,7 +52,7 @@ extern CORE_ADDR d30v_skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* for a breakpoint, use "dbt || nop" */ #define BREAKPOINT {0x00, 0xb0, 0x00, 0x00,\ diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index dac5acb..bcdbb43 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -82,7 +82,7 @@ extern CORE_ADDR h8300_skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /*#define BREAKPOINT {0x7A, 0xFF}*/ #define BREAKPOINT {0x01, 0x80} /* Sleep */ diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 51b2d4c..22e5061 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -56,7 +56,7 @@ extern CORE_ADDR saved_pc_after_call PARAMS ((void)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Illegal instruction - used by the simulator for breakpoint detection */ diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index 7e92ac1..e2039e5 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -59,7 +59,7 @@ extern int i386_skip_prologue PARAMS ((int)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/i960/tm-i960.h b/gdb/config/i960/tm-i960.h index c80f7f3..a6d93b0 100644 --- a/gdb/config/i960/tm-i960.h +++ b/gdb/config/i960/tm-i960.h @@ -62,7 +62,7 @@ extern CORE_ADDR saved_pc_after_call (); /* Stack grows upward */ -#define INNER_THAN > +#define INNER_THAN(lhs,rhs) ((lhs) > (rhs)) /* Say how long (ordinary) registers are. This is a piece of bogosity used in push_word and a few other places; REGISTER_RAW_SIZE is the diff --git a/gdb/config/m32r/tm-m32r.h b/gdb/config/m32r/tm-m32r.h index 231a4ad..8273b4e 100644 --- a/gdb/config/m32r/tm-m32r.h +++ b/gdb/config/m32r/tm-m32r.h @@ -83,7 +83,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define DECR_PC_AFTER_BREAK 0 /* mvs_check INNER_THAN */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* mvs_check SAVED_PC_AFTER_CALL */ #define SAVED_PC_AFTER_CALL(fi) read_register (RP_REGNUM) diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h index 74d4eea..a04e9e4 100644 --- a/gdb/config/m68k/tm-m68k.h +++ b/gdb/config/m68k/tm-m68k.h @@ -55,7 +55,7 @@ extern void m68k_find_saved_regs PARAMS ((struct frame_info *, struct frame_save /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Stack must be kept short aligned when doing function calls. */ diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h index b6776dc..f5c6dc5 100644 --- a/gdb/config/m88k/tm-m88k.h +++ b/gdb/config/m88k/tm-m88k.h @@ -75,7 +75,7 @@ extern CORE_ADDR skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index e16a498..8b80f96 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -120,7 +120,7 @@ extern int in_sigtramp PARAMS ((CORE_ADDR, char *)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) #define BIG_ENDIAN 4321 diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index e4c71fd..671b534 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -86,7 +86,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define DECR_PC_AFTER_BREAK 0 /* Stacks grow the normal way. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) #define SAVED_PC_AFTER_CALL(frame) \ (read_memory_integer (read_register (SP_REGNUM), REGISTER_SIZE) & 0xffffff) diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index a2bc298..6108f2a 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -69,7 +69,7 @@ extern breakpoint_from_pc_fn mn10300_breakpoint_from_pc; #define DECR_PC_AFTER_BREAK 0 -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) #define SAVED_PC_AFTER_CALL(frame) \ read_memory_integer (read_register (SP_REGNUM), 4) diff --git a/gdb/config/none/tm-none.h b/gdb/config/none/tm-none.h index 7f7e7d8..4b16b3b 100644 --- a/gdb/config/none/tm-none.h +++ b/gdb/config/none/tm-none.h @@ -20,4 +20,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This define is needed so that "gcc -MM" doesn't get errors and fail on source files that use the value of INNER_THAN in preprocessor lines. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) diff --git a/gdb/config/ns32k/tm-merlin.h b/gdb/config/ns32k/tm-merlin.h index 4c9cedf..f90c5e7 100644 --- a/gdb/config/ns32k/tm-merlin.h +++ b/gdb/config/ns32k/tm-merlin.h @@ -50,7 +50,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h index fdb3cfe..1fdfb2f 100644 --- a/gdb/config/ns32k/tm-umax.h +++ b/gdb/config/ns32k/tm-umax.h @@ -58,7 +58,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 5c4566e..5a187fb 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -103,7 +103,7 @@ extern CORE_ADDR saved_pc_after_call PARAMS ((struct frame_info *)); /* Stack grows upward */ -#define INNER_THAN > +#define INNER_THAN(lhs,rhs) ((lhs) > (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index cc39ed3..a65461c 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -59,7 +59,7 @@ extern CORE_ADDR sh_skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Illegal instruction - used by the simulator for breakpoint detection */ diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index d5eb576..e3165ce 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -110,7 +110,7 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Stack must be aligned on 64-bit boundaries when synthesizing function calls. */ diff --git a/gdb/config/tic80/tm-tic80.h b/gdb/config/tic80/tm-tic80.h index e0de8e8..18f0b5c 100644 --- a/gdb/config/tic80/tm-tic80.h +++ b/gdb/config/tic80/tm-tic80.h @@ -110,7 +110,7 @@ struct frame_saved_regs; /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. This is padded out to the size of a machine word. */ diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h index e57b5fe..faac00f 100644 --- a/gdb/config/v850/tm-v850.h +++ b/gdb/config/v850/tm-v850.h @@ -78,7 +78,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define DECR_PC_AFTER_BREAK 0 -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) #define SAVED_PC_AFTER_CALL(fi) read_register (RP_REGNUM) diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h index c36f527..ad10fb7 100644 --- a/gdb/config/vax/tm-vax.h +++ b/gdb/config/vax/tm-vax.h @@ -68,7 +68,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ diff --git a/gdb/config/w65/tm-w65.h b/gdb/config/w65/tm-w65.h index 458bfab..6809f93 100644 --- a/gdb/config/w65/tm-w65.h +++ b/gdb/config/w65/tm-w65.h @@ -55,7 +55,7 @@ extern CORE_ADDR w65_skip_prologue (); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Illegal instruction - used by the simulator for breakpoint detection */ diff --git a/gdb/config/z8k/tm-z8k.h b/gdb/config/z8k/tm-z8k.h index 3ef38ca..8800a9c 100644 --- a/gdb/config/z8k/tm-z8k.h +++ b/gdb/config/z8k/tm-z8k.h @@ -53,7 +53,7 @@ extern CORE_ADDR mz8k_skip_prologue PARAMS ((CORE_ADDR ip)); /* Stack grows downward. */ -#define INNER_THAN < +#define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) /* Sequence of bytes for breakpoint instruction. */ |