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] |
This patch add new interface core_relocate to gdbarch, because the core file of OSE need relocation. This interface can handle it. Add TARGET_OBJECT_LOAD_MAP make GDB can get load map from target. Add a new function relocate_with_load_map to do relocation from the map that load from target.
Thanks, Hui
* corelow.c (core_open): Call gdbarch_core_relocate. * exec.c (relocate_with_load_map): New. * exec.h (load_map_info): New. (relocate_with_load_map): New extern. * gdbarch.sh (core_relocate): New. * gdbarch.h, gdbarch.c: Regenerate. * target.h (target_object): Add TARGET_OBJECT_LOAD_MAP.
Attachment:
ose_load_map.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |