aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-07-14 20:55:41 +0000
committerNick Clifton <nickc@redhat.com>2000-07-14 20:55:41 +0000
commit585230bdeb882677a3d3db759680c29470d5c5ef (patch)
tree29db6597f38cb1c7fe1218b8630c25c690fa82da /gdb
parent64a1067567254d9c13c7a37c91d802288f4c52fd (diff)
downloadgdb-585230bdeb882677a3d3db759680c29470d5c5ef.zip
gdb-585230bdeb882677a3d3db759680c29470d5c5ef.tar.gz
gdb-585230bdeb882677a3d3db759680c29470d5c5ef.tar.bz2
Fix definition of SKIP_PROLOGUE macro.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/mcore/tm-mcore.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bc3e7da..e974cea 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-14 Nick Clifton <nickc@cygnus.com>
+
+ * config/mcore/tm-mcore.h (SKIP_PROLOGUE): Fix defintion to avoid
+ assignment.
+
2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
* parse.c: Include inferior.h.
diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h
index 10aebec..b18738b 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);