diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-23 21:58:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-23 21:58:21 -0400 |
commit | 9d90335212595f76b0f29698dfb2468c7318c171 (patch) | |
tree | a375141b7c411b117d22b66fe6832d24814abde5 /sim/README-HACKING | |
parent | b2d14d3d8f5283fbb81603184380e26f5953b25c (diff) | |
download | gdb-9d90335212595f76b0f29698dfb2468c7318c171.zip gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.gz gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.bz2 |
sim: simplify hardware m4 macro
Every port using this sets the 1st arg to yes and the 2nd arg to "".
These are the defaults we probably want anyways in order to unify the
codebase, so move them to the macro and only allow ports to declare
extra hardware models.
Diffstat (limited to 'sim/README-HACKING')
-rw-r--r-- | sim/README-HACKING | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/README-HACKING b/sim/README-HACKING index 0a1a3b5..7858058 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -396,7 +396,7 @@ Hardware Devices The simplest simulator doesn't include hardware device support. Once you're ready to move on to the next level, call the common macro in your configure.ac: -SIM_AC_OPTION_HARDWARE(yes,,devone devtwo devthree) +SIM_AC_OPTION_HARDWARE(devone devtwo devthree) The basic hardware API is documented in common/hw-device.h. |