1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.h (struct target_ops) <to_delete_record>: Add argument.
4 * target.c (target_delete_record): Add argument.
5 * record-full.c (record_full_delete): Add 'self' argument.
7 2014-02-19 Tom Tromey <tromey@redhat.com>
9 * target.h (struct target_ops) <to_save_record>: Add argument.
10 * target.c (target_save_record): Add argument.
11 * record-full.c (record_full_save): Add 'self' argument.
12 (record_full_save): Add 'self' argument.
14 2014-02-19 Tom Tromey <tromey@redhat.com>
16 * target.h (struct target_ops) <to_info_record>: Add argument.
17 * target.c (target_info_record): Add argument.
18 * record.c (info_record_command): Add argument.
19 * record-full.c (record_full_info): Add 'self' argument.
20 * record-btrace.c (record_btrace_info): Add 'self' argument.
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target.h (struct target_ops) <to_stop_recording>: Add argument.
25 * target.c (target_stop_recording): Add argument.
26 * record.c (record_stop): Add argument.
27 * record-btrace.c (record_btrace_stop_recording): Add 'self'
30 2014-02-19 Tom Tromey <tromey@redhat.com>
32 * target.h (struct target_ops) <to_read_btrace>: Add argument.
33 * target.c (struct target_ops) <to_read_btrace>: Add argument.
34 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
36 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
37 (_initialize_amd64_linux_nat): Use it.
38 * i386-linux-nat.c (i386_linux_read_btrace): New function.
39 (_initialize_i386_linux_nat): Use it.
41 2014-02-19 Tom Tromey <tromey@redhat.com>
43 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
44 * target.c (target_teardown_btrace): Add argument.
45 * remote.c (remote_teardown_btrace): Add 'self' argument.
46 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
48 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
54 * target.c (target_disable_btrace): Add argument.
55 * remote.c (remote_disable_btrace): Add 'self' argument.
56 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
58 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
61 2014-02-19 Tom Tromey <tromey@redhat.com>
63 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
64 * target.c (target_enable_btrace): Add argument.
65 * remote.c (remote_enable_btrace): Add 'self' argument.
66 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
68 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
71 2014-02-19 Tom Tromey <tromey@redhat.com>
73 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
74 (target_can_use_agent): Add argument.
75 * target.c (update_current_target): Update.
76 * remote.c (remote_can_use_agent): Add 'self' argument.
77 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target.h (struct target_ops) <to_use_agent>: Add argument.
82 (target_use_agent): Add argument.
83 * target.c (update_current_target): Update.
84 * remote.c (remote_use_agent): Add 'self' argument.
85 * inf-child.c (inf_child_use_agent): Add 'self' argument.
87 2014-02-19 Tom Tromey <tromey@redhat.com>
89 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
90 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
91 (target_traceframe_info): Add argument.
92 * target.c (update_current_target): Update.
93 * remote.c (remote_traceframe_info): Add 'self' argument.
94 * ctf.c (ctf_traceframe_info): Add 'self' argument.
96 2014-02-19 Tom Tromey <tromey@redhat.com>
98 * target.h (target_static_tracepoint_markers_by_strid): Add
100 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
102 * target.c (update_current_target): Update.
103 * remote.c (struct target_ops)
104 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
105 * linux-nat.c (struct target_ops)
106 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
112 (target_static_tracepoint_marker_at): Add argument.
113 * target.c (update_current_target): Update.
114 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
117 2014-02-19 Tom Tromey <tromey@redhat.com>
119 * target.h (struct target_ops) <to_set_permissions>: Add argument.
120 (target_set_permissions): Add argument.
121 * target.c (update_current_target): Update.
122 * remote.c (remote_set_permissions): Add 'self' argument.
123 (remote_start_remote): Update.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
128 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
129 (target_get_tib_address): Add argument.
130 * target.c (update_current_target): Update.
131 * remote.c (remote_get_tib_address): Add 'self' argument.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
136 (target_set_trace_notes): Add argument.
137 * target.c (update_current_target): Update.
138 * remote.c (remote_set_trace_notes): Add 'self' argument.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
144 (target_set_trace_buffer_size): Add argument.
145 * target.c (update_current_target): Update.
146 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
148 2014-02-19 Tom Tromey <tromey@redhat.com>
150 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
152 (target_set_circular_trace_buffer): Add argument.
153 * target.c (update_current_target): Update.
154 * remote.c (remote_set_circular_trace_buffer): Add 'self'
157 2014-02-19 Tom Tromey <tromey@redhat.com>
159 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
161 (target_set_disconnected_tracing): Add argument.
162 * target.c (update_current_target): Update.
163 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
165 2014-02-19 Tom Tromey <tromey@redhat.com>
167 * target.h (struct target_ops)
168 <to_get_min_fast_tracepoint_insn_len>: Add argument.
169 (target_get_min_fast_tracepoint_insn_len): Add argument.
170 * target.c (update_current_target): Update.
171 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
174 2014-02-19 Tom Tromey <tromey@redhat.com>
176 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
178 (target_get_raw_trace_data): Add argument.
179 * target.c (update_current_target): Update.
180 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target.h (struct target_ops) <to_upload_trace_state_variables>:
186 (target_upload_trace_state_variables): Add argument.
187 * target.c (update_current_target): Update.
188 * remote.c (remote_upload_trace_state_variables): Add 'self'
190 (remote_start_remote): Update.
192 2014-02-19 Tom Tromey <tromey@redhat.com>
194 * target.h (struct target_ops) <to_upload_tracepoints>: Add
196 (target_upload_tracepoints): Add argument.
197 * target.c (update_current_target): Update.
198 * remote.c (remote_upload_tracepoints): Add 'self' argument.
199 (remote_start_remote): Update.
201 2014-02-19 Tom Tromey <tromey@redhat.com>
203 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
204 (target_save_trace_data): Add argument.
205 * target.c (update_current_target): Update.
206 * remote.c (remote_save_trace_data): Add 'self' argument.
208 2014-02-19 Tom Tromey <tromey@redhat.com>
210 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
212 * target.h (struct target_ops)
213 <to_get_trace_state_variable_value>: Add argument.
214 (target_get_trace_state_variable_value): Add argument.
215 * target.c (update_current_target): Update.
216 * remote.c (remote_get_trace_state_variable_value): Add 'self'
218 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
220 2014-02-19 Tom Tromey <tromey@redhat.com>
222 * tracepoint.c (tfile_trace_find): Add 'self' argument.
223 * target.h (struct target_ops) <to_trace_find>: Add argument.
224 (target_trace_find): Add argument.
225 * target.c (update_current_target): Update.
226 * remote.c (remote_trace_find): Add 'self' argument.
227 * ctf.c (ctf_trace_find): Add 'self' argument.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target.h (struct target_ops) <to_trace_stop>: Add argument.
232 (target_trace_stop): Add argument.
233 * target.c (update_current_target): Update.
234 * remote.c (remote_trace_stop): Add 'self' argument.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
239 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
241 (target_get_tracepoint_status): Add argument.
242 * target.c (update_current_target): Update.
243 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
245 2014-02-19 Tom Tromey <tromey@redhat.com>
247 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
248 * target.h (struct target_ops) <to_get_trace_status>: Add
250 (target_get_trace_status): Add argument.
251 * target.c (update_current_target): Update.
252 * remote.c (remote_get_trace_status): Add 'self' argument.
253 (remote_start_remote, remote_can_download_tracepoint): Update.
254 * ctf.c (ctf_get_trace_status): Add 'self' argument.
256 2014-02-19 Tom Tromey <tromey@redhat.com>
258 * target.h (struct target_ops) <to_trace_start>: Add argument.
259 (target_trace_start): Add argument.
260 * target.c (update_current_target): Update.
261 * remote.c (remote_trace_start): Add 'self' argument.
263 2014-02-19 Tom Tromey <tromey@redhat.com>
265 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
267 (target_trace_set_readonly_regions): Add argument.
268 * target.c (update_current_target): Update.
269 * remote.c (remote_trace_set_readonly_regions): Add 'self'
272 2014-02-19 Tom Tromey <tromey@redhat.com>
274 * target.h (struct target_ops) <to_disable_tracepoint>: Add
276 (target_disable_tracepoint): Add argument.
277 * target.c (update_current_target): Update.
278 * remote.c (remote_disable_tracepoint): Add 'self' argument.
280 2014-02-19 Tom Tromey <tromey@redhat.com>
282 * target.h (struct target_ops) <to_enable_tracepoint>: Add
284 (target_enable_tracepoint): Add argument.
285 * target.c (update_current_target): Update.
286 * remote.c (remote_enable_tracepoint): Add 'self' argument.
288 2014-02-19 Tom Tromey <tromey@redhat.com>
290 * target.h (struct target_ops) <to_download_trace_state_variable>:
292 (target_download_trace_state_variable): Add argument.
293 * target.c (update_current_target): Update.
294 * remote.c (remote_download_trace_state_variable): Add 'self'
297 2014-02-19 Tom Tromey <tromey@redhat.com>
299 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
301 (target_can_download_tracepoint): Add argument.
302 * target.c (update_current_target): Update.
303 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
305 2014-02-19 Tom Tromey <tromey@redhat.com>
307 * target.h (struct target_ops) <to_download_tracepoint>: Add
309 (target_download_tracepoint): Add argument.
310 * target.c (update_current_target): Update.
311 * remote.c (remote_download_tracepoint): Add 'self' argument.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * target.h (struct target_ops) <to_trace_init>: Add argument.
316 (target_trace_init): Add argument.
317 * target.c (update_current_target): Update.
318 * remote.c (remote_trace_init): Add 'self' argument.
320 2014-02-19 Tom Tromey <tromey@redhat.com>
322 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
323 * target.c (target_fileio_readlink): Add argument.
324 * remote.c (remote_hostio_readlink): Add 'self' argument.
325 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
327 2014-02-19 Tom Tromey <tromey@redhat.com>
329 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
330 * target.c (target_fileio_unlink): Add argument.
331 * remote.c (remote_hostio_unlink): Add 'self' argument.
332 (remote_file_delete): Update.
333 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target.h (struct target_ops) <to_fileio_close>: Add argument.
338 * target.c (target_fileio_close): Add argument.
339 * remote.c (remote_hostio_close): Add 'self' argument.
340 (remote_hostio_close_cleanup): Update.
341 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
343 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
345 2014-02-19 Tom Tromey <tromey@redhat.com>
347 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
348 * target.c (target_fileio_pread): Add argument.
349 * remote.c (remote_hostio_pread): Add 'self' argument.
350 (remote_bfd_iovec_pread, remote_file_get): Update.
351 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
353 2014-02-19 Tom Tromey <tromey@redhat.com>
355 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
356 * target.c (target_fileio_pwrite): Add argument.
357 * remote.c (remote_hostio_pwrite): Add 'self' argument.
358 (remote_file_put): Update.
359 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
361 2014-02-19 Tom Tromey <tromey@redhat.com>
363 * target.h (struct target_ops) <to_fileio_open>: Add argument.
364 * target.c (target_fileio_open): Add argument.
365 * remote.c (remote_hostio_open): Add 'self' argument.
366 (remote_bfd_iovec_open): Add 'self' argument.
367 (remote_file_put): Add 'self' argument.
368 (remote_file_get): Add 'self' argument.
369 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
371 2014-02-19 Tom Tromey <tromey@redhat.com>
373 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
375 (target_can_run_breakpoint_commands): Add argument.
376 * target.c (update_current_target): Update.
377 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
379 (remote_insert_breakpoint): Add 'self' argument.
380 (remote_insert_hw_breakpoint): Add 'self' argument.
381 (remote_can_run_breakpoint_commands): Add 'self' argument.
383 2014-02-19 Tom Tromey <tromey@redhat.com>
385 * target.h (struct target_ops)
386 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
387 (target_supports_evaluation_of_breakpoint_conditions): Add
389 * target.c (update_current_target): Update.
390 * remote.c (remote_supports_cond_breakpoints): Add 'self'
392 (remote_insert_breakpoint): Add 'self' argument.
393 (remote_insert_hw_breakpoint): Add 'self' argument.
394 (remote_supports_cond_breakpoints): Add 'self' argument.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target.h (struct target_ops) <to_supports_string_tracing>: Add
400 (target_supports_string_tracing): Add argument.
401 * target.c (update_current_target): Update.
402 * remote.c (remote_supports_string_tracing): Add 'self' argument.
404 2014-02-19 Tom Tromey <tromey@redhat.com>
406 * target.h (struct target_ops)
407 <to_supports_disable_randomization>: Add argument.
408 * target.c (find_default_supports_disable_randomization): Add
410 (target_supports_disable_randomization): Add argument.
411 (find_default_supports_disable_randomization): Add 'self'
413 * remote.c (extended_remote_supports_disable_randomization): Add
415 (remote_supports_disable_randomization): Add 'self' argument.
416 (extended_remote_create_inferior): Update.
417 * linux-nat.c (linux_nat_supports_disable_randomization): Add
420 2014-02-19 Tom Tromey <tromey@redhat.com>
422 * target.h (struct target_ops)
423 <to_supports_enable_disable_tracepoint>: Add argument.
424 (target_supports_enable_disable_tracepoint): Add argument.
425 * target.c (update_current_target): Update.
426 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target.h (struct target_ops) <to_supports_multi_process>: Add
433 (target_supports_multi_process): Add argument.
434 * target.c (update_current_target): Update.
435 * remote.c (remote_supports_multi_process): Add 'self' argument.
436 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
438 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
441 2014-02-19 Tom Tromey <tromey@redhat.com>
443 * target.h (struct target_ops) <to_execution_direction>: Add
445 (target_execution_direction): Add argument.
446 * target.c (default_execution_direction): Add 'self' argument.
447 * record-full.c (record_full_execution_direction): Add 'self'
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target.h (struct target_ops) <to_can_execute_reverse>: Add
454 (target_can_execute_reverse): Add argument.
455 * remote.c (remote_can_execute_reverse): Add 'self' argument.
456 * record-full.c (record_full_can_execute_reverse): Add 'self'
458 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
461 2014-02-19 Tom Tromey <tromey@redhat.com>
463 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
464 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
466 (target_get_ada_task_ptid): Add argument.
467 * target.c (update_current_target): Update.
468 (default_get_ada_task_ptid): Add 'self' argument.
469 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
470 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
471 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
473 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
475 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
477 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
479 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
480 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
483 2014-02-19 Tom Tromey <tromey@redhat.com>
485 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
486 (target_goto_bookmark): Add argument.
487 * target.c (dummy_goto_bookmark): Add 'self' argument.
488 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
490 2014-02-19 Tom Tromey <tromey@redhat.com>
492 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
493 (target_get_bookmark): Add argument.
494 * target.c (dummy_get_bookmark): Add 'self' argument.
495 * record-full.c (record_full_get_bookmark): Add 'self' argument.
497 2014-02-19 Tom Tromey <tromey@redhat.com>
499 * target.h (struct target_ops) <to_make_corefile_notes>: Add
501 (target_make_corefile_notes): Add argument.
502 * target.c (dummy_make_corefile_notes): Add 'self' argument.
503 * procfs.c (procfs_make_note_section): Add 'self' argument.
504 (procfs_make_note_section): Add 'self' argument.
505 (procfs_make_note_section): Add 'self' argument.
506 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
508 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
509 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
510 * exec.c (exec_make_note_section): Add 'self' argument.
511 (exec_make_note_section): Add 'self' argument.
513 2014-02-19 Tom Tromey <tromey@redhat.com>
515 * target.h (struct target_ops) <to_find_memory_regions>: Add
517 (target_find_memory_regions): Add argument.
518 * target.c (dummy_find_memory_regions): Add 'self' argument.
519 * procfs.c (proc_find_memory_regions): Add 'self' argument.
520 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
521 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
522 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
523 * exec. (exec_do_find_memory_regions): New global.
524 (exec_set_find_memory_regions): Rewrite.
525 (exec_find_memory_regions): New function.
526 (init_exec_ops): Use exec_find_memory_regions.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target.h (struct target_ops) <to_supports_non_stop>: Add
532 * target.c (find_default_supports_non_stop): Add argument.
533 (target_supports_non_stop): Add argument.
534 (find_default_supports_non_stop): Add 'self' argument.
535 * remote.c (remote_supports_non_stop): Add 'self' argument.
536 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
538 2014-02-19 Tom Tromey <tromey@redhat.com>
540 * target.h (struct target_ops) <to_log_command>: Add argument.
541 (target_log_command): Add argument.
542 * serial.h (serial_log_command): Add 'self' argument.
543 * serial.c (serial_log_command): Add 'self' argument.
545 2014-02-19 Tom Tromey <tromey@redhat.com>
547 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
548 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
550 (target_pid_to_exec_file): Add argument.
551 * target.c (debug_to_pid_to_exec_file): Add argument.
552 (update_current_target): Update.
553 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
554 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
555 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
556 (linux_handle_extended_wait): Update.
557 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
558 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
559 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
560 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target.h (struct target_ops) <to_rcmd>: Add argument.
565 (target_rcmd): Add argument.
566 * target.c (debug_to_rcmd): Add argument.
567 (update_current_target, do_monitor_command): Update.
568 * remote.c (remote_rcmd): Add 'self' argument.
569 * monitor.c (monitor_rcmd): Add 'self' argument.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * windows-nat.c (windows_stop): Add 'self' argument.
574 * target.h (struct target_ops) <to_stop>: Add argument.
575 * target.c (target_stop): Add argument.
576 (debug_to_stop): Add argument.
577 (update_current_target): Update.
578 * remote.c (remote_stop): Add 'self' argument.
579 * remote-sim.c (gdbsim_stop): Add 'self' argument.
580 (gdbsim_cntrl_c): Update.
581 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
582 * procfs.c (procfs_stop): Add 'self' argument.
583 * nto-procfs.c (procfs_stop): Add 'self' argument.
584 * monitor.c (monitor_stop): Add 'self' argument.
585 (monitor_open): Update.
586 * linux-nat.c (linux_nat_stop): Add argument.
587 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
588 * gnu-nat.c (gnu_stop): Add 'self' argument.
589 * darwin-nat.c (darwin_stop): Add 'self' argument.
591 2014-02-19 Tom Tromey <tromey@redhat.com>
593 * target.h (struct target_ops) <to_thread_name>: Add argument.
594 * target.c (target_thread_name): Add argument.
595 (update_current_target): Update.
596 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target.h (struct target_ops) <to_extra_thread_info>: Add
602 (target_extra_thread_info): Add argument.
603 * target.c (update_current_target): Update.
604 * remote.c (remote_threads_extra_info): Add 'self' argument.
605 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
607 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
608 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
609 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
611 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
613 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
615 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target.h (struct target_ops) <to_program_signals>: Add argument.
621 * target.c (target_program_signals): Add argument.
622 * remote.c (remote_program_signals): Add 'self' argument.
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target.h (struct target_ops) <to_pass_signals>: Add argument.
627 * target.c (target_pass_signals): Add argument.
628 * remote.c (remote_pass_signals): Add 'self' argument.
629 (remote_start_remote): Update.
630 * procfs.c (procfs_pass_signals): Add 'self' argument.
631 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
632 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
633 (linux_nat_create_inferior, linux_nat_attach): Update.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * windows-nat.c (windows_can_run): Add 'self' argument.
638 * target.h (struct target_ops) <to_can_run>: Add argument.
639 (target_can_run): Add argument.
640 * target.c (debug_to_can_run): Add argument.
641 (update_current_target): Update.
642 * nto-procfs.c (procfs_can_run): Add 'self' argument.
643 * inf-child.c (inf_child_can_run): Add 'self' argument.
644 * go32-nat.c (go32_can_run): Add 'self' argument.
646 2014-02-19 Tom Tromey <tromey@redhat.com>
648 * target.h (struct target_ops) <to_has_exited>: Add argument.
649 (target_has_exited): Add argument.
650 * target.c (debug_to_has_exited): Add argument.
651 (update_current_target): Update.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
657 (target_set_syscall_catchpoint): Add argument.
658 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
660 * target.c (update_current_target): Update.
662 2014-02-19 Tom Tromey <tromey@redhat.com>
664 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
666 (target_remove_exec_catchpoint): Add argument.
667 * target.c (debug_to_remove_exec_catchpoint): Add argument.
668 (update_current_target): Update.
669 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
676 (target_insert_exec_catchpoint): Add argument.
677 * target.c (debug_to_insert_exec_catchpoint): Add argument.
678 (update_current_target): Update.
679 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
682 2014-02-19 Tom Tromey <tromey@redhat.com>
684 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
686 (target_remove_vfork_catchpoint): Add argument.
687 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
688 (update_current_target): Update.
689 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
692 2014-02-19 Tom Tromey <tromey@redhat.com>
694 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
696 (target_insert_vfork_catchpoint): Add argument.
697 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
698 (update_current_target): Update.
699 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
702 2014-02-19 Tom Tromey <tromey@redhat.com>
704 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
706 (target_remove_fork_catchpoint): Add argument.
707 * target.c (debug_to_remove_fork_catchpoint): Add argument.
708 (update_current_target): Update.
709 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
716 (target_insert_fork_catchpoint): Add argument.
717 * target.c (debug_to_insert_fork_catchpoint): Add argument.
718 (update_current_target): Update.
719 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
722 2014-02-19 Tom Tromey <tromey@redhat.com>
724 * target.h (struct target_ops) <to_post_startup_inferior>: Add
726 (target_post_startup_inferior): Add argument.
727 * target.c (debug_to_post_startup_inferior): Add argument.
728 (update_current_target): Update.
729 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
731 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
733 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
735 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
737 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
739 (super_post_startup_inferior): Likewise.
740 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
742 (super_post_startup_inferior): Likewise.
743 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
745 (super_post_startup_inferior): Likewise.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target.h (struct target_ops) <to_load>: Add argument.
750 * target.c (target_load): Add argument.
751 (debug_to_load): Add argument.
752 (update_current_target): Update.
753 * remote.c (remote_load): Add 'self' argument.
754 * remote-sim.c (gdbsim_load): Add 'self' argument.
755 * remote-mips.c (mips_load): Add 'self' argument.
756 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
757 * monitor.c (monitor_load): Add 'self' argument.
758 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target.h (struct target_ops) <to_terminal_info>: Add argument.
763 (target_terminal_info): Add argument.
764 * target.c (debug_to_terminal_info): Add argument.
765 (default_terminal_info): Likewise.
766 * inflow.c (child_terminal_info): Add 'self' argument.
767 * inferior.h (child_terminal_info): Add 'self' argument.
768 * go32-nat.c (go32_terminal_info): Add 'self' argument.
770 2014-02-19 Tom Tromey <tromey@redhat.com>
772 * target.h (struct target_ops) <to_terminal_save_ours>: Add
774 (target_terminal_save_ours): Add argument.
775 * target.c (debug_to_terminal_save_ours): Add argument.
776 (update_current_target): Update.
777 * inflow.c (terminal_save_ours): Add 'self' argument.
778 * inferior.h (terminal_save_ours): Add 'self' argument.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
783 (target_terminal_ours): Add argument.
784 * target.c (debug_to_terminal_ours): Add argument.
785 (update_current_target): Update.
786 * remote.c (remote_terminal_ours): Add 'self' argument.
787 (remote_close): Update.
788 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
789 * inflow.c (terminal_ours): Add 'self' argument.
790 * inferior.h (terminal_ours): Add 'self' argument.
791 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
793 2014-02-19 Pedro Alves <palves@redhat.com>
794 Tom Tromey <tromey@redhat.com>
796 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
798 (target_terminal_ours_for_output): Add argument.
799 * target.c (debug_to_terminal_ours_for_output): Add argument.
800 (update_current_target): Update.
801 * inflow.c (terminal_ours_for_output): Add 'self' argument.
802 * inferior.h (terminal_ours_for_output): Add 'self' argument.
803 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
805 2014-02-19 Tom Tromey <tromey@redhat.com>
807 * target.h (struct target_ops) <to_terminal_inferior>: Add
809 * target.c (target_terminal_inferior): Add argument.
810 (update_current_target): Update.
811 * remote.c (remote_terminal_inferior): Add 'self' argument.
812 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
813 * inflow.c (terminal_inferior): Add 'self' argument.
814 * inferior.h (terminal_inferior): Add 'self' argument.
815 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
816 (go32_terminal_inferior): Add 'self' argument.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_terminal_init>: Add argument.
821 (target_terminal_init): Add argument.
822 * target.c (debug_to_terminal_init): Add argument.
823 (update_current_target): Update.
824 * inflow.c (terminal_init_inferior): Add 'self' argument.
825 * inferior.h (terminal_init_inferior): Add 'self' argument.
826 * go32-nat.c (go32_terminal_init): Add 'self' argument.
827 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
829 2014-02-19 Tom Tromey <tromey@redhat.com>
831 * target.h (struct target_ops)
832 <to_can_accel_watchpoint_condition>: Add argument.
833 (target_can_accel_watchpoint_condition): Add argument.
834 * target.c (debug_to_can_accel_watchpoint_condition): Add
836 (update_current_target): Update.
837 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
844 (target_region_ok_for_hw_watchpoint): Add argument.
845 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
846 (default_region_ok_for_hw_watchpoint): Add argument.
847 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
848 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
850 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
852 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
854 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
856 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
858 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
860 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
861 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
863 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops) <to_insert_watchpoint>: Add
870 (target_insert_watchpoint): Add argument.
871 * target.c (debug_to_insert_watchpoint): Add argument.
872 (update_current_target): Update.
873 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
874 * remote.c (remote_insert_watchpoint): Add 'self' argument.
875 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
876 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
877 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
878 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
880 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
881 (procfs_insert_hw_watchpoint): Add 'self' argument.
882 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
884 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
886 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
888 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
889 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
891 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
894 2014-02-19 Tom Tromey <tromey@redhat.com>
896 * target.h (struct target_ops) <to_remove_watchpoint>: Add
898 (target_remove_watchpoint): Add argument.
899 * target.c (debug_to_remove_watchpoint): Add argument.
900 (update_current_target): Update.
901 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
902 * remote.c (remote_remove_watchpoint): Add 'self' argument.
903 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
904 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
905 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
906 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
908 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
909 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
911 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
913 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
915 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
916 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
918 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
925 (target_remove_hw_breakpoint): Add argument.
926 * target.c (debug_to_remove_hw_breakpoint): Add argument.
927 (update_current_target): Update.
928 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
929 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
931 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
932 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
934 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
941 (target_insert_hw_breakpoint): Add argument.
942 * target.c (debug_to_insert_hw_breakpoint): Add argument.
943 (update_current_target): Update.
944 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
945 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
947 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
948 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
949 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
951 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
958 (target_can_use_hardware_watchpoint): Add argument.
959 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
960 (update_current_target): Update.
961 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
963 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
965 * remote.c (remote_check_watch_resources): Add 'self' argument.
966 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
967 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
969 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
970 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
972 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
974 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
976 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
978 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
980 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
982 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
983 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
985 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
988 2014-02-19 Tom Tromey <tromey@redhat.com>
990 * target.h (struct target_ops) <to_post_attach>: Add argument.
991 (target_post_attach): Add argument.
992 * target.c (debug_to_post_attach): Add argument.
993 (update_current_target): Update.
994 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
995 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
996 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
997 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
998 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * windows-nat.c (windows_close): Add 'self' argument.
1003 * tracepoint.c (tfile_close): Add 'self' argument.
1004 * target.h (struct target_ops) <to_close>: Add argument.
1005 * target.c (target_close): Add argument.
1006 (update_current_target): Update.
1007 * remote.c (remote_close): Add 'self' argument.
1008 * remote-sim.c (gdbsim_close): Add 'self' argument.
1009 * remote-mips.c (mips_close): Add 'self' argument.
1010 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1011 * record-full.c (record_full_close): Add 'self' argument.
1012 * record-btrace.c (record_btrace_close): Add 'self' argument.
1013 * monitor.h (monitor_close): Add 'self' argument.
1014 * monitor.c (monitor_close): Add 'self' argument.
1015 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1016 * linux-nat.c (linux_nat_close): Add argument.
1017 * go32-nat.c (go32_close): Add 'self' argument.
1018 * exec.c (exec_close_1): Add 'self' argument.
1019 * ctf.c (ctf_close): Add 'self' argument.
1020 * corelow.c (core_close): Add 'self' argument.
1021 (core_close_cleanup): Update.
1022 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1023 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * remote.c (remote_load): New function.
1028 (init_remote_ops): Use it.
1030 2014-02-19 Tom Tromey <tromey@redhat.com>
1032 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1034 * common/linux-btrace.h (linux_supports_btrace): Update.
1035 * remote.c (remote_supports_btrace): Add "self" argument.
1036 * target-delegates.c: Rebuild.
1037 * target.c (target_supports_btrace): Remove.
1038 * target.h (struct target_ops) <to_supports_btrace>: Add
1039 target_ops argument.
1040 (target_supports_btrace): New define.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * record-full.c (record_full_beneath_to_resume_ops)
1045 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1046 (record_full_beneath_to_wait)
1047 (record_full_beneath_to_store_registers_ops)
1048 (record_full_beneath_to_store_registers)
1049 (record_full_beneath_to_xfer_partial_ops)
1050 (record_full_beneath_to_xfer_partial)
1051 (record_full_beneath_to_insert_breakpoint_ops)
1052 (record_full_beneath_to_insert_breakpoint)
1053 (record_full_beneath_to_remove_breakpoint_ops)
1054 (record_full_beneath_to_remove_breakpoint)
1055 (record_full_beneath_to_stopped_by_watchpoint)
1056 (record_full_beneath_to_stopped_data_address)
1057 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1058 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1059 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1060 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1061 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1062 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1063 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1064 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1065 (record_full_resume, record_full_wait_1)
1066 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1067 (record_full_store_registers, record_full_xfer_partial)
1068 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1069 (record_full_async, record_full_core_xfer_partial): Use target
1071 * target-delegates.c: Rebuild.
1072 * target.c (current_xfer_partial): Remove.
1073 (update_current_target): Do not INHERIT or de_fault
1074 to_insert_breakpoint, to_remove_breakpoint,
1075 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1076 to_is_async_p, to_async. Do not set to_xfer_partial field.
1077 (default_xfer_partial): Simplify.
1078 (current_xfer_partial): Remove.
1079 (target_wait, target_resume): Simplify.
1080 (find_default_can_async_p, find_default_is_async_p): Update.
1081 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1082 to_xfer_partial, to_stopped_by_watchpoint,
1083 to_stopped_data_address.
1084 (target_store_registers): Simplify.
1085 (forward_target_remove_breakpoint)
1086 (forward_target_insert_breakpoint): Remove.
1087 (target_remove_breakpoint, target_insert_breakpoint)
1088 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1089 * target.h (struct target_ops) <to_resume, to_wait,
1090 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1091 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1092 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1094 (forward_target_remove_breakpoint)
1095 (forward_target_insert_breakpoint): Remove.
1096 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1098 (record_btrace_insert_breakpoint): Delegate directly.
1100 2014-02-19 Tom Tromey <tromey@redhat.com>
1103 * target-delegates.c: New file.
1104 * target.c: Include target-delegates.c.
1105 (init_dummy_target): Call install_dummy_methods.
1106 (complete_target_initialization): Call install_delegators.
1107 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1108 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1109 * make-target-delegates: New file.
1111 2014-02-19 Tom Tromey <tromey@redhat.com>
1113 * record.c (find_record_target): Use find_target_at.
1114 * target.c (find_target_at): New function.
1115 * target.h (find_target_at): Declare.
1117 2014-02-19 Tom Tromey <tromey@redhat.com>
1119 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1121 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1123 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1124 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1126 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1128 * linux-nat.c (save_sigtrap): Update.
1129 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1130 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1131 (linux_nat_close): Update.
1132 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1134 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1136 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1137 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1138 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1139 (tmp_to_async): Add 'ops' argument.
1140 (record_full_stopped_by_watchpoint, record_full_async)
1141 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1143 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1144 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1145 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1146 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1147 (remote_is_async_p, remote_async): Add 'ops' argument.
1148 (remote_stopped_data_address): Update.
1149 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1150 * target.c (update_current_target)
1151 (find_default_can_async_p, find_default_is_async_p): Update.
1152 (init_dummy_target): Update.
1153 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1154 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1155 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1156 (target_can_async_p, target_is_async_p, target_async)
1157 (target_stopped_by_watchpoint): Update.
1159 2014-02-19 Yao Qi <yao@codesourcery.com>
1162 * gdbarch.sh: Remove startup_gdbarch.
1163 * gdbarch.c: Regenerated.
1164 * gdbarch.h: Likewise.
1166 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1168 * rl78-tdep.c (rl78_g10_register_name): New function.
1169 (rl78_return_value): Add g10 support.
1170 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1173 2014-02-17 Doug Evans <xdje42@gmail.com>
1175 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1176 (SUBDIR_GUILE_SRCS): Ditto.
1177 (scm-gsmob.o): Ditto.
1179 2014-02-17 Yao Qi <yao@codesourcery.com>
1181 * gnu-nat.c (ILL_RPC): Declare defined function.
1183 2014-02-17 Yao Qi <yao@codesourcery.com>
1185 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1186 mach_msg_type_number_t.
1187 (gnu_write_inferior): Likewise.
1189 2014-02-17 Yao Qi <yao@codesourcery.com>
1191 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1193 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1194 (inf_validate_procs, inf_signal): Likewise.
1195 (S_exception_raise_request): Likewise.
1196 (do_mach_notify_dead_name): Likewise.
1197 (steal_exc_port): Likewise.
1198 (gnu_read_inferior): Change 'copy_count''s type to
1199 mach_msg_type_number_t.
1200 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1203 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1205 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1206 flag. Adjust all users; in particular...
1207 (gnu_wait): ..., don't decrement its value in here...
1208 (gnu_create_inferior): ..., and instead set the flag in here,
1209 around the startup_inferior call, and call that one with
1210 START_INFERIOR_TRAPS_EXPECTED.
1212 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1213 (ILL_RPC): ... new macro.
1214 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1215 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1216 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1217 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1218 functions with ILL_RPC macro.
1219 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1220 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1221 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1222 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1223 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1224 (S_proc_getlogin_reply, S_proc_getsid_reply)
1225 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1226 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1227 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1228 (S_proc_getnports_reply, S_proc_is_important_reply)
1229 (S_proc_get_code_reply): New stub functions, generated with
1232 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1233 collected the type check structures.
1235 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1237 2014-02-14 Doug Evans <dje@google.com>
1239 * target.c (target_write_partial): Fix result type.
1241 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1243 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1244 the proper offsets to access fpregset_t.
1246 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1248 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1249 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1250 * h8300-tdep.c (setmachinelist): Remove global.
1251 * hppa-tdep.c (hppa_sigtramp): Remove global.
1252 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1253 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1254 * ravenscar-thread.c (update_target_observer): Remove global.
1255 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1257 2014-02-12 Tom Tromey <tromey@redhat.com>
1259 * common/rsp-low.c: Update comments.
1260 * common/rsp-low.h: Update comments.
1262 2014-02-12 Tom Tromey <tromey@redhat.com>
1264 * common/rsp-low.c (convert_ascii_to_int): Remove.
1265 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1267 2014-02-12 Tom Tromey <tromey@redhat.com>
1269 * common/rsp-low.h (unhexify): Don't declare.
1270 * common/rsp-low.c (unhexify): Remove.
1272 2014-02-12 Tom Tromey <tromey@redhat.com>
1274 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1275 * common/rsp-low.c (convert_int_to_ascii): Remove.
1277 2014-02-12 Tom Tromey <tromey@redhat.com>
1279 * common/rsp-low.h (hexify): Don't declare.
1280 * common/rsp-low.c (hexify): Remove.
1282 2014-02-12 Tom Tromey <tromey@redhat.com>
1284 * common/rsp-low.c (hexify): Never take strlen of argument.
1286 2014-02-12 Tom Tromey <tromey@redhat.com>
1288 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1289 * remote.c (extended_remote_run, remote_rcmd)
1290 (remote_download_trace_state_variable, remote_save_trace_data)
1291 (remote_set_trace_notes): Update.
1292 * tracepoint.c (encode_source_string, tfile_write_status)
1293 (tfile_write_uploaded_tsv): Update.
1295 2014-02-12 Tom Tromey <tromey@redhat.com>
1297 * tracepoint.c: Include rsp-low.h.
1298 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1299 * remote.c: Include rsp-low.h.
1300 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1301 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1302 (remote_unescape_input): Move to common/rsp-low.c.
1303 * common/rsp-low.h: New file.
1304 * common/rsp-low.c: New file.
1305 * Makefile.in (SFILES): Add common/rsp-low.c.
1306 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1307 (COMMON_OBS): Add rsp-low.o.
1308 (rsp-low.o): New target.
1310 2014-02-12 Tom Tromey <tromey@redhat.com>
1312 * utils.h: Include print-utils.h.
1313 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1314 (int_string, core_addr_to_string, core_addr_to_string_nz)
1315 (hex_string, hex_string_custom): Don't declare.
1316 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1317 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1318 (hex_string_custom, int_string, core_addr_to_string)
1319 (core_addr_to_string_nz, host_address_to_string): Move to
1320 common/print-utils.c.
1321 * common/print-utils.h: New file.
1322 * common/print-utils.c: New file
1323 * Makefile.in (SFILES): Add common/print-utils.c.
1324 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1325 (COMMON_OBS): Add print-utils.o.
1326 (print-utils.o): New target.
1328 2014-02-12 Tom Tromey <tromey@redhat.com>
1330 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1332 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1334 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1336 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1338 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1339 if a PT_IO ptrace request returns sucessfully but indicates that 0
1340 bytes were transferred.
1342 2014-02-12 Pedro Alves <palves@redhat.com>
1343 Kevin Buettner <kevinb@redhat.com>
1345 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1346 TYPE_INSTANCE_FLAG_CODE_SPACE.
1348 2014-02-12 Pedro Alves <palves@redhat.com>
1350 * h8300-tdep.c (pseudo_from_raw_register)
1351 (raw_from_pseudo_register): New functions.
1352 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1355 2014-02-12 Pedro Alves <palves@redhat.com>
1357 * h8300-tdep.c (h8300_register_sim_regno): New function.
1358 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1359 gdbarch_register_sim_regno hook.
1361 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1363 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1365 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1367 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1369 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1371 * obsd-tdep.h (obsd_init_abi): New prototype.
1372 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1373 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1374 (obsd_init_abi): New functions.
1375 * i386obsd-tdep.c: Include "obsd-tdep.h".
1376 (i386obsd_init_abi): Call obsd_init_abi.
1377 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1378 (amd64obsd_init_abi): Call obsd_init_abi.
1379 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1380 obsd-tdep.c to gdb_target_obs.
1382 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1384 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1385 double float arguments to 16-byte in the argument slots.
1387 2014-02-11 Doug Evans <xdje42@gmail.com>
1389 * configure.ac: Don't crash if pkg-config is not found and guile
1390 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1392 * configure: Regenerate.
1394 2014-02-11 Yao Qi <yao@codesourcery.com>
1396 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1397 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1398 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1399 * gnu-nat.c (gnu_xfer_memory): Likewise.
1400 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1401 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1402 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1403 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1405 2014-02-11 Yao Qi <yao@codesourcery.com>
1407 * target.h (enum target_xfer_error): Rename to ...
1408 (enum target_xfer_status): ... it. New. All users updated.
1409 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1411 (TARGET_XFER_STATUS_ERROR_P): New macro.
1412 (target_xfer_error_to_string): Remove declaration.
1413 (target_xfer_status_to_string): Declare.
1414 (target_xfer_partial_ftype): Adjust it.
1415 (struct target_ops) <to_xfer_partial>: Return
1416 target_xfer_status. Add argument xfered_len. Update
1418 * target.c (target_xfer_error_to_string): Rename to ...
1419 (target_xfer_status_to_string): ... it. New. All callers
1421 (target_read_live_memory): Likewise. Call target_xfer_partial
1422 instead of target_read.
1423 (memory_xfer_live_readonly_partial): Return
1424 target_xfer_status. Add argument xfered_len.
1425 (raw_memory_xfer_partial): Likewise.
1426 (memory_xfer_partial_1): Likewise.
1427 (memory_xfer_partial): Likewise.
1428 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1429 properly. Update debug message.
1430 (default_xfer_partial, current_xfer_partial): Likewise.
1431 (target_write_partial): Likewise.
1432 (target_read_partial): Likewise. All callers updated.
1433 (read_whatever_is_readable): Likewise.
1434 (target_write_with_progress): Likewise.
1435 (target_read_alloc_1): Likewise.
1437 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1438 * auxv.c (procfs_xfer_auxv): Likewise.
1439 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1440 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1441 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1442 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1443 * corefile.c (read_memory): Adjust.
1444 * corelow.c (core_xfer_partial): Likewise.
1445 * ctf.c (ctf_xfer_partial): Likewise.
1446 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1448 (darwin_xfer_partial): Likewise.
1449 * exec.c (section_table_xfer_memory_partial): Likewise. All
1451 (exec_xfer_partial): Likewise.
1452 * exec.h (section_table_xfer_memory_partial): Update
1454 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1456 (gnu_xfer_partial): Likewise.
1457 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1458 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1459 (ia64_hpux_xfer_solib_got): Likewise.
1460 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1461 type of 'partial_len' to ULONGEST.
1462 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1463 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1464 (linux_nat_xfer_partial): Likewise.
1465 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1466 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1467 * monitor.c (monitor_xfer_memory): Likewise.
1468 (monitor_xfer_partial): Likewise.
1469 * procfs.c (procfs_xfer_partial): Likewise.
1470 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1471 * record-full.c (record_full_xfer_partial): Likewise.
1472 (record_full_core_xfer_partial): Likewise.
1473 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1474 (gdbsim_xfer_partial): Likewise.
1475 * remote.c (remote_write_bytes_aux): Likewise. All callers
1477 (remote_write_bytes, remote_read_bytes): Likewise. All
1479 (remote_flash_erase): Likewise. All callers updated.
1480 (remote_write_qxfer): Likewise. All callers updated.
1481 (remote_read_qxfer): Likewise. All callers updated.
1482 (remote_xfer_partial): Likewise.
1483 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1484 (rs6000_xfer_shared_libraries): Likewise.
1485 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1486 (sol_thread_xfer_partial): Likewise.
1487 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1488 (sparc_xfer_partial): Likewise.
1489 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1491 (spu_xfer_partial): Likewise.
1492 * spu-multiarch.c (spu_xfer_partial): Likewise.
1493 * tracepoint.c (tfile_xfer_partial): Likewise.
1494 * windows-nat.c (windows_xfer_memory): Likewise.
1495 (windows_xfer_shared_libraries): Likewise.
1496 (windows_xfer_partial): Likewise.
1497 * valprint.c: Replace 'target_xfer_error' with
1498 'target_xfer_status' in comments.
1500 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1502 Checked in by Joel Brobecker <brobecker@adacore.com>.
1503 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1505 2014-02-11 Joel Brobecker <brobecker@adacore.com>
1507 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1508 function parameters.
1510 2014-02-10 Will Newton <will.newton@linaro.org>
1512 * elfread.c (elf_rel_plt_read): Look for a .got section if
1513 looking up .got.plt fails.
1514 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1515 on address passed to elf_gnu_ifunc_record_cache.
1516 (elf_gnu_ifunc_resolve_addr): Likewise.
1517 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1519 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1521 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1522 (X_RETTURN): New macro.
1523 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1525 * sparc64-tdep.c (sparc64_init_abi): Hook
1526 sparc_in_function_epilogue_p.
1528 2014-02-10 Gary Benson <gbenson@redhat.com>
1530 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1531 Rename name_matcher to symbol_matcher.
1533 2014-02-10 Gary Benson <gbenson@redhat.com>
1535 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1536 Use expand_symtabs_file_matcher_ftype and
1537 expand_symtabs_symbol_matcher_ftype.
1539 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1541 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1542 (struct ada_symbol_cache): New.
1543 (ada_free_symbol_cache): Forward declare.
1544 (struct ada_pspace_data): New.
1545 (ada_pspace_data_handle): New static global.
1546 (get_ada_pspace_data, ada_pspace_data_cleanup)
1547 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1548 (cache_space, cache): Delete, now folded inside struct
1550 (ada_get_symbol_cache): New function.
1551 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1553 (_initialize_ada_language): Remove initialization of cache_space.
1554 Move call to observer_attach_inferior_exit up, grouping it
1555 with the other observer registrations inside this function.
1556 Rename command to be more general. Add call to
1557 register_program_space_data_with_cleanup.
1559 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1561 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1562 ada_new_objfile_observer.
1563 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1564 (_initialize_tasks): Update uses of ada_new_objfile_observer
1565 and ada_tasks_normal_stop_observer.
1567 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1569 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1570 returned by the 'Length attribute to integer.
1572 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1574 * ada-lang.c (_initialize_ada_language): Initialize
1575 cache_space obstack.
1577 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1579 * ada-lang.c (HASH_SIZE): New macro.
1580 (struct cache_entry): New type.
1581 (cache_space, cache): New static globals.
1582 (ada_clear_symbol_cache, find_entry): New functions.
1583 (lookup_cached_symbol, cache_symbol): Implement.
1584 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1585 (_initialize_ada_language): Attach ada_new_objfile_observer
1586 and ada_free_objfile_observer.
1588 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1590 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1591 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1592 struct block * parameter.
1593 (ada_lookup_symbol_list_worker): Constify local variable "block".
1594 Remove cast which is no longer necessary.
1596 2014-02-10 Doug Evans <xdje42@gmail.com>
1598 Add Guile as an extension language.
1599 * NEWS: Mention Guile scripting.
1600 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1601 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1602 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1603 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1604 (CLIBS): Add GUILE_LIBS.
1605 (install-guile): New rule.
1606 (guile.o): New rule.
1607 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1608 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1609 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1610 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1611 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1612 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1613 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1614 * configure.ac: New option --with-guile.
1615 * configure: Regenerate.
1616 * config.in: Regenerate.
1617 * auto-load.c: Remove #include "python/python.h". Add #include
1618 "gdb/section-scripts.h".
1619 (source_section_scripts): Handle Guile scripts.
1620 (_initialize_auto_load): Add name of Guile objfile script to
1621 scripts-directory help text.
1622 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1623 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1624 (struct breakpoint): New member scm_bp_object.
1625 * defs.h (enum command_control_type): New value guile_control.
1626 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1628 (show_user): Update comment.
1629 (_initialize_cli_cmds): Update help text for "show user". Update help
1630 text for max-user-call-depth.
1631 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1633 (multi_line_command_p): Add guile_control.
1634 (print_command_lines): Handle guile_control.
1635 (execute_control_command, recurse_read_control_structure): Ditto.
1636 (process_next_line): Recognize "guile" commands.
1637 * disasm.c (gdb_disassemble_info): Make non-static.
1638 * disasm.h: #include "dis-asm.h".
1639 (struct gdbarch): Add forward decl.
1640 (gdb_disassemble_info): Declare.
1641 * extension.c: #include "guile/guile.h".
1642 (extension_languages): Add guile.
1643 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1644 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1645 * gdbtypes.c (get_unsigned_type_max): New function.
1646 (get_signed_type_minmax): New function.
1647 * gdbtypes.h (get_unsigned_type_max): Declare.
1648 (get_signed_type_minmax): Declare.
1649 * guile/README: New file.
1650 * guile/guile-internal.h: New file.
1651 * guile/guile.c: New file.
1652 * guile/guile.h: New file.
1653 * guile/scm-arch.c: New file.
1654 * guile/scm-auto-load.c: New file.
1655 * guile/scm-block.c: New file.
1656 * guile/scm-breakpoint.c: New file.
1657 * guile/scm-disasm.c: New file.
1658 * guile/scm-exception.c: New file.
1659 * guile/scm-frame.c: New file.
1660 * guile/scm-gsmob.c: New file.
1661 * guile/scm-iterator.c: New file.
1662 * guile/scm-lazy-string.c: New file.
1663 * guile/scm-math.c: New file.
1664 * guile/scm-objfile.c: New file.
1665 * guile/scm-ports.c: New file.
1666 * guile/scm-pretty-print.c: New file.
1667 * guile/scm-safe-call.c: New file.
1668 * guile/scm-string.c: New file.
1669 * guile/scm-symbol.c: New file.
1670 * guile/scm-symtab.c: New file.
1671 * guile/scm-type.c: New file.
1672 * guile/scm-utils.c: New file.
1673 * guile/scm-value.c: New file.
1674 * guile/lib/gdb.scm: New file.
1675 * guile/lib/gdb/boot.scm: New file.
1676 * guile/lib/gdb/experimental.scm: New file.
1677 * guile/lib/gdb/init.scm: New file.
1678 * guile/lib/gdb/iterator.scm: New file.
1679 * guile/lib/gdb/printing.scm: New file.
1680 * guile/lib/gdb/types.scm: New file.
1681 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1682 (VPATH): Add $(GUILE_SRCDIR).
1683 (GUILE_DIR): New variable.
1684 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1685 (all): Add stamp-guile dependency.
1686 (stamp-guile): New rule.
1687 (clean-guile, install-guile, uninstall-guile): New rules.
1688 (install-only): Add install-guile dependency.
1689 (uninstall): Add uninstall-guile dependency.
1690 (clean): Add clean-guile dependency.
1692 2014-02-09 Doug Evans <xdje42@gmail.com>
1694 Revert this patch (which I approved, mea culpa).
1696 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1698 * Makefile.in (all-lib): Remove.
1699 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1701 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1703 Fix Python stack corruption.
1704 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1707 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1709 * Makefile.in (all-lib): Remove.
1710 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1712 2014-02-07 Doug Evans <dje@google.com>
1714 * extension-priv.h (extension_language_script_ops): Add comment.
1715 (extension_language_ops): Add comment.
1716 (active_ext_lang_state): Fix typo in comment.
1718 2014-02-07 Pedro Alves <palves@redhat.com>
1720 * infrun.c (handle_signal_stop) <signal arrives while stepping
1721 over a breakpoint>: Switch back to the stepping thread.
1723 2014-02-07 Yao Qi <yao@codesourcery.com>
1725 * target.c (target_xfer_partial): Return zero if LEN is zero.
1727 2014-02-07 Yao Qi <yao@codesourcery.com>
1729 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1730 (ld_so_xfer_auxv): Likewise.
1731 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1732 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1733 * corelow.c (core_xfer_partial): Likewise.
1734 * ctf.c (ctf_xfer_partial): Likewise.
1735 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1736 (darwin_xfer_partial): Likewise.
1737 * exec.c (exec_xfer_partial): Likewise.
1738 * gnu-nat.c (gnu_xfer_partial): Likewise.
1739 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1740 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1741 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1742 * linux-nat.c (linux_xfer_siginfo): Likewise.
1743 (linux_proc_xfer_spu): Likewise.
1744 * procfs.c (procfs_xfer_partial): Likewise.
1745 * record-full.c (record_full_xfer_partial): Likewise.
1746 (record_full_core_xfer_partial): Likewise.
1747 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1748 * remote.c (remote_write_qxfer): Likewise.
1749 (remote_write_qxfer, remote_read_qxfer): Likewise.
1750 (remote_xfer_partial): Likewise.
1751 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1752 (rs6000_xfer_shared_libraries): Likewise.
1753 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1754 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1755 (spu_xfer_partial): Likewise.
1756 * target.c (memory_xfer_partial_1): Likewise.
1757 * tracepoint.c (tfile_xfer_partial): Likewise.
1758 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1759 (windows_xfer_partial): Likewise.
1761 2014-02-07 Yao Qi <yao@codesourcery.com>
1763 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1765 (core_xfer_shared_libraries_aix): Likewise.
1766 * gdbarch.c, gdbarch.h: Regenerated.
1767 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1768 ULONGEST. Change 'len_avail' type to ULONGEST.
1769 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1770 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1772 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1774 2014-02-07 Yao Qi <yao@codesourcery.com>
1776 * corefile.c (memory_error): Get 'exception' from ERR and pass
1777 'exception' to throw_error.
1779 2014-02-06 Doug Evans <xdje42@gmail.com>
1781 * configure.ac (libpython checking): Remove all but python.o from
1782 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1783 * configure: Regenerate.
1785 * Makefile.in (SFILES): Add extension.c.
1786 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1787 (COMMON_OBS): Add extension.o.
1788 * extension.h: New file.
1789 * extension-priv.h: New file.
1790 * extension.c: New file.
1792 * python/python-internal.h: #include "extension.h".
1793 (gdbpy_auto_load_enabled): Declare.
1794 (gdbpy_apply_val_pretty_printer): Declare.
1795 (gdbpy_apply_frame_filter): Declare.
1796 (gdbpy_preserve_values): Declare.
1797 (gdbpy_breakpoint_cond_says_stop): Declare.
1798 (gdbpy_breakpoint_has_cond): Declare.
1799 (void source_python_script_for_objfile): Delete.
1800 * python/python.c: #include "extension-priv.h".
1801 Delete inclusion of "observer.h".
1802 (extension_language_python): Moved here and renamed from
1803 script_language_python in py-auto-load.c.
1804 Redefined to be of type extension_language_defn.
1805 (python_extension_script_ops): New global.
1806 (python_extension_ops): New global.
1807 (struct python_env): New member previous_active.
1808 (restore_python_env): Call restore_active_ext_lang.
1809 (ensure_python_env): Call set_active_ext_lang.
1810 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1812 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1814 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1816 (gdbpy_eval_from_control_command): Renamed from
1817 eval_python_from_control_command, made static. New arg extlang.
1818 (gdbpy_source_script) Renamed from source_python_script, made static.
1820 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1821 result to int. New arg extlang.
1822 (gdbpy_source_objfile_script): Renamed from
1823 source_python_script_for_objfile, made static. New arg extlang.
1824 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1825 static. New args extlang, extlang_printers. Change result type to
1827 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1828 static. New arg extlang. Rename arg printers to extlang_printers
1829 and change type to ext_lang_type_printers *.
1830 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1831 static. Replace argument arg with extlang, extlang_printers.
1832 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1833 (!HAVE_PYTHON, source_python_script): Delete.
1834 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1835 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1836 (!HAVE_PYTHON, start_type_printers): Delete.
1837 (!HAVE_PYTHON, apply_type_printers): Delete.
1838 (!HAVE_PYTHON, free_type_printers): Delete.
1839 (_initialize_python): Delete call to observer_attach_before_prompt.
1840 (finalize_python): Set/restore active extension language.
1841 (gdbpy_finish_initialization) Renamed from
1842 finish_python_initialization, made static. New arg extlang.
1843 (gdbpy_initialized): New function.
1844 * python/python.h: #include "extension.h". Delete #include
1845 "value.h", "mi/mi-cmds.h".
1846 (extension_language_python): Declare.
1847 (GDBPY_AUTO_FILE_NAME): Delete.
1848 (enum py_bt_status): Moved to extension.h and renamed to
1850 (enum frame_filter_flags): Moved to extension.h.
1851 (enum py_frame_args): Moved to extension.h and renamed to
1852 ext_lang_frame_args.
1853 (finish_python_initialization): Delete.
1854 (eval_python_from_control_command): Delete.
1855 (source_python_script): Delete.
1856 (apply_val_pretty_printer): Delete.
1857 (apply_frame_filter): Delete.
1858 (preserve_python_values): Delete.
1859 (gdbpy_script_language_defn): Delete.
1860 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1861 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1863 * auto-load.c: #include "extension.h".
1864 (GDB_AUTO_FILE_NAME): Delete.
1865 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1866 (script_language_gdb): Delete, moved to extension.c and renamed to
1867 extension_language_gdb.
1868 (source_gdb_script_for_objfile): Delete.
1869 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1870 (loaded_script): Change type of language member to
1871 struct extension_language_defn *.
1872 (init_loaded_scripts_info): Initialize
1873 unsupported_script_warning_printed.
1874 (maybe_add_script): Make static. Change type of language arg to
1875 struct extension_language_defn *.
1876 (clear_section_scripts): Reset unsupported_script_warning_printed.
1877 (auto_load_objfile_script_1): Rewrite to use extension language API.
1878 (auto_load_objfile_script): Make public. Remove support-compiled-in
1879 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1880 (source_section_scripts): Rewrite to use extension language API.
1881 (load_auto_scripts_for_objfile): Rewrite to use
1882 auto_load_scripts_for_objfile.
1883 (collect_matching_scripts_data): Change type of language member to
1884 struct extension_language_defn *.
1885 (auto_load_info_scripts): Change type of language arg to
1886 struct extension_language_defn *.
1887 (unsupported_script_warning_print): New function.
1888 (script_not_found_warning_print): Make static.
1889 (_initialize_auto_load): Rewrite construction of scripts-directory
1891 * auto-load.h (struct objfile): Add forward decl.
1892 (struct script_language): Delete.
1893 (struct auto_load_pspace_info): Add forward decl.
1894 (struct extension_language_defn): Add forward decl.
1895 (maybe_add_script): Delete.
1896 (auto_load_objfile_script): Declare.
1897 (script_not_found_warning_print): Delete.
1898 (auto_load_info_scripts): Update prototype.
1899 (auto_load_gdb_scripts_enabled): Declare.
1900 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1901 auto_load_python_scripts_enabled and made public.
1902 (script_language_python): Delete, moved to python.c.
1903 (gdbpy_script_language_defn): Delete.
1904 (info_auto_load_python_scripts): Update to use
1905 extension_language_python.
1907 * breakpoint.c (condition_command): Replace call to
1908 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1909 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1910 with call to breakpoint_ext_lang_cond_says_stop.
1911 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1912 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1913 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1914 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1916 (local_setattro): Print name of extension language with existing
1919 * valprint.c (val_print, value_print): Update to call
1920 apply_ext_lang_val_pretty_printer.
1921 * cp-valprint.c (cp_print_value): Update call to
1922 apply_ext_lang_val_pretty_printer.
1923 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1924 (gdbpy_apply_val_pretty_printer): Renamed from
1925 apply_val_pretty_printer. New arg extlang.
1926 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1928 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1929 extension language API.
1930 * cli/cli-script.c (execute_control_command): Update to call
1931 eval_ext_lang_from_control_command.
1933 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
1934 enum ext_lang_bt_status values. Update call to
1935 apply_ext_lang_frame_filter.
1936 (mi_cmd_stack_list_locals): Ditto.
1937 (mi_cmd_stack_list_args): Ditto.
1938 (mi_cmd_stack_list_variables): Ditto.
1939 * mi/mi-main.c: Delete #include "python/python-internal.h".
1940 Add #include "extension.h".
1941 (mi_cmd_list_features): Replace reference to python internal variable
1942 gdb_python_initialized with call to ext_lang_initialized_p.
1944 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
1945 Update to use enum ext_lang_frame_args. Update to call
1946 apply_ext_lang_frame_filter.
1947 * python/py-framefilter.c (extract_sym): Update to use enum
1949 (extract_value, py_print_type, py_print_value): Ditto.
1950 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
1951 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
1952 (py_print_frame): Ditto.
1953 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
1954 New arg extlang. Update to use enum ext_lang_bt_status.
1956 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
1957 finish_python_initialization. Replace with call to
1958 finish_ext_lang_initialization.
1960 * typeprint.c (do_free_global_table): Update to call
1961 free_ext_lang_type_printers.
1962 (create_global_typedef_table): Update to call
1963 start_ext_lang_type_printers.
1964 (find_global_typedef): Update to call apply_ext_lang_type_printers.
1965 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
1966 (type_print_options): Change type of global_printers from "void *"
1967 to "struct ext_lang_type_printers *".
1969 * value.c (preserve_values): Update to call preserve_ext_lang_values.
1970 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
1971 (gdbpy_preserve_values): Renamed from preserve_python_values.
1973 (!HAVE_PYTHON, preserve_python_values): Delete.
1975 * utils.c (quit_flag): Delete, moved to extension.c.
1976 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
1979 * eval.c: Delete #include "python/python.h".
1980 * main.c: Delete #include "python/python.h".
1982 * defs.h: Update comment.
1984 2014-02-06 Joel Brobecker <brobecker@adacore.com>
1988 2014-02-05 Mark Kettenis <kettenis@gnu.org>
1990 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
1993 2014-02-05 Yao Qi <yao@codesourcery.com>
1995 * remote.c (remote_pass_signals): Remove local 'buf' and use
1997 (remote_program_signals): Likewise.
1999 2014-02-05 Yao Qi <yao@codesourcery.com>
2001 * ctf.c: Include "inferior.h" and "gdbthread.h".
2002 (CTF_PID): A new macro.
2003 (ctf_open): Call inferior_appeared and add_thread_silent.
2004 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2005 (ctf_thread_alive): New function.
2006 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2008 2014-02-05 Yao Qi <yao@codesourcery.com>
2012 2013-05-24 Yao Qi <yao@codesourcery.com>
2014 * tracepoint.c (TFILE_PID): Remove.
2015 (tfile_open): Don't add thread and inferior.
2016 (tfile_close): Don't set 'inferior_ptid'. Don't call
2017 exit_inferior_silent.
2018 (tfile_thread_alive): Remove.
2019 (init_tfile_ops): Don't set field 'to_thread_alive' of
2022 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2024 * remote.c (remote_start_remote): Call remote_check_symbols even
2025 if only symbol-file (not file) has been given.
2027 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2029 * gdbarch.sh (skip_entrypoint): New callback.
2030 * gdbarch.c, gdbarch.h: Regenerate.
2031 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2032 * infrun.c (fill_in_stop_func): Likewise.
2033 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2034 (ppc_elfv2_elf_make_msymbol_special): New function.
2035 (ppc_elfv2_skip_entrypoint): Likewise.
2036 (ppc_linux_init_abi): Install them for ELFv2.
2038 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2040 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2041 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2042 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2043 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2044 structures returned in GPRs.
2046 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2048 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2049 offset to the stack parameter list for the ELFv2 ABI.
2051 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2053 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2054 set_gdbarch_convert_from_func_ptr_addr and
2055 set_gdbarch_elf_make_msymbol_special for ELFv1.
2056 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2057 function descriptors on ELFv1.
2058 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2059 set up r12 at function entry.
2061 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2063 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2064 (struct gdbarch_tdep): New member elf_abi.
2066 * rs6000-tdep.c: Include "elf/ppc64.h".
2067 (rs6000_gdbarch_init): Detect ELF ABI version.
2069 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2071 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2072 within a register pair holding a DFP 128-bit value on little-endian.
2073 (ppc64_sysv_abi_return_value_base): Likewise.
2074 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2075 (dfp_pseudo_register_write): Likewise.
2077 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2079 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2080 offset on little-endian when passing _Decimal32.
2081 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2083 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2085 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2086 of the overlapped FP register within the VSX register on little-
2088 (efpr_pseudo_register_write): Likewise.
2090 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2092 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2093 offset on little-endian when passing small structures.
2095 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2097 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2098 (struct ppc64_sysv_argpos): New data structure.
2099 (ppc64_sysv_abi_push_float): Remove.
2100 (ppc64_sysv_abi_push_val): New function.
2101 (ppc64_sysv_abi_push_integer): Likewise.
2102 (ppc64_sysv_abi_push_freg): Likewise.
2103 (ppc64_sysv_abi_push_vreg): Likewise.
2104 (ppc64_sysv_abi_push_param): Likewise.
2105 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2106 (ppc64_sysv_abi_return_value_base): New function.
2107 (ppc64_sysv_abi_return_value): Refactor to use it.
2109 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2111 * NEWS: Document new target powerpc64le-*-linux*.
2113 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2115 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2116 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2118 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2119 register set used in ELF core dumps. Add floating-point register set.
2121 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2123 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2124 dwarf2_to_gdb[] table using symbolic constants. Adjust
2125 penultimate entry from number representing the PC register
2126 to symbolic constant representing the MDR register. Add
2127 constant for the PC register to the end of the table.
2129 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2131 * bsd-kvm.c: Include <sys/param.h>
2133 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2135 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2137 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2139 * ada-lang.h (clear_ada_sym_cache): Delete.
2141 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2143 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2145 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2147 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2148 the sigreturn register save area only if the syscall is
2151 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2153 * valops.c (value_slice): Minor reformatting.
2155 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2157 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2159 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2161 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2163 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2164 (ada_ignore_descriptive_types_p): New static global.
2165 (find_parallel_type_by_descriptive_type): Return immediately
2166 if ada_ignore_descriptive_types_p is set.
2167 (_initialize_ada_language): Register new commands "maintenance
2168 set ada", "maintenance show ada", "maintenance set ada
2169 ignore-descriptive-types" and "maintenance show ada
2170 ignore-descriptive-types".
2171 * NEWS: Add entry for new "maint ada set/show
2172 ignore-descriptive-types" commands.
2174 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2176 * record-btrace.c (record_btrace_close): Call btrace_teardown
2179 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2181 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2184 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2186 * ada-typeprint (type_is_full_subrange_of_target_type):
2188 (print_range): Add parameter bounds_prefered_p. If not set,
2189 try printing range types using the name of their base type.
2190 (print_range_type): Add parameter bounds_prefered_p.
2191 Use it in call to print_range.
2192 (print_array_type, ada_print_type): Update calls to print_range
2193 and print_range_type.
2195 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2197 * ada-typeprint.c (print_array_type, print_choices, print_range)
2198 (print_range_bound, print_dynamic_range_bound, print_range_type):
2201 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2203 * ada-typeprint.c (print_range): Add missing empty line
2204 after local declaration.
2206 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2208 * ada-valprint.c (print_optional_low_bound): Get index_type's
2209 target type for as long as it is a TYPE_CODE_RANGE.
2211 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2213 * procfs.c (procfs_make_note_section): Remove assertion and
2216 2014-01-24 Yao Qi <yao@codesourcery.com>
2218 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2219 * corelow.c (get_core_siginfo): Likewise.
2221 2014-01-24 Yao Qi <yao@codesourcery.com>
2223 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2224 ULONGEST. Don't check 'len' is negative.
2225 (remote_write_bytes): Change type of 'len' to ULONGEST.
2227 2014-01-23 Tom Tromey <tromey@redhat.com>
2230 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2231 Handle exception from frame.block.
2232 (FrameVars.fetch_frame_locals): Likewise.
2234 2014-01-23 Tom Tromey <tromey@redhat.com>
2237 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2238 on a NULL pointer. Move "goto error" to correct place.
2240 2014-01-23 Tom Tromey <tromey@redhat.com>
2243 * python/py-framefilter.c (apply_frame_filter): Call
2244 ensure_python_env after computing gdbarch.
2246 2014-01-23 Yao Qi <yao@codesourcery.com>
2248 * target.c (raw_memory_xfer_partial): Change argument type
2249 from void * to gdb_byte *.
2250 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2252 2014-01-22 Doug Evans <dje@google.com>
2254 New gdbserver option --debug-format=timestamp.
2257 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2259 * syscalls/s390x-linux.xml: New file.
2260 * syscalls/s390-linux.xml: New file.
2261 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2262 (XML_SYSCALL_FILENAME_S390X): Likewise.
2263 (op_svc): New enum value for SVC opcode.
2264 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2265 (s390_linux_get_syscall_number): New function.
2266 (s390_gdbarch_init): Register '*get_syscall_number' and the
2267 syscall xml file name.
2268 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2269 "s390-linux.xml" and "s390x-linux.xml".
2270 * NEWS: Announce new feature.
2272 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2274 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2276 2014-01-22 Pedro Alves <palves@redhat.com>
2278 * xtensa-config.c: Include defs.h.
2280 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2282 * common/common-utils.h: Add "ARI:" comment beside __func__
2285 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2287 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2288 documentation a bit.
2290 2014-01-21 Roland McGrath <mcgrathr@google.com>
2292 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2293 * configure: Regenerate.
2294 * aclocal.m4: Regenerate.
2295 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2296 New substituted variables.
2297 (install-strip): New target.
2298 (INSTALL_SCRIPT): New substituted variable.
2299 (FLAGS_TO_PASS): Add it.
2300 (install-only): Use $(INSTALL_SCRIPT) rather than
2301 $(INSTALL_PROGRAM) for gcore.
2303 2014-01-20 Tom Tromey <tromey@redhat.com>
2305 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2308 2014-01-20 Tom Tromey <tromey@redhat.com>
2310 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2311 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2312 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2313 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2314 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2315 (struct cmd_list_element) <flags>: Remove.
2316 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2317 doc_allocated>: New fields.
2318 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2320 * maint.c (maintenance_do_deprecate): Update.
2321 * top.c (execute_command): Update.
2323 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2325 * xtensa-linux-nat.c: Include asm/ptrace.h.
2327 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2329 * Makefile.in (SFILES): Add d-support.c.
2330 (COMMON_OBS): Add d-support.o.
2331 * d-lang.h (d_parse_symbol): Add comment, now defined in
2333 * d-lang.c (parse_call_convention)
2334 (parse_attributes, parse_function_types)
2335 (parse_function_args, parse_type, parse_identifier)
2336 (call_convention_p, d_parse_symbol): Move functions to ...
2337 * d-support.c: ... New file.
2339 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2341 * d-lang.h (d_parse_symbol): Add declaration.
2342 * d-lang.c (extract_identifiers)
2343 (extract_type_info): Remove functions.
2344 (parse_call_convention, parse_attributes)
2345 (parse_function_types, parse_function_args)
2346 (parse_type, parse_identifier, call_convention_p)
2347 (d_parse_symbol): New functions.
2348 (d_demangle): Use d_parse_symbol to demangle D symbols.
2350 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2352 * d-lang.h (struct builtin_d_type): New data type.
2353 (builtin_d_type): Add declaration.
2354 * d-lang.c (d_language_arch_info, build_d_types)
2355 (builtin_d_type): New functions.
2356 (enum d_primitive_types): New data type.
2357 (d_language_defn): Change c_language_arch_info to
2358 d_language_arch_info.
2359 (d_type_data): New static variable.
2360 (_initialize_d_language): Initialize d_type_data.
2362 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2364 * d-lang.h (d_main_name): Add declaration.
2365 * d-lang.c (d_main_name): New function.
2366 * symtab.c (find_main_name): Add call to d_main_name.
2368 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2370 * d-lang.c (d_language_defn): Change macro_expansion_c to
2373 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2375 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2377 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2379 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2380 gdb_exception" declaration.
2381 * remote.c (getpkt_or_notif_sane): Likewise.
2383 2014-01-17 Doug Evans <dje@google.com>
2385 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2386 function, contents of dirnames_to_char_ptr_vec_append moved here.
2387 (delim_string_to_char_ptr_vec): New function.
2388 (dirnames_to_char_ptr_vec_append): Rewrite.
2389 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2391 2014-01-17 Doug Evans <dje@google.com>
2393 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2395 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2396 #include "common-utils.h".
2397 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2398 * common/vec.h (VEC_ASSERT_PASS): Update.
2399 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2400 (MACH_CHECK_ERROR): Update.
2402 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2404 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2406 * gdbarch.h: Regenerate.
2408 2014-01-16 Tom Tromey <tromey@redhat.com>
2410 * value.c (struct value) <regnum>: Move earlier.
2412 2014-01-16 Tom Tromey <tromey@redhat.com>
2414 * remote.c (extended_remote_create_inferior): Rename from
2415 extended_remote_create_inferior_1. Add "ops" argument. Remove
2418 2014-01-16 Pedro Alves <palves@redhat.com>
2420 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2421 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2424 2014-01-16 Doug Evans <dje@google.com>
2426 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2430 * btrace.h (btrace_thread_flag): New.
2431 (struct btrace_thread_info) <flags>: New.
2432 * record-btrace.c (record_btrace_resume_thread)
2433 (record_btrace_find_thread_to_move, btrace_step_no_history)
2434 (btrace_step_stopped, record_btrace_start_replaying)
2435 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2436 (record_btrace_find_resume_thread): New.
2437 (record_btrace_resume, record_btrace_wait): Extend.
2438 (record_btrace_can_execute_reverse): New.
2439 (record_btrace_open): Fail in non-stop mode.
2440 (record_btrace_set_replay): Split into this, ...
2441 (record_btrace_stop_replaying): ... this, ...
2442 (record_btrace_clear_histories): ... and this.
2443 (init_record_btrace_ops): Init to_can_execute_reverse.
2444 * NEWS: Announce it.
2446 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2448 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2449 (forward_target_decr_pc_after_break)
2450 (target_decr_pc_after_break): New.
2451 * target.c (forward_target_decr_pc_after_break)
2452 (target_decr_pc_after_break): New.
2453 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2454 instead of gdbarch_decr_pc_after_break.
2455 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2456 instead of gdbarch_decr_pc_after_break.
2457 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2458 instead of gdbarch_decr_pc_after_break.
2459 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2460 instead of gdbarch_decr_pc_after_break.
2461 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2462 instead of gdbarch_decr_pc_after_break.
2463 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2464 instead of gdbarch_decr_pc_after_break.
2466 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2468 * btrace.c: Include regcache.h.
2469 (btrace_add_pc): New.
2470 (btrace_enable): Call btrace_add_pc.
2471 (btrace_is_empty): New.
2472 * btrace.h (btrace_is_empty): New.
2473 * record-btrace.c (require_btrace, record_btrace_info): Call
2476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2478 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2479 Support delta reads.
2480 (linux_disable_btrace): Change return type.
2481 * common/linux-btrace.h (linux_read_btrace): Change parameters
2482 and return type to allow error reporting. Update users.
2483 (linux_disable_btrace): Change return type. Update users.
2484 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2486 (btrace_error): New.
2487 (btrace_block) <begin>: Comment on BEGIN == 0.
2488 * btrace.c (btrace_compute_ftrace): Start from the end of
2490 (btrace_stitch_trace, btrace_clear_history): New.
2491 (btrace_fetch): Read delta trace, return if replaying.
2492 (btrace_clear): Move clear history code to btrace_clear_history.
2493 (parse_xml_btrace): Throw an error if parsing failed.
2494 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2495 and return type to allow error reporting.
2496 (target_read_btrace): Change parameters and return type to allow
2498 * target.c (target_read_btrace): Update.
2499 * remote.c (remote_read_btrace): Support delta reads. Pass
2501 * NEWS: Announce it.
2503 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2505 * record.h (record_btrace_frame_unwind)
2506 (record_btrace_tailcall_frame_unwind): New declarations.
2507 * dwarf2-frame: Include record.h
2508 (dwarf2_frame_cfa): Throw an error for btrace frames.
2509 * record-btrace.c: Include hashtab.h.
2510 (btrace_get_bfun_name): New.
2511 (btrace_call_history): Call btrace_get_bfun_name.
2512 (struct btrace_frame_cache): New.
2514 (bfcache_hash, bfcache_eq, bfcache_new): New.
2515 (btrace_get_frame_function): New.
2516 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2517 (record_btrace_frame_this_id): Compute own id.
2518 (record_btrace_frame_prev_register): Provide PC, throw_error
2519 for all other registers.
2520 (record_btrace_frame_sniffer): Detect btrace frames.
2521 (record_btrace_tailcall_frame_sniffer): New.
2522 (record_btrace_frame_dealloc_cache): New.
2523 (record_btrace_frame_unwind): Add new functions.
2524 (record_btrace_tailcall_frame_unwind): New.
2525 (_initialize_record_btrace): Allocate cache.
2526 * btrace.c (btrace_clear): Call reinit_frame_cache.
2527 * NEWS: Announce it.
2529 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2531 * record-btrace.c (record_btrace_set_replay)
2532 (record_btrace_goto_begin, record_btrace_goto_end)
2533 (record_btrace_goto): New.
2534 (init_record_btrace_ops): Initialize them.
2535 * NEWS: Announce it.
2537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2539 * record-btrace.c (record_btrace_find_new_threads)
2540 (record_btrace_thread_alive): New.
2541 (init_record_btrace_ops): Initialize to_find_new_threads and
2544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2546 * record-btrace.c (record_btrace_resume): New.
2547 (record_btrace_wait): New.
2548 (init_record_btrace_ops): Initialize to_wait and to_resume.
2550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2552 * record-btrace.c (record_btrace_xfer_partial)
2553 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2554 (record_btrace_allow_memory_access): New.
2555 (init_record_btrace_ops): Initialize new methods.
2556 * target.c (raw_memory_xfer_partial): Bail out if target reports
2557 that this memory is not available.
2559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2561 * target.h (target_ops) <to_insert_breakpoint>
2562 <to_remove_breakpoint>: Add target_ops parameter.
2563 (forward_target_insert_breakpoint): New.
2564 (forward_target_remove_breakpoint): New.
2565 (memory_remove_breakpoint, memory_insert_breakpoint):
2566 Add target_ops parameter.
2567 * target.c (target_insert_breakpoint): Split into this and ...
2568 (forward_target_insert_breakpoint): ... this.
2569 (target_remove_breakpoint): Split into this and ...
2570 (forward_target_remove_breakpoint): ... this.
2571 (debug_to_insert_breakpoint): Add target_ops parameter.
2572 Call forward_target_insert_breakpoint.
2573 (debug_to_remove_breakpoint): Add target_ops parameter.
2574 Call forward_target_remove_breakpoint.
2575 (update_current_target): Do not inherit or default to_insert_breakpoint
2576 and to_remove_breakpoint.
2577 * corelow.c (ignore): Add target_ops parameter.
2578 * exec.c (ignore): Add target_ops parameter.
2579 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2580 Add target_ops parameter.
2581 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2582 Add target_ops parameter.
2583 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2584 Add target_ops parameter.
2585 * record-full.c (record_full_beneath_to_insert_breakpoint)
2586 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2587 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2588 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2589 (record_full_core_remove_breakpoint): Add target_ops parameter.
2591 (record_full_beneath_to_insert_breakpoint_ops)
2592 (record_full_beneath_to_remove_breakpoint_ops)
2593 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2594 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2595 tmp_to_remove_breakpoint_ops,
2596 record_full_beneath_to_insert_breakpoint_ops, and
2597 record_full_beneath_to_remove_breakpoint_ops.
2598 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2599 (m32r_remove_breakpoint): Add target_ops parameter.
2600 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2601 Add target_ops parameter.
2602 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2603 Add target_ops parameter.
2605 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2606 Markus Metzger <markus.t.metzger@intel.com>
2608 * record-btrace.c: Include frame-unwind.h.
2609 (record_btrace_frame_unwind_stop_reason)
2610 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2611 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2613 (init_record_btrace_ops): Install it.
2615 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2617 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2620 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2622 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2625 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2627 * frame-unwind.c: Include target.h.
2628 (frame_unwind_try_unwinder): New function with code from ...
2629 (frame_unwind_find_by_frame): ... here. New variable
2630 unwinder_from_target, call also target_get_unwinder)
2631 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2632 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2633 * target.h (struct target_ops): New fields to_get_unwinder and
2634 to_get_tailcall_unwinder.
2635 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2637 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2639 * record-btrace.c (record_btrace_fetch_registers)
2640 (record_btrace_store_registers)
2641 (record_btrace_to_prepare_to_store): New.
2642 (init_record_btrace_ops): Add the above.
2644 2014-01-16 Tom Tromey <tromey@redhat.com>
2646 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2647 * target.h (struct target_ops) <to_prepare_to_store>: Add
2649 (target_prepare_to_store): Add argument.
2650 * target.c (debug_to_prepare_to_store): Add argument.
2651 (update_current_target): Update.
2652 * remote.c (remote_prepare_to_store): Add 'self' argument.
2653 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2654 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2655 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2656 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2658 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2659 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2660 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2661 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2662 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2666 * btrace.h (replay) <replay>: New.
2667 (btrace_is_replaying): New.
2668 * btrace.c (btrace_clear): Free replay iterator.
2669 (btrace_is_replaying): New.
2670 * record-btrace.c (record_btrace_is_replaying): New.
2671 (record_btrace_info): Print insn number if replaying.
2672 (record_btrace_insn_history): Start at replay position.
2673 (record_btrace_call_history): Start at replay position.
2674 (init_record_btrace_ops): Init to_record_is_replaying.
2676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2678 * record-btrace.c (record_btrace_insn_history_range): Include
2680 (record_btrace_insn_history_from): Adjust range.
2681 (record_btrace_call_history_range): Include
2683 (record_btrace_call_history_from): Adjust range.
2684 * NEWS: Announce changes.
2686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2688 * record.h (enum record_print_flag)
2689 <record_print_indent_calls>: New.
2690 * record.c (get_call_history_modifiers): Recognize /c modifier.
2691 (_initialize_record): Document /c modifier.
2692 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2693 Reorder fields. Optionally indent the function name. Update
2695 * NEWS: Announce changes.
2697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2699 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2703 * btrace.c (ftrace_new_function): Start counting at one.
2704 * record-btrace.c (record_btrace_info): Adjust number of calls
2706 * NEWS: Announce it.
2708 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2710 * record-btrace.c (btrace_call_history_insn_range): Print
2711 insn range as [begin, end].
2713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2715 * btrace.h (struct btrace_func_link): New.
2716 (enum btrace_function_flag): New.
2717 (struct btrace_inst): Rename to ...
2718 (struct btrace_insn): ...this. Update all users.
2719 (struct btrace_func) <ibegin, iend>: Remove.
2720 (struct btrace_func_link): New.
2721 (struct btrace_func): Rename to ...
2722 (struct btrace_function): ...this. Update all users.
2723 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2724 (number, level, flags>: New.
2725 (struct btrace_insn_iterator): Rename to ...
2726 (struct btrace_insn_history): ...this.
2728 (struct btrace_insn_iterator, btrace_call_iterator): New.
2729 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2730 (struct btrace_target_info) <begin, end, level>
2731 <insn_history, call_history>: New.
2732 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2733 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2734 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2735 (btrace_call_number, btrace_call_begin, btrace_call_end)
2736 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2737 (btrace_find_function_by_number, btrace_set_insn_history)
2738 (btrace_set_call_history): New.
2739 * btrace.c (btrace_init_insn_iterator)
2740 (btrace_init_func_iterator, compute_itrace): Remove.
2741 (ftrace_print_function_name, ftrace_print_filename)
2742 (ftrace_skip_file): Change
2744 (ftrace_init_func): Remove.
2745 (ftrace_debug): Use new btrace_function fields.
2746 (ftrace_function_switched): Also consider gaining and
2747 losing symbol information).
2748 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2749 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2750 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2752 (ftrace_new_function): Move. Remove debug print.
2753 (ftrace_update_lines, ftrace_update_insns): New.
2754 (ftrace_update_function): Check for call, ret, and jump.
2755 (compute_ftrace): Renamed to ...
2756 (btrace_compute_ftrace): ...this. Rewritten to compute call
2758 (btrace_fetch, btrace_clear): Updated.
2759 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2760 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2761 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2762 (btrace_call_number, btrace_call_begin, btrace_call_end)
2763 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2764 (btrace_find_function_by_number, btrace_set_insn_history)
2765 (btrace_set_call_history): New.
2766 * record-btrace.c (require_btrace): Use new btrace thread
2768 (record_btrace_info, btrace_insn_history)
2769 (record_btrace_insn_history, record_btrace_insn_history_range):
2770 Use new btrace thread info fields and new iterator.
2771 (btrace_func_history_src_line): Rename to ...
2772 (btrace_call_history_src_line): ...this. Use new btrace
2774 (btrace_func_history): Rename to ...
2775 (btrace_call_history): ...this. Use new btrace thread info
2776 fields and new iterator.
2777 (record_btrace_call_history, record_btrace_call_history_range):
2778 Use new btrace thread info fields and new iterator.
2780 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2782 * frame.h (frame_id_build_unavailable_stack_special): New.
2783 * frame.c (frame_id_build_unavailable_stack_special): New.
2785 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2787 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2788 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2789 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2791 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2792 (i386_insn_is_jump, i386_jmp_p): New.
2793 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2794 insn_is_jump to gdbarch.
2795 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2796 * gdbarch.h: Regenerated.
2797 * gdbarch.c: Regenerated.
2798 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2799 (default_insn_is_jump): New.
2800 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2801 (default_insn_is_jump): New.
2803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2805 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2807 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2808 (btrace_read_type) <btrace_read_new>: Change to ...
2809 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2811 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2813 * common/linux-btrace.c (linux_read_btrace): Free trace from
2816 2014-01-15 Doug Evans <dje@google.com>
2818 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2821 2014-01-15 Tom Tromey <tromey@redhat.com>
2823 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2824 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2825 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2826 (set_objfile_main_name): New function.
2827 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2828 language_of_main>: New fields.
2829 (set_objfile_main_name): Declare.
2830 * symtab.c (find_main_name): Loop over objfiles to find the main
2832 (set_main_name): Now static.
2833 (get_main_info): Add comment.
2834 * symtab.h (set_main_name): Don't declare.
2836 2014-01-15 Tom Tromey <tromey@redhat.com>
2838 * symtab.c (main_progspace_key): New global.
2839 (struct main_info): New.
2840 (name_of_main, language_of_main): Remove.
2841 (get_main_info, main_info_cleanup): New function.
2842 (set_main_name, main_name, main_language): Use get_main_info.
2843 (_initialize_symtab): Initialize main_progspace_key.
2845 2014-01-15 Tom Tromey <tromey@redhat.com>
2847 * dbxread.c (process_one_symbol): Update.
2848 * dwarf2read.c (read_partial_die): Update.
2849 * symfile.c (set_initial_language): Call main_language.
2850 * symtab.c (language_of_main): Now static.
2851 (set_main_name): Add 'lang' parameter.
2852 (find_main_name): Update.
2853 (main_language): New function.
2854 (symtab_observer_executable_changed): Update.
2855 * symtab.h (set_main_name): Update.
2856 (language_of_main): Remove.
2857 (main_language): Declare.
2859 2014-01-15 Tom Tromey <tromey@redhat.com>
2861 * symfile.c (init_entry_point_info): Use new "initialized" field.
2863 * objfiles.h (struct entry_point) <initialized>: New field.
2864 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2865 (struct objfile) <ei>: ...here. Remove.
2866 * objfiles.c (entry_point_address_query): Update.
2868 2014-01-15 Tom Tromey <tromey@redhat.com>
2870 * objfiles.c (entry_point_address_query): Relocate entry point
2872 (objfile_relocate1): Do not relocate entry point address.
2873 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2874 <the_bfd_section_index>: New field.
2875 * symfile.c (init_entry_point_info): Find the entry point's
2878 2014-01-15 Tom Tromey <tromey@redhat.com>
2880 * solib-frv.c (enable_break): Use entry_point_address_query.
2882 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2884 * NEWS: Add note on improved process record-replay on
2885 arm*-linux* targets.
2887 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2889 * arm-tdep.c (enum arm_record_result): New enum.
2890 (arm_record_unsupported_insn): New function.
2891 (arm_record_coproc_data_proc): Removed.
2892 (thumb2_record_ld_st_multiple): New function.
2893 (thumb2_record_ld_st_dual_ex_tbb): New function.
2894 (thumb2_record_data_proc_sreg_mimm): New function.
2895 (thumb2_record_ps_dest_generic): New function.
2896 (thumb2_record_branch_misc_cntrl): New function.
2897 (thumb2_record_str_single_data): New function.
2898 (thumb2_record_ld_mem_hints): New function.
2899 (thumb2_record_ld_word): New function.
2900 (thumb2_record_lmul_lmla_div): New function.
2901 (thumb2_record_decode_insn_handler): New function.
2902 (decode_insn): Add thumb32 instruction handlers.
2904 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2906 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2907 (struct arm_linux_record_tdep): Declare.
2908 (arm_canonicalize_syscall): New function.
2909 (arm_all_but_pc_registers_record): New function.
2910 (arm_linux_syscall_record): New function.
2911 (arm_linux_init_abi): Add syscall recording constructs.
2912 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2913 decoding. (arm_record_coproc_data_proc): Update arm syscall
2915 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2916 <arm_syscall_record>: New field.
2917 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2920 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2922 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2923 register for push instruction recording.
2925 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2927 * arm-tdep.c (thumb_record_misc): Update to correct logical
2928 error while recording ldm, ldmia and pop instructions.
2930 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2932 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
2934 2014-01-15 Pedro Alves <palves@redhat.com>
2936 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
2937 (go32_resume, go32_fetch_registers, store_register)
2938 (go32_store_registers, go32_prepare_to_store)
2939 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
2940 (go32_create_inferior, go32_can_run, go32_terminal_init)
2941 (go32_terminal_inferior, go32_terminal_ours): Delete forward
2944 2014-01-15 Tom Tromey <tromey@redhat.com>
2946 * target.h (async_callback_ftype): New typedef.
2947 (struct target_ops) <to_async>: Use it.
2949 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2951 * python/py-value.c (get_field_type): Remove unnecessary curly
2952 braces for single-statement if block.
2954 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2956 * python/py-type.c (convert_field): Add missing empty line
2959 2014-01-14 Doug Evans <dje@google.com>
2961 * symfile.h (expand_symtabs_matching): Renamed from
2962 expand_partial_symbol_names. Update prototype.
2963 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2964 * symfile.c (expand_symtabs_matching): Renamed from
2965 expand_partial_symbol_names. New args file_matcher, kind.
2966 Rename arg fun to symbol_matcher.
2967 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2968 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
2969 ada_expand_partial_symbol_name.
2970 (ada_make_symbol_completion_list): Update to call
2971 expand_symtabs_matching.
2972 (ada_add_global_exceptions): Call expand_symtabs_matching.
2973 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
2974 call map_symbol_filenames.
2975 * symtab.c (sources_info): Update to call map_symbol_filenames.
2976 (search_symbols): Call expand_symtabs_matching.
2977 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
2978 (default_make_symbol_completion_list_break_on): Update to call
2979 expand_symtabs_matching.
2980 (make_source_files_completion_list): Update to call
2981 map_symbol_filenames.
2983 2014-01-14 Doug Evans <dje@google.com>
2985 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
2986 (expand_symtabs_symbol_matcher_ftype): New typedef.
2987 (quick_symbol_functions.expand_symtabs_matching): Update to use.
2988 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2989 * symfile.c (expand_partial_symbol_names): Update to use
2990 expand_symtabs_symbol_matcher_ftype.
2991 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
2992 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2993 Arg name_matcher renamed to symbol_matcher.
2994 * psymtab.c (recursively_search_psymtabs): Update to use
2995 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
2997 (expand_symtabs_matching_via_partial): Update to use
2998 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2999 Arg name_matcher renamed to symbol_matcher.
3001 2014-01-14 Doug Evans <dje@google.com>
3003 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3004 (map_partial_symbol_filenames): Ditto.
3005 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3006 (map_partial_symbol_filenames): Ditto.
3007 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3008 (map_partial_symbol_filenames): Ditto.
3009 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3010 (map_partial_symbol_filenames): Ditto.
3011 * symtab.c: Delete #include "psymtab.h".
3013 2014-01-14 Pedro Alves <palves@redhat.com>
3014 Tom Tromey <tromey@redhat.com>
3016 * infrun.c (use_displaced_stepping): Use find_record_target
3017 instead of RECORD_IS_USED.
3018 (adjust_pc_after_break): Use record_full_is_used instead of
3020 * record-btrace.c (record_btrace_open): Call record_preopen
3021 instead of checking RECORD_IS_USED.
3022 * record-full.c (record_full_shortname)
3023 (record_full_core_shortname): New globals.
3024 (record_full_is_used): New function.
3025 (find_full_open): Call record_preopen instead of checking
3027 (init_record_full_ops): Set the target's shortname to
3028 record_full_shortname.
3029 (init_record_full_core_ops): Set the target's shortname to
3030 record_full_core_shortname.
3031 * record-full.h (record_full_is_used): Declare.
3032 * record.c (find_record_target): Make extern.
3033 (record_preopen): New function.
3034 * record.h (RECORD_IS_USED): Delete macro.
3035 (find_record_target, record_preopen): Declare functions.
3037 2014-01-14 Yao Qi <yao@codesourcery.com>
3039 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3040 'len''s type to ULONGEST.
3041 (core_xfer_shared_libraries_aix): Likewise.
3042 * gdbarch.c, gdbarch.h: Regenerated.
3043 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3044 Change type of 'len' to ULONGEST.
3045 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3046 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3048 2014-01-14 Yao Qi <yao@codesourcery.com>
3050 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3051 type of 'len' to ULONGEST.
3052 (linux_xfer_osdata_processgroups): Likewise.
3053 (linux_xfer_osdata_threads): Likewise.
3054 (linux_xfer_osdata_fds): Likewise.
3055 (linux_xfer_osdata_isockets): Likewise.
3056 (linux_xfer_osdata_shm): Likewise.
3057 (linux_xfer_osdata_sem): Likewise.
3058 (linux_xfer_osdata_msg): Likewise.
3059 (linux_common_xfer_osdata): Likewise.
3060 (struct osdata_type) <getter>: Likewise.
3061 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3064 2014-01-14 Yao Qi <yao@codesourcery.com>
3066 * target.h (target_xfer_partial_ftype): Update.
3067 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3069 * aix-thread.c (aix_thread_xfer_partial): Change type of
3070 argument 'len' to ULONGEST.
3071 * auxv.c (procfs_xfer_auxv): Likewise.
3072 (ld_so_xfer_auxv): Likewise.
3073 (memory_xfer_auxv): Likewise.
3074 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3075 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3076 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3077 * corelow.c (core_xfer_partial): Likewise.
3078 * ctf.c (ctf_xfer_partial): Likewise.
3079 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3081 (darwin_read_dyld_info): Likewise.
3082 (darwin_xfer_partial): Likewise.
3083 * exec.c (section_table_xfer_memory_partial): Likewise.
3084 (exec_xfer_partial): Likewise.
3085 * exec.h (section_table_xfer_memory_partial): Update
3087 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3088 instead of plongest.
3089 (gnu_xfer_partial): Likewise.
3090 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3091 (ia64_hpux_xfer_solib_got): Likewise.
3092 (ia64_hpux_xfer_partial): Likewise.
3093 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3094 * inf-ptrace.c (inf_ptrace_xfer_partial):
3095 * inf-ttrace.c (inf_ttrace_xfer_partial):
3096 * linux-nat.c (linux_xfer_siginfo): Likewise.
3097 (linux_nat_xfer_partial): Likewise.
3098 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3099 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3100 * monitor.c (monitor_xfer_memory): Likewise.
3101 (monitor_xfer_partial): Likewise.
3102 * procfs.c (procfs_xfer_partial): Likewise.
3103 * record-full.c (record_full_xfer_partial): Likewise.
3104 (record_full_core_xfer_partial): Likewise.
3105 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3106 instead of plongest.
3107 (gdbsim_xfer_partial): Likewise.
3108 * remote.c (remote_xfer_partial): Likewise.
3109 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3110 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3112 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3113 (rs6000_xfer_shared_libraries): Likewise.
3114 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3115 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3116 (sparc_xfer_partial): Likewise.
3117 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3118 (spu_xfer_partial): Likewise.
3119 * spu-multiarch.c (spu_xfer_partial): Likewise.
3120 * target.c (target_read_live_memory): Likewise.
3121 (memory_xfer_live_readonly_partial): Likewise.
3122 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3123 (target_xfer_partial, default_xfer_partial): Likewise.
3124 (current_xfer_partial): Likewise.
3125 * tracepoint.c (tfile_xfer_partial): Likewise.
3126 * windows-nat.c (windows_xfer_memory): Likewise. Call
3127 pulongest instead of plongest.
3128 (windows_xfer_partial): Likewise.
3129 (windows_xfer_shared_libraries): Likewise.
3131 2014-01-14 Yao Qi <yao@codesourcery.com>
3133 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3134 target_xfer_partial_ftype.
3136 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3140 * valops.c (value_struct_elt_bitpos): New function
3141 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3142 object to 'None' if the field name is an empty string ("").
3143 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3144 attribute to look for a field when 'name' is 'None'.
3145 (get_field_type): New function
3147 2014-01-13 Doug Evans <dje@google.com>
3150 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3151 (try_open_dwop_file): Ditto.
3152 * gdb_bfd.c: #include "vec.h".
3153 (bfdp): New typedef.
3154 (struct gdb_bfd_data): New member included_bfds.
3155 (gdb_bfd_unref): Unref all included bfds.
3156 (gdb_bfd_record_inclusion): New function.
3157 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3159 2014-01-13 Tom Tromey <tromey@redhat.com>
3161 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3163 2014-01-13 Tom Tromey <tromey@redhat.com>
3165 * defs.h (use_windows): Remove.
3166 * gdb.c (main): Update.
3167 * main.c (captured_main, gdb_main): Update.
3168 * main.h (struct captured_main_args) <use_windows>: Remove.
3169 * top.c (use_windows): Remove.
3171 2014-01-13 Tom Tromey <tromey@redhat.com>
3173 * defs.h (deprecated_flush_hook): Remove.
3175 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3178 * linux-thread-db.c (try_thread_db_load): Add parameter
3179 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3180 (try_thread_db_load_from_pdir_1): Move it there from here.
3181 (try_thread_db_load_from_sdir): Update caller.
3182 (try_thread_db_load_from_dir): Move it there from here.
3184 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3186 * regformats/regdat.sh: Always rewrite the register file.
3188 2014-01-13 Pedro Alves <palves@redhat.com>
3190 * Makefile.in (CHECK_HEADERS): New variable.
3191 (check-headers:): New rule.
3193 2014-01-13 Tom Tromey <tromey@redhat.com>
3195 * cli/cli-setshow.c (do_set_command): Update.
3196 * defs.h (deprecated_set_hook): Remove.
3197 * top.c (deprecated_set_hook): Remove.
3199 2014-01-13 Pedro Alves <palves@redhat.com>
3201 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3202 the tracepoint if the PC is a pseudo-register.
3204 2014-01-13 Tom Tromey <tromey@redhat.com>
3206 * defs.h (XCALLOC): Remove.
3207 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3208 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3209 * dwarf2loc.c (allocate_piece_closure): Likewise.
3210 * elfread.c (elf_symfile_segments): Likewise.
3211 (elf_symfile_segments): Likewise.
3212 * gdbtypes.c (copy_type_recursive): Likewise.
3213 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3214 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3215 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3217 * mt-tdep.c (mt_gdbarch_init): Likewise.
3218 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3220 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3221 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3222 * registry.c (registry_alloc_data): Likewise.
3223 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3224 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3225 * serial.c (serial_fdopen_ops): Likewise.
3226 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3228 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3229 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3232 2014-01-13 Tom Tromey <tromey@redhat.com>
3234 * defs.h (XMALLOC): Remove.
3235 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3236 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3237 * cli-out.c (struct ui_out *): Likewise.
3238 * cli/cli-dump.c (add_dump_command): Likewise.
3239 (add_dump_command): Likewise.
3240 * complaints.c (get_complaints): Likewise.
3241 (find_complaint): Likewise.
3242 * dwarf2-frame.c (execute_cfa_program): Likewise.
3243 * dwarf2read.c (abbrev_table_read_table): Likewise.
3244 * gdbarch.sh: Likewise.
3245 * gdbarch.c: Rebuild.
3246 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3247 * interps.c (interp_new): Likewise.
3248 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3249 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3250 * mi/mi-console.c (mi_console_file_new): Likewise.
3251 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3252 * mi/mi-out.c (mi_out_new): Likewise.
3253 * mi/mi-parse.c (mi_parse): Likewise.
3254 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3255 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3256 * observer.c (xalloc_observer_list_node): Likewise.
3257 * regcache.c (regcache_xmalloc_1): Likewise.
3258 * reggroups.c (reggroup_new): Likewise.
3259 (_initialize_reggroup): Likewise.
3260 * registry.c (register_data_with_cleanup): Likewise.
3261 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3262 * ser-base.c (serial_ttystate): Likewise.
3263 * ser-mingw.c (make_pipe_state): Likewise.
3264 * ser-pipe.c (pipe_open): Likewise.
3265 * serial.c (serial_open): Likewise.
3266 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3267 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3268 (tui_alloc_win_info): Likewise.
3269 (tui_add_content_elements): Likewise.
3270 * tui/tui-file.c (tui_file_new): Likewise.
3271 * tui/tui-out.c (tui_out_new): Likewise.
3272 * ui-file.c (mem_file_new): Likewise.
3273 * ui-out.c (push_level): Likewise.
3274 (make_cleanup_ui_out_end): Likewise.
3275 (append_header_to_list): Likewise.
3276 (ui_out_new): Likewise.
3277 * user-regs.c (user_reg_add_builtin): Likewise.
3279 2014-01-13 Tom Tromey <tromey@redhat.com>
3281 * defs.h (XZALLOC): Remove.
3282 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3283 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3284 (get_ada_tasks_inferior_data): Likewise.
3285 * auto-load.c (get_auto_load_pspace_data): Likewise.
3286 * auxv.c (get_auxv_inferior_data): Likewise.
3287 * bfd-target.c (target_bfd_reopen): Likewise.
3288 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3289 (deprecated_insert_raw_breakpoint): Likewise.
3290 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3291 * corelow.c (core_open): Likewise.
3292 * darwin-nat.c (darwin_check_new_threads): Likewise.
3293 (darwin_attach_pid): Likewise.
3294 * dummy-frame.c (dummy_frame_push): Likewise.
3295 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3296 * dwarf2loc.c (allocate_piece_closure): Likewise.
3297 * elfread.c (elf_symfile_segments): Likewise.
3298 * eval.c (ptrmath_type_p): Likewise.
3299 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3300 * gdbtypes.c (alloc_type_arch): Likewise.
3301 (alloc_type_instance): Likewise.
3302 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3303 * inf-child.c (inf_child_can_use_agent): Likewise.
3304 * inflow.c (get_inflow_inferior_data): Likewise.
3305 * infrun.c (save_infcall_suspend_state): Likewise.
3306 * jit.c (jit_reader_load): Likewise.
3307 (get_jit_objfile_data): Likewise.
3308 (get_jit_program_space_data): Likewise.
3309 (jit_object_open_impl): Likewise.
3310 (jit_symtab_open_impl): Likewise.
3311 (jit_block_open_impl): Likewise.
3312 (jit_frame_sniffer): Likewise.
3313 * linux-fork.c (add_fork): Likewise.
3314 * maint.c (make_command_stats_cleanup): Likewise.
3315 * objfiles.c (get_objfile_pspace_data): Likewise.
3316 * opencl-lang.c (struct lval_closure): Likewise.
3317 * osdata.c (osdata_start_osdata): Likewise.
3318 * progspace.c (new_address_space): Likewise.
3319 (add_program_space): Likewise.
3320 * remote-sim.c (get_sim_inferior_data): Likewise.
3321 * sh-tdep.c (sh_gdbarch_init): Likewise.
3322 * skip.c (Ignore): Likewise.
3323 (skip_delete_command): Likewise.
3324 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3325 (library_list_start_library): Likewise.
3326 (solib_aix_current_sos): Likewise.
3327 * solib-darwin.c (get_darwin_info): Likewise.
3328 (darwin_current_sos): Likewise.
3329 * solib-dsbt.c (get_dsbt_info): Likewise.
3330 * solib-ia64-hpux.c (new_so_list): Likewise.
3331 (ia64_hpux_get_solib_linkage_addr): Likewise.
3332 * solib-spu.c (append_ocl_sos): Likewise.
3333 (spu_current_sos): Likewise.
3334 * solib-svr4.c (get_svr4_info): Likewise.
3335 (svr4_keep_data_in_core): Likewise.
3336 (library_list_start_library): Likewise.
3337 (svr4_default_sos): Likewise.
3338 (svr4_read_so_list): Likewise.
3339 * solib-target.c (library_list_start_library): Likewise.
3340 (solib_target_current_sos): Likewise.
3341 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3342 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3343 * symfile.c (default_symfile_segments): Likewise.
3344 * target-descriptions.c (tdesc_data_init): Likewise.
3345 (tdesc_create_reg): Likewise.
3346 (struct tdesc_type *): Likewise.
3347 (tdesc_create_vector): Likewise.
3348 (tdesc_set_struct_size): Likewise.
3349 (struct tdesc_type *): Likewise.
3350 (tdesc_free_feature): Likewise.
3351 (tdesc_create_feature): Likewise.
3352 * windows-nat.c (windows_add_thread): Likewise.
3353 (windows_make_so): Likewise.
3354 * xml-support.c (gdb_xml_body_text): Likewise.
3355 (gdb_xml_create_parser_and_cleanup): Likewise.
3356 (xml_process_xincludes): Likewise.
3357 * xml-syscall.c (allocate_syscalls_info): Likewise.
3358 (syscall_create_syscall_desc): Likewise.
3360 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3362 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3363 function, with code from i386_stap_parse_special_token.
3364 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3365 (i386_stap_parse_special_token): Move code to the two functions
3368 2014-01-09 Pedro Alves <palves@redhat.com>
3369 Hui Zhu <hui@codesourcery.com>
3372 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3373 bp_err_string. Don't mark the location shlib_disabled if the
3374 error thrown wasn't a generic or memory error. Catch errors
3375 thrown while inserting breakpoints in overlayed code. Output
3376 error message of software breakpoints.
3377 * remote.c (remote_insert_breakpoint): If this breakpoint has
3378 target-side commands but this stub doesn't support Z0 packets,
3379 throw NOT_SUPPORTED_ERROR error.
3380 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3381 * target.h (target_insert_breakpoint): Extend comment.
3382 (target_insert_hw_breakpoint): Add comment.
3384 2014-01-08 Pedro Alves <palves@redhat.com>
3386 * remote.c (remote_add_thread): Add threads silently if starting
3388 (remote_notice_new_inferior): If in all-stop, and starting up,
3389 don't call notice_new_inferior.
3390 (get_current_thread): New function, factored out from ...
3391 (add_current_inferior_and_thread): ... this. Adjust.
3392 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3393 found any thread, then select the remote's current thread as GDB's
3396 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3398 * NEWS: Create a new section for the next release branch.
3399 Rename the section of the current branch, now that it has
3402 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3404 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3405 * version.in: Bump version to 7.7.50.DATE-cvs.
3407 2014-01-08 Yao Qi <yao@codesourcery.com>
3409 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3410 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3411 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3413 2014-01-08 Yao Qi <yao@codesourcery.com>
3415 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3416 return value of bfd_get_filename to symbol_file_add_from_bfd.
3418 2014-01-08 Pierre Muller <muller@sourceware.org>
3421 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3422 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3423 to prim_record_mininal_symbol_and_info.
3424 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3425 in call to prim_record_minimal_symbol_and_info.
3426 (read_pe_exported_syms): Set index field of section_data.
3428 2014-01-07 Andrew Pinski <apinski@cavium.com>
3430 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3431 * features/aarch64.c: Regenerate.
3433 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3435 * target.c (return_null): Define.
3436 (update_current_target): Use it instead of return_zero for
3437 functions that return a pointer.
3439 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3441 * source.c (add_path): Fix check for duplicated paths in the previously
3444 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3446 * ada-lang.c: Remove duplicated include statements.
3447 * alphabsd-nat.c: Ditto.
3448 * amd64-darwin-tdep.c: Ditto.
3449 * amd64fbsd-nat.c: Ditto.
3450 * auto-load.c: Ditto.
3452 * breakpoint.c: Ditto.
3454 * fork-child.c: Ditto.
3455 * gdb_usleep.c: Ditto.
3456 * i386-darwin-tdep.c: Ditto.
3457 * i386fbsd-nat.c: Ditto.
3459 * inferior.c: Ditto.
3461 * linux-nat.c: Ditto.
3462 * linux-tdep.c: Ditto.
3463 * m68kbsd-nat.c: Ditto.
3464 * m68klinux-nat.c: Ditto.
3465 * microblaze-tdep.c: Ditto.
3466 * mips-linux-tdep.c: Ditto.
3467 * mn10300-tdep.c: Ditto.
3468 * nto-tdep.c: Ditto.
3469 * opencl-lang.c: Ditto.
3471 * printcmd.c: Ditto.
3472 * regcache.c: Ditto.
3473 * remote-m32r-sdi.c: Ditto.
3477 * tilegx-linux-nat.c: Ditto.
3478 * tilegx-tdep.c: Ditto.
3479 * tracepoint.c: Ditto.
3481 * vaxbsd-nat.c: Ditto.
3482 * windows-nat.c: Ditto.
3483 * xtensa-tdep.c: Ditto.
3485 2014-01-07 Yao Qi <yao@codesourcery.com>
3487 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3489 2014-01-07 Yao Qi <yao@codesourcery.com>
3490 Joel Brobecker <brobecker@adacore.com>
3492 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3493 (pdc_write_regs): Likewise.
3494 (fetch_regs_kernel_thread): Likewise.
3495 (store_regs_kernel_thread): Likewise.
3497 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3499 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3500 tagged type objects to their actual type.
3502 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3504 * ada-valprint.c (print_field_values): Add "language" parameter.
3505 Update calls to print_field_values and print_variant_part.
3506 Pass new parameter "language" in call to val_print instead
3507 of "current_language". Replace call to ada_val_print by call
3509 (print_variant_part): Add "language" parameter.
3510 (ada_val_print_struct_union): Update call to print_field_values.
3512 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3514 * ada-valprint.c (ui_memcpy): Delete.
3515 (ada_print_floating): Update documentation. Add empty line
3516 between between function documentation and implementation.
3517 Delete variable "buffer". Use ui_file_xstrdup in place of
3518 ui_file_put. Minor adjustments following this change.
3520 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3522 * ada-valprint.c (ada_val_print_string): New function,
3523 extracted from ada_val_print_array.
3524 (ada_val_print_array): Replace extracted code by call
3525 to ada_val_print_string followed by a return. Move
3526 "else" branch to the function's top block.
3528 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3530 * ada-valprint.c (ada_val_print_array): Move implementation
3531 down. Rename parameter "offset" and "val" into "offset_aligned"
3532 and "original_value" respectively. Add parameter "offset".
3534 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3536 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3537 re-organizing the code. Change the "???" message printed
3538 when target type is a TYPE_CODE_UNDEF into
3539 "<ref to undefined type>".
3541 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3543 * ada-valprint.c (print_record): Delete, implementation inlined...
3544 (ada_val_print_struct_union): ... here. Remove call to
3545 ada_check_typedef in inlined implementation.
3547 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3549 * ada-valprint.c (ada_val_print_gnat_array): New function,
3550 extracted from ada_val_print_1;
3551 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3552 (ada_val_print_flt, ada_val_print_struct_union)
3553 (ada_val_print_ref): Likewise.
3554 (ada_val_print_1): Delete variables i and elttype.
3555 Replace extracted-out code by call to corresponding
3558 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3560 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3562 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3564 * ada-valprint.c (ada_val_print_1): Replace calls to
3565 ada_val_print_1 by calls to val_print.
3567 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3569 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3570 Update calls to self accordingly. Replace calls to c_val_print
3571 by calls to val_print.
3573 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3575 * ada-valprint.c (print_record): Delete declaration.
3576 (adjust_type_signedness, ada_val_print_1): Likewise.
3577 (ada_val_print): Move function implementation down.
3578 (print_variant_part, print_field_values, print_record):
3579 Move function implementation up.
3581 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3583 * python/py-type.c (typy_get_name): New function.
3584 (type_object_getset): Add entry for attribute "name".
3585 * NEWS: Add entry mentioning this new attribute.
3587 2014-01-07 Yao Qi <yao@codesourcery.com>
3589 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3592 2014-01-07 Yao Qi <yao@codesourcery.com>
3594 * gnu-nat.c (info_port_rights): Add qualifier const to
3597 2014-01-07 Yao Qi <yao@codesourcery.com>
3599 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3601 2014-01-07 Yao Qi <yao@codesourcery.com>
3603 * gnu-nat.c (make_inf) Update declaration.
3604 (make_inf): Make it static.
3605 (inf_set_traced): Likewise.
3606 (inf_port_to_thread, inf_task_died_status): Likewise.
3608 2014-01-07 Yao Qi <yao@codesourcery.com>
3610 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3612 2014-01-07 Yao Qi <yao@codesourcery.com>
3614 * gnu-nat.c (_initialize_gnu_nat): Declare.
3616 2014-01-07 Yao Qi <yao@codesourcery.com>
3618 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3620 (struct gdbarch_info) <byte_order>: Change type to
3622 <byte_order_for_code>: Likewise.
3623 * gdbarch.c, gdbarch.h: Regenerated.
3625 2014-01-06 Sasha Smundak <asmundak@google.com>
3627 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3629 2014-01-06 Tom Tromey <tromey@redhat.com>
3631 * doublest.c (convert_doublest_to_floatformat): Use const, not
3633 * somread.c (som_symtab_read): Likewise.
3635 2014-01-07 Hui Zhu <hui@codesourcery.com>
3637 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3638 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3639 (gdb_bfd_fopen): Ditto.
3640 (gdb_bfd_openr): Ditto.
3641 (gdb_bfd_openw): Ditto.
3642 (gdb_bfd_openr_iovec): Ditto.
3643 (gdb_bfd_fdopenr): Ditto.
3644 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3645 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3647 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3649 * symfile-mem.c (symbol_file_add_from_memory): Removed
3650 gdb_bfd_stash_filename.
3652 2014-01-03 Doug Evans <dje@google.com>
3654 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3657 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3659 Update year range in copyright notice of all files.
3661 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3663 * top.c (print_gdb_version): Set copyright year to 2014.
3665 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3667 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3669 For older changes see ChangeLog-2013.
3675 version-control: never