Use GCC5/DWARF5 DW_AT_noreturn to mark functions that don't return normally.
[external/binutils.git] / gdb / ChangeLog
1 2015-01-15  Mark Wielaard  <mjw@redhat.com>
2
3         * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
4         DW_AT_noreturn.
5         * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
6         calling_convention an 8 bit bit field.
7         (TYPE_NO_RETURN): New macro.
8         * infcmd.c (finish_command): Query if function does not return
9         normally.
10         * stack.c (return_command): Likewise.
11
12 2015-01-23  Pedro Alves  <palves@redhat.com>
13
14         * linux-nat.c (linux_is_async_p): New macro.
15         (linux_nat_is_async_p):
16         (linux_nat_terminal_inferior): Check whether the target can async
17         instead of whether it is already async.
18         (linux_nat_terminal_ours): Don't check whether the target is
19         async.
20         (linux_async_pipe): Use linux_is_async_p.
21
22 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
23
24         * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
25         '-ascending'.
26         * thread.c (tp_array_compar_ascending, tp_array_compar): New.
27         (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
28         Sort tp_array using tp_array_compar.
29         (_initialize_thread): Extend thread_apply_all_command help.
30
31 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
32
33         * corelow.c (core_open): Call also thread_command.
34         * gdbthread.h (thread_command): New prototype moved from ...
35         * thread.c (thread_command): ... here.
36         (thread_command): Make it global.
37
38 2015-01-22  Pedro Alves  <palves@redhat.com>
39
40         * configure.ac [*mingw32*]: Check $curses_found instead of
41         $prefer_curses.
42         * configure: Regenerate.
43         * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
44         HAVE_NCURSES_NCURSES_H checks.
45
46 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
47
48         * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
49         fails with the 1st arg NULL, try again with "unknown".  Don't test
50         the "cup" capability: it isn't supported by the Windows port of
51         ncurses, but the Windows console driver is still capable of
52         supporting TUI.
53
54 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
55
56         * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
57
58 2015-01-22  Eli Zaretskii  <eliz@gnu.org>
59
60         * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
61         (ALLDEPFILES): Remove irix5-nat.c.  These two are part of the
62         reason that "make TAGS" is broken.
63
64 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
65
66         * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
67         and check additional store instructions.
68
69 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
70
71         * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
72
73 2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
74
75         * ppc-linux-tdep.c (ppc_skip_trampoline_code,
76         ppc_canonicalize_syscall, ppc_linux_syscall_record,
77         ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
78         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
79         * rs6000-tdep.c (rs6000_epilogue_frame_cache,
80         rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
81         rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
82         ppc_process_record_op19, ppc_process_record_op31,
83         ppc_process_record_op59, ppc_process_record_op60,
84         ppc_process_record_op63): Likewise.
85
86 2015-01-20  Joel Brobecker  <brobecker@adacore.com>
87
88         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
89         (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
90         strerror.
91
92 2015-01-20  Wei-cheng Wang  <cole945@gmail.com>
93
94         * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
95         ppc_process_record_op31, ppc_process_record_op59,
96         ppc_process_record_op60, ppc_process_record_op63,
97         ppc_process_record): Fix -Wformat warning.
98         * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
99         Remove unused variables.
100
101 2015-01-20  Chen Gang  <gang.chen.5i5j@gmail.com>
102
103         * MAINTAINERS (Write After Approval): Add "Chen Gang".
104
105 2015-01-19  Eli Zaretskii  <eliz@gnu.org>
106
107         * configure.ac [*mingw32*]: Only add windows-termcap.o to
108         CONFIG_OBS if not building with a curses library.
109         * configure: Regenerate.
110
111         * windows-termcap.c: Include defs.h.  Make the whole body empty if
112         either one of HAVE_CURSES_H or HAVE_NCURSES_H or
113         HAVE_NCURSES_NCURSES_H is defined.
114
115 2015-01-19  Joel Brobecker  <brobecker@adacore.com>
116
117         * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
118         from end of line to start of next line.
119
120 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
121
122         * ppc-linux-tdep.c (ppc_skip_trampoline_code):
123         Scan PLT stub backward for reverse debugging.
124         * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
125
126 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
127             Ulrich Weigand  <uweigand@de.ibm.com>
128
129         * configure.tgt (powerpc*-*-linux): Add linux-record.o to
130         gdb_target_obs.
131         (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
132         record.
133         (ppc_canonicalize_syscall, ppc_linux_syscall_record,
134         ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
135         (ppc_linux_init_abi): Set process_record, process_record_signal.
136         * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
137         ppc_linux_record_tdep to gdbarch_tdep.
138         (ppc_process_record): New declaration.
139         * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
140         ppc_process_record_op19, ppc_process_record_op31,
141         ppc_process_record_op59, ppc_process_record_op60,
142         ppc_process_record_op63, ppc_process_record): New functions.
143
144 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
145
146         * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
147         rs6000_in_function_epilogue_frame_p and add an argument
148         for frame_info.
149         (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
150         rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
151         New functions.
152         (rs6000_epilogue_frame_unwind): New.
153         (rs6000_gdbarch_init): Append epilogue unwinder.
154
155 2015-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
156
157         * nat/linux-personality.c: Replace "#ifndef
158         HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
159         !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
160         systems.
161
162 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
163
164         * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
165         functions.
166         (_initialize_tui_win) <border-kind, border-mode>:
167         <active-border-mode>: Use tui_set_var_cmd as the "set" function.
168         (tui_set_tab_width_command): Fix the commentary.
169
170         * tui/tui-win.h: Add prototype for tui_rehighlight_all.
171
172         * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
173         Doc fix.
174         (tui_set_tab_width_command): Delete and recreate the source and
175         the disassembly windows, to show the effect of the changed tab
176         size immediately.
177
178         * tui/tui-data.h (LINE_PREFIX): Make shorter
179         (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
180         "Thread NNNNN.XXXX" thread ID notation on Windows.
181
182 2015-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
183
184         Fix gcc-5 compilation.
185         * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
186
187 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
188
189         * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
190         (linux-personality.o): New rule.
191         * common/common-defs.h: Include <stdint.h>.
192         * config/aarch64/linux.mh (NATDEPFILES): Include
193         linux-personality.o.
194         * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
195         * config/arm/linux.mh (NATDEPFILES): Likewise.
196         * config/i386/linux64.mh (NATDEPFILES): Likewise.
197         * config/i386/linux.mh (NATDEPFILES): Likewise.
198         * config/ia64/linux.mh (NATDEPFILES): Likewise.
199         * config/m32r/linux.mh (NATDEPFILES): Likewise.
200         * config/m68k/linux.mh (NATDEPFILES): Likewise.
201         * config/mips/linux.mh (NATDEPFILES): Likewise.
202         * config/pa/linux.mh (NATDEPFILES): Likewise.
203         * config/powerpc/linux.mh (NATDEPFILES): Likewise.
204         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
205         * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
206         * config/s390/linux.mh (NATDEPFILES): Likewise.
207         * config/sparc/linux64.mh (NATDEPFILES): Likewise.
208         * config/sparc/linux.mh (NATDEPFILES): Likewise.
209         * config/tilegx/linux.mh (NATDEPFILES): Likewise.
210         * config/xtensa/linux.mh (NATDEPFILES): Likewise.
211         * defs.h: Remove #include <stdint.h> (moved to
212         common/common-defs.h).
213         * linux-nat.c: Include nat/linux-personality.h.  Remove #include
214         <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
215         nat/linux-personality.c).
216         (linux_nat_create_inferior): Remove code to disable address space
217         randomization (moved to nat/linux-personality.c).  Create cleanup
218         to disable address space randomization.
219         * nat/linux-personality.c: New file.
220         * nat/linux-personality.h: Likewise.
221
222 2015-01-15  Sergio Durigan Junior  <sergiodj@redhat.com>
223
224         * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
225         common/posix-strerror.c.
226         (posix-strerror.o): New rule.
227         (mingw-strerror.o): Likewise.
228         * common/common-utils.h (safe_strerror): Move prototype to here,
229         from utils.h.
230         * common/common.host: New file.
231         * common/mingw-strerror.c: Likewise.
232         * common/posix-strerror.c: Likewise.
233         * configure: Regenerated.
234         * configure.ac: Source common/common.host.  Add variable
235         common_host_obs to gdb_host_obs.
236         * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
237         gdb/common/posix-strerror.c when warning about the use of
238         strerror.
239         * mingw-hdep.c (safe_strerror): Remove definition; move it to
240         common/mingw-strerror.c.
241         * posix-hdep.c (safe_strerror): Remove definition; move it to
242         common/posix-hdep.c.
243         * utils.h (safe_strerror): Remove prototype; move to
244         common/common-utils.h.
245
246 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
247
248         GDB 7.8.2 released.
249
250 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
251
252         * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
253         ___XA type if the array has already been fixed.
254
255 2015-01-14  Yao Qi  <yao@codesourcery.com>
256
257         * Makefile.in (ppc-linux.o): New rule.
258         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
259         * configure.ac: AC_CHECK_FUNCS(getauxval).
260         * config.in: Re-generated.
261         * configure: Re-generated.
262         * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
263         Declare.
264         * nat/ppc-linux.c: New file.
265         * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
266         Call ppc64_64bit_inferior_p.
267
268 2015-01-14  Yao Qi  <yao@codesourcery.com>
269
270         * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
271         nat/ppc-linux.h.
272         (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
273         (PPC_FEATURE_HAS_DFP): Likewise.
274         (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
275         (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
276         (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
277         Include "nat/ppc-linux.h".
278         * nat/ppc-linux.h: New file.
279         * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
280
281 2015-01-14  Pedro Alves  <palves@redhat.com>
282
283         PR gdb/17525
284         * breakpoint.c: Include "interps.h".
285         (bpstat_do_actions_1): Also check whether the interpreter is
286         async.
287
288 2015-01-14  Pedro Alves  <palves@redhat.com>
289
290         PR cli/17828
291         * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
292         reinstall if the interpreter is sync.
293
294 2015-01-13  Doug Evans  <dje@google.com>
295
296         * objfiles.c (objfile_filename): New function.
297         * objfiles.h (objfile_filename): Declare it.
298         (objfile_name): Add function comment.
299         * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
300         bfd file name (which may be realpath'd), and the original name.
301
302 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
303
304         * NEWS: Create a new section for the next release branch.
305         Rename the section of the current branch, now that it has
306         been cut.
307
308 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
309
310         GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
311         * version.in: Bump version to 7.9.50.DATE-cvs.
312
313 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
314
315         * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
316         Remove trailing new-line in argument of call to warning.
317
318 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
319
320         * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
321         new-line in argument of call to "warning".
322
323 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
324
325         * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
326         in static block, then try searching for primitive types.
327
328 2015-01-12  Patrick Palka  <patrick@parcs.ath.cx>
329
330         * top.h (gdb_add_history): Declare.
331         * top.c (command_count): New variable.
332         (gdb_add_history): New function.
333         (gdb_safe_append_history): New static function.
334         (quit_force): Call it.
335         (command_line_input): Use gdb_add_history instead of
336         add_history.
337         * event-top.c (command_line_handler): Likewise.
338
339 2015-01-12  James Clarke  <jrtc27@jrtc27.com>  (tiny patch)
340
341         PR gdb/17046
342         * darwin-nat.c: Replace <machine/setjmp.h> #include by
343         <setjmp.h> #include.
344
345 2015-01-11  Doug Evans  <xdje42@gmail.com>
346
347         * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
348
349 2015-01-11  Doug Evans  <xdje42@gmail.com>
350
351         PR gdb/15830
352         * NEWS: The "maint demangle" command is renamed as "demangle".
353         * demangle.c: #include cli/cli-utils.h, language.h.
354         (demangle_command): New function.
355         (_initialize_demangle): Add new command "demangle".
356         * maint.c (maintenance_demangle): Stub out.
357         (_initialize_maint_cmds): Update help text for "maint demangle",
358         and mark as deprecated.
359
360 2015-01-11  Mark Kettenis  <kettenis@gnu.org>
361
362         * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
363         inferior_thread is a function.
364
365 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
366
367         * Makefile.in (.y.c): Don't munge yacc's #line
368         directives.
369
370 2015-01-09  Patrick Palka  <patrick@parcs.ath.cx>
371
372         * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
373         to prompt for input.
374         * tui/tui-hooks.c (tui_query_hook): Remove.
375         (tui_install_hooks): Don't set deprecated_query_hook.
376         * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
377         height calculation.  Always update the command window's cur_line.
378
379 2015-01-09  Pedro Alves  <palves@redhat.com>
380
381         * breakpoint.c (hardware_breakpoint_inserted_here_p): New
382         function.
383         * breakpoint.h (hardware_breakpoint_inserted_here_p): New
384         declaration.
385         * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
386         (linux_resume_one_lwp): Store the thread's PC.  Adjust to clear
387         stop_reason.
388         (check_stopped_by_watchpoint): New function.
389         (save_sigtrap): Reimplement.
390         (linux_nat_stopped_by_watchpoint): Adjust.
391         (linux_nat_lp_status_is_event): Delete.
392         (stop_wait_callback): Only call save_sigtrap after storing the
393         pending status.
394         (status_callback): If the thread had been stopped for a breakpoint
395         that has since been removed, discard the event and resume the LWP.
396         (count_events_callback, select_event_lwp_callback): Use
397         lwp_status_pending_p instead of linux_nat_lp_status_is_event.
398         (cancel_breakpoint): Rename to ...
399         (check_stopped_by_breakpoint): ... this.  Record whether the LWP
400         stopped for a software breakpoint or hardware breakpoint.
401         (select_event_lwp): Only give preference to the stepping LWP in
402         all-stop mode.  Adjust comments.
403         (stop_and_resume_callback): Remove references to new_pending_p.
404         (linux_nat_filter_event): Likewise.  Leave exit events of the
405         leader thread pending here.  Handle signal short circuiting here.
406         Only call save_sigtrap after storing the pending waitstatus.
407         (linux_nat_wait_1): Remove 'retry' label.  Remove references to
408         new_pending.  Don't handle leaving events the caller is not
409         interested in pending here, nor handle signal short-circuiting
410         here.  Also give equal priority to all LWPs that have had events
411         in non-stop mode.  If reporting a software breakpoint event,
412         unadjust the LWP's PC.
413         * linux-nat.h (enum lwp_stop_reason): New.
414         (struct lwp_info) <stop_pc>: New field.
415         (struct lwp_info) <stopped_by_watchpoint>: Delete field.
416         (struct lwp_info) <stop_reason>: New field.
417         * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
418
419 2015-01-09  Pedro Alves  <palves@redhat.com>
420
421         * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
422         Set the LWP's 'resumed' flag.
423
424 2015-01-09  Pedro Alves  <palves@redhat.com>
425
426         * linux-nat.c (linux_resume_one_lwp): New function.
427         (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
428         (linux_nat_resume): Use lwp_status_pending_p and
429         linux_resume_one_lwp.
430         (linux_handle_syscall_trap): Use linux_resume_one_lwp.
431         (linux_handle_extended_wait): Use linux_resume_one_lwp.
432         (status_callback, running_callback): Use lwp_status_pending_p.
433         (lwp_status_pending_p): New function.
434         (stop_and_resume_callback): Use lwp_status_pending_p.
435         (linux_nat_filter_event): Use linux_resume_one_lwp.
436         (linux_nat_wait_1): Always use status_callback to look for an LWP
437         with a pending status.  Use linux_resume_one_lwp.
438         (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
439         linux_resume_one_lwp.
440
441 2015-01-09  Pedro Alves  <palves@redhat.com>
442
443         * breakpoint.c (bp_location_inserted_here_p): New function,
444         factored out from ...
445         (breakpoint_inserted_here_p): ... here.  Use
446         ALL_BP_LOCATIONS_AT_ADDR.
447         (software_breakpoint_inserted_here_p): Use
448         bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
449
450 2014-01-09  Pedro Alves  <palves@redhat.com>
451
452         Skip enabling event reporting if the kernel supports
453         PTRACE_EVENT_CLONE.
454         * linux-thread-db.c: Include "nat/linux-ptrace.h".
455         (thread_db_use_events): New function.
456         (try_thread_db_load_1): Check thread_db_use_events before enabling
457         event reporting.
458         (update_thread_state): New function.
459         (attach_thread): Use it.  Check thread_db_use_events before
460         enabling event reporting.
461         (thread_db_detach): Check thread_db_use_events before disabling
462         event reporting.
463         (find_new_threads_callback): Check thread_db_use_events before
464         enabling event reporting.  Update the thread's state if not using
465         libthread_db events.
466
467 2015-01-09  Pedro Alves  <palves@redhat.com>
468
469         * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
470         about to wait for is > 0.
471         * linux-thread-db.c (find_new_threads_callback): Ignore thread if
472         the kernel thread ID is -1.
473
474 2015-01-09  Pedro Alves  <palves@redhat.com>
475
476         * linux-nat.c (attach_proc_task_lwp_callback): New function.
477         (linux_nat_attach): Use linux_proc_attach_tgid_threads.
478         (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
479         ptrace option flags.
480         * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
481         field.
482         * nat/linux-procfs.c: Include <dirent.h>.
483         (linux_proc_get_int): New parameter "warn".  Handle it.
484         (linux_proc_get_tgid): Adjust.
485         (linux_proc_get_tracerpid): Rename to ...
486         (linux_proc_get_tracerpid_nowarn): ... this.
487         (linux_proc_pid_get_state): New function, factored out from
488         (linux_proc_pid_has_state): ... this.  Add new parameter "warn"
489         and handle it.
490         (linux_proc_pid_is_gone): New function.
491         (linux_proc_pid_is_stopped): Adjust.
492         (linux_proc_pid_is_zombie_maybe_warn)
493         (linux_proc_pid_is_zombie_nowarn): New functions.
494         (linux_proc_pid_is_zombie): Use
495         linux_proc_pid_is_zombie_maybe_warn.
496         (linux_proc_attach_tgid_threads): New function.
497         * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
498         (linux_proc_get_tracerpid): Rename to ...
499         (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
500         (linux_proc_pid_is_gone): New declaration.
501         (linux_proc_pid_is_zombie): Update comment.
502         (linux_proc_pid_is_zombie_nowarn): New declaration.
503         (linux_proc_attach_lwp_func): New typedef.
504         (linux_proc_attach_tgid_threads): New declaration.
505         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
506         use nowarn functions.
507         (linux_ptrace_attach_fail_reason_string): Move here from
508         gdbserver/linux-low.c and rename.
509         (ptrace_supports_feature): If the current ptrace options are not
510         known yet, check them now, instead of asserting.
511         * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
512         Declare.
513
514 2015-01-09  Pedro Alves  <palves@redhat.com>
515
516         * linux-thread-db.c (thread_db_find_new_threads_silently)
517         (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
518         (find_new_threads_once): Print debug output on gdb_stdlog.
519
520 2015-01-09  Chen Gang  <gang.chen.5i5j@gmail.com>
521             Pedro Alves  <palves@redhat.com>
522
523         * compile/compile.c: Include "gdb_wait.h".
524         (do_rmdir): Check return value, and free 'zap'.
525
526 2015-01-08  Pedro Alves  <palves@redhat.com>
527             Yao Qi  <yao@codesourcery.com>
528
529         * dwarf2loc.c (indirect_pieced_value): Don't call
530         gdb_sign_extend.  Call extract_signed_integer instead.
531         * utils.c (gdb_sign_extend): Remove.
532         * utils.h (gdb_sign_extend): Remove declaration.
533
534 2015-01-07  Pierre Muller  <muller@sourceware.org>
535
536         PR symtab/17811
537         * stabsread.c (define_symbol): Set language for C++ special symbols.
538
539 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
540
541         * inflow.c (initial_gdb_ttystate): Tweak comment.
542
543 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
544
545         * inflow.c (set_initial_gdb_ttystate): Add empty line after
546         comment documenting function.
547
548 2015-01-07  Patrick Palka  <patrick@parcs.ath.cx>
549
550         * terminal.h (set_initial_gdb_ttystate): Declare.
551         * inflow.c (initial_gdb_ttystate): New static variable.
552         (set_initial_gdb_ttystate): New setter.
553         (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
554         instead of our current terminal state.
555         * top.c (gdb_init): Call set_initial_gdb_ttystate.
556
557 2015-01-07  Joel Brobecker  <brobecker@adacore.com>
558
559         * guile/scm-type.c (tyscm_array_1): Add comment.
560         * python/py-type.c (typy_array_1): Add comment.
561
562 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
563
564         * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
565         error if N2 is equal to N1 - 1.
566
567 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
568
569         * python/py-type.c (typy_array_1): Do not raise negative-length
570         exception if N2 is equal to N1 - 1.
571
572 2015-01-03  Doug Evans  <xdje42@gmail.com>
573
574         * c-exp.y: Whitespace cleanup.
575         (classify_inner_name): Remove extra ;.
576
577 2015-01-02  Maciej W. Rozycki  <macro@codesourcery.com>
578
579         * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
580         offset signed.
581
582 2015-01-02  Doug Evans  <dje@google.com>
583
584         * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
585
586 2015-01-02  Doug Evans  <dje@google.com>
587
588         * symtab.h (struct symbol): Fix typo in comment.
589
590 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
591
592         Update year range in copyright notice of all files.
593
594 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
595
596         * top.c (print_gdb_version): Update copyright year to 2015.
597
598 2015-01-01  Joel Brobecker  <brobecker@adacore.com>
599
600         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
601
602 For older changes see ChangeLog-2014.
603 \f
604 Local Variables:
605 mode: change-log
606 left-margin: 8
607 fill-column: 74
608 version-control: never
609 coding: utf-8
610 End: