* doublest.h (DOUBLEST): Use long double only if we can scan
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 14 Feb 2006 18:45:14 +0000 (18:45 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 14 Feb 2006 18:45:14 +0000 (18:45 +0000)
commit96c1eda247c7846f4bbd32d65db6819baefad08b
tree9bc74063c6c31a5947f17bf6da9c2b5c54d76434
parent92dd43fa3bc92e0a97408eaa406143c41460581c
* doublest.h (DOUBLEST): Use long double only if we can scan
it in.  Undefine HAVE_LONG_DOUBLE otherwise.
(DOUBLEST_FORMAT): New.
* c-exp.y (parse_number): Use it.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* varobj.c (free_variable): Silence type-punning warnings.
* tui/tui-data.h (struct tui_list): Change type of list member.
* tui/tui-data.c: Remove no-longer-needed type casts.
(source_windows): Silence type-punning warnings.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
12 files changed:
gdb/ChangeLog
gdb/c-exp.y
gdb/doublest.h
gdb/jv-exp.y
gdb/objc-exp.y
gdb/p-exp.y
gdb/tui/tui-data.c
gdb/tui/tui-data.h
gdb/tui/tui-stack.c
gdb/tui/tui-win.c
gdb/tui/tui-winsource.c
gdb/varobj.c