From 563c591bedf2e84ef812a89d573ece8546bd3c99 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 19 May 2020 12:34:35 -0600 Subject: [PATCH] Update call to target_fileio_open An earlier patch changed target_fileio_open, but missed a caller. This patch fixes it. 2020-05-19 Tom Tromey * sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open. --- gdb/ChangeLog | 4 ++++ gdb/sparc64-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ac0beef5ad5..93113be3302 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-05-19 Tom Tromey + + * sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open. + 2020-05-19 Simon Marchi * dwarf2/read.c (quirk_rust_enum): Allocate enough fields. diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index ce323c704da..2529ddc5158 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -287,7 +287,7 @@ adi_tag_fd (void) snprintf (cl_name, sizeof(cl_name), "/proc/%ld/adi/tags", (long) pid); int target_errno; proc->stat.tag_fd = target_fileio_open (NULL, cl_name, O_RDWR|O_EXCL, - 0, &target_errno); + false, 0, &target_errno); return proc->stat.tag_fd; } -- 2.30.2