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