From 4c37b3e91b3e9c891c22379f029c42abc38e408c Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 28 Oct 2018 13:41:53 -0700 Subject: 4734 --- html/subx/039debug.cc.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html/subx/039debug.cc.html') diff --git a/html/subx/039debug.cc.html b/html/subx/039debug.cc.html index e3087006..9cf21c15 100644 --- a/html/subx/039debug.cc.html +++ b/html/subx/039debug.cc.html @@ -61,25 +61,25 @@ if ('onhashchange' in window) { 4 // (It'll only affect the trace.) 5 6 :(before "End Globals") - 7 map</*address*/uint32_t, string> Symbol_name; // used only by 'subx run' + 7 map</*address*/uint32_t, string> Symbol_name; // used only by 'subx run' 8 :(before "End --map Settings") - 9 load_map("map"); + 9 load_map("map"); 10 :(code) -11 void load_map(const string& map_filename) { +11 void load_map(const string& map_filename) { 12 ifstream fin(map_filename.c_str()); 13 fin >> std::hex; -14 while (has_data(fin)) { +14 while (has_data(fin)) { 15 uint32_t addr = 0; 16 fin >> addr; 17 string name; 18 fin >> name; -19 put(Symbol_name, addr, name); +19 put(Symbol_name, addr, name); 20 } 21 } 22 23 :(after "Run One Instruction") -24 if (contains_key(Symbol_name, EIP)) -25 trace(90, "run") << "== label " << get(Symbol_name, EIP) << end(); +24 if (contains_key(Symbol_name, EIP)) +25 trace(90, "run") << "== label " << get(Symbol_name, EIP) << end(); -- cgit 1.4.1-2-gfad0