summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-12-17 20:59:45 +0000
committerjaortega <jaortega>2000-12-17 20:59:45 +0000
commitb9abc48ed04c21728d77933e69c6e6d007aa326f (patch)
tree6b30d27382533e6d83ac2844ea6c72d467f4ebb2
parent18df2c8e8ac8c01ce6540e4e083be553359d2575 (diff)
downloadmdk-b9abc48ed04c21728d77933e69c6e6d007aa326f.tar.gz
mdk-b9abc48ed04c21728d77933e69c6e6d007aa326f.tar.bz2
(mix_vm_t) new member address_table to speedup lookup of which line
number corresponds to a given address.
-rw-r--r--mixlib/xmix_vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mixlib/xmix_vm.h b/mixlib/xmix_vm.h
index ea2db61..a13ecc6 100644
--- a/mixlib/xmix_vm.h
+++ b/mixlib/xmix_vm.h
@@ -41,6 +41,7 @@ struct mix_vm_t
mix_device_t * devices[BD_NO_];
mix_address_t start_addr; /* start address of loaded file */
GTree *line_table; /* source line no -> address */
+ GTree *address_table; /* adress -> source line no */
gint8 bp[MEM_CELLS_NO_/8]; /* each bit signals a break point */
mix_symbol_table_t *symbol_table;
};