aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2017-02-10 14:12:09 +0300
committerAnton Kolesov <Anton.Kolesov@synopsys.com>2017-03-28 21:38:32 +0300
commitfe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29 (patch)
tree40198df426b808a11314c42fa6754c09681a8062 /gdb/doc
parenteea787570f708e51048f812808e6cbd76fde6919 (diff)
downloadbinutils-fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29.zip
binutils-fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29.tar.gz
binutils-fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29.tar.bz2
arc: Add prologue analysis
Add a prologue analysis that recognizes all instructions that may happen in compiler-generated prologue, including various stores, core register moves, subtraction and ENTER_S instruction that does a lot of prologue actions through microcode. Testcases cover various prologue scenarios, including instructions that are spread across multiple 16-bit encodings (for example there are 7 encodings of store instruction). gdb/ChangeLog: yyyy-mm-dd Anton Kolesov <anton.kolesov@synopsys.com> * arc-tdep.c (arc_frame_cache): Add support for prologue analysis. (arc_skip_prologue): Likewise. (arc_make_frame_cache): Likewise. (arc_pv_get_operand): New function. (arc_is_in_prologue): Likewise. (arc_analyze_prologue): Likewise. (arc_print_frame_cache): Likewise. (MAX_PROLOGUE_LENGTH): New constant. gdb/doc/ChangeLog: yyyy-mm-dd Anton Kolesov <anton.kolesov@synopsys.com> * gdb.texinfo (Synopsys ARC): Document "set debug arc 2". gdb/testsuite/ChangeLog: yyyy-mm-dd Anton Kolesov <anton.kolesov@synopsys.com> * gdb.arch/arc-analyze-prologue.S: New file. * gdb.arch/arc-analyze-prologue.exp: Likewise.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo3
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3088f13..c542c0b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
+ * gdb.texinfo (Synopsys ARC): Document "set debug arc 2".
+
+2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
+
* gdb.texinfo (Synopsys ARC): Add "maint print arc arc-instruction".
2017-03-22 Yao Qi <yao.qi@linaro.org>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7e2fc81..300d78e 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22098,8 +22098,7 @@ acceptable commands.
@item set debug arc
@kindex set debug arc
Control the level of ARC specific debug messages. Use 0 for no messages (the
-default) and 1 for debug messages. At present higher values offer no further
-messages.
+default), 1 for debug messages, and 2 for even more debug messages.
@item show debug arc
@kindex show debug arc