Change producer_is_gcc function return type to bool.
[external/binutils.git] / gdb / ChangeLog
1 2015-02-04  Mark Wielaard  <mjw@redhat.com>
2
3         * utils.h (producer_is_gcc): Change return type to bool. Add major
4         argument.
5         * utils.c (producer_is_gcc): Likewise.
6         (producer_is_gcc_ge_4): Adjust producer_is_gcc call.
7         * dwarf2read.c (check_producer): Likewise.
8
9 2015-02-10  Pedro Alves  <palves@redhat.com>
10
11         * infrun.c (displaced_step_fixup): Switch to the event thread
12         before calling gdbarch_displaced_step_fixup.
13
14 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
15
16         * MAINTAINERS (Write After Approval): Add Antoine Tremblay.
17
18 2015-02-10  Simon Marchi  <simon.marchi@ericsson.com>
19
20         * ada-varobj.c (ada_name_of_child): Constify parent.
21         (ada_path_expr_of_child): Same.
22         (ada_value_of_child): Same.
23         (ada_type_of_child): Same.
24         * c-varobj.c (c_is_path_expr_parent): Same.
25         (c_describe_child): Same.
26         (c_name_of_child): Same.
27         (c_value_of_child): Same.
28         (c_type_of_child): Same.
29         (cplus_number_of_children): Same.
30         (cplus_describe_child): Constify var.
31         (cplus_name_of_child): Constify parent.
32         (cplus_value_of_child): Same.
33         (cplus_type_of_child): Same.
34         * jv-varobj.c (java_name_of_child): Same.
35         (java_value_of_child): Same.
36         (java_type_of_child): Same.
37         * varobj.c (value_of_child): Same.
38         (varobj_default_is_path_expr_parent): Constify var, parent and return
39         value.
40         (varobj_get_path_expr): Constify var, modify path_expr through
41         mutable_var.
42         (install_new_value): Constify parent.
43         (value_of_child): Constify parent.
44         * varobj.h (struct varobj): Constify parent.
45         (struct lang_varobj_ops): Constify name_of_child, value_of_child and
46         type_of_child.
47         (varobj_get_path_expr): Constify var.
48         (varobj_get_path_expr_parent): Constify var and return value.
49
50 2015-02-10  Luis Machado  <lgustavo@codesourcery.com>
51
52         * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
53         (arm_prologue_this_id): Move PC and SP limit checks to
54         arm_prologue_unwind_stop_reason.
55         (arm_prologue_unwind) <stop_reason> : Set to
56         arm_prologue_unwind_stop_reason.
57
58 2015-02-09  Mark Wielaard  <mjw@redhat.com>
59
60         * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
61         DW_LANG_Fortran08 as language_fortran.
62
63 2015-02-09  Sergio Durigan Junior  <sergiodj@redhat.com>
64
65         PR remote/17946
66         * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
67         of pointer against char.
68
69 2015-02-09  Mark Wielaard  <mjw@redhat.com>
70
71         * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
72         (c_type_print_modifier): Likewise.
73         * dwarf2read.c (read_tag_atomic_type): New function.
74         (read_type_die_1): Handle DW_TAG_atomic_type.
75         * gdbtypes.c (make_atomic_type): New function.
76         (recursive_dump_type): Handle TYPE_ATOMIC.
77         * gdbtypes.h (enum type_flag_values): Renumber.
78         (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
79         (TYPE_ATOMIC): New macro.
80         (make_atomic_type): Declare.
81
82 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
83
84         * btrace.c (ftrace_find_call): Skip gaps.
85         (ftrace_new_function): Initialize level.
86         (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
87         (ftrace_new_switch): Update
88         level computation.
89         (ftrace_new_gap): New.
90         (ftrace_update_function): Create new function after gap.
91         (btrace_compute_ftrace_bts): Create gap on error.
92         (btrace_stitch_bts): Update parameters.  Clear trace if it
93         becomes empty.
94         (btrace_stitch_trace): Update parameters.  Update callers.
95         (btrace_clear): Reset the number of gaps.
96         (btrace_insn_get): Return NULL if the iterator points to a gap.
97         (btrace_insn_number): Return zero if the iterator points to a gap.
98         (btrace_insn_end): Allow gaps at the end.
99         (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
100         (btrace_find_insn_by_number): Assert that the found iterator does
101         not point to a gap.
102         (btrace_call_next, btrace_call_prev): Assert that the last function
103         is not a gap.
104         * btrace.h (btrace_bts_error): New.
105         (btrace_function): Update comment.
106         (btrace_function) <insn, insn_offset, number>: Update comment.
107         (btrace_function) <errcode>: New.
108         (btrace_thread_info) <ngaps>: New.
109         (btrace_thread_info) <replay>: Update comment.
110         (btrace_insn_get): Update comment.
111         * record-btrace.c (btrace_ui_out_decode_error): New.
112         (record_btrace_info): Print number of gaps.
113         (btrace_insn_history, btrace_call_history): Call
114         btrace_ui_out_decode_error for gaps.
115         (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
116
117 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
118
119         * common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
120         * nat/linux-btrace.c: (btrace_this_cpu): New.
121         (cpu_supports_bts): Call btrace_this_cpu.
122         (intel_supports_bts): Add cpu parameter.
123
124 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
125
126         * btrace.h (btrace_insn_class): New.
127         (btrace_insn) <size, iclass>: New.
128         * btrace.c (ftrace_find_call): Update parameters.  Update users.
129         Use instruction classification.
130         (ftrace_new_return): Update parameters.  Update users.
131         (ftrace_update_function): Update parameters.  Update users.  Use
132         instruction classification.
133         (ftrace_update_insns): Update parameters.  Update users.
134         (ftrace_classify_insn): New.
135         (btrace_compute_ftrace_bts): Fill in new btrace_insn fields.  Add
136         TRY_CATCH around call to gdb_insn_length.
137
138 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
139
140         * btrace.c (btrace_compute_ftrace_bts, btrace_compute_ftrace):
141         Update parameters.  Update users.
142
143 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
144
145         * btrace.c (parse_xml_btrace_conf_bts): Add size.
146         (btrace_conf_bts_attributes): New.
147         (btrace_conf_children): Add attributes.
148         * common/btrace-common.h (btrace_config_bts): New.
149         (btrace_config)<bts>: New.
150         (btrace_config): Update comment.
151         * nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
152         Use config.
153         * features/btrace-conf.dtd: Increment version.  Add size
154         attribute to bts element.
155         * record-btrace.c (set_record_btrace_bts_cmdlist,
156         show_record_btrace_bts_cmdlist): New.
157         (record_btrace_adjust_size, record_btrace_print_bts_conf,
158         record_btrace_print_conf, cmd_set_record_btrace_bts,
159         cmd_show_record_btrace_bts): New.
160         (record_btrace_info): Call record_btrace_print_conf.
161         (_initialize_record_btrace): Add commands.
162         * remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
163         (remote_protocol_features): Add Qbtrace-conf:bts:size packet.
164         (btrace_sync_conf): Synchronize bts size.
165         (_initialize_remote): Add Qbtrace-conf:bts:size packet.
166         * NEWS: Announce new commands and new packets.
167
168 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
169
170         * Makefile.in (XMLFILES): Add btrace-conf.dtd.
171         * x86-linux-nat.c (x86_linux_enable_btrace): Update parameters.
172         (x86_linux_btrace_conf): New.
173         (x86_linux_create_target): Initialize to_btrace_conf.
174         * nat/linux-btrace.c (linux_enable_btrace): Update parameters.
175         Check format.  Split into this and ...
176         (linux_enable_bts): ... this.
177         (linux_btrace_conf): New.
178         (perf_event_skip_record): Renamed into ...
179         (perf_event_skip_bts_record): ... this.  Updated users.
180         (linux_disable_btrace): Split into this and ...
181         (linux_disable_bts): ... this.
182         (linux_read_btrace): Check format.
183         * nat/linux-btrace.h (linux_enable_btrace): Update parameters.
184         (linux_btrace_conf): New.
185         (btrace_target_info)<ptid>: Moved.
186         (btrace_target_info)<conf>: New.
187         (btrace_target_info): Split into this and ...
188         (btrace_tinfo_bts): ... this.  Updated users.
189         * btrace.c (btrace_enable): Update parameters.
190         (btrace_conf, parse_xml_btrace_conf_bts, parse_xml_btrace_conf)
191         (btrace_conf_children, btrace_conf_attributes)
192         (btrace_conf_elements): New.
193         * btrace.h (btrace_enable): Update parameters.
194         (btrace_conf, parse_xml_btrace_conf): New.
195         * common/btrace-common.h (btrace_config): New.
196         * feature/btrace-conf.dtd: New.
197         * record-btrace.c (record_btrace_conf): New.
198         (record_btrace_cmdlist): New.
199         (record_btrace_enable_warn, record_btrace_open): Pass
200         &record_btrace_conf.
201         (record_btrace_info): Print recording format.
202         (cmd_record_btrace_bts_start): New.
203         (cmd_record_btrace_start): Call cmd_record_btrace_bts_start.
204         (_initialize_record_btrace): Add "record btrace bts" subcommand.
205         Add "record bts" alias command.
206         * remote.c (remote_state)<btrace_config>: New.
207         (remote_btrace_reset, PACKET_qXfer_btrace_conf): New.
208         (remote_protocol_features): Add qXfer:btrace-conf:read.
209         (remote_open_1): Call remote_btrace_reset.
210         (remote_xfer_partial): Handle TARGET_OBJECT_BTRACE_CONF.
211         (btrace_target_info)<conf>: New.
212         (btrace_sync_conf, btrace_read_config): New.
213         (remote_enable_btrace): Update parameters.  Call btrace_sync_conf and
214         btrace_read_conf.
215         (remote_btrace_conf): New.
216         (init_remote_ops): Initialize to_btrace_conf.
217         (_initialize_remote): Add qXfer:btrace-conf packet.
218         * target.c (target_enable_btrace): Update parameters.
219         (target_btrace_conf): New.
220         * target.h (target_enable_btrace): Update parameters.
221         (target_btrace_conf): New.
222         (target_object)<TARGET_OBJECT_BTRACE_CONF>: New.
223         (target_ops)<to_enable_btrace>: Update parameters and comment.
224         (target_ops)<to_btrace_conf>: New.
225         * target-delegates: Regenerate.
226         * target-debug.h (target_debug_print_const_struct_btrace_config_p)
227         (target_debug_print_const_struct_btrace_target_info_p): New.
228         * NEWS: Announce new command and new packet.
229
230 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
231
232         * nat/linux-btrace.h (perf_event_buffer): New.
233         (btrace_target_info) <buffer, size, data_head>: Replace with ...
234         <bts>: ... this.
235         * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
236         (perf_event_buffer_size, perf_event_buffer_begin)
237         (perf_event_buffer_end, linux_btrace_has_changed): Removed.
238         Updated users.
239         (perf_event_new_data): New.
240
241 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
242
243         * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
244         * record-btrace.c (record_btrace_open): Remove call to
245         target_supports_btrace.
246         * remote.c (remote_supports_btrace): Update parameters.
247         * target.c (target_supports_btrace): Update parameters.
248         * target.h (to_supports_btrace, target_supports_btrace): Update
249         parameters.
250         * target-delegates.c: Regenerate.
251         * target-debug.h (target_debug_print_enum_btrace_format): New.
252         * nat/linux-btrace.c
253         (kernel_supports_btrace): Rename into ...
254         (kernel_supports_bts): ... this.  Update users.  Update warning text.
255         (intel_supports_btrace): Rename into ...
256         (intel_supports_bts): ... this.  Update users.
257         (cpu_supports_btrace): Rename into ...
258         (cpu_supports_bts): ... this.  Update users.
259         (linux_supports_btrace): Update parameters.  Split into this and ...
260         (linux_supports_bts): ... this.
261         * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
262
263 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
264
265         * Makefile.in (SFILES): Add common/btrace-common.c.
266         (COMMON_OBS): Add common/btrace-common.o.
267         (btrace-common.o): Add build rules.
268         * btrace.c (parse_xml_btrace): Update parameters.
269         (parse_xml_btrace_block): Set format field.
270         (btrace_add_pc, btrace_fetch): Use struct btrace_data.
271         (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
272         (btrace_compute_ftrace): Split into this and...
273         (btrace_compute_ftrace_bts): ...this.
274         (btrace_stitch_trace): Split into this and...
275         (btrace_stitch_bts): ...this.
276         * btrace.h (parse_xml_btrace): Update parameters.
277         (make_cleanup_btrace_data): New.
278         * common/btrace-common.c: New.
279         * common/btrace-common.h: Include common-defs.h.
280         (btrace_block_s): Update comment.
281         (btrace_format): New.
282         (btrace_format_string): New.
283         (btrace_data_bts): New.
284         (btrace_data): New.
285         (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
286         * remote.c (remote_read_btrace): Update parameters.
287         * target.c (target_read_btrace): Update parameters.
288         * target.h (target_read_btrace): Update parameters.
289         (target_ops)<to_read_btrace>: Update parameters.
290         * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
291         * target-delegates.c: Regenerate.
292         * target-debug (target_debug_print_struct_btrace_data_p): New.
293         * nat/linux-btrace.c (linux_read_btrace): Split into this and...
294         (linux_read_bts): ...this.
295         * nat/linux-btrace.h (linux_read_btrace): Update parameters.
296
297 2015-02-06  Doug Evans  <dje@google.com>
298
299         * remote-m32r-sdi.c: Include symfile.h.
300
301 2015-02-06  Doug Evans  <dje@google.com>
302
303         * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
304         * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
305         to here.
306
307 2015-02-06  Pedro Alves  <palves@redhat.com>
308
309         * linux-thread-db.c (find_new_threads_callback): Add debug output.
310
311 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
312
313         PR gdb/15678
314         * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
315         (enable_count_command): Check args for NULL value.
316
317 2015-02-05  Doug Evans  <xdje42@gmail.com>
318
319         * guile/scm-frame.c: Fix spelling errors in a comment.
320
321 2015-02-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
322
323         * python/python-internal.h (Py_hash_t): Define it for Python <3.2.
324         * python/py-value.c (valpy_fetch_lazy): Use it.  Remove cast to the
325         return type.
326
327 2015-02-04  Pedro Alves  <palves@redhat.com>
328
329         * linux-nat.c (handle_extended_wait): Don't resume LWPs here.
330         (wait_lwp): Don't call wait_lwp if linux_handle_extended_wait
331         returns true.
332         (resume_stopped_resumed_lwps): Don't check whether the thread is
333         marked as executing.
334         (linux_nat_wait_1): Use resume_stopped_resumed_lwps.
335
336 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
337
338         * regset.h (struct regset): Add flags field.
339         (REGSET_VARIABLE_SIZE): New value for a regset's flags field.
340         * corelow.c (get_core_register_section): Add warning if the size
341         exceeds the requested size and the regset does not have the
342         REGSET_VARIABLE_SIZE flag set.
343         * alphanbsd-tdep.c (alphanbsd_gregset): Add REGSET_VARIABLE_SIZE
344         flag.
345         * armbsd-tdep.c (armbsd_gregset): Likewise.
346         * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
347         * hppaobsd-tdep.c (hppaobsd_gregset): Likewise.
348         * m68kbsd-tdep.c (m68kbsd_gregset): Likewise.
349         * mipsnbsd-tdep.c (mipsnbsd_gregset): Likewise.
350
351 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
352
353         * amd64-linux-tdep.c (amd64_linux_iterate_over_regset_sections):
354         For ".reg-xstate", explicitly specify the requested section size
355         via X86_XSTATE_SIZE instead of just 0 on input and
356         X86_XSTATE_MAX_SIZE on output.
357         * i386-linux-tdep.c (i386_linux_iterate_over_regset_sections):
358         Likewise.
359
360 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
361
362         PR corefiles/17808:
363         * gdbarch.sh (iterate_over_regset_sections_cb): Document this
364         function type, particularly its SIZE parameter.
365         * gdbarch.h: Regenerate.
366         * amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
367         actual against required size using ">=" instead of "==".
368         (amd64_collect_fpregset): Likewise.
369         * i386-tdep.c (i386_supply_gregset): Likewise.
370         (i386_collect_gregset): Likewise.
371         (i386_supply_fpregset): Likewise.
372         (i386_collect_fpregset): Likewise.
373         * mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
374         (mips_fill_gregset_wrapper): Likewise.
375         (mips_supply_fpregset_wrapper): Likewise.
376         (mips_fill_fpregset_wrapper): Likewise.
377         (mips64_supply_gregset_wrapper): Likewise.
378         (mips64_fill_gregset_wrapper): Likewise.
379         (mips64_supply_fpregset_wrapper): Likewise.
380         (mips64_fill_fpregset_wrapper): Likewise.
381         * mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
382         (am33_supply_fpregset_method): Likewise.
383         (am33_collect_gregset_method): Likewise.
384         (am33_collect_fpregset_method): Likewise.
385
386 2015-02-04  Doug Evans  <dje@google.com>
387             Pedro Alves  <palves@redhat.com>
388             Eli Zaretskii  <eliz@gnu.org>
389
390         PR tui/17810
391         * tui/tui-command.c (tui_refresh_cmd_win): New function.
392         * tui/tui-command.c (tui_refresh_cmd_win): Declare.
393         * tui/tui-file.c: #include tui/tui-command.h.
394         (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
395         (tui_file_flush): Refresh command window if stream is gdb_stdout.
396         * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
397
398 2015-02-04  Pedro Alves  <palves@redhat.com>
399
400         Fix build breakage.
401         * event-loop.c (gdb_do_one_event): Add default switch case.
402
403 2015-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
404
405         Filter out inferior gcc option -fpreprocessed.
406         * compile/compile.c (filter_args): New function.
407         (get_args): Use it.
408
409 2015-02-03  Pedro Alves  <palves@redhat.com>
410
411         * event-loop.c: Don't declare nor define a queue type for
412         gdb_event_p.
413         (event_queue): Delete.
414         (create_event, create_file_event, gdb_event_xfree)
415         (initialize_event_loop, process_event): Delete.
416         (gdb_do_one_event): Return as soon as one event is handled.
417         (handle_file_event): Change prototype.  Used the passed in
418         file_handler pointer and ready_mask instead of looping over all
419         file handlers.
420         (gdb_wait_for_event): Update the poll/select timeouts before
421         blocking.  Run event handlers directly instead of queueing events.
422         Return as soon as one event is handled.
423         (struct async_event_handler_data): Delete.
424         (invoke_async_event_handler): Delete.
425         (check_async_event_handlers): Change return type to int.  Run
426         event handlers directly instead of queueing events.  Return as
427         soon as one event is handled.
428         (handle_timer_event): Delete.
429         (update_wait_timeout): New function, factored out from
430         poll_timers.
431         (poll_timers): Reimplement.
432         * event-loop.h (initialize_event_loop): Delete declaration.
433         * top.c (gdb_init): Don't call initialize_event_loop.
434
435 2015-02-03  Pedro Alves  <palves@redhat.com>
436
437         * event-loop.c (clear_async_event_handler): New function.
438         * event-loop.h (clear_async_event_handler): New declaration.
439         * record-btrace.c (record_btrace_async): New function.
440         (init_record_btrace_ops): Install record_btrace_async.
441         * record-full.c (record_full_async): New function.
442         (record_full_resume): Don't mark the async event source here.
443         (init_record_full_ops): Install record_full_async.
444         (record_full_core_resume): Don't mark the async event source here.
445         (init_record_full_core_ops): Install record_full_async.
446         * remote.c (remote_async): Mark and clear the async stop reply
447         queue event-loop token as appropriate.
448
449 2015-02-03  Pedro Alves  <palves@redhat.com>
450
451         * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
452         target_is_async_p instead of target_can_async.
453         (linux_nat_wait): Use target_is_async_p instead of
454         target_can_async.  Don't enable async here.
455         * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
456         target_is_async_p instead of target_can_async.
457
458 2015-02-02  Simon Marchi  <simon.marchi@ericsson.com>
459
460         * varobj.h (lang_varobj_ops): Mention which return values need
461         to be freed.
462
463 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
464
465         * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
466
467 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
468
469         PR gdb/17856:
470         * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
471         results found in the cache.
472
473 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
474
475         PR gdb/17854:
476         * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
477         when allocating a new one.
478
479 2015-02-01  Tom Tromey  <tom@tromey.com>
480
481         * MAINTAINERS: Remove myself.
482
483 2015-01-31  Doug Evans  <xdje42@gmail.com>
484
485         * dwarf2read.c (process_structure_scope): Update setting of
486         TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
487         * gdbtypes.c (internal_type_vptr_fieldno): New function.
488         (set_type_vptr_fieldno): New function.
489         (internal_type_vptr_basetype): New function.
490         (set_type_vptr_basetype): New function.
491         (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
492         TYPE_VPTR_BASETYPE.
493         (allocate_cplus_struct_type): Initialize vptr_fieldno.
494         (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
495         (print_cplus_stuff): ... moved here.
496         (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
497         * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
498         moved to ...
499         (struct cplus_struct_type): ... here.  All uses updated.
500         (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
501         (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
502         (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
503         * stabsread.c (read_tilde_fields): Update setting of
504         TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
505
506 2015-01-31  Doug Evans  <xdje42@gmail.com>
507
508         * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
509         to self_p.
510         (cp_print_class_member): Rename local domain to self_type.
511         * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
512         domain_type to self_type.
513         (set_die_type) <need_gnat_info>: Handle
514         TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
515         * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
516         TYPE_SPECIFIC_SELF_TYPE.
517         * gdbtypes.c (internal_type_self_type): New function.
518         (set_type_self_type): New function.
519         (smash_to_memberptr_type): Rename parameter domain to self_type.
520         Update setting of TYPE_SELF_TYPE.
521         (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
522         (smash_to_method_type): Rename parameter domain to self_type.
523         Update setting of TYPE_SELF_TYPE.
524         (check_stub_method): Call smash_to_method_type.
525         (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
526         (copy_type_recursive): Ditto.
527         * gdbtypes.h (enum type_specific_kind): New value
528         TYPE_SPECIFIC_SELF_TYPE.
529         (struct main_type) <type_specific>: New member self_type.
530         (struct cplus_struct_type) <fn_field.type>: Update comment.
531         (TYPE_SELF_TYPE): Rewrite.
532         (internal_type_self_type, set_type_self_type): Declare.
533         * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
534         self_type.
535         (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
536         * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
537         TYPE_TARGET_TYPE.
538         * stabsread.c (read_member_functions): Mark methods with
539         TYPE_CODE_METHOD, not TYPE_CODE_FUNC.  Update setting of
540         TYPE_SELF_TYPE.
541
542 2015-01-31  Doug Evans  <xdje42@gmail.com>
543
544         * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
545         All uses updated.
546
547 2015-01-31  Doug Evans  <xdje42@gmail.com>
548
549         * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
550         or unions.  Return zero if union.
551         (gnuv3_get_vtable): Call check_typedef.  Assert only passed structs.
552         (gnuv3_rtti_type): Pass already-check_typedef'd value to
553         gnuv3_get_vtable.
554         (compute_vtable_size): Assert only passed structs.
555         (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
556
557 2015-01-31  Doug Evans  <xdje42@gmail.com>
558
559         * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
560         kinds.
561
562 2015-01-31  Gary Benson <gbenson@redhat.com>
563             Doug Evans  <dje@google.com>
564
565         PR cli/9007
566         PR cli/11920
567         PR cli/15548
568         * cli/cli-cmds.c (complete_command): Notify user if max-completions
569         reached.
570         * common/common-exceptions.h (enum errors)
571         <MAX_COMPLETIONS_REACHED_ERROR>: New value.
572         * completer.h (get_max_completions_reached_message): New declaration.
573         (max_completions): Likewise.
574         (completion_tracker_t): New typedef.
575         (new_completion_tracker): New declaration.
576         (make_cleanup_free_completion_tracker): Likewise.
577         (maybe_add_completion_enum): New enum.
578         (maybe_add_completion): New declaration.
579         (throw_max_completions_reached_error): Likewise.
580         * completer.c (max_completions): New global variable.
581         (new_completion_tracker): New function.
582         (free_completion_tracker): Likewise.
583         (make_cleanup_free_completion_tracker): Likewise.
584         (maybe_add_completions): Likewise.
585         (throw_max_completions_reached_error): Likewise.
586         (complete_line): Remove duplicates and limit result to max_completions
587         entries.
588         (get_max_completions_reached_message): New function.
589         (gdb_display_match_list): Handle max_completions.
590         (_initialize_completer): New declaration and function.
591         * symtab.c: Include completer.h.
592         (completion_tracker): New static variable.
593         (completion_list_add_name): Call maybe_add_completion.
594         (default_make_symbol_completion_list_break_on_1): Renamed from
595         default_make_symbol_completion_list_break_on.  Maintain
596         completion_tracker across calls to completion_list_add_name.
597         (default_make_symbol_completion_list_break_on): New function.
598         * top.c (init_main): Set rl_completion_display_matches_hook.
599         * tui/tui-io.c: Include completer.h.
600         (tui_old_rl_display_matches_hook): New static global.
601         (tui_rl_display_match_list): Notify user if max-completions reached.
602         (tui_setup_io): Save/restore rl_completion_display_matches_hook.
603         * NEWS (New Options): Mention set/show max-completions.
604
605 2015-01-31  Gary Benson  <gbenson@redhat.com>
606
607         * symtab.c (struct add_name_data) <code>: New field.
608         Updated comments.
609         (add_symtab_completions): New function.
610         (symtab_expansion_callback): Likewise.
611         (default_make_symbol_completion_list_break_on): Set datum.code.
612         Move minimal symbol scan before calling expand_symtabs_matching.
613         Scan known primary symtabs for externs and statics before calling
614         expand_symtabs_matching.  Pass symtab_expansion_callback as
615         expansion_notify argument to expand_symtabs_matching.  Do not scan
616         primary symtabs for externs and statics after calling
617         expand_symtabs_matching.
618
619 2015-01-31  Gary Benson  <gbenson@redhat.com>
620
621         * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
622         (struct quick_symbol_functions) <expand_symtabs_matching>:
623         New argument expansion_notify.  All uses updated.
624         (expand_symtabs_matching): New argument expansion_notify.
625         All uses updated.
626         * symfile-debug.c (debug_qf_expand_symtabs_matching):
627         Also print expansion notify.
628         * symtab.c (expand_symtabs_matching_via_partial): Call
629         expansion_notify whenever a partial symbol table is expanded.
630         * dwarf2read.c (dw2_expand_symtabs_matching): Call
631         expansion_notify whenever a symbol table is instantiated.
632
633 2015-01-31  Doug Evans  <xdje42@gmail.com>
634
635         * cli-out.c: #include completer.h, readline/readline.h.
636         (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
637         (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
638         (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
639         * cli-out.h (cli_display_match_list): Declare.
640         * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
641         (ELLIPSIS_LEN): Ditto.
642         (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
643         (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
644         (gdb_fnprint, gdb_print_filename): Ditto.
645         (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
646         (gdb_display_match_list): Ditto.
647         * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
648         (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
649         (mld_beep_ftype, mld_read_key_ftype): Ditto.
650         (match_list_displayer): New struct.
651         (gdb_display_match_list): Declare.
652         * top.c (init_main): Set rl_completion_display_matches_hook.
653         * tui/tui-io.c: #include completer.h.
654         (printable_part, PUTX, print_filename, get_y_or_n): Delete.
655         (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
656         (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
657         (tui_mld_getc, tui_mld_read_key): Ditto.
658         (tui_rl_display_match_list): Rewrite.
659         (tui_handle_resize_during_io): New arg for_completion.  All callers
660         updated.
661
662 2015-01-31  Doug Evans  <xdje42@gmail.com>
663
664         Add symbol lookup cache.
665         * NEWS: Document new options and commands.
666         * symtab.c (symbol_cache_key): New static global.
667         (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
668         (SYMBOL_LOOKUP_FAILED): New macro.
669         (symbol_cache_slot_state): New enum.
670         (block_symbol_cache): New struct.
671         (symbol_cache): New struct.
672         (new_symbol_cache_size, symbol_cache_size): New static globals.
673         (hash_symbol_entry, eq_symbol_entry): New functions.
674         (symbol_cache_byte_size, resize_symbol_cache): New functions.
675         (make_symbol_cache, free_symbol_cache): New functions.
676         (get_symbol_cache, symbol_cache_cleanup): New function.
677         (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
678         (symbol_cache_lookup, symbol_cache_clear_slot): New function.
679         (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
680         (symbol_cache_flush, symbol_cache_dump): New functions.
681         (maintenance_print_symbol_cache): New function.
682         (maintenance_flush_symbol_cache): New function.
683         (symbol_cache_stats): New function.
684         (maintenance_print_symbol_cache_statistics): New function.
685         (symtab_new_objfile_observer): New function.
686         (symtab_free_objfile_observer): New function.
687         (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
688         (_initialize_symtab): Init symbol_cache_key.  New parameter
689         maint symbol-cache-size.  New maint commands print symbol-cache,
690         print symbol-cache-statistics, flush-symbol-cache.
691         Install new_objfile, free_objfile observers.
692
693 2015-01-31  Joel Brobecker  <brobecker@adacore.com>
694
695         PR symtab/17855
696         * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
697         to end.
698
699 2015-01-31  Doug Evans  <xdje42@gmail.com>
700
701         * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
702         * auto-load.c: #include ctype.h.
703         (struct auto_load_pspace_info): Replace member loaded_scripts with
704         new members loaded_script_files, loaded_script_texts.
705         (auto_load_pspace_data_cleanup): Update.
706         (init_loaded_scripts_info): Update.
707         (get_auto_load_pspace_data_for_loading): Update.
708         (maybe_add_script_file): Renamed from maybe_add_script.  All callers
709         updated.
710         (maybe_add_script_text): New function.
711         (clear_section_scripts): Update.
712         (source_script_file, execute_script_contents): New functions.
713         (source_section_scripts): Add support for
714         SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
715         (print_scripts): New function.
716         (auto_load_info_scripts): Also print inlined scripts.
717         (maybe_print_unsupported_script_warning): Renamed from
718         unsupported_script_warning_print.  All callers updated.
719         (maybe_print_script_not_found_warning): Renamed from
720         script_not_found_warning_print.  All callers updated.
721         * extension-priv.h (struct extension_language_script_ops): New member
722         objfile_script_executor.
723         * extension.c (ext_lang_objfile_script_executor): New function.
724         * extension.h (objfile_script_executor_func): New typedef.
725         (ext_lang_objfile_script_executor): Declare.
726         * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
727         * guile/guile.c (guile_extension_script_ops): Update.
728         * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
729         * python/python.c (python_extension_script_ops): Update.
730         (gdbpy_execute_objfile_script): New function.
731
732 2015-01-31  Eli Zaretskii  <eliz@gnu.org>
733
734         * tui/tui-io.c (tui_expand_tabs): New function.
735         (tui_puts, tui_redisplay_readline): Expand TABs into the
736         appropriate number of spaces.
737         * tui/tui-regs.c: Include tui-io.h.
738         (tui_register_format): Call tui_expand_tabs to expand TABs into
739         the appropriate number of spaces.
740         * tui/tui-io.h: Add prototype for tui_expand_tabs.
741
742 2015-01-30  Doug Evans  <dje@google.com>
743
744         * NEWS: "info source" command now display producer string if present.
745         * source.c (source_info): Print producer string if present.
746
747 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
748
749         * varobj.c (varobj_delete): Fix comment.
750
751 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
752
753         * varobj.c (create_child): Modify comment.
754
755 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
756
757         * ada-varobj.c (ada_number_of_children): Constify struct varobj *
758         parameter.
759         (ada_name_of_variable): Same.
760         (ada_path_expr_of_child): Same.
761         (ada_value_of_variable): Same.
762         (ada_value_is_changeable_p): Same.
763         (ada_value_has_mutated): Same.
764         * c-varobj.c (varobj_is_anonymous_child): Same.
765         (c_is_path_expr_parent): Same.
766         (c_number_of_children): Same.
767         (c_name_of_variable): Same.
768         (c_path_expr_of_child): Same.
769         (get_type): Same.
770         (c_value_of_variable): Same.
771         (cplus_number_of_children): Same.
772         (cplus_name_of_variable): Same.
773         (cplus_path_expr_of_child): Same.
774         (cplus_value_of_variable): Same.
775         * jv-varobj.c (java_number_of_children): Same.
776         (java_name_of_variable): Same.
777         (java_path_expr_of_child): Same.
778         (java_value_of_variable): Same.
779         * varobj.c (number_of_children): Same.
780         (name_of_variable): Same.
781         (is_root_p): Same.
782         (varobj_ensure_python_env): Same.
783         (varobj_get_objname): Same.
784         (varobj_get_expression): Same.
785         (varobj_get_display_format): Same.
786         (varobj_get_display_hint): Same.
787         (varobj_has_more): Same.
788         (varobj_get_thread_id): Same.
789         (varobj_get_frozen): Same.
790         (dynamic_varobj_has_child_method): Same.
791         (varobj_get_gdb_type): Same.
792         (is_path_expr_parent): Same.
793         (varobj_default_is_path_expr_parent): Same.
794         (varobj_get_language): Same.
795         (varobj_get_attributes): Same.
796         (varobj_is_dynamic_p): Same.
797         (varobj_get_child_range): Same.
798         (varobj_value_has_mutated): Same.
799         (varobj_get_value_type): Same.
800         (number_of_children): Same.
801         (name_of_variable): Same.
802         (check_scope): Same.
803         (varobj_editable_p): Same.
804         (varobj_value_is_changeable_p): Same.
805         (varobj_floating_p): Same.
806         (varobj_default_value_is_changeable_p): Same.
807
808 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
809
810         * varobj.c (varobj_get_path_expr): Set var->path_expr.
811         * c-varobj.c (c_path_expr_of_child): Set local var instead of
812         child->path_expr.
813         (cplus_path_expr_of_child): Same.
814
815 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
816
817         * mi-cmd-var.c (print_varobj): Free varobj_get_expression
818         result.
819         (mi_cmd_var_info_expression): Same.
820         * varobj.c (varobj_get_expression): Mention in the comment that
821         the result must by freed by the caller.
822
823 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
824
825         * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
826         varobj_get_type.
827         (varobj_update_one): Same.
828         * varobj.c (update_type_if_necessary): Free curr_type_str and
829         new_type_str.
830         (varobj_get_type): Specify in comment that the result needs to be
831         freed by the caller.
832
833 2015-01-29  Doug Evans  <dje@google.com>
834
835         PR symtab/17890
836         * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
837
838 2015-01-25  Mark Wielaard  <mjw@redhat.com>
839
840         * dwarf2read.c (checkproducer): Call producer_is_gcc.
841         * utils.c (producer_is_gcc_ge_4): Likewise.
842         (producer_is_gcc): New function.
843         * utils.h (producer_is_gcc): New declaration.
844
845 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
846
847         * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
848         kind.
849         * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
850         parameter by "addr_stack" parameter.
851         (resolve_dynamic_range): Replace "addr" parameter by
852         "stack_addr" parameter.  Update function documentation.
853         Update code accordingly.
854         (resolve_dynamic_array, resolve_dynamic_union)
855         (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
856         (resolve_dynamic_type): Update code, following the changes made
857         to resolve_dynamic_type_internal's interface.
858         * dwarf2loc.h (struct property_addr_info): New.
859         (dwarf2_evaluate_property): Replace "address" parameter
860         by "addr_stack" parameter.  Adjust function documentation.
861         (struct dwarf2_offset_baton): New.
862         (struct dwarf2_property_baton): Update documentation of
863         field "referenced_type" to be more general. New field
864         "offset_info" in union data field.
865         * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
866         parameter by "addr_stack" parameter.  Adjust code accordingly.
867         Add support for PROP_ADDR_OFFSET properties.
868         * dwarf2read.c (attr_to_dynamic_prop): Add support for
869         DW_AT_data_member_location attributes as well.  Use case
870         statements instead of if/else condition.
871
872 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
873
874         * ada-varobj.c (ada_varobj_get_array_number_of_children):
875         Return zero if PARENT_VALUE is NULL and parent_type's
876         range type is dynamic.
877
878 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
879
880         * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
881         nonzero if the type's subtype is dynamic.
882         (resolve_dynamic_range): Also resolve the range's subtype.
883
884 2015-01-29  Alexander Klimov  <alserkli@inbox.ru>  (tiny patch)
885
886         Pushed by Joel Brobecker  <brobecker@adacore.com>.
887         * symfile.c (unmap_overlay_command): Initialize sec to NULL.
888
889 2015-01-27  Doug Evans  <dje@google.com>
890
891         * NEWS: Mention gdb.Objfile.username.
892         * python/py-objfile.c (objfpy_get_username): New function.
893         (objfile_getset): Add "username".
894
895 2015-01-24  Mark Wielaard  <mjw@redhat.com>
896
897         * stack.c (return_command): Markup warning message with _.
898
899 2015-01-24  Doug Evans  <xdje42@gmail.com>
900
901         * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
902
903 2015-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
904
905         Fix 100x slowdown regression on DWZ files.
906         * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
907         (struct line_header): Add offset and offset_in_dwz.
908         (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
909         (free_line_header_voidp): New declaration.
910         (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
911         functions.
912         (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
913         (handle_DW_AT_stmt_list): Use line_header_hash.
914         (free_line_header_voidp): New function.
915         (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
916         (dwarf_decode_lines): New parameter decode_mapping, use it.
917         (dwarf2_free_objfile): Free line_header_hash.
918
919 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
920
921         PR gdb/17416
922         * valops.c (value_rtti_indirect_type): Catch exception thrown by
923         value_ind.
924
925 2015-01-15  Mark Wielaard  <mjw@redhat.com>
926
927         * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
928         DW_AT_noreturn.
929         * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
930         calling_convention an 8 bit bit field.
931         (TYPE_NO_RETURN): New macro.
932         * infcmd.c (finish_command): Query if function does not return
933         normally.
934         * stack.c (return_command): Likewise.
935
936 2015-01-23  Pedro Alves  <palves@redhat.com>
937
938         * linux-nat.c (linux_is_async_p): New macro.
939         (linux_nat_is_async_p):
940         (linux_nat_terminal_inferior): Check whether the target can async
941         instead of whether it is already async.
942         (linux_nat_terminal_ours): Don't check whether the target is
943         async.
944         (linux_async_pipe): Use linux_is_async_p.
945
946 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
947
948         * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
949         '-ascending'.
950         * thread.c (tp_array_compar_ascending, tp_array_compar): New.
951         (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
952         Sort tp_array using tp_array_compar.
953         (_initialize_thread): Extend thread_apply_all_command help.
954
955 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
956
957         * corelow.c (core_open): Call also thread_command.
958         * gdbthread.h (thread_command): New prototype moved from ...
959         * thread.c (thread_command): ... here.
960         (thread_command): Make it global.
961
962 2015-01-22  Pedro Alves  <palves@redhat.com>
963
964         * configure.ac [*mingw32*]: Check $curses_found instead of
965         $prefer_curses.
966         * configure: Regenerate.
967         * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
968         HAVE_NCURSES_NCURSES_H checks.
969
970 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
971
972         * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
973         fails with the 1st arg NULL, try again with "unknown".  Don't test
974         the "cup" capability: it isn't supported by the Windows port of
975         ncurses, but the Windows console driver is still capable of
976         supporting TUI.
977
978 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
979
980         * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
981
982 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
983
984         * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
985         (ALLDEPFILES): Remove irix5-nat.c.  These two are part of the
986         reason that "make TAGS" is broken.
987
988 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
989
990         * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
991         and check additional store instructions.
992
993 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
994
995         * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
996
997 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
998
999         * ppc-linux-tdep.c (ppc_skip_trampoline_code,
1000         ppc_canonicalize_syscall, ppc_linux_syscall_record,
1001         ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
1002         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1003         * rs6000-tdep.c (rs6000_epilogue_frame_cache,
1004         rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
1005         rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
1006         ppc_process_record_op19, ppc_process_record_op31,
1007         ppc_process_record_op59, ppc_process_record_op60,
1008         ppc_process_record_op63): Likewise.
1009
1010 2015-01-20  Joel Brobecker  <brobecker@adacore.com>
1011
1012         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
1013         (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
1014         strerror.
1015
1016 2015-01-20  Wei-cheng Wang  <cole945@gmail.com>
1017
1018         * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
1019         ppc_process_record_op31, ppc_process_record_op59,
1020         ppc_process_record_op60, ppc_process_record_op63,
1021         ppc_process_record): Fix -Wformat warning.
1022         * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
1023         Remove unused variables.
1024
1025 2015-01-20  Chen Gang  <gang.chen.5i5j@gmail.com>
1026
1027         * MAINTAINERS (Write After Approval): Add "Chen Gang".
1028
1029 2015-01-19  Eli Zaretskii  <eliz@gnu.org>
1030
1031         * configure.ac [*mingw32*]: Only add windows-termcap.o to
1032         CONFIG_OBS if not building with a curses library.
1033         * configure: Regenerate.
1034
1035         * windows-termcap.c: Include defs.h.  Make the whole body empty if
1036         either one of HAVE_CURSES_H or HAVE_NCURSES_H or
1037         HAVE_NCURSES_NCURSES_H is defined.
1038
1039 2015-01-19  Joel Brobecker  <brobecker@adacore.com>
1040
1041         * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
1042         from end of line to start of next line.
1043
1044 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1045
1046         * ppc-linux-tdep.c (ppc_skip_trampoline_code):
1047         Scan PLT stub backward for reverse debugging.
1048         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1049
1050 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1051             Ulrich Weigand  <uweigand@de.ibm.com>
1052
1053         * configure.tgt (powerpc*-*-linux): Add linux-record.o to
1054         gdb_target_obs.
1055         (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
1056         record.
1057         (ppc_canonicalize_syscall, ppc_linux_syscall_record,
1058         ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
1059         (ppc_linux_init_abi): Set process_record, process_record_signal.
1060         * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
1061         ppc_linux_record_tdep to gdbarch_tdep.
1062         (ppc_process_record): New declaration.
1063         * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
1064         ppc_process_record_op19, ppc_process_record_op31,
1065         ppc_process_record_op59, ppc_process_record_op60,
1066         ppc_process_record_op63, ppc_process_record): New functions.
1067
1068 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1069
1070         * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
1071         rs6000_in_function_epilogue_frame_p and add an argument
1072         for frame_info.
1073         (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
1074         rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
1075         New functions.
1076         (rs6000_epilogue_frame_unwind): New.
1077         (rs6000_gdbarch_init): Append epilogue unwinder.
1078
1079 2015-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
1080
1081         * nat/linux-personality.c: Replace "#ifndef
1082         HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
1083         !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
1084         systems.
1085
1086 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
1087
1088         * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
1089         functions.
1090         (_initialize_tui_win) <border-kind, border-mode>:
1091         <active-border-mode>: Use tui_set_var_cmd as the "set" function.
1092         (tui_set_tab_width_command): Fix the commentary.
1093
1094         * tui/tui-win.h: Add prototype for tui_rehighlight_all.
1095
1096         * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
1097         Doc fix.
1098         (tui_set_tab_width_command): Delete and recreate the source and
1099         the disassembly windows, to show the effect of the changed tab
1100         size immediately.
1101
1102         * tui/tui-data.h (LINE_PREFIX): Make shorter
1103         (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
1104         "Thread NNNNN.XXXX" thread ID notation on Windows.
1105
1106 2015-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1107
1108         Fix gcc-5 compilation.
1109         * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
1110
1111 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1112
1113         * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
1114         (linux-personality.o): New rule.
1115         * common/common-defs.h: Include <stdint.h>.
1116         * config/aarch64/linux.mh (NATDEPFILES): Include
1117         linux-personality.o.
1118         * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
1119         * config/arm/linux.mh (NATDEPFILES): Likewise.
1120         * config/i386/linux64.mh (NATDEPFILES): Likewise.
1121         * config/i386/linux.mh (NATDEPFILES): Likewise.
1122         * config/ia64/linux.mh (NATDEPFILES): Likewise.
1123         * config/m32r/linux.mh (NATDEPFILES): Likewise.
1124         * config/m68k/linux.mh (NATDEPFILES): Likewise.
1125         * config/mips/linux.mh (NATDEPFILES): Likewise.
1126         * config/pa/linux.mh (NATDEPFILES): Likewise.
1127         * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1128         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
1129         * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
1130         * config/s390/linux.mh (NATDEPFILES): Likewise.
1131         * config/sparc/linux64.mh (NATDEPFILES): Likewise.
1132         * config/sparc/linux.mh (NATDEPFILES): Likewise.
1133         * config/tilegx/linux.mh (NATDEPFILES): Likewise.
1134         * config/xtensa/linux.mh (NATDEPFILES): Likewise.
1135         * defs.h: Remove #include <stdint.h> (moved to
1136         common/common-defs.h).
1137         * linux-nat.c: Include nat/linux-personality.h.  Remove #include
1138         <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
1139         nat/linux-personality.c).
1140         (linux_nat_create_inferior): Remove code to disable address space
1141         randomization (moved to nat/linux-personality.c).  Create cleanup
1142         to disable address space randomization.
1143         * nat/linux-personality.c: New file.
1144         * nat/linux-personality.h: Likewise.
1145
1146 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1147
1148         * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
1149         common/posix-strerror.c.
1150         (posix-strerror.o): New rule.
1151         (mingw-strerror.o): Likewise.
1152         * common/common-utils.h (safe_strerror): Move prototype to here,
1153         from utils.h.
1154         * common/common.host: New file.
1155         * common/mingw-strerror.c: Likewise.
1156         * common/posix-strerror.c: Likewise.
1157         * configure: Regenerated.
1158         * configure.ac: Source common/common.host.  Add variable
1159         common_host_obs to gdb_host_obs.
1160         * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
1161         gdb/common/posix-strerror.c when warning about the use of
1162         strerror.
1163         * mingw-hdep.c (safe_strerror): Remove definition; move it to
1164         common/mingw-strerror.c.
1165         * posix-hdep.c (safe_strerror): Remove definition; move it to
1166         common/posix-hdep.c.
1167         * utils.h (safe_strerror): Remove prototype; move to
1168         common/common-utils.h.
1169
1170 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
1171
1172         GDB 7.8.2 released.
1173
1174 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
1175
1176         * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
1177         ___XA type if the array has already been fixed.
1178
1179 2015-01-14  Yao Qi  <yao@codesourcery.com>
1180
1181         * Makefile.in (ppc-linux.o): New rule.
1182         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
1183         * configure.ac: AC_CHECK_FUNCS(getauxval).
1184         * config.in: Re-generated.
1185         * configure: Re-generated.
1186         * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
1187         Declare.
1188         * nat/ppc-linux.c: New file.
1189         * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
1190         Call ppc64_64bit_inferior_p.
1191
1192 2015-01-14  Yao Qi  <yao@codesourcery.com>
1193
1194         * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
1195         nat/ppc-linux.h.
1196         (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
1197         (PPC_FEATURE_HAS_DFP): Likewise.
1198         (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
1199         (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
1200         (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
1201         Include "nat/ppc-linux.h".
1202         * nat/ppc-linux.h: New file.
1203         * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
1204
1205 2015-01-14  Pedro Alves  <palves@redhat.com>
1206
1207         PR gdb/17525
1208         * breakpoint.c: Include "interps.h".
1209         (bpstat_do_actions_1): Also check whether the interpreter is
1210         async.
1211
1212 2015-01-14  Pedro Alves  <palves@redhat.com>
1213
1214         PR cli/17828
1215         * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
1216         reinstall if the interpreter is sync.
1217
1218 2015-01-13  Doug Evans  <dje@google.com>
1219
1220         * objfiles.c (objfile_filename): New function.
1221         * objfiles.h (objfile_filename): Declare it.
1222         (objfile_name): Add function comment.
1223         * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
1224         bfd file name (which may be realpath'd), and the original name.
1225
1226 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1227
1228         * NEWS: Create a new section for the next release branch.
1229         Rename the section of the current branch, now that it has
1230         been cut.
1231
1232 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1233
1234         GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
1235         * version.in: Bump version to 7.9.50.DATE-cvs.
1236
1237 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1238
1239         * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
1240         Remove trailing new-line in argument of call to warning.
1241
1242 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1243
1244         * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
1245         new-line in argument of call to "warning".
1246
1247 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1248
1249         * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
1250         in static block, then try searching for primitive types.
1251
1252 2015-01-12  Patrick Palka  <patrick@parcs.ath.cx>
1253
1254         * top.h (gdb_add_history): Declare.
1255         * top.c (command_count): New variable.
1256         (gdb_add_history): New function.
1257         (gdb_safe_append_history): New static function.
1258         (quit_force): Call it.
1259         (command_line_input): Use gdb_add_history instead of
1260         add_history.
1261         * event-top.c (command_line_handler): Likewise.
1262
1263 2015-01-12  James Clarke  <jrtc27@jrtc27.com>  (tiny patch)
1264
1265         PR gdb/17046
1266         * darwin-nat.c: Replace <machine/setjmp.h> #include by
1267         <setjmp.h> #include.
1268
1269 2015-01-11  Doug Evans  <xdje42@gmail.com>
1270
1271         * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
1272
1273 2015-01-11  Doug Evans  <xdje42@gmail.com>
1274
1275         PR gdb/15830
1276         * NEWS: The "maint demangle" command is renamed as "demangle".
1277         * demangle.c: #include cli/cli-utils.h, language.h.
1278         (demangle_command): New function.
1279         (_initialize_demangle): Add new command "demangle".
1280         * maint.c (maintenance_demangle): Stub out.
1281         (_initialize_maint_cmds): Update help text for "maint demangle",
1282         and mark as deprecated.
1283
1284 2015-01-11  Mark Kettenis  <kettenis@gnu.org>
1285
1286         * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
1287         inferior_thread is a function.
1288
1289 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
1290
1291         * Makefile.in (.y.c): Don't munge yacc's #line
1292         directives.
1293
1294 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
1295
1296         * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
1297         to prompt for input.
1298         * tui/tui-hooks.c (tui_query_hook): Remove.
1299         (tui_install_hooks): Don't set deprecated_query_hook.
1300         * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
1301         height calculation.  Always update the command window's cur_line.
1302
1303 2015-01-09  Pedro Alves  <palves@redhat.com>
1304
1305         * breakpoint.c (hardware_breakpoint_inserted_here_p): New
1306         function.
1307         * breakpoint.h (hardware_breakpoint_inserted_here_p): New
1308         declaration.
1309         * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
1310         (linux_resume_one_lwp): Store the thread's PC.  Adjust to clear
1311         stop_reason.
1312         (check_stopped_by_watchpoint): New function.
1313         (save_sigtrap): Reimplement.
1314         (linux_nat_stopped_by_watchpoint): Adjust.
1315         (linux_nat_lp_status_is_event): Delete.
1316         (stop_wait_callback): Only call save_sigtrap after storing the
1317         pending status.
1318         (status_callback): If the thread had been stopped for a breakpoint
1319         that has since been removed, discard the event and resume the LWP.
1320         (count_events_callback, select_event_lwp_callback): Use
1321         lwp_status_pending_p instead of linux_nat_lp_status_is_event.
1322         (cancel_breakpoint): Rename to ...
1323         (check_stopped_by_breakpoint): ... this.  Record whether the LWP
1324         stopped for a software breakpoint or hardware breakpoint.
1325         (select_event_lwp): Only give preference to the stepping LWP in
1326         all-stop mode.  Adjust comments.
1327         (stop_and_resume_callback): Remove references to new_pending_p.
1328         (linux_nat_filter_event): Likewise.  Leave exit events of the
1329         leader thread pending here.  Handle signal short circuiting here.
1330         Only call save_sigtrap after storing the pending waitstatus.
1331         (linux_nat_wait_1): Remove 'retry' label.  Remove references to
1332         new_pending.  Don't handle leaving events the caller is not
1333         interested in pending here, nor handle signal short-circuiting
1334         here.  Also give equal priority to all LWPs that have had events
1335         in non-stop mode.  If reporting a software breakpoint event,
1336         unadjust the LWP's PC.
1337         * linux-nat.h (enum lwp_stop_reason): New.
1338         (struct lwp_info) <stop_pc>: New field.
1339         (struct lwp_info) <stopped_by_watchpoint>: Delete field.
1340         (struct lwp_info) <stop_reason>: New field.
1341         * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
1342
1343 2015-01-09  Pedro Alves  <palves@redhat.com>
1344
1345         * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
1346         Set the LWP's 'resumed' flag.
1347
1348 2015-01-09  Pedro Alves  <palves@redhat.com>
1349
1350         * linux-nat.c (linux_resume_one_lwp): New function.
1351         (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
1352         (linux_nat_resume): Use lwp_status_pending_p and
1353         linux_resume_one_lwp.
1354         (linux_handle_syscall_trap): Use linux_resume_one_lwp.
1355         (linux_handle_extended_wait): Use linux_resume_one_lwp.
1356         (status_callback, running_callback): Use lwp_status_pending_p.
1357         (lwp_status_pending_p): New function.
1358         (stop_and_resume_callback): Use lwp_status_pending_p.
1359         (linux_nat_filter_event): Use linux_resume_one_lwp.
1360         (linux_nat_wait_1): Always use status_callback to look for an LWP
1361         with a pending status.  Use linux_resume_one_lwp.
1362         (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
1363         linux_resume_one_lwp.
1364
1365 2015-01-09  Pedro Alves  <palves@redhat.com>
1366
1367         * breakpoint.c (bp_location_inserted_here_p): New function,
1368         factored out from ...
1369         (breakpoint_inserted_here_p): ... here.  Use
1370         ALL_BP_LOCATIONS_AT_ADDR.
1371         (software_breakpoint_inserted_here_p): Use
1372         bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
1373
1374 2014-01-09  Pedro Alves  <palves@redhat.com>
1375
1376         Skip enabling event reporting if the kernel supports
1377         PTRACE_EVENT_CLONE.
1378         * linux-thread-db.c: Include "nat/linux-ptrace.h".
1379         (thread_db_use_events): New function.
1380         (try_thread_db_load_1): Check thread_db_use_events before enabling
1381         event reporting.
1382         (update_thread_state): New function.
1383         (attach_thread): Use it.  Check thread_db_use_events before
1384         enabling event reporting.
1385         (thread_db_detach): Check thread_db_use_events before disabling
1386         event reporting.
1387         (find_new_threads_callback): Check thread_db_use_events before
1388         enabling event reporting.  Update the thread's state if not using
1389         libthread_db events.
1390
1391 2015-01-09  Pedro Alves  <palves@redhat.com>
1392
1393         * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
1394         about to wait for is > 0.
1395         * linux-thread-db.c (find_new_threads_callback): Ignore thread if
1396         the kernel thread ID is -1.
1397
1398 2015-01-09  Pedro Alves  <palves@redhat.com>
1399
1400         * linux-nat.c (attach_proc_task_lwp_callback): New function.
1401         (linux_nat_attach): Use linux_proc_attach_tgid_threads.
1402         (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
1403         ptrace option flags.
1404         * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
1405         field.
1406         * nat/linux-procfs.c: Include <dirent.h>.
1407         (linux_proc_get_int): New parameter "warn".  Handle it.
1408         (linux_proc_get_tgid): Adjust.
1409         (linux_proc_get_tracerpid): Rename to ...
1410         (linux_proc_get_tracerpid_nowarn): ... this.
1411         (linux_proc_pid_get_state): New function, factored out from
1412         (linux_proc_pid_has_state): ... this.  Add new parameter "warn"
1413         and handle it.
1414         (linux_proc_pid_is_gone): New function.
1415         (linux_proc_pid_is_stopped): Adjust.
1416         (linux_proc_pid_is_zombie_maybe_warn)
1417         (linux_proc_pid_is_zombie_nowarn): New functions.
1418         (linux_proc_pid_is_zombie): Use
1419         linux_proc_pid_is_zombie_maybe_warn.
1420         (linux_proc_attach_tgid_threads): New function.
1421         * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
1422         (linux_proc_get_tracerpid): Rename to ...
1423         (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
1424         (linux_proc_pid_is_gone): New declaration.
1425         (linux_proc_pid_is_zombie): Update comment.
1426         (linux_proc_pid_is_zombie_nowarn): New declaration.
1427         (linux_proc_attach_lwp_func): New typedef.
1428         (linux_proc_attach_tgid_threads): New declaration.
1429         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
1430         use nowarn functions.
1431         (linux_ptrace_attach_fail_reason_string): Move here from
1432         gdbserver/linux-low.c and rename.
1433         (ptrace_supports_feature): If the current ptrace options are not
1434         known yet, check them now, instead of asserting.
1435         * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
1436         Declare.
1437
1438 2015-01-09  Pedro Alves  <palves@redhat.com>
1439
1440         * linux-thread-db.c (thread_db_find_new_threads_silently)
1441         (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
1442         (find_new_threads_once): Print debug output on gdb_stdlog.
1443
1444 2015-01-09  Chen Gang  <gang.chen.5i5j@gmail.com>
1445             Pedro Alves  <palves@redhat.com>
1446
1447         * compile/compile.c: Include "gdb_wait.h".
1448         (do_rmdir): Check return value, and free 'zap'.
1449
1450 2015-01-08  Pedro Alves  <palves@redhat.com>
1451             Yao Qi  <yao@codesourcery.com>
1452
1453         * dwarf2loc.c (indirect_pieced_value): Don't call
1454         gdb_sign_extend.  Call extract_signed_integer instead.
1455         * utils.c (gdb_sign_extend): Remove.
1456         * utils.h (gdb_sign_extend): Remove declaration.
1457
1458 2015-01-07  Pierre Muller  <muller@sourceware.org>
1459
1460         PR symtab/17811
1461         * stabsread.c (define_symbol): Set language for C++ special symbols.
1462
1463 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
1464
1465         * inflow.c (initial_gdb_ttystate): Tweak comment.
1466
1467 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
1468
1469         * inflow.c (set_initial_gdb_ttystate): Add empty line after
1470         comment documenting function.
1471
1472 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
1473
1474         * terminal.h (set_initial_gdb_ttystate): Declare.
1475         * inflow.c (initial_gdb_ttystate): New static variable.
1476         (set_initial_gdb_ttystate): New setter.
1477         (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
1478         instead of our current terminal state.
1479         * top.c (gdb_init): Call set_initial_gdb_ttystate.
1480
1481 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
1482
1483         * guile/scm-type.c (tyscm_array_1): Add comment.
1484         * python/py-type.c (typy_array_1): Add comment.
1485
1486 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
1487
1488         * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
1489         error if N2 is equal to N1 - 1.
1490
1491 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
1492
1493         * python/py-type.c (typy_array_1): Do not raise negative-length
1494         exception if N2 is equal to N1 - 1.
1495
1496 2015-01-03  Doug Evans  <xdje42@gmail.com>
1497
1498         * c-exp.y: Whitespace cleanup.
1499         (classify_inner_name): Remove extra ;.
1500
1501 2015-01-02  Maciej W. Rozycki  <macro@codesourcery.com>
1502
1503         * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
1504         offset signed.
1505
1506 2015-01-02  Doug Evans  <dje@google.com>
1507
1508         * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
1509
1510 2015-01-02  Doug Evans  <dje@google.com>
1511
1512         * symtab.h (struct symbol): Fix typo in comment.
1513
1514 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
1515
1516         Update year range in copyright notice of all files.
1517
1518 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
1519
1520         * top.c (print_gdb_version): Update copyright year to 2015.
1521
1522 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
1523
1524         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
1525
1526 For older changes see ChangeLog-2014.
1527 \f
1528 Local Variables:
1529 mode: change-log
1530 left-margin: 8
1531 fill-column: 74
1532 version-control: never
1533 coding: utf-8
1534 End: