libthread_db: Skip attaching to terminated and joined threads
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
a33e3959
PA
12015-01-09 Pedro Alves <palves@redhat.com>
2
3 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
4 about to wait for is > 0.
5 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
6 the kernel thread ID is -1.
7
8784d563
PA
82015-01-09 Pedro Alves <palves@redhat.com>
9
10 * linux-nat.c (attach_proc_task_lwp_callback): New function.
11 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
12 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
13 ptrace option flags.
14 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
15 field.
16 * nat/linux-procfs.c: Include <dirent.h>.
17 (linux_proc_get_int): New parameter "warn". Handle it.
18 (linux_proc_get_tgid): Adjust.
19 (linux_proc_get_tracerpid): Rename to ...
20 (linux_proc_get_tracerpid_nowarn): ... this.
21 (linux_proc_pid_get_state): New function, factored out from
22 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
23 and handle it.
24 (linux_proc_pid_is_gone): New function.
25 (linux_proc_pid_is_stopped): Adjust.
26 (linux_proc_pid_is_zombie_maybe_warn)
27 (linux_proc_pid_is_zombie_nowarn): New functions.
28 (linux_proc_pid_is_zombie): Use
29 linux_proc_pid_is_zombie_maybe_warn.
30 (linux_proc_attach_tgid_threads): New function.
31 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
32 (linux_proc_get_tracerpid): Rename to ...
33 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
34 (linux_proc_pid_is_gone): New declaration.
35 (linux_proc_pid_is_zombie): Update comment.
36 (linux_proc_pid_is_zombie_nowarn): New declaration.
37 (linux_proc_attach_lwp_func): New typedef.
38 (linux_proc_attach_tgid_threads): New declaration.
39 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
40 use nowarn functions.
41 (linux_ptrace_attach_fail_reason_string): Move here from
42 gdbserver/linux-low.c and rename.
43 (ptrace_supports_feature): If the current ptrace options are not
44 known yet, check them now, instead of asserting.
45 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
46 Declare.
47
883ed13e
PA
482015-01-09 Pedro Alves <palves@redhat.com>
49
50 * linux-thread-db.c (thread_db_find_new_threads_silently)
51 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
52 (find_new_threads_once): Print debug output on gdb_stdlog.
53
1710aab8
CG
542015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
55 Pedro Alves <palves@redhat.com>
56
57 * compile/compile.c: Include "gdb_wait.h".
58 (do_rmdir): Check return value, and free 'zap'.
59
b597c318
YQ
602015-01-08 Pedro Alves <palves@redhat.com>
61 Yao Qi <yao@codesourcery.com>
62
63 * dwarf2loc.c (indirect_pieced_value): Don't call
64 gdb_sign_extend. Call extract_signed_integer instead.
65 * utils.c (gdb_sign_extend): Remove.
66 * utils.h (gdb_sign_extend): Remove declaration.
67
025ac414
PM
682015-01-07 Pierre Muller <muller@sourceware.org>
69
70 PR symtab/17811
71 * stabsread.c (define_symbol): Set language for C++ special symbols.
72
fa5af12a
PP
732015-01-07 Patrick Palka <patrick@parcs.ath.cx>
74
75 * inflow.c (initial_gdb_ttystate): Tweak comment.
76
ea42d6f8
JB
772015-01-07 Joel Brobecker <brobecker@adacore.com>
78
79 * inflow.c (set_initial_gdb_ttystate): Add empty line after
80 comment documenting function.
81
6a06d660
PP
822015-01-07 Patrick Palka <patrick@parcs.ath.cx>
83
84 * terminal.h (set_initial_gdb_ttystate): Declare.
85 * inflow.c (initial_gdb_ttystate): New static variable.
86 (set_initial_gdb_ttystate): New setter.
87 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
88 instead of our current terminal state.
89 * top.c (gdb_init): Call set_initial_gdb_ttystate.
90
e810d75b
JB
912015-01-07 Joel Brobecker <brobecker@adacore.com>
92
93 * guile/scm-type.c (tyscm_array_1): Add comment.
94 * python/py-type.c (typy_array_1): Add comment.
95
fce10a84
JB
962015-01-06 Joel Brobecker <brobecker@adacore.com>
97
98 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
99 error if N2 is equal to N1 - 1.
100
8503d6e1
JB
1012015-01-06 Joel Brobecker <brobecker@adacore.com>
102
103 * python/py-type.c (typy_array_1): Do not raise negative-length
104 exception if N2 is equal to N1 - 1.
105
4d29c0a8
DE
1062015-01-03 Doug Evans <xdje42@gmail.com>
107
108 * c-exp.y: Whitespace cleanup.
109 (classify_inner_name): Remove extra ;.
110
eaa6a9a4
MR
1112015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
112
113 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
114 offset signed.
115
02fe9972
DE
1162015-01-02 Doug Evans <dje@google.com>
117
118 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
119
e2ada9cb
DE
1202015-01-02 Doug Evans <dje@google.com>
121
122 * symtab.h (struct symbol): Fix typo in comment.
123
32d0add0
JB
1242015-01-01 Joel Brobecker <brobecker@adacore.com>
125
126 Update year range in copyright notice of all files.
127
76f2b779
JB
1282015-01-01 Joel Brobecker <brobecker@adacore.com>
129
130 * top.c (print_gdb_version): Update copyright year to 2015.
131
077309e2 1322015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 133
077309e2 134 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 135
077309e2 136For older changes see ChangeLog-2014.
c906108c
SS
137\f
138Local Variables:
139mode: change-log
140left-margin: 8
141fill-column: 74
142version-control: never
57da7796 143coding: utf-8
c906108c 144End:
This page took 1.63512 seconds and 4 git commands to generate.