gdb/
[binutils-gdb.git] / gdb / ChangeLog
1 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Revert this part of:
4 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5 Remove the gdbtui binary.
6 * gdb.c (main): Remove args.interpreter_p initialization.
7 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
8 * main.h (struct captured_main_args): Remove interpreter_p.
9
10 2012-01-02 Joel Brobecker <brobecker@adacore.com>
11
12 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
13
14 2012-01-02 Joel Brobecker <brobecker@adacore.com>
15
16 * top.c (print_gdb_version): Update copyright year.
17
18 2012-01-02 Yao Qi <yao@codesourcery.com>
19
20 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
21
22 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23 Joel Brobecker <brobecker@adacore.com>
24
25 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
26 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
27 3 times.
28 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
29 fall through into AT_ENTRY_POINT.
30 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
31 DUMMY_ADDR with it.
32 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
33 PPC_INSN_SIZE skip to 3 times.
34
35 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36
37 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
38 the return value.
39 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
40
41 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
42
43 Build gdb directly from *.o files not using libgdb.a.
44 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
45 (COMMON_OBS): Remove solib-target.o.
46 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
47 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
48 (LIBGDB_OBS, libgdb.a): Move it above.
49 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
50 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
51 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
52 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
53 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
54 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
55 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
56 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
57 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
58 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
59 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
60 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
61 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
62 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
63 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
64 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
65 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
66 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
67 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
68 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
69 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
70 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
71 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
72 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
73 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
74 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
75 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
76
77 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
78
79 Remove the gdbtui binary.
80 * .gitignore (/gdbtui): Remove.
81 * Makefile.in (TUI): Remove.
82 (SUBDIR_TUI_OBS): Remove tui-main.o.
83 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
84 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
85 (tui-main.o): Remove.
86 (all_object_files): Remove tui-main.o.
87 * NEWS: New note for the gdbtui removal.
88 * configure: Rebuilt.
89 * configure.ac: No longer add all-tui, clean-tui, install-tui and
90 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
91 CONFIG_UNINSTALL respectively.
92 * gdb.c (main): Remove args.interpreter_p initialization.
93 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
94 * main.h (struct captured_main_args): Remove interpreter_p.
95 * tui/tui-main.c: Remove.
96
97 2012-01-01 Doug Evans <dje@google.com>
98
99 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
100 (dwarf2_physname, read_import_statement): Ditto.
101 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
102 (process_structure_scope read_subroutine_type): Ditto.
103 (read_typedef, load_partial_dies, read_partial_die): Ditto.
104 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
105 (dwarf2_fetch_die_location_block): Ditto.
106 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
107
108 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
109 All callers updated.
110 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
111 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
112 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
113
114 * dwarf2read.c (load_cu): Move assert to more useful location.
115
116 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
117 All callers updated.
118
119 * dwarf2read.c (dwarf2_per_objfile): Add comment.
120 (dwarf2_elf_names): Minor reformat.
121 (dwarf2_per_cu_data): Tweak comment.
122 (dwarf2_read_section): Fix comment.
123 (create_all_comp_units): Fix comment.
124 (load_full_comp_unit): Fix comment.
125 (process_full_comp_unit): Fix comment.
126 (read_signatured_type): Fix comment.
127
128 For older changes see ChangeLog-2011.
129 \f
130 Local Variables:
131 mode: change-log
132 left-margin: 8
133 fill-column: 74
134 version-control: never
135 coding: utf-8
136 End: