From 4c72d57a4becb40ecc892be2cf5e62d40fd45ea9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 25 Jan 2004 00:58:53 +0000 Subject: [PATCH] * sparc-tdep.c (sparc32_gdbarch_init): Don't require TDEP->fpregset to be initialized to enable core file register sets. --- gdb/ChangeLog | 6 ++++++ gdb/sparc-tdep.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1bba3686cf0..4def11d5ef6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-01-25 Mark Kettenis + + * sparc-tdep.c (sparc32_gdbarch_init): Don't require + TDEP->fpregset to be initialized to enable core file register + sets. + 2004-01-24 Mark Kettenis * sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg): diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index fcaf0f437bf..05bac9a1a55 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -1113,7 +1113,7 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) frame_unwind_append_sniffer (gdbarch, sparc32_frame_sniffer); /* If we have register sets, enable the generic core file support. */ - if (tdep->gregset && tdep->fpregset) + if (tdep->gregset) set_gdbarch_regset_from_core_section (gdbarch, sparc_regset_from_core_section); -- 2.30.2