summaryrefslogtreecommitdiff
path: root/data/eo/libeo-gdb.py.in
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-04-16 10:45:21 +0100
committerTom Hacohen <tom@stosb.com>2013-04-16 11:45:34 +0100
commit9ad398be60409d093b3a1f0e579509579e878103 (patch)
tree524732be9ad7ecaa9ef04e69eea17b52338136b1 /data/eo/libeo-gdb.py.in
parent32f27fee7ef375b91c406b1340162a3752441552 (diff)
Eo gdb: eo gdb script is now autoloaded by gdb, added eo_backtrace.
If you install the efl to a different path than the one gdb was installed to either set gdb's data dir, or just symlink the file to the other prefix. You can still use the old method of just loading the module.
Diffstat (limited to '')
-rw-r--r--data/eo/libeo-gdb.py.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/eo/libeo-gdb.py.in b/data/eo/libeo-gdb.py.in
new file mode 100644
index 0000000000..de1c3d02f8
--- /dev/null
+++ b/data/eo/libeo-gdb.py.in
@@ -0,0 +1,7 @@
1import sys
2
3eodir = '@datadir@/eo/gdb'
4if not eodir in sys.path:
5 sys.path.insert(0, eodir)
6
7import eo_gdb