Use std::string in print_one_catch_syscall
authorTom Tromey <tom@tromey.com>
Sun, 3 Oct 2021 14:16:50 +0000 (08:16 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Oct 2021 17:00:32 +0000 (11:00 -0600)
commit570bc7936f5aa9299eee20ba3e170b44efd6c98f
treec28e8b76f3eec0f0b2984d9a286b1df9d9f1e823
parent6f781ee30062c822cf6475cfa070c6e7cf770de4
Use std::string in print_one_catch_syscall

This changes print_one_catch_syscall to use std::string, removing a
bit of manual memory management.
gdb/break-catch-syscall.c