From ada083cde531f7add4d09571034394c15667c822 Mon Sep 17 00:00:00 2001 From: Tim Haines Date: Fri, 27 Oct 2023 22:38:34 -0500 Subject: [PATCH] Remove addTrapTableSpace_win and addTrapTable_win They were commented out by 918945edb in 2011. --- dyninstAPI/src/binaryEdit.C | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/dyninstAPI/src/binaryEdit.C b/dyninstAPI/src/binaryEdit.C index 55f8b28a4f..1ad5d8624c 100644 --- a/dyninstAPI/src/binaryEdit.C +++ b/dyninstAPI/src/binaryEdit.C @@ -472,21 +472,6 @@ bool BinaryEdit::getAllDependencies(std::map& deps) return true; } -#if 0 //KEVINTODO: I think this is redundant, SymtabAPI::emitWin.C does this -static unsigned long addTrapTableSpace_win(AddressSpace *as) -{ -#if defined (os_windows) - return as->getAddressWidth() + 16; -#else - return 0; -#endif -} - -void addTrapTable_win(newSectionPtr, Address tableAddr) -{ -} -#endif - bool BinaryEdit::writeFile(const std::string &newFileName) { // Step 1: changes.