]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: options: fix --help output
authorMike Frysinger <vapier@gentoo.org>
Sun, 2 May 2021 03:04:01 +0000 (23:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 2 May 2021 03:06:54 +0000 (23:06 -0400)
commite4821e2f5fd281eb6b88b642fa9beaf9c3a35070
tree6712b6adcbdad468b86475eee0fe315440b57fbc
parent328e805b5a7d4f27552a1062e25a89477bd89009
sim: options: fix --help output

The hash table rewrite broke --help output due to subtle behavior:
calling dup_arg_p(NULL) will create & clear the table, not just
create it.  The --help output relies on this to clear the table
before it shows things.
sim/common/ChangeLog
sim/common/sim-options.c