aboutsummaryrefslogtreecommitdiff
path: root/bfd/peicode.h
diff options
context:
space:
mode:
authorRae Kim <raekim@gmail.com>2020-12-15 22:51:09 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2020-12-15 23:04:04 -0500
commita33fc9aed4b3b4384df63850c6fc9046ecbd97f4 (patch)
tree45e6f3aa85c3f279c0adf8c3bc5ee59b92a25409 /bfd/peicode.h
parentefd7ff149a42c865cac422e3bafdf386c91c5373 (diff)
downloadgdb-a33fc9aed4b3b4384df63850c6fc9046ecbd97f4.zip
gdb-a33fc9aed4b3b4384df63850c6fc9046ecbd97f4.tar.gz
gdb-a33fc9aed4b3b4384df63850c6fc9046ecbd97f4.tar.bz2
gdb: multi-line support for "document" command
"document" command executed in python, gdb.execute("document <comname>\n...\nend\n"), will wait for user input. Python extension stops working from that point. multi-line suport was introduced in commit 56bcdbea2. But "document" support seem to be implemented. gdb/ChangeLog: 2020-12-02 Rae Kim <rae.kim@gmail.com> * cli/cli-script.c (do_document_command): Rename from document_command. Handle multi-line input. (multi_line_command_p): Handle document_control. (build_command_line): Likewise. (execute_control_command_1): Likewise. (process_next_line): Likewise. (document_command): Call do_document_command. * cli/cli-script.h (enum command_control_type): Add document_control. gdb/testsuite/ChangeLog: 2020-12-02 Rae Kim <rae.kim@gmail.com> * gdb.base/document.exp: New test. Change-Id: Ice262b980c05051de4c106af9f3fde5b2a6df6fe
Diffstat (limited to 'bfd/peicode.h')
0 files changed, 0 insertions, 0 deletions