* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
[binutils-gdb.git] / gdb / ChangeLog
1 2008-01-21 Kevin Buettner <kevinb@redhat.com>
2
3 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
4 sigcontext struct via pointer.
5 (struct sigframe comment): Update to show new field `psc'.
6
7 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
8
9 * infrun.c (handle_inferior_event): If
10 we failed to remove breakpoints, error,
11 don't try to increment PC by hand.
12
13 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
14
15 Add NetBSD/hppa target and host support.
16
17 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
18 (hppabsd_gregset): Move to ...
19 (hppabsd_regset_from_core_section): Rename
20 hppaobsd_regset_from_core_section and move to ...
21 (hppabsd_find_global_pointer): Update comment.
22 (hppabsd_init_abi): Make global. Do not register
23 hppabsd_regset_from_core_section.
24 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
25 move to ...
26 (_initialize_hppabsd_tdep): Move to ...
27 * hppaobsd-tdep.c: ... here. New file.
28 * hppnbsd-tdep.c: New file.
29 * hppnbsd-nat.c: New file.
30 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
31 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
32 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
33 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
34 * configure.host (hppa*-*-netbsd*): New entry.
35 * configure.tgt (hppa*-*-netbsd*): New entry.
36 (hppa*-*-openbsd*): Update.
37 * NEWS (New native configuration): Mention NetBSD/hppa.
38 (New targets): Mention NetBSD/hppa.
39
40 2008-01-18 Markus Deuling <deuling@de.ibm.com>
41
42 * gdbarch.sh (function_list): Add new property bits_big_endian to
43 gdbarch structure.
44 * gdbarch.{c,h}: Regenerate.
45
46 * value.c (struct value): Replace BITS_BIG_ENDIAN by
47 gdbarch_bits_big_endian (comment).
48 (unpack_field_as_long, modify_field): Likewise.
49 * value.h: Likewise (comment).
50 * valops.c (value_slice): Likewise.
51 * valarith.c (value_subscript, value_bit_index): Likewise.
52 * gdbtypes.h (field): Likewise (comment).
53 * eval.c (evaluate_subexp_standard): Likewise.
54 * dwarf2read.c (dwarf2_add_field): Likewise.
55 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
56 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
57
58 * defs.h (BITS_BIG_ENDIAN): Remove.
59
60 2008-01-18 Markus Deuling <deuling@de.ibm.com>
61
62 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
63 function calls.
64 * m2-exp.y (yylex): Likewise.
65 * objc-exp.y (yylex): Likewise.
66
67 * defs.h (DEPRECATED_STREQN): Remove.
68
69 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
70
71 * MAINTAINERS: Update my email address.
72
73 2008-01-17 Jim Blandy <jimb@codesourcery.com>
74
75 * README: Mention gdbserver/README.
76
77 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
78
79 * valarith.c (value_binop): Handle BINOP_INTDIV
80 for unsigned and signed integers.
81
82 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
83
84 * s390-tdep.c (s390_gdbarch_init): Set default long double
85 type to 128-bit IEEE quad.
86
87 2008-01-17 Joel Brobecker <brobecker@adacore.com>
88
89 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
90
91 2008-01-16 Mark Kettenis <kettenis@gnu.org>
92
93 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
94
95 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
96 * value.c: All callers changed.
97
98 2008-01-16 Markus Deuling <deuling@de.ibm.com>
99
100 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
101 DEPRECATED_STREQ by its expression.
102 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
103 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
104 (scan_xcoff_symtab): Likewise.
105 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
106 * f-lang.c (find_common_for_function): Likewise.
107 * objc-exp.y (parse_number): Likewise.
108
109 * defs.h (DEPRECATED_STREQ): Remove.
110
111 2008-01-16 Markus Deuling <deuling@de.ibm.com>
112
113 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
114 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
115 get_frame_arch to get at the current_architecture. Update AM33_MODE
116 call.
117 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
118 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
119 architecture.
120 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
121
122 2008-01-16 Markus Deuling <deuling@de.ibm.com>
123
124 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
125 parameter.
126 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
127
128 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
129 current_gdbarch by gdbarch. Update caller.
130
131 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
132 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
133 the current architecture. Update calls of
134 amd64_native_gregset_supplies_p.
135 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
136 (amd64bsd_store_inferior_registers): Likewise.
137
138 2008-01-16 Markus Deuling <deuling@de.ibm.com>
139
140 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
141 Replace current_gdbarch by gdbarch. Update caller.
142
143 2008-01-16 Markus Deuling <deuling@de.ibm.com>
144
145 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
146 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
147 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
148 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
149 (stabsect_build_psymtabs): Fix indentation.
150
151 2008-01-15 Michael Snyder <msnyder@specifix.com>
152
153 * corelow.c (core_xfer_partial): Comment, cut/paste error.
154
155 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
156
157 * win32-nat.c (win32_create_inferior): Restore code calling
158 CloseHandle on ProcessInformation structure.
159
160 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
161
162 * configure.ac: Check for void * as 3 argument of ptrace.
163 * configure: regenerate.
164
165 2008-01-11 Markus Deuling <deuling@de.ibm.com>
166
167 * alpha-tdep.c (alpha_heuristic_proc_start)
168 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
169 current_gdbarch by gdbarch.
170
171 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
172 current architecture by frame_info. Update alpha_heuristic_proc_start
173 call.
174
175 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
176 get_frame_arch to get at the current architecture by frame_info. Update
177 alpha_sigtramp_register_address call.
178
179 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
180 current_gdbarch by gdbarch. Update caller.
181 (convert_to_extended, convert_from_extended): Add endianess parameter
182 for comparison. Update caller.
183 (arm_extract_return_value, arm_store_return_value): Use
184 get_regcache_arch to get at the current architecture.
185
186 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
187 current_gdbarch by gdbarch. Update caller.
188 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
189 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
190
191 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
192 gdbarch as parameter. Update caller.
193 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
194 current_gdbarch by gdbarch. Update caller.
195
196 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
197 update caller. Replace current_gdbarch by gdbarch.
198
199 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
200 the current architecture. Replace current_gdbarch by gdbarch.
201 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
202 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
203 expression. Add gdbarch as parameter and replace current_gdbarch with
204 it. Update caller.
205 (M6811_TDEP): Remove.
206 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
207 architecture.
208 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
209 current_gdbarch by gdbarch. Update caller.
210
211 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
212 update caller.
213 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
214 by gdbarch.
215
216 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
217 caller. Relace current_gdbarch by gdbarch.
218 (altivec_register_p, spe_register_p): Likewise.
219 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
220 parameter.
221 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
222 altivec_register_p and spe_register_p.
223
224 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
225 caller. Replace current_gdbarch by gdbarch.
226 (score_analyze_prologue): use get_frame_arch to get at the current
227 architecture.
228
229 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
230 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
231 current_gdbarch by gdbarch. Update caller.
232 (sparc_frame_cache): Use get_frame_arch to get at the current
233 architecture.
234 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
235 sparc_analyze_prologue.
236
237 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
238 parameter.
239
240 2008-01-11 Markus Deuling <deuling@de.ibm.com>
241
242 * exec.c: #include "arch-utils.h"
243 (print_section_info): Use gdbarch_from_bfd to get at the
244 current architecture. Replace current_gdbarch. Fix indention. Replace
245 deprecated_print_address_numeric by paddress.
246 * Makefile.in (exec.o) Add dependency to arch-utils.h.
247
248 * valprint.c (val_print_string): Replace
249 deprecated_print_address_numeric.
250 * tracepoint.c (trace_mention, scope_info): Likewise.
251 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
252 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
253 (maintenance_check_symtabs): Likewise.
254 * symfile.c (list_overlays_command): Likewise.
255 * stack.c (frame_info, print_block_frame_labels): Likewise.
256 * printcmd.c (print_address, print_address_demangle)
257 (address_info): Likewise.
258 * corefile.c (memory_error): Likewise.
259 * infcmd.c (jump_command): Likewise.
260 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
261 (mention, delete_breakpoint): Likewise.
262 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
263 * dwarf2read.c (dump_die): Likewise.
264 * ada-valprint.c (ada_val_print_1): Likewise.
265 * f-valprint.c (f_val_print): Likewise.
266 * linux-fork.c (info_forks_command): Likewise.
267 * m32r-com.c (m32r_load_section, m32r_load)
268 (m32r_upload_command): Likewise.
269
270 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
271
272 2008-01-11 Markus Deuling <deuling@de.ibm.com>
273
274 * gdbarch.sh (skip_prologue): Add gdbarch
275 as parameter.
276 * gdbarch.{c,h}: Regenerate.
277
278 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
279 * amd64-tdep.c (amd64_skip_prologue): Likewise.
280 * avr-tdep.c (avr_skip_prologue): Likewise.
281 * cris-tdep.c (cris_skip_prologue): Likewise.
282 * frv-tdep.c (frv_skip_prologue): Likewise.
283 * h8300-tdep.c (h8300_skip_prologue): Likewise.
284 * hppa-tdep.c (hppa_skip_prologue): Likewise.
285 * i386-tdep.c (i386_skip_prologue): Likewise.
286 * ia64-tdep.c (ia64_skip_prologue): Likewise.
287 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
288 * m32r-tdep.c (m32r_skip_prologue): Likewise.
289 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
290 * m68k-tdep.c (m68k_skip_prologue): Likewise.
291 * m88k-tdep.c (m88k_skip_prologue): Likewise.
292 * mep-tdep.c (mep_skip_prologue): Likewise.
293 * mips-tdep.c (mips_skip_prologue): Likewise.
294 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
295 * mt-tdep.c (mt_skip_prologue): Likewise.
296 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
297 * score-tdep.c (score_skip_prologue): Likewise.
298 * sh64-tdep.c (sh64_skip_prologue): Likewise.
299 * sh-tdep.c (sh_skip_prologue): Likewise.
300 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
301 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
302 * spu-tdep.c (spu_skip_prologue): Likewise.
303 * v850-tdep.c (v850_skip_prologue): Likewise.
304 * vax-tdep.c (vax_skip_prologue): Likewise.
305 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
306 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
307
308 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
309 current_gdbarch by gdbarch.
310 * m32c-tdep.c (m32c_skip_prologue): Likewise.
311 * s390-tdep.c (s390_skip_prologue): Likewise.
312
313 2008-01-10 Doug Evans <dje@google.com>
314
315 * defs.h (struct continuation_arg): Fix typo in comment.
316 * target.c (target_translate_tls_address): Fix comment spelling error.
317
318 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
319
320 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
321 (DOUBLEST_SCAN_FORMAT): Likewise.
322 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
323 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
324 * c-exp.y (parse_number): Likewise.
325 * jv-exp.y (parse_number): Likewise.
326 * objc-exp.y (parse_number): Likewise.
327 * p-exp.y (parse_number): Likewise.
328
329 2008-01-09 Joel Brobecker <brobecker@adacore.com>
330
331 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
332 (check_typedef): Likewise.
333
334 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
335
336 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
337 seen_double_big_d, treat the new H, D, and DD modifiers as length
338 modifiers.
339
340 2008-01-08 Joel Brobecker <brobecker@adacore.com>
341
342 * dwarf2read.c (read_enumeration_type): Add comment.
343
344 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
345
346 * config.in: Regenerate.
347
348 2008-01-08 Joel Brobecker <brobecker@adacore.com>
349
350 * ada-lang.c (ada_convert_actual): Renames convert_actual.
351 Make non-static.
352 (ada_convert_actuals): Delete.
353 * ada-lang.h (ada_convert_actual): Add declaration.
354 (ada_convert_actuals): Remove declaration.
355 * infcall.c: #include "ada-lang.h".
356 (value_arg_coerce): Add new parameter sp. Update function
357 documetnation. Add handling of Ada function call parameters.
358 * Makefile.in (infcall.o): Update dependencies.
359
360 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
361
362 * ada-lang.c (ensure_lval): Fix value lval kind.
363 (convert_actual): Add handling for arguments passed by reference.
364
365 2008-01-08 Doug Evans <dje@google.com>
366
367 * dbxread.c (read_dbx_symtab): Fix indentation.
368
369 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
370
371 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
372 (valarith.o): Depend on dfp.h.
373 (valops.o): Likewise.
374 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
375 (set_decnumber_context): New function.
376 (decimal_check_errors): Likewise.
377 (decimal_from_number): Likewise.
378 (decimal_to_number): Likewise.
379 (decimal_from_string): Use set_decnumber_context and
380 decimal_check_errors.
381 (decimal_from_integral): New function.
382 (decimal_from_floating): Likewise.
383 (decimal_to_double): Likewise.
384 (promote_decimal): Likewise.
385 (decimal_binop): Likewise.
386 (decimal_is_zero): Likewise.
387 (decimal_compare): Likewise.
388 (decimal_convert): Likewise.
389 * dfp.h (decimal_from_integral): New prototype.
390 (decimal_from_floating): Likewise.
391 (decimal_to_double): Likewise.
392 (decimal_binop): Likewise.
393 (decimal_is_zero): Likewise.
394 (decimal_compare): Likewise.
395 (decimal_convert): Likewise.
396 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
397 call to value_from_decfloat.
398 * valarith.c: Include dfp.h.
399 (value_args_as_decimal): New function.
400 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
401 (value_logical_not): Likewise.
402 (value_equal): Likewise.
403 (value_less): Likewise.
404 (value_pos): Likewise.
405 (value_neg): Formatting fix.
406 * valops.c: Include dfp.h.
407 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
408 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
409 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
410 (value_from_decfloat): Remove expect_type argument.
411 * value.h (value_from_decfloat): Update prototype.
412
413 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
414
415 Ignore change in name of dynamic linker during
416 execution on Solaris. This also unbreaks pending breakpoints.
417
418 * solist.h (struct target_so_ops): New field same.
419 * solib-svr4.c (svr4_same): New.
420 (_initialize_svr4_solib): Register svr4_same.
421 * solib.c (update_solib_list): Use ops->same, if available.
422
423 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
424
425 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
426 when using MS-DOS paths.
427
428 2008-01-05 Pedro Alves <pedro@codesourcery.com>
429
430 * NEWS: Mention --pid and --core command line behaviour changes.
431
432 2008-01-05 Pedro Alves <pedro@codesourcery.com>
433
434 * main.c (captured_main): Remove 'count' varible and the
435 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
436 --pid options were issued simultaneously. If an explicit pid
437 option was passed, don't fallback to core file. Detect extra
438 arguments better in the presence of explicit pid or core
439 arguments.
440
441 2008-01-05 Joel Brobecker <brobecker@adacore.com>
442
443 * ada-lang.c (ada_which_variant_applies): Correctly compute
444 the value of the discriminant when the variant record is packed.
445
446 2008-01-04 Joel Brobecker <brobecker@adacore.com>
447
448 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
449 that are used to differentiate homonyms.
450
451 2008-01-04 Jerome Guitton <guitton@adacore.com>
452
453 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
454 when the type is an anonymous pointer type.
455 (ada_check_typedef): Avoid a seg fault when the type is null.
456 * ada-typeprint.c (print_array_type): Add support for pointer
457 to packed arrays.
458
459 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
460
461 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
462
463 2008-01-04 Joel Brobecker <brobecker@adacore.com>
464
465 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
466 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
467
468 2008-01-04 Joel Brobecker <brobecker@adacore.com>
469
470 * ada-exp.y (chop_separator): New function.
471 (write_selectors): Rewrite to re-use chop_separator.
472 (ada_nget_field_index, get_symbol_field_type): New functions.
473 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
474 expressions.
475
476 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
477
478 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
479 of SYMBOL_VALUE when working with function symbols.
480
481 2008-01-03 Joel Brobecker <brobecker@adacore.com>
482
483 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
484 expressions. These expressions do not need to be rewriten.
485
486 2008-01-03 Joel Brobecker <brobecker@adacore.com>
487
488 * dwarf2read.c (read_enumeration_type): Flag type as stub if
489 the given die is a declaration.
490
491 2008-01-03 Joel Brobecker <brobecker@adacore.com>
492
493 * ada-lang.c (ada_array_bound_from_type): Make non-static.
494 Handle properly the case when the index type is an enumerated type.
495 Do not return the subtype of the bounds type, just return the
496 bounds type directly - this is not needed and is more consistent
497 with what we do for arrays when no XA parallel type exists.
498
499 2008-01-03 Joel Brobecker <brobecker@adacore.com>
500
501 * ada-lang.c (static_unwrap_type): Add forward declaration.
502 (template_to_static_fixed_type): Fields of dynamic types sometimes
503 also need to be unwrapped. Take this into account.
504 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
505 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
506 * ada-typeprint.c (ada_print_type): Get the typename from
507 the original type, not the base type.
508
509 2008-01-03 Jerome Guitton <guitton@adacore.com>
510
511 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
512 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
513 Update calls to ada_to_fixed_type.
514 (ada_template_to_fixed_record_type_1): Ditto, but without looking
515 for the tag.
516 (ada_to_fixed_type): Add check_tag parameter; do not look for
517 tag if null. When looking for a tag, use a fixed record type.
518 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
519 * ada-valprint.c (printable_val_type, ada_value_print): Update
520 calls to ada_to_fixed_type.
521
522 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
523
524 * doublest.c (convert_floatformat_to_doublest): Call
525 floatformat_to_doublest instead of floatformat_to_double and use
526 DOUBLEST variables.
527 (convert_doublest_to_floatformat): Call floatformat_from_doublest
528 instead of floatformat_from_double and use DOUBLEST variables.
529
530 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
531
532 * MAINTAINERS (Write After Approval): Add self.
533
534 2008-01-03 Joel Brobecker <brobecker@adacore.com>
535
536 * symfile.c (set_initial_language): Make non-static.
537 * symfile.h (set_initial_language): Add declaration.
538 * language.c: #include "symfile.h".
539 (set_language): Call set_initial_language if the frame language
540 could not be determined.
541
542 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
543
544 * eval.c (evaluate_subexp_for_address): Provide frame address to
545 locate_var_value only if it will be needed.
546
547 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
548
549 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
550
551 2008-01-02 Joel Brobecker <brobecker@adacore.com>
552
553 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
554 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
555 This is needed to make sure that any other treatment applied
556 to the resulting value does not fail for spurious reason,
557 such as trying to take the address of this value.
558
559 2008-01-02 Joel Brobecker <brobecker@adacore.com>
560
561 * ada-lang.c (ada_value_equal): Dereference reference types when
562 comparing arrays.
563
564 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
565
566 Updated copyright notices for most files.
567
568 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
569
570 * win32-nat.c (psapi_module_handle): Remove static.
571 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
572 return first module found if base_address is zero. Don't initialize
573 psapi function pointers here. Convert to cygwin paths when
574 appropriate.
575 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
576 executable name. Use get_module_name when that fails or when
577 !__CYGWIN__.
578 (_initialize_psapi): New function. Initialize psapi stuff before it is
579 needed or issue a warning if it is not found. Move psapi_module_handle
580 here.
581
582 2008-01-01 Joel Brobecker <brobecker@adacore.com>
583
584 * ada-lang.c (ada_remove_trailing_digits): New function.
585 (ada_remove_po_subprogram_suffix): New function.
586 (ada_decode): Improve. Move the description of the algorithm
587 directly inside the code, instead of in the function global
588 description.
589
590 2008-01-01 Joel Brobecker <brobecker@adacore.com>
591
592 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
593 and always print the dereferenced value.
594
595 2008-01-01 Joel Brobecker <brobecker@adacore.com>
596
597 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
598 of the case where the first argument is a reference.
599 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
600
601 2008-01-01 Joel Brobecker <brobecker@adacore.com>
602
603 Implement support for Ada interface types.
604
605 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
606 (ada_is_ignored_field): Ignore fields that are a dispatch table
607 of a tagged type.
608
609 2008-01-01 Joel Brobecker <brobecker@adacore.com>
610
611 * top.c (print_gdb_version): Update copyright year.
612
613 2008-01-01 Joel Brobecker <brobecker@adacore.com>
614
615 * ChangeLog-2007: New ChangeLog rotation.
616 * ChangeLog: Reset for 2008.
617 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
618 ChangeLog-2007.
619
620 For older changes see ChangeLog-2007.
621 \f
622 Local Variables:
623 mode: change-log
624 left-margin: 8
625 fill-column: 74
626 version-control: never
627 coding: utf-8
628 End: