Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX
authorJoel Brobecker <brobecker@gnat.com>
Tue, 7 May 2013 09:50:41 +0000 (09:50 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 7 May 2013 09:50:41 +0000 (09:50 +0000)
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.

gdb/rs6000-nat.c
gdb/solib-aix.c
gdb/target.h

index a16ccf2..2ac8b43 100644 (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
index 8c17a6f..f891af0 100644 (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);
index d77bcf2..8e650cf 100644 (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.  */