]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use scoped_fd in linux-nat.c:proc_mem_file
authorTom Tromey <tom@tromey.com>
Mon, 17 Mar 2025 20:50:38 +0000 (14:50 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 18 Mar 2025 11:30:50 +0000 (05:30 -0600)
commit246a63ad0a7e68b283f830ac3e4920f435a9968e
treef79865c2ac86cc98cb6a2569ee7d0e61fdd71966
parent57d2ceb311aaaf02fe6fae194e1280001a087b6f
Use scoped_fd in linux-nat.c:proc_mem_file

This changes linux-nat.c:proc_mem_file to use a scoped_fd and fixes up
the users.  Regression tested on x86-64 Fedora 40.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/linux-nat.c