Update call to target_fileio_open
authorTom Tromey <tromey@adacore.com>
Tue, 19 May 2020 18:34:35 +0000 (12:34 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 19 May 2020 18:35:07 +0000 (12:35 -0600)
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
gdb/sparc64-tdep.c

index ac0beef5ad531bf5f68bdaab9e2cbbc0225243a7..93113be33029a18d812742c0e38b7ec3c78210bc 100644 (file)
@@ -1,3 +1,7 @@
+2020-05-19  Tom Tromey  <tromey@adacore.com>
+
+       * sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open.
+
 2020-05-19  Simon Marchi  <simon.marchi@efficios.com>
 
        * dwarf2/read.c (quirk_rust_enum): Allocate enough fields.
index ce323c704dad495702e25815ee66ab151b1f326a..2529ddc515892427d3049120f0c6f40e96d85f85 100644 (file)
@@ -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;
 }
 
This page took 0.030842 seconds and 4 git commands to generate.