diff options
author | Gabe Black <gabeblack@google.com> | 2017-06-01 16:53:36 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-06-03 15:02:00 +0000 |
commit | 0010088c4392438f26f34b9dbab12634c7f650a4 (patch) | |
tree | 1af0e9da5fa952147abe31eedea4a5a23b4b5c28 /util/checkpoint-tester.py | |
parent | 201e86fbeba9c7ef081e40b391f1963de39d5924 (diff) | |
download | gem5-0010088c4392438f26f34b9dbab12634c7f650a4.tar.xz |
misc: Fix building the m5tap utility.
Use printf instead of cprintf to avoid having to have .o files from gem5.
Stop disabling optimization. Placate the style checker by rearranging the
header include order. Include some missing standard headers. Switch from
the deprecated -I- gcc option to using -iquote. Make the "program"
variable a const char *. When checking the return value of getopt, don't
check against the char c which may mask the -1 return value. Instead,
store the return value in an int, and then later cast it to a char when
it's actually consumed.
Change-Id: Ibec51927d0cdbd98db8e53081be2c4931e20333c
Reviewed-on: https://gem5-review.googlesource.com/3600
Reviewed-by: Nathan Binkert <nate@binkert.org>
Maintainer: Nathan Binkert <nate@binkert.org>
Diffstat (limited to 'util/checkpoint-tester.py')
0 files changed, 0 insertions, 0 deletions