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