From 744aac4dc3e066dcd92f31d7d89a47a7de65def8 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 29 Oct 2012 18:03:20 -0700 Subject: [PATCH] stapdyn: Remove the 8-arg register workaround This was only to work around an assertion failure in Dyninst, which has been fixed by their commit f307d8e1c5d7bd6a20dc105c3e233b788f57d33b. --- stapdyn/mutatee.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stapdyn/mutatee.cxx b/stapdyn/mutatee.cxx index 02c8fa8a8..2d938e721 100644 --- a/stapdyn/mutatee.cxx +++ b/stapdyn/mutatee.cxx @@ -53,10 +53,6 @@ get_dwarf_registers(BPatch_process *app, // O(m*n) loop, but neither array is very large for (const char* const* name = names; *name; ++name) { - // XXX Dyninst is currently limited in how many individual function - // arguments it can pass, so we'll have to cut this short... - if (registers.size() > 8) break; - size_t i; for (i = 0; i < bpregs.size(); ++i) if (bpregs[i].name() == *name) -- 2.43.5