diff options
author | Nick Clifton <nickc@redhat.com> | 2000-05-29 19:28:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-05-29 19:28:53 +0000 |
commit | 86e0da7a81fa4e11dae5ecf0b0af1f761a7c0d6d (patch) | |
tree | a47b2679479fd7c8d973e5cc182dd1b079ede545 /sim/igen/gen-semantics.c | |
parent | f23b768a5c29d6a233009281890598ae69e0434b (diff) | |
download | gdb-86e0da7a81fa4e11dae5ecf0b0af1f761a7c0d6d.zip gdb-86e0da7a81fa4e11dae5ecf0b0af1f761a7c0d6d.tar.gz gdb-86e0da7a81fa4e11dae5ecf0b0af1f761a7c0d6d.tar.bz2 |
Use GPR_CLEAR instead of GPR_SET
Diffstat (limited to 'sim/igen/gen-semantics.c')
-rw-r--r-- | sim/igen/gen-semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/gen-semantics.c b/sim/igen/gen-semantics.c index 3acd6d8..2994f82 100644 --- a/sim/igen/gen-semantics.c +++ b/sim/igen/gen-semantics.c @@ -246,7 +246,7 @@ print_semantic_body (lf *file, { lf_printf (file, "\n"); lf_printf (file, "/* Architecture expects REG to be zero */\n"); - lf_printf (file, "GPR_SET(%d, 0);\n", options.gen.zero_reg_nr); + lf_printf (file, "GPR_CLEAR(%d);\n", options.gen.zero_reg_nr); } /* generate the code (or at least something */ |