diff options
author | Chris Demetriou <cgd@google.com> | 2002-11-06 18:41:09 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-11-06 18:41:09 +0000 |
commit | ac835424b5ad4dce56c8d4ed6835d56fc225c786 (patch) | |
tree | 4a1fffc73ef515c6150c8f2a7df5518e4c5b2641 /sim | |
parent | d690312feb7d8904dda3f3deda039ffa44046d76 (diff) | |
download | gdb-ac835424b5ad4dce56c8d4ed6835d56fc225c786.zip gdb-ac835424b5ad4dce56c8d4ed6835d56fc225c786.tar.gz gdb-ac835424b5ad4dce56c8d4ed6835d56fc225c786.tar.bz2 |
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
* gen-engine.c (print_engine_issue_prefix_hook): Don't add the
global prefix to ENGINE_ISSUE_PREFIX_HOOK.
(print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/igen/ChangeLog | 6 | ||||
-rw-r--r-- | sim/igen/gen-engine.c | 12 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 9484c22..4e4b3a4 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,9 @@ +2002-11-06 Richard Sandiford <rsandifo@redhat.com> + + * gen-engine.c (print_engine_issue_prefix_hook): Don't add the + global prefix to ENGINE_ISSUE_PREFIX_HOOK. + (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK. + 2002-08-28 Dave Brolley <brolley@redhat.com> * gen-support.c (gen_support_h): Generate diff --git a/sim/igen/gen-engine.c b/sim/igen/gen-engine.c index ee27e68..1de477d 100644 --- a/sim/igen/gen-engine.c +++ b/sim/igen/gen-engine.c @@ -41,10 +41,8 @@ print_engine_issue_prefix_hook (lf *file) { lf_printf (file, "\n"); lf_indent_suppress (file); - lf_printf (file, "#if defined (%sENGINE_ISSUE_PREFIX_HOOK)\n", - options.module.global.prefix.l); - lf_printf (file, "%sENGINE_ISSUE_PREFIX_HOOK();\n", - options.module.global.prefix.l); + lf_printf (file, "#if defined (ENGINE_ISSUE_PREFIX_HOOK)\n"); + lf_printf (file, "ENGINE_ISSUE_PREFIX_HOOK();\n"); lf_indent_suppress (file); lf_printf (file, "#endif\n"); lf_printf (file, "\n"); @@ -55,10 +53,8 @@ print_engine_issue_postfix_hook (lf *file) { lf_printf (file, "\n"); lf_indent_suppress (file); - lf_printf (file, "#if defined (%sENGINE_ISSUE_POSTFIX_HOOK)\n", - options.module.global.prefix.l); - lf_printf (file, "%sENGINE_ISSUE_POSTFIX_HOOK();\n", - options.module.global.prefix.l); + lf_printf (file, "#if defined (ENGINE_ISSUE_POSTFIX_HOOK)\n"); + lf_printf (file, "ENGINE_ISSUE_POSTFIX_HOOK();\n"); lf_indent_suppress (file); lf_printf (file, "#endif\n"); lf_printf (file, "\n"); |