summaryrefslogtreecommitdiff
path: root/gdb/config/arc
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>1999-05-05 14:45:51 +0000
committerStan Shebs <shebs@apple.com>1999-05-05 14:45:51 +0000
commit049f10d7dc48a42b664a15149f83d5c3db004ef7 (patch)
tree8dd4e1a383afddd41a30a65adf68142dfd45ec72 /gdb/config/arc
parent1942e83ab587eb3c0c54e57e9d1c9e11c17ac07e (diff)
downloadgdb-049f10d7dc48a42b664a15149f83d5c3db004ef7.tar.gz
import gdb-19990504 snapshot
Diffstat (limited to 'gdb/config/arc')
-rw-r--r--gdb/config/arc/tm-arc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h
index e964bef1645..e170d2d10ad 100644
--- a/gdb/config/arc/tm-arc.h
+++ b/gdb/config/arc/tm-arc.h
@@ -37,11 +37,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
knows that the function has a frame. Its result is equal
to its input PC if the function is frameless, unequal otherwise. */
-#define SKIP_PROLOGUE(pc) \
- { pc = skip_prologue (pc, 0); }
-#define SKIP_PROLOGUE_FRAMELESS_P(pc) \
- { pc = skip_prologue (pc, 1); }
-extern CORE_ADDR skip_prologue PARAMS ((CORE_ADDR, int));
+#define SKIP_PROLOGUE(pc) (arc_skip_prologue (pc, 0))
+#define SKIP_PROLOGUE_FRAMELESS_P(pc) (arc_skip_prologue (pc, 1))
+extern CORE_ADDR arc_skip_prologue PARAMS ((CORE_ADDR, int));
/* Sequence of bytes for breakpoint instruction.
??? The current value is "sr -1,[-1]" and is for the simulator only.