Use std::string for 'psargs'.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 5 Mar 2020 23:02:45 +0000 (15:02 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 5 Mar 2020 23:02:45 +0000 (15:02 -0800)
commit0afbabf05a1476244ef02407df531b6c7a4076dc
treecccdfb08b4bdb92b00d2a84063ed1523e6470226
parent3d1e5a43cbe1780ea66df0fe091998ee61177899
Use std::string for 'psargs'.

fbsd_make_corefile_notes leaked the memory for psargs previously.

gdb/ChangeLog:

* fbsd-tdep.c (fbsd_make_corefile_notes): Use std::string for
psargs.
gdb/ChangeLog
gdb/fbsd-tdep.c