* gdbtypes.c (create_array_type): Add handling of null Ada arrays.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2008-01-09 Joel Brobecker <brobecker@adacore.com>
2
3 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
4 (check_typedef): Likewise.
5
6 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7
8 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
9 seen_double_big_d, treat the new H, D, and DD modifiers as length
10 modifiers.
11
12 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13
14 * dwarf2read.c (read_enumeration_type): Add comment.
15
16 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
17
18 * config.in: Regenerate.
19
20 2008-01-08 Joel Brobecker <brobecker@adacore.com>
21
22 * ada-lang.c (ada_convert_actual): Renames convert_actual.
23 Make non-static.
24 (ada_convert_actuals): Delete.
25 * ada-lang.h (ada_convert_actual): Add declaration.
26 (ada_convert_actuals): Remove declaration.
27 * infcall.c: #include "ada-lang.h".
28 (value_arg_coerce): Add new parameter sp. Update function
29 documetnation. Add handling of Ada function call parameters.
30 * Makefile.in (infcall.o): Update dependencies.
31
32 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
33
34 * ada-lang.c (ensure_lval): Fix value lval kind.
35 (convert_actual): Add handling for arguments passed by reference.
36
37 2008-01-08 Doug Evans <dje@google.com>
38
39 * dbxread.c (read_dbx_symtab): Fix indentation.
40
41 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
42
43 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
44 (valarith.o): Depend on dfp.h.
45 (valops.o): Likewise.
46 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
47 (set_decnumber_context): New function.
48 (decimal_check_errors): Likewise.
49 (decimal_from_number): Likewise.
50 (decimal_to_number): Likewise.
51 (decimal_from_string): Use set_decnumber_context and
52 decimal_check_errors.
53 (decimal_from_integral): New function.
54 (decimal_from_floating): Likewise.
55 (decimal_to_double): Likewise.
56 (promote_decimal): Likewise.
57 (decimal_binop): Likewise.
58 (decimal_is_zero): Likewise.
59 (decimal_compare): Likewise.
60 (decimal_convert): Likewise.
61 * dfp.h (decimal_from_integral): New prototype.
62 (decimal_from_floating): Likewise.
63 (decimal_to_double): Likewise.
64 (decimal_binop): Likewise.
65 (decimal_is_zero): Likewise.
66 (decimal_compare): Likewise.
67 (decimal_convert): Likewise.
68 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
69 call to value_from_decfloat.
70 * valarith.c: Include dfp.h.
71 (value_args_as_decimal): New function.
72 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
73 (value_logical_not): Likewise.
74 (value_equal): Likewise.
75 (value_less): Likewise.
76 (value_pos): Likewise.
77 (value_neg): Formatting fix.
78 * valops.c: Include dfp.h.
79 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
80 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
81 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
82 (value_from_decfloat): Remove expect_type argument.
83 * value.h (value_from_decfloat): Update prototype.
84
85 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
86
87 Ignore change in name of dynamic linker during
88 execution on Solaris. This also unbreaks pending breakpoints.
89
90 * solist.h (struct target_so_ops): New field same.
91 * solib-svr4.c (svr4_same): New.
92 (_initialize_svr4_solib): Register svr4_same.
93 * solib.c (update_solib_list): Use ops->same, if available.
94
95 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
96
97 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
98 when using MS-DOS paths.
99
100 2008-01-05 Pedro Alves <pedro@codesourcery.com>
101
102 * NEWS: Mention --pid and --core command line behaviour changes.
103
104 2008-01-05 Pedro Alves <pedro@codesourcery.com>
105
106 * main.c (captured_main): Remove 'count' varible and the
107 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
108 --pid options were issued simultaneously. If an explicit pid
109 option was passed, don't fallback to core file. Detect extra
110 arguments better in the presence of explicit pid or core
111 arguments.
112
113 2008-01-05 Joel Brobecker <brobecker@adacore.com>
114
115 * ada-lang.c (ada_which_variant_applies): Correctly compute
116 the value of the discriminant when the variant record is packed.
117
118 2008-01-04 Joel Brobecker <brobecker@adacore.com>
119
120 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
121 that are used to differentiate homonyms.
122
123 2008-01-04 Jerome Guitton <guitton@adacore.com>
124
125 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
126 when the type is an anonymous pointer type.
127 (ada_check_typedef): Avoid a seg fault when the type is null.
128 * ada-typeprint.c (print_array_type): Add support for pointer
129 to packed arrays.
130
131 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
132
133 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
134
135 2008-01-04 Joel Brobecker <brobecker@adacore.com>
136
137 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
138 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
139
140 2008-01-04 Joel Brobecker <brobecker@adacore.com>
141
142 * ada-exp.y (chop_separator): New function.
143 (write_selectors): Rewrite to re-use chop_separator.
144 (ada_nget_field_index, get_symbol_field_type): New functions.
145 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
146 expressions.
147
148 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
149
150 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
151 of SYMBOL_VALUE when working with function symbols.
152
153 2008-01-03 Joel Brobecker <brobecker@adacore.com>
154
155 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
156 expressions. These expressions do not need to be rewriten.
157
158 2008-01-03 Joel Brobecker <brobecker@adacore.com>
159
160 * dwarf2read.c (read_enumeration_type): Flag type as stub if
161 the given die is a declaration.
162
163 2008-01-03 Joel Brobecker <brobecker@adacore.com>
164
165 * ada-lang.c (ada_array_bound_from_type): Make non-static.
166 Handle properly the case when the index type is an enumerated type.
167 Do not return the subtype of the bounds type, just return the
168 bounds type directly - this is not needed and is more consistent
169 with what we do for arrays when no XA parallel type exists.
170
171 2008-01-03 Joel Brobecker <brobecker@adacore.com>
172
173 * ada-lang.c (static_unwrap_type): Add forward declaration.
174 (template_to_static_fixed_type): Fields of dynamic types sometimes
175 also need to be unwrapped. Take this into account.
176 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
177 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
178 * ada-typeprint.c (ada_print_type): Get the typename from
179 the original type, not the base type.
180
181 2008-01-03 Jerome Guitton <guitton@adacore.com>
182
183 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
184 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
185 Update calls to ada_to_fixed_type.
186 (ada_template_to_fixed_record_type_1): Ditto, but without looking
187 for the tag.
188 (ada_to_fixed_type): Add check_tag parameter; do not look for
189 tag if null. When looking for a tag, use a fixed record type.
190 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
191 * ada-valprint.c (printable_val_type, ada_value_print): Update
192 calls to ada_to_fixed_type.
193
194 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
195
196 * doublest.c (convert_floatformat_to_doublest): Call
197 floatformat_to_doublest instead of floatformat_to_double and use
198 DOUBLEST variables.
199 (convert_doublest_to_floatformat): Call floatformat_from_doublest
200 instead of floatformat_from_double and use DOUBLEST variables.
201
202 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
203
204 * MAINTAINERS (Write After Approval): Add self.
205
206 2008-01-03 Joel Brobecker <brobecker@adacore.com>
207
208 * symfile.c (set_initial_language): Make non-static.
209 * symfile.h (set_initial_language): Add declaration.
210 * language.c: #include "symfile.h".
211 (set_language): Call set_initial_language if the frame language
212 could not be determined.
213
214 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
215
216 * eval.c (evaluate_subexp_for_address): Provide frame address to
217 locate_var_value only if it will be needed.
218
219 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
222
223 2008-01-02 Joel Brobecker <brobecker@adacore.com>
224
225 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
226 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
227 This is needed to make sure that any other treatment applied
228 to the resulting value does not fail for spurious reason,
229 such as trying to take the address of this value.
230
231 2008-01-02 Joel Brobecker <brobecker@adacore.com>
232
233 * ada-lang.c (ada_value_equal): Dereference reference types when
234 comparing arrays.
235
236 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
237
238 Updated copyright notices for most files.
239
240 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
241
242 * win32-nat.c (psapi_module_handle): Remove static.
243 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
244 return first module found if base_address is zero. Don't initialize
245 psapi function pointers here. Convert to cygwin paths when
246 appropriate.
247 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
248 executable name. Use get_module_name when that fails or when
249 !__CYGWIN__.
250 (_initialize_psapi): New function. Initialize psapi stuff before it is
251 needed or issue a warning if it is not found. Move psapi_module_handle
252 here.
253
254 2008-01-01 Joel Brobecker <brobecker@adacore.com>
255
256 * ada-lang.c (ada_remove_trailing_digits): New function.
257 (ada_remove_po_subprogram_suffix): New function.
258 (ada_decode): Improve. Move the description of the algorithm
259 directly inside the code, instead of in the function global
260 description.
261
262 2008-01-01 Joel Brobecker <brobecker@adacore.com>
263
264 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
265 and always print the dereferenced value.
266
267 2008-01-01 Joel Brobecker <brobecker@adacore.com>
268
269 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
270 of the case where the first argument is a reference.
271 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
272
273 2008-01-01 Joel Brobecker <brobecker@adacore.com>
274
275 Implement support for Ada interface types.
276
277 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
278 (ada_is_ignored_field): Ignore fields that are a dispatch table
279 of a tagged type.
280
281 2008-01-01 Joel Brobecker <brobecker@adacore.com>
282
283 * top.c (print_gdb_version): Update copyright year.
284
285 2008-01-01 Joel Brobecker <brobecker@adacore.com>
286
287 * ChangeLog-2007: New ChangeLog rotation.
288 * ChangeLog: Reset for 2008.
289 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
290 ChangeLog-2007.
291
292 For older changes see ChangeLog-2007.
293 \f
294 Local Variables:
295 mode: change-log
296 left-margin: 8
297 fill-column: 74
298 version-control: never
299 coding: utf-8
300 End:
This page took 0.037699 seconds and 5 git commands to generate.