about summary refs log tree commit diff stats
path: root/subx/039debug.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-18 22:30:38 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-18 22:30:38 -0800
commit1f0f3813034921607771bf9627d973ba40fec9e4 (patch)
tree217d42f196213dcd4fa684f812da569b27ee5662 /subx/039debug.cc
parent305770aabc40e20f307cf93667c9f9c825f57813 (diff)
downloadmu-1f0f3813034921607771bf9627d973ba40fec9e4.tar.gz
4936
Diffstat (limited to 'subx/039debug.cc')
-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);
 }