mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
* arch-utils.c (gdbarch_info_fill): Also try core_bfd.
* corelow.c (core_read_description): New. (init_core_ops): Set to_read_description. * gdbarch.sh: Add gdbarch_core_read_description. * mips-linux-tdep.c (mips_linux_core_read_description): New. (mips_linux_init_abi): Call set_gdbarch_core_read_description. * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. (mips_register_g_packet_guesses): Use them. (_initialize_mips_tdep): Initialize them. * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. * gdbarch.h, gdbarch.c: Regenerated.
This commit is contained in:
@ -661,6 +661,8 @@ gdbarch_info_fill (struct gdbarch_info *info)
|
||||
/* Check for the current file. */
|
||||
if (info->abfd == NULL)
|
||||
info->abfd = exec_bfd;
|
||||
if (info->abfd == NULL)
|
||||
info->abfd = core_bfd;
|
||||
|
||||
/* Check for the current target description. */
|
||||
if (info->target_desc == NULL)
|
||||
|
Reference in New Issue
Block a user