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.
This commit is contained in:
Joel Brobecker 2013-05-07 09:50:41 +00:00
parent 26a4dda9e5
commit ff99b71b22
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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 (&current_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);

View File

@ -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. */