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