1 2012-01-11 Andreas Tobler <andreast@fgznet.ch>
3 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
4 an internal gdb_static_assert.
5 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
7 2012-01-11 Tom Tromey <tromey@redhat.com>
10 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
11 catch" and "catch throw".
13 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
15 * blockframe.c (block_innermost_frame): Start search from selected
16 frame, if present, or otherwise the current frame.
18 * c-exp.y (variable): Update innermost_block for
19 'block COLONCOLON NAME' clause.
20 * m2-exp.y (variable): Ditto.
21 * objc-exp.y (variable): Ditto.
23 2012-01-10 Tom Tromey <tromey@redhat.com>
26 * python/python.c (finish_python_initialization): Set sys.argv.
28 2012-01-10 Doug Evans <dje@google.com>
30 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
31 "want_line_info". All callers updated.
32 (dwarf_decode_lines_1): New function.
33 (handle_DW_AT_stmt_list): Add function comment.
34 New arg "want_line_info". All callers updated.
35 (read_file_scope,read_type_unit_scope): Move comment from
36 handle_DW_AT_stmt_list to here.
38 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
40 Fix regression after libiberty/ update for GCC PR 6057 and others.
41 * c-exp.y (operator) <OPERATOR DELETE>
42 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
43 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
44 (make_builtin_type, make_name): New variable i, add gdb_assert.
45 (operator) <OPERATOR NEW>: Update ARGS to 3.
46 (operator) <OPERATOR DELETE>: Add trailing space.
47 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
48 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
49 * cp-support.c (cp_canonicalize_string): Check NULL from
50 cp_comp_to_string, call warning and return.
52 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
54 Fix duplicate .o files after omitting libbfd.a.
55 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
56 (SFILES): Add corelow.c.
57 (COMMON_OBS): Add corelow.o.
58 (ALLDEPFILES): Remove corelow.c.
59 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
60 * config/alpha/alpha-osf3.mh: Likewise.
61 * config/alpha/fbsd.mh: Likewise.
62 * config/arm/nbsdaout.mh: Likewise.
63 * config/arm/nbsdelf.mh: Likewise.
64 * config/i386/i386gnu.mh: Likewise.
65 * config/ia64/hpux.mh: Likewise.
66 * config/ia64/linux.mh: Likewise.
67 * config/m32r/linux.mh: Likewise.
68 * config/m68k/linux.mh: Likewise.
69 * config/mips/irix5.mh: Likewise.
70 * config/mips/irix6.mh: Likewise.
71 * config/pa/hpux.mh: Likewise.
72 * config/pa/linux.mh: Likewise.
73 * config/powerpc/aix.mh: Likewise.
74 * config/sparc/linux.mh: Likewise.
75 * config/sparc/linux64.mh: Likewise.
76 * config/sparc/sol2.mh: Likewise.
77 * config/vax/vax.mh: Likewise.
78 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
79 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
80 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
81 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
82 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
83 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
84 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
85 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
86 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
87 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
88 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
89 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
90 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
91 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
92 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
93 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
94 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
95 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
96 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
97 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
98 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
99 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
100 corelow.o from gdb_target_obs.
101 * corefile.c (core_target): Update the comment on NULL value.
102 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
103 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
104 MATCHES. Drop YUMMY set on NULL.
105 (core_close): Do not call exit_inferior_silent on zero PID. Do not
106 reclaim CORE_DATA if it is already NULL.
108 2012-01-09 Doug Evans <dje@google.com>
110 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
111 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
113 2012-01-09 Keith Seitz <keiths@redhat.com>
115 * breakpoint.c (wrapper.h): Don't include.
117 2012-01-09 Keith Seitz <keiths@redhat.com>
119 * Makefile.in (SFILES): Remove wrapper.c.
120 (HFILES_NO_SRCDIR): Remove wrapper.h.
121 (COMMON_OBS): Remove wrapper.o.
122 * cli/cli-interp.c: Don't inlude wrapper.h.
123 * corelow.c: Likewise.
124 (core_open): Replace gdb_target_find_new_threads with
125 TRY_CATCH around target_find_new_threads.
126 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
127 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
128 * varobj.c (varobj_create): Likewise for parse_exp_1 and
130 (varobj_set_value): Likewise for evaluate_expression and
132 (install_new_variable): Likewise for value_fetch_lazy.
133 (adjust_value_for_child_access): Likewise for value_ind.
134 (c_describe_child): Likewise for value_subscript and
136 (c_value_of_root): Likewise for evaluate_expression.
140 2012-01-09 Doug Evans <dje@google.com>
142 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
143 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
144 "abfd" args with "section". All callers updated.
145 Error checking code moved ...
146 (error_check_comp_unit_head): ... here. New function.
147 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
148 Delete arg "abfd". New arg "type_offset". All callers updated.
149 (create_debug_types_hash_table): Simplify by using
150 read_and_check_type_unit_head.
152 * parser-defs.h (namecopy): Delete.
153 * parse.c (namecopy, namecopy_size): Move into copy_name.
155 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
157 Partially fix duplicate .o files after omitting libbfd.a.
158 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
159 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
160 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
161 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
162 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
163 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
164 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
166 2012-01-09 Pedro Alves <palves@redhat.com>
168 * MAINTAINERS: Update my email address.
170 2012-01-08 Doug Evans <dje@google.com>
172 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
173 n_type_units. Rename type_comp_units to all_type_units.
175 (add_signatured_type_cu_to_table): Renamed from
176 add_signatured_type_cu_to_list. All callers updated.
178 * gdbtypes.h (struct cplus_struct_type): Delete member
179 nfn_fields_total. All uses removed.
181 2012-01-06 Doug Evans <dje@google.com>
183 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
185 (dwarf2_find_comp_unit): Delete.
186 (process_psymtab_comp_unit): Make result "void".
187 Delete args buffer, info_ptr, buffer_size, and replace with
188 "section". All callers updated.
189 (dwarf2_build_psymtabs_hard): Simplify.
191 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
192 Thiago Jung Bauermann <bauerman@br.ibm.com>
194 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
195 before `struct gdb_exception'.
196 * breakpoint.c (update_global_location_list_nothrow)
197 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
198 * cp-abi.c (value_rtti_type): Likewise.
199 * cp-support.c (cp_validate_operator): Likewise.
200 * infrun.c (insert_exception_resume_breakpoint)
201 (check_exception_resume, keep_going): Likewise.
202 * mi-interp.c (mi_breakpoint_created)
203 (mi_breakpoint_modified): Likewise.
204 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
205 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
206 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
208 2012-01-05 Doug Evans <dje@google.com>
210 * dwarf2read.c (statement_prologue): Delete, unused.
212 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
213 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
215 * dwarf2read.c (comp_unit_header): Delete, unused.
217 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
219 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
220 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
222 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
224 * infrun.c (normal_stop): Don't skip calling the normal_stop
225 observers if the thread was doing a multi-step, but stopped for
226 some reason other than stepping.
228 2012-01-05 Pedro Alves <alves.ped@gmail.com>
230 * cli/cli-decode.h: Add comments.
231 (CMD_LIST_AMBIGUOUS): Moved to command.h
232 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
233 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
234 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
235 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
236 (add_com, add_com_alias, add_info, add_info_alias)
237 (complete_on_cmdlist, complete_on_enum, help_list): Remove
239 * command.h: Add and adjust comments.
240 (CMD_LIST_AMBIGUOUS): Moved here.
241 (help_cmd, help_cmd_list): Delete declarations.
243 2012-01-04 Doug Evans <dje@google.com>
245 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
247 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
248 Replace all arguments with "per_cu". All callers updated.
250 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
252 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
253 New arg "per_cu". All callers updated.
255 Delete #if 0'd out code.
256 * language.c (binop_result_type): Delete.
257 (simple_type, ordered_type, same_type, integral_type): Delete.
258 (numeric_type, character_type, string_type, boolean_type): Delete.
259 (float_type, structured_type): Delete.
260 * language.h: Update.
262 2012-01-04 Tom Tromey <tromey@redhat.com>
264 * python/py-value.c (valpy_binop): Initialize 'res_val'.
266 2012-01-04 Joel Brobecker <brobecker@adacore.com>
268 * corefile.c (close_exec_file): Delete.
269 (reopen_exec_file): Remove commented out code that seems related
270 to close_exec_file, which is being deleted here.
271 * inferior.h (close_exec_file): Delete.
272 * fork-child.c (fork_inferior): Remove call to fork_inferior.
274 2012-01-04 Joel Brobecker <brobecker@adacore.com>
276 * ada-lang.c: #include "cli/cli-utils.h".
277 (get_selections): Use skip_spaces.
278 (ada_get_next_arg): Use skip_spaces and skip_to_space.
279 (catch_ada_exception_command_split): Use skip_spaces.
280 (ada_decode_assert_location): Likewise.
282 2012-01-04 Joel Brobecker <brobecker@adacore.com>
284 * linespec.c (decode_line_internal): Check for C++ or Java
285 compound constructs only if the current language is C, C++
288 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
291 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
292 Joel Brobecker <brobecker@adacore.com>
293 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
294 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
296 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
297 fall through into AT_ENTRY_POINT.
298 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
300 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
301 PPC_INSN_SIZE skip to 3 times.
303 2012-01-04 Joel Brobecker <brobecker@adacore.com>
305 * linespec.c (add_minsym): Preserve function descriptors.
307 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
309 * breakpoint.c (all_locations_are_pending): Consider locations
310 in program spaces executing during startup pending as well.
312 2012-01-04 Joel Brobecker <brobecker@adacore.com>
314 Copyright year update in most files of the GDB Project.
316 2012-01-04 Joel Brobecker <brobecker@adacore.com>
318 * copyright.sh: Delete.
319 * copyright.py: Rewrite.
321 2012-01-04 Joel Brobecker <brobecker@adacore.com>
323 * gnulib/extra/update-copyright: New file, imported from gnulib.
325 2012-01-04 Joel Brobecker <brobecker@adacore.com>
327 * README (Copyright and License Notices): New section.
329 2012-01-03 Tom Tromey <tromey@redhat.com>
332 * python/py-value.c (valpy_dereference, valpy_get_address
333 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
334 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
335 (valpy_absolute, valpy_richcompare): Free intermediate values.
337 2011-01-03 Joel Brobecker <brobecker@adacore.com>
339 * ada-lang.c: Reformat the copyright notice.
341 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
343 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
344 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
345 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
346 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
348 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
349 Build gdb directly from *.o files not using libgdb.a.
350 * Makefile.in (COMMON_OBS): Remove solib-target.o.
352 2012-01-02 Joel Brobecker <brobecker@adacore.com>
354 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
355 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
356 Reformat the copyright header.
358 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
361 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
362 Remove the gdbtui binary.
363 * gdb.c (main): Remove args.interpreter_p initialization.
364 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
365 * main.h (struct captured_main_args): Remove interpreter_p.
367 2012-01-02 Joel Brobecker <brobecker@adacore.com>
369 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
371 2012-01-02 Joel Brobecker <brobecker@adacore.com>
373 * top.c (print_gdb_version): Update copyright year.
375 2012-01-02 Yao Qi <yao@codesourcery.com>
377 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
379 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
380 Joel Brobecker <brobecker@adacore.com>
382 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
383 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
385 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
386 fall through into AT_ENTRY_POINT.
387 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
389 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
390 PPC_INSN_SIZE skip to 3 times.
392 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
394 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
396 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
398 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
400 Build gdb directly from *.o files not using libgdb.a.
401 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
402 (COMMON_OBS): Remove solib-target.o.
403 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
404 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
405 (LIBGDB_OBS, libgdb.a): Move it above.
406 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
407 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
408 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
409 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
410 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
411 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
412 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
413 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
414 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
415 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
416 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
417 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
418 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
419 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
420 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
421 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
422 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
423 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
424 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
425 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
426 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
427 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
428 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
429 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
430 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
431 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
432 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
434 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
436 Remove the gdbtui binary.
437 * .gitignore (/gdbtui): Remove.
438 * Makefile.in (TUI): Remove.
439 (SUBDIR_TUI_OBS): Remove tui-main.o.
440 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
441 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
442 (tui-main.o): Remove.
443 (all_object_files): Remove tui-main.o.
444 * NEWS: New note for the gdbtui removal.
445 * configure: Rebuilt.
446 * configure.ac: No longer add all-tui, clean-tui, install-tui and
447 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
448 CONFIG_UNINSTALL respectively.
449 * gdb.c (main): Remove args.interpreter_p initialization.
450 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
451 * main.h (struct captured_main_args): Remove interpreter_p.
452 * tui/tui-main.c: Remove.
454 2012-01-01 Doug Evans <dje@google.com>
456 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
457 (dwarf2_physname, read_import_statement): Ditto.
458 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
459 (process_structure_scope read_subroutine_type): Ditto.
460 (read_typedef, load_partial_dies, read_partial_die): Ditto.
461 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
462 (dwarf2_fetch_die_location_block): Ditto.
463 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
465 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
467 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
468 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
469 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
471 * dwarf2read.c (load_cu): Move assert to more useful location.
473 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
476 * dwarf2read.c (dwarf2_per_objfile): Add comment.
477 (dwarf2_elf_names): Minor reformat.
478 (dwarf2_per_cu_data): Tweak comment.
479 (dwarf2_read_section): Fix comment.
480 (create_all_comp_units): Fix comment.
481 (load_full_comp_unit): Fix comment.
482 (process_full_comp_unit): Fix comment.
483 (read_signatured_type): Fix comment.
485 For older changes see ChangeLog-2011.
491 version-control: never