linespec rewrite:
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2012-04-05  Keith Seitz  <keiths@redhat.com>
2
3         * linespec.c (decode_compound): Remove.
4         (enum offset_relative_sign): New enum.
5         (struct line_offset): New struct.
6         (struct linespec): New struct.
7         (struct linespec_state): Move file_symtabs,
8         user_filename, and user_function into struct linespec.
9         Make result an anonymous struct holding vectors of
10         symbolp and minsym_and_objfile_d.
11         Add language member.
12         (enum ls_token_type): New enum.
13         (linespec_keywords): New array.
14         (struct ls_token): New struct.
15         (struct ls_parser): New struct.
16         (linespec_lexer_lex_number): New function.
17         (linespec_lexer_lex_keyword): New function.
18         (is_ada_operator): New function.
19         (skip_quote_char): New function.
20         (copy_token_string): New function.
21         (is_closing_quote_enclosed): New function.
22         (find_parameter_list_end): New function.
23         (linespec_lexer_lex_string): New function.
24         (linespec_lexer_lex_one): New function.
25         (linespec_lexer_consume_token): New function.
26         (linespec_lexer_peek_token): New function.
27         (cplusplus_error): Remove unused function.
28         (find_methods): Update comment.
29         (find_toplevel_char): Return const.
30         (is_objc_method_format): Remove unused function.
31         (find_toplevel_string): New function.
32         (is_linespec_boundary): Remove.
33         (symbol_not_found_error): New function.
34         (find_method_overload_end): Remove function.
35         (unexpected_linespec_error): New function.
36         (keep_name_info): Remove.
37         (linespec_parse_line_offset): New function.
38         (linespec_parse_basic): New function.
39         (canonicalize_linespec): New function.
40         (decode_line_internal): Remove.
41         (create_sals_line_offset): New function adapted from
42         decode_all_digits.
43         (convert_linespec_to_sals): New function.
44         (parse_linespec): New function.
45         (linespec_parser_new): New function.
46         (linespec_state_destructor): Change parameter type to
47         struct linespec_state *.
48         Add language parameter.
49         Remove freeing of moved members.
50         (linespec_parser_delete): New function.
51         (decode_line_full): Use parse_linespec and linespec_parser_new.
52         (decode_line_1): Likewise.
53         (decode_indirect): Rename to ...
54         (linespec_expression_to_pc): ... this and rewrite
55         to simply find CORE_ADDR, storing this result for later
56         conversion to SALs.
57         (locate_first_half): Remove.
58         (deocde_objc): Add parameter LS.
59         Initialize new struct collect_info members.
60         Handle minimal symbols, too.
61         (decode_compound): Delete.
62         (lookup_prefix_sym): Rewrite.
63         (compare_msymbols): New function.
64         (find_method): Rewrite.
65         Do not call cplusplus_error.
66         (symtabs_from_filename): Rewrite.
67         (collect_function_symbols): Delete.
68         (find_function_symbols): Rewrite without ARGPTR-style
69         processing.
70         (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.)
71         (decode_dollar): Adapted and renamed to ...
72         (linespec_parse_variable): ... this.
73         (find_linespec_symbols): New function.
74         (decode_label): Adapted and renamed to ...
75         (find_label_symbols): ... this.
76         (decode_digits_list_mode): Add and use LS argument.
77         (decode_digits_ordinary): Likewise.
78         (collect_symbols): Do not collect SALs, just symbols and msymbols.
79         If in list mode, allow any symbol class.  Otherwise, only
80         permit LOC_BLOCK symbols.
81         (minsym_found): Update comments.
82         (search_minsyms_for_name): Do not convert the matching symbol
83         into a SAL.  Simply push the symbol and objfile into the
84         result vector.
85         (decode_variable): Delete. Contents adapted into
86         find_linespec_symbols.
87
88         * cp-support.c (SKIP_SPACE): Remove.
89         (operator_tokens): Remove unused global.
90         (cp_validate_operator): Remove.
91         * cp-support.h (cp_validate_operator): Remove declaration.
92
93 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
94
95         * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity
96         for TYPE_VPTR_FIELDNO.
97         * valprint.c (valprint_check_validity): Make it global, move the
98         function comment ...
99         * value.h (valprint_check_validity): ... to this new declaration.
100
101 2012-04-02  Tristan Gingold  <gingold@adacore.com>
102
103         * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use
104         the STATE32 api for i386 state.
105         (i386_darwin_store_inferior_registers): Likewise.
106
107 2012-04-02  Tristan Gingold  <gingold@adacore.com>
108
109         * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix
110         SS offset.
111         * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
112         format_string.
113
114 2012-04-02  Tristan Gingold  <gingold@adacore.com>
115
116         PR gdb/13901
117         * darwin-nat.c (darwin_execvp): Sey binary preference.
118
119 2012-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
120
121         * NEWS (set breakpoint condition-evaluation): Use imperative mood.
122
123 2012-03-30  Tom Tromey  <tromey@redhat.com>
124
125         * python/python.c (gdbpy_decode_line): Move cleanup creation out
126         of TRY_CATCH.  Fix error handling.
127         * python/py-value.c (convert_value_from_python): Move 'old'
128         declaration to innermost scope.
129
130 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
131             Andrey Smirnov  <andrew.smirnov@gmail.com>
132
133         -Wshadow warning fix.
134         * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
135         "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
136         Adjust code accordingly.
137
138 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
139
140         * ada-lang.c (symbol_completion_add): Rename parameter
141         "encoded" into "encoded_p".  Ajust code and documentation
142         accordingly.
143
144 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
145             Andrey Smirnov  <andrew.smirnov@gmail.com>
146
147         -Wshadow warning fix.
148         * ada-lang.c (symbol_completion_add): Rename parameter
149         "wild_match" into wild_match_p.  Update code and documentation
150         accordingly.
151
152 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
153
154         * ada-lang.c (symbol_completion_match): Rename parameter
155         "encoded" into "encoded_p".  Ajust code and documentation
156         accordingly.
157
158 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
159             Andrey Smirnov  <andrew.smirnov@gmail.com>
160
161         -Wshadow warning fix.
162         * ada-lang.c (symbol_completion_match): Rename parameter
163         "wild_match" into "wild_match_p".  Adjust code and function
164         documentation accordingly.
165
166 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
167             Andrey Smirnov  <andrew.smirnov@gmail.com>
168
169         -Wshadow warning fix.
170         * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter
171         "symbol_info" into "info".  Adjust code accordingly.
172         (ada_lookup_symbol): Likewise.
173
174 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
175
176         * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
177         of this function's documentation.
178
179 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
180             Andrey Smirnov  <andrew.smirnov@gmail.com>
181
182         -Wshadow warning fix.
183         * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match"
184         variable into "wild_match_p".  Adjust code accordingly.
185
186 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
187             Andrey Smirnov  <andrew.smirnov@gmail.com>
188
189         -Wshadow warning fix.
190         * ada-lang.c (ada_add_local_symbols): Rename "wild_match"
191         parameter into "wild_match_p".  Adjust code accordingly.
192         Document this parameter in the function description.
193
194 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
195             Andrey Smirnov  <andrew.smirnov@gmail.com>
196
197         -Wshadow warning fix.
198         * ada-lang.c (add_symbols_from_enclosing_procs): Rename
199         "wild_match" parameter to "wild_match_p" (-Wshadow).
200
201 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
202
203         * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
204         in function documentation.
205
206 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
207             Andrey Smirnov  <andrew.smirnov@gmail.com>
208
209         -Wshadow warning fix.
210         * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
211         variable into wild_match_p.  Adjust code accordingly.
212
213 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
214             Andrey Smirnov  <andrew.smirnov@gmail.com>
215
216         * ada-valprint.c (ada_val_print_1): Move the code handling
217         TYPE_CODE_ENUM inside its own lexical block.  Declare
218         variables len and val there, instead of in the function's
219         top level block.  Avoid declaring deref_val again in a way
220         that shadows another variable of the same name declared
221         in one of the up-level blocks.  Just re-use the up-level
222         variable instead.
223
224 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
225
226         * ada-lang.c (ada_lookup_encoded_symbol): Now returns void.
227         Replace block_found argument by symbol_info.  Adjust
228         implementation accordingly.  Add function documentation.
229         (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol.
230         Fix documentation.
231         * ada-lang.h (ada_lookup_encoded_symbol): Update declaration.
232         * ada-exp.y (write_object_renaming): Adjust to new
233         ada_lookup_encoded_symbol API.
234
235 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
236
237         * ada-lang.h (struct ada_symbol_info): Reformat.  Improve
238         documentation.
239
240 2012-03-28  Rathish C  <rathish.c@kpitcummins.com>
241
242         * v850-tdep.c: Add the enum values for mpu and fpu registers.
243         (v850_register_name): Add the mpu and fpu register names.
244         (v850e_register_name): Add the mpu and fpu register names.
245         (v850e2_register_name): New function.
246         (v850_gdbarch_init): Add case for bfd_mach_v850e2 and 
247         bfd_mach_v850e2v3.
248
249 2012-03-28  Joel Brobecker  <brobecker@adacore.com>
250
251         * NEWS: Add entry for Ada varobj support.
252
253 2012-03-28  Joel Brobecker  <brobecker@adacore.com>
254
255         * varobj.c (default_value_is_changeable_p): New function,
256         extracted from varobj_value_is_changeable_p.  Add declaration.
257         (ada_value_is_changeable_p): New function, extracted from
258         varobj_value_is_changeable_p.  Add declaration.
259         (struct language_specific): New field "value_is_changeable_p".
260         (languages): Add entries for new field.
261         (varobj_create): Set language before calling install_new_value.
262         (varobj_value_is_changeable_p): Reimplement to call the varobj's
263         "value_is_changeable_p" language callback.
264
265 2012-03-28  Joel Brobecker  <brobecker@adacore.com>
266
267         * ada-varobj.h, ada-varobj.c: New files.
268         * Makefile.in (SFILES): Add ada-varobj.c.
269         (HFILES_NO_SRCDIR): Add ada-varobj.h.
270         (COMMON_OBS): Add ada-varobj.o.
271
272 2012-03-28  Joel Brobecker  <brobecker@adacore.com>
273
274         * varobj.c (ada_value_has_mutated): Add declaration.  New function.
275         (struct language_specific): New field "value_has_mutated".
276         (languages): Set field "value_has_mutated" in each entry of array.
277         (varobj_value_has_mutated): New function.
278         (varobj_udpdate): Add handling of type mutation.
279         (value_of_root): Add handling of type mutation.
280         (ada_value_has_mutated): New function.
281
282 2012-03-28  Pedro Alves  <palves@redhat.com>
283
284         * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register):
285         Always supply $fr0 as 0.0 and $fr1 as 1.0.
286
287 2012-03-28  Tom Tromey  <tromey@redhat.com>
288
289         * python/py-inferior.c (infpy_read_memory): Remove cleanups and
290         explicitly free 'buffer' on exit paths.  Decref 'membuf_object'
291         before returning.
292
293 2012-03-28  Tom Tromey  <tromey@redhat.com>
294
295         * .dir-locals.el: New file.
296
297 2012-03-28  Pedro Alves  <palves@redhat.com>
298
299         * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
300
301 2012-03-28  Joel Brobecker  <brobecker@adacore.com>
302
303         * ia64-linux-nat.c (ia64_linux_fetch_register): Add special
304         handling for r0.
305
306 2012-03-27  Pedro Alves  <palves@redhat.com>
307
308         Eliminate struct ui_stream.
309
310         * ui-out.h (struct ui_stream): Delete.
311         (ui_out_field_stream): Adjust prototype.
312         (ui_out_stream_new, ui_out_stream_delete)
313         (make_cleanup_ui_out_stream_delete): Delete declarations.
314         * ui-out.c (ui_out_field_stream): Change prototype to take a
315         ui_file instead of a ui_stream.  Adjust.
316         (ui_out_stream_new, ui_out_stream_delete, do_stream_delete)
317         (make_cleanup_ui_out_stream_delete): Delete.
318         * breakpoint.c (print_breakpoint_location)
319         (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use
320         ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
321         * disasm.c (dump_insns): Ditto.
322         (do_mixed_source_and_assembly, do_assembly_only): Adjust
323         prototype.
324         (gdb_disassembly): Use ui_file/mem_fileopen instead of
325         ui_stream/ui_out_stream_new.
326         * infcmd.c (print_return_value): Ditto.
327         * osdata.c (info_osdata_command): Don't allocate a local
328         ui_stream.
329         * stack.c (print_frame_arg, print_frame_args, print_frame): Use
330         ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
331         * tracepoint.c (print_one_static_tracepoint_marker): Don't
332         allocate a local ui_stream.
333         * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen
334         instead of ui_stream/ui_out_stream_new.
335         (list_args_or_locals): Don't allocate a local ui_stream.
336         * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression)
337         (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of
338         ui_stream/ui_out_stream_new.
339         * cli/cli-setshow.c (do_setshow_command): Ditto.
340
341 2012-03-27  Oza Pawandeep  <oza.pawandeep@gmail.com>
342
343         * arm-linux-tdep.c (arm_linux_init_abi): Call
344         set_gdbarch_process_record.  Initialize `arm_swi_record' field.
345         * arm-tdep.c (arm_process_record): New function.
346         (deallocate_reg_mem): New function.
347         (decode_insn): New function.
348         (thumb_record_branch): New function.
349         (thumb_record_ldm_stm_swi(): New function.
350         (thumb_record_misc): New function.
351         (thumb_record_ld_st_stack): New function.
352         (thumb_record_ld_st_imm_offset): New function.
353         (thumb_record_ld_st_reg_offset(): New function.
354         (thumb_record_add_sub_cmp_mov): New function.
355         (thumb_record_shift_add_sub): New function.
356         (arm_record_coproc_data_proc): New function.
357         (arm_record_coproc): New function.
358         (arm_record_b_bl): New function.
359         (arm_record_ld_st_multiple): New function.
360         (arm_record_ld_st_reg_offset): New function.
361         (arm_record_ld_st_imm_offset): New function.
362         (arm_record_data_proc_imm): New function.
363         (arm_record_data_proc_misc_ld_str): New function.
364         (arm_record_extension_space): New function.
365         (arm_record_strx): New function.
366         (sbo_sbz): New function.
367         (struct insn_decode_record): New structure for arm insn record.
368         (REG_ALLOC): New macro for reg allocations.
369         (MEM_ALLOC): New macro for memory allocations.
370         * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'.
371
372 2012-03-27  Andreas Schwab  <schwab@linux-m68k.org>
373
374         * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.
375         (store_register): Likewise.
376
377 2012-03-26  Oza Pawandeep  <oza.pawandeep@gmail.com>
378
379         * MAINTAINERS (Write After Approval): Add myself to the list.
380
381 2012-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
382
383         * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host".
384         Describe also the option "auto".
385
386 2012-03-22  Richard Henderson  <rth@redhat.com>
387
388         * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
389         * sparc-nat.c (sparc_xfer_wcookie): Make static.
390
391 2012-03-22  Richard Henderson  <rth@redhat.com>
392
393         * jit.c (jit_read_code_entry): Compute alignment and offset of
394         int64_t member before computing entry_size.
395
396 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
397
398         Python scripting: Add new method Value.referenced_value to
399         gdb.Value which can dereference pointer as well as reference
400         values.
401         * NEWS: Add entry under 'Python scripting' about the new method
402         Value.referenced_value on gdb.Value objects.
403         * python/py-value.c (valpy_referenced_value): New function
404         defining a new method on gdb.Value objects which can dereference
405         pointer and reference values.
406
407 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
408
409         * MAINTAINERS (Write After Approval): Add myself to the list.
410
411 2012-03-21  Kevin Buettner  <kevinb@redhat.com>
412
413         * symtab.c (skip_prologue_sal): Change test to check for "main()"
414         in addition to "main".
415
416 2012-03-21  Joel Brobecker  <brobecker@adacore.com>
417
418         * expression.h (op_name): Add declaration.
419         * expprint.c (op_name): Remove declaration.  Make non-static.
420         * ax-gdb.c (gen_expr): Use op_name instead of op_string.
421
422 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
423
424         * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead
425         of struct siginfo.
426         * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise.
427         * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
428         * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup)
429         (linux_xfer_siginfo, linux_nat_set_siginfo_fixup)
430         (linux_nat_get_siginfo): Likewise.
431         * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup)
432         (linux_nat_get_siginfo): Likewise.
433         * linux-tdep.c (linux_get_siginfo_type): Likewise.
434         * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise.
435         * procfs.c (gdb_siginfo_t): Likewise.
436
437 2012-03-21  Mike Frysinger  <vapier@gentoo.org>
438
439         * .gitignore: Ignore more files.
440
441 2012-03-20  Pedro Alves  <palves@redhat.com>
442
443         * remote.c (remote_start_remote): Clear `rs->starting_up' on early
444         returns.
445
446 2012-03-20  Yao Qi  <yao@codesourcery.com>
447
448         * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in
449         comment.
450
451 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
452
453         Code cleanupp: Use cu_offset and sect_offset compile time type checking.
454         * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op)
455         (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and
456         sect_offset.
457         * dwarf2expr.h (cu_offset, sect_offset): New types.
458         (struct dwarf_expr_context_funcs) <dwarf_call>
459         (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and
460         sect_offset.
461         (struct dwarf_expr_context) <len>: Improve the comment.
462         (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use
463         cu_offset and sect_offset.
464         * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call)
465         (dwarf_expr_get_base_type, needs_frame_dwarf_call)
466         (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise.
467         * dwarf2loc.h: Include dwarf2expr.h.
468         (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset
469         and sect_offset.
470         * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>:
471         Improve the comment.
472         (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data)
473         (struct signatured_type, struct line_header, struct partial_die_info)
474         (struct die_info, find_partial_die, dwarf2_get_ref_die_offset)
475         (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit)
476         (get_die_type_at_offset, create_cus_from_index)
477         (create_signatured_type_table_from_index, dw2_get_file_names)
478         (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head)
479         (read_and_check_comp_unit_head, read_and_check_type_unit_head)
480         (create_debug_types_hash_table, process_psymtab_comp_unit)
481         (load_partial_comp_unit, create_all_comp_units)
482         (partial_die_parent_scope, partial_die_full_name, skip_one_die)
483         (load_full_comp_unit, dwarf2_physname, read_import_statement)
484         (inherit_abstract_dies, read_func_scope, read_call_site_scope)
485         (dwarf2_add_member_fn, process_enumeration_scope, read_module_type)
486         (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs)
487         (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit)
488         (find_partial_die, read_attribute_value, lookup_die_type)
489         (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset.
490         (is_ref_attr): New function comment.
491         (dwarf2_get_ref_die_offset): New function comment, new variable retval.
492         Use cu_offset and sect_offset.
493         (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block)
494         (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset)
495         (load_full_type_unit, read_signatured_type, per_cu_header_read_in)
496         (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type)
497         (offset_and_type_hash, offset_and_type_eq, set_die_type)
498         (get_die_type_at_offset, partial_die_hash, partial_die_eq)
499         (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and
500         sect_offset.
501
502 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
503
504         Code cleanup.
505         * python/py-auto-load.c (source_section_scripts): New variable back_to.
506         Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup
507         with xfree.
508         (auto_load_objfile_script): Turn fclose into make_cleanup_fclose.
509
510 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
511
512         * NEWS: Describe new options --init-command=FILE, -ix and
513         --init-eval-command=COMMAND, -iex.
514         * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and
515         CMDARG_INIT_COMMAND.
516         (captured_main): New enum items OPT_IX and OPT_IEX.  Add
517         "init-command", "init-eval-command", "ix" and "iex" to the variable
518         long_options.  Handle OPT_IX and OPT_IEX.  Process them from CMDARG_VEC.
519         New comment for CMDARG_FILE and CMDARG_COMMAND processing.
520         (print_gdb_help): Describe --init-command=FILE, -ix and
521         --init-eval-command=COMMAND, -iex.
522
523 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
524
525         Code cleanup.
526         * main.c (struct cmdarg): Move it here from main.  Add more comments.
527         (cmdarg_s, VEC (cmdarg_s)): New.
528         (main): Move struct cmdarg from here.  New variables cmdarg_vec and
529         cmdarg_p.  Remove variables cmdsize and ncmd and their initialization.
530         Install cleanup for cmdarg_vec.  Update filling for options 'x' and
531         'X'.  Replace cmdarg processing by cmdarg_vec processing.  Remove xfree
532         of CMDARG.
533
534 2012-03-19  Tom Tromey  <tromey@redhat.com>
535
536         * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.
537
538 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
539
540         PR symtab/13777
541         * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for
542         GCC >=4.5.
543
544 2012-03-16  Chris January  <chris.january@allinea.com>
545
546         * tui-tui.win.c (tui_resize_all): Use erase and clearok instead
547         of clear.
548
549 2012-03-16  Chris January  <chris.january@allinea.com>
550
551         * source.c (add_path): Use memmove instead of strcpy because the
552         strings overlap.
553
554 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
555
556         * value.h (set_value_parent): Add declaration.
557         * value.c (set_value_parent): New function.
558         (value_address): If VALUE->PARENT is not NULL, then use it as
559         the base address instead of VALUE->LOCATION.address.
560         * ada-lang.c (ada_value_primitive_packed_val): Keep V's address
561         the same as OBJ's address.  Adjust V's offset accordingly.
562         Set V's parent.
563
564 2012-03-16  Gary Benson  <gbenson@redhat.com>
565
566         PR breakpoints/10738
567         * dwarf2read.c (use_deprecated_index_sections): New global.
568         (struct partial_die_info): New member may_be_inlined.
569         (read_partial_die): Set may_be_inlined where appropriate.
570         (add_partial_subprogram): Add partial symbols for partial
571         DIEs that may be inlined.
572         (new_symbol_full): Add inlined subroutines to the current
573         scope.
574         (write_psymtabs_to_index): Bump version number.
575         (dwarf2_read_index): Read only version 6 indices unless
576         use_deprecated_index_sections is set.
577         * linespec.c (symbol_and_data_callback): New structure.
578         (iterate_inline_only): New function.
579         (iterate_over_all_matching_symtabs): New argument
580         "include_inline".  If nonzero, also call the callback for
581         symbols representing inlined subroutines.
582         (lookup_prefix_sym): Pass extra argument to the above.
583         (find_function_symbols): Likewise.
584         (add_matching_symbols_to_info): Likewise.
585         * NEWS: Mention that GDB can now set breakpoints on inlined
586         functions.
587
588 2012-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
589
590         * p-typeprint.c (pascal_type_print_method_args):
591         Fix display of parameter of methods.
592
593 2012-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
594
595         * amd64-windows-nat.c (_initialize_amd64_windows_nat):
596         Add missing prototype.
597
598 2012-03-16  Yao Qi  <yao@codesourcery.com>
599             Jan Kratochvil  <jan.kratochvil@redhat.com>
600
601         Fix false compilation warning.
602         * gnu-v3-abi.c (print_one_vtable): Initialize ADDR.
603
604 2012-03-15  Jonathan Larmour  <jifl@eCosCentric.com>
605             Pedro Alves  <pedro@codesourcery.com>
606
607         * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c".
608         (arm_register_g_packet_guesses): New function.
609         (arm_gdbarch_init): Don't force a target description with
610         registers when the executable is detected as M-profile.  Instead
611         set gdbarch->tdep->is_m.  Register `g' packet guesses.
612         (_initialize_arm_tdep): Initialize the new target description.
613         * features/arm-with-m-fpa-layout.xml: New description.
614         * features/arm-with-m-fpa-layout.c: New, generated.
615
616 2012-03-15  Joel Brobecker  <brobecker@adacore.com>
617
618         * breakpoint.c (breakpoint_xfer_memory): Add assertion.
619         Update function description.
620         (insert_bp_location): Do not wipe bl->target_info out.
621         * mem-break.c: #include "gdb_string.h".
622         (default_memory_insert_breakpoint): Do not call target_read_memory
623         with a pointer to the breakpoint's shadow_contents buffer.  Use
624         a local buffer instead.
625         * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto.
626
627 2012-03-15  Tom Tromey  <tromey@redhat.com>
628
629         * NEWS: Mention "info vtbl", not "info vtable".
630         * cp-support.c (info_vtbl_command): Fix comment.
631         (_initialize_cp_support): Fix text.
632
633 2012-03-15  Tom Tromey  <tromey@redhat.com>
634
635         * cp-valprint.c (cp_print_value_fields): Use
636         print_function_pointer_address for vtable slot.
637
638 2012-03-15  Tom Tromey  <tromey@redhat.com>
639
640         * gnu-v3-abi.c (struct value_and_voffset): New.
641         (hash_value_and_voffset, eq_value_and_voffset)
642         (compare_value_and_voffset, compute_vtable_size)
643         (print_one_vtable, gnuv3_print_vtable): New functions.
644         (init_gnuv3_ops): Initialize 'print_vtable' field.
645         * cp-support.c (info_vtbl_command): New function.
646         (_initialize_cp_support): Add "info vtbl".
647         * cp-abi.h (cplus_print_vtable): Declare.
648         (struct cp_abi_ops) <print_vtable>: New field.
649         * cp-abi.c (cplus_print_vtable): New function.
650         * NEWS: Update.
651
652 2012-03-15  Tom Tromey  <tromey@redhat.com>
653
654         * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to
655         iterate_over_symbols.
656
657 2012-03-14  Doug Evans  <dje@google.com>
658
659         * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr,
660         DW_OP_GNU_parameter_ref.
661
662 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
663
664         Fix double prompt of 'interpreter-exec mi'.
665         * mi/mi-interp.c (mi_execute_command_input_handler): New prototype.
666         (mi_interpreter_resume): use it.
667         (mi_execute_command_input_handler): New function.
668         * mi/mi-main.c (mi_execute_command): Move prompt printing to
669         mi_execute_command_input_handler.
670
671 2012-03-13  Josh Matthews  <josh@joshmatthews.net>  (tiny change)
672
673         * darwin-nat-info.c (_initialize_darwin_info_commands): Add
674         prototype.
675         (darwin_debug_port_info): Make static.
676         * darwin-nat.c (_initialize_darwin_inferior): Add prototype.
677         * machoread.c (_initialize_machoread): Add prototype.
678         * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get)
679         (i386_darwin_set_control, i386_darwin_get_control)
680         i386_darwin_dr_set_addr, i386_darwin_get_addr)
681         i386_darwin_get_status, i386_darwin_get_control):
682         Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro.
683
684 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
685
686         * ax-gdb.c (gen_usual_unary): Remove special handling of
687         enum and bool types.
688
689 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
690
691         * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types.
692
693 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
694
695         * aix-thread.c (supply_fprs): Make more consistent with fill_fprs.
696
697 2012-03-13  Chris January  <chris.january@allinea.com>
698
699         * aix-thread.c (fill_sprs): Store the floating point registers
700         at the correct offsets into vals.
701
702 2012-03-13  Doug Evans  <dje@google.com>
703
704         * NEWS: Mention symbol-reloading has been deleted.
705         * symfile.c (symbol_reloading): Delete.
706         (show_symbol_reloading): Delete.
707         (_initialize_symfile): Delete set/show symbol-reloading.
708
709         * dwarf2read.c (load_partial_comp_unit): Defer adding cu to
710         read_in_chain until we have successfully read it in.
711         (load_full_comp_unit): Ditto.
712         (read_signatured_type): Add comment.
713
714 2012-03-13  Chris January  <chris.january@allinea.com>
715
716         * stabsread.c (fix_common_block): Change type of valu argument
717         to CORE_ADDR.
718
719 2012-03-13  Chris January  <chris.january@allinea.com>
720
721         * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0
722         instruction.
723
724 2012-03-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
725
726         * common/linux-procfs.c (linux_proc_get_int): New, from
727         linux_proc_get_tgid, change its LWPID type to pid_t, add parameter
728         field.
729         (linux_proc_get_tgid): Only call linux_proc_get_int.
730         (linux_proc_get_tracerpid): New.
731         (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie.
732         (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call
733         linux_proc_pid_has_state.
734         * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration.
735         * common/linux-ptrace.c: Include linux-procfs.h and buffer.h.
736         (linux_ptrace_attach_warnings): New.
737         * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings):
738         New declaration.
739         * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h.
740         (linux_nat_attach): New variables ex, buffer, message and message_s.
741         Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings.
742
743 2012-03-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
744
745         * Makefile.in (linux-ptrace.o): New.
746         * common/linux-procfs.c (linux_proc_pid_is_zombie): New,
747         from linux-nat.c.
748         * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration.
749         * common/linux-ptrace.c: New file.
750         * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o.
751         * config/arm/linux.mh: Likewise.
752         * config/i386/linux.mh: Likewise.
753         * config/i386/linux64.mh: Likewise.
754         * config/ia64/linux.mh: Likewise.
755         * config/m32r/linux.mh: Likewise.
756         * config/m68k/linux.mh: Likewise.
757         * config/mips/linux.mh: Likewise.
758         * config/pa/linux.mh: Likewise.
759         * config/powerpc/linux.mh: Likewise.
760         * config/powerpc/ppc64-linux.mh: Likewise.
761         * config/powerpc/spu-linux.mh: Likewise.
762         * config/s390/s390.mh: Likewise.
763         * config/sparc/linux.mh: Likewise.
764         * config/sparc/linux64.mh: Likewise.
765         * config/xtensa/linux.mh: Likewise.
766         * linux-nat.c (linux_lwp_is_zombie): Remove, move it to
767         common/linux-procfs.c.
768         (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie.
769
770 2012-03-13  Hui Zhu  <teawater@gmail.com>
771             Pedro Alves  <palves@redhat.com>
772
773         * breakpoint.c (init_breakpoint_sal): New flags parameter.  Handle
774         CREATE_BREAKPOINT_FLAGS_INSERTED.
775         (create_breakpoint_sal, create_breakpoints_sal)
776         (base_breakpoint_create_breakpoints_sal)
777         (tracepoint_create_breakpoints_sal)
778         (strace_marker_create_breakpoints_sal): New flags parameter.  Pass
779         down.
780         (break_command_1, handle_gnu_v3_exceptions, trace_command)
781         (ftrace_command, strace_command): Adjust.
782         (create_tracepoint_from_upload): Pass
783         CREATE_BREAKPOINT_FLAGS_INSERTED.
784         * breakpoint.h (enum breakpoint_create_flags): New.
785         (create_breakpoint): New flags parameter.
786         * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust.
787         * python/py-breakpoint.c (bppy_init): Adjust.
788         * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust.
789         * spu-tdep.c (spu_catch_start): Adjust.
790
791 2012-03-13  Pedro Alves  <palves@redhat.com>
792             Hui Zhu  <teawater@gmail.com>
793             Yao Qi  <yao@codesourcery.com>
794
795         * remote.c (struct remote_state): New field `starting_up'.
796         (remote_start_remote): Set and clear it.
797         (remote_can_download_tracepoint): If starting up, return false.
798
799 2012-03-13  Yao Qi  <yao@codesourcery.com>
800
801         * inferior.h (struct inferior): Remove fields any_syscall_count,
802         syscalls_counts and total_syscalls_count.  Move them to new
803         struct catch_syscall_inferior_data in breakpoint.c.
804         * breakpoint.c: Call DEF_VEC_I(int).
805         (struct catch_syscall_inferior_data): New.
806         (get_catch_syscall_inferior_data): New.
807         (catch_syscall_inferior_data_cleanup): New.
808         (insert_catch_syscall): Update to access data in
809         struct catch_syscall_inferior_data.
810         (insert_catch_syscall): Likewise.
811         (remove_catch_syscall): Likewise.
812         (remove_catch_syscall): Likewise.
813         (is_syscall_catchpoint_enabled): Likewise.
814         (add_catch_command): Likewise.
815         (_initialize_breakpoint): Register cleanup.
816         * breakpoint.h: Removed DEF_VEC_I(int).
817         * dwarf2loc.c: Call DEF_VEC_I(int).
818         * mi/mi-main.c: Likewise.
819
820 2012-03-12  Mark Kettenis  <kettenis@gnu.org>
821
822         * inf-ptrace.c (inf_ptrace_post_attach): Make static.
823
824 2012-03-12  Chris January  <chris.january@allinea.com>
825
826         * aix-thread.c (_initialize_aix_thread): Add prototype.
827         * rs6000-nat.c (_initialize_rs6000_nat): Ditto.
828         * xcoffsolib.c (_initialize_xcoffsolib): Ditto.
829
830 2012-03-12  Joel Brobecker  <brobecker@adacore.com>
831
832         * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after
833         include of "amd64-nat.h".
834
835 2012-03-12  Tom Tromey  <tromey@redhat.com>
836
837         * buildsym.c (record_pending_block): Now static.
838         * buildsym.h: (record_pending_block): Remove.
839
840 2012-03-12  Andreas Tobler  <andreast@fgznet.ch>
841
842         * amd64bsd-nat.c: Include amd64bsd-nat.h.
843
844 2012-03-09  Tom Tromey  <tromey@redhat.com>
845
846         * dwarf2read.c (struct dwarf2_cu) <checked_producer,
847         producer_is_gxx_lt_4_6>: New fields.
848         (producer_is_gxx_lt_4_6): Use and update producer cache fields.
849
850 2012-03-09  Tom Tromey  <tromey@redhat.com>
851
852         * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call.
853
854 2012-03-08  Joel Brobecker  <brobecker@adacore.com>
855
856         * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add
857         prototype.
858
859 2012-03-08  Joel Brobecker  <brobecker@adacore.com>
860
861         * ravenscar-thread.c (_initialize_ravenscar): Add prototype.
862
863 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
864
865         Fix -Wmissing-prototypes build.
866         * arm-linux-nat.c (get_thread_id): Make it static.
867         * xtensa-linux-nat.c (get_thread_id): Likewise.
868
869 2012-03-08  Joel Brobecker  <brobecker@adacore.com>
870
871         * server.c (process_point_options): If a conditional expression
872         is found, only print a message if remote_debug is nonzero.
873
874 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
875
876         * ax-gdb.c (gen_fetch): Fail gracefully and use error instead
877         of internal error for unknown/unsupported types.
878
879 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
880
881         Fix CU relative vs. absolute DIE offsets.
882         * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter
883         offset to offset_in_cu.
884         * dwarf2read.c (process_enumeration_scope): Add CU offset to
885         TYPE_OFFSET.
886         (dwarf2_fetch_die_location_block): Rename parameter offset to
887         offset_in_cu.  New variable offset, add CU offset to OFFSET_IN_CU.
888
889 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
890
891         * libunwind-frame.c: Rename to ...
892         * ia64-libunwind-tdep.c: ... here.
893         * libunwind-frame.h: Rename to ...
894         * ia64-libunwind-tdep.h: ... here.
895         * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to
896         ia64-libunwind-tdep.h.
897         (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c.
898         * README (--with-libunwind): Rename to ...
899         (--with-libunwind-ia64): ... here, note it is ia64 specific now.
900         * config.in: Regenerate.
901         * configure: Regenerate.
902         * configure.ac: New option --with-libunwind-ia64, make the
903         AS_HELP_STRING ia64 specific.  Deprecate option --with-libunwind.
904         Remove AC_DEFINE for HAVE_LIBUNWIND.
905         * ia64-libunwind-tdep.c: Make the file top comment ia64 specific.
906         Rename libunwind-frame.h #include to ia64-libunwind-tdep.h.
907         Rename libunwind-frame in the general comment.
908         * ia64-libunwind-tdep.h: Make the file top comment ia64 specific.
909         Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H.
910         Move forward declarations inside #ifndef.  Rename libunwind-frame in
911         the general comment.
912         * ia64-tdep.c: Rename libunwind-frame.h #include to
913         ia64-libunwind-tdep.h.
914         (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg)
915         (ia64_libunwind_descr): Rename libunwind-frame to
916         ia64-libunwind-tdep in these function comments.
917         * ia64-tdep.h: Rename libunwind-frame.h #include to
918         ia64-libunwind-tdep.h.
919         * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to
920         ia64-libunwind-tdep in that data comment.
921
922 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
923
924         * libunwind-frame.h (struct frame_unwind): New declaration.
925
926 2012-03-08  Joel Brobecker  <brobecker@adacore.com>
927
928         * breakpoint.c (_initialize_breakpoint): Fix error in help of
929         "set breakpoint condition-evaluation" command.
930
931 2012-03-08  Tristan Gingold  <gingold@adacore.com>
932
933         * sparc-stub.c: Move to stubs/
934         * sh-stub.c: Likewise.
935         * m68k-stub.c: Likewise.
936         * m32r-stub.c: Likewise.
937         * i386-stub.c: Likewise.
938
939 2012-03-08  Andreas Schwab  <schwab@linux-m68k.org>
940
941         * m68klinux-tdep.c (m68k_linux_init_abi): Register
942         linux_get_siginfo_type.
943
944         * m68klinux-nat.c: Include "gdb_proc_service.h".
945         (PTRACE_GET_THREAD_AREA): Define.
946         (ps_get_thread_area): New function.
947
948 2012-03-08  Yao Qi  <yao@codesourcery.com>
949
950         * remote.c (remote_get_noisy_reply): Replace `sprintf' with
951         `xsnprintf'.
952         (remote_query_attached): Likewise.
953         (remote_static_tracepoint_marker_at): Likewise.
954         (remote_set_permissions): Likewise.
955         (remote_detach_1, extended_remote_attach_1): Likewise.
956         (send_g_packet, remote_vkill): Likewise.
957         (extended_remote_disable_randomization): Likewise.
958         (remote_add_target_side_condition): Likewise.
959         (remote_insert_breakpoint): Likewise.
960         (remote_remove_breakpoint): Likewise.
961         (remote_insert_watchpoint): Likewise.
962         (remote_remove_watchpoint): Likewise.
963         (remote_insert_hw_breakpoint): Likewise.
964         (remote_insert_hw_breakpoint): Likewise.
965         (remote_remove_hw_breakpoint): Likewise.
966         (remote_download_command_source): Likewise.
967         (remote_download_tracepoint): Likewise.
968         (remote_download_trace_state_variable): Likewise.
969         (remote_disable_tracepoint): Likewise.
970         (remote_trace_set_readonly_regions): Likewise.
971         (remote_get_tracepoint_status): Likewise.
972         (remote_trace_find): Likewise.
973         (remote_get_trace_state_variable_value): Likewise.
974         (remote_set_disconnected_tracing): Likewise.
975         (remote_set_circular_trace_buffer): Likewise.
976         (remote_get_min_fast_tracepoint_insn_len): Likewise.
977         (remote_use_agent): Likewise.
978         (remote_add_target_side_condition): Add one parameter BUF_SIZE.
979         Update callers.
980
981 2012-03-07  Pedro Alves  <palves@redhat.com>
982
983         * NEWS: Mention QProgramSignals.
984         * inferior.h (update_signals_program_target): Declare.
985         * infrun.c: (update_signals_program_target): New.
986         (handle_command): Update the target of the new program signals
987         array changes.
988         * remote.c (PACKET_QProgramSignals): New enum.
989         (last_program_signals_packet): New global.
990         (remote_program_signals): New.
991         (remote_start_remote): Update the target with the program signals
992         list.
993         (remote_protocol_features): Add entry for QPassSignals.
994         (remote_open_1): Free anc clear last_program_signals_packet.
995         (init_remote_ops): Install remote_program_signals.
996         * target.c (update_current_target): Adjust.
997         (target_program_signals): New.
998         * target.h (struct target_ops) <to_program_signals>: New field.
999         (target_program_signals): Declare.
1000
1001 2012-03-07  Pedro Alves  <palves@redhat.com>
1002
1003         * NEWS: Add subtitle for new z0/z1 conditional breakpoint
1004         extensions.
1005
1006 2012-03-07  Andreas Schwab  <schwab@linux-m68k.org>
1007
1008         * m68klinux-nat.c (getregs_supplies): Make static.
1009         (getfpregs_supplies): Likewise.
1010         (have_ptrace_getregs): Likewise.
1011
1012 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
1013
1014         * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
1015         in call to get_die_type_at_offset.
1016
1017 2012-03-06  Stan Shebs  <stan@codesourcery.com>
1018
1019         * mi/mi-cmd-break.c: Enforce coding standards, fix comments.
1020         * mi/mi-cmd-disas.c: Ditto.
1021         * mi/mi-cmd-env.c: Ditto.
1022         * mi/mi-cmd-file.c: Ditto.
1023         * mi/mi-cmd-stack.c: Ditto.
1024         * mi/mi-cmd-target.c: Ditto.
1025         * mi/mi-cmd-var.c: Ditto.
1026         * mi/mi-cmds.c: Ditto.
1027         * mi/mi-cmds.h: Ditto.
1028         * mi/mi-console.c: Ditto.
1029         * mi/mi-getopt.c: Ditto.
1030         * mi/mi-getopt.h: Ditto.
1031         * mi/mi-interp.c: Ditto.
1032         * mi/mi-main.c: Ditto.
1033         * mi/mi-out.c: Ditto.
1034         * mi/mi-parse.c: Ditto.
1035         * mi/mi-parse.h: Ditto.
1036         * mi/mi-symbol-cmds.c: Ditto.
1037
1038         * mi/mi-getopt.h: Move mi_opt struct up.
1039         * mi/mi-main.c (captured_mi_execute_command): Remove redundant
1040         return.
1041         * mi/mi-out.c (_initialize_mi_out): Remove empty initialize.
1042
1043 2012-03-06  Tom Tromey  <tromey@redhat.com>
1044
1045         * proc-service.c (ps_pglobal_lookup): Set the current program
1046         space.
1047
1048 2012-03-06  Pedro Alves  <palves@redhat.com>
1049
1050         * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
1051
1052 2012-03-05  Joel Brobecker  <brobecker@adacore.com>
1053
1054         * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
1055
1056 2012-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1057
1058         Code cleanup.
1059         * common/linux-osdata.c (linux_common_core_of_thread): New function
1060         comment.
1061         * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
1062         call by linux_common_core_of_thread.
1063         (linux_nat_core_of_thread_1): Remove.
1064         * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
1065         * linux-thread-db.c: Include linux-osdata.h.
1066         (update_thread_core): Replace linux_nat_core_of_thread_1 call by
1067         linux_common_core_of_thread.
1068
1069 2012-03-05  Tom Tromey  <tromey@redhat.com>
1070
1071         * value.c (value_primitive_field): Don't fetch contents for
1072         non-virtual bases.
1073
1074 2012-03-05  Tom Tromey  <tromey@redhat.com>
1075
1076         * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
1077
1078 2012-03-05  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1079
1080         * s390-nat.c: Include "gregset.h".
1081
1082 2012-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1083
1084         * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
1085         [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
1086         (libunwind_load): New variable so_error, use it for dlerror.  Try to
1087         load also LIBUNWIND_SO_7.
1088
1089 2012-03-05  Pedro Alves  <palves@redhat.com>
1090
1091         * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
1092         is not NULL, and remove resulting dead code.
1093
1094 2012-03-05  Thomas Schwinge  <thomas@codesourcery.com>
1095
1096         * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
1097         prologue to sh_analyze_prologue.
1098         (sh_analyze_prologue): Make better use of such an upper limit, and
1099         generally be more cautious about accessing memory.
1100
1101 2012-03-05  Tom Tromey  <tromey@redhat.com>
1102
1103         * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
1104         _initialize_ia64_hpux_tdep.
1105
1106 2012-03-05  Pedro Alves  <palves@redhat.com>
1107
1108         PR gdb/13766
1109
1110         * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
1111         the register state is clear, supply explicit zero, instead of
1112         marking the register unavailable.
1113
1114 2012-03-05  Tristan Gingold  <gingold@adacore.com>
1115
1116         * NEWS: Mention OpenVMS ia64 new target.
1117
1118 2012-03-05  Tristan Gingold  <gingold@adacore.com>
1119
1120         * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
1121         (ia64_unw_accessors, ia64_unw_rse_accessors)
1122         (ia64_libunwind_descr): Declare.
1123         * ia64-vms-tdep.c: New file.
1124         * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
1125         (ia64_libunwind_descr): Make them public.
1126         * configure.tgt: Add ia64-*-*vms*.
1127         * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
1128         (ALLDEPFILES): Add ia64-vms-tdep.c
1129
1130 2012-03-05  Tristan Gingold  <gingold@adacore.com>
1131
1132         * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
1133         * remote.c (PACKET_qXfer_uib): New enum value.
1134         (remote_protocol_features): Add entry for PACKET_qXfer_uib.
1135         (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
1136         (_initialize_remote): Call add_packet_config_cmd for
1137         xfer:uib packet.
1138
1139 2012-03-05  Tristan Gingold  <gingold@adacore.com>
1140
1141         * osabi.c (gdb_osabi_names): Add OpenVMS.
1142         (generic_elf_osabi_sniffer): Likewise.
1143         * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
1144
1145 2012-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1146
1147         Removed unused code.
1148         * libunwind-frame.c (libunwind_frame_unwind)
1149         (libunwind_frame_base_address): Remove.
1150         * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
1151
1152 2012-03-04  Yao Qi  <yao@codesourcery.com>
1153
1154         * common/agent.c (gdb_connect_sync_socket): Add _ markup and
1155         remove trailing new line.
1156         (agent_run_command, agent_run_command): Add _ markup.
1157         (agent_capability_check): Likewise.
1158
1159 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1160
1161         * breakpoint.c (set_condition_evaluation_mode): Set
1162         CONDITION_EVALUATION_MODE unconditionally.
1163
1164 2012-03-03  Yao Qi  <yao@codesourcery.com>
1165
1166         * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
1167         * common/agent.h: Update declaration.
1168         * inf-child.c (inf_child_use_agent): New.
1169         (inf_child_can_use_agent): New.
1170         (inf_child_target): Initialize fields `to_use_agent'
1171         and `to_can_use_agent'.
1172         * agent.c (agent_new_objfile): New.
1173         (_initialize_agent): Add agent_new_objfile to new_objfile
1174         observer.
1175
1176         * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
1177         New.
1178         (linux_target_install_ops): Initialize field
1179         `to_static_tracepoint_markers_by_strid'.
1180         * remote.c (free_current_marker): Move it to ...
1181         * tracepoint.c (free_current_marker): ... here.  New.
1182         (cleanup_target_stop): New.
1183         * tracepoint.h: Declare free_current_marker.
1184         * NEWS: Add one entry about `info static-tracepoint-marker'.
1185
1186 2012-03-03  Yao Qi  <yao@codesourcery.com>
1187
1188         * common/agent.c (agent_loaded_p): New.
1189         (agent_look_up_symbols): New global.
1190         * common/agent.h: Declare agent_loaded_p.
1191
1192 2012-03-03  Yao Qi  <yao@codesourcery.com>
1193
1194         * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
1195         (agent_capability_check, agent_capability_invalidate): New.
1196         (symbol_list): New array element.
1197         * common/agent.h (enum agent_capa): New.
1198         * target.c (target_pre_inferior): Call agent_capability_invalidate.
1199
1200 2012-03-03  Yao Qi  <yao@codesourcery.com>
1201
1202         * target.h (struct target_ops) <to_use_agent>: New field.
1203         (struct target_ops) <to_can_use_agent>: New field.
1204         (target_use_agent, target_can_use_agent): New macro.
1205         * target.c (update_current_target): Update.
1206         * remote.c: New enum `PACKET_QAgent'.
1207         (remote_protocol_features): Add a new element.
1208         (remote_use_agent, remote_can_use_agent): New.
1209         (init_remote_ops): Initialize field `can_use_agent' with
1210         remote_can_use_agent.  Intiailize field `use_agent' with
1211         remote_use_agent.
1212         * common/agent.c (use_agent): New global.
1213         * common/agent.h: Declare it.
1214         * tracepoint.c (info_static_tracepoint_markers_command): Add
1215         comment.
1216         * Makefile.in (SFILES): Add common/agent.c and agent.c.
1217         (COMMON_OBS): Add common/agent.o and agent.o
1218         (common-agent.o): New rule.
1219         * agent.c: New.
1220
1221 2012-03-03  Yao Qi  <yao@codesourcery.com>
1222
1223         * common/agent.c: New.
1224         * common/agent.h: New.
1225         * configure.ac: Add `sys/socket.h' and `sys/un.h' to
1226         AC_CHECK_HEADERS.
1227         * configure, configh.in: Regenerated.
1228
1229 2012-03-02  Kevin Buettner  <kevinb@redhat.com>
1230
1231         * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
1232         unless it exists for this architecture.
1233
1234 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
1235
1236         * language.h (struct language_defn): New "method" la_read_var_value.
1237         * findvar.c: #include "language.h".
1238         (default_read_var_value): Renames read_var_value.  Rewrite
1239         function description.
1240         (read_var_value): New function.
1241         * value.h (default_read_var_value): Add prototype.
1242         * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
1243         New functions.
1244         (ada_language_defn): Add entry for la_read_var_value.
1245         * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
1246         * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
1247         language_defn structures to add entry for new la_read_var_value
1248         field.
1249
1250 2012-03-02  Tom Tromey  <tromey@redhat.com>
1251             Pedro Alves  <palves@redhat.com>
1252
1253         PR breakpoints/13776:
1254         * breakpoint.c (breakpoint_init_inferior): Delete step-resume
1255         breakpoints.
1256         (delete_longjmp_breakpoint_at_next_stop): New.
1257         * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
1258         * target.c (generic_mourn_inferior): Call mark_breakpoints_out
1259         before deleting the inferior.  Add comments.
1260         * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
1261         breakpoints immediately, but only on next stop.  Move that code
1262         next to where we mark other breakpoints for deletion.
1263
1264 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
1265
1266         * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
1267         marker.
1268         * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
1269         violation.
1270
1271 2012-03-02  Pedro Alves  <palves@redhat.com>
1272
1273         * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
1274
1275 2012-03-02  Ulrich Weigand  <uweigand@de.ibm.com>
1276
1277         Fix -Wmissing-prototypes build.
1278         * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
1279         * remote-sim.c (gdbsim_has_all_memory): Likewise.
1280         (gdbsim_has_memory): Likewise.
1281
1282 2012-03-02  Yao Qi  <yao@codesourcery.com>
1283
1284         Fix -Wmissing-prototypes build.
1285         * charset.c (phony_iconv_open): Make static.
1286         (phony_iconv_close, phony_iconv): Likewise.
1287         * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
1288         * i386-windows-nat.c (_initialize_i386_windows_nat): New
1289         prototype.
1290         * mingw-hdep.c (_initialize_mingw_hdep): New prototype.
1291         * ser-mingw.c (create_select_thread): Make static.
1292         * windows-termcap.c (tgetent): New prototype.
1293         (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
1294
1295 2012-03-02  Zhang Yuanhui  <asmwarrior@gmail.com>
1296
1297         Fix -Wmissing-prototypes build.
1298         * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
1299         (_initialize_windows_nat, _initialize_check_for_gdb_ini)
1300         (_initialize_loadable): New prototypes.
1301
1302 2012-03-02  Doug Evans  <dje@google.com>
1303
1304         * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
1305         abbrev table, read_comp_unit will do it.
1306
1307 2012-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1308
1309         Fix -Wmissing-prototypes build.
1310         * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
1311         * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
1312         * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
1313         * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
1314         (_initialize_arm_symbian_tdep): New prototype.
1315         * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
1316         * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
1317         * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
1318         static.
1319         * lm32-tdep.c (_initialize_lm32_tdep): New prototype.
1320         * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
1321         prototype.
1322         * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
1323         (microblaze_skip_prologue, microblaze_frame_cache): Make them static.
1324         * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
1325         static.
1326         * moxie-tdep.c (moxie_process_record): Likewise.
1327         * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
1328         (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
1329         * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
1330         (_initialize_rl78_tdep): New prototype.
1331         * rx-tdep.c (rx_breakpoint_from_pc): Make it static.
1332         (_initialize_rx_tdep): New prototype.
1333         * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
1334         (_initialize_darwin_solib): New prototype.
1335         * solib-spu.c: Include solib-spu.h.
1336         (_initialize_spu_solib): New prototype.
1337         * spu-multiarch.c (_initialize_spu_multiarch): New prototype.
1338         * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
1339         (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
1340         (tic6x_software_single_step): Make it static.
1341         (_initialize_tic6x_tdep): New prototype.
1342
1343 2012-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1344
1345         Fix -Wmissing-prototypes build.
1346         * cris-tdep.c (cris_can_use_hardware_watchpoint)
1347         (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
1348
1349 2012-03-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1350
1351         Fix -Wmissing-prototypes build.
1352         * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
1353         (frv_have_stopped_data_address): Remove.
1354
1355 2012-03-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1356
1357         Fix -Wmissing-prototypes build.
1358         * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
1359         * sh-tdep.c: Include sh64-tdep.h.
1360         * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
1361         * sh64-tdep.c: Include sh64-tdep.h.
1362         * sh64-tdep.h: New file.
1363
1364 2012-03-01  Maciej W. Rozycki <macro@codesourcery.com>
1365
1366         * mips-tdep.c (mips32_scan_prologue): Correct indentation.
1367
1368 2012-03-01  Maciej W. Rozycki  <macro@codesourcery.com>
1369
1370         * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
1371         sp_regnum once the gdbarch_init_osabi hook has been called.
1372
1373 2012-03-01  Maciej W. Rozycki  <macro@codesourcery.com>
1374
1375         * mips-tdep.c (mips32_bc1_pc): New function.
1376         (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
1377         BPOSGE32 and BPOSGE64 instructions.
1378         (deal_with_atomic_sequence): Likewise.
1379         (mips32_instruction_has_delay_slot): Likewise.
1380
1381 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
1382             Chris Dearman  <chris@mips.com>
1383             Maciej W. Rozycki  <macro@codesourcery.com>
1384             Joseph Myers  <joseph@codesourcery.com>
1385
1386         * features/mips-dsp.xml: New file.
1387         * features/mips64-dsp.xml: New file.
1388         * features/mips-dsp-linux.xml: New file.
1389         * features/mips64-dsp-linux.xml: New file.
1390         * features/Makefile (WHICH): Add mips-dsp-linux and
1391         mips64-dsp-linux.
1392         (mips-dsp-expedite, mips64-dsp-expedite): New variables.
1393         * features/mips-dsp-linux.c: New file.
1394         * features/mips64-dsp-linux.c: New file.
1395         * regformats/mips-dsp-linux.dat: New file.
1396         * regformats/mips64-dsp-linux.dat: New file.
1397         * mips-linux-nat.c (mips_linux_register_addr): Handle DSP
1398         registers.
1399         (mips64_linux_register_addr): Likewise.
1400         (mips64_linux_regsets_fetch_registers): Likewise.
1401         (mips64_linux_regsets_store_registers): Likewise.
1402         (mips64_linux_fetch_registers): Update call to
1403         mips64_linux_regsets_fetch_registers.
1404         (mips64_linux_store_registers): Update call to
1405         mips64_linux_regsets_store_registers.
1406         (mips_linux_read_description): Probe for DSP registers.
1407         (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
1408         and initialize_tdesc_mips64_dsp_linux.
1409         * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
1410         Remove padding of no longer used embedded register slots.
1411         * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
1412         (MIPS_RESTART_REGNUM): Redefine enum value.
1413         * mips-tdep.c (mips_generic_reg_names): Remove trailing null
1414         strings.
1415         (mips_tx39_reg_names): Likewise.
1416         (mips_linux_reg_names): New array of register names for Linux
1417         targets.
1418         (mips_register_name): Check for a null pointer in
1419         mips_processor_reg_names and return an empty string.
1420         (mips_register_type): Exclude embedded registers for the IRIX
1421         and Linux ABIs.
1422         (mips_pseudo_register_type): Likewise.  Use dynamic numbers to
1423         refer to FP registers, LO, HI, BadVAddr, Cause and PC.  Handle
1424         DSP registers.
1425         (mips_stab_reg_to_regnum): Handle DSP accumulators.
1426         (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
1427         (mips_gdbarch_init): Likewise.  Initialize internal register
1428         indices for the Linux ABI.  Use dynamic numbers to refer to
1429         registers, as applicable, while parsing the target description.
1430         * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
1431
1432 2012-03-01  Joel Brobecker  <brobecker@adacore.com>
1433
1434         * frame.h (read_frame_register_unsigned): Fix typo in function
1435         description.
1436
1437 2012-03-01  Pedro Alves  <palves@redhat.com>
1438
1439         * jit-reader.in [!__cplusplus]
1440         (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
1441
1442 2012-03-01  Pedro Alves  <palves@redhat.com>
1443
1444         * configure.ac (build_warnings): Add -Wmissing-prototypes.
1445         * configure: Regenerate.
1446
1447 2012-03-01  Pedro Alves  <palves@redhat.com>
1448
1449         * amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
1450         * breakpoint.c (create_exception_master_breakpoint, trace_command)
1451         (ftrace_command, strace_command): Make static.
1452         * d-lang.c (_initialize_d_language): Declare.
1453         * dwarf2expr.c (_initialize_dwarf2expr): Declare.
1454         * dwarf2loc.c (_initialize_dwarf2loc):
1455         * dwarf2read.c (process_psymtab_comp_unit): Make static.
1456         * exec.c (exec_get_section_table): Make static.
1457         * i386-linux-tdep.c (i386_linux_record_signal): Make static.
1458         * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
1459         * inferior.c (remove_inferior_command, add_inferior_command)
1460         (clone_inferior_command): Make static.
1461         * linux-nat.c (linux_nat_thread_address_space)
1462         (linux_nat_core_of_thread): Make static.
1463         * linux-tdep.c (_initialize_linux_tdep): Declare.
1464         * objc-lang.c (_initialize_objc_lang): Declare.
1465         * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
1466         Make static.
1467         (_initialize_opencl_language): Declare.
1468         * record.c (_initialize_record): Declare.
1469         * remote.c (demand_private_info, remote_get_tib_address)
1470         (remote_supports_cond_tracepoints)
1471         (remote_supports_fast_tracepoints, remote_get_tracepoint_status):
1472         Make static.
1473         * skip.c (_initialize_step_skip): Declare.
1474         * symtab.c (skip_prologue_using_lineinfo): Make static.
1475         * tracepoint.c (delete_trace_state_variable)
1476         (trace_variable_command, delete_trace_variable_command)
1477         (get_uploaded_tsv, find_matching_tracepoint_location)
1478         (find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
1479         Make static.
1480         * value.c (pack_unsigned_long): Make static.
1481         * varobj.c (varobj_ensure_python_env): Make static.
1482         * windows-tdep.c (_initialize_windows_tdep): Declare.
1483         * xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
1484
1485 2012-03-01  Pedro Alves  <palves@redhat.com>
1486
1487         * linux-tdep.c (linux_has_shared_address_space): Make static.  Add
1488         gdbarch parameter.
1489         (linux_init_abi): Install it as has_shared_address_space gdbarch
1490         callback.
1491
1492 2012-03-01  Pedro Alves  <palves@redhat.com>
1493
1494         * observer.c (observer_test_first_notification_function)
1495         (observer_test_second_notification_function)
1496         (observer_test_third_notification_function): Add declarations.
1497
1498 2012-03-01  Pedro Alves  <palves@redhat.com>
1499
1500         * common/signals.c (default_target_signal_to_host)
1501         (default_target_signal_from_host): Move ...
1502         * arch-utils.c: ... here.
1503         * arch-utils.h (default_target_signal_to_host)
1504         (default_target_signal_from_host): Declare.
1505
1506         * common/signals.c (target_signal_from_command): Move ...
1507         * infrun.c: ... here.
1508         * inferior.h (target_signal_from_command): Declare.
1509         * target.h (target_signal_from_command)
1510         (default_target_signal_from_host, default_target_signal_to_host):
1511         Delete declarations.
1512
1513         * common/signals.c (_initialize_signals): Delete.
1514
1515 2012-03-01  Pedro Alves  <palves@redhat.com>
1516
1517         * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
1518         both __cplusplus and !__cplusplus.
1519
1520 2012-03-01  Pedro Alves  <palves@redhat.com>
1521
1522         * psymtab.c (find_and_open_source): Delete declaration.
1523         * source.c (find_and_open_source): Move comment ...
1524         * source.h (find_and_open_source): ... to this new declaration.
1525
1526 2012-03-01  Pedro Alves  <palves@redhat.com>
1527
1528         * inline-frame.c: Include inline-frame.h.
1529
1530 2012-03-01  Pedro Alves  <palves@redhat.com>
1531
1532         * tui/tui-data.c (set_gen_win_origin): Delete.
1533         * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
1534         * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
1535
1536 2012-03-01  Pedro Alves  <palves@redhat.com>
1537
1538         * remote.c (encode_actions): Delete declaration.
1539         * tracepoint.c (encode_actions): Make extern.
1540         * tracepoint.h (encode_actions): Declare.
1541
1542 2012-03-01  Pedro Alves  <palves@redhat.com>
1543
1544         * python/py-breakpoint.c: Include python.h.
1545         * python/py-continueevent.c (create_continue_event_object): Make
1546         static.
1547         * python/py-lazy-string.c (stpy_get_type): Make static.
1548         * python/py-newobjfileevent.c (create_new_objfile_event_object):
1549         Make static.
1550         * python/py-utils.c (unicode_to_target_python_string): Make
1551         static.
1552         * python/py-value.c: Include python.h.
1553
1554 2012-03-01  Pedro Alves  <palves@redhat.com>
1555
1556         * inferior.c (delete_threads_of_inferior): Delete.
1557
1558 2012-03-01  Pedro Alves  <palves@redhat.com>
1559
1560         Import fallback definitions from glibc.
1561
1562         * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
1563         ps_prochandle): Forward declare.
1564         (ps_err_e): Use glibc's comments.
1565         [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
1566         (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
1567         (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
1568         (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
1569         (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
1570         (struct ps_prochandle): Adjust comment.
1571
1572 2012-03-01  Pedro Alves  <palves@redhat.com>
1573
1574         * ada-lang.c (ada_modulus_from_name): Delete.
1575         * ada-lex.l (lexer_init): Make static.
1576
1577 2012-03-01  Pedro Alves  <palves@redhat.com>
1578
1579         PR gdb/13767
1580
1581         * frame.c (read_frame_register_unsigned): New.
1582         * frame.h (read_frame_register_unsigned): Declare.
1583         * i387-tdep.c (print_i387_status_word): New parameter `status_p'.
1584         Handle it.
1585         (print_i387_control_word): New parameter `control_p'.  Handle it.
1586         (i387_print_float_info): Handle unavailable float registers.
1587
1588 2012-03-01  Keith Seitz  <keiths@redhat.com>
1589
1590         * linespec.c (decode_line_2): Sort the list of methods
1591         alphabetically before presenting the user with a selection
1592         menu.
1593
1594 2012-03-01  Doug Evans  <dje@google.com>
1595
1596         * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
1597         has_namespace_info.
1598         (dwarf2_read_abbrevs): Remove corresponding initialization.
1599
1600 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
1601
1602         * NEWS: Mention new python command class gdb.COMMAND_USER.
1603         * cli/cli-cmds.c (show_user): Print error when used on a python
1604         command.
1605         (init_cli_cmds): Update documentation strings for "show user" and
1606         "set/show max-user-call-depth" to clarify that it does not apply to
1607         python commands.
1608         * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
1609         error check.
1610         (gdbpy_initialize_commands): Add COMMAND_USER as a constant in
1611         gdb python api.
1612         * top.c (execute_command): Only execute a user-defined command as a
1613         legacy macro if c->user_commands is set.
1614
1615 2012-03-01  Tom Tromey  <tromey@redhat.com>
1616
1617         * valprint.h (struct generic_val_print_decorations): New.
1618         (generic_val_print): Declare.
1619         * valprint.c (generic_val_print): New function.
1620         * p-valprint.c (p_decorations): New global.
1621         (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
1622         TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
1623         TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
1624         TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
1625         * m2-valprint.c (m2_decorations): New global.
1626         (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
1627         TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
1628         TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
1629         TYPE_CODE_ERROR>: Call generic_val_print.
1630         * f-valprint.c (f_decorations): New global.
1631         (f_val_print): Use print_function_pointer_address.
1632         <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
1633         TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
1634         TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
1635         generic_val_print.
1636         * c-valprint.c (c_decorations): New global.
1637         (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
1638         TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
1639         TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
1640         TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
1641         TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
1642         * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
1643         case.
1644
1645 2012-03-01  Tom Tromey  <tromey@redhat.com>
1646
1647         * valprint.c (val_print): Update.
1648         * p-valprint (pascal_val_print): Return void.
1649         * p-lang.h (pascal_val_print): Return void.
1650         * m2-valprint.c (m2_val_print): Return void.
1651         * m2-lang.h (m2_val_print): Return void.
1652         * language.h (struct language_defn) <la_val_print>: Return void.
1653         * language.c (unk_lang_val_print): Return void.
1654         * jv-valprint.c (java_val_print): Return void.
1655         * jv-lang.h (java_val_print): Return void.
1656         * f-valprint.c (f_val_print): Return void.
1657         * f-lang.h (f_val_print): Return void.
1658         * d-valprint.c (d_val_print): Return void.
1659         (dynamic_array_type): Update.
1660         * d-lang.h (d_val_print): Return void.
1661         * c-valprint.c (c_val_print): Return void.
1662         * c-lang.h (c_val_print): Return void.
1663         * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
1664         void.
1665         * ada-lang.h (ada_val_print): Return void.
1666
1667 2012-03-01  Tom Tromey  <tromey@redhat.com>
1668
1669         * value.h (val_print): Return void.
1670         * valprint.c (val_print): Return void.
1671
1672 2012-03-01  Tom Tromey  <tromey@redhat.com>
1673
1674         * value.h (common_val_print): Return void.
1675         * valprint.c (common_val_print): Return void.
1676
1677 2012-03-01  Tom Tromey  <tromey@redhat.com>
1678
1679         * value.h (value_print): Return void.
1680         * valprint.c (value_print): Return void.
1681         * p-valprint.c (pascal_value_print): Return void.
1682         * p-lang.h (pascal_value_print): Return void.
1683         * language.h (struct language_defn) <la_value_print>: Return
1684         void.
1685         * language.c (unk_lang_value_print): Return void.
1686         * jv-valprint.c (java_value_print): Return void.
1687         * jv-lang.h (java_value_print): Return void.
1688         * f-valprint.c (c_value_print): Don't declare.
1689         Include c-lang.h.
1690         * c-valprint.c (c_value_print): Return void.
1691         * c-lang.h (c_value_print): Return void.
1692         * ada-valprint.c (ada_value_print): Return void.
1693         * ada-lang.h (ada_value_print): Return void.
1694
1695 2012-03-01  Tom Tromey  <tromey@redhat.com>
1696
1697         * value.c (value_primitive_field): Handle virtual base classes.
1698
1699 2012-03-01  Tom Tromey  <tromey@redhat.com>
1700
1701         * gdbtypes.h (struct vbase): Remove.
1702
1703 2012-03-01  Tom Tromey  <tromey@redhat.com>
1704
1705         * c-valprint.c (print_function_pointer_address): Move...
1706         * valprint.c: ... here.  Make non-static.
1707         * m2-valprint.c (print_function_pointer_address): Remove.
1708         * valprint.h (print_function_pointer_address): Declare.
1709
1710 2012-03-01  Joel Brobecker  <brobecker@adacore.com>
1711
1712         * NEWS: Document the fact that one can provide a condition when
1713         creating an Ada exception catchpoint.
1714
1715 2012-03-01  Tom Tromey  <tromey@redhat.com>
1716
1717         * valprint.c (val_print_type_code_flags): Fix placement of
1718         trailing brace.
1719
1720 2012-03-01  Joel Brobecker  <brobecker@adacore.com>
1721
1722         * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
1723         (update_files): Do not set MULTILINE_COMMENT_PREFIXES
1724         environment variable before calling update-copyright.
1725
1726 2012-03-01  Joel Brobecker  <brobecker@adacore.com>
1727
1728         * gnulib/extra/update-copyright: Update to the latest from
1729         gnulib's git repository.
1730         * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
1731         variable to 2 instead of 1.
1732
1733 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1734
1735         * varobj.c (c_value_of_variable): Remove dead code.
1736
1737 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1738
1739         * ada-lex.p (processId): Do not modify already encoded IDs.
1740         Update function documentation.
1741
1742 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1743
1744         * ada-lang.h (ada_find_renaming_symbol): Replace parameter
1745         "name" with "struct symbol *name_sym".
1746         * ada-exp.y (write_var_or_type): Update call to
1747         ada_find_renaming_symbol.
1748         "name" with "struct symbol *name_sym". Adjust Implementation
1749         accordingly.  Adjust the function documentation.
1750
1751 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1752
1753         * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
1754         * ada-lang.c (ada_find_any_type): Add advance declaration.
1755         Make static.  Replace ada_find_any_symbol by
1756         ada_find_any_type_symbol.
1757         (ada_find_any_type_symbol): Renames ada_find_any_symbol.
1758         Improve function description.  Make static.
1759         (ada_find_renaming_symbol, find_old_style_renaming_symbol):
1760         Replace ada_find_any_symbol by ada_find_any_type_symbol.
1761
1762 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1763
1764         * ada-lang.c (struct tag_args): Delete.
1765         (ada_get_tsd_type): Function body moved up in source file.
1766         (ada_tag_name_1, ada_tag_name_2): Delete.
1767         (ada_get_tsd_from_tag): New function.
1768         (ada_tag_name_from_tsd): New function.
1769         (ada_tag_name): Use a TRY_CATCH block instead of catch_errors
1770         to determine the tag name.
1771
1772 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1773
1774         * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
1775         declaration.
1776         * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
1777         function.
1778
1779 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1780
1781         * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.
1782
1783 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1784
1785         * ada-lang.c (ada_lookup_symbol_list): Only cache the result of
1786         full searches.
1787
1788 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1789
1790         * ada-lang.c (constrained_packed_array_type): If there is a
1791         parallel XA type, use it to determine the array index type.
1792
1793 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1794
1795         * ada-valprint.c (ada_val_print_1): If our value is a reference
1796         to an array descriptor, dereference it before converting it
1797         to a simple array.
1798
1799 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1800
1801         * ada-lang.c (ada_to_fixed_value): Call unwrap_value before
1802         creating fixed value.
1803         (ada_value_ind, ada_coerce_ref, assign_component)
1804         (ada_evaluate_subexp): Remove call to unwrap_value before
1805         call to ada_to_fixed_value.
1806
1807 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1808
1809         * ada-lang.c (to_fixed_array_type): Set result's type name.
1810
1811 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
1812
1813         * ada-lang.c (catch_ada_exception_command_split): Add new
1814         argument cond_string.  Add support for condition at end of
1815         "catch exception" commands.
1816         (ada_decode_exception_location): Add new argument cond_string.
1817         Update call to catch_ada_exception_command_split.
1818         (create_ada_exception_catchpoint): Add new argument cond_string.
1819         Set the breakpoint condition if needed.
1820         (catch_ada_exception_command): Update call to
1821         ada_decode_exception_location.
1822         (ada_decode_assert_location): Add function documentation.
1823         Add support for condition at end of "catch assert" command.
1824         (catch_assert_command): Update calls to ada_decode_assert_location
1825         and create_ada_exception_catchpoint.
1826
1827 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1828
1829         Fix disp-step-syscall.exp: fork: single step over fork.
1830         * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
1831         (i386_linux_get_syscall_number_from_regcache): ... here, new function
1832         comment, change parameters gdbarch and ptid to regcache.  Remove
1833         parameter regcache, initialize gdbarch from regcache here.
1834         (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
1835         New functions.
1836         (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
1837         instead.
1838         * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
1839         'syscall'.  Make the 'int' check more strict.
1840
1841 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1842
1843         Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
1844         * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
1845         (i386_linux_intx80_sysenter_syscall_record): ... here.
1846         (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
1847         Use the renamed function name.
1848
1849 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1850
1851         * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
1852         * breakpoint.c (until_break_command): Likewise.
1853         * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
1854         * infcall.c (call_function_by_hand): Likewise.
1855         * infcmd.c (finish_forward): Likewise.
1856         * infrun.c (insert_exception_resume_breakpoint): Likewise.
1857
1858 2012-02-28  Tristan Gingold  <gingold@adacore.com>
1859
1860         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
1861         avoid variable assignments inside condition.
1862
1863 2012-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1864
1865         Fix static analysis issue found by cppcheck.
1866         * microblaze-tdep.c (microblaze_extract_return_value): Fix
1867         uninitialized BUF for size 2.
1868
1869 2012-02-27  Chris Dearman  <chris@mips.com>
1870             Nathan Froyd  <froydnj@codesourcery.com>
1871             Maciej W. Rozycki  <macro@codesourcery.com>
1872
1873         * mips-tdep.c (mips32_instruction_has_delay_slot): New function.
1874         (mips16_instruction_has_delay_slot): Likewise.
1875         (mips_segment_boundary): Likewise.
1876         (mips_adjust_breakpoint_address): Likewise.
1877         (mips_gdbarch_init): Use mips_adjust_breakpoint_address.
1878
1879 2012-02-27  Maciej W. Rozycki  <macro@mips.com>
1880             Maciej W. Rozycki  <macro@codesourcery.com>
1881
1882         * infrun.c (handle_inferior_event): Don't proceed through
1883         shared library trampolines if stepping at the machine
1884         instruction level.
1885
1886 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
1887
1888         * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
1889         too.
1890
1891 2012-02-27  Thomas Schwinge  <thomas@codesourcery.com>
1892
1893         * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
1894         (sh_stub_unwind_sniffer): New functions.
1895         (sh_stub_unwind): New variable.
1896         (sh_gdbarch_init): Wire everything.
1897
1898 2012-02-27  Pedro Alves  <palves@redhat.com>
1899
1900         * linux-nat.c (pid_is_stopped): Delete, moved to common/.
1901         (linux_nat_post_attach_wait): Adjust to use
1902         linux_proc_pid_is_stopped.
1903         * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare.
1904         * common/linux-procfs.c (linux_proc_pid_is_stopped): New function,
1905         based on pid_is_stopped from both linux-nat.c and
1906         gdbserver/linux-low.c, and renamed.
1907
1908 2012-02-24  Maciej W. Rozycki  <macro@codesourcery.com>
1909
1910         * remote.c (remote_watchpoint_addr_within_range): New function.
1911         (init_remote_ops): Use it.
1912
1913 2012-02-24  Maciej W. Rozycki  <macro@codesourcery.com>
1914
1915         * target.h (target_watchpoint_addr_within_range): Document macro.
1916
1917 2012-02-24  Pedro Alves  <palves@redhat.com>
1918
1919         * stack.c (set_last_displayed_sal): Issue internal_error instead
1920         of warning, and issue it after clearing the last displayed sal.
1921
1922 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1923             Pedro Alves  <palves@redhat.com>
1924
1925         * breakpoint.c (until_break_command): Install breakpoints after
1926         all frame manipulations.
1927
1928 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
1929
1930         * remote.c (remote_supports_cond_breakpoints): New forward
1931         declaration.
1932         (remote_add_target_side_condition): New function.
1933         (remote_insert_breakpoint): Add target-side breakpoint
1934         conditional if supported.
1935         (remote_insert_hw_breakpoint): Likewise.
1936         (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions
1937         hook.
1938
1939         * target.c (update_current_target): Inherit
1940         to_supports_evaluation_of_breakpoint_conditions.
1941         Default to_supports_evaluation_of_breakpoint_conditions to return_zero.
1942
1943         * target.h (struct target_ops)
1944         <to_supports_evaluation_of_breakpoint_conditions>: New field.
1945         (target_supports_evaluation_of_breakpoint_conditions): New #define.
1946
1947         * breakpoint.c (get_first_locp_gte_addr): New forward declaration.
1948         (condition_evaluation_both, condition_evaluation_auto,
1949         condition_evaluation_host, condition_evaluation_target,
1950         condition_evaluation_enums, condition_evaluation_mode_1,
1951         condition_evaluation_mode): New static globals.
1952         (translate_condition_evaluation_mode): New function.
1953         (breakpoint_condition_evaluation_mode): New function.
1954         (gdb_evaluates_breakpoint_condition_p): New function.
1955         (ALL_BP_LOCATIONS_AT_ADDR): New helper macro.
1956         (mark_breakpoint_modified): New function.
1957         (mark_breakpoint_location_modified): New function.
1958         (set_condition_evaluation_mode): New function.
1959         (show_condition_evaluation_mode): New function.
1960         (bp_location_compare_addrs): New function.
1961         (get_first_location_gte_addr): New helper function.
1962         (set_breakpoint_condition): Free condition bytecode if locations
1963         has become unconditional.  Call mark_breakpoint_modified (...).
1964         (condition_command): Call update_global_location_list (1) for
1965         breakpoints.
1966         (breakpoint_xfer_memory): Use is_breakpoint (...).
1967         (is_breakpoint): New function.
1968         (parse_cond_to_aexpr): New function.
1969         (build_target_condition_list): New function.
1970         (insert_bp_location): Handle target-side conditional
1971         breakpoints and call build_target_condition_list (...).
1972         (update_inserted_breakpoint_locations): New function.
1973         (insert_breakpoint_locations): Handle target-side conditional
1974         breakpoints.
1975         (bpstat_check_breakpoint_conditions): Add comment.
1976         (bp_condition_evaluator): New function.
1977         (bp_location_condition_evaluator): New function.
1978         (print_breakpoint_location): Print information on where the condition
1979         will be evaluated.
1980         (print_one_breakpoint_location): Likewise.
1981         (init_bp_location): Call mark_breakpoint_location_modified (...) for
1982         breakpoint location.
1983         (force_breakpoint_reinsertion): New functions.
1984         (update_global_location_list): Handle target-side breakpoint
1985         conditions.
1986         Reinsert locations that are already inserted if conditions have
1987         changed.
1988         (bp_location_dtor): Free agent expression bytecode.
1989         (disable_breakpoint): Call mark_breakpoint_modified (...).
1990         Call update_global_location_list (...) with parameter 1 for breakpoints.
1991         (disable_command): Call mark_breakpoint_location_modified (...).
1992         Call update_global_location_list (...) with parameter 1 for breakpoints.
1993         (enable_breakpoint_disp): Call mark_breakpoint_modified (...).
1994         (enable_command): mark_breakpoint_location_modified (...).
1995         (_initialize_breakpoint): Update documentation and add
1996         condition-evaluation breakpoint subcommand.
1997
1998         * breakpoint.h: Include ax.h.
1999         (condition_list): New data structure.
2000         (condition_status): New enum.
2001         (bp_target_info) <cond_list>: New field.
2002         (bp_location) <condition_changed, cond_bytecode>: New fields.
2003         (is_breakpoint): New prototype.
2004
2005 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
2006
2007         * remote.c (remote_state) <cond_breakpoints>: New field.
2008         (PACKET_ConditionalBreakpoints): New enum.
2009         (remote_cond_breakpoint_feature): New function.
2010         (remote_protocol_features): Add new ConditionalBreakpoints entry.
2011         (remote_supports_cond_breakpoints): New function.
2012         (_initialize_remote): Add new packet configuration for
2013         target-side conditional breakpoints.
2014
2015 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
2016
2017         * NEWS: Mention target-side conditional breakpoint support,
2018         new condition-evaluation breakpoint subcommand and remote
2019         packet extensions.
2020
2021 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
2022
2023         * breakpoint.c (bp_location_compare): Sort by pspace before sorting by
2024         number.
2025
2026 2012-02-24  Thomas Schwinge  <thomas@codesourcery.com>
2027
2028         * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal.
2029         (after_prologue): Remove.
2030
2031 2012-02-23  Tom Tromey  <tromey@redhat.com>
2032
2033         * jv-valprint.c (java_val_print): Remove dead code.
2034
2035 2012-02-23  Tristan Gingold  <gingold@adacore.com>
2036
2037        * ada-tasks.c (struct ada_tasks_inferior_data): Add
2038         known_tasks_element and known_tasks_length fields.
2039         (read_known_tasks_array): Change argument type.  Use pointer type
2040         and number of elements from DATA.  Adjust.
2041         (read_known_tasks_list): Likewise.
2042         (get_known_tasks_addr): Remove.
2043         (ada_set_current_inferior_known_tasks_addr): Renamed to ...
2044         (ada_tasks_inferior_data_sniffer): ... this.  Use symtab for element
2045         type and array length.  Merge former get_known_tasks_addr code.
2046
2047 2012-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2048
2049         PR backtrace/13716
2050         * infcmd.c (finish_forward): New variable frame_id, initialize it, use
2051         it after set_momentary_breakpoint.
2052
2053 2012-02-22  Sterling Augustine  <saugustine@google.com>
2054
2055         PR 13689:
2056         * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.
2057
2058 2012-02-22  Gary Benson  <gbenson@redhat.com>
2059
2060         * dwarf2read.c (dwarf2_read_index): Correct misspelling.
2061         (find_slot_in_mapped_hash): Likewise.
2062
2063 2012-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2064
2065         PR build/13638
2066         * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR.
2067         (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR.
2068         * configure: Regenerate.
2069
2070 2012-02-21  Tristan Gingold  <gingold@adacore.com>
2071             Pedro Alves  <palves@redhat.com>
2072
2073         * ia64-tdep.c: Do not include libunwind-ia64.h.
2074         * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
2075         Include libunwind-ia64.h instead of libunwind.h.
2076         * configure.ac (--with-libunwind, $enable_libunwind): Don't check
2077         for libunwind.h existence.
2078         * configure, config.in: Regenerate.
2079
2080 2012-02-21  Anton Gorenkov  <xgsa@yandex.ru>
2081
2082         * c-valprint.c (c_value_print): Use value_rtti_indirect_type
2083         instead of value_rtti_target_type.
2084         * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
2085         instead of value_rtti_target_type.
2086         * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
2087         value_rtti_target_type.
2088         * valops.c (value_ind): Extract function readjust_indirect_value_type.
2089         (value_rtti_target_type): Rename to ...
2090         (value_rtti_indirect_type): ... here and make it indirect.  Update
2091         function comment.
2092         * value.c (readjust_indirect_value_type): New function.
2093         (coerce_ref): Support for enclosing type setting for references
2094         with readjust_indirect_value_type.
2095         * value.h (readjust_value_type): New declaration.
2096         (value_rtti_target_type): Rename to ...
2097         (value_rtti_indirect_type): ... here.
2098
2099 2012-02-21  Anton Gorenkov  <xgsa@yandex.ru>
2100
2101         * MAINTAINERS (Write After Approval): Add myself to the list.
2102
2103 2012-02-20  Doug Evans  <dje@google.com>
2104
2105         * objfiles.c (add_to_objfile_sections): Remove outdated comments.
2106         Rename objfile_p_char parameter to objfilep.
2107         (build_objfile_section_table): Result is now void.  All callers
2108         updated.
2109         * objfiles.h (struct objfile): Tweak comments, whitespace.
2110         (build_objfile_section_table): Update.
2111
2112         * elfread.c (elf_symfile_segments): Fix warning text.
2113
2114 2012-02-20  Tom Tromey  <tromey@redhat.com>
2115
2116         PR gdb/13498:
2117         * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a
2118         particular set of file names once.
2119         (dw2_map_symbol_filenames): Likewise.
2120
2121 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2122
2123         Code cleanup.
2124         * main.c (write_files): Remove the declaration.
2125         (external_editor_command): Move the declaration ...
2126         [GDBTK] (external_editor_command): ... here.  Fix the comment.
2127
2128 2012-02-20  Tom Tromey  <tromey@redhat.com>
2129
2130         * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove
2131         extraneous block.
2132
2133 2012-02-20  Tristan Gingold  <gingold@adacore.com>
2134
2135         * darwin-nat.h (enum darwin_msg_state): Add comments.
2136
2137 2012-02-20  Tristan Gingold  <gingold@adacore.com>
2138
2139         * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
2140         value.
2141
2142 2012-20-18  Joel Brobecker  <brobecker@adacore.com>
2143
2144         * breakpoint.c (watchpoint_exp_is_const): Add missing empty line
2145         between function description and implementation.
2146
2147 2012-02-17  Tom Tromey  <tromey@redhat.com>
2148
2149         PR python/12070:
2150         * python/py-event.c (event_object_getset): New global.
2151         (event_object_type): Reference it.
2152         * python/py-type.c (field_object_getset): New global.
2153         (field_object_type): Reference it.
2154         * python/python-internal.h (gdb_py_generic_dict): Declare.
2155         * python/py-utils.c (gdb_py_generic_dict): New function.
2156
2157 2012-02-17  Tristan Gingold  <gingold@adacore.com>
2158
2159         * solib-darwin.c (darwin_current_sos): Check magic and filetype
2160
2161 2012-02-17  Thomas Schwinge  <thomas@codesourcery.com>
2162
2163         * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
2164         TYPE_CALLING_CONVENTION annotation.
2165
2166 2012-02-16  Kevin Buettner  <kevinb@redhat.com>
2167
2168         * MAINTAINERS: Add rx to target ISA section.
2169         * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
2170         (ALLDEPFILES): Add rx-tdep.c.
2171
2172 2012-02-16  Tom Tromey  <tromey@redhat.com>
2173
2174         * symfile.c (symbol_file_add_main_1): Use inferior's
2175         symfile_flags.
2176         * solib.c (solib_read_symbols): Use inferior's symfile_flags.
2177         * linux-nat.c (linux_child_follow_fork): Set symfile_flags on
2178         inferior.
2179         * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
2180         inferior.
2181         (follow_exec): Use inferior's symfile_flags.
2182         * inferior.h (struct inferior) <symfile_flags>: New field.
2183
2184 2012-02-16  Mike Frysinger  <vapier@gentoo.org>
2185
2186         PR gdb/9734:
2187         * remote-sim.c (gdbsim_create_inferior): Call error() when
2188         sim_create_inferior() fails.
2189
2190 2012-02-16  Josh Matthews  <josh@joshmatthews.net>
2191
2192         * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
2193
2194 2012-02-16  Tom Tromey  <tromey@redhat.com>
2195
2196         PR c++/13653:
2197         * thread.c (struct current_thread_cleanup) <was_removable>: New
2198         field.
2199         (restore_current_thread_cleanup_dtor): Restore 'removable' field.
2200         (make_cleanup_restore_current_thread): Initialize new field.
2201
2202 2012-02-15  Kevin Buettner  <kevinb@redhat.com>
2203
2204         * MAINTAINERS: Add rl78 to target ISA section.
2205         * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
2206         (ALLDEPFILES): Add rl78-tdep.c.
2207         * NEWS: Mention rl78 as a new target.
2208
2209 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
2210
2211         * frame.c (find_frame_sal): Initialize sal->pspace field from frame
2212         data.
2213         * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
2214
2215 2012-02-15  Tom Tromey  <tromey@redhat.com>
2216
2217         PR gdb/12659:
2218         * infcmd.c (registers_info): Print just the current register's
2219         name.
2220
2221 2012-02-15  Tom Tromey  <tromey@redhat.com>
2222
2223         * python/py-symbol.c (sympy_value): Use _().
2224
2225 2012-02-15  Pedro Alves  <palves@redhat.com>
2226
2227         * remote.c (remote_detach_1, extended_remote_attach_1): Tweak
2228         output to be like native targets'.
2229         (remote_pid_to_str): Special case the null ptid.
2230
2231 2012-02-14  Stan Shebs  <stan@codesourcery.com>
2232
2233         * NEWS: Mention enable count command.
2234         * breakpoint.h (struct breakpoint): New field enable_count.
2235         * breakpoint.c (enable_breakpoint_disp): Add count argument.
2236         (enable_breakpoint): Add arg to call.
2237         (struct disp_data): New struct.
2238         (do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
2239         (do_map_enable_once_breakpoint): Create a struct and pass it.
2240         (do_map_enable_delete_breakpoint): Ditto.
2241         (do_map_enable_count_breakpoint): New function.
2242         (enable_count_command): New function.
2243         (bpstat_stop_status): Decrement enable_count.
2244         (print_one_breakpoint_location): Report enable count.
2245         (_initialize_breakpoint): Add enable count command.
2246
2247 2012-02-14  Kevin Buettner  <kevinb@redhat.com>
2248
2249         * rl78-tdep.c (reggroups.h): Include.
2250         (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM)
2251         (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM)
2252         (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM)
2253         (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM)
2254         (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM)
2255         (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM)
2256         (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM)
2257         (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM)
2258         (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM)
2259         (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM)
2260         (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM)
2261         (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM)
2262         (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM)
2263         (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM)
2264         (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM)
2265         (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to
2266         beginning of register list.
2267         (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM)
2268         (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM)
2269         (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM)
2270         (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM)
2271         (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM)
2272         (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM)
2273         (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM)
2274         (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM)
2275         (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM)
2276         (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM)
2277         (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into
2278         the pseudo registers.  Rearrange other pseudo registers too so
2279         that the bank registers appear at the end.
2280         (rl78_register_type): Account for the fact that the byte sized
2281         bank registers are now pseudo-registers.
2282         (rl78_register_name): Rearrange the register name array.  Make
2283         initial set of raw banked registers inaccessible.
2284         (rl78_register_reggroup_p, rl78_register_sim_regno): New functions.
2285         (rl78_pseudo_register_read, rl78_pseudo_register_write): Add
2286         case for copying bytes back and forth between raw and pseudo
2287         versions of the banked registers.  Update other cases to reflect
2288         the changed names.
2289         (rl78_return_value): Update to account for changed names of
2290         raw registers.
2291         (rl78_gdbarch_init): Register rl78_register_reggroup_p() and
2292         rl78_register_sim_regno().
2293
2294 2012-02-14  Kevin Buettner  <kevinb@redhat.com>
2295
2296         * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
2297         the name parameter being passed to find_pc_partial_function().
2298
2299 2012-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2300
2301         * MAINTAINERS: Step down from being ia64 target maintainer.
2302
2303 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2304
2305         * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
2306         compilation warning.
2307
2308 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2309
2310         Fix crash on loaded shlibs without loaded exec_bfd.
2311         * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
2312         (set_section_command): Replace exec_bfd by p->bfd.
2313
2314 2012-02-10  Tom Tromey  <tromey@redhat.com>
2315
2316         * linespec.c (decode_line_internal): Skip symtabs_from_filename
2317         when we have a C++ qualified name.
2318
2319 2012-02-10  Pedro Alves  <palves@redhat.com>
2320
2321         * inferior.c (inferior_pid_to_str): New.
2322         (print_inferior, inferior_command): Use it.
2323
2324 2012-02-10  Pedro Alves  <palves@redhat.com>
2325
2326         * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
2327         the test CFLAGS.
2328         * configure: Regenerate.
2329
2330 2012-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2331
2332         * linespec.c (decode_line_internal): Fix comment correctness.
2333
2334 2012-02-09  Valery Khromov  <valery.khromov@gmail.com>
2335
2336         PR gdb/12953
2337         * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
2338         * amd64bsd-nat.c: Add support for debug registers (adapted from
2339         i386bsd-nat.c).
2340         [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
2341         (amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
2342         (amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
2343         (amd64bsd_dr_get_control): New functions.
2344         * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
2345         * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
2346         [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
2347         watchpoints initialization.
2348         * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
2349
2350 2012-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2351
2352         * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
2353         flds_bnds.fields.
2354         (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
2355
2356 2012-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2357
2358         * breakpoint.c (bp_location_compare): Fix comment.  Reindent the code.
2359
2360 2012-02-08  Joel Brobecker  <brobecker@adacore.com>
2361
2362         * language.h (symbol_name_cmp_ftype): Renames
2363         symbol_name_match_p_ftype.
2364         (struct language_defn)[la_get_symbol_name_cmp]: Renames
2365         la_get_symbol_name_match_p.
2366         * ada-lang.c (ada_get_symbol_name_cmp): Renames
2367         ada_get_symbol_name_match_p.  Update comment.
2368         (ada_language_defn)[la_get_symbol_name_cmp]: Update value.
2369         * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
2370         Renames symbol_name_match_p.  Update field type.
2371         (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
2372         * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
2373         opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
2374         "la_get_symbol_name_cmp" in comments.
2375         * language.c: Likewise.
2376
2377 2012-02-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2378
2379         * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
2380         %eflags offset.
2381         * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
2382         (amd64_sol2_gregset32_reg_offs): Likewise.
2383
2384 2012-02-08  Joel Brobecker  <brobecker@adacore.com>
2385
2386         * solib-darwin.c (darwin_bfd_open): Make sure that the filename
2387         of the returned BFD is allocated by GDB.
2388
2389 2012-02-07  Tom Tromey  <tromey@redhat.com>
2390
2391         PR python/12027:
2392         * python/python-internal.h (frame_object_type): Declare.
2393         * python/py-symbol.c (sympy_needs_frame): New function.
2394         (sympy_value): New function.
2395         (symbol_object_getset): Add "needs_frame".
2396         (symbol_object_methods): Add "value".
2397         * python/py-frame.c (frame_object_type): No longer static.
2398
2399 2012-02-07  Tom Tromey  <tromey@redhat.com>
2400
2401         PR python/13599:
2402         * python/py-symbol.c (sympy_line): New function.
2403         (symbol_object_getset): Add "line".
2404
2405 2012-02-07  Tom Tromey  <tromey@redhat.com>
2406
2407         * charset.c (find_charset_names): Check 'in' against NULL.
2408
2409 2012-02-06  Doug Evans  <dje@google.com>
2410
2411         * gdbtypes.h (struct main_type): Change type of name,tag_name,
2412         and fields.name members from char * to const char *.  All uses updated.
2413         (struct cplus_struct_type): Change type of fn_fieldlists.name member
2414         from char * to const char *.  All uses updated.
2415         (type_name_no_tag): Update.
2416         (lookup_unsigned_typename, lookup_signed_typename): Update.
2417         * gdbtypes.c (type_name_no_tag): Change result type
2418         from char * to const char *.  All callers updated.
2419         (lookup_unsigned_typename, lookup_signed_typename): Change type of
2420         name parameter from char * to const char *.
2421         * symtab.h (struct cplus_specific): Change type of demangled_name
2422         member from char * to const char *.  All uses updated.
2423         (struct general_symbol_info): Change type of name and
2424         mangled_lang.demangled_name members from char * to const char *.
2425         All uses updated.
2426         (symbol_get_demangled_name, symbol_natural_name): Update.
2427         (symbol_demangled_name, symbol_search_name): Update.
2428         * symtab.c (symbol_get_demangled_name): Change result type
2429         from char * to const char *.  All callers updated.
2430         (symbol_natural_name, symbol_demangled_name): Ditto.
2431         (symbol_search_name): Ditto.
2432         (completion_list_add_name): Change type of symname,sym_text,
2433         text,word parameters from char * to const char *.
2434         (completion_list_objc_symbol): Change type of sym_text,
2435         text,word parameters from char * to const char *.
2436         * ada-lang.c (find_struct_field): Change type of name parameter
2437         from char * to const char *.
2438         (encoded_ordered_before): Similarly for N0,N1 parameters.
2439         (old_renaming_is_invisible): Similarly for function_name parameter.
2440         (ada_type_name): Change result type from char * to const char *.
2441         All callers updated.
2442         * ada-lang.h (ada_type_name): Update.
2443         * buildsym.c (hashname): Change type of name parameter
2444         from char * to const char *.
2445         * buildsym.h (hashname): Update.
2446         * dbxread.c (end_psymtab): Change type of include_list parameter
2447         from char ** to const char **.
2448         * dwarf2read.c (determine_prefix): Change result type
2449         from char * to const char *.  All callers updated.
2450         * f-lang.c (find_common_for_function): Change type of name, funcname
2451         parameters from char * to const char *.
2452         * f-lang.c (find_common_for_function): Update.
2453         * f-valprint.c (list_all_visible_commons): Change type of funcname
2454         parameters from char * to const char *.
2455         * gdbarch.sh (static_transform_name): Change type of name parameter
2456         and result from char * to const char *.
2457         * gdbarch.c: Regenerate.
2458         * gdbarch.h: Regenerate.
2459         * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
2460         of name parameter from char * to const char *.
2461         * jv-lang.c (java_primitive_type_from_name): Ditto.
2462         (java_demangled_signature_length): Similarly for signature parameter.
2463         (java_demangled_signature_copy): Ditto.
2464         (java_demangle_type_signature): Ditto.
2465         * jv-lang.h (java_primitive_type_from_name): Update.
2466         (java_demangle_type_signature): Update.
2467         * objc-lang.c (specialcmp): Change type of a,b parameters
2468         from char * to const char *.
2469         * p-lang.c (is_pascal_string_type): Change type of arrayname parameter
2470         from char * to const char *.  All callers updated.
2471         * p-lang.h (is_pascal_string_type): Update.
2472         * solib-frv.c (find_canonical_descriptor_in_load_object): Change type
2473         of name parameter from char * to const char *.
2474         * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
2475         * utils.c (fprintf_symbol_filtered): Ditto.
2476         * defs.h (fprintf_symbol_filtered): Update.
2477         * sparc-tdep.h (sparc_sol2_static_transform_name): Update.
2478         * stabsread.h (end_psymtab): Update.
2479         * stack.c (find_frame_funname): Change type of funname parameter
2480         from char ** to const char **.
2481         * stack.h (find_frame_funname): Update.
2482         * typeprint.c (type_print): Change type of varstring parameter
2483         from char * to const char *.
2484         * value.h (type_print): Update.
2485         * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
2486         from char * to const char *.  All callers updated.
2487         (xcoff_end_psymtab): Change type of include_list parameter
2488         from char ** to const char **.  All callers updated.
2489         (swap_sym): Similarly for name parameter.  All callers updated.
2490         * coffread.c (patch_type): Add (char*) cast to xfree parameter.
2491         Use xstrdup.
2492         (process_coff_symbol): Use xstrdup.
2493         * stabsread.c (stabs_method_name_from_physname): Renamed from
2494         update_method_name_from_physname.  Change result type from void
2495         to char *.  All callers updated.
2496         (read_member_functions): In has_destructor case, store name in objfile
2497         obstack instead of malloc space.  In !has_stub case, fix mem leak.
2498
2499 2012-02-06  Luca Pizzamiglio  <luca.pizzamiglio@gmail.com>
2500
2501         * configure: Rebuild.
2502         * configure.ac: Put -L../bfd and -L../libiberty at the front of
2503         LDFLAGS.
2504
2505 2012-02-03  Kevin Buettner  <kevinb@redhat.com>
2506
2507         * configure.tgt (rl78-*-elf): New target.
2508         * rl78-tdep.c: New file.
2509
2510 2012-02-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2511
2512         * remote.c (remote_rcmd): Use getpkt_sane to detect timeout
2513         and continue the loop.  Add QUIT statement.
2514
2515 2012-02-03  Tom Tromey  <tromey@redhat.com>
2516
2517         PR gdb/13596:
2518         * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from
2519         bfd_lookup_symbol_from_symtab.
2520         * solib-pa64.c (pa64_solib_create_inferior_hook): Use
2521         gdb_bfd_lookup_symbol_from_symtab.
2522
2523 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
2524
2525         * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
2526         use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
2527         symbol.  Add assertion that sym2 is never NULL.
2528
2529 2012-02-02  Doug Evans  <dje@google.com>
2530
2531         * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
2532         "name" parameter to const char ** from char **.  All callers updated.
2533         (find_pc_partial_function): Ditto.
2534         (cache_pc_function_name): Change type to const char * from char *.
2535         * symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
2536         (find_pc_partial_function): Update.
2537         * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
2538         type of "name" parameter to const char * from char *.
2539         All uses updated.
2540         * arch-utils.c (generic_in_solib_return_trampoline): Change
2541         type of "name" parameter to const char * from char *.
2542         * arch-utils.h (generic_in_solib_return_trampoline): Update.
2543         * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
2544         type of "name" parameter to const char * from char *.
2545         * gdbarch.sh (in_solib_return_trampoline): Ditto.
2546         * gdbarch.c: Regenerate.
2547         * gdbarch.h: Regenerate.
2548         * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
2549         * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
2550         * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
2551         type of "name" parameter to const char * from char *.
2552         * skip.c (skip_function_pc): Ditto.
2553         * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
2554         * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
2555         * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
2556         * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
2557         * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
2558         * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
2559         * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
2560         * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
2561         * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.
2562
2563 2012-02-02  Pedro Alves  <palves@redhat.com>
2564
2565         * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
2566         the current inferior has no execution.  Make sure the current
2567         remote process matches gdb's current inferior.
2568
2569 2012-02-02  Tom Tromey  <tromey@redhat.com>
2570
2571         PR gdb/13405:
2572         * tui/tui-win.c (parse_scrolling_args): Don't write to possibly
2573         read-only memory.
2574
2575 2012-02-02  Tom Tromey  <tromey@redhat.com>
2576
2577         PR gdb/9307:
2578         * symtab.c (lookup_language_this): Set block_found.
2579
2580 2012-02-01  Tom Tromey  <tromey@redhat.com>
2581
2582         PR gdb/13431:
2583         * jit.c (struct jit_inferior_data): Rewrite.
2584         (struct jit_objfile_data): New.
2585         (get_jit_objfile_data): New function.
2586         (add_objfile_entry): Update.
2587         (jit_read_descriptor): Return int.  Replace descriptor_addr
2588         argument with inf_data.  Update.  Don't call error.
2589         (jit_breakpoint_re_set_internal): Reorder logic.  Update.  Look up
2590         descriptor here.
2591         (jit_inferior_init): Don't look up descriptor.  Don't call error.
2592         (jit_reset_inferior_data_and_breakpoints)
2593         (jit_inferior_created_observer): Remove.
2594         (jit_inferior_exit_hook): Update.
2595         (jit_executable_changed_observer): Remove.
2596         (jit_event_handler): Update.
2597         (free_objfile_data): Reset inferior data if needed.
2598         (_initialize_jit): Update.
2599
2600 2012-02-01  Tom Tromey  <tromey@redhat.com>
2601
2602         * jit.c (bfd_open_from_target_memory): Move higher in file.
2603
2604 2012-02-01  Tristan Gingold  <gingold@adacore.com>
2605
2606         * libunwind-frame.c (libunwind_load): Display message if dlopen
2607         failed.
2608
2609 2012-02-01  Gary Benson  <gbenson@redhat.com>
2610
2611         * symtab.h (symbol_found_callback_ftype): New typedef.
2612         (iterate_over_symbols): Use the above.
2613         * symtab.c (iterate_over_symbols): Likewise.
2614         * language.h (language_defn->la_iterate_over_symbols): Likewise.
2615         * ada-lang.c (ada_iterate_over_symbols): Likewise.
2616         * linespec.c (iterate_over_all_matching_symtabs): Likewise.
2617         (iterate_name_matcher): Document return values.
2618         (collect_one_symbol): Likewise.
2619         (collect_function_symbols): Likewise.
2620         (collect_symbols): Likewise.
2621
2622 2012-02-01  Tom Tromey  <tromey@redhat.com>
2623
2624         * ada-lang.c (resolve_subexp): Update.
2625         (ada_lookup_symbol_list): Add 'full_search' argument.
2626         (ada_iterate_over_symbols): Pass 0 as full_search argument to
2627         ada_lookup_symbol_list.
2628         (ada_lookup_encoded_symbol): Update.
2629         (get_var_value): Update.
2630         * ada-exp.y (block_lookup): Update.
2631         (write_var_or_type): Update.
2632         (write_name_assoc): Update.
2633         * ada-lang.h (ada_lookup_symbol_list): Update.
2634
2635 2012-01-31  Tom Tromey  <tromey@redhat.com>
2636
2637         * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
2638         comment.
2639
2640 2012-01-31  Doug Evans  <dje@google.com>
2641
2642         * symtab.h: Remove outdated comment.
2643         (SYMBOL_MATCHES_NATURAL_NAME): Delete.
2644
2645 2012-02-01  Josh Matthews  <josh@joshmatthews.net>  (tiny change)
2646
2647         Fix build error in Darwin port.
2648         * i386-darwin-nat.c: Include i386-nat.h.
2649
2650 2012-01-30  Tom Tromey  <tromey@redhat.com>
2651
2652         PR breakpoints/13568:
2653         * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
2654         argument.  Check for recursive includes.
2655         (dwarf_decode_macros): Create an include hash.
2656
2657 2012-01-30  Michael Eager  <eager@eagercon.com>
2658
2659         * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
2660         * ppc-linux-tdep.c: Include glibc-tdep.h.
2661         (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
2662         (powerpc_linux_in_plt_stub): New function.
2663         (powerpc_linux_in_dynsym_resolve_code): New function.
2664         (ppc_skip_trampoline_code): New function.
2665         (ppc_linux_init_abi): Use PPC specific functions rather than generic.
2666         Use glibc_skip_solib_resolver.
2667
2668 2012-01-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2669
2670         Code cleanup: Make 1440 bytes of data segment read-only.
2671         * arch-utils.c (endian_enum): Make it const char *const [].
2672         * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
2673         Likewise.
2674         * breakpoint.c (always_inserted_enums): Likewise.
2675         * cli/cli-cmds.c (script_ext_enums): Likewise.
2676         * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
2677         enumlist parameter const char *const *.
2678         * cli/cli-decode.h (struct cmd_list_element): Make the enums field
2679         const char *const *.
2680         * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
2681         parameter const char *const *.
2682         * cris-tdep.c (cris_modes): Make it const char *const [].
2683         * filesystem.c (target_file_system_kinds): Likewise.
2684         * i386-tdep.c (valid_flavors, valid_conventions): Likewise.
2685         * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
2686         (can_use_displaced_stepping_enum, scheduler_enums)
2687         (exec_direction_names): Likewise.
2688         * language.c (_initialize_language): Make the type_or_range_names and
2689         case_sensitive_names variables const char *const [].
2690         * mips-tdep.c (mips_abi_strings): Make it const char *const [].
2691         * python/python.c (python_excp_enums): Likewise.
2692         * remote.c (interrupt_sequence_modes): Likewise.
2693         * rs6000-tdep.c (powerpc_vector_strings): Likewise.
2694         * serial.c (logbase_enums): Likewise.
2695         * sh-tdep.c (sh_cc_enum): Likewise.
2696         * stack.c (print_frame_arguments_choices, print_entry_values_choices):
2697         Likewise.
2698         * symtab.c (multiple_symbols_modes): Likewise.
2699         * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
2700         Likewise.
2701         * utils.c (internal_problem_modes): Likewise.
2702
2703 2012-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2704
2705         Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
2706         * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
2707         result.
2708
2709 2012-01-27  Doug Evans  <dje@google.com>
2710
2711         * configure.ac (with_python): Fix absolute path handling for win32.
2712         * configure: Regenerate.
2713
2714 2012-01-26  Doug Evans  <dje@google.com>
2715
2716         * symtab.c: Whitespace cleanup, no code changes.
2717
2718         * symtab.c (lookup_symbol_in_language): Improve comment.
2719         (lookup_symbol_aux): Fix comment.
2720
2721         * psymtab.c (add_psymbol_to_list): Result is now "void".
2722         * psympriv.h (add_psymbol_to_list): Update.
2723
2724         * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
2725
2726 2012-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2727
2728         Do not open script filenames twice.
2729         * cli/cli-cmds.c (source_script_from_stream): Pass to
2730         source_python_script also STREAM.
2731         * python/py-auto-load.c (source_section_scripts): Pass to
2732         source_python_script_for_objfile also STREAM.
2733         (auto_load_objfile_script): Pass to source_python_script_for_objfile
2734         also INPUT.
2735         * python/python-internal.h (source_python_script_for_objfile): New
2736         parameter file, rename parameter file to filename.
2737         * python/python.c (python_run_simple_file): Call PyRun_SimpleFile
2738         instead if !_WIN32.  Update the function comment.
2739         (source_python_script, source_python_script_for_objfile)
2740         (source_python_script): New parameter file, rename parameter file to
2741         filename.  Pass FILENAME to python_run_simple_file.
2742         * python/python.h (source_python_script): New parameter file, rename
2743         parameter file to filename.
2744
2745 2012-01-26  Pedro Alves  <palves@redhat.com>
2746
2747         * corelow.c (core_has_fake_pid): Delete.
2748         (core_close): Delete references to `core_has_fake_pid'.
2749         (add_to_thread_list): Adjust to mark the inferior's pid as fake.
2750         (core_open): Delete references to `core_has_fake_pid'.
2751         (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
2752         the removed global.
2753
2754 2012-01-26  Joel Brobecker  <brobecker@adacore.com>
2755
2756         * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
2757         Remove language parameter from name_matcher.  Adjust the comment.
2758         * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
2759         Remove language parameter.
2760         * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
2761         * linespec.c (iterate_name_matcher): Likewise.
2762         * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
2763         name_matcher.  Adjust call accordingly.
2764         * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
2765         (maintenance_check_symtabs): Adjust type of parameter "fun".
2766         * psymtab.h (maintenance_check_symtabs): Likewise.
2767
2768 2012-01-26  Joel Brobecker  <brobecker@adacore.com>
2769
2770         * language.h (symbol_name_match_p_ftype): New typedef.
2771         (struct language_defn): Replace field la_symbol_name_compare
2772         by la_get_symbol_name_match_p.
2773         * ada-lang.c (ada_get_symbol_name_match_p): New function.
2774         (ada_language_defn): Use it.
2775         * linespec.c (struct symbol_matcher_data): New type.
2776         (iterate_name_matcher): Rewrite.
2777         (iterate_over_all_matching_symtabs): Pass a pointer to
2778         a symbol_matcher_data struct to expand_symtabs_matching
2779         instead of just the lookup name.
2780         * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
2781         opencl-lang.c, p-lang.c, language.c: Delete field
2782         la_symbol_name_compare, and replace by NULL for new field
2783         la_get_symbol_name_match_p.
2784         * symfile.h (struct quick_symbol_functions): Update comment.
2785
2786 2012-01-25  Tom Tromey  <tromey@redhat.com>
2787
2788         * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
2789         dereferencing.
2790
2791 2012-01-24  Tom Tromey  <tromey@redhat.com>
2792
2793         PR symtab/12406:
2794         * solib.c (update_solib_list): Update the program space's
2795         added_solibs and deleted_solibs fields.
2796         * progspace.h (struct program_space) <added_solibs,
2797         deleted_solibs>: New fields.
2798         (clear_program_space_solib_cache): Declare.
2799         * progspace.c (release_program_space): Call
2800         clear_program_space_solib_cache.
2801         (clear_program_space_solib_cache): New function.
2802         * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
2803         bpstat_stop_status.  Use handle_solib_event.
2804         * breakpoint.c: Include gdb_regex.h.
2805         (print_solib_event): New function.
2806         (bpstat_print): Use print_solib_event.
2807         (bpstat_stop_status): Add special case for bp_shlib_event.
2808         (handle_solib_event): New function.
2809         (bpstat_what): Use handle_solib_event.
2810         (struct solib_catchpoint): New.
2811         (dtor_catch_solib, insert_catch_solib, remove_catch_solib)
2812         (breakpoint_hit_catch_solib, check_status_catch_solib)
2813         (print_it_catch_solib, print_one_catch_solib)
2814         (print_mention_catch_solib, print_recreate_catch_solib): New
2815         functions.
2816         (catch_solib_breakpoint_ops): New global.
2817         (catch_load_or_unload, catch_load_command_1)
2818         (catch_unload_command_1): New functions.
2819         (internal_bkpt_check_status): Add special case for
2820         bp_shlib_event.
2821         (internal_bkpt_print_it): Use print_solib_event.
2822         (initialize_breakpoint_ops): Initialize
2823         catch_solib_breakpoint_ops.
2824         (_initialize_breakpoint): Register "catch load" and "catch
2825         unload".
2826         * breakpoint.h (handle_solib_event): Declare.
2827         * NEWS: Add entry for "catch load" and "catch unload".
2828
2829 2012-01-24  Tom Tromey  <tromey@redhat.com>
2830
2831         * ada-lang.c: Include gdb_vecs.h.
2832         * charset.c: Include gdb_vecs.h.
2833         * tracepoint.h: Include gdb_vecs.h.
2834         * gdb_vecs.h: New file.
2835
2836 2012-01-24  Pedro Alves  <pedro@codesourcery.com>
2837
2838         * breakpoint.c (breakpoint_hit_catch_fork)
2839         (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
2840         (breakpoint_hit_catch_exec): Make use of the `ws' argument.
2841         * infrun.c (inferior_has_forked, inferior_has_vforked)
2842         (inferior_has_execd, inferior_has_called_syscall): Delete.
2843         (handle_syscall_event): Get syscall_number from the execution
2844         control state's wait status.
2845         (wait_for_inferior): Don't clear syscall_number.
2846
2847 2012-01-24  Pedro Alves  <palves@redhat.com>
2848
2849         * breakpoint.c (bpstat_check_location, bpstat_stop_status,
2850         pc_at_non_inline_function): Add `ws' parameter, and pass it down.
2851         (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
2852         (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
2853         `ws' parameter.
2854         (breakpoint_hit_ranged_breakpoint): Add `ws' parameter.  Return
2855         false for events other than TARGET_SIGNAL_TRAP.
2856         (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
2857         Add `ws' parameter.
2858         (bkpt_breakpoint_hit): Add `ws' parameter.  Return false for
2859         events other than TARGET_SIGNAL_TRAP.
2860         (tracepoint_breakpoint_hit): Add `ws' parameter.
2861         * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
2862         parameter.
2863         (bpstat_stop_status): Same.
2864         (pc_at_non_inline_function): Same.
2865         * infrun.c (handle_syscall_event, handle_inferior_event): Adjust
2866         to pass the current event's waitstatus to bpstat_stop_status
2867         and pc_at_non_inline_function.
2868
2869 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2870
2871         Code cleanup.
2872         * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
2873         Update the function comment for it.
2874         (source_script_with_search): Call make_cleanup_fclose for STREAM.
2875         * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
2876         for STREAM.
2877
2878 2012-01-24  Pedro Alves  <palves@redhat.com>
2879
2880         * breakpoint.c (bpstat_stop_status): Moving clearing print_it
2881         outside `bs->stop' block.
2882         (bpstat_what): Rework bp_shlib_event handling.
2883         (internal_bkpt_check_status): If the breakpoint is a
2884         bp_shlib_event, then set bs->stop and bs->print if
2885         stop_on_solib_events is set.
2886
2887 2012-01-24  Gary Benson  <gbenson@redhat.com>
2888
2889         Delete #if 0'd out code.
2890         * stack.c (print_frame_label_vars): Remove.
2891         (catch_info): Likewise.
2892         (_initialize_stack): Remove "info catch" command.
2893         * NEWS: Mention the above.
2894
2895 2012-01-24  Pedro Alves  <palves@redhat.com>
2896
2897         * remote.c (remote_add_inferior): New `fake_pid_p' parameter.  Use
2898         it.
2899         (remote_notice_new_inferior): If the remote end doesn't support
2900         the multiprocess extensions, then the PID is fake.
2901         (add_current_inferior_and_thread): New.
2902         (remote_start_remote): Use it.
2903         (extended_remote_attach_1): Adjust.
2904         (extended_remote_create_inferior_1): Use
2905         add_current_inferior_and_thread.
2906
2907 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2908
2909         Fix watchpoints to be specific for each inferior.
2910         * breakpoint.c (watchpoint_in_thread_scope): Verify also
2911         current_program_space.
2912         * i386-nat.c (i386_inferior_data_cleanup): New.
2913         (i386_inferior_data_get): Replace variable inf_data_local by an
2914         inferior_data call.
2915         (i386_use_watchpoints): Initialize i386_inferior_data.
2916         * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
2917         specific iterate_over_lwps.
2918
2919 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2920
2921         Fix watchpoints across inferior fork.
2922         * amd64-linux-nat.c (update_debug_registers_callback): Update the
2923         comment for linux_nat_iterate_watchpoint_lwps.
2924         (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
2925         linux_nat_iterate_watchpoint_lwps.
2926         (amd64_linux_prepare_to_resume): New comment on Linux kernel.
2927         * i386-linux-nat.c (update_debug_registers_callback): Update the
2928         comment for linux_nat_iterate_watchpoint_lwps.
2929         (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
2930         linux_nat_iterate_watchpoint_lwps.
2931         (i386_linux_prepare_to_resume): New comment on Linux kernel.
2932         * i386-nat.c: Include inferior.h.
2933         (dr_mirror): Remove.
2934         (i386_inferior_data, struct i386_inferior_data)
2935         (i386_inferior_data_get): New.
2936         (i386_debug_reg_state): Use i386_inferior_data_get.
2937         (i386_cleanup_dregs, i386_update_inferior_debug_regs)
2938         (i386_insert_watchpoint, i386_remove_watchpoint)
2939         (i386_stopped_data_address, i386_insert_hw_breakpoint)
2940         (i386_remove_hw_breakpoint): New variable state, use
2941         i386_debug_reg_state instead of DR_MIRROR.
2942         * linux-nat.c (delete_lwp): New declaration.
2943         (num_lwps): Move here from downwards.
2944         (delete_lwp_cleanup): New.
2945         (linux_child_follow_fork): Create new child_lp, call
2946         linux_nat_new_thread and linux_nat_prepare_to_resume before calling
2947         PTRACE_DETACH.
2948         (num_lwps): Move upwards.
2949         (linux_nat_iterate_watchpoint_lwps): New.
2950         * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
2951         (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
2952
2953 2012-01-24  Joel Brobecker  <brobecker@adacore.com>
2954
2955         GDB 7.4 released.
2956
2957 2012-01-23  Pedro Alves  <palves@redhat.com>
2958
2959         * top.c (caution): Rename to ...
2960         (confirm): ... this.
2961         (show_caution): Rename to ...
2962         (show_confirm): ... this.
2963         (quit_cover): Adjust.
2964         (init_main): Adjust.
2965         * top.h (caution): Rename to ...
2966         (confirm): ... this.
2967         * utils.c (internal_vproblem, defaulted_query): Adjust.
2968
2969 2012-01-23  Pedro Alves  <palves@redhat.com>
2970
2971         * top.c (caution): Update comment.
2972         (execute_command): Don't consider the current value of `caution'.
2973
2974 2012-01-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2975
2976         * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
2977
2978 2012-01-23  Ulrich Weigand  <ulrich.weigand@linaro.org>
2979
2980         * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2981         * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
2982         * target.c (target_fileio_pwrite): Remove buffer address from
2983         debug output.
2984         (target_fileio_pread): Likewise.
2985
2986 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
2987
2988         * NEWS: Document remote "info proc" and "generate-core-file".
2989
2990 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
2991
2992         * gdbarch.sh (find_memory_regions): New callback.
2993         * gdbarch.c, gdbarch.h: Regenerate.
2994
2995         * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
2996         callback before falling back to target method.
2997
2998         * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
2999         (linux_target_install_ops): No longer install it.
3000
3001         * linux-tdep.c (linux_find_memory_regions): New function.
3002         (linux_init_abi): Install it.
3003
3004 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
3005
3006         * gdbarch.sh (make_corefile_notes): New architecture callback.
3007         * gdbarch.c: Regenerate.
3008         * gdbarch.h: Likewise.
3009
3010         * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
3011         before target_make_corefile_notes.  If NULL is returned, the
3012         target does not support core file generation.
3013
3014         * linux-nat.c: Include "linux-tdep.h".
3015         (find_signalled_thread, find_stop_signal): Remove.
3016         (linux_nat_do_thread_registers): Likewise.
3017         (struct linux_nat_corefile_thread_data): Likewise.
3018         (linux_nat_corefile_thread_callback): Likewise.
3019         (iterate_over_spus): Likewise.
3020         (struct linux_spu_corefile_data): Likewise.
3021         (linux_spu_corefile_callback): Likewise.
3022         (linux_spu_make_corefile_notes): Likewise.
3023         (linux_nat_collect_thread_registers): New function.
3024         (linux_nat_make_corefile_notes): Replace contents by call to
3025         linux_make_corefile_notes passing linux_nat_collect_thread_registers
3026         as native-only callback.
3027
3028         * linux-tdep.h: Include "bfd.h".
3029         (struct regcache): Add forward declaration.
3030         (linux_collect_thread_registers_ftype): New typedef.
3031         (linux_make_corefile_notes): Add prototype.
3032         * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
3033         "regset.h", and "elf-bfd.h".
3034         (find_signalled_thread, find_stop_signal): New functions.
3035         (linux_spu_make_corefile_notes): Likewise.
3036         (linux_collect_thread_registers): Likewise.
3037         (struct linux_corefile_thread_data): New data structure.
3038         (linux_corefile_thread_callback): New funcion.
3039         (linux_make_corefile_notes): Likewise.
3040         (linux_make_corefile_notes_1): Likewise.
3041         (linux_init_abi): Install it.
3042
3043 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
3044
3045         * gdbarch.sh (info_proc): New callback.
3046         * gdbarch.c, gdbarch.h: Regenerate.
3047
3048         * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
3049         before falling back to the target info_proc callback.
3050
3051         * linux-nat.c: Do not include "cli/cli-utils.h".
3052         (linux_nat_info_proc): Remove.
3053         (linux_target_install_ops): No longer install it.
3054
3055         * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
3056         (read_mapping): New function.
3057         (linux_info_proc): Likewise.
3058         (linux_init_abi): Install it.
3059
3060 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
3061
3062         * defs.h (enum info_proc_what): Moved here from linux-nat.c
3063         * infcmd.c: (info_proc_cmd_1): New function.
3064         (info_proc_cmd): New function, moved here from equivalent routine
3065         orignally in linux-nat.c.
3066         (info_proc_cmd_mappings): Likewise.
3067         (info_proc_cmd_stat): Likewise.
3068         (info_proc_cmd_status): Likewise.
3069         (info_proc_cmd_cwd): Likewise.
3070         (info_proc_cmd_cmdline): Likewise.
3071         (info_proc_cmd_exe): Likewise.
3072         (info_proc_cmd_all): Likewise.
3073         (_initialize_infcmd): Install "info proc" command and subcommands.
3074
3075         * target.h (struct target_ops): Add to_info_proc.
3076         (target_info_proc): Add prototype.
3077         * target.c (target_info_proc): New function.
3078
3079         * procfs.c (procfs_info_proc): Add prototype.
3080         (info_proc_cmd): Rename into ...
3081         (procfs_info_proc): ... this.  Update argument types as appropriate
3082         for a to_info_proc implementation.  Handle "what" argument.
3083         (procfs_target): Install procfs_info_proc.
3084         (_initialize_procfs): No longer install "info proc" command.
3085
3086         * linux-nat.c: (enum info_proc_what): Remove.
3087         (linux_nat_info_proc_cmd_1): Rename into ...
3088         (linux_nat_info_proc): ... this.  Update argument types as appropriate
3089         for a to_info_proc implementation.
3090         (linux_nat_info_proc_cmd): Remove.
3091         (linux_nat_info_proc_cmd_mappings): Likewise.
3092         (linux_nat_info_proc_cmd_stat): Likewise.
3093         (linux_nat_info_proc_cmd_status): Likewise.
3094         (linux_nat_info_proc_cmd_cwd): Likewise.
3095         (linux_nat_info_proc_cmd_cmdline): Likewise.
3096         (linux_nat_info_proc_cmd_exe): Likewise.
3097         (linux_nat_info_proc_cmd_all): Likewise.
3098         (linux_target_install_ops): Install linux_nat_info_proc.
3099         (_initialize_linux_nat): No longer install "info proc" command
3100         and subcommands.
3101
3102 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
3103
3104         * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
3105         * config.in, configure: Regenerate.
3106
3107         * target.h (struct target_ops): Add to_fileio_readlink.
3108         (target_fileio_readlink): Add prototype.
3109         * target.c (target_fileio_readlink): New function.
3110
3111         * inf-child.c: Conditionally include <sys/param.h>.
3112         (inf_child_fileio_readlink): New function.
3113         (inf_child_target): Install it.
3114
3115         * remote.c (PACKET_vFile_readlink): New enum value.
3116         (remote_hostio_readlink): New function.
3117         (init_remote_ops): Install it.
3118         (_initialize_remote): Handle vFile:readlink packet type.
3119
3120 2012-01-20  Pedro Alves  <palves@redhat.com>
3121             Ulrich Weigand  <ulrich.weigand@linaro.org>
3122
3123         * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
3124         * config.in, configure: Regenerate.
3125
3126         * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
3127         to_fileio_pread, to_fileio_close, to_fileio_unlink.
3128         (target_fileio_open): Add prototype.
3129         (target_fileio_pwrite): Likewise.
3130         (target_fileio_pread): Likewise.
3131         (target_fileio_close): Likewise.
3132         (target_fileio_unlink): Likewise.
3133         (target_fileio_read_alloc): Likewise.
3134         (target_fileio_read_stralloc): Likewise.
3135
3136         * target.c: Include "gdb/fileio.h".
3137         (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
3138         (default_fileio_target): New function.
3139         (target_fileio_open): Likewise.
3140         (target_fileio_pwrite): Likewise.
3141         (target_fileio_pread): Likewise.
3142         (target_fileio_close): Likewise.
3143         (target_fileio_unlink): Likewise.
3144         (target_fileio_close_cleanup): Likewise.
3145         (target_fileio_read_alloc_1): Likewise.
3146         (target_fileio_read_alloc): Likewise.
3147         (target_fileio_read_stralloc): Likewise.
3148
3149         * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
3150         <fcntl.h>, and <unistd.h>.
3151         (inf_child_fileio_open_flags_to_host): New function.
3152         (inf_child_errno_to_fileio_error): Likewise.
3153         (inf_child_fileio_open): Likewise.
3154         (inf_child_fileio_pwrite): Likewise.
3155         (inf_child_fileio_pread): Likewise.
3156         (inf_child_fileio_close): Likewise.
3157         (inf_child_fileio_unlink): Likewise.
3158         (inf_child_target): Install to_fileio routines.
3159
3160         * remote.c (init_remote_ops): Install to_fileio routines.
3161
3162 2012-01-20  Pedro Alves  <palves@redhat.com>
3163             Ulrich Weigand  <ulrich.weigand@linaro.org>
3164
3165         * remote.c (remote_multi_process_p): Only check for multi-process
3166         protocol feature, do not check for extended protocol.
3167         (remote_supports_multi_process): Check for extended protocol here.
3168         (set_general_process): Likewise.
3169         (extended_remote_kill): Likewise.
3170         (remote_pid_to_str): Likewise.
3171         (remote_query_supported): Always query multiprocess mode.
3172
3173 2012-01-20  Pedro Alves  <palves@redhat.com>
3174             Ulrich Weigand  <ulrich.weigand@linaro.org>
3175
3176         * inferior.h (struct inferior): Add fake_pid_p.
3177         * inferior.c (exit_inferior_1): Clear fake_pid_p.
3178         * remote.c (remote_start_remote): Set fake_pid_p if we have to use
3179         magic_null_ptid since the remote side doesn't provide a real PID.
3180
3181 2012-01-19  Tom Tromey  <tromey@redhat.com>
3182
3183         * NEWS: Combine the two Python sections.
3184
3185 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3186
3187         * target.h (target_close): Update comment on the target's unpush state.
3188
3189 2012-01-19  Pedro Alves  <palves@redhat.com>
3190
3191         * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
3192         linux_nat_async directly instead of going through the target
3193         vector.
3194         * target.c (unpush_target): Close target after unpushing it, not
3195         before.
3196
3197 2012-01-19  Gary Benson  <gbenson@redhat.com>
3198
3199         * mdebugread.c (sort_blocks): Replace integer constants with ones
3200         derived from FIRST_LOCAL_BLOCK.
3201
3202 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3203             Jan Kratochvil  <jan.kratochvil@redhat.com>
3204
3205         PR gdb/9538
3206         * symfile.c (find_separate_debug_file): New function.
3207         (terminate_after_last_dir_separator): Likewise.
3208         (find_separate_debug_file_by_debuglink): Also try realpath.
3209         * configure.ac (AC_CHECK_FUNCS): Add lstat.
3210         * configure: Regenerate.
3211         * config.in: Regenerate.
3212
3213 2012-01-18  Doug Evans  <dje@google.com>
3214
3215         * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
3216         (main.o): Remove rule.
3217         * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
3218         (--with-sysroot): Rewrite.
3219         * configure: Regenerate.
3220         * config.in: Regenerate.
3221
3222 2012-01-18  Sergio Durigan Junior  <sergiodj@redhat.com>
3223
3224         * parse.c (initialize_expout): New function.
3225         (reallocate_expout): Likewise.
3226         (parse_exp_in_context): Use `initialize_expout' and
3227         `reallocate_expout' when appropriate.
3228
3229 2012-01-18  Pedro Alves  <palves@redhat.com>
3230
3231         * record.c (struct record_breakpoint, record_breakpoint_p)
3232         (record_breakpoints): New.
3233         (record_insert_breakpoint, record_remove_breakpoint): Manage
3234         record breakpoints list.  Only remove breakpoints from the
3235         inferior if they had been inserted there in the first place.
3236
3237 2012-01-17  Doug Evans  <dje@google.com>
3238
3239         * linespec.c (decode_line_internal): Don't call symtabs_from_filename
3240         if we know we don't have a file name to look for.
3241
3242 2012-01-17  Pedro Alves  <palves@redhat.com>
3243
3244         * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
3245         the frame's stop reason is UNWIND_UNAVAILABLE.
3246
3247 2012-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3248
3249         Fix compilation error.
3250         * m2-exp.y (yyerror): Use ANSI C prototype.
3251
3252 2012-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
3253
3254         * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
3255         (growbuf_by_size): Likewise.
3256         (yyerror): Likewise.
3257         * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
3258         (modblock): Remove variable (was #if 0'ed).
3259         (parse_number): Convert prototype from K&R to ANSI C.
3260         (yyerror): Likewise.
3261         * objc-exp.y (parse_number): Likewise.
3262         (yyerror): Likewise.
3263         (yylex): Remove #if 0'ed code.
3264         * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
3265         (yyerror): Likewise.
3266
3267 2012-01-16  Tom Tromey  <tromey@redhat.com>
3268
3269         * NEWS: Add item.
3270         * symtab.h (compare_filenames_for_search): Declare.
3271         * symtab.c (compare_filenames_for_search): New function.
3272         (iterate_over_some_symtabs): Use it.
3273         * symfile.h (struct quick_symbol_functions)
3274         <map_symtabs_matching_filename>: Change spec.
3275         * psymtab.c (partial_map_symtabs_matching_filename): Use
3276         compare_filenames_for_search.  Update for new spec.
3277         * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
3278         compare_filenames_for_search.  Update for new spec.
3279         * breakpoint.c (clear_command): Use compare_filenames_for_search.
3280
3281 2012-01-16  Tom Tromey  <tromey@redhat.com>
3282
3283         PR python/13281:
3284         * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
3285         (struct main_type) <flag_flag_enum>: New field.
3286         * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
3287         * NEWS: Add entries.
3288         * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
3289         enums.
3290         * python/lib/gdb/printing.py (_EnumInstance): New class.
3291         (FlagEnumerationPrinter): Likewise.
3292
3293 2012-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
3294
3295         * breakpoint.c (create_sals_from_address_default): New function.
3296         (create_breakpoints_sal_default): Likewise.
3297         (decode_linespec_default): Likewise.
3298         (is_marker_spec): Removed.
3299         (strace_marker_p): New function.
3300         (init_breakpoint_sal): Using `strace_marker_p' instead of
3301         `is_marker_spec'.
3302         (create_breakpoint): Call method `create_sals_from_address' from
3303         breakpoint_ops, replacing code that created SALs conditionally
3304         on the type of the breakpoint.  Call method `create_breakpoints_sal',
3305         replacing code that created breakpoints conditionally on the type
3306         wanted.
3307         (base_breakpoint_create_sals_from_address): New function.
3308         (base_breakpoint_create_breakpoints_sal): Likewise.
3309         (base_breakpoint_decode_linespec): Likewise.
3310         (base_breakpoint_ops): Add methods
3311         `base_breakpoint_create_sals_from_address',
3312         `base_breakpoint_create_breakpoints_sal' and
3313         `base_breakpoint_decode_linespec'.
3314         (bkpt_create_sals_from_address): New function.
3315         (bkpt_create_breakpoints_sal): Likewise.
3316         (bkpt_decode_linespec): Likewise.
3317         (tracepoint_create_sals_from_address): Likewise.
3318         (tracepoint_create_breakpoints_sal): Likewise.
3319         (tracepoint_decode_linespec): Likewise.
3320         (strace_marker_create_sals_from_address): Likewise.
3321         (strace_marker_create_breakpoints_sal): Likewise.
3322         (strace_marker_decode_linespec): Likewise.
3323         (strace_marker_breakpoint_ops): New variable.
3324         (addr_string_to_sals): Remove `marker_spec'.  Call method
3325         `decode_linespec' from breakpoint_ops, replacing code that decoded
3326         an address string into a SAL.  Use `strace_marker_p' instead of
3327         `marker_spec'.
3328         (strace_command): Decide whether we are dealing with a static
3329         tracepoint with marker or not.  Use the appropriate breakpoint_ops.
3330         (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
3331         * breakpoint.h (linespec_result, linespec_sals): New forward
3332         declarations.
3333         (breakpoint_ops) <create_sals_from_address>,
3334         <create_breakpoints_sal>, <decode_linespec>: New methods.
3335
3336 2012-01-14  Doug Evans  <dje@google.com>
3337
3338         * NEWS: Update text for "maint set python print-stack".
3339         It is deprecated in gdb 7.4 and deleted in 7.5.
3340
3341 2012-01-13  Eli Zaretskii  <eliz@gnu.org>
3342
3343         * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
3344         including curses.h.
3345
3346 2012-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3347
3348         * configure: Regenerate.
3349         * config.in: Regenerate.
3350
3351 2012-01-12  Keith Seitz  <keiths@redhat.com>
3352
3353         PR mi/10586
3354         * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
3355         (ANONYMOUS_UNION_NAME): Define.
3356         (is_path_expr_parent): New function.
3357         (get_path_expr_parent): New function.
3358         (is_anonymous_child): New function.
3359         (create_child_with_value): If the child is anonymous and without
3360         a name, assign an object name to it.
3361         (c_describe_child): Use get_path_expr_parent to determine
3362         the parent expression.
3363         If there field represents an anonymous struct or union and
3364         has no name, set an appropriate display name and expression.
3365         (cplus_describe_child): Likewise.
3366
3367 2012-01-12  Pedro Alves  <palves@redhat.com>
3368
3369         * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
3370         available when %ebp is found to be zero (outermost).
3371
3372 2012-01-11  Andreas Tobler  <andreast@fgznet.ch>
3373
3374         * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
3375         an internal gdb_static_assert.
3376         * mi/mi-common.c: Rename static_assert to gdb_static_assert.
3377
3378 2012-01-11  Tom Tromey  <tromey@redhat.com>
3379
3380         PR gdb/9598:
3381         * breakpoint.c (_initialize_breakpoint): Fix help for "catch
3382         catch" and "catch throw".
3383
3384 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
3385
3386         * blockframe.c (block_innermost_frame): Start search from selected
3387         frame, if present, or otherwise the current frame.
3388
3389         * c-exp.y (variable): Update innermost_block for
3390         'block COLONCOLON NAME' clause.
3391         * m2-exp.y (variable): Ditto.
3392         * objc-exp.y (variable): Ditto.
3393
3394 2012-01-10  Tom Tromey  <tromey@redhat.com>
3395
3396         PR python/13199:
3397         * python/python.c (finish_python_initialization): Set sys.argv.
3398
3399 2012-01-10  Doug Evans  <dje@google.com>
3400
3401         * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd".  New arg
3402         "want_line_info".  All callers updated.
3403         (dwarf_decode_lines_1): New function.
3404         (handle_DW_AT_stmt_list): Add function comment.
3405         New arg "want_line_info".  All callers updated.
3406         (read_file_scope,read_type_unit_scope): Move comment from
3407         handle_DW_AT_stmt_list to here.
3408
3409 2012-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3410
3411         Fix regression after libiberty/ update for GCC PR 6057 and others.
3412         * c-exp.y (operator) <OPERATOR DELETE>
3413         (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
3414         * cp-name-parser.y (fill_comp, make_operator, make_dtor)
3415         (make_builtin_type, make_name): New variable i, add gdb_assert.
3416         (operator) <OPERATOR NEW>: Update ARGS to 3.
3417         (operator) <OPERATOR DELETE>: Add trailing space.
3418         (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
3419         (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
3420         * cp-support.c (cp_canonicalize_string): Check NULL from
3421         cp_comp_to_string, call warning and return.
3422
3423 2012-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3424
3425         Fix duplicate .o files after omitting libbfd.a.
3426         * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
3427         (SFILES): Add corelow.c.
3428         (COMMON_OBS): Add corelow.o.
3429         (ALLDEPFILES): Remove corelow.c.
3430         * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
3431         * config/alpha/alpha-osf3.mh: Likewise.
3432         * config/alpha/fbsd.mh: Likewise.
3433         * config/arm/nbsdaout.mh: Likewise.
3434         * config/arm/nbsdelf.mh: Likewise.
3435         * config/i386/i386gnu.mh: Likewise.
3436         * config/ia64/hpux.mh: Likewise.
3437         * config/ia64/linux.mh: Likewise.
3438         * config/m32r/linux.mh: Likewise.
3439         * config/m68k/linux.mh: Likewise.
3440         * config/mips/irix5.mh: Likewise.
3441         * config/mips/irix6.mh: Likewise.
3442         * config/pa/hpux.mh: Likewise.
3443         * config/pa/linux.mh: Likewise.
3444         * config/powerpc/aix.mh: Likewise.
3445         * config/sparc/linux.mh: Likewise.
3446         * config/sparc/linux64.mh: Likewise.
3447         * config/sparc/sol2.mh: Likewise.
3448         * config/vax/vax.mh: Likewise.
3449         * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
3450         (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
3451         (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
3452         (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
3453         (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
3454         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
3455         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
3456         (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
3457         (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
3458         (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
3459         (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
3460         (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
3461         (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
3462         (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
3463         (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
3464         (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
3465         (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
3466         (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
3467         (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
3468         (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
3469         (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
3470         (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
3471         corelow.o from gdb_target_obs.
3472         * corefile.c (core_target): Update the comment on NULL value.
3473         (core_file_command): Replace error by gdb_assert on CORE_TARGET.
3474         * corelow.c (sniff_core_bfd): Call error instead of warning on zero
3475         MATCHES.  Drop YUMMY set on NULL.
3476         (core_close): Do not call exit_inferior_silent on zero PID.  Do not
3477         reclaim CORE_DATA if it is already NULL.
3478
3479 2012-01-09  Doug Evans  <dje@google.com>
3480
3481         * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
3482         * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
3483
3484 2012-01-09  Keith Seitz  <keiths@redhat.com>
3485
3486         * breakpoint.c (wrapper.h): Don't include.
3487
3488 2012-01-09  Keith Seitz  <keiths@redhat.com>
3489
3490         * Makefile.in (SFILES): Remove wrapper.c.
3491         (HFILES_NO_SRCDIR): Remove wrapper.h.
3492         (COMMON_OBS): Remove wrapper.o.
3493         * cli/cli-interp.c: Don't inlude wrapper.h.
3494         * corelow.c: Likewise.
3495         (core_open): Replace gdb_target_find_new_threads with
3496         TRY_CATCH around target_find_new_threads.
3497         * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
3498         * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
3499         * varobj.c (varobj_create): Likewise for parse_exp_1 and
3500         evaluate_expression.
3501         (varobj_set_value): Likewise for evaluate_expression and
3502         value_assign.
3503         (install_new_variable): Likewise for value_fetch_lazy.
3504         (adjust_value_for_child_access): Likewise for value_ind.
3505         (c_describe_child): Likewise for value_subscript and
3506         value_ind.
3507         (c_value_of_root): Likewise for evaluate_expression.
3508         * wrapper.c: Remove.
3509         * wrapper.h: Remove.
3510
3511 2012-01-09  Doug Evans  <dje@google.com>
3512
3513         * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
3514         partial_read_comp_unit_head.  Replace "buffer", "buffer_size" and
3515         "abfd" args with "section".  All callers updated.
3516         Error checking code moved ...
3517         (error_check_comp_unit_head): ... here.  New function.
3518         (read_and_check_type_unit_head): Renamed from read_type_unit_head.
3519         Delete arg "abfd".  New arg "type_offset".  All callers updated.
3520         (create_debug_types_hash_table): Simplify by using
3521         read_and_check_type_unit_head.
3522
3523         * parser-defs.h (namecopy): Delete.
3524         * parse.c (namecopy, namecopy_size): Move into copy_name.
3525
3526 2012-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3527
3528         Partially fix duplicate .o files after omitting libbfd.a.
3529         * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
3530         * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
3531         * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
3532         * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
3533         * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
3534         * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
3535         * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
3536
3537 2012-01-09  Pedro Alves  <palves@redhat.com>
3538
3539         * MAINTAINERS: Update my email address.
3540
3541 2012-01-08  Doug Evans  <dje@google.com>
3542
3543         * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
3544         n_type_units.  Rename type_comp_units to all_type_units.
3545         All uses updated.
3546         (add_signatured_type_cu_to_table): Renamed from
3547         add_signatured_type_cu_to_list.  All callers updated.
3548
3549         * gdbtypes.h (struct cplus_struct_type): Delete member
3550         nfn_fields_total.  All uses removed.
3551
3552 2012-01-06  Doug Evans  <dje@google.com>
3553
3554         * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
3555         to top of file.
3556         (dwarf2_find_comp_unit): Delete.
3557         (process_psymtab_comp_unit): Make result "void".
3558         Delete args buffer, info_ptr, buffer_size, and replace with
3559         "section".  All callers updated.
3560         (dwarf2_build_psymtabs_hard): Simplify.
3561
3562 2012-01-06  Sergio Durigan Junior  <sergiodj@redhat.com>
3563             Thiago Jung Bauermann  <bauerman@br.ibm.com>
3564
3565         * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
3566         before `struct gdb_exception'.
3567         * breakpoint.c (update_global_location_list_nothrow)
3568         (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
3569         * cp-abi.c (value_rtti_type): Likewise.
3570         * cp-support.c (cp_validate_operator): Likewise.
3571         * infrun.c (insert_exception_resume_breakpoint)
3572         (check_exception_resume, keep_going): Likewise.
3573         * mi-interp.c (mi_breakpoint_created)
3574         (mi_breakpoint_modified): Likewise.
3575         * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
3576         * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
3577         (ia64_hpux_handle_dld_breakpoint_1): Likewise.
3578
3579 2012-01-05  Doug Evans  <dje@google.com>
3580
3581         * dwarf2read.c (statement_prologue): Delete, unused.
3582
3583         * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
3584         * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
3585
3586         * dwarf2read.c (comp_unit_header): Delete, unused.
3587
3588 2012-01-05  Ulrich Weigand  <uweigand@de.ibm.com>
3589
3590         * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
3591         * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
3592
3593 2012-01-05  Khoo Yit Phang  <khooyp@cs.umd.edu>
3594
3595         * infrun.c (normal_stop): Don't skip calling the normal_stop
3596         observers if the thread was doing a multi-step, but stopped for
3597         some reason other than stepping.
3598
3599 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
3600
3601         * cli/cli-decode.h: Add comments.
3602         (CMD_LIST_AMBIGUOUS): Moved to command.h
3603         (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
3604         (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
3605         (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
3606         (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
3607         (add_com, add_com_alias, add_info, add_info_alias)
3608         (complete_on_cmdlist, complete_on_enum, help_list): Remove
3609         declarations.
3610         * command.h: Add and adjust comments.
3611         (CMD_LIST_AMBIGUOUS): Moved here.
3612         (help_cmd, help_cmd_list): Delete declarations.
3613
3614 2012-01-04  Doug Evans  <dje@google.com>
3615
3616         * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
3617         All callers updated.
3618         (load_full_type_unit): Renamed from read_signatured_type_at_offset.
3619         Replace all arguments with "per_cu".  All callers updated.
3620
3621         * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
3622
3623         * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
3624         New arg "per_cu".  All callers updated.
3625
3626         Delete #if 0'd out code.
3627         * language.c (binop_result_type): Delete.
3628         (simple_type, ordered_type, same_type, integral_type): Delete.
3629         (numeric_type, character_type, string_type, boolean_type): Delete.
3630         (float_type, structured_type): Delete.
3631         * language.h: Update.
3632
3633 2012-01-04  Tom Tromey  <tromey@redhat.com>
3634
3635         * python/py-value.c (valpy_binop): Initialize 'res_val'.
3636
3637 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3638
3639         * corefile.c (close_exec_file): Delete.
3640         (reopen_exec_file): Remove commented out code that seems related
3641         to close_exec_file, which is being deleted here.
3642         * inferior.h (close_exec_file): Delete.
3643         * fork-child.c (fork_inferior): Remove call to fork_inferior.
3644
3645 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3646
3647         * ada-lang.c: #include "cli/cli-utils.h".
3648         (get_selections): Use skip_spaces.
3649         (ada_get_next_arg): Use skip_spaces and skip_to_space.
3650         (catch_ada_exception_command_split): Use skip_spaces.
3651         (ada_decode_assert_location): Likewise.
3652
3653 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3654
3655         * linespec.c (decode_line_internal): Check for C++ or Java
3656         compound constructs only if the current language is C, C++
3657         or Java.
3658
3659 2012-01-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3660
3661         Revert:
3662         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3663                     Joel Brobecker  <brobecker@adacore.com>
3664         Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
3665         * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
3666         3 times.
3667         * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
3668         fall through into AT_ENTRY_POINT.
3669         (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len.  Adjust
3670         DUMMY_ADDR with it.
3671         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
3672         PPC_INSN_SIZE skip to 3 times.
3673
3674 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3675
3676         * linespec.c (add_minsym): Preserve function descriptors.
3677
3678 2012-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
3679
3680         * breakpoint.c (all_locations_are_pending): Consider locations
3681         in program spaces executing during startup pending as well.
3682
3683 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3684
3685         Copyright year update in most files of the GDB Project.
3686
3687 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3688
3689         * copyright.sh: Delete.
3690         * copyright.py: Rewrite.
3691
3692 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3693
3694         * gnulib/extra/update-copyright: New file, imported from gnulib.
3695
3696 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
3697
3698         * README (Copyright and License Notices): New section.
3699
3700 2012-01-03  Tom Tromey  <tromey@redhat.com>
3701
3702         PR python/12533:
3703         * python/py-value.c (valpy_dereference, valpy_get_address
3704         valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
3705         (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
3706         (valpy_absolute, valpy_richcompare): Free intermediate values.
3707
3708 2011-01-03  Joel Brobecker  <brobecker@adacore.com>
3709
3710         * ada-lang.c: Reformat the copyright notice.
3711
3712 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3713
3714         * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
3715         * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
3716         (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
3717         (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
3718         Revert this part of:
3719         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3720         Build gdb directly from *.o files not using libgdb.a.
3721         * Makefile.in (COMMON_OBS): Remove solib-target.o.
3722
3723 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
3724
3725         * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
3726         gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
3727         Reformat the copyright header.
3728
3729 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3730
3731         Revert this part of:
3732         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3733         Remove the gdbtui binary.
3734         * gdb.c (main): Remove args.interpreter_p initialization.
3735         * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
3736         * main.h (struct captured_main_args): Remove interpreter_p.
3737
3738 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
3739
3740         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
3741
3742 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
3743
3744         * top.c (print_gdb_version): Update copyright year.
3745
3746 2012-01-02  Yao Qi  <yao@codesourcery.com>
3747
3748         * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
3749
3750 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3751             Joel Brobecker  <brobecker@adacore.com>
3752
3753         Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
3754         * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
3755         3 times.
3756         * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
3757         fall through into AT_ENTRY_POINT.
3758         (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len.  Adjust
3759         DUMMY_ADDR with it.
3760         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
3761         PPC_INSN_SIZE skip to 3 times.
3762
3763 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3764
3765         * amd64-linux-nat.c (update_debug_registers_callback): New comment on
3766         the return value.
3767         * i386-linux-nat.c (update_debug_registers_callback): Likewise.
3768
3769 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3770
3771         Build gdb directly from *.o files not using libgdb.a.
3772         * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
3773         (COMMON_OBS): Remove solib-target.o.
3774         (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
3775         (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
3776         (LIBGDB_OBS, libgdb.a): Move it above.
3777         * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
3778         (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
3779         (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
3780         (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
3781         (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
3782         (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
3783         (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
3784         (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
3785         (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
3786         (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
3787         (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
3788         (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
3789         (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
3790         (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
3791         (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
3792         (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
3793         (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
3794         (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
3795         (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
3796         (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
3797         (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
3798         (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
3799         (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
3800         (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
3801         (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
3802         (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
3803         (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
3804
3805 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3806
3807         Remove the gdbtui binary.
3808         * .gitignore (/gdbtui): Remove.
3809         * Makefile.in (TUI): Remove.
3810         (SUBDIR_TUI_OBS): Remove tui-main.o.
3811         (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
3812         (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
3813         (tui-main.o): Remove.
3814         (all_object_files): Remove tui-main.o.
3815         * NEWS: New note for the gdbtui removal.
3816         * configure: Rebuilt.
3817         * configure.ac: No longer add all-tui, clean-tui, install-tui and
3818         uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
3819         CONFIG_UNINSTALL respectively.
3820         * gdb.c (main): Remove args.interpreter_p initialization.
3821         * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
3822         * main.h (struct captured_main_args): Remove interpreter_p.
3823         * tui/tui-main.c: Remove.
3824
3825 2012-01-01  Doug Evans  <dje@google.com>
3826
3827         * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
3828         (dwarf2_physname, read_import_statement): Ditto.
3829         (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
3830         (process_structure_scope read_subroutine_type): Ditto.
3831         (read_typedef, load_partial_dies, read_partial_die): Ditto.
3832         (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
3833         (dwarf2_fetch_die_location_block): Ditto.
3834         (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
3835
3836         * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
3837         All callers updated.
3838         (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
3839         (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
3840         (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
3841
3842         * dwarf2read.c (load_cu): Move assert to more useful location.
3843
3844         * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
3845         All callers updated.
3846
3847         * dwarf2read.c (dwarf2_per_objfile): Add comment.
3848         (dwarf2_elf_names): Minor reformat.
3849         (dwarf2_per_cu_data): Tweak comment.
3850         (dwarf2_read_section): Fix comment.
3851         (create_all_comp_units): Fix comment.
3852         (load_full_comp_unit): Fix comment.
3853         (process_full_comp_unit): Fix comment.
3854         (read_signatured_type): Fix comment.
3855
3856 For older changes see ChangeLog-2011.
3857 \f
3858 Local Variables:
3859 mode: change-log
3860 left-margin: 8
3861 fill-column: 74
3862 version-control: never
3863 coding: utf-8
3864 End: