about summary refs log tree commit diff stats
path: root/subx/039debug.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-27 22:02:36 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-28 00:09:48 -0700
commitffe66972277c856f33e349b3d1fd1b2a6b5bfa2a (patch)
tree459ddc27acc99785a671a253d8807990acdf9483 /subx/039debug.cc
parentf539a27245d31f4ba3c90389dce1f5f4d372bd27 (diff)
downloadmu-ffe66972277c856f33e349b3d1fd1b2a6b5bfa2a.tar.gz
5132
Stop hackily tracing function being called. Trying something better.
Diffstat (limited to 'subx/039debug.cc')
-rw-r--r--subx/039debug.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/subx/039debug.cc b/subx/039debug.cc
index b631336a..ebf39034 100644
--- a/subx/039debug.cc
+++ b/subx/039debug.cc
@@ -25,14 +25,6 @@ void load_map(const string& map_filename) {
 if (contains_key(Symbol_name, EIP))
   trace(Callstack_depth, "run") << "== label " << get(Symbol_name, EIP) << end();
 
-//: make calls in particular more salient
-:(before "End Trace Call Instruction")
-// at this point we've skipped past the e8 opcode, but not the offset operand
-int32_t offset = read_mem_i32(EIP);
-uint32_t next_eip = EIP+offset+4;
-if (contains_key(Symbol_name, next_eip))
-  return "/call "+get(Symbol_name, next_eip);
-
 //: If a label starts with '$watch-', make a note of the effective address
 //: computed by the next instruction. Start dumping out its contents to the
 //: trace after every subsequent instruction.