eo_step gdb script installation to help debugging of applications by
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Wed, 12 Dec 2012 13:16:49 +0000 (13:16 +0000)
committerDaniel Zaoui <daniel.zaoui@yahoo.com>
Wed, 12 Dec 2012 13:16:49 +0000 (13:16 +0000)
commit0e913e9415fa334127fd74623be9259080962599
treee3626cd4a75b86ffd5516b17f2863dd09237abbf
parent19e600254faf3e7f85dc47929f28acc63d37283e
eo_step gdb script installation to help debugging of applications by
stepping over Eo.
To do it:
- Write in ~/.gdbinit "source prefix/share/eo/eo_step.py" (prefix is usually/opt/e17)
- in gdb, when arriving to eo_function (eo_do, eo_do_super), execute
eo_step. This script will step into the code until it reaches a function
that doesn't belong to libeo.

Because of a bug in gdb that will be fixed in 7.6, if after having used the
script once, you rerun your application and reexecute the script, a
segmentation fault can occur. Sorry for the inconvenience.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 80760
data/Makefile.am
data/eo/eo_step.py [new file with mode: 0644]