3 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
4 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
5 compile_dwarf_to_ax. No longer static. Call
6 dwarf2_compile_cfa_to_ax.
7 (locexpr_tracepoint_var_ref): Update.
8 (loclist_tracepoint_var_ref): Update.
9 * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
10 * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
11 argument; add 'gdbarch' and 'pc'.
12 (dwarf2_compile_cfa_to_ax): New function.
13 (dwarf2_frame_cache): Update.
17 * ada-lang.c (ada_type_of_array): Fix the size of the array
18 in the case of an unconstrained packed array.
22 * common/Makefile.in: Add more targets for make.
26 * dwarf2loc.c (unimplemented): Fix typo.
30 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
31 (compile_dwarf_to_ax) <default>: Use unimplemented.
32 <DW_OP_deref>: Update.
33 (disassemble_dwarf_expression): Update.
34 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
35 (decode_locdesc): Update.
36 * dwarf2expr.h (dwarf_stack_op_name): Update.
40 * ax.h (struct aop_map) <name>: Now const.
44 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
49 * infrun.c (get_displaced_step_closure_by_addr): New.
50 * inferior.h: Declare it.
51 * arm-tdep.c: (arm_pc_is_thumb): Call
52 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
59 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
64 * value.c (value_contents_copy_raw): Extend describing comment.
65 Assert that the destination contents we're overwriting are wholly
67 (value_contents_copy): Extend describing comment.
72 * value.c (value_available_contents_eq): Remove redundant local
73 variables. Fix available contents comparision.
74 * value.h (value_available_contents_eq): Extend describing
79 * thread.c (info_threads_command): Add missing i18n markup and remove
84 * breakpoint.c (longjmp_names): New variable.
85 (struct breakpoint_objfile_data): New type.
86 (breakpoint_objfile_key): New variable.
87 (msym_not_found): New variable.
88 (msym_not_found_p): New predicate.
89 (get_breakpoint_objfile_data): New function.
90 (create_overlay_event_breakpoint): Check per-objfile cache for
92 (create_longjmp_master_breakpoint): Likewise.
93 (create_std_terminate_master_breakpoint): Likewise.
94 (create_exception_master_breakpoint): Likewise.
95 (_initialize_breakpoint): Register per-objfile data key.
99 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
101 (create_longjmp_master_breakpoint): Loop over longjmp names.
102 (create_std_terminate_master_breakpoint): Const-propagate parameter
104 (update_breakpoints_after_exec): Adjust.
105 (breakpoint_re_set): Adjust.
109 * thread.c (info_threads_command): Process arg as thread id,
110 or list of thread ids.
111 (thread_find_command): New command.
112 (_initialize_thread): Document argument for info threads.
113 Document 'thread find' command.
114 * NEWS: Document new command "thread find".
118 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
119 * aclocal.m4: Regenerated with aclocal-1.11.1.
120 * common/configure: Regenerate with autoconf-2.64.
124 * opencl-lang.c (build_opencl_types): Set the size of the built-in
125 bool data type to a size of one byte.
130 * target.c (memory_xfer_live_readonly_partial): Document where to
131 look for interface description.
136 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
137 order to store PC value on stack instead of text section.
141 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
142 the EFP register set size.
143 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
144 data from the VMX register.
145 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
146 and write data from/to the VMX register.
150 * command.h (enum command_class): New class 'no_set_class', for
151 "show" commands without a corresponding "set" command.
152 * value.c (_initialize_values): Use 'no_set_class' for "show values".
153 * copying.c (_initialize_copying): Ditto for "show copying" and
155 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
157 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
158 which there is no corresponding "set" command (eg. "show copying").
163 * exec.c (section_table_available_memory): Change `len' parameter
165 * exec.h (section_table_available_memory): Ditto.
166 * value.h (read_value_memory): Rename the `offset' parameter to
172 * memrange.c (compare_mem_ranges): Mention sort order in
174 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
175 * tracepoint.c (traceframe_available_memory): Extend comment to
176 mention what happens to RESULT when the target does not support
182 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
187 * value.c (value_bits_valid, value_bits_synthetic_pointer):
188 No longer handle NULL values.
192 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
193 * value.c: Include "exceptions.h".
194 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
196 * cp-abi.c: Include gdb_assert.h.
197 (baseclass_offset): Add `embedded_offset' and `val' parameters.
198 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
200 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
201 parameters. No longer returns -1 on error.
202 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
204 * cp-valprint.c: Include exceptions.h.
205 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
206 the baseclass_offset. Handle unavailable base classes. Use
207 val_print_invalid_address.
208 * p-valprint.c: Include exceptions.h.
209 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
210 when fetching the baseclass_offset. No longer expect
211 baseclass_offset returning -1. Handle unavailable base classes.
212 Use val_print_invalid_address.
213 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
214 `valaddr' parameter, and change its type to gdb_byte pointer. Add
215 `embedded_offset' and `val' parameters. Adjust.
216 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
217 parameter, and change its type to gdb_byte pointer. Add
218 `embedded_offset' and `val' parameters. Adjust. No longer expect
219 baseclass_offset returning -1.
220 (value_dynamic_cast): Use value_contents_for_printing rather than
221 value_contents. Adjust.
222 (search_struct_field): No longer expect baseclass_offset returning
224 (search_struct_method): If reading memory from the target is
225 necessary, wrap it in a new value to pass to baseclass_offset. No
226 longer expect baseclass_offset returning -1.
227 (find_method_list): No longer expect baseclass_offset returning
228 -1. Use value_contents_for_printing rather than value_contents.
229 * valprint.c (val_print_invalid_address): New function.
230 * valprint.h (val_print_invalid_address): Declare.
231 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
232 and `val' parameters. No longer expect baseclass_offset returning
234 * gnu-v2-abi.c: Include "exceptions.h".
235 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
236 parameters. Handle unavailable memory. Recurse through
237 gnuv2_baseclass_offset directly, rather than through
238 baseclass_offset. No longer returns -1 on not found, instead
240 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
241 `val' parameters. Adjust.
245 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
246 almost but not quite adjacent.
250 * value.h (value_entirely_available): Declare.
251 * value.c (value_entirely_available): New function.
252 * c-valprint.c (c_value_print): Don't try fetching the pointer's
253 real type if the pointer is unavailable.
257 * valops.c (value_repeat): Use read_value_memory instead of
262 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
263 * value.c (value_contents_copy_raw, value_contents_copy): New
265 (value_primitive_field): Use value_contents_copy_raw instead of
267 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
269 (value_array, value_slice): Ditto.
270 * valarith.c (value_subscripted_rvalue): Use
271 value_contents_copy_raw instead of memcpy.
275 <unavailable> references.
277 * valops.c (get_value_at): Use value_from_contents_and_address,
278 avoiding read_memory.
282 * c-valprint.c (c_val_print): Print a string with unavailable
283 contents as an array.
287 * value.h (unpack_bits_as_long): Delete declaration.
288 (unpack_value_bits_as_long): Declare.
289 (unpack_value_field_as_long): Declare.
290 (value_field_bitfield): Declare.
291 * value.c (unpack_bits_as_long): Rename to...
292 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
293 value parameters. Return the extracted result in a new output
294 parameter. If the value contents are unavailable, return false,
295 otherwise return true.
296 (unpack_value_bits_as_long): New.
297 (unpack_field_as_long): Rename to...
298 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
299 Add embedded_offset and value parameters. Return the extracted
300 result in a new output parameter. If the value contents are
301 unavailable, return false, otherwise return true.
302 (unpack_value_field_as_long): New.
303 (unpack_field_as_long_1): New.
304 (unpack_field_as_long): Reimplement as wrapper around
305 unpack_value_field_as_long_1.
306 (value_field_bitfield): New function.
307 * valops.c (value_fetch_lazy): When fetching a bitfield, use
308 unpack_value_bits_as_long. Mark the value as unavailable, if it
310 * jv-valprint.c (java_print_value_fields): Use
311 value_field_bitfield.
312 * p-valprint.c (pascal_object_print_value_fields): Use
313 value_field_bitfield.
314 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
318 * value.c (get_internalvar_integer): Also return the int value of
319 TYPE_CODE_INT INTERNALVAR_VALUE values.
320 (set_internalvar): Don't special case TYPE_CODE_INT.
324 * value.c (struct internalvar) <enum internalvar_kind>: Remove
327 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
328 (set_internalvar): Remove special TYPE_CODE_PTR handling.
329 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
333 * value.h (value_available_contents_eq): Declare.
334 * value.c (find_first_range_overlap): New function.
335 (value_available_contents_eq): New function.
336 * valprint.c (val_print_array_elements): Use
337 value_available_contents_eq.
338 * ada-valprint.c (val_print_packed_array_elements): Use
339 value_available_contents_eq.
340 * jv-valprint.c (java_value_print): Use
341 value_available_contents_eq.
345 * target.c (target_read_live_memory): New function.
346 (memory_xfer_live_readonly_partial): New.
347 (memory_xfer_partial): If reading from a traceframe, fallback to
348 reading unavailable read-only memory from read-only regions of
350 * tracepoint.c (disconnect_tracing): Adjust.
351 (set_current_traceframe): New, factored out from
352 set_traceframe_number.
353 (set_traceframe_number): Reimplement to only change the traceframe
354 number on the GDB side.
355 (do_restore_current_traceframe_cleanup): Adjust.
356 (make_cleanup_restore_traceframe_number): New.
357 (cur_traceframe_number): New global.
358 (tfile_open): Set cur_traceframe_number to no traceframe.
359 (set_tfile_traceframe): New function.
360 (tfile_trace_find): If looking up a traceframe using any method
361 other than by number, make sure the current tfile traceframe
362 matches gdb's current traceframe. Update the current tfile
363 traceframe if the lookup succeeded.
364 (tfile_fetch_registers, tfile_xfer_partial)
365 (tfile_get_trace_state_variable_value): Make sure the remote
366 traceframe matches gdb's current traceframe.
367 * remote.c (remote_traceframe_number): New global.
368 (remote_open_1): Set it to -1.
369 (set_remote_traceframe): New function.
370 (remote_fetch_registers, remote_store_registers)
371 (remote_xfer_memory, remote_xfer_partial)
372 (remote_get_trace_state_variable_value): Make sure the remote
373 traceframe matches gdb's current traceframe.
374 (remote_trace_find): If looking up a traceframe using any method
375 other than by number, make sure the current remote traceframe
376 matches gdb's current traceframe. Update the current remote
377 traceframe if the lookup succeeded.
378 * infrun.c (fetch_inferior_event): Adjust.
379 * tracepoint.h (set_current_traceframe): Declare.
380 (get_traceframe_number, set_traceframe_number): Add describing
385 Mark pieces of values as unavailable if the corresponding memory
388 * valops.c: Include tracepoint.h.
389 (value_fetch_lazy): Use read_value_memory.
390 (read_value_memory): New.
391 * value.h (read_value_memory): Declare.
392 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
393 * exec.c (section_table_available_memory): New function.
394 * exec.h (section_table_available_memory): Declare.
398 * Makefile.in (SFILES): Add memrange.c.
399 (HFILES_NO_SRCDIR): Add memrange.h.
400 (COMMON_OBS): Add memrange.o.
401 * memrange.c: New file.
402 * memrange.h: New file.
403 * tracepoint.c: Include memrange.h.
404 (struct mem_range): Delete.
405 (mem_range_s): Delete.
406 (traceframe_available_memory): New function.
407 * tracepoint.h (traceframe_available_memory): Declare.
411 * target.h (struct traceframe_info): Forward declare.
412 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
413 (struct target_ops) <to_traceframe_info>: New field.
414 (target_traceframe_info): New.
415 * target.c (update_current_target): Inherit and default
417 * remote.c (PACKET_qXfer_traceframe_info): New.
418 (remote_protocol_features): Register qXfer:traceframe-info:read.
419 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
420 (remote_traceframe_info): New.
421 (init_remote_ops): Install it.
422 (_initialize_remote): Install "set/show remote traceframe-info"
424 * tracepoint.h (parse_traceframe_info): Declare.
425 * tracepoint.c (struct mem_range): New.
426 (mem_range_s): New typedef.
427 (struct traceframe_info): New.
428 (traceframe_info): New global.
429 (free_traceframe_info): New function.
430 (clear_traceframe_info): New function.
431 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
433 (build_traceframe_info): New function.
434 (tfile_traceframe_info): New function.
435 (init_tfile_ops): Install tfile_traceframe_info.
436 (traceframe_info_start_memory, free_result): New functions.
437 (memory_attributes, traceframe_info_elements): New globals.
438 (parse_traceframe_info, get_traceframe_info): New functions.
439 * features/traceframe-info.dtd: New file.
440 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
444 Base support for <unavailable> value contents.
446 * value.h (value_bytes_available): Declare.
447 (mark_value_bytes_unavailable): Declare.
448 * value.c (struct range): New struct.
449 (range_s): New typedef.
450 (ranges_overlap): New function.
451 (range_lessthan): New function.
452 (ranges_contain_p): New function.
453 (struct value) <unavailable>: New field.
454 (value_bytes_available): New function.
455 (mark_value_bytes_unavailable): New function.
456 (require_not_optimized_out): Constify parameter.
457 (require_available): New function.
458 (value_contents_all, value_contents): Require all bytes be
460 (value_free): Free `unavailable'.
461 (value_copy): Copy `unavailable'.
462 * valprint.h (val_print_unavailable): Declare.
463 * valprint.c (valprint_check_validity): Rename `offset' parameter
464 to `embedded_offset'. If printing a scalar, check whether the
465 value chunk is available.
466 (val_print_unavailable): New.
467 (val_print_scalar_formatted): Check whether the value is
469 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
470 pretty-printing unavailable values.
474 Fix const/volatile qualifiers of C++ types, PR c++/12328.
475 * c-typeprint.c (c_type_print_args): Update the function comment. New
476 variable param_type, initialize it. Remove const/volatile qualifiers
477 for language_cplus and !show_artificial. Use param_type.
481 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
482 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
483 * symtab.h (struct symtab) <next>: Comment extension.
487 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
491 * common/Makefile.in: Add copyright header.
495 * infrun.c (proceed): Move switching out and in of tfind mode from
497 (fetch_inferior_event): ... to here.
501 * Makefile.in: Remove signals.o from COMMON_OBS. Link
503 * configure.ac: Add common to sub dir.
504 * configure: Regenerate.
510 * common/Makefile.in: New.
511 * common/configure.ac: New.
512 * common/aclocal.m4: New.
513 * common/configure: Generate.
517 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
518 side of the parenthesis.
522 * vec.h (VEC_block_remove): Fix comment.
526 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
530 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
531 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
537 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
539 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
540 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
544 * dwarf2read.c (read_subroutine_type): Set special calling
545 convention flag for functions compiled by IBM XL C for OpenCL.
546 * ppc-sysv-tdep.c: Include "dwarf2.h"
547 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
549 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
550 IBM OpenCL vector types calling convention.
551 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
552 (ppc_sysv_abi_broken_return_value): Likewise.
553 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
554 types calling convention.
555 (ppc64_sysv_abi_return_value): Likewise.
556 * spu-tdep.c: Include "dwarf2.h"
557 (spu_return_value): Implement IBM OpenCL vector types calling
562 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
563 correct ABI for AltiVec vector arguments.
567 * valprint.c (val_print): Extend comment.
568 * ada-valprint.c (ada_valprint): Rewrite comment deferring
569 interface explanation to val_print.
570 (ada_val_print_array): Adjust comment to current interface.
571 (print_field_values): Adjust comment to current interface.
572 * c-valprint.c (c_val_print): Rewrite comment deferring interface
573 explanation to val_print.
574 * f-valprint.c (f_val_print): Ditto.
575 * jv-valprint.c (java_val_print): Ditto.
576 * m2-valprint.c (m2_val_print): Ditto.
577 * p-valprint.c (pascal_val_print): Ditto.
581 * breakpoint.c (parse_breakpoint_sals): Fix description.
586 * python/py-inferior.c (python_on_normal_stop): New function.
587 (python_on_resume): New function.
588 (python_inferior_exit): New function.
589 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
590 inferior_exit observers.
591 * python/py-evtregistry.c: New file.
592 * python/py-threadevent.c : New file.
593 * python/py-event.c: New file.
594 * python/py-evts.c: New file.
595 * python/py-continueevent.c: New file.
596 * python/py-bpevent.c: New file.
597 * python/py-signalevent.c: New file.
598 * python/py-exetiedevent.c: New file.
599 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
600 Move struct breakpoint_object from here...
601 * python/python-internal.h: ... to here.
602 * python/py-event.h: New file.
603 * python/py-events.h: New file.
604 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
605 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
606 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
607 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
608 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
609 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
610 Add build rules for all the above.
614 * dwarf2read.c (dwarf2_section_empty_p): New function.
615 (dwarf2_read_section): Use dwarf2_section_empty_p.
616 (dwarf2_section_size): New function.
617 (dwarf2_get_section_info): Unconditionally read section.
618 (dwarf2_read_index): Use dwarf2_section_empty_p.
619 (partial_read_comp_unit_head): Use dwarf2_section_size.
620 (dwarf2_symbol_mark_computed): Likewise.
624 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
628 * mips-linux-tdep.c: Include xml-syscall.h.
629 (mips_linux_get_syscall_number): New function.
630 (mips_linux_init_abi): Add calls to
631 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
632 * data-directory/Makefile.in (SYSCALLS_FILES): Add
633 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
634 * syscalls/mips-n32-linux.xml: New file.
635 * syscalls/mips-n64-linux.xml: New file.
636 * syscalls/mips-o32-linux.xml: New file.
640 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
641 Complain about inverted range entries.
642 (dwarf2_record_block_ranges): Likewise.
647 * breakpoint.c (update_watchpoint): Fix name of the
648 update_global_location_list function.
649 (print_one_breakpoint): Fix typo.
650 (_initialize_breakpoint): Remove extra space in hbreak help
652 * breakpoint.h (struct bp_location) <length>: Fix field
657 * regcache.c (registers_changed_ptid): Don't explictly always
658 clear `current_regcache'. Only clear current_thread_ptid and
659 current_thread_arch when PTID matches. Only reinit the frame
660 cache if PTID matches the current inferior_ptid. Move alloca(0)
662 (registers_changed): ... here.
666 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
667 starts with __stack_chk_guard as stack guard symbol.
671 * disasm.c (compare_lines): Handle the end of sequence markers
672 within the line table to better support disassembling over
673 compilation unit boundaries.
677 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
678 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
679 implementation even if no symbols are available.
680 (thumb_analyze_prologue): Update call to skip_prologue_function.
681 (arm_analyze_prologue): Likewise.
685 * arm-tdep.c: Include "observer.h".
686 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
687 (arm_exidx_data_key): New static variable.
688 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
689 (struct arm_exidx_data): Likewise.
690 (arm_exidx_data_free): New function.
691 (arm_compare_exidx_entries): Likewise.
692 (arm_obj_section_from_vma): Likewise.
693 (arm_exidx_new_objfile): Likewise.
694 (arm_find_exidx_entry): Likewise.
695 (arm_exidx_fill_cache): Likewise.
696 (arm_exidx_unwind_sniffer): Likewise.
697 (arm_exidx_unwind): New global variable.
698 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
699 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
700 observer. Register arm_exidx_data_key as objfile data.
704 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
705 due to accessing uninitialized variable. Fix indentation.
709 * c-valprint.c (c_value_print): When doing virtual base pointer
710 adjustment, create a new value with adjusted contents rather than
711 changing the contents of the value being printed (and getting it
716 * xml-support.c (xml_find_attribute): New.
717 (xinclude_start_include): Use it.
718 * xml-support.h (xml_find_attribute): Declare.
719 * memory-map.c (memory_map_start_memory)
720 (memory_map_start_property): Use xml_find_attribute.
721 * osdata.c (osdata_start_osdata, osdata_start_column): Use
723 * remote.c (start_thread): Use xml_find_attribute.
724 * solib-target.c (library_list_start_segment)
725 (library_list_start_section, library_list_start_library)
726 (library_list_start_list): Use xml_find_attribute.
727 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
728 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
729 (tdesc_start_field): Use xml_find_attribute.
733 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
734 (BUILD_OCL_VTYPES): Update.
738 * configure.ac: Work around non-GNU sed limitation when computing
739 python version number.
740 * configure: Regenerate.
744 Fix debug printing of TYPE_INSTANCE.
745 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
746 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
750 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
751 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
752 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
753 * ada-operator.inc: Rename the file to ...
754 * ada-operator.def: ... here, wrap all the entries by macro OP.
755 * expprint.c (op_name_standard): Remove all the entries. Include
756 "std-operator.def" instead.
757 * expression.h (enum exp_opcode): Include "std-operator.def" and
758 "ada-operator.def". Move all the entries ...
759 * std-operator.def: ... here, wrap all the entries by macro OP.
763 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
764 * breakpoint.c (remove_jit_event_breakpoints): New function.
765 * jit.c (jit_descriptor_addr): Delete.
766 (registering_code): Delete.
768 (jit_inferior_data): New variable.
769 (struct jit_inferior_data): New type.
770 (get_jit_inferior_data): New function.
771 (jit_inferior_data_cleanup): New function.
772 (jit_read_descriptor): Adjust.
773 (jit_register_code): Adjust.
774 (jit_breakpoint_re_set_internal): New function; move code here ...
775 (jit_inferior_init): ... from here.
776 (jit_breakpoint_re_set): Adjust.
777 (jit_reset_inferior_data_and_breakpoints): New function.
778 (jit_inferior_created_observer): Adjust.
779 (jit_inferior_exit_hook): Adjust.
780 (jit_executable_changed_observer): New function.
781 (jit_event_handler): Adjust.
782 (_initialize_jit): Adjust.
786 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
792 * python/python.c (execute_gdb_command): Call
794 * top.c (suppress_dont_repeat): New global.
795 (dont_repeat): Use it.
796 (prevent_dont_repeat): New function.
797 * command.h (prevent_dont_repeat): Declare.
801 * infcmd.c (finish_backward): Use breakpoint_set_silent.
802 * python/py-breakpoint.c (bppy_set_silent): Use
803 breakpoint_set_silent.
804 (bppy_set_thread): Use breakpoint_set_thread.
805 (bppy_set_task): Use breakpoint_set_task.
806 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
807 (breakpoint_set_task): Declare.
808 (make_breakpoint_silent): Remove.
809 * breakpoint.c (breakpoint_set_silent): New function.
810 (breakpoint_set_thread): Likewise.
811 (breakpoint_set_task): Likewise.
812 (make_breakpoint_silent): Remove.
816 * breakpoint.h (user_breakpoint_p): Declare.
817 * breakpoint.c (user_breakpoint_p): New function.
818 (breakpoint_1): Use it.
819 (save_breakpoints): Likewise.
823 * configure.ac: Add handling of Python distribution on Windows.
824 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
825 sysconfig variables are not defined, then do not use them.
826 On Windows, if LIBPL is not defined, then use prefix + '/libs'
827 instead. On Windows, return all paths using forward-slashes
828 rather than backslashes.
832 * configure.ac: Remove fallback behavior for building
833 against Python. Remove tweaking of Python include path.
834 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
835 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
836 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
837 Always restore CPPFLAGS and LIBS after linking test.
838 * configure: Regenerated.
839 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
840 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
841 * python/python-internal.h: Adjust includes of Python .h files.
845 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
850 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
855 * arm-linux-nat.c: Update calls to regcache_register_status
856 instead of regcache_valid_p.
857 * aix-thread.c: Likewise.
858 * i386gnu-nat.c: Likewise.
863 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
864 touching TYPE_FIELD_ARTIFICIAL.
868 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
873 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
874 selected, don't try iterating over the traceframe's blocks.
875 (tfile_has_stack): If there's no traceframe selected, then there's
877 (tfile_has_registers): If there's no traceframe selected, then
878 there's no registers.
882 * target.c (memory_xfer_partial): No need to restore shadows if we
883 haven't read anything.
887 * mips-tdep.c (mips_print_register): Use get_frame_register_value
888 and val_print_scalar_formatted.
892 * tracepoint.c (tfile_read): New.
893 (tfile_open): Use it.
894 (tfile_get_traceframe_address): Use it.
895 (tfile_trace_find): Use it.
896 (walk_blocks_callback_func): New typedef.
897 (match_blocktype): New function.
898 (traceframe_walk_blocks): New function.
899 (traceframe_find_block_type): New function.
900 (tfile_fetch_registers, tfile_xfer_partial)
901 (tfile_get_trace_state_variable_value): Use
902 traceframe_find_block_type and tfile_read.
906 * remote-mips.c: Add internationalization mark ups. Remove
907 trailing \n from already marked up strings.
911 * python/py-prettyprint.c (print_string_repr): Clear
912 'addressprint' option when calling val_print_string.
913 (print_children): Handle Val_pretty_default. Clear 'addressprint'
914 option when calling val_print_string.
918 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
920 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
922 (gdb_py_longest, gdb_py_ulongest): New typedefs.
923 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
924 (gdb_py_long_as_ulongest): New defines.
925 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
926 (gdb_py_int_as_long): Declare.
927 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
928 GDB_PY_LL_ARG, gdb_py_object_from_longest.
929 (valpy_long): Add comment.
930 * python/py-utils.c (get_addr_from_python): Use
931 gdb_py_long_as_ulongest. Handle overflow properly.
932 (gdb_py_object_from_longest): New function.
933 (gdb_py_object_from_ulongest): Likewise.
934 (gdb_py_int_as_long): Likewise.
935 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
936 * python/py-symtab.c (salpy_get_pc): Use
937 gdb_py_long_from_ulongest.
938 (salpy_get_line): Use PyInt_FromLong.
939 * python/py-param.c (set_parameter_value): Use
941 * python/py-lazy-string.c (stpy_get_address): Use
942 gdb_py_long_from_ulongest.
943 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
944 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
945 * python/py-breakpoint.c (bppy_set_thread): Use
947 (bppy_set_task): Likewise.
948 (bppy_set_ignore_count): Likewise.
949 (bppy_set_hit_count): Likewise.
950 * python/py-block.c (blpy_get_start): Use
951 gdb_py_object_from_ulongest.
952 (blpy_get_end): Likewise.
953 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
958 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
959 * gdb/solib.c (solib_read_symbols): Check for addr_low in
960 equality test for objfile, initialize addr_low if needed.
964 * tui/tui-regs.c (tui_register_format): Remove dead code.
968 * printcmd.c (print_formatted): Use val_print_scalar_formatted
969 instead of print_scalar_formatted.
970 (print_scalar_formatted): Don't handle 's' format strings here,
971 and add an assertion that we never see such format here.
972 * valprint.h (val_print_scalar_formatted): Declare.
973 * valprint.c (val_print_scalar_formatted): New.
974 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
975 instead of print_scalar_formatted.
976 * jv-valprint.c (java_val_print): Ditto.
977 * p-valprint.c (pascal_val_print): Ditto.
978 * ada-valprint.c (ada_val_print_1): Ditto.
979 * f-valprint.c (f_val_print): Ditto.
980 * infcmd.c (registers_info): Ditto.
981 * m2-valprint.c (m2_val_print): Ditto.
985 * m2-valprint.c (print_unbounded_array): Pass
986 value_contents_for_printing rather than value_contents, to
987 m2_print_array_contents. Also pass in the value.
991 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
992 (save_gdb_index_command): Switch to .gdb_index version 4.
996 * mi/mi-main.c (get_register): Use get_frame_register_value rather
997 than frame_register, and always pass a valid value to val_print.
1001 Centralize printing "<optimized out>".
1003 * valprint.h (val_print_optimized_out): Declare.
1004 * cp-valprint.c (cp_print_value_fields): Use
1005 val_print_optimized_out.
1006 * jv-valprint.c (java_print_value_fields): Ditto.
1007 * p-valprint.c (pascal_object_print_value_fields): Ditto.
1008 * printcmd.c (print_formatted): Ditto.
1009 * valprint.c (valprint_check_validity): Ditto.
1010 (value_check_printable): Ditto.
1011 (val_print_optimized_out): New.
1015 * infcmd.c (default_print_registers_info): Allocate values so to
1016 never pass a NULL value to val_print.
1020 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
1021 boolean. Make sure to always pass a value that matches the
1022 contents buffer to callees. Preserve `address' for following
1024 * value.c (value_contents_for_printing_const): New.
1025 (value_address): Constify value argument.
1026 * value.h (value_contents_for_printing_const): Declare.
1027 (value_address): Constify value argument.
1031 * regcache.c (struct regcache_descr): Rename
1032 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
1033 and sizeof_cooked_register_valid_p to
1034 sizeof_cooked_register_status.
1035 (init_regcache_descr): Adjust.
1036 (struct regcache): Rename register_valid_p field to
1038 (regcache_xmalloc_1, regcache_xfree, regcache_save)
1039 (do_cooked_read): Adjust.
1040 (regcache_valid_p): Rename to ...
1041 (regcache_register_status): ... this. Adjust.
1042 (regcache_invalidate): Adjust.
1043 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1045 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1046 as unavailable, not valid.
1047 (regcache_dump): Adjust.
1048 * regcache.h (enum register_status): New.
1049 (regcache_register_status): Declare.
1050 (regcache_invalidate): Delete declaration.
1051 * corelow.c (get_core_registers): Adjust.
1052 * tracepoint.c (tfile_fetch_registers): Adjust.
1053 * trad-frame.c (REG_VALUE): Rename to ...
1054 (TF_REG_VALUE): ... this.
1055 (REG_UNKNOWN): Rename to ...
1056 (TF_REG_UNKNOWN): ... this.
1057 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1058 * mi/mi-main.c (register_changed_p): Adjust.
1062 * regcache.c (struct regcache_descr): Remove outdated comment.
1063 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1065 (regcache_xmalloc): Rename to ...
1066 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1067 Allocate the regcache type accordingly.
1068 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1069 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1070 cooked registers, not raw.
1071 (regcache_dup_no_passthrough): Delete.
1072 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1073 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1074 mention obsolete write_register_bytes.
1075 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1079 Stop remote_read_bytes from handling partial reads itself.
1081 * remote-fileio.c: Include target.h.
1082 (remote_fileio_write_bytes): Delete.
1083 (remote_fileio_func_open, remote_fileio_func_write)
1084 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1086 (remote_fileio_func_stat): Use target_read_memory and
1087 target_write_memory.
1088 (remote_fileio_func_gettimeofday): Use target_write_memory.
1089 (remote_fileio_func_system): Use target_read_memory.
1090 * remote.c (remote_write_bytes): Make it static.
1091 (remote_read_bytes): Don't handle partial reads here.
1092 * remote.h (remote_read_bytes): Delete declaration.
1096 Simplify XML parsing a bit.
1098 * xml-support.h (gdb_xml_parse_quick): Declare.
1099 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1100 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1102 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1103 gdb_xml_create_parser_and_cleanup_1.
1104 (gdb_xml_parse_quick): New.
1105 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1106 * osdata.c (osdata_parse): Ditto.
1107 * remote.c (remote_threads_info): Ditto.
1108 * solib-target.c (solib_target_parse_libraries): Ditto.
1109 * xml-syscall.c (syscall_parse_xml): Ditto.
1110 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1114 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1115 with remote-mips.o added to gdb_target_obs.
1116 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1120 * ada-valprint.c (val_print_packed_array_elements): Pass the
1121 correct struct value to val_print.
1122 (ada_val_print_1): Ditto.
1126 Don't lose embedded_offset in printing routines throughout.
1128 * valprint.h (val_print_array_elements): Change prototype.
1129 * valprint.c (val_print_array_elements): Add `embedded_offset'
1130 parameter, and adjust to pass it down to val_print, while passing
1131 `valaddr' or `address' unmodified. Take embedded_offset into
1132 account when checking repetitions.
1133 * c-valprint.c (c_val_print): Pass embedded_offset to
1134 val_print_array_elements instead of adjusting `valaddr' and
1136 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1137 embedded_offset to val_print_array_elements instead of adjusting
1139 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1140 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1141 val_print_array_elements and pascal_object_print_value_fields
1142 instead of adjusting `valaddr'.
1143 (pascal_object_print_value_fields): Add `offset' parameter, and
1145 (pascal_object_print_value): Add `offset' parameter, and adjust to
1147 (pascal_object_print_static_field): Use
1148 value_contents_for_printing/value_embedded_offset, rather than
1150 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1151 parameter, and adjust to use it. Use
1152 value_contents_for_printing/value_embedded_offset, rather than
1154 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1155 (ada_val_print_array): Add `offset' parameter, and adjust to use
1157 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1158 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1159 Instead work with offsets. Use
1160 value_contents_for_printing/value_embedded_offset, rather than
1161 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1162 and use value_from_pointer to extract a target pointer, rather
1163 than value_from_longest.
1164 (print_variant_part): Add `offset' parameter. Replace
1165 `outer_valaddr' parameter by a new `outer_offset' parameter.
1166 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1167 (ada_value_print): Use
1168 value_contents_for_printing/value_embedded_offset, rather than
1170 (print_record): Add `offset' parameter, and adjust to pass it
1172 (print_field_values): Add `offset' parameter. Replace
1173 `outer_valaddr' parameter by a new `outer_offset' parameter.
1174 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1175 Use value_contents_for_printing/value_embedded_offset, rather than
1177 * d-valprint.c (dynamic_array_type): Use
1178 value_contents_for_printing/value_embedded_offset, rather than
1180 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1181 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1182 (java_print_value_fields): Take `offset' into account. Don't
1183 re-adjust `valaddr'. Instead pass down adjusted offsets.
1184 (java_val_print): Take `embedded_offset' into account. Pass it to
1185 java_print_value_fields.
1186 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1187 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1188 down adjusted offsets.
1189 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1190 (f_val_print): Take `embedded_offset' into account.
1194 * inflow.c: Include "gdbcmd.h".
1195 (interactive_mode): New static global, moved here from top.c.
1196 (show_interactive_mode): New function, moved here from top.c.
1197 use gdb_has_a_terminal instead of input_from_terminal_p to
1198 determine the current mode.
1199 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1201 (_initialize_inflow): Add the "set/show interactive-mode"
1202 commands. Moved here from top.c, after having adjusted slightly
1204 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1206 (input_from_terminal_p): Remove handling of "interactive-mode"
1207 setting, moved to infow.c.
1208 (init_main): Remove creation of the "set/show interactive-mode"
1209 commands, moved to inflow.c.
1213 * NEWS: Add entry for native ia64-hpux support.
1218 * thread.c (free_thread): Free 'name'.
1219 (print_thread_info): Emit thread name. Change CLI output.
1220 (thread_name_command): New function.
1221 (do_captured_thread_select): Emit newline.
1222 (_initialize_thread): Register 'thread name' command.
1223 * target.h (struct target_ops) <to_thread_name>: New field.
1224 (target_thread_name): New macro.
1225 * target.c (update_current_target): Handle to_thread_name.
1226 * python/py-infthread.c (thpy_get_name): New function.
1227 (thpy_set_name): Likewise.
1228 (thread_object_getset): Add "name".
1229 * linux-nat.c (linux_nat_thread_name): New function.
1230 (linux_nat_add_target): Set to_thread_name.
1231 * gdbthread.h (struct thread_info) <name>: New field.
1235 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1236 (ada_val_print_1): Likewise.
1240 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1241 upper limit address is not greater than the function end address
1242 when the upper limit could not be computed using the debugging
1247 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1249 * utils.c: Include gdb_regex.h.
1250 (do_regfree_cleanup): New function.
1251 (make_regfree_cleanup): Likewise.
1252 (get_regcomp_error): Likewise.
1253 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1257 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1262 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1263 for internal variables.
1264 (last_was_structop): New static variable.
1265 (COMPLETE): New token.
1266 (field_exp): New rule to group all '.' suffix handling.
1267 Add mark_struct_expression calls when approriate to be able
1268 to correctly find fields for completion.
1269 (yylex): Adapt to handle field completion and set INTVAR when
1274 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1275 save_reggroup, restore_reggroup and all_reggroup.
1279 * ada-valprint. (ada_printchar): Use the correct type length
1280 in call to ada_emit_char.
1281 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1285 * solib-som.h (hpux_major_release): Declare variable here.
1286 * solib-som.c: Remove <sys/utsname.h> header.
1287 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1288 (hpux_major_release): Make global, change default value to
1289 DEFAULT_HPUX_MAJOR_RELEASE.
1290 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1291 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1292 Add "solib-som.h" header.
1293 (set_hpux_major_release): New function.
1294 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1298 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1302 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1303 new-line at end of warning message.
1304 (ia64_hpux_store_register): Remove trailing new-line at end of
1306 * ia64-hpux-tdep.c: Rephrase comment.
1307 * solib-ia64-hpux.c (struct dld_info): Change type of field
1308 dld_flags from "long long" to ULONGEST.
1312 * target.h (deprecated_child_ops): Delete declaration.
1313 * target.c (deprecated_child_ops): Delete definition.
1317 * Makefile.in (hpux-thread.o): Delete rule.
1318 * configure.ac: Don't check for HPUX DCE threads support.
1319 * configure, config.in: Regenerate.
1320 * hppa-hpux-nat.c (child_suppress_run): Delete.
1321 (hppa_hpux_child_can_run): Delete.
1322 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1323 * hpux-thread.c: Delete.
1327 * hpux-thread.c (hpux_pid_to_str): Delete.
1331 * ada-valprint.c (ada_emit_char): Remove strange code.
1332 Check that c is <= UCHAR_MAX before passing it to isascii.
1333 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1337 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1338 to the case where instream is stdin.
1342 * ia64-tdep.h (struct regcache): Forward declare.
1343 (struct ia64_infcall_ops): New struct type.
1344 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1346 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1347 Renames ia64_find_global_pointer.
1348 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1349 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1350 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1352 (ia64_infcall_ops): New static global constant.
1353 (ia64_gdbarch_init): Set tdep->infcall_ops.
1354 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1355 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1356 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1357 (ia64_hpux_dummy_code): New static global constant.
1358 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1359 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1360 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1362 (ia64_hpux_infcall_ops): New static global constant.
1363 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1364 for inferior function calls to work properly on ia64-hpux.
1368 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1369 * ia64-tdep.h (struct frame_info): forward declaration.
1370 (struct gdbarch_tdep): Add field size_of_register_frame.
1371 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1372 to determine the size of the register frame.
1373 (ia64_size_of_register_frame): New function.
1374 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1375 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1376 (IA64_HPUX_UREG_REASON): New macro.
1377 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1379 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1380 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1381 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1386 Add support for ia64-hpux.
1387 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1388 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1390 * configure.host: Add handling for ia64-hpux hosts. Add associated
1392 * configure.tgt: Add handling for ia64-hpux targets.
1393 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1394 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1395 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1399 [ttrace] Compute thread list immediately after attach.
1400 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1402 (inf_ttrace_attach): Use it.
1406 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1407 if we could not determine the frame's function address. Instead,
1408 use the frame's PC, and then continue.
1412 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1413 not already defined.
1417 * ia64-tdep.c (ia64_struct_type_p): New function.
1418 (ia64_extract_return_value): Handle integral values that are
1419 less than 8 bytes long.
1420 (ia64_push_dummy_call): Likewise.
1424 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1425 floatformat_ia64_ext.
1426 (floatformat_ia64_ext_big): New static const.
1427 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1431 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1433 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1434 (mi_cmd_thread_list_ids): Likewise.
1435 (mi_cmd_data_list_changed_registers): Likewise.
1436 (mi_cmd_data_list_register_values): Likewise.
1437 (mi_cmd_data_write_register_values): Likewise.
1438 (mi_cmd_data_evaluate_expression): Likewise.
1439 (mi_cmd_data_read_memory): Likewise.
1440 (mi_cmd_data_read_memory_bytes): Likewise.
1441 (mi_cmd_data_write_memory): Likewise.
1442 (mi_cmd_enable_timings): Likewise.
1443 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1444 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1445 (mi_cmd_var_delete): Likewise.
1446 (mi_cmd_var_set_format): Likewise.
1447 (mi_cmd_var_show_format): Likewise.
1448 (mi_cmd_var_info_num_children): Likewise.
1449 (mi_cmd_var_list_children): Likewise.
1450 (mi_cmd_var_info_type): Likewise.
1451 (mi_cmd_var_info_expression): Likewise.
1452 (mi_cmd_var_show_attributes): Likewise.
1453 (mi_cmd_var_assign): Likewise.
1454 (mi_cmd_var_update): Likewise.
1455 (mi_cmd_enable_pretty_printing): Likewise.
1456 (mi_cmd_var_set_update_range): Likewise.
1457 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1459 (mi_cmd_target_file_put): Likewise.
1460 (mi_cmd_target_file_delete): Likewise.
1461 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1463 (mi_cmd_stack_info_depth): Likewise.
1464 (mi_cmd_stack_list_locals): Likewise.
1465 (mi_cmd_stack_list_args): Likewise.
1466 (mi_cmd_stack_select_frame): Likewise.
1467 (mi_cmd_stack_select_frame): Likewise.
1468 (mi_cmd_stack_info_frame): Likewise.
1469 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1471 (mi_cmd_file_list_exec_source_files): Likewise.
1472 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1473 (mi_cmd_env_cd): Likewise.
1474 (mi_cmd_env_path): Likewise.
1475 (mi_cmd_env_dir): Likewise.
1476 (mi_cmd_inferior_tty_show): Likewise.
1477 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1478 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1479 (mi_cmd_break_watch): Likewise.
1483 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1484 (ppc_linux_insert_hw_breakpoint): Likewise.
1485 (ppc_linux_remove_hw_breakpoint): Likewise.
1486 (ppc_linux_insert_watchpoint): Likewise.
1491 PR fortran/11104 and DWARF unbound arrays detection.
1492 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1493 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1494 unspecified upper bound.
1495 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1496 variables array_size_array, tmp_type and offset_item. New variable
1497 array. Remove call to f77_get_upperbound. New variables array_type
1498 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1499 the final call to deprecated_set_value_type.
1503 Make value allocations more lazy.
1504 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1505 instead of allocate_value and set_value_lazy when possible.
1506 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1507 instead of allocate_value and set_value_lazy.
1508 * findvar.c (value_of_register_lazy): Likewise.
1509 (read_var_value): Remove V preallocation, call just check_typedef in
1510 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1511 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1512 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1513 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1514 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1515 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1516 the end, remove set_value_lazy there.
1517 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1518 instead of allocate_value and set_value_lazy when possible.
1519 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1520 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1521 of allocate_value and set_value_lazy.
1522 (value_from_contents_and_address): Use allocate_value_lazy instead of
1523 allocate_value and set_value_lazy when possible.
1527 * disasm.c (dump_insns): Support dumping opcodes for MI.
1528 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1529 dumping of instruction opcodes.
1533 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1538 * thread.c (do_captured_thread_select): Emit newline before
1543 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1544 * score-tdep.c: Ditto.
1545 * score-tdep.h: Ditto.
1546 * ser-base.c: Ditto.
1547 * ser-go32.c: Ditto.
1550 * ser-mingw.c: Ditto.
1551 * ser-pipe.c: Ditto.
1553 * ser-unix.c: Ditto.
1554 * sh64-tdep.c: Ditto.
1555 * shnbsd-nat.c: Ditto.
1559 * solib-darwin.c: Ditto.
1560 * solib-frv.c: Ditto.
1562 * solib-irix.c: Ditto.
1563 * solib-osf.c: Ditto.
1564 * solib-pa64.c: Ditto.
1565 * solib-som.c: Ditto.
1566 * solib-spu.c: Ditto.
1567 * solib-sunos.c: Ditto.
1568 * solib-svr4.c: Ditto.
1570 * sol-thread.c: Ditto.
1574 * sparc64-linux-tdep.c: Ditto.
1575 * sparc64-tdep.c: Ditto.
1576 * sparc-linux-nat.c: Ditto.
1577 * sparc-linux-tdep.c: Ditto.
1578 * sparc-sol2-nat.c: Ditto.
1579 * sparc-sol2-tdep.c: Ditto.
1580 * sparc-tdep.c: Ditto.
1581 * sparc-tdep.h: Ditto.
1582 * spu-tdep.c: Ditto.
1583 * stabsread.c: Ditto.
1584 * stabsread.h: Ditto.
1592 * target-descriptions.c: Ditto.
1593 * target-descriptions.h: Ditto.
1595 * target-memory.c: Ditto.
1596 * terminal.h: Ditto.
1599 * tracepoint.c: Ditto.
1600 * tracepoint.h: Ditto.
1601 * trad-frame.h: Ditto.
1602 * typeprint.c: Ditto.
1606 * ui-file.c: Comment cleanup, mostly periods and spaces.
1611 * v850-tdep.c: Ditto.
1612 * valarith.c: Ditto.
1614 * valprint.c: Ditto.
1615 * valprint.h: Ditto.
1620 * vax-tdep.c: Ditto.
1624 * windows-nat.c: Ditto.
1625 * windows-tdep.c: Ditto.
1626 * xcoffread.c: Ditto.
1627 * xcoffsolib.c: Ditto.
1628 * xml-support.c: Ditto.
1629 * xstormy16-tdep.c: Ditto.
1630 * xtensa-tdep.c: Ditto.
1631 * xtensa-tdep.h: Ditto.
1635 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1636 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1641 Implement support for PowerPC BookE ranged watchpoints.
1643 (struct breakpoint_ops) <resources_needed>: New method.
1644 Initialize to NULL in all existing breakpoint_ops instances.
1645 (struct breakpoint) <exact>: New field.
1646 (target_exact_watchpoints): Declare external global.
1647 * breakpoint.c (target_exact_watchpoints): New global flag.
1648 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1649 b->enable_state to bp_enabled before calling
1650 hw_watchpoint_used_count.
1651 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1652 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1654 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1655 if the watchpoint is exact.
1656 (resources_needed_watchpoint): New function.
1657 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1658 (watch_command_1): Set b->exact if the user asked for an exact
1659 watchpoint and one can be set.
1660 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1661 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1662 the user asks for an exact watchpoint and one can be set. Return
1663 number of needed debug registers to watch the expression.
1664 * gdbtypes.c (is_scalar_type): New function, based on
1665 valprint.c:scalar_type_p.
1666 (is_scalar_type_recursive): New function.
1667 * gdbtypes.h (is_scalar_type_recursive): Declare.
1668 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1669 handle regions when ranged watchpoints are available.
1670 (create_watchpoint_request): New function.
1671 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1672 create_watchpoint_request.
1673 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1674 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1675 `set powerpc' and `show powerpc' commands.
1676 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1677 Mention documentation comment in the target macro.
1678 (target_region_ok_for_hw_watchpoint): Document return value.
1682 * breakpoint.c (update_watchpoint): Decide on using a software or
1683 hardware watchpoint after the bp_locations are created.
1687 Convert hardware watchpoints to use breakpoint_ops.
1688 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1689 <insert_location>: ... this. Return int instead of void.
1690 Accept pointer to struct bp_location instead of pointer to
1691 struct breakpoint. Adapt all implementations.
1692 (breakpoint_ops) <remove>: Rename to...
1693 <remove_location>: ... this. Accept pointer to struct bp_location
1694 instead of pointer to struct breakpoint. Adapt all implementations.
1695 * breakpoint.c (insert_catchpoint): Delete function.
1696 (insert_bp_location): Call the watchpoint or catchpoint's
1697 breakpoint_ops.insert method.
1698 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1699 breakpoint_ops.remove method.
1700 (insert_watchpoint, remove_watchpoint): New functions.
1701 (watchpoint_breakpoint_ops): New structure.
1702 (watch_command_1): Initialize the OPS field.
1703 * inf-child.c (inf_child_insert_fork_catchpoint)
1704 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1705 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1706 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1708 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1709 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1710 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1711 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1712 * target.c (update_current_target): Change default implementation of
1713 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1714 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1715 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1716 to_set_syscall_catchpoint to return_one.
1717 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1718 (debug_to_insert_exec_catchpoint): Report return value.
1719 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1720 (to_insert_exec_catchpoint): Change declaration to return int instead
1725 * arm-tdep.c: Internationalization.
1728 * fork-child.c: Ditto.
1729 * nto-procfs.c: Ditto.
1730 * ppc-sysv-tdep.c: Ditto.
1732 * remote-mips.c: Ditto.
1734 * rs6000-nat.c: Ditto.
1735 * rs6000-tdep.c: Ditto.
1739 * xml-support.c: Ditto.
1740 * mi/mi-cmd-break.c: Ditto.
1741 * mi/mi-cmd-var.c: Ditto.
1742 * mi/mi-interp.c: Ditto.
1743 * mi/mi-main.c: Ditto.
1747 * remote-sim.c (gdbsim_store_register): Update API to
1748 sim_store_register to check more error conditions.
1752 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1753 * nto-tdep.c: Ditto.
1754 * nto-tdep.h: Ditto.
1755 * objc-exp.y: Ditto.
1756 * objc-lang.c: Ditto.
1757 * objfiles.c: Ditto.
1758 * objfiles.h: Ditto.
1759 * observer.c: Ditto.
1760 * opencl-lang.c: Ditto.
1763 * parser-defs.h: Ditto.
1766 * posix-hdep.c: Ditto.
1767 * ppcbug-rom.c: Ditto.
1768 * ppc-linux-nat.c: Ditto.
1769 * ppc-linux-tdep.c: Ditto.
1770 * ppc-linux-tdep.h: Ditto.
1771 * ppcnbsd-tdep.c: Ditto.
1772 * ppcobsd-tdep.c: Ditto.
1773 * ppcobsd-tdep.h: Ditto.
1774 * ppc-sysv-tdep.c: Ditto.
1775 * ppc-tdep.h: Ditto.
1776 * printcmd.c: Ditto.
1777 * proc-abi.c: Ditto.
1778 * proc-flags.c: Ditto.
1780 * proc-utils.h: Ditto.
1781 * progspace.h: Ditto.
1782 * prologue-value.c: Ditto.
1783 * prologue-value.h: Ditto.
1784 * psympriv.h: Ditto.
1786 * p-typeprint.c: Ditto.
1787 * p-valprint.c: Ditto.
1788 * ravenscar-sparc-thread.c: Ditto.
1789 * ravenscar-thread.c: Ditto.
1790 * ravenscar-thread.h: Ditto.
1792 * regcache.c: Ditto.
1793 * regcache.h: Ditto.
1795 * remote-fileio.c: Ditto.
1796 * remote-fileio.h: Ditto.
1798 * remote-m32r-sdi.c: Ditto.
1799 * remote-mips.c: Ditto.
1800 * remote-sim.c: Ditto.
1801 * rs6000-aix-tdep.c: Ditto.
1802 * rs6000-nat.c: Ditto.
1803 * rs6000-tdep.c: Ditto.
1807 * charset.c (validate): Internationalization.
1808 * coffread.c (read_one_sym): Ditto.
1809 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1810 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1811 * inflow.c (new_tty): Ditto.
1812 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1813 * m32c-tdep.c (m32c_return_value): Ditto.
1814 * mep-tdep.c (mep_store_return_value): Ditto.
1815 * score-tdep.c (score7_fetch_insn): Ditto.
1816 * ser-mingw.c (pipe_windows_open): Ditto.
1817 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1818 * spu-tdep.c (spu_register_type): Ditto.
1819 * tracepoint.c (trace_find_command): Ditto.
1820 * valarith.c (value_pos): Ditto.
1824 * ada-valprint.c (printstr): Minor comment reformatting.
1828 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1833 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1834 * hppa-hpux-tdep.c: Ditto.
1835 * hppa-linux-nat.c: Ditto.
1836 * hppa-linux-tdep.c: Ditto.
1837 * hppanbsd-tdep.c: Ditto.
1838 * hppa-tdep.c: Ditto.
1839 * hppa-tdep.h: Ditto.
1840 * hpux-thread.c: Ditto.
1841 * i386-cygwin-tdep.c: Ditto.
1842 * i386-darwin-nat.c: Ditto.
1843 * i386gnu-nat.c: Ditto.
1844 * i386-linux-nat.c: Ditto.
1845 * i386-linux-tdep.c: Ditto.
1846 * i386-nat.c: Ditto.
1847 * i386-nat.h: Ditto.
1848 * i386nbsd-tdep.c: Ditto.
1849 * i386-sol2-nat.c: Ditto.
1850 * i386-stub.c: Ditto.
1851 * i386-tdep.c: Ditto.
1852 * i386-tdep.h: Ditto.
1853 * i387-tdep.c: Ditto.
1854 * ia64-linux-nat.c: Ditto.
1855 * ia64-linux-tdep.c: Ditto.
1856 * ia64-tdep.c: Ditto.
1860 * inferior.c: Ditto.
1861 * inferior.h: Ditto.
1867 * iq2000-tdep.c: Ditto.
1868 * irix5-nat.c: Ditto.
1874 * jv-typeprint.c: Ditto.
1875 * jv-valprint.c: Ditto.
1876 * language.c: Ditto.
1877 * language.h: Ditto.
1878 * linespec.c: Ditto.
1879 * linux-fork.c: Ditto.
1880 * linux-nat.c: Ditto.
1881 * linux-thread-db.c: Ditto.
1882 * lm32-tdep.c: Ditto.
1886 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1888 * m2-typeprint.c: Ditto.
1889 * m2-valprint.c: Ditto.
1890 * m32c-tdep.c: Ditto.
1891 * m32r-linux-nat.c: Ditto.
1892 * m32r-rom.c: Ditto.
1893 * m32r-tdep.c: Ditto.
1894 * m32r-tdep.h: Ditto.
1895 * m68hc11-tdep.c: Ditto.
1896 * m58klinux-nat.c: Ditto.
1897 * m68k-tdep.c: Ditto.
1898 * m88k-tdep.c: Ditto.
1899 * m88k-tdep.h: Ditto.
1900 * machoread.c: Ditto.
1901 * macrocmd.c: Ditto.
1902 * macroexp.c: Ditto.
1903 * macrotab.c: Ditto.
1906 * mdebugread.c: Ditto.
1907 * mdebugread.h: Ditto.
1910 * memory-map.h: Ditto.
1911 * mep-tdep.c: Ditto.
1912 * microblaze-rom.c: Ditto.
1913 * microblaze-tdep.c: Ditto.
1915 * mips-irix-tdep.c: Ditto.
1916 * mips-linux-nat.c: Ditto.
1917 * mips-linux-tdep.c: Ditto.
1918 * mips-linux-tdep.h: Ditto.
1919 * mipsnbsd-nat.c: Ditto.
1920 * mipsnbsd-tdep.c: Ditto.
1921 * mipsread.c: Ditto.
1922 * mips-tdep.c: Ditto.
1923 * mips-tdep.h: Ditto.
1924 * mn10300-linux-tdep.c: Ditto.
1925 * mn10300-tdep.c: Ditto.
1926 * mn10300-tdep.h: Ditto.
1929 * moxie-tdep.c: Ditto.
1930 * moxie-tdep.h: Ditto.
1935 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1939 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1943 * charset.c (_initialize_charset): Fix typo in string.
1947 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1949 * tui/tui-layout.c (tui_set_layout_for_display_command):
1950 Split line so that operator goes to beginning of line.
1951 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1952 assignment out of if statement.
1956 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1957 * ada-lang.h: Ditto.
1958 * ada-tasks.c: Ditto.
1959 * ada-valprint.c: Ditto.
1960 * aix-threads.c: Ditto.
1961 * alpha-linux-nat.c: Ditto.
1962 * alpha-linux-tdep.c: Ditto.
1963 * alpha-mdebug-tdep.c: Ditto.
1964 * alpha-nat.c: Ditto.
1965 * alpha-osf1-tdep.c: Ditto.
1966 * alpha-tdep.c: Ditto.
1967 * alphabsd-nat.c: Ditto.
1968 * alphabsd-tdep.c: Ditto.
1969 * amd64-darwin-tdep.c: Ditto.
1970 * amd64-linux-nat.c: Ditto.
1971 * amd64-linux-tdep.c: Ditto.
1972 * amd64-sol2-tdep.c: Ditto.
1973 * amd64-tdep.c: Ditto.
1974 * amd64-fbsd-tdep.c: Ditto.
1975 * amd64-nbsd-tdep.c: Ditto.
1976 * amd64-obsd-tdep.c: Ditto.
1977 * amd64-linux-nat.c: Ditto.
1978 * amd64-linux-tdep.c: Ditto.
1979 * arm-tdep.c: Ditto.
1980 * arm-tdep.h: Ditto.
1981 * armnbsd-nat.c: Ditto.
1982 * avr-tdep.c: Ditto.
1983 * bfin-tdep.c: Ditto.
1985 * c-typeprintc: Ditto.
1986 * c-valprint.c: Ditto.
1987 * coff-pe-read.h: Ditto.
1988 * coffreead.c: Ditto.
1989 * cris-tdep.c: Ditto.
1991 * darwin-nat-info.c: Ditto.
1992 * darwin-nat.c: Ditto.
1993 * dbug-rom.c: Ditto.
1997 * dec-thread.c: Ditto.
1999 * demangle.c: Ditto.
2000 * dicos-tdep.c: Ditto.
2001 * dictionary.c: Ditto.
2002 * dictionary.h: Ditto.
2003 * dink32-rom.c: Ditto.
2005 * doublest.c: Ditto.
2007 * dummy-frame.c: Ditto.
2008 * dwarf2-frame.c: Ditto.
2009 * dwarf2expr.c: Ditto.
2010 * dwarf2loc.c: Ditto.
2011 * dwarf2read.c: Ditto.
2015 * event-top.h: Ditto.
2016 * exceptions.c: Ditto.
2017 * exceptions.h: Ditto.
2019 * expprint.c: Ditto.
2020 * expression.h: Ditto.
2024 * f-typeprint.c: Ditto.
2025 * f-valprint.c: Ditto.
2026 * fbsd-nat.c: Ditto.
2028 * fork-child.c: Ditto.
2031 * frv-linux-tdep.c: Ditto.
2032 * frv-tdep.c: Ditto.
2034 * gdb-stabs.h: Ditto.
2035 * gdb_assert.h: Ditto.
2036 * gdb_string.h: Ditto.
2037 * gdb_thread_db.h: Ditto.
2038 * gdb_wait.h: Ditto.
2039 * gdbarch.sh: Ditto.
2041 * gdbthread.h: Ditto.
2042 * gdbtypes.c: Ditto.
2043 * gdbtypes.h: Ditto.
2046 * gnu-v2-abi.c: Ditto.
2047 * gnu-v3-abi.c: Ditto.
2048 * go32-nat.c: Ditto.
2049 * gdbarch.c: Regenerate.
2050 * gdbarch.h: Regenerate.
2054 * ax-gdb.c: Adjust some long output strings.
2055 * breakpoint.c: Ditto.
2060 * linux-nat.c: Ditto.
2061 * solib-pa64.c: Ditto.
2062 * solib-som.c: Ditto.
2068 * python/python.c (GdbMethods): Add "newest_frame" method.
2069 * python/python-internal.h (gdbpy_newest_frame): Declare.
2070 * python/py-frame.c (gdbpy_newest_frame): New function.
2074 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2075 * jit.c (jit_debug): New variable.
2076 (show_jit_debug): New function.
2077 (struct target_buffer): Use ULONGEST.
2078 (bfd_open_from_target_memory): Likewise.
2079 (jit_register_code, jit_inferior_init): Add debug output.
2080 (_initialize_jit): Register "debug jit" command.
2084 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2085 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2090 * python/py-frame.c (frapy_block): Use get_frame_block.
2094 Do not stop on SIGPRIO signals by default
2095 * infrun.c (_initialize_infrun): Unset signal_stop and
2096 signal_print for TARGET_SIGNAL_PRIO.
2100 * ada-tasks.c: Fix style violation in comment.
2104 * linespec.c (decode_compound, find_method): Remove trailing \n
2105 at end of error string.
2106 * solib-irix.c (irix_current_sos): Likewise.
2107 * varobj.c (uninstall_variable): Likewise.
2111 * copyright.py: New script.
2112 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2113 Launch emacs without exec'ing. Call copyright.py afterwards.
2117 * addrmap.c: Shorten lines of >= 80 columns.
2118 * arch-utils.c: Ditto.
2119 * arch-utils.h: Ditto.
2121 * ax-general.c: Ditto.
2123 * blockframe.c: Ditto.
2124 * breakpoint.c: Ditto.
2125 * buildsym.c: Ditto.
2127 * c-typeprint.c: Ditto.
2129 * coffread.c: Ditto.
2133 * cp-namespace.c: Ditto.
2134 * cp-support.c: Ditto.
2135 * dbug-rom.c: Ditto.
2140 * dictionary.c: Ditto.
2142 * doublest.c: Ditto.
2143 * dwarf2-frame.c: Ditto.
2144 * dwarf2expr.c: Ditto.
2145 * dwarf2loc.c: Ditto.
2146 * dwarf2read.c: Ditto.
2149 * event-loop.c: Ditto.
2150 * event-loop.h: Ditto.
2151 * exceptions.h: Ditto.
2153 * expprint.c: Ditto.
2154 * expression.h: Ditto.
2156 * f-valprint.c: Ditto.
2158 * frame-base.c: Ditto.
2159 * frame-unwind.c: Ditto.
2160 * frame-unwind.h: Ditto.
2164 * gdb-stabs.h: Ditto.
2165 * gdb_assert.h: Ditto.
2166 * gdb_dirent.h: Ditto.
2167 * gdb_obstack.h: Ditto.
2169 * gdbtypes.c: Ditto.
2170 * gdbtypes.h: Ditto.
2171 * inf-ttrace.c: Ditto.
2176 * inline-frame.h: Ditto.
2177 * language.c: Ditto.
2178 * language.h: Ditto.
2179 * libunwind-frame.c: Ditto.
2180 * libunwind-frame.h: Ditto.
2181 * linespec.c: Ditto.
2182 * linux-nat.c: Ditto.
2183 * linux-nat.h: Ditto.
2184 * linux-thread-db.c: Ditto.
2185 * machoread.c: Ditto.
2186 * macroexp.c: Ditto.
2187 * macrotab.c: Ditto.
2190 * mdebugread.c: Ditto.
2195 * objfiles.c: Ditto.
2196 * objfiles.h: Ditto.
2198 * p-typeprint.c: Ditto.
2199 * p-valprint.c: Ditto.
2201 * printcmd.c: Ditto.
2202 * proc-events.c: Ditto.
2204 * progspace.c: Ditto.
2205 * progspace.h: Ditto.
2206 * psympriv.h: Ditto.
2209 * regcache.c: Ditto.
2210 * regcache.h: Ditto.
2211 * remote-fileio.c: Ditto.
2213 * ser-mingw.c: Ditto.
2215 * ser-unix.c: Ditto.
2218 * solib-frv.c: Ditto.
2219 * solib-irix.c: Ditto.
2220 * solib-osf.c: Ditto.
2221 * solib-pa64.c: Ditto.
2222 * solib-som.c: Ditto.
2223 * solib-sunos.c: Ditto.
2224 * solib-svr4.c: Ditto.
2225 * solib-target.c: Ditto.
2229 * stabsread.c: Ditto.
2230 * stabsread.c: Ditto.
2233 * symfile-mem.c: Ditto.
2239 * target-descriptions.c: Ditto.
2240 * target-memory.c: Ditto.
2243 * terminal.h: Ditto.
2246 * tracepoint.c: Ditto.
2247 * tracepoint.h: Ditto.
2251 * user-regs.c: Ditto.
2252 * user-regs.h: Ditto.
2254 * valarith.c: Ditto.
2256 * valprint.c: Ditto.
2257 * valprint.h: Ditto.
2262 * xcoffread.c: Ditto.
2263 * xcoffsolib.c: Ditto.
2264 * xcoffsolib.h: Ditto.
2265 * xml-syscall.c: Ditto.
2266 * xml-tdesc.c: Ditto.
2270 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2271 * cli/cli-decode.c: Ditto.
2272 * cli/cli-dump.c: Ditto.
2273 * cli/cli-logging.c: Ditto.
2274 * cli/cli-script.c: Ditto.
2275 * cli/cli-setshow.c: Ditto.
2276 * common/signals.c: Ditto.
2277 * mi/mi-cmd-break.c: Ditto.
2278 * mi/mi-cmd-disas.c: Ditto.
2279 * mi/mi-cmd-stack.c: Ditto.
2280 * mi/mi-cmd-var.c: Ditto.
2281 * mi/mi-cmds.c: Ditto.
2282 * mi/mi-common.h: Ditto.
2283 * mi/mi-console.c: Ditto.
2284 * mi/mi-interp.c: Ditto.
2285 * mi/mi-main.c: Ditto.
2286 * osf-share/cma_attr.c: Ditto.
2287 * osf-share/cma_deb_core.h: Ditto.
2288 * osf-share/cma_debug_client.h: Ditto.
2289 * osf-share/cma_handle.h: Ditto.
2290 * osf-share/cma_mutex.h: Ditto.
2291 * osf-share/cma_stack_int.h: Ditto.
2292 * osf-share/cma_tcb_defs.h: Ditto.
2293 * python/py-auto-load.c: Ditto.
2294 * python/py-breakpoint.c: Ditto.
2295 * python/py-cmd.c: Ditto.
2296 * python/py-frame.c: Ditto.
2297 * python/py-objfile.c: Ditto.
2298 * python/py-param.c: Ditto.
2299 * python/py-progspace.c: Ditto.
2300 * python/py-symbol.c: Ditto.
2301 * python/py-value.c: Ditto.
2302 * python/python-internal.h: Ditto.
2303 * python/python.c: Ditto.
2304 * tui/tui-data.c: Ditto.
2305 * tui/tui-disasm.c: Ditto.
2306 * tui/tui-hooks.c: Ditto.
2307 * tui/tui-io.c: Ditto.
2308 * tui/tui-layout.c: Ditto.
2309 * tui/tui-regs.c: Ditto.
2310 * tui/tui-source.c: Ditto.
2311 * tui/tui-stack.c: Ditto.
2312 * tui/tui-win.c: Ditto.
2313 * tui/tui-windata.c: Ditto.
2314 * tui/tui-winsource.c: Ditto.
2318 * configure.ac, gdb.1: Copyright year update.
2322 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2323 this_pc_in_block, morestack_msym and morestack_name. Check for
2324 "__morestack" minimal symbol there.
2328 * symfile.c (find_sym_fns): Add call to dont_repeat.
2332 Copyright year update in most files (performed by copyright.sh).
2336 * top.c (print_gdb_version): Update copyright year in version output.
2338 For older changes see ChangeLog-2010.
2344 version-control: never