efl/data
Tom Hacohen 79d76fb25e Eo gdb: add a way to resolve Eo ids from GDB without a running process
Normally when debugging Eo with gdb you can just use any of the internal
eo functions to resolve the id to its internal pointer. However, when
loading a coredump you can't execute any code, not even the id resolve
code.

This change adds a gdb function that resolves the id to its pointer form
without executing any code in the process space. This plugin is
essentially the id resolve code written in python as a gdb function.

Usage:
 Print the pointer:
 (gdb) print $eo_resolve(obj)
 $1 = (_Eo_Object *) 0x5555559bbe70

 Use it directly (e.g. to print the class name):
 (gdb) $eo_resolve(obj)->klass->desc.name

This plugin requires that the coredump would be loaded with the exact
same libeo.so binary (or at least one that hasn't changed eo internals),
and that the debug symbols for libeo.so would be available for gdb to
use.

Note:
This feature is incomplete and only resolves IDs that are owned by the
main thread and in the main domain. This is not a big issue at the
moment, because almost all of our IDs are like that.

@feature
2016-11-18 11:48:07 +00:00
..
ecore Spelling fixes 2015-03-18 21:38:33 -04:00
ecore_imf efl: make libraries aware of EFL_RUN_IN_TREE. 2013-01-04 17:19:43 +00:00
ecore_x ecore x vsync animator support - add a glx based vsync ticker 2014-07-28 23:00:34 +09:00
edje edje_embryo: add function to know swallow has object 2016-08-16 16:14:21 +09:00
eeze efl: make libraries aware of EFL_RUN_IN_TREE. 2013-01-04 17:19:43 +00:00
efreet efl/efreet: use eina_prefix, kill one TODO item. 2013-01-04 17:42:23 +00:00
elementary theme: unclip bryce scroller along opposing orientation axis 2016-11-10 11:52:57 -05:00
elua elua: add checkme 2014-12-11 16:41:24 +00:00
embryo embryo: add tzdate function 2016-02-22 18:29:01 -05:00
emotion my brain farted. 2013-01-12 04:00:34 +00:00
eo Eo gdb: add a way to resolve Eo ids from GDB without a running process 2016-11-18 11:48:07 +00:00
ethumb fix frame handling. 2013-01-12 04:32:13 +00:00
ethumb_client fix directory structure: move ethumd_client out of ethumb. 2013-01-15 18:10:58 +00:00
evas merge: and now Evas 2012-11-04 11:51:42 +00:00
.gitignore Split .gitignore into multiple files 2013-06-11 18:18:50 -03:00
Makefile.am data: elm: images: fix double data file definitions leading to races 2016-09-28 14:33:18 +02:00