summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-27 22:08:17 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-27 22:08:17 +0200
commitd9e42ac54b5354dfa035937f1cf7f3b0d054068f (patch)
tree8f102f2e3e34f354829aa381f26138530d5582b1 /mixlib
parentfb29ac5c2628375485752677a89043fa6b20a91d (diff)
downloadmdk-d9e42ac54b5354dfa035937f1cf7f3b0d054068f.tar.gz
mdk-d9e42ac54b5354dfa035937f1cf7f3b0d054068f.tar.bz2
Fix for off-by-one bug in I-register modification breakpoints
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/xmix_vm_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib/xmix_vm_handlers.c b/mixlib/xmix_vm_handlers.c
index 79c7b40..b856709 100644
--- a/mixlib/xmix_vm_handlers.c
+++ b/mixlib/xmix_vm_handlers.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- xmix_vm_handlers.c :
* Implementation of the functions declared in xmix_vm_handlers.h
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007, 2010 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1124,7 +1124,7 @@ get_reg_pred_ (const gchar *arg)
{
int i = arg[1] - '1';
if (i >= 0 && i < 6)
- pred = MIX_PRED_REG_I1 - 1 + i;
+ pred = MIX_PRED_REG_I1 + i;
}
}
break;