do not call decode_compound with Ada expressions.
[binutils-gdb.git] / gdb / ChangeLog
1 2012-01-04 Joel Brobecker <brobecker@adacore.com>
2
3 * linespec.c (decode_line_internal): Check for C++ or Java
4 compound constructs only if the current language is C, C++
5 or Java.
6
7 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 Revert:
10 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11 Joel Brobecker <brobecker@adacore.com>
12 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
13 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
14 3 times.
15 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
16 fall through into AT_ENTRY_POINT.
17 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
18 DUMMY_ADDR with it.
19 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
20 PPC_INSN_SIZE skip to 3 times.
21
22 2012-01-04 Joel Brobecker <brobecker@adacore.com>
23
24 * linespec.c (add_minsym): Preserve function descriptors.
25
26 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
27
28 * breakpoint.c (all_locations_are_pending): Consider locations
29 in program spaces executing during startup pending as well.
30
31 2012-01-04 Joel Brobecker <brobecker@adacore.com>
32
33 Copyright year update in most files of the GDB Project.
34
35 2012-01-04 Joel Brobecker <brobecker@adacore.com>
36
37 * copyright.sh: Delete.
38 * copyright.py: Rewrite.
39
40 2012-01-04 Joel Brobecker <brobecker@adacore.com>
41
42 * gnulib/extra/update-copyright: New file, imported from gnulib.
43
44 2012-01-04 Joel Brobecker <brobecker@adacore.com>
45
46 * README (Copyright and License Notices): New section.
47
48 2012-01-03 Tom Tromey <tromey@redhat.com>
49
50 PR python/12533:
51 * python/py-value.c (valpy_dereference, valpy_get_address
52 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
53 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
54 (valpy_absolute, valpy_richcompare): Free intermediate values.
55
56 2011-01-03 Joel Brobecker <brobecker@adacore.com>
57
58 * ada-lang.c: Reformat the copyright notice.
59
60 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
63 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
64 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
65 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
66 Revert this part of:
67 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
68 Build gdb directly from *.o files not using libgdb.a.
69 * Makefile.in (COMMON_OBS): Remove solib-target.o.
70
71 2012-01-02 Joel Brobecker <brobecker@adacore.com>
72
73 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
74 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
75 Reformat the copyright header.
76
77 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
78
79 Revert this part of:
80 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
81 Remove the gdbtui binary.
82 * gdb.c (main): Remove args.interpreter_p initialization.
83 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
84 * main.h (struct captured_main_args): Remove interpreter_p.
85
86 2012-01-02 Joel Brobecker <brobecker@adacore.com>
87
88 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
89
90 2012-01-02 Joel Brobecker <brobecker@adacore.com>
91
92 * top.c (print_gdb_version): Update copyright year.
93
94 2012-01-02 Yao Qi <yao@codesourcery.com>
95
96 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
97
98 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
99 Joel Brobecker <brobecker@adacore.com>
100
101 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
102 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
103 3 times.
104 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
105 fall through into AT_ENTRY_POINT.
106 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
107 DUMMY_ADDR with it.
108 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
109 PPC_INSN_SIZE skip to 3 times.
110
111 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
114 the return value.
115 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
116
117 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
118
119 Build gdb directly from *.o files not using libgdb.a.
120 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
121 (COMMON_OBS): Remove solib-target.o.
122 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
123 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
124 (LIBGDB_OBS, libgdb.a): Move it above.
125 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
126 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
127 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
128 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
129 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
130 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
131 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
132 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
133 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
134 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
135 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
136 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
137 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
138 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
139 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
140 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
141 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
142 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
143 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
144 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
145 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
146 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
147 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
148 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
149 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
150 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
151 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
152
153 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 Remove the gdbtui binary.
156 * .gitignore (/gdbtui): Remove.
157 * Makefile.in (TUI): Remove.
158 (SUBDIR_TUI_OBS): Remove tui-main.o.
159 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
160 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
161 (tui-main.o): Remove.
162 (all_object_files): Remove tui-main.o.
163 * NEWS: New note for the gdbtui removal.
164 * configure: Rebuilt.
165 * configure.ac: No longer add all-tui, clean-tui, install-tui and
166 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
167 CONFIG_UNINSTALL respectively.
168 * gdb.c (main): Remove args.interpreter_p initialization.
169 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
170 * main.h (struct captured_main_args): Remove interpreter_p.
171 * tui/tui-main.c: Remove.
172
173 2012-01-01 Doug Evans <dje@google.com>
174
175 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
176 (dwarf2_physname, read_import_statement): Ditto.
177 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
178 (process_structure_scope read_subroutine_type): Ditto.
179 (read_typedef, load_partial_dies, read_partial_die): Ditto.
180 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
181 (dwarf2_fetch_die_location_block): Ditto.
182 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
183
184 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
185 All callers updated.
186 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
187 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
188 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
189
190 * dwarf2read.c (load_cu): Move assert to more useful location.
191
192 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
193 All callers updated.
194
195 * dwarf2read.c (dwarf2_per_objfile): Add comment.
196 (dwarf2_elf_names): Minor reformat.
197 (dwarf2_per_cu_data): Tweak comment.
198 (dwarf2_read_section): Fix comment.
199 (create_all_comp_units): Fix comment.
200 (load_full_comp_unit): Fix comment.
201 (process_full_comp_unit): Fix comment.
202 (read_signatured_type): Fix comment.
203
204 For older changes see ChangeLog-2011.
205 \f
206 Local Variables:
207 mode: change-log
208 left-margin: 8
209 fill-column: 74
210 version-control: never
211 coding: utf-8
212 End: