efl/data/eo
Tom Hacohen 5614e46f1f Eo gdb: Implement eo_data_get to get eo data.
Like 79d76fb25e, this is useful when
debugging a core dump.

It accepts a valid pointer to an object, for example as returned from
$eo_resolve, and a name of a class or mixin, and returns a pointer to
the private data. Essentially the same as efl_data_scope_get(), but also
works on core dumps, and accepts a class name instead of a class
pointer.

Usage:
Print the pointer:
 (gdb) print $eo_data_get($eo_resolve(obj), "Efl_Canvas_Object")
 $1 = (void *) 0x555555eb9290

Use it directly (e.g. to print a value):
 (gdb) print ((Evas_Object_Protected_Data *) $eo_data_get($eo_resolve(obj),
              "Efl_Canvas_Object"))->last_event_type
 $2 = EVAS_CALLBACK_MOUSE_UP

@feature
2016-12-07 12:51:54 +00:00
..
.gitignore gitignore: do not track generated files. 2013-09-26 15:51:25 +09:00
eo_gdb.py Eo gdb: Implement eo_data_get to get eo data. 2016-12-07 12:51:54 +00:00
libeo-gdb.py.in Eo gdb: eo gdb script is now autoloaded by gdb, added eo_backtrace. 2013-04-16 11:45:34 +01:00