forked from Imagelibrary/binutils-gdb
gdb: Add aliases for read_core_file_mappings callbacks
Add aliases read_core_file_mappings_loop_ftype and read_core_file_mappings_pre_loop_ftype. Intended for use with read_core_file_mappings. Also add build_id parameter to read_core_file_mappings_loop_ftype.
This commit is contained in:
@@ -295,14 +295,9 @@ extern std::string default_get_pc_address_flags (frame_info *frame,
|
||||
CORE_ADDR pc);
|
||||
|
||||
/* Default implementation of gdbarch read_core_file_mappings method. */
|
||||
extern void default_read_core_file_mappings (struct gdbarch *gdbarch,
|
||||
struct bfd *cbfd,
|
||||
gdb::function_view<void (ULONGEST count)>
|
||||
pre_loop_cb,
|
||||
gdb::function_view<void (int num,
|
||||
ULONGEST start,
|
||||
ULONGEST end,
|
||||
ULONGEST file_ofs,
|
||||
const char *filename)>
|
||||
loop_cb);
|
||||
extern void default_read_core_file_mappings
|
||||
(struct gdbarch *gdbarch,
|
||||
struct bfd *cbfd,
|
||||
read_core_file_mappings_pre_loop_ftype pre_loop_cb,
|
||||
read_core_file_mappings_loop_ftype loop_cb);
|
||||
#endif /* ARCH_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user