aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-07 09:50:41 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-07 09:50:41 +0000
commitff99b71b224df9f65ba8e7a588c944483bbcb5ef (patch)
treee608ade3a20eaeb0c507bda22bbb055752810e1b
parent26a4dda9e5c3de44c1540ab835e909f83583589d (diff)
downloadgdb-ff99b71b224df9f65ba8e7a588c944483bbcb5ef.zip
gdb-ff99b71b224df9f65ba8e7a588c944483bbcb5ef.tar.gz
gdb-ff99b71b224df9f65ba8e7a588c944483bbcb5ef.tar.bz2
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.
-rw-r--r--gdb/rs6000-nat.c6
-rw-r--r--gdb/solib-aix.c6
-rw-r--r--gdb/target.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index a16ccf2..2ac8b43 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 8c17a6f..f891af0 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 (&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);
diff --git a/gdb/target.h b/gdb/target.h
index d77bcf2..8e650cf 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. */