projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in bsd-kvm.c
[deliverable/binutils-gdb.git]
/
opcodes
/
opc2c.c
diff --git
a/opcodes/opc2c.c
b/opcodes/opc2c.c
index 8a2c7f36ebcf4df1b1069764f33ed22d43b072e3..494dd860a49be2507433f2cdfc7f79333ef81dae 100644
(file)
--- a/
opcodes/opc2c.c
+++ b/
opcodes/opc2c.c
@@
-1,6
+1,6
@@
/* opc2c.c --- generate C opcode decoder code from from .opc file
/* opc2c.c --- generate C opcode decoder code from from .opc file
- Copyright (C) 2005-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2005-20
20
Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of the GNU opcode library.
Contributed by Red Hat, Inc.
This file is part of the GNU opcode library.
@@
-577,14
+577,6
@@
main (int argc, char ** argv)
VaryRef * vlist;
int skipping_section = 0;
VaryRef * vlist;
int skipping_section = 0;
- if (argc > 2 && strcmp (argv[1], "-l") == 0)
- {
- sim_log = fopen (argv[2], "w");
- fprintf (stderr, "sim_log: %s\n", argv[2]);
- argc -= 2;
- argv += 2;
- }
-
if (argc < 2)
{
fprintf (stderr, "usage: opc2c infile.opc > outfile.opc\n");
if (argc < 2)
{
fprintf (stderr, "usage: opc2c infile.opc > outfile.opc\n");
@@
-802,6
+794,8
@@
main (int argc, char ** argv)
store_opcode_bits (opcodes[i], 0, indirect);
}
store_opcode_bits (opcodes[i], 0, indirect);
}
+ printf ("/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */\n");
+
dump_lines (&prefix_text, 0, 0);
emit_indirect (indirect, 0);
dump_lines (&prefix_text, 0, 0);
emit_indirect (indirect, 0);
This page took
0.02354 seconds
and
4
git commands to generate.