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