+2011-07-29 Tom Tromey <tromey@redhat.com>
+
+ * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
+ (library_list_start_segment): Update.
+ (library_list_start_section): Update.
+
2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
* varobj.c (value_get_print_value): Move hint check later into the
#include "gdb_string.h"
-DEF_VEC_O(CORE_ADDR);
+DEF_VEC_I(CORE_ADDR);
/* Private data for each loaded library. */
struct lm_info
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
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. */