binutils-gdb/gdb/doc
Guinevere Larsen 528b729be1 gdb/dwarf2: Add support for DW_LNS_set_epilogue_begin in line-table
This commit adds a mechanism for GDB to detect the linetable opcode
DW_LNS_set_epilogue_begin. This opcode is set by compilers to indicate
that a certain instruction marks the point where the frame is destroyed.

While the standard allows for multiple points marked with epilogue_begin
in the same function, for performance reasons, the function that
searches for the epilogue address will only find the last address that
sets this flag for a given block.

This commit also changes amd64_stack_frame_destroyed_p_1 to attempt to
use the epilogue begin directly, and only if an epilogue can't be found
will it attempt heuristics based on the current instruction.

Finally, this commit also changes the dwarf assembler to be able to emit
epilogue-begin instructions, to make it easier to test this patch

Approved-By: Tom Tromey <tom@tromey.com>
2024-01-02 10:21:37 +01:00
..
.gitignore
a4rc.sed
agentexpr.texi Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
all-cfg.texi Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
annotate.texinfo Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ChangeLog-1991-2021
doxy-index.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
Doxyfile-base.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
Doxyfile-gdb-api.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
Doxyfile-gdb-xref.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
Doxyfile-gdbserver.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
fdl.texi
filter-for-doxygen
filter-params.pl
gdb.texinfo gdb/dwarf2: Add support for DW_LNS_set_epilogue_begin in line-table 2024-01-02 10:21:37 +01:00
gpl.texi
guile.texi [gdb] Fix typos 2023-06-03 22:43:57 +02:00
lpsrc.sed
Makefile.in [gdb/doc] Escape the '@' symbols in generated texinfo files. 2023-12-04 18:49:26 +00:00
psrc.sed
python.texi Introduce gdb.interrupt 2023-12-11 11:44:33 -07:00
refcard.tex manual copyright year range of various GDB files to add 2023 2023-01-01 17:01:16 +04:00
stabs.texinfo [gdb] Fix grammar in comments and docs 2023-06-05 12:53:15 +02:00
stack_frame.eps
stack_frame.pdf
stack_frame.png
stack_frame.svg
stack_frame.txt