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