Oh, btw, please rename it to eo_step which better explains what it does.
On Tue, Dec 4, 2012 at 11:11 AM, Tom Hacohen <t...@stosb.com> wrote: > It's a gdb plug-in that should be installed... > > > On Tue, Dec 4, 2012 at 10:46 AM, Vincent Torri <vincent.to...@gmail.com>wrote: > >> On Tue, Dec 4, 2012 at 11:39 AM, Tom Hacohen <t...@stosb.com> wrote: >> > Oh cool, I'm glad you are already done, but as I told you before: >> > 1. don't rely on the source filename (eo.c) as this information may not >> be >> > available for most people, you must rely on the soname. >> > 2. Please commit it to svn and make it ship/install automatically for >> > people that install the efl. >> >> i've added for ecore a 'utils' dir in src/, so maybe put it in >> src/utils/eo >> >> Vincent >> >> > >> > Cheers, >> > Tom. >> > >> > >> > On Tue, Dec 4, 2012 at 8:15 AM, daniel.za...@samsung.com < >> > daniel.za...@samsung.com> wrote: >> > >> >> Hi all, >> >> >> >> I am sure you faced difficulties to debug your program due to changes >> >> with Eo. It is hard to know which function will be called by eo_do or >> >> eo_do_super because of inheritance. >> >> >> >> I have written a python function for gdb that helps a lot. The command >> >> is eo_jump, no arguments. >> >> You can execute it when you reach some eo_do/eo_do_super... and it will >> >> jump over Eo code. >> >> >> >> This is a prototype so sorry for the potential bugs. >> >> >> >> For those who will look at this function, you can note some check that >> >> the function is None, it is because Eo calls for memcpy. In this case, >> >> we want it to not stop on this so we have to continue searching. >> >> >> >> Feel free to change, propose, hate this script :) >> >> >> >> Daniel (JackDanielZ) >> >> >> >> Function: >> >> python >> >> class Eo_jump(gdb.Command): >> >> def __init__(self): >> >> gdb.Command.__init__(self, "eo_jump", gdb.COMMAND_OBSCURE) >> >> >> >> def invoke (self, arg, from_tty): >> >> while True: >> >> gdb.execute("step") >> >> self.priv_filename = >> >> gdb.selected_frame().find_sal().symtab.filename >> >> self.priv_function = gdb.selected_frame().function() >> >> if (self.priv_filename != "lib/eo/eo.c") and >> >> (self.priv_function != None): >> >> break >> >> if (self.priv_filename == "lib/eo/eo.c"): >> >> gdb.execute("step") >> >> if (self.priv_function == None): >> >> gdb.execute("finish") >> >> Eo_jump() >> >> end >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> >> Remotely access PCs and mobile devices and provide instant support >> >> Improve your efficiency, and focus on delivering more value-add >> services >> >> Discover what IT Professionals Know. Rescue delivers >> >> http://p.sf.net/sfu/logmein_12329d2d >> >> _______________________________________________ >> >> enlightenment-devel mailing list >> >> enlightenment-devel@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> >> > >> > >> > >> > -- >> > Tom. >> > >> ------------------------------------------------------------------------------ >> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> > Remotely access PCs and mobile devices and provide instant support >> > Improve your efficiency, and focus on delivering more value-add services >> > Discover what IT Professionals Know. Rescue delivers >> > http://p.sf.net/sfu/logmein_12329d2d >> > _______________________________________________ >> > enlightenment-devel mailing list >> > enlightenment-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> >> ------------------------------------------------------------------------------ >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> Remotely access PCs and mobile devices and provide instant support >> Improve your efficiency, and focus on delivering more value-add services >> Discover what IT Professionals Know. Rescue delivers >> http://p.sf.net/sfu/logmein_12329d2d >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > > -- > Tom. > > -- Tom. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel