summaryrefslogtreecommitdiff
path: root/gdb/solib-target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-07-29 17:38:46 +0000
committerTom Tromey <tromey@redhat.com>2011-07-29 17:38:46 +0000
commitd619a45290a1c0f322ce537f59feb3a88f802cf4 (patch)
tree65d25b6dc12f12a0b541122fb0bdb3cd8cd14f21 /gdb/solib-target.c
parentd19e6d6cc5e359264b13ac2040b5f09e03c985a8 (diff)
downloadgdb-d619a45290a1c0f322ce537f59feb3a88f802cf4.tar.gz
* solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
(library_list_start_segment): Update. (library_list_start_section): Update.
Diffstat (limited to 'gdb/solib-target.c')
-rw-r--r--gdb/solib-target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/solib-target.c b/gdb/solib-target.c
index b6032e067f5..54a6cf00a67 100644
--- a/gdb/solib-target.c
+++ b/gdb/solib-target.c
@@ -28,7 +28,7 @@
#include "gdb_string.h"
-DEF_VEC_O(CORE_ADDR);
+DEF_VEC_I(CORE_ADDR);
/* Private data for each loaded library. */
struct lm_info
@@ -93,7 +93,7 @@ library_list_start_segment (struct gdb_xml_parser *parser,
gdb_xml_error (parser,
_("Library list with both segments and sections"));
- VEC_safe_push (CORE_ADDR, last->segment_bases, &address);
+ VEC_safe_push (CORE_ADDR, last->segment_bases, address);
}
static void
@@ -110,7 +110,7 @@ library_list_start_section (struct gdb_xml_parser *parser,
gdb_xml_error (parser,
_("Library list with both segments and sections"));
- VEC_safe_push (CORE_ADDR, last->section_bases, &address);
+ VEC_safe_push (CORE_ADDR, last->section_bases, address);
}
/* Handle the start of a <library> element. */