1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.h (struct target_ops) <to_goto_record>: Add argument.
4 * target.c (target_goto_record): Add argument.
5 * record-full.c (record_full_goto): Add 'self' argument.
6 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11 * target.c (target_goto_record_end): Add argument.
12 * record-full.c (record_full_goto_end): Add 'self' argument.
13 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target.h (struct target_ops) <to_goto_record_begin>: Add
19 * target.c (target_goto_record_begin): Add argument.
20 * record-full.c (record_full_goto_begin): Add 'self' argument.
21 * record-btrace.c (record_btrace_goto_begin): Add 'self'
24 2014-02-19 Tom Tromey <tromey@redhat.com>
26 * target.h (struct target_ops) <to_record_is_replaying>: Add
28 * target.c (target_record_is_replaying): Add argument.
29 * record-full.c (record_full_is_replaying): Add 'self' argument.
30 * record-btrace.c (record_btrace_is_replaying): Add 'self'
32 (record_btrace_xfer_partial, record_btrace_store_registers)
33 (record_btrace_prepare_to_store, record_btrace_resume)
34 (record_btrace_wait, record_btrace_decr_pc_after_break)
35 (record_btrace_find_new_threads, record_btrace_thread_alive):
38 2014-02-19 Tom Tromey <tromey@redhat.com>
40 * target.h (struct target_ops) <to_delete_record>: Add argument.
41 * target.c (target_delete_record): Add argument.
42 * record-full.c (record_full_delete): Add 'self' argument.
44 2014-02-19 Tom Tromey <tromey@redhat.com>
46 * target.h (struct target_ops) <to_save_record>: Add argument.
47 * target.c (target_save_record): Add argument.
48 * record-full.c (record_full_save): Add 'self' argument.
49 (record_full_save): Add 'self' argument.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target.h (struct target_ops) <to_info_record>: Add argument.
54 * target.c (target_info_record): Add argument.
55 * record.c (info_record_command): Add argument.
56 * record-full.c (record_full_info): Add 'self' argument.
57 * record-btrace.c (record_btrace_info): Add 'self' argument.
59 2014-02-19 Tom Tromey <tromey@redhat.com>
61 * target.h (struct target_ops) <to_stop_recording>: Add argument.
62 * target.c (target_stop_recording): Add argument.
63 * record.c (record_stop): Add argument.
64 * record-btrace.c (record_btrace_stop_recording): Add 'self'
67 2014-02-19 Tom Tromey <tromey@redhat.com>
69 * target.h (struct target_ops) <to_read_btrace>: Add argument.
70 * target.c (struct target_ops) <to_read_btrace>: Add argument.
71 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
73 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
74 (_initialize_amd64_linux_nat): Use it.
75 * i386-linux-nat.c (i386_linux_read_btrace): New function.
76 (_initialize_i386_linux_nat): Use it.
78 2014-02-19 Tom Tromey <tromey@redhat.com>
80 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
81 * target.c (target_teardown_btrace): Add argument.
82 * remote.c (remote_teardown_btrace): Add 'self' argument.
83 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
85 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
91 * target.c (target_disable_btrace): Add argument.
92 * remote.c (remote_disable_btrace): Add 'self' argument.
93 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
95 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
98 2014-02-19 Tom Tromey <tromey@redhat.com>
100 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
101 * target.c (target_enable_btrace): Add argument.
102 * remote.c (remote_enable_btrace): Add 'self' argument.
103 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
105 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
111 (target_can_use_agent): Add argument.
112 * target.c (update_current_target): Update.
113 * remote.c (remote_can_use_agent): Add 'self' argument.
114 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target.h (struct target_ops) <to_use_agent>: Add argument.
119 (target_use_agent): Add argument.
120 * target.c (update_current_target): Update.
121 * remote.c (remote_use_agent): Add 'self' argument.
122 * inf-child.c (inf_child_use_agent): Add 'self' argument.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
127 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
128 (target_traceframe_info): Add argument.
129 * target.c (update_current_target): Update.
130 * remote.c (remote_traceframe_info): Add 'self' argument.
131 * ctf.c (ctf_traceframe_info): Add 'self' argument.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target.h (target_static_tracepoint_markers_by_strid): Add
137 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
139 * target.c (update_current_target): Update.
140 * remote.c (struct target_ops)
141 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
142 * linux-nat.c (struct target_ops)
143 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
149 (target_static_tracepoint_marker_at): Add argument.
150 * target.c (update_current_target): Update.
151 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
154 2014-02-19 Tom Tromey <tromey@redhat.com>
156 * target.h (struct target_ops) <to_set_permissions>: Add argument.
157 (target_set_permissions): Add argument.
158 * target.c (update_current_target): Update.
159 * remote.c (remote_set_permissions): Add 'self' argument.
160 (remote_start_remote): Update.
162 2014-02-19 Tom Tromey <tromey@redhat.com>
164 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
165 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
166 (target_get_tib_address): Add argument.
167 * target.c (update_current_target): Update.
168 * remote.c (remote_get_tib_address): Add 'self' argument.
170 2014-02-19 Tom Tromey <tromey@redhat.com>
172 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
173 (target_set_trace_notes): Add argument.
174 * target.c (update_current_target): Update.
175 * remote.c (remote_set_trace_notes): Add 'self' argument.
177 2014-02-19 Tom Tromey <tromey@redhat.com>
179 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
181 (target_set_trace_buffer_size): Add argument.
182 * target.c (update_current_target): Update.
183 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
185 2014-02-19 Tom Tromey <tromey@redhat.com>
187 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
189 (target_set_circular_trace_buffer): Add argument.
190 * target.c (update_current_target): Update.
191 * remote.c (remote_set_circular_trace_buffer): Add 'self'
194 2014-02-19 Tom Tromey <tromey@redhat.com>
196 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
198 (target_set_disconnected_tracing): Add argument.
199 * target.c (update_current_target): Update.
200 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
202 2014-02-19 Tom Tromey <tromey@redhat.com>
204 * target.h (struct target_ops)
205 <to_get_min_fast_tracepoint_insn_len>: Add argument.
206 (target_get_min_fast_tracepoint_insn_len): Add argument.
207 * target.c (update_current_target): Update.
208 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
215 (target_get_raw_trace_data): Add argument.
216 * target.c (update_current_target): Update.
217 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target.h (struct target_ops) <to_upload_trace_state_variables>:
223 (target_upload_trace_state_variables): Add argument.
224 * target.c (update_current_target): Update.
225 * remote.c (remote_upload_trace_state_variables): Add 'self'
227 (remote_start_remote): Update.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target.h (struct target_ops) <to_upload_tracepoints>: Add
233 (target_upload_tracepoints): Add argument.
234 * target.c (update_current_target): Update.
235 * remote.c (remote_upload_tracepoints): Add 'self' argument.
236 (remote_start_remote): Update.
238 2014-02-19 Tom Tromey <tromey@redhat.com>
240 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
241 (target_save_trace_data): Add argument.
242 * target.c (update_current_target): Update.
243 * remote.c (remote_save_trace_data): Add 'self' argument.
245 2014-02-19 Tom Tromey <tromey@redhat.com>
247 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
249 * target.h (struct target_ops)
250 <to_get_trace_state_variable_value>: Add argument.
251 (target_get_trace_state_variable_value): Add argument.
252 * target.c (update_current_target): Update.
253 * remote.c (remote_get_trace_state_variable_value): Add 'self'
255 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * tracepoint.c (tfile_trace_find): Add 'self' argument.
260 * target.h (struct target_ops) <to_trace_find>: Add argument.
261 (target_trace_find): Add argument.
262 * target.c (update_current_target): Update.
263 * remote.c (remote_trace_find): Add 'self' argument.
264 * ctf.c (ctf_trace_find): Add 'self' argument.
266 2014-02-19 Tom Tromey <tromey@redhat.com>
268 * target.h (struct target_ops) <to_trace_stop>: Add argument.
269 (target_trace_stop): Add argument.
270 * target.c (update_current_target): Update.
271 * remote.c (remote_trace_stop): Add 'self' argument.
273 2014-02-19 Tom Tromey <tromey@redhat.com>
275 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
276 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
278 (target_get_tracepoint_status): Add argument.
279 * target.c (update_current_target): Update.
280 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
282 2014-02-19 Tom Tromey <tromey@redhat.com>
284 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
285 * target.h (struct target_ops) <to_get_trace_status>: Add
287 (target_get_trace_status): Add argument.
288 * target.c (update_current_target): Update.
289 * remote.c (remote_get_trace_status): Add 'self' argument.
290 (remote_start_remote, remote_can_download_tracepoint): Update.
291 * ctf.c (ctf_get_trace_status): Add 'self' argument.
293 2014-02-19 Tom Tromey <tromey@redhat.com>
295 * target.h (struct target_ops) <to_trace_start>: Add argument.
296 (target_trace_start): Add argument.
297 * target.c (update_current_target): Update.
298 * remote.c (remote_trace_start): Add 'self' argument.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
304 (target_trace_set_readonly_regions): Add argument.
305 * target.c (update_current_target): Update.
306 * remote.c (remote_trace_set_readonly_regions): Add 'self'
309 2014-02-19 Tom Tromey <tromey@redhat.com>
311 * target.h (struct target_ops) <to_disable_tracepoint>: Add
313 (target_disable_tracepoint): Add argument.
314 * target.c (update_current_target): Update.
315 * remote.c (remote_disable_tracepoint): Add 'self' argument.
317 2014-02-19 Tom Tromey <tromey@redhat.com>
319 * target.h (struct target_ops) <to_enable_tracepoint>: Add
321 (target_enable_tracepoint): Add argument.
322 * target.c (update_current_target): Update.
323 * remote.c (remote_enable_tracepoint): Add 'self' argument.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target.h (struct target_ops) <to_download_trace_state_variable>:
329 (target_download_trace_state_variable): Add argument.
330 * target.c (update_current_target): Update.
331 * remote.c (remote_download_trace_state_variable): Add 'self'
334 2014-02-19 Tom Tromey <tromey@redhat.com>
336 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
338 (target_can_download_tracepoint): Add argument.
339 * target.c (update_current_target): Update.
340 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target.h (struct target_ops) <to_download_tracepoint>: Add
346 (target_download_tracepoint): Add argument.
347 * target.c (update_current_target): Update.
348 * remote.c (remote_download_tracepoint): Add 'self' argument.
350 2014-02-19 Tom Tromey <tromey@redhat.com>
352 * target.h (struct target_ops) <to_trace_init>: Add argument.
353 (target_trace_init): Add argument.
354 * target.c (update_current_target): Update.
355 * remote.c (remote_trace_init): Add 'self' argument.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
360 * target.c (target_fileio_readlink): Add argument.
361 * remote.c (remote_hostio_readlink): Add 'self' argument.
362 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
367 * target.c (target_fileio_unlink): Add argument.
368 * remote.c (remote_hostio_unlink): Add 'self' argument.
369 (remote_file_delete): Update.
370 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target.h (struct target_ops) <to_fileio_close>: Add argument.
375 * target.c (target_fileio_close): Add argument.
376 * remote.c (remote_hostio_close): Add 'self' argument.
377 (remote_hostio_close_cleanup): Update.
378 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
380 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
385 * target.c (target_fileio_pread): Add argument.
386 * remote.c (remote_hostio_pread): Add 'self' argument.
387 (remote_bfd_iovec_pread, remote_file_get): Update.
388 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
393 * target.c (target_fileio_pwrite): Add argument.
394 * remote.c (remote_hostio_pwrite): Add 'self' argument.
395 (remote_file_put): Update.
396 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target.h (struct target_ops) <to_fileio_open>: Add argument.
401 * target.c (target_fileio_open): Add argument.
402 * remote.c (remote_hostio_open): Add 'self' argument.
403 (remote_bfd_iovec_open): Add 'self' argument.
404 (remote_file_put): Add 'self' argument.
405 (remote_file_get): Add 'self' argument.
406 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
412 (target_can_run_breakpoint_commands): Add argument.
413 * target.c (update_current_target): Update.
414 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
416 (remote_insert_breakpoint): Add 'self' argument.
417 (remote_insert_hw_breakpoint): Add 'self' argument.
418 (remote_can_run_breakpoint_commands): Add 'self' argument.
420 2014-02-19 Tom Tromey <tromey@redhat.com>
422 * target.h (struct target_ops)
423 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
424 (target_supports_evaluation_of_breakpoint_conditions): Add
426 * target.c (update_current_target): Update.
427 * remote.c (remote_supports_cond_breakpoints): Add 'self'
429 (remote_insert_breakpoint): Add 'self' argument.
430 (remote_insert_hw_breakpoint): Add 'self' argument.
431 (remote_supports_cond_breakpoints): Add 'self' argument.
433 2014-02-19 Tom Tromey <tromey@redhat.com>
435 * target.h (struct target_ops) <to_supports_string_tracing>: Add
437 (target_supports_string_tracing): Add argument.
438 * target.c (update_current_target): Update.
439 * remote.c (remote_supports_string_tracing): Add 'self' argument.
441 2014-02-19 Tom Tromey <tromey@redhat.com>
443 * target.h (struct target_ops)
444 <to_supports_disable_randomization>: Add argument.
445 * target.c (find_default_supports_disable_randomization): Add
447 (target_supports_disable_randomization): Add argument.
448 (find_default_supports_disable_randomization): Add 'self'
450 * remote.c (extended_remote_supports_disable_randomization): Add
452 (remote_supports_disable_randomization): Add 'self' argument.
453 (extended_remote_create_inferior): Update.
454 * linux-nat.c (linux_nat_supports_disable_randomization): Add
457 2014-02-19 Tom Tromey <tromey@redhat.com>
459 * target.h (struct target_ops)
460 <to_supports_enable_disable_tracepoint>: Add argument.
461 (target_supports_enable_disable_tracepoint): Add argument.
462 * target.c (update_current_target): Update.
463 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
466 2014-02-19 Tom Tromey <tromey@redhat.com>
468 * target.h (struct target_ops) <to_supports_multi_process>: Add
470 (target_supports_multi_process): Add argument.
471 * target.c (update_current_target): Update.
472 * remote.c (remote_supports_multi_process): Add 'self' argument.
473 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
475 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target.h (struct target_ops) <to_execution_direction>: Add
482 (target_execution_direction): Add argument.
483 * target.c (default_execution_direction): Add 'self' argument.
484 * record-full.c (record_full_execution_direction): Add 'self'
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target.h (struct target_ops) <to_can_execute_reverse>: Add
491 (target_can_execute_reverse): Add argument.
492 * remote.c (remote_can_execute_reverse): Add 'self' argument.
493 * record-full.c (record_full_can_execute_reverse): Add 'self'
495 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
501 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
503 (target_get_ada_task_ptid): Add argument.
504 * target.c (update_current_target): Update.
505 (default_get_ada_task_ptid): Add 'self' argument.
506 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
507 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
508 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
510 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
512 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
514 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
516 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
517 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
520 2014-02-19 Tom Tromey <tromey@redhat.com>
522 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
523 (target_goto_bookmark): Add argument.
524 * target.c (dummy_goto_bookmark): Add 'self' argument.
525 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
530 (target_get_bookmark): Add argument.
531 * target.c (dummy_get_bookmark): Add 'self' argument.
532 * record-full.c (record_full_get_bookmark): Add 'self' argument.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target.h (struct target_ops) <to_make_corefile_notes>: Add
538 (target_make_corefile_notes): Add argument.
539 * target.c (dummy_make_corefile_notes): Add 'self' argument.
540 * procfs.c (procfs_make_note_section): Add 'self' argument.
541 (procfs_make_note_section): Add 'self' argument.
542 (procfs_make_note_section): Add 'self' argument.
543 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
545 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
546 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
547 * exec.c (exec_make_note_section): Add 'self' argument.
548 (exec_make_note_section): Add 'self' argument.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target.h (struct target_ops) <to_find_memory_regions>: Add
554 (target_find_memory_regions): Add argument.
555 * target.c (dummy_find_memory_regions): Add 'self' argument.
556 * procfs.c (proc_find_memory_regions): Add 'self' argument.
557 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
558 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
559 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
560 * exec. (exec_do_find_memory_regions): New global.
561 (exec_set_find_memory_regions): Rewrite.
562 (exec_find_memory_regions): New function.
563 (init_exec_ops): Use exec_find_memory_regions.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target.h (struct target_ops) <to_supports_non_stop>: Add
569 * target.c (find_default_supports_non_stop): Add argument.
570 (target_supports_non_stop): Add argument.
571 (find_default_supports_non_stop): Add 'self' argument.
572 * remote.c (remote_supports_non_stop): Add 'self' argument.
573 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
575 2014-02-19 Tom Tromey <tromey@redhat.com>
577 * target.h (struct target_ops) <to_log_command>: Add argument.
578 (target_log_command): Add argument.
579 * serial.h (serial_log_command): Add 'self' argument.
580 * serial.c (serial_log_command): Add 'self' argument.
582 2014-02-19 Tom Tromey <tromey@redhat.com>
584 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
585 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
587 (target_pid_to_exec_file): Add argument.
588 * target.c (debug_to_pid_to_exec_file): Add argument.
589 (update_current_target): Update.
590 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
591 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
592 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
593 (linux_handle_extended_wait): Update.
594 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
595 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
596 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
597 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
599 2014-02-19 Tom Tromey <tromey@redhat.com>
601 * target.h (struct target_ops) <to_rcmd>: Add argument.
602 (target_rcmd): Add argument.
603 * target.c (debug_to_rcmd): Add argument.
604 (update_current_target, do_monitor_command): Update.
605 * remote.c (remote_rcmd): Add 'self' argument.
606 * monitor.c (monitor_rcmd): Add 'self' argument.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * windows-nat.c (windows_stop): Add 'self' argument.
611 * target.h (struct target_ops) <to_stop>: Add argument.
612 * target.c (target_stop): Add argument.
613 (debug_to_stop): Add argument.
614 (update_current_target): Update.
615 * remote.c (remote_stop): Add 'self' argument.
616 * remote-sim.c (gdbsim_stop): Add 'self' argument.
617 (gdbsim_cntrl_c): Update.
618 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
619 * procfs.c (procfs_stop): Add 'self' argument.
620 * nto-procfs.c (procfs_stop): Add 'self' argument.
621 * monitor.c (monitor_stop): Add 'self' argument.
622 (monitor_open): Update.
623 * linux-nat.c (linux_nat_stop): Add argument.
624 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
625 * gnu-nat.c (gnu_stop): Add 'self' argument.
626 * darwin-nat.c (darwin_stop): Add 'self' argument.
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target.h (struct target_ops) <to_thread_name>: Add argument.
631 * target.c (target_thread_name): Add argument.
632 (update_current_target): Update.
633 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target.h (struct target_ops) <to_extra_thread_info>: Add
639 (target_extra_thread_info): Add argument.
640 * target.c (update_current_target): Update.
641 * remote.c (remote_threads_extra_info): Add 'self' argument.
642 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
644 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
645 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
646 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
648 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
650 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
652 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
655 2014-02-19 Tom Tromey <tromey@redhat.com>
657 * target.h (struct target_ops) <to_program_signals>: Add argument.
658 * target.c (target_program_signals): Add argument.
659 * remote.c (remote_program_signals): Add 'self' argument.
661 2014-02-19 Tom Tromey <tromey@redhat.com>
663 * target.h (struct target_ops) <to_pass_signals>: Add argument.
664 * target.c (target_pass_signals): Add argument.
665 * remote.c (remote_pass_signals): Add 'self' argument.
666 (remote_start_remote): Update.
667 * procfs.c (procfs_pass_signals): Add 'self' argument.
668 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
669 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
670 (linux_nat_create_inferior, linux_nat_attach): Update.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * windows-nat.c (windows_can_run): Add 'self' argument.
675 * target.h (struct target_ops) <to_can_run>: Add argument.
676 (target_can_run): Add argument.
677 * target.c (debug_to_can_run): Add argument.
678 (update_current_target): Update.
679 * nto-procfs.c (procfs_can_run): Add 'self' argument.
680 * inf-child.c (inf_child_can_run): Add 'self' argument.
681 * go32-nat.c (go32_can_run): Add 'self' argument.
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target.h (struct target_ops) <to_has_exited>: Add argument.
686 (target_has_exited): Add argument.
687 * target.c (debug_to_has_exited): Add argument.
688 (update_current_target): Update.
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
694 (target_set_syscall_catchpoint): Add argument.
695 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
697 * target.c (update_current_target): Update.
699 2014-02-19 Tom Tromey <tromey@redhat.com>
701 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
703 (target_remove_exec_catchpoint): Add argument.
704 * target.c (debug_to_remove_exec_catchpoint): Add argument.
705 (update_current_target): Update.
706 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
709 2014-02-19 Tom Tromey <tromey@redhat.com>
711 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
713 (target_insert_exec_catchpoint): Add argument.
714 * target.c (debug_to_insert_exec_catchpoint): Add argument.
715 (update_current_target): Update.
716 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
719 2014-02-19 Tom Tromey <tromey@redhat.com>
721 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
723 (target_remove_vfork_catchpoint): Add argument.
724 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
725 (update_current_target): Update.
726 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
729 2014-02-19 Tom Tromey <tromey@redhat.com>
731 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
733 (target_insert_vfork_catchpoint): Add argument.
734 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
735 (update_current_target): Update.
736 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
743 (target_remove_fork_catchpoint): Add argument.
744 * target.c (debug_to_remove_fork_catchpoint): Add argument.
745 (update_current_target): Update.
746 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
749 2014-02-19 Tom Tromey <tromey@redhat.com>
751 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
753 (target_insert_fork_catchpoint): Add argument.
754 * target.c (debug_to_insert_fork_catchpoint): Add argument.
755 (update_current_target): Update.
756 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
759 2014-02-19 Tom Tromey <tromey@redhat.com>
761 * target.h (struct target_ops) <to_post_startup_inferior>: Add
763 (target_post_startup_inferior): Add argument.
764 * target.c (debug_to_post_startup_inferior): Add argument.
765 (update_current_target): Update.
766 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
768 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
770 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
772 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
774 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
776 (super_post_startup_inferior): Likewise.
777 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
779 (super_post_startup_inferior): Likewise.
780 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
782 (super_post_startup_inferior): Likewise.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target.h (struct target_ops) <to_load>: Add argument.
787 * target.c (target_load): Add argument.
788 (debug_to_load): Add argument.
789 (update_current_target): Update.
790 * remote.c (remote_load): Add 'self' argument.
791 * remote-sim.c (gdbsim_load): Add 'self' argument.
792 * remote-mips.c (mips_load): Add 'self' argument.
793 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
794 * monitor.c (monitor_load): Add 'self' argument.
795 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
797 2014-02-19 Tom Tromey <tromey@redhat.com>
799 * target.h (struct target_ops) <to_terminal_info>: Add argument.
800 (target_terminal_info): Add argument.
801 * target.c (debug_to_terminal_info): Add argument.
802 (default_terminal_info): Likewise.
803 * inflow.c (child_terminal_info): Add 'self' argument.
804 * inferior.h (child_terminal_info): Add 'self' argument.
805 * go32-nat.c (go32_terminal_info): Add 'self' argument.
807 2014-02-19 Tom Tromey <tromey@redhat.com>
809 * target.h (struct target_ops) <to_terminal_save_ours>: Add
811 (target_terminal_save_ours): Add argument.
812 * target.c (debug_to_terminal_save_ours): Add argument.
813 (update_current_target): Update.
814 * inflow.c (terminal_save_ours): Add 'self' argument.
815 * inferior.h (terminal_save_ours): Add 'self' argument.
817 2014-02-19 Tom Tromey <tromey@redhat.com>
819 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
820 (target_terminal_ours): Add argument.
821 * target.c (debug_to_terminal_ours): Add argument.
822 (update_current_target): Update.
823 * remote.c (remote_terminal_ours): Add 'self' argument.
824 (remote_close): Update.
825 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
826 * inflow.c (terminal_ours): Add 'self' argument.
827 * inferior.h (terminal_ours): Add 'self' argument.
828 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
830 2014-02-19 Pedro Alves <palves@redhat.com>
831 Tom Tromey <tromey@redhat.com>
833 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
835 (target_terminal_ours_for_output): Add argument.
836 * target.c (debug_to_terminal_ours_for_output): Add argument.
837 (update_current_target): Update.
838 * inflow.c (terminal_ours_for_output): Add 'self' argument.
839 * inferior.h (terminal_ours_for_output): Add 'self' argument.
840 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
842 2014-02-19 Tom Tromey <tromey@redhat.com>
844 * target.h (struct target_ops) <to_terminal_inferior>: Add
846 * target.c (target_terminal_inferior): Add argument.
847 (update_current_target): Update.
848 * remote.c (remote_terminal_inferior): Add 'self' argument.
849 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
850 * inflow.c (terminal_inferior): Add 'self' argument.
851 * inferior.h (terminal_inferior): Add 'self' argument.
852 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
853 (go32_terminal_inferior): Add 'self' argument.
855 2014-02-19 Tom Tromey <tromey@redhat.com>
857 * target.h (struct target_ops) <to_terminal_init>: Add argument.
858 (target_terminal_init): Add argument.
859 * target.c (debug_to_terminal_init): Add argument.
860 (update_current_target): Update.
861 * inflow.c (terminal_init_inferior): Add 'self' argument.
862 * inferior.h (terminal_init_inferior): Add 'self' argument.
863 * go32-nat.c (go32_terminal_init): Add 'self' argument.
864 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops)
869 <to_can_accel_watchpoint_condition>: Add argument.
870 (target_can_accel_watchpoint_condition): Add argument.
871 * target.c (debug_to_can_accel_watchpoint_condition): Add
873 (update_current_target): Update.
874 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
881 (target_region_ok_for_hw_watchpoint): Add argument.
882 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
883 (default_region_ok_for_hw_watchpoint): Add argument.
884 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
885 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
887 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
889 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
891 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
893 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
895 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
897 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
898 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
900 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target.h (struct target_ops) <to_insert_watchpoint>: Add
907 (target_insert_watchpoint): Add argument.
908 * target.c (debug_to_insert_watchpoint): Add argument.
909 (update_current_target): Update.
910 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
911 * remote.c (remote_insert_watchpoint): Add 'self' argument.
912 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
913 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
914 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
915 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
917 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
918 (procfs_insert_hw_watchpoint): Add 'self' argument.
919 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
921 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
923 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
925 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
926 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
928 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_remove_watchpoint>: Add
935 (target_remove_watchpoint): Add argument.
936 * target.c (debug_to_remove_watchpoint): Add argument.
937 (update_current_target): Update.
938 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
939 * remote.c (remote_remove_watchpoint): Add 'self' argument.
940 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
941 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
942 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
943 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
945 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
946 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
948 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
950 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
952 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
953 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
955 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
958 2014-02-19 Tom Tromey <tromey@redhat.com>
960 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
962 (target_remove_hw_breakpoint): Add argument.
963 * target.c (debug_to_remove_hw_breakpoint): Add argument.
964 (update_current_target): Update.
965 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
966 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
968 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
969 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
971 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
978 (target_insert_hw_breakpoint): Add argument.
979 * target.c (debug_to_insert_hw_breakpoint): Add argument.
980 (update_current_target): Update.
981 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
982 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
984 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
985 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
986 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
988 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
991 2014-02-19 Tom Tromey <tromey@redhat.com>
993 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
995 (target_can_use_hardware_watchpoint): Add argument.
996 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
997 (update_current_target): Update.
998 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1000 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1002 * remote.c (remote_check_watch_resources): Add 'self' argument.
1003 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1004 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1006 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1007 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1009 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1011 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1013 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1015 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1017 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1019 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1020 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1022 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * target.h (struct target_ops) <to_post_attach>: Add argument.
1028 (target_post_attach): Add argument.
1029 * target.c (debug_to_post_attach): Add argument.
1030 (update_current_target): Update.
1031 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1032 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1033 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1034 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1035 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * windows-nat.c (windows_close): Add 'self' argument.
1040 * tracepoint.c (tfile_close): Add 'self' argument.
1041 * target.h (struct target_ops) <to_close>: Add argument.
1042 * target.c (target_close): Add argument.
1043 (update_current_target): Update.
1044 * remote.c (remote_close): Add 'self' argument.
1045 * remote-sim.c (gdbsim_close): Add 'self' argument.
1046 * remote-mips.c (mips_close): Add 'self' argument.
1047 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1048 * record-full.c (record_full_close): Add 'self' argument.
1049 * record-btrace.c (record_btrace_close): Add 'self' argument.
1050 * monitor.h (monitor_close): Add 'self' argument.
1051 * monitor.c (monitor_close): Add 'self' argument.
1052 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1053 * linux-nat.c (linux_nat_close): Add argument.
1054 * go32-nat.c (go32_close): Add 'self' argument.
1055 * exec.c (exec_close_1): Add 'self' argument.
1056 * ctf.c (ctf_close): Add 'self' argument.
1057 * corelow.c (core_close): Add 'self' argument.
1058 (core_close_cleanup): Update.
1059 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1060 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1064 * remote.c (remote_load): New function.
1065 (init_remote_ops): Use it.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1071 * common/linux-btrace.h (linux_supports_btrace): Update.
1072 * remote.c (remote_supports_btrace): Add "self" argument.
1073 * target-delegates.c: Rebuild.
1074 * target.c (target_supports_btrace): Remove.
1075 * target.h (struct target_ops) <to_supports_btrace>: Add
1076 target_ops argument.
1077 (target_supports_btrace): New define.
1079 2014-02-19 Tom Tromey <tromey@redhat.com>
1081 * record-full.c (record_full_beneath_to_resume_ops)
1082 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1083 (record_full_beneath_to_wait)
1084 (record_full_beneath_to_store_registers_ops)
1085 (record_full_beneath_to_store_registers)
1086 (record_full_beneath_to_xfer_partial_ops)
1087 (record_full_beneath_to_xfer_partial)
1088 (record_full_beneath_to_insert_breakpoint_ops)
1089 (record_full_beneath_to_insert_breakpoint)
1090 (record_full_beneath_to_remove_breakpoint_ops)
1091 (record_full_beneath_to_remove_breakpoint)
1092 (record_full_beneath_to_stopped_by_watchpoint)
1093 (record_full_beneath_to_stopped_data_address)
1094 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1095 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1096 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1097 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1098 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1099 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1100 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1101 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1102 (record_full_resume, record_full_wait_1)
1103 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1104 (record_full_store_registers, record_full_xfer_partial)
1105 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1106 (record_full_async, record_full_core_xfer_partial): Use target
1108 * target-delegates.c: Rebuild.
1109 * target.c (current_xfer_partial): Remove.
1110 (update_current_target): Do not INHERIT or de_fault
1111 to_insert_breakpoint, to_remove_breakpoint,
1112 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1113 to_is_async_p, to_async. Do not set to_xfer_partial field.
1114 (default_xfer_partial): Simplify.
1115 (current_xfer_partial): Remove.
1116 (target_wait, target_resume): Simplify.
1117 (find_default_can_async_p, find_default_is_async_p): Update.
1118 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1119 to_xfer_partial, to_stopped_by_watchpoint,
1120 to_stopped_data_address.
1121 (target_store_registers): Simplify.
1122 (forward_target_remove_breakpoint)
1123 (forward_target_insert_breakpoint): Remove.
1124 (target_remove_breakpoint, target_insert_breakpoint)
1125 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1126 * target.h (struct target_ops) <to_resume, to_wait,
1127 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1128 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1129 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1131 (forward_target_remove_breakpoint)
1132 (forward_target_insert_breakpoint): Remove.
1133 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1135 (record_btrace_insert_breakpoint): Delegate directly.
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target-delegates.c: New file.
1141 * target.c: Include target-delegates.c.
1142 (init_dummy_target): Call install_dummy_methods.
1143 (complete_target_initialization): Call install_delegators.
1144 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1145 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1146 * make-target-delegates: New file.
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * record.c (find_record_target): Use find_target_at.
1151 * target.c (find_target_at): New function.
1152 * target.h (find_target_at): Declare.
1154 2014-02-19 Tom Tromey <tromey@redhat.com>
1156 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1158 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1160 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1161 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1163 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1165 * linux-nat.c (save_sigtrap): Update.
1166 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1167 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1168 (linux_nat_close): Update.
1169 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1171 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1173 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1174 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1175 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1176 (tmp_to_async): Add 'ops' argument.
1177 (record_full_stopped_by_watchpoint, record_full_async)
1178 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1180 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1181 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1182 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1183 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1184 (remote_is_async_p, remote_async): Add 'ops' argument.
1185 (remote_stopped_data_address): Update.
1186 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1187 * target.c (update_current_target)
1188 (find_default_can_async_p, find_default_is_async_p): Update.
1189 (init_dummy_target): Update.
1190 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1191 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1192 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1193 (target_can_async_p, target_is_async_p, target_async)
1194 (target_stopped_by_watchpoint): Update.
1196 2014-02-19 Yao Qi <yao@codesourcery.com>
1199 * gdbarch.sh: Remove startup_gdbarch.
1200 * gdbarch.c: Regenerated.
1201 * gdbarch.h: Likewise.
1203 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1205 * rl78-tdep.c (rl78_g10_register_name): New function.
1206 (rl78_return_value): Add g10 support.
1207 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1210 2014-02-17 Doug Evans <xdje42@gmail.com>
1212 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1213 (SUBDIR_GUILE_SRCS): Ditto.
1214 (scm-gsmob.o): Ditto.
1216 2014-02-17 Yao Qi <yao@codesourcery.com>
1218 * gnu-nat.c (ILL_RPC): Declare defined function.
1220 2014-02-17 Yao Qi <yao@codesourcery.com>
1222 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1223 mach_msg_type_number_t.
1224 (gnu_write_inferior): Likewise.
1226 2014-02-17 Yao Qi <yao@codesourcery.com>
1228 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1230 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1231 (inf_validate_procs, inf_signal): Likewise.
1232 (S_exception_raise_request): Likewise.
1233 (do_mach_notify_dead_name): Likewise.
1234 (steal_exc_port): Likewise.
1235 (gnu_read_inferior): Change 'copy_count''s type to
1236 mach_msg_type_number_t.
1237 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1240 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1242 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1243 flag. Adjust all users; in particular...
1244 (gnu_wait): ..., don't decrement its value in here...
1245 (gnu_create_inferior): ..., and instead set the flag in here,
1246 around the startup_inferior call, and call that one with
1247 START_INFERIOR_TRAPS_EXPECTED.
1249 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1250 (ILL_RPC): ... new macro.
1251 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1252 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1253 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1254 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1255 functions with ILL_RPC macro.
1256 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1257 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1258 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1259 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1260 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1261 (S_proc_getlogin_reply, S_proc_getsid_reply)
1262 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1263 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1264 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1265 (S_proc_getnports_reply, S_proc_is_important_reply)
1266 (S_proc_get_code_reply): New stub functions, generated with
1269 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1270 collected the type check structures.
1272 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1274 2014-02-14 Doug Evans <dje@google.com>
1276 * target.c (target_write_partial): Fix result type.
1278 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1280 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1281 the proper offsets to access fpregset_t.
1283 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1285 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1286 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1287 * h8300-tdep.c (setmachinelist): Remove global.
1288 * hppa-tdep.c (hppa_sigtramp): Remove global.
1289 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1290 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1291 * ravenscar-thread.c (update_target_observer): Remove global.
1292 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1294 2014-02-12 Tom Tromey <tromey@redhat.com>
1296 * common/rsp-low.c: Update comments.
1297 * common/rsp-low.h: Update comments.
1299 2014-02-12 Tom Tromey <tromey@redhat.com>
1301 * common/rsp-low.c (convert_ascii_to_int): Remove.
1302 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1304 2014-02-12 Tom Tromey <tromey@redhat.com>
1306 * common/rsp-low.h (unhexify): Don't declare.
1307 * common/rsp-low.c (unhexify): Remove.
1309 2014-02-12 Tom Tromey <tromey@redhat.com>
1311 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1312 * common/rsp-low.c (convert_int_to_ascii): Remove.
1314 2014-02-12 Tom Tromey <tromey@redhat.com>
1316 * common/rsp-low.h (hexify): Don't declare.
1317 * common/rsp-low.c (hexify): Remove.
1319 2014-02-12 Tom Tromey <tromey@redhat.com>
1321 * common/rsp-low.c (hexify): Never take strlen of argument.
1323 2014-02-12 Tom Tromey <tromey@redhat.com>
1325 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1326 * remote.c (extended_remote_run, remote_rcmd)
1327 (remote_download_trace_state_variable, remote_save_trace_data)
1328 (remote_set_trace_notes): Update.
1329 * tracepoint.c (encode_source_string, tfile_write_status)
1330 (tfile_write_uploaded_tsv): Update.
1332 2014-02-12 Tom Tromey <tromey@redhat.com>
1334 * tracepoint.c: Include rsp-low.h.
1335 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1336 * remote.c: Include rsp-low.h.
1337 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1338 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1339 (remote_unescape_input): Move to common/rsp-low.c.
1340 * common/rsp-low.h: New file.
1341 * common/rsp-low.c: New file.
1342 * Makefile.in (SFILES): Add common/rsp-low.c.
1343 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1344 (COMMON_OBS): Add rsp-low.o.
1345 (rsp-low.o): New target.
1347 2014-02-12 Tom Tromey <tromey@redhat.com>
1349 * utils.h: Include print-utils.h.
1350 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1351 (int_string, core_addr_to_string, core_addr_to_string_nz)
1352 (hex_string, hex_string_custom): Don't declare.
1353 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1354 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1355 (hex_string_custom, int_string, core_addr_to_string)
1356 (core_addr_to_string_nz, host_address_to_string): Move to
1357 common/print-utils.c.
1358 * common/print-utils.h: New file.
1359 * common/print-utils.c: New file
1360 * Makefile.in (SFILES): Add common/print-utils.c.
1361 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1362 (COMMON_OBS): Add print-utils.o.
1363 (print-utils.o): New target.
1365 2014-02-12 Tom Tromey <tromey@redhat.com>
1367 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1369 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1371 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1373 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1375 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1376 if a PT_IO ptrace request returns sucessfully but indicates that 0
1377 bytes were transferred.
1379 2014-02-12 Pedro Alves <palves@redhat.com>
1380 Kevin Buettner <kevinb@redhat.com>
1382 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1383 TYPE_INSTANCE_FLAG_CODE_SPACE.
1385 2014-02-12 Pedro Alves <palves@redhat.com>
1387 * h8300-tdep.c (pseudo_from_raw_register)
1388 (raw_from_pseudo_register): New functions.
1389 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1392 2014-02-12 Pedro Alves <palves@redhat.com>
1394 * h8300-tdep.c (h8300_register_sim_regno): New function.
1395 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1396 gdbarch_register_sim_regno hook.
1398 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1400 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1402 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1404 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1406 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1408 * obsd-tdep.h (obsd_init_abi): New prototype.
1409 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1410 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1411 (obsd_init_abi): New functions.
1412 * i386obsd-tdep.c: Include "obsd-tdep.h".
1413 (i386obsd_init_abi): Call obsd_init_abi.
1414 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1415 (amd64obsd_init_abi): Call obsd_init_abi.
1416 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1417 obsd-tdep.c to gdb_target_obs.
1419 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1421 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1422 double float arguments to 16-byte in the argument slots.
1424 2014-02-11 Doug Evans <xdje42@gmail.com>
1426 * configure.ac: Don't crash if pkg-config is not found and guile
1427 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1429 * configure: Regenerate.
1431 2014-02-11 Yao Qi <yao@codesourcery.com>
1433 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1434 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1435 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1436 * gnu-nat.c (gnu_xfer_memory): Likewise.
1437 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1438 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1439 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1440 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1442 2014-02-11 Yao Qi <yao@codesourcery.com>
1444 * target.h (enum target_xfer_error): Rename to ...
1445 (enum target_xfer_status): ... it. New. All users updated.
1446 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1448 (TARGET_XFER_STATUS_ERROR_P): New macro.
1449 (target_xfer_error_to_string): Remove declaration.
1450 (target_xfer_status_to_string): Declare.
1451 (target_xfer_partial_ftype): Adjust it.
1452 (struct target_ops) <to_xfer_partial>: Return
1453 target_xfer_status. Add argument xfered_len. Update
1455 * target.c (target_xfer_error_to_string): Rename to ...
1456 (target_xfer_status_to_string): ... it. New. All callers
1458 (target_read_live_memory): Likewise. Call target_xfer_partial
1459 instead of target_read.
1460 (memory_xfer_live_readonly_partial): Return
1461 target_xfer_status. Add argument xfered_len.
1462 (raw_memory_xfer_partial): Likewise.
1463 (memory_xfer_partial_1): Likewise.
1464 (memory_xfer_partial): Likewise.
1465 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1466 properly. Update debug message.
1467 (default_xfer_partial, current_xfer_partial): Likewise.
1468 (target_write_partial): Likewise.
1469 (target_read_partial): Likewise. All callers updated.
1470 (read_whatever_is_readable): Likewise.
1471 (target_write_with_progress): Likewise.
1472 (target_read_alloc_1): Likewise.
1474 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1475 * auxv.c (procfs_xfer_auxv): Likewise.
1476 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1477 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1478 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1479 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1480 * corefile.c (read_memory): Adjust.
1481 * corelow.c (core_xfer_partial): Likewise.
1482 * ctf.c (ctf_xfer_partial): Likewise.
1483 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1485 (darwin_xfer_partial): Likewise.
1486 * exec.c (section_table_xfer_memory_partial): Likewise. All
1488 (exec_xfer_partial): Likewise.
1489 * exec.h (section_table_xfer_memory_partial): Update
1491 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1493 (gnu_xfer_partial): Likewise.
1494 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1495 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1496 (ia64_hpux_xfer_solib_got): Likewise.
1497 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1498 type of 'partial_len' to ULONGEST.
1499 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1500 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1501 (linux_nat_xfer_partial): Likewise.
1502 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1503 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1504 * monitor.c (monitor_xfer_memory): Likewise.
1505 (monitor_xfer_partial): Likewise.
1506 * procfs.c (procfs_xfer_partial): Likewise.
1507 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1508 * record-full.c (record_full_xfer_partial): Likewise.
1509 (record_full_core_xfer_partial): Likewise.
1510 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1511 (gdbsim_xfer_partial): Likewise.
1512 * remote.c (remote_write_bytes_aux): Likewise. All callers
1514 (remote_write_bytes, remote_read_bytes): Likewise. All
1516 (remote_flash_erase): Likewise. All callers updated.
1517 (remote_write_qxfer): Likewise. All callers updated.
1518 (remote_read_qxfer): Likewise. All callers updated.
1519 (remote_xfer_partial): Likewise.
1520 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1521 (rs6000_xfer_shared_libraries): Likewise.
1522 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1523 (sol_thread_xfer_partial): Likewise.
1524 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1525 (sparc_xfer_partial): Likewise.
1526 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1528 (spu_xfer_partial): Likewise.
1529 * spu-multiarch.c (spu_xfer_partial): Likewise.
1530 * tracepoint.c (tfile_xfer_partial): Likewise.
1531 * windows-nat.c (windows_xfer_memory): Likewise.
1532 (windows_xfer_shared_libraries): Likewise.
1533 (windows_xfer_partial): Likewise.
1534 * valprint.c: Replace 'target_xfer_error' with
1535 'target_xfer_status' in comments.
1537 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1539 Checked in by Joel Brobecker <brobecker@adacore.com>.
1540 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1542 2014-02-11 Joel Brobecker <brobecker@adacore.com>
1544 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1545 function parameters.
1547 2014-02-10 Will Newton <will.newton@linaro.org>
1549 * elfread.c (elf_rel_plt_read): Look for a .got section if
1550 looking up .got.plt fails.
1551 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1552 on address passed to elf_gnu_ifunc_record_cache.
1553 (elf_gnu_ifunc_resolve_addr): Likewise.
1554 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1556 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1558 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1559 (X_RETTURN): New macro.
1560 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1562 * sparc64-tdep.c (sparc64_init_abi): Hook
1563 sparc_in_function_epilogue_p.
1565 2014-02-10 Gary Benson <gbenson@redhat.com>
1567 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1568 Rename name_matcher to symbol_matcher.
1570 2014-02-10 Gary Benson <gbenson@redhat.com>
1572 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1573 Use expand_symtabs_file_matcher_ftype and
1574 expand_symtabs_symbol_matcher_ftype.
1576 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1578 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1579 (struct ada_symbol_cache): New.
1580 (ada_free_symbol_cache): Forward declare.
1581 (struct ada_pspace_data): New.
1582 (ada_pspace_data_handle): New static global.
1583 (get_ada_pspace_data, ada_pspace_data_cleanup)
1584 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1585 (cache_space, cache): Delete, now folded inside struct
1587 (ada_get_symbol_cache): New function.
1588 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1590 (_initialize_ada_language): Remove initialization of cache_space.
1591 Move call to observer_attach_inferior_exit up, grouping it
1592 with the other observer registrations inside this function.
1593 Rename command to be more general. Add call to
1594 register_program_space_data_with_cleanup.
1596 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1598 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1599 ada_new_objfile_observer.
1600 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1601 (_initialize_tasks): Update uses of ada_new_objfile_observer
1602 and ada_tasks_normal_stop_observer.
1604 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1606 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1607 returned by the 'Length attribute to integer.
1609 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1611 * ada-lang.c (_initialize_ada_language): Initialize
1612 cache_space obstack.
1614 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1616 * ada-lang.c (HASH_SIZE): New macro.
1617 (struct cache_entry): New type.
1618 (cache_space, cache): New static globals.
1619 (ada_clear_symbol_cache, find_entry): New functions.
1620 (lookup_cached_symbol, cache_symbol): Implement.
1621 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1622 (_initialize_ada_language): Attach ada_new_objfile_observer
1623 and ada_free_objfile_observer.
1625 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1627 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1628 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1629 struct block * parameter.
1630 (ada_lookup_symbol_list_worker): Constify local variable "block".
1631 Remove cast which is no longer necessary.
1633 2014-02-10 Doug Evans <xdje42@gmail.com>
1635 Add Guile as an extension language.
1636 * NEWS: Mention Guile scripting.
1637 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1638 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1639 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1640 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1641 (CLIBS): Add GUILE_LIBS.
1642 (install-guile): New rule.
1643 (guile.o): New rule.
1644 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1645 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1646 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1647 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1648 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1649 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1650 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1651 * configure.ac: New option --with-guile.
1652 * configure: Regenerate.
1653 * config.in: Regenerate.
1654 * auto-load.c: Remove #include "python/python.h". Add #include
1655 "gdb/section-scripts.h".
1656 (source_section_scripts): Handle Guile scripts.
1657 (_initialize_auto_load): Add name of Guile objfile script to
1658 scripts-directory help text.
1659 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1660 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1661 (struct breakpoint): New member scm_bp_object.
1662 * defs.h (enum command_control_type): New value guile_control.
1663 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1665 (show_user): Update comment.
1666 (_initialize_cli_cmds): Update help text for "show user". Update help
1667 text for max-user-call-depth.
1668 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1670 (multi_line_command_p): Add guile_control.
1671 (print_command_lines): Handle guile_control.
1672 (execute_control_command, recurse_read_control_structure): Ditto.
1673 (process_next_line): Recognize "guile" commands.
1674 * disasm.c (gdb_disassemble_info): Make non-static.
1675 * disasm.h: #include "dis-asm.h".
1676 (struct gdbarch): Add forward decl.
1677 (gdb_disassemble_info): Declare.
1678 * extension.c: #include "guile/guile.h".
1679 (extension_languages): Add guile.
1680 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1681 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1682 * gdbtypes.c (get_unsigned_type_max): New function.
1683 (get_signed_type_minmax): New function.
1684 * gdbtypes.h (get_unsigned_type_max): Declare.
1685 (get_signed_type_minmax): Declare.
1686 * guile/README: New file.
1687 * guile/guile-internal.h: New file.
1688 * guile/guile.c: New file.
1689 * guile/guile.h: New file.
1690 * guile/scm-arch.c: New file.
1691 * guile/scm-auto-load.c: New file.
1692 * guile/scm-block.c: New file.
1693 * guile/scm-breakpoint.c: New file.
1694 * guile/scm-disasm.c: New file.
1695 * guile/scm-exception.c: New file.
1696 * guile/scm-frame.c: New file.
1697 * guile/scm-gsmob.c: New file.
1698 * guile/scm-iterator.c: New file.
1699 * guile/scm-lazy-string.c: New file.
1700 * guile/scm-math.c: New file.
1701 * guile/scm-objfile.c: New file.
1702 * guile/scm-ports.c: New file.
1703 * guile/scm-pretty-print.c: New file.
1704 * guile/scm-safe-call.c: New file.
1705 * guile/scm-string.c: New file.
1706 * guile/scm-symbol.c: New file.
1707 * guile/scm-symtab.c: New file.
1708 * guile/scm-type.c: New file.
1709 * guile/scm-utils.c: New file.
1710 * guile/scm-value.c: New file.
1711 * guile/lib/gdb.scm: New file.
1712 * guile/lib/gdb/boot.scm: New file.
1713 * guile/lib/gdb/experimental.scm: New file.
1714 * guile/lib/gdb/init.scm: New file.
1715 * guile/lib/gdb/iterator.scm: New file.
1716 * guile/lib/gdb/printing.scm: New file.
1717 * guile/lib/gdb/types.scm: New file.
1718 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1719 (VPATH): Add $(GUILE_SRCDIR).
1720 (GUILE_DIR): New variable.
1721 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1722 (all): Add stamp-guile dependency.
1723 (stamp-guile): New rule.
1724 (clean-guile, install-guile, uninstall-guile): New rules.
1725 (install-only): Add install-guile dependency.
1726 (uninstall): Add uninstall-guile dependency.
1727 (clean): Add clean-guile dependency.
1729 2014-02-09 Doug Evans <xdje42@gmail.com>
1731 Revert this patch (which I approved, mea culpa).
1733 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1735 * Makefile.in (all-lib): Remove.
1736 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1738 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1740 Fix Python stack corruption.
1741 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1744 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1746 * Makefile.in (all-lib): Remove.
1747 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1749 2014-02-07 Doug Evans <dje@google.com>
1751 * extension-priv.h (extension_language_script_ops): Add comment.
1752 (extension_language_ops): Add comment.
1753 (active_ext_lang_state): Fix typo in comment.
1755 2014-02-07 Pedro Alves <palves@redhat.com>
1757 * infrun.c (handle_signal_stop) <signal arrives while stepping
1758 over a breakpoint>: Switch back to the stepping thread.
1760 2014-02-07 Yao Qi <yao@codesourcery.com>
1762 * target.c (target_xfer_partial): Return zero if LEN is zero.
1764 2014-02-07 Yao Qi <yao@codesourcery.com>
1766 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1767 (ld_so_xfer_auxv): Likewise.
1768 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1769 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1770 * corelow.c (core_xfer_partial): Likewise.
1771 * ctf.c (ctf_xfer_partial): Likewise.
1772 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1773 (darwin_xfer_partial): Likewise.
1774 * exec.c (exec_xfer_partial): Likewise.
1775 * gnu-nat.c (gnu_xfer_partial): Likewise.
1776 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1777 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1778 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1779 * linux-nat.c (linux_xfer_siginfo): Likewise.
1780 (linux_proc_xfer_spu): Likewise.
1781 * procfs.c (procfs_xfer_partial): Likewise.
1782 * record-full.c (record_full_xfer_partial): Likewise.
1783 (record_full_core_xfer_partial): Likewise.
1784 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1785 * remote.c (remote_write_qxfer): Likewise.
1786 (remote_write_qxfer, remote_read_qxfer): Likewise.
1787 (remote_xfer_partial): Likewise.
1788 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1789 (rs6000_xfer_shared_libraries): Likewise.
1790 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1791 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1792 (spu_xfer_partial): Likewise.
1793 * target.c (memory_xfer_partial_1): Likewise.
1794 * tracepoint.c (tfile_xfer_partial): Likewise.
1795 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1796 (windows_xfer_partial): Likewise.
1798 2014-02-07 Yao Qi <yao@codesourcery.com>
1800 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1802 (core_xfer_shared_libraries_aix): Likewise.
1803 * gdbarch.c, gdbarch.h: Regenerated.
1804 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1805 ULONGEST. Change 'len_avail' type to ULONGEST.
1806 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1807 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1809 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1811 2014-02-07 Yao Qi <yao@codesourcery.com>
1813 * corefile.c (memory_error): Get 'exception' from ERR and pass
1814 'exception' to throw_error.
1816 2014-02-06 Doug Evans <xdje42@gmail.com>
1818 * configure.ac (libpython checking): Remove all but python.o from
1819 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1820 * configure: Regenerate.
1822 * Makefile.in (SFILES): Add extension.c.
1823 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1824 (COMMON_OBS): Add extension.o.
1825 * extension.h: New file.
1826 * extension-priv.h: New file.
1827 * extension.c: New file.
1829 * python/python-internal.h: #include "extension.h".
1830 (gdbpy_auto_load_enabled): Declare.
1831 (gdbpy_apply_val_pretty_printer): Declare.
1832 (gdbpy_apply_frame_filter): Declare.
1833 (gdbpy_preserve_values): Declare.
1834 (gdbpy_breakpoint_cond_says_stop): Declare.
1835 (gdbpy_breakpoint_has_cond): Declare.
1836 (void source_python_script_for_objfile): Delete.
1837 * python/python.c: #include "extension-priv.h".
1838 Delete inclusion of "observer.h".
1839 (extension_language_python): Moved here and renamed from
1840 script_language_python in py-auto-load.c.
1841 Redefined to be of type extension_language_defn.
1842 (python_extension_script_ops): New global.
1843 (python_extension_ops): New global.
1844 (struct python_env): New member previous_active.
1845 (restore_python_env): Call restore_active_ext_lang.
1846 (ensure_python_env): Call set_active_ext_lang.
1847 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1849 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1851 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1853 (gdbpy_eval_from_control_command): Renamed from
1854 eval_python_from_control_command, made static. New arg extlang.
1855 (gdbpy_source_script) Renamed from source_python_script, made static.
1857 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1858 result to int. New arg extlang.
1859 (gdbpy_source_objfile_script): Renamed from
1860 source_python_script_for_objfile, made static. New arg extlang.
1861 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1862 static. New args extlang, extlang_printers. Change result type to
1864 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1865 static. New arg extlang. Rename arg printers to extlang_printers
1866 and change type to ext_lang_type_printers *.
1867 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1868 static. Replace argument arg with extlang, extlang_printers.
1869 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1870 (!HAVE_PYTHON, source_python_script): Delete.
1871 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1872 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1873 (!HAVE_PYTHON, start_type_printers): Delete.
1874 (!HAVE_PYTHON, apply_type_printers): Delete.
1875 (!HAVE_PYTHON, free_type_printers): Delete.
1876 (_initialize_python): Delete call to observer_attach_before_prompt.
1877 (finalize_python): Set/restore active extension language.
1878 (gdbpy_finish_initialization) Renamed from
1879 finish_python_initialization, made static. New arg extlang.
1880 (gdbpy_initialized): New function.
1881 * python/python.h: #include "extension.h". Delete #include
1882 "value.h", "mi/mi-cmds.h".
1883 (extension_language_python): Declare.
1884 (GDBPY_AUTO_FILE_NAME): Delete.
1885 (enum py_bt_status): Moved to extension.h and renamed to
1887 (enum frame_filter_flags): Moved to extension.h.
1888 (enum py_frame_args): Moved to extension.h and renamed to
1889 ext_lang_frame_args.
1890 (finish_python_initialization): Delete.
1891 (eval_python_from_control_command): Delete.
1892 (source_python_script): Delete.
1893 (apply_val_pretty_printer): Delete.
1894 (apply_frame_filter): Delete.
1895 (preserve_python_values): Delete.
1896 (gdbpy_script_language_defn): Delete.
1897 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1898 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1900 * auto-load.c: #include "extension.h".
1901 (GDB_AUTO_FILE_NAME): Delete.
1902 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1903 (script_language_gdb): Delete, moved to extension.c and renamed to
1904 extension_language_gdb.
1905 (source_gdb_script_for_objfile): Delete.
1906 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1907 (loaded_script): Change type of language member to
1908 struct extension_language_defn *.
1909 (init_loaded_scripts_info): Initialize
1910 unsupported_script_warning_printed.
1911 (maybe_add_script): Make static. Change type of language arg to
1912 struct extension_language_defn *.
1913 (clear_section_scripts): Reset unsupported_script_warning_printed.
1914 (auto_load_objfile_script_1): Rewrite to use extension language API.
1915 (auto_load_objfile_script): Make public. Remove support-compiled-in
1916 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1917 (source_section_scripts): Rewrite to use extension language API.
1918 (load_auto_scripts_for_objfile): Rewrite to use
1919 auto_load_scripts_for_objfile.
1920 (collect_matching_scripts_data): Change type of language member to
1921 struct extension_language_defn *.
1922 (auto_load_info_scripts): Change type of language arg to
1923 struct extension_language_defn *.
1924 (unsupported_script_warning_print): New function.
1925 (script_not_found_warning_print): Make static.
1926 (_initialize_auto_load): Rewrite construction of scripts-directory
1928 * auto-load.h (struct objfile): Add forward decl.
1929 (struct script_language): Delete.
1930 (struct auto_load_pspace_info): Add forward decl.
1931 (struct extension_language_defn): Add forward decl.
1932 (maybe_add_script): Delete.
1933 (auto_load_objfile_script): Declare.
1934 (script_not_found_warning_print): Delete.
1935 (auto_load_info_scripts): Update prototype.
1936 (auto_load_gdb_scripts_enabled): Declare.
1937 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1938 auto_load_python_scripts_enabled and made public.
1939 (script_language_python): Delete, moved to python.c.
1940 (gdbpy_script_language_defn): Delete.
1941 (info_auto_load_python_scripts): Update to use
1942 extension_language_python.
1944 * breakpoint.c (condition_command): Replace call to
1945 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1946 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1947 with call to breakpoint_ext_lang_cond_says_stop.
1948 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1949 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1950 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1951 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1953 (local_setattro): Print name of extension language with existing
1956 * valprint.c (val_print, value_print): Update to call
1957 apply_ext_lang_val_pretty_printer.
1958 * cp-valprint.c (cp_print_value): Update call to
1959 apply_ext_lang_val_pretty_printer.
1960 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1961 (gdbpy_apply_val_pretty_printer): Renamed from
1962 apply_val_pretty_printer. New arg extlang.
1963 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1965 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1966 extension language API.
1967 * cli/cli-script.c (execute_control_command): Update to call
1968 eval_ext_lang_from_control_command.
1970 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
1971 enum ext_lang_bt_status values. Update call to
1972 apply_ext_lang_frame_filter.
1973 (mi_cmd_stack_list_locals): Ditto.
1974 (mi_cmd_stack_list_args): Ditto.
1975 (mi_cmd_stack_list_variables): Ditto.
1976 * mi/mi-main.c: Delete #include "python/python-internal.h".
1977 Add #include "extension.h".
1978 (mi_cmd_list_features): Replace reference to python internal variable
1979 gdb_python_initialized with call to ext_lang_initialized_p.
1981 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
1982 Update to use enum ext_lang_frame_args. Update to call
1983 apply_ext_lang_frame_filter.
1984 * python/py-framefilter.c (extract_sym): Update to use enum
1986 (extract_value, py_print_type, py_print_value): Ditto.
1987 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
1988 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
1989 (py_print_frame): Ditto.
1990 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
1991 New arg extlang. Update to use enum ext_lang_bt_status.
1993 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
1994 finish_python_initialization. Replace with call to
1995 finish_ext_lang_initialization.
1997 * typeprint.c (do_free_global_table): Update to call
1998 free_ext_lang_type_printers.
1999 (create_global_typedef_table): Update to call
2000 start_ext_lang_type_printers.
2001 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2002 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2003 (type_print_options): Change type of global_printers from "void *"
2004 to "struct ext_lang_type_printers *".
2006 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2007 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2008 (gdbpy_preserve_values): Renamed from preserve_python_values.
2010 (!HAVE_PYTHON, preserve_python_values): Delete.
2012 * utils.c (quit_flag): Delete, moved to extension.c.
2013 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2016 * eval.c: Delete #include "python/python.h".
2017 * main.c: Delete #include "python/python.h".
2019 * defs.h: Update comment.
2021 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2025 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2027 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2030 2014-02-05 Yao Qi <yao@codesourcery.com>
2032 * remote.c (remote_pass_signals): Remove local 'buf' and use
2034 (remote_program_signals): Likewise.
2036 2014-02-05 Yao Qi <yao@codesourcery.com>
2038 * ctf.c: Include "inferior.h" and "gdbthread.h".
2039 (CTF_PID): A new macro.
2040 (ctf_open): Call inferior_appeared and add_thread_silent.
2041 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2042 (ctf_thread_alive): New function.
2043 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2045 2014-02-05 Yao Qi <yao@codesourcery.com>
2049 2013-05-24 Yao Qi <yao@codesourcery.com>
2051 * tracepoint.c (TFILE_PID): Remove.
2052 (tfile_open): Don't add thread and inferior.
2053 (tfile_close): Don't set 'inferior_ptid'. Don't call
2054 exit_inferior_silent.
2055 (tfile_thread_alive): Remove.
2056 (init_tfile_ops): Don't set field 'to_thread_alive' of
2059 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2061 * remote.c (remote_start_remote): Call remote_check_symbols even
2062 if only symbol-file (not file) has been given.
2064 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2066 * gdbarch.sh (skip_entrypoint): New callback.
2067 * gdbarch.c, gdbarch.h: Regenerate.
2068 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2069 * infrun.c (fill_in_stop_func): Likewise.
2070 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2071 (ppc_elfv2_elf_make_msymbol_special): New function.
2072 (ppc_elfv2_skip_entrypoint): Likewise.
2073 (ppc_linux_init_abi): Install them for ELFv2.
2075 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2077 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2078 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2079 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2080 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2081 structures returned in GPRs.
2083 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2085 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2086 offset to the stack parameter list for the ELFv2 ABI.
2088 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2090 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2091 set_gdbarch_convert_from_func_ptr_addr and
2092 set_gdbarch_elf_make_msymbol_special for ELFv1.
2093 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2094 function descriptors on ELFv1.
2095 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2096 set up r12 at function entry.
2098 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2100 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2101 (struct gdbarch_tdep): New member elf_abi.
2103 * rs6000-tdep.c: Include "elf/ppc64.h".
2104 (rs6000_gdbarch_init): Detect ELF ABI version.
2106 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2108 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2109 within a register pair holding a DFP 128-bit value on little-endian.
2110 (ppc64_sysv_abi_return_value_base): Likewise.
2111 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2112 (dfp_pseudo_register_write): Likewise.
2114 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2116 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2117 offset on little-endian when passing _Decimal32.
2118 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2120 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2122 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2123 of the overlapped FP register within the VSX register on little-
2125 (efpr_pseudo_register_write): Likewise.
2127 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2129 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2130 offset on little-endian when passing small structures.
2132 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2134 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2135 (struct ppc64_sysv_argpos): New data structure.
2136 (ppc64_sysv_abi_push_float): Remove.
2137 (ppc64_sysv_abi_push_val): New function.
2138 (ppc64_sysv_abi_push_integer): Likewise.
2139 (ppc64_sysv_abi_push_freg): Likewise.
2140 (ppc64_sysv_abi_push_vreg): Likewise.
2141 (ppc64_sysv_abi_push_param): Likewise.
2142 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2143 (ppc64_sysv_abi_return_value_base): New function.
2144 (ppc64_sysv_abi_return_value): Refactor to use it.
2146 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2148 * NEWS: Document new target powerpc64le-*-linux*.
2150 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2152 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2153 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2155 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2156 register set used in ELF core dumps. Add floating-point register set.
2158 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2160 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2161 dwarf2_to_gdb[] table using symbolic constants. Adjust
2162 penultimate entry from number representing the PC register
2163 to symbolic constant representing the MDR register. Add
2164 constant for the PC register to the end of the table.
2166 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2168 * bsd-kvm.c: Include <sys/param.h>
2170 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2172 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2174 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2176 * ada-lang.h (clear_ada_sym_cache): Delete.
2178 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2180 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2182 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2184 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2185 the sigreturn register save area only if the syscall is
2188 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2190 * valops.c (value_slice): Minor reformatting.
2192 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2194 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2196 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2198 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2200 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2201 (ada_ignore_descriptive_types_p): New static global.
2202 (find_parallel_type_by_descriptive_type): Return immediately
2203 if ada_ignore_descriptive_types_p is set.
2204 (_initialize_ada_language): Register new commands "maintenance
2205 set ada", "maintenance show ada", "maintenance set ada
2206 ignore-descriptive-types" and "maintenance show ada
2207 ignore-descriptive-types".
2208 * NEWS: Add entry for new "maint ada set/show
2209 ignore-descriptive-types" commands.
2211 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2213 * record-btrace.c (record_btrace_close): Call btrace_teardown
2216 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2218 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2221 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2223 * ada-typeprint (type_is_full_subrange_of_target_type):
2225 (print_range): Add parameter bounds_prefered_p. If not set,
2226 try printing range types using the name of their base type.
2227 (print_range_type): Add parameter bounds_prefered_p.
2228 Use it in call to print_range.
2229 (print_array_type, ada_print_type): Update calls to print_range
2230 and print_range_type.
2232 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2234 * ada-typeprint.c (print_array_type, print_choices, print_range)
2235 (print_range_bound, print_dynamic_range_bound, print_range_type):
2238 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2240 * ada-typeprint.c (print_range): Add missing empty line
2241 after local declaration.
2243 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2245 * ada-valprint.c (print_optional_low_bound): Get index_type's
2246 target type for as long as it is a TYPE_CODE_RANGE.
2248 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2250 * procfs.c (procfs_make_note_section): Remove assertion and
2253 2014-01-24 Yao Qi <yao@codesourcery.com>
2255 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2256 * corelow.c (get_core_siginfo): Likewise.
2258 2014-01-24 Yao Qi <yao@codesourcery.com>
2260 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2261 ULONGEST. Don't check 'len' is negative.
2262 (remote_write_bytes): Change type of 'len' to ULONGEST.
2264 2014-01-23 Tom Tromey <tromey@redhat.com>
2267 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2268 Handle exception from frame.block.
2269 (FrameVars.fetch_frame_locals): Likewise.
2271 2014-01-23 Tom Tromey <tromey@redhat.com>
2274 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2275 on a NULL pointer. Move "goto error" to correct place.
2277 2014-01-23 Tom Tromey <tromey@redhat.com>
2280 * python/py-framefilter.c (apply_frame_filter): Call
2281 ensure_python_env after computing gdbarch.
2283 2014-01-23 Yao Qi <yao@codesourcery.com>
2285 * target.c (raw_memory_xfer_partial): Change argument type
2286 from void * to gdb_byte *.
2287 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2289 2014-01-22 Doug Evans <dje@google.com>
2291 New gdbserver option --debug-format=timestamp.
2294 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2296 * syscalls/s390x-linux.xml: New file.
2297 * syscalls/s390-linux.xml: New file.
2298 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2299 (XML_SYSCALL_FILENAME_S390X): Likewise.
2300 (op_svc): New enum value for SVC opcode.
2301 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2302 (s390_linux_get_syscall_number): New function.
2303 (s390_gdbarch_init): Register '*get_syscall_number' and the
2304 syscall xml file name.
2305 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2306 "s390-linux.xml" and "s390x-linux.xml".
2307 * NEWS: Announce new feature.
2309 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2311 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2313 2014-01-22 Pedro Alves <palves@redhat.com>
2315 * xtensa-config.c: Include defs.h.
2317 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2319 * common/common-utils.h: Add "ARI:" comment beside __func__
2322 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2324 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2325 documentation a bit.
2327 2014-01-21 Roland McGrath <mcgrathr@google.com>
2329 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2330 * configure: Regenerate.
2331 * aclocal.m4: Regenerate.
2332 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2333 New substituted variables.
2334 (install-strip): New target.
2335 (INSTALL_SCRIPT): New substituted variable.
2336 (FLAGS_TO_PASS): Add it.
2337 (install-only): Use $(INSTALL_SCRIPT) rather than
2338 $(INSTALL_PROGRAM) for gcore.
2340 2014-01-20 Tom Tromey <tromey@redhat.com>
2342 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2345 2014-01-20 Tom Tromey <tromey@redhat.com>
2347 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2348 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2349 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2350 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2351 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2352 (struct cmd_list_element) <flags>: Remove.
2353 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2354 doc_allocated>: New fields.
2355 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2357 * maint.c (maintenance_do_deprecate): Update.
2358 * top.c (execute_command): Update.
2360 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2362 * xtensa-linux-nat.c: Include asm/ptrace.h.
2364 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2366 * Makefile.in (SFILES): Add d-support.c.
2367 (COMMON_OBS): Add d-support.o.
2368 * d-lang.h (d_parse_symbol): Add comment, now defined in
2370 * d-lang.c (parse_call_convention)
2371 (parse_attributes, parse_function_types)
2372 (parse_function_args, parse_type, parse_identifier)
2373 (call_convention_p, d_parse_symbol): Move functions to ...
2374 * d-support.c: ... New file.
2376 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2378 * d-lang.h (d_parse_symbol): Add declaration.
2379 * d-lang.c (extract_identifiers)
2380 (extract_type_info): Remove functions.
2381 (parse_call_convention, parse_attributes)
2382 (parse_function_types, parse_function_args)
2383 (parse_type, parse_identifier, call_convention_p)
2384 (d_parse_symbol): New functions.
2385 (d_demangle): Use d_parse_symbol to demangle D symbols.
2387 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2389 * d-lang.h (struct builtin_d_type): New data type.
2390 (builtin_d_type): Add declaration.
2391 * d-lang.c (d_language_arch_info, build_d_types)
2392 (builtin_d_type): New functions.
2393 (enum d_primitive_types): New data type.
2394 (d_language_defn): Change c_language_arch_info to
2395 d_language_arch_info.
2396 (d_type_data): New static variable.
2397 (_initialize_d_language): Initialize d_type_data.
2399 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2401 * d-lang.h (d_main_name): Add declaration.
2402 * d-lang.c (d_main_name): New function.
2403 * symtab.c (find_main_name): Add call to d_main_name.
2405 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2407 * d-lang.c (d_language_defn): Change macro_expansion_c to
2410 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2412 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2414 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2416 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2417 gdb_exception" declaration.
2418 * remote.c (getpkt_or_notif_sane): Likewise.
2420 2014-01-17 Doug Evans <dje@google.com>
2422 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2423 function, contents of dirnames_to_char_ptr_vec_append moved here.
2424 (delim_string_to_char_ptr_vec): New function.
2425 (dirnames_to_char_ptr_vec_append): Rewrite.
2426 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2428 2014-01-17 Doug Evans <dje@google.com>
2430 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2432 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2433 #include "common-utils.h".
2434 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2435 * common/vec.h (VEC_ASSERT_PASS): Update.
2436 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2437 (MACH_CHECK_ERROR): Update.
2439 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2441 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2443 * gdbarch.h: Regenerate.
2445 2014-01-16 Tom Tromey <tromey@redhat.com>
2447 * value.c (struct value) <regnum>: Move earlier.
2449 2014-01-16 Tom Tromey <tromey@redhat.com>
2451 * remote.c (extended_remote_create_inferior): Rename from
2452 extended_remote_create_inferior_1. Add "ops" argument. Remove
2455 2014-01-16 Pedro Alves <palves@redhat.com>
2457 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2458 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2461 2014-01-16 Doug Evans <dje@google.com>
2463 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2467 * btrace.h (btrace_thread_flag): New.
2468 (struct btrace_thread_info) <flags>: New.
2469 * record-btrace.c (record_btrace_resume_thread)
2470 (record_btrace_find_thread_to_move, btrace_step_no_history)
2471 (btrace_step_stopped, record_btrace_start_replaying)
2472 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2473 (record_btrace_find_resume_thread): New.
2474 (record_btrace_resume, record_btrace_wait): Extend.
2475 (record_btrace_can_execute_reverse): New.
2476 (record_btrace_open): Fail in non-stop mode.
2477 (record_btrace_set_replay): Split into this, ...
2478 (record_btrace_stop_replaying): ... this, ...
2479 (record_btrace_clear_histories): ... and this.
2480 (init_record_btrace_ops): Init to_can_execute_reverse.
2481 * NEWS: Announce it.
2483 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2485 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2486 (forward_target_decr_pc_after_break)
2487 (target_decr_pc_after_break): New.
2488 * target.c (forward_target_decr_pc_after_break)
2489 (target_decr_pc_after_break): New.
2490 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2491 instead of gdbarch_decr_pc_after_break.
2492 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2493 instead of gdbarch_decr_pc_after_break.
2494 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2495 instead of gdbarch_decr_pc_after_break.
2496 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2497 instead of gdbarch_decr_pc_after_break.
2498 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2499 instead of gdbarch_decr_pc_after_break.
2500 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2501 instead of gdbarch_decr_pc_after_break.
2503 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2505 * btrace.c: Include regcache.h.
2506 (btrace_add_pc): New.
2507 (btrace_enable): Call btrace_add_pc.
2508 (btrace_is_empty): New.
2509 * btrace.h (btrace_is_empty): New.
2510 * record-btrace.c (require_btrace, record_btrace_info): Call
2513 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2515 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2516 Support delta reads.
2517 (linux_disable_btrace): Change return type.
2518 * common/linux-btrace.h (linux_read_btrace): Change parameters
2519 and return type to allow error reporting. Update users.
2520 (linux_disable_btrace): Change return type. Update users.
2521 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2523 (btrace_error): New.
2524 (btrace_block) <begin>: Comment on BEGIN == 0.
2525 * btrace.c (btrace_compute_ftrace): Start from the end of
2527 (btrace_stitch_trace, btrace_clear_history): New.
2528 (btrace_fetch): Read delta trace, return if replaying.
2529 (btrace_clear): Move clear history code to btrace_clear_history.
2530 (parse_xml_btrace): Throw an error if parsing failed.
2531 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2532 and return type to allow error reporting.
2533 (target_read_btrace): Change parameters and return type to allow
2535 * target.c (target_read_btrace): Update.
2536 * remote.c (remote_read_btrace): Support delta reads. Pass
2538 * NEWS: Announce it.
2540 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2542 * record.h (record_btrace_frame_unwind)
2543 (record_btrace_tailcall_frame_unwind): New declarations.
2544 * dwarf2-frame: Include record.h
2545 (dwarf2_frame_cfa): Throw an error for btrace frames.
2546 * record-btrace.c: Include hashtab.h.
2547 (btrace_get_bfun_name): New.
2548 (btrace_call_history): Call btrace_get_bfun_name.
2549 (struct btrace_frame_cache): New.
2551 (bfcache_hash, bfcache_eq, bfcache_new): New.
2552 (btrace_get_frame_function): New.
2553 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2554 (record_btrace_frame_this_id): Compute own id.
2555 (record_btrace_frame_prev_register): Provide PC, throw_error
2556 for all other registers.
2557 (record_btrace_frame_sniffer): Detect btrace frames.
2558 (record_btrace_tailcall_frame_sniffer): New.
2559 (record_btrace_frame_dealloc_cache): New.
2560 (record_btrace_frame_unwind): Add new functions.
2561 (record_btrace_tailcall_frame_unwind): New.
2562 (_initialize_record_btrace): Allocate cache.
2563 * btrace.c (btrace_clear): Call reinit_frame_cache.
2564 * NEWS: Announce it.
2566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2568 * record-btrace.c (record_btrace_set_replay)
2569 (record_btrace_goto_begin, record_btrace_goto_end)
2570 (record_btrace_goto): New.
2571 (init_record_btrace_ops): Initialize them.
2572 * NEWS: Announce it.
2574 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2576 * record-btrace.c (record_btrace_find_new_threads)
2577 (record_btrace_thread_alive): New.
2578 (init_record_btrace_ops): Initialize to_find_new_threads and
2581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2583 * record-btrace.c (record_btrace_resume): New.
2584 (record_btrace_wait): New.
2585 (init_record_btrace_ops): Initialize to_wait and to_resume.
2587 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2589 * record-btrace.c (record_btrace_xfer_partial)
2590 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2591 (record_btrace_allow_memory_access): New.
2592 (init_record_btrace_ops): Initialize new methods.
2593 * target.c (raw_memory_xfer_partial): Bail out if target reports
2594 that this memory is not available.
2596 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2598 * target.h (target_ops) <to_insert_breakpoint>
2599 <to_remove_breakpoint>: Add target_ops parameter.
2600 (forward_target_insert_breakpoint): New.
2601 (forward_target_remove_breakpoint): New.
2602 (memory_remove_breakpoint, memory_insert_breakpoint):
2603 Add target_ops parameter.
2604 * target.c (target_insert_breakpoint): Split into this and ...
2605 (forward_target_insert_breakpoint): ... this.
2606 (target_remove_breakpoint): Split into this and ...
2607 (forward_target_remove_breakpoint): ... this.
2608 (debug_to_insert_breakpoint): Add target_ops parameter.
2609 Call forward_target_insert_breakpoint.
2610 (debug_to_remove_breakpoint): Add target_ops parameter.
2611 Call forward_target_remove_breakpoint.
2612 (update_current_target): Do not inherit or default to_insert_breakpoint
2613 and to_remove_breakpoint.
2614 * corelow.c (ignore): Add target_ops parameter.
2615 * exec.c (ignore): Add target_ops parameter.
2616 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2617 Add target_ops parameter.
2618 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2619 Add target_ops parameter.
2620 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2621 Add target_ops parameter.
2622 * record-full.c (record_full_beneath_to_insert_breakpoint)
2623 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2624 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2625 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2626 (record_full_core_remove_breakpoint): Add target_ops parameter.
2628 (record_full_beneath_to_insert_breakpoint_ops)
2629 (record_full_beneath_to_remove_breakpoint_ops)
2630 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2631 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2632 tmp_to_remove_breakpoint_ops,
2633 record_full_beneath_to_insert_breakpoint_ops, and
2634 record_full_beneath_to_remove_breakpoint_ops.
2635 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2636 (m32r_remove_breakpoint): Add target_ops parameter.
2637 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2638 Add target_ops parameter.
2639 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2640 Add target_ops parameter.
2642 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2643 Markus Metzger <markus.t.metzger@intel.com>
2645 * record-btrace.c: Include frame-unwind.h.
2646 (record_btrace_frame_unwind_stop_reason)
2647 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2648 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2650 (init_record_btrace_ops): Install it.
2652 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2654 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2657 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2659 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2662 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2664 * frame-unwind.c: Include target.h.
2665 (frame_unwind_try_unwinder): New function with code from ...
2666 (frame_unwind_find_by_frame): ... here. New variable
2667 unwinder_from_target, call also target_get_unwinder)
2668 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2669 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2670 * target.h (struct target_ops): New fields to_get_unwinder and
2671 to_get_tailcall_unwinder.
2672 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2676 * record-btrace.c (record_btrace_fetch_registers)
2677 (record_btrace_store_registers)
2678 (record_btrace_to_prepare_to_store): New.
2679 (init_record_btrace_ops): Add the above.
2681 2014-01-16 Tom Tromey <tromey@redhat.com>
2683 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2684 * target.h (struct target_ops) <to_prepare_to_store>: Add
2686 (target_prepare_to_store): Add argument.
2687 * target.c (debug_to_prepare_to_store): Add argument.
2688 (update_current_target): Update.
2689 * remote.c (remote_prepare_to_store): Add 'self' argument.
2690 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2691 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2692 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2693 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2695 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2696 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2697 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2698 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2699 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2703 * btrace.h (replay) <replay>: New.
2704 (btrace_is_replaying): New.
2705 * btrace.c (btrace_clear): Free replay iterator.
2706 (btrace_is_replaying): New.
2707 * record-btrace.c (record_btrace_is_replaying): New.
2708 (record_btrace_info): Print insn number if replaying.
2709 (record_btrace_insn_history): Start at replay position.
2710 (record_btrace_call_history): Start at replay position.
2711 (init_record_btrace_ops): Init to_record_is_replaying.
2713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2715 * record-btrace.c (record_btrace_insn_history_range): Include
2717 (record_btrace_insn_history_from): Adjust range.
2718 (record_btrace_call_history_range): Include
2720 (record_btrace_call_history_from): Adjust range.
2721 * NEWS: Announce changes.
2723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2725 * record.h (enum record_print_flag)
2726 <record_print_indent_calls>: New.
2727 * record.c (get_call_history_modifiers): Recognize /c modifier.
2728 (_initialize_record): Document /c modifier.
2729 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2730 Reorder fields. Optionally indent the function name. Update
2732 * NEWS: Announce changes.
2734 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2736 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2738 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2740 * btrace.c (ftrace_new_function): Start counting at one.
2741 * record-btrace.c (record_btrace_info): Adjust number of calls
2743 * NEWS: Announce it.
2745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2747 * record-btrace.c (btrace_call_history_insn_range): Print
2748 insn range as [begin, end].
2750 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2752 * btrace.h (struct btrace_func_link): New.
2753 (enum btrace_function_flag): New.
2754 (struct btrace_inst): Rename to ...
2755 (struct btrace_insn): ...this. Update all users.
2756 (struct btrace_func) <ibegin, iend>: Remove.
2757 (struct btrace_func_link): New.
2758 (struct btrace_func): Rename to ...
2759 (struct btrace_function): ...this. Update all users.
2760 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2761 (number, level, flags>: New.
2762 (struct btrace_insn_iterator): Rename to ...
2763 (struct btrace_insn_history): ...this.
2765 (struct btrace_insn_iterator, btrace_call_iterator): New.
2766 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2767 (struct btrace_target_info) <begin, end, level>
2768 <insn_history, call_history>: New.
2769 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2770 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2771 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2772 (btrace_call_number, btrace_call_begin, btrace_call_end)
2773 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2774 (btrace_find_function_by_number, btrace_set_insn_history)
2775 (btrace_set_call_history): New.
2776 * btrace.c (btrace_init_insn_iterator)
2777 (btrace_init_func_iterator, compute_itrace): Remove.
2778 (ftrace_print_function_name, ftrace_print_filename)
2779 (ftrace_skip_file): Change
2781 (ftrace_init_func): Remove.
2782 (ftrace_debug): Use new btrace_function fields.
2783 (ftrace_function_switched): Also consider gaining and
2784 losing symbol information).
2785 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2786 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2787 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2789 (ftrace_new_function): Move. Remove debug print.
2790 (ftrace_update_lines, ftrace_update_insns): New.
2791 (ftrace_update_function): Check for call, ret, and jump.
2792 (compute_ftrace): Renamed to ...
2793 (btrace_compute_ftrace): ...this. Rewritten to compute call
2795 (btrace_fetch, btrace_clear): Updated.
2796 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2797 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2798 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2799 (btrace_call_number, btrace_call_begin, btrace_call_end)
2800 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2801 (btrace_find_function_by_number, btrace_set_insn_history)
2802 (btrace_set_call_history): New.
2803 * record-btrace.c (require_btrace): Use new btrace thread
2805 (record_btrace_info, btrace_insn_history)
2806 (record_btrace_insn_history, record_btrace_insn_history_range):
2807 Use new btrace thread info fields and new iterator.
2808 (btrace_func_history_src_line): Rename to ...
2809 (btrace_call_history_src_line): ...this. Use new btrace
2811 (btrace_func_history): Rename to ...
2812 (btrace_call_history): ...this. Use new btrace thread info
2813 fields and new iterator.
2814 (record_btrace_call_history, record_btrace_call_history_range):
2815 Use new btrace thread info fields and new iterator.
2817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2819 * frame.h (frame_id_build_unavailable_stack_special): New.
2820 * frame.c (frame_id_build_unavailable_stack_special): New.
2822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2824 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2825 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2826 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2828 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2829 (i386_insn_is_jump, i386_jmp_p): New.
2830 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2831 insn_is_jump to gdbarch.
2832 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2833 * gdbarch.h: Regenerated.
2834 * gdbarch.c: Regenerated.
2835 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2836 (default_insn_is_jump): New.
2837 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2838 (default_insn_is_jump): New.
2840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2842 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2844 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2845 (btrace_read_type) <btrace_read_new>: Change to ...
2846 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2848 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2850 * common/linux-btrace.c (linux_read_btrace): Free trace from
2853 2014-01-15 Doug Evans <dje@google.com>
2855 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2858 2014-01-15 Tom Tromey <tromey@redhat.com>
2860 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2861 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2862 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2863 (set_objfile_main_name): New function.
2864 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2865 language_of_main>: New fields.
2866 (set_objfile_main_name): Declare.
2867 * symtab.c (find_main_name): Loop over objfiles to find the main
2869 (set_main_name): Now static.
2870 (get_main_info): Add comment.
2871 * symtab.h (set_main_name): Don't declare.
2873 2014-01-15 Tom Tromey <tromey@redhat.com>
2875 * symtab.c (main_progspace_key): New global.
2876 (struct main_info): New.
2877 (name_of_main, language_of_main): Remove.
2878 (get_main_info, main_info_cleanup): New function.
2879 (set_main_name, main_name, main_language): Use get_main_info.
2880 (_initialize_symtab): Initialize main_progspace_key.
2882 2014-01-15 Tom Tromey <tromey@redhat.com>
2884 * dbxread.c (process_one_symbol): Update.
2885 * dwarf2read.c (read_partial_die): Update.
2886 * symfile.c (set_initial_language): Call main_language.
2887 * symtab.c (language_of_main): Now static.
2888 (set_main_name): Add 'lang' parameter.
2889 (find_main_name): Update.
2890 (main_language): New function.
2891 (symtab_observer_executable_changed): Update.
2892 * symtab.h (set_main_name): Update.
2893 (language_of_main): Remove.
2894 (main_language): Declare.
2896 2014-01-15 Tom Tromey <tromey@redhat.com>
2898 * symfile.c (init_entry_point_info): Use new "initialized" field.
2900 * objfiles.h (struct entry_point) <initialized>: New field.
2901 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2902 (struct objfile) <ei>: ...here. Remove.
2903 * objfiles.c (entry_point_address_query): Update.
2905 2014-01-15 Tom Tromey <tromey@redhat.com>
2907 * objfiles.c (entry_point_address_query): Relocate entry point
2909 (objfile_relocate1): Do not relocate entry point address.
2910 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2911 <the_bfd_section_index>: New field.
2912 * symfile.c (init_entry_point_info): Find the entry point's
2915 2014-01-15 Tom Tromey <tromey@redhat.com>
2917 * solib-frv.c (enable_break): Use entry_point_address_query.
2919 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2921 * NEWS: Add note on improved process record-replay on
2922 arm*-linux* targets.
2924 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2926 * arm-tdep.c (enum arm_record_result): New enum.
2927 (arm_record_unsupported_insn): New function.
2928 (arm_record_coproc_data_proc): Removed.
2929 (thumb2_record_ld_st_multiple): New function.
2930 (thumb2_record_ld_st_dual_ex_tbb): New function.
2931 (thumb2_record_data_proc_sreg_mimm): New function.
2932 (thumb2_record_ps_dest_generic): New function.
2933 (thumb2_record_branch_misc_cntrl): New function.
2934 (thumb2_record_str_single_data): New function.
2935 (thumb2_record_ld_mem_hints): New function.
2936 (thumb2_record_ld_word): New function.
2937 (thumb2_record_lmul_lmla_div): New function.
2938 (thumb2_record_decode_insn_handler): New function.
2939 (decode_insn): Add thumb32 instruction handlers.
2941 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2943 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2944 (struct arm_linux_record_tdep): Declare.
2945 (arm_canonicalize_syscall): New function.
2946 (arm_all_but_pc_registers_record): New function.
2947 (arm_linux_syscall_record): New function.
2948 (arm_linux_init_abi): Add syscall recording constructs.
2949 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2950 decoding. (arm_record_coproc_data_proc): Update arm syscall
2952 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2953 <arm_syscall_record>: New field.
2954 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2957 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2959 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2960 register for push instruction recording.
2962 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2964 * arm-tdep.c (thumb_record_misc): Update to correct logical
2965 error while recording ldm, ldmia and pop instructions.
2967 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2969 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
2971 2014-01-15 Pedro Alves <palves@redhat.com>
2973 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
2974 (go32_resume, go32_fetch_registers, store_register)
2975 (go32_store_registers, go32_prepare_to_store)
2976 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
2977 (go32_create_inferior, go32_can_run, go32_terminal_init)
2978 (go32_terminal_inferior, go32_terminal_ours): Delete forward
2981 2014-01-15 Tom Tromey <tromey@redhat.com>
2983 * target.h (async_callback_ftype): New typedef.
2984 (struct target_ops) <to_async>: Use it.
2986 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2988 * python/py-value.c (get_field_type): Remove unnecessary curly
2989 braces for single-statement if block.
2991 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2993 * python/py-type.c (convert_field): Add missing empty line
2996 2014-01-14 Doug Evans <dje@google.com>
2998 * symfile.h (expand_symtabs_matching): Renamed from
2999 expand_partial_symbol_names. Update prototype.
3000 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3001 * symfile.c (expand_symtabs_matching): Renamed from
3002 expand_partial_symbol_names. New args file_matcher, kind.
3003 Rename arg fun to symbol_matcher.
3004 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3005 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3006 ada_expand_partial_symbol_name.
3007 (ada_make_symbol_completion_list): Update to call
3008 expand_symtabs_matching.
3009 (ada_add_global_exceptions): Call expand_symtabs_matching.
3010 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3011 call map_symbol_filenames.
3012 * symtab.c (sources_info): Update to call map_symbol_filenames.
3013 (search_symbols): Call expand_symtabs_matching.
3014 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3015 (default_make_symbol_completion_list_break_on): Update to call
3016 expand_symtabs_matching.
3017 (make_source_files_completion_list): Update to call
3018 map_symbol_filenames.
3020 2014-01-14 Doug Evans <dje@google.com>
3022 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3023 (expand_symtabs_symbol_matcher_ftype): New typedef.
3024 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3025 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3026 * symfile.c (expand_partial_symbol_names): Update to use
3027 expand_symtabs_symbol_matcher_ftype.
3028 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3029 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3030 Arg name_matcher renamed to symbol_matcher.
3031 * psymtab.c (recursively_search_psymtabs): Update to use
3032 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3034 (expand_symtabs_matching_via_partial): Update to use
3035 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3036 Arg name_matcher renamed to symbol_matcher.
3038 2014-01-14 Doug Evans <dje@google.com>
3040 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3041 (map_partial_symbol_filenames): Ditto.
3042 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3043 (map_partial_symbol_filenames): Ditto.
3044 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3045 (map_partial_symbol_filenames): Ditto.
3046 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3047 (map_partial_symbol_filenames): Ditto.
3048 * symtab.c: Delete #include "psymtab.h".
3050 2014-01-14 Pedro Alves <palves@redhat.com>
3051 Tom Tromey <tromey@redhat.com>
3053 * infrun.c (use_displaced_stepping): Use find_record_target
3054 instead of RECORD_IS_USED.
3055 (adjust_pc_after_break): Use record_full_is_used instead of
3057 * record-btrace.c (record_btrace_open): Call record_preopen
3058 instead of checking RECORD_IS_USED.
3059 * record-full.c (record_full_shortname)
3060 (record_full_core_shortname): New globals.
3061 (record_full_is_used): New function.
3062 (find_full_open): Call record_preopen instead of checking
3064 (init_record_full_ops): Set the target's shortname to
3065 record_full_shortname.
3066 (init_record_full_core_ops): Set the target's shortname to
3067 record_full_core_shortname.
3068 * record-full.h (record_full_is_used): Declare.
3069 * record.c (find_record_target): Make extern.
3070 (record_preopen): New function.
3071 * record.h (RECORD_IS_USED): Delete macro.
3072 (find_record_target, record_preopen): Declare functions.
3074 2014-01-14 Yao Qi <yao@codesourcery.com>
3076 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3077 'len''s type to ULONGEST.
3078 (core_xfer_shared_libraries_aix): Likewise.
3079 * gdbarch.c, gdbarch.h: Regenerated.
3080 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3081 Change type of 'len' to ULONGEST.
3082 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3083 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3085 2014-01-14 Yao Qi <yao@codesourcery.com>
3087 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3088 type of 'len' to ULONGEST.
3089 (linux_xfer_osdata_processgroups): Likewise.
3090 (linux_xfer_osdata_threads): Likewise.
3091 (linux_xfer_osdata_fds): Likewise.
3092 (linux_xfer_osdata_isockets): Likewise.
3093 (linux_xfer_osdata_shm): Likewise.
3094 (linux_xfer_osdata_sem): Likewise.
3095 (linux_xfer_osdata_msg): Likewise.
3096 (linux_common_xfer_osdata): Likewise.
3097 (struct osdata_type) <getter>: Likewise.
3098 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3101 2014-01-14 Yao Qi <yao@codesourcery.com>
3103 * target.h (target_xfer_partial_ftype): Update.
3104 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3106 * aix-thread.c (aix_thread_xfer_partial): Change type of
3107 argument 'len' to ULONGEST.
3108 * auxv.c (procfs_xfer_auxv): Likewise.
3109 (ld_so_xfer_auxv): Likewise.
3110 (memory_xfer_auxv): Likewise.
3111 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3112 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3113 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3114 * corelow.c (core_xfer_partial): Likewise.
3115 * ctf.c (ctf_xfer_partial): Likewise.
3116 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3118 (darwin_read_dyld_info): Likewise.
3119 (darwin_xfer_partial): Likewise.
3120 * exec.c (section_table_xfer_memory_partial): Likewise.
3121 (exec_xfer_partial): Likewise.
3122 * exec.h (section_table_xfer_memory_partial): Update
3124 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3125 instead of plongest.
3126 (gnu_xfer_partial): Likewise.
3127 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3128 (ia64_hpux_xfer_solib_got): Likewise.
3129 (ia64_hpux_xfer_partial): Likewise.
3130 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3131 * inf-ptrace.c (inf_ptrace_xfer_partial):
3132 * inf-ttrace.c (inf_ttrace_xfer_partial):
3133 * linux-nat.c (linux_xfer_siginfo): Likewise.
3134 (linux_nat_xfer_partial): Likewise.
3135 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3136 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3137 * monitor.c (monitor_xfer_memory): Likewise.
3138 (monitor_xfer_partial): Likewise.
3139 * procfs.c (procfs_xfer_partial): Likewise.
3140 * record-full.c (record_full_xfer_partial): Likewise.
3141 (record_full_core_xfer_partial): Likewise.
3142 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3143 instead of plongest.
3144 (gdbsim_xfer_partial): Likewise.
3145 * remote.c (remote_xfer_partial): Likewise.
3146 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3147 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3149 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3150 (rs6000_xfer_shared_libraries): Likewise.
3151 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3152 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3153 (sparc_xfer_partial): Likewise.
3154 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3155 (spu_xfer_partial): Likewise.
3156 * spu-multiarch.c (spu_xfer_partial): Likewise.
3157 * target.c (target_read_live_memory): Likewise.
3158 (memory_xfer_live_readonly_partial): Likewise.
3159 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3160 (target_xfer_partial, default_xfer_partial): Likewise.
3161 (current_xfer_partial): Likewise.
3162 * tracepoint.c (tfile_xfer_partial): Likewise.
3163 * windows-nat.c (windows_xfer_memory): Likewise. Call
3164 pulongest instead of plongest.
3165 (windows_xfer_partial): Likewise.
3166 (windows_xfer_shared_libraries): Likewise.
3168 2014-01-14 Yao Qi <yao@codesourcery.com>
3170 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3171 target_xfer_partial_ftype.
3173 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3177 * valops.c (value_struct_elt_bitpos): New function
3178 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3179 object to 'None' if the field name is an empty string ("").
3180 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3181 attribute to look for a field when 'name' is 'None'.
3182 (get_field_type): New function
3184 2014-01-13 Doug Evans <dje@google.com>
3187 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3188 (try_open_dwop_file): Ditto.
3189 * gdb_bfd.c: #include "vec.h".
3190 (bfdp): New typedef.
3191 (struct gdb_bfd_data): New member included_bfds.
3192 (gdb_bfd_unref): Unref all included bfds.
3193 (gdb_bfd_record_inclusion): New function.
3194 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3196 2014-01-13 Tom Tromey <tromey@redhat.com>
3198 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3200 2014-01-13 Tom Tromey <tromey@redhat.com>
3202 * defs.h (use_windows): Remove.
3203 * gdb.c (main): Update.
3204 * main.c (captured_main, gdb_main): Update.
3205 * main.h (struct captured_main_args) <use_windows>: Remove.
3206 * top.c (use_windows): Remove.
3208 2014-01-13 Tom Tromey <tromey@redhat.com>
3210 * defs.h (deprecated_flush_hook): Remove.
3212 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3215 * linux-thread-db.c (try_thread_db_load): Add parameter
3216 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3217 (try_thread_db_load_from_pdir_1): Move it there from here.
3218 (try_thread_db_load_from_sdir): Update caller.
3219 (try_thread_db_load_from_dir): Move it there from here.
3221 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3223 * regformats/regdat.sh: Always rewrite the register file.
3225 2014-01-13 Pedro Alves <palves@redhat.com>
3227 * Makefile.in (CHECK_HEADERS): New variable.
3228 (check-headers:): New rule.
3230 2014-01-13 Tom Tromey <tromey@redhat.com>
3232 * cli/cli-setshow.c (do_set_command): Update.
3233 * defs.h (deprecated_set_hook): Remove.
3234 * top.c (deprecated_set_hook): Remove.
3236 2014-01-13 Pedro Alves <palves@redhat.com>
3238 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3239 the tracepoint if the PC is a pseudo-register.
3241 2014-01-13 Tom Tromey <tromey@redhat.com>
3243 * defs.h (XCALLOC): Remove.
3244 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3245 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3246 * dwarf2loc.c (allocate_piece_closure): Likewise.
3247 * elfread.c (elf_symfile_segments): Likewise.
3248 (elf_symfile_segments): Likewise.
3249 * gdbtypes.c (copy_type_recursive): Likewise.
3250 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3251 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3252 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3254 * mt-tdep.c (mt_gdbarch_init): Likewise.
3255 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3257 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3258 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3259 * registry.c (registry_alloc_data): Likewise.
3260 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3261 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3262 * serial.c (serial_fdopen_ops): Likewise.
3263 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3265 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3266 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3269 2014-01-13 Tom Tromey <tromey@redhat.com>
3271 * defs.h (XMALLOC): Remove.
3272 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3273 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3274 * cli-out.c (struct ui_out *): Likewise.
3275 * cli/cli-dump.c (add_dump_command): Likewise.
3276 (add_dump_command): Likewise.
3277 * complaints.c (get_complaints): Likewise.
3278 (find_complaint): Likewise.
3279 * dwarf2-frame.c (execute_cfa_program): Likewise.
3280 * dwarf2read.c (abbrev_table_read_table): Likewise.
3281 * gdbarch.sh: Likewise.
3282 * gdbarch.c: Rebuild.
3283 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3284 * interps.c (interp_new): Likewise.
3285 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3286 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3287 * mi/mi-console.c (mi_console_file_new): Likewise.
3288 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3289 * mi/mi-out.c (mi_out_new): Likewise.
3290 * mi/mi-parse.c (mi_parse): Likewise.
3291 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3292 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3293 * observer.c (xalloc_observer_list_node): Likewise.
3294 * regcache.c (regcache_xmalloc_1): Likewise.
3295 * reggroups.c (reggroup_new): Likewise.
3296 (_initialize_reggroup): Likewise.
3297 * registry.c (register_data_with_cleanup): Likewise.
3298 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3299 * ser-base.c (serial_ttystate): Likewise.
3300 * ser-mingw.c (make_pipe_state): Likewise.
3301 * ser-pipe.c (pipe_open): Likewise.
3302 * serial.c (serial_open): Likewise.
3303 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3304 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3305 (tui_alloc_win_info): Likewise.
3306 (tui_add_content_elements): Likewise.
3307 * tui/tui-file.c (tui_file_new): Likewise.
3308 * tui/tui-out.c (tui_out_new): Likewise.
3309 * ui-file.c (mem_file_new): Likewise.
3310 * ui-out.c (push_level): Likewise.
3311 (make_cleanup_ui_out_end): Likewise.
3312 (append_header_to_list): Likewise.
3313 (ui_out_new): Likewise.
3314 * user-regs.c (user_reg_add_builtin): Likewise.
3316 2014-01-13 Tom Tromey <tromey@redhat.com>
3318 * defs.h (XZALLOC): Remove.
3319 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3320 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3321 (get_ada_tasks_inferior_data): Likewise.
3322 * auto-load.c (get_auto_load_pspace_data): Likewise.
3323 * auxv.c (get_auxv_inferior_data): Likewise.
3324 * bfd-target.c (target_bfd_reopen): Likewise.
3325 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3326 (deprecated_insert_raw_breakpoint): Likewise.
3327 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3328 * corelow.c (core_open): Likewise.
3329 * darwin-nat.c (darwin_check_new_threads): Likewise.
3330 (darwin_attach_pid): Likewise.
3331 * dummy-frame.c (dummy_frame_push): Likewise.
3332 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3333 * dwarf2loc.c (allocate_piece_closure): Likewise.
3334 * elfread.c (elf_symfile_segments): Likewise.
3335 * eval.c (ptrmath_type_p): Likewise.
3336 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3337 * gdbtypes.c (alloc_type_arch): Likewise.
3338 (alloc_type_instance): Likewise.
3339 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3340 * inf-child.c (inf_child_can_use_agent): Likewise.
3341 * inflow.c (get_inflow_inferior_data): Likewise.
3342 * infrun.c (save_infcall_suspend_state): Likewise.
3343 * jit.c (jit_reader_load): Likewise.
3344 (get_jit_objfile_data): Likewise.
3345 (get_jit_program_space_data): Likewise.
3346 (jit_object_open_impl): Likewise.
3347 (jit_symtab_open_impl): Likewise.
3348 (jit_block_open_impl): Likewise.
3349 (jit_frame_sniffer): Likewise.
3350 * linux-fork.c (add_fork): Likewise.
3351 * maint.c (make_command_stats_cleanup): Likewise.
3352 * objfiles.c (get_objfile_pspace_data): Likewise.
3353 * opencl-lang.c (struct lval_closure): Likewise.
3354 * osdata.c (osdata_start_osdata): Likewise.
3355 * progspace.c (new_address_space): Likewise.
3356 (add_program_space): Likewise.
3357 * remote-sim.c (get_sim_inferior_data): Likewise.
3358 * sh-tdep.c (sh_gdbarch_init): Likewise.
3359 * skip.c (Ignore): Likewise.
3360 (skip_delete_command): Likewise.
3361 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3362 (library_list_start_library): Likewise.
3363 (solib_aix_current_sos): Likewise.
3364 * solib-darwin.c (get_darwin_info): Likewise.
3365 (darwin_current_sos): Likewise.
3366 * solib-dsbt.c (get_dsbt_info): Likewise.
3367 * solib-ia64-hpux.c (new_so_list): Likewise.
3368 (ia64_hpux_get_solib_linkage_addr): Likewise.
3369 * solib-spu.c (append_ocl_sos): Likewise.
3370 (spu_current_sos): Likewise.
3371 * solib-svr4.c (get_svr4_info): Likewise.
3372 (svr4_keep_data_in_core): Likewise.
3373 (library_list_start_library): Likewise.
3374 (svr4_default_sos): Likewise.
3375 (svr4_read_so_list): Likewise.
3376 * solib-target.c (library_list_start_library): Likewise.
3377 (solib_target_current_sos): Likewise.
3378 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3379 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3380 * symfile.c (default_symfile_segments): Likewise.
3381 * target-descriptions.c (tdesc_data_init): Likewise.
3382 (tdesc_create_reg): Likewise.
3383 (struct tdesc_type *): Likewise.
3384 (tdesc_create_vector): Likewise.
3385 (tdesc_set_struct_size): Likewise.
3386 (struct tdesc_type *): Likewise.
3387 (tdesc_free_feature): Likewise.
3388 (tdesc_create_feature): Likewise.
3389 * windows-nat.c (windows_add_thread): Likewise.
3390 (windows_make_so): Likewise.
3391 * xml-support.c (gdb_xml_body_text): Likewise.
3392 (gdb_xml_create_parser_and_cleanup): Likewise.
3393 (xml_process_xincludes): Likewise.
3394 * xml-syscall.c (allocate_syscalls_info): Likewise.
3395 (syscall_create_syscall_desc): Likewise.
3397 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3399 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3400 function, with code from i386_stap_parse_special_token.
3401 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3402 (i386_stap_parse_special_token): Move code to the two functions
3405 2014-01-09 Pedro Alves <palves@redhat.com>
3406 Hui Zhu <hui@codesourcery.com>
3409 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3410 bp_err_string. Don't mark the location shlib_disabled if the
3411 error thrown wasn't a generic or memory error. Catch errors
3412 thrown while inserting breakpoints in overlayed code. Output
3413 error message of software breakpoints.
3414 * remote.c (remote_insert_breakpoint): If this breakpoint has
3415 target-side commands but this stub doesn't support Z0 packets,
3416 throw NOT_SUPPORTED_ERROR error.
3417 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3418 * target.h (target_insert_breakpoint): Extend comment.
3419 (target_insert_hw_breakpoint): Add comment.
3421 2014-01-08 Pedro Alves <palves@redhat.com>
3423 * remote.c (remote_add_thread): Add threads silently if starting
3425 (remote_notice_new_inferior): If in all-stop, and starting up,
3426 don't call notice_new_inferior.
3427 (get_current_thread): New function, factored out from ...
3428 (add_current_inferior_and_thread): ... this. Adjust.
3429 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3430 found any thread, then select the remote's current thread as GDB's
3433 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3435 * NEWS: Create a new section for the next release branch.
3436 Rename the section of the current branch, now that it has
3439 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3441 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3442 * version.in: Bump version to 7.7.50.DATE-cvs.
3444 2014-01-08 Yao Qi <yao@codesourcery.com>
3446 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3447 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3448 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3450 2014-01-08 Yao Qi <yao@codesourcery.com>
3452 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3453 return value of bfd_get_filename to symbol_file_add_from_bfd.
3455 2014-01-08 Pierre Muller <muller@sourceware.org>
3458 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3459 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3460 to prim_record_mininal_symbol_and_info.
3461 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3462 in call to prim_record_minimal_symbol_and_info.
3463 (read_pe_exported_syms): Set index field of section_data.
3465 2014-01-07 Andrew Pinski <apinski@cavium.com>
3467 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3468 * features/aarch64.c: Regenerate.
3470 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3472 * target.c (return_null): Define.
3473 (update_current_target): Use it instead of return_zero for
3474 functions that return a pointer.
3476 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3478 * source.c (add_path): Fix check for duplicated paths in the previously
3481 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3483 * ada-lang.c: Remove duplicated include statements.
3484 * alphabsd-nat.c: Ditto.
3485 * amd64-darwin-tdep.c: Ditto.
3486 * amd64fbsd-nat.c: Ditto.
3487 * auto-load.c: Ditto.
3489 * breakpoint.c: Ditto.
3491 * fork-child.c: Ditto.
3492 * gdb_usleep.c: Ditto.
3493 * i386-darwin-tdep.c: Ditto.
3494 * i386fbsd-nat.c: Ditto.
3496 * inferior.c: Ditto.
3498 * linux-nat.c: Ditto.
3499 * linux-tdep.c: Ditto.
3500 * m68kbsd-nat.c: Ditto.
3501 * m68klinux-nat.c: Ditto.
3502 * microblaze-tdep.c: Ditto.
3503 * mips-linux-tdep.c: Ditto.
3504 * mn10300-tdep.c: Ditto.
3505 * nto-tdep.c: Ditto.
3506 * opencl-lang.c: Ditto.
3508 * printcmd.c: Ditto.
3509 * regcache.c: Ditto.
3510 * remote-m32r-sdi.c: Ditto.
3514 * tilegx-linux-nat.c: Ditto.
3515 * tilegx-tdep.c: Ditto.
3516 * tracepoint.c: Ditto.
3518 * vaxbsd-nat.c: Ditto.
3519 * windows-nat.c: Ditto.
3520 * xtensa-tdep.c: Ditto.
3522 2014-01-07 Yao Qi <yao@codesourcery.com>
3524 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3526 2014-01-07 Yao Qi <yao@codesourcery.com>
3527 Joel Brobecker <brobecker@adacore.com>
3529 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3530 (pdc_write_regs): Likewise.
3531 (fetch_regs_kernel_thread): Likewise.
3532 (store_regs_kernel_thread): Likewise.
3534 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3536 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3537 tagged type objects to their actual type.
3539 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3541 * ada-valprint.c (print_field_values): Add "language" parameter.
3542 Update calls to print_field_values and print_variant_part.
3543 Pass new parameter "language" in call to val_print instead
3544 of "current_language". Replace call to ada_val_print by call
3546 (print_variant_part): Add "language" parameter.
3547 (ada_val_print_struct_union): Update call to print_field_values.
3549 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3551 * ada-valprint.c (ui_memcpy): Delete.
3552 (ada_print_floating): Update documentation. Add empty line
3553 between between function documentation and implementation.
3554 Delete variable "buffer". Use ui_file_xstrdup in place of
3555 ui_file_put. Minor adjustments following this change.
3557 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3559 * ada-valprint.c (ada_val_print_string): New function,
3560 extracted from ada_val_print_array.
3561 (ada_val_print_array): Replace extracted code by call
3562 to ada_val_print_string followed by a return. Move
3563 "else" branch to the function's top block.
3565 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3567 * ada-valprint.c (ada_val_print_array): Move implementation
3568 down. Rename parameter "offset" and "val" into "offset_aligned"
3569 and "original_value" respectively. Add parameter "offset".
3571 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3573 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3574 re-organizing the code. Change the "???" message printed
3575 when target type is a TYPE_CODE_UNDEF into
3576 "<ref to undefined type>".
3578 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3580 * ada-valprint.c (print_record): Delete, implementation inlined...
3581 (ada_val_print_struct_union): ... here. Remove call to
3582 ada_check_typedef in inlined implementation.
3584 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3586 * ada-valprint.c (ada_val_print_gnat_array): New function,
3587 extracted from ada_val_print_1;
3588 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3589 (ada_val_print_flt, ada_val_print_struct_union)
3590 (ada_val_print_ref): Likewise.
3591 (ada_val_print_1): Delete variables i and elttype.
3592 Replace extracted-out code by call to corresponding
3595 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3597 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3599 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3601 * ada-valprint.c (ada_val_print_1): Replace calls to
3602 ada_val_print_1 by calls to val_print.
3604 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3606 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3607 Update calls to self accordingly. Replace calls to c_val_print
3608 by calls to val_print.
3610 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3612 * ada-valprint.c (print_record): Delete declaration.
3613 (adjust_type_signedness, ada_val_print_1): Likewise.
3614 (ada_val_print): Move function implementation down.
3615 (print_variant_part, print_field_values, print_record):
3616 Move function implementation up.
3618 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3620 * python/py-type.c (typy_get_name): New function.
3621 (type_object_getset): Add entry for attribute "name".
3622 * NEWS: Add entry mentioning this new attribute.
3624 2014-01-07 Yao Qi <yao@codesourcery.com>
3626 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3629 2014-01-07 Yao Qi <yao@codesourcery.com>
3631 * gnu-nat.c (info_port_rights): Add qualifier const to
3634 2014-01-07 Yao Qi <yao@codesourcery.com>
3636 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3638 2014-01-07 Yao Qi <yao@codesourcery.com>
3640 * gnu-nat.c (make_inf) Update declaration.
3641 (make_inf): Make it static.
3642 (inf_set_traced): Likewise.
3643 (inf_port_to_thread, inf_task_died_status): Likewise.
3645 2014-01-07 Yao Qi <yao@codesourcery.com>
3647 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3649 2014-01-07 Yao Qi <yao@codesourcery.com>
3651 * gnu-nat.c (_initialize_gnu_nat): Declare.
3653 2014-01-07 Yao Qi <yao@codesourcery.com>
3655 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3657 (struct gdbarch_info) <byte_order>: Change type to
3659 <byte_order_for_code>: Likewise.
3660 * gdbarch.c, gdbarch.h: Regenerated.
3662 2014-01-06 Sasha Smundak <asmundak@google.com>
3664 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3666 2014-01-06 Tom Tromey <tromey@redhat.com>
3668 * doublest.c (convert_doublest_to_floatformat): Use const, not
3670 * somread.c (som_symtab_read): Likewise.
3672 2014-01-07 Hui Zhu <hui@codesourcery.com>
3674 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3675 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3676 (gdb_bfd_fopen): Ditto.
3677 (gdb_bfd_openr): Ditto.
3678 (gdb_bfd_openw): Ditto.
3679 (gdb_bfd_openr_iovec): Ditto.
3680 (gdb_bfd_fdopenr): Ditto.
3681 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3682 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3684 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3686 * symfile-mem.c (symbol_file_add_from_memory): Removed
3687 gdb_bfd_stash_filename.
3689 2014-01-03 Doug Evans <dje@google.com>
3691 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3694 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3696 Update year range in copyright notice of all files.
3698 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3700 * top.c (print_gdb_version): Set copyright year to 2014.
3702 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3704 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3706 For older changes see ChangeLog-2013.
3712 version-control: never