Commit Graph

8 Commits

Author SHA1 Message Date
Mike Blumenkrantz 03ed82704d eo_gdb.py: fix syntax error
I guess this has never ever worked. I hate everyone for making me look at python.

@fix
2015-04-14 19:55:52 -04:00
Tom Hacohen ee53e77704 Eo gdb: Removed unneeded eo_backtrace and fixed eo_step for eo2. 2014-05-06 11:45:26 +01:00
Cedric Bail b125a9afa6 gitignore: do not track generated files. 2013-09-26 15:51:25 +09:00
Daniel Juyung Seo 3c2905156e Revert "eo_gdb.py: added eo_bt for eo_backtrace alias in an ugly way."
This reverts commit 4850c53350.

You can set the alias in the .gdbinit.
So my .gdbinit looks like:

source /usr/local/share/eo/gdb/eo_gdb.py
alias -a eo_bt = eo_backtrace

Special thanks to Alex-P. Natsios for the tip.
2013-05-08 22:06:10 +09:00
Daniel Juyung Seo 4850c53350 eo_gdb.py: added eo_bt for eo_backtrace alias in an ugly way.
It'll be great if someone teaches how to add a alias in a python gdb script.
2013-05-08 20:53:45 +09:00
Tom Hacohen 3ccc7e7cf8 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.
2013-04-16 12:21:20 +01:00
Tom Hacohen 9ad398be60 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.
2013-04-16 11:45:34 +01:00
Daniel Zaoui 0e913e9415 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
2012-12-12 13:16:49 +00:00