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