aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-05-19 12:34:35 -0600
committerTom Tromey <tromey@adacore.com>2020-05-19 12:35:07 -0600
commit563c591bedf2e84ef812a89d573ece8546bd3c99 (patch)
treed99371fad79be0f2ff380493084d2b12be464dfd /gdb/sparc64-tdep.c
parentf408d82c7a140268c3b7be35970c96d8385b5902 (diff)
downloadgdb-563c591bedf2e84ef812a89d573ece8546bd3c99.zip
gdb-563c591bedf2e84ef812a89d573ece8546bd3c99.tar.gz
gdb-563c591bedf2e84ef812a89d573ece8546bd3c99.tar.bz2
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 <tromey@adacore.com> * sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open.
Diffstat (limited to 'gdb/sparc64-tdep.c')
-rw-r--r--gdb/sparc64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c
index ce323c7..2529ddc 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;
}