about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/039debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/039debug.cc b/subx/039debug.cc
index 83ae3f52..4dfcfa3c 100644
--- a/subx/039debug.cc
+++ b/subx/039debug.cc
@@ -51,5 +51,5 @@ if (contains_key(Symbol_name, EIP) && starts_with(get(Symbol_name, EIP), "$watch
 :(after "Found effective_address(addr)")
 if (!Watch_this_effective_address.empty()) {
   dbg << "now watching " << HEXWORD << addr << " for " << Watch_this_effective_address << end();
-  Watch_points[Watch_this_effective_address] = addr;
+  put(Watch_points, Watch_this_effective_address, addr);
 }