OSDN Git Service

* doublest.h (DOUBLEST): Use long double only if we can scan
authoraoliva <aoliva>
Tue, 14 Feb 2006 18:45:13 +0000 (18:45 +0000)
committeraoliva <aoliva>
Tue, 14 Feb 2006 18:45:13 +0000 (18:45 +0000)
commit7006efe54f65d44335a15642f39a3f73afbdd534
treeeee4c1ba655e01fbc8dc0cb52a4bd74e4b013468
parent900e4919e60da1dfc51950fa39380b2ec3c83c95
* 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