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