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