binutils-gdb/gdb/nat
Pedro Alves d744f0f965 gdb::handle_eintr, remove need to specify return type
This eliminates the need to specify the return type when using
handle_eintr.  We let the compiler deduce it for us.

Also, use lowercase for function parameter names.  Uppercase should
only be used on template parameters.

gdb/ChangeLog:

	* nat/linux-waitpid.c: Include "gdbsupport/eintr.h".
	(my_waitpid): Use gdb::handle_eintr.

gdbserver/ChangeLog:

	* netbsd-low.cc (netbsd_waitpid, netbsd_process_target::kill)
	(netbsd_qxfer_libraries_svr4): Use gdb::handle_eintr without
	explicit type.

gdbsupport/ChangeLog:

	* eintr.h (handle_eintr): Replace Ret template parameter with
	ErrorValType.  Use it as type of the failure value.  Deduce the
	function's return type using decltype.  Use lowercase for function
	parameter names.
2020-10-26 18:57:40 +00:00
..
aarch64-linux-hw-point.c
aarch64-linux-hw-point.h
aarch64-linux.c
aarch64-linux.h
aarch64-sve-linux-ptrace.c
aarch64-sve-linux-ptrace.h
aarch64-sve-linux-sigcontext.h [AArch64] Fix incorrectly-defined SVE macro 2020-08-10 11:50:53 -03:00
amd64-linux-siginfo.c
amd64-linux-siginfo.h
fork-inferior.c Avoid double free in startup_inferior 2020-09-10 15:39:19 +02:00
fork-inferior.h
gdb_ptrace.h
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c Disable record btrace bts support for AMD processors 2020-05-14 17:56:33 -07:00
linux-btrace.h
linux-namespaces.c
linux-namespaces.h
linux-nat.h
linux-osdata.c
linux-osdata.h
linux-personality.c
linux-personality.h
linux-procfs.c
linux-procfs.h
linux-ptrace.c
linux-ptrace.h
linux-waitpid.c gdb::handle_eintr, remove need to specify return type 2020-10-26 18:57:40 +00:00
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
netbsd-nat.c Correct logical error in NetBSD's read_memory and write_memory 2020-10-07 15:15:54 +02:00
netbsd-nat.h Add common write_memory and read_memory NetBSD routines 2020-10-07 14:52:25 +02:00
ppc-linux.c
ppc-linux.h
riscv-linux-tdesc.c
riscv-linux-tdesc.h
windows-nat.c Handle 64bit breakpoints of WOW64 processes as SIGINT 2020-09-24 19:01:22 +02:00
windows-nat.h Handle 64bit breakpoints of WOW64 processes as SIGINT 2020-09-24 19:01:22 +02:00
x86-cpuid.h
x86-dregs.c
x86-dregs.h
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h