Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Issue 10832095: Prevent traps after rsp modification (Closed)

Created:
8 years, 4 months ago by eaeltsin
Modified:
8 years, 4 months ago
Reviewers:
halyavin
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/nacl-gdb.git@master
Visibility:
Public.

Description

Prevent traps after rsp modification If trap happens after rsp is modified but before it is sandboxed, Win exception handler fails to run. This applies to breakpoints and hardware-supported single step. We fix these by: - use software single step to step both rsp modification and rsp sandboxing at once - moving breakpoints from after rsp modification to after rsp sandboxing BUG=http://code.google.com/p/nativeclient/issues/detail?id=2903 Committed: https://git.chromium.org/gitweb?p=native_client/nacl-gdb.git;a=commit;h=7c746d1

Patch Set 1 #

Patch Set 2 : allow any instruction before rsp sandboxing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M gdb/nacl-tdep.c View 1 3 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
eaeltsin
8 years, 4 months ago (2012-08-01 12:01:43 UTC) #1
halyavin
8 years, 4 months ago (2012-08-01 12:07:12 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698