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