aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-25 00:58:53 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-25 00:58:53 +0000
commit4c72d57a4becb40ecc892be2cf5e62d40fd45ea9 (patch)
tree2afb3027a69d35dc8d06020f0eec40b2330eb6f3 /gdb/sparc-tdep.c
parent0b69dc6c23cf2242d59e2d58e7263b3f2833429a (diff)
downloadgdb-4c72d57a4becb40ecc892be2cf5e62d40fd45ea9.zip
gdb-4c72d57a4becb40ecc892be2cf5e62d40fd45ea9.tar.gz
gdb-4c72d57a4becb40ecc892be2cf5e62d40fd45ea9.tar.bz2
* sparc-tdep.c (sparc32_gdbarch_init): Don't require
TDEP->fpregset to be initialized to enable core file register sets.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index fcaf0f4..05bac9a 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);