From: Joel Brobecker Date: Tue, 7 May 2013 09:50:41 +0000 (+0000) Subject: Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff99b71b224df9f65ba8e7a588c944483bbcb5ef;p=binutils-gdb.git Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX More consistent with the name of other similar object names. gdb/ChangeLog: * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]: Renames TARGET_OBJECT_AIX_LIBRARIES. * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with TARGET_OBJECT_LIBRARIES_AIX throughout. * solib-aix.c: Likwise. --- diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index a16ccf267cc..2ac8b43d733 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -424,7 +424,7 @@ rs6000_xfer_partial (struct target_ops *ops, enum target_object object, switch (object) { - case TARGET_OBJECT_AIX_LIBRARIES: + case TARGET_OBJECT_LIBRARIES_AIX: return rs6000_xfer_shared_libraries (ops, object, annex, readbuf, writebuf, offset, len); @@ -745,7 +745,7 @@ rs6000_core_ldinfo (bfd *abfd) } /* Append to OBJSTACK an XML string description of the shared library - corresponding to LDI, following the TARGET_OBJECT_AIX_LIBRARIES + corresponding to LDI, following the TARGET_OBJECT_LIBRARIES_AIX format. */ static void @@ -811,7 +811,7 @@ rs6000_xfer_shared_library (LdInfo *ldi, struct obstack *obstack) } /* Implement the to_xfer_partial target_ops method for - TARGET_OBJECT_AIX_LIBRARIES objects. */ + TARGET_OBJECT_LIBRARIES_AIX objects. */ static LONGEST rs6000_xfer_shared_libraries diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c index 8c17a6f1b88..f891af0293c 100644 --- a/gdb/solib-aix.c +++ b/gdb/solib-aix.c @@ -296,11 +296,11 @@ solib_aix_get_library_list (struct inferior *inf, const char *warning_msg) return data->library_list; library_document = target_read_stralloc (¤t_target, - TARGET_OBJECT_AIX_LIBRARIES, + TARGET_OBJECT_LIBRARIES_AIX, NULL); if (library_document == NULL && warning_msg != NULL) { - warning (_("%s (failed to read TARGET_OBJECT_AIX_LIBRARIES)"), + warning (_("%s (failed to read TARGET_OBJECT_LIBRARIES_AIX)"), warning_msg); return NULL; } @@ -308,7 +308,7 @@ solib_aix_get_library_list (struct inferior *inf, const char *warning_msg) if (solib_aix_debug) fprintf_unfiltered (gdb_stdlog, - "DEBUG: TARGET_OBJECT_AIX_LIBRARIES = \n%s\n", + "DEBUG: TARGET_OBJECT_LIBRARIES_AIX = \n%s\n", library_document); data->library_list = solib_aix_parse_libraries (library_document); diff --git a/gdb/target.h b/gdb/target.h index d77bcf27ee2..8e650cf4790 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -262,7 +262,7 @@ enum target_object /* Currently loaded libraries specific for SVR4 systems, in XML format. */ TARGET_OBJECT_LIBRARIES_SVR4, /* Currently loaded libraries specific to AIX systems, in XML format. */ - TARGET_OBJECT_AIX_LIBRARIES, + TARGET_OBJECT_LIBRARIES_AIX, /* Get OS specific data. The ANNEX specifies the type (running processes, etc.). The data being transfered is expected to follow the DTD specified in features/osdata.dtd. */