diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-07-18 22:05:51 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-07-18 22:05:51 -0700 |
commit | f5aace8300a7b611c1111452a7cf27ce4c9982f5 (patch) | |
tree | dbf3149ced929bedc35f90eaafba4cfb9dfca528 /src/base | |
parent | 59c8c454ebdb88ca031d7f597e301bbbbdf7617b (diff) | |
download | gem5-f5aace8300a7b611c1111452a7cf27ce4c9982f5.tar.xz |
syscall emulation: fix DPRINTF arg ordering bug
When we switched getSyscallArg() from explicit arg indices to
the implicit method, some DPRINTF arguments were left as calls
to getSyscallArg(), even though C/C++ doesn't guarantee
anything about the order of invocation of these calls. As a
result, the args could be printed out in arbitrary orders.
Interestingly, this bug has been around since 2009:
http://repo.gem5.org/gem5/rev/4842482e1bd1
Diffstat (limited to 'src/base')
0 files changed, 0 insertions, 0 deletions