1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.h (struct target_ops) <to_read_btrace>: Add argument.
4 * target.c (struct target_ops) <to_read_btrace>: Add argument.
5 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
7 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8 (_initialize_amd64_linux_nat): Use it.
9 * i386-linux-nat.c (i386_linux_read_btrace): New function.
10 (_initialize_i386_linux_nat): Use it.
12 2014-02-19 Tom Tromey <tromey@redhat.com>
14 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
15 * target.c (target_teardown_btrace): Add argument.
16 * remote.c (remote_teardown_btrace): Add 'self' argument.
17 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
19 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
25 * target.c (target_disable_btrace): Add argument.
26 * remote.c (remote_disable_btrace): Add 'self' argument.
27 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
29 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
35 * target.c (target_enable_btrace): Add argument.
36 * remote.c (remote_enable_btrace): Add 'self' argument.
37 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
39 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
42 2014-02-19 Tom Tromey <tromey@redhat.com>
44 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
45 (target_can_use_agent): Add argument.
46 * target.c (update_current_target): Update.
47 * remote.c (remote_can_use_agent): Add 'self' argument.
48 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * target.h (struct target_ops) <to_use_agent>: Add argument.
53 (target_use_agent): Add argument.
54 * target.c (update_current_target): Update.
55 * remote.c (remote_use_agent): Add 'self' argument.
56 * inf-child.c (inf_child_use_agent): Add 'self' argument.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
61 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
62 (target_traceframe_info): Add argument.
63 * target.c (update_current_target): Update.
64 * remote.c (remote_traceframe_info): Add 'self' argument.
65 * ctf.c (ctf_traceframe_info): Add 'self' argument.
67 2014-02-19 Tom Tromey <tromey@redhat.com>
69 * target.h (target_static_tracepoint_markers_by_strid): Add
71 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
73 * target.c (update_current_target): Update.
74 * remote.c (struct target_ops)
75 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
76 * linux-nat.c (struct target_ops)
77 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
83 (target_static_tracepoint_marker_at): Add argument.
84 * target.c (update_current_target): Update.
85 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target.h (struct target_ops) <to_set_permissions>: Add argument.
91 (target_set_permissions): Add argument.
92 * target.c (update_current_target): Update.
93 * remote.c (remote_set_permissions): Add 'self' argument.
94 (remote_start_remote): Update.
96 2014-02-19 Tom Tromey <tromey@redhat.com>
98 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
99 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
100 (target_get_tib_address): Add argument.
101 * target.c (update_current_target): Update.
102 * remote.c (remote_get_tib_address): Add 'self' argument.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
107 (target_set_trace_notes): Add argument.
108 * target.c (update_current_target): Update.
109 * remote.c (remote_set_trace_notes): Add 'self' argument.
111 2014-02-19 Tom Tromey <tromey@redhat.com>
113 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
115 (target_set_trace_buffer_size): Add argument.
116 * target.c (update_current_target): Update.
117 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
119 2014-02-19 Tom Tromey <tromey@redhat.com>
121 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
123 (target_set_circular_trace_buffer): Add argument.
124 * target.c (update_current_target): Update.
125 * remote.c (remote_set_circular_trace_buffer): Add 'self'
128 2014-02-19 Tom Tromey <tromey@redhat.com>
130 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
132 (target_set_disconnected_tracing): Add argument.
133 * target.c (update_current_target): Update.
134 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
136 2014-02-19 Tom Tromey <tromey@redhat.com>
138 * target.h (struct target_ops)
139 <to_get_min_fast_tracepoint_insn_len>: Add argument.
140 (target_get_min_fast_tracepoint_insn_len): Add argument.
141 * target.c (update_current_target): Update.
142 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
149 (target_get_raw_trace_data): Add argument.
150 * target.c (update_current_target): Update.
151 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
153 2014-02-19 Tom Tromey <tromey@redhat.com>
155 * target.h (struct target_ops) <to_upload_trace_state_variables>:
157 (target_upload_trace_state_variables): Add argument.
158 * target.c (update_current_target): Update.
159 * remote.c (remote_upload_trace_state_variables): Add 'self'
161 (remote_start_remote): Update.
163 2014-02-19 Tom Tromey <tromey@redhat.com>
165 * target.h (struct target_ops) <to_upload_tracepoints>: Add
167 (target_upload_tracepoints): Add argument.
168 * target.c (update_current_target): Update.
169 * remote.c (remote_upload_tracepoints): Add 'self' argument.
170 (remote_start_remote): Update.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
175 (target_save_trace_data): Add argument.
176 * target.c (update_current_target): Update.
177 * remote.c (remote_save_trace_data): Add 'self' argument.
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
183 * target.h (struct target_ops)
184 <to_get_trace_state_variable_value>: Add argument.
185 (target_get_trace_state_variable_value): Add argument.
186 * target.c (update_current_target): Update.
187 * remote.c (remote_get_trace_state_variable_value): Add 'self'
189 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
191 2014-02-19 Tom Tromey <tromey@redhat.com>
193 * tracepoint.c (tfile_trace_find): Add 'self' argument.
194 * target.h (struct target_ops) <to_trace_find>: Add argument.
195 (target_trace_find): Add argument.
196 * target.c (update_current_target): Update.
197 * remote.c (remote_trace_find): Add 'self' argument.
198 * ctf.c (ctf_trace_find): Add 'self' argument.
200 2014-02-19 Tom Tromey <tromey@redhat.com>
202 * target.h (struct target_ops) <to_trace_stop>: Add argument.
203 (target_trace_stop): Add argument.
204 * target.c (update_current_target): Update.
205 * remote.c (remote_trace_stop): Add 'self' argument.
207 2014-02-19 Tom Tromey <tromey@redhat.com>
209 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
210 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
212 (target_get_tracepoint_status): Add argument.
213 * target.c (update_current_target): Update.
214 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
216 2014-02-19 Tom Tromey <tromey@redhat.com>
218 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
219 * target.h (struct target_ops) <to_get_trace_status>: Add
221 (target_get_trace_status): Add argument.
222 * target.c (update_current_target): Update.
223 * remote.c (remote_get_trace_status): Add 'self' argument.
224 (remote_start_remote, remote_can_download_tracepoint): Update.
225 * ctf.c (ctf_get_trace_status): Add 'self' argument.
227 2014-02-19 Tom Tromey <tromey@redhat.com>
229 * target.h (struct target_ops) <to_trace_start>: Add argument.
230 (target_trace_start): Add argument.
231 * target.c (update_current_target): Update.
232 * remote.c (remote_trace_start): Add 'self' argument.
234 2014-02-19 Tom Tromey <tromey@redhat.com>
236 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
238 (target_trace_set_readonly_regions): Add argument.
239 * target.c (update_current_target): Update.
240 * remote.c (remote_trace_set_readonly_regions): Add 'self'
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target.h (struct target_ops) <to_disable_tracepoint>: Add
247 (target_disable_tracepoint): Add argument.
248 * target.c (update_current_target): Update.
249 * remote.c (remote_disable_tracepoint): Add 'self' argument.
251 2014-02-19 Tom Tromey <tromey@redhat.com>
253 * target.h (struct target_ops) <to_enable_tracepoint>: Add
255 (target_enable_tracepoint): Add argument.
256 * target.c (update_current_target): Update.
257 * remote.c (remote_enable_tracepoint): Add 'self' argument.
259 2014-02-19 Tom Tromey <tromey@redhat.com>
261 * target.h (struct target_ops) <to_download_trace_state_variable>:
263 (target_download_trace_state_variable): Add argument.
264 * target.c (update_current_target): Update.
265 * remote.c (remote_download_trace_state_variable): Add 'self'
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
272 (target_can_download_tracepoint): Add argument.
273 * target.c (update_current_target): Update.
274 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
276 2014-02-19 Tom Tromey <tromey@redhat.com>
278 * target.h (struct target_ops) <to_download_tracepoint>: Add
280 (target_download_tracepoint): Add argument.
281 * target.c (update_current_target): Update.
282 * remote.c (remote_download_tracepoint): Add 'self' argument.
284 2014-02-19 Tom Tromey <tromey@redhat.com>
286 * target.h (struct target_ops) <to_trace_init>: Add argument.
287 (target_trace_init): Add argument.
288 * target.c (update_current_target): Update.
289 * remote.c (remote_trace_init): Add 'self' argument.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
294 * target.c (target_fileio_readlink): Add argument.
295 * remote.c (remote_hostio_readlink): Add 'self' argument.
296 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
298 2014-02-19 Tom Tromey <tromey@redhat.com>
300 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
301 * target.c (target_fileio_unlink): Add argument.
302 * remote.c (remote_hostio_unlink): Add 'self' argument.
303 (remote_file_delete): Update.
304 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target.h (struct target_ops) <to_fileio_close>: Add argument.
309 * target.c (target_fileio_close): Add argument.
310 * remote.c (remote_hostio_close): Add 'self' argument.
311 (remote_hostio_close_cleanup): Update.
312 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
314 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
319 * target.c (target_fileio_pread): Add argument.
320 * remote.c (remote_hostio_pread): Add 'self' argument.
321 (remote_bfd_iovec_pread, remote_file_get): Update.
322 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
327 * target.c (target_fileio_pwrite): Add argument.
328 * remote.c (remote_hostio_pwrite): Add 'self' argument.
329 (remote_file_put): Update.
330 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target.h (struct target_ops) <to_fileio_open>: Add argument.
335 * target.c (target_fileio_open): Add argument.
336 * remote.c (remote_hostio_open): Add 'self' argument.
337 (remote_bfd_iovec_open): Add 'self' argument.
338 (remote_file_put): Add 'self' argument.
339 (remote_file_get): Add 'self' argument.
340 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
346 (target_can_run_breakpoint_commands): Add argument.
347 * target.c (update_current_target): Update.
348 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
350 (remote_insert_breakpoint): Add 'self' argument.
351 (remote_insert_hw_breakpoint): Add 'self' argument.
352 (remote_can_run_breakpoint_commands): Add 'self' argument.
354 2014-02-19 Tom Tromey <tromey@redhat.com>
356 * target.h (struct target_ops)
357 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
358 (target_supports_evaluation_of_breakpoint_conditions): Add
360 * target.c (update_current_target): Update.
361 * remote.c (remote_supports_cond_breakpoints): Add 'self'
363 (remote_insert_breakpoint): Add 'self' argument.
364 (remote_insert_hw_breakpoint): Add 'self' argument.
365 (remote_supports_cond_breakpoints): Add 'self' argument.
367 2014-02-19 Tom Tromey <tromey@redhat.com>
369 * target.h (struct target_ops) <to_supports_string_tracing>: Add
371 (target_supports_string_tracing): Add argument.
372 * target.c (update_current_target): Update.
373 * remote.c (remote_supports_string_tracing): Add 'self' argument.
375 2014-02-19 Tom Tromey <tromey@redhat.com>
377 * target.h (struct target_ops)
378 <to_supports_disable_randomization>: Add argument.
379 * target.c (find_default_supports_disable_randomization): Add
381 (target_supports_disable_randomization): Add argument.
382 (find_default_supports_disable_randomization): Add 'self'
384 * remote.c (extended_remote_supports_disable_randomization): Add
386 (remote_supports_disable_randomization): Add 'self' argument.
387 (extended_remote_create_inferior): Update.
388 * linux-nat.c (linux_nat_supports_disable_randomization): Add
391 2014-02-19 Tom Tromey <tromey@redhat.com>
393 * target.h (struct target_ops)
394 <to_supports_enable_disable_tracepoint>: Add argument.
395 (target_supports_enable_disable_tracepoint): Add argument.
396 * target.c (update_current_target): Update.
397 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target.h (struct target_ops) <to_supports_multi_process>: Add
404 (target_supports_multi_process): Add argument.
405 * target.c (update_current_target): Update.
406 * remote.c (remote_supports_multi_process): Add 'self' argument.
407 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
409 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
412 2014-02-19 Tom Tromey <tromey@redhat.com>
414 * target.h (struct target_ops) <to_execution_direction>: Add
416 (target_execution_direction): Add argument.
417 * target.c (default_execution_direction): Add 'self' argument.
418 * record-full.c (record_full_execution_direction): Add 'self'
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target.h (struct target_ops) <to_can_execute_reverse>: Add
425 (target_can_execute_reverse): Add argument.
426 * remote.c (remote_can_execute_reverse): Add 'self' argument.
427 * record-full.c (record_full_can_execute_reverse): Add 'self'
429 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
435 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
437 (target_get_ada_task_ptid): Add argument.
438 * target.c (update_current_target): Update.
439 (default_get_ada_task_ptid): Add 'self' argument.
440 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
441 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
442 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
444 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
446 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
448 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
450 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
451 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
457 (target_goto_bookmark): Add argument.
458 * target.c (dummy_goto_bookmark): Add 'self' argument.
459 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
461 2014-02-19 Tom Tromey <tromey@redhat.com>
463 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
464 (target_get_bookmark): Add argument.
465 * target.c (dummy_get_bookmark): Add 'self' argument.
466 * record-full.c (record_full_get_bookmark): Add 'self' argument.
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * target.h (struct target_ops) <to_make_corefile_notes>: Add
472 (target_make_corefile_notes): Add argument.
473 * target.c (dummy_make_corefile_notes): Add 'self' argument.
474 * procfs.c (procfs_make_note_section): Add 'self' argument.
475 (procfs_make_note_section): Add 'self' argument.
476 (procfs_make_note_section): Add 'self' argument.
477 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
479 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
480 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
481 * exec.c (exec_make_note_section): Add 'self' argument.
482 (exec_make_note_section): Add 'self' argument.
484 2014-02-19 Tom Tromey <tromey@redhat.com>
486 * target.h (struct target_ops) <to_find_memory_regions>: Add
488 (target_find_memory_regions): Add argument.
489 * target.c (dummy_find_memory_regions): Add 'self' argument.
490 * procfs.c (proc_find_memory_regions): Add 'self' argument.
491 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
492 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
493 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
494 * exec. (exec_do_find_memory_regions): New global.
495 (exec_set_find_memory_regions): Rewrite.
496 (exec_find_memory_regions): New function.
497 (init_exec_ops): Use exec_find_memory_regions.
499 2014-02-19 Tom Tromey <tromey@redhat.com>
501 * target.h (struct target_ops) <to_supports_non_stop>: Add
503 * target.c (find_default_supports_non_stop): Add argument.
504 (target_supports_non_stop): Add argument.
505 (find_default_supports_non_stop): Add 'self' argument.
506 * remote.c (remote_supports_non_stop): Add 'self' argument.
507 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target.h (struct target_ops) <to_log_command>: Add argument.
512 (target_log_command): Add argument.
513 * serial.h (serial_log_command): Add 'self' argument.
514 * serial.c (serial_log_command): Add 'self' argument.
516 2014-02-19 Tom Tromey <tromey@redhat.com>
518 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
519 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
521 (target_pid_to_exec_file): Add argument.
522 * target.c (debug_to_pid_to_exec_file): Add argument.
523 (update_current_target): Update.
524 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
525 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
526 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
527 (linux_handle_extended_wait): Update.
528 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
529 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
530 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
531 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target.h (struct target_ops) <to_rcmd>: Add argument.
536 (target_rcmd): Add argument.
537 * target.c (debug_to_rcmd): Add argument.
538 (update_current_target, do_monitor_command): Update.
539 * remote.c (remote_rcmd): Add 'self' argument.
540 * monitor.c (monitor_rcmd): Add 'self' argument.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * windows-nat.c (windows_stop): Add 'self' argument.
545 * target.h (struct target_ops) <to_stop>: Add argument.
546 * target.c (target_stop): Add argument.
547 (debug_to_stop): Add argument.
548 (update_current_target): Update.
549 * remote.c (remote_stop): Add 'self' argument.
550 * remote-sim.c (gdbsim_stop): Add 'self' argument.
551 (gdbsim_cntrl_c): Update.
552 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
553 * procfs.c (procfs_stop): Add 'self' argument.
554 * nto-procfs.c (procfs_stop): Add 'self' argument.
555 * monitor.c (monitor_stop): Add 'self' argument.
556 (monitor_open): Update.
557 * linux-nat.c (linux_nat_stop): Add argument.
558 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
559 * gnu-nat.c (gnu_stop): Add 'self' argument.
560 * darwin-nat.c (darwin_stop): Add 'self' argument.
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target.h (struct target_ops) <to_thread_name>: Add argument.
565 * target.c (target_thread_name): Add argument.
566 (update_current_target): Update.
567 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
569 2014-02-19 Tom Tromey <tromey@redhat.com>
571 * target.h (struct target_ops) <to_extra_thread_info>: Add
573 (target_extra_thread_info): Add argument.
574 * target.c (update_current_target): Update.
575 * remote.c (remote_threads_extra_info): Add 'self' argument.
576 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
578 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
579 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
580 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
582 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
584 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
586 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target.h (struct target_ops) <to_program_signals>: Add argument.
592 * target.c (target_program_signals): Add argument.
593 * remote.c (remote_program_signals): Add 'self' argument.
595 2014-02-19 Tom Tromey <tromey@redhat.com>
597 * target.h (struct target_ops) <to_pass_signals>: Add argument.
598 * target.c (target_pass_signals): Add argument.
599 * remote.c (remote_pass_signals): Add 'self' argument.
600 (remote_start_remote): Update.
601 * procfs.c (procfs_pass_signals): Add 'self' argument.
602 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
603 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
604 (linux_nat_create_inferior, linux_nat_attach): Update.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * windows-nat.c (windows_can_run): Add 'self' argument.
609 * target.h (struct target_ops) <to_can_run>: Add argument.
610 (target_can_run): Add argument.
611 * target.c (debug_to_can_run): Add argument.
612 (update_current_target): Update.
613 * nto-procfs.c (procfs_can_run): Add 'self' argument.
614 * inf-child.c (inf_child_can_run): Add 'self' argument.
615 * go32-nat.c (go32_can_run): Add 'self' argument.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target.h (struct target_ops) <to_has_exited>: Add argument.
620 (target_has_exited): Add argument.
621 * target.c (debug_to_has_exited): Add argument.
622 (update_current_target): Update.
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
628 (target_set_syscall_catchpoint): Add argument.
629 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
631 * target.c (update_current_target): Update.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
637 (target_remove_exec_catchpoint): Add argument.
638 * target.c (debug_to_remove_exec_catchpoint): Add argument.
639 (update_current_target): Update.
640 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
643 2014-02-19 Tom Tromey <tromey@redhat.com>
645 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
647 (target_insert_exec_catchpoint): Add argument.
648 * target.c (debug_to_insert_exec_catchpoint): Add argument.
649 (update_current_target): Update.
650 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
657 (target_remove_vfork_catchpoint): Add argument.
658 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
659 (update_current_target): Update.
660 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
667 (target_insert_vfork_catchpoint): Add argument.
668 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
669 (update_current_target): Update.
670 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
677 (target_remove_fork_catchpoint): Add argument.
678 * target.c (debug_to_remove_fork_catchpoint): Add argument.
679 (update_current_target): Update.
680 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
687 (target_insert_fork_catchpoint): Add argument.
688 * target.c (debug_to_insert_fork_catchpoint): Add argument.
689 (update_current_target): Update.
690 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
693 2014-02-19 Tom Tromey <tromey@redhat.com>
695 * target.h (struct target_ops) <to_post_startup_inferior>: Add
697 (target_post_startup_inferior): Add argument.
698 * target.c (debug_to_post_startup_inferior): Add argument.
699 (update_current_target): Update.
700 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
702 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
704 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
706 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
708 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
710 (super_post_startup_inferior): Likewise.
711 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
713 (super_post_startup_inferior): Likewise.
714 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
716 (super_post_startup_inferior): Likewise.
718 2014-02-19 Tom Tromey <tromey@redhat.com>
720 * target.h (struct target_ops) <to_load>: Add argument.
721 * target.c (target_load): Add argument.
722 (debug_to_load): Add argument.
723 (update_current_target): Update.
724 * remote.c (remote_load): Add 'self' argument.
725 * remote-sim.c (gdbsim_load): Add 'self' argument.
726 * remote-mips.c (mips_load): Add 'self' argument.
727 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
728 * monitor.c (monitor_load): Add 'self' argument.
729 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target.h (struct target_ops) <to_terminal_info>: Add argument.
734 (target_terminal_info): Add argument.
735 * target.c (debug_to_terminal_info): Add argument.
736 (default_terminal_info): Likewise.
737 * inflow.c (child_terminal_info): Add 'self' argument.
738 * inferior.h (child_terminal_info): Add 'self' argument.
739 * go32-nat.c (go32_terminal_info): Add 'self' argument.
741 2014-02-19 Tom Tromey <tromey@redhat.com>
743 * target.h (struct target_ops) <to_terminal_save_ours>: Add
745 (target_terminal_save_ours): Add argument.
746 * target.c (debug_to_terminal_save_ours): Add argument.
747 (update_current_target): Update.
748 * inflow.c (terminal_save_ours): Add 'self' argument.
749 * inferior.h (terminal_save_ours): Add 'self' argument.
751 2014-02-19 Tom Tromey <tromey@redhat.com>
753 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
754 (target_terminal_ours): Add argument.
755 * target.c (debug_to_terminal_ours): Add argument.
756 (update_current_target): Update.
757 * remote.c (remote_terminal_ours): Add 'self' argument.
758 (remote_close): Update.
759 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
760 * inflow.c (terminal_ours): Add 'self' argument.
761 * inferior.h (terminal_ours): Add 'self' argument.
762 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
764 2014-02-19 Pedro Alves <palves@redhat.com>
765 Tom Tromey <tromey@redhat.com>
767 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
769 (target_terminal_ours_for_output): Add argument.
770 * target.c (debug_to_terminal_ours_for_output): Add argument.
771 (update_current_target): Update.
772 * inflow.c (terminal_ours_for_output): Add 'self' argument.
773 * inferior.h (terminal_ours_for_output): Add 'self' argument.
774 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target.h (struct target_ops) <to_terminal_inferior>: Add
780 * target.c (target_terminal_inferior): Add argument.
781 (update_current_target): Update.
782 * remote.c (remote_terminal_inferior): Add 'self' argument.
783 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
784 * inflow.c (terminal_inferior): Add 'self' argument.
785 * inferior.h (terminal_inferior): Add 'self' argument.
786 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
787 (go32_terminal_inferior): Add 'self' argument.
789 2014-02-19 Tom Tromey <tromey@redhat.com>
791 * target.h (struct target_ops) <to_terminal_init>: Add argument.
792 (target_terminal_init): Add argument.
793 * target.c (debug_to_terminal_init): Add argument.
794 (update_current_target): Update.
795 * inflow.c (terminal_init_inferior): Add 'self' argument.
796 * inferior.h (terminal_init_inferior): Add 'self' argument.
797 * go32-nat.c (go32_terminal_init): Add 'self' argument.
798 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
800 2014-02-19 Tom Tromey <tromey@redhat.com>
802 * target.h (struct target_ops)
803 <to_can_accel_watchpoint_condition>: Add argument.
804 (target_can_accel_watchpoint_condition): Add argument.
805 * target.c (debug_to_can_accel_watchpoint_condition): Add
807 (update_current_target): Update.
808 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
815 (target_region_ok_for_hw_watchpoint): Add argument.
816 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
817 (default_region_ok_for_hw_watchpoint): Add argument.
818 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
819 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
821 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
823 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
825 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
827 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
829 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
831 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
832 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
834 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
837 2014-02-19 Tom Tromey <tromey@redhat.com>
839 * target.h (struct target_ops) <to_insert_watchpoint>: Add
841 (target_insert_watchpoint): Add argument.
842 * target.c (debug_to_insert_watchpoint): Add argument.
843 (update_current_target): Update.
844 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
845 * remote.c (remote_insert_watchpoint): Add 'self' argument.
846 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
847 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
848 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
849 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
851 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
852 (procfs_insert_hw_watchpoint): Add 'self' argument.
853 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
855 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
857 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
859 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
860 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
862 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target.h (struct target_ops) <to_remove_watchpoint>: Add
869 (target_remove_watchpoint): Add argument.
870 * target.c (debug_to_remove_watchpoint): Add argument.
871 (update_current_target): Update.
872 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
873 * remote.c (remote_remove_watchpoint): Add 'self' argument.
874 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
875 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
876 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
877 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
879 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
880 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
882 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
884 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
886 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
887 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
889 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
892 2014-02-19 Tom Tromey <tromey@redhat.com>
894 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
896 (target_remove_hw_breakpoint): Add argument.
897 * target.c (debug_to_remove_hw_breakpoint): Add argument.
898 (update_current_target): Update.
899 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
900 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
902 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
903 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
905 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
912 (target_insert_hw_breakpoint): Add argument.
913 * target.c (debug_to_insert_hw_breakpoint): Add argument.
914 (update_current_target): Update.
915 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
916 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
918 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
919 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
920 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
922 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
925 2014-02-19 Tom Tromey <tromey@redhat.com>
927 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
929 (target_can_use_hardware_watchpoint): Add argument.
930 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
931 (update_current_target): Update.
932 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
934 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
936 * remote.c (remote_check_watch_resources): Add 'self' argument.
937 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
938 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
940 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
941 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
943 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
945 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
947 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
949 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
951 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
953 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
954 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
956 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
959 2014-02-19 Tom Tromey <tromey@redhat.com>
961 * target.h (struct target_ops) <to_post_attach>: Add argument.
962 (target_post_attach): Add argument.
963 * target.c (debug_to_post_attach): Add argument.
964 (update_current_target): Update.
965 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
966 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
967 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
968 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
969 * inf-child.c (inf_child_post_attach): Add 'self' argument.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * windows-nat.c (windows_close): Add 'self' argument.
974 * tracepoint.c (tfile_close): Add 'self' argument.
975 * target.h (struct target_ops) <to_close>: Add argument.
976 * target.c (target_close): Add argument.
977 (update_current_target): Update.
978 * remote.c (remote_close): Add 'self' argument.
979 * remote-sim.c (gdbsim_close): Add 'self' argument.
980 * remote-mips.c (mips_close): Add 'self' argument.
981 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
982 * record-full.c (record_full_close): Add 'self' argument.
983 * record-btrace.c (record_btrace_close): Add 'self' argument.
984 * monitor.h (monitor_close): Add 'self' argument.
985 * monitor.c (monitor_close): Add 'self' argument.
986 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
987 * linux-nat.c (linux_nat_close): Add argument.
988 * go32-nat.c (go32_close): Add 'self' argument.
989 * exec.c (exec_close_1): Add 'self' argument.
990 * ctf.c (ctf_close): Add 'self' argument.
991 * corelow.c (core_close): Add 'self' argument.
992 (core_close_cleanup): Update.
993 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
994 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
996 2014-02-19 Tom Tromey <tromey@redhat.com>
998 * remote.c (remote_load): New function.
999 (init_remote_ops): Use it.
1001 2014-02-19 Tom Tromey <tromey@redhat.com>
1003 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1005 * common/linux-btrace.h (linux_supports_btrace): Update.
1006 * remote.c (remote_supports_btrace): Add "self" argument.
1007 * target-delegates.c: Rebuild.
1008 * target.c (target_supports_btrace): Remove.
1009 * target.h (struct target_ops) <to_supports_btrace>: Add
1010 target_ops argument.
1011 (target_supports_btrace): New define.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * record-full.c (record_full_beneath_to_resume_ops)
1016 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1017 (record_full_beneath_to_wait)
1018 (record_full_beneath_to_store_registers_ops)
1019 (record_full_beneath_to_store_registers)
1020 (record_full_beneath_to_xfer_partial_ops)
1021 (record_full_beneath_to_xfer_partial)
1022 (record_full_beneath_to_insert_breakpoint_ops)
1023 (record_full_beneath_to_insert_breakpoint)
1024 (record_full_beneath_to_remove_breakpoint_ops)
1025 (record_full_beneath_to_remove_breakpoint)
1026 (record_full_beneath_to_stopped_by_watchpoint)
1027 (record_full_beneath_to_stopped_data_address)
1028 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1029 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1030 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1031 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1032 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1033 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1034 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1035 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1036 (record_full_resume, record_full_wait_1)
1037 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1038 (record_full_store_registers, record_full_xfer_partial)
1039 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1040 (record_full_async, record_full_core_xfer_partial): Use target
1042 * target-delegates.c: Rebuild.
1043 * target.c (current_xfer_partial): Remove.
1044 (update_current_target): Do not INHERIT or de_fault
1045 to_insert_breakpoint, to_remove_breakpoint,
1046 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1047 to_is_async_p, to_async. Do not set to_xfer_partial field.
1048 (default_xfer_partial): Simplify.
1049 (current_xfer_partial): Remove.
1050 (target_wait, target_resume): Simplify.
1051 (find_default_can_async_p, find_default_is_async_p): Update.
1052 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1053 to_xfer_partial, to_stopped_by_watchpoint,
1054 to_stopped_data_address.
1055 (target_store_registers): Simplify.
1056 (forward_target_remove_breakpoint)
1057 (forward_target_insert_breakpoint): Remove.
1058 (target_remove_breakpoint, target_insert_breakpoint)
1059 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1060 * target.h (struct target_ops) <to_resume, to_wait,
1061 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1062 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1063 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1065 (forward_target_remove_breakpoint)
1066 (forward_target_insert_breakpoint): Remove.
1067 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1069 (record_btrace_insert_breakpoint): Delegate directly.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target-delegates.c: New file.
1075 * target.c: Include target-delegates.c.
1076 (init_dummy_target): Call install_dummy_methods.
1077 (complete_target_initialization): Call install_delegators.
1078 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1079 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1080 * make-target-delegates: New file.
1082 2014-02-19 Tom Tromey <tromey@redhat.com>
1084 * record.c (find_record_target): Use find_target_at.
1085 * target.c (find_target_at): New function.
1086 * target.h (find_target_at): Declare.
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1092 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1094 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1095 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1097 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1099 * linux-nat.c (save_sigtrap): Update.
1100 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1101 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1102 (linux_nat_close): Update.
1103 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1105 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1107 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1108 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1109 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1110 (tmp_to_async): Add 'ops' argument.
1111 (record_full_stopped_by_watchpoint, record_full_async)
1112 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1114 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1115 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1116 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1117 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1118 (remote_is_async_p, remote_async): Add 'ops' argument.
1119 (remote_stopped_data_address): Update.
1120 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1121 * target.c (update_current_target)
1122 (find_default_can_async_p, find_default_is_async_p): Update.
1123 (init_dummy_target): Update.
1124 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1125 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1126 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1127 (target_can_async_p, target_is_async_p, target_async)
1128 (target_stopped_by_watchpoint): Update.
1130 2014-02-19 Yao Qi <yao@codesourcery.com>
1133 * gdbarch.sh: Remove startup_gdbarch.
1134 * gdbarch.c: Regenerated.
1135 * gdbarch.h: Likewise.
1137 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1139 * rl78-tdep.c (rl78_g10_register_name): New function.
1140 (rl78_return_value): Add g10 support.
1141 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1144 2014-02-17 Doug Evans <xdje42@gmail.com>
1146 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1147 (SUBDIR_GUILE_SRCS): Ditto.
1148 (scm-gsmob.o): Ditto.
1150 2014-02-17 Yao Qi <yao@codesourcery.com>
1152 * gnu-nat.c (ILL_RPC): Declare defined function.
1154 2014-02-17 Yao Qi <yao@codesourcery.com>
1156 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1157 mach_msg_type_number_t.
1158 (gnu_write_inferior): Likewise.
1160 2014-02-17 Yao Qi <yao@codesourcery.com>
1162 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1164 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1165 (inf_validate_procs, inf_signal): Likewise.
1166 (S_exception_raise_request): Likewise.
1167 (do_mach_notify_dead_name): Likewise.
1168 (steal_exc_port): Likewise.
1169 (gnu_read_inferior): Change 'copy_count''s type to
1170 mach_msg_type_number_t.
1171 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1174 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1176 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1177 flag. Adjust all users; in particular...
1178 (gnu_wait): ..., don't decrement its value in here...
1179 (gnu_create_inferior): ..., and instead set the flag in here,
1180 around the startup_inferior call, and call that one with
1181 START_INFERIOR_TRAPS_EXPECTED.
1183 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1184 (ILL_RPC): ... new macro.
1185 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1186 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1187 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1188 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1189 functions with ILL_RPC macro.
1190 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1191 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1192 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1193 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1194 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1195 (S_proc_getlogin_reply, S_proc_getsid_reply)
1196 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1197 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1198 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1199 (S_proc_getnports_reply, S_proc_is_important_reply)
1200 (S_proc_get_code_reply): New stub functions, generated with
1203 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1204 collected the type check structures.
1206 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1208 2014-02-14 Doug Evans <dje@google.com>
1210 * target.c (target_write_partial): Fix result type.
1212 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1214 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1215 the proper offsets to access fpregset_t.
1217 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1219 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1220 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1221 * h8300-tdep.c (setmachinelist): Remove global.
1222 * hppa-tdep.c (hppa_sigtramp): Remove global.
1223 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1224 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1225 * ravenscar-thread.c (update_target_observer): Remove global.
1226 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1228 2014-02-12 Tom Tromey <tromey@redhat.com>
1230 * common/rsp-low.c: Update comments.
1231 * common/rsp-low.h: Update comments.
1233 2014-02-12 Tom Tromey <tromey@redhat.com>
1235 * common/rsp-low.c (convert_ascii_to_int): Remove.
1236 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1238 2014-02-12 Tom Tromey <tromey@redhat.com>
1240 * common/rsp-low.h (unhexify): Don't declare.
1241 * common/rsp-low.c (unhexify): Remove.
1243 2014-02-12 Tom Tromey <tromey@redhat.com>
1245 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1246 * common/rsp-low.c (convert_int_to_ascii): Remove.
1248 2014-02-12 Tom Tromey <tromey@redhat.com>
1250 * common/rsp-low.h (hexify): Don't declare.
1251 * common/rsp-low.c (hexify): Remove.
1253 2014-02-12 Tom Tromey <tromey@redhat.com>
1255 * common/rsp-low.c (hexify): Never take strlen of argument.
1257 2014-02-12 Tom Tromey <tromey@redhat.com>
1259 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1260 * remote.c (extended_remote_run, remote_rcmd)
1261 (remote_download_trace_state_variable, remote_save_trace_data)
1262 (remote_set_trace_notes): Update.
1263 * tracepoint.c (encode_source_string, tfile_write_status)
1264 (tfile_write_uploaded_tsv): Update.
1266 2014-02-12 Tom Tromey <tromey@redhat.com>
1268 * tracepoint.c: Include rsp-low.h.
1269 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1270 * remote.c: Include rsp-low.h.
1271 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1272 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1273 (remote_unescape_input): Move to common/rsp-low.c.
1274 * common/rsp-low.h: New file.
1275 * common/rsp-low.c: New file.
1276 * Makefile.in (SFILES): Add common/rsp-low.c.
1277 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1278 (COMMON_OBS): Add rsp-low.o.
1279 (rsp-low.o): New target.
1281 2014-02-12 Tom Tromey <tromey@redhat.com>
1283 * utils.h: Include print-utils.h.
1284 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1285 (int_string, core_addr_to_string, core_addr_to_string_nz)
1286 (hex_string, hex_string_custom): Don't declare.
1287 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1288 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1289 (hex_string_custom, int_string, core_addr_to_string)
1290 (core_addr_to_string_nz, host_address_to_string): Move to
1291 common/print-utils.c.
1292 * common/print-utils.h: New file.
1293 * common/print-utils.c: New file
1294 * Makefile.in (SFILES): Add common/print-utils.c.
1295 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1296 (COMMON_OBS): Add print-utils.o.
1297 (print-utils.o): New target.
1299 2014-02-12 Tom Tromey <tromey@redhat.com>
1301 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1303 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1305 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1307 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1309 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1310 if a PT_IO ptrace request returns sucessfully but indicates that 0
1311 bytes were transferred.
1313 2014-02-12 Pedro Alves <palves@redhat.com>
1314 Kevin Buettner <kevinb@redhat.com>
1316 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1317 TYPE_INSTANCE_FLAG_CODE_SPACE.
1319 2014-02-12 Pedro Alves <palves@redhat.com>
1321 * h8300-tdep.c (pseudo_from_raw_register)
1322 (raw_from_pseudo_register): New functions.
1323 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1326 2014-02-12 Pedro Alves <palves@redhat.com>
1328 * h8300-tdep.c (h8300_register_sim_regno): New function.
1329 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1330 gdbarch_register_sim_regno hook.
1332 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1334 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1336 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1338 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1340 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1342 * obsd-tdep.h (obsd_init_abi): New prototype.
1343 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1344 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1345 (obsd_init_abi): New functions.
1346 * i386obsd-tdep.c: Include "obsd-tdep.h".
1347 (i386obsd_init_abi): Call obsd_init_abi.
1348 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1349 (amd64obsd_init_abi): Call obsd_init_abi.
1350 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1351 obsd-tdep.c to gdb_target_obs.
1353 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1355 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1356 double float arguments to 16-byte in the argument slots.
1358 2014-02-11 Doug Evans <xdje42@gmail.com>
1360 * configure.ac: Don't crash if pkg-config is not found and guile
1361 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1363 * configure: Regenerate.
1365 2014-02-11 Yao Qi <yao@codesourcery.com>
1367 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1368 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1369 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1370 * gnu-nat.c (gnu_xfer_memory): Likewise.
1371 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1372 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1373 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1374 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1376 2014-02-11 Yao Qi <yao@codesourcery.com>
1378 * target.h (enum target_xfer_error): Rename to ...
1379 (enum target_xfer_status): ... it. New. All users updated.
1380 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1382 (TARGET_XFER_STATUS_ERROR_P): New macro.
1383 (target_xfer_error_to_string): Remove declaration.
1384 (target_xfer_status_to_string): Declare.
1385 (target_xfer_partial_ftype): Adjust it.
1386 (struct target_ops) <to_xfer_partial>: Return
1387 target_xfer_status. Add argument xfered_len. Update
1389 * target.c (target_xfer_error_to_string): Rename to ...
1390 (target_xfer_status_to_string): ... it. New. All callers
1392 (target_read_live_memory): Likewise. Call target_xfer_partial
1393 instead of target_read.
1394 (memory_xfer_live_readonly_partial): Return
1395 target_xfer_status. Add argument xfered_len.
1396 (raw_memory_xfer_partial): Likewise.
1397 (memory_xfer_partial_1): Likewise.
1398 (memory_xfer_partial): Likewise.
1399 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1400 properly. Update debug message.
1401 (default_xfer_partial, current_xfer_partial): Likewise.
1402 (target_write_partial): Likewise.
1403 (target_read_partial): Likewise. All callers updated.
1404 (read_whatever_is_readable): Likewise.
1405 (target_write_with_progress): Likewise.
1406 (target_read_alloc_1): Likewise.
1408 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1409 * auxv.c (procfs_xfer_auxv): Likewise.
1410 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1411 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1412 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1413 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1414 * corefile.c (read_memory): Adjust.
1415 * corelow.c (core_xfer_partial): Likewise.
1416 * ctf.c (ctf_xfer_partial): Likewise.
1417 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1419 (darwin_xfer_partial): Likewise.
1420 * exec.c (section_table_xfer_memory_partial): Likewise. All
1422 (exec_xfer_partial): Likewise.
1423 * exec.h (section_table_xfer_memory_partial): Update
1425 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1427 (gnu_xfer_partial): Likewise.
1428 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1429 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1430 (ia64_hpux_xfer_solib_got): Likewise.
1431 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1432 type of 'partial_len' to ULONGEST.
1433 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1434 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1435 (linux_nat_xfer_partial): Likewise.
1436 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1437 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1438 * monitor.c (monitor_xfer_memory): Likewise.
1439 (monitor_xfer_partial): Likewise.
1440 * procfs.c (procfs_xfer_partial): Likewise.
1441 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1442 * record-full.c (record_full_xfer_partial): Likewise.
1443 (record_full_core_xfer_partial): Likewise.
1444 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1445 (gdbsim_xfer_partial): Likewise.
1446 * remote.c (remote_write_bytes_aux): Likewise. All callers
1448 (remote_write_bytes, remote_read_bytes): Likewise. All
1450 (remote_flash_erase): Likewise. All callers updated.
1451 (remote_write_qxfer): Likewise. All callers updated.
1452 (remote_read_qxfer): Likewise. All callers updated.
1453 (remote_xfer_partial): Likewise.
1454 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1455 (rs6000_xfer_shared_libraries): Likewise.
1456 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1457 (sol_thread_xfer_partial): Likewise.
1458 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1459 (sparc_xfer_partial): Likewise.
1460 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1462 (spu_xfer_partial): Likewise.
1463 * spu-multiarch.c (spu_xfer_partial): Likewise.
1464 * tracepoint.c (tfile_xfer_partial): Likewise.
1465 * windows-nat.c (windows_xfer_memory): Likewise.
1466 (windows_xfer_shared_libraries): Likewise.
1467 (windows_xfer_partial): Likewise.
1468 * valprint.c: Replace 'target_xfer_error' with
1469 'target_xfer_status' in comments.
1471 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1473 Checked in by Joel Brobecker <brobecker@adacore.com>.
1474 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1476 2014-02-11 Joel Brobecker <brobecker@adacore.com>
1478 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1479 function parameters.
1481 2014-02-10 Will Newton <will.newton@linaro.org>
1483 * elfread.c (elf_rel_plt_read): Look for a .got section if
1484 looking up .got.plt fails.
1485 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1486 on address passed to elf_gnu_ifunc_record_cache.
1487 (elf_gnu_ifunc_resolve_addr): Likewise.
1488 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1490 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1492 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1493 (X_RETTURN): New macro.
1494 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1496 * sparc64-tdep.c (sparc64_init_abi): Hook
1497 sparc_in_function_epilogue_p.
1499 2014-02-10 Gary Benson <gbenson@redhat.com>
1501 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1502 Rename name_matcher to symbol_matcher.
1504 2014-02-10 Gary Benson <gbenson@redhat.com>
1506 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1507 Use expand_symtabs_file_matcher_ftype and
1508 expand_symtabs_symbol_matcher_ftype.
1510 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1512 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1513 (struct ada_symbol_cache): New.
1514 (ada_free_symbol_cache): Forward declare.
1515 (struct ada_pspace_data): New.
1516 (ada_pspace_data_handle): New static global.
1517 (get_ada_pspace_data, ada_pspace_data_cleanup)
1518 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1519 (cache_space, cache): Delete, now folded inside struct
1521 (ada_get_symbol_cache): New function.
1522 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1524 (_initialize_ada_language): Remove initialization of cache_space.
1525 Move call to observer_attach_inferior_exit up, grouping it
1526 with the other observer registrations inside this function.
1527 Rename command to be more general. Add call to
1528 register_program_space_data_with_cleanup.
1530 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1532 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1533 ada_new_objfile_observer.
1534 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1535 (_initialize_tasks): Update uses of ada_new_objfile_observer
1536 and ada_tasks_normal_stop_observer.
1538 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1540 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1541 returned by the 'Length attribute to integer.
1543 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1545 * ada-lang.c (_initialize_ada_language): Initialize
1546 cache_space obstack.
1548 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1550 * ada-lang.c (HASH_SIZE): New macro.
1551 (struct cache_entry): New type.
1552 (cache_space, cache): New static globals.
1553 (ada_clear_symbol_cache, find_entry): New functions.
1554 (lookup_cached_symbol, cache_symbol): Implement.
1555 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1556 (_initialize_ada_language): Attach ada_new_objfile_observer
1557 and ada_free_objfile_observer.
1559 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1561 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1562 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1563 struct block * parameter.
1564 (ada_lookup_symbol_list_worker): Constify local variable "block".
1565 Remove cast which is no longer necessary.
1567 2014-02-10 Doug Evans <xdje42@gmail.com>
1569 Add Guile as an extension language.
1570 * NEWS: Mention Guile scripting.
1571 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1572 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1573 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1574 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1575 (CLIBS): Add GUILE_LIBS.
1576 (install-guile): New rule.
1577 (guile.o): New rule.
1578 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1579 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1580 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1581 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1582 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1583 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1584 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1585 * configure.ac: New option --with-guile.
1586 * configure: Regenerate.
1587 * config.in: Regenerate.
1588 * auto-load.c: Remove #include "python/python.h". Add #include
1589 "gdb/section-scripts.h".
1590 (source_section_scripts): Handle Guile scripts.
1591 (_initialize_auto_load): Add name of Guile objfile script to
1592 scripts-directory help text.
1593 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1594 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1595 (struct breakpoint): New member scm_bp_object.
1596 * defs.h (enum command_control_type): New value guile_control.
1597 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1599 (show_user): Update comment.
1600 (_initialize_cli_cmds): Update help text for "show user". Update help
1601 text for max-user-call-depth.
1602 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1604 (multi_line_command_p): Add guile_control.
1605 (print_command_lines): Handle guile_control.
1606 (execute_control_command, recurse_read_control_structure): Ditto.
1607 (process_next_line): Recognize "guile" commands.
1608 * disasm.c (gdb_disassemble_info): Make non-static.
1609 * disasm.h: #include "dis-asm.h".
1610 (struct gdbarch): Add forward decl.
1611 (gdb_disassemble_info): Declare.
1612 * extension.c: #include "guile/guile.h".
1613 (extension_languages): Add guile.
1614 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1615 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1616 * gdbtypes.c (get_unsigned_type_max): New function.
1617 (get_signed_type_minmax): New function.
1618 * gdbtypes.h (get_unsigned_type_max): Declare.
1619 (get_signed_type_minmax): Declare.
1620 * guile/README: New file.
1621 * guile/guile-internal.h: New file.
1622 * guile/guile.c: New file.
1623 * guile/guile.h: New file.
1624 * guile/scm-arch.c: New file.
1625 * guile/scm-auto-load.c: New file.
1626 * guile/scm-block.c: New file.
1627 * guile/scm-breakpoint.c: New file.
1628 * guile/scm-disasm.c: New file.
1629 * guile/scm-exception.c: New file.
1630 * guile/scm-frame.c: New file.
1631 * guile/scm-gsmob.c: New file.
1632 * guile/scm-iterator.c: New file.
1633 * guile/scm-lazy-string.c: New file.
1634 * guile/scm-math.c: New file.
1635 * guile/scm-objfile.c: New file.
1636 * guile/scm-ports.c: New file.
1637 * guile/scm-pretty-print.c: New file.
1638 * guile/scm-safe-call.c: New file.
1639 * guile/scm-string.c: New file.
1640 * guile/scm-symbol.c: New file.
1641 * guile/scm-symtab.c: New file.
1642 * guile/scm-type.c: New file.
1643 * guile/scm-utils.c: New file.
1644 * guile/scm-value.c: New file.
1645 * guile/lib/gdb.scm: New file.
1646 * guile/lib/gdb/boot.scm: New file.
1647 * guile/lib/gdb/experimental.scm: New file.
1648 * guile/lib/gdb/init.scm: New file.
1649 * guile/lib/gdb/iterator.scm: New file.
1650 * guile/lib/gdb/printing.scm: New file.
1651 * guile/lib/gdb/types.scm: New file.
1652 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1653 (VPATH): Add $(GUILE_SRCDIR).
1654 (GUILE_DIR): New variable.
1655 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1656 (all): Add stamp-guile dependency.
1657 (stamp-guile): New rule.
1658 (clean-guile, install-guile, uninstall-guile): New rules.
1659 (install-only): Add install-guile dependency.
1660 (uninstall): Add uninstall-guile dependency.
1661 (clean): Add clean-guile dependency.
1663 2014-02-09 Doug Evans <xdje42@gmail.com>
1665 Revert this patch (which I approved, mea culpa).
1667 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1669 * Makefile.in (all-lib): Remove.
1670 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1672 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1674 Fix Python stack corruption.
1675 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1678 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1680 * Makefile.in (all-lib): Remove.
1681 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1683 2014-02-07 Doug Evans <dje@google.com>
1685 * extension-priv.h (extension_language_script_ops): Add comment.
1686 (extension_language_ops): Add comment.
1687 (active_ext_lang_state): Fix typo in comment.
1689 2014-02-07 Pedro Alves <palves@redhat.com>
1691 * infrun.c (handle_signal_stop) <signal arrives while stepping
1692 over a breakpoint>: Switch back to the stepping thread.
1694 2014-02-07 Yao Qi <yao@codesourcery.com>
1696 * target.c (target_xfer_partial): Return zero if LEN is zero.
1698 2014-02-07 Yao Qi <yao@codesourcery.com>
1700 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1701 (ld_so_xfer_auxv): Likewise.
1702 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1703 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1704 * corelow.c (core_xfer_partial): Likewise.
1705 * ctf.c (ctf_xfer_partial): Likewise.
1706 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1707 (darwin_xfer_partial): Likewise.
1708 * exec.c (exec_xfer_partial): Likewise.
1709 * gnu-nat.c (gnu_xfer_partial): Likewise.
1710 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1711 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1712 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1713 * linux-nat.c (linux_xfer_siginfo): Likewise.
1714 (linux_proc_xfer_spu): Likewise.
1715 * procfs.c (procfs_xfer_partial): Likewise.
1716 * record-full.c (record_full_xfer_partial): Likewise.
1717 (record_full_core_xfer_partial): Likewise.
1718 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1719 * remote.c (remote_write_qxfer): Likewise.
1720 (remote_write_qxfer, remote_read_qxfer): Likewise.
1721 (remote_xfer_partial): Likewise.
1722 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1723 (rs6000_xfer_shared_libraries): Likewise.
1724 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1725 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1726 (spu_xfer_partial): Likewise.
1727 * target.c (memory_xfer_partial_1): Likewise.
1728 * tracepoint.c (tfile_xfer_partial): Likewise.
1729 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1730 (windows_xfer_partial): Likewise.
1732 2014-02-07 Yao Qi <yao@codesourcery.com>
1734 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1736 (core_xfer_shared_libraries_aix): Likewise.
1737 * gdbarch.c, gdbarch.h: Regenerated.
1738 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1739 ULONGEST. Change 'len_avail' type to ULONGEST.
1740 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1741 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1743 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1745 2014-02-07 Yao Qi <yao@codesourcery.com>
1747 * corefile.c (memory_error): Get 'exception' from ERR and pass
1748 'exception' to throw_error.
1750 2014-02-06 Doug Evans <xdje42@gmail.com>
1752 * configure.ac (libpython checking): Remove all but python.o from
1753 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1754 * configure: Regenerate.
1756 * Makefile.in (SFILES): Add extension.c.
1757 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1758 (COMMON_OBS): Add extension.o.
1759 * extension.h: New file.
1760 * extension-priv.h: New file.
1761 * extension.c: New file.
1763 * python/python-internal.h: #include "extension.h".
1764 (gdbpy_auto_load_enabled): Declare.
1765 (gdbpy_apply_val_pretty_printer): Declare.
1766 (gdbpy_apply_frame_filter): Declare.
1767 (gdbpy_preserve_values): Declare.
1768 (gdbpy_breakpoint_cond_says_stop): Declare.
1769 (gdbpy_breakpoint_has_cond): Declare.
1770 (void source_python_script_for_objfile): Delete.
1771 * python/python.c: #include "extension-priv.h".
1772 Delete inclusion of "observer.h".
1773 (extension_language_python): Moved here and renamed from
1774 script_language_python in py-auto-load.c.
1775 Redefined to be of type extension_language_defn.
1776 (python_extension_script_ops): New global.
1777 (python_extension_ops): New global.
1778 (struct python_env): New member previous_active.
1779 (restore_python_env): Call restore_active_ext_lang.
1780 (ensure_python_env): Call set_active_ext_lang.
1781 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1783 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1785 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1787 (gdbpy_eval_from_control_command): Renamed from
1788 eval_python_from_control_command, made static. New arg extlang.
1789 (gdbpy_source_script) Renamed from source_python_script, made static.
1791 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1792 result to int. New arg extlang.
1793 (gdbpy_source_objfile_script): Renamed from
1794 source_python_script_for_objfile, made static. New arg extlang.
1795 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1796 static. New args extlang, extlang_printers. Change result type to
1798 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1799 static. New arg extlang. Rename arg printers to extlang_printers
1800 and change type to ext_lang_type_printers *.
1801 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1802 static. Replace argument arg with extlang, extlang_printers.
1803 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1804 (!HAVE_PYTHON, source_python_script): Delete.
1805 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1806 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1807 (!HAVE_PYTHON, start_type_printers): Delete.
1808 (!HAVE_PYTHON, apply_type_printers): Delete.
1809 (!HAVE_PYTHON, free_type_printers): Delete.
1810 (_initialize_python): Delete call to observer_attach_before_prompt.
1811 (finalize_python): Set/restore active extension language.
1812 (gdbpy_finish_initialization) Renamed from
1813 finish_python_initialization, made static. New arg extlang.
1814 (gdbpy_initialized): New function.
1815 * python/python.h: #include "extension.h". Delete #include
1816 "value.h", "mi/mi-cmds.h".
1817 (extension_language_python): Declare.
1818 (GDBPY_AUTO_FILE_NAME): Delete.
1819 (enum py_bt_status): Moved to extension.h and renamed to
1821 (enum frame_filter_flags): Moved to extension.h.
1822 (enum py_frame_args): Moved to extension.h and renamed to
1823 ext_lang_frame_args.
1824 (finish_python_initialization): Delete.
1825 (eval_python_from_control_command): Delete.
1826 (source_python_script): Delete.
1827 (apply_val_pretty_printer): Delete.
1828 (apply_frame_filter): Delete.
1829 (preserve_python_values): Delete.
1830 (gdbpy_script_language_defn): Delete.
1831 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1832 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1834 * auto-load.c: #include "extension.h".
1835 (GDB_AUTO_FILE_NAME): Delete.
1836 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1837 (script_language_gdb): Delete, moved to extension.c and renamed to
1838 extension_language_gdb.
1839 (source_gdb_script_for_objfile): Delete.
1840 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1841 (loaded_script): Change type of language member to
1842 struct extension_language_defn *.
1843 (init_loaded_scripts_info): Initialize
1844 unsupported_script_warning_printed.
1845 (maybe_add_script): Make static. Change type of language arg to
1846 struct extension_language_defn *.
1847 (clear_section_scripts): Reset unsupported_script_warning_printed.
1848 (auto_load_objfile_script_1): Rewrite to use extension language API.
1849 (auto_load_objfile_script): Make public. Remove support-compiled-in
1850 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1851 (source_section_scripts): Rewrite to use extension language API.
1852 (load_auto_scripts_for_objfile): Rewrite to use
1853 auto_load_scripts_for_objfile.
1854 (collect_matching_scripts_data): Change type of language member to
1855 struct extension_language_defn *.
1856 (auto_load_info_scripts): Change type of language arg to
1857 struct extension_language_defn *.
1858 (unsupported_script_warning_print): New function.
1859 (script_not_found_warning_print): Make static.
1860 (_initialize_auto_load): Rewrite construction of scripts-directory
1862 * auto-load.h (struct objfile): Add forward decl.
1863 (struct script_language): Delete.
1864 (struct auto_load_pspace_info): Add forward decl.
1865 (struct extension_language_defn): Add forward decl.
1866 (maybe_add_script): Delete.
1867 (auto_load_objfile_script): Declare.
1868 (script_not_found_warning_print): Delete.
1869 (auto_load_info_scripts): Update prototype.
1870 (auto_load_gdb_scripts_enabled): Declare.
1871 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1872 auto_load_python_scripts_enabled and made public.
1873 (script_language_python): Delete, moved to python.c.
1874 (gdbpy_script_language_defn): Delete.
1875 (info_auto_load_python_scripts): Update to use
1876 extension_language_python.
1878 * breakpoint.c (condition_command): Replace call to
1879 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1880 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1881 with call to breakpoint_ext_lang_cond_says_stop.
1882 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1883 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1884 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1885 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1887 (local_setattro): Print name of extension language with existing
1890 * valprint.c (val_print, value_print): Update to call
1891 apply_ext_lang_val_pretty_printer.
1892 * cp-valprint.c (cp_print_value): Update call to
1893 apply_ext_lang_val_pretty_printer.
1894 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1895 (gdbpy_apply_val_pretty_printer): Renamed from
1896 apply_val_pretty_printer. New arg extlang.
1897 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1899 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1900 extension language API.
1901 * cli/cli-script.c (execute_control_command): Update to call
1902 eval_ext_lang_from_control_command.
1904 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
1905 enum ext_lang_bt_status values. Update call to
1906 apply_ext_lang_frame_filter.
1907 (mi_cmd_stack_list_locals): Ditto.
1908 (mi_cmd_stack_list_args): Ditto.
1909 (mi_cmd_stack_list_variables): Ditto.
1910 * mi/mi-main.c: Delete #include "python/python-internal.h".
1911 Add #include "extension.h".
1912 (mi_cmd_list_features): Replace reference to python internal variable
1913 gdb_python_initialized with call to ext_lang_initialized_p.
1915 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
1916 Update to use enum ext_lang_frame_args. Update to call
1917 apply_ext_lang_frame_filter.
1918 * python/py-framefilter.c (extract_sym): Update to use enum
1920 (extract_value, py_print_type, py_print_value): Ditto.
1921 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
1922 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
1923 (py_print_frame): Ditto.
1924 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
1925 New arg extlang. Update to use enum ext_lang_bt_status.
1927 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
1928 finish_python_initialization. Replace with call to
1929 finish_ext_lang_initialization.
1931 * typeprint.c (do_free_global_table): Update to call
1932 free_ext_lang_type_printers.
1933 (create_global_typedef_table): Update to call
1934 start_ext_lang_type_printers.
1935 (find_global_typedef): Update to call apply_ext_lang_type_printers.
1936 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
1937 (type_print_options): Change type of global_printers from "void *"
1938 to "struct ext_lang_type_printers *".
1940 * value.c (preserve_values): Update to call preserve_ext_lang_values.
1941 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
1942 (gdbpy_preserve_values): Renamed from preserve_python_values.
1944 (!HAVE_PYTHON, preserve_python_values): Delete.
1946 * utils.c (quit_flag): Delete, moved to extension.c.
1947 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
1950 * eval.c: Delete #include "python/python.h".
1951 * main.c: Delete #include "python/python.h".
1953 * defs.h: Update comment.
1955 2014-02-06 Joel Brobecker <brobecker@adacore.com>
1959 2014-02-05 Mark Kettenis <kettenis@gnu.org>
1961 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
1964 2014-02-05 Yao Qi <yao@codesourcery.com>
1966 * remote.c (remote_pass_signals): Remove local 'buf' and use
1968 (remote_program_signals): Likewise.
1970 2014-02-05 Yao Qi <yao@codesourcery.com>
1972 * ctf.c: Include "inferior.h" and "gdbthread.h".
1973 (CTF_PID): A new macro.
1974 (ctf_open): Call inferior_appeared and add_thread_silent.
1975 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
1976 (ctf_thread_alive): New function.
1977 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
1979 2014-02-05 Yao Qi <yao@codesourcery.com>
1983 2013-05-24 Yao Qi <yao@codesourcery.com>
1985 * tracepoint.c (TFILE_PID): Remove.
1986 (tfile_open): Don't add thread and inferior.
1987 (tfile_close): Don't set 'inferior_ptid'. Don't call
1988 exit_inferior_silent.
1989 (tfile_thread_alive): Remove.
1990 (init_tfile_ops): Don't set field 'to_thread_alive' of
1993 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
1995 * remote.c (remote_start_remote): Call remote_check_symbols even
1996 if only symbol-file (not file) has been given.
1998 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2000 * gdbarch.sh (skip_entrypoint): New callback.
2001 * gdbarch.c, gdbarch.h: Regenerate.
2002 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2003 * infrun.c (fill_in_stop_func): Likewise.
2004 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2005 (ppc_elfv2_elf_make_msymbol_special): New function.
2006 (ppc_elfv2_skip_entrypoint): Likewise.
2007 (ppc_linux_init_abi): Install them for ELFv2.
2009 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2011 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2012 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2013 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2014 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2015 structures returned in GPRs.
2017 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2019 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2020 offset to the stack parameter list for the ELFv2 ABI.
2022 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2024 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2025 set_gdbarch_convert_from_func_ptr_addr and
2026 set_gdbarch_elf_make_msymbol_special for ELFv1.
2027 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2028 function descriptors on ELFv1.
2029 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2030 set up r12 at function entry.
2032 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2034 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2035 (struct gdbarch_tdep): New member elf_abi.
2037 * rs6000-tdep.c: Include "elf/ppc64.h".
2038 (rs6000_gdbarch_init): Detect ELF ABI version.
2040 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2042 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2043 within a register pair holding a DFP 128-bit value on little-endian.
2044 (ppc64_sysv_abi_return_value_base): Likewise.
2045 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2046 (dfp_pseudo_register_write): Likewise.
2048 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2050 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2051 offset on little-endian when passing _Decimal32.
2052 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2054 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2056 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2057 of the overlapped FP register within the VSX register on little-
2059 (efpr_pseudo_register_write): Likewise.
2061 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2063 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2064 offset on little-endian when passing small structures.
2066 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2068 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2069 (struct ppc64_sysv_argpos): New data structure.
2070 (ppc64_sysv_abi_push_float): Remove.
2071 (ppc64_sysv_abi_push_val): New function.
2072 (ppc64_sysv_abi_push_integer): Likewise.
2073 (ppc64_sysv_abi_push_freg): Likewise.
2074 (ppc64_sysv_abi_push_vreg): Likewise.
2075 (ppc64_sysv_abi_push_param): Likewise.
2076 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2077 (ppc64_sysv_abi_return_value_base): New function.
2078 (ppc64_sysv_abi_return_value): Refactor to use it.
2080 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2082 * NEWS: Document new target powerpc64le-*-linux*.
2084 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2086 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2087 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2089 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2090 register set used in ELF core dumps. Add floating-point register set.
2092 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2094 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2095 dwarf2_to_gdb[] table using symbolic constants. Adjust
2096 penultimate entry from number representing the PC register
2097 to symbolic constant representing the MDR register. Add
2098 constant for the PC register to the end of the table.
2100 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2102 * bsd-kvm.c: Include <sys/param.h>
2104 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2106 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2108 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2110 * ada-lang.h (clear_ada_sym_cache): Delete.
2112 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2114 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2116 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2118 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2119 the sigreturn register save area only if the syscall is
2122 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2124 * valops.c (value_slice): Minor reformatting.
2126 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2128 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2130 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2132 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2134 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2135 (ada_ignore_descriptive_types_p): New static global.
2136 (find_parallel_type_by_descriptive_type): Return immediately
2137 if ada_ignore_descriptive_types_p is set.
2138 (_initialize_ada_language): Register new commands "maintenance
2139 set ada", "maintenance show ada", "maintenance set ada
2140 ignore-descriptive-types" and "maintenance show ada
2141 ignore-descriptive-types".
2142 * NEWS: Add entry for new "maint ada set/show
2143 ignore-descriptive-types" commands.
2145 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2147 * record-btrace.c (record_btrace_close): Call btrace_teardown
2150 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2152 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2155 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2157 * ada-typeprint (type_is_full_subrange_of_target_type):
2159 (print_range): Add parameter bounds_prefered_p. If not set,
2160 try printing range types using the name of their base type.
2161 (print_range_type): Add parameter bounds_prefered_p.
2162 Use it in call to print_range.
2163 (print_array_type, ada_print_type): Update calls to print_range
2164 and print_range_type.
2166 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2168 * ada-typeprint.c (print_array_type, print_choices, print_range)
2169 (print_range_bound, print_dynamic_range_bound, print_range_type):
2172 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2174 * ada-typeprint.c (print_range): Add missing empty line
2175 after local declaration.
2177 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2179 * ada-valprint.c (print_optional_low_bound): Get index_type's
2180 target type for as long as it is a TYPE_CODE_RANGE.
2182 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2184 * procfs.c (procfs_make_note_section): Remove assertion and
2187 2014-01-24 Yao Qi <yao@codesourcery.com>
2189 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2190 * corelow.c (get_core_siginfo): Likewise.
2192 2014-01-24 Yao Qi <yao@codesourcery.com>
2194 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2195 ULONGEST. Don't check 'len' is negative.
2196 (remote_write_bytes): Change type of 'len' to ULONGEST.
2198 2014-01-23 Tom Tromey <tromey@redhat.com>
2201 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2202 Handle exception from frame.block.
2203 (FrameVars.fetch_frame_locals): Likewise.
2205 2014-01-23 Tom Tromey <tromey@redhat.com>
2208 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2209 on a NULL pointer. Move "goto error" to correct place.
2211 2014-01-23 Tom Tromey <tromey@redhat.com>
2214 * python/py-framefilter.c (apply_frame_filter): Call
2215 ensure_python_env after computing gdbarch.
2217 2014-01-23 Yao Qi <yao@codesourcery.com>
2219 * target.c (raw_memory_xfer_partial): Change argument type
2220 from void * to gdb_byte *.
2221 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2223 2014-01-22 Doug Evans <dje@google.com>
2225 New gdbserver option --debug-format=timestamp.
2228 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2230 * syscalls/s390x-linux.xml: New file.
2231 * syscalls/s390-linux.xml: New file.
2232 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2233 (XML_SYSCALL_FILENAME_S390X): Likewise.
2234 (op_svc): New enum value for SVC opcode.
2235 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2236 (s390_linux_get_syscall_number): New function.
2237 (s390_gdbarch_init): Register '*get_syscall_number' and the
2238 syscall xml file name.
2239 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2240 "s390-linux.xml" and "s390x-linux.xml".
2241 * NEWS: Announce new feature.
2243 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2245 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2247 2014-01-22 Pedro Alves <palves@redhat.com>
2249 * xtensa-config.c: Include defs.h.
2251 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2253 * common/common-utils.h: Add "ARI:" comment beside __func__
2256 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2258 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2259 documentation a bit.
2261 2014-01-21 Roland McGrath <mcgrathr@google.com>
2263 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2264 * configure: Regenerate.
2265 * aclocal.m4: Regenerate.
2266 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2267 New substituted variables.
2268 (install-strip): New target.
2269 (INSTALL_SCRIPT): New substituted variable.
2270 (FLAGS_TO_PASS): Add it.
2271 (install-only): Use $(INSTALL_SCRIPT) rather than
2272 $(INSTALL_PROGRAM) for gcore.
2274 2014-01-20 Tom Tromey <tromey@redhat.com>
2276 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2279 2014-01-20 Tom Tromey <tromey@redhat.com>
2281 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2282 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2283 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2284 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2285 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2286 (struct cmd_list_element) <flags>: Remove.
2287 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2288 doc_allocated>: New fields.
2289 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2291 * maint.c (maintenance_do_deprecate): Update.
2292 * top.c (execute_command): Update.
2294 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2296 * xtensa-linux-nat.c: Include asm/ptrace.h.
2298 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2300 * Makefile.in (SFILES): Add d-support.c.
2301 (COMMON_OBS): Add d-support.o.
2302 * d-lang.h (d_parse_symbol): Add comment, now defined in
2304 * d-lang.c (parse_call_convention)
2305 (parse_attributes, parse_function_types)
2306 (parse_function_args, parse_type, parse_identifier)
2307 (call_convention_p, d_parse_symbol): Move functions to ...
2308 * d-support.c: ... New file.
2310 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2312 * d-lang.h (d_parse_symbol): Add declaration.
2313 * d-lang.c (extract_identifiers)
2314 (extract_type_info): Remove functions.
2315 (parse_call_convention, parse_attributes)
2316 (parse_function_types, parse_function_args)
2317 (parse_type, parse_identifier, call_convention_p)
2318 (d_parse_symbol): New functions.
2319 (d_demangle): Use d_parse_symbol to demangle D symbols.
2321 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2323 * d-lang.h (struct builtin_d_type): New data type.
2324 (builtin_d_type): Add declaration.
2325 * d-lang.c (d_language_arch_info, build_d_types)
2326 (builtin_d_type): New functions.
2327 (enum d_primitive_types): New data type.
2328 (d_language_defn): Change c_language_arch_info to
2329 d_language_arch_info.
2330 (d_type_data): New static variable.
2331 (_initialize_d_language): Initialize d_type_data.
2333 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2335 * d-lang.h (d_main_name): Add declaration.
2336 * d-lang.c (d_main_name): New function.
2337 * symtab.c (find_main_name): Add call to d_main_name.
2339 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2341 * d-lang.c (d_language_defn): Change macro_expansion_c to
2344 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2346 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2348 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2350 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2351 gdb_exception" declaration.
2352 * remote.c (getpkt_or_notif_sane): Likewise.
2354 2014-01-17 Doug Evans <dje@google.com>
2356 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2357 function, contents of dirnames_to_char_ptr_vec_append moved here.
2358 (delim_string_to_char_ptr_vec): New function.
2359 (dirnames_to_char_ptr_vec_append): Rewrite.
2360 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2362 2014-01-17 Doug Evans <dje@google.com>
2364 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2366 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2367 #include "common-utils.h".
2368 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2369 * common/vec.h (VEC_ASSERT_PASS): Update.
2370 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2371 (MACH_CHECK_ERROR): Update.
2373 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2375 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2377 * gdbarch.h: Regenerate.
2379 2014-01-16 Tom Tromey <tromey@redhat.com>
2381 * value.c (struct value) <regnum>: Move earlier.
2383 2014-01-16 Tom Tromey <tromey@redhat.com>
2385 * remote.c (extended_remote_create_inferior): Rename from
2386 extended_remote_create_inferior_1. Add "ops" argument. Remove
2389 2014-01-16 Pedro Alves <palves@redhat.com>
2391 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2392 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2395 2014-01-16 Doug Evans <dje@google.com>
2397 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2401 * btrace.h (btrace_thread_flag): New.
2402 (struct btrace_thread_info) <flags>: New.
2403 * record-btrace.c (record_btrace_resume_thread)
2404 (record_btrace_find_thread_to_move, btrace_step_no_history)
2405 (btrace_step_stopped, record_btrace_start_replaying)
2406 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2407 (record_btrace_find_resume_thread): New.
2408 (record_btrace_resume, record_btrace_wait): Extend.
2409 (record_btrace_can_execute_reverse): New.
2410 (record_btrace_open): Fail in non-stop mode.
2411 (record_btrace_set_replay): Split into this, ...
2412 (record_btrace_stop_replaying): ... this, ...
2413 (record_btrace_clear_histories): ... and this.
2414 (init_record_btrace_ops): Init to_can_execute_reverse.
2415 * NEWS: Announce it.
2417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2419 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2420 (forward_target_decr_pc_after_break)
2421 (target_decr_pc_after_break): New.
2422 * target.c (forward_target_decr_pc_after_break)
2423 (target_decr_pc_after_break): New.
2424 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2425 instead of gdbarch_decr_pc_after_break.
2426 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2427 instead of gdbarch_decr_pc_after_break.
2428 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2429 instead of gdbarch_decr_pc_after_break.
2430 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2431 instead of gdbarch_decr_pc_after_break.
2432 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2433 instead of gdbarch_decr_pc_after_break.
2434 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2435 instead of gdbarch_decr_pc_after_break.
2437 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2439 * btrace.c: Include regcache.h.
2440 (btrace_add_pc): New.
2441 (btrace_enable): Call btrace_add_pc.
2442 (btrace_is_empty): New.
2443 * btrace.h (btrace_is_empty): New.
2444 * record-btrace.c (require_btrace, record_btrace_info): Call
2447 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2449 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2450 Support delta reads.
2451 (linux_disable_btrace): Change return type.
2452 * common/linux-btrace.h (linux_read_btrace): Change parameters
2453 and return type to allow error reporting. Update users.
2454 (linux_disable_btrace): Change return type. Update users.
2455 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2457 (btrace_error): New.
2458 (btrace_block) <begin>: Comment on BEGIN == 0.
2459 * btrace.c (btrace_compute_ftrace): Start from the end of
2461 (btrace_stitch_trace, btrace_clear_history): New.
2462 (btrace_fetch): Read delta trace, return if replaying.
2463 (btrace_clear): Move clear history code to btrace_clear_history.
2464 (parse_xml_btrace): Throw an error if parsing failed.
2465 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2466 and return type to allow error reporting.
2467 (target_read_btrace): Change parameters and return type to allow
2469 * target.c (target_read_btrace): Update.
2470 * remote.c (remote_read_btrace): Support delta reads. Pass
2472 * NEWS: Announce it.
2474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2476 * record.h (record_btrace_frame_unwind)
2477 (record_btrace_tailcall_frame_unwind): New declarations.
2478 * dwarf2-frame: Include record.h
2479 (dwarf2_frame_cfa): Throw an error for btrace frames.
2480 * record-btrace.c: Include hashtab.h.
2481 (btrace_get_bfun_name): New.
2482 (btrace_call_history): Call btrace_get_bfun_name.
2483 (struct btrace_frame_cache): New.
2485 (bfcache_hash, bfcache_eq, bfcache_new): New.
2486 (btrace_get_frame_function): New.
2487 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2488 (record_btrace_frame_this_id): Compute own id.
2489 (record_btrace_frame_prev_register): Provide PC, throw_error
2490 for all other registers.
2491 (record_btrace_frame_sniffer): Detect btrace frames.
2492 (record_btrace_tailcall_frame_sniffer): New.
2493 (record_btrace_frame_dealloc_cache): New.
2494 (record_btrace_frame_unwind): Add new functions.
2495 (record_btrace_tailcall_frame_unwind): New.
2496 (_initialize_record_btrace): Allocate cache.
2497 * btrace.c (btrace_clear): Call reinit_frame_cache.
2498 * NEWS: Announce it.
2500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2502 * record-btrace.c (record_btrace_set_replay)
2503 (record_btrace_goto_begin, record_btrace_goto_end)
2504 (record_btrace_goto): New.
2505 (init_record_btrace_ops): Initialize them.
2506 * NEWS: Announce it.
2508 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2510 * record-btrace.c (record_btrace_find_new_threads)
2511 (record_btrace_thread_alive): New.
2512 (init_record_btrace_ops): Initialize to_find_new_threads and
2515 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2517 * record-btrace.c (record_btrace_resume): New.
2518 (record_btrace_wait): New.
2519 (init_record_btrace_ops): Initialize to_wait and to_resume.
2521 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2523 * record-btrace.c (record_btrace_xfer_partial)
2524 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2525 (record_btrace_allow_memory_access): New.
2526 (init_record_btrace_ops): Initialize new methods.
2527 * target.c (raw_memory_xfer_partial): Bail out if target reports
2528 that this memory is not available.
2530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2532 * target.h (target_ops) <to_insert_breakpoint>
2533 <to_remove_breakpoint>: Add target_ops parameter.
2534 (forward_target_insert_breakpoint): New.
2535 (forward_target_remove_breakpoint): New.
2536 (memory_remove_breakpoint, memory_insert_breakpoint):
2537 Add target_ops parameter.
2538 * target.c (target_insert_breakpoint): Split into this and ...
2539 (forward_target_insert_breakpoint): ... this.
2540 (target_remove_breakpoint): Split into this and ...
2541 (forward_target_remove_breakpoint): ... this.
2542 (debug_to_insert_breakpoint): Add target_ops parameter.
2543 Call forward_target_insert_breakpoint.
2544 (debug_to_remove_breakpoint): Add target_ops parameter.
2545 Call forward_target_remove_breakpoint.
2546 (update_current_target): Do not inherit or default to_insert_breakpoint
2547 and to_remove_breakpoint.
2548 * corelow.c (ignore): Add target_ops parameter.
2549 * exec.c (ignore): Add target_ops parameter.
2550 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2551 Add target_ops parameter.
2552 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2553 Add target_ops parameter.
2554 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2555 Add target_ops parameter.
2556 * record-full.c (record_full_beneath_to_insert_breakpoint)
2557 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2558 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2559 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2560 (record_full_core_remove_breakpoint): Add target_ops parameter.
2562 (record_full_beneath_to_insert_breakpoint_ops)
2563 (record_full_beneath_to_remove_breakpoint_ops)
2564 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2565 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2566 tmp_to_remove_breakpoint_ops,
2567 record_full_beneath_to_insert_breakpoint_ops, and
2568 record_full_beneath_to_remove_breakpoint_ops.
2569 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2570 (m32r_remove_breakpoint): Add target_ops parameter.
2571 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2572 Add target_ops parameter.
2573 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2574 Add target_ops parameter.
2576 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2577 Markus Metzger <markus.t.metzger@intel.com>
2579 * record-btrace.c: Include frame-unwind.h.
2580 (record_btrace_frame_unwind_stop_reason)
2581 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2582 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2584 (init_record_btrace_ops): Install it.
2586 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2588 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2591 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2593 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2596 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2598 * frame-unwind.c: Include target.h.
2599 (frame_unwind_try_unwinder): New function with code from ...
2600 (frame_unwind_find_by_frame): ... here. New variable
2601 unwinder_from_target, call also target_get_unwinder)
2602 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2603 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2604 * target.h (struct target_ops): New fields to_get_unwinder and
2605 to_get_tailcall_unwinder.
2606 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2610 * record-btrace.c (record_btrace_fetch_registers)
2611 (record_btrace_store_registers)
2612 (record_btrace_to_prepare_to_store): New.
2613 (init_record_btrace_ops): Add the above.
2615 2014-01-16 Tom Tromey <tromey@redhat.com>
2617 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2618 * target.h (struct target_ops) <to_prepare_to_store>: Add
2620 (target_prepare_to_store): Add argument.
2621 * target.c (debug_to_prepare_to_store): Add argument.
2622 (update_current_target): Update.
2623 * remote.c (remote_prepare_to_store): Add 'self' argument.
2624 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2625 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2626 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2627 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2629 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2630 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2631 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2632 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2633 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2635 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2637 * btrace.h (replay) <replay>: New.
2638 (btrace_is_replaying): New.
2639 * btrace.c (btrace_clear): Free replay iterator.
2640 (btrace_is_replaying): New.
2641 * record-btrace.c (record_btrace_is_replaying): New.
2642 (record_btrace_info): Print insn number if replaying.
2643 (record_btrace_insn_history): Start at replay position.
2644 (record_btrace_call_history): Start at replay position.
2645 (init_record_btrace_ops): Init to_record_is_replaying.
2647 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2649 * record-btrace.c (record_btrace_insn_history_range): Include
2651 (record_btrace_insn_history_from): Adjust range.
2652 (record_btrace_call_history_range): Include
2654 (record_btrace_call_history_from): Adjust range.
2655 * NEWS: Announce changes.
2657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2659 * record.h (enum record_print_flag)
2660 <record_print_indent_calls>: New.
2661 * record.c (get_call_history_modifiers): Recognize /c modifier.
2662 (_initialize_record): Document /c modifier.
2663 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2664 Reorder fields. Optionally indent the function name. Update
2666 * NEWS: Announce changes.
2668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2670 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2672 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2674 * btrace.c (ftrace_new_function): Start counting at one.
2675 * record-btrace.c (record_btrace_info): Adjust number of calls
2677 * NEWS: Announce it.
2679 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2681 * record-btrace.c (btrace_call_history_insn_range): Print
2682 insn range as [begin, end].
2684 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2686 * btrace.h (struct btrace_func_link): New.
2687 (enum btrace_function_flag): New.
2688 (struct btrace_inst): Rename to ...
2689 (struct btrace_insn): ...this. Update all users.
2690 (struct btrace_func) <ibegin, iend>: Remove.
2691 (struct btrace_func_link): New.
2692 (struct btrace_func): Rename to ...
2693 (struct btrace_function): ...this. Update all users.
2694 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2695 (number, level, flags>: New.
2696 (struct btrace_insn_iterator): Rename to ...
2697 (struct btrace_insn_history): ...this.
2699 (struct btrace_insn_iterator, btrace_call_iterator): New.
2700 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2701 (struct btrace_target_info) <begin, end, level>
2702 <insn_history, call_history>: New.
2703 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2704 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2705 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2706 (btrace_call_number, btrace_call_begin, btrace_call_end)
2707 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2708 (btrace_find_function_by_number, btrace_set_insn_history)
2709 (btrace_set_call_history): New.
2710 * btrace.c (btrace_init_insn_iterator)
2711 (btrace_init_func_iterator, compute_itrace): Remove.
2712 (ftrace_print_function_name, ftrace_print_filename)
2713 (ftrace_skip_file): Change
2715 (ftrace_init_func): Remove.
2716 (ftrace_debug): Use new btrace_function fields.
2717 (ftrace_function_switched): Also consider gaining and
2718 losing symbol information).
2719 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2720 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2721 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2723 (ftrace_new_function): Move. Remove debug print.
2724 (ftrace_update_lines, ftrace_update_insns): New.
2725 (ftrace_update_function): Check for call, ret, and jump.
2726 (compute_ftrace): Renamed to ...
2727 (btrace_compute_ftrace): ...this. Rewritten to compute call
2729 (btrace_fetch, btrace_clear): Updated.
2730 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2731 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2732 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2733 (btrace_call_number, btrace_call_begin, btrace_call_end)
2734 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2735 (btrace_find_function_by_number, btrace_set_insn_history)
2736 (btrace_set_call_history): New.
2737 * record-btrace.c (require_btrace): Use new btrace thread
2739 (record_btrace_info, btrace_insn_history)
2740 (record_btrace_insn_history, record_btrace_insn_history_range):
2741 Use new btrace thread info fields and new iterator.
2742 (btrace_func_history_src_line): Rename to ...
2743 (btrace_call_history_src_line): ...this. Use new btrace
2745 (btrace_func_history): Rename to ...
2746 (btrace_call_history): ...this. Use new btrace thread info
2747 fields and new iterator.
2748 (record_btrace_call_history, record_btrace_call_history_range):
2749 Use new btrace thread info fields and new iterator.
2751 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2753 * frame.h (frame_id_build_unavailable_stack_special): New.
2754 * frame.c (frame_id_build_unavailable_stack_special): New.
2756 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2758 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2759 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2760 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2762 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2763 (i386_insn_is_jump, i386_jmp_p): New.
2764 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2765 insn_is_jump to gdbarch.
2766 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2767 * gdbarch.h: Regenerated.
2768 * gdbarch.c: Regenerated.
2769 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2770 (default_insn_is_jump): New.
2771 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2772 (default_insn_is_jump): New.
2774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2776 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2778 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2779 (btrace_read_type) <btrace_read_new>: Change to ...
2780 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2784 * common/linux-btrace.c (linux_read_btrace): Free trace from
2787 2014-01-15 Doug Evans <dje@google.com>
2789 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2792 2014-01-15 Tom Tromey <tromey@redhat.com>
2794 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2795 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2796 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2797 (set_objfile_main_name): New function.
2798 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2799 language_of_main>: New fields.
2800 (set_objfile_main_name): Declare.
2801 * symtab.c (find_main_name): Loop over objfiles to find the main
2803 (set_main_name): Now static.
2804 (get_main_info): Add comment.
2805 * symtab.h (set_main_name): Don't declare.
2807 2014-01-15 Tom Tromey <tromey@redhat.com>
2809 * symtab.c (main_progspace_key): New global.
2810 (struct main_info): New.
2811 (name_of_main, language_of_main): Remove.
2812 (get_main_info, main_info_cleanup): New function.
2813 (set_main_name, main_name, main_language): Use get_main_info.
2814 (_initialize_symtab): Initialize main_progspace_key.
2816 2014-01-15 Tom Tromey <tromey@redhat.com>
2818 * dbxread.c (process_one_symbol): Update.
2819 * dwarf2read.c (read_partial_die): Update.
2820 * symfile.c (set_initial_language): Call main_language.
2821 * symtab.c (language_of_main): Now static.
2822 (set_main_name): Add 'lang' parameter.
2823 (find_main_name): Update.
2824 (main_language): New function.
2825 (symtab_observer_executable_changed): Update.
2826 * symtab.h (set_main_name): Update.
2827 (language_of_main): Remove.
2828 (main_language): Declare.
2830 2014-01-15 Tom Tromey <tromey@redhat.com>
2832 * symfile.c (init_entry_point_info): Use new "initialized" field.
2834 * objfiles.h (struct entry_point) <initialized>: New field.
2835 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2836 (struct objfile) <ei>: ...here. Remove.
2837 * objfiles.c (entry_point_address_query): Update.
2839 2014-01-15 Tom Tromey <tromey@redhat.com>
2841 * objfiles.c (entry_point_address_query): Relocate entry point
2843 (objfile_relocate1): Do not relocate entry point address.
2844 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2845 <the_bfd_section_index>: New field.
2846 * symfile.c (init_entry_point_info): Find the entry point's
2849 2014-01-15 Tom Tromey <tromey@redhat.com>
2851 * solib-frv.c (enable_break): Use entry_point_address_query.
2853 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2855 * NEWS: Add note on improved process record-replay on
2856 arm*-linux* targets.
2858 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2860 * arm-tdep.c (enum arm_record_result): New enum.
2861 (arm_record_unsupported_insn): New function.
2862 (arm_record_coproc_data_proc): Removed.
2863 (thumb2_record_ld_st_multiple): New function.
2864 (thumb2_record_ld_st_dual_ex_tbb): New function.
2865 (thumb2_record_data_proc_sreg_mimm): New function.
2866 (thumb2_record_ps_dest_generic): New function.
2867 (thumb2_record_branch_misc_cntrl): New function.
2868 (thumb2_record_str_single_data): New function.
2869 (thumb2_record_ld_mem_hints): New function.
2870 (thumb2_record_ld_word): New function.
2871 (thumb2_record_lmul_lmla_div): New function.
2872 (thumb2_record_decode_insn_handler): New function.
2873 (decode_insn): Add thumb32 instruction handlers.
2875 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2877 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2878 (struct arm_linux_record_tdep): Declare.
2879 (arm_canonicalize_syscall): New function.
2880 (arm_all_but_pc_registers_record): New function.
2881 (arm_linux_syscall_record): New function.
2882 (arm_linux_init_abi): Add syscall recording constructs.
2883 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2884 decoding. (arm_record_coproc_data_proc): Update arm syscall
2886 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2887 <arm_syscall_record>: New field.
2888 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2891 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2893 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2894 register for push instruction recording.
2896 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2898 * arm-tdep.c (thumb_record_misc): Update to correct logical
2899 error while recording ldm, ldmia and pop instructions.
2901 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2903 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
2905 2014-01-15 Pedro Alves <palves@redhat.com>
2907 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
2908 (go32_resume, go32_fetch_registers, store_register)
2909 (go32_store_registers, go32_prepare_to_store)
2910 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
2911 (go32_create_inferior, go32_can_run, go32_terminal_init)
2912 (go32_terminal_inferior, go32_terminal_ours): Delete forward
2915 2014-01-15 Tom Tromey <tromey@redhat.com>
2917 * target.h (async_callback_ftype): New typedef.
2918 (struct target_ops) <to_async>: Use it.
2920 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2922 * python/py-value.c (get_field_type): Remove unnecessary curly
2923 braces for single-statement if block.
2925 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2927 * python/py-type.c (convert_field): Add missing empty line
2930 2014-01-14 Doug Evans <dje@google.com>
2932 * symfile.h (expand_symtabs_matching): Renamed from
2933 expand_partial_symbol_names. Update prototype.
2934 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2935 * symfile.c (expand_symtabs_matching): Renamed from
2936 expand_partial_symbol_names. New args file_matcher, kind.
2937 Rename arg fun to symbol_matcher.
2938 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2939 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
2940 ada_expand_partial_symbol_name.
2941 (ada_make_symbol_completion_list): Update to call
2942 expand_symtabs_matching.
2943 (ada_add_global_exceptions): Call expand_symtabs_matching.
2944 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
2945 call map_symbol_filenames.
2946 * symtab.c (sources_info): Update to call map_symbol_filenames.
2947 (search_symbols): Call expand_symtabs_matching.
2948 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
2949 (default_make_symbol_completion_list_break_on): Update to call
2950 expand_symtabs_matching.
2951 (make_source_files_completion_list): Update to call
2952 map_symbol_filenames.
2954 2014-01-14 Doug Evans <dje@google.com>
2956 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
2957 (expand_symtabs_symbol_matcher_ftype): New typedef.
2958 (quick_symbol_functions.expand_symtabs_matching): Update to use.
2959 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2960 * symfile.c (expand_partial_symbol_names): Update to use
2961 expand_symtabs_symbol_matcher_ftype.
2962 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
2963 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2964 Arg name_matcher renamed to symbol_matcher.
2965 * psymtab.c (recursively_search_psymtabs): Update to use
2966 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
2968 (expand_symtabs_matching_via_partial): Update to use
2969 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2970 Arg name_matcher renamed to symbol_matcher.
2972 2014-01-14 Doug Evans <dje@google.com>
2974 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
2975 (map_partial_symbol_filenames): Ditto.
2976 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
2977 (map_partial_symbol_filenames): Ditto.
2978 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
2979 (map_partial_symbol_filenames): Ditto.
2980 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
2981 (map_partial_symbol_filenames): Ditto.
2982 * symtab.c: Delete #include "psymtab.h".
2984 2014-01-14 Pedro Alves <palves@redhat.com>
2985 Tom Tromey <tromey@redhat.com>
2987 * infrun.c (use_displaced_stepping): Use find_record_target
2988 instead of RECORD_IS_USED.
2989 (adjust_pc_after_break): Use record_full_is_used instead of
2991 * record-btrace.c (record_btrace_open): Call record_preopen
2992 instead of checking RECORD_IS_USED.
2993 * record-full.c (record_full_shortname)
2994 (record_full_core_shortname): New globals.
2995 (record_full_is_used): New function.
2996 (find_full_open): Call record_preopen instead of checking
2998 (init_record_full_ops): Set the target's shortname to
2999 record_full_shortname.
3000 (init_record_full_core_ops): Set the target's shortname to
3001 record_full_core_shortname.
3002 * record-full.h (record_full_is_used): Declare.
3003 * record.c (find_record_target): Make extern.
3004 (record_preopen): New function.
3005 * record.h (RECORD_IS_USED): Delete macro.
3006 (find_record_target, record_preopen): Declare functions.
3008 2014-01-14 Yao Qi <yao@codesourcery.com>
3010 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3011 'len''s type to ULONGEST.
3012 (core_xfer_shared_libraries_aix): Likewise.
3013 * gdbarch.c, gdbarch.h: Regenerated.
3014 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3015 Change type of 'len' to ULONGEST.
3016 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3017 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3019 2014-01-14 Yao Qi <yao@codesourcery.com>
3021 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3022 type of 'len' to ULONGEST.
3023 (linux_xfer_osdata_processgroups): Likewise.
3024 (linux_xfer_osdata_threads): Likewise.
3025 (linux_xfer_osdata_fds): Likewise.
3026 (linux_xfer_osdata_isockets): Likewise.
3027 (linux_xfer_osdata_shm): Likewise.
3028 (linux_xfer_osdata_sem): Likewise.
3029 (linux_xfer_osdata_msg): Likewise.
3030 (linux_common_xfer_osdata): Likewise.
3031 (struct osdata_type) <getter>: Likewise.
3032 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3035 2014-01-14 Yao Qi <yao@codesourcery.com>
3037 * target.h (target_xfer_partial_ftype): Update.
3038 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3040 * aix-thread.c (aix_thread_xfer_partial): Change type of
3041 argument 'len' to ULONGEST.
3042 * auxv.c (procfs_xfer_auxv): Likewise.
3043 (ld_so_xfer_auxv): Likewise.
3044 (memory_xfer_auxv): Likewise.
3045 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3046 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3047 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3048 * corelow.c (core_xfer_partial): Likewise.
3049 * ctf.c (ctf_xfer_partial): Likewise.
3050 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3052 (darwin_read_dyld_info): Likewise.
3053 (darwin_xfer_partial): Likewise.
3054 * exec.c (section_table_xfer_memory_partial): Likewise.
3055 (exec_xfer_partial): Likewise.
3056 * exec.h (section_table_xfer_memory_partial): Update
3058 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3059 instead of plongest.
3060 (gnu_xfer_partial): Likewise.
3061 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3062 (ia64_hpux_xfer_solib_got): Likewise.
3063 (ia64_hpux_xfer_partial): Likewise.
3064 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3065 * inf-ptrace.c (inf_ptrace_xfer_partial):
3066 * inf-ttrace.c (inf_ttrace_xfer_partial):
3067 * linux-nat.c (linux_xfer_siginfo): Likewise.
3068 (linux_nat_xfer_partial): Likewise.
3069 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3070 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3071 * monitor.c (monitor_xfer_memory): Likewise.
3072 (monitor_xfer_partial): Likewise.
3073 * procfs.c (procfs_xfer_partial): Likewise.
3074 * record-full.c (record_full_xfer_partial): Likewise.
3075 (record_full_core_xfer_partial): Likewise.
3076 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3077 instead of plongest.
3078 (gdbsim_xfer_partial): Likewise.
3079 * remote.c (remote_xfer_partial): Likewise.
3080 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3081 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3083 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3084 (rs6000_xfer_shared_libraries): Likewise.
3085 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3086 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3087 (sparc_xfer_partial): Likewise.
3088 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3089 (spu_xfer_partial): Likewise.
3090 * spu-multiarch.c (spu_xfer_partial): Likewise.
3091 * target.c (target_read_live_memory): Likewise.
3092 (memory_xfer_live_readonly_partial): Likewise.
3093 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3094 (target_xfer_partial, default_xfer_partial): Likewise.
3095 (current_xfer_partial): Likewise.
3096 * tracepoint.c (tfile_xfer_partial): Likewise.
3097 * windows-nat.c (windows_xfer_memory): Likewise. Call
3098 pulongest instead of plongest.
3099 (windows_xfer_partial): Likewise.
3100 (windows_xfer_shared_libraries): Likewise.
3102 2014-01-14 Yao Qi <yao@codesourcery.com>
3104 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3105 target_xfer_partial_ftype.
3107 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3111 * valops.c (value_struct_elt_bitpos): New function
3112 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3113 object to 'None' if the field name is an empty string ("").
3114 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3115 attribute to look for a field when 'name' is 'None'.
3116 (get_field_type): New function
3118 2014-01-13 Doug Evans <dje@google.com>
3121 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3122 (try_open_dwop_file): Ditto.
3123 * gdb_bfd.c: #include "vec.h".
3124 (bfdp): New typedef.
3125 (struct gdb_bfd_data): New member included_bfds.
3126 (gdb_bfd_unref): Unref all included bfds.
3127 (gdb_bfd_record_inclusion): New function.
3128 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3130 2014-01-13 Tom Tromey <tromey@redhat.com>
3132 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3134 2014-01-13 Tom Tromey <tromey@redhat.com>
3136 * defs.h (use_windows): Remove.
3137 * gdb.c (main): Update.
3138 * main.c (captured_main, gdb_main): Update.
3139 * main.h (struct captured_main_args) <use_windows>: Remove.
3140 * top.c (use_windows): Remove.
3142 2014-01-13 Tom Tromey <tromey@redhat.com>
3144 * defs.h (deprecated_flush_hook): Remove.
3146 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3149 * linux-thread-db.c (try_thread_db_load): Add parameter
3150 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3151 (try_thread_db_load_from_pdir_1): Move it there from here.
3152 (try_thread_db_load_from_sdir): Update caller.
3153 (try_thread_db_load_from_dir): Move it there from here.
3155 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3157 * regformats/regdat.sh: Always rewrite the register file.
3159 2014-01-13 Pedro Alves <palves@redhat.com>
3161 * Makefile.in (CHECK_HEADERS): New variable.
3162 (check-headers:): New rule.
3164 2014-01-13 Tom Tromey <tromey@redhat.com>
3166 * cli/cli-setshow.c (do_set_command): Update.
3167 * defs.h (deprecated_set_hook): Remove.
3168 * top.c (deprecated_set_hook): Remove.
3170 2014-01-13 Pedro Alves <palves@redhat.com>
3172 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3173 the tracepoint if the PC is a pseudo-register.
3175 2014-01-13 Tom Tromey <tromey@redhat.com>
3177 * defs.h (XCALLOC): Remove.
3178 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3179 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3180 * dwarf2loc.c (allocate_piece_closure): Likewise.
3181 * elfread.c (elf_symfile_segments): Likewise.
3182 (elf_symfile_segments): Likewise.
3183 * gdbtypes.c (copy_type_recursive): Likewise.
3184 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3185 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3186 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3188 * mt-tdep.c (mt_gdbarch_init): Likewise.
3189 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3191 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3192 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3193 * registry.c (registry_alloc_data): Likewise.
3194 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3195 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3196 * serial.c (serial_fdopen_ops): Likewise.
3197 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3199 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3200 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3203 2014-01-13 Tom Tromey <tromey@redhat.com>
3205 * defs.h (XMALLOC): Remove.
3206 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3207 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3208 * cli-out.c (struct ui_out *): Likewise.
3209 * cli/cli-dump.c (add_dump_command): Likewise.
3210 (add_dump_command): Likewise.
3211 * complaints.c (get_complaints): Likewise.
3212 (find_complaint): Likewise.
3213 * dwarf2-frame.c (execute_cfa_program): Likewise.
3214 * dwarf2read.c (abbrev_table_read_table): Likewise.
3215 * gdbarch.sh: Likewise.
3216 * gdbarch.c: Rebuild.
3217 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3218 * interps.c (interp_new): Likewise.
3219 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3220 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3221 * mi/mi-console.c (mi_console_file_new): Likewise.
3222 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3223 * mi/mi-out.c (mi_out_new): Likewise.
3224 * mi/mi-parse.c (mi_parse): Likewise.
3225 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3226 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3227 * observer.c (xalloc_observer_list_node): Likewise.
3228 * regcache.c (regcache_xmalloc_1): Likewise.
3229 * reggroups.c (reggroup_new): Likewise.
3230 (_initialize_reggroup): Likewise.
3231 * registry.c (register_data_with_cleanup): Likewise.
3232 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3233 * ser-base.c (serial_ttystate): Likewise.
3234 * ser-mingw.c (make_pipe_state): Likewise.
3235 * ser-pipe.c (pipe_open): Likewise.
3236 * serial.c (serial_open): Likewise.
3237 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3238 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3239 (tui_alloc_win_info): Likewise.
3240 (tui_add_content_elements): Likewise.
3241 * tui/tui-file.c (tui_file_new): Likewise.
3242 * tui/tui-out.c (tui_out_new): Likewise.
3243 * ui-file.c (mem_file_new): Likewise.
3244 * ui-out.c (push_level): Likewise.
3245 (make_cleanup_ui_out_end): Likewise.
3246 (append_header_to_list): Likewise.
3247 (ui_out_new): Likewise.
3248 * user-regs.c (user_reg_add_builtin): Likewise.
3250 2014-01-13 Tom Tromey <tromey@redhat.com>
3252 * defs.h (XZALLOC): Remove.
3253 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3254 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3255 (get_ada_tasks_inferior_data): Likewise.
3256 * auto-load.c (get_auto_load_pspace_data): Likewise.
3257 * auxv.c (get_auxv_inferior_data): Likewise.
3258 * bfd-target.c (target_bfd_reopen): Likewise.
3259 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3260 (deprecated_insert_raw_breakpoint): Likewise.
3261 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3262 * corelow.c (core_open): Likewise.
3263 * darwin-nat.c (darwin_check_new_threads): Likewise.
3264 (darwin_attach_pid): Likewise.
3265 * dummy-frame.c (dummy_frame_push): Likewise.
3266 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3267 * dwarf2loc.c (allocate_piece_closure): Likewise.
3268 * elfread.c (elf_symfile_segments): Likewise.
3269 * eval.c (ptrmath_type_p): Likewise.
3270 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3271 * gdbtypes.c (alloc_type_arch): Likewise.
3272 (alloc_type_instance): Likewise.
3273 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3274 * inf-child.c (inf_child_can_use_agent): Likewise.
3275 * inflow.c (get_inflow_inferior_data): Likewise.
3276 * infrun.c (save_infcall_suspend_state): Likewise.
3277 * jit.c (jit_reader_load): Likewise.
3278 (get_jit_objfile_data): Likewise.
3279 (get_jit_program_space_data): Likewise.
3280 (jit_object_open_impl): Likewise.
3281 (jit_symtab_open_impl): Likewise.
3282 (jit_block_open_impl): Likewise.
3283 (jit_frame_sniffer): Likewise.
3284 * linux-fork.c (add_fork): Likewise.
3285 * maint.c (make_command_stats_cleanup): Likewise.
3286 * objfiles.c (get_objfile_pspace_data): Likewise.
3287 * opencl-lang.c (struct lval_closure): Likewise.
3288 * osdata.c (osdata_start_osdata): Likewise.
3289 * progspace.c (new_address_space): Likewise.
3290 (add_program_space): Likewise.
3291 * remote-sim.c (get_sim_inferior_data): Likewise.
3292 * sh-tdep.c (sh_gdbarch_init): Likewise.
3293 * skip.c (Ignore): Likewise.
3294 (skip_delete_command): Likewise.
3295 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3296 (library_list_start_library): Likewise.
3297 (solib_aix_current_sos): Likewise.
3298 * solib-darwin.c (get_darwin_info): Likewise.
3299 (darwin_current_sos): Likewise.
3300 * solib-dsbt.c (get_dsbt_info): Likewise.
3301 * solib-ia64-hpux.c (new_so_list): Likewise.
3302 (ia64_hpux_get_solib_linkage_addr): Likewise.
3303 * solib-spu.c (append_ocl_sos): Likewise.
3304 (spu_current_sos): Likewise.
3305 * solib-svr4.c (get_svr4_info): Likewise.
3306 (svr4_keep_data_in_core): Likewise.
3307 (library_list_start_library): Likewise.
3308 (svr4_default_sos): Likewise.
3309 (svr4_read_so_list): Likewise.
3310 * solib-target.c (library_list_start_library): Likewise.
3311 (solib_target_current_sos): Likewise.
3312 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3313 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3314 * symfile.c (default_symfile_segments): Likewise.
3315 * target-descriptions.c (tdesc_data_init): Likewise.
3316 (tdesc_create_reg): Likewise.
3317 (struct tdesc_type *): Likewise.
3318 (tdesc_create_vector): Likewise.
3319 (tdesc_set_struct_size): Likewise.
3320 (struct tdesc_type *): Likewise.
3321 (tdesc_free_feature): Likewise.
3322 (tdesc_create_feature): Likewise.
3323 * windows-nat.c (windows_add_thread): Likewise.
3324 (windows_make_so): Likewise.
3325 * xml-support.c (gdb_xml_body_text): Likewise.
3326 (gdb_xml_create_parser_and_cleanup): Likewise.
3327 (xml_process_xincludes): Likewise.
3328 * xml-syscall.c (allocate_syscalls_info): Likewise.
3329 (syscall_create_syscall_desc): Likewise.
3331 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3333 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3334 function, with code from i386_stap_parse_special_token.
3335 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3336 (i386_stap_parse_special_token): Move code to the two functions
3339 2014-01-09 Pedro Alves <palves@redhat.com>
3340 Hui Zhu <hui@codesourcery.com>
3343 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3344 bp_err_string. Don't mark the location shlib_disabled if the
3345 error thrown wasn't a generic or memory error. Catch errors
3346 thrown while inserting breakpoints in overlayed code. Output
3347 error message of software breakpoints.
3348 * remote.c (remote_insert_breakpoint): If this breakpoint has
3349 target-side commands but this stub doesn't support Z0 packets,
3350 throw NOT_SUPPORTED_ERROR error.
3351 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3352 * target.h (target_insert_breakpoint): Extend comment.
3353 (target_insert_hw_breakpoint): Add comment.
3355 2014-01-08 Pedro Alves <palves@redhat.com>
3357 * remote.c (remote_add_thread): Add threads silently if starting
3359 (remote_notice_new_inferior): If in all-stop, and starting up,
3360 don't call notice_new_inferior.
3361 (get_current_thread): New function, factored out from ...
3362 (add_current_inferior_and_thread): ... this. Adjust.
3363 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3364 found any thread, then select the remote's current thread as GDB's
3367 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3369 * NEWS: Create a new section for the next release branch.
3370 Rename the section of the current branch, now that it has
3373 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3375 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3376 * version.in: Bump version to 7.7.50.DATE-cvs.
3378 2014-01-08 Yao Qi <yao@codesourcery.com>
3380 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3381 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3382 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3384 2014-01-08 Yao Qi <yao@codesourcery.com>
3386 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3387 return value of bfd_get_filename to symbol_file_add_from_bfd.
3389 2014-01-08 Pierre Muller <muller@sourceware.org>
3392 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3393 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3394 to prim_record_mininal_symbol_and_info.
3395 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3396 in call to prim_record_minimal_symbol_and_info.
3397 (read_pe_exported_syms): Set index field of section_data.
3399 2014-01-07 Andrew Pinski <apinski@cavium.com>
3401 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3402 * features/aarch64.c: Regenerate.
3404 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3406 * target.c (return_null): Define.
3407 (update_current_target): Use it instead of return_zero for
3408 functions that return a pointer.
3410 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3412 * source.c (add_path): Fix check for duplicated paths in the previously
3415 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3417 * ada-lang.c: Remove duplicated include statements.
3418 * alphabsd-nat.c: Ditto.
3419 * amd64-darwin-tdep.c: Ditto.
3420 * amd64fbsd-nat.c: Ditto.
3421 * auto-load.c: Ditto.
3423 * breakpoint.c: Ditto.
3425 * fork-child.c: Ditto.
3426 * gdb_usleep.c: Ditto.
3427 * i386-darwin-tdep.c: Ditto.
3428 * i386fbsd-nat.c: Ditto.
3430 * inferior.c: Ditto.
3432 * linux-nat.c: Ditto.
3433 * linux-tdep.c: Ditto.
3434 * m68kbsd-nat.c: Ditto.
3435 * m68klinux-nat.c: Ditto.
3436 * microblaze-tdep.c: Ditto.
3437 * mips-linux-tdep.c: Ditto.
3438 * mn10300-tdep.c: Ditto.
3439 * nto-tdep.c: Ditto.
3440 * opencl-lang.c: Ditto.
3442 * printcmd.c: Ditto.
3443 * regcache.c: Ditto.
3444 * remote-m32r-sdi.c: Ditto.
3448 * tilegx-linux-nat.c: Ditto.
3449 * tilegx-tdep.c: Ditto.
3450 * tracepoint.c: Ditto.
3452 * vaxbsd-nat.c: Ditto.
3453 * windows-nat.c: Ditto.
3454 * xtensa-tdep.c: Ditto.
3456 2014-01-07 Yao Qi <yao@codesourcery.com>
3458 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3460 2014-01-07 Yao Qi <yao@codesourcery.com>
3461 Joel Brobecker <brobecker@adacore.com>
3463 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3464 (pdc_write_regs): Likewise.
3465 (fetch_regs_kernel_thread): Likewise.
3466 (store_regs_kernel_thread): Likewise.
3468 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3470 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3471 tagged type objects to their actual type.
3473 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3475 * ada-valprint.c (print_field_values): Add "language" parameter.
3476 Update calls to print_field_values and print_variant_part.
3477 Pass new parameter "language" in call to val_print instead
3478 of "current_language". Replace call to ada_val_print by call
3480 (print_variant_part): Add "language" parameter.
3481 (ada_val_print_struct_union): Update call to print_field_values.
3483 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3485 * ada-valprint.c (ui_memcpy): Delete.
3486 (ada_print_floating): Update documentation. Add empty line
3487 between between function documentation and implementation.
3488 Delete variable "buffer". Use ui_file_xstrdup in place of
3489 ui_file_put. Minor adjustments following this change.
3491 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3493 * ada-valprint.c (ada_val_print_string): New function,
3494 extracted from ada_val_print_array.
3495 (ada_val_print_array): Replace extracted code by call
3496 to ada_val_print_string followed by a return. Move
3497 "else" branch to the function's top block.
3499 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3501 * ada-valprint.c (ada_val_print_array): Move implementation
3502 down. Rename parameter "offset" and "val" into "offset_aligned"
3503 and "original_value" respectively. Add parameter "offset".
3505 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3507 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3508 re-organizing the code. Change the "???" message printed
3509 when target type is a TYPE_CODE_UNDEF into
3510 "<ref to undefined type>".
3512 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3514 * ada-valprint.c (print_record): Delete, implementation inlined...
3515 (ada_val_print_struct_union): ... here. Remove call to
3516 ada_check_typedef in inlined implementation.
3518 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3520 * ada-valprint.c (ada_val_print_gnat_array): New function,
3521 extracted from ada_val_print_1;
3522 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3523 (ada_val_print_flt, ada_val_print_struct_union)
3524 (ada_val_print_ref): Likewise.
3525 (ada_val_print_1): Delete variables i and elttype.
3526 Replace extracted-out code by call to corresponding
3529 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3531 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3535 * ada-valprint.c (ada_val_print_1): Replace calls to
3536 ada_val_print_1 by calls to val_print.
3538 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3540 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3541 Update calls to self accordingly. Replace calls to c_val_print
3542 by calls to val_print.
3544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3546 * ada-valprint.c (print_record): Delete declaration.
3547 (adjust_type_signedness, ada_val_print_1): Likewise.
3548 (ada_val_print): Move function implementation down.
3549 (print_variant_part, print_field_values, print_record):
3550 Move function implementation up.
3552 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3554 * python/py-type.c (typy_get_name): New function.
3555 (type_object_getset): Add entry for attribute "name".
3556 * NEWS: Add entry mentioning this new attribute.
3558 2014-01-07 Yao Qi <yao@codesourcery.com>
3560 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3563 2014-01-07 Yao Qi <yao@codesourcery.com>
3565 * gnu-nat.c (info_port_rights): Add qualifier const to
3568 2014-01-07 Yao Qi <yao@codesourcery.com>
3570 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3572 2014-01-07 Yao Qi <yao@codesourcery.com>
3574 * gnu-nat.c (make_inf) Update declaration.
3575 (make_inf): Make it static.
3576 (inf_set_traced): Likewise.
3577 (inf_port_to_thread, inf_task_died_status): Likewise.
3579 2014-01-07 Yao Qi <yao@codesourcery.com>
3581 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3583 2014-01-07 Yao Qi <yao@codesourcery.com>
3585 * gnu-nat.c (_initialize_gnu_nat): Declare.
3587 2014-01-07 Yao Qi <yao@codesourcery.com>
3589 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3591 (struct gdbarch_info) <byte_order>: Change type to
3593 <byte_order_for_code>: Likewise.
3594 * gdbarch.c, gdbarch.h: Regenerated.
3596 2014-01-06 Sasha Smundak <asmundak@google.com>
3598 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3600 2014-01-06 Tom Tromey <tromey@redhat.com>
3602 * doublest.c (convert_doublest_to_floatformat): Use const, not
3604 * somread.c (som_symtab_read): Likewise.
3606 2014-01-07 Hui Zhu <hui@codesourcery.com>
3608 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3609 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3610 (gdb_bfd_fopen): Ditto.
3611 (gdb_bfd_openr): Ditto.
3612 (gdb_bfd_openw): Ditto.
3613 (gdb_bfd_openr_iovec): Ditto.
3614 (gdb_bfd_fdopenr): Ditto.
3615 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3616 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3618 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3620 * symfile-mem.c (symbol_file_add_from_memory): Removed
3621 gdb_bfd_stash_filename.
3623 2014-01-03 Doug Evans <dje@google.com>
3625 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3628 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3630 Update year range in copyright notice of all files.
3632 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3634 * top.c (print_gdb_version): Set copyright year to 2014.
3636 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3638 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3640 For older changes see ChangeLog-2013.
3646 version-control: never