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