aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorShahab Vahedi <shahab@synopsys.com>2021-05-05 23:07:38 +0200
committerShahab Vahedi <shahab@synopsys.com>2021-06-05 11:43:07 +0200
commitae61ef2c5615a06f829468b57249a17762a44220 (patch)
tree6fc2e0e1ed9f3938530d4107760861352577e29b /gdb/doc
parent30569fbb57f1e4fe1ffed6b94882d967f27cbb66 (diff)
downloadgdb-ae61ef2c5615a06f829468b57249a17762a44220.zip
gdb-ae61ef2c5615a06f829468b57249a17762a44220.tar.gz
gdb-ae61ef2c5615a06f829468b57249a17762a44220.tar.bz2
arc: Add 'set disassembler-options' support
Implement ARC target support for passing options to the disassembler through the command interface. e.g.: gdb> set disassembler-options cpu=hs38_linux ... gdb/ChangeLog: * NEWS: Document 'set disassembler-options' support for the ARC target. * arc-tdep.c (arc_gdbarch_init): Set 'gdbarch_valid_disassembler_options'. gdb/doc/ChangeLog: * gdb.texinfo (Source and Machine Code): Document 'set disassembler-options' support for the ARC target. gdb/testsuite/ChangeLog: * gdb.arch/arc-disassembler-options.exp: New test. * gdb.arch/arc-disassembler-options.s: New test source.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 82bc4f6..61d40b9 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-05 Shahab Vahedi <shahab@synopsys.com>
+
+ * gdb.texinfo (Source and Machine Code): Document 'set
+ disassembler-options' support for the ARC target.
+
2021-06-04 Hannes Domani <ssbssa@yahoo.de>
* python.texi (TUI Windows In Python): Document Window.click.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 90d827a..d09b86c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9879,8 +9879,8 @@ The default value is the empty string.
If it is necessary to specify more than one disassembler option, then
multiple options can be placed together into a comma separated list.
-Currently this command is only supported on targets ARM, MIPS, PowerPC
-and S/390.
+Currently this command is only supported on targets ARC, ARM, MIPS,
+PowerPC and S/390.
@kindex show disassembler-options
@item show disassembler-options