mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-17 07:40:07 +08:00
gdb: rename lm_info_base to lm_info
The base class doesn't need to have "_base" in its name, all the sub-classes have a specific suffix. Change-Id: I87652105cfedd87898770a81f0eda343ff7f2bdb Approved-By: Pedro Alves <pedro@palves.net> Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
/* Our private data in struct so_list. */
|
||||
|
||||
struct lm_info_aix : public lm_info_base
|
||||
struct lm_info_aix : public lm_info
|
||||
{
|
||||
/* The name of the file mapped by the loader. Apart from the entry
|
||||
for the main executable, this is usually a shared library (which,
|
||||
|
||||
@@ -135,7 +135,7 @@ darwin_load_image_infos (struct darwin_info *info)
|
||||
|
||||
/* Link map info to include in an allocated so_list entry. */
|
||||
|
||||
struct lm_info_darwin : public lm_info_base
|
||||
struct lm_info_darwin : public lm_info
|
||||
{
|
||||
/* The target location of lm. */
|
||||
CORE_ADDR lm_addr = 0;
|
||||
|
||||
@@ -123,7 +123,7 @@ struct dbst_ext_link_map
|
||||
|
||||
/* Link map info to include in an allocated so_list entry */
|
||||
|
||||
struct lm_info_dsbt : public lm_info_base
|
||||
struct lm_info_dsbt : public lm_info
|
||||
{
|
||||
~lm_info_dsbt ()
|
||||
{
|
||||
|
||||
@@ -196,7 +196,7 @@ struct ext_link_map
|
||||
|
||||
/* Link map info to include in an allocated so_list entry. */
|
||||
|
||||
struct lm_info_frv : public lm_info_base
|
||||
struct lm_info_frv : public lm_info
|
||||
{
|
||||
~lm_info_frv ()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ extern const struct target_so_ops svr4_so_ops;
|
||||
|
||||
/* Link map info to include in an allocated so_list entry. */
|
||||
|
||||
struct lm_info_svr4 : public lm_info_base
|
||||
struct lm_info_svr4 : public lm_info
|
||||
{
|
||||
/* Amount by which addresses in the binary should be relocated to
|
||||
match the inferior. The direct inferior value is L_ADDR_INFERIOR.
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "inferior.h"
|
||||
|
||||
/* Private data for each loaded library. */
|
||||
struct lm_info_target : public lm_info_base
|
||||
struct lm_info_target : public lm_info
|
||||
{
|
||||
/* The library's name. The name is normally kept in the struct
|
||||
so_list; it is only here during XML parsing. */
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
/* Base class for target-specific link map information. */
|
||||
|
||||
struct lm_info_base
|
||||
struct lm_info
|
||||
{
|
||||
};
|
||||
|
||||
@@ -43,7 +43,7 @@ struct so_list
|
||||
will be a copy of struct link_map from the user process, but
|
||||
it need not be; it can be any collection of data needed to
|
||||
traverse the dynamic linker's data structures. */
|
||||
lm_info_base *lm_info = nullptr;
|
||||
struct lm_info *lm_info = nullptr;
|
||||
|
||||
/* Shared object file name, exactly as it appears in the
|
||||
inferior's link map. This may be a relative path, or something
|
||||
|
||||
Reference in New Issue
Block a user