Use std::string in main_info
authorTom Tromey <tom@tromey.com>
Fri, 30 Dec 2022 18:23:43 +0000 (11:23 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 10 Feb 2023 16:57:34 +0000 (09:57 -0700)
commit25eb2931f6f19d5ef48d240774bab488f6d52bf1
tree311fbb0411783a3afc3341b3453c1636c76b07c8
parent632652850db23bfec2499febe03c9ac4aa0b8dce
Use std::string in main_info

This changes main_info to use std::string.  It removes some manual
memory management.
gdb/symtab.c