You can get quick online help for gdb Ò€ℒs python api by issuing the command python help (gdb). Functions and methods which have two or more optional arguments allow them to be specified using Ò€¦ In this video, we explore the best practices for scripting gdb with python to streamline your debugging workflow.

In this case, gdb interprets the script as being a gdb script, i. e. With gdb commands - and that means, that whatever python code you may want to write in here, must be wrapped in python as a starting Ò€¦ This repo will hopefully eventually hold a collection of useful gdb-python scripts for debug. If you don't know much about gdbs python scripting api check out this writeup!