* ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
[binutils-gdb.git] / gdb / ChangeLog
1 2008-01-04 Joel Brobecker <brobecker@adacore.com>
2
3 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
4 that are used to differentiate homonyms.
5
6 2008-01-04 Jerome Guitton <guitton@adacore.com>
7
8 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
9 when the type is an anonymous pointer type.
10 (ada_check_typedef): Avoid a seg fault when the type is null.
11 * ada-typeprint.c (print_array_type): Add support for pointer
12 to packed arrays.
13
14 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
15
16 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
17
18 2008-01-04 Joel Brobecker <brobecker@adacore.com>
19
20 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
21 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
22
23 2008-01-04 Joel Brobecker <brobecker@adacore.com>
24
25 * ada-exp.y (chop_separator): New function.
26 (write_selectors): Rewrite to re-use chop_separator.
27 (ada_nget_field_index, get_symbol_field_type): New functions.
28 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
29 expressions.
30
31 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
32
33 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
34 of SYMBOL_VALUE when working with function symbols.
35
36 2008-01-03 Joel Brobecker <brobecker@adacore.com>
37
38 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
39 expressions. These expressions do not need to be rewriten.
40
41 2008-01-03 Joel Brobecker <brobecker@adacore.com>
42
43 * dwarf2read.c (read_enumeration_type): Flag type as stub if
44 the given die is a declaration.
45
46 2008-01-03 Joel Brobecker <brobecker@adacore.com>
47
48 * ada-lang.c (ada_array_bound_from_type): Make non-static.
49 Handle properly the case when the index type is an enumerated type.
50 Do not return the subtype of the bounds type, just return the
51 bounds type directly - this is not needed and is more consistent
52 with what we do for arrays when no XA parallel type exists.
53
54 2008-01-03 Joel Brobecker <brobecker@adacore.com>
55
56 * ada-lang.c (static_unwrap_type): Add forward declaration.
57 (template_to_static_fixed_type): Fields of dynamic types sometimes
58 also need to be unwrapped. Take this into account.
59 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
60 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
61 * ada-typeprint.c (ada_print_type): Get the typename from
62 the original type, not the base type.
63
64 2008-01-03 Jerome Guitton <guitton@adacore.com>
65
66 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
67 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
68 Update calls to ada_to_fixed_type.
69 (ada_template_to_fixed_record_type_1): Ditto, but without looking
70 for the tag.
71 (ada_to_fixed_type): Add check_tag parameter; do not look for
72 tag if null. When looking for a tag, use a fixed record type.
73 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
74 * ada-valprint.c (printable_val_type, ada_value_print): Update
75 calls to ada_to_fixed_type.
76
77 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
78
79 * doublest.c (convert_floatformat_to_doublest): Call
80 floatformat_to_doublest instead of floatformat_to_double and use
81 DOUBLEST variables.
82 (convert_doublest_to_floatformat): Call floatformat_from_doublest
83 instead of floatformat_from_double and use DOUBLEST variables.
84
85 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
86
87 * MAINTAINERS (Write After Approval): Add self.
88
89 2008-01-03 Joel Brobecker <brobecker@adacore.com>
90
91 * symfile.c (set_initial_language): Make non-static.
92 * symfile.h (set_initial_language): Add declaration.
93 * language.c: #include "symfile.h".
94 (set_language): Call set_initial_language if the frame language
95 could not be determined.
96
97 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
98
99 * eval.c (evaluate_subexp_for_address): Provide frame address to
100 locate_var_value only if it will be needed.
101
102 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
103
104 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
105
106 2008-01-02 Joel Brobecker <brobecker@adacore.com>
107
108 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
109 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
110 This is needed to make sure that any other treatment applied
111 to the resulting value does not fail for spurious reason,
112 such as trying to take the address of this value.
113
114 2008-01-02 Joel Brobecker <brobecker@adacore.com>
115
116 * ada-lang.c (ada_value_equal): Dereference reference types when
117 comparing arrays.
118
119 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
120
121 Updated copyright notices for most files.
122
123 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
124
125 * win32-nat.c (psapi_module_handle): Remove static.
126 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
127 return first module found if base_address is zero. Don't initialize
128 psapi function pointers here. Convert to cygwin paths when
129 appropriate.
130 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
131 executable name. Use get_module_name when that fails or when
132 !__CYGWIN__.
133 (_initialize_psapi): New function. Initialize psapi stuff before it is
134 needed or issue a warning if it is not found. Move psapi_module_handle
135 here.
136
137 2008-01-01 Joel Brobecker <brobecker@adacore.com>
138
139 * ada-lang.c (ada_remove_trailing_digits): New function.
140 (ada_remove_po_subprogram_suffix): New function.
141 (ada_decode): Improve. Move the description of the algorithm
142 directly inside the code, instead of in the function global
143 description.
144
145 2008-01-01 Joel Brobecker <brobecker@adacore.com>
146
147 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
148 and always print the dereferenced value.
149
150 2008-01-01 Joel Brobecker <brobecker@adacore.com>
151
152 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
153 of the case where the first argument is a reference.
154 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
155
156 2008-01-01 Joel Brobecker <brobecker@adacore.com>
157
158 Implement support for Ada interface types.
159
160 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
161 (ada_is_ignored_field): Ignore fields that are a dispatch table
162 of a tagged type.
163
164 2008-01-01 Joel Brobecker <brobecker@adacore.com>
165
166 * top.c (print_gdb_version): Update copyright year.
167
168 2008-01-01 Joel Brobecker <brobecker@adacore.com>
169
170 * ChangeLog-2007: New ChangeLog rotation.
171 * ChangeLog: Reset for 2008.
172 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
173 ChangeLog-2007.
174
175 For older changes see ChangeLog-2007.
176 \f
177 Local Variables:
178 mode: change-log
179 left-margin: 8
180 fill-column: 74
181 version-control: never
182 coding: utf-8
183 End: