This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
This patch add relocation support to remote target. If target support qXfer:load-map:read, it use this packet to request a list of segment or section load addresses of the main executable. If target doesn't support it, use qOffsets that support in before request section offsets.
Thanks, Hui
* corelow.c (Makefile.in): Add load-map.dtd. * features/load-map.dtd: New. * remote.c (get_offsets): Removed. (PACKET_qXfer_load_map, load_map_start_segment, load_map_start_section, load_map_start, load_map_end, free_load_map, free_current_contents_load_map, segment_attributes, section_attributes, load_map_children, load_map_attributes, load_map_elements, parse_load_map, remote_relocate_using_qXfer_load_map, remote_relocate_using_qOffsets, remote_relocate): New. (remote_start_remote): Call remote_relocate. (remote_pr): Add qXfer:load-map:read. (extended_remote_attach_1): Call remote_relocate. (remote_xfer_partial): Handle TARGET_OBJECT_LOAD_MAP. (_initialize_remote): Add load-map command.
Attachment:
ose_load_map_remote.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |