]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
cleanup and speed up (software_)breakpoint_inserted_here_p
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f7ce857f
PA
12015-01-09 Pedro Alves <palves@redhat.com>
2
3 * breakpoint.c (bp_location_inserted_here_p): New function,
4 factored out from ...
5 (breakpoint_inserted_here_p): ... here. Use
6 ALL_BP_LOCATIONS_AT_ADDR.
7 (software_breakpoint_inserted_here_p): Use
8 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
9
c1a747c1
PA
102014-01-09 Pedro Alves <palves@redhat.com>
11
12 Skip enabling event reporting if the kernel supports
13 PTRACE_EVENT_CLONE.
14 * linux-thread-db.c: Include "nat/linux-ptrace.h".
15 (thread_db_use_events): New function.
16 (try_thread_db_load_1): Check thread_db_use_events before enabling
17 event reporting.
18 (update_thread_state): New function.
19 (attach_thread): Use it. Check thread_db_use_events before
20 enabling event reporting.
21 (thread_db_detach): Check thread_db_use_events before disabling
22 event reporting.
23 (find_new_threads_callback): Check thread_db_use_events before
24 enabling event reporting. Update the thread's state if not using
25 libthread_db events.
26
a33e3959
PA
272015-01-09 Pedro Alves <palves@redhat.com>
28
29 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
30 about to wait for is > 0.
31 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
32 the kernel thread ID is -1.
33
8784d563
PA
342015-01-09 Pedro Alves <palves@redhat.com>
35
36 * linux-nat.c (attach_proc_task_lwp_callback): New function.
37 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
38 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
39 ptrace option flags.
40 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
41 field.
42 * nat/linux-procfs.c: Include <dirent.h>.
43 (linux_proc_get_int): New parameter "warn". Handle it.
44 (linux_proc_get_tgid): Adjust.
45 (linux_proc_get_tracerpid): Rename to ...
46 (linux_proc_get_tracerpid_nowarn): ... this.
47 (linux_proc_pid_get_state): New function, factored out from
48 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
49 and handle it.
50 (linux_proc_pid_is_gone): New function.
51 (linux_proc_pid_is_stopped): Adjust.
52 (linux_proc_pid_is_zombie_maybe_warn)
53 (linux_proc_pid_is_zombie_nowarn): New functions.
54 (linux_proc_pid_is_zombie): Use
55 linux_proc_pid_is_zombie_maybe_warn.
56 (linux_proc_attach_tgid_threads): New function.
57 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
58 (linux_proc_get_tracerpid): Rename to ...
59 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
60 (linux_proc_pid_is_gone): New declaration.
61 (linux_proc_pid_is_zombie): Update comment.
62 (linux_proc_pid_is_zombie_nowarn): New declaration.
63 (linux_proc_attach_lwp_func): New typedef.
64 (linux_proc_attach_tgid_threads): New declaration.
65 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
66 use nowarn functions.
67 (linux_ptrace_attach_fail_reason_string): Move here from
68 gdbserver/linux-low.c and rename.
69 (ptrace_supports_feature): If the current ptrace options are not
70 known yet, check them now, instead of asserting.
71 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
72 Declare.
73
883ed13e
PA
742015-01-09 Pedro Alves <palves@redhat.com>
75
76 * linux-thread-db.c (thread_db_find_new_threads_silently)
77 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
78 (find_new_threads_once): Print debug output on gdb_stdlog.
79
1710aab8
CG
802015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
81 Pedro Alves <palves@redhat.com>
82
83 * compile/compile.c: Include "gdb_wait.h".
84 (do_rmdir): Check return value, and free 'zap'.
85
b597c318
YQ
862015-01-08 Pedro Alves <palves@redhat.com>
87 Yao Qi <yao@codesourcery.com>
88
89 * dwarf2loc.c (indirect_pieced_value): Don't call
90 gdb_sign_extend. Call extract_signed_integer instead.
91 * utils.c (gdb_sign_extend): Remove.
92 * utils.h (gdb_sign_extend): Remove declaration.
93
025ac414
PM
942015-01-07 Pierre Muller <muller@sourceware.org>
95
96 PR symtab/17811
97 * stabsread.c (define_symbol): Set language for C++ special symbols.
98
fa5af12a
PP
992015-01-07 Patrick Palka <patrick@parcs.ath.cx>
100
101 * inflow.c (initial_gdb_ttystate): Tweak comment.
102
ea42d6f8
JB
1032015-01-07 Joel Brobecker <brobecker@adacore.com>
104
105 * inflow.c (set_initial_gdb_ttystate): Add empty line after
106 comment documenting function.
107
6a06d660
PP
1082015-01-07 Patrick Palka <patrick@parcs.ath.cx>
109
110 * terminal.h (set_initial_gdb_ttystate): Declare.
111 * inflow.c (initial_gdb_ttystate): New static variable.
112 (set_initial_gdb_ttystate): New setter.
113 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
114 instead of our current terminal state.
115 * top.c (gdb_init): Call set_initial_gdb_ttystate.
116
e810d75b
JB
1172015-01-07 Joel Brobecker <brobecker@adacore.com>
118
119 * guile/scm-type.c (tyscm_array_1): Add comment.
120 * python/py-type.c (typy_array_1): Add comment.
121
fce10a84
JB
1222015-01-06 Joel Brobecker <brobecker@adacore.com>
123
124 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
125 error if N2 is equal to N1 - 1.
126
8503d6e1
JB
1272015-01-06 Joel Brobecker <brobecker@adacore.com>
128
129 * python/py-type.c (typy_array_1): Do not raise negative-length
130 exception if N2 is equal to N1 - 1.
131
4d29c0a8
DE
1322015-01-03 Doug Evans <xdje42@gmail.com>
133
134 * c-exp.y: Whitespace cleanup.
135 (classify_inner_name): Remove extra ;.
136
eaa6a9a4
MR
1372015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
138
139 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
140 offset signed.
141
02fe9972
DE
1422015-01-02 Doug Evans <dje@google.com>
143
144 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
145
e2ada9cb
DE
1462015-01-02 Doug Evans <dje@google.com>
147
148 * symtab.h (struct symbol): Fix typo in comment.
149
32d0add0
JB
1502015-01-01 Joel Brobecker <brobecker@adacore.com>
151
152 Update year range in copyright notice of all files.
153
76f2b779
JB
1542015-01-01 Joel Brobecker <brobecker@adacore.com>
155
156 * top.c (print_gdb_version): Update copyright year to 2015.
157
077309e2 1582015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 159
077309e2 160 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 161
077309e2 162For older changes see ChangeLog-2014.
c906108c
SS
163\f
164Local Variables:
165mode: change-log
166left-margin: 8
167fill-column: 74
168version-control: never
57da7796 169coding: utf-8
c906108c 170End: