* solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
authorTom Tromey <tromey@redhat.com>
Fri, 29 Jul 2011 17:38:47 +0000 (17:38 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 29 Jul 2011 17:38:47 +0000 (17:38 +0000)
(library_list_start_segment): Update.
(library_list_start_section): Update.

gdb/ChangeLog
gdb/solib-target.c

index 2183d5bf0eefa1c114fb879225f3f9e026fc20ad..84ac5a2e0a8689ef8ef4b7d3a268f7423689c2bb 100644 (file)
@@ -1,3 +1,9 @@
+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
index b6032e067f592b12504079e160248bc3205c933d..54a6cf00a67afc5b67be2f18289088a284f471f5 100644 (file)
@@ -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.  */
This page took 0.037017 seconds and 4 git commands to generate.