| commit | 517a63c2c48e5aaabe57de079e2d7f0bea09429b | [log] [tgz] |
|---|---|---|
| author | Simon Marchi <simon.marchi@polymtl.ca> | Mon Aug 29 12:19:40 2022 -0400 |
| committer | Simon Marchi <simon.marchi@polymtl.ca> | Wed Sep 21 14:11:03 2022 -0400 |
| tree | 2042e8a1a578cf61c31a257ab71c5bdaea2c9f32 | |
| parent | b872057a63c53106e4bf6033a52d53b988f30dfd [diff] |
gdbsupport: move fileio_errno_to_host to fileio.{h,cc} and rename
gdb_bfd.c and remote.c contain identical implementations of a
fileio_error -> errno function. Factor that out to
gdbsupport/fileio.{h,cc}.
Rename it fileio_error_to_host, for symmetry with host_to_fileio_error.
Change-Id: Ib9b8807683de2f809c94a5303e708acc2251a0df