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