This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Shared libraries over the remote protocol, take two


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]