S390: Fix compiler invocation with "compile" command
[external/binutils.git] / gdb / ChangeLog
1 2015-02-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2
3         * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
4         31-bit targets, but 64-bit targets as well.
5         (s390_gnu_triplet_regexp): New function.
6         (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
7         64-bit targets as well.  Set the gnu_triplet_regexp gdbarch
8         method.
9
10 2015-02-27  Jon TURNEY  <jon.turney@dronecode.org.uk>  (tiny patch)
11
12         * windows-nat.c (CONTEXT_DEBUGGER): Remove.
13         (CONTEXT_DEBUGGER_DR): Add CONTEXT_SEGMENTS.  Incorporate flags
14         from CONTEXT_DEBUGGER.
15
16 2015-02-26  Doug Evans  <dje@google.com>
17
18         * gdbtypes.c (internal_type_vptr_fieldno): Add missing call to
19         CHECK_TYPEDEF.
20         (set_type_vptr_fieldno): Ditto.
21         (internal_type_vptr_basetype, set_type_vptr_basetype): Ditto.
22         * gnu-v3-abi.c (gnuv3_dynamic_class): Ditto.
23
24 2015-02-26  Pedro Alves  <palves@redhat.com>
25
26         * auto-load.h (file_is_auto_load_safe): Add ATTRIBUTE_PRINTF.
27         * complaints.c (vcomplaint): Pass argument FMT directly to
28         printf-like functions instead of complaint->fmt.
29         * ctf.c (ctf_save_write_metadata): Add ATTRIBUTE_PRINTF.
30         * darwin-nat.c (inferior_debug): Add ATTRIBUTE_PRINTF.
31         * compile/compile-loc2c.c (pushf, unary, binary): Add
32         ATTRIBUTE_PRINTF.
33         (do_compile_dwarf_expr_to_c): Pass string literal as format string
34         to pushf.
35         (BINARY): Pass string literal as format string to 'binary'.
36         * compile/compile-object-load.c (link_callbacks_einfo): Add
37         ATTRIBUTE_PRINTF.
38         * guile/guile-internal.h (gdbscm_printf): Add ATTRIBUTE_PRINTF.
39
40 2015-02-26  Pedro Alves  <palves@redhat.com>
41
42         * windows-termcap.c: Rename to ...
43         * stub-termcap.c: ... this.  Adjust header line.
44         * Makefile.in (SFILES): Refer to stub-termcap.c instead of
45         windows-termcap.c.
46         * configure: Regenerate.
47         * configure.ac: Refer to stub-termcap.o instead of
48         windows-termcap.o.
49         * gdb_curses.h: Mention stub-termcap.c instead of
50         windows-termcap.c.
51
52 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
53
54         * compile/compile-c-symbols.c (convert_one_symbol, convert_symbol_bmsym)
55         (gcc_symbol_address): Call gnu_ifunc_resolve_addr.
56
57 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
58
59         * gdb/infcmd.c (print_return_value): use type_to_string to print type.
60
61 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
62
63         * elfread.c (elf_read_minimal_symbols): Use bfd_alloc for
64         bfd_canonicalize_symtab.
65
66 2015-02-25  John Baldwin  <jhb@FreeBSD.org>
67
68         * amd64fbsd-nat.c: Include sys/user.h.
69         (_initialize_amd64fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
70         instead of KERN_PS_STRINGS to locate the signal trampoline.
71         * i386fbsd-nat.c: Include sys/user.h.
72         (_initialize_i386fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
73         instead of KERN_PS_STRINGS to locate the signal trampoline.
74         * amd64fbsd-tdep.c (amd64fbsd_sigtramp_code): New.
75         (amd64fbsd_sigtramp_p): New.
76         (amd64fbsd_sigtramp_start_addr, amd64fbsd_sigtramp_end_addr): No
77         longer set default values.
78         (amd64fbsd_init_abi): Set "sigtramp_p" to "amd64fbsd_sigtramp_p".
79         * i386fbsd-tdep.c (i386fbsd_sigtramp_start)
80         (i386fbsd_sigtramp_middle, i386fbsd_sigtramp_end)
81         (i386fbsd_freebsd4_sigtramp_start)
82         (i386fbsd_freebsd4_sigtramp_middle)
83         (i386fbsd_freebsd4_sigtramp_end, i386fbsd_osigtramp_start)
84         (i386fbsd_osigtramp_middle, i386fbsd_osigtramp_end): New.
85         (i386fbsd_sigtramp_p): New.
86         (i386fbsd_sigtramp_start_addr, i386fbsd_sigtramp_end_addr): No
87         longer set default values.
88         (i386fbsd_init_abi): Set "sigtramp_p" to "i386fbsd_sigtramp_p".
89
90 2015-02-25  John Baldwin  <jhb@freebsd.org>
91
92         * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use
93         get_frame_register instead of frame_unwind_register_unsigned.
94
95 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
96
97         PR build/18033
98         * compile/compile-c-support.c (c_compute_program): Change // comment.
99         * compile/compile-object-load.c (setup_sections): Change // comment.
100
101 2015-02-26  Joel Brobecker  <brobecker@adacore.com>
102
103         PR build/18033:
104         * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
105
106 2015-02-23  Pedro Alves  <palves@redhat.com>
107
108         * remote.c (skip_to_semicolon): New function.
109         (remote_parse_stop_reply) <T stop reply>: Use it.  Don't
110         special case the stop reasons that look like hex numbers
111         upfront.  Instead handle real register numbers after matching
112         all the known stop reasons.
113
114 2015-02-21  Doug Evans  <dje@google.com>
115
116         PR c++/17976, symtab/17821
117         * cp-namespace.c (cp_search_static_and_baseclasses): New parameter
118         is_in_anonymous.  All callers updated.
119         (find_symbol_in_baseclass): Ditto.
120         (cp_lookup_nested_symbol_1): Ditto.  Don't search all static blocks
121         for symbols in an anonymous namespace.
122         * dwarf2read.c (namespace_name): Don't call dwarf2_name, fetch
123         DW_AT_name directly.
124         (dwarf2_name): Convert missing namespace name to
125         CP_ANONYMOUS_NAMESPACE_STR.
126
127 2015-02-20  Pedro Alves  <palves@redhat.com>
128
129         * linux-nat.c (linux_handle_extended_wait): Call
130         thread_db_notice_clone whenever a new clone LWP is detected.
131         (linux_stop_and_wait_all_lwps, linux_unstop_all_lwps): New
132         functions.
133         * linux-nat.h (thread_db_attach_lwp): Delete declaration.
134         (thread_db_notice_clone, linux_stop_and_wait_all_lwps)
135         (linux_unstop_all_lwps): Declare.
136         * linux-thread-db.c (struct thread_get_info_inout): Delete.
137         (thread_get_info_callback): Delete.
138         (thread_from_lwp): Use td_thr_get_info and record_thread.
139         (thread_db_attach_lwp): Delete.
140         (thread_db_notice_clone): New function.
141         (try_thread_db_load_1): If /proc is mounted and shows the
142         process'es task list, walk over all LWPs and call thread_from_lwp
143         instead of relying on td_ta_thr_iter.
144         (attach_thread): Don't call check_thread_signals here.  Split the
145         tail part of the function (which adds the thread to the core GDB
146         thread list) to ...
147         (record_thread): ... this function.  Call check_thread_signals
148         here.
149         (thread_db_wait): Don't call thread_db_find_new_threads_1.  Always
150         call thread_from_lwp.
151         (thread_db_update_thread_list): Rename to ...
152         (thread_db_update_thread_list_org): ... this.
153         (thread_db_update_thread_list): New function.
154         (thread_db_find_thread_from_tid): Delete.
155         (thread_db_get_ada_task_ptid): Simplify.
156         * nat/linux-procfs.c: Include <sys/stat.h>.
157         (linux_proc_task_list_dir_exists): New function.
158         * nat/linux-procfs.h (linux_proc_task_list_dir_exists): Declare.
159
160 2015-02-20  Pedro Alves  <palves@redhat.com>
161
162         * linux-nat.c (lin_lwp_attach_lwp): No longer special case the
163         main LWP.  Handle the case of waitpid returning 0 if we're already
164         attached to the LWP.  Don't set the LWP's last_resume_kind to
165         resume_stop if we already knew about the LWP.
166         (linux_nat_filter_event): Add debug logs.
167
168 2015-02-20  Pedro Alves  <palves@redhat.com>
169
170         * target.h (forward_target_decr_pc_after_break): Delete
171         declaration.
172
173 2015-02-20  Pedro Alves  <palves@redhat.com>
174
175         PR threads/18006
176         * linux-thread-db.c (thread_get_info_callback): Return early if
177         the thread's lwp id is -1.
178
179 2015-02-20  Joel Brobecker  <brobecker@adacore.com>
180
181         GDB 7.9 released.
182
183 2015-02-19  Steve Ellcey  <sellcey@imgtec.com>
184
185         * dtrace-probe.c (dtrace_process_dof_probe): Initialize arg.expr.
186         (dtrace_get_probes) Change type of variable 'dof'.
187
188 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
189
190         PR breakpoints/16812
191         * linux-nat.c (linux_nat_filter_event): Report SIGTRAP,SIGILL,SIGSEGV.
192         * nat/linux-ptrace.c (linux_wstatus_maybe_breakpoint): Add.
193         * nat/linux-ptrace.h: Add linux_wstatus_maybe_breakpoint.
194
195 2015-02-19  David Taylor  <dtaylor@emc.com>
196
197         * common/ax.def (setv): Fix consumed entry in setv DEFOP.
198
199 2015-02-18  Patrick Palka  <patrick@parcs.ath.cx>
200
201         * tui/tui-io.c (tui_handle_resize_during_io): Remove this
202         function.
203         (tui_putc): Don't call tui_handle_resize_during_io.
204         (tui_getc): Likewise.
205         (tui_mld_getc): Likewise.
206         * tui/tui-win.c: Include event-loop.h and tui/tui-io.h.
207         (tui_sigwinch_token): New static variable.
208         (tui_initialize_win): Adjust documentation.  Set
209         tui_sigwinch_token.
210         (tui_async_resize_screen): New asynchronous callback.
211         (tui_sigwinch_handler): Adjust documentation.  Asynchronously
212         invoke tui_async_resize_screen.
213
214 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
215
216         * configure: Regenerated.
217         * configure.ac: Use GDB_AC_TRANSFORM.
218         * Makefile.in (aclocal_m4_deps): Added transform.m4.
219         * acinclude.m4: sinclude transform.m4.
220         * transform.m4: New file.
221         (GDB_AC_TRANSFORM): New macro.
222
223 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
224
225         * NEWS: Announce the support for DTrace SDT probes.
226
227 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
228
229         * amd64-linux-tdep.c: Include "parser-defs.h" and "user-regs.h".
230         (amd64_dtrace_parse_probe_argument): New function.
231         (amd64_dtrace_probe_is_enabled): Likewise.
232         (amd64_dtrace_enable_probe): Likewise.
233         (amd64_dtrace_disable_probe): Likewise.
234         (amd64_linux_init_abi): Register the
235         `gdbarch_dtrace_probe_argument', `gdbarch_dtrace_enable_probe',
236         `gdbarch_dtrace_disable_probe' and
237         `gdbarch_dtrace_probe_is_enabled' hooks.
238         (amd64_dtrace_disabled_probe_sequence_1): New constant.
239         (amd64_dtrace_disabled_probe_sequence_2): Likewise.
240         (amd64_dtrace_enable_probe_sequence): Likewise.
241         (amd64_dtrace_disable_probe_sequence): Likewise.
242
243 2015-01-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
244
245         * breakpoint.c (BREAK_ARGS_HELP): Help string updated to mention
246         the -probe-dtrace new vpossible value for PROBE_MODIFIER.
247         * configure.ac (CONFIG_OBS): dtrace-probe.o added if BFD can
248         handle ELF files.
249         * Makefile.in (SFILES): dtrace-probe.c added.
250         * configure: Regenerate.
251         * dtrace-probe.c: New file.
252         (SHT_SUNW_dof): New constant.
253         (dtrace_probe_type): New enum.
254         (dtrace_probe_arg): New struct.
255         (dtrace_probe_arg_s): New typedef.
256         (struct dtrace_probe_enabler): New struct.
257         (dtrace_probe_enabler_s): New typedef.
258         (dtrace_probe): New struct.
259         (dtrace_probe_is_linespec): New function.
260         (dtrace_dof_sect_type): New enum.
261         (dtrace_dof_dofh_ident): Likewise.
262         (dtrace_dof_encoding): Likewise.
263         (DTRACE_DOF_ENCODE_LSB): Likewise.
264         (DTRACE_DOF_ENCODE_MSB): Likewise.
265         (dtrace_dof_hdr): New struct.
266         (dtrace_dof_sect): Likewise.
267         (dtrace_dof_provider): Likewise.
268         (dtrace_dof_probe): Likewise.
269         (DOF_UINT): New macro.
270         (DTRACE_DOF_PTR): Likewise.
271         (DTRACE_DOF_SECT): Likewise.
272         (dtrace_process_dof_probe): New function.
273         (dtrace_process_dof): Likewise.
274         (dtrace_build_arg_exprs): Likewise.
275         (dtrace_get_arg): Likewise.
276         (dtrace_get_probes): Likewise.
277         (dtrace_get_probe_argument_count): Likewise.
278         (dtrace_can_evaluate_probe_arguments): Likewise.
279         (dtrace_evaluate_probe_argument): Likewise.
280         (dtrace_compile_to_ax): Likewise.
281         (dtrace_probe_destroy): Likewise.
282         (dtrace_gen_info_probes_table_header): Likewise.
283         (dtrace_gen_info_probes_table_values): Likewise.
284         (dtrace_probe_is_enabled): Likewise.
285         (dtrace_probe_ops): New variable.
286         (info_probes_dtrace_command): New function.
287         (_initialize_dtrace_probe): Likewise.
288         (dtrace_type_name): Likewise.
289
290 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
291
292         * gdbarch.sh (dtrace_parse_probe_argument): New.
293         (dtrace_probe_is_enabled): Likewise.
294         (dtrace_enable_probe): Likewise.
295         (dtrace_disable_probe): Likewise.
296         * gdbarch.c: Regenerate.
297         * gdbarch.h: Regenerate.
298
299 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
300
301         * stap-probe.c (stap_probe_ops): Add NULLs in the static
302         stap_probe_ops for `enable_probe' and `disable_probe'.
303         * probe.c (enable_probes_command): New function.
304         (disable_probes_command): Likewise.
305         (_initialize_probe): Define the cli commands `enable probe' and
306         `disable probe'.
307         (parse_probe_linespec): New function.
308         (info_probes_for_ops): Use parse_probe_linespec.
309         * probe.h (probe_ops): New hooks `enable_probe' and
310         `disable_probe'.
311
312 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
313
314         * probe.c (compute_probe_arg): Moved from stap-probe.c
315         (compile_probe_arg): Likewise.
316         (probe_funcs): Likewise.
317         * stap-probe.c (compute_probe_arg): Moved to probe.c.
318         (compile_probe_arg): Likewise.
319         (probe_funcs): Likewise.
320
321 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
322
323         * probe.c (print_ui_out_not_applicables): New function.
324         (exists_probe_with_pops): Likewise.
325         (info_probes_for_ops): Do not include column headers for probe
326         types for which no probe has been actually found on any object.
327         Also invoke `print_ui_out_not_applicables' in order to match the
328         column rows with the header when probes of several types are
329         listed.
330         Print the "Type" column.
331         * probe.h (probe_ops): Added a new probe operation `type_name'.
332         * stap-probe.c (stap_probe_ops): Add `stap_type_name'.
333         (stap_type_name): New function.
334
335 2015-02-17  Patrick Palka  <patrick@parcs.ath.cx>
336
337         * tui/tui-io.c (tui_getc): Don't call key_is_command_char.
338         (key_is_command_char): Delete.
339
340 2015-02-17  Pedro Alves  <palves@redhat.com>
341
342         * tui/tui.c (tui_enable): Resize windows before anything
343         might show a window.
344
345 2015-02-17  Max Ostapenko  <m.ostapenko@partner.samsung.com>
346
347         PR gdb/17984
348         * aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
349         (aarch64_linux_read_description): Remove initialize_tdesc_aarch64
350         call.
351         * aarch64-tdep.h (tdesc_aarch64): Declare.
352
353 2015-02-12  Mark Wielaard  <mjw@redhat.com>
354
355         * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
356
357 2015-02-13  Doug Evans  <dje@google.com>
358
359         * cp-namespace.c (cp_basic_lookup_symbol): Rename parameter
360         anonymous_namespace to is_in_anonymous for consistency with the rest
361         of the file.
362         (cp_lookup_bare_symbol): Fix typo in comment.
363         (cp_search_static_and_baseclasses): Ditto.
364         (search_symbol_list): Use vertical space in comment better.
365         (reset_directive_searched): Ditto. Fix typo.
366         (cp_lookup_nested_symbol_1): Clarify contents of NESTED_NAME parameter.
367
368 2015-02-13  Yao Qi  <yao.qi@arm.com>
369
370         * MAINTAINERS: Update my email address.
371
372 2015-02-12  Doug Evans  <dje@google.com>
373
374         * symtab.c (completion_list_add_name): Fix memory leak.
375
376 2015-02-12  Doug Evans  <dje@google.com>
377
378         * completer.c (complete_line): Remove incorrect comment.
379
380 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
381
382         * python/py-framefilter.c (py_print_single_arg, enumerate_locals)
383         (py_print_frame): Use RETURN_MASK_ERROR.
384
385 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
386
387         * python/py-framefilter.c (py_print_frame): Mention RETURN_QUIT in
388         function comment.  Wrap all function that can throw in cleanups.
389         (gdbpy_apply_frame_filter): Wrap all function that can throw in
390         cleanups.
391
392 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
393
394         * python/py-framefilter.c (py_print_frame): Substitute goto error.
395         Remove the error label.
396
397 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
398
399         * python/py-framefilter.c (py_print_frame): Put conditional code paths
400         with goto first, indent the former else codepath left.  Put variable
401         'elided' to a new inner block.
402
403 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
404
405         * python/py-framefilter.c (py_print_frame): Whitespacing fixes.
406
407 2015-02-11  Pedro Alves  <palves@redhat.com>
408
409         * xcoffread.c (within_function): Delete.
410
411 2015-02-11  Tom Tromey  <tromey@redhat.com>
412             Pedro Alves <palves@redhat.com>
413
414         * breakpoint.c (base_breakpoint_ops): Delete.
415         * dwarf2loc.c (dwarf_expr_ctx_funcs): Make extern.
416         * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_lazy_psyms): Make extern.
417         * guile/guile.c (guile_extension_script_ops, guile_extension_ops): Make extern.
418         * ppcnbsd-tdep.c (ppcnbsd2_sigtramp): Make extern.
419         * python/py-arch.c (arch_object_type): Make extern.
420         * python/py-block.c (block_syms_iterator_object_type): Make extern.
421         * python/py-bpevent.c (breakpoint_event_object_type): Make extern.
422         * python/py-cmd.c (cmdpy_object_type): Make extern.
423         * python/py-continueevent.c (continue_event_object_type)
424         * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Remove 'qual'
425         parameter.  Update all callers.
426         * python/py-evtregistry.c (eventregistry_object_type): Make extern.
427         * python/py-exitedevent.c (exited_event_object_type): Make extern.
428         * python/py-finishbreakpoint.c (finish_breakpoint_object_type): Make extern.
429         * python/py-function.c (fnpy_object_type): Make extern.
430         * python/py-inferior.c (inferior_object_type, membuf_object_type): Make extern.
431         * python/py-infevents.c (call_pre_event_object_type)
432         (inferior_call_post_event_object_type).
433         (memory_changed_event_object_type): Make extern.
434         * python/py-infthread.c (thread_object_type): Make extern.
435         * python/py-lazy-string.c (lazy_string_object_type): Make extern.
436         * python/py-linetable.c (linetable_entry_object_type)
437         (linetable_object_type, ltpy_iterator_object_type): Make extern.
438         * python/py-newobjfileevent.c (new_objfile_event_object_type)
439         (clear_objfiles_event_object_type): Make extern.
440         * python/py-objfile.c (objfile_object_type): Make extern.
441         * python/py-param.c (parmpy_object_type): Make extern.
442         * python/py-progspace.c (pspace_object_type): Make extern.
443         * python/py-signalevent.c (signal_event_object_type): Make extern.
444         * python/py-symtab.c (symtab_object_type, sal_object_type): Make extern.
445         * python/py-type.c (type_object_type, field_object_type)
446         (type_iterator_object_type): Make extern.
447         * python/python.c (python_extension_script_ops)
448         (python_extension_ops): Make extern.
449         * stap-probe.c (stap_probe_ops): Make extern.
450
451 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
452
453         * infrun.c (adjust_pc_after_break): Don't adjust the PC just
454         because the event thread is not the current thread.
455
456 2015-02-11  Doug Evans  <xdje42@gmail.com>
457
458         * gdbtypes.c (internal_type_self_type): If TYPE_SPECIFIC_FIELD hasn't
459         been initialized yet, return NULL.
460
461 2015-02-11  Doug Evans  <dje@google.com>
462
463         * symfile.h (new_symfile_objfile): Delete.
464         * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
465         All callers updated.
466
467 2015-02-11  Patrick Palka  <patrick@parcs.ath.cx>
468
469         * tui/tui-io.c (tui_handle_resize_during_io): Call
470         tui_update_gdb_sizes() after resizing the screen.
471         * tui/tui.c (tui_enable): Resize the terminal before
472         calling tui_update_gdb_sizes().
473
474 2015-02-11  Patrick Palka  <patrick@parcs.ath.cx>
475
476         * tui/tui-io.c (tui_getc): Move cursor to the end of the command
477         line before printing a newline.
478
479 2015-02-11  Mark Wielaard  <mjw@redhat.com>
480
481         * utils.c (producer_is_gcc): Return true or false.
482
483 2015-02-10  Mark Wielaard  <mjw@redhat.com>
484
485         * utils.h (producer_is_gcc): Change return type to bool. Add major
486         argument.
487         * utils.c (producer_is_gcc): Likewise.
488         (producer_is_gcc_ge_4): Adjust producer_is_gcc call.
489         * dwarf2read.c (check_producer): Likewise.
490
491 2015-02-10  Pedro Alves  <palves@redhat.com>
492
493         * infrun.c (displaced_step_fixup): Switch to the event thread
494         before calling gdbarch_displaced_step_fixup.
495
496 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
497
498         * MAINTAINERS (Write After Approval): Add Antoine Tremblay.
499
500 2015-02-10  Simon Marchi  <simon.marchi@ericsson.com>
501
502         * ada-varobj.c (ada_name_of_child): Constify parent.
503         (ada_path_expr_of_child): Same.
504         (ada_value_of_child): Same.
505         (ada_type_of_child): Same.
506         * c-varobj.c (c_is_path_expr_parent): Same.
507         (c_describe_child): Same.
508         (c_name_of_child): Same.
509         (c_value_of_child): Same.
510         (c_type_of_child): Same.
511         (cplus_number_of_children): Same.
512         (cplus_describe_child): Constify var.
513         (cplus_name_of_child): Constify parent.
514         (cplus_value_of_child): Same.
515         (cplus_type_of_child): Same.
516         * jv-varobj.c (java_name_of_child): Same.
517         (java_value_of_child): Same.
518         (java_type_of_child): Same.
519         * varobj.c (value_of_child): Same.
520         (varobj_default_is_path_expr_parent): Constify var, parent and return
521         value.
522         (varobj_get_path_expr): Constify var, modify path_expr through
523         mutable_var.
524         (install_new_value): Constify parent.
525         (value_of_child): Constify parent.
526         * varobj.h (struct varobj): Constify parent.
527         (struct lang_varobj_ops): Constify name_of_child, value_of_child and
528         type_of_child.
529         (varobj_get_path_expr): Constify var.
530         (varobj_get_path_expr_parent): Constify var and return value.
531
532 2015-02-10  Luis Machado  <lgustavo@codesourcery.com>
533
534         * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
535         (arm_prologue_this_id): Move PC and SP limit checks to
536         arm_prologue_unwind_stop_reason.
537         (arm_prologue_unwind) <stop_reason> : Set to
538         arm_prologue_unwind_stop_reason.
539
540 2015-02-09  Mark Wielaard  <mjw@redhat.com>
541
542         * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
543         DW_LANG_Fortran08 as language_fortran.
544
545 2015-02-09  Sergio Durigan Junior  <sergiodj@redhat.com>
546
547         PR remote/17946
548         * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
549         of pointer against char.
550
551 2015-02-09  Mark Wielaard  <mjw@redhat.com>
552
553         * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
554         (c_type_print_modifier): Likewise.
555         * dwarf2read.c (read_tag_atomic_type): New function.
556         (read_type_die_1): Handle DW_TAG_atomic_type.
557         * gdbtypes.c (make_atomic_type): New function.
558         (recursive_dump_type): Handle TYPE_ATOMIC.
559         * gdbtypes.h (enum type_flag_values): Renumber.
560         (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
561         (TYPE_ATOMIC): New macro.
562         (make_atomic_type): Declare.
563
564 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
565
566         * btrace.c (ftrace_find_call): Skip gaps.
567         (ftrace_new_function): Initialize level.
568         (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
569         (ftrace_new_switch): Update
570         level computation.
571         (ftrace_new_gap): New.
572         (ftrace_update_function): Create new function after gap.
573         (btrace_compute_ftrace_bts): Create gap on error.
574         (btrace_stitch_bts): Update parameters.  Clear trace if it
575         becomes empty.
576         (btrace_stitch_trace): Update parameters.  Update callers.
577         (btrace_clear): Reset the number of gaps.
578         (btrace_insn_get): Return NULL if the iterator points to a gap.
579         (btrace_insn_number): Return zero if the iterator points to a gap.
580         (btrace_insn_end): Allow gaps at the end.
581         (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
582         (btrace_find_insn_by_number): Assert that the found iterator does
583         not point to a gap.
584         (btrace_call_next, btrace_call_prev): Assert that the last function
585         is not a gap.
586         * btrace.h (btrace_bts_error): New.
587         (btrace_function): Update comment.
588         (btrace_function) <insn, insn_offset, number>: Update comment.
589         (btrace_function) <errcode>: New.
590         (btrace_thread_info) <ngaps>: New.
591         (btrace_thread_info) <replay>: Update comment.
592         (btrace_insn_get): Update comment.
593         * record-btrace.c (btrace_ui_out_decode_error): New.
594         (record_btrace_info): Print number of gaps.
595         (btrace_insn_history, btrace_call_history): Call
596         btrace_ui_out_decode_error for gaps.
597         (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
598
599 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
600
601         * common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
602         * nat/linux-btrace.c: (btrace_this_cpu): New.
603         (cpu_supports_bts): Call btrace_this_cpu.
604         (intel_supports_bts): Add cpu parameter.
605
606 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
607
608         * btrace.h (btrace_insn_class): New.
609         (btrace_insn) <size, iclass>: New.
610         * btrace.c (ftrace_find_call): Update parameters.  Update users.
611         Use instruction classification.
612         (ftrace_new_return): Update parameters.  Update users.
613         (ftrace_update_function): Update parameters.  Update users.  Use
614         instruction classification.
615         (ftrace_update_insns): Update parameters.  Update users.
616         (ftrace_classify_insn): New.
617         (btrace_compute_ftrace_bts): Fill in new btrace_insn fields.  Add
618         TRY_CATCH around call to gdb_insn_length.
619
620 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
621
622         * btrace.c (btrace_compute_ftrace_bts, btrace_compute_ftrace):
623         Update parameters.  Update users.
624
625 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
626
627         * btrace.c (parse_xml_btrace_conf_bts): Add size.
628         (btrace_conf_bts_attributes): New.
629         (btrace_conf_children): Add attributes.
630         * common/btrace-common.h (btrace_config_bts): New.
631         (btrace_config)<bts>: New.
632         (btrace_config): Update comment.
633         * nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
634         Use config.
635         * features/btrace-conf.dtd: Increment version.  Add size
636         attribute to bts element.
637         * record-btrace.c (set_record_btrace_bts_cmdlist,
638         show_record_btrace_bts_cmdlist): New.
639         (record_btrace_adjust_size, record_btrace_print_bts_conf,
640         record_btrace_print_conf, cmd_set_record_btrace_bts,
641         cmd_show_record_btrace_bts): New.
642         (record_btrace_info): Call record_btrace_print_conf.
643         (_initialize_record_btrace): Add commands.
644         * remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
645         (remote_protocol_features): Add Qbtrace-conf:bts:size packet.
646         (btrace_sync_conf): Synchronize bts size.
647         (_initialize_remote): Add Qbtrace-conf:bts:size packet.
648         * NEWS: Announce new commands and new packets.
649
650 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
651
652         * Makefile.in (XMLFILES): Add btrace-conf.dtd.
653         * x86-linux-nat.c (x86_linux_enable_btrace): Update parameters.
654         (x86_linux_btrace_conf): New.
655         (x86_linux_create_target): Initialize to_btrace_conf.
656         * nat/linux-btrace.c (linux_enable_btrace): Update parameters.
657         Check format.  Split into this and ...
658         (linux_enable_bts): ... this.
659         (linux_btrace_conf): New.
660         (perf_event_skip_record): Renamed into ...
661         (perf_event_skip_bts_record): ... this.  Updated users.
662         (linux_disable_btrace): Split into this and ...
663         (linux_disable_bts): ... this.
664         (linux_read_btrace): Check format.
665         * nat/linux-btrace.h (linux_enable_btrace): Update parameters.
666         (linux_btrace_conf): New.
667         (btrace_target_info)<ptid>: Moved.
668         (btrace_target_info)<conf>: New.
669         (btrace_target_info): Split into this and ...
670         (btrace_tinfo_bts): ... this.  Updated users.
671         * btrace.c (btrace_enable): Update parameters.
672         (btrace_conf, parse_xml_btrace_conf_bts, parse_xml_btrace_conf)
673         (btrace_conf_children, btrace_conf_attributes)
674         (btrace_conf_elements): New.
675         * btrace.h (btrace_enable): Update parameters.
676         (btrace_conf, parse_xml_btrace_conf): New.
677         * common/btrace-common.h (btrace_config): New.
678         * feature/btrace-conf.dtd: New.
679         * record-btrace.c (record_btrace_conf): New.
680         (record_btrace_cmdlist): New.
681         (record_btrace_enable_warn, record_btrace_open): Pass
682         &record_btrace_conf.
683         (record_btrace_info): Print recording format.
684         (cmd_record_btrace_bts_start): New.
685         (cmd_record_btrace_start): Call cmd_record_btrace_bts_start.
686         (_initialize_record_btrace): Add "record btrace bts" subcommand.
687         Add "record bts" alias command.
688         * remote.c (remote_state)<btrace_config>: New.
689         (remote_btrace_reset, PACKET_qXfer_btrace_conf): New.
690         (remote_protocol_features): Add qXfer:btrace-conf:read.
691         (remote_open_1): Call remote_btrace_reset.
692         (remote_xfer_partial): Handle TARGET_OBJECT_BTRACE_CONF.
693         (btrace_target_info)<conf>: New.
694         (btrace_sync_conf, btrace_read_config): New.
695         (remote_enable_btrace): Update parameters.  Call btrace_sync_conf and
696         btrace_read_conf.
697         (remote_btrace_conf): New.
698         (init_remote_ops): Initialize to_btrace_conf.
699         (_initialize_remote): Add qXfer:btrace-conf packet.
700         * target.c (target_enable_btrace): Update parameters.
701         (target_btrace_conf): New.
702         * target.h (target_enable_btrace): Update parameters.
703         (target_btrace_conf): New.
704         (target_object)<TARGET_OBJECT_BTRACE_CONF>: New.
705         (target_ops)<to_enable_btrace>: Update parameters and comment.
706         (target_ops)<to_btrace_conf>: New.
707         * target-delegates: Regenerate.
708         * target-debug.h (target_debug_print_const_struct_btrace_config_p)
709         (target_debug_print_const_struct_btrace_target_info_p): New.
710         * NEWS: Announce new command and new packet.
711
712 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
713
714         * nat/linux-btrace.h (perf_event_buffer): New.
715         (btrace_target_info) <buffer, size, data_head>: Replace with ...
716         <bts>: ... this.
717         * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
718         (perf_event_buffer_size, perf_event_buffer_begin)
719         (perf_event_buffer_end, linux_btrace_has_changed): Removed.
720         Updated users.
721         (perf_event_new_data): New.
722
723 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
724
725         * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
726         * record-btrace.c (record_btrace_open): Remove call to
727         target_supports_btrace.
728         * remote.c (remote_supports_btrace): Update parameters.
729         * target.c (target_supports_btrace): Update parameters.
730         * target.h (to_supports_btrace, target_supports_btrace): Update
731         parameters.
732         * target-delegates.c: Regenerate.
733         * target-debug.h (target_debug_print_enum_btrace_format): New.
734         * nat/linux-btrace.c
735         (kernel_supports_btrace): Rename into ...
736         (kernel_supports_bts): ... this.  Update users.  Update warning text.
737         (intel_supports_btrace): Rename into ...
738         (intel_supports_bts): ... this.  Update users.
739         (cpu_supports_btrace): Rename into ...
740         (cpu_supports_bts): ... this.  Update users.
741         (linux_supports_btrace): Update parameters.  Split into this and ...
742         (linux_supports_bts): ... this.
743         * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
744
745 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
746
747         * Makefile.in (SFILES): Add common/btrace-common.c.
748         (COMMON_OBS): Add common/btrace-common.o.
749         (btrace-common.o): Add build rules.
750         * btrace.c (parse_xml_btrace): Update parameters.
751         (parse_xml_btrace_block): Set format field.
752         (btrace_add_pc, btrace_fetch): Use struct btrace_data.
753         (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
754         (btrace_compute_ftrace): Split into this and...
755         (btrace_compute_ftrace_bts): ...this.
756         (btrace_stitch_trace): Split into this and...
757         (btrace_stitch_bts): ...this.
758         * btrace.h (parse_xml_btrace): Update parameters.
759         (make_cleanup_btrace_data): New.
760         * common/btrace-common.c: New.
761         * common/btrace-common.h: Include common-defs.h.
762         (btrace_block_s): Update comment.
763         (btrace_format): New.
764         (btrace_format_string): New.
765         (btrace_data_bts): New.
766         (btrace_data): New.
767         (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
768         * remote.c (remote_read_btrace): Update parameters.
769         * target.c (target_read_btrace): Update parameters.
770         * target.h (target_read_btrace): Update parameters.
771         (target_ops)<to_read_btrace>: Update parameters.
772         * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
773         * target-delegates.c: Regenerate.
774         * target-debug (target_debug_print_struct_btrace_data_p): New.
775         * nat/linux-btrace.c (linux_read_btrace): Split into this and...
776         (linux_read_bts): ...this.
777         * nat/linux-btrace.h (linux_read_btrace): Update parameters.
778
779 2015-02-06  Doug Evans  <dje@google.com>
780
781         * remote-m32r-sdi.c: Include symfile.h.
782
783 2015-02-06  Doug Evans  <dje@google.com>
784
785         * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
786         * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
787         to here.
788
789 2015-02-06  Pedro Alves  <palves@redhat.com>
790
791         * linux-thread-db.c (find_new_threads_callback): Add debug output.
792
793 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
794
795         PR gdb/15678
796         * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
797         (enable_count_command): Check args for NULL value.
798
799 2015-02-05  Doug Evans  <xdje42@gmail.com>
800
801         * guile/scm-frame.c: Fix spelling errors in a comment.
802
803 2015-02-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
804
805         * python/python-internal.h (Py_hash_t): Define it for Python <3.2.
806         * python/py-value.c (valpy_fetch_lazy): Use it.  Remove cast to the
807         return type.
808
809 2015-02-04  Pedro Alves  <palves@redhat.com>
810
811         * linux-nat.c (handle_extended_wait): Don't resume LWPs here.
812         (wait_lwp): Don't call wait_lwp if linux_handle_extended_wait
813         returns true.
814         (resume_stopped_resumed_lwps): Don't check whether the thread is
815         marked as executing.
816         (linux_nat_wait_1): Use resume_stopped_resumed_lwps.
817
818 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
819
820         * regset.h (struct regset): Add flags field.
821         (REGSET_VARIABLE_SIZE): New value for a regset's flags field.
822         * corelow.c (get_core_register_section): Add warning if the size
823         exceeds the requested size and the regset does not have the
824         REGSET_VARIABLE_SIZE flag set.
825         * alphanbsd-tdep.c (alphanbsd_gregset): Add REGSET_VARIABLE_SIZE
826         flag.
827         * armbsd-tdep.c (armbsd_gregset): Likewise.
828         * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
829         * hppaobsd-tdep.c (hppaobsd_gregset): Likewise.
830         * m68kbsd-tdep.c (m68kbsd_gregset): Likewise.
831         * mipsnbsd-tdep.c (mipsnbsd_gregset): Likewise.
832
833 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
834
835         * amd64-linux-tdep.c (amd64_linux_iterate_over_regset_sections):
836         For ".reg-xstate", explicitly specify the requested section size
837         via X86_XSTATE_SIZE instead of just 0 on input and
838         X86_XSTATE_MAX_SIZE on output.
839         * i386-linux-tdep.c (i386_linux_iterate_over_regset_sections):
840         Likewise.
841
842 2015-02-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
843
844         PR corefiles/17808:
845         * gdbarch.sh (iterate_over_regset_sections_cb): Document this
846         function type, particularly its SIZE parameter.
847         * gdbarch.h: Regenerate.
848         * amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
849         actual against required size using ">=" instead of "==".
850         (amd64_collect_fpregset): Likewise.
851         * i386-tdep.c (i386_supply_gregset): Likewise.
852         (i386_collect_gregset): Likewise.
853         (i386_supply_fpregset): Likewise.
854         (i386_collect_fpregset): Likewise.
855         * mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
856         (mips_fill_gregset_wrapper): Likewise.
857         (mips_supply_fpregset_wrapper): Likewise.
858         (mips_fill_fpregset_wrapper): Likewise.
859         (mips64_supply_gregset_wrapper): Likewise.
860         (mips64_fill_gregset_wrapper): Likewise.
861         (mips64_supply_fpregset_wrapper): Likewise.
862         (mips64_fill_fpregset_wrapper): Likewise.
863         * mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
864         (am33_supply_fpregset_method): Likewise.
865         (am33_collect_gregset_method): Likewise.
866         (am33_collect_fpregset_method): Likewise.
867
868 2015-02-04  Doug Evans  <dje@google.com>
869             Pedro Alves  <palves@redhat.com>
870             Eli Zaretskii  <eliz@gnu.org>
871
872         PR tui/17810
873         * tui/tui-command.c (tui_refresh_cmd_win): New function.
874         * tui/tui-command.c (tui_refresh_cmd_win): Declare.
875         * tui/tui-file.c: #include tui/tui-command.h.
876         (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
877         (tui_file_flush): Refresh command window if stream is gdb_stdout.
878         * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
879
880 2015-02-04  Pedro Alves  <palves@redhat.com>
881
882         Fix build breakage.
883         * event-loop.c (gdb_do_one_event): Add default switch case.
884
885 2015-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
886
887         Filter out inferior gcc option -fpreprocessed.
888         * compile/compile.c (filter_args): New function.
889         (get_args): Use it.
890
891 2015-02-03  Pedro Alves  <palves@redhat.com>
892
893         * event-loop.c: Don't declare nor define a queue type for
894         gdb_event_p.
895         (event_queue): Delete.
896         (create_event, create_file_event, gdb_event_xfree)
897         (initialize_event_loop, process_event): Delete.
898         (gdb_do_one_event): Return as soon as one event is handled.
899         (handle_file_event): Change prototype.  Used the passed in
900         file_handler pointer and ready_mask instead of looping over all
901         file handlers.
902         (gdb_wait_for_event): Update the poll/select timeouts before
903         blocking.  Run event handlers directly instead of queueing events.
904         Return as soon as one event is handled.
905         (struct async_event_handler_data): Delete.
906         (invoke_async_event_handler): Delete.
907         (check_async_event_handlers): Change return type to int.  Run
908         event handlers directly instead of queueing events.  Return as
909         soon as one event is handled.
910         (handle_timer_event): Delete.
911         (update_wait_timeout): New function, factored out from
912         poll_timers.
913         (poll_timers): Reimplement.
914         * event-loop.h (initialize_event_loop): Delete declaration.
915         * top.c (gdb_init): Don't call initialize_event_loop.
916
917 2015-02-03  Pedro Alves  <palves@redhat.com>
918
919         * event-loop.c (clear_async_event_handler): New function.
920         * event-loop.h (clear_async_event_handler): New declaration.
921         * record-btrace.c (record_btrace_async): New function.
922         (init_record_btrace_ops): Install record_btrace_async.
923         * record-full.c (record_full_async): New function.
924         (record_full_resume): Don't mark the async event source here.
925         (init_record_full_ops): Install record_full_async.
926         (record_full_core_resume): Don't mark the async event source here.
927         (init_record_full_core_ops): Install record_full_async.
928         * remote.c (remote_async): Mark and clear the async stop reply
929         queue event-loop token as appropriate.
930
931 2015-02-03  Pedro Alves  <palves@redhat.com>
932
933         * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
934         target_is_async_p instead of target_can_async.
935         (linux_nat_wait): Use target_is_async_p instead of
936         target_can_async.  Don't enable async here.
937         * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
938         target_is_async_p instead of target_can_async.
939
940 2015-02-02  Simon Marchi  <simon.marchi@ericsson.com>
941
942         * varobj.h (lang_varobj_ops): Mention which return values need
943         to be freed.
944
945 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
946
947         * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
948
949 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
950
951         PR gdb/17856:
952         * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
953         results found in the cache.
954
955 2015-02-02  Joel Brobecker  <brobecker@adacore.com>
956
957         PR gdb/17854:
958         * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
959         when allocating a new one.
960
961 2015-02-01  Tom Tromey  <tom@tromey.com>
962
963         * MAINTAINERS: Remove myself.
964
965 2015-01-31  Doug Evans  <xdje42@gmail.com>
966
967         * dwarf2read.c (process_structure_scope): Update setting of
968         TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
969         * gdbtypes.c (internal_type_vptr_fieldno): New function.
970         (set_type_vptr_fieldno): New function.
971         (internal_type_vptr_basetype): New function.
972         (set_type_vptr_basetype): New function.
973         (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
974         TYPE_VPTR_BASETYPE.
975         (allocate_cplus_struct_type): Initialize vptr_fieldno.
976         (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
977         (print_cplus_stuff): ... moved here.
978         (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
979         * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
980         moved to ...
981         (struct cplus_struct_type): ... here.  All uses updated.
982         (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
983         (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
984         (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
985         * stabsread.c (read_tilde_fields): Update setting of
986         TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
987
988 2015-01-31  Doug Evans  <xdje42@gmail.com>
989
990         * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
991         to self_p.
992         (cp_print_class_member): Rename local domain to self_type.
993         * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
994         domain_type to self_type.
995         (set_die_type) <need_gnat_info>: Handle
996         TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
997         * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
998         TYPE_SPECIFIC_SELF_TYPE.
999         * gdbtypes.c (internal_type_self_type): New function.
1000         (set_type_self_type): New function.
1001         (smash_to_memberptr_type): Rename parameter domain to self_type.
1002         Update setting of TYPE_SELF_TYPE.
1003         (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
1004         (smash_to_method_type): Rename parameter domain to self_type.
1005         Update setting of TYPE_SELF_TYPE.
1006         (check_stub_method): Call smash_to_method_type.
1007         (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
1008         (copy_type_recursive): Ditto.
1009         * gdbtypes.h (enum type_specific_kind): New value
1010         TYPE_SPECIFIC_SELF_TYPE.
1011         (struct main_type) <type_specific>: New member self_type.
1012         (struct cplus_struct_type) <fn_field.type>: Update comment.
1013         (TYPE_SELF_TYPE): Rewrite.
1014         (internal_type_self_type, set_type_self_type): Declare.
1015         * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
1016         self_type.
1017         (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
1018         * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
1019         TYPE_TARGET_TYPE.
1020         * stabsread.c (read_member_functions): Mark methods with
1021         TYPE_CODE_METHOD, not TYPE_CODE_FUNC.  Update setting of
1022         TYPE_SELF_TYPE.
1023
1024 2015-01-31  Doug Evans  <xdje42@gmail.com>
1025
1026         * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
1027         All uses updated.
1028
1029 2015-01-31  Doug Evans  <xdje42@gmail.com>
1030
1031         * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
1032         or unions.  Return zero if union.
1033         (gnuv3_get_vtable): Call check_typedef.  Assert only passed structs.
1034         (gnuv3_rtti_type): Pass already-check_typedef'd value to
1035         gnuv3_get_vtable.
1036         (compute_vtable_size): Assert only passed structs.
1037         (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
1038
1039 2015-01-31  Doug Evans  <xdje42@gmail.com>
1040
1041         * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
1042         kinds.
1043
1044 2015-01-31  Gary Benson <gbenson@redhat.com>
1045             Doug Evans  <dje@google.com>
1046
1047         PR cli/9007
1048         PR cli/11920
1049         PR cli/15548
1050         * cli/cli-cmds.c (complete_command): Notify user if max-completions
1051         reached.
1052         * common/common-exceptions.h (enum errors)
1053         <MAX_COMPLETIONS_REACHED_ERROR>: New value.
1054         * completer.h (get_max_completions_reached_message): New declaration.
1055         (max_completions): Likewise.
1056         (completion_tracker_t): New typedef.
1057         (new_completion_tracker): New declaration.
1058         (make_cleanup_free_completion_tracker): Likewise.
1059         (maybe_add_completion_enum): New enum.
1060         (maybe_add_completion): New declaration.
1061         (throw_max_completions_reached_error): Likewise.
1062         * completer.c (max_completions): New global variable.
1063         (new_completion_tracker): New function.
1064         (free_completion_tracker): Likewise.
1065         (make_cleanup_free_completion_tracker): Likewise.
1066         (maybe_add_completions): Likewise.
1067         (throw_max_completions_reached_error): Likewise.
1068         (complete_line): Remove duplicates and limit result to max_completions
1069         entries.
1070         (get_max_completions_reached_message): New function.
1071         (gdb_display_match_list): Handle max_completions.
1072         (_initialize_completer): New declaration and function.
1073         * symtab.c: Include completer.h.
1074         (completion_tracker): New static variable.
1075         (completion_list_add_name): Call maybe_add_completion.
1076         (default_make_symbol_completion_list_break_on_1): Renamed from
1077         default_make_symbol_completion_list_break_on.  Maintain
1078         completion_tracker across calls to completion_list_add_name.
1079         (default_make_symbol_completion_list_break_on): New function.
1080         * top.c (init_main): Set rl_completion_display_matches_hook.
1081         * tui/tui-io.c: Include completer.h.
1082         (tui_old_rl_display_matches_hook): New static global.
1083         (tui_rl_display_match_list): Notify user if max-completions reached.
1084         (tui_setup_io): Save/restore rl_completion_display_matches_hook.
1085         * NEWS (New Options): Mention set/show max-completions.
1086
1087 2015-01-31  Gary Benson  <gbenson@redhat.com>
1088
1089         * symtab.c (struct add_name_data) <code>: New field.
1090         Updated comments.
1091         (add_symtab_completions): New function.
1092         (symtab_expansion_callback): Likewise.
1093         (default_make_symbol_completion_list_break_on): Set datum.code.
1094         Move minimal symbol scan before calling expand_symtabs_matching.
1095         Scan known primary symtabs for externs and statics before calling
1096         expand_symtabs_matching.  Pass symtab_expansion_callback as
1097         expansion_notify argument to expand_symtabs_matching.  Do not scan
1098         primary symtabs for externs and statics after calling
1099         expand_symtabs_matching.
1100
1101 2015-01-31  Gary Benson  <gbenson@redhat.com>
1102
1103         * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
1104         (struct quick_symbol_functions) <expand_symtabs_matching>:
1105         New argument expansion_notify.  All uses updated.
1106         (expand_symtabs_matching): New argument expansion_notify.
1107         All uses updated.
1108         * symfile-debug.c (debug_qf_expand_symtabs_matching):
1109         Also print expansion notify.
1110         * symtab.c (expand_symtabs_matching_via_partial): Call
1111         expansion_notify whenever a partial symbol table is expanded.
1112         * dwarf2read.c (dw2_expand_symtabs_matching): Call
1113         expansion_notify whenever a symbol table is instantiated.
1114
1115 2015-01-31  Doug Evans  <xdje42@gmail.com>
1116
1117         * cli-out.c: #include completer.h, readline/readline.h.
1118         (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
1119         (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
1120         (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
1121         * cli-out.h (cli_display_match_list): Declare.
1122         * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
1123         (ELLIPSIS_LEN): Ditto.
1124         (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
1125         (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
1126         (gdb_fnprint, gdb_print_filename): Ditto.
1127         (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
1128         (gdb_display_match_list): Ditto.
1129         * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
1130         (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
1131         (mld_beep_ftype, mld_read_key_ftype): Ditto.
1132         (match_list_displayer): New struct.
1133         (gdb_display_match_list): Declare.
1134         * top.c (init_main): Set rl_completion_display_matches_hook.
1135         * tui/tui-io.c: #include completer.h.
1136         (printable_part, PUTX, print_filename, get_y_or_n): Delete.
1137         (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
1138         (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
1139         (tui_mld_getc, tui_mld_read_key): Ditto.
1140         (tui_rl_display_match_list): Rewrite.
1141         (tui_handle_resize_during_io): New arg for_completion.  All callers
1142         updated.
1143
1144 2015-01-31  Doug Evans  <xdje42@gmail.com>
1145
1146         Add symbol lookup cache.
1147         * NEWS: Document new options and commands.
1148         * symtab.c (symbol_cache_key): New static global.
1149         (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
1150         (SYMBOL_LOOKUP_FAILED): New macro.
1151         (symbol_cache_slot_state): New enum.
1152         (block_symbol_cache): New struct.
1153         (symbol_cache): New struct.
1154         (new_symbol_cache_size, symbol_cache_size): New static globals.
1155         (hash_symbol_entry, eq_symbol_entry): New functions.
1156         (symbol_cache_byte_size, resize_symbol_cache): New functions.
1157         (make_symbol_cache, free_symbol_cache): New functions.
1158         (get_symbol_cache, symbol_cache_cleanup): New function.
1159         (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
1160         (symbol_cache_lookup, symbol_cache_clear_slot): New function.
1161         (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
1162         (symbol_cache_flush, symbol_cache_dump): New functions.
1163         (maintenance_print_symbol_cache): New function.
1164         (maintenance_flush_symbol_cache): New function.
1165         (symbol_cache_stats): New function.
1166         (maintenance_print_symbol_cache_statistics): New function.
1167         (symtab_new_objfile_observer): New function.
1168         (symtab_free_objfile_observer): New function.
1169         (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
1170         (_initialize_symtab): Init symbol_cache_key.  New parameter
1171         maint symbol-cache-size.  New maint commands print symbol-cache,
1172         print symbol-cache-statistics, flush-symbol-cache.
1173         Install new_objfile, free_objfile observers.
1174
1175 2015-01-31  Joel Brobecker  <brobecker@adacore.com>
1176
1177         PR symtab/17855
1178         * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
1179         to end.
1180
1181 2015-01-31  Doug Evans  <xdje42@gmail.com>
1182
1183         * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
1184         * auto-load.c: #include ctype.h.
1185         (struct auto_load_pspace_info): Replace member loaded_scripts with
1186         new members loaded_script_files, loaded_script_texts.
1187         (auto_load_pspace_data_cleanup): Update.
1188         (init_loaded_scripts_info): Update.
1189         (get_auto_load_pspace_data_for_loading): Update.
1190         (maybe_add_script_file): Renamed from maybe_add_script.  All callers
1191         updated.
1192         (maybe_add_script_text): New function.
1193         (clear_section_scripts): Update.
1194         (source_script_file, execute_script_contents): New functions.
1195         (source_section_scripts): Add support for
1196         SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
1197         (print_scripts): New function.
1198         (auto_load_info_scripts): Also print inlined scripts.
1199         (maybe_print_unsupported_script_warning): Renamed from
1200         unsupported_script_warning_print.  All callers updated.
1201         (maybe_print_script_not_found_warning): Renamed from
1202         script_not_found_warning_print.  All callers updated.
1203         * extension-priv.h (struct extension_language_script_ops): New member
1204         objfile_script_executor.
1205         * extension.c (ext_lang_objfile_script_executor): New function.
1206         * extension.h (objfile_script_executor_func): New typedef.
1207         (ext_lang_objfile_script_executor): Declare.
1208         * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
1209         * guile/guile.c (guile_extension_script_ops): Update.
1210         * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
1211         * python/python.c (python_extension_script_ops): Update.
1212         (gdbpy_execute_objfile_script): New function.
1213
1214 2015-01-31  Eli Zaretskii  <eliz@gnu.org>
1215
1216         * tui/tui-io.c (tui_expand_tabs): New function.
1217         (tui_puts, tui_redisplay_readline): Expand TABs into the
1218         appropriate number of spaces.
1219         * tui/tui-regs.c: Include tui-io.h.
1220         (tui_register_format): Call tui_expand_tabs to expand TABs into
1221         the appropriate number of spaces.
1222         * tui/tui-io.h: Add prototype for tui_expand_tabs.
1223
1224 2015-01-30  Doug Evans  <dje@google.com>
1225
1226         * NEWS: "info source" command now display producer string if present.
1227         * source.c (source_info): Print producer string if present.
1228
1229 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1230
1231         * varobj.c (varobj_delete): Fix comment.
1232
1233 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1234
1235         * varobj.c (create_child): Modify comment.
1236
1237 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1238
1239         * ada-varobj.c (ada_number_of_children): Constify struct varobj *
1240         parameter.
1241         (ada_name_of_variable): Same.
1242         (ada_path_expr_of_child): Same.
1243         (ada_value_of_variable): Same.
1244         (ada_value_is_changeable_p): Same.
1245         (ada_value_has_mutated): Same.
1246         * c-varobj.c (varobj_is_anonymous_child): Same.
1247         (c_is_path_expr_parent): Same.
1248         (c_number_of_children): Same.
1249         (c_name_of_variable): Same.
1250         (c_path_expr_of_child): Same.
1251         (get_type): Same.
1252         (c_value_of_variable): Same.
1253         (cplus_number_of_children): Same.
1254         (cplus_name_of_variable): Same.
1255         (cplus_path_expr_of_child): Same.
1256         (cplus_value_of_variable): Same.
1257         * jv-varobj.c (java_number_of_children): Same.
1258         (java_name_of_variable): Same.
1259         (java_path_expr_of_child): Same.
1260         (java_value_of_variable): Same.
1261         * varobj.c (number_of_children): Same.
1262         (name_of_variable): Same.
1263         (is_root_p): Same.
1264         (varobj_ensure_python_env): Same.
1265         (varobj_get_objname): Same.
1266         (varobj_get_expression): Same.
1267         (varobj_get_display_format): Same.
1268         (varobj_get_display_hint): Same.
1269         (varobj_has_more): Same.
1270         (varobj_get_thread_id): Same.
1271         (varobj_get_frozen): Same.
1272         (dynamic_varobj_has_child_method): Same.
1273         (varobj_get_gdb_type): Same.
1274         (is_path_expr_parent): Same.
1275         (varobj_default_is_path_expr_parent): Same.
1276         (varobj_get_language): Same.
1277         (varobj_get_attributes): Same.
1278         (varobj_is_dynamic_p): Same.
1279         (varobj_get_child_range): Same.
1280         (varobj_value_has_mutated): Same.
1281         (varobj_get_value_type): Same.
1282         (number_of_children): Same.
1283         (name_of_variable): Same.
1284         (check_scope): Same.
1285         (varobj_editable_p): Same.
1286         (varobj_value_is_changeable_p): Same.
1287         (varobj_floating_p): Same.
1288         (varobj_default_value_is_changeable_p): Same.
1289
1290 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1291
1292         * varobj.c (varobj_get_path_expr): Set var->path_expr.
1293         * c-varobj.c (c_path_expr_of_child): Set local var instead of
1294         child->path_expr.
1295         (cplus_path_expr_of_child): Same.
1296
1297 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1298
1299         * mi-cmd-var.c (print_varobj): Free varobj_get_expression
1300         result.
1301         (mi_cmd_var_info_expression): Same.
1302         * varobj.c (varobj_get_expression): Mention in the comment that
1303         the result must by freed by the caller.
1304
1305 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
1306
1307         * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
1308         varobj_get_type.
1309         (varobj_update_one): Same.
1310         * varobj.c (update_type_if_necessary): Free curr_type_str and
1311         new_type_str.
1312         (varobj_get_type): Specify in comment that the result needs to be
1313         freed by the caller.
1314
1315 2015-01-29  Doug Evans  <dje@google.com>
1316
1317         PR symtab/17890
1318         * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
1319
1320 2015-01-25  Mark Wielaard  <mjw@redhat.com>
1321
1322         * dwarf2read.c (checkproducer): Call producer_is_gcc.
1323         * utils.c (producer_is_gcc_ge_4): Likewise.
1324         (producer_is_gcc): New function.
1325         * utils.h (producer_is_gcc): New declaration.
1326
1327 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
1328
1329         * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
1330         kind.
1331         * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
1332         parameter by "addr_stack" parameter.
1333         (resolve_dynamic_range): Replace "addr" parameter by
1334         "stack_addr" parameter.  Update function documentation.
1335         Update code accordingly.
1336         (resolve_dynamic_array, resolve_dynamic_union)
1337         (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
1338         (resolve_dynamic_type): Update code, following the changes made
1339         to resolve_dynamic_type_internal's interface.
1340         * dwarf2loc.h (struct property_addr_info): New.
1341         (dwarf2_evaluate_property): Replace "address" parameter
1342         by "addr_stack" parameter.  Adjust function documentation.
1343         (struct dwarf2_offset_baton): New.
1344         (struct dwarf2_property_baton): Update documentation of
1345         field "referenced_type" to be more general. New field
1346         "offset_info" in union data field.
1347         * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
1348         parameter by "addr_stack" parameter.  Adjust code accordingly.
1349         Add support for PROP_ADDR_OFFSET properties.
1350         * dwarf2read.c (attr_to_dynamic_prop): Add support for
1351         DW_AT_data_member_location attributes as well.  Use case
1352         statements instead of if/else condition.
1353
1354 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
1355
1356         * ada-varobj.c (ada_varobj_get_array_number_of_children):
1357         Return zero if PARENT_VALUE is NULL and parent_type's
1358         range type is dynamic.
1359
1360 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
1361
1362         * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
1363         nonzero if the type's subtype is dynamic.
1364         (resolve_dynamic_range): Also resolve the range's subtype.
1365
1366 2015-01-29  Alexander Klimov  <alserkli@inbox.ru>  (tiny patch)
1367
1368         Pushed by Joel Brobecker  <brobecker@adacore.com>.
1369         * symfile.c (unmap_overlay_command): Initialize sec to NULL.
1370
1371 2015-01-27  Doug Evans  <dje@google.com>
1372
1373         * NEWS: Mention gdb.Objfile.username.
1374         * python/py-objfile.c (objfpy_get_username): New function.
1375         (objfile_getset): Add "username".
1376
1377 2015-01-24  Mark Wielaard  <mjw@redhat.com>
1378
1379         * stack.c (return_command): Markup warning message with _.
1380
1381 2015-01-24  Doug Evans  <xdje42@gmail.com>
1382
1383         * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
1384
1385 2015-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1386
1387         Fix 100x slowdown regression on DWZ files.
1388         * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
1389         (struct line_header): Add offset and offset_in_dwz.
1390         (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
1391         (free_line_header_voidp): New declaration.
1392         (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
1393         functions.
1394         (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
1395         (handle_DW_AT_stmt_list): Use line_header_hash.
1396         (free_line_header_voidp): New function.
1397         (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
1398         (dwarf_decode_lines): New parameter decode_mapping, use it.
1399         (dwarf2_free_objfile): Free line_header_hash.
1400
1401 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
1402
1403         PR gdb/17416
1404         * valops.c (value_rtti_indirect_type): Catch exception thrown by
1405         value_ind.
1406
1407 2015-01-15  Mark Wielaard  <mjw@redhat.com>
1408
1409         * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
1410         DW_AT_noreturn.
1411         * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
1412         calling_convention an 8 bit bit field.
1413         (TYPE_NO_RETURN): New macro.
1414         * infcmd.c (finish_command): Query if function does not return
1415         normally.
1416         * stack.c (return_command): Likewise.
1417
1418 2015-01-23  Pedro Alves  <palves@redhat.com>
1419
1420         * linux-nat.c (linux_is_async_p): New macro.
1421         (linux_nat_is_async_p):
1422         (linux_nat_terminal_inferior): Check whether the target can async
1423         instead of whether it is already async.
1424         (linux_nat_terminal_ours): Don't check whether the target is
1425         async.
1426         (linux_async_pipe): Use linux_is_async_p.
1427
1428 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1429
1430         * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
1431         '-ascending'.
1432         * thread.c (tp_array_compar_ascending, tp_array_compar): New.
1433         (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
1434         Sort tp_array using tp_array_compar.
1435         (_initialize_thread): Extend thread_apply_all_command help.
1436
1437 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1438
1439         * corelow.c (core_open): Call also thread_command.
1440         * gdbthread.h (thread_command): New prototype moved from ...
1441         * thread.c (thread_command): ... here.
1442         (thread_command): Make it global.
1443
1444 2015-01-22  Pedro Alves  <palves@redhat.com>
1445
1446         * configure.ac [*mingw32*]: Check $curses_found instead of
1447         $prefer_curses.
1448         * configure: Regenerate.
1449         * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
1450         HAVE_NCURSES_NCURSES_H checks.
1451
1452 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
1453
1454         * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
1455         fails with the 1st arg NULL, try again with "unknown".  Don't test
1456         the "cup" capability: it isn't supported by the Windows port of
1457         ncurses, but the Windows console driver is still capable of
1458         supporting TUI.
1459
1460 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1461
1462         * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
1463
1464 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
1465
1466         * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
1467         (ALLDEPFILES): Remove irix5-nat.c.  These two are part of the
1468         reason that "make TAGS" is broken.
1469
1470 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1471
1472         * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
1473         and check additional store instructions.
1474
1475 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
1476
1477         * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
1478
1479 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
1480
1481         * ppc-linux-tdep.c (ppc_skip_trampoline_code,
1482         ppc_canonicalize_syscall, ppc_linux_syscall_record,
1483         ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
1484         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1485         * rs6000-tdep.c (rs6000_epilogue_frame_cache,
1486         rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
1487         rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
1488         ppc_process_record_op19, ppc_process_record_op31,
1489         ppc_process_record_op59, ppc_process_record_op60,
1490         ppc_process_record_op63): Likewise.
1491
1492 2015-01-20  Joel Brobecker  <brobecker@adacore.com>
1493
1494         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
1495         (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
1496         strerror.
1497
1498 2015-01-20  Wei-cheng Wang  <cole945@gmail.com>
1499
1500         * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
1501         ppc_process_record_op31, ppc_process_record_op59,
1502         ppc_process_record_op60, ppc_process_record_op63,
1503         ppc_process_record): Fix -Wformat warning.
1504         * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
1505         Remove unused variables.
1506
1507 2015-01-20  Chen Gang  <gang.chen.5i5j@gmail.com>
1508
1509         * MAINTAINERS (Write After Approval): Add "Chen Gang".
1510
1511 2015-01-19  Eli Zaretskii  <eliz@gnu.org>
1512
1513         * configure.ac [*mingw32*]: Only add windows-termcap.o to
1514         CONFIG_OBS if not building with a curses library.
1515         * configure: Regenerate.
1516
1517         * windows-termcap.c: Include defs.h.  Make the whole body empty if
1518         either one of HAVE_CURSES_H or HAVE_NCURSES_H or
1519         HAVE_NCURSES_NCURSES_H is defined.
1520
1521 2015-01-19  Joel Brobecker  <brobecker@adacore.com>
1522
1523         * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
1524         from end of line to start of next line.
1525
1526 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1527
1528         * ppc-linux-tdep.c (ppc_skip_trampoline_code):
1529         Scan PLT stub backward for reverse debugging.
1530         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1531
1532 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1533             Ulrich Weigand  <uweigand@de.ibm.com>
1534
1535         * configure.tgt (powerpc*-*-linux): Add linux-record.o to
1536         gdb_target_obs.
1537         (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
1538         record.
1539         (ppc_canonicalize_syscall, ppc_linux_syscall_record,
1540         ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
1541         (ppc_linux_init_abi): Set process_record, process_record_signal.
1542         * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
1543         ppc_linux_record_tdep to gdbarch_tdep.
1544         (ppc_process_record): New declaration.
1545         * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
1546         ppc_process_record_op19, ppc_process_record_op31,
1547         ppc_process_record_op59, ppc_process_record_op60,
1548         ppc_process_record_op63, ppc_process_record): New functions.
1549
1550 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1551
1552         * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
1553         rs6000_in_function_epilogue_frame_p and add an argument
1554         for frame_info.
1555         (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
1556         rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
1557         New functions.
1558         (rs6000_epilogue_frame_unwind): New.
1559         (rs6000_gdbarch_init): Append epilogue unwinder.
1560
1561 2015-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
1562
1563         * nat/linux-personality.c: Replace "#ifndef
1564         HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
1565         !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
1566         systems.
1567
1568 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
1569
1570         * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
1571         functions.
1572         (_initialize_tui_win) <border-kind, border-mode>:
1573         <active-border-mode>: Use tui_set_var_cmd as the "set" function.
1574         (tui_set_tab_width_command): Fix the commentary.
1575
1576         * tui/tui-win.h: Add prototype for tui_rehighlight_all.
1577
1578         * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
1579         Doc fix.
1580         (tui_set_tab_width_command): Delete and recreate the source and
1581         the disassembly windows, to show the effect of the changed tab
1582         size immediately.
1583
1584         * tui/tui-data.h (LINE_PREFIX): Make shorter
1585         (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
1586         "Thread NNNNN.XXXX" thread ID notation on Windows.
1587
1588 2015-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1589
1590         Fix gcc-5 compilation.
1591         * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
1592
1593 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1594
1595         * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
1596         (linux-personality.o): New rule.
1597         * common/common-defs.h: Include <stdint.h>.
1598         * config/aarch64/linux.mh (NATDEPFILES): Include
1599         linux-personality.o.
1600         * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
1601         * config/arm/linux.mh (NATDEPFILES): Likewise.
1602         * config/i386/linux64.mh (NATDEPFILES): Likewise.
1603         * config/i386/linux.mh (NATDEPFILES): Likewise.
1604         * config/ia64/linux.mh (NATDEPFILES): Likewise.
1605         * config/m32r/linux.mh (NATDEPFILES): Likewise.
1606         * config/m68k/linux.mh (NATDEPFILES): Likewise.
1607         * config/mips/linux.mh (NATDEPFILES): Likewise.
1608         * config/pa/linux.mh (NATDEPFILES): Likewise.
1609         * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1610         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
1611         * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
1612         * config/s390/linux.mh (NATDEPFILES): Likewise.
1613         * config/sparc/linux64.mh (NATDEPFILES): Likewise.
1614         * config/sparc/linux.mh (NATDEPFILES): Likewise.
1615         * config/tilegx/linux.mh (NATDEPFILES): Likewise.
1616         * config/xtensa/linux.mh (NATDEPFILES): Likewise.
1617         * defs.h: Remove #include <stdint.h> (moved to
1618         common/common-defs.h).
1619         * linux-nat.c: Include nat/linux-personality.h.  Remove #include
1620         <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
1621         nat/linux-personality.c).
1622         (linux_nat_create_inferior): Remove code to disable address space
1623         randomization (moved to nat/linux-personality.c).  Create cleanup
1624         to disable address space randomization.
1625         * nat/linux-personality.c: New file.
1626         * nat/linux-personality.h: Likewise.
1627
1628 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1629
1630         * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
1631         common/posix-strerror.c.
1632         (posix-strerror.o): New rule.
1633         (mingw-strerror.o): Likewise.
1634         * common/common-utils.h (safe_strerror): Move prototype to here,
1635         from utils.h.
1636         * common/common.host: New file.
1637         * common/mingw-strerror.c: Likewise.
1638         * common/posix-strerror.c: Likewise.
1639         * configure: Regenerated.
1640         * configure.ac: Source common/common.host.  Add variable
1641         common_host_obs to gdb_host_obs.
1642         * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
1643         gdb/common/posix-strerror.c when warning about the use of
1644         strerror.
1645         * mingw-hdep.c (safe_strerror): Remove definition; move it to
1646         common/mingw-strerror.c.
1647         * posix-hdep.c (safe_strerror): Remove definition; move it to
1648         common/posix-hdep.c.
1649         * utils.h (safe_strerror): Remove prototype; move to
1650         common/common-utils.h.
1651
1652 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
1653
1654         GDB 7.8.2 released.
1655
1656 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
1657
1658         * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
1659         ___XA type if the array has already been fixed.
1660
1661 2015-01-14  Yao Qi  <yao@codesourcery.com>
1662
1663         * Makefile.in (ppc-linux.o): New rule.
1664         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
1665         * configure.ac: AC_CHECK_FUNCS(getauxval).
1666         * config.in: Re-generated.
1667         * configure: Re-generated.
1668         * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
1669         Declare.
1670         * nat/ppc-linux.c: New file.
1671         * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
1672         Call ppc64_64bit_inferior_p.
1673
1674 2015-01-14  Yao Qi  <yao@codesourcery.com>
1675
1676         * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
1677         nat/ppc-linux.h.
1678         (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
1679         (PPC_FEATURE_HAS_DFP): Likewise.
1680         (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
1681         (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
1682         (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
1683         Include "nat/ppc-linux.h".
1684         * nat/ppc-linux.h: New file.
1685         * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
1686
1687 2015-01-14  Pedro Alves  <palves@redhat.com>
1688
1689         PR gdb/17525
1690         * breakpoint.c: Include "interps.h".
1691         (bpstat_do_actions_1): Also check whether the interpreter is
1692         async.
1693
1694 2015-01-14  Pedro Alves  <palves@redhat.com>
1695
1696         PR cli/17828
1697         * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
1698         reinstall if the interpreter is sync.
1699
1700 2015-01-13  Doug Evans  <dje@google.com>
1701
1702         * objfiles.c (objfile_filename): New function.
1703         * objfiles.h (objfile_filename): Declare it.
1704         (objfile_name): Add function comment.
1705         * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
1706         bfd file name (which may be realpath'd), and the original name.
1707
1708 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1709
1710         * NEWS: Create a new section for the next release branch.
1711         Rename the section of the current branch, now that it has
1712         been cut.
1713
1714 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1715
1716         GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
1717         * version.in: Bump version to 7.9.50.DATE-cvs.
1718
1719 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1720
1721         * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
1722         Remove trailing new-line in argument of call to warning.
1723
1724 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1725
1726         * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
1727         new-line in argument of call to "warning".
1728
1729 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1730
1731         * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
1732         in static block, then try searching for primitive types.
1733
1734 2015-01-12  Patrick Palka  <patrick@parcs.ath.cx>
1735
1736         * top.h (gdb_add_history): Declare.
1737         * top.c (command_count): New variable.
1738         (gdb_add_history): New function.
1739         (gdb_safe_append_history): New static function.
1740         (quit_force): Call it.
1741         (command_line_input): Use gdb_add_history instead of
1742         add_history.
1743         * event-top.c (command_line_handler): Likewise.
1744
1745 2015-01-12  James Clarke  <jrtc27@jrtc27.com>  (tiny patch)
1746
1747         PR gdb/17046
1748         * darwin-nat.c: Replace <machine/setjmp.h> #include by
1749         <setjmp.h> #include.
1750
1751 2015-01-11  Doug Evans  <xdje42@gmail.com>
1752
1753         * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
1754
1755 2015-01-11  Doug Evans  <xdje42@gmail.com>
1756
1757         PR gdb/15830
1758         * NEWS: The "maint demangle" command is renamed as "demangle".
1759         * demangle.c: #include cli/cli-utils.h, language.h.
1760         (demangle_command): New function.
1761         (_initialize_demangle): Add new command "demangle".
1762         * maint.c (maintenance_demangle): Stub out.
1763         (_initialize_maint_cmds): Update help text for "maint demangle",
1764         and mark as deprecated.
1765
1766 2015-01-11  Mark Kettenis  <kettenis@gnu.org>
1767
1768         * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
1769         inferior_thread is a function.
1770
1771 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
1772
1773         * Makefile.in (.y.c): Don't munge yacc's #line
1774         directives.
1775
1776 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
1777
1778         * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
1779         to prompt for input.
1780         * tui/tui-hooks.c (tui_query_hook): Remove.
1781         (tui_install_hooks): Don't set deprecated_query_hook.
1782         * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
1783         height calculation.  Always update the command window's cur_line.
1784
1785 2015-01-09  Pedro Alves  <palves@redhat.com>
1786
1787         * breakpoint.c (hardware_breakpoint_inserted_here_p): New
1788         function.
1789         * breakpoint.h (hardware_breakpoint_inserted_here_p): New
1790         declaration.
1791         * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
1792         (linux_resume_one_lwp): Store the thread's PC.  Adjust to clear
1793         stop_reason.
1794         (check_stopped_by_watchpoint): New function.
1795         (save_sigtrap): Reimplement.
1796         (linux_nat_stopped_by_watchpoint): Adjust.
1797         (linux_nat_lp_status_is_event): Delete.
1798         (stop_wait_callback): Only call save_sigtrap after storing the
1799         pending status.
1800         (status_callback): If the thread had been stopped for a breakpoint
1801         that has since been removed, discard the event and resume the LWP.
1802         (count_events_callback, select_event_lwp_callback): Use
1803         lwp_status_pending_p instead of linux_nat_lp_status_is_event.
1804         (cancel_breakpoint): Rename to ...
1805         (check_stopped_by_breakpoint): ... this.  Record whether the LWP
1806         stopped for a software breakpoint or hardware breakpoint.
1807         (select_event_lwp): Only give preference to the stepping LWP in
1808         all-stop mode.  Adjust comments.
1809         (stop_and_resume_callback): Remove references to new_pending_p.
1810         (linux_nat_filter_event): Likewise.  Leave exit events of the
1811         leader thread pending here.  Handle signal short circuiting here.
1812         Only call save_sigtrap after storing the pending waitstatus.
1813         (linux_nat_wait_1): Remove 'retry' label.  Remove references to
1814         new_pending.  Don't handle leaving events the caller is not
1815         interested in pending here, nor handle signal short-circuiting
1816         here.  Also give equal priority to all LWPs that have had events
1817         in non-stop mode.  If reporting a software breakpoint event,
1818         unadjust the LWP's PC.
1819         * linux-nat.h (enum lwp_stop_reason): New.
1820         (struct lwp_info) <stop_pc>: New field.
1821         (struct lwp_info) <stopped_by_watchpoint>: Delete field.
1822         (struct lwp_info) <stop_reason>: New field.
1823         * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
1824
1825 2015-01-09  Pedro Alves  <palves@redhat.com>
1826
1827         * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
1828         Set the LWP's 'resumed' flag.
1829
1830 2015-01-09  Pedro Alves  <palves@redhat.com>
1831
1832         * linux-nat.c (linux_resume_one_lwp): New function.
1833         (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
1834         (linux_nat_resume): Use lwp_status_pending_p and
1835         linux_resume_one_lwp.
1836         (linux_handle_syscall_trap): Use linux_resume_one_lwp.
1837         (linux_handle_extended_wait): Use linux_resume_one_lwp.
1838         (status_callback, running_callback): Use lwp_status_pending_p.
1839         (lwp_status_pending_p): New function.
1840         (stop_and_resume_callback): Use lwp_status_pending_p.
1841         (linux_nat_filter_event): Use linux_resume_one_lwp.
1842         (linux_nat_wait_1): Always use status_callback to look for an LWP
1843         with a pending status.  Use linux_resume_one_lwp.
1844         (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
1845         linux_resume_one_lwp.
1846
1847 2015-01-09  Pedro Alves  <palves@redhat.com>
1848
1849         * breakpoint.c (bp_location_inserted_here_p): New function,
1850         factored out from ...
1851         (breakpoint_inserted_here_p): ... here.  Use
1852         ALL_BP_LOCATIONS_AT_ADDR.
1853         (software_breakpoint_inserted_here_p): Use
1854         bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
1855
1856 2014-01-09  Pedro Alves  <palves@redhat.com>
1857
1858         Skip enabling event reporting if the kernel supports
1859         PTRACE_EVENT_CLONE.
1860         * linux-thread-db.c: Include "nat/linux-ptrace.h".
1861         (thread_db_use_events): New function.
1862         (try_thread_db_load_1): Check thread_db_use_events before enabling
1863         event reporting.
1864         (update_thread_state): New function.
1865         (attach_thread): Use it.  Check thread_db_use_events before
1866         enabling event reporting.
1867         (thread_db_detach): Check thread_db_use_events before disabling
1868         event reporting.
1869         (find_new_threads_callback): Check thread_db_use_events before
1870         enabling event reporting.  Update the thread's state if not using
1871         libthread_db events.
1872
1873 2015-01-09  Pedro Alves  <palves@redhat.com>
1874
1875         * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
1876         about to wait for is > 0.
1877         * linux-thread-db.c (find_new_threads_callback): Ignore thread if
1878         the kernel thread ID is -1.
1879
1880 2015-01-09  Pedro Alves  <palves@redhat.com>
1881
1882         * linux-nat.c (attach_proc_task_lwp_callback): New function.
1883         (linux_nat_attach): Use linux_proc_attach_tgid_threads.
1884         (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
1885         ptrace option flags.
1886         * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
1887         field.
1888         * nat/linux-procfs.c: Include <dirent.h>.
1889         (linux_proc_get_int): New parameter "warn".  Handle it.
1890         (linux_proc_get_tgid): Adjust.
1891         (linux_proc_get_tracerpid): Rename to ...
1892         (linux_proc_get_tracerpid_nowarn): ... this.
1893         (linux_proc_pid_get_state): New function, factored out from
1894         (linux_proc_pid_has_state): ... this.  Add new parameter "warn"
1895         and handle it.
1896         (linux_proc_pid_is_gone): New function.
1897         (linux_proc_pid_is_stopped): Adjust.
1898         (linux_proc_pid_is_zombie_maybe_warn)
1899         (linux_proc_pid_is_zombie_nowarn): New functions.
1900         (linux_proc_pid_is_zombie): Use
1901         linux_proc_pid_is_zombie_maybe_warn.
1902         (linux_proc_attach_tgid_threads): New function.
1903         * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
1904         (linux_proc_get_tracerpid): Rename to ...
1905         (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
1906         (linux_proc_pid_is_gone): New declaration.
1907         (linux_proc_pid_is_zombie): Update comment.
1908         (linux_proc_pid_is_zombie_nowarn): New declaration.
1909         (linux_proc_attach_lwp_func): New typedef.
1910         (linux_proc_attach_tgid_threads): New declaration.
1911         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
1912         use nowarn functions.
1913         (linux_ptrace_attach_fail_reason_string): Move here from
1914         gdbserver/linux-low.c and rename.
1915         (ptrace_supports_feature): If the current ptrace options are not
1916         known yet, check them now, instead of asserting.
1917         * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
1918         Declare.
1919
1920 2015-01-09  Pedro Alves  <palves@redhat.com>
1921
1922         * linux-thread-db.c (thread_db_find_new_threads_silently)
1923         (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
1924         (find_new_threads_once): Print debug output on gdb_stdlog.
1925
1926 2015-01-09  Chen Gang  <gang.chen.5i5j@gmail.com>
1927             Pedro Alves  <palves@redhat.com>
1928
1929         * compile/compile.c: Include "gdb_wait.h".
1930         (do_rmdir): Check return value, and free 'zap'.
1931
1932 2015-01-08  Pedro Alves  <palves@redhat.com>
1933             Yao Qi  <yao@codesourcery.com>
1934
1935         * dwarf2loc.c (indirect_pieced_value): Don't call
1936         gdb_sign_extend.  Call extract_signed_integer instead.
1937         * utils.c (gdb_sign_extend): Remove.
1938         * utils.h (gdb_sign_extend): Remove declaration.
1939
1940 2015-01-07  Pierre Muller  <muller@sourceware.org>
1941
1942         PR symtab/17811
1943         * stabsread.c (define_symbol): Set language for C++ special symbols.
1944
1945 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
1946
1947         * inflow.c (initial_gdb_ttystate): Tweak comment.
1948
1949 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
1950
1951         * inflow.c (set_initial_gdb_ttystate): Add empty line after
1952         comment documenting function.
1953
1954 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
1955
1956         * terminal.h (set_initial_gdb_ttystate): Declare.
1957         * inflow.c (initial_gdb_ttystate): New static variable.
1958         (set_initial_gdb_ttystate): New setter.
1959         (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
1960         instead of our current terminal state.
1961         * top.c (gdb_init): Call set_initial_gdb_ttystate.
1962
1963 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
1964
1965         * guile/scm-type.c (tyscm_array_1): Add comment.
1966         * python/py-type.c (typy_array_1): Add comment.
1967
1968 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
1969
1970         * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
1971         error if N2 is equal to N1 - 1.
1972
1973 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
1974
1975         * python/py-type.c (typy_array_1): Do not raise negative-length
1976         exception if N2 is equal to N1 - 1.
1977
1978 2015-01-03  Doug Evans  <xdje42@gmail.com>
1979
1980         * c-exp.y: Whitespace cleanup.
1981         (classify_inner_name): Remove extra ;.
1982
1983 2015-01-02  Maciej W. Rozycki  <macro@codesourcery.com>
1984
1985         * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
1986         offset signed.
1987
1988 2015-01-02  Doug Evans  <dje@google.com>
1989
1990         * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
1991
1992 2015-01-02  Doug Evans  <dje@google.com>
1993
1994         * symtab.h (struct symbol): Fix typo in comment.
1995
1996 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
1997
1998         Update year range in copyright notice of all files.
1999
2000 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
2001
2002         * top.c (print_gdb_version): Update copyright year to 2015.
2003
2004 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
2005
2006         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
2007
2008 For older changes see ChangeLog-2014.
2009 \f
2010 Local Variables:
2011 mode: change-log
2012 left-margin: 8
2013 fill-column: 74
2014 version-control: never
2015 coding: utf-8
2016 End: