Eo gdb: Change eo_backtrace to catch more cases.
authorTom Hacohen <tom@stosb.com>
Tue, 16 Apr 2013 11:21:20 +0000 (12:21 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 16 Apr 2013 11:21:20 +0000 (12:21 +0100)
If you know where I can find decent docs about the python gdb bindings,
please let me know.

data/eo/eo_gdb.py

index 1fe8be6..ab84805 100644 (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()