3 * nto-tdep.h: Remove #include "defs.h".
4 * nto-tdep.c: Add #include "defs.h".
5 * Makefile.in (nto_tdep_h): Update dependencies.
6 (nto-tdep.o): Likewise.
10 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
12 (proceed, start_remote): Update call to wait_for_inferior.
13 * inferior.h (wait_for_inferior): Update declaration.
14 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
15 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
16 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
17 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
21 * varobj (adjust_value_for_child_access): Added checking for
22 returned value from gdb_value_ind.
23 (c_describe_child): Likewise.
24 (cplus_describe_child): Fixed a typo.
28 * MAINTAINERS: Update my info.
32 Use multiple locations for hardware watchpoints.
33 This eliminates the need to traverse value chain, doing
34 various checks, in three different places.
36 * breakpoint.h (struct bp_location): New fields
37 lengths and watchpoint_type.
38 (struct breakpoint): Remove the val_chain field.
39 * breakpoint.c (is_hardware_watchpoint): New.
40 (free_valchain): Remove.
41 (update_watchpoint): New.
42 (insert_bp_location): For hardware watchpoint, just
44 (insert_breakpoints): Call update_watchpoint_locations
45 on all watchpoints. If we have failed to insert
46 any location of a hardware watchpoint, remove all inserted
48 (remove_breakpoint): For hardware watchpoints, directly
50 (watchpoints_triggered): Iterate over locations.
51 (bpstat_stop_status): Use only first location of
52 a resource watchpoint.
53 (delete_breakpoint): Don't call free_valchain.
54 (print_one_breakpoint): Don't print all
55 locations for watchpoints.
56 (breakpoint_re_set_one): Use update_watchpoint for
61 Don't reset watchpoint block on solib load.
63 * breakpoint.c (insert_bp_location): For watchpoints,
65 (breakpoint_re_set_one): Instead of recomputing value
66 and condition for watchpoints, just reset value and
67 let insert_breakpoints/insert_bp_location recompute it.
68 Don't do anything about disabled watchpoint.
72 * valarith.c (value_binop): Handle unsigned integer
77 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
78 instruction pattern that appears frequently in position
79 independent code. Fix bug in code which looks for "fmov" and
80 backtracks if no "fmov" is found.
84 * dbxread.c (read_dbx_symtab): Fix indentation.
85 Reformat comments to 80 columns.
86 Move local var def closer to only use.
90 * fork-child.c (SHELL_FILE): Remove #ifndef.
91 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
95 * i386-tdep.c (i386_skip_noop): New function.
96 (i386_analyze_prologue): Call i386_skip_noop function.
100 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
101 * win32-nat.c (win32_xfer_partial): Ditto.
102 * target.c (default_xfer_partial): Minor whitespace adjustment.
106 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
107 strip bit 1 even if pc doesn't point to thumb code.
111 * remote.c (remote_wait): Handle SIGINT between packets.
112 (remote_async_wait): Likewise.
117 * thread.c (add_thread_silent): Renamed
119 (print_thread_events): New variable definition.
120 (show_print_thread_events): New function.
121 (_initialize_thread): Add "set print thread-events" and
122 "show print thread-events" commands.
123 (add_thread): Announce new thread.
124 * gdbthread.h (add_thread_silent): Declare.
125 (print_thread_events): New variable declaration.
126 * inf-ttrace.c (inf_ttrace_wait): Don't
127 inform about new thread, as add_thread is always
128 called too, and will take care of that.
129 * infrun.c (handle_inferior_event): Likewise.
130 * procfs.c (procfs_wait): Likewise.
131 * remote.c (remote_currthread): Likewise.
132 * sol-thread.c (sol_thread_wait): Likewise.
133 * win32-nat.c (get_win32_debug_event): Likewise.
134 * linux-thread-db.c (attach_thread): Likewise.
135 Remove the verbose parameter.
136 (check_event): Make detach_thread be verbose
137 only if print_thread_events is set.
138 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
139 about new thread. This is called only from
140 linux-thread-db.c:attach_thread, which will take care.
141 Remove the verbose parameter.
142 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
146 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
150 * breakpoint.c (break_command_really): New parameter
152 (break_command_1): Pass 0 as
153 ignore_count to break_command_really.
154 (gdb_breakpoint): Pass ignore_count to
155 break_command_really.
159 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
160 sigcontext struct via pointer.
161 (struct sigframe comment): Update to show new field `psc'.
165 * infrun.c (handle_inferior_event): If
166 we failed to remove breakpoints, error,
167 don't try to increment PC by hand.
171 Add NetBSD/hppa target and host support.
173 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
174 (hppabsd_gregset): Move to ...
175 (hppabsd_regset_from_core_section): Rename
176 hppaobsd_regset_from_core_section and move to ...
177 (hppabsd_find_global_pointer): Update comment.
178 (hppabsd_init_abi): Make global. Do not register
179 hppabsd_regset_from_core_section.
180 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
182 (_initialize_hppabsd_tdep): Move to ...
183 * hppaobsd-tdep.c: ... here. New file.
184 * hppnbsd-tdep.c: New file.
185 * hppnbsd-nat.c: New file.
186 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
187 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
188 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
189 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
190 * configure.host (hppa*-*-netbsd*): New entry.
191 * configure.tgt (hppa*-*-netbsd*): New entry.
192 (hppa*-*-openbsd*): Update.
193 * NEWS (New native configuration): Mention NetBSD/hppa.
194 (New targets): Mention NetBSD/hppa.
198 * gdbarch.sh (function_list): Add new property bits_big_endian to
200 * gdbarch.{c,h}: Regenerate.
202 * value.c (struct value): Replace BITS_BIG_ENDIAN by
203 gdbarch_bits_big_endian (comment).
204 (unpack_field_as_long, modify_field): Likewise.
205 * value.h: Likewise (comment).
206 * valops.c (value_slice): Likewise.
207 * valarith.c (value_subscript, value_bit_index): Likewise.
208 * gdbtypes.h (field): Likewise (comment).
209 * eval.c (evaluate_subexp_standard): Likewise.
210 * dwarf2read.c (dwarf2_add_field): Likewise.
211 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
212 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
214 * defs.h (BITS_BIG_ENDIAN): Remove.
218 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
220 * m2-exp.y (yylex): Likewise.
221 * objc-exp.y (yylex): Likewise.
223 * defs.h (DEPRECATED_STREQN): Remove.
227 * MAINTAINERS: Update my email address.
231 * README: Mention gdbserver/README.
235 * valarith.c (value_binop): Handle BINOP_INTDIV
236 for unsigned and signed integers.
240 * s390-tdep.c (s390_gdbarch_init): Set default long double
241 type to 128-bit IEEE quad.
245 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
249 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
251 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
252 * value.c: All callers changed.
256 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
257 DEPRECATED_STREQ by its expression.
258 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
259 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
260 (scan_xcoff_symtab): Likewise.
261 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
262 * f-lang.c (find_common_for_function): Likewise.
263 * objc-exp.y (parse_number): Likewise.
265 * defs.h (DEPRECATED_STREQ): Remove.
269 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
270 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
271 get_frame_arch to get at the current_architecture. Update AM33_MODE
273 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
274 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
276 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
280 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
282 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
284 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
285 current_gdbarch by gdbarch. Update caller.
287 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
288 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
289 the current architecture. Update calls of
290 amd64_native_gregset_supplies_p.
291 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
292 (amd64bsd_store_inferior_registers): Likewise.
296 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
297 Replace current_gdbarch by gdbarch. Update caller.
301 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
302 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
303 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
304 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
305 (stabsect_build_psymtabs): Fix indentation.
309 * corelow.c (core_xfer_partial): Comment, cut/paste error.
313 * win32-nat.c (win32_create_inferior): Restore code calling
314 CloseHandle on ProcessInformation structure.
318 * configure.ac: Check for void * as 3 argument of ptrace.
319 * configure: regenerate.
323 * alpha-tdep.c (alpha_heuristic_proc_start)
324 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
325 current_gdbarch by gdbarch.
327 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
328 current architecture by frame_info. Update alpha_heuristic_proc_start
331 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
332 get_frame_arch to get at the current architecture by frame_info. Update
333 alpha_sigtramp_register_address call.
335 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
336 current_gdbarch by gdbarch. Update caller.
337 (convert_to_extended, convert_from_extended): Add endianess parameter
338 for comparison. Update caller.
339 (arm_extract_return_value, arm_store_return_value): Use
340 get_regcache_arch to get at the current architecture.
342 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
343 current_gdbarch by gdbarch. Update caller.
344 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
345 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
347 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
348 gdbarch as parameter. Update caller.
349 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
350 current_gdbarch by gdbarch. Update caller.
352 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
353 update caller. Replace current_gdbarch by gdbarch.
355 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
356 the current architecture. Replace current_gdbarch by gdbarch.
357 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
358 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
359 expression. Add gdbarch as parameter and replace current_gdbarch with
361 (M6811_TDEP): Remove.
362 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
364 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
365 current_gdbarch by gdbarch. Update caller.
367 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
369 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
372 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
373 caller. Relace current_gdbarch by gdbarch.
374 (altivec_register_p, spe_register_p): Likewise.
375 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
377 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
378 altivec_register_p and spe_register_p.
380 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
381 caller. Replace current_gdbarch by gdbarch.
382 (score_analyze_prologue): use get_frame_arch to get at the current
385 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
386 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
387 current_gdbarch by gdbarch. Update caller.
388 (sparc_frame_cache): Use get_frame_arch to get at the current
390 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
391 sparc_analyze_prologue.
393 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
398 * exec.c: #include "arch-utils.h"
399 (print_section_info): Use gdbarch_from_bfd to get at the
400 current architecture. Replace current_gdbarch. Fix indention. Replace
401 deprecated_print_address_numeric by paddress.
402 * Makefile.in (exec.o) Add dependency to arch-utils.h.
404 * valprint.c (val_print_string): Replace
405 deprecated_print_address_numeric.
406 * tracepoint.c (trace_mention, scope_info): Likewise.
407 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
408 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
409 (maintenance_check_symtabs): Likewise.
410 * symfile.c (list_overlays_command): Likewise.
411 * stack.c (frame_info, print_block_frame_labels): Likewise.
412 * printcmd.c (print_address, print_address_demangle)
413 (address_info): Likewise.
414 * corefile.c (memory_error): Likewise.
415 * infcmd.c (jump_command): Likewise.
416 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
417 (mention, delete_breakpoint): Likewise.
418 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
419 * dwarf2read.c (dump_die): Likewise.
420 * ada-valprint.c (ada_val_print_1): Likewise.
421 * f-valprint.c (f_val_print): Likewise.
422 * linux-fork.c (info_forks_command): Likewise.
423 * m32r-com.c (m32r_load_section, m32r_load)
424 (m32r_upload_command): Likewise.
426 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
430 * gdbarch.sh (skip_prologue): Add gdbarch
432 * gdbarch.{c,h}: Regenerate.
434 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
435 * amd64-tdep.c (amd64_skip_prologue): Likewise.
436 * avr-tdep.c (avr_skip_prologue): Likewise.
437 * cris-tdep.c (cris_skip_prologue): Likewise.
438 * frv-tdep.c (frv_skip_prologue): Likewise.
439 * h8300-tdep.c (h8300_skip_prologue): Likewise.
440 * hppa-tdep.c (hppa_skip_prologue): Likewise.
441 * i386-tdep.c (i386_skip_prologue): Likewise.
442 * ia64-tdep.c (ia64_skip_prologue): Likewise.
443 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
444 * m32r-tdep.c (m32r_skip_prologue): Likewise.
445 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
446 * m68k-tdep.c (m68k_skip_prologue): Likewise.
447 * m88k-tdep.c (m88k_skip_prologue): Likewise.
448 * mep-tdep.c (mep_skip_prologue): Likewise.
449 * mips-tdep.c (mips_skip_prologue): Likewise.
450 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
451 * mt-tdep.c (mt_skip_prologue): Likewise.
452 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
453 * score-tdep.c (score_skip_prologue): Likewise.
454 * sh64-tdep.c (sh64_skip_prologue): Likewise.
455 * sh-tdep.c (sh_skip_prologue): Likewise.
456 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
457 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
458 * spu-tdep.c (spu_skip_prologue): Likewise.
459 * v850-tdep.c (v850_skip_prologue): Likewise.
460 * vax-tdep.c (vax_skip_prologue): Likewise.
461 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
462 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
464 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
465 current_gdbarch by gdbarch.
466 * m32c-tdep.c (m32c_skip_prologue): Likewise.
467 * s390-tdep.c (s390_skip_prologue): Likewise.
471 * defs.h (struct continuation_arg): Fix typo in comment.
472 * target.c (target_translate_tls_address): Fix comment spelling error.
476 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
477 (DOUBLEST_SCAN_FORMAT): Likewise.
478 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
479 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
480 * c-exp.y (parse_number): Likewise.
481 * jv-exp.y (parse_number): Likewise.
482 * objc-exp.y (parse_number): Likewise.
483 * p-exp.y (parse_number): Likewise.
487 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
488 (check_typedef): Likewise.
492 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
493 seen_double_big_d, treat the new H, D, and DD modifiers as length
498 * dwarf2read.c (read_enumeration_type): Add comment.
502 * config.in: Regenerate.
506 * ada-lang.c (ada_convert_actual): Renames convert_actual.
508 (ada_convert_actuals): Delete.
509 * ada-lang.h (ada_convert_actual): Add declaration.
510 (ada_convert_actuals): Remove declaration.
511 * infcall.c: #include "ada-lang.h".
512 (value_arg_coerce): Add new parameter sp. Update function
513 documetnation. Add handling of Ada function call parameters.
514 * Makefile.in (infcall.o): Update dependencies.
518 * ada-lang.c (ensure_lval): Fix value lval kind.
519 (convert_actual): Add handling for arguments passed by reference.
523 * dbxread.c (read_dbx_symtab): Fix indentation.
527 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
528 (valarith.o): Depend on dfp.h.
529 (valops.o): Likewise.
530 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
531 (set_decnumber_context): New function.
532 (decimal_check_errors): Likewise.
533 (decimal_from_number): Likewise.
534 (decimal_to_number): Likewise.
535 (decimal_from_string): Use set_decnumber_context and
536 decimal_check_errors.
537 (decimal_from_integral): New function.
538 (decimal_from_floating): Likewise.
539 (decimal_to_double): Likewise.
540 (promote_decimal): Likewise.
541 (decimal_binop): Likewise.
542 (decimal_is_zero): Likewise.
543 (decimal_compare): Likewise.
544 (decimal_convert): Likewise.
545 * dfp.h (decimal_from_integral): New prototype.
546 (decimal_from_floating): Likewise.
547 (decimal_to_double): Likewise.
548 (decimal_binop): Likewise.
549 (decimal_is_zero): Likewise.
550 (decimal_compare): Likewise.
551 (decimal_convert): Likewise.
552 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
553 call to value_from_decfloat.
554 * valarith.c: Include dfp.h.
555 (value_args_as_decimal): New function.
556 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
557 (value_logical_not): Likewise.
558 (value_equal): Likewise.
559 (value_less): Likewise.
560 (value_pos): Likewise.
561 (value_neg): Formatting fix.
562 * valops.c: Include dfp.h.
563 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
564 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
565 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
566 (value_from_decfloat): Remove expect_type argument.
567 * value.h (value_from_decfloat): Update prototype.
571 Ignore change in name of dynamic linker during
572 execution on Solaris. This also unbreaks pending breakpoints.
574 * solist.h (struct target_so_ops): New field same.
575 * solib-svr4.c (svr4_same): New.
576 (_initialize_svr4_solib): Register svr4_same.
577 * solib.c (update_solib_list): Use ops->same, if available.
581 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
582 when using MS-DOS paths.
586 * NEWS: Mention --pid and --core command line behaviour changes.
590 * main.c (captured_main): Remove 'count' varible and the
591 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
592 --pid options were issued simultaneously. If an explicit pid
593 option was passed, don't fallback to core file. Detect extra
594 arguments better in the presence of explicit pid or core
599 * ada-lang.c (ada_which_variant_applies): Correctly compute
600 the value of the discriminant when the variant record is packed.
604 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
605 that are used to differentiate homonyms.
609 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
610 when the type is an anonymous pointer type.
611 (ada_check_typedef): Avoid a seg fault when the type is null.
612 * ada-typeprint.c (print_array_type): Add support for pointer
617 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
621 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
622 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
626 * ada-exp.y (chop_separator): New function.
627 (write_selectors): Rewrite to re-use chop_separator.
628 (ada_nget_field_index, get_symbol_field_type): New functions.
629 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
634 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
635 of SYMBOL_VALUE when working with function symbols.
639 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
640 expressions. These expressions do not need to be rewriten.
644 * dwarf2read.c (read_enumeration_type): Flag type as stub if
645 the given die is a declaration.
649 * ada-lang.c (ada_array_bound_from_type): Make non-static.
650 Handle properly the case when the index type is an enumerated type.
651 Do not return the subtype of the bounds type, just return the
652 bounds type directly - this is not needed and is more consistent
653 with what we do for arrays when no XA parallel type exists.
657 * ada-lang.c (static_unwrap_type): Add forward declaration.
658 (template_to_static_fixed_type): Fields of dynamic types sometimes
659 also need to be unwrapped. Take this into account.
660 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
661 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
662 * ada-typeprint.c (ada_print_type): Get the typename from
663 the original type, not the base type.
667 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
668 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
669 Update calls to ada_to_fixed_type.
670 (ada_template_to_fixed_record_type_1): Ditto, but without looking
672 (ada_to_fixed_type): Add check_tag parameter; do not look for
673 tag if null. When looking for a tag, use a fixed record type.
674 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
675 * ada-valprint.c (printable_val_type, ada_value_print): Update
676 calls to ada_to_fixed_type.
680 * doublest.c (convert_floatformat_to_doublest): Call
681 floatformat_to_doublest instead of floatformat_to_double and use
683 (convert_doublest_to_floatformat): Call floatformat_from_doublest
684 instead of floatformat_from_double and use DOUBLEST variables.
688 * MAINTAINERS (Write After Approval): Add self.
692 * symfile.c (set_initial_language): Make non-static.
693 * symfile.h (set_initial_language): Add declaration.
694 * language.c: #include "symfile.h".
695 (set_language): Call set_initial_language if the frame language
696 could not be determined.
700 * eval.c (evaluate_subexp_for_address): Provide frame address to
701 locate_var_value only if it will be needed.
705 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
709 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
710 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
711 This is needed to make sure that any other treatment applied
712 to the resulting value does not fail for spurious reason,
713 such as trying to take the address of this value.
717 * ada-lang.c (ada_value_equal): Dereference reference types when
722 Updated copyright notices for most files.
726 * win32-nat.c (psapi_module_handle): Remove static.
727 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
728 return first module found if base_address is zero. Don't initialize
729 psapi function pointers here. Convert to cygwin paths when
731 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
732 executable name. Use get_module_name when that fails or when
734 (_initialize_psapi): New function. Initialize psapi stuff before it is
735 needed or issue a warning if it is not found. Move psapi_module_handle
740 * ada-lang.c (ada_remove_trailing_digits): New function.
741 (ada_remove_po_subprogram_suffix): New function.
742 (ada_decode): Improve. Move the description of the algorithm
743 directly inside the code, instead of in the function global
748 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
749 and always print the dereferenced value.
753 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
754 of the case where the first argument is a reference.
755 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
759 Implement support for Ada interface types.
761 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
762 (ada_is_ignored_field): Ignore fields that are a dispatch table
767 * top.c (print_gdb_version): Update copyright year.
771 * ChangeLog-2007: New ChangeLog rotation.
772 * ChangeLog: Reset for 2008.
773 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
776 For older changes see ChangeLog-2007.
782 version-control: never