]> Savannah Git Hosting - mdk.git/commitdiff

Savannah Git Hosting - mdk.git/commitdiff

git git@sv / mdk.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb29ac5)
Fix for off-by-one bug in I-register modification breakpoints
2010年9月27日 20:08:17 +0000 (22:08 +0200)
2010年9月27日 20:08:17 +0000 (22:08 +0200)

diff --git a/NEWS b/NEWS
index 8c7b096446b299bace6de3f4c94cddc74756e9be..def62de620ba893040a1c409446cd6ee62c6c4bb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,8 @@ Please send mdk bug reports to bug-mdk@gnu.org.
** Bug fixes:
- mixvm: the instruction MOVE with F=0 is interpreted correctly as
- a NOP (#31010)
+ a NOP (#31010).
+ - debugger: breakpoints for I register modification fixed.
- Manual: download info updated to point to Git repositories
(#29524).
- Compilation without Guile works again (#28086)
diff --git a/mixlib/xmix_vm_handlers.c b/mixlib/xmix_vm_handlers.c
index 79c7b4072d116d1358d73a849500a91ef19e61a2..b8567092fffacb70ff6f62932fbfd0f87fc4635c 100644 (file)
--- 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;
GNU MIX Development Kit (MDK)
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /