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