aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2022-04-01 11:59:29 +0100
committerLancelot SIX <lancelot.six@amd.com>2022-04-04 23:03:32 +0100
commit6109f7a39eb956a4121875630895669cece178e8 (patch)
tree9ed947e4bf5a59faa744137f4ccbf58bcf60d71f /gdb/NEWS
parentcc96ae7f8839bd63a943751d52af94db3b956c1f (diff)
downloadgdb-6109f7a39eb956a4121875630895669cece178e8.zip
gdb-6109f7a39eb956a4121875630895669cece178e8.tar.gz
gdb-6109f7a39eb956a4121875630895669cece178e8.tar.bz2
gdb: Add maint set ignore-prologue-end-flag
The previous patch added support for the DWARF prologue-end flag in line table. This flag can be used by DWARF producers to indicate where to place breakpoints past a function prologue. However, this takes precedence over prologue analyzers. So if we have to debug a program with erroneous debug information, the overall debugging experience will be degraded. This commit proposes to add a maintenance command to instruct GDB to ignore the prologue_end flag. Tested on x86_64-gnu-linux. Change-Id: Idda6d1b96ba887f4af555b43d9923261b9cc6f82
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index ef4d8f4..760cb2b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -14,6 +14,15 @@
emit to indicate where a breakpoint should be placed to break in a function
past its prologue.
+* New commands
+
+maintenance set ignore-prologue-end-flag on|off
+maintenance show ignore-prologue-end-flag
+ This setting, which is off by default, controls whether GDB ignores the
+ PROLOGUE-END flag from the line-table when skipping prologue. This can be
+ used to force GDB to use prologue analyzers if the line-table is constructed
+ from erroneous debug information.
+
* Changed commands
maintenance info line-table