From: Nick Clifton Date: Fri, 14 Jul 2000 20:55:41 +0000 (+0000) Subject: Fix definition of SKIP_PROLOGUE macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=585230bdeb882677a3d3db759680c29470d5c5ef;p=binutils-gdb.git Fix definition of SKIP_PROLOGUE macro. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc3e7da3ea9..e974cea3df1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-07-14 Nick Clifton + + * config/mcore/tm-mcore.h (SKIP_PROLOGUE): Fix defintion to avoid + assignment. + 2000-07-13 Michael Snyder * parse.c: Include inferior.h. diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h index 10aebeca2c8..b18738b92ba 100644 --- a/gdb/config/mcore/tm-mcore.h +++ b/gdb/config/mcore/tm-mcore.h @@ -101,7 +101,7 @@ extern CORE_ADDR mcore_extract_struct_value_address (char *regbuf); mcore_extract_struct_value_address (REGBUF) extern CORE_ADDR mcore_skip_prologue (CORE_ADDR pc); -#define SKIP_PROLOGUE(PC) (PC) = mcore_skip_prologue ((PC)) +#define SKIP_PROLOGUE(PC) mcore_skip_prologue (PC) #define FRAME_ARGS_SKIP 0 extern CORE_ADDR mcore_frame_args_address (struct frame_info *fi);