diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-03-26 18:00:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-03-26 18:00:04 +0000 |
commit | 1517bd274290e06af498ef7e496519e4bbc4d5e6 (patch) | |
tree | d946b54ed6d438ea64f47b15e44c56f0a8bd55fe /opcodes/mep-opc.c | |
parent | 1fb2e2b56901690331720448836755a4eee944c7 (diff) | |
download | gdb-1517bd274290e06af498ef7e496519e4bbc4d5e6.zip gdb-1517bd274290e06af498ef7e496519e4bbc4d5e6.tar.gz gdb-1517bd274290e06af498ef7e496519e4bbc4d5e6.tar.bz2 |
sim: rewrite SIM_AC_OPTION_HARDWARE a bit to simplify things
There's no need to put the majority of the logic into the 3rd arg of the
AC_ARG_ENABLE. Coupled with the lack of indentation, it makes it hard to
follow, error prone to update, and duplicates code (with the 4th arg).
So pull the logic out of the 3rd arg and outside of the AC_ARG_ENABLE
macro. This allows us to gut the 4th arg entirely, merge with the code
that followed the macro, and fix bugs related to the new dv-sockser in
the process.
Hopefully building the various sims with the default sim-hardware
settings, as well as with explicit --{dis,en}able-sim-hardware flags,
should all just work now.
Diffstat (limited to 'opcodes/mep-opc.c')
0 files changed, 0 insertions, 0 deletions