1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.h (struct target_ops) <to_call_history>: Add argument.
4 * target.c (target_call_history): Add argument.
5 * record-btrace.c (record_btrace_call_history): Add 'self'
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target.h (struct target_ops) <to_insn_history_range>: Add
12 * target.c (target_insn_history_range): Add argument.
13 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
15 (record_btrace_insn_history_from): Update.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target.h (struct target_ops) <to_insn_history_from>: Add
21 * target.c (target_insn_history_from): Add argument.
22 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
25 2014-02-19 Tom Tromey <tromey@redhat.com>
27 * target.h (struct target_ops) <to_insn_history>: Add argument.
28 * target.c (target_insn_history): Add argument.
29 * record-btrace.c (record_btrace_insn_history): Add 'self'
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target.h (struct target_ops) <to_goto_record>: Add argument.
35 * target.c (target_goto_record): Add argument.
36 * record-full.c (record_full_goto): Add 'self' argument.
37 * record-btrace.c (record_btrace_goto): Add 'self' argument.
39 2014-02-19 Tom Tromey <tromey@redhat.com>
41 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
42 * target.c (target_goto_record_end): Add argument.
43 * record-full.c (record_full_goto_end): Add 'self' argument.
44 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
46 2014-02-19 Tom Tromey <tromey@redhat.com>
48 * target.h (struct target_ops) <to_goto_record_begin>: Add
50 * target.c (target_goto_record_begin): Add argument.
51 * record-full.c (record_full_goto_begin): Add 'self' argument.
52 * record-btrace.c (record_btrace_goto_begin): Add 'self'
55 2014-02-19 Tom Tromey <tromey@redhat.com>
57 * target.h (struct target_ops) <to_record_is_replaying>: Add
59 * target.c (target_record_is_replaying): Add argument.
60 * record-full.c (record_full_is_replaying): Add 'self' argument.
61 * record-btrace.c (record_btrace_is_replaying): Add 'self'
63 (record_btrace_xfer_partial, record_btrace_store_registers)
64 (record_btrace_prepare_to_store, record_btrace_resume)
65 (record_btrace_wait, record_btrace_decr_pc_after_break)
66 (record_btrace_find_new_threads, record_btrace_thread_alive):
69 2014-02-19 Tom Tromey <tromey@redhat.com>
71 * target.h (struct target_ops) <to_delete_record>: Add argument.
72 * target.c (target_delete_record): Add argument.
73 * record-full.c (record_full_delete): Add 'self' argument.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target.h (struct target_ops) <to_save_record>: Add argument.
78 * target.c (target_save_record): Add argument.
79 * record-full.c (record_full_save): Add 'self' argument.
80 (record_full_save): Add 'self' argument.
82 2014-02-19 Tom Tromey <tromey@redhat.com>
84 * target.h (struct target_ops) <to_info_record>: Add argument.
85 * target.c (target_info_record): Add argument.
86 * record.c (info_record_command): Add argument.
87 * record-full.c (record_full_info): Add 'self' argument.
88 * record-btrace.c (record_btrace_info): Add 'self' argument.
90 2014-02-19 Tom Tromey <tromey@redhat.com>
92 * target.h (struct target_ops) <to_stop_recording>: Add argument.
93 * target.c (target_stop_recording): Add argument.
94 * record.c (record_stop): Add argument.
95 * record-btrace.c (record_btrace_stop_recording): Add 'self'
98 2014-02-19 Tom Tromey <tromey@redhat.com>
100 * target.h (struct target_ops) <to_read_btrace>: Add argument.
101 * target.c (struct target_ops) <to_read_btrace>: Add argument.
102 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
104 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
105 (_initialize_amd64_linux_nat): Use it.
106 * i386-linux-nat.c (i386_linux_read_btrace): New function.
107 (_initialize_i386_linux_nat): Use it.
109 2014-02-19 Tom Tromey <tromey@redhat.com>
111 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
112 * target.c (target_teardown_btrace): Add argument.
113 * remote.c (remote_teardown_btrace): Add 'self' argument.
114 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
116 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
119 2014-02-19 Tom Tromey <tromey@redhat.com>
121 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
122 * target.c (target_disable_btrace): Add argument.
123 * remote.c (remote_disable_btrace): Add 'self' argument.
124 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
126 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
129 2014-02-19 Tom Tromey <tromey@redhat.com>
131 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
132 * target.c (target_enable_btrace): Add argument.
133 * remote.c (remote_enable_btrace): Add 'self' argument.
134 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
136 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
142 (target_can_use_agent): Add argument.
143 * target.c (update_current_target): Update.
144 * remote.c (remote_can_use_agent): Add 'self' argument.
145 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target.h (struct target_ops) <to_use_agent>: Add argument.
150 (target_use_agent): Add argument.
151 * target.c (update_current_target): Update.
152 * remote.c (remote_use_agent): Add 'self' argument.
153 * inf-child.c (inf_child_use_agent): Add 'self' argument.
155 2014-02-19 Tom Tromey <tromey@redhat.com>
157 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
158 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
159 (target_traceframe_info): Add argument.
160 * target.c (update_current_target): Update.
161 * remote.c (remote_traceframe_info): Add 'self' argument.
162 * ctf.c (ctf_traceframe_info): Add 'self' argument.
164 2014-02-19 Tom Tromey <tromey@redhat.com>
166 * target.h (target_static_tracepoint_markers_by_strid): Add
168 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
170 * target.c (update_current_target): Update.
171 * remote.c (struct target_ops)
172 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
173 * linux-nat.c (struct target_ops)
174 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
176 2014-02-19 Tom Tromey <tromey@redhat.com>
178 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
180 (target_static_tracepoint_marker_at): Add argument.
181 * target.c (update_current_target): Update.
182 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
185 2014-02-19 Tom Tromey <tromey@redhat.com>
187 * target.h (struct target_ops) <to_set_permissions>: Add argument.
188 (target_set_permissions): Add argument.
189 * target.c (update_current_target): Update.
190 * remote.c (remote_set_permissions): Add 'self' argument.
191 (remote_start_remote): Update.
193 2014-02-19 Tom Tromey <tromey@redhat.com>
195 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
196 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
197 (target_get_tib_address): Add argument.
198 * target.c (update_current_target): Update.
199 * remote.c (remote_get_tib_address): Add 'self' argument.
201 2014-02-19 Tom Tromey <tromey@redhat.com>
203 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
204 (target_set_trace_notes): Add argument.
205 * target.c (update_current_target): Update.
206 * remote.c (remote_set_trace_notes): Add 'self' argument.
208 2014-02-19 Tom Tromey <tromey@redhat.com>
210 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
212 (target_set_trace_buffer_size): Add argument.
213 * target.c (update_current_target): Update.
214 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
216 2014-02-19 Tom Tromey <tromey@redhat.com>
218 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
220 (target_set_circular_trace_buffer): Add argument.
221 * target.c (update_current_target): Update.
222 * remote.c (remote_set_circular_trace_buffer): Add 'self'
225 2014-02-19 Tom Tromey <tromey@redhat.com>
227 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
229 (target_set_disconnected_tracing): Add argument.
230 * target.c (update_current_target): Update.
231 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
233 2014-02-19 Tom Tromey <tromey@redhat.com>
235 * target.h (struct target_ops)
236 <to_get_min_fast_tracepoint_insn_len>: Add argument.
237 (target_get_min_fast_tracepoint_insn_len): Add argument.
238 * target.c (update_current_target): Update.
239 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
242 2014-02-19 Tom Tromey <tromey@redhat.com>
244 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
246 (target_get_raw_trace_data): Add argument.
247 * target.c (update_current_target): Update.
248 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
250 2014-02-19 Tom Tromey <tromey@redhat.com>
252 * target.h (struct target_ops) <to_upload_trace_state_variables>:
254 (target_upload_trace_state_variables): Add argument.
255 * target.c (update_current_target): Update.
256 * remote.c (remote_upload_trace_state_variables): Add 'self'
258 (remote_start_remote): Update.
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target.h (struct target_ops) <to_upload_tracepoints>: Add
264 (target_upload_tracepoints): Add argument.
265 * target.c (update_current_target): Update.
266 * remote.c (remote_upload_tracepoints): Add 'self' argument.
267 (remote_start_remote): Update.
269 2014-02-19 Tom Tromey <tromey@redhat.com>
271 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
272 (target_save_trace_data): Add argument.
273 * target.c (update_current_target): Update.
274 * remote.c (remote_save_trace_data): Add 'self' argument.
276 2014-02-19 Tom Tromey <tromey@redhat.com>
278 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
280 * target.h (struct target_ops)
281 <to_get_trace_state_variable_value>: Add argument.
282 (target_get_trace_state_variable_value): Add argument.
283 * target.c (update_current_target): Update.
284 * remote.c (remote_get_trace_state_variable_value): Add 'self'
286 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
288 2014-02-19 Tom Tromey <tromey@redhat.com>
290 * tracepoint.c (tfile_trace_find): Add 'self' argument.
291 * target.h (struct target_ops) <to_trace_find>: Add argument.
292 (target_trace_find): Add argument.
293 * target.c (update_current_target): Update.
294 * remote.c (remote_trace_find): Add 'self' argument.
295 * ctf.c (ctf_trace_find): Add 'self' argument.
297 2014-02-19 Tom Tromey <tromey@redhat.com>
299 * target.h (struct target_ops) <to_trace_stop>: Add argument.
300 (target_trace_stop): Add argument.
301 * target.c (update_current_target): Update.
302 * remote.c (remote_trace_stop): Add 'self' argument.
304 2014-02-19 Tom Tromey <tromey@redhat.com>
306 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
307 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
309 (target_get_tracepoint_status): Add argument.
310 * target.c (update_current_target): Update.
311 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
316 * target.h (struct target_ops) <to_get_trace_status>: Add
318 (target_get_trace_status): Add argument.
319 * target.c (update_current_target): Update.
320 * remote.c (remote_get_trace_status): Add 'self' argument.
321 (remote_start_remote, remote_can_download_tracepoint): Update.
322 * ctf.c (ctf_get_trace_status): Add 'self' argument.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target.h (struct target_ops) <to_trace_start>: Add argument.
327 (target_trace_start): Add argument.
328 * target.c (update_current_target): Update.
329 * remote.c (remote_trace_start): Add 'self' argument.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
335 (target_trace_set_readonly_regions): Add argument.
336 * target.c (update_current_target): Update.
337 * remote.c (remote_trace_set_readonly_regions): Add 'self'
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * target.h (struct target_ops) <to_disable_tracepoint>: Add
344 (target_disable_tracepoint): Add argument.
345 * target.c (update_current_target): Update.
346 * remote.c (remote_disable_tracepoint): Add 'self' argument.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target.h (struct target_ops) <to_enable_tracepoint>: Add
352 (target_enable_tracepoint): Add argument.
353 * target.c (update_current_target): Update.
354 * remote.c (remote_enable_tracepoint): Add 'self' argument.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target.h (struct target_ops) <to_download_trace_state_variable>:
360 (target_download_trace_state_variable): Add argument.
361 * target.c (update_current_target): Update.
362 * remote.c (remote_download_trace_state_variable): Add 'self'
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
369 (target_can_download_tracepoint): Add argument.
370 * target.c (update_current_target): Update.
371 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target.h (struct target_ops) <to_download_tracepoint>: Add
377 (target_download_tracepoint): Add argument.
378 * target.c (update_current_target): Update.
379 * remote.c (remote_download_tracepoint): Add 'self' argument.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target.h (struct target_ops) <to_trace_init>: Add argument.
384 (target_trace_init): Add argument.
385 * target.c (update_current_target): Update.
386 * remote.c (remote_trace_init): Add 'self' argument.
388 2014-02-19 Tom Tromey <tromey@redhat.com>
390 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
391 * target.c (target_fileio_readlink): Add argument.
392 * remote.c (remote_hostio_readlink): Add 'self' argument.
393 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
395 2014-02-19 Tom Tromey <tromey@redhat.com>
397 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
398 * target.c (target_fileio_unlink): Add argument.
399 * remote.c (remote_hostio_unlink): Add 'self' argument.
400 (remote_file_delete): Update.
401 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
403 2014-02-19 Tom Tromey <tromey@redhat.com>
405 * target.h (struct target_ops) <to_fileio_close>: Add argument.
406 * target.c (target_fileio_close): Add argument.
407 * remote.c (remote_hostio_close): Add 'self' argument.
408 (remote_hostio_close_cleanup): Update.
409 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
411 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
416 * target.c (target_fileio_pread): Add argument.
417 * remote.c (remote_hostio_pread): Add 'self' argument.
418 (remote_bfd_iovec_pread, remote_file_get): Update.
419 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
424 * target.c (target_fileio_pwrite): Add argument.
425 * remote.c (remote_hostio_pwrite): Add 'self' argument.
426 (remote_file_put): Update.
427 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target.h (struct target_ops) <to_fileio_open>: Add argument.
432 * target.c (target_fileio_open): Add argument.
433 * remote.c (remote_hostio_open): Add 'self' argument.
434 (remote_bfd_iovec_open): Add 'self' argument.
435 (remote_file_put): Add 'self' argument.
436 (remote_file_get): Add 'self' argument.
437 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
443 (target_can_run_breakpoint_commands): Add argument.
444 * target.c (update_current_target): Update.
445 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
447 (remote_insert_breakpoint): Add 'self' argument.
448 (remote_insert_hw_breakpoint): Add 'self' argument.
449 (remote_can_run_breakpoint_commands): Add 'self' argument.
451 2014-02-19 Tom Tromey <tromey@redhat.com>
453 * target.h (struct target_ops)
454 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
455 (target_supports_evaluation_of_breakpoint_conditions): Add
457 * target.c (update_current_target): Update.
458 * remote.c (remote_supports_cond_breakpoints): Add 'self'
460 (remote_insert_breakpoint): Add 'self' argument.
461 (remote_insert_hw_breakpoint): Add 'self' argument.
462 (remote_supports_cond_breakpoints): Add 'self' argument.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target.h (struct target_ops) <to_supports_string_tracing>: Add
468 (target_supports_string_tracing): Add argument.
469 * target.c (update_current_target): Update.
470 * remote.c (remote_supports_string_tracing): Add 'self' argument.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target.h (struct target_ops)
475 <to_supports_disable_randomization>: Add argument.
476 * target.c (find_default_supports_disable_randomization): Add
478 (target_supports_disable_randomization): Add argument.
479 (find_default_supports_disable_randomization): Add 'self'
481 * remote.c (extended_remote_supports_disable_randomization): Add
483 (remote_supports_disable_randomization): Add 'self' argument.
484 (extended_remote_create_inferior): Update.
485 * linux-nat.c (linux_nat_supports_disable_randomization): Add
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target.h (struct target_ops)
491 <to_supports_enable_disable_tracepoint>: Add argument.
492 (target_supports_enable_disable_tracepoint): Add argument.
493 * target.c (update_current_target): Update.
494 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
497 2014-02-19 Tom Tromey <tromey@redhat.com>
499 * target.h (struct target_ops) <to_supports_multi_process>: Add
501 (target_supports_multi_process): Add argument.
502 * target.c (update_current_target): Update.
503 * remote.c (remote_supports_multi_process): Add 'self' argument.
504 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
506 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target.h (struct target_ops) <to_execution_direction>: Add
513 (target_execution_direction): Add argument.
514 * target.c (default_execution_direction): Add 'self' argument.
515 * record-full.c (record_full_execution_direction): Add 'self'
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target.h (struct target_ops) <to_can_execute_reverse>: Add
522 (target_can_execute_reverse): Add argument.
523 * remote.c (remote_can_execute_reverse): Add 'self' argument.
524 * record-full.c (record_full_can_execute_reverse): Add 'self'
526 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
532 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
534 (target_get_ada_task_ptid): Add argument.
535 * target.c (update_current_target): Update.
536 (default_get_ada_task_ptid): Add 'self' argument.
537 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
538 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
539 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
541 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
543 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
545 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
547 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
548 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
554 (target_goto_bookmark): Add argument.
555 * target.c (dummy_goto_bookmark): Add 'self' argument.
556 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
561 (target_get_bookmark): Add argument.
562 * target.c (dummy_get_bookmark): Add 'self' argument.
563 * record-full.c (record_full_get_bookmark): Add 'self' argument.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target.h (struct target_ops) <to_make_corefile_notes>: Add
569 (target_make_corefile_notes): Add argument.
570 * target.c (dummy_make_corefile_notes): Add 'self' argument.
571 * procfs.c (procfs_make_note_section): Add 'self' argument.
572 (procfs_make_note_section): Add 'self' argument.
573 (procfs_make_note_section): Add 'self' argument.
574 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
576 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
577 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
578 * exec.c (exec_make_note_section): Add 'self' argument.
579 (exec_make_note_section): Add 'self' argument.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target.h (struct target_ops) <to_find_memory_regions>: Add
585 (target_find_memory_regions): Add argument.
586 * target.c (dummy_find_memory_regions): Add 'self' argument.
587 * procfs.c (proc_find_memory_regions): Add 'self' argument.
588 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
589 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
590 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
591 * exec. (exec_do_find_memory_regions): New global.
592 (exec_set_find_memory_regions): Rewrite.
593 (exec_find_memory_regions): New function.
594 (init_exec_ops): Use exec_find_memory_regions.
596 2014-02-19 Tom Tromey <tromey@redhat.com>
598 * target.h (struct target_ops) <to_supports_non_stop>: Add
600 * target.c (find_default_supports_non_stop): Add argument.
601 (target_supports_non_stop): Add argument.
602 (find_default_supports_non_stop): Add 'self' argument.
603 * remote.c (remote_supports_non_stop): Add 'self' argument.
604 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target.h (struct target_ops) <to_log_command>: Add argument.
609 (target_log_command): Add argument.
610 * serial.h (serial_log_command): Add 'self' argument.
611 * serial.c (serial_log_command): Add 'self' argument.
613 2014-02-19 Tom Tromey <tromey@redhat.com>
615 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
616 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
618 (target_pid_to_exec_file): Add argument.
619 * target.c (debug_to_pid_to_exec_file): Add argument.
620 (update_current_target): Update.
621 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
622 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
623 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
624 (linux_handle_extended_wait): Update.
625 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
626 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
627 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
628 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target.h (struct target_ops) <to_rcmd>: Add argument.
633 (target_rcmd): Add argument.
634 * target.c (debug_to_rcmd): Add argument.
635 (update_current_target, do_monitor_command): Update.
636 * remote.c (remote_rcmd): Add 'self' argument.
637 * monitor.c (monitor_rcmd): Add 'self' argument.
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * windows-nat.c (windows_stop): Add 'self' argument.
642 * target.h (struct target_ops) <to_stop>: Add argument.
643 * target.c (target_stop): Add argument.
644 (debug_to_stop): Add argument.
645 (update_current_target): Update.
646 * remote.c (remote_stop): Add 'self' argument.
647 * remote-sim.c (gdbsim_stop): Add 'self' argument.
648 (gdbsim_cntrl_c): Update.
649 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
650 * procfs.c (procfs_stop): Add 'self' argument.
651 * nto-procfs.c (procfs_stop): Add 'self' argument.
652 * monitor.c (monitor_stop): Add 'self' argument.
653 (monitor_open): Update.
654 * linux-nat.c (linux_nat_stop): Add argument.
655 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
656 * gnu-nat.c (gnu_stop): Add 'self' argument.
657 * darwin-nat.c (darwin_stop): Add 'self' argument.
659 2014-02-19 Tom Tromey <tromey@redhat.com>
661 * target.h (struct target_ops) <to_thread_name>: Add argument.
662 * target.c (target_thread_name): Add argument.
663 (update_current_target): Update.
664 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target.h (struct target_ops) <to_extra_thread_info>: Add
670 (target_extra_thread_info): Add argument.
671 * target.c (update_current_target): Update.
672 * remote.c (remote_threads_extra_info): Add 'self' argument.
673 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
675 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
676 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
677 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
679 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
681 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
683 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target.h (struct target_ops) <to_program_signals>: Add argument.
689 * target.c (target_program_signals): Add argument.
690 * remote.c (remote_program_signals): Add 'self' argument.
692 2014-02-19 Tom Tromey <tromey@redhat.com>
694 * target.h (struct target_ops) <to_pass_signals>: Add argument.
695 * target.c (target_pass_signals): Add argument.
696 * remote.c (remote_pass_signals): Add 'self' argument.
697 (remote_start_remote): Update.
698 * procfs.c (procfs_pass_signals): Add 'self' argument.
699 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
700 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
701 (linux_nat_create_inferior, linux_nat_attach): Update.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * windows-nat.c (windows_can_run): Add 'self' argument.
706 * target.h (struct target_ops) <to_can_run>: Add argument.
707 (target_can_run): Add argument.
708 * target.c (debug_to_can_run): Add argument.
709 (update_current_target): Update.
710 * nto-procfs.c (procfs_can_run): Add 'self' argument.
711 * inf-child.c (inf_child_can_run): Add 'self' argument.
712 * go32-nat.c (go32_can_run): Add 'self' argument.
714 2014-02-19 Tom Tromey <tromey@redhat.com>
716 * target.h (struct target_ops) <to_has_exited>: Add argument.
717 (target_has_exited): Add argument.
718 * target.c (debug_to_has_exited): Add argument.
719 (update_current_target): Update.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
725 (target_set_syscall_catchpoint): Add argument.
726 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
728 * target.c (update_current_target): Update.
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
734 (target_remove_exec_catchpoint): Add argument.
735 * target.c (debug_to_remove_exec_catchpoint): Add argument.
736 (update_current_target): Update.
737 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
740 2014-02-19 Tom Tromey <tromey@redhat.com>
742 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
744 (target_insert_exec_catchpoint): Add argument.
745 * target.c (debug_to_insert_exec_catchpoint): Add argument.
746 (update_current_target): Update.
747 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
750 2014-02-19 Tom Tromey <tromey@redhat.com>
752 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
754 (target_remove_vfork_catchpoint): Add argument.
755 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
756 (update_current_target): Update.
757 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
764 (target_insert_vfork_catchpoint): Add argument.
765 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
766 (update_current_target): Update.
767 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
770 2014-02-19 Tom Tromey <tromey@redhat.com>
772 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
774 (target_remove_fork_catchpoint): Add argument.
775 * target.c (debug_to_remove_fork_catchpoint): Add argument.
776 (update_current_target): Update.
777 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
784 (target_insert_fork_catchpoint): Add argument.
785 * target.c (debug_to_insert_fork_catchpoint): Add argument.
786 (update_current_target): Update.
787 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
790 2014-02-19 Tom Tromey <tromey@redhat.com>
792 * target.h (struct target_ops) <to_post_startup_inferior>: Add
794 (target_post_startup_inferior): Add argument.
795 * target.c (debug_to_post_startup_inferior): Add argument.
796 (update_current_target): Update.
797 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
799 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
801 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
803 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
805 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
807 (super_post_startup_inferior): Likewise.
808 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
810 (super_post_startup_inferior): Likewise.
811 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
813 (super_post_startup_inferior): Likewise.
815 2014-02-19 Tom Tromey <tromey@redhat.com>
817 * target.h (struct target_ops) <to_load>: Add argument.
818 * target.c (target_load): Add argument.
819 (debug_to_load): Add argument.
820 (update_current_target): Update.
821 * remote.c (remote_load): Add 'self' argument.
822 * remote-sim.c (gdbsim_load): Add 'self' argument.
823 * remote-mips.c (mips_load): Add 'self' argument.
824 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
825 * monitor.c (monitor_load): Add 'self' argument.
826 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
828 2014-02-19 Tom Tromey <tromey@redhat.com>
830 * target.h (struct target_ops) <to_terminal_info>: Add argument.
831 (target_terminal_info): Add argument.
832 * target.c (debug_to_terminal_info): Add argument.
833 (default_terminal_info): Likewise.
834 * inflow.c (child_terminal_info): Add 'self' argument.
835 * inferior.h (child_terminal_info): Add 'self' argument.
836 * go32-nat.c (go32_terminal_info): Add 'self' argument.
838 2014-02-19 Tom Tromey <tromey@redhat.com>
840 * target.h (struct target_ops) <to_terminal_save_ours>: Add
842 (target_terminal_save_ours): Add argument.
843 * target.c (debug_to_terminal_save_ours): Add argument.
844 (update_current_target): Update.
845 * inflow.c (terminal_save_ours): Add 'self' argument.
846 * inferior.h (terminal_save_ours): Add 'self' argument.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
851 (target_terminal_ours): Add argument.
852 * target.c (debug_to_terminal_ours): Add argument.
853 (update_current_target): Update.
854 * remote.c (remote_terminal_ours): Add 'self' argument.
855 (remote_close): Update.
856 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
857 * inflow.c (terminal_ours): Add 'self' argument.
858 * inferior.h (terminal_ours): Add 'self' argument.
859 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
861 2014-02-19 Pedro Alves <palves@redhat.com>
862 Tom Tromey <tromey@redhat.com>
864 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
866 (target_terminal_ours_for_output): Add argument.
867 * target.c (debug_to_terminal_ours_for_output): Add argument.
868 (update_current_target): Update.
869 * inflow.c (terminal_ours_for_output): Add 'self' argument.
870 * inferior.h (terminal_ours_for_output): Add 'self' argument.
871 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
873 2014-02-19 Tom Tromey <tromey@redhat.com>
875 * target.h (struct target_ops) <to_terminal_inferior>: Add
877 * target.c (target_terminal_inferior): Add argument.
878 (update_current_target): Update.
879 * remote.c (remote_terminal_inferior): Add 'self' argument.
880 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
881 * inflow.c (terminal_inferior): Add 'self' argument.
882 * inferior.h (terminal_inferior): Add 'self' argument.
883 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
884 (go32_terminal_inferior): Add 'self' argument.
886 2014-02-19 Tom Tromey <tromey@redhat.com>
888 * target.h (struct target_ops) <to_terminal_init>: Add argument.
889 (target_terminal_init): Add argument.
890 * target.c (debug_to_terminal_init): Add argument.
891 (update_current_target): Update.
892 * inflow.c (terminal_init_inferior): Add 'self' argument.
893 * inferior.h (terminal_init_inferior): Add 'self' argument.
894 * go32-nat.c (go32_terminal_init): Add 'self' argument.
895 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops)
900 <to_can_accel_watchpoint_condition>: Add argument.
901 (target_can_accel_watchpoint_condition): Add argument.
902 * target.c (debug_to_can_accel_watchpoint_condition): Add
904 (update_current_target): Update.
905 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
912 (target_region_ok_for_hw_watchpoint): Add argument.
913 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
914 (default_region_ok_for_hw_watchpoint): Add argument.
915 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
916 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
918 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
920 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
922 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
924 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
926 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
928 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
929 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
931 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
934 2014-02-19 Tom Tromey <tromey@redhat.com>
936 * target.h (struct target_ops) <to_insert_watchpoint>: Add
938 (target_insert_watchpoint): Add argument.
939 * target.c (debug_to_insert_watchpoint): Add argument.
940 (update_current_target): Update.
941 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
942 * remote.c (remote_insert_watchpoint): Add 'self' argument.
943 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
944 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
945 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
946 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
948 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
949 (procfs_insert_hw_watchpoint): Add 'self' argument.
950 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
952 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
954 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
956 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
957 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
959 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target.h (struct target_ops) <to_remove_watchpoint>: Add
966 (target_remove_watchpoint): Add argument.
967 * target.c (debug_to_remove_watchpoint): Add argument.
968 (update_current_target): Update.
969 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
970 * remote.c (remote_remove_watchpoint): Add 'self' argument.
971 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
972 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
973 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
974 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
976 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
977 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
979 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
981 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
983 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
984 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
986 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
993 (target_remove_hw_breakpoint): Add argument.
994 * target.c (debug_to_remove_hw_breakpoint): Add argument.
995 (update_current_target): Update.
996 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
997 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
999 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1000 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1002 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1005 2014-02-19 Tom Tromey <tromey@redhat.com>
1007 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1009 (target_insert_hw_breakpoint): Add argument.
1010 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1011 (update_current_target): Update.
1012 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1013 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1015 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1016 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1017 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1019 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1022 2014-02-19 Tom Tromey <tromey@redhat.com>
1024 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1026 (target_can_use_hardware_watchpoint): Add argument.
1027 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1028 (update_current_target): Update.
1029 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1031 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1033 * remote.c (remote_check_watch_resources): Add 'self' argument.
1034 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1035 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1037 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1038 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1040 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1042 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1044 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1046 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1048 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1050 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1051 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1053 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target.h (struct target_ops) <to_post_attach>: Add argument.
1059 (target_post_attach): Add argument.
1060 * target.c (debug_to_post_attach): Add argument.
1061 (update_current_target): Update.
1062 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1063 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1064 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1065 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1066 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * windows-nat.c (windows_close): Add 'self' argument.
1071 * tracepoint.c (tfile_close): Add 'self' argument.
1072 * target.h (struct target_ops) <to_close>: Add argument.
1073 * target.c (target_close): Add argument.
1074 (update_current_target): Update.
1075 * remote.c (remote_close): Add 'self' argument.
1076 * remote-sim.c (gdbsim_close): Add 'self' argument.
1077 * remote-mips.c (mips_close): Add 'self' argument.
1078 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1079 * record-full.c (record_full_close): Add 'self' argument.
1080 * record-btrace.c (record_btrace_close): Add 'self' argument.
1081 * monitor.h (monitor_close): Add 'self' argument.
1082 * monitor.c (monitor_close): Add 'self' argument.
1083 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1084 * linux-nat.c (linux_nat_close): Add argument.
1085 * go32-nat.c (go32_close): Add 'self' argument.
1086 * exec.c (exec_close_1): Add 'self' argument.
1087 * ctf.c (ctf_close): Add 'self' argument.
1088 * corelow.c (core_close): Add 'self' argument.
1089 (core_close_cleanup): Update.
1090 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1091 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1093 2014-02-19 Tom Tromey <tromey@redhat.com>
1095 * remote.c (remote_load): New function.
1096 (init_remote_ops): Use it.
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1102 * common/linux-btrace.h (linux_supports_btrace): Update.
1103 * remote.c (remote_supports_btrace): Add "self" argument.
1104 * target-delegates.c: Rebuild.
1105 * target.c (target_supports_btrace): Remove.
1106 * target.h (struct target_ops) <to_supports_btrace>: Add
1107 target_ops argument.
1108 (target_supports_btrace): New define.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * record-full.c (record_full_beneath_to_resume_ops)
1113 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1114 (record_full_beneath_to_wait)
1115 (record_full_beneath_to_store_registers_ops)
1116 (record_full_beneath_to_store_registers)
1117 (record_full_beneath_to_xfer_partial_ops)
1118 (record_full_beneath_to_xfer_partial)
1119 (record_full_beneath_to_insert_breakpoint_ops)
1120 (record_full_beneath_to_insert_breakpoint)
1121 (record_full_beneath_to_remove_breakpoint_ops)
1122 (record_full_beneath_to_remove_breakpoint)
1123 (record_full_beneath_to_stopped_by_watchpoint)
1124 (record_full_beneath_to_stopped_data_address)
1125 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1126 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1127 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1128 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1129 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1130 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1131 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1132 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1133 (record_full_resume, record_full_wait_1)
1134 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1135 (record_full_store_registers, record_full_xfer_partial)
1136 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1137 (record_full_async, record_full_core_xfer_partial): Use target
1139 * target-delegates.c: Rebuild.
1140 * target.c (current_xfer_partial): Remove.
1141 (update_current_target): Do not INHERIT or de_fault
1142 to_insert_breakpoint, to_remove_breakpoint,
1143 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1144 to_is_async_p, to_async. Do not set to_xfer_partial field.
1145 (default_xfer_partial): Simplify.
1146 (current_xfer_partial): Remove.
1147 (target_wait, target_resume): Simplify.
1148 (find_default_can_async_p, find_default_is_async_p): Update.
1149 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1150 to_xfer_partial, to_stopped_by_watchpoint,
1151 to_stopped_data_address.
1152 (target_store_registers): Simplify.
1153 (forward_target_remove_breakpoint)
1154 (forward_target_insert_breakpoint): Remove.
1155 (target_remove_breakpoint, target_insert_breakpoint)
1156 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1157 * target.h (struct target_ops) <to_resume, to_wait,
1158 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1159 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1160 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1162 (forward_target_remove_breakpoint)
1163 (forward_target_insert_breakpoint): Remove.
1164 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1166 (record_btrace_insert_breakpoint): Delegate directly.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1171 * target-delegates.c: New file.
1172 * target.c: Include target-delegates.c.
1173 (init_dummy_target): Call install_dummy_methods.
1174 (complete_target_initialization): Call install_delegators.
1175 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1176 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1177 * make-target-delegates: New file.
1179 2014-02-19 Tom Tromey <tromey@redhat.com>
1181 * record.c (find_record_target): Use find_target_at.
1182 * target.c (find_target_at): New function.
1183 * target.h (find_target_at): Declare.
1185 2014-02-19 Tom Tromey <tromey@redhat.com>
1187 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1189 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1191 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1192 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1194 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1196 * linux-nat.c (save_sigtrap): Update.
1197 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1198 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1199 (linux_nat_close): Update.
1200 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1202 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1204 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1205 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1206 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1207 (tmp_to_async): Add 'ops' argument.
1208 (record_full_stopped_by_watchpoint, record_full_async)
1209 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1211 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1212 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1213 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1214 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1215 (remote_is_async_p, remote_async): Add 'ops' argument.
1216 (remote_stopped_data_address): Update.
1217 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1218 * target.c (update_current_target)
1219 (find_default_can_async_p, find_default_is_async_p): Update.
1220 (init_dummy_target): Update.
1221 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1222 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1223 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1224 (target_can_async_p, target_is_async_p, target_async)
1225 (target_stopped_by_watchpoint): Update.
1227 2014-02-19 Yao Qi <yao@codesourcery.com>
1230 * gdbarch.sh: Remove startup_gdbarch.
1231 * gdbarch.c: Regenerated.
1232 * gdbarch.h: Likewise.
1234 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1236 * rl78-tdep.c (rl78_g10_register_name): New function.
1237 (rl78_return_value): Add g10 support.
1238 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1241 2014-02-17 Doug Evans <xdje42@gmail.com>
1243 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1244 (SUBDIR_GUILE_SRCS): Ditto.
1245 (scm-gsmob.o): Ditto.
1247 2014-02-17 Yao Qi <yao@codesourcery.com>
1249 * gnu-nat.c (ILL_RPC): Declare defined function.
1251 2014-02-17 Yao Qi <yao@codesourcery.com>
1253 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1254 mach_msg_type_number_t.
1255 (gnu_write_inferior): Likewise.
1257 2014-02-17 Yao Qi <yao@codesourcery.com>
1259 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1261 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1262 (inf_validate_procs, inf_signal): Likewise.
1263 (S_exception_raise_request): Likewise.
1264 (do_mach_notify_dead_name): Likewise.
1265 (steal_exc_port): Likewise.
1266 (gnu_read_inferior): Change 'copy_count''s type to
1267 mach_msg_type_number_t.
1268 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1271 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1273 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1274 flag. Adjust all users; in particular...
1275 (gnu_wait): ..., don't decrement its value in here...
1276 (gnu_create_inferior): ..., and instead set the flag in here,
1277 around the startup_inferior call, and call that one with
1278 START_INFERIOR_TRAPS_EXPECTED.
1280 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1281 (ILL_RPC): ... new macro.
1282 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1283 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1284 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1285 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1286 functions with ILL_RPC macro.
1287 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1288 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1289 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1290 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1291 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1292 (S_proc_getlogin_reply, S_proc_getsid_reply)
1293 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1294 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1295 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1296 (S_proc_getnports_reply, S_proc_is_important_reply)
1297 (S_proc_get_code_reply): New stub functions, generated with
1300 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1301 collected the type check structures.
1303 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1305 2014-02-14 Doug Evans <dje@google.com>
1307 * target.c (target_write_partial): Fix result type.
1309 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1311 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1312 the proper offsets to access fpregset_t.
1314 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1316 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1317 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1318 * h8300-tdep.c (setmachinelist): Remove global.
1319 * hppa-tdep.c (hppa_sigtramp): Remove global.
1320 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1321 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1322 * ravenscar-thread.c (update_target_observer): Remove global.
1323 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1325 2014-02-12 Tom Tromey <tromey@redhat.com>
1327 * common/rsp-low.c: Update comments.
1328 * common/rsp-low.h: Update comments.
1330 2014-02-12 Tom Tromey <tromey@redhat.com>
1332 * common/rsp-low.c (convert_ascii_to_int): Remove.
1333 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1335 2014-02-12 Tom Tromey <tromey@redhat.com>
1337 * common/rsp-low.h (unhexify): Don't declare.
1338 * common/rsp-low.c (unhexify): Remove.
1340 2014-02-12 Tom Tromey <tromey@redhat.com>
1342 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1343 * common/rsp-low.c (convert_int_to_ascii): Remove.
1345 2014-02-12 Tom Tromey <tromey@redhat.com>
1347 * common/rsp-low.h (hexify): Don't declare.
1348 * common/rsp-low.c (hexify): Remove.
1350 2014-02-12 Tom Tromey <tromey@redhat.com>
1352 * common/rsp-low.c (hexify): Never take strlen of argument.
1354 2014-02-12 Tom Tromey <tromey@redhat.com>
1356 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1357 * remote.c (extended_remote_run, remote_rcmd)
1358 (remote_download_trace_state_variable, remote_save_trace_data)
1359 (remote_set_trace_notes): Update.
1360 * tracepoint.c (encode_source_string, tfile_write_status)
1361 (tfile_write_uploaded_tsv): Update.
1363 2014-02-12 Tom Tromey <tromey@redhat.com>
1365 * tracepoint.c: Include rsp-low.h.
1366 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1367 * remote.c: Include rsp-low.h.
1368 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1369 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1370 (remote_unescape_input): Move to common/rsp-low.c.
1371 * common/rsp-low.h: New file.
1372 * common/rsp-low.c: New file.
1373 * Makefile.in (SFILES): Add common/rsp-low.c.
1374 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1375 (COMMON_OBS): Add rsp-low.o.
1376 (rsp-low.o): New target.
1378 2014-02-12 Tom Tromey <tromey@redhat.com>
1380 * utils.h: Include print-utils.h.
1381 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1382 (int_string, core_addr_to_string, core_addr_to_string_nz)
1383 (hex_string, hex_string_custom): Don't declare.
1384 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1385 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1386 (hex_string_custom, int_string, core_addr_to_string)
1387 (core_addr_to_string_nz, host_address_to_string): Move to
1388 common/print-utils.c.
1389 * common/print-utils.h: New file.
1390 * common/print-utils.c: New file
1391 * Makefile.in (SFILES): Add common/print-utils.c.
1392 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1393 (COMMON_OBS): Add print-utils.o.
1394 (print-utils.o): New target.
1396 2014-02-12 Tom Tromey <tromey@redhat.com>
1398 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1400 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1402 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1404 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1406 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1407 if a PT_IO ptrace request returns sucessfully but indicates that 0
1408 bytes were transferred.
1410 2014-02-12 Pedro Alves <palves@redhat.com>
1411 Kevin Buettner <kevinb@redhat.com>
1413 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1414 TYPE_INSTANCE_FLAG_CODE_SPACE.
1416 2014-02-12 Pedro Alves <palves@redhat.com>
1418 * h8300-tdep.c (pseudo_from_raw_register)
1419 (raw_from_pseudo_register): New functions.
1420 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1423 2014-02-12 Pedro Alves <palves@redhat.com>
1425 * h8300-tdep.c (h8300_register_sim_regno): New function.
1426 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1427 gdbarch_register_sim_regno hook.
1429 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1431 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1433 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1435 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1437 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1439 * obsd-tdep.h (obsd_init_abi): New prototype.
1440 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1441 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1442 (obsd_init_abi): New functions.
1443 * i386obsd-tdep.c: Include "obsd-tdep.h".
1444 (i386obsd_init_abi): Call obsd_init_abi.
1445 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1446 (amd64obsd_init_abi): Call obsd_init_abi.
1447 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1448 obsd-tdep.c to gdb_target_obs.
1450 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1452 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1453 double float arguments to 16-byte in the argument slots.
1455 2014-02-11 Doug Evans <xdje42@gmail.com>
1457 * configure.ac: Don't crash if pkg-config is not found and guile
1458 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1460 * configure: Regenerate.
1462 2014-02-11 Yao Qi <yao@codesourcery.com>
1464 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1465 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1466 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1467 * gnu-nat.c (gnu_xfer_memory): Likewise.
1468 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1469 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1470 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1471 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1473 2014-02-11 Yao Qi <yao@codesourcery.com>
1475 * target.h (enum target_xfer_error): Rename to ...
1476 (enum target_xfer_status): ... it. New. All users updated.
1477 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1479 (TARGET_XFER_STATUS_ERROR_P): New macro.
1480 (target_xfer_error_to_string): Remove declaration.
1481 (target_xfer_status_to_string): Declare.
1482 (target_xfer_partial_ftype): Adjust it.
1483 (struct target_ops) <to_xfer_partial>: Return
1484 target_xfer_status. Add argument xfered_len. Update
1486 * target.c (target_xfer_error_to_string): Rename to ...
1487 (target_xfer_status_to_string): ... it. New. All callers
1489 (target_read_live_memory): Likewise. Call target_xfer_partial
1490 instead of target_read.
1491 (memory_xfer_live_readonly_partial): Return
1492 target_xfer_status. Add argument xfered_len.
1493 (raw_memory_xfer_partial): Likewise.
1494 (memory_xfer_partial_1): Likewise.
1495 (memory_xfer_partial): Likewise.
1496 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1497 properly. Update debug message.
1498 (default_xfer_partial, current_xfer_partial): Likewise.
1499 (target_write_partial): Likewise.
1500 (target_read_partial): Likewise. All callers updated.
1501 (read_whatever_is_readable): Likewise.
1502 (target_write_with_progress): Likewise.
1503 (target_read_alloc_1): Likewise.
1505 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1506 * auxv.c (procfs_xfer_auxv): Likewise.
1507 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1508 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1509 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1510 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1511 * corefile.c (read_memory): Adjust.
1512 * corelow.c (core_xfer_partial): Likewise.
1513 * ctf.c (ctf_xfer_partial): Likewise.
1514 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1516 (darwin_xfer_partial): Likewise.
1517 * exec.c (section_table_xfer_memory_partial): Likewise. All
1519 (exec_xfer_partial): Likewise.
1520 * exec.h (section_table_xfer_memory_partial): Update
1522 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1524 (gnu_xfer_partial): Likewise.
1525 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1526 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1527 (ia64_hpux_xfer_solib_got): Likewise.
1528 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1529 type of 'partial_len' to ULONGEST.
1530 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1531 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1532 (linux_nat_xfer_partial): Likewise.
1533 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1534 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1535 * monitor.c (monitor_xfer_memory): Likewise.
1536 (monitor_xfer_partial): Likewise.
1537 * procfs.c (procfs_xfer_partial): Likewise.
1538 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1539 * record-full.c (record_full_xfer_partial): Likewise.
1540 (record_full_core_xfer_partial): Likewise.
1541 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1542 (gdbsim_xfer_partial): Likewise.
1543 * remote.c (remote_write_bytes_aux): Likewise. All callers
1545 (remote_write_bytes, remote_read_bytes): Likewise. All
1547 (remote_flash_erase): Likewise. All callers updated.
1548 (remote_write_qxfer): Likewise. All callers updated.
1549 (remote_read_qxfer): Likewise. All callers updated.
1550 (remote_xfer_partial): Likewise.
1551 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1552 (rs6000_xfer_shared_libraries): Likewise.
1553 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1554 (sol_thread_xfer_partial): Likewise.
1555 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1556 (sparc_xfer_partial): Likewise.
1557 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1559 (spu_xfer_partial): Likewise.
1560 * spu-multiarch.c (spu_xfer_partial): Likewise.
1561 * tracepoint.c (tfile_xfer_partial): Likewise.
1562 * windows-nat.c (windows_xfer_memory): Likewise.
1563 (windows_xfer_shared_libraries): Likewise.
1564 (windows_xfer_partial): Likewise.
1565 * valprint.c: Replace 'target_xfer_error' with
1566 'target_xfer_status' in comments.
1568 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1570 Checked in by Joel Brobecker <brobecker@adacore.com>.
1571 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1573 2014-02-11 Joel Brobecker <brobecker@adacore.com>
1575 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1576 function parameters.
1578 2014-02-10 Will Newton <will.newton@linaro.org>
1580 * elfread.c (elf_rel_plt_read): Look for a .got section if
1581 looking up .got.plt fails.
1582 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1583 on address passed to elf_gnu_ifunc_record_cache.
1584 (elf_gnu_ifunc_resolve_addr): Likewise.
1585 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1587 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1589 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1590 (X_RETTURN): New macro.
1591 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1593 * sparc64-tdep.c (sparc64_init_abi): Hook
1594 sparc_in_function_epilogue_p.
1596 2014-02-10 Gary Benson <gbenson@redhat.com>
1598 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1599 Rename name_matcher to symbol_matcher.
1601 2014-02-10 Gary Benson <gbenson@redhat.com>
1603 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1604 Use expand_symtabs_file_matcher_ftype and
1605 expand_symtabs_symbol_matcher_ftype.
1607 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1609 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1610 (struct ada_symbol_cache): New.
1611 (ada_free_symbol_cache): Forward declare.
1612 (struct ada_pspace_data): New.
1613 (ada_pspace_data_handle): New static global.
1614 (get_ada_pspace_data, ada_pspace_data_cleanup)
1615 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1616 (cache_space, cache): Delete, now folded inside struct
1618 (ada_get_symbol_cache): New function.
1619 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1621 (_initialize_ada_language): Remove initialization of cache_space.
1622 Move call to observer_attach_inferior_exit up, grouping it
1623 with the other observer registrations inside this function.
1624 Rename command to be more general. Add call to
1625 register_program_space_data_with_cleanup.
1627 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1629 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1630 ada_new_objfile_observer.
1631 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1632 (_initialize_tasks): Update uses of ada_new_objfile_observer
1633 and ada_tasks_normal_stop_observer.
1635 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1637 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1638 returned by the 'Length attribute to integer.
1640 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1642 * ada-lang.c (_initialize_ada_language): Initialize
1643 cache_space obstack.
1645 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1647 * ada-lang.c (HASH_SIZE): New macro.
1648 (struct cache_entry): New type.
1649 (cache_space, cache): New static globals.
1650 (ada_clear_symbol_cache, find_entry): New functions.
1651 (lookup_cached_symbol, cache_symbol): Implement.
1652 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1653 (_initialize_ada_language): Attach ada_new_objfile_observer
1654 and ada_free_objfile_observer.
1656 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1658 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1659 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1660 struct block * parameter.
1661 (ada_lookup_symbol_list_worker): Constify local variable "block".
1662 Remove cast which is no longer necessary.
1664 2014-02-10 Doug Evans <xdje42@gmail.com>
1666 Add Guile as an extension language.
1667 * NEWS: Mention Guile scripting.
1668 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1669 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1670 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1671 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1672 (CLIBS): Add GUILE_LIBS.
1673 (install-guile): New rule.
1674 (guile.o): New rule.
1675 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1676 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1677 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1678 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1679 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1680 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1681 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1682 * configure.ac: New option --with-guile.
1683 * configure: Regenerate.
1684 * config.in: Regenerate.
1685 * auto-load.c: Remove #include "python/python.h". Add #include
1686 "gdb/section-scripts.h".
1687 (source_section_scripts): Handle Guile scripts.
1688 (_initialize_auto_load): Add name of Guile objfile script to
1689 scripts-directory help text.
1690 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1691 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1692 (struct breakpoint): New member scm_bp_object.
1693 * defs.h (enum command_control_type): New value guile_control.
1694 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1696 (show_user): Update comment.
1697 (_initialize_cli_cmds): Update help text for "show user". Update help
1698 text for max-user-call-depth.
1699 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1701 (multi_line_command_p): Add guile_control.
1702 (print_command_lines): Handle guile_control.
1703 (execute_control_command, recurse_read_control_structure): Ditto.
1704 (process_next_line): Recognize "guile" commands.
1705 * disasm.c (gdb_disassemble_info): Make non-static.
1706 * disasm.h: #include "dis-asm.h".
1707 (struct gdbarch): Add forward decl.
1708 (gdb_disassemble_info): Declare.
1709 * extension.c: #include "guile/guile.h".
1710 (extension_languages): Add guile.
1711 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1712 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1713 * gdbtypes.c (get_unsigned_type_max): New function.
1714 (get_signed_type_minmax): New function.
1715 * gdbtypes.h (get_unsigned_type_max): Declare.
1716 (get_signed_type_minmax): Declare.
1717 * guile/README: New file.
1718 * guile/guile-internal.h: New file.
1719 * guile/guile.c: New file.
1720 * guile/guile.h: New file.
1721 * guile/scm-arch.c: New file.
1722 * guile/scm-auto-load.c: New file.
1723 * guile/scm-block.c: New file.
1724 * guile/scm-breakpoint.c: New file.
1725 * guile/scm-disasm.c: New file.
1726 * guile/scm-exception.c: New file.
1727 * guile/scm-frame.c: New file.
1728 * guile/scm-gsmob.c: New file.
1729 * guile/scm-iterator.c: New file.
1730 * guile/scm-lazy-string.c: New file.
1731 * guile/scm-math.c: New file.
1732 * guile/scm-objfile.c: New file.
1733 * guile/scm-ports.c: New file.
1734 * guile/scm-pretty-print.c: New file.
1735 * guile/scm-safe-call.c: New file.
1736 * guile/scm-string.c: New file.
1737 * guile/scm-symbol.c: New file.
1738 * guile/scm-symtab.c: New file.
1739 * guile/scm-type.c: New file.
1740 * guile/scm-utils.c: New file.
1741 * guile/scm-value.c: New file.
1742 * guile/lib/gdb.scm: New file.
1743 * guile/lib/gdb/boot.scm: New file.
1744 * guile/lib/gdb/experimental.scm: New file.
1745 * guile/lib/gdb/init.scm: New file.
1746 * guile/lib/gdb/iterator.scm: New file.
1747 * guile/lib/gdb/printing.scm: New file.
1748 * guile/lib/gdb/types.scm: New file.
1749 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1750 (VPATH): Add $(GUILE_SRCDIR).
1751 (GUILE_DIR): New variable.
1752 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1753 (all): Add stamp-guile dependency.
1754 (stamp-guile): New rule.
1755 (clean-guile, install-guile, uninstall-guile): New rules.
1756 (install-only): Add install-guile dependency.
1757 (uninstall): Add uninstall-guile dependency.
1758 (clean): Add clean-guile dependency.
1760 2014-02-09 Doug Evans <xdje42@gmail.com>
1762 Revert this patch (which I approved, mea culpa).
1764 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1766 * Makefile.in (all-lib): Remove.
1767 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1769 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1771 Fix Python stack corruption.
1772 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1775 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1777 * Makefile.in (all-lib): Remove.
1778 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1780 2014-02-07 Doug Evans <dje@google.com>
1782 * extension-priv.h (extension_language_script_ops): Add comment.
1783 (extension_language_ops): Add comment.
1784 (active_ext_lang_state): Fix typo in comment.
1786 2014-02-07 Pedro Alves <palves@redhat.com>
1788 * infrun.c (handle_signal_stop) <signal arrives while stepping
1789 over a breakpoint>: Switch back to the stepping thread.
1791 2014-02-07 Yao Qi <yao@codesourcery.com>
1793 * target.c (target_xfer_partial): Return zero if LEN is zero.
1795 2014-02-07 Yao Qi <yao@codesourcery.com>
1797 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1798 (ld_so_xfer_auxv): Likewise.
1799 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1800 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1801 * corelow.c (core_xfer_partial): Likewise.
1802 * ctf.c (ctf_xfer_partial): Likewise.
1803 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1804 (darwin_xfer_partial): Likewise.
1805 * exec.c (exec_xfer_partial): Likewise.
1806 * gnu-nat.c (gnu_xfer_partial): Likewise.
1807 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1808 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1809 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1810 * linux-nat.c (linux_xfer_siginfo): Likewise.
1811 (linux_proc_xfer_spu): Likewise.
1812 * procfs.c (procfs_xfer_partial): Likewise.
1813 * record-full.c (record_full_xfer_partial): Likewise.
1814 (record_full_core_xfer_partial): Likewise.
1815 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1816 * remote.c (remote_write_qxfer): Likewise.
1817 (remote_write_qxfer, remote_read_qxfer): Likewise.
1818 (remote_xfer_partial): Likewise.
1819 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1820 (rs6000_xfer_shared_libraries): Likewise.
1821 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1822 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1823 (spu_xfer_partial): Likewise.
1824 * target.c (memory_xfer_partial_1): Likewise.
1825 * tracepoint.c (tfile_xfer_partial): Likewise.
1826 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1827 (windows_xfer_partial): Likewise.
1829 2014-02-07 Yao Qi <yao@codesourcery.com>
1831 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1833 (core_xfer_shared_libraries_aix): Likewise.
1834 * gdbarch.c, gdbarch.h: Regenerated.
1835 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1836 ULONGEST. Change 'len_avail' type to ULONGEST.
1837 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1838 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1840 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1842 2014-02-07 Yao Qi <yao@codesourcery.com>
1844 * corefile.c (memory_error): Get 'exception' from ERR and pass
1845 'exception' to throw_error.
1847 2014-02-06 Doug Evans <xdje42@gmail.com>
1849 * configure.ac (libpython checking): Remove all but python.o from
1850 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1851 * configure: Regenerate.
1853 * Makefile.in (SFILES): Add extension.c.
1854 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1855 (COMMON_OBS): Add extension.o.
1856 * extension.h: New file.
1857 * extension-priv.h: New file.
1858 * extension.c: New file.
1860 * python/python-internal.h: #include "extension.h".
1861 (gdbpy_auto_load_enabled): Declare.
1862 (gdbpy_apply_val_pretty_printer): Declare.
1863 (gdbpy_apply_frame_filter): Declare.
1864 (gdbpy_preserve_values): Declare.
1865 (gdbpy_breakpoint_cond_says_stop): Declare.
1866 (gdbpy_breakpoint_has_cond): Declare.
1867 (void source_python_script_for_objfile): Delete.
1868 * python/python.c: #include "extension-priv.h".
1869 Delete inclusion of "observer.h".
1870 (extension_language_python): Moved here and renamed from
1871 script_language_python in py-auto-load.c.
1872 Redefined to be of type extension_language_defn.
1873 (python_extension_script_ops): New global.
1874 (python_extension_ops): New global.
1875 (struct python_env): New member previous_active.
1876 (restore_python_env): Call restore_active_ext_lang.
1877 (ensure_python_env): Call set_active_ext_lang.
1878 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1880 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1882 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1884 (gdbpy_eval_from_control_command): Renamed from
1885 eval_python_from_control_command, made static. New arg extlang.
1886 (gdbpy_source_script) Renamed from source_python_script, made static.
1888 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1889 result to int. New arg extlang.
1890 (gdbpy_source_objfile_script): Renamed from
1891 source_python_script_for_objfile, made static. New arg extlang.
1892 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1893 static. New args extlang, extlang_printers. Change result type to
1895 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1896 static. New arg extlang. Rename arg printers to extlang_printers
1897 and change type to ext_lang_type_printers *.
1898 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1899 static. Replace argument arg with extlang, extlang_printers.
1900 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1901 (!HAVE_PYTHON, source_python_script): Delete.
1902 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1903 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1904 (!HAVE_PYTHON, start_type_printers): Delete.
1905 (!HAVE_PYTHON, apply_type_printers): Delete.
1906 (!HAVE_PYTHON, free_type_printers): Delete.
1907 (_initialize_python): Delete call to observer_attach_before_prompt.
1908 (finalize_python): Set/restore active extension language.
1909 (gdbpy_finish_initialization) Renamed from
1910 finish_python_initialization, made static. New arg extlang.
1911 (gdbpy_initialized): New function.
1912 * python/python.h: #include "extension.h". Delete #include
1913 "value.h", "mi/mi-cmds.h".
1914 (extension_language_python): Declare.
1915 (GDBPY_AUTO_FILE_NAME): Delete.
1916 (enum py_bt_status): Moved to extension.h and renamed to
1918 (enum frame_filter_flags): Moved to extension.h.
1919 (enum py_frame_args): Moved to extension.h and renamed to
1920 ext_lang_frame_args.
1921 (finish_python_initialization): Delete.
1922 (eval_python_from_control_command): Delete.
1923 (source_python_script): Delete.
1924 (apply_val_pretty_printer): Delete.
1925 (apply_frame_filter): Delete.
1926 (preserve_python_values): Delete.
1927 (gdbpy_script_language_defn): Delete.
1928 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1929 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1931 * auto-load.c: #include "extension.h".
1932 (GDB_AUTO_FILE_NAME): Delete.
1933 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1934 (script_language_gdb): Delete, moved to extension.c and renamed to
1935 extension_language_gdb.
1936 (source_gdb_script_for_objfile): Delete.
1937 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1938 (loaded_script): Change type of language member to
1939 struct extension_language_defn *.
1940 (init_loaded_scripts_info): Initialize
1941 unsupported_script_warning_printed.
1942 (maybe_add_script): Make static. Change type of language arg to
1943 struct extension_language_defn *.
1944 (clear_section_scripts): Reset unsupported_script_warning_printed.
1945 (auto_load_objfile_script_1): Rewrite to use extension language API.
1946 (auto_load_objfile_script): Make public. Remove support-compiled-in
1947 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1948 (source_section_scripts): Rewrite to use extension language API.
1949 (load_auto_scripts_for_objfile): Rewrite to use
1950 auto_load_scripts_for_objfile.
1951 (collect_matching_scripts_data): Change type of language member to
1952 struct extension_language_defn *.
1953 (auto_load_info_scripts): Change type of language arg to
1954 struct extension_language_defn *.
1955 (unsupported_script_warning_print): New function.
1956 (script_not_found_warning_print): Make static.
1957 (_initialize_auto_load): Rewrite construction of scripts-directory
1959 * auto-load.h (struct objfile): Add forward decl.
1960 (struct script_language): Delete.
1961 (struct auto_load_pspace_info): Add forward decl.
1962 (struct extension_language_defn): Add forward decl.
1963 (maybe_add_script): Delete.
1964 (auto_load_objfile_script): Declare.
1965 (script_not_found_warning_print): Delete.
1966 (auto_load_info_scripts): Update prototype.
1967 (auto_load_gdb_scripts_enabled): Declare.
1968 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1969 auto_load_python_scripts_enabled and made public.
1970 (script_language_python): Delete, moved to python.c.
1971 (gdbpy_script_language_defn): Delete.
1972 (info_auto_load_python_scripts): Update to use
1973 extension_language_python.
1975 * breakpoint.c (condition_command): Replace call to
1976 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1977 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1978 with call to breakpoint_ext_lang_cond_says_stop.
1979 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1980 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1981 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1982 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1984 (local_setattro): Print name of extension language with existing
1987 * valprint.c (val_print, value_print): Update to call
1988 apply_ext_lang_val_pretty_printer.
1989 * cp-valprint.c (cp_print_value): Update call to
1990 apply_ext_lang_val_pretty_printer.
1991 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1992 (gdbpy_apply_val_pretty_printer): Renamed from
1993 apply_val_pretty_printer. New arg extlang.
1994 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1996 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1997 extension language API.
1998 * cli/cli-script.c (execute_control_command): Update to call
1999 eval_ext_lang_from_control_command.
2001 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2002 enum ext_lang_bt_status values. Update call to
2003 apply_ext_lang_frame_filter.
2004 (mi_cmd_stack_list_locals): Ditto.
2005 (mi_cmd_stack_list_args): Ditto.
2006 (mi_cmd_stack_list_variables): Ditto.
2007 * mi/mi-main.c: Delete #include "python/python-internal.h".
2008 Add #include "extension.h".
2009 (mi_cmd_list_features): Replace reference to python internal variable
2010 gdb_python_initialized with call to ext_lang_initialized_p.
2012 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2013 Update to use enum ext_lang_frame_args. Update to call
2014 apply_ext_lang_frame_filter.
2015 * python/py-framefilter.c (extract_sym): Update to use enum
2017 (extract_value, py_print_type, py_print_value): Ditto.
2018 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2019 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2020 (py_print_frame): Ditto.
2021 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2022 New arg extlang. Update to use enum ext_lang_bt_status.
2024 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2025 finish_python_initialization. Replace with call to
2026 finish_ext_lang_initialization.
2028 * typeprint.c (do_free_global_table): Update to call
2029 free_ext_lang_type_printers.
2030 (create_global_typedef_table): Update to call
2031 start_ext_lang_type_printers.
2032 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2033 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2034 (type_print_options): Change type of global_printers from "void *"
2035 to "struct ext_lang_type_printers *".
2037 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2038 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2039 (gdbpy_preserve_values): Renamed from preserve_python_values.
2041 (!HAVE_PYTHON, preserve_python_values): Delete.
2043 * utils.c (quit_flag): Delete, moved to extension.c.
2044 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2047 * eval.c: Delete #include "python/python.h".
2048 * main.c: Delete #include "python/python.h".
2050 * defs.h: Update comment.
2052 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2056 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2058 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2061 2014-02-05 Yao Qi <yao@codesourcery.com>
2063 * remote.c (remote_pass_signals): Remove local 'buf' and use
2065 (remote_program_signals): Likewise.
2067 2014-02-05 Yao Qi <yao@codesourcery.com>
2069 * ctf.c: Include "inferior.h" and "gdbthread.h".
2070 (CTF_PID): A new macro.
2071 (ctf_open): Call inferior_appeared and add_thread_silent.
2072 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2073 (ctf_thread_alive): New function.
2074 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2076 2014-02-05 Yao Qi <yao@codesourcery.com>
2080 2013-05-24 Yao Qi <yao@codesourcery.com>
2082 * tracepoint.c (TFILE_PID): Remove.
2083 (tfile_open): Don't add thread and inferior.
2084 (tfile_close): Don't set 'inferior_ptid'. Don't call
2085 exit_inferior_silent.
2086 (tfile_thread_alive): Remove.
2087 (init_tfile_ops): Don't set field 'to_thread_alive' of
2090 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2092 * remote.c (remote_start_remote): Call remote_check_symbols even
2093 if only symbol-file (not file) has been given.
2095 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2097 * gdbarch.sh (skip_entrypoint): New callback.
2098 * gdbarch.c, gdbarch.h: Regenerate.
2099 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2100 * infrun.c (fill_in_stop_func): Likewise.
2101 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2102 (ppc_elfv2_elf_make_msymbol_special): New function.
2103 (ppc_elfv2_skip_entrypoint): Likewise.
2104 (ppc_linux_init_abi): Install them for ELFv2.
2106 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2108 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2109 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2110 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2111 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2112 structures returned in GPRs.
2114 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2116 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2117 offset to the stack parameter list for the ELFv2 ABI.
2119 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2121 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2122 set_gdbarch_convert_from_func_ptr_addr and
2123 set_gdbarch_elf_make_msymbol_special for ELFv1.
2124 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2125 function descriptors on ELFv1.
2126 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2127 set up r12 at function entry.
2129 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2131 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2132 (struct gdbarch_tdep): New member elf_abi.
2134 * rs6000-tdep.c: Include "elf/ppc64.h".
2135 (rs6000_gdbarch_init): Detect ELF ABI version.
2137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2139 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2140 within a register pair holding a DFP 128-bit value on little-endian.
2141 (ppc64_sysv_abi_return_value_base): Likewise.
2142 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2143 (dfp_pseudo_register_write): Likewise.
2145 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2147 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2148 offset on little-endian when passing _Decimal32.
2149 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2153 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2154 of the overlapped FP register within the VSX register on little-
2156 (efpr_pseudo_register_write): Likewise.
2158 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2160 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2161 offset on little-endian when passing small structures.
2163 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2165 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2166 (struct ppc64_sysv_argpos): New data structure.
2167 (ppc64_sysv_abi_push_float): Remove.
2168 (ppc64_sysv_abi_push_val): New function.
2169 (ppc64_sysv_abi_push_integer): Likewise.
2170 (ppc64_sysv_abi_push_freg): Likewise.
2171 (ppc64_sysv_abi_push_vreg): Likewise.
2172 (ppc64_sysv_abi_push_param): Likewise.
2173 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2174 (ppc64_sysv_abi_return_value_base): New function.
2175 (ppc64_sysv_abi_return_value): Refactor to use it.
2177 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2179 * NEWS: Document new target powerpc64le-*-linux*.
2181 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2183 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2184 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2186 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2187 register set used in ELF core dumps. Add floating-point register set.
2189 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2191 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2192 dwarf2_to_gdb[] table using symbolic constants. Adjust
2193 penultimate entry from number representing the PC register
2194 to symbolic constant representing the MDR register. Add
2195 constant for the PC register to the end of the table.
2197 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2199 * bsd-kvm.c: Include <sys/param.h>
2201 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2203 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2205 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2207 * ada-lang.h (clear_ada_sym_cache): Delete.
2209 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2211 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2213 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2215 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2216 the sigreturn register save area only if the syscall is
2219 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2221 * valops.c (value_slice): Minor reformatting.
2223 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2225 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2227 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2229 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2231 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2232 (ada_ignore_descriptive_types_p): New static global.
2233 (find_parallel_type_by_descriptive_type): Return immediately
2234 if ada_ignore_descriptive_types_p is set.
2235 (_initialize_ada_language): Register new commands "maintenance
2236 set ada", "maintenance show ada", "maintenance set ada
2237 ignore-descriptive-types" and "maintenance show ada
2238 ignore-descriptive-types".
2239 * NEWS: Add entry for new "maint ada set/show
2240 ignore-descriptive-types" commands.
2242 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2244 * record-btrace.c (record_btrace_close): Call btrace_teardown
2247 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2249 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2252 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2254 * ada-typeprint (type_is_full_subrange_of_target_type):
2256 (print_range): Add parameter bounds_prefered_p. If not set,
2257 try printing range types using the name of their base type.
2258 (print_range_type): Add parameter bounds_prefered_p.
2259 Use it in call to print_range.
2260 (print_array_type, ada_print_type): Update calls to print_range
2261 and print_range_type.
2263 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2265 * ada-typeprint.c (print_array_type, print_choices, print_range)
2266 (print_range_bound, print_dynamic_range_bound, print_range_type):
2269 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2271 * ada-typeprint.c (print_range): Add missing empty line
2272 after local declaration.
2274 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2276 * ada-valprint.c (print_optional_low_bound): Get index_type's
2277 target type for as long as it is a TYPE_CODE_RANGE.
2279 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2281 * procfs.c (procfs_make_note_section): Remove assertion and
2284 2014-01-24 Yao Qi <yao@codesourcery.com>
2286 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2287 * corelow.c (get_core_siginfo): Likewise.
2289 2014-01-24 Yao Qi <yao@codesourcery.com>
2291 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2292 ULONGEST. Don't check 'len' is negative.
2293 (remote_write_bytes): Change type of 'len' to ULONGEST.
2295 2014-01-23 Tom Tromey <tromey@redhat.com>
2298 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2299 Handle exception from frame.block.
2300 (FrameVars.fetch_frame_locals): Likewise.
2302 2014-01-23 Tom Tromey <tromey@redhat.com>
2305 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2306 on a NULL pointer. Move "goto error" to correct place.
2308 2014-01-23 Tom Tromey <tromey@redhat.com>
2311 * python/py-framefilter.c (apply_frame_filter): Call
2312 ensure_python_env after computing gdbarch.
2314 2014-01-23 Yao Qi <yao@codesourcery.com>
2316 * target.c (raw_memory_xfer_partial): Change argument type
2317 from void * to gdb_byte *.
2318 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2320 2014-01-22 Doug Evans <dje@google.com>
2322 New gdbserver option --debug-format=timestamp.
2325 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2327 * syscalls/s390x-linux.xml: New file.
2328 * syscalls/s390-linux.xml: New file.
2329 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2330 (XML_SYSCALL_FILENAME_S390X): Likewise.
2331 (op_svc): New enum value for SVC opcode.
2332 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2333 (s390_linux_get_syscall_number): New function.
2334 (s390_gdbarch_init): Register '*get_syscall_number' and the
2335 syscall xml file name.
2336 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2337 "s390-linux.xml" and "s390x-linux.xml".
2338 * NEWS: Announce new feature.
2340 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2342 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2344 2014-01-22 Pedro Alves <palves@redhat.com>
2346 * xtensa-config.c: Include defs.h.
2348 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2350 * common/common-utils.h: Add "ARI:" comment beside __func__
2353 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2355 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2356 documentation a bit.
2358 2014-01-21 Roland McGrath <mcgrathr@google.com>
2360 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2361 * configure: Regenerate.
2362 * aclocal.m4: Regenerate.
2363 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2364 New substituted variables.
2365 (install-strip): New target.
2366 (INSTALL_SCRIPT): New substituted variable.
2367 (FLAGS_TO_PASS): Add it.
2368 (install-only): Use $(INSTALL_SCRIPT) rather than
2369 $(INSTALL_PROGRAM) for gcore.
2371 2014-01-20 Tom Tromey <tromey@redhat.com>
2373 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2376 2014-01-20 Tom Tromey <tromey@redhat.com>
2378 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2379 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2380 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2381 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2382 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2383 (struct cmd_list_element) <flags>: Remove.
2384 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2385 doc_allocated>: New fields.
2386 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2388 * maint.c (maintenance_do_deprecate): Update.
2389 * top.c (execute_command): Update.
2391 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2393 * xtensa-linux-nat.c: Include asm/ptrace.h.
2395 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2397 * Makefile.in (SFILES): Add d-support.c.
2398 (COMMON_OBS): Add d-support.o.
2399 * d-lang.h (d_parse_symbol): Add comment, now defined in
2401 * d-lang.c (parse_call_convention)
2402 (parse_attributes, parse_function_types)
2403 (parse_function_args, parse_type, parse_identifier)
2404 (call_convention_p, d_parse_symbol): Move functions to ...
2405 * d-support.c: ... New file.
2407 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2409 * d-lang.h (d_parse_symbol): Add declaration.
2410 * d-lang.c (extract_identifiers)
2411 (extract_type_info): Remove functions.
2412 (parse_call_convention, parse_attributes)
2413 (parse_function_types, parse_function_args)
2414 (parse_type, parse_identifier, call_convention_p)
2415 (d_parse_symbol): New functions.
2416 (d_demangle): Use d_parse_symbol to demangle D symbols.
2418 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2420 * d-lang.h (struct builtin_d_type): New data type.
2421 (builtin_d_type): Add declaration.
2422 * d-lang.c (d_language_arch_info, build_d_types)
2423 (builtin_d_type): New functions.
2424 (enum d_primitive_types): New data type.
2425 (d_language_defn): Change c_language_arch_info to
2426 d_language_arch_info.
2427 (d_type_data): New static variable.
2428 (_initialize_d_language): Initialize d_type_data.
2430 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2432 * d-lang.h (d_main_name): Add declaration.
2433 * d-lang.c (d_main_name): New function.
2434 * symtab.c (find_main_name): Add call to d_main_name.
2436 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2438 * d-lang.c (d_language_defn): Change macro_expansion_c to
2441 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2443 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2445 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2447 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2448 gdb_exception" declaration.
2449 * remote.c (getpkt_or_notif_sane): Likewise.
2451 2014-01-17 Doug Evans <dje@google.com>
2453 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2454 function, contents of dirnames_to_char_ptr_vec_append moved here.
2455 (delim_string_to_char_ptr_vec): New function.
2456 (dirnames_to_char_ptr_vec_append): Rewrite.
2457 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2459 2014-01-17 Doug Evans <dje@google.com>
2461 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2463 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2464 #include "common-utils.h".
2465 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2466 * common/vec.h (VEC_ASSERT_PASS): Update.
2467 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2468 (MACH_CHECK_ERROR): Update.
2470 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2472 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2474 * gdbarch.h: Regenerate.
2476 2014-01-16 Tom Tromey <tromey@redhat.com>
2478 * value.c (struct value) <regnum>: Move earlier.
2480 2014-01-16 Tom Tromey <tromey@redhat.com>
2482 * remote.c (extended_remote_create_inferior): Rename from
2483 extended_remote_create_inferior_1. Add "ops" argument. Remove
2486 2014-01-16 Pedro Alves <palves@redhat.com>
2488 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2489 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2492 2014-01-16 Doug Evans <dje@google.com>
2494 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2498 * btrace.h (btrace_thread_flag): New.
2499 (struct btrace_thread_info) <flags>: New.
2500 * record-btrace.c (record_btrace_resume_thread)
2501 (record_btrace_find_thread_to_move, btrace_step_no_history)
2502 (btrace_step_stopped, record_btrace_start_replaying)
2503 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2504 (record_btrace_find_resume_thread): New.
2505 (record_btrace_resume, record_btrace_wait): Extend.
2506 (record_btrace_can_execute_reverse): New.
2507 (record_btrace_open): Fail in non-stop mode.
2508 (record_btrace_set_replay): Split into this, ...
2509 (record_btrace_stop_replaying): ... this, ...
2510 (record_btrace_clear_histories): ... and this.
2511 (init_record_btrace_ops): Init to_can_execute_reverse.
2512 * NEWS: Announce it.
2514 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2516 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2517 (forward_target_decr_pc_after_break)
2518 (target_decr_pc_after_break): New.
2519 * target.c (forward_target_decr_pc_after_break)
2520 (target_decr_pc_after_break): New.
2521 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2522 instead of gdbarch_decr_pc_after_break.
2523 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2524 instead of gdbarch_decr_pc_after_break.
2525 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2526 instead of gdbarch_decr_pc_after_break.
2527 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2528 instead of gdbarch_decr_pc_after_break.
2529 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2530 instead of gdbarch_decr_pc_after_break.
2531 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2532 instead of gdbarch_decr_pc_after_break.
2534 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2536 * btrace.c: Include regcache.h.
2537 (btrace_add_pc): New.
2538 (btrace_enable): Call btrace_add_pc.
2539 (btrace_is_empty): New.
2540 * btrace.h (btrace_is_empty): New.
2541 * record-btrace.c (require_btrace, record_btrace_info): Call
2544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2546 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2547 Support delta reads.
2548 (linux_disable_btrace): Change return type.
2549 * common/linux-btrace.h (linux_read_btrace): Change parameters
2550 and return type to allow error reporting. Update users.
2551 (linux_disable_btrace): Change return type. Update users.
2552 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2554 (btrace_error): New.
2555 (btrace_block) <begin>: Comment on BEGIN == 0.
2556 * btrace.c (btrace_compute_ftrace): Start from the end of
2558 (btrace_stitch_trace, btrace_clear_history): New.
2559 (btrace_fetch): Read delta trace, return if replaying.
2560 (btrace_clear): Move clear history code to btrace_clear_history.
2561 (parse_xml_btrace): Throw an error if parsing failed.
2562 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2563 and return type to allow error reporting.
2564 (target_read_btrace): Change parameters and return type to allow
2566 * target.c (target_read_btrace): Update.
2567 * remote.c (remote_read_btrace): Support delta reads. Pass
2569 * NEWS: Announce it.
2571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2573 * record.h (record_btrace_frame_unwind)
2574 (record_btrace_tailcall_frame_unwind): New declarations.
2575 * dwarf2-frame: Include record.h
2576 (dwarf2_frame_cfa): Throw an error for btrace frames.
2577 * record-btrace.c: Include hashtab.h.
2578 (btrace_get_bfun_name): New.
2579 (btrace_call_history): Call btrace_get_bfun_name.
2580 (struct btrace_frame_cache): New.
2582 (bfcache_hash, bfcache_eq, bfcache_new): New.
2583 (btrace_get_frame_function): New.
2584 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2585 (record_btrace_frame_this_id): Compute own id.
2586 (record_btrace_frame_prev_register): Provide PC, throw_error
2587 for all other registers.
2588 (record_btrace_frame_sniffer): Detect btrace frames.
2589 (record_btrace_tailcall_frame_sniffer): New.
2590 (record_btrace_frame_dealloc_cache): New.
2591 (record_btrace_frame_unwind): Add new functions.
2592 (record_btrace_tailcall_frame_unwind): New.
2593 (_initialize_record_btrace): Allocate cache.
2594 * btrace.c (btrace_clear): Call reinit_frame_cache.
2595 * NEWS: Announce it.
2597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2599 * record-btrace.c (record_btrace_set_replay)
2600 (record_btrace_goto_begin, record_btrace_goto_end)
2601 (record_btrace_goto): New.
2602 (init_record_btrace_ops): Initialize them.
2603 * NEWS: Announce it.
2605 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2607 * record-btrace.c (record_btrace_find_new_threads)
2608 (record_btrace_thread_alive): New.
2609 (init_record_btrace_ops): Initialize to_find_new_threads and
2612 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2614 * record-btrace.c (record_btrace_resume): New.
2615 (record_btrace_wait): New.
2616 (init_record_btrace_ops): Initialize to_wait and to_resume.
2618 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2620 * record-btrace.c (record_btrace_xfer_partial)
2621 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2622 (record_btrace_allow_memory_access): New.
2623 (init_record_btrace_ops): Initialize new methods.
2624 * target.c (raw_memory_xfer_partial): Bail out if target reports
2625 that this memory is not available.
2627 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2629 * target.h (target_ops) <to_insert_breakpoint>
2630 <to_remove_breakpoint>: Add target_ops parameter.
2631 (forward_target_insert_breakpoint): New.
2632 (forward_target_remove_breakpoint): New.
2633 (memory_remove_breakpoint, memory_insert_breakpoint):
2634 Add target_ops parameter.
2635 * target.c (target_insert_breakpoint): Split into this and ...
2636 (forward_target_insert_breakpoint): ... this.
2637 (target_remove_breakpoint): Split into this and ...
2638 (forward_target_remove_breakpoint): ... this.
2639 (debug_to_insert_breakpoint): Add target_ops parameter.
2640 Call forward_target_insert_breakpoint.
2641 (debug_to_remove_breakpoint): Add target_ops parameter.
2642 Call forward_target_remove_breakpoint.
2643 (update_current_target): Do not inherit or default to_insert_breakpoint
2644 and to_remove_breakpoint.
2645 * corelow.c (ignore): Add target_ops parameter.
2646 * exec.c (ignore): Add target_ops parameter.
2647 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2648 Add target_ops parameter.
2649 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2650 Add target_ops parameter.
2651 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2652 Add target_ops parameter.
2653 * record-full.c (record_full_beneath_to_insert_breakpoint)
2654 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2655 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2656 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2657 (record_full_core_remove_breakpoint): Add target_ops parameter.
2659 (record_full_beneath_to_insert_breakpoint_ops)
2660 (record_full_beneath_to_remove_breakpoint_ops)
2661 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2662 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2663 tmp_to_remove_breakpoint_ops,
2664 record_full_beneath_to_insert_breakpoint_ops, and
2665 record_full_beneath_to_remove_breakpoint_ops.
2666 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2667 (m32r_remove_breakpoint): Add target_ops parameter.
2668 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2669 Add target_ops parameter.
2670 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2671 Add target_ops parameter.
2673 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2674 Markus Metzger <markus.t.metzger@intel.com>
2676 * record-btrace.c: Include frame-unwind.h.
2677 (record_btrace_frame_unwind_stop_reason)
2678 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2679 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2681 (init_record_btrace_ops): Install it.
2683 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2685 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2688 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2690 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2693 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2695 * frame-unwind.c: Include target.h.
2696 (frame_unwind_try_unwinder): New function with code from ...
2697 (frame_unwind_find_by_frame): ... here. New variable
2698 unwinder_from_target, call also target_get_unwinder)
2699 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2700 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2701 * target.h (struct target_ops): New fields to_get_unwinder and
2702 to_get_tailcall_unwinder.
2703 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2707 * record-btrace.c (record_btrace_fetch_registers)
2708 (record_btrace_store_registers)
2709 (record_btrace_to_prepare_to_store): New.
2710 (init_record_btrace_ops): Add the above.
2712 2014-01-16 Tom Tromey <tromey@redhat.com>
2714 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2715 * target.h (struct target_ops) <to_prepare_to_store>: Add
2717 (target_prepare_to_store): Add argument.
2718 * target.c (debug_to_prepare_to_store): Add argument.
2719 (update_current_target): Update.
2720 * remote.c (remote_prepare_to_store): Add 'self' argument.
2721 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2722 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2723 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2724 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2726 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2727 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2728 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2729 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2730 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2734 * btrace.h (replay) <replay>: New.
2735 (btrace_is_replaying): New.
2736 * btrace.c (btrace_clear): Free replay iterator.
2737 (btrace_is_replaying): New.
2738 * record-btrace.c (record_btrace_is_replaying): New.
2739 (record_btrace_info): Print insn number if replaying.
2740 (record_btrace_insn_history): Start at replay position.
2741 (record_btrace_call_history): Start at replay position.
2742 (init_record_btrace_ops): Init to_record_is_replaying.
2744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2746 * record-btrace.c (record_btrace_insn_history_range): Include
2748 (record_btrace_insn_history_from): Adjust range.
2749 (record_btrace_call_history_range): Include
2751 (record_btrace_call_history_from): Adjust range.
2752 * NEWS: Announce changes.
2754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2756 * record.h (enum record_print_flag)
2757 <record_print_indent_calls>: New.
2758 * record.c (get_call_history_modifiers): Recognize /c modifier.
2759 (_initialize_record): Document /c modifier.
2760 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2761 Reorder fields. Optionally indent the function name. Update
2763 * NEWS: Announce changes.
2765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2767 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2771 * btrace.c (ftrace_new_function): Start counting at one.
2772 * record-btrace.c (record_btrace_info): Adjust number of calls
2774 * NEWS: Announce it.
2776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2778 * record-btrace.c (btrace_call_history_insn_range): Print
2779 insn range as [begin, end].
2781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2783 * btrace.h (struct btrace_func_link): New.
2784 (enum btrace_function_flag): New.
2785 (struct btrace_inst): Rename to ...
2786 (struct btrace_insn): ...this. Update all users.
2787 (struct btrace_func) <ibegin, iend>: Remove.
2788 (struct btrace_func_link): New.
2789 (struct btrace_func): Rename to ...
2790 (struct btrace_function): ...this. Update all users.
2791 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2792 (number, level, flags>: New.
2793 (struct btrace_insn_iterator): Rename to ...
2794 (struct btrace_insn_history): ...this.
2796 (struct btrace_insn_iterator, btrace_call_iterator): New.
2797 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2798 (struct btrace_target_info) <begin, end, level>
2799 <insn_history, call_history>: New.
2800 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2801 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2802 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2803 (btrace_call_number, btrace_call_begin, btrace_call_end)
2804 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2805 (btrace_find_function_by_number, btrace_set_insn_history)
2806 (btrace_set_call_history): New.
2807 * btrace.c (btrace_init_insn_iterator)
2808 (btrace_init_func_iterator, compute_itrace): Remove.
2809 (ftrace_print_function_name, ftrace_print_filename)
2810 (ftrace_skip_file): Change
2812 (ftrace_init_func): Remove.
2813 (ftrace_debug): Use new btrace_function fields.
2814 (ftrace_function_switched): Also consider gaining and
2815 losing symbol information).
2816 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2817 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2818 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2820 (ftrace_new_function): Move. Remove debug print.
2821 (ftrace_update_lines, ftrace_update_insns): New.
2822 (ftrace_update_function): Check for call, ret, and jump.
2823 (compute_ftrace): Renamed to ...
2824 (btrace_compute_ftrace): ...this. Rewritten to compute call
2826 (btrace_fetch, btrace_clear): Updated.
2827 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2828 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2829 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2830 (btrace_call_number, btrace_call_begin, btrace_call_end)
2831 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2832 (btrace_find_function_by_number, btrace_set_insn_history)
2833 (btrace_set_call_history): New.
2834 * record-btrace.c (require_btrace): Use new btrace thread
2836 (record_btrace_info, btrace_insn_history)
2837 (record_btrace_insn_history, record_btrace_insn_history_range):
2838 Use new btrace thread info fields and new iterator.
2839 (btrace_func_history_src_line): Rename to ...
2840 (btrace_call_history_src_line): ...this. Use new btrace
2842 (btrace_func_history): Rename to ...
2843 (btrace_call_history): ...this. Use new btrace thread info
2844 fields and new iterator.
2845 (record_btrace_call_history, record_btrace_call_history_range):
2846 Use new btrace thread info fields and new iterator.
2848 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2850 * frame.h (frame_id_build_unavailable_stack_special): New.
2851 * frame.c (frame_id_build_unavailable_stack_special): New.
2853 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2855 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2856 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2857 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2859 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2860 (i386_insn_is_jump, i386_jmp_p): New.
2861 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2862 insn_is_jump to gdbarch.
2863 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2864 * gdbarch.h: Regenerated.
2865 * gdbarch.c: Regenerated.
2866 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2867 (default_insn_is_jump): New.
2868 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2869 (default_insn_is_jump): New.
2871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2873 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2875 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2876 (btrace_read_type) <btrace_read_new>: Change to ...
2877 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2881 * common/linux-btrace.c (linux_read_btrace): Free trace from
2884 2014-01-15 Doug Evans <dje@google.com>
2886 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2889 2014-01-15 Tom Tromey <tromey@redhat.com>
2891 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2892 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2893 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2894 (set_objfile_main_name): New function.
2895 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2896 language_of_main>: New fields.
2897 (set_objfile_main_name): Declare.
2898 * symtab.c (find_main_name): Loop over objfiles to find the main
2900 (set_main_name): Now static.
2901 (get_main_info): Add comment.
2902 * symtab.h (set_main_name): Don't declare.
2904 2014-01-15 Tom Tromey <tromey@redhat.com>
2906 * symtab.c (main_progspace_key): New global.
2907 (struct main_info): New.
2908 (name_of_main, language_of_main): Remove.
2909 (get_main_info, main_info_cleanup): New function.
2910 (set_main_name, main_name, main_language): Use get_main_info.
2911 (_initialize_symtab): Initialize main_progspace_key.
2913 2014-01-15 Tom Tromey <tromey@redhat.com>
2915 * dbxread.c (process_one_symbol): Update.
2916 * dwarf2read.c (read_partial_die): Update.
2917 * symfile.c (set_initial_language): Call main_language.
2918 * symtab.c (language_of_main): Now static.
2919 (set_main_name): Add 'lang' parameter.
2920 (find_main_name): Update.
2921 (main_language): New function.
2922 (symtab_observer_executable_changed): Update.
2923 * symtab.h (set_main_name): Update.
2924 (language_of_main): Remove.
2925 (main_language): Declare.
2927 2014-01-15 Tom Tromey <tromey@redhat.com>
2929 * symfile.c (init_entry_point_info): Use new "initialized" field.
2931 * objfiles.h (struct entry_point) <initialized>: New field.
2932 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2933 (struct objfile) <ei>: ...here. Remove.
2934 * objfiles.c (entry_point_address_query): Update.
2936 2014-01-15 Tom Tromey <tromey@redhat.com>
2938 * objfiles.c (entry_point_address_query): Relocate entry point
2940 (objfile_relocate1): Do not relocate entry point address.
2941 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2942 <the_bfd_section_index>: New field.
2943 * symfile.c (init_entry_point_info): Find the entry point's
2946 2014-01-15 Tom Tromey <tromey@redhat.com>
2948 * solib-frv.c (enable_break): Use entry_point_address_query.
2950 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2952 * NEWS: Add note on improved process record-replay on
2953 arm*-linux* targets.
2955 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2957 * arm-tdep.c (enum arm_record_result): New enum.
2958 (arm_record_unsupported_insn): New function.
2959 (arm_record_coproc_data_proc): Removed.
2960 (thumb2_record_ld_st_multiple): New function.
2961 (thumb2_record_ld_st_dual_ex_tbb): New function.
2962 (thumb2_record_data_proc_sreg_mimm): New function.
2963 (thumb2_record_ps_dest_generic): New function.
2964 (thumb2_record_branch_misc_cntrl): New function.
2965 (thumb2_record_str_single_data): New function.
2966 (thumb2_record_ld_mem_hints): New function.
2967 (thumb2_record_ld_word): New function.
2968 (thumb2_record_lmul_lmla_div): New function.
2969 (thumb2_record_decode_insn_handler): New function.
2970 (decode_insn): Add thumb32 instruction handlers.
2972 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2974 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2975 (struct arm_linux_record_tdep): Declare.
2976 (arm_canonicalize_syscall): New function.
2977 (arm_all_but_pc_registers_record): New function.
2978 (arm_linux_syscall_record): New function.
2979 (arm_linux_init_abi): Add syscall recording constructs.
2980 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2981 decoding. (arm_record_coproc_data_proc): Update arm syscall
2983 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2984 <arm_syscall_record>: New field.
2985 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2988 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2990 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2991 register for push instruction recording.
2993 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2995 * arm-tdep.c (thumb_record_misc): Update to correct logical
2996 error while recording ldm, ldmia and pop instructions.
2998 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3000 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3002 2014-01-15 Pedro Alves <palves@redhat.com>
3004 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3005 (go32_resume, go32_fetch_registers, store_register)
3006 (go32_store_registers, go32_prepare_to_store)
3007 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3008 (go32_create_inferior, go32_can_run, go32_terminal_init)
3009 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3012 2014-01-15 Tom Tromey <tromey@redhat.com>
3014 * target.h (async_callback_ftype): New typedef.
3015 (struct target_ops) <to_async>: Use it.
3017 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3019 * python/py-value.c (get_field_type): Remove unnecessary curly
3020 braces for single-statement if block.
3022 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3024 * python/py-type.c (convert_field): Add missing empty line
3027 2014-01-14 Doug Evans <dje@google.com>
3029 * symfile.h (expand_symtabs_matching): Renamed from
3030 expand_partial_symbol_names. Update prototype.
3031 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3032 * symfile.c (expand_symtabs_matching): Renamed from
3033 expand_partial_symbol_names. New args file_matcher, kind.
3034 Rename arg fun to symbol_matcher.
3035 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3036 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3037 ada_expand_partial_symbol_name.
3038 (ada_make_symbol_completion_list): Update to call
3039 expand_symtabs_matching.
3040 (ada_add_global_exceptions): Call expand_symtabs_matching.
3041 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3042 call map_symbol_filenames.
3043 * symtab.c (sources_info): Update to call map_symbol_filenames.
3044 (search_symbols): Call expand_symtabs_matching.
3045 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3046 (default_make_symbol_completion_list_break_on): Update to call
3047 expand_symtabs_matching.
3048 (make_source_files_completion_list): Update to call
3049 map_symbol_filenames.
3051 2014-01-14 Doug Evans <dje@google.com>
3053 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3054 (expand_symtabs_symbol_matcher_ftype): New typedef.
3055 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3056 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3057 * symfile.c (expand_partial_symbol_names): Update to use
3058 expand_symtabs_symbol_matcher_ftype.
3059 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3060 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3061 Arg name_matcher renamed to symbol_matcher.
3062 * psymtab.c (recursively_search_psymtabs): Update to use
3063 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3065 (expand_symtabs_matching_via_partial): Update to use
3066 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3067 Arg name_matcher renamed to symbol_matcher.
3069 2014-01-14 Doug Evans <dje@google.com>
3071 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3072 (map_partial_symbol_filenames): Ditto.
3073 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3074 (map_partial_symbol_filenames): Ditto.
3075 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3076 (map_partial_symbol_filenames): Ditto.
3077 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3078 (map_partial_symbol_filenames): Ditto.
3079 * symtab.c: Delete #include "psymtab.h".
3081 2014-01-14 Pedro Alves <palves@redhat.com>
3082 Tom Tromey <tromey@redhat.com>
3084 * infrun.c (use_displaced_stepping): Use find_record_target
3085 instead of RECORD_IS_USED.
3086 (adjust_pc_after_break): Use record_full_is_used instead of
3088 * record-btrace.c (record_btrace_open): Call record_preopen
3089 instead of checking RECORD_IS_USED.
3090 * record-full.c (record_full_shortname)
3091 (record_full_core_shortname): New globals.
3092 (record_full_is_used): New function.
3093 (find_full_open): Call record_preopen instead of checking
3095 (init_record_full_ops): Set the target's shortname to
3096 record_full_shortname.
3097 (init_record_full_core_ops): Set the target's shortname to
3098 record_full_core_shortname.
3099 * record-full.h (record_full_is_used): Declare.
3100 * record.c (find_record_target): Make extern.
3101 (record_preopen): New function.
3102 * record.h (RECORD_IS_USED): Delete macro.
3103 (find_record_target, record_preopen): Declare functions.
3105 2014-01-14 Yao Qi <yao@codesourcery.com>
3107 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3108 'len''s type to ULONGEST.
3109 (core_xfer_shared_libraries_aix): Likewise.
3110 * gdbarch.c, gdbarch.h: Regenerated.
3111 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3112 Change type of 'len' to ULONGEST.
3113 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3114 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3116 2014-01-14 Yao Qi <yao@codesourcery.com>
3118 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3119 type of 'len' to ULONGEST.
3120 (linux_xfer_osdata_processgroups): Likewise.
3121 (linux_xfer_osdata_threads): Likewise.
3122 (linux_xfer_osdata_fds): Likewise.
3123 (linux_xfer_osdata_isockets): Likewise.
3124 (linux_xfer_osdata_shm): Likewise.
3125 (linux_xfer_osdata_sem): Likewise.
3126 (linux_xfer_osdata_msg): Likewise.
3127 (linux_common_xfer_osdata): Likewise.
3128 (struct osdata_type) <getter>: Likewise.
3129 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3132 2014-01-14 Yao Qi <yao@codesourcery.com>
3134 * target.h (target_xfer_partial_ftype): Update.
3135 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3137 * aix-thread.c (aix_thread_xfer_partial): Change type of
3138 argument 'len' to ULONGEST.
3139 * auxv.c (procfs_xfer_auxv): Likewise.
3140 (ld_so_xfer_auxv): Likewise.
3141 (memory_xfer_auxv): Likewise.
3142 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3143 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3144 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3145 * corelow.c (core_xfer_partial): Likewise.
3146 * ctf.c (ctf_xfer_partial): Likewise.
3147 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3149 (darwin_read_dyld_info): Likewise.
3150 (darwin_xfer_partial): Likewise.
3151 * exec.c (section_table_xfer_memory_partial): Likewise.
3152 (exec_xfer_partial): Likewise.
3153 * exec.h (section_table_xfer_memory_partial): Update
3155 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3156 instead of plongest.
3157 (gnu_xfer_partial): Likewise.
3158 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3159 (ia64_hpux_xfer_solib_got): Likewise.
3160 (ia64_hpux_xfer_partial): Likewise.
3161 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3162 * inf-ptrace.c (inf_ptrace_xfer_partial):
3163 * inf-ttrace.c (inf_ttrace_xfer_partial):
3164 * linux-nat.c (linux_xfer_siginfo): Likewise.
3165 (linux_nat_xfer_partial): Likewise.
3166 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3167 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3168 * monitor.c (monitor_xfer_memory): Likewise.
3169 (monitor_xfer_partial): Likewise.
3170 * procfs.c (procfs_xfer_partial): Likewise.
3171 * record-full.c (record_full_xfer_partial): Likewise.
3172 (record_full_core_xfer_partial): Likewise.
3173 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3174 instead of plongest.
3175 (gdbsim_xfer_partial): Likewise.
3176 * remote.c (remote_xfer_partial): Likewise.
3177 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3178 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3180 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3181 (rs6000_xfer_shared_libraries): Likewise.
3182 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3183 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3184 (sparc_xfer_partial): Likewise.
3185 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3186 (spu_xfer_partial): Likewise.
3187 * spu-multiarch.c (spu_xfer_partial): Likewise.
3188 * target.c (target_read_live_memory): Likewise.
3189 (memory_xfer_live_readonly_partial): Likewise.
3190 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3191 (target_xfer_partial, default_xfer_partial): Likewise.
3192 (current_xfer_partial): Likewise.
3193 * tracepoint.c (tfile_xfer_partial): Likewise.
3194 * windows-nat.c (windows_xfer_memory): Likewise. Call
3195 pulongest instead of plongest.
3196 (windows_xfer_partial): Likewise.
3197 (windows_xfer_shared_libraries): Likewise.
3199 2014-01-14 Yao Qi <yao@codesourcery.com>
3201 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3202 target_xfer_partial_ftype.
3204 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3208 * valops.c (value_struct_elt_bitpos): New function
3209 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3210 object to 'None' if the field name is an empty string ("").
3211 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3212 attribute to look for a field when 'name' is 'None'.
3213 (get_field_type): New function
3215 2014-01-13 Doug Evans <dje@google.com>
3218 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3219 (try_open_dwop_file): Ditto.
3220 * gdb_bfd.c: #include "vec.h".
3221 (bfdp): New typedef.
3222 (struct gdb_bfd_data): New member included_bfds.
3223 (gdb_bfd_unref): Unref all included bfds.
3224 (gdb_bfd_record_inclusion): New function.
3225 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3227 2014-01-13 Tom Tromey <tromey@redhat.com>
3229 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3231 2014-01-13 Tom Tromey <tromey@redhat.com>
3233 * defs.h (use_windows): Remove.
3234 * gdb.c (main): Update.
3235 * main.c (captured_main, gdb_main): Update.
3236 * main.h (struct captured_main_args) <use_windows>: Remove.
3237 * top.c (use_windows): Remove.
3239 2014-01-13 Tom Tromey <tromey@redhat.com>
3241 * defs.h (deprecated_flush_hook): Remove.
3243 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3246 * linux-thread-db.c (try_thread_db_load): Add parameter
3247 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3248 (try_thread_db_load_from_pdir_1): Move it there from here.
3249 (try_thread_db_load_from_sdir): Update caller.
3250 (try_thread_db_load_from_dir): Move it there from here.
3252 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3254 * regformats/regdat.sh: Always rewrite the register file.
3256 2014-01-13 Pedro Alves <palves@redhat.com>
3258 * Makefile.in (CHECK_HEADERS): New variable.
3259 (check-headers:): New rule.
3261 2014-01-13 Tom Tromey <tromey@redhat.com>
3263 * cli/cli-setshow.c (do_set_command): Update.
3264 * defs.h (deprecated_set_hook): Remove.
3265 * top.c (deprecated_set_hook): Remove.
3267 2014-01-13 Pedro Alves <palves@redhat.com>
3269 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3270 the tracepoint if the PC is a pseudo-register.
3272 2014-01-13 Tom Tromey <tromey@redhat.com>
3274 * defs.h (XCALLOC): Remove.
3275 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3276 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3277 * dwarf2loc.c (allocate_piece_closure): Likewise.
3278 * elfread.c (elf_symfile_segments): Likewise.
3279 (elf_symfile_segments): Likewise.
3280 * gdbtypes.c (copy_type_recursive): Likewise.
3281 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3282 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3283 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3285 * mt-tdep.c (mt_gdbarch_init): Likewise.
3286 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3288 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3289 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3290 * registry.c (registry_alloc_data): Likewise.
3291 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3292 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3293 * serial.c (serial_fdopen_ops): Likewise.
3294 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3296 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3297 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3300 2014-01-13 Tom Tromey <tromey@redhat.com>
3302 * defs.h (XMALLOC): Remove.
3303 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3304 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3305 * cli-out.c (struct ui_out *): Likewise.
3306 * cli/cli-dump.c (add_dump_command): Likewise.
3307 (add_dump_command): Likewise.
3308 * complaints.c (get_complaints): Likewise.
3309 (find_complaint): Likewise.
3310 * dwarf2-frame.c (execute_cfa_program): Likewise.
3311 * dwarf2read.c (abbrev_table_read_table): Likewise.
3312 * gdbarch.sh: Likewise.
3313 * gdbarch.c: Rebuild.
3314 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3315 * interps.c (interp_new): Likewise.
3316 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3317 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3318 * mi/mi-console.c (mi_console_file_new): Likewise.
3319 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3320 * mi/mi-out.c (mi_out_new): Likewise.
3321 * mi/mi-parse.c (mi_parse): Likewise.
3322 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3323 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3324 * observer.c (xalloc_observer_list_node): Likewise.
3325 * regcache.c (regcache_xmalloc_1): Likewise.
3326 * reggroups.c (reggroup_new): Likewise.
3327 (_initialize_reggroup): Likewise.
3328 * registry.c (register_data_with_cleanup): Likewise.
3329 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3330 * ser-base.c (serial_ttystate): Likewise.
3331 * ser-mingw.c (make_pipe_state): Likewise.
3332 * ser-pipe.c (pipe_open): Likewise.
3333 * serial.c (serial_open): Likewise.
3334 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3335 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3336 (tui_alloc_win_info): Likewise.
3337 (tui_add_content_elements): Likewise.
3338 * tui/tui-file.c (tui_file_new): Likewise.
3339 * tui/tui-out.c (tui_out_new): Likewise.
3340 * ui-file.c (mem_file_new): Likewise.
3341 * ui-out.c (push_level): Likewise.
3342 (make_cleanup_ui_out_end): Likewise.
3343 (append_header_to_list): Likewise.
3344 (ui_out_new): Likewise.
3345 * user-regs.c (user_reg_add_builtin): Likewise.
3347 2014-01-13 Tom Tromey <tromey@redhat.com>
3349 * defs.h (XZALLOC): Remove.
3350 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3351 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3352 (get_ada_tasks_inferior_data): Likewise.
3353 * auto-load.c (get_auto_load_pspace_data): Likewise.
3354 * auxv.c (get_auxv_inferior_data): Likewise.
3355 * bfd-target.c (target_bfd_reopen): Likewise.
3356 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3357 (deprecated_insert_raw_breakpoint): Likewise.
3358 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3359 * corelow.c (core_open): Likewise.
3360 * darwin-nat.c (darwin_check_new_threads): Likewise.
3361 (darwin_attach_pid): Likewise.
3362 * dummy-frame.c (dummy_frame_push): Likewise.
3363 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3364 * dwarf2loc.c (allocate_piece_closure): Likewise.
3365 * elfread.c (elf_symfile_segments): Likewise.
3366 * eval.c (ptrmath_type_p): Likewise.
3367 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3368 * gdbtypes.c (alloc_type_arch): Likewise.
3369 (alloc_type_instance): Likewise.
3370 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3371 * inf-child.c (inf_child_can_use_agent): Likewise.
3372 * inflow.c (get_inflow_inferior_data): Likewise.
3373 * infrun.c (save_infcall_suspend_state): Likewise.
3374 * jit.c (jit_reader_load): Likewise.
3375 (get_jit_objfile_data): Likewise.
3376 (get_jit_program_space_data): Likewise.
3377 (jit_object_open_impl): Likewise.
3378 (jit_symtab_open_impl): Likewise.
3379 (jit_block_open_impl): Likewise.
3380 (jit_frame_sniffer): Likewise.
3381 * linux-fork.c (add_fork): Likewise.
3382 * maint.c (make_command_stats_cleanup): Likewise.
3383 * objfiles.c (get_objfile_pspace_data): Likewise.
3384 * opencl-lang.c (struct lval_closure): Likewise.
3385 * osdata.c (osdata_start_osdata): Likewise.
3386 * progspace.c (new_address_space): Likewise.
3387 (add_program_space): Likewise.
3388 * remote-sim.c (get_sim_inferior_data): Likewise.
3389 * sh-tdep.c (sh_gdbarch_init): Likewise.
3390 * skip.c (Ignore): Likewise.
3391 (skip_delete_command): Likewise.
3392 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3393 (library_list_start_library): Likewise.
3394 (solib_aix_current_sos): Likewise.
3395 * solib-darwin.c (get_darwin_info): Likewise.
3396 (darwin_current_sos): Likewise.
3397 * solib-dsbt.c (get_dsbt_info): Likewise.
3398 * solib-ia64-hpux.c (new_so_list): Likewise.
3399 (ia64_hpux_get_solib_linkage_addr): Likewise.
3400 * solib-spu.c (append_ocl_sos): Likewise.
3401 (spu_current_sos): Likewise.
3402 * solib-svr4.c (get_svr4_info): Likewise.
3403 (svr4_keep_data_in_core): Likewise.
3404 (library_list_start_library): Likewise.
3405 (svr4_default_sos): Likewise.
3406 (svr4_read_so_list): Likewise.
3407 * solib-target.c (library_list_start_library): Likewise.
3408 (solib_target_current_sos): Likewise.
3409 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3410 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3411 * symfile.c (default_symfile_segments): Likewise.
3412 * target-descriptions.c (tdesc_data_init): Likewise.
3413 (tdesc_create_reg): Likewise.
3414 (struct tdesc_type *): Likewise.
3415 (tdesc_create_vector): Likewise.
3416 (tdesc_set_struct_size): Likewise.
3417 (struct tdesc_type *): Likewise.
3418 (tdesc_free_feature): Likewise.
3419 (tdesc_create_feature): Likewise.
3420 * windows-nat.c (windows_add_thread): Likewise.
3421 (windows_make_so): Likewise.
3422 * xml-support.c (gdb_xml_body_text): Likewise.
3423 (gdb_xml_create_parser_and_cleanup): Likewise.
3424 (xml_process_xincludes): Likewise.
3425 * xml-syscall.c (allocate_syscalls_info): Likewise.
3426 (syscall_create_syscall_desc): Likewise.
3428 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3430 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3431 function, with code from i386_stap_parse_special_token.
3432 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3433 (i386_stap_parse_special_token): Move code to the two functions
3436 2014-01-09 Pedro Alves <palves@redhat.com>
3437 Hui Zhu <hui@codesourcery.com>
3440 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3441 bp_err_string. Don't mark the location shlib_disabled if the
3442 error thrown wasn't a generic or memory error. Catch errors
3443 thrown while inserting breakpoints in overlayed code. Output
3444 error message of software breakpoints.
3445 * remote.c (remote_insert_breakpoint): If this breakpoint has
3446 target-side commands but this stub doesn't support Z0 packets,
3447 throw NOT_SUPPORTED_ERROR error.
3448 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3449 * target.h (target_insert_breakpoint): Extend comment.
3450 (target_insert_hw_breakpoint): Add comment.
3452 2014-01-08 Pedro Alves <palves@redhat.com>
3454 * remote.c (remote_add_thread): Add threads silently if starting
3456 (remote_notice_new_inferior): If in all-stop, and starting up,
3457 don't call notice_new_inferior.
3458 (get_current_thread): New function, factored out from ...
3459 (add_current_inferior_and_thread): ... this. Adjust.
3460 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3461 found any thread, then select the remote's current thread as GDB's
3464 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3466 * NEWS: Create a new section for the next release branch.
3467 Rename the section of the current branch, now that it has
3470 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3472 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3473 * version.in: Bump version to 7.7.50.DATE-cvs.
3475 2014-01-08 Yao Qi <yao@codesourcery.com>
3477 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3478 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3479 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3481 2014-01-08 Yao Qi <yao@codesourcery.com>
3483 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3484 return value of bfd_get_filename to symbol_file_add_from_bfd.
3486 2014-01-08 Pierre Muller <muller@sourceware.org>
3489 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3490 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3491 to prim_record_mininal_symbol_and_info.
3492 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3493 in call to prim_record_minimal_symbol_and_info.
3494 (read_pe_exported_syms): Set index field of section_data.
3496 2014-01-07 Andrew Pinski <apinski@cavium.com>
3498 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3499 * features/aarch64.c: Regenerate.
3501 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3503 * target.c (return_null): Define.
3504 (update_current_target): Use it instead of return_zero for
3505 functions that return a pointer.
3507 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3509 * source.c (add_path): Fix check for duplicated paths in the previously
3512 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3514 * ada-lang.c: Remove duplicated include statements.
3515 * alphabsd-nat.c: Ditto.
3516 * amd64-darwin-tdep.c: Ditto.
3517 * amd64fbsd-nat.c: Ditto.
3518 * auto-load.c: Ditto.
3520 * breakpoint.c: Ditto.
3522 * fork-child.c: Ditto.
3523 * gdb_usleep.c: Ditto.
3524 * i386-darwin-tdep.c: Ditto.
3525 * i386fbsd-nat.c: Ditto.
3527 * inferior.c: Ditto.
3529 * linux-nat.c: Ditto.
3530 * linux-tdep.c: Ditto.
3531 * m68kbsd-nat.c: Ditto.
3532 * m68klinux-nat.c: Ditto.
3533 * microblaze-tdep.c: Ditto.
3534 * mips-linux-tdep.c: Ditto.
3535 * mn10300-tdep.c: Ditto.
3536 * nto-tdep.c: Ditto.
3537 * opencl-lang.c: Ditto.
3539 * printcmd.c: Ditto.
3540 * regcache.c: Ditto.
3541 * remote-m32r-sdi.c: Ditto.
3545 * tilegx-linux-nat.c: Ditto.
3546 * tilegx-tdep.c: Ditto.
3547 * tracepoint.c: Ditto.
3549 * vaxbsd-nat.c: Ditto.
3550 * windows-nat.c: Ditto.
3551 * xtensa-tdep.c: Ditto.
3553 2014-01-07 Yao Qi <yao@codesourcery.com>
3555 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3557 2014-01-07 Yao Qi <yao@codesourcery.com>
3558 Joel Brobecker <brobecker@adacore.com>
3560 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3561 (pdc_write_regs): Likewise.
3562 (fetch_regs_kernel_thread): Likewise.
3563 (store_regs_kernel_thread): Likewise.
3565 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3567 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3568 tagged type objects to their actual type.
3570 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3572 * ada-valprint.c (print_field_values): Add "language" parameter.
3573 Update calls to print_field_values and print_variant_part.
3574 Pass new parameter "language" in call to val_print instead
3575 of "current_language". Replace call to ada_val_print by call
3577 (print_variant_part): Add "language" parameter.
3578 (ada_val_print_struct_union): Update call to print_field_values.
3580 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3582 * ada-valprint.c (ui_memcpy): Delete.
3583 (ada_print_floating): Update documentation. Add empty line
3584 between between function documentation and implementation.
3585 Delete variable "buffer". Use ui_file_xstrdup in place of
3586 ui_file_put. Minor adjustments following this change.
3588 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3590 * ada-valprint.c (ada_val_print_string): New function,
3591 extracted from ada_val_print_array.
3592 (ada_val_print_array): Replace extracted code by call
3593 to ada_val_print_string followed by a return. Move
3594 "else" branch to the function's top block.
3596 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3598 * ada-valprint.c (ada_val_print_array): Move implementation
3599 down. Rename parameter "offset" and "val" into "offset_aligned"
3600 and "original_value" respectively. Add parameter "offset".
3602 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3604 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3605 re-organizing the code. Change the "???" message printed
3606 when target type is a TYPE_CODE_UNDEF into
3607 "<ref to undefined type>".
3609 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3611 * ada-valprint.c (print_record): Delete, implementation inlined...
3612 (ada_val_print_struct_union): ... here. Remove call to
3613 ada_check_typedef in inlined implementation.
3615 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3617 * ada-valprint.c (ada_val_print_gnat_array): New function,
3618 extracted from ada_val_print_1;
3619 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3620 (ada_val_print_flt, ada_val_print_struct_union)
3621 (ada_val_print_ref): Likewise.
3622 (ada_val_print_1): Delete variables i and elttype.
3623 Replace extracted-out code by call to corresponding
3626 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3628 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3630 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3632 * ada-valprint.c (ada_val_print_1): Replace calls to
3633 ada_val_print_1 by calls to val_print.
3635 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3637 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3638 Update calls to self accordingly. Replace calls to c_val_print
3639 by calls to val_print.
3641 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3643 * ada-valprint.c (print_record): Delete declaration.
3644 (adjust_type_signedness, ada_val_print_1): Likewise.
3645 (ada_val_print): Move function implementation down.
3646 (print_variant_part, print_field_values, print_record):
3647 Move function implementation up.
3649 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3651 * python/py-type.c (typy_get_name): New function.
3652 (type_object_getset): Add entry for attribute "name".
3653 * NEWS: Add entry mentioning this new attribute.
3655 2014-01-07 Yao Qi <yao@codesourcery.com>
3657 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3660 2014-01-07 Yao Qi <yao@codesourcery.com>
3662 * gnu-nat.c (info_port_rights): Add qualifier const to
3665 2014-01-07 Yao Qi <yao@codesourcery.com>
3667 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3669 2014-01-07 Yao Qi <yao@codesourcery.com>
3671 * gnu-nat.c (make_inf) Update declaration.
3672 (make_inf): Make it static.
3673 (inf_set_traced): Likewise.
3674 (inf_port_to_thread, inf_task_died_status): Likewise.
3676 2014-01-07 Yao Qi <yao@codesourcery.com>
3678 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3680 2014-01-07 Yao Qi <yao@codesourcery.com>
3682 * gnu-nat.c (_initialize_gnu_nat): Declare.
3684 2014-01-07 Yao Qi <yao@codesourcery.com>
3686 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3688 (struct gdbarch_info) <byte_order>: Change type to
3690 <byte_order_for_code>: Likewise.
3691 * gdbarch.c, gdbarch.h: Regenerated.
3693 2014-01-06 Sasha Smundak <asmundak@google.com>
3695 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3697 2014-01-06 Tom Tromey <tromey@redhat.com>
3699 * doublest.c (convert_doublest_to_floatformat): Use const, not
3701 * somread.c (som_symtab_read): Likewise.
3703 2014-01-07 Hui Zhu <hui@codesourcery.com>
3705 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3706 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3707 (gdb_bfd_fopen): Ditto.
3708 (gdb_bfd_openr): Ditto.
3709 (gdb_bfd_openw): Ditto.
3710 (gdb_bfd_openr_iovec): Ditto.
3711 (gdb_bfd_fdopenr): Ditto.
3712 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3713 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3715 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3717 * symfile-mem.c (symbol_file_add_from_memory): Removed
3718 gdb_bfd_stash_filename.
3720 2014-01-03 Doug Evans <dje@google.com>
3722 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3725 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3727 Update year range in copyright notice of all files.
3729 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3731 * top.c (print_gdb_version): Set copyright year to 2014.
3733 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3735 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3737 For older changes see ChangeLog-2013.
3743 version-control: never