commit | 1e4c87f09c09cfd81f3ec86ef7059fbed7aca708 | [log] [tgz] |
---|---|---|
author | Andrey Khalyavin <halyavin@google.com> | Thu Aug 09 12:16:44 2012 |
committer | Andrey Khalyavin <halyavin@google.com> | Thu Aug 09 12:16:44 2012 |
tree | e75cf8fa0d20e9ce646e44ae5ab23cc2a5d7dc7b | |
parent | 7c746d1866c25d1713ad406302cdd51e5775c9d6 [diff] |
Truncate address in amd64_nacl_software_single_step. If breakpoint is set to untruncated address, it is not recognized by gdb as its own breakpoint. When the breakpoint is hit, rip is not decreased and so execution starts from the middle of the instruction. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2947 TEST= https://chromiumcodereview.appspot.com/10826183/ R=khim@chromium.com,eaeltsin@google.com Review URL: https://chromiumcodereview.appspot.com/10823232