diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-02-05 15:18:34 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-02-05 16:10:15 -0500 |
commit | 6cedf3bcbf9d8ac88147fdb9b0765a206191a282 (patch) | |
tree | e6ba766a7f51f3b0aba680c7182e54d6345baafa /gdb/solib-svr4.h | |
parent | 7b323785ef83a7d6f023909fe21b7983651c3f27 (diff) | |
download | fsf-binutils-gdb-6cedf3bcbf9d8ac88147fdb9b0765a206191a282.zip fsf-binutils-gdb-6cedf3bcbf9d8ac88147fdb9b0765a206191a282.tar.gz fsf-binutils-gdb-6cedf3bcbf9d8ac88147fdb9b0765a206191a282.tar.bz2 |
gdb: rename target_so_ops to solib_ops
I don't like the name `target_so_ops`, because:
- The name `target` is so overloaded, and in this case it's not even
related to target_ops or anything else called "target".
- We do have an implementation that actually fetches solibs from the
target (solib_target_so_op in solib-target.c), so it's confusing for
the "base class" to be called target_something as well.
Rename to solib_ops.
Change-Id: I46a983d44e81400470e22deb09aaf26ad8a3587f
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r-- | gdb/solib-svr4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index fe09c29..579fe6d 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -23,9 +23,9 @@ #include "solist.h" struct objfile; -struct target_so_ops; +struct solib_ops; -extern const struct target_so_ops svr4_so_ops; +extern const solib_ops svr4_so_ops; /* Link map info to include in an allocated so_list entry. */ |