mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
decodetree: Add --static-decode option
Like --decode, but do not drop 'static' qualifier. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
bf92118fa9
commit
cd3e7fc18d
1 changed files with 4 additions and 1 deletions
|
@ -979,7 +979,8 @@ def main():
|
|||
|
||||
decode_scope = 'static '
|
||||
|
||||
long_opts = ['decode=', 'translate=', 'output=', 'insnwidth=']
|
||||
long_opts = ['decode=', 'translate=', 'output=', 'insnwidth=',
|
||||
'static-decode=']
|
||||
try:
|
||||
(opts, args) = getopt.getopt(sys.argv[1:], 'o:w:', long_opts)
|
||||
except getopt.GetoptError as err:
|
||||
|
@ -990,6 +991,8 @@ def main():
|
|||
elif o == '--decode':
|
||||
decode_function = a
|
||||
decode_scope = ''
|
||||
elif o == '--static-decode':
|
||||
decode_function = a
|
||||
elif o == '--translate':
|
||||
translate_prefix = a
|
||||
translate_scope = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue