public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Update call to target_fileio_open
@ 2020-05-19 18:35 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2020-05-19 18:35 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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.
---
 gdb/ChangeLog      | 4 ++++
 gdb/sparc64-tdep.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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.21.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-19 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 18:35 [pushed] Update call to target_fileio_open Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).