From a37f84f7e20f67d50dfc759b3baae1f146df603b Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Sat, 18 Jun 2016 11:07:06 -0700 Subject: [PATCH] Add test for debuginfo symbols. Currently fails with 32-bit tools. --- debug/gdbserver.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index f45baed..4e2b0b4 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -196,6 +196,14 @@ class DebugTest(DeleteServer): def test_exit(self): self.exit() + def test_symbols(self): + self.gdb.b("main") + self.gdb.b("rot13") + output = self.gdb.c() + self.assertIn(", main ", output) + output = self.gdb.c() + self.assertIn(", rot13 ", output) + def test_breakpoint(self): self.gdb.b("rot13") # The breakpoint should be hit exactly 2 times. -- 2.30.2