* corelow.c (add_to_thread_list): Make sure reg_sect is non-null
authorStu Grossman <grossman@cygnus>
Wed, 17 Apr 1996 00:48:09 +0000 (00:48 +0000)
committerStu Grossman <grossman@cygnus>
Wed, 17 Apr 1996 00:48:09 +0000 (00:48 +0000)
commit8eff3c7fe69220db3075e551f6cef34271f40d4c
tree7d9a8da9c45f20f7d6a919b7452cfccc43e7ca4c
parent603fdf16796dd46c9b9e1ba605a3bc79fed7f552
* corelow.c (add_to_thread_list):  Make sure reg_sect is non-null
before de-referencing it.  Prevents deref of NULL pointer if core
file lacks .reg section.
* defs.h:  Rename floatformat_{to from}_long_double to
floatformat_{to from}_doublest.  Get rid of FLOATFORMAT_{TO
FROM}... macros.
* findvar.c (extract_floating store_floating):  Change all refs to
FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
* utils.c:  Change floatformat_{to from}_long_double to
floatformat_{to from}_doublest cuz the new routines will use
whatever size (double or long double) is appropriate.
* config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
REGISTER_CONVERT_TO_RAW):  Change FLOATFORMAT... macros to
floatformat... routine calls.
gdb/ChangeLog
gdb/config/i960/tm-i960.h
gdb/corelow.c