diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-30 10:28:59 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-30 10:28:59 +0000 |
commit | 11a94fad08f146f52ea4bfc34f194ceefc85e2e5 (patch) | |
tree | 8840192efe51ed2a2eeec48624960ebbdc672a36 /gdb/python/py-frame.c | |
parent | 5cadd780e2909d24cb41b9a1b48b16385c834639 (diff) | |
download | gdb-11a94fad08f146f52ea4bfc34f194ceefc85e2e5.tar.gz |
gdb/
Fix printing parameters of inlined functions.
* ada-lang.c (is_known_support_routine)
(ada_unhandled_exception_name_addr_from_raise): Provide NULL parameter
for find_frame_funname.
* python/py-frame.c (frapy_name): Likewise.
* stack.c (find_frame_funname): New parameter funcp. Update the
function comment. Fill it in.
(print_frame): New variable func. Initialize it by
find_frame_funname. Print arguments only if FUNC is not NULL. Use
FUNC as the parameter of print_args_stub.
* stack.h (find_frame_funname): New parameter funcp. Remove the
function declaration comment.
gdb/testsuite/
Fix printing parameters of inlined functions.
* gdb.dwarf2/dw2-inline-param.exp: New file.
* gdb.dwarf2/dw2-inline-param-main.c: New file.
* gdb.dwarf2/dw2-inline-param.S: New file.
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r-- | gdb/python/py-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index a7df810a686..bb82903fdcc 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -126,7 +126,7 @@ frapy_name (PyObject *self, PyObject *args) { FRAPY_REQUIRE_VALID ((frame_object *) self, frame); - find_frame_funname (frame, &name, &lang); + find_frame_funname (frame, &name, &lang, NULL); } GDB_PY_HANDLE_EXCEPTION (except); |