aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-09-24 23:22:05 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-11-27 12:01:48 +0000
commit5f512a7dd0df1205630e9edfaa84f2e9a8fb8771 (patch)
treecedd04985fcb599854b25e0f5dc7b2cc4147b7c2 /gdb/mdebugread.c
parent470c0b1c9a1d69e3c4f9281600399b1dadd40614 (diff)
downloadbinutils-5f512a7dd0df1205630e9edfaa84f2e9a8fb8771.zip
binutils-5f512a7dd0df1205630e9edfaa84f2e9a8fb8771.tar.gz
binutils-5f512a7dd0df1205630e9edfaa84f2e9a8fb8771.tar.bz2
gdb: Split print_symbol_info into two parts
Split the function print_symbol_info into two parts, the new worker core returns a string, which print_symbol_info then prints. This will be useful in a later commit when some new MI commands will be added which will use the worker core to fill some MI output fields. There should be no user visible changes after this commit. gdb/ChangeLog: * symtab.c (symbol_to_info_string): New function, most content moved from print_symbol_info, but updated to return a std::string. (print_symbol_info): Update to use symbol_to_info_string and print returned string. * symtab.h (symbol_to_info_string): Declare new function. Change-Id: I6454ce43cacb61d32fbadb9e3655e70823085777
Diffstat (limited to 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions