diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-02-20 20:53:21 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-02-20 21:00:55 +0100 |
commit | 216f72a1ed20a8c9cdaea74e03be24601a1ed974 (patch) | |
tree | 1904283f1a601d402aeeab7563dafd8b1cb9a072 /gdb/doc | |
parent | 43988095a5a4c53e6d5b00a6335454919c4fac55 (diff) | |
download | gdb-216f72a1ed20a8c9cdaea74e03be24601a1ed974.zip gdb-216f72a1ed20a8c9cdaea74e03be24601a1ed974.tar.gz gdb-216f72a1ed20a8c9cdaea74e03be24601a1ed974.tar.bz2 |
DWARF-5: call sites
this patch updates all call sites related DWARF-5 renames.
gdb/ChangeLog
2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* block.c (call_site_for_pc): Rename DW_OP_GNU_*, DW_TAG_GNU_* and
DW_AT_GNU_*.
* common/common-exceptions.h (enum errors): Likewise.
* dwarf2-frame.c (class dwarf_expr_executor): Likewise.
* dwarf2expr.c (dwarf_block_to_dwarf_reg)
(dwarf_expr_context::execute_stack_op): Likewise.
* dwarf2expr.h (struct dwarf_expr_context, struct dwarf_expr_piece):
Likewise.
* dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type)
(dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value)
(show_entry_values_debug, call_site_to_target_addr)
(func_addr_to_tail_call_list, func_verify_no_selftailcall)
(dwarf_expr_reg_to_entry_parameter, dwarf_entry_parameter_to_value)
(entry_data_value_free_closure, value_of_dwarf_reg_entry)
(value_of_dwarf_block_entry, indirect_pieced_value)
(symbol_needs_eval_context::push_dwarf_reg_entry_value):
(disassemble_dwarf_expression): Likewise.
* dwarf2read.c (process_die, inherit_abstract_dies)
(read_call_site_scope): Likewise.
* gdbtypes.h (struct func_type, struct call_site_parameter)
(struct call_site): Likewise.
* stack.c (read_frame_arg): Likewise.
* std-operator.def (OP_VAR_ENTRY_VALUE): Likewise.
gdb/doc/ChangeLog
2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (Print Settings, Tail Call Frames): Rename DW_OP_GNU_*,
DW_TAG_GNU_* and DW_AT_GNU_*.
gdb/testsuite/ChangeLog
2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
* gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
* gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
* gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
DW_AT_GNU_*.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0ef313f..17cd97f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.texinfo (Print Settings, Tail Call Frames): Rename DW_OP_GNU_*, + DW_TAG_GNU_* and DW_AT_GNU_*. + 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com> * python.texi (Recordings In Python): New section. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index c465dc2..962325b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -9857,7 +9857,7 @@ this feature will behave in the @code{default} setting the same way as with the @code{no} setting. This functionality is currently supported only by DWARF 2 debugging format and -the compiler has to produce @samp{DW_TAG_GNU_call_site} tags. With +the compiler has to produce @samp{DW_TAG_call_site} tags. With @value{NGCC}, you need to specify @option{-O -g} during compilation, to get this information. @@ -12025,7 +12025,7 @@ some cases @value{GDBN} can determine that @code{C} was tail-called from return address set up as if @code{B} called @code{C} normally. This functionality is currently supported only by DWARF 2 debugging format and -the compiler has to produce @samp{DW_TAG_GNU_call_site} tags. With +the compiler has to produce @samp{DW_TAG_call_site} tags. With @value{NGCC}, you need to specify @option{-O -g} during compilation, to get this information. @@ -12078,8 +12078,8 @@ static void __attribute__((noinline, noclone)) a (void) @{ x++; @} static void __attribute__((noinline, noclone)) c (void) @{ a (); @} int main (void) @{ x (); return 0; @} -Breakpoint 1, DW_OP_GNU_entry_value resolving cannot find -DW_TAG_GNU_call_site 0x40039a in main +Breakpoint 1, DW_OP_entry_value resolving cannot find +DW_TAG_call_site 0x40039a in main a () at t.c:3 3 static void __attribute__((noinline, noclone)) a (void) @{ x++; @} (gdb) bt @@ -12155,7 +12155,7 @@ int main (void) @{ a (5); return 0; @} (gdb) bt #0 c (i=i@@entry=0) at t.c:2 -#1 0x0000000000400428 in a (DW_OP_GNU_entry_value resolving has found +#1 0x0000000000400428 in a (DW_OP_entry_value resolving has found function "a" at 0x400420 can call itself via tail calls i=<optimized out>) at t.c:6 #2 0x000000000040036e in main () at t.c:7 |