Commit | Line | Data |
---|---|---|
a12ac513 PA |
1 | 2016-04-12 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * tui/tui-hooks.c (tui_target_has_run): Delete. | |
4 | (tui_about_to_proceed): Delete. | |
5 | (tui_about_to_proceed_observer): Delete. | |
6 | (tui_install_hooks, tui_remove_hooks): Don't install/remove an | |
7 | about_to_proceed observer. | |
8 | ||
5fe96654 PA |
9 | 2016-04-12 Pedro Alves <palves@redhat.com> |
10 | ||
11 | * mi/mi-interp.c (mi_new_thread): Put | |
12 | target_terminal_ours_for_output in effect while outputting. | |
13 | (mi_thread_exit): Use target_terminal_ours_for_output instead of | |
14 | target_terminal_ours. | |
15 | (mi_record_changed, mi_inferior_added, mi_inferior_appeared) | |
16 | (mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed) | |
17 | (mi_tsv_created, mi_tsv_deleted, mi_tsv_modified) | |
18 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
19 | (mi_breakpoint_modified, mi_solib_loaded, mi_solib_unloaded) | |
20 | (mi_command_param_changed, mi_memory_changed) | |
21 | (report_initial_inferior): Use target_terminal_ours_for_output | |
22 | instead of target_terminal_ours. Restore terminal settings. | |
23 | * mi/mi-main.c (mi_execute_command): Use | |
24 | target_terminal_ours_for_output instead of target_terminal_ours. | |
25 | Restore terminal settings. | |
26 | ||
651ce16a PA |
27 | 2016-04-12 Pedro Alves <palves@redhat.com> |
28 | ||
29 | PR gdb/19828 | |
30 | * gnu-nat.c (inf_validate_task_sc): Don't call | |
31 | target_terminal_ours / target_terminal_inferior around query. | |
32 | * i386-tdep.c (i386_record_lea_modrm, i386_process_record): Don't | |
33 | call target_terminal_ours / target_terminal_inferior around | |
34 | yquery. | |
35 | * linux-record.c (record_linux_system_call): Don't call | |
36 | target_terminal_ours / target_terminal_inferior around yquery. | |
37 | * nto-procfs.c (interrupt_query): Don't call target_terminal_ours | |
38 | / target_terminal_inferior around query. | |
39 | * record-full.c (record_full_check_insn_num): Remove | |
40 | 'set_terminal' parameter. Don't call target_terminal_ours / | |
41 | target_terminal_inferior around query. | |
42 | (record_full_message, record_full_registers_change) | |
43 | (record_full_xfer_partial): Adjust. | |
44 | * remote.c (interrupt_query): Don't call target_terminal_ours / | |
45 | target_terminal_inferior around query. | |
46 | * utils.c (defaulted_query): Install cleanup to restore target | |
47 | terminal. Put target_terminal_ours_for_output in effect while | |
48 | defaulted producing, and target_terminal_ours in in effect while | |
49 | handling input. | |
50 | (prompt_for_continue): Install cleanup to restore target terminal. | |
51 | Put target_terminal_ours in in effect while handling input. | |
52 | ||
80dbc9fd PA |
53 | 2016-04-12 Pedro Alves <palves@redhat.com> |
54 | ||
55 | * utils.c (defaulted_query, prompt_for_continue): Free temporary | |
56 | strings with cleanups, instead of xfree. | |
57 | ||
c5ac1540 PA |
58 | 2016-04-12 Pedro Alves <palves@redhat.com> |
59 | ||
60 | * utils.c (vwarning, internal_vproblem): Use | |
61 | make_cleanup_restore_target_terminal and | |
62 | target_terminal_ours_for_output. | |
63 | ||
f8e3ef9d PA |
64 | 2016-04-12 Pedro Alves <palves@redhat.com> |
65 | ||
66 | * infcmd.c (post_create_inferior, prepare_one_step): Use | |
67 | target_terminal_ours_for_output instead of target_terminal_ours. | |
68 | ||
481ac8c9 PA |
69 | 2016-04-12 Pedro Alves <palves@redhat.com> |
70 | ||
71 | * exceptions.c (print_flush): Use target_terminal_ours_for_output | |
72 | instead of target_terminal_ours, and restore target terminal with | |
73 | a cleanup. | |
74 | ||
c509f1e1 PA |
75 | 2016-04-12 Pedro Alves <palves@redhat.com> |
76 | ||
77 | * cp-support.c (gdb_demangle): Use target_terminal_ours_for_output | |
78 | instead of target_terminal_ours, and restore target terminal with | |
79 | a cleanup. | |
80 | ||
99bbb428 PA |
81 | 2016-04-12 Pedro Alves <palves@redhat.com> |
82 | ||
83 | * ada-lang.c (type_as_string, type_as_string_and_cleanup): New | |
84 | functions. | |
85 | (ada_lookup_struct_elt_type): Use type_as_string_and_cleanup. | |
86 | ||
75ee5925 PA |
87 | 2016-04-12 Pedro Alves <palves@redhat.com> |
88 | ||
89 | * ser-base.c (fd_event): Retry read_prim on EINTR. | |
90 | (do_ser_base_readchar): Retry read_prim on EINTR. | |
91 | (ser_base_write): Retry write_prim on EINTR. | |
92 | * ser-unix.c (ser_unix_read_prim): Don't retry on EINTR here. | |
93 | (ser_unix_write_prim): Remove comment. | |
94 | ||
93692b58 PA |
95 | 2016-04-12 Pedro Alves <palves@redhat.com> |
96 | ||
97 | * remote.c (remote_pass_ctrlc): New function. | |
98 | (init_remote_ops): Install it. | |
99 | * target.c (target_terminal_inferior): Pass pending Ctrl-C to the | |
100 | target. | |
101 | (target_pass_ctrlc, default_target_pass_ctrlc): New functions. | |
102 | * target.h (struct target_ops) <to_pass_ctrlc>: New method. | |
103 | (target_pass_ctrlc, default_target_pass_ctrlc): New declarations. | |
104 | * target-delegates.c: Regenerate. | |
105 | ||
e42de8c7 PA |
106 | 2016-04-12 Pedro Alves <palves@redhat.com> |
107 | ||
108 | * infcmd.c (interrupt_target_1): Call target_stop is in non-stop | |
109 | mode. | |
110 | * linux-nat.c (linux_nat_interrupt): Delete. | |
111 | (linux_nat_add_target): Don't install linux_nat_interrupt. | |
112 | * remote.c (remote_interrupt_ns): Change return type to void. | |
113 | Throw error if interrupting the target is not supported. | |
114 | (remote_interrupt): Don't call the remote_stop_ns/remote_stop_as. | |
115 | ||
a149683b PA |
116 | 2016-04-12 Pedro Alves <palves@redhat.com> |
117 | ||
118 | * defs.h (clear_quit_flag): Remove declaration. | |
119 | * extension-priv.h (struct extension_language_ops) | |
120 | <clear_quit_flag>: Remove field and update comments. | |
121 | * extension.c (clear_quit_flag): Delete. | |
122 | * guile/guile.c (guile_extension_ops): Adjust. | |
123 | * python/python.c (python_extension_ops): Adjust. | |
124 | (gdbpy_clear_quit_flag): Delete. | |
125 | ||
da1e5f54 PA |
126 | 2016-04-12 Pedro Alves <palves@redhat.com> |
127 | ||
128 | * main.c (captured_main): Don't clear the quit flag. | |
129 | ||
0af679c6 PA |
130 | 2016-04-12 Pedro Alves <palves@redhat.com> |
131 | ||
132 | * exceptions.c (prepare_to_throw_exception): Don't clear the quit | |
133 | flag. | |
134 | ||
4a81fd47 PA |
135 | 2016-04-12 Pedro Alves <palves@redhat.com> |
136 | ||
137 | * event-top.c (command_handler): Don't call clear_quit_flag. | |
138 | ||
abf009ef PA |
139 | 2016-04-12 Pedro Alves <palves@redhat.com> |
140 | ||
141 | * remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag. | |
142 | * remote.c (remote_wait_as): Don't call clear_quit_flag. | |
143 | ||
6eddd09a PA |
144 | 2016-04-12 Pedro Alves <palves@redhat.com> |
145 | ||
146 | * python/python.c: Include "ser-event.h". | |
147 | (gdbpy_event_fds): Delete. | |
148 | (gdbpy_serial_event): New. | |
149 | (gdbpy_run_events): Change prototype. Use serial_event_clear | |
150 | instead of serial_readchar. | |
151 | (gdbpy_post_event): Use serial_event_set instead of serial_write. | |
152 | (gdbpy_initialize_events): Use make_serial_event instead of | |
153 | serial_pipe. | |
154 | ||
f0881b37 PA |
155 | 2016-04-12 Pedro Alves <palves@redhat.com> |
156 | ||
157 | * defs.h: Extend QUIT-related comments to mention | |
158 | interruptible_select. | |
159 | (quit_serial_event_set, quit_serial_event_clear): Declare. | |
160 | * event-top.c: Include "ser-event.h" and "gdb_select.h". | |
161 | (quit_serial_event): New global. | |
162 | (async_init_signals): Make quit_serial_event. | |
163 | (quit_serial_event_set, quit_serial_event_clear) | |
164 | (quit_serial_event_fd, interruptible_select): New functions. | |
165 | * extension.c (set_quit_flag): Set the quit serial event. | |
166 | (check_quit_flag): Clear the quit serial event. | |
167 | * gdb_select.h (interruptible_select): New declaration. | |
168 | * guile/scm-ports.c (ioscm_input_waiting): Use | |
169 | interruptible_select instead of gdb_select. | |
170 | * top.c (gdb_readline_no_editing): Likewise. | |
171 | * ui-file.c (stdio_file_read): Likewise. | |
172 | ||
5cc3ce8b PA |
173 | 2016-04-12 Pedro Alves <palves@redhat.com> |
174 | ||
175 | * event-loop.c: Include "ser-event.h". | |
176 | (async_signal_handlers_serial_event): New global. | |
177 | (async_signals_handler, initialize_async_signal_handlers): New | |
178 | functions. | |
179 | (mark_async_signal_handler): Set | |
180 | async_signal_handlers_serial_event. | |
181 | (invoke_async_signal_handlers): Clear | |
182 | async_signal_handlers_serial_event. | |
183 | * event-top.c (async_init_signals): Call | |
184 | initialize_async_signal_handlers. | |
185 | ||
00340e1b PA |
186 | 2016-04-12 Pedro Alves <palves@redhat.com> |
187 | ||
188 | * Makefile.in (SFILES): Add ser-event.c. | |
189 | (HFILES_NO_SRCDIR): Add ser-event.h. | |
190 | (COMMON_OBS): Add ser-event.o. | |
191 | * ser-event.c, ser-event.h: New files. | |
192 | * serial.c (new_serial): New function, factored out from | |
193 | (serial_fdopen_ops): ... this. | |
194 | (serial_open_ops_1): New function, factored out from | |
195 | (serial_open): ... this. | |
196 | (serial_open_ops): New function. | |
197 | * serial.h (struct serial): Forware declare. | |
198 | (serial_open_ops): New declaration. | |
199 | ||
5f5219fc PA |
200 | 2016-04-12 Pedro Alves <palves@redhat.com> |
201 | ||
202 | * serial.c (serial_open, serial_fdopen_ops, do_serial_close): | |
203 | Remove references to name. | |
204 | * serial.h (struct serial) <name>: Delete. | |
205 | ||
acd5494d PA |
206 | 2016-04-12 Pedro Alves <palves@redhat.com> |
207 | ||
208 | * remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp): | |
209 | Delete. | |
210 | (async_remote_fileio_interrupt): Delete. | |
211 | (remote_fileio_ctrl_c_signal_handler): Don't call the async signal | |
212 | handler. Instead just always set the ctrl_c flag. | |
213 | (remote_fileio_reply): Clear remote_fio_ctrl_c_flag before | |
214 | re-enabling the SIGINT handler. | |
215 | (remote_fileio_func_open, remote_fileio_func_close) | |
216 | (remote_fileio_func_read, remote_fileio_func_write) | |
217 | (remote_fileio_func_lseek, remote_fileio_func_rename) | |
218 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
219 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
220 | (remote_fileio_func_isatty, remote_fileio_func_system) | |
221 | (remote_fileio_request): Remove references to | |
222 | remote_fio_no_longjmp. | |
223 | (initialize_remote_fileio): Don't create an async signal handler. | |
224 | ||
d2acc30b PA |
225 | 2016-04-12 Pedro Alves <palves@redhat.com> |
226 | ||
227 | * event-top.c (stdin_event_handler): Call QUIT; | |
228 | (prompt_for_continue): Don't run with immediate_quit set. | |
229 | ||
ab33ab13 PA |
230 | 2016-04-12 Pedro Alves <palves@redhat.com> |
231 | ||
232 | * tui/tui-io.c (tui_redisplay_readline): Check | |
233 | gdb_in_secondary_prompt_p instead of immediate_quit. | |
234 | * tui/tui.c: Include top.h. | |
235 | (tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of | |
236 | immediate_quit. | |
237 | ||
faa4ebe1 PA |
238 | 2016-04-12 Pedro Alves <palves@redhat.com> |
239 | ||
240 | * top.c (read_command_file): Inline command_loop here. | |
241 | (command_loop): Delete. | |
242 | ||
3212b858 PA |
243 | 2016-04-12 Pedro Alves <palves@redhat.com> |
244 | ||
245 | * top.c: Include "gdb_select.h". | |
246 | (gdb_readline_no_editing): Wait for input with gdb_select instead | |
247 | of blocking in fgetc. | |
248 | (command_line_input): Don't set immediate_quit. | |
249 | ||
4bf7b526 MG |
250 | 2016-04-08 Martin Galvan <martin.galvan@tallertechnologies.com> |
251 | ||
252 | * value.c (value_next): Make pass-by-reference parameters const-correct. | |
253 | (value_parent): Likewise. | |
254 | (value_enclosing_type): Likewise. | |
255 | (value_lazy): Likewise. | |
256 | (value_stack): Likewise. | |
257 | (value_embedded_offset): Likewise. | |
258 | (value_pointed_to_offset): Likewise. | |
259 | (value_raw_address): Likewise. | |
260 | (deprecated_value_modifiable): Likewise. | |
261 | (value_free_to_mark): Likewise. | |
262 | (value_release_to_mark): Likewise. | |
263 | (internalvar_name): Likewise. | |
264 | (readjust_indirect_value_type): Likewise. | |
265 | (value_initialized): Likewise. | |
266 | * value.h (value_next): Likewise. | |
267 | (value_parent): Likewise. | |
268 | (value_enclosing_type): Likewise. | |
269 | (value_lazy): Likewise. | |
270 | (value_stack): Likewise. | |
271 | (value_embedded_offset): Likewise. | |
272 | (value_pointed_to_offset): Likewise. | |
273 | (value_raw_address): Likewise. | |
274 | (deprecated_value_modifiable): Likewise. | |
275 | (value_free_to_mark): Likewise. | |
276 | (value_release_to_mark): Likewise. | |
277 | (internalvar_name): Likewise. | |
278 | (readjust_indirect_value_type): Likewise. | |
279 | (value_initialized): Likewise. | |
280 | ||
e390720b YQ |
281 | 2016-04-07 Yao Qi <yao.qi@linaro.org> |
282 | ||
283 | * record-full.c (record_full_insert_breakpoint): Return | |
284 | early if entry on the address is found in | |
285 | record_full_breakpoints. | |
286 | ||
1ccd06e4 YQ |
287 | 2016-04-07 Yao Qi <yao.qi@linaro.org> |
288 | ||
289 | * record-full.c (record_full_insert_breakpoint): Set | |
290 | bp_tgt->reqstd_address and bp_tgt->placed_size. | |
291 | ||
ecf2e90c DB |
292 | 2016-04-06 Don Breazeal <donb@codesourcery.com> |
293 | ||
294 | * value.c (value_actual_type): Don't try to get rtti type | |
295 | of the value if it has been optimized out. | |
296 | (value_optimized_out): If a memory access error occurs, | |
297 | just check vaue->optimized_out. | |
298 | ||
14731617 JK |
299 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
300 | ||
301 | Revert the previous commit adding unknown_v_replies_ok. | |
302 | ||
319cb5d0 JK |
303 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
304 | ||
305 | * remote.c (struct remote_state): New field unknown_v_replies_ok. | |
306 | (packet_config_support): Read it. | |
307 | (remote_start_remote): Set it. | |
308 | ||
052d2eb2 JK |
309 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
310 | ||
311 | * remote.c: Revert check-in by a mistake in the previous commit. | |
312 | ||
fef3cb9f JK |
313 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
314 | Pedro Alves <palves@redhat.com> | |
315 | ||
316 | * exec.c (exec_file_locate_attach): Print warning for unsupported | |
317 | target_pid_to_exec_file. | |
318 | * symfile-mem.c (add_vsyscall_page): Remove the "file" command | |
319 | message part. | |
320 | ||
2aa08bd1 SM |
321 | 2016-04-04 Simon Marchi <simon.marchi@ericsson.com> |
322 | ||
323 | * cli/cli-decode.c (help_cmd_list): Fix function doc and remove | |
324 | trailing spaces. | |
325 | ||
cc63428a AV |
326 | 2016-04-01 Artemiy Volkov <artemiyv@acm.org> |
327 | ||
328 | PR gdb/19820 | |
329 | * eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be | |
330 | the type of BINOP_REPEAT's second operand. | |
331 | ||
9bb84c9f YY |
332 | 2016-03-31 Yichao Yu <yyc1992@gmail.com> |
333 | ||
334 | PR gdb/19858 | |
335 | * jit.c (jit_breakpoint_re_set_internal): Return 0 if we already | |
336 | got the breakpoint at the right address. | |
337 | (jit_inferior_created): New function. | |
338 | (_initialize_jit): Install jit_inferior_created as | |
339 | inferior_created observer. | |
340 | ||
22084c42 MK |
341 | 2016-03-31 Marcin Kościelnicki <koriakin@0x04.net> |
342 | ||
343 | * NEWS: Mention support for tracepoints on powerpc*-linux. | |
344 | ||
e7ea3ec7 CU |
345 | 2016-03-31 Catalin Udma <catalin.udma@freescale.com> |
346 | ||
347 | PR python/19743 | |
348 | * python/python.c (execute_gdb_command): Use console uiout | |
349 | when executing gdb command. | |
350 | * utils.c (restore_ui_out_closure): New structure. | |
351 | (do_restore_ui_out): New function. | |
352 | (make_cleanup_restore_ui_out): Likewise. | |
353 | * utils.h (make_cleanup_restore_ui_out): Declare. | |
354 | ||
f7c38292 PA |
355 | 2016-03-31 Pedro Alves <palves@redhat.com> |
356 | ||
357 | * NEWS: Mention that support for "target m32rsdi", "target mips", | |
358 | "target pmon", "target ddb", "target rockhopper", and "target lsi" | |
359 | was removed. | |
360 | * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and | |
361 | remote-mips.o. | |
362 | (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c. | |
363 | * configure.tgt: Remove all references to remote-m32r-sdi.o and | |
364 | remote-mips.o. | |
365 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete | |
366 | function. | |
367 | * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete | |
368 | declaration. | |
369 | * remote-m32r-sdi.c, remote-mips.c: Delete files. | |
370 | * symfile.c (generic_load, generic_load): Remove comments. | |
371 | ||
fb3f3d25 YQ |
372 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
373 | ||
374 | * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against | |
375 | 0 rather than NULL. | |
376 | ||
779aa56f YQ |
377 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
378 | ||
379 | * arm-tdep.c: (arm_make_epilogue_frame_cache): New function. | |
380 | (arm_epilogue_frame_this_id): New function. | |
381 | (arm_epilogue_frame_prev_register): New function. | |
382 | (arm_epilogue_frame_sniffer): New function. | |
383 | (arm_epilogue_frame_unwind): New. | |
384 | (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind. | |
385 | ||
c58b006a YQ |
386 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
387 | ||
388 | * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ... | |
389 | (arm_stack_frame_destroyed_p_1): ... here. Don't call | |
390 | arm_pc_is_thumb. | |
391 | (arm_stack_frame_destroyed_p): Call | |
392 | thumb_stack_frame_destroyed_p and | |
393 | arm_stack_frame_destroyed_p_1. | |
394 | ||
4ae6cc19 DE |
395 | 2016-03-30 Doug Evans <dje@google.com> |
396 | ||
397 | * python/py-utils.c (host_string_to_python_string): New function. | |
398 | * python/python-internal.h (host_string_to_python_string): Declare it. | |
399 | * python/py-*.c (*): Update all calls to | |
400 | PyString_Decode (str, strlen (str), host_charset (), NULL); | |
401 | to use host_string_to_python_string instead. | |
402 | ||
28170b88 MK |
403 | 2016-03-30 Marcin Kościelnicki <koriakin@0x04.net> |
404 | ||
405 | * remote.c (remote_check_symbols): Allocate own buffer for reply. | |
406 | ||
a08b52b5 MF |
407 | 2016-03-29 Max Filippov <jcmvbkbc@gmail.com> |
408 | ||
409 | * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST. | |
410 | Use safe_read_memory_integer instead of read_memory_integer. | |
411 | ||
c37c0ba6 MK |
412 | 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net> |
413 | ||
414 | * NEWS: Mention support for tracepoints on s390*-linux. | |
415 | ||
444bca65 DB |
416 | 2016-03-29 Don Breazeal <donb@codesourcery.com> |
417 | ||
418 | * gdb/value.c (value_actual_type): Fix formatting issue. | |
419 | ||
cc651c1c YQ |
420 | 2016-03-23 Yao Qi <yao.qi@linaro.org> |
421 | ||
422 | * gdbarch.sh (software_single_step): Remove comments. | |
423 | * gdbarch.h: Regenerated. | |
424 | ||
c55978a6 YQ |
425 | 2016-03-21 Yao Qi <yao.qi@linaro.org> |
426 | ||
427 | * arm-tdep.c (arm_record_media): New. | |
428 | (arm_record_ld_st_reg_offset): Call arm_record_media. | |
429 | ||
479fe002 YQ |
430 | 2016-03-21 Yao Qi <yao.qi@linaro.org> |
431 | ||
432 | * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize | |
433 | more syscalls. | |
434 | ||
9c3f2234 YQ |
435 | 2016-03-18 Yao Qi <yao.qi@linaro.org> |
436 | ||
437 | * sparc-tdep.c (sparc_software_single_step): Make it static. | |
438 | * sparc-tdep.h (sparc_software_single_step): Remove declaration. | |
439 | ||
941319d1 YQ |
440 | 2016-03-18 Yao Qi <yao.qi@linaro.org> |
441 | ||
442 | * spu-tdep.c (spu_software_single_step): Throw error when | |
443 | target_read_memory fails. | |
444 | ||
708bf0a1 JK |
445 | 2016-03-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
446 | ||
447 | * linux-thread-db.c (check_pid_namespace_match): Extend the message. | |
448 | ||
0d5b594f PA |
449 | 2016-03-17 Pedro Alves <palves@redhat.com> |
450 | Don Breazeal <donb@codesourcery.com> | |
451 | ||
452 | PR remote/19496 | |
453 | * infcmd.c (notice_new_inferior): Use the 'leave_running' argument | |
454 | instead of checking the 'non_stop' global. | |
455 | * remote.c (remote_add_thread): New parameter 'executing'. Use it | |
456 | to set the new thread's executing state. | |
457 | (remote_notice_new_inferior): Rename parameter 'running' to | |
458 | 'executing'. Always set the thread state to THREAD_RUNNING in | |
459 | non-stop mode, and to THREAD_STOPPED in all-stop mode. Pass | |
460 | EXECUTING to remote_add_thread and notice_new_inferior. | |
461 | (remote_update_thread_list): Update to pass executing state, not | |
462 | running state. | |
463 | ||
bba960fc AA |
464 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
465 | ||
466 | * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up | |
467 | to 374. | |
468 | * syscalls/s390x-linux.xml: Likewise. | |
469 | ||
5fd0888a AA |
470 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
471 | ||
472 | * linux-record.c (record_mem_at_reg): New helper function. | |
473 | (record_linux_system_call): Exploit new helper function where | |
474 | applicable. | |
475 | ||
0fc8f115 AA |
476 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
477 | ||
478 | * linux-record.c: Fix whitespace issues; tabify, remove trailing | |
479 | spaces. | |
480 | ||
afdab916 AA |
481 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
482 | ||
483 | * linux-record.c (record_linux_system_call): Add missing return | |
484 | statements to handling of pipe and pipe2 syscalls. | |
485 | ||
bfeeb14b DE |
486 | 2016-03-16 Doug Evans <dje@google.com> |
487 | ||
488 | * xml-tdesc.c (tdesc_start_enum): Fix c++ build. | |
489 | ||
6b94a855 YQ |
490 | 2016-03-16 Yao Qi <yao.qi@linaro.org> |
491 | ||
492 | * arm-linux-tdep.c (arm_linux_init_abi): Fix | |
493 | arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and | |
494 | arm_linux_record_tdep.arg3. Set arm_linux_record_tdep.arg4, | |
495 | arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and | |
496 | arm_linux_record_tdep.arg7. | |
497 | ||
1cafadb4 DB |
498 | 2016-03-15 Keith Seitz <keiths@redhat.com> |
499 | ||
500 | PR breakpoints/18303 | |
501 | * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to | |
502 | look for "::" instead of simply ":". | |
503 | (cp_search_static_and_baseclasses): Return null_block_symbol for | |
504 | malformed input. | |
505 | Remove assertions. | |
506 | * cp-support.c (cp_find_first_component_aux): Do not return | |
507 | a prefix length for ':' unless the next character is also ':'. | |
508 | ||
89c200ed DE |
509 | 2016-03-15 Doug Evans <dje@google.com> |
510 | ||
511 | * features/aarch64-core.xml (cpsr_flags): New flags type. | |
512 | (cpsr): Use it. | |
513 | * features/aarch64.c: Regenerate. | |
514 | ||
49b7ae7b DE |
515 | 2016-03-15 Doug Evans <dje@google.com> |
516 | ||
517 | * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec. | |
518 | * features/i386/32bit-sse.xml (i386_eflags): Ditto. | |
519 | * features/i386/64bit-core.xml (i386_eflags): Ditto. | |
520 | * features/i386/64bit-sse.xml (i386_eflags): Ditto. | |
521 | * features/i386/x32-core.xml (i386_eflags): Ditto. | |
522 | ||
81516450 | 523 | 2016-03-15 Doug Evans <dje@google.com> |
79427bd2 | 524 | Wei-cheng Wang <cole945@gmail.com> |
81516450 DE |
525 | |
526 | Extend flags to support multibit and enum bitfields. | |
79427bd2 | 527 | * NEWS: Document new features. |
81516450 DE |
528 | * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS. |
529 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
530 | * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit. | |
531 | (append_flags_type_field): New function. | |
532 | (append_flags_type_flag): Call it. | |
533 | * gdbtypes.h (append_flags_type_field): Declare. | |
534 | * target-descriptions.c (struct tdesc_type_flag): Delete. | |
535 | (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value. | |
536 | (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto. | |
537 | (struct tdesc_type) <u.f>: Delete. | |
538 | (tdesc_predefined_types): Add "bool". | |
539 | (tdesc_predefined_type): New function. | |
540 | (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM. | |
541 | Update TDESC_TYPE_FLAGS support. | |
542 | (tdesc_free_type): Handle TDESC_TYPE_ENUM. Update TDESC_TYPE_FLAGS. | |
543 | (tdesc_create_flags): Update. | |
544 | (tdesc_create_enum): New function. | |
545 | (tdesc_add_field): Initialize start,end to -1. | |
546 | (tdesc_add_typed_bitfield): New function. | |
547 | (tdesc_add_bitfield): Call it. | |
548 | (tdesc_add_flag): Allow TDESC_TYPE_STRUCT. Update. | |
549 | (tdesc_add_enum_value): New function. | |
550 | (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into | |
551 | TDESC_TYPE_STRUCT. Handle TDESC_TYPE_ENUM. | |
552 | * target-descriptions.h (tdesc_create_enum): Declare. | |
553 | (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare. | |
554 | * valprint.c (generic_val_print_enum_1): New function. | |
555 | (generic_val_print_enum): Call it. | |
556 | (val_print_type_code_flags): Make static. Handle multibit bitfields | |
557 | and enum bitfields. | |
558 | * valprint.h (val_print_type_code_flags): Delete. | |
559 | * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>: | |
560 | Delete. All uses removed. | |
561 | (tdesc_start_enum): New function. | |
562 | (tdesc_start_field): Handle multibit and enum bitfields. | |
563 | (tdesc_start_enum_value): New function. | |
564 | (enum_value_attributes, enum_children, enum_attributes): New static | |
565 | globals. | |
566 | (feature_children): Add "enum". | |
567 | * features/gdb-target.dtd (enum, evalue): New elements. | |
568 | ||
54157a25 DE |
569 | 2016-03-15 Doug Evans <dje@google.com> |
570 | ||
571 | * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type | |
572 | from LONGEST to int. | |
573 | (struct tdesc_type) <u.f.size>: Ditto. | |
574 | (tdesc_set_struct_size): Change type of "size" arg from LONGEST | |
575 | to int. Add assertion size > 0. | |
576 | (tdesc_create_flags): Ditto. | |
577 | * target-descriptions.h (tdesc_set_struct_size): Update. | |
578 | (tdesc_create_flags): Update. | |
579 | * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros. | |
580 | (MAX_VECTOR_SIZE): New macro. | |
581 | (tdesc_start_struct): Catch conversion errors from LONGEST to int. | |
582 | (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto. | |
583 | ||
73b4f516 DE |
584 | 2016-03-15 Doug Evans <dje@google.com> |
585 | ||
586 | * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for | |
587 | TYPE_CODE_FLAGS instead of "field_type", for consistency. | |
588 | * features/i386/amd64-avx-linux.c: Regenerate. | |
589 | * features/i386/amd64-avx.c: Regenerate. | |
590 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
591 | * features/i386/amd64-avx512.c: Regenerate. | |
592 | * features/i386/amd64-linux.c: Regenerate. | |
593 | * features/i386/amd64-mpx-linux.c: Regenerate. | |
594 | * features/i386/amd64-mpx.c: Regenerate. | |
595 | * features/i386/amd64.c: Regenerate. | |
596 | * features/i386/i386-avx-linux.c: Regenerate. | |
597 | * features/i386/i386-avx.c: Regenerate. | |
598 | * features/i386/i386-avx512-linux.c: Regenerate. | |
599 | * features/i386/i386-avx512.c: Regenerate. | |
600 | * features/i386/i386-linux.c: Regenerate. | |
601 | * features/i386/i386-mmx-linux.c: Regenerate. | |
602 | * features/i386/i386-mmx.c: Regenerate. | |
603 | * features/i386/i386-mpx-linux.c: Regenerate. | |
604 | * features/i386/i386-mpx.c: Regenerate. | |
605 | * features/i386/i386.c: Regenerate. | |
606 | * features/i386/x32-avx-linux.c: Regenerate. | |
607 | * features/i386/x32-avx.c: Regenerate. | |
608 | * features/i386/x32-avx512-linux.c: Regenerate. | |
609 | * features/i386/x32-avx512.c: Regenerate. | |
610 | * features/i386/x32-linux.c: Regenerate. | |
611 | * features/i386/x32.c: Regenerate. | |
612 | ||
1eb2dbb8 PA |
613 | 2016-03-15 Pedro Alves <palves@redhat.com> |
614 | ||
615 | PR gdb/19676 | |
616 | * linux-thread-db.c (try_thread_db_load_1): Leave | |
617 | info->td_ta_thr_iter_p NULL iff debugging a live process and we | |
618 | have /proc access. | |
619 | (find_new_threads_once): Assert that we have a non-NULL | |
620 | info->td_ta_thr_iter_p instead of checking whether the target has | |
621 | execution. | |
622 | ||
16b41842 PA |
623 | 2016-03-15 Pedro Alves <palves@redhat.com> |
624 | ||
625 | PR gdb/19676 | |
626 | * infrun.c (displaced_step_prepare): Also disable displaced | |
627 | stepping on NOT_SUPPORTED_ERROR. | |
628 | * linux-tdep.c (linux_displaced_step_location): If reading auxv | |
629 | fails, throw NOT_SUPPORTED_ERROR instead of generic error. | |
630 | ||
70104a90 MK |
631 | 2016-03-13 Marcin Kościelnicki <koriakin@0x04.net> |
632 | ||
633 | * s390-linux-tdep.c (s390_gen_return_address): New function. | |
634 | (s390_gdbarch_init): Fill gen_return_address hook. | |
635 | ||
f2403c39 AB |
636 | 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com> |
637 | ||
638 | * symmisc.c (maintenance_info_line_tables): New function. | |
639 | (maintenance_print_one_line_table): New function. | |
640 | (_initialize_symmisc): Register 'maint info line-table' command. | |
641 | * NEWS: Mention new command. | |
642 | ||
c4b3e547 MK |
643 | 2016-03-11 Marcin Kościelnicki <koriakin@0x04.net> |
644 | ||
645 | * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function. | |
646 | (s390_ax_pseudo_register_push_stack): New function. | |
647 | (s390_gdbarch_init): Fill ax_pseudo_register_collect and | |
648 | ax_pseudo_register_push_stack hooks. | |
649 | ||
f2f3ccb9 SM |
650 | 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca> |
651 | ||
652 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Install | |
653 | gdb/function/as_string.py. | |
654 | * python/lib/gdb/function/as_string.py: New file. | |
655 | * NEWS: Mention the new $_as_string function. | |
656 | ||
2343b78a JM |
657 | 2016-03-09 Jose E. Marchesi <jose.marchesi@oracle.com> |
658 | ||
659 | * target.h: Fix doc string of target_can_use_hardware_watchpoint. | |
660 | ||
b69d38af PA |
661 | 2016-03-09 Pedro Alves <palves@redhat.com> |
662 | ||
663 | * event-top.c (more_to_come): Delete. | |
664 | (struct readline_input_state): Delete. | |
665 | (readline_input_state): Delete. | |
666 | (get_command_line_buffer): New function. | |
667 | (command_handler): Update comments. Don't handle NULL commands | |
668 | here. Do not execute commented lines. | |
669 | (command_line_append_input_line): New function. | |
670 | (handle_line_of_input): New function, partly based on | |
671 | command_line_handler and command_line_input. | |
672 | (command_line_handler): Rewrite. | |
673 | * event-top.h (command_handler): New declaration. | |
674 | (command_loop): Defer command execution to command_handler. | |
675 | (command_line_input): Update comments. Simplify, using struct | |
676 | buffer and handle_line_of_input. | |
677 | * top.h (struct buffer): New forward declaration. | |
678 | (handle_line_of_input): New declaration. | |
679 | ||
2669cade PA |
680 | 2016-03-09 Pedro Alves <palves@redhat.com> |
681 | ||
682 | * event-top.c (command_line_handler): Use xfree + xstrdup instead | |
683 | of xrealloc + strcpy. | |
684 | * main.c (captured_main): Use xstrdup instead of xmalloc plus | |
685 | manual clear. | |
686 | * top.c (saved_command_line): Rewrite comment. | |
687 | (saved_command_line_size): Delete. | |
688 | (command_line_input): Use xfree + xstrdup instead of xrealloc + | |
689 | strcpy. | |
690 | * top.h (saved_command_line_size): Delete declaration. | |
691 | ||
187212b3 PA |
692 | 2016-03-09 Pedro Alves <palves@redhat.com> |
693 | ||
694 | * event-top.c: Include buffer.h. | |
695 | (gdb_readline_no_editing_callback): Use struct buffer instead | |
696 | of xrealloc. | |
697 | ||
7a3bde34 PA |
698 | 2016-03-09 Pedro Alves <palves@redhat.com> |
699 | ||
700 | * common/buffer.h (buffer_grow_char): New function. | |
701 | * top.c: Include buffer.h. | |
702 | (gdb_readline_no_editing): Rename 'prompt_arg' parameter to | |
703 | 'prompt'. Use struct buffer instead of xrealloc. | |
704 | ||
c5c136ea PA |
705 | 2016-03-09 Pedro Alves <palves@redhat.com> |
706 | ||
707 | * defs.h (gdb_readline): Delete declaration. | |
708 | * top.c (gdb_readline): Rename to ... | |
709 | (gdb_readline_no_editing): ... this, and make static. | |
710 | ||
720d2e96 PA |
711 | 2016-03-09 Pedro Alves <palves@redhat.com> |
712 | ||
713 | * utils.c (prompt_for_continue): Update comments. | |
714 | ||
608ff013 PA |
715 | 2016-03-09 Pedro Alves <palves@redhat.com> |
716 | ||
717 | * event-top.c (async_annotation_suffix): Delete. | |
718 | (top_level_prompt, command_line_handler): Don't use | |
719 | 'async_annotation_suffix' and simplify. | |
720 | * event-top.h (async_annotation_suffix): Delete declaration. | |
721 | (init_main): Remove reference to 'async_annotation_suffix'. | |
722 | ||
c70061cf PA |
723 | 2016-03-09 Pedro Alves <palves@redhat.com> |
724 | ||
725 | * event-top.c (gdb_readline2): Rename to ... | |
726 | (gdb_readline_no_editing_callback): ... this. | |
727 | (change_line_handler, stdin_event_handler) | |
728 | (gdb_setup_readline): Adjust. | |
729 | * event-top.h (gdb_readline2): Rename to ... | |
730 | (gdb_readline_no_editing_callback): ... this, and move closer to | |
731 | other readline-related declarations. | |
732 | * mi/mi-interp.c (mi_interpreter_resume): Adjust. | |
733 | ||
8a243832 PA |
734 | 2016-03-09 Pedro Alves <palves@redhat.com> |
735 | ||
736 | * top.c (window_hook): Delete. | |
737 | (command_loop): Remove references to window_hook. | |
738 | ||
cc2c4da8 MK |
739 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
740 | ||
741 | * corefile.c (safe_read_memory_unsigned_integer): New function. | |
742 | * gdbcore.h (safe_read_memory_unsigned_integer): New prototype. | |
743 | * rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned. | |
744 | ||
a67914de MK |
745 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
746 | ||
747 | * rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes. | |
748 | (rs6000_gen_return_address): New function. | |
749 | (rs6000_gdbarch_init): Wire in the above. | |
750 | ||
2a2fa07b MK |
751 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
752 | ||
753 | * rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function. | |
754 | (rs6000_gdbarch_init): Wire in the above. | |
755 | ||
bc0e3f49 AA |
756 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
757 | ||
758 | * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL | |
759 | instructions that do nothing or are conditional traps. | |
760 | ||
6d53bec8 AA |
761 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
762 | ||
763 | * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store | |
764 | frame func's PC in info->func before any other failure can occur. | |
765 | (s390_frame_this_id): Use frame_id_build_unavailable_stack if | |
766 | info->func has been filled out. | |
767 | ||
f7990f16 PA |
768 | 2016-03-09 Pedro Alves <palves@redhat.com> |
769 | ||
770 | * osabi.c (gdb_osabi_names): Avoid spaces in osabi names. | |
771 | ||
087ccc6a PA |
772 | 2016-03-09 Pedro Alves <palves@redhat.com> |
773 | ||
774 | * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300. | |
775 | ||
114d7832 PA |
776 | 2016-03-09 Pedro Alves <palves@redhat.com> |
777 | ||
778 | * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte | |
779 | order is BFD_ENDIAN_BIG or if the cris version is unsupported. | |
780 | ||
d7a87b5e PA |
781 | 2016-03-09 Pedro Alves <palves@redhat.com> |
782 | ||
783 | * doublest.c: Extend comments. | |
784 | (floatformat_to_doublest, floatformat_from_doublest): Copy the | |
785 | floatformat's total size, not the host type's size. | |
786 | ||
b79497cb PA |
787 | 2016-03-09 Pedro Alves <palves@redhat.com> |
788 | ||
789 | * doublest.c (floatformat_totalsize_bytes): New function. | |
790 | (floatformat_from_type): Assert that the type's length is at least | |
791 | as long as the floatformat's totalsize. | |
792 | * doublest.h (floatformat_totalsize_bytes): New declaration. | |
793 | * gdbtypes.c (arch_float_type): Assert that the type's length is | |
794 | at least as long as the floatformat's totalsize. | |
795 | ||
aacca8a7 PA |
796 | 2016-03-09 Pedro Alves <palves@redhat.com> |
797 | ||
798 | * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double | |
799 | format to floatformats_ieee_double. | |
800 | ||
e6c2f47b PA |
801 | 2016-03-07 Pedro Alves <palves@redhat.com> |
802 | ||
803 | * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL | |
804 | before calling bfd_get_flavour. | |
805 | ||
cb86f388 DC |
806 | 2016-03-05 Pitchumani Sivanupandi <pitchumani.s@atmel.com> |
807 | ||
808 | * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define. | |
809 | (avr_push_dummy_call): Correct last needed argument register. | |
810 | Write MSB of argument into register and subsequent bytes into | |
811 | other registers in decreasing order. | |
812 | ||
f1771dce YQ |
813 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
814 | ||
815 | * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the | |
816 | condition check. Record the right D register number. | |
817 | ||
ca92db2d YQ |
818 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
819 | ||
820 | * arm-tdep.c (arm_record_extension_space): Remove code | |
821 | printing "Process record does not support". | |
822 | (arm_record_data_proc_misc_ld_str): Likewise. | |
823 | (decode_insn): Call arm_record_extension_space if condition | |
824 | is 0xf. Call arm_record_unsupported_insn if ret isn't | |
825 | ARM_RECORD_SUCCESS. Use 'ret' instead of 'insn_id' to hold | |
826 | the value of thumb2_record_decode_insn_handler. | |
827 | ||
73519cce SM |
828 | 2016-03-04 Simon Marchi <simon.marchi@ericsson.com> |
829 | ||
830 | * features/feature_to_c.sh: Print the help when passing no | |
831 | argument. | |
832 | ||
650beae3 BH |
833 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
834 | ||
835 | * MAINTAINERS (Write After Approval): Add Bernhard Heckel. | |
836 | ||
28586665 BH |
837 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
838 | ||
839 | * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers. | |
840 | ||
f2489477 AA |
841 | 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com> |
842 | ||
843 | * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid | |
844 | exception when attempting to access the inferior's backchain. | |
845 | ||
d5219069 YQ |
846 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
847 | ||
848 | * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support | |
849 | eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2. | |
850 | Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create | |
851 | for aarch64_sys_epoll_create1. | |
852 | ||
253b4d3a YQ |
853 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
854 | ||
855 | * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New. | |
856 | <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New. | |
857 | <gdb_sys_pipe2, gdb_sys_inotify_init1>: New. | |
858 | * linux-record.c (record_linux_system_call): Handle them. | |
859 | ||
38899f16 IB |
860 | 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org> |
861 | ||
862 | * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from | |
863 | cyclic imports. | |
864 | ||
1ed0c2a4 KS |
865 | 2016-02-26 Keith Seitz <keiths@redhat.com> |
866 | ||
867 | * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result | |
868 | to avoid invalid conversion from void *. | |
869 | ||
9fde51ed YQ |
870 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
871 | ||
872 | * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg' | |
873 | per bit 8. Check bit 20 instead of bit 4 for VMOV | |
874 | instruction. Record D registers for instructions changing | |
875 | S registers. Change of the order of length and address | |
876 | in record_buf_mem array. | |
877 | ||
1f33efec YQ |
878 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
879 | ||
880 | * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register | |
881 | number of Rd. | |
882 | ||
1547ef64 DE |
883 | 2016-02-25 Doug Evans <dje@google.com> |
884 | ||
885 | * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid | |
886 | compiler warning. | |
887 | (recv_long_data): Ditto. | |
888 | ||
166616ce SM |
889 | 2016-02-25 Simon Marchi <simon.marchi@ericsson.com> |
890 | ||
891 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): | |
892 | Initialize variables. | |
893 | ||
1eb7c2d8 AT |
894 | 2016-02-25 Antoine Tremblay <antoine.tremblay@ericsson.com> |
895 | ||
896 | * ax-general.c (ax_reg): Call gdbarch_remote_register_number. | |
897 | (ax_reg_mask): Likewise. | |
898 | ||
e7ad2f14 PA |
899 | 2016-02-24 Pedro Alves <palves@redhat.com> |
900 | ||
901 | * linux-nat.c (save_sigtrap) Delete. | |
902 | (stop_wait_callback): Call save_stop_reason instead of | |
903 | save_sigtrap. | |
904 | (check_stopped_by_breakpoint): Rename to ... | |
905 | (save_stop_reason): ... this. Bits of save_sigtrap folded here. | |
906 | Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous | |
907 | GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. Factor out | |
908 | common code between the USE_SIGTRAP_SIGINFO and | |
909 | !USE_SIGTRAP_SIGINFO blocks. | |
910 | (linux_nat_filter_event): Call save_stop_reason instead of | |
911 | save_sigtrap. | |
912 | * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT | |
913 | si_code for MIPS. | |
914 | * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table. Add | |
915 | comments on MIPS behavior. | |
916 | (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs. | |
917 | ||
338435ef MK |
918 | 2016-02-24 Marcin Kościelnicki <koriakin@0x04.net> |
919 | ||
920 | * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0 | |
921 | to avoid spurious warnings. | |
922 | ||
bf74e428 GB |
923 | 2016-02-24 Gary Benson <gbenson@redhat.com> |
924 | ||
925 | * exec.c (exec_file_locate_attach): Do not attempt to | |
926 | locate main executable locally if not found in sysroot. | |
927 | ||
62fb310b JB |
928 | 2016-02-24 Joel Brobecker <brobecker@adacore.com> |
929 | ||
930 | GDB 7.11 released. | |
931 | ||
50ae56ec WW |
932 | 2016-02-24 Wei-cheng Wang <cole945@gmail.com> |
933 | ||
934 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle | |
935 | unavailable PC/SP to build unavailable frame. | |
936 | ||
cce0e923 DE |
937 | 2016-02-23 Doug Evans <dje@google.com> |
938 | ||
939 | Extend "skip" command to support -file, -gfile, -function, -rfunction. | |
940 | * NEWS: Document new features. | |
941 | * skip.c: #include "fnmatch.h", "gdb_regex.h". | |
942 | (skiplist_entry) <file>: Renamed from filename. | |
943 | <function>: Renamed from function_name. | |
944 | <file_is_glob, function_is_regexp>: New members. | |
945 | <compiled_function_regexp, compiled_function_regexp_is_valid>: | |
946 | New members. | |
947 | (make_skip_entry): New function. | |
948 | (free_skiplist_entry, free_skiplist_entry_cleanup): New functions. | |
949 | (make_free_skiplist_entry_cleanup): New function. | |
950 | (skip_file_command): Update. | |
951 | (skip_function, skip_function_command): Update. | |
952 | (compile_skip_regexp): New functions. | |
953 | (skip_command): Add support for new options. | |
954 | (skip_info): Update. | |
955 | (skip_file_p, skip_gfile_p): New functions. | |
956 | (skip_function_p, skip_rfunction_p): New functions. | |
957 | (function_name_is_marked_for_skip): Update and simplify. | |
958 | (_initialize_step_skip): Update. | |
959 | * symtab.c: #include "fnmatch.h". | |
960 | (compare_glob_filenames_for_search): New function. | |
961 | * symtab.h (compare_glob_filenames_for_search): Declare. | |
962 | * utils.c (count_path_elements): New function. | |
963 | (strip_leading_path_elements): New function. | |
964 | * utils.h (count_path_elements): Declare. | |
965 | (strip_leading_path_elements): Declare. | |
966 | ||
12545665 SM |
967 | 2016-02-23 Simon Marchi <simon.marchi@ericsson.com> |
968 | ||
969 | * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter. | |
970 | (thumb_process_displaced_insn): Likewise. | |
971 | (arm_process_displaced_insn): Adjust calls. | |
972 | ||
c955ae73 YQ |
973 | 2016-02-23 Yao Qi <yao.qi@linaro.org> |
974 | ||
975 | * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>: | |
976 | Remove. | |
977 | <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove. | |
978 | <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove. | |
979 | <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New. | |
980 | <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New. | |
981 | <aarch64_sys_linkat, aarch64_sys_renameat>: New. | |
982 | <aarch64_sys_faccessat>: New. | |
983 | <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove. | |
984 | <aarch64_sys_openat, aarch64_sys_readlinkat>: New. | |
985 | <aarch64_sys_newfstatat>: New. | |
986 | (UNSUPPORTED_SYSCALL_MAP): New macro. | |
987 | (aarch64_canonicalize_syscall): Add missing syscalls. | |
988 | ||
ac46107c JK |
989 | 2016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
990 | ||
991 | * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print. | |
992 | ||
01e57735 YQ |
993 | 2016-02-22 Yao Qi <yao.qi@linaro.org> |
994 | ||
995 | * arm-tdep.c: Fix code format issues. | |
996 | ||
30a6a7f0 IB |
997 | 2016-02-21 Iain Buclaw <ibuclaw@gdcproject.org> |
998 | ||
999 | * d-namespace.c (d_lookup_symbol_imports): Remove argument | |
1000 | 'search_parents'. All callers updated. | |
1001 | ||
f79a3bae MK |
1002 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
1003 | ||
1004 | * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function. | |
1005 | (s390_gdbarch_init): Fill guess_tracepoint_registers hook. | |
1006 | ||
012b3a21 WT |
1007 | 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1008 | ||
1009 | * NEWS: Add entry for bound violation. | |
1010 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): | |
1011 | Add handler for segmentation fault. | |
1012 | * gdbarch.sh (handle_segmentation_fault): New. | |
1013 | * gdbarch.c: Regenerate. | |
1014 | * gdbarch.h: Regenerate. | |
1015 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New. | |
1016 | (SIG_CODE_BONDARY_FAULT): New define. | |
1017 | (i386_linux_init_abi): Use i386_mpx_bound_violation_handler. | |
1018 | * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New. | |
1019 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
1020 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
1021 | * infrun.c (handle_segmentation_fault): New function. | |
1022 | (print_signal_received_reason): Use handle_segmentation_fault. | |
1023 | ||
5f034a78 MK |
1024 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
1025 | ||
1026 | * arch-utils.c (default_guess_tracepoint_registers): New function. | |
1027 | * arch-utils.h (default_guess_tracepoint_registers): New prototype. | |
1028 | * gdbarch.c: Regenerate. | |
1029 | * gdbarch.h: Regenerate. | |
1030 | * gdbarch.sh: Add guess_tracepoint_registers hook. | |
1031 | * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook. | |
1032 | ||
88178e82 GB |
1033 | 2016-02-17 Gary Benson <gbenson@redhat.com> |
1034 | ||
1035 | * exec.c (exec_file_locate_attach): Add missing cleanup. | |
1036 | ||
4041ed77 DB |
1037 | 2016-02-16 Don Breazeal <donb@codesourcery.com> |
1038 | ||
1039 | PR remote/19496 | |
1040 | * remote.c (remove_new_fork_children): Check for pending | |
1041 | fork status in thread_info.suspend. | |
1042 | ||
b442c911 YQ |
1043 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
1044 | ||
1045 | * arm-linux-tdep.c (arm_linux_software_single_step): Assign | |
1046 | 'old_chain' later. | |
1047 | ||
553cb527 YQ |
1048 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
1049 | ||
1050 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops) | |
1051 | <syscall_next_pc>: Remove argument PC. Callers updated. | |
1052 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
1053 | Remove argument PC. Get pc from regcache_read_pc. | |
1054 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove | |
1055 | argument PC. | |
1056 | ||
0a0da556 YQ |
1057 | 2016-02-15 Yao Qi <yao.qi@linaro.org> |
1058 | ||
1059 | * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x". | |
1060 | ||
01113bc1 YQ |
1061 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
1062 | ||
1063 | * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate | |
1064 | nextpc according to instruction. | |
1065 | ||
ed443b61 YQ |
1066 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
1067 | ||
1068 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call | |
1069 | self->ops->fixup if it isn't NULL. | |
1070 | * arch/arm-get-next-pcs.h: Include gdb_vecs.h. | |
1071 | (struct arm_get_next_pcs_ops) <fixup>: New field. | |
1072 | * arch/arm-linux.c: Include common-regcache.h and | |
1073 | arch/arm-get-next-pcs.h. | |
1074 | (arm_linux_get_next_pcs_fixup): New function. | |
1075 | * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare. | |
1076 | * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize | |
1077 | it with arm_linux_get_next_pcs_fixup. | |
1078 | (arm_linux_software_single_step): Move code to | |
1079 | arm_linux_get_next_pcs_fixup. | |
1080 | * arm-tdep.c (arm_get_next_pcs_ops): Initialize it. | |
1081 | ||
d21b5f15 MK |
1082 | 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net> |
1083 | ||
1084 | * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn | |
1085 | and return NULL. | |
1086 | ||
33b4777c MM |
1087 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
1088 | ||
1089 | * frame.h (skip_tailcall_frames): Update comment. | |
1090 | * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL | |
1091 | if only artificial frames are found. Update comment. | |
1092 | (frame_unwind_caller_id): Handle NULL return. | |
1093 | (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that | |
1094 | skip_artificial_frames does not return NULL. | |
1095 | (frame_pop): Add an error if only tailcall frames are found. | |
1096 | * infcmd.c (finish_command): Move skip_tailcall_frames call into | |
1097 | forward-execution case. Add an error if only tailcall frames are | |
1098 | found. | |
1099 | ||
a038fa3e MM |
1100 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
1101 | ||
1102 | * stack.c (frame_info): Check frame_unwind_caller_id. | |
1103 | ||
2f3ef606 MM |
1104 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
1105 | ||
1106 | * frame.h (skip_tailcall_frames): New. | |
1107 | * frame.c (skip_tailcall_frames): New. | |
1108 | (frame_pop): Call skip_tailcall_frames. | |
1109 | * infcmd.c (finish_command): Call skip_tailcall_frames. | |
1110 | ||
e352bf0a PA |
1111 | 2016-02-11 Pedro Alves <palves@redhat.com> |
1112 | ||
1113 | * Makefile.in (check-parallel): New rule. | |
1114 | ||
bec2ab5a SM |
1115 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
1116 | ||
1117 | * arm-tdep.c (arm_skip_prologue): Remove unused variables. | |
1118 | (arm_analyze_prologue): Likewise. | |
1119 | (arm_scan_prologue): Likewise. | |
1120 | (arm_m_exception_prev_register): Likewise. | |
1121 | (arm_copy_block_xfer): Likewise. | |
1122 | (thumb2_copy_block_xfer): Likewise. | |
1123 | (arm_decode_miscellaneous): Likewise. | |
1124 | (arm_decode_ld_st_word_ubyte): Likewise. | |
1125 | (arm_decode_svc_copro): Likewise. | |
1126 | (thumb2_decode_svc_copro): Likewise. | |
1127 | (thumb_copy_16bit_ldr_literal): Likewise. | |
1128 | (thumb_copy_pop_pc_16bit): Likewise. | |
1129 | (decode_thumb_32bit_ld_mem_hints): Likewise. | |
1130 | (arm_show_force_mode): Likewise. | |
1131 | (_initialize_arm_tdep): Likewise. | |
1132 | (arm_record_strx): Likewise. | |
1133 | (arm_record_extension_space): Likewise. | |
1134 | (arm_record_data_proc_misc_ld_str): Likewise. | |
1135 | (arm_record_exreg_ld_st_insn): Likewise. | |
1136 | (arm_record_vfp_data_proc_insn): Likewise. | |
1137 | (arm_record_coproc_data_proc): Likewise. | |
1138 | (thumb_record_misc): Likewise. | |
1139 | (thumb_record_ldm_stm_swi): Likewise. | |
1140 | (thumb2_record_ld_st_dual_ex_tbb): Likewise. | |
1141 | (thumb2_record_ld_mem_hints): Likewise. | |
1142 | (thumb2_record_lmul_lmla_div): Likewise. | |
1143 | (thumb2_record_asimd_struct_ld_st): Likewise. | |
1144 | (arm_process_record): Likewise. | |
1145 | ||
2ba163c8 SM |
1146 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
1147 | ||
1148 | * arm-tdep.c (arm_displaced_step_copy_insn): Remove. | |
1149 | (ARM displaced stepping support): Remove reference to | |
1150 | arm_displaced_step_copy_insn in comment. | |
1151 | * arm-tdep.h (arm_displaced_step_copy_insn): Remove. | |
1152 | * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove | |
1153 | reference to arm_displaced_step_copy_insn in comment. | |
1154 | ||
615234c1 SM |
1155 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
1156 | ||
1157 | * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn. | |
1158 | (thumb_copy_b): Likewise. | |
1159 | (arm_decode_b_bl_ldmstm): Likewise. | |
1160 | (thumb_copy_16bit_ldr_literal): Likewise. | |
1161 | (thumb_copy_pop_pc_16bit): Likewise. | |
1162 | ||
82e9becd AT |
1163 | 2016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com> |
1164 | ||
1165 | * tracepoint.c (encode_actions_1): Use target_gdbarch () rather | |
1166 | than loc->gdbarch. | |
1167 | ||
5ac87a99 MK |
1168 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1169 | ||
1170 | * tracefile-tfile.c (trace_tdesc): New static variable. | |
1171 | (tfile_open): Clear trace_tdesc, call target_find_description. | |
1172 | (tfile_interp_line): Recognize tdesc lines. | |
1173 | (tfile_close): Clear trace_tdesc. | |
1174 | (tfile_xfer_partial_features): New function. | |
1175 | (tfile_xfer_partial): Call tfile_xfer_partial_features. | |
1176 | (tfile_append_tdesc_line): New function. | |
1177 | ||
18d3cec5 MK |
1178 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1179 | ||
1180 | * ctf.c (ctf_write_tdesc): New function. | |
1181 | (ctf_write_ops): Wire in ctf_write_tdesc. | |
1182 | * tracefile-tfile.c (tfile_write_tdesc): New function. | |
1183 | (tfile_write_ops): Wire in tfile_write_tdesc. | |
1184 | * tracefile.c (trace_save): Call write_tdesc method. | |
1185 | * tracefile.h (struct trace_file_write_ops): Add write_tdesc method. | |
1186 | * xml-tdesc.c (target_fetch_description_xml): New function. | |
1187 | * xml-tdesc.h: Add target_fetch_description_xml prototype. | |
1188 | ||
550dc4e2 SM |
1189 | 2016-02-10 Simon Marchi <simon.marchi@ericsson.com> |
1190 | ||
1191 | * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo. | |
1192 | (arm_decode_dp_misc): Likewise. | |
1193 | ||
62e5fd57 MK |
1194 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1195 | ||
1196 | * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function. | |
1197 | (amd64_init_abi): Fill ax_pseudo_register_collect hook. | |
1198 | * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove | |
1199 | misleading comment. | |
1200 | (i386_pseudo_register_write): Ditto. | |
1201 | (i386_ax_pseudo_register_collect): New function. | |
1202 | (i386_gdbarch_init): Fill ax_pseudo_register_collect hook. | |
1203 | * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype. | |
1204 | ||
e909d859 MK |
1205 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1206 | ||
1207 | * tracefile-tfile.c (tfile_fetch_registers): Use g packet order | |
1208 | instead of gdb order. | |
1209 | ||
473b99e5 MK |
1210 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1211 | ||
1212 | * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds | |
1213 | check. | |
1214 | ||
1233c0ba JB |
1215 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
1216 | ||
1217 | * NEWS: Create a new section for the next release branch. | |
1218 | Rename the section of the current branch, now that it has | |
1219 | been cut. | |
1220 | ||
d1dc0942 JB |
1221 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
1222 | ||
1223 | GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a): | |
1224 | * version.in: Bump version to 7.11.50.DATE-git. | |
1225 | ||
9ef9e6a6 KS |
1226 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1227 | ||
1228 | PR breakpoints/19546 | |
1229 | * breakpoint.c (breakpoint_event_location_empty_p): New function. | |
1230 | (update_breakpoints_after_exec, bkpt_re_set): Use this new function | |
1231 | instead of event_location_empty_p. | |
1232 | ||
39a67dc4 KS |
1233 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1234 | ||
1235 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use | |
1236 | string_to_event_location_basic instead of string_to_event_location. | |
1237 | ||
a96e36da KS |
1238 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1239 | ||
1240 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip | |
1241 | leading whitespace and use string_to_event_location_basic instead | |
1242 | of new_linespec_location. | |
1243 | ||
9f61929f KS |
1244 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1245 | ||
1246 | PR python/19506 | |
1247 | * python/py-breakpoint.c (bppy_init): Use | |
1248 | string_to_event_location_basic instead of new_linespec_location. | |
1249 | ||
eeb1af43 KS |
1250 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1251 | ||
1252 | * location.c (string_to_explicit_location): Note that "-p" is | |
1253 | reserved for probe locations and return NULL for any input | |
1254 | that starts with that. | |
1255 | (string_to_event_location): Move "legacy" linespec code to ... | |
1256 | (string_to_event_location_basic): ... here. | |
1257 | * location.h (string_to_event_location): Update comment. | |
1258 | (string_to_event_location_basic): New function. | |
1259 | ||
1e94266c SM |
1260 | 2016-02-09 Simon Marchi <simon.marchi@ericsson.com> |
1261 | ||
1262 | * configure.ac: Use AC_CONFIG_FILES instead of passing arguments | |
1263 | to AC_OUTPUT. Remove "exit 0" at the end. | |
1264 | * configure: Regenerate. | |
1265 | ||
2a7f3dff PA |
1266 | 2016-02-09 Pedro Alves <palves@redhat.com> |
1267 | ||
1268 | PR breakpoints/19548 | |
1269 | * breakpoint.c (create_overlay_event_breakpoint): Don't update | |
1270 | global location list here. | |
1271 | (create_longjmp_master_breakpoint) | |
1272 | (create_std_terminate_master_breakpoint) | |
1273 | (create_exception_master_breakpoint, create_jit_event_breakpoint) | |
1274 | (update_breakpoint_locations): | |
1275 | (breakpoint_re_set): Update global location list after all | |
1276 | breakpoints are re-set. | |
1277 | ||
54887903 SM |
1278 | 2016-02-08 Simon Marchi <simon.marchi@ericsson.com> |
1279 | ||
1280 | * remote.c (remote_register_number_and_offset): Remove unused | |
1281 | variable(s). | |
1282 | (remote_thread_always_alive): Likewise. | |
1283 | (remote_update_thread_list): Likewise. | |
1284 | (process_initial_stop_replies): Likewise. | |
1285 | (remote_start_remote): Likewise. | |
1286 | (remote_check_symbols): Likewise. | |
1287 | (discard_pending_stop_replies): Likewise. | |
1288 | (process_stop_reply): Likewise. | |
1289 | (putpkt_binary): Likewise. | |
1290 | (getpkt): Likewise. | |
1291 | (remote_add_target_side_condition): Likewise. | |
1292 | (remote_insert_breakpoint): Likewise. | |
1293 | (remote_supports_stopped_by_sw_breakpoint): Likewise. | |
1294 | (remote_supports_stopped_by_hw_breakpoint): Likewise. | |
1295 | (remote_xfer_partial): Likewise. | |
1296 | (remote_read_btrace): Likewise. | |
1297 | (remote_async_serial_handler): Likewise. | |
1298 | (remote_thread_events): Likewise. | |
1299 | (_initialize_remote): Likewise. | |
1300 | ||
30914ca8 SM |
1301 | 2016-02-07 Simon Marchi <simon.marchi@polymtl.ca> |
1302 | ||
1303 | * varobj.h (varobj_delete): Remove dellist parameter, update and | |
1304 | move documentation here. | |
1305 | * varobj.c (struct cpstack, cppush, cppop): Remove. | |
1306 | (delete_variable): Remove resultp (first) parameter. | |
1307 | (delete_variable_1): Likewise. | |
1308 | (varobj_delete): Remove dellist parameter and unused code. | |
1309 | (update_dynamic_varobj_children): Adjust varobj_delete call. | |
1310 | (update_type_if_necessary): Likewise. | |
1311 | (varobj_set_visualizer): Likewise. | |
1312 | (varobj_update): Likewise. | |
1313 | (value_of_root): Likewise. | |
1314 | (varobj_invalidate_iter): Likewise. | |
1315 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise. | |
1316 | ||
e42e5352 YQ |
1317 | 2016-02-04 Yao Qi <yao.qi@linaro.org> |
1318 | ||
1319 | * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to | |
1320 | 0 before handling 'F' and set it back afterwards. | |
1321 | ||
6456a18b SM |
1322 | 2016-02-02 Simon Marchi <simon.marchi@ericsson.com> |
1323 | ||
1324 | * ui-out.c (MAX_UI_OUT_LEVELS): Remove. | |
1325 | ||
3f2f6cb5 WT |
1326 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1327 | ||
1328 | * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): | |
1329 | New types. | |
1330 | (compat_siginfo): New bound fields added. | |
1331 | (compat_x32_siginfo): New field added. | |
1332 | (cpt_si_addr_lsb): New define. | |
1333 | (compat_siginfo_from_siginfo): Use nat_siginfo. | |
1334 | (siginfo_from_compat_siginfo): Use nat_siginfo. | |
1335 | (compat_x32_siginfo_from_siginfo): Likewise. | |
1336 | (siginfo_from_compat_x32_siginfo): Likewise. | |
1337 | ||
96b5c49f WT |
1338 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1339 | ||
1340 | * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd | |
1341 | structure to the siginfo if extra_fields contains | |
1342 | LINUX_SIGINFO_FIELD_ADDR_BND. | |
1343 | ||
190b495d WT |
1344 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1345 | ||
1346 | * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. | |
1347 | * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. | |
1348 | * i386-linux-tdep.h (x86_linux_get_siginfo_type): New | |
1349 | function. | |
1350 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add | |
1351 | x86_linux_get_siginfo_type for the amd64 abi. | |
1352 | * i386-linux-tdep.c (x86_linux_get_siginfo_type): New | |
1353 | function. | |
1354 | (i386_linux_init_abi): Add new function at the i386 ABI | |
1355 | initialization. | |
1356 | ||
43564574 WT |
1357 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1358 | ||
1359 | * linux-tdep.h (linux_siginfo_extra_field_values): New enum values. | |
1360 | (linux_siginfo_extra_fields): New enum type. | |
1361 | * linux-tdep.c (linux_get_siginfo_type_with_fields): New function. | |
1362 | (linux_get_siginfo_type): Use new function. | |
1363 | ||
93813b37 WT |
1364 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1365 | ||
1366 | * nat/amd64-linux-siginfo.c: New file. | |
1367 | * nat/amd64-linux-siginfo.h: New file. | |
1368 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. | |
1369 | (amd64-linux-siginfo.o): New rule. | |
1370 | * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. | |
1371 | * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. | |
1372 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
1373 | (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) | |
1374 | (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) | |
1375 | (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) | |
1376 | (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) | |
1377 | (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. | |
1378 | ||
5fdf6324 AB |
1379 | 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
1380 | ||
1381 | * value.c (max_value_size): New variable. | |
1382 | (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define. | |
1383 | (set_max_value_size): New function. | |
1384 | (show_max_value_size): New function. | |
1385 | (check_type_length_before_alloc): New function. | |
1386 | (allocate_value_contents): Call check_type_length_before_alloc. | |
1387 | (set_value_enclosing_type): Likewise. | |
1388 | (_initialize_values): Add set/show handler for max-value-size. | |
1389 | * NEWS: Mention new set/show command. | |
1390 | ||
5fa13070 SM |
1391 | 2016-01-31 Simon Marchi <simon.marchi@polymtl.ca> |
1392 | ||
1393 | * varobj.h (struct varobj): Fix typos in comments. | |
1394 | (struct lang_varobj_ops): Likewise. | |
1395 | * varobj.c (VAROBJ_TABLE_SIZE): Likewise. | |
1396 | (varobj_create): Move misplaced comment. | |
1397 | ||
a2e3e93f SM |
1398 | 2016-01-29 Simon Marchi <simon.marchi@ericsson.com> |
1399 | ||
1400 | * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces | |
1401 | to for include additional lines. | |
1402 | * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces. | |
1403 | ||
56e374a6 SM |
1404 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
1405 | ||
1406 | * gnulib/import/Makefile.am: Regenerate. | |
1407 | * gnulib/import/Makefile.in: Regenerate. | |
1408 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
1409 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr. | |
1410 | ||
8424cc97 SM |
1411 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
1412 | ||
1413 | * remote.c (skip_to_semicolon): Remove. | |
1414 | (remote_parse_stop_reply): Use strchrnul instead of | |
1415 | skip_to_semicolon. | |
1416 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1417 | strchrnul. | |
1418 | * gnulib/aclocal.m4: Regenerate. | |
1419 | * gnulib/config.in: Regenerate. | |
1420 | * gnulib/configure: Regenerate. | |
1421 | * gnulib/import/Makefile.am: Regenerate. | |
1422 | * gnulib/import/Makefile.in: Regenerate. | |
1423 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
1424 | * gnulib/import/m4/gnulib-comp.m4: Regenerate. | |
1425 | * gnulib/import/m4/rawmemchr.m4: New file. | |
1426 | * gnulib/import/m4/strchrnul.m4: New file. | |
1427 | * gnulib/import/rawmemchr.c: New file. | |
1428 | * gnulib/import/rawmemchr.valgrind: New file. | |
1429 | * gnulib/import/strchrnul.c: New file. | |
1430 | * gnulib/import/strchrnul.valgrind: New file. | |
1431 | ||
4a6a1ed4 YQ |
1432 | 2016-01-28 Yao Qi <yao.qi@linaro.org> |
1433 | ||
1434 | * breakpoint.c (build_target_command_list): Don't call continue | |
1435 | if aexpr is NULL. | |
1436 | (build_target_condition_list): Likewise. | |
1437 | ||
94715c17 KB |
1438 | 2016-01-27 Kevin Buettner <kevinb@redhat.com> |
1439 | ||
1440 | * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 | |
1441 | bytes as aggregates. | |
1442 | ||
c07af0ab JB |
1443 | 2016-01-27 Joel Brobecker <brobecker@adacore.com> |
1444 | ||
1445 | * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as | |
1446 | Linespec Maintainers. | |
1447 | ||
41548caa SM |
1448 | 2016-01-26 Simon Marchi <simon.marchi@ericsson.com> |
1449 | ||
1450 | * common/common-utils.c (skip_spaces): Fix comment. | |
1451 | (skip_to_space_const): Likewise. | |
1452 | ||
4d18591b YQ |
1453 | 2016-01-25 Yao Qi <yao.qi@linaro.org> |
1454 | ||
1455 | * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): | |
1456 | Remove argument pc. Get pc by regcache_read_pc. Callers updated. | |
1457 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
1458 | (thumb_get_next_pcs_raw): Likewise. | |
1459 | (arm_get_next_pcs_raw): Likewise. | |
1460 | (arm_get_next_pcs): Remove argument pc. Callers updated. | |
1461 | * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. | |
1462 | ||
a579cd9a MW |
1463 | 2016-01-25 Mark Wielaard <mjw@redhat.com> |
1464 | ||
1465 | * ada-lang.c (ada_evaluate_subexp): Add proper else block. | |
1466 | * c-typeprint.c (c_type_print_base): Fix misleading indentation of | |
1467 | if statement. | |
1468 | * inflow.c (child_terminal_ours_1): Fix misleading indentation of | |
1469 | statement block by introducing an else. | |
1470 | * linux-record.c (record_linux_sockaddr): Fix misleading indentation | |
1471 | of return statements. | |
1472 | (record_linux_msghdr): Likewise. | |
1473 | ||
a2077e25 PA |
1474 | 2016-01-25 Pedro Alves <palves@redhat.com> |
1475 | ||
1476 | PR threads/19461 | |
1477 | * infrun.c (handle_inferior_event_1) <fork/vfork>: Update | |
1478 | parent/child running states. | |
1479 | ||
1d2736d4 PA |
1480 | 2016-01-25 Pedro Alves <palves@redhat.com> |
1481 | ||
1482 | PR gdb/19494 | |
1483 | * linux-nat.c (kill_one_lwp): New, factored out from ... | |
1484 | (kill_callback): ... this. | |
1485 | (kill_wait_callback): New, factored out from ... | |
1486 | (kill_wait_one_lwp): ... this. | |
1487 | (kill_unfollowed_fork_children): New function. | |
1488 | (linux_nat_kill): Use it. | |
1489 | ||
b2bae2f7 JB |
1490 | 2016-01-22 John Baldwin <jhb@FreeBSD.org> |
1491 | ||
1492 | * fbsd-nat.c (fbsd_pid_to_str): Adjust string format. | |
1493 | ||
d86feca3 YQ |
1494 | 2016-01-22 Yao Qi <yao.qi@linaro.org> |
1495 | ||
1496 | * arm-linux-nat.c (fetch_fpregs): Call perror_with_name | |
1497 | instead of warning. | |
1498 | (store_fpregs, fetch_regs, store_regs): Likewise. | |
1499 | (fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
1500 | (fetch_vfp_regs, store_vfp_regs): Likewise. | |
1501 | ||
b35a8b2f DE |
1502 | 2016-01-21 Doug Evans <dje@google.com> |
1503 | ||
1504 | * breakpoint.c (init_breakpoint_sal): Add comment. | |
1505 | ||
f906b857 MK |
1506 | 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net> |
1507 | ||
1508 | * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection. | |
1509 | ||
4a099de2 AB |
1510 | 2016-01-21 Andrew Burgess <andrew.burgess@embecosm.com> |
1511 | ||
1512 | * disasm.c (maybe_add_dis_line_entry): Rename to... | |
1513 | (add_dis_line_entry): ...this, and update header comment. | |
1514 | (do_mixed_source_and_assembly): Now use add_dis_line_entry. | |
1515 | ||
a994041d PA |
1516 | 2016-01-21 Pedro Alves <palves@redhat.com> |
1517 | ||
1518 | * Makefile.in (COMPILER_CFLAGS): New. | |
1519 | (CXXFLAGS): Get it from configure. | |
1520 | (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS | |
1521 | instead of CFLAGS. | |
1522 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST | |
1523 | COMPILER_CFLAGS. | |
1524 | * configure: Regenerate. | |
1525 | ||
305e13e6 JB |
1526 | 2016-01-21 Joel Brobecker <brobecker@adacore.com> |
1527 | ||
1528 | * location.h (new_address_location): Add new parameters | |
1529 | "addr_string" and "addr_string_len". | |
1530 | (get_address_string_location): Add declaration. | |
1531 | * location.c (new_address_location): Add new parameters | |
1532 | "addr_string" and "addr_string_len". If not NULL, store | |
1533 | a copy of the addr_string in the new location as well. | |
1534 | (get_address_string_location): New function. | |
1535 | (string_to_event_location): Update call to new_address_location. | |
1536 | * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>: | |
1537 | Save the event location in the parser's state before | |
1538 | passing it to convert_address_location_to_sals. | |
1539 | * breakpoint.c (create_thread_event_breakpoint): Update call | |
1540 | to new_address_location. | |
1541 | (init_breakpoint_sal): Get the event location's string, if any, | |
1542 | and use it to update call to new_address_location. | |
1543 | * python/py-finishbreakpoint.c (bpfinishpy_init): | |
1544 | Update call to new_address_location. | |
1545 | * spu-tdep.c (spu_catch_start): Likewise. | |
1546 | ||
1547 | * config/djgpp/fnchange.lst: Add entries for | |
1548 | gdb/testsuite/gdb.base/break-fun-addr1.c and | |
1549 | gdb/testsuite/gdb.base/break-fun-addr2.c. | |
1550 | ||
f7a6a40d YQ |
1551 | 2016-01-21 Yao Qi <yao.qi@linaro.org> |
1552 | ||
1553 | * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter | |
1554 | is_thumb and set it according to CPSR saved on the stack. | |
1555 | (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to | |
1556 | arm_linux_sigreturn_next_pc. | |
1557 | ||
5f5dfff6 SM |
1558 | 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
1559 | ||
1560 | * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__): | |
1561 | Fix enumerators sort key function. | |
1562 | ||
be56871e JB |
1563 | 2016-01-20 Joel Brobecker <brobecker@adacore.com> |
1564 | ||
b12e5614 | 1565 | * printcmd.c (print_scalar_formatted): Move binary operator from |
be56871e JB |
1566 | end of line to beginning of next line. Adjust formatting |
1567 | accordingly. | |
1568 | ||
f2feec98 JB |
1569 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1570 | ||
1571 | * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of | |
1572 | "len" with sysctl. | |
1573 | ||
20a0aab3 JB |
1574 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1575 | ||
1576 | * fbsd-tdep.c (find_stop_signal): Remove. | |
1577 | (struct fbsd_collect_regset_section_cb) <lwp>: New field. | |
1578 | <stop_signal>: New field. | |
1579 | <abort_iteration>: New field. | |
1580 | (fbsd_collect_regset_section_cb): Use new fields. | |
1581 | (fbsd_collect_thread_registers): New function. | |
1582 | (struct fbsd_corefile_thread_data): New structure. | |
1583 | (fbsd_corefile_thread): New function. | |
1584 | (fbsd_make_corefile_notes): Use new function to dump notes for each | |
1585 | non-exited thread in a process. | |
1586 | ||
6e9567fe JB |
1587 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1588 | ||
1589 | * configure.ac: Check for support for LWP names on FreeBSD. | |
1590 | * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp. | |
1591 | [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] | |
1592 | (fbsd_fetch_kinfo_proc): Move function earlier. | |
1593 | [PT_LWPINFO] (fbsd_thread_alive): New function. | |
1594 | [PT_LWPINFO] (fbsd_pid_to_str): New function. | |
1595 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function. | |
1596 | [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function. | |
1597 | [PT_LWPINFO] (fbsd_add_threads): New function. | |
1598 | [PT_LWPINFO] (fbsd_update_thread_list): New function. | |
1599 | [PT_LWPINFO] New variable super_resume. | |
1600 | [PT_LWPINFO] (resume_one_thread_cb): New function. | |
1601 | [PT_LWPINFO] (resume_all_threads_cb): New function. | |
1602 | [PT_LWPINFO] (fbsd_resume): New function. | |
1603 | (fbsd_remember_child): Save full ptid instead of plain pid. | |
1604 | (fbsd_is_child_pending): Return ptid of saved child process. | |
1605 | (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on | |
1606 | first stop. | |
1607 | [PT_LWP_EVENTS] Handle LWP events. | |
1608 | [TDP_RFPPWAIT] Include LWP in child ptid. | |
1609 | (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events. | |
1610 | (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events. | |
1611 | Add threads for existing processes. | |
1612 | (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to | |
1613 | "fbsd_thread_alive". | |
1614 | Set "to_pid_to_str" to "fbsd_pid_to_str". | |
1615 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to | |
1616 | "fbsd_thread_name". | |
1617 | [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list". | |
1618 | Set "to_has_thread_control" to "tc_schedlock". | |
1619 | Set "to_resume" to "fbsd_resume". | |
1620 | (_initialize_fbsd_nat): New function. | |
1621 | * configure: Regenerate. | |
1622 | * config.in: Regenerate. | |
1623 | ||
94309df7 JB |
1624 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1625 | ||
1626 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use | |
1627 | get_ptrace_pid. | |
1628 | (amd64bsd_store_inferior_registers): Use get_ptrace_pid. | |
1629 | (amd64bsd_dr_get): Use get_ptrace_pid. | |
1630 | (amd64bsd_dr_set): Use get_ptrace_pid. | |
1631 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid. | |
1632 | (i386bsd_store_inferior_registers): Use get_ptrace_pid. | |
1633 | (i386bsd_dr_get): Use get_ptrace_pid. | |
1634 | (i386bsd_dr_set): Use get_ptrace_pid. | |
1635 | * inf-ptrace.c (get_ptrace_pid): Export. | |
1636 | * inf-ptrace.h (get_ptrace_pid): Declare. | |
1637 | * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id. | |
1638 | (ppcfbsd_store_inferior_registers): Use lwp id. | |
1639 | ||
79117428 JB |
1640 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1641 | ||
1642 | * fbsd_tdep.c (fbsd_core_pid_to_str): New function. | |
1643 | (fbsd_core_thread_name): New function. | |
1644 | (fbsd_init_abi): Add "core_pid_to_str" gdbarch method. | |
1645 | Add "core_thread_name" gdbarch method. | |
1646 | ||
4dfc5dbc JB |
1647 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1648 | ||
1649 | * corelow.c (core_thread_name): New function. | |
1650 | (init_core_ops): Use "core_thread_name" for the "to_thread_name" | |
1651 | target op. | |
1652 | * gdbarch.sh (core_thread_name): New gdbarch callback. | |
1653 | * gdbarch.h: Re-generate. | |
1654 | * gdbarch.c: Re-generate. | |
1655 | ||
10e3ed90 SM |
1656 | 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca> |
1657 | ||
1658 | * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly | |
1659 | convert gdb.Value to integer type using int(). | |
1660 | ||
a6e69c1f JB |
1661 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1662 | ||
1663 | * configure.ac: Include <sys/types.h when checking for "r_fs" in | |
1664 | "struct reg". | |
1665 | * configure: Regenerate. | |
1666 | ||
37e42b4f PA |
1667 | 2016-01-19 Pedro Alves <palves@redhat.com> |
1668 | ||
1669 | * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. | |
1670 | * break-catch-throw.c (re_set_exception_catchpoint): Pass the | |
1671 | current program space down to linespec decoding and breakpoint | |
1672 | location updating. | |
1673 | * breakpoint.c (parse_breakpoint_sals): Adjust calls to | |
1674 | decode_line_full. | |
1675 | (until_break_command): Adjust calls to decode_line_1. | |
1676 | (base_breakpoint_decode_location, bkpt_decode_location): Add | |
1677 | 'search_pspace' parameter. Pass it along. | |
1678 | (bkpt_probe_create_sals_from_location): Adjust calls to | |
1679 | parse_probes. | |
1680 | (tracepoint_decode_location, tracepoint_probe_decode_location) | |
1681 | (strace_marker_decode_location): Add 'search_pspace' parameter. | |
1682 | Pass it along. | |
1683 | (all_locations_are_pending): Rewrite to take a breakpoint and | |
1684 | program space as arguments instead. | |
1685 | (hoist_existing_locations): New function. | |
1686 | (update_breakpoint_locations): Add 'filter_pspace' parameter. Use | |
1687 | hoist_existing_locations instead of always removing all locations, | |
1688 | and adjust to all_locations_are_pending change. | |
1689 | (location_to_sals): Add 'search_pspace' parameter. Pass it along. | |
1690 | Don't disable the breakpoint if there are other locations in | |
1691 | another program space. | |
1692 | (breakpoint_re_set_default): Adjust to pass down the current | |
1693 | program space as filter program space. | |
1694 | (decode_location_default): Add 'search_pspace' parameter and pass | |
1695 | it along. | |
1696 | (prepare_re_set_context): Don't switch program space here. | |
1697 | (breakpoint_re_set): Use save_current_space_and_thread instead of | |
1698 | save_current_program_space. | |
1699 | * breakpoint.h (struct breakpoint_ops) <decode_location>: Add | |
1700 | 'search_pspace' parameter. | |
1701 | (update_breakpoint_locations): Add 'filter_pspace' parameter. | |
1702 | * cli/cli-cmds.c (edit_command, list_command): Adjust calls to | |
1703 | decode_line_1. | |
1704 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current | |
1705 | program space as filter program space. | |
1706 | * linespec.c (struct linespec_state) <search_pspace>: New field. | |
1707 | (create_sals_line_offset, convert_explicit_location_to_sals) | |
1708 | (parse_linespec): Pass the search program space down. | |
1709 | (linespec_state_constructor): Add 'search_pspace' parameter. | |
1710 | Store it. | |
1711 | (linespec_parser_new): Add 'search_pspace' parameter and pass it | |
1712 | along. | |
1713 | (linespec_lex_to_end): Adjust. | |
1714 | (decode_line_full, decode_line_1): Add 'search_pspace' parameter | |
1715 | and pass it along. | |
1716 | (decode_line_with_last_displayed): Adjust. | |
1717 | (collect_symtabs_from_filename, symtabs_from_filename): New | |
1718 | 'search_pspace' parameter. Use it. | |
1719 | (find_function_symbols): Pass the search program space down. | |
1720 | * linespec.h (decode_line_1, decode_line_full): Add | |
1721 | 'search_pspace' parameter. | |
1722 | * probe.c (parse_probes_in_pspace): New function, factored out | |
1723 | from ... | |
1724 | (parse_probes): ... this. Add 'search_pspace' parameter and use | |
1725 | it. | |
1726 | * probe.h (parse_probes): Add pspace' parameter. | |
1727 | * python/python.c (gdbpy_decode_line): Adjust. | |
1728 | * tracepoint.c (scope_info): Adjust. | |
1729 | ||
100b4f2e MR |
1730 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
1731 | ||
1732 | * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS | |
1733 | instruction support. | |
1734 | (micromips_next_pc): Likewise. | |
1735 | (micromips_scan_prologue): Likewise. | |
1736 | (micromips_deal_with_atomic_sequence): Likewise. | |
1737 | (micromips_stack_frame_destroyed_p): Likewise. | |
1738 | (mips_breakpoint_from_pc): Likewise. | |
1739 | ||
3f7f3650 MR |
1740 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
1741 | ||
1742 | * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass | |
1743 | unshifted 16-bit microMIPS instruction word to `mips_insn_size'. | |
1744 | ||
f303dbd6 PA |
1745 | 2016-01-18 Pedro Alves <palves@redhat.com> |
1746 | ||
1747 | * NEWS: Mention that GDB now displays the ID and name of the | |
1748 | thread that hit a breakpoint or received a signal. | |
1749 | * break-catch-sig.c (signal_catchpoint_print_it): Use | |
1750 | maybe_print_thread_hit_breakpoint. | |
1751 | * break-catch-syscall.c (print_it_catch_syscall): Likewise. | |
1752 | * break-catch-throw.c (print_it_exception_catchpoint): Likewise. | |
1753 | * breakpoint.c (maybe_print_thread_hit_breakpoint): New function. | |
1754 | (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib) | |
1755 | (print_it_catch_exec, print_it_ranged_breakpoint) | |
1756 | (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it): | |
1757 | Use maybe_print_thread_hit_breakpoint. | |
1758 | * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare. | |
1759 | * gdbthread.h (show_thread_that_caused_stop): Declare. | |
1760 | * infrun.c (print_signal_received_reason): Print which thread | |
1761 | received signal. | |
1762 | * thread.c (show_thread_that_caused_stop): New function. | |
1763 | ||
eb0edac8 GB |
1764 | 2016-01-18 Gary Benson <gbenson@redhat.com> |
1765 | ||
1766 | * nat/linux-namespaces.c (do_fork): New function. | |
1767 | (linux_mntns_get_helper): Use the above. | |
1768 | ||
dc365182 JH |
1769 | 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change) |
1770 | ||
1771 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
1772 | PR gdb/19208 | |
1773 | * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name | |
1774 | if the function has no name. | |
1775 | ||
f74f61cb SL |
1776 | 2016-01-15 Sandra Loosemore <sandra@codesourcery.com> |
1777 | ||
1778 | * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET): | |
1779 | Conditionalize for Windows host. | |
1780 | (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET. | |
1781 | (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32. | |
1782 | (phony_iconv_open): Handle both UTF-32 endiannesses. | |
1783 | (phony_iconv): Likewise. Check for output overflow and clean up | |
1784 | out-of-input cases. Correct adjustment to input buffer pointer. | |
1785 | (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match | |
1786 | phony_iconv_open. | |
1787 | ||
71ef29a8 PA |
1788 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1789 | ||
1790 | * NEWS: Mention star wildcard ranges. | |
1791 | * cli/cli-utils.c (get_number_or_range): Check state->in_range first. | |
1792 | (number_range_setup_range): New function. | |
1793 | * cli/cli-utils.h (number_range_setup_range): New declaration. | |
1794 | * thread.c (thread_apply_command): Support star TID ranges. | |
1795 | * tid-parse.c (tid_range_parser_finished) | |
1796 | (tid_range_parser_string, tid_range_parser_skip) | |
1797 | (get_tid_or_range, get_tid_or_range): Handle | |
1798 | TID_RANGE_STATE_STAR_RANGE. | |
1799 | (tid_range_parser_star_range): New function. | |
1800 | * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>: | |
1801 | New value. | |
1802 | (tid_range_parser_star_range): New declaration. | |
1803 | ||
3f5b7598 PA |
1804 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1805 | ||
1806 | * thread.c (thread_apply_command): Use the tid range parser to | |
1807 | advance past the thread ID list. | |
1808 | * tid-parse.c (get_positive_number_trailer): New function. | |
1809 | (parse_thread_id): Use it. | |
1810 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
1811 | thread ID error. | |
1812 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
1813 | throwing invalid thread ID error. | |
1814 | ||
e7cf25a8 YQ |
1815 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1816 | ||
1817 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
1818 | Declare. | |
1819 | (arm_linux_get_next_pcs_ops): Install | |
1820 | arm_linux_get_next_pcs_syscall_next_pc. | |
1821 | (arm_linux_syscall_next_pc): Change to ... | |
1822 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
1823 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
1824 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
1825 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
1826 | call tdep->syscall_next_pc. | |
1827 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
1828 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
1829 | ||
c0518081 YQ |
1830 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1831 | ||
1832 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
1833 | * thread.c (do_captured_thread_select): Cast to const char *. | |
1834 | ||
1b451dda YQ |
1835 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1836 | ||
1837 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
1838 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
1839 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
1840 | instead. | |
1841 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
1842 | <arm_thumb2_breakpoint>: Remove. | |
1843 | <has_thumb2_breakpoint>: New field. | |
1844 | (arm_get_next_pcs_ctor): Update declaration. | |
1845 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
1846 | 1 to arm_get_next_pcs_ctor. | |
1847 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
1848 | arm_get_next_pcs_ctor. | |
1849 | ||
bc06e0b1 UW |
1850 | 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
1851 | ||
1852 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
1853 | ||
4e7b8bea YQ |
1854 | 2016-01-13 Yao Qi <yao.qi@linaro.org> |
1855 | ||
1856 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
1857 | byte_order_for_code to read instruction. | |
1858 | ||
663f6d42 PA |
1859 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1860 | ||
1861 | * NEWS: Mention $_gthread. | |
1862 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
1863 | $_gthread. | |
1864 | * thread.c (thread_num_make_value_helper): New function. | |
1865 | (thread_id_make_value): Delete. | |
1866 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
1867 | New. | |
1868 | (thread_funcs): Adjust. | |
1869 | (gthread_funcs): New. | |
1870 | (_initialize_thread): Register $_gthread variable. | |
1871 | ||
c84f6bbf PA |
1872 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1873 | ||
1874 | * NEWS: Mention "info threads -gid". | |
1875 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
1876 | threads -gid". | |
1877 | * thread.c (info_threads_command): Handle "-gid". | |
1878 | (_initialize_thread): Adjust "info threads" help string to mention | |
1879 | -gid. | |
1880 | ||
22a02324 PA |
1881 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1882 | ||
1883 | * NEWS: Mention InferiorThread.global_num. | |
1884 | * python/py-infthread.c (thpy_get_global_num): New function. | |
1885 | (thread_object_getset): Register "global_num". | |
1886 | ||
5d5658a1 PA |
1887 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1888 | ||
1889 | * NEWS: Mention that thread IDs are now per inferior and global | |
1890 | thread IDs. | |
1891 | * Makefile.in (SFILES): Add tid-parse.c. | |
1892 | (COMMON_OBS): Add tid-parse.o. | |
1893 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
1894 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
1895 | * breakpoint.c (insert_breakpoint_locations) | |
1896 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
1897 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
1898 | (check_longjmp_breakpoint_for_call_dummy) | |
1899 | (set_momentary_breakpoint): Adjust to use global IDs. | |
1900 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
1901 | (until_break_command, longjmp_bkpt_dtor) | |
1902 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
1903 | to use global IDs. | |
1904 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
1905 | ptid_to_global_thread_id. | |
1906 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
1907 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
1908 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
1909 | (thread_id_to_pid): Rename thread_id_to_pid to | |
1910 | global_thread_id_to_ptid. | |
1911 | (pid_to_thread_id): Rename to ... | |
1912 | (ptid_to_global_thread_id): ... this. | |
1913 | (valid_thread_id): Rename to ... | |
1914 | (valid_global_thread_id): ... this. | |
1915 | (find_thread_id): Rename to ... | |
1916 | (find_thread_global_id): ... this. | |
1917 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
1918 | (print_thread_info): Add comment. | |
1919 | * tid-parse.h: New file. | |
1920 | * tid-parse.c: New file. | |
1921 | * infcmd.c (step_command_fsm_prepare) | |
1922 | (step_command_fsm_should_stop): Adjust to use the global thread | |
1923 | ID. | |
1924 | (until_next_command, until_next_command) | |
1925 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
1926 | ID. | |
1927 | (attach_post_wait): Adjust to check the inferior number too. | |
1928 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
1929 | * infrun.c (handle_signal_stop) | |
1930 | (insert_exception_resume_breakpoint) | |
1931 | (insert_exception_resume_from_probe): Adjust to use the global | |
1932 | thread ID. | |
1933 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
1934 | * remote.c (process_initial_stop_replies): Also consider the | |
1935 | inferior number. | |
1936 | * target.c (target_pre_inferior): Clear the inferior's highest | |
1937 | thread num. | |
1938 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
1939 | global thread ID. | |
1940 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
1941 | the thread's global ID and the thread's per-inferior ID. | |
1942 | (add_thread_silent): Adjust. | |
1943 | (find_thread_global_id): New. | |
1944 | (find_thread_id): Make static. Adjust to rename. | |
1945 | (valid_thread_id): Rename to ... | |
1946 | (valid_global_thread_id): ... this. | |
1947 | (pid_to_thread_id): Rename to ... | |
1948 | (ptid_to_global_thread_id): ... this. | |
1949 | (thread_id_to_pid): Rename to ... | |
1950 | (global_thread_id_to_ptid): ... this. Adjust. | |
1951 | (first_thread_of_process): Adjust. | |
1952 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
1953 | (should_print_thread): New function. | |
1954 | (print_thread_info): Rename to ... | |
1955 | (print_thread_info_1): ... this, and add new show_global_ids | |
1956 | parameter. Handle it. Iterate over inferiors. | |
1957 | (print_thread_info): Reimplement as wrapper around | |
1958 | print_thread_info_1. | |
1959 | (show_inferior_qualified_tids): New function. | |
1960 | (print_thread_id): Use it. | |
1961 | (tp_array_compar): Compare inferior numbers too. | |
1962 | (thread_apply_command): Use tid_range_parser. | |
1963 | (do_captured_thread_select): Use parse_thread_id. | |
1964 | (thread_id_make_value): Adjust. | |
1965 | (_initialize_thread): Adjust "info threads" help string. | |
1966 | * varobj.c (struct varobj_root): Update comment. | |
1967 | (varobj_create): Adjust to use global thread IDs. | |
1968 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
1969 | * windows-tdep.c (display_tib): No longer accept an argument. | |
1970 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
1971 | * cli/cli-utils.h (get_number_trailer): Declare. | |
1972 | (get_number_const): Adjust documentation. | |
1973 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
1974 | thread IDs. | |
1975 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
1976 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
1977 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
1978 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
1979 | Likewise. | |
1980 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
1981 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
1982 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
1983 | per-inferior thread ID. | |
1984 | (thread_object_getset): Update comment of "num". | |
1985 | ||
43792cf0 PA |
1986 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1987 | ||
1988 | * breakpoint.c (remove_threaded_breakpoints) | |
1989 | (print_one_breakpoint_location): Use print_thread_id. | |
1990 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
1991 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
1992 | * common/print-utils.c (CELLSIZE): Delete. | |
1993 | (get_cell): Rename to ... | |
1994 | (get_print_cell): ... this and made extern. Adjust call callers. | |
1995 | Adjust to use PRINT_CELL_SIZE. | |
1996 | * common/print-utils.h (get_print_cell): Declare. | |
1997 | (PRINT_CELL_SIZE): New. | |
1998 | * gdbthread.h (print_thread_id): Declare. | |
1999 | * infcmd.c (signal_command): Use print_thread_id. | |
2000 | * inferior.c (print_inferior): Use print_thread_id. | |
2001 | * infrun.c (handle_signal_stop) | |
2002 | (insert_exception_resume_breakpoint) | |
2003 | (insert_exception_resume_from_probe) | |
2004 | (print_signal_received_reason): Use print_thread_id. | |
2005 | * record-btrace.c (record_btrace_info) | |
2006 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
2007 | (record_btrace_step_thread, record_btrace_wait): Use | |
2008 | print_thread_id. | |
2009 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
2010 | (print_thread_id): New function. | |
2011 | (thread_apply_command): Use print_thread_id. | |
2012 | (thread_command, thread_find_command, do_captured_thread_select): | |
2013 | Use print_thread_id. | |
2014 | ||
84654457 PA |
2015 | 2016-01-13 Pedro Alves <palves@redhat.com> |
2016 | ||
2017 | * NEWS: Mention InferiorThread.inferior. | |
2018 | * python/py-infthread.c (thpy_get_inferior): New. | |
2019 | (thread_object_getset): Register "inferior". | |
2020 | ||
e3940304 PA |
2021 | 2016-01-13 Pedro Alves <palves@redhat.com> |
2022 | ||
2023 | * NEWS: Mention $_inferior. | |
2024 | * inferior.c (inferior_id_make_value): New. | |
2025 | (inferior_funcs): New. | |
2026 | (_initialize_inferior): Create $_inferior variable. | |
2027 | ||
a911d87a PA |
2028 | 2016-01-13 Pedro Alves <palves@redhat.com> |
2029 | ||
2030 | PR breakpoints/19388 | |
2031 | * frame.c (get_current_frame): Use validate_registers_access. | |
2032 | * gdbthread.h (validate_registers_access): Declare. | |
2033 | * infrun.c (validate_siginfo_access): Delete. | |
2034 | (siginfo_value_read, siginfo_value_write): Use | |
2035 | validate_registers_access. | |
2036 | * thread.c (validate_registers_access): New function. | |
2037 | ||
82075af2 JS |
2038 | 2016-01-12 Josh Stone <jistone@redhat.com> |
2039 | Philippe Waroquiers <philippe.waroquiers@skynet.be> | |
2040 | ||
2041 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
2042 | syscall_entry and syscall_return stop reasons. Mention GDB | |
2043 | support for remote catch syscall. | |
2044 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
2045 | (remote_set_syscall_catchpoint): New function. | |
2046 | (remote_protocol_features): New element for QCatchSyscalls. | |
2047 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
2048 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
2049 | (_initialize_remote): Config QCatchSyscalls. | |
2050 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
2051 | ||
d18547d8 YQ |
2052 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
2053 | ||
2054 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
2055 | to gdb_byte * and pass to linux_fork_to_function. | |
2056 | ||
ba4dd7c4 YQ |
2057 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
2058 | ||
2059 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
2060 | of argument 'function'. | |
2061 | (linux_grandchild_function): Change return type to 'int'. | |
2062 | Change child_stack's type to 'void *'. | |
2063 | (linux_child_function): Likewise. | |
2064 | ||
bc504a31 PA |
2065 | 2016-01-12 Pedro Alves <palves@redhat.com> |
2066 | ||
2067 | Remove use of the registered trademark symbol throughout. | |
2068 | ||
5eddd578 TS |
2069 | 2016-01-12 Thomas Schwinge <thomas@codesourcery.com> |
2070 | ||
2071 | * reply_mig_hack.awk: Rewrite one regular expression. | |
2072 | ||
b835bb52 MF |
2073 | 2016-01-11 Mike Frysinger <vapier@gentoo.org> |
2074 | ||
2075 | * acinclude.m4: Include new warning.m4 file. | |
2076 | * configure: Regenerated. | |
2077 | * configure.ac: Move all warning logic ... | |
2078 | * warning.m4: ... here. | |
2079 | ||
2f99e8fc YQ |
2080 | 2016-01-08 Yao Qi <yao.qi@linaro.org> |
2081 | ||
2082 | * extension.c: Include target.h. | |
2083 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
2084 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
2085 | returns false. | |
2086 | (restore_active_ext_lang): Likewise. | |
2087 | * target.c (target_terminal_is_ours): New function. | |
2088 | * target.h (target_terminal_is_ours): Declare. | |
2089 | ||
5dd05630 MR |
2090 | 2016-01-07 Maciej W. Rozycki <macro@imgtec.com> |
2091 | ||
2092 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
2093 | to `err' in the little-endian leg. | |
2094 | ||
f5aa3069 YQ |
2095 | 2016-01-06 Yao Qi <yao.qi@linaro.org> |
2096 | ||
2097 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
2098 | lines below. | |
2099 | (thumb_get_next_pcs_raw): Make it static. | |
2100 | (arm_get_next_pcs_raw): Likewise. | |
2101 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
2102 | declaration. | |
2103 | (arm_get_next_pcs_raw): Likewise. | |
2104 | ||
bf69ad5a MF |
2105 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
2106 | ||
2107 | * version.in: Change cvs to git. | |
2108 | ||
66750332 MF |
2109 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
2110 | ||
2111 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
2112 | ||
976102cd PA |
2113 | 2016-01-05 Pedro Alves <palves@redhat.com> |
2114 | ||
2115 | PR sim/13418 | |
2116 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
2117 | the target is powerpc*. | |
fa89c126 PA |
2118 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
2119 | of WITH_SIM. | |
976102cd PA |
2120 | * configure: Regenerate. |
2121 | * config.in: Regenerate. | |
2122 | ||
43368e1d MM |
2123 | 2016-01-04 Markus Metzger <markus.t.metzger@intel.com> |
2124 | ||
2125 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
2126 | ||
32273fe6 MF |
2127 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
2128 | ||
2129 | * configure.tgt (powerpc*-*-*): Delete test call and | |
2130 | always assign gdb_sim. | |
2131 | ||
618f726f JB |
2132 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
2133 | ||
2134 | Update year range in copyright notice of all files. | |
2135 | ||
edd88788 JB |
2136 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
2137 | ||
2138 | * top.c (print_gdb_version): Change copyright year in version | |
2139 | message. | |
2140 | ||
0f7b3ef4 | 2141 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
aec47d1d | 2142 | |
0f7b3ef4 | 2143 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 2144 | |
0f7b3ef4 | 2145 | For older changes see ChangeLog-2015. |
c906108c SS |
2146 | \f |
2147 | Local Variables: | |
2148 | mode: change-log | |
2149 | left-margin: 8 | |
2150 | fill-column: 74 | |
2151 | version-control: never | |
57da7796 | 2152 | coding: utf-8 |
c906108c | 2153 | End: |