binutils-gdb/gdb/nat
Simon Marchi 13084383e8 gdbsupport: make gdb_open_cloexec return scoped_fd
Make gdb_open_cloexec return a scoped_fd, to encourage using automatic
management of the file descriptor closing.  Except in the most trivial
cases, I changed the callers to just release the fd, which retains their
existing behavior.  That will allow the transition to using scoped_fd
more to go gradually, one caller at a time.

Change-Id: Ife022b403f96e71d5ebb4f1056ef6251b30fe554
2021-09-30 15:21:48 -04:00
..
aarch64-linux-hw-point.c
aarch64-linux-hw-point.h
aarch64-linux.c
aarch64-linux.h
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-sve-linux-ptrace.c gdb: fix some indentation issues 2021-05-27 15:01:28 -04:00
aarch64-sve-linux-ptrace.h
aarch64-sve-linux-sigcontext.h
amd64-linux-siginfo.c nat/amd64-linux-siginfo.c: Remove typedefs 2021-06-07 23:22:39 +01:00
amd64-linux-siginfo.h
fork-inferior.c gdb: make inferior::m_cwd an std::string 2021-07-23 15:38:54 -04:00
fork-inferior.h
gdb_ptrace.h
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c
linux-btrace.h
linux-namespaces.c gdbsupport: make gdb_open_cloexec return scoped_fd 2021-09-30 15:21:48 -04:00
linux-namespaces.h
linux-nat.h
linux-osdata.c Remove defaulted 'tid' parameter to ptid_t constructor 2021-09-23 09:30:54 -06:00
linux-osdata.h
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
linux-procfs.c Remove defaulted 'tid' parameter to ptid_t constructor 2021-09-23 09:30:54 -06:00
linux-procfs.h
linux-ptrace.c
linux-ptrace.h
linux-waitpid.c gdb, gdbserver: make status_to_str display the signal name 2021-05-10 12:13:36 -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
mips-linux-watch.h
netbsd-nat.c
netbsd-nat.h
ppc-linux.c
ppc-linux.h
riscv-linux-tdesc.c
riscv-linux-tdesc.h
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
x86-dregs.c Use CORE_ADDR as return type from x86_dr_low_get_addr 2021-09-03 11:30:46 -06:00
x86-dregs.h
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h