diff --git a/GetRuntimeAddresses/symbolyze/gdb_test.go b/GetRuntimeAddresses/symbolyze/gdb_test.go index 2724f4d..bf0fe72 100644 --- a/GetRuntimeAddresses/symbolyze/gdb_test.go +++ b/GetRuntimeAddresses/symbolyze/gdb_test.go @@ -82,7 +82,7 @@ func TestSimpleGDB(t *testing.T) { // searchRX should match the output of gdb when it prints the address of the // symbol -var searchRX = regexp.MustCompile(`Symbol "_PyRuntime" is static storage at address 0x([0-9a-fA-F]+)`) +var searchRX = regexp.MustCompile(`Symbol "_PyRuntime" is.* at.* 0x([0-9a-fA-F]+)`) // extractOffsetWithGdb calls gdb in batch-mode on a pid and looks up the // address of the symbol _PyRuntime by calling `info address _PyRuntime`. If