binutils-gdb/gdb/nat
Simon Marchi 8d06918ff5 gdb, gdbserver: make status_to_str return std::string
Instead of using a static buffer.  This is safer, and we don't really
mind about any extra dynamic allocation here, since it's only used for
debug purposes.

gdb/ChangeLog:

	* nat/linux-waitpid.c (status_to_str): Return std::string.
	* nat/linux-waitpid.h (status_to_str): Likewise.
	* linux-nat.c (linux_nat_post_attach_wait): Adjust.
	(linux_nat_target::attach): Adjust.
	(linux_handle_extended_wait): Adjust.
	(wait_lwp): Adjust.
	(stop_wait_callback): Adjust.
	(linux_nat_filter_event): Adjust.
	(linux_nat_wait_1): Adjust.
	* nat/linux-waitpid.c (status_to_str): Adjust.
	* nat/linux-waitpid.h (status_to_str): Adjust.

gdbserver/ChangeLog:

	* linux-low.cc (linux_process_target::wait_for_event_filtered):
	Adjust to status_to_str returning std::string.

Change-Id: Ia8aead70270438a5690f243e6faafff6c38ff757
2021-05-08 21:07:20 -04:00
..
aarch64-linux-hw-point.c Add comment regarding include order of <sys/ptrace.h> and <asm/ptrace.h> 2021-02-24 14:35:07 -07:00
aarch64-linux-hw-point.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-mte-linux-ptrace.c [AArch64] Fix include order for MTE 2021-04-09 11:36:55 -03:00
aarch64-mte-linux-ptrace.h AArch64: Implement memory tagging target methods for AArch64 2021-03-24 14:53:56 -03:00
aarch64-sve-linux-ptrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-sve-linux-ptrace.h Add comment regarding include order of <sys/ptrace.h> and <asm/ptrace.h> 2021-02-25 15:30:32 -07:00
aarch64-sve-linux-sigcontext.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
amd64-linux-siginfo.c amd64-linux-siginfo.c: Adjust include order to avoid gnulib error 2021-02-18 22:56:56 -07:00
amd64-linux-siginfo.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
fork-inferior.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
fork-inferior.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb_ptrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb_thread_db.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
glibc_thread_db.h
linux-btrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-btrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-namespaces.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-namespaces.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-nat.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-osdata.c gdb: make some variables static 2021-01-20 20:55:05 -05:00
linux-osdata.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-personality.c Don't run personality syscall at configure time; don't check it at all 2021-05-08 13:45:36 +01:00
linux-personality.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-procfs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-procfs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-ptrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-ptrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-waitpid.c gdb, gdbserver: make status_to_str return std::string 2021-05-08 21:07:20 -04:00
linux-waitpid.h gdb, gdbserver: make status_to_str return std::string 2021-05-08 21:07:20 -04:00
mips-linux-watch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-linux-watch.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
netbsd-nat.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
netbsd-nat.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ppc-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ppc-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
riscv-linux-tdesc.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
riscv-linux-tdesc.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
windows-nat.c Make get_image_name static 2021-04-30 10:22:24 -06:00
windows-nat.h Make get_image_name static 2021-04-30 10:22:24 -06:00
x86-cpuid.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-dregs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-dregs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-gcc-cpuid.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux-dregs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux-dregs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00