diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-07-09 19:29:56 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-07-09 19:29:56 +0000 |
commit | c3e5cd34c66fcdcf2acf562249d583932aa9688c (patch) | |
tree | d71f38276cc385b3901a4e9a34447b16988042cd /gdb/ada-exp.y | |
parent | e525914fa74e7f8b6abc0d2103b27555e30dcc8f (diff) | |
download | gdb-c3e5cd34c66fcdcf2acf562249d583932aa9688c.zip gdb-c3e5cd34c66fcdcf2acf562249d583932aa9688c.tar.gz gdb-c3e5cd34c66fcdcf2acf562249d583932aa9688c.tar.bz2 |
Remove ARI problems:
* ada-exp.y (write_var_from_sym): Reformat to put operator at
beginning of line.
* ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
Add comment.
Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
(MIN_OF_SIZE): Rename min_of_size. Add comment.
(UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
(UMIN_OF_SIZE): Remove.
(max_of_type): New function to replace orphan macro in gdbtypes.h
(min_of_type): Ditto.
(discrete_type_high_bound): Use max_of_type.
(discrete_type_low_bound): Use min_of_type.
(possible_user_operator_p): Move operator to beginning of line.
(ada_is_variant_part): Ditto.
(ensure_lval): Rewrite to avoid deprecated operations.
(ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
rather than adding DEPRECATED_FUNCTION_START_OFFSET.
(ada_enum_name): Remove assignments in 'if' statements.
(build_ada_types): Add gdbarch parameter.
(_initialize_ada_language): Replace deprecated_register_gdbarch_swap
with gdbarch_data_register_post_init.
Use add_setshow_uinteger_cmd rather than add_set_cmd and
add_show_from_set.
* ada-valprint.c (inspect_it): Remove declaration.
(repeat_count_threshold): Remove declaration.
(ada_print_floating): Remove assignments in 'if' statements.
(print_str): Move operator to beginning of line.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index a01eff4..9e91817 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -644,8 +644,8 @@ write_var_from_sym (struct block *orig_left_context, { if (orig_left_context == NULL && symbol_read_needs_frame (sym)) { - if (innermost_block == 0 || - contained_in (block, innermost_block)) + if (innermost_block == 0 + || contained_in (block, innermost_block)) innermost_block = block; } |