Age | Commit message (Collapse) | Author | Files | Lines |
|
* target.c (target_translate_tls_address): Fix comment spelling error.
|
|
|
|
|
|
(DOUBLEST_SCAN_FORMAT): Likewise.
* dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
* ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
* c-exp.y (parse_number): Likewise.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
|
|
* gdb.ada/null_array.exp: New testcase.
|
|
(check_typedef): Likewise.
|
|
seen_double_big_d, treat the new H, D, and DD modifiers as length
modifiers.
* doc/gdb.texinfo (Output): Update documentation on using printf with DFP
types.
* testsuite/gdb.base/printcmds.exp (test_printf_with_dfp): Update
printf calls with required float modifiers.
|
|
|
|
|
|
* gdb.ada/funcall_param.exp: New testcase.
|
|
|
|
* gdb.ada/arrayparam.exp: New testcase.
|
|
Make non-static.
(ada_convert_actuals): Delete.
* ada-lang.h (ada_convert_actual): Add declaration.
(ada_convert_actuals): Remove declaration.
* infcall.c: #include "ada-lang.h".
(value_arg_coerce): Add new parameter sp. Update function
documetnation. Add handling of Ada function call parameters.
* Makefile.in (infcall.o): Update dependencies.
|
|
landed. Should also fix random failures in the test following it.
|
|
(convert_actual): Add handling for arguments passed by reference.
|
|
|
|
|
|
subsubsection.
(Decimal Floating Point format): New subsubsection.
|
|
for expressions with decimal float values.
(test_dfp_conversions): New function to test casts to and from
decimal float types.
Call test_dfp_conversions.
* gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
elements.
(main): Initialize ds.float4 and ds.double8 elements.
* gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
string to new error message.
(d64_set_tests): Likewise.
(d128_set_tests): Likewise.
Add tests for expressions with decimal float variables. Add tests for
conversions to and from decimal float types.
|
|
(valarith.o): Depend on dfp.h.
(valops.o): Likewise.
* dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
(set_decnumber_context): New function.
(decimal_check_errors): Likewise.
(decimal_from_number): Likewise.
(decimal_to_number): Likewise.
(decimal_from_string): Use set_decnumber_context and
decimal_check_errors.
(decimal_from_integral): New function.
(decimal_from_floating): Likewise.
(decimal_to_double): Likewise.
(promote_decimal): Likewise.
(decimal_binop): Likewise.
(decimal_is_zero): Likewise.
(decimal_compare): Likewise.
(decimal_convert): Likewise.
* dfp.h (decimal_from_integral): New prototype.
(decimal_from_floating): Likewise.
(decimal_to_double): Likewise.
(decimal_binop): Likewise.
(decimal_is_zero): Likewise.
(decimal_compare): Likewise.
(decimal_convert): Likewise.
* eval.c (evaluate_subexp_standard): Remove expect_type argument from
call to value_from_decfloat.
* valarith.c: Include dfp.h.
(value_args_as_decimal): New function.
(value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
(value_logical_not): Likewise.
(value_equal): Likewise.
(value_less): Likewise.
(value_pos): Likewise.
(value_neg): Formatting fix.
* valops.c: Include dfp.h.
(value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
* value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
(unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
(value_from_decfloat): Remove expect_type argument.
* value.h (value_from_decfloat): Update prototype.
|
|
execution, on Solaris. This also unbreaks pending breakpoints.
* solist.h (struct target_so_ops): New field same.
* solib-svr4.c (svr4_same): New.
(_initialize_svr4_solib): Register svr4_same.
* solib.c (update_solib_list): Use ops->same, if available.
|
|
|
|
using MS-DOS paths.
|
|
|
|
* NEWS: Mention --pid and --core command line behaviour changes.
gdb/doc/
* gdb.texinfo (File Options): Remove mention of the attempt to
open a core file with the -p option. Don't list -c as a valid
option to attach to a process.
|
|
* main.c (captured_main): Remove 'count' varible and the
ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
--pid options were issued simultaneously. If an explicit pid
option was passed, don't fallback to core file. Detect extra
arguments better in the presence of explicit pid or core
arguments.
gdb/doc/
* gdbint.texinfo (Host Conditionals): Remove mention of
ALIGN_STACK_ON_ENTRY.
|
|
* gdb.ada/packed_tagged.exp: New testcase.
|
|
the value of the discriminant when the variant record is packed.
|
|
describing how to update the source and documentation copyright
notices.
|
|
|
|
gdb.ada/homonym/homonym_main.adb: New files.
* gdb.ada/homonym.exp: New testcase.
|
|
that are used to differentiate homonyms.
|
|
a packed array.
|
|
when the type is an anonymous pointer type.
(ada_check_typedef): Avoid a seg fault when the type is null.
* ada-typeprint.c (print_array_type): Add support for pointer
to packed arrays.
|
|
New files.
* gdb.ada/type_coercion.exp: New testcase.
|
|
gdb.ada/tagged/foo.adb: New file.
* gdb.ada/tagged.exp: New testcase.
|
|
|
|
EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
|
|
gdb.ada/ptype_field/foo.adb: New files.
* gdb.ada/ptype_field.exp: New testcase.
|
|
(write_selectors): Rewrite to re-use chop_separator.
(ada_nget_field_index, get_symbol_field_type): New functions.
(write_var_or_type): Add support for "ptype TYPENAME.FIELD"
expressions.
|
|
|
|
of SYMBOL_VALUE when working with function symbols.
|
|
|
|
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
|
|
expressions. These expressions do not need to be rewriten.
|
|
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
|
|
the given die is a declaration.
|
|
* gdb.ada/array_bounds.exp: New testcase.
|
|
Handle properly the case when the index type is an enumerated type.
Do not return the subtype of the bounds type, just return the
bounds type directly - this is not needed and is more consistent
with what we do for arrays when no XA parallel type exists.
|
|
gdb.ada/arrayptr/foo.adb: New files.
* gdb.ada/arrayptr.exp: New testcase.
|