external/binutils.git
33 years agoWed May 15 11:02:48 1991 Roland H. Pesch (pesch at fowanton.cygnus.com)
Roland Pesch [Wed, 15 May 1991 18:10:40 +0000 (18:10 +0000)]
Wed May 15 11:02:48 1991  Roland H. Pesch  (pesch at fowanton.cygnus.com)

* pretex.m4: modify explanatory text slightly (and redefine
"regexp") to keep GNU m4 from complaining.  (It still crashes
later, but one step at a time...)

33 years agoreadline update
John Gilmore [Wed, 15 May 1991 17:36:32 +0000 (17:36 +0000)]
readline update

33 years agoFix duplicated entry in ChangeLog.
John Gilmore [Wed, 15 May 1991 17:30:02 +0000 (17:30 +0000)]
Fix duplicated entry in ChangeLog.

33 years ago * Makefile.dist: put gdb.dvi stuff (updated to use M4 preprocessor
Roland Pesch [Tue, 14 May 1991 23:34:41 +0000 (23:34 +0000)]
* Makefile.dist: put gdb.dvi stuff (updated to use M4 preprocessor
stuff for config manual) here where it counts; updated
to use new subdir structure (gdb/doc/).

* Makefile: generated from above via
    config.gdb none
before checkin

33 years ago(1) removed "gdb.info*" files (just introduced) from CVS;
Roland Pesch [Tue, 14 May 1991 22:34:12 +0000 (22:34 +0000)]
(1) removed "gdb.info*" files (just introduced) from CVS;

(2) instead,
* gdbint.texinfo: added instructions on generating gdb.info* files
locally for release.

33 years ago * gdb.info*: added to distribution. These are ordinary info
Roland Pesch [Tue, 14 May 1991 22:07:52 +0000 (22:07 +0000)]
* gdb.info*: added to distribution.  These are ordinary info
files, formatted from gdb.texinfo (via gdb-all.texinfo, see
Makefile)---but due to use of texinfo 2, can't count on makeinfo
to generate these, so we distribute them already formatted.

* gdb.texinfo: included full Info node and menu crud (as generated
by C-u M-x texinfo-master-menu using the texinfo-2 elisp code).

* Makefile: updated "gdb.dvi" target to use M4 preprocessor;
put in comments-for-future gdb.info target (one day makeinfo will
work again).

33 years ago*** empty log message ***
Roland Pesch [Tue, 14 May 1991 22:01:19 +0000 (22:01 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Roland Pesch [Tue, 14 May 1991 20:55:08 +0000 (20:55 +0000)]
*** empty log message ***

33 years agoAdded make dep
Steve Chamberlain [Tue, 14 May 1991 18:53:33 +0000 (18:53 +0000)]
Added make dep
Made filenames suitable for PCs

33 years agoFixed problem with default output filename
Steve Chamberlain [Tue, 14 May 1991 18:52:40 +0000 (18:52 +0000)]
Fixed problem with default output filename

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 14 May 1991 17:33:03 +0000 (17:33 +0000)]
*** empty log message ***

33 years agoInitial revision
Steve Chamberlain [Tue, 14 May 1991 17:32:59 +0000 (17:32 +0000)]
Initial revision

33 years agoar called through parametarizable macro.
K. Richard Pixley [Tue, 14 May 1991 16:30:22 +0000 (16:30 +0000)]
ar called through parametarizable macro.

33 years agoC
Steve Chamberlain [Tue, 14 May 1991 14:40:39 +0000 (14:40 +0000)]
C
:wq

q

VS: ----------------------------------------------------------------------

33 years agosee devo/configure 1.11
K. Richard Pixley [Tue, 14 May 1991 14:14:40 +0000 (14:14 +0000)]
see devo/configure 1.11

33 years agoMany small changes including the removal of configure.template. Any
K. Richard Pixley [Tue, 14 May 1991 14:09:59 +0000 (14:09 +0000)]
Many small changes including the removal of configure.template.  Any
valid configure script can now be used as a template.

33 years agoUpdate "make saber_gdb" a bit.
John Gilmore [Mon, 13 May 1991 23:44:37 +0000 (23:44 +0000)]
Update "make saber_gdb" a bit.

33 years ago * mipsread.c: Rather than keeping count of how many symtabs
John Gilmore [Mon, 13 May 1991 21:59:43 +0000 (21:59 +0000)]
    * mipsread.c:  Rather than keeping count of how many symtabs
        and psymtabs we have, for sorting purposes, count them when
        we need to sort.  This fixes bug in rereading of symbol tables.

33 years ago*** empty log message ***
Steve Chamberlain [Mon, 13 May 1991 21:03:08 +0000 (21:03 +0000)]
*** empty log message ***

33 years ago* sunos.c: (choose_reloc_size) added: (sunos4_callback) calls
Steve Chamberlain [Mon, 13 May 1991 21:02:56 +0000 (21:02 +0000)]
* sunos.c: (choose_reloc_size) added: (sunos4_callback) calls
choose_reloc_size. (sunos4_write_object_contents) now calls
choose_reloc_size so outputs relocs correctly, also calculates the
size of the sections correctly.
* aout.c: (look in the \ 1rrgs I hate VI)

~
~
~
~
\10\10

33 years ago*** empty log message ***
Steve Chamberlain [Mon, 13 May 1991 20:26:24 +0000 (20:26 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Mon, 13 May 1991 19:56:07 +0000 (19:56 +0000)]
*** empty log message ***

33 years agoNow use a.out-sunos rather than a.out-generic
Steve Chamberlain [Mon, 13 May 1991 18:47:30 +0000 (18:47 +0000)]
Now use a.out-sunos rather than a.out-generic

33 years ago*** empty log message ***
Steve Chamberlain [Mon, 13 May 1991 17:14:49 +0000 (17:14 +0000)]
*** empty log message ***

33 years agoC
Steve Chamberlain [Sun, 12 May 1991 07:34:24 +0000 (07:34 +0000)]
C

VS: ----------------------------------------------------------------------

33 years ago*** empty log message ***
Steve Chamberlain [Sun, 12 May 1991 07:31:23 +0000 (07:31 +0000)]
*** empty log message ***

33 years agoFixed the shapes of external things some more.
Steve Chamberlain [Sat, 11 May 1991 02:23:48 +0000 (02:23 +0000)]
Fixed the shapes of external things some more.
\18

33 years ago*** empty log message ***
Steve Chamberlain [Sat, 11 May 1991 02:22:21 +0000 (02:22 +0000)]
*** empty log message ***

33 years agoInitial revision
Steve Chamberlain [Sat, 11 May 1991 02:22:13 +0000 (02:22 +0000)]
Initial revision

33 years agoSony NEWS port and modularization of a.out code. Cleanup of
John Gilmore [Sat, 11 May 1991 00:48:27 +0000 (00:48 +0000)]
Sony NEWS port and modularization of a.out code.  Cleanup of
close_and_cleanup, write_contents, and jump vectors.

33 years agoInitial revision
John Gilmore [Sat, 11 May 1991 00:46:31 +0000 (00:46 +0000)]
Initial revision

33 years agoCleanups of interface, including close_and_cleanup and write_contents
John Gilmore [Sat, 11 May 1991 00:38:47 +0000 (00:38 +0000)]
Cleanups of interface, including close_and_cleanup and write_contents
transfer vector changes.  See ChangeLog.

33 years ago * sunos.c: Remove all code that goes in aout.c. Split out
John Gilmore [Sat, 11 May 1991 00:24:09 +0000 (00:24 +0000)]
    * sunos.c:  Remove all code that goes in aout.c.  Split out
        machine dependent followup in sunos4_object_p into
        sunos4_callback.  Use JUMP_TABLE(aout) and redefine only
        the names we CHANGE, not all the names.  Drop the little-endian
        vector, and rename the vector as sunos4 rather than generic.

33 years agoLint.
John Gilmore [Fri, 10 May 1991 23:56:58 +0000 (23:56 +0000)]
Lint.

33 years agoREMOVE ALL SUNOS SUPPORT TO SEPARATE MODULE.
John Gilmore [Fri, 10 May 1991 23:56:32 +0000 (23:56 +0000)]
REMOVE ALL SUNOS SUPPORT TO SEPARATE MODULE.

This is now a generic module for a.out handling.

Rename all routines from sunos4_xxx to aout_xxx.  Remove Sun-specific
code.  Remove transfer vectors.  Pull core file handling.  Lint.
Remove close_and_cleanup.

33 years agoSplit up a.out handlers into generic and target-specific.
John Gilmore [Fri, 10 May 1991 23:51:35 +0000 (23:51 +0000)]
Split up a.out handlers into generic and target-specific.
Remove close_and_cleanup.  Lint.

33 years agoEliminate close_and_cleanup routines.
John Gilmore [Fri, 10 May 1991 23:48:14 +0000 (23:48 +0000)]
Eliminate close_and_cleanup routines.

33 years agoUpdate for Sony News port and split of a.out into several variants.
John Gilmore [Fri, 10 May 1991 23:41:14 +0000 (23:41 +0000)]
Update for Sony News port and split of a.out into several variants.
Add write_contents to format-dependent vector.

33 years agoInitial revision
John Gilmore [Fri, 10 May 1991 23:41:10 +0000 (23:41 +0000)]
Initial revision

33 years ago*** empty log message ***
Roland Pesch [Fri, 10 May 1991 22:46:08 +0000 (22:46 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Fri, 10 May 1991 19:44:53 +0000 (19:44 +0000)]
*** empty log message ***

33 years agochanged forward declaration struct stat; to reduce warnings. Changed
Steve Chamberlain [Fri, 10 May 1991 19:44:17 +0000 (19:44 +0000)]
changed forward declaration struct stat; to reduce warnings. Changed
common on bfd_h_<x>_x.

33 years agoNow there are two incarnations of relocs, linenos and syments. One for
Steve Chamberlain [Fri, 10 May 1991 19:41:19 +0000 (19:41 +0000)]
Now there are two incarnations of relocs, linenos and syments. One for
internal digestion, and one full of char arrays for I/O. The original
names have gone to detect errors.

33 years agoInitial revision
Steve Chamberlain [Fri, 10 May 1991 19:40:56 +0000 (19:40 +0000)]
Initial revision

33 years ago*** empty log message ***
Steve Chamberlain [Fri, 10 May 1991 19:38:27 +0000 (19:38 +0000)]
*** empty log message ***

33 years agoAdded 68kcoff
Steve Chamberlain [Fri, 10 May 1991 19:38:10 +0000 (19:38 +0000)]
Added 68kcoff

33 years agoTest new structure exporting code with 68k coff implementaion.
Steve Chamberlain [Fri, 10 May 1991 19:37:58 +0000 (19:37 +0000)]
Test new structure exporting code with 68k coff implementaion.

33 years agoFixed all the places where there were problems with the size and
Steve Chamberlain [Fri, 10 May 1991 19:33:37 +0000 (19:33 +0000)]
Fixed all the places where there were problems with the size and
alignments of structures on disk and structures in memory. #ifed out
all the code in coffswap.c, since it should be done using the target
swap routines now.

33 years agoIt's new and improved
Steve Chamberlain [Fri, 10 May 1991 01:47:44 +0000 (01:47 +0000)]
It's new and improved

33 years ago * coff-code.h: Remove coff_get_section_contents, and use the
John Gilmore [Thu, 9 May 1991 23:56:01 +0000 (23:56 +0000)]
    * coff-code.h:  Remove coff_get_section_contents, and use the
        generic one instead.

33 years ago * ieee.c: Cast enums to int before comparing them, for brain-
John Gilmore [Thu, 9 May 1991 23:54:19 +0000 (23:54 +0000)]
    * ieee.c:  Cast enums to int before comparing them, for brain-
        dead compilers.

33 years agoAdd bfd_generic_get_section_contents.
John Gilmore [Thu, 9 May 1991 23:48:26 +0000 (23:48 +0000)]
Add bfd_generic_get_section_contents.

33 years agoThu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
Steve Chamberlain [Thu, 9 May 1991 18:05:05 +0000 (18:05 +0000)]
Thu May  9 11:00:45 1991  Steve Chamberlain  (steve at cygint.cygnus.com)

* ieee.c (do_one, ieee_slurp_section_data): now supports the load
multiple reloc command.

33 years agoThu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
Steve Chamberlain [Thu, 9 May 1991 18:03:16 +0000 (18:03 +0000)]
Thu May  9 11:00:45 1991  Steve Chamberlain  (steve at cygint.cygnus.com)

* sunos.c (sunos4_set_section_contents): Made it so that sections
are always padded to their alignment size.

33 years agoFixed error message text
Steve Chamberlain [Wed, 8 May 1991 19:23:55 +0000 (19:23 +0000)]
Fixed error message text

33 years agoLint
Steve Chamberlain [Wed, 8 May 1991 19:23:35 +0000 (19:23 +0000)]
Lint

33 years agoVarious portability lints.
Steve Chamberlain [Wed, 8 May 1991 19:21:48 +0000 (19:21 +0000)]
Various portability lints.
Fixed reloc bug in ieee and oasys.

33 years agoAdded make dep rule.
Steve Chamberlain [Wed, 8 May 1991 19:07:10 +0000 (19:07 +0000)]
Added make dep rule.
When configure is used, the created makefile will have all the
dependencies filled in.

33 years ago(1) Updated to reflect renamed commands;
Roland Pesch [Tue, 7 May 1991 19:38:33 +0000 (19:38 +0000)]
(1) Updated to reflect renamed commands;
(2) Reorganized, bringing more common commands forward, merging
    "print" and "x" into one section;
(3) New sections: "Essential Commands", "GDB Scripts";
(4) Material on convenience vars and value history added to "Expressions";
(5) Uses PostScript fonts by default, also includes (commented out) alternative
    Computer Modern font definitions that format similarly.

33 years agoTook out the c++ support
Steve Chamberlain [Tue, 7 May 1991 19:16:52 +0000 (19:16 +0000)]
Took out the c++ support

33 years agoFixed the shift reduce errors in the grammer using the yacc debugger.
Steve Chamberlain [Tue, 7 May 1991 19:16:33 +0000 (19:16 +0000)]
Fixed the shift reduce errors in the grammer using the yacc debugger.
Removed some lint highlighted by the same.

33 years agoFixed problem where pc relative stuff was not being translated
Steve Chamberlain [Tue, 7 May 1991 19:13:58 +0000 (19:13 +0000)]
Fixed problem where pc relative stuff was not being translated
properly. Oasys keeps no -ve pc in the disp of a branch, so we fake
it.

33 years ago*** empty log message ***
Steve Chamberlain [Sun, 5 May 1991 22:13:56 +0000 (22:13 +0000)]
*** empty log message ***

33 years agoSaber C (lint) cleanups, and a few bug fixes. See ChangeLog.
John Gilmore [Sat, 4 May 1991 23:15:02 +0000 (23:15 +0000)]
Saber C (lint) cleanups, and a few bug fixes.  See ChangeLog.

33 years agoSaber C cleanup. Fix horrid bug in opncls.c in which an obstack is
John Gilmore [Sat, 4 May 1991 22:52:03 +0000 (22:52 +0000)]
Saber C cleanup.  Fix horrid bug in opncls.c in which an obstack is
initialized on the stack and then copied into its own allocated space.
(Wow, Steve, you're twisted...)

33 years agoSaber C fixups.
John Gilmore [Sat, 4 May 1991 22:45:02 +0000 (22:45 +0000)]
Saber C fixups.

33 years agoRoll version to 3.95.
John Gilmore [Sat, 4 May 1991 18:10:57 +0000 (18:10 +0000)]
Roll version to 3.95.

33 years agoFix =&'s in copy.c
John Gilmore [Sat, 4 May 1991 05:22:47 +0000 (05:22 +0000)]
Fix =&'s in copy.c

33 years agoSee ChangeLog.
John Gilmore [Sat, 4 May 1991 05:07:07 +0000 (05:07 +0000)]
See ChangeLog.

33 years agoJim Kingdon's gdb port to the m88k.
John Gilmore [Sat, 4 May 1991 04:42:18 +0000 (04:42 +0000)]
Jim Kingdon's gdb port to the m88k.

33 years agoJim Kingdon's port to m88k on his last day at Cygnus.
John Gilmore [Sat, 4 May 1991 04:41:34 +0000 (04:41 +0000)]
Jim Kingdon's port to m88k on his last day at Cygnus.

33 years agoJim Kingdon's port of gdb to m88k on his last day.
John Gilmore [Sat, 4 May 1991 04:40:57 +0000 (04:40 +0000)]
Jim Kingdon's port of gdb to m88k on his last day.

33 years agoJohn's suggestions.
K. Richard Pixley [Sat, 4 May 1991 00:57:57 +0000 (00:57 +0000)]
John's suggestions.

33 years ago*** empty log message ***
Steve Chamberlain [Sat, 4 May 1991 00:40:37 +0000 (00:40 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Fri, 3 May 1991 23:52:48 +0000 (23:52 +0000)]
*** empty log message ***

33 years agoRename getopt to libiberty.
John Gilmore [Fri, 3 May 1991 21:30:41 +0000 (21:30 +0000)]
Rename getopt to libiberty.

33 years ago*** empty log message ***
Roland Pesch [Fri, 3 May 1991 20:19:18 +0000 (20:19 +0000)]
*** empty log message ***

33 years agoThere should be a Makefile in the cvs main directory, configured
John Gilmore [Fri, 3 May 1991 19:57:13 +0000 (19:57 +0000)]
There should be a Makefile in the cvs main directory, configured
for "./config.gdb none", so that things like "make tags" and "make tar"
will work.

33 years agoAvoid making a machine-dependent (probably wrong) declaration of malloc
John Gilmore [Fri, 3 May 1991 19:25:38 +0000 (19:25 +0000)]
Avoid making a machine-dependent (probably wrong) declaration of malloc
and free.  Depend on the sysdep.h file to do that for us.

33 years agoBe sure malloc and free are declared; bfd/opncls uses them.
John Gilmore [Fri, 3 May 1991 19:24:18 +0000 (19:24 +0000)]
Be sure malloc and free are declared; bfd/opncls uses them.

33 years agoChanged getopt to libiberty, commented out an aborted attempt at host
K. Richard Pixley [Fri, 3 May 1991 19:14:21 +0000 (19:14 +0000)]
Changed getopt to libiberty, commented out an aborted attempt at host
level Makefiles because it caused errors on +rm, add a warning for
directories expected to be removed on +rm but that don't exist.

33 years ago*** empty log message ***
Jim Kingdon [Fri, 3 May 1991 06:06:53 +0000 (06:06 +0000)]
*** empty log message ***

33 years ago * mtrace.c: Don't typedef things like size_t, just #define them.
Jim Kingdon [Fri, 3 May 1991 06:04:13 +0000 (06:04 +0000)]
* mtrace.c: Don't typedef things like size_t, just #define them.

33 years ago * cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*.
Jim Kingdon [Fri, 3 May 1991 06:03:54 +0000 (06:03 +0000)]
* cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*.

33 years ago * signame.c: Cast const char* to char* when assigning to sys_siglist.
Jim Kingdon [Fri, 3 May 1991 06:02:52 +0000 (06:02 +0000)]
* signame.c: Cast const char* to char* when assigning to sys_siglist.

33 years agoMake it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog.
Jim Kingdon [Fri, 3 May 1991 06:02:03 +0000 (06:02 +0000)]
Make it run on wingnut (88k, DGUX).  Complete list of changes in the ChangeLog.

33 years ago(osys_read_record): If record->header.lenth <= sizeof (record->header),
Jim Kingdon [Fri, 3 May 1991 05:56:58 +0000 (05:56 +0000)]
(osys_read_record): If record->header.lenth <= sizeof (record->header),
then return rather than passing a negative (or zero) nelts to bfd_read.

33 years agoMake arg to zalloc a bfd_size_type not a size_t
Jim Kingdon [Fri, 3 May 1991 01:59:25 +0000 (01:59 +0000)]
Make arg to zalloc a bfd_size_type not a size_t

33 years agoMake it limp for MIPS ECOFF, too.
John Gilmore [Fri, 3 May 1991 01:24:03 +0000 (01:24 +0000)]
Make it limp for MIPS ECOFF, too.

33 years ago Mips bringup and general cleanup
John Gilmore [Fri, 3 May 1991 01:07:12 +0000 (01:07 +0000)]
    Mips bringup and general cleanup

        * cplus-dem.c:  Move CPLUS_MARKER define to after defs.h.
        * infptrace.c (PT_WRITE_D, PT_READ_D):  Use correct values.
        (This still doesn't seem to make MIPS bkpts work.)
        * mipsread.c:  Remove dup "Reading symbol data..." msg.
        (symbol_file_command, add_file_command):  Remove, obsol.
        * printcmd.c (ptype_command):  Say "an enum" rather than "a enum".
        Wrap output appropriately.
        * stack.c (locals_info, catch_info, args_info):  Check
        selected_frame rather than target_has_stack or coredumping.
        * valprint.c (type_print_varspec_suffix):  Wrap "ptype" output of
        enums appropriately.

33 years ago*** empty log message ***
Jim Kingdon [Fri, 3 May 1991 00:50:18 +0000 (00:50 +0000)]
*** empty log message ***

33 years agoMerge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
John Gilmore [Thu, 2 May 1991 23:10:23 +0000 (23:10 +0000)]
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100.  It still has
trouble running but it can handle opening exec and symbol files in
ecoff format.

33 years agoMake it compile on DEC 3100.
John Gilmore [Thu, 2 May 1991 21:27:31 +0000 (21:27 +0000)]
Make it compile on DEC 3100.

33 years agoMinor cleanup to make it compile on DECstation.
John Gilmore [Thu, 2 May 1991 21:22:43 +0000 (21:22 +0000)]
Minor cleanup to make it compile on DECstation.

33 years agoMake bfd_filename return a char *, not a const char *.
Jim Kingdon [Thu, 2 May 1991 19:05:06 +0000 (19:05 +0000)]
Make bfd_filename return a char *, not a const char *.

33 years ago*** empty log message ***
Jim Kingdon [Thu, 2 May 1991 06:46:25 +0000 (06:46 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Jim Kingdon [Thu, 2 May 1991 04:38:14 +0000 (04:38 +0000)]
*** empty log message ***

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 04:37:41 +0000 (04:37 +0000)]
Merge devo/bfd with GDB's bfd.

33 years ago * xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE.
Jim Kingdon [Thu, 2 May 1991 04:37:28 +0000 (04:37 +0000)]
* xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE.

33 years ago * blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
Jim Kingdon [Thu, 2 May 1991 04:36:15 +0000 (04:36 +0000)]
* blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
eval.c, expprint.c, infcmd.c, infrun.c, main.c, printcmd.c,
remote.c, source.c, stack.c, dbxread.c, coffread.c, symfile.h,
symfile.c, utils.c, valarith.c, values.c, valops.c, tm-68k.h,
target.c, inftarg.c, ieee-float.c, environ.c, defs.h,
command.h, inferior.h, gdbcore.h, symtab.h, expression.h,
symtab.c, cplus-dem.c, value.h, expread.y, valprint.c,
copying.awk, solib.c, inflow.c, symmisc.c
: Lint.  Use read_memory not read_memory_integer on CORE_ADDR's.
Use {value_as,unpack}_pointer (added to values.c)
not {value_as,unpack}_long on CORE_ADDR's.
Use longest_to_int (added to defs.h) instead of cast to int.
Remove from_tty arg to mod_path.
Put symfile_bfd in {coff,dbx}read.c not symfile.h.
Use OP_NULL instead of 0 where dummy enum exp_opcode needed.