]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: add target_fileio_stat, but no implementations yet
authorAndrew Burgess <aburgess@redhat.com>
Tue, 21 May 2024 14:39:37 +0000 (15:39 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 18 Jul 2024 12:24:20 +0000 (13:24 +0100)
commit08a115cc1c45cd74f0e8993d1487528547c84509
treec98c7adf95c6a41df32adb018f470de73673e20f
parent3ca6c047a42ecf444cf08ce879ba52e5ba0a9e06
gdb: add target_fileio_stat, but no implementations yet

In a later commit I want target_fileio_stat, that is a call that
operates on a filename rather than an open file descriptor as
target_fileio_fstat does.

This commit adds the initial framework for target_fileio_stat, I've
added the top level target function and the virtual target_ops methods
in the target_ops base class.

At this point no actual targets override target_ops::fileio_stat, so
any attempts to call this function will return ENOSYS error code.
gdb/target.c
gdb/target.h