http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fc5e6
)
winedbg: Implement adjust_pc_for_break on Sparc.
author
André Hentschel
<nerv@dawncrow.de>
Wed, 13 Apr 2011 18:43:43 +0000
(20:43 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 14 Apr 2011 15:13:58 +0000
(17:13 +0200)
programs/winedbg/be_sparc.c
patch
|
blob
|
blame
|
history
diff --git
a/programs/winedbg/be_sparc.c
b/programs/winedbg/be_sparc.c
index 546518a8d7501337e726a71f7e1a71cfec1ce157..3435759c92d11d4e10a060b8038fdb13333fbc5b 100644
(file)
--- a/
programs/winedbg/be_sparc.c
+++ b/
programs/winedbg/be_sparc.c
@@
-125,8
+125,13
@@
static void be_sparc_clear_watchpoint(CONTEXT* ctx, unsigned idx)
static int be_sparc_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
{
- dbg_printf("not done for Sparc\n");
- return 0;
+ if (way)
+ {
+ ctx->pc--;
+ return -1;
+ }
+ ctx->pc++;
+ return 1;
}
static int be_sparc_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,