2012-01-11 Andreas Tobler <andreast@fgznet.ch>
[external/binutils.git] / gdb / ChangeLog
1 2012-01-11  Andreas Tobler  <andreast@fgznet.ch>
2
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.
6
7 2012-01-11  Tom Tromey  <tromey@redhat.com>
8
9         PR gdb/9598:
10         * breakpoint.c (_initialize_breakpoint): Fix help for "catch
11         catch" and "catch throw".
12
13 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
14
15         * blockframe.c (block_innermost_frame): Start search from selected
16         frame, if present, or otherwise the current frame.
17
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.
22
23 2012-01-10  Tom Tromey  <tromey@redhat.com>
24
25         PR python/13199:
26         * python/python.c (finish_python_initialization): Set sys.argv.
27
28 2012-01-10  Doug Evans  <dje@google.com>
29
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.
37
38 2012-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
39
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.
51
52 2012-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
53
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.
107
108 2012-01-09  Doug Evans  <dje@google.com>
109
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.
112
113 2012-01-09  Keith Seitz  <keiths@redhat.com>
114
115         * breakpoint.c (wrapper.h): Don't include.
116
117 2012-01-09  Keith Seitz  <keiths@redhat.com>
118
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
129         evaluate_expression.
130         (varobj_set_value): Likewise for evaluate_expression and
131         value_assign.
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
135         value_ind.
136         (c_value_of_root): Likewise for evaluate_expression.
137         * wrapper.c: Remove.
138         * wrapper.h: Remove.
139
140 2012-01-09  Doug Evans  <dje@google.com>
141
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.
151
152         * parser-defs.h (namecopy): Delete.
153         * parse.c (namecopy, namecopy_size): Move into copy_name.
154
155 2012-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
156
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.
165
166 2012-01-09  Pedro Alves  <palves@redhat.com>
167
168         * MAINTAINERS: Update my email address.
169
170 2012-01-08  Doug Evans  <dje@google.com>
171
172         * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
173         n_type_units.  Rename type_comp_units to all_type_units.
174         All uses updated.
175         (add_signatured_type_cu_to_table): Renamed from
176         add_signatured_type_cu_to_list.  All callers updated.
177
178         * gdbtypes.h (struct cplus_struct_type): Delete member
179         nfn_fields_total.  All uses removed.
180
181 2012-01-06  Doug Evans  <dje@google.com>
182
183         * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
184         to top of file.
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.
190
191 2012-01-06  Sergio Durigan Junior  <sergiodj@redhat.com>
192             Thiago Jung Bauermann  <bauerman@br.ibm.com>
193
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.
207
208 2012-01-05  Doug Evans  <dje@google.com>
209
210         * dwarf2read.c (statement_prologue): Delete, unused.
211
212         * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
213         * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
214
215         * dwarf2read.c (comp_unit_header): Delete, unused.
216
217 2012-01-05  Ulrich Weigand  <uweigand@de.ibm.com>
218
219         * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
220         * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
221
222 2012-01-05  Khoo Yit Phang  <khooyp@cs.umd.edu>
223
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.
227
228 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
229
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
238         declarations.
239         * command.h: Add and adjust comments.
240         (CMD_LIST_AMBIGUOUS): Moved here.
241         (help_cmd, help_cmd_list): Delete declarations.
242
243 2012-01-04  Doug Evans  <dje@google.com>
244
245         * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
246         All callers updated.
247         (load_full_type_unit): Renamed from read_signatured_type_at_offset.
248         Replace all arguments with "per_cu".  All callers updated.
249
250         * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
251
252         * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
253         New arg "per_cu".  All callers updated.
254
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.
261
262 2012-01-04  Tom Tromey  <tromey@redhat.com>
263
264         * python/py-value.c (valpy_binop): Initialize 'res_val'.
265
266 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
267
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.
273
274 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
275
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.
281
282 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
283
284         * linespec.c (decode_line_internal): Check for C++ or Java
285         compound constructs only if the current language is C, C++
286         or Java.
287
288 2012-01-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
289
290         Revert:
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
295         3 times.
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
299         DUMMY_ADDR with it.
300         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
301         PPC_INSN_SIZE skip to 3 times.
302
303 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
304
305         * linespec.c (add_minsym): Preserve function descriptors.
306
307 2012-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
308
309         * breakpoint.c (all_locations_are_pending): Consider locations
310         in program spaces executing during startup pending as well.
311
312 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
313
314         Copyright year update in most files of the GDB Project.
315
316 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
317
318         * copyright.sh: Delete.
319         * copyright.py: Rewrite.
320
321 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
322
323         * gnulib/extra/update-copyright: New file, imported from gnulib.
324
325 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
326
327         * README (Copyright and License Notices): New section.
328
329 2012-01-03  Tom Tromey  <tromey@redhat.com>
330
331         PR python/12533:
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.
336
337 2011-01-03  Joel Brobecker  <brobecker@adacore.com>
338
339         * ada-lang.c: Reformat the copyright notice.
340
341 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
342
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.
347         Revert this part of:
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.
351
352 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
353
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.
357
358 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
359
360         Revert this part of:
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.
366
367 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
368
369         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
370
371 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
372
373         * top.c (print_gdb_version): Update copyright year.
374
375 2012-01-02  Yao Qi  <yao@codesourcery.com>
376
377         * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
378
379 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
380             Joel Brobecker  <brobecker@adacore.com>
381
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
384         3 times.
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
388         DUMMY_ADDR with it.
389         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
390         PPC_INSN_SIZE skip to 3 times.
391
392 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
393
394         * amd64-linux-nat.c (update_debug_registers_callback): New comment on
395         the return value.
396         * i386-linux-nat.c (update_debug_registers_callback): Likewise.
397
398 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
399
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.
433
434 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
435
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.
453
454 2012-01-01  Doug Evans  <dje@google.com>
455
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.
464
465         * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
466         All callers updated.
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.
470
471         * dwarf2read.c (load_cu): Move assert to more useful location.
472
473         * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
474         All callers updated.
475
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.
484
485 For older changes see ChangeLog-2011.
486 \f
487 Local Variables:
488 mode: change-log
489 left-margin: 8
490 fill-column: 74
491 version-control: never
492 coding: utf-8
493 End: