summaryrefslogtreecommitdiff
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
parent07bb7ca2824221826d2a7568cea26cab1b5f3250 (diff)
downloadefl-0431dd24fd971149878ccbfb48c87f500d9b027c.tar.gz
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.
-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 995aff450f..76b8fbd824 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.
ptr_size = int(gdb.parse_and_eval('sizeof(void *)'))
-SHIFT_MID_TABLE_ID = 0x30
-MASK_MID_TABLE_ID = 0x7ff
-SHIFT_TABLE_ID = 0x25
-MASK_TABLE_ID = 0x7ff
-SHIFT_ENTRY_ID = 0x1a
-MASK_ENTRY_ID = 0x7ff
-MASK_GENERATIONS = 0x3ffffff
-MASK_OBJ_TAG = 0x4000000000000000
-
if ptr_size == 4:
# 32 bits
BITS_MID_TABLE_ID = 5