diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-25 00:58:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-25 00:58:53 +0000 |
commit | 4c72d57a4becb40ecc892be2cf5e62d40fd45ea9 (patch) | |
tree | 2afb3027a69d35dc8d06020f0eec40b2330eb6f3 /gdb | |
parent | 0b69dc6c23cf2242d59e2d58e7263b3f2833429a (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1bba368..4def11d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-01-25 Mark Kettenis <kettenis@gnu.org> + + * 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 <kettenis@gnu.org> * sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg): 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); |