gdb
authorTom Tromey <tromey@redhat.com>
Wed, 2 Sep 2009 14:53:57 +0000 (14:53 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 2 Sep 2009 14:53:57 +0000 (14:53 +0000)
commite78022079ce4c50f042bb5287665a4f38704a71b
tree76c5d22b601a7a3ab15067483733204fe114f9db
parentd34089166b3e7b60151752997db33c3f28016349
gdb
* frame.h (frame_unwinder_is): Declare.
* frame.c (frame_unwinder_is): New function.
* dwarf2loc.c: Include dwarf2-frame.h.
(dwarf_expr_frame_cfa): New function.
(dwarf2_evaluate_loc_desc): Use it.
(needs_frame_frame_cfa): New function.
(dwarf2_loc_desc_needs_frame): Use it.
* dwarf2expr.h (struct dwarf_expr_context) <get_frame_cfa>: New
field.
* dwarf2expr.c (execute_stack_op) <DW_OP_call_frame_cfa>: New
case.
* dwarf2-frame.h (dwarf2_frame_cfa): Declare.
* dwarf2-frame.c (no_get_frame_cfa): New function.
(execute_stack_op): Use it.
(dwarf2_frame_cfa): New function.
gdb/testsuite
* gdb.dwarf2/callframecfa.exp: New file.
* gdb.dwarf2/callframecfa.S: New file.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2-frame.h
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2loc.c
gdb/frame.c
gdb/frame.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/callframecfa.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/callframecfa.exp [new file with mode: 0644]