mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-20 21:02:10 +08:00
2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
Add a new function gdb.find_pc_line to the Python API. * NEWS (Python Scripting): Add entry about the new function. * python/python.c (gdbpy_find_pc_line): New function which implements gdb.find_pc_line. (GdbMethods): Add entry for the new function. doc/ * gdb.texinfo (Basic Python): Add description about the function gdb.find_pc_line testsuite/ * gdb.python/python.c: Add a new breakpoint comment. * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
This commit is contained in:
@ -23,6 +23,6 @@ int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
func1 ();
|
||||
func2 ();
|
||||
func2 (); /* Break at func2 call site. */
|
||||
return 0; /* Break to end. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user