aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@fit.cvut.cz>2018-08-14 14:13:28 +0100
committerPedro Alves <palves@redhat.com>2018-08-14 14:13:28 +0100
commit26fb3983d7062c6f6bc43028ae2074cc29d22c7e (patch)
tree85d063d26e8b205cd713db224064d363decd88b6 /compile
parent67943c005fafa4397535766787b4fbda338ac07d (diff)
downloadgdb-26fb3983d7062c6f6bc43028ae2074cc29d22c7e.zip
gdb-26fb3983d7062c6f6bc43028ae2074cc29d22c7e.tar.gz
gdb-26fb3983d7062c6f6bc43028ae2074cc29d22c7e.tar.bz2
MI: Add -a option to the "-data-disassemble" command
The CLI "disassemble" command allows specifying a single address - in that case the function surrounding that address is disassembled. This commit adds this feature to the equivalent MI command "-data-disassemble". gdb/ChangeLog: 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz> * mi/mi-cmd-disas.c (mi_cmd_disassemble): Add -a option. If used, use find_pc_partial_function to find address range to disassemble. * mi/mi-main.c (mi_cmd_list_features): Report "data-disassemble-a-option" feature. * NEWS: Mention new -data-disassemble option -a. gdb/doc/ChangeLog: 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz> * gdb.texinfo (GDB/MI Data Manipulation): Document "-data-disassemble -a addr". (GDB/MI Support Commands): Document "data-disassemble-a-option" feature. gdb/testsuite/ChangeLog: 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz> * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for -data-disassemble -a. (test_disassembly_bogus_args): Likewise.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions