[OT] How to use relative path in gdb macro

hz hanks hankshz at gmail.com
Wed Apr 24 18:51:42 EDT 2013


Hi, All

I'm using gdb macro (.gdb files) in gdb to achieve complex process. And my
.gdb files will use command "source" to include the python files to do the
actual work. The problem is that the .gdb files only know the relative path
of .py files. Does anyone know how to write that kind of source command?
Thanks!

Best,
Hanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130424/7e42e002/attachment.html 


More information about the Kernelnewbies mailing list