gdb: update comment for execute_command_to_string
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 28 Jan 2021 09:58:43 +0000 (09:58 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 28 Jan 2021 10:04:54 +0000 (10:04 +0000)
commit24cf63899bf363c761c344a47dae037fbba8d643
tree562d0a9045fc5fadebd33ee0f57ceb80c403f7f3
parent2a7f6487d0a2f9a5f16d0f67904ac35100313eb1
gdb: update comment for execute_command_to_string

The function execute_command_to_string had two header comments, one in
gdbcmd.h and one in top.c.

This commit merges the two comments into one and places this comment
in gdbcmd.h.  The comment in top.c is updated to just reference
gdbcmd.h.

gdb/ChangeLog:

* gdbcmd.h (execute_command_to_string): Update comment.
* top.c (execute_command_to_string): Update header comment.
gdb/ChangeLog
gdb/gdbcmd.h
gdb/top.c