2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
authorSiva Chandra Reddy <sivachandra@sourceware.org>
Sun, 13 May 2012 11:33:44 +0000 (11:33 +0000)
committerSiva Chandra Reddy <sivachandra@sourceware.org>
Sun, 13 May 2012 11:33:44 +0000 (11:33 +0000)
commit7efc75aaf903ab9bf93b8411260740d5a5ee6056
treeae3797c876f883109200007bace80d3755f9bf5b
parent02277eae005e94859bd208e7814f1ac66c8b2433
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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/python.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.c
gdb/testsuite/gdb.python/python.exp