What are the procedures to use self declared convenience functions in GDB?
Simon Marchi
simark@simark.ca
Tue Nov 17 14:34:38 GMT 2020
On 2020-11-17 4:03 a.m., Nagmat Nazar via Gdb wrote:
> I have implemented a convenience function on python in order to use it on
> GDB. What shall I do in order to use it on GDB. As I know the convenience
> functions are located in
>
> ~/gdb/python/lib/gdb/function/
>
> I have copied context_checker.py into this folder but it is not working.
> What other procedures shall I do in order to use the convenience function
> on GDB?
>
>
> https://stackoverflow.com/questions/64815891/what-are-the-procedures-to-use-self-declared-convenience-functions-in-gdb
>
>
>
> Kind regards
>
> Nagmat Nazarov
>
IIRC, you can use them with $ followed by the name of the function. So if you declaire a function foo, use $foo(...).
Simon
More information about the Gdb
mailing list