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