[rfc] Shared libraries over the remote protocol, take two
Jim Blandy
jimb@codesourcery.com
Mon Jun 18 20:10:00 GMT 2007
Daniel Jacobowitz <drow@false.org> writes:
> +/* Private data for each loaded library. */
> +struct lm_info
> +{
> + /* The library's name. The name is normally kept in the struct
> + so_list; it is only here during XML parsing. */
> + char *name;
> +
> + /* The number of entries in SEGMENT_BASES. */
> + int num_bases;
> +
> + /* The base addresses for each independently relocatable segment of
> + this shared library. */
> + CORE_ADDR *segment_bases;
> +
> + /* The cached offsets for each section of this shared library,
> + determined from SEGMENT_BASES. */
> + struct section_offsets *offsets;
> +};
I'm not too familiar with VECs, but is there some reason not to use a
VEC for segment_bases, as well?
More information about the Gdb-patches
mailing list