diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-02-24 02:43:11 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-02-24 02:43:11 +0000 |
commit | fb891446b7c6aa5432e84bbc67a7f9452afd057e (patch) | |
tree | feb4a393ac8a87abf0ec4985455d789da94e2165 | |
parent | 2126d5fbda45067caf2bf7fb287f0038e5f21da4 (diff) | |
download | gdb-fb891446b7c6aa5432e84bbc67a7f9452afd057e.zip gdb-fb891446b7c6aa5432e84bbc67a7f9452afd057e.tar.gz gdb-fb891446b7c6aa5432e84bbc67a7f9452afd057e.tar.bz2 |
2001-02-23 Ben Elliston <bje@redhat.com>
* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
already defined elsewhere.
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mips/sim-main.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index f3cb609..3ff893a 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +2001-02-23 Ben Elliston <bje@redhat.com> + + * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not + already defined elsewhere. + 2001-02-19 Ben Elliston <bje@redhat.com> * sim-main.h (sim_monitor): Return an int. diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 9e87fbf..3ccd4a9 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -328,6 +328,7 @@ struct _sim_cpu { #define simSIGINT (1 << 28) /* 0 = do nothing; 1 = SIGINT has occured */ #define simJALDELAYSLOT (1 << 29) /* 1 = in jal delay slot */ +#ifndef ENGINE_ISSUE_PREFIX_HOOK #define ENGINE_ISSUE_PREFIX_HOOK() \ { \ /* Perform any pending writes */ \ @@ -343,6 +344,7 @@ struct _sim_cpu { else \ STATE &= ~simPCOC0; \ } +#endif /* ENGINE_ISSUE_PREFIX_HOOK */ /* This is nasty, since we have to rely on matching the register |