gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 30 Sep 2010 10:29:00 +0000 (10:29 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 30 Sep 2010 10:29:00 +0000 (10:29 +0000)
commite9e07ba6db5fb651b153da7bde8a6ee4509172f0
tree7745602161672924ea8e9d06ef6ecebfe450ecf2
parentcd2effb255e6018687256a2d10072a1e4da0c6c5
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.
gdb/ChangeLog
gdb/ada-lang.c
gdb/python/py-frame.c
gdb/stack.c
gdb/stack.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-inline-param-main.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-inline-param.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp [new file with mode: 0644]