summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-12-05 12:06:20 +0000
committerTom Hacohen <tom@stosb.com>2016-12-05 12:06:58 +0000
commit0431dd24fd971149878ccbfb48c87f500d9b027c (patch)
treeb9bd834b18f17a600b2c2e85b9bafbb6b8a0b438 /data
parent07bb7ca2824221826d2a7568cea26cab1b5f3250 (diff)
Eo gdb: Remove redundant variable setting.
These were hardcoded values I used for debugging, they are not used anymore, they are instead calculated at runtime.
Diffstat (limited to 'data')
-rw-r--r--data/eo/eo_gdb.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/data/eo/eo_gdb.py b/data/eo/eo_gdb.py
index 995aff4..76b8fbd 100644
--- a/data/eo/eo_gdb.py
+++ b/data/eo/eo_gdb.py
@@ -7,15 +7,6 @@ change. Need to make sure this is always in sync.
7 7
8ptr_size = int(gdb.parse_and_eval('sizeof(void *)')) 8ptr_size = int(gdb.parse_and_eval('sizeof(void *)'))
9 9
10SHIFT_MID_TABLE_ID = 0x30
11MASK_MID_TABLE_ID = 0x7ff
12SHIFT_TABLE_ID = 0x25
13MASK_TABLE_ID = 0x7ff
14SHIFT_ENTRY_ID = 0x1a
15MASK_ENTRY_ID = 0x7ff
16MASK_GENERATIONS = 0x3ffffff
17MASK_OBJ_TAG = 0x4000000000000000
18
19if ptr_size == 4: 10if ptr_size == 4:
20 # 32 bits 11 # 32 bits
21 BITS_MID_TABLE_ID = 5 12 BITS_MID_TABLE_ID = 5