3 * NEWS: Document remote "info proc" and "generate-core-file".
7 * gdbarch.sh (find_memory_regions): New callback.
8 * gdbarch.c, gdbarch.h: Regenerate.
10 * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
11 callback before falling back to target method.
13 * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
14 (linux_target_install_ops): No longer install it.
16 * linux-tdep.c (linux_find_memory_regions): New function.
17 (linux_init_abi): Install it.
21 * gdbarch.sh (make_corefile_notes): New architecture callback.
22 * gdbarch.c: Regenerate.
23 * gdbarch.h: Likewise.
25 * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
26 before target_make_corefile_notes. If NULL is returned, the
27 target does not support core file generation.
29 * linux-nat.c: Include "linux-tdep.h".
30 (find_signalled_thread, find_stop_signal): Remove.
31 (linux_nat_do_thread_registers): Likewise.
32 (struct linux_nat_corefile_thread_data): Likewise.
33 (linux_nat_corefile_thread_callback): Likewise.
34 (iterate_over_spus): Likewise.
35 (struct linux_spu_corefile_data): Likewise.
36 (linux_spu_corefile_callback): Likewise.
37 (linux_spu_make_corefile_notes): Likewise.
38 (linux_nat_collect_thread_registers): New function.
39 (linux_nat_make_corefile_notes): Replace contents by call to
40 linux_make_corefile_notes passing linux_nat_collect_thread_registers
41 as native-only callback.
43 * linux-tdep.h: Include "bfd.h".
44 (struct regcache): Add forward declaration.
45 (linux_collect_thread_registers_ftype): New typedef.
46 (linux_make_corefile_notes): Add prototype.
47 * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
48 "regset.h", and "elf-bfd.h".
49 (find_signalled_thread, find_stop_signal): New functions.
50 (linux_spu_make_corefile_notes): Likewise.
51 (linux_collect_thread_registers): Likewise.
52 (struct linux_corefile_thread_data): New data structure.
53 (linux_corefile_thread_callback): New funcion.
54 (linux_make_corefile_notes): Likewise.
55 (linux_make_corefile_notes_1): Likewise.
56 (linux_init_abi): Install it.
60 * gdbarch.sh (info_proc): New callback.
61 * gdbarch.c, gdbarch.h: Regenerate.
63 * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
64 before falling back to the target info_proc callback.
66 * linux-nat.c: Do not include "cli/cli-utils.h".
67 (linux_nat_info_proc): Remove.
68 (linux_target_install_ops): No longer install it.
70 * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
71 (read_mapping): New function.
72 (linux_info_proc): Likewise.
73 (linux_init_abi): Install it.
77 * defs.h (enum info_proc_what): Moved here from linux-nat.c
78 * infcmd.c: (info_proc_cmd_1): New function.
79 (info_proc_cmd): New function, moved here from equivalent routine
80 orignally in linux-nat.c.
81 (info_proc_cmd_mappings): Likewise.
82 (info_proc_cmd_stat): Likewise.
83 (info_proc_cmd_status): Likewise.
84 (info_proc_cmd_cwd): Likewise.
85 (info_proc_cmd_cmdline): Likewise.
86 (info_proc_cmd_exe): Likewise.
87 (info_proc_cmd_all): Likewise.
88 (_initialize_infcmd): Install "info proc" command and subcommands.
90 * target.h (struct target_ops): Add to_info_proc.
91 (target_info_proc): Add prototype.
92 * target.c (target_info_proc): New function.
94 * procfs.c (procfs_info_proc): Add prototype.
95 (info_proc_cmd): Rename into ...
96 (procfs_info_proc): ... this. Update argument types as appropriate
97 for a to_info_proc implementation. Handle "what" argument.
98 (procfs_target): Install procfs_info_proc.
99 (_initialize_procfs): No longer install "info proc" command.
101 * linux-nat.c: (enum info_proc_what): Remove.
102 (linux_nat_info_proc_cmd_1): Rename into ...
103 (linux_nat_info_proc): ... this. Update argument types as appropriate
104 for a to_info_proc implementation.
105 (linux_nat_info_proc_cmd): Remove.
106 (linux_nat_info_proc_cmd_mappings): Likewise.
107 (linux_nat_info_proc_cmd_stat): Likewise.
108 (linux_nat_info_proc_cmd_status): Likewise.
109 (linux_nat_info_proc_cmd_cwd): Likewise.
110 (linux_nat_info_proc_cmd_cmdline): Likewise.
111 (linux_nat_info_proc_cmd_exe): Likewise.
112 (linux_nat_info_proc_cmd_all): Likewise.
113 (linux_target_install_ops): Install linux_nat_info_proc.
114 (_initialize_linux_nat): No longer install "info proc" command
119 * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
120 * config.in, configure: Regenerate.
122 * target.h (struct target_ops): Add to_fileio_readlink.
123 (target_fileio_readlink): Add prototype.
124 * target.c (target_fileio_readlink): New function.
126 * inf-child.c: Conditionally include <sys/param.h>.
127 (inf_child_fileio_readlink): New function.
128 (inf_child_target): Install it.
130 * remote.c (PACKET_vFile_readlink): New enum value.
131 (remote_hostio_readlink): New function.
132 (init_remote_ops): Install it.
133 (_initialize_remote): Handle vFile:readlink packet type.
138 * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
139 * config.in, configure: Regenerate.
141 * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
142 to_fileio_pread, to_fileio_close, to_fileio_unlink.
143 (target_fileio_open): Add prototype.
144 (target_fileio_pwrite): Likewise.
145 (target_fileio_pread): Likewise.
146 (target_fileio_close): Likewise.
147 (target_fileio_unlink): Likewise.
148 (target_fileio_read_alloc): Likewise.
149 (target_fileio_read_stralloc): Likewise.
151 * target.c: Include "gdb/fileio.h".
152 (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
153 (default_fileio_target): New function.
154 (target_fileio_open): Likewise.
155 (target_fileio_pwrite): Likewise.
156 (target_fileio_pread): Likewise.
157 (target_fileio_close): Likewise.
158 (target_fileio_unlink): Likewise.
159 (target_fileio_close_cleanup): Likewise.
160 (target_fileio_read_alloc_1): Likewise.
161 (target_fileio_read_alloc): Likewise.
162 (target_fileio_read_stralloc): Likewise.
164 * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
165 <fcntl.h>, and <unistd.h>.
166 (inf_child_fileio_open_flags_to_host): New function.
167 (inf_child_errno_to_fileio_error): Likewise.
168 (inf_child_fileio_open): Likewise.
169 (inf_child_fileio_pwrite): Likewise.
170 (inf_child_fileio_pread): Likewise.
171 (inf_child_fileio_close): Likewise.
172 (inf_child_fileio_unlink): Likewise.
173 (inf_child_target): Install to_fileio routines.
175 * remote.c (init_remote_ops): Install to_fileio routines.
180 * remote.c (remote_multi_process_p): Only check for multi-process
181 protocol feature, do not check for extended protocol.
182 (remote_supports_multi_process): Check for extended protocol here.
183 (set_general_process): Likewise.
184 (extended_remote_kill): Likewise.
185 (remote_pid_to_str): Likewise.
186 (remote_query_supported): Always query multiprocess mode.
191 * inferior.h (struct inferior): Add fake_pid_p.
192 * inferior.c (exit_inferior_1): Clear fake_pid_p.
193 * remote.c (remote_start_remote): Set fake_pid_p if we have to use
194 magic_null_ptid since the remote side doesn't provide a real PID.
198 * NEWS: Combine the two Python sections.
202 * target.h (target_close): Update comment on the target's unpush state.
206 * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
207 linux_nat_async directly instead of going through the target
209 * target.c (unpush_target): Close target after unpushing it, not
214 * mdebugread.c (sort_blocks): Replace integer constants with ones
215 derived from FIRST_LOCAL_BLOCK.
221 * symfile.c (find_separate_debug_file): New function.
222 (terminate_after_last_dir_separator): Likewise.
223 (find_separate_debug_file_by_debuglink): Also try realpath.
224 * configure.ac (AC_CHECK_FUNCS): Add lstat.
225 * configure: Regenerate.
226 * config.in: Regenerate.
230 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
231 (main.o): Remove rule.
232 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
233 (--with-sysroot): Rewrite.
234 * configure: Regenerate.
235 * config.in: Regenerate.
239 * parse.c (initialize_expout): New function.
240 (reallocate_expout): Likewise.
241 (parse_exp_in_context): Use `initialize_expout' and
242 `reallocate_expout' when appropriate.
246 * record.c (struct record_breakpoint, record_breakpoint_p)
247 (record_breakpoints): New.
248 (record_insert_breakpoint, record_remove_breakpoint): Manage
249 record breakpoints list. Only remove breakpoints from the
250 inferior if they had been inserted there in the first place.
254 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
255 if we know we don't have a file name to look for.
259 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
260 the frame's stop reason is UNWIND_UNAVAILABLE.
264 Fix compilation error.
265 * m2-exp.y (yyerror): Use ANSI C prototype.
269 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
270 (growbuf_by_size): Likewise.
272 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
273 (modblock): Remove variable (was #if 0'ed).
274 (parse_number): Convert prototype from K&R to ANSI C.
276 * objc-exp.y (parse_number): Likewise.
278 (yylex): Remove #if 0'ed code.
279 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
285 * symtab.h (compare_filenames_for_search): Declare.
286 * symtab.c (compare_filenames_for_search): New function.
287 (iterate_over_some_symtabs): Use it.
288 * symfile.h (struct quick_symbol_functions)
289 <map_symtabs_matching_filename>: Change spec.
290 * psymtab.c (partial_map_symtabs_matching_filename): Use
291 compare_filenames_for_search. Update for new spec.
292 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
293 compare_filenames_for_search. Update for new spec.
294 * breakpoint.c (clear_command): Use compare_filenames_for_search.
299 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
300 (struct main_type) <flag_flag_enum>: New field.
301 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
303 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
305 * python/lib/gdb/printing.py (_EnumInstance): New class.
306 (FlagEnumerationPrinter): Likewise.
310 * breakpoint.c (create_sals_from_address_default): New function.
311 (create_breakpoints_sal_default): Likewise.
312 (decode_linespec_default): Likewise.
313 (is_marker_spec): Removed.
314 (strace_marker_p): New function.
315 (init_breakpoint_sal): Using `strace_marker_p' instead of
317 (create_breakpoint): Call method `create_sals_from_address' from
318 breakpoint_ops, replacing code that created SALs conditionally
319 on the type of the breakpoint. Call method `create_breakpoints_sal',
320 replacing code that created breakpoints conditionally on the type
322 (base_breakpoint_create_sals_from_address): New function.
323 (base_breakpoint_create_breakpoints_sal): Likewise.
324 (base_breakpoint_decode_linespec): Likewise.
325 (base_breakpoint_ops): Add methods
326 `base_breakpoint_create_sals_from_address',
327 `base_breakpoint_create_breakpoints_sal' and
328 `base_breakpoint_decode_linespec'.
329 (bkpt_create_sals_from_address): New function.
330 (bkpt_create_breakpoints_sal): Likewise.
331 (bkpt_decode_linespec): Likewise.
332 (tracepoint_create_sals_from_address): Likewise.
333 (tracepoint_create_breakpoints_sal): Likewise.
334 (tracepoint_decode_linespec): Likewise.
335 (strace_marker_create_sals_from_address): Likewise.
336 (strace_marker_create_breakpoints_sal): Likewise.
337 (strace_marker_decode_linespec): Likewise.
338 (strace_marker_breakpoint_ops): New variable.
339 (addr_string_to_sals): Remove `marker_spec'. Call method
340 `decode_linespec' from breakpoint_ops, replacing code that decoded
341 an address string into a SAL. Use `strace_marker_p' instead of
343 (strace_command): Decide whether we are dealing with a static
344 tracepoint with marker or not. Use the appropriate breakpoint_ops.
345 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
346 * breakpoint.h (linespec_result, linespec_sals): New forward
348 (breakpoint_ops) <create_sals_from_address>,
349 <create_breakpoints_sal>, <decode_linespec>: New methods.
353 * NEWS: Update text for "maint set python print-stack".
354 It is deprecated in gdb 7.4 and deleted in 7.5.
358 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
363 * configure: Regenerate.
364 * config.in: Regenerate.
369 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
370 (ANONYMOUS_UNION_NAME): Define.
371 (is_path_expr_parent): New function.
372 (get_path_expr_parent): New function.
373 (is_anonymous_child): New function.
374 (create_child_with_value): If the child is anonymous and without
375 a name, assign an object name to it.
376 (c_describe_child): Use get_path_expr_parent to determine
377 the parent expression.
378 If there field represents an anonymous struct or union and
379 has no name, set an appropriate display name and expression.
380 (cplus_describe_child): Likewise.
384 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
385 available when %ebp is found to be zero (outermost).
389 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
390 an internal gdb_static_assert.
391 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
396 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
397 catch" and "catch throw".
401 * blockframe.c (block_innermost_frame): Start search from selected
402 frame, if present, or otherwise the current frame.
404 * c-exp.y (variable): Update innermost_block for
405 'block COLONCOLON NAME' clause.
406 * m2-exp.y (variable): Ditto.
407 * objc-exp.y (variable): Ditto.
412 * python/python.c (finish_python_initialization): Set sys.argv.
416 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
417 "want_line_info". All callers updated.
418 (dwarf_decode_lines_1): New function.
419 (handle_DW_AT_stmt_list): Add function comment.
420 New arg "want_line_info". All callers updated.
421 (read_file_scope,read_type_unit_scope): Move comment from
422 handle_DW_AT_stmt_list to here.
426 Fix regression after libiberty/ update for GCC PR 6057 and others.
427 * c-exp.y (operator) <OPERATOR DELETE>
428 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
429 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
430 (make_builtin_type, make_name): New variable i, add gdb_assert.
431 (operator) <OPERATOR NEW>: Update ARGS to 3.
432 (operator) <OPERATOR DELETE>: Add trailing space.
433 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
434 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
435 * cp-support.c (cp_canonicalize_string): Check NULL from
436 cp_comp_to_string, call warning and return.
440 Fix duplicate .o files after omitting libbfd.a.
441 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
442 (SFILES): Add corelow.c.
443 (COMMON_OBS): Add corelow.o.
444 (ALLDEPFILES): Remove corelow.c.
445 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
446 * config/alpha/alpha-osf3.mh: Likewise.
447 * config/alpha/fbsd.mh: Likewise.
448 * config/arm/nbsdaout.mh: Likewise.
449 * config/arm/nbsdelf.mh: Likewise.
450 * config/i386/i386gnu.mh: Likewise.
451 * config/ia64/hpux.mh: Likewise.
452 * config/ia64/linux.mh: Likewise.
453 * config/m32r/linux.mh: Likewise.
454 * config/m68k/linux.mh: Likewise.
455 * config/mips/irix5.mh: Likewise.
456 * config/mips/irix6.mh: Likewise.
457 * config/pa/hpux.mh: Likewise.
458 * config/pa/linux.mh: Likewise.
459 * config/powerpc/aix.mh: Likewise.
460 * config/sparc/linux.mh: Likewise.
461 * config/sparc/linux64.mh: Likewise.
462 * config/sparc/sol2.mh: Likewise.
463 * config/vax/vax.mh: Likewise.
464 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
465 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
466 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
467 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
468 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
469 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
470 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
471 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
472 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
473 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
474 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
475 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
476 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
477 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
478 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
479 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
480 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
481 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
482 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
483 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
484 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
485 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
486 corelow.o from gdb_target_obs.
487 * corefile.c (core_target): Update the comment on NULL value.
488 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
489 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
490 MATCHES. Drop YUMMY set on NULL.
491 (core_close): Do not call exit_inferior_silent on zero PID. Do not
492 reclaim CORE_DATA if it is already NULL.
496 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
497 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
501 * breakpoint.c (wrapper.h): Don't include.
505 * Makefile.in (SFILES): Remove wrapper.c.
506 (HFILES_NO_SRCDIR): Remove wrapper.h.
507 (COMMON_OBS): Remove wrapper.o.
508 * cli/cli-interp.c: Don't inlude wrapper.h.
509 * corelow.c: Likewise.
510 (core_open): Replace gdb_target_find_new_threads with
511 TRY_CATCH around target_find_new_threads.
512 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
513 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
514 * varobj.c (varobj_create): Likewise for parse_exp_1 and
516 (varobj_set_value): Likewise for evaluate_expression and
518 (install_new_variable): Likewise for value_fetch_lazy.
519 (adjust_value_for_child_access): Likewise for value_ind.
520 (c_describe_child): Likewise for value_subscript and
522 (c_value_of_root): Likewise for evaluate_expression.
528 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
529 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
530 "abfd" args with "section". All callers updated.
531 Error checking code moved ...
532 (error_check_comp_unit_head): ... here. New function.
533 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
534 Delete arg "abfd". New arg "type_offset". All callers updated.
535 (create_debug_types_hash_table): Simplify by using
536 read_and_check_type_unit_head.
538 * parser-defs.h (namecopy): Delete.
539 * parse.c (namecopy, namecopy_size): Move into copy_name.
543 Partially fix duplicate .o files after omitting libbfd.a.
544 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
545 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
546 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
547 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
548 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
549 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
550 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
554 * MAINTAINERS: Update my email address.
558 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
559 n_type_units. Rename type_comp_units to all_type_units.
561 (add_signatured_type_cu_to_table): Renamed from
562 add_signatured_type_cu_to_list. All callers updated.
564 * gdbtypes.h (struct cplus_struct_type): Delete member
565 nfn_fields_total. All uses removed.
569 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
571 (dwarf2_find_comp_unit): Delete.
572 (process_psymtab_comp_unit): Make result "void".
573 Delete args buffer, info_ptr, buffer_size, and replace with
574 "section". All callers updated.
575 (dwarf2_build_psymtabs_hard): Simplify.
580 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
581 before `struct gdb_exception'.
582 * breakpoint.c (update_global_location_list_nothrow)
583 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
584 * cp-abi.c (value_rtti_type): Likewise.
585 * cp-support.c (cp_validate_operator): Likewise.
586 * infrun.c (insert_exception_resume_breakpoint)
587 (check_exception_resume, keep_going): Likewise.
588 * mi-interp.c (mi_breakpoint_created)
589 (mi_breakpoint_modified): Likewise.
590 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
591 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
592 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
596 * dwarf2read.c (statement_prologue): Delete, unused.
598 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
599 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
601 * dwarf2read.c (comp_unit_header): Delete, unused.
605 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
606 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
610 * infrun.c (normal_stop): Don't skip calling the normal_stop
611 observers if the thread was doing a multi-step, but stopped for
612 some reason other than stepping.
616 * cli/cli-decode.h: Add comments.
617 (CMD_LIST_AMBIGUOUS): Moved to command.h
618 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
619 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
620 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
621 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
622 (add_com, add_com_alias, add_info, add_info_alias)
623 (complete_on_cmdlist, complete_on_enum, help_list): Remove
625 * command.h: Add and adjust comments.
626 (CMD_LIST_AMBIGUOUS): Moved here.
627 (help_cmd, help_cmd_list): Delete declarations.
631 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
633 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
634 Replace all arguments with "per_cu". All callers updated.
636 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
638 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
639 New arg "per_cu". All callers updated.
641 Delete #if 0'd out code.
642 * language.c (binop_result_type): Delete.
643 (simple_type, ordered_type, same_type, integral_type): Delete.
644 (numeric_type, character_type, string_type, boolean_type): Delete.
645 (float_type, structured_type): Delete.
646 * language.h: Update.
650 * python/py-value.c (valpy_binop): Initialize 'res_val'.
654 * corefile.c (close_exec_file): Delete.
655 (reopen_exec_file): Remove commented out code that seems related
656 to close_exec_file, which is being deleted here.
657 * inferior.h (close_exec_file): Delete.
658 * fork-child.c (fork_inferior): Remove call to fork_inferior.
662 * ada-lang.c: #include "cli/cli-utils.h".
663 (get_selections): Use skip_spaces.
664 (ada_get_next_arg): Use skip_spaces and skip_to_space.
665 (catch_ada_exception_command_split): Use skip_spaces.
666 (ada_decode_assert_location): Likewise.
670 * linespec.c (decode_line_internal): Check for C++ or Java
671 compound constructs only if the current language is C, C++
679 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
680 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
682 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
683 fall through into AT_ENTRY_POINT.
684 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
686 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
687 PPC_INSN_SIZE skip to 3 times.
691 * linespec.c (add_minsym): Preserve function descriptors.
695 * breakpoint.c (all_locations_are_pending): Consider locations
696 in program spaces executing during startup pending as well.
700 Copyright year update in most files of the GDB Project.
704 * copyright.sh: Delete.
705 * copyright.py: Rewrite.
709 * gnulib/extra/update-copyright: New file, imported from gnulib.
713 * README (Copyright and License Notices): New section.
718 * python/py-value.c (valpy_dereference, valpy_get_address
719 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
720 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
721 (valpy_absolute, valpy_richcompare): Free intermediate values.
725 * ada-lang.c: Reformat the copyright notice.
729 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
730 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
731 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
732 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
735 Build gdb directly from *.o files not using libgdb.a.
736 * Makefile.in (COMMON_OBS): Remove solib-target.o.
740 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
741 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
742 Reformat the copyright header.
748 Remove the gdbtui binary.
749 * gdb.c (main): Remove args.interpreter_p initialization.
750 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
751 * main.h (struct captured_main_args): Remove interpreter_p.
755 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
759 * top.c (print_gdb_version): Update copyright year.
763 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
768 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
769 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
771 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
772 fall through into AT_ENTRY_POINT.
773 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
775 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
776 PPC_INSN_SIZE skip to 3 times.
780 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
782 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
786 Build gdb directly from *.o files not using libgdb.a.
787 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
788 (COMMON_OBS): Remove solib-target.o.
789 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
790 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
791 (LIBGDB_OBS, libgdb.a): Move it above.
792 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
793 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
794 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
795 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
796 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
797 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
798 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
799 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
800 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
801 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
802 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
803 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
804 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
805 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
806 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
807 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
808 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
809 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
810 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
811 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
812 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
813 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
814 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
815 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
816 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
817 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
818 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
822 Remove the gdbtui binary.
823 * .gitignore (/gdbtui): Remove.
824 * Makefile.in (TUI): Remove.
825 (SUBDIR_TUI_OBS): Remove tui-main.o.
826 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
827 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
828 (tui-main.o): Remove.
829 (all_object_files): Remove tui-main.o.
830 * NEWS: New note for the gdbtui removal.
831 * configure: Rebuilt.
832 * configure.ac: No longer add all-tui, clean-tui, install-tui and
833 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
834 CONFIG_UNINSTALL respectively.
835 * gdb.c (main): Remove args.interpreter_p initialization.
836 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
837 * main.h (struct captured_main_args): Remove interpreter_p.
838 * tui/tui-main.c: Remove.
842 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
843 (dwarf2_physname, read_import_statement): Ditto.
844 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
845 (process_structure_scope read_subroutine_type): Ditto.
846 (read_typedef, load_partial_dies, read_partial_die): Ditto.
847 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
848 (dwarf2_fetch_die_location_block): Ditto.
849 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
851 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
853 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
854 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
855 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
857 * dwarf2read.c (load_cu): Move assert to more useful location.
859 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
862 * dwarf2read.c (dwarf2_per_objfile): Add comment.
863 (dwarf2_elf_names): Minor reformat.
864 (dwarf2_per_cu_data): Tweak comment.
865 (dwarf2_read_section): Fix comment.
866 (create_all_comp_units): Fix comment.
867 (load_full_comp_unit): Fix comment.
868 (process_full_comp_unit): Fix comment.
869 (read_signatured_type): Fix comment.
871 For older changes see ChangeLog-2011.
877 version-control: never