diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ac0beef..93113be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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; } |