1 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2 Jan Kratochvil <jan.kratochvil@redhat.com>
5 * symfile.c (find_separate_debug_file): New function.
6 (terminate_after_last_dir_separator): Likewise.
7 (find_separate_debug_file_by_debuglink): Also try realpath.
8 * configure.ac (AC_CHECK_FUNCS): Add lstat.
9 * configure: Regenerate.
10 * config.in: Regenerate.
12 2012-01-18 Doug Evans <dje@google.com>
14 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
15 (main.o): Remove rule.
16 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
17 (--with-sysroot): Rewrite.
18 * configure: Regenerate.
19 * config.in: Regenerate.
21 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
23 * parse.c (initialize_expout): New function.
24 (reallocate_expout): Likewise.
25 (parse_exp_in_context): Use `initialize_expout' and
26 `reallocate_expout' when appropriate.
28 2012-01-18 Pedro Alves <palves@redhat.com>
30 * record.c (struct record_breakpoint, record_breakpoint_p)
31 (record_breakpoints): New.
32 (record_insert_breakpoint, record_remove_breakpoint): Manage
33 record breakpoints list. Only remove breakpoints from the
34 inferior if they had been inserted there in the first place.
36 2012-01-17 Doug Evans <dje@google.com>
38 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
39 if we know we don't have a file name to look for.
41 2012-01-17 Pedro Alves <palves@redhat.com>
43 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
44 the frame's stop reason is UNWIND_UNAVAILABLE.
46 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
48 Fix compilation error.
49 * m2-exp.y (yyerror): Use ANSI C prototype.
51 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
53 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
54 (growbuf_by_size): Likewise.
56 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
57 (modblock): Remove variable (was #if 0'ed).
58 (parse_number): Convert prototype from K&R to ANSI C.
60 * objc-exp.y (parse_number): Likewise.
62 (yylex): Remove #if 0'ed code.
63 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
66 2012-01-16 Tom Tromey <tromey@redhat.com>
69 * symtab.h (compare_filenames_for_search): Declare.
70 * symtab.c (compare_filenames_for_search): New function.
71 (iterate_over_some_symtabs): Use it.
72 * symfile.h (struct quick_symbol_functions)
73 <map_symtabs_matching_filename>: Change spec.
74 * psymtab.c (partial_map_symtabs_matching_filename): Use
75 compare_filenames_for_search. Update for new spec.
76 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
77 compare_filenames_for_search. Update for new spec.
78 * breakpoint.c (clear_command): Use compare_filenames_for_search.
80 2012-01-16 Tom Tromey <tromey@redhat.com>
83 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
84 (struct main_type) <flag_flag_enum>: New field.
85 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
87 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
89 * python/lib/gdb/printing.py (_EnumInstance): New class.
90 (FlagEnumerationPrinter): Likewise.
92 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
94 * breakpoint.c (create_sals_from_address_default): New function.
95 (create_breakpoints_sal_default): Likewise.
96 (decode_linespec_default): Likewise.
97 (is_marker_spec): Removed.
98 (strace_marker_p): New function.
99 (init_breakpoint_sal): Using `strace_marker_p' instead of
101 (create_breakpoint): Call method `create_sals_from_address' from
102 breakpoint_ops, replacing code that created SALs conditionally
103 on the type of the breakpoint. Call method `create_breakpoints_sal',
104 replacing code that created breakpoints conditionally on the type
106 (base_breakpoint_create_sals_from_address): New function.
107 (base_breakpoint_create_breakpoints_sal): Likewise.
108 (base_breakpoint_decode_linespec): Likewise.
109 (base_breakpoint_ops): Add methods
110 `base_breakpoint_create_sals_from_address',
111 `base_breakpoint_create_breakpoints_sal' and
112 `base_breakpoint_decode_linespec'.
113 (bkpt_create_sals_from_address): New function.
114 (bkpt_create_breakpoints_sal): Likewise.
115 (bkpt_decode_linespec): Likewise.
116 (tracepoint_create_sals_from_address): Likewise.
117 (tracepoint_create_breakpoints_sal): Likewise.
118 (tracepoint_decode_linespec): Likewise.
119 (strace_marker_create_sals_from_address): Likewise.
120 (strace_marker_create_breakpoints_sal): Likewise.
121 (strace_marker_decode_linespec): Likewise.
122 (strace_marker_breakpoint_ops): New variable.
123 (addr_string_to_sals): Remove `marker_spec'. Call method
124 `decode_linespec' from breakpoint_ops, replacing code that decoded
125 an address string into a SAL. Use `strace_marker_p' instead of
127 (strace_command): Decide whether we are dealing with a static
128 tracepoint with marker or not. Use the appropriate breakpoint_ops.
129 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
130 * breakpoint.h (linespec_result, linespec_sals): New forward
132 (breakpoint_ops) <create_sals_from_address>,
133 <create_breakpoints_sal>, <decode_linespec>: New methods.
135 2012-01-14 Doug Evans <dje@google.com>
137 * NEWS: Update text for "maint set python print-stack".
138 It is deprecated in gdb 7.4 and deleted in 7.5.
140 2012-01-13 Eli Zaretskii <eliz@gnu.org>
142 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
145 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
147 * configure: Regenerate.
148 * config.in: Regenerate.
150 2012-01-12 Keith Seitz <keiths@redhat.com>
153 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
154 (ANONYMOUS_UNION_NAME): Define.
155 (is_path_expr_parent): New function.
156 (get_path_expr_parent): New function.
157 (is_anonymous_child): New function.
158 (create_child_with_value): If the child is anonymous and without
159 a name, assign an object name to it.
160 (c_describe_child): Use get_path_expr_parent to determine
161 the parent expression.
162 If there field represents an anonymous struct or union and
163 has no name, set an appropriate display name and expression.
164 (cplus_describe_child): Likewise.
166 2012-01-12 Pedro Alves <palves@redhat.com>
168 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
169 available when %ebp is found to be zero (outermost).
171 2012-01-11 Andreas Tobler <andreast@fgznet.ch>
173 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
174 an internal gdb_static_assert.
175 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
177 2012-01-11 Tom Tromey <tromey@redhat.com>
180 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
181 catch" and "catch throw".
183 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
185 * blockframe.c (block_innermost_frame): Start search from selected
186 frame, if present, or otherwise the current frame.
188 * c-exp.y (variable): Update innermost_block for
189 'block COLONCOLON NAME' clause.
190 * m2-exp.y (variable): Ditto.
191 * objc-exp.y (variable): Ditto.
193 2012-01-10 Tom Tromey <tromey@redhat.com>
196 * python/python.c (finish_python_initialization): Set sys.argv.
198 2012-01-10 Doug Evans <dje@google.com>
200 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
201 "want_line_info". All callers updated.
202 (dwarf_decode_lines_1): New function.
203 (handle_DW_AT_stmt_list): Add function comment.
204 New arg "want_line_info". All callers updated.
205 (read_file_scope,read_type_unit_scope): Move comment from
206 handle_DW_AT_stmt_list to here.
208 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
210 Fix regression after libiberty/ update for GCC PR 6057 and others.
211 * c-exp.y (operator) <OPERATOR DELETE>
212 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
213 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
214 (make_builtin_type, make_name): New variable i, add gdb_assert.
215 (operator) <OPERATOR NEW>: Update ARGS to 3.
216 (operator) <OPERATOR DELETE>: Add trailing space.
217 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
218 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
219 * cp-support.c (cp_canonicalize_string): Check NULL from
220 cp_comp_to_string, call warning and return.
222 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
224 Fix duplicate .o files after omitting libbfd.a.
225 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
226 (SFILES): Add corelow.c.
227 (COMMON_OBS): Add corelow.o.
228 (ALLDEPFILES): Remove corelow.c.
229 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
230 * config/alpha/alpha-osf3.mh: Likewise.
231 * config/alpha/fbsd.mh: Likewise.
232 * config/arm/nbsdaout.mh: Likewise.
233 * config/arm/nbsdelf.mh: Likewise.
234 * config/i386/i386gnu.mh: Likewise.
235 * config/ia64/hpux.mh: Likewise.
236 * config/ia64/linux.mh: Likewise.
237 * config/m32r/linux.mh: Likewise.
238 * config/m68k/linux.mh: Likewise.
239 * config/mips/irix5.mh: Likewise.
240 * config/mips/irix6.mh: Likewise.
241 * config/pa/hpux.mh: Likewise.
242 * config/pa/linux.mh: Likewise.
243 * config/powerpc/aix.mh: Likewise.
244 * config/sparc/linux.mh: Likewise.
245 * config/sparc/linux64.mh: Likewise.
246 * config/sparc/sol2.mh: Likewise.
247 * config/vax/vax.mh: Likewise.
248 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
249 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
250 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
251 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
252 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
253 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
254 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
255 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
256 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
257 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
258 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
259 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
260 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
261 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
262 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
263 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
264 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
265 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
266 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
267 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
268 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
269 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
270 corelow.o from gdb_target_obs.
271 * corefile.c (core_target): Update the comment on NULL value.
272 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
273 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
274 MATCHES. Drop YUMMY set on NULL.
275 (core_close): Do not call exit_inferior_silent on zero PID. Do not
276 reclaim CORE_DATA if it is already NULL.
278 2012-01-09 Doug Evans <dje@google.com>
280 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
281 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
283 2012-01-09 Keith Seitz <keiths@redhat.com>
285 * breakpoint.c (wrapper.h): Don't include.
287 2012-01-09 Keith Seitz <keiths@redhat.com>
289 * Makefile.in (SFILES): Remove wrapper.c.
290 (HFILES_NO_SRCDIR): Remove wrapper.h.
291 (COMMON_OBS): Remove wrapper.o.
292 * cli/cli-interp.c: Don't inlude wrapper.h.
293 * corelow.c: Likewise.
294 (core_open): Replace gdb_target_find_new_threads with
295 TRY_CATCH around target_find_new_threads.
296 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
297 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
298 * varobj.c (varobj_create): Likewise for parse_exp_1 and
300 (varobj_set_value): Likewise for evaluate_expression and
302 (install_new_variable): Likewise for value_fetch_lazy.
303 (adjust_value_for_child_access): Likewise for value_ind.
304 (c_describe_child): Likewise for value_subscript and
306 (c_value_of_root): Likewise for evaluate_expression.
310 2012-01-09 Doug Evans <dje@google.com>
312 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
313 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
314 "abfd" args with "section". All callers updated.
315 Error checking code moved ...
316 (error_check_comp_unit_head): ... here. New function.
317 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
318 Delete arg "abfd". New arg "type_offset". All callers updated.
319 (create_debug_types_hash_table): Simplify by using
320 read_and_check_type_unit_head.
322 * parser-defs.h (namecopy): Delete.
323 * parse.c (namecopy, namecopy_size): Move into copy_name.
325 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
327 Partially fix duplicate .o files after omitting libbfd.a.
328 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
329 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
330 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
331 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
332 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
333 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
334 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
336 2012-01-09 Pedro Alves <palves@redhat.com>
338 * MAINTAINERS: Update my email address.
340 2012-01-08 Doug Evans <dje@google.com>
342 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
343 n_type_units. Rename type_comp_units to all_type_units.
345 (add_signatured_type_cu_to_table): Renamed from
346 add_signatured_type_cu_to_list. All callers updated.
348 * gdbtypes.h (struct cplus_struct_type): Delete member
349 nfn_fields_total. All uses removed.
351 2012-01-06 Doug Evans <dje@google.com>
353 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
355 (dwarf2_find_comp_unit): Delete.
356 (process_psymtab_comp_unit): Make result "void".
357 Delete args buffer, info_ptr, buffer_size, and replace with
358 "section". All callers updated.
359 (dwarf2_build_psymtabs_hard): Simplify.
361 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
362 Thiago Jung Bauermann <bauerman@br.ibm.com>
364 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
365 before `struct gdb_exception'.
366 * breakpoint.c (update_global_location_list_nothrow)
367 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
368 * cp-abi.c (value_rtti_type): Likewise.
369 * cp-support.c (cp_validate_operator): Likewise.
370 * infrun.c (insert_exception_resume_breakpoint)
371 (check_exception_resume, keep_going): Likewise.
372 * mi-interp.c (mi_breakpoint_created)
373 (mi_breakpoint_modified): Likewise.
374 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
375 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
376 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
378 2012-01-05 Doug Evans <dje@google.com>
380 * dwarf2read.c (statement_prologue): Delete, unused.
382 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
383 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
385 * dwarf2read.c (comp_unit_header): Delete, unused.
387 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
389 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
390 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
392 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
394 * infrun.c (normal_stop): Don't skip calling the normal_stop
395 observers if the thread was doing a multi-step, but stopped for
396 some reason other than stepping.
398 2012-01-05 Pedro Alves <alves.ped@gmail.com>
400 * cli/cli-decode.h: Add comments.
401 (CMD_LIST_AMBIGUOUS): Moved to command.h
402 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
403 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
404 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
405 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
406 (add_com, add_com_alias, add_info, add_info_alias)
407 (complete_on_cmdlist, complete_on_enum, help_list): Remove
409 * command.h: Add and adjust comments.
410 (CMD_LIST_AMBIGUOUS): Moved here.
411 (help_cmd, help_cmd_list): Delete declarations.
413 2012-01-04 Doug Evans <dje@google.com>
415 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
417 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
418 Replace all arguments with "per_cu". All callers updated.
420 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
422 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
423 New arg "per_cu". All callers updated.
425 Delete #if 0'd out code.
426 * language.c (binop_result_type): Delete.
427 (simple_type, ordered_type, same_type, integral_type): Delete.
428 (numeric_type, character_type, string_type, boolean_type): Delete.
429 (float_type, structured_type): Delete.
430 * language.h: Update.
432 2012-01-04 Tom Tromey <tromey@redhat.com>
434 * python/py-value.c (valpy_binop): Initialize 'res_val'.
436 2012-01-04 Joel Brobecker <brobecker@adacore.com>
438 * corefile.c (close_exec_file): Delete.
439 (reopen_exec_file): Remove commented out code that seems related
440 to close_exec_file, which is being deleted here.
441 * inferior.h (close_exec_file): Delete.
442 * fork-child.c (fork_inferior): Remove call to fork_inferior.
444 2012-01-04 Joel Brobecker <brobecker@adacore.com>
446 * ada-lang.c: #include "cli/cli-utils.h".
447 (get_selections): Use skip_spaces.
448 (ada_get_next_arg): Use skip_spaces and skip_to_space.
449 (catch_ada_exception_command_split): Use skip_spaces.
450 (ada_decode_assert_location): Likewise.
452 2012-01-04 Joel Brobecker <brobecker@adacore.com>
454 * linespec.c (decode_line_internal): Check for C++ or Java
455 compound constructs only if the current language is C, C++
458 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
461 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
462 Joel Brobecker <brobecker@adacore.com>
463 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
464 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
466 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
467 fall through into AT_ENTRY_POINT.
468 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
470 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
471 PPC_INSN_SIZE skip to 3 times.
473 2012-01-04 Joel Brobecker <brobecker@adacore.com>
475 * linespec.c (add_minsym): Preserve function descriptors.
477 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
479 * breakpoint.c (all_locations_are_pending): Consider locations
480 in program spaces executing during startup pending as well.
482 2012-01-04 Joel Brobecker <brobecker@adacore.com>
484 Copyright year update in most files of the GDB Project.
486 2012-01-04 Joel Brobecker <brobecker@adacore.com>
488 * copyright.sh: Delete.
489 * copyright.py: Rewrite.
491 2012-01-04 Joel Brobecker <brobecker@adacore.com>
493 * gnulib/extra/update-copyright: New file, imported from gnulib.
495 2012-01-04 Joel Brobecker <brobecker@adacore.com>
497 * README (Copyright and License Notices): New section.
499 2012-01-03 Tom Tromey <tromey@redhat.com>
502 * python/py-value.c (valpy_dereference, valpy_get_address
503 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
504 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
505 (valpy_absolute, valpy_richcompare): Free intermediate values.
507 2011-01-03 Joel Brobecker <brobecker@adacore.com>
509 * ada-lang.c: Reformat the copyright notice.
511 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
513 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
514 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
515 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
516 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
518 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
519 Build gdb directly from *.o files not using libgdb.a.
520 * Makefile.in (COMMON_OBS): Remove solib-target.o.
522 2012-01-02 Joel Brobecker <brobecker@adacore.com>
524 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
525 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
526 Reformat the copyright header.
528 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
531 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
532 Remove the gdbtui binary.
533 * gdb.c (main): Remove args.interpreter_p initialization.
534 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
535 * main.h (struct captured_main_args): Remove interpreter_p.
537 2012-01-02 Joel Brobecker <brobecker@adacore.com>
539 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
541 2012-01-02 Joel Brobecker <brobecker@adacore.com>
543 * top.c (print_gdb_version): Update copyright year.
545 2012-01-02 Yao Qi <yao@codesourcery.com>
547 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
549 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
550 Joel Brobecker <brobecker@adacore.com>
552 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
553 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
555 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
556 fall through into AT_ENTRY_POINT.
557 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
559 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
560 PPC_INSN_SIZE skip to 3 times.
562 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
564 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
566 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
568 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
570 Build gdb directly from *.o files not using libgdb.a.
571 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
572 (COMMON_OBS): Remove solib-target.o.
573 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
574 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
575 (LIBGDB_OBS, libgdb.a): Move it above.
576 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
577 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
578 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
579 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
580 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
581 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
582 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
583 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
584 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
585 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
586 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
587 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
588 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
589 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
590 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
591 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
592 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
593 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
594 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
595 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
596 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
597 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
598 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
599 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
600 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
601 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
602 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
604 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
606 Remove the gdbtui binary.
607 * .gitignore (/gdbtui): Remove.
608 * Makefile.in (TUI): Remove.
609 (SUBDIR_TUI_OBS): Remove tui-main.o.
610 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
611 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
612 (tui-main.o): Remove.
613 (all_object_files): Remove tui-main.o.
614 * NEWS: New note for the gdbtui removal.
615 * configure: Rebuilt.
616 * configure.ac: No longer add all-tui, clean-tui, install-tui and
617 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
618 CONFIG_UNINSTALL respectively.
619 * gdb.c (main): Remove args.interpreter_p initialization.
620 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
621 * main.h (struct captured_main_args): Remove interpreter_p.
622 * tui/tui-main.c: Remove.
624 2012-01-01 Doug Evans <dje@google.com>
626 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
627 (dwarf2_physname, read_import_statement): Ditto.
628 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
629 (process_structure_scope read_subroutine_type): Ditto.
630 (read_typedef, load_partial_dies, read_partial_die): Ditto.
631 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
632 (dwarf2_fetch_die_location_block): Ditto.
633 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
635 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
637 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
638 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
639 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
641 * dwarf2read.c (load_cu): Move assert to more useful location.
643 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
646 * dwarf2read.c (dwarf2_per_objfile): Add comment.
647 (dwarf2_elf_names): Minor reformat.
648 (dwarf2_per_cu_data): Tweak comment.
649 (dwarf2_read_section): Fix comment.
650 (create_all_comp_units): Fix comment.
651 (load_full_comp_unit): Fix comment.
652 (process_full_comp_unit): Fix comment.
653 (read_signatured_type): Fix comment.
655 For older changes see ChangeLog-2011.
661 version-control: never