Bump version to 7.9.50.DATE-cvs.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
b4cfe7f8
JB
12015-01-13 Joel Brobecker <brobecker@adacore.com>
2
3 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
4 * version.in: Bump version to 7.9.50.DATE-cvs.
5
92fc2e69
JB
62015-01-13 Joel Brobecker <brobecker@adacore.com>
7
8 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
9 Remove trailing new-line in argument of call to warning.
10
f71f0b0d
JB
112015-01-13 Joel Brobecker <brobecker@adacore.com>
12
13 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
14 new-line in argument of call to "warning".
15
04dccad0
JB
162015-01-13 Joel Brobecker <brobecker@adacore.com>
17
18 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
19 in static block, then try searching for primitive types.
20
08b13bdd
PP
212015-01-12 Patrick Palka <patrick@parcs.ath.cx>
22
23 * top.h (gdb_add_history): Declare.
24 * top.c (command_count): New variable.
25 (gdb_add_history): New function.
26 (gdb_safe_append_history): New static function.
27 (quit_force): Call it.
28 (command_line_input): Use gdb_add_history instead of
29 add_history.
30 * event-top.c (command_line_handler): Likewise.
31
4ac15b59
JC
322015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
33
34 PR gdb/17046
35 * darwin-nat.c: Replace <machine/setjmp.h> #include by
36 <setjmp.h> #include.
37
005e54bb
DE
382015-01-11 Doug Evans <xdje42@gmail.com>
39
40 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
41
439250fb
DE
422015-01-11 Doug Evans <xdje42@gmail.com>
43
44 PR gdb/15830
45 * NEWS: The "maint demangle" command is renamed as "demangle".
46 * demangle.c: #include cli/cli-utils.h, language.h.
47 (demangle_command): New function.
48 (_initialize_demangle): Add new command "demangle".
49 * maint.c (maintenance_demangle): Stub out.
50 (_initialize_maint_cmds): Update help text for "maint demangle",
51 and mark as deprecated.
52
ebf3aa72
MK
532015-01-11 Mark Kettenis <kettenis@gnu.org>
54
55 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
56 inferior_thread is a function.
57
6bf045cd
PP
582015-01-09 Patrick Palka <patrick@parcs.ath.cx>
59
60 * Makefile.in (.y.c): Don't munge yacc's #line
61 directives.
62
588dcc3e
PP
632015-01-09 Patrick Palka <patrick@parcs.ath.cx>
64
65 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
66 to prompt for input.
67 * tui/tui-hooks.c (tui_query_hook): Remove.
68 (tui_install_hooks): Don't set deprecated_query_hook.
69 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
70 height calculation. Always update the command window's cur_line.
71
9c02b525
PA
722015-01-09 Pedro Alves <palves@redhat.com>
73
74 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
75 function.
76 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
77 declaration.
78 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
79 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
80 stop_reason.
81 (check_stopped_by_watchpoint): New function.
82 (save_sigtrap): Reimplement.
83 (linux_nat_stopped_by_watchpoint): Adjust.
84 (linux_nat_lp_status_is_event): Delete.
85 (stop_wait_callback): Only call save_sigtrap after storing the
86 pending status.
87 (status_callback): If the thread had been stopped for a breakpoint
88 that has since been removed, discard the event and resume the LWP.
89 (count_events_callback, select_event_lwp_callback): Use
90 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
91 (cancel_breakpoint): Rename to ...
92 (check_stopped_by_breakpoint): ... this. Record whether the LWP
93 stopped for a software breakpoint or hardware breakpoint.
94 (select_event_lwp): Only give preference to the stepping LWP in
95 all-stop mode. Adjust comments.
96 (stop_and_resume_callback): Remove references to new_pending_p.
97 (linux_nat_filter_event): Likewise. Leave exit events of the
98 leader thread pending here. Handle signal short circuiting here.
99 Only call save_sigtrap after storing the pending waitstatus.
100 (linux_nat_wait_1): Remove 'retry' label. Remove references to
101 new_pending. Don't handle leaving events the caller is not
102 interested in pending here, nor handle signal short-circuiting
103 here. Also give equal priority to all LWPs that have had events
104 in non-stop mode. If reporting a software breakpoint event,
105 unadjust the LWP's PC.
106 * linux-nat.h (enum lwp_stop_reason): New.
107 (struct lwp_info) <stop_pc>: New field.
108 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
109 (struct lwp_info) <stop_reason>: New field.
110 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
111
8af756ef
PA
1122015-01-09 Pedro Alves <palves@redhat.com>
113
114 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
115 Set the LWP's 'resumed' flag.
116
8a99810d
PA
1172015-01-09 Pedro Alves <palves@redhat.com>
118
119 * linux-nat.c (linux_resume_one_lwp): New function.
120 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
121 (linux_nat_resume): Use lwp_status_pending_p and
122 linux_resume_one_lwp.
123 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
124 (linux_handle_extended_wait): Use linux_resume_one_lwp.
125 (status_callback, running_callback): Use lwp_status_pending_p.
126 (lwp_status_pending_p): New function.
127 (stop_and_resume_callback): Use lwp_status_pending_p.
128 (linux_nat_filter_event): Use linux_resume_one_lwp.
129 (linux_nat_wait_1): Always use status_callback to look for an LWP
130 with a pending status. Use linux_resume_one_lwp.
131 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
132 linux_resume_one_lwp.
133
f7ce857f
PA
1342015-01-09 Pedro Alves <palves@redhat.com>
135
136 * breakpoint.c (bp_location_inserted_here_p): New function,
137 factored out from ...
138 (breakpoint_inserted_here_p): ... here. Use
139 ALL_BP_LOCATIONS_AT_ADDR.
140 (software_breakpoint_inserted_here_p): Use
141 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
142
c1a747c1
PA
1432014-01-09 Pedro Alves <palves@redhat.com>
144
145 Skip enabling event reporting if the kernel supports
146 PTRACE_EVENT_CLONE.
147 * linux-thread-db.c: Include "nat/linux-ptrace.h".
148 (thread_db_use_events): New function.
149 (try_thread_db_load_1): Check thread_db_use_events before enabling
150 event reporting.
151 (update_thread_state): New function.
152 (attach_thread): Use it. Check thread_db_use_events before
153 enabling event reporting.
154 (thread_db_detach): Check thread_db_use_events before disabling
155 event reporting.
156 (find_new_threads_callback): Check thread_db_use_events before
157 enabling event reporting. Update the thread's state if not using
158 libthread_db events.
159
a33e3959
PA
1602015-01-09 Pedro Alves <palves@redhat.com>
161
162 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
163 about to wait for is > 0.
164 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
165 the kernel thread ID is -1.
166
8784d563
PA
1672015-01-09 Pedro Alves <palves@redhat.com>
168
169 * linux-nat.c (attach_proc_task_lwp_callback): New function.
170 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
171 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
172 ptrace option flags.
173 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
174 field.
175 * nat/linux-procfs.c: Include <dirent.h>.
176 (linux_proc_get_int): New parameter "warn". Handle it.
177 (linux_proc_get_tgid): Adjust.
178 (linux_proc_get_tracerpid): Rename to ...
179 (linux_proc_get_tracerpid_nowarn): ... this.
180 (linux_proc_pid_get_state): New function, factored out from
181 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
182 and handle it.
183 (linux_proc_pid_is_gone): New function.
184 (linux_proc_pid_is_stopped): Adjust.
185 (linux_proc_pid_is_zombie_maybe_warn)
186 (linux_proc_pid_is_zombie_nowarn): New functions.
187 (linux_proc_pid_is_zombie): Use
188 linux_proc_pid_is_zombie_maybe_warn.
189 (linux_proc_attach_tgid_threads): New function.
190 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
191 (linux_proc_get_tracerpid): Rename to ...
192 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
193 (linux_proc_pid_is_gone): New declaration.
194 (linux_proc_pid_is_zombie): Update comment.
195 (linux_proc_pid_is_zombie_nowarn): New declaration.
196 (linux_proc_attach_lwp_func): New typedef.
197 (linux_proc_attach_tgid_threads): New declaration.
198 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
199 use nowarn functions.
200 (linux_ptrace_attach_fail_reason_string): Move here from
201 gdbserver/linux-low.c and rename.
202 (ptrace_supports_feature): If the current ptrace options are not
203 known yet, check them now, instead of asserting.
204 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
205 Declare.
206
883ed13e
PA
2072015-01-09 Pedro Alves <palves@redhat.com>
208
209 * linux-thread-db.c (thread_db_find_new_threads_silently)
210 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
211 (find_new_threads_once): Print debug output on gdb_stdlog.
212
1710aab8
CG
2132015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
214 Pedro Alves <palves@redhat.com>
215
216 * compile/compile.c: Include "gdb_wait.h".
217 (do_rmdir): Check return value, and free 'zap'.
218
b597c318
YQ
2192015-01-08 Pedro Alves <palves@redhat.com>
220 Yao Qi <yao@codesourcery.com>
221
222 * dwarf2loc.c (indirect_pieced_value): Don't call
223 gdb_sign_extend. Call extract_signed_integer instead.
224 * utils.c (gdb_sign_extend): Remove.
225 * utils.h (gdb_sign_extend): Remove declaration.
226
025ac414
PM
2272015-01-07 Pierre Muller <muller@sourceware.org>
228
229 PR symtab/17811
230 * stabsread.c (define_symbol): Set language for C++ special symbols.
231
fa5af12a
PP
2322015-01-07 Patrick Palka <patrick@parcs.ath.cx>
233
234 * inflow.c (initial_gdb_ttystate): Tweak comment.
235
ea42d6f8
JB
2362015-01-07 Joel Brobecker <brobecker@adacore.com>
237
238 * inflow.c (set_initial_gdb_ttystate): Add empty line after
239 comment documenting function.
240
6a06d660
PP
2412015-01-07 Patrick Palka <patrick@parcs.ath.cx>
242
243 * terminal.h (set_initial_gdb_ttystate): Declare.
244 * inflow.c (initial_gdb_ttystate): New static variable.
245 (set_initial_gdb_ttystate): New setter.
246 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
247 instead of our current terminal state.
248 * top.c (gdb_init): Call set_initial_gdb_ttystate.
249
e810d75b
JB
2502015-01-07 Joel Brobecker <brobecker@adacore.com>
251
252 * guile/scm-type.c (tyscm_array_1): Add comment.
253 * python/py-type.c (typy_array_1): Add comment.
254
fce10a84
JB
2552015-01-06 Joel Brobecker <brobecker@adacore.com>
256
257 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
258 error if N2 is equal to N1 - 1.
259
8503d6e1
JB
2602015-01-06 Joel Brobecker <brobecker@adacore.com>
261
262 * python/py-type.c (typy_array_1): Do not raise negative-length
263 exception if N2 is equal to N1 - 1.
264
4d29c0a8
DE
2652015-01-03 Doug Evans <xdje42@gmail.com>
266
267 * c-exp.y: Whitespace cleanup.
268 (classify_inner_name): Remove extra ;.
269
eaa6a9a4
MR
2702015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
271
272 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
273 offset signed.
274
02fe9972
DE
2752015-01-02 Doug Evans <dje@google.com>
276
277 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
278
e2ada9cb
DE
2792015-01-02 Doug Evans <dje@google.com>
280
281 * symtab.h (struct symbol): Fix typo in comment.
282
32d0add0
JB
2832015-01-01 Joel Brobecker <brobecker@adacore.com>
284
285 Update year range in copyright notice of all files.
286
76f2b779
JB
2872015-01-01 Joel Brobecker <brobecker@adacore.com>
288
289 * top.c (print_gdb_version): Update copyright year to 2015.
290
077309e2 2912015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 292
077309e2 293 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 294
077309e2 295For older changes see ChangeLog-2014.
c906108c
SS
296\f
297Local Variables:
298mode: change-log
299left-margin: 8
300fill-column: 74
301version-control: never
57da7796 302coding: utf-8
c906108c 303End:
This page took 1.668365 seconds and 4 git commands to generate.