public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/8879] fstat returns zero file size
       [not found] <bug-8879-4717@http.sourceware.org/bugzilla/>
@ 2022-01-07 20:40 ` tromey at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: tromey at sourceware dot org @ 2022-01-07 20:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8879

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org
             Status|ASSIGNED                    |RESOLVED

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I think the code looks correct in fileio.cc:

void
host_to_fileio_stat (struct stat *st, struct fio_stat *fst)
{
...
  host_to_fileio_ulong ((LONGEST) st->st_size, fst->fst_size);


and gdbserver definitely sends the entire fio_stat back.
So I think this was probably fixed sometime in the intervening years.

Feel free to reopen if this is in error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

only message in thread, other threads:[~2022-01-07 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-8879-4717@http.sourceware.org/bugzilla/>
2022-01-07 20:40 ` [Bug remote/8879] fstat returns zero file size tromey at sourceware dot org

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