* parser-defs.h (parse_float, parse_c_float): Declare. * parse.c (parse_float, parse_c_float): New function. * c-exp.y (parse_number): Call parse_c_float. * objc-exp.y (parse_number): Ditto. * p-exp.y (parse_number): Ditto. Use ANSI/ISO-style definition. * jv-exp.y (parse_number): Call parse_float, fix suffix handling. testsuite/ * gdb.base/printcmds.exp (test_float_accepted): New function. Move existing float tests there. Add tests for floats with suffixes. (test_float_rejected): New function. * gdb.java/jv-print.exp (test_float_accepted): New function. (test_float_rejected): New function. * gdb.objc/print.exp: New file. * gdb.pascal/print.exp: New file. * lib/objc.exp: New file. |
||
|---|---|---|
| .. | ||
| ada.exp | ||
| cell.exp | ||
| compiler.c | ||
| compiler.cc | ||
| cp-support.exp | ||
| fortran.exp | ||
| gdb.exp | ||
| gdbserver-support.exp | ||
| java.exp | ||
| mi-support.exp | ||
| objc.exp | ||
| pascal.exp | ||
| prelink-support.exp | ||
| set_unbuffered_mode.c | ||
| trace-support.exp | ||