gdb/
[binutils-gdb.git] / gdb / ChangeLog
1 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Partially fix duplicate .o files after omitting libbfd.a.
4 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
5 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
6 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
7 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
8 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
9 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
10 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
11
12 2012-01-09 Pedro Alves <palves@redhat.com>
13
14 * MAINTAINERS: Update my email address.
15
16 2012-01-08 Doug Evans <dje@google.com>
17
18 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
19 n_type_units. Rename type_comp_units to all_type_units.
20 All uses updated.
21 (add_signatured_type_cu_to_table): Renamed from
22 add_signatured_type_cu_to_list. All callers updated.
23
24 * gdbtypes.h (struct cplus_struct_type): Delete member
25 nfn_fields_total. All uses removed.
26
27 2012-01-06 Doug Evans <dje@google.com>
28
29 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
30 to top of file.
31 (dwarf2_find_comp_unit): Delete.
32 (process_psymtab_comp_unit): Make result "void".
33 Delete args buffer, info_ptr, buffer_size, and replace with
34 "section". All callers updated.
35 (dwarf2_build_psymtabs_hard): Simplify.
36
37 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
38 Thiago Jung Bauermann <bauerman@br.ibm.com>
39
40 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
41 before `struct gdb_exception'.
42 * breakpoint.c (update_global_location_list_nothrow)
43 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
44 * cp-abi.c (value_rtti_type): Likewise.
45 * cp-support.c (cp_validate_operator): Likewise.
46 * infrun.c (insert_exception_resume_breakpoint)
47 (check_exception_resume, keep_going): Likewise.
48 * mi-interp.c (mi_breakpoint_created)
49 (mi_breakpoint_modified): Likewise.
50 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
51 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
52 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
53
54 2012-01-05 Doug Evans <dje@google.com>
55
56 * dwarf2read.c (statement_prologue): Delete, unused.
57
58 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
59 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
60
61 * dwarf2read.c (comp_unit_header): Delete, unused.
62
63 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
64
65 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
66 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
67
68 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
69
70 * infrun.c (normal_stop): Don't skip calling the normal_stop
71 observers if the thread was doing a multi-step, but stopped for
72 some reason other than stepping.
73
74 2012-01-05 Pedro Alves <alves.ped@gmail.com>
75
76 * cli/cli-decode.h: Add comments.
77 (CMD_LIST_AMBIGUOUS): Moved to command.h
78 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
79 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
80 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
81 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
82 (add_com, add_com_alias, add_info, add_info_alias)
83 (complete_on_cmdlist, complete_on_enum, help_list): Remove
84 declarations.
85 * command.h: Add and adjust comments.
86 (CMD_LIST_AMBIGUOUS): Moved here.
87 (help_cmd, help_cmd_list): Delete declarations.
88
89 2012-01-04 Doug Evans <dje@google.com>
90
91 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
92 All callers updated.
93 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
94 Replace all arguments with "per_cu". All callers updated.
95
96 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
97
98 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
99 New arg "per_cu". All callers updated.
100
101 Delete #if 0'd out code.
102 * language.c (binop_result_type): Delete.
103 (simple_type, ordered_type, same_type, integral_type): Delete.
104 (numeric_type, character_type, string_type, boolean_type): Delete.
105 (float_type, structured_type): Delete.
106 * language.h: Update.
107
108 2012-01-04 Tom Tromey <tromey@redhat.com>
109
110 * python/py-value.c (valpy_binop): Initialize 'res_val'.
111
112 2012-01-04 Joel Brobecker <brobecker@adacore.com>
113
114 * corefile.c (close_exec_file): Delete.
115 (reopen_exec_file): Remove commented out code that seems related
116 to close_exec_file, which is being deleted here.
117 * inferior.h (close_exec_file): Delete.
118 * fork-child.c (fork_inferior): Remove call to fork_inferior.
119
120 2012-01-04 Joel Brobecker <brobecker@adacore.com>
121
122 * ada-lang.c: #include "cli/cli-utils.h".
123 (get_selections): Use skip_spaces.
124 (ada_get_next_arg): Use skip_spaces and skip_to_space.
125 (catch_ada_exception_command_split): Use skip_spaces.
126 (ada_decode_assert_location): Likewise.
127
128 2012-01-04 Joel Brobecker <brobecker@adacore.com>
129
130 * linespec.c (decode_line_internal): Check for C++ or Java
131 compound constructs only if the current language is C, C++
132 or Java.
133
134 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
135
136 Revert:
137 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
138 Joel Brobecker <brobecker@adacore.com>
139 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
140 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
141 3 times.
142 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
143 fall through into AT_ENTRY_POINT.
144 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
145 DUMMY_ADDR with it.
146 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
147 PPC_INSN_SIZE skip to 3 times.
148
149 2012-01-04 Joel Brobecker <brobecker@adacore.com>
150
151 * linespec.c (add_minsym): Preserve function descriptors.
152
153 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
154
155 * breakpoint.c (all_locations_are_pending): Consider locations
156 in program spaces executing during startup pending as well.
157
158 2012-01-04 Joel Brobecker <brobecker@adacore.com>
159
160 Copyright year update in most files of the GDB Project.
161
162 2012-01-04 Joel Brobecker <brobecker@adacore.com>
163
164 * copyright.sh: Delete.
165 * copyright.py: Rewrite.
166
167 2012-01-04 Joel Brobecker <brobecker@adacore.com>
168
169 * gnulib/extra/update-copyright: New file, imported from gnulib.
170
171 2012-01-04 Joel Brobecker <brobecker@adacore.com>
172
173 * README (Copyright and License Notices): New section.
174
175 2012-01-03 Tom Tromey <tromey@redhat.com>
176
177 PR python/12533:
178 * python/py-value.c (valpy_dereference, valpy_get_address
179 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
180 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
181 (valpy_absolute, valpy_richcompare): Free intermediate values.
182
183 2011-01-03 Joel Brobecker <brobecker@adacore.com>
184
185 * ada-lang.c: Reformat the copyright notice.
186
187 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
188
189 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
190 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
191 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
192 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
193 Revert this part of:
194 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
195 Build gdb directly from *.o files not using libgdb.a.
196 * Makefile.in (COMMON_OBS): Remove solib-target.o.
197
198 2012-01-02 Joel Brobecker <brobecker@adacore.com>
199
200 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
201 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
202 Reformat the copyright header.
203
204 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 Revert this part of:
207 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
208 Remove the gdbtui binary.
209 * gdb.c (main): Remove args.interpreter_p initialization.
210 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
211 * main.h (struct captured_main_args): Remove interpreter_p.
212
213 2012-01-02 Joel Brobecker <brobecker@adacore.com>
214
215 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
216
217 2012-01-02 Joel Brobecker <brobecker@adacore.com>
218
219 * top.c (print_gdb_version): Update copyright year.
220
221 2012-01-02 Yao Qi <yao@codesourcery.com>
222
223 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
224
225 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
226 Joel Brobecker <brobecker@adacore.com>
227
228 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
229 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
230 3 times.
231 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
232 fall through into AT_ENTRY_POINT.
233 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
234 DUMMY_ADDR with it.
235 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
236 PPC_INSN_SIZE skip to 3 times.
237
238 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
241 the return value.
242 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
243
244 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
245
246 Build gdb directly from *.o files not using libgdb.a.
247 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
248 (COMMON_OBS): Remove solib-target.o.
249 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
250 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
251 (LIBGDB_OBS, libgdb.a): Move it above.
252 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
253 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
254 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
255 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
256 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
257 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
258 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
259 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
260 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
261 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
262 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
263 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
264 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
265 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
266 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
267 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
268 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
269 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
270 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
271 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
272 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
273 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
274 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
275 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
276 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
277 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
278 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
279
280 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
281
282 Remove the gdbtui binary.
283 * .gitignore (/gdbtui): Remove.
284 * Makefile.in (TUI): Remove.
285 (SUBDIR_TUI_OBS): Remove tui-main.o.
286 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
287 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
288 (tui-main.o): Remove.
289 (all_object_files): Remove tui-main.o.
290 * NEWS: New note for the gdbtui removal.
291 * configure: Rebuilt.
292 * configure.ac: No longer add all-tui, clean-tui, install-tui and
293 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
294 CONFIG_UNINSTALL respectively.
295 * gdb.c (main): Remove args.interpreter_p initialization.
296 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
297 * main.h (struct captured_main_args): Remove interpreter_p.
298 * tui/tui-main.c: Remove.
299
300 2012-01-01 Doug Evans <dje@google.com>
301
302 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
303 (dwarf2_physname, read_import_statement): Ditto.
304 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
305 (process_structure_scope read_subroutine_type): Ditto.
306 (read_typedef, load_partial_dies, read_partial_die): Ditto.
307 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
308 (dwarf2_fetch_die_location_block): Ditto.
309 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
310
311 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
312 All callers updated.
313 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
314 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
315 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
316
317 * dwarf2read.c (load_cu): Move assert to more useful location.
318
319 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
320 All callers updated.
321
322 * dwarf2read.c (dwarf2_per_objfile): Add comment.
323 (dwarf2_elf_names): Minor reformat.
324 (dwarf2_per_cu_data): Tweak comment.
325 (dwarf2_read_section): Fix comment.
326 (create_all_comp_units): Fix comment.
327 (load_full_comp_unit): Fix comment.
328 (process_full_comp_unit): Fix comment.
329 (read_signatured_type): Fix comment.
330
331 For older changes see ChangeLog-2011.
332 \f
333 Local Variables:
334 mode: change-log
335 left-margin: 8
336 fill-column: 74
337 version-control: never
338 coding: utf-8
339 End: