From 0431dd24fd971149878ccbfb48c87f500d9b027c Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 5 Dec 2016 12:06:20 +0000 Subject: [PATCH] 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. --- data/eo/eo_gdb.py | 9 --------- 1 file changed, 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