aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 56c7fd2..2e597be 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -1092,6 +1092,16 @@ default_read_core_file_mappings
{
}
+/* See arch-utils.h. */
+bool
+default_use_target_description_from_corefile_notes (struct gdbarch *gdbarch,
+ struct bfd *corefile_bfd)
+{
+ /* Always trust the corefile target description contained in the target
+ description note. */
+ return true;
+}
+
CORE_ADDR
default_get_return_buf_addr (struct type *val_type, frame_info_ptr cur_frame)
{