diff options
author | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-13 11:33:44 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-13 11:33:44 +0000 |
commit | 7efc75aaf903ab9bf93b8411260740d5a5ee6056 (patch) | |
tree | ae3797c876f883109200007bace80d3755f9bf5b /gdb/testsuite/gdb.python/python.c | |
parent | 02277eae005e94859bd208e7814f1ac66c8b2433 (diff) | |
download | gdb-7efc75aaf903ab9bf93b8411260740d5a5ee6056.zip gdb-7efc75aaf903ab9bf93b8411260740d5a5ee6056.tar.gz gdb-7efc75aaf903ab9bf93b8411260740d5a5ee6056.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.python/python.c')
-rw-r--r-- | gdb/testsuite/gdb.python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/python.c b/gdb/testsuite/gdb.python/python.c index d9f02cd..50bee21 100644 --- a/gdb/testsuite/gdb.python/python.c +++ b/gdb/testsuite/gdb.python/python.c @@ -23,6 +23,6 @@ int main (int argc, char *argv[]) { func1 (); - func2 (); + func2 (); /* Break at func2 call site. */ return 0; /* Break to end. */ } |