Eo gdb: Change eo_backtrace to catch more cases.

If you know where I can find decent docs about the python gdb bindings,
please let me know.
This commit is contained in:
Tom Hacohen 2013-04-16 12:21:20 +01:00
parent 9ad398be60
commit 3ccc7e7cf8
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Eo_backtrace(gdb.Command):
btrace = gdb.execute("backtrace", False, to_string=True).split('\n')
for line in btrace:
if line.find("libeo.so") == -1 and line.find("src/lib/eo/") == -1:
if line.find("libeo.so") == -1 and line.find("lib/eo/") == -1:
print line
Eo_backtrace()