Don't output trailing space
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c658158d
PA
12014-02-19 Pedro Alves <palves@redhat.com>
2
3 * common/ptid.h (struct ptid): Mention that process_stratum
4 targets should prefer ptid.lwp.
5
ba348170
PA
62014-02-19 Pedro Alves <palves@redhat.com>
7
8 * remote.c (remote_thread_alive, write_ptid, read_ptid)
9 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
11 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
12 store remote thread ids rather than ptid.tid.
13 (_initialize_remote): Adjust.
14
ac01945b
TT
152014-02-19 Tom Tromey <tromey@redhat.com>
16
17 * target.c (target_get_unwinder): Rewrite.
18 (target_get_tailcall_unwinder): Rewrite.
19 * record-btrace.c (record_btrace_to_get_unwinder): New function.
20 (record_btrace_to_get_tailcall_unwinder): New function.
21 (init_record_btrace_ops): Update.
22 * target.h (struct target_ops) <to_get_unwinder,
23 to_get_tailcall_unwinder>: Now function pointers. Use
24 TARGET_DEFAULT_RETURN.
25
8476dc92
TT
262014-02-19 Tom Tromey <tromey@redhat.com>
27
28 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
29 argument.
30 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
31
c0eca49f
TT
322014-02-19 Tom Tromey <tromey@redhat.com>
33
34 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
35 directly.
36 * target-delegates.c: Rebuild.
37 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
38 TARGET_DEFAULT_FUNC.
39 * target.c (default_target_decr_pc_after_break): Rename from
40 forward_target_decr_pc_after_break. Simplify.
41 (target_decr_pc_after_break): Rely on delegation.
42
596b6b39
TT
432014-02-19 Tom Tromey <tromey@redhat.com>
44
45 * target.c (update_current_target): Do not INHERIT to_doc or
46 to_magic. Do not de_fault to_open or to_close.
47
b427c1bc
TT
482014-02-19 Tom Tromey <tromey@redhat.com>
49
50 * gcore.h (objfile_find_memory_regions): Declare.
51 * gcore.c (objfile_find_memory_regions): No longer static. Add
52 "self" argument.
53 (_initialize_gcore): Don't call exec_set_find_memory_regions.
54 * exec.c: Include gcore.h.
55 (exec_set_find_memory_regions): Remove.
56 (exec_find_memory_regions): Remove.
57 (exec_do_find_memory_regions): Remove.
58 (init_exec_ops): Update.
59 * defs.h (exec_set_find_memory_regions): Remove.
60
9b144037
TT
612014-02-19 Tom Tromey <tromey@redhat.com>
62
63 * target-delegates.c: Rebuild.
64 * target.h (struct target_ops) <to_extra_thread_info,
65 to_thread_name, to_pid_to_exec_file, to_get_section_table,
66 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
67 not 0, in TARGET_DEFAULT_RETURN.
68
555bbdeb
TT
692014-02-19 Tom Tromey <tromey@redhat.com>
70
71 * target.c (complete_target_initialization): Remove casts. Use
72 return_zero_has_execution.
73 (return_zero): Add "ignore" argument.
74 (return_zero_has_execution): New function.
75 (init_dummy_target): Remove casts. Use
76 return_zero_has_execution.
77
be4ddd36
TT
782014-02-19 Tom Tromey <tromey@redhat.com>
79
80 * target.c (update_current_target): Update comments. Do not
81 INHERIT to_stratum.
82
2117c711
TT
832014-02-19 Tom Tromey <tromey@redhat.com>
84
85 * arm-linux-nat.c (arm_linux_read_description): Delegate when
86 needed.
87 * corelow.c (core_read_description): Delegate when needed.
88 * remote.c (remote_read_description): Delegate when needed.
89 * target-delegates.c: Rebuild.
90 * target.c (target_read_description): Rewrite.
91 * target.h (struct target_ops) <to_read_description>: Update
92 comment. Use TARGET_DEFAULT_RETURN.
93
e88ef65c
TT
942014-02-19 Tom Tromey <tromey@redhat.com>
95
96 * target-delegates.c: Rebuild.
97 * target.c (update_current_target): Don't inherit or default
98 to_can_run.
99 (find_default_run_target): Check against delegate_can_run.
100 * target.h (struct target_ops) <to_can_run>: Use
101 TARGET_DEFAULT_RETURN.
102
86a0854a
TT
1032014-02-19 Tom Tromey <tromey@redhat.com>
104
105 * target-delegates.c: Rebuild.
106 * target.c (target_disconnect): Unconditionally delegate.
107 * target.h (struct target_ops) <to_disconnect>: Use
108 TARGET_DEFAULT_NORETURN.
109
ee97f592
TT
1102014-02-19 Tom Tromey <tromey@redhat.com>
111
112 * record.c (record_stop): Unconditionally delegate.
113 * target-delegates.c: Rebuild.
114 * target.c (target_stop_recording): Unconditionally delegate.
115 * target.h (struct target_ops) <to_stop_recording>: Use
116 TARGET_DEFAULT_IGNORE.
117
6dc7fcf4
TT
1182014-02-19 Tom Tromey <tromey@redhat.com>
119
120 * target-delegates.c: Rebuild.
121 * target.c (target_enable_btrace): Unconditionally delegate.
122 * target.h (struct target_ops) <to_enable_btrace>: Use
123 TARGET_DEFAULT_NORETURN.
124
eb5b20d4
TT
1252014-02-19 Tom Tromey <tromey@redhat.com>
126
127 * target-delegates.c: Rebuild.
128 * target.c (target_read_btrace): Unconditionally delegate.
129 * target.h (struct target_ops) <to_read_btrace>: Use
130 TARGET_DEFAULT_NORETURN.
131
9ace480d
TT
1322014-02-19 Tom Tromey <tromey@redhat.com>
133
134 * target-delegates.c: Rebuild.
135 * target.c (target_teardown_btrace): Unconditionally delegate.
136 * target.h (struct target_ops) <to_teardown_btrace>: Use
137 TARGET_DEFAULT_NORETURN.
138
8dc292d3
TT
1392014-02-19 Tom Tromey <tromey@redhat.com>
140
141 * target-delegates.c: Rebuild.
142 * target.c (target_disable_btrace): Unconditionally delegate.
143 * target.h (struct target_ops) <to_disable_btrace>: Use
144 TARGET_DEFAULT_NORETURN.
145
58a5184e
TT
1462014-02-19 Tom Tromey <tromey@redhat.com>
147
148 * target-delegates.c: Rebuild.
149 * target.c (default_search_memory): New function.
150 (simple_search_memory): Update comment.
151 (target_search_memory): Unconditionally delegate.
152 * target.h (struct target_ops) <to_search_memory>: Use
153 TARGET_DEFAULT_FUNC.
154
8de71aab
TT
1552014-02-19 Tom Tromey <tromey@redhat.com>
156
157 * auxv.c (default_auxv_parse): No longer static.
158 (target_auxv_parse): Unconditionally delegate.
159 * auxv.h (default_auxv_parse): Declare.
160 * target-delegates.c: Rebuild.
161 * target.c: Include auxv.h.
162 * target.h (struct target_ops) <to_auxv_parse>: Use
163 TARGET_DEFAULT_FUNC.
164
6b2c5a57
TT
1652014-02-19 Tom Tromey <tromey@redhat.com>
166
167 * target-delegates.c: Rebuild.
168 * target.c (target_memory_map): Unconditionally delegate.
169 * target.h (struct target_ops) <to_memory_map>: Use
170 TARGET_DEFAULT_RETURN.
171
cbffc065
TT
1722014-02-19 Tom Tromey <tromey@redhat.com>
173
174 * target-delegates.c: Rebuild.
175 * target.c (target_thread_alive): Unconditionally delegate.
176 * target.h (struct target_ops) <to_thread_alive>: Use
177 TARGET_DEFAULT_RETURN.
178
f09e2107
TT
1792014-02-19 Tom Tromey <tromey@redhat.com>
180
181 * target-delegates.c: Rebuild.
182 * target.c (target_save_record): Unconditionally delegate.
183 * target.h (struct target_ops) <to_save_record>: Use
184 TARGET_DEFAULT_NORETURN.
185
07366925
TT
1862014-02-19 Tom Tromey <tromey@redhat.com>
187
188 * target-delegates.c: Rebuild.
189 * target.c (target_delete_record): Unconditionally delegate.
190 * target.h (struct target_ops) <to_delete_record>: Use
191 TARGET_DEFAULT_NORETURN.
192
dd2e9d25
TT
1932014-02-19 Tom Tromey <tromey@redhat.com>
194
195 * target-delegates.c: Rebuild.
196 * target.c (target_record_is_replaying): Unconditionally
197 delegate.
198 * target.h (struct target_ops) <to_record_is_replaying>: Use
199 TARGET_DEFAULT_RETURN.
200
671e76cc
TT
2012014-02-19 Tom Tromey <tromey@redhat.com>
202
203 * target-delegates.c: Rebuild.
204 * target.c (target_goto_record_begin): Unconditionally delegate.
205 * target.h (struct target_ops) <to_goto_record_begin>: Use
206 TARGET_DEFAULT_NORETURN.
207
e9179bb3
TT
2082014-02-19 Tom Tromey <tromey@redhat.com>
209
210 * target-delegates.c: Rebuild.
211 * target.c (target_goto_record_end): Unconditionally delegate.
212 * target.h (struct target_ops) <to_goto_record_end>: Use
213 TARGET_DEFAULT_NORETURN.
214
05969c84
TT
2152014-02-19 Tom Tromey <tromey@redhat.com>
216
217 * target-delegates.c: Rebuild.
218 * target.c (target_goto_record): Unconditionally delegate.
219 * target.h (struct target_ops) <to_goto_record>: Use
220 TARGET_DEFAULT_NORETURN.
221
3679abfa
TT
2222014-02-19 Tom Tromey <tromey@redhat.com>
223
224 * target-delegates.c: Rebuild.
225 * target.c (target_insn_history): Unconditionally delegate.
226 * target.h (struct target_ops) <to_insn_history>: Use
227 TARGET_DEFAULT_NORETURN.
228
8444ab58
TT
2292014-02-19 Tom Tromey <tromey@redhat.com>
230
231 * target-delegates.c: Rebuild.
232 * target.c (target_insn_history_from): Unconditionally delegate.
233 * target.h (struct target_ops) <to_insn_history_from>: Use
234 TARGET_DEFAULT_NORETURN.
235
c29302cc
TT
2362014-02-19 Tom Tromey <tromey@redhat.com>
237
238 * target-delegates.c: Rebuild.
239 * target.c (target_insn_history_range): Unconditionally delegate.
240 * target.h (struct target_ops) <to_insn_history_range>: Use
241 TARGET_DEFAULT_NORETURN.
242
170049d4
TT
2432014-02-19 Tom Tromey <tromey@redhat.com>
244
245 * target-delegates.c: Rebuild.
246 * target.c (target_call_history): Unconditionally delegate.
247 * target.h (struct target_ops) <to_call_history>: Use
248 TARGET_DEFAULT_NORETURN.
249
16fc27d6
TT
2502014-02-19 Tom Tromey <tromey@redhat.com>
251
252 * target-delegates.c: Rebuild.
253 * target.c (target_call_history_from): Unconditionally delegate.
254 * target.h (struct target_ops) <to_call_history_from>: Use
255 TARGET_DEFAULT_NORETURN.
256
115d9817
TT
2572014-02-19 Tom Tromey <tromey@redhat.com>
258
259 * target-delegates.c: Rebuild.
260 * target.c (target_call_history_range): Unconditionally delegate.
261 * target.h (struct target_ops) <to_call_history_range>: Use
262 TARGET_DEFAULT_NORETURN.
263
eb276a6b
TT
2642014-02-19 Tom Tromey <tromey@redhat.com>
265
266 * target-delegates.c: Rebuild.
267 * target.c (target_verify_memory): Unconditionally delegate.
268 * target.h (struct target_ops) <to_verify_memory>: Use
269 TARGET_DEFAULT_NORETURN.
270
9e538d0d
TT
2712014-02-19 Tom Tromey <tromey@redhat.com>
272
273 * target-delegates.c: Rebuild.
274 * target.c (target_core_of_thread): Unconditionally delegate.
275 * target.h (struct target_ops) <to_core_of_thread>: Use
276 TARGET_DEFAULT_RETURN.
277
f6fb2925
TT
2782014-02-19 Tom Tromey <tromey@redhat.com>
279
280 * target-delegates.c: Rebuild.
281 * target.c (target_flash_done): Unconditionally delegate.
282 * target.h (struct target_ops) <to_flash_done>: Use
283 TARGET_DEFAULT_NORETURN.
284
e8a6c6ac
TT
2852014-02-19 Tom Tromey <tromey@redhat.com>
286
287 * target-delegates.c: Rebuild.
288 * target.c (target_flash_erase): Unconditionally delegate.
289 * target.h (struct target_ops) <to_flash_erase>: Use
290 TARGET_DEFAULT_NORETURN.
291
7e35c012
TT
2922014-02-19 Tom Tromey <tromey@redhat.com>
293
294 * target-delegates.c: Rebuild.
295 * target.c (target_get_section_table): Unconditionally delegate.
296 * target.h (struct target_ops) <to_get_section_table>: Use
297 TARGET_DEFAULT_RETURN.
298
770234d3
TT
2992014-02-19 Tom Tromey <tromey@redhat.com>
300
301 * target-delegates.c: Rebuild.
302 * target.c (target_pid_to_str): Unconditionally delegate.
303 (init_dummy_target): Don't initialize to_pid_to_str.
304 (default_pid_to_str): Rename from dummy_pid_to_str.
305 * target.h (struct target_ops) <to_pid_to_str>: Use
306 TARGET_DEFAULT_FUNC.
307
09b0dc2b
TT
3082014-02-19 Tom Tromey <tromey@redhat.com>
309
310 * target-delegates.c: Rebuild.
311 * target.c (target_find_new_threads): Unconditionally delegate.
312 * target.h (struct target_ops) <to_find_new_threads>: Use
313 TARGET_DEFAULT_RETURN.
314
7d4f8efa
TT
3152014-02-19 Tom Tromey <tromey@redhat.com>
316
317 * target-delegates.c: Rebuild.
318 * target.c (target_program_signals): Unconditionally delegate.
319 * target.h (struct target_ops) <to_program_signals>: Use
320 TARGET_DEFAULT_IGNORE.
321
035cad7f
TT
3222014-02-19 Tom Tromey <tromey@redhat.com>
323
324 * target-delegates.c: Rebuild.
325 * target.c (target_pass_signals): Unconditionally delegate.
326 * target.h (struct target_ops) <to_pass_signals>: Use
327 TARGET_DEFAULT_IGNORE.
328
8d657035
TT
3292014-02-19 Tom Tromey <tromey@redhat.com>
330
331 * target-delegates.c: Rebuild.
332 * target.c (default_mourn_inferior): New function.
333 (target_mourn_inferior): Unconditionally delegate.
334 * target.h (struct target_ops) <to_mourn_inferior>: Use
335 TARGET_DEFAULT_FUNC.
336
098dba18
TT
3372014-02-19 Tom Tromey <tromey@redhat.com>
338
339 * target-delegates.c: Rebuild.
340 * target.c (default_follow_fork): New function.
341 (target_follow_fork): Unconditionally delegate.
342 * target.h (struct target_ops) <to_follow_fork>: Use
343 TARGET_DEFAULT_FUNC.
344
423a4807
TT
3452014-02-19 Tom Tromey <tromey@redhat.com>
346
347 * target-delegates.c: Rebuild.
348 * target.c (target_kill): Unconditionally delegate.
349 * target.h (struct target_ops) <to_kill>: Use
350 TARGET_DEFAULT_NORETURN.
351
6c7e5e5c
TT
3522014-02-19 Tom Tromey <tromey@redhat.com>
353
354 * target-delegates.c: Rebuild.
355 * target.c (target_masked_watch_num_registers): Unconditionally
356 delegate.
357 * target.h (struct target_ops) <to_masked_watch_num_registers>:
358 Use TARGET_DEFAULT_RETURN.
359
8b1c364c
TT
3602014-02-19 Tom Tromey <tromey@redhat.com>
361
362 * target-delegates.c: Rebuild.
363 * target.c (target_remove_mask_watchpoint): Unconditionally
364 delegate.
365 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
366 TARGET_DEFAULT_RETURN.
367
cd4ae029
TT
3682014-02-19 Tom Tromey <tromey@redhat.com>
369
370 * target-delegates.c: Rebuild.
371 * target.c (target_insert_mask_watchpoint): Unconditionally
372 delegate.
373 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
374 TARGET_DEFAULT_RETURN.
375
a134316b
TT
3762014-02-19 Tom Tromey <tromey@redhat.com>
377
378 * target-delegates.c: Rebuild.
379 * target.c (target_ranged_break_num_registers): Unconditionally
380 delegate.
381 * target.h (struct target_ops) <to_ranged_break_num_registers>:
382 Use TARGET_DEFAULT_RETURN.
383
ad5989bd
TT
3842014-02-19 Tom Tromey <tromey@redhat.com>
385
386 * target-delegates.c: Rebuild.
387 * target.c (target_fetch_registers): Unconditionally delegate.
388 * target.h (struct target_ops) <to_fetch_registers>: Use
389 TARGET_DEFAULT_NORETURN.
390
46ee7e8d
TT
3912014-02-19 Tom Tromey <tromey@redhat.com>
392
393 * target-delegates.c: Rebuild.
394 * target.c (update_current_target): Don't inherit or default
395 to_stop.
396 * target.h (struct target_ops) <to_stop>: Use
397 TARGET_DEFAULT_IGNORE.
398
843f59ed
TT
3992014-02-19 Tom Tromey <tromey@redhat.com>
400
401 * target-delegates.c: Rebuild.
402 * target.c (update_current_target): Don't inherit or default
403 to_can_run_breakpoint_commands.
404 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
405 Use TARGET_DEFAULT_RETURN.
406
ccfde2a0
TT
4072014-02-19 Tom Tromey <tromey@redhat.com>
408
409 * target-delegates.c: Rebuild.
410 * target.c (update_current_target): Don't inherit or default
411 to_supports_evaluation_of_breakpoint_conditions.
412 * target.h (struct target_ops)
413 <to_supports_evaluation_of_breakpoint_conditions>: Use
414 TARGET_DEFAULT_RETURN.
415
0de91722
TT
4162014-02-19 Tom Tromey <tromey@redhat.com>
417
418 * target-delegates.c: Rebuild.
419 * target.c (update_current_target): Don't inherit or default
420 to_augmented_libraries_svr4_read.
421 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
422 Use TARGET_DEFAULT_RETURN.
423
9a7d8b48
TT
4242014-02-19 Tom Tromey <tromey@redhat.com>
425
426 * target-delegates.c: Rebuild.
427 * target.c (update_current_target): Don't inherit or default
428 to_can_use_agent.
429 * target.h (struct target_ops) <to_can_use_agent>: Use
430 TARGET_DEFAULT_RETURN.
431
d9db5b21
TT
4322014-02-19 Tom Tromey <tromey@redhat.com>
433
434 * target-delegates.c: Rebuild.
435 * target.c (update_current_target): Don't inherit or default
436 to_use_agent.
437 * target.h (struct target_ops) <to_use_agent>: Use
438 TARGET_DEFAULT_NORETURN.
439
92155eeb
TT
4402014-02-19 Tom Tromey <tromey@redhat.com>
441
442 * target-delegates.c: Rebuild.
443 * target.c (update_current_target): Don't inherit or default
444 to_traceframe_info.
445 (return_null): Remove.
446 * target.h (struct target_ops) <to_traceframe_info>: Use
447 TARGET_DEFAULT_RETURN.
448
d6522a22
TT
4492014-02-19 Tom Tromey <tromey@redhat.com>
450
451 * target-delegates.c: Rebuild.
452 * target.c (update_current_target): Don't inherit or default
453 to_static_tracepoint_markers_by_strid.
454 * target.h (struct target_ops)
455 <to_static_tracepoint_markers_by_strid>: Use
456 TARGET_DEFAULT_NORETURN.
457
4c3e4425
TT
4582014-02-19 Tom Tromey <tromey@redhat.com>
459
460 * target-delegates.c: Rebuild.
461 * target.c (update_current_target): Don't inherit or default
462 to_static_tracepoint_marker_at.
463 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
464 Use TARGET_DEFAULT_RETURN.
465
dcd6917f
TT
4662014-02-19 Tom Tromey <tromey@redhat.com>
467
468 * target-delegates.c: Rebuild.
469 * target.c (update_current_target): Don't inherit or default
470 to_set_permissions.
471 * target.h (struct target_ops) <to_set_permissions>: Use
472 TARGET_DEFAULT_IGNORE.
473
22bcceee
TT
4742014-02-19 Tom Tromey <tromey@redhat.com>
475
476 * target-delegates.c: Rebuild.
477 * target.c (update_current_target): Don't inherit or default
478 to_get_tib_address.
479 * target.h (struct target_ops) <to_get_tib_address>: Use
480 TARGET_DEFAULT_NORETURN.
481
8586ccaa
TT
4822014-02-19 Tom Tromey <tromey@redhat.com>
483
484 * target-delegates.c: Rebuild.
485 * target.c (update_current_target): Don't inherit or default
486 to_set_trace_notes.
487 * target.h (struct target_ops) <to_set_trace_notes>: Use
488 TARGET_DEFAULT_RETURN.
489
91df8d1d
TT
4902014-02-19 Tom Tromey <tromey@redhat.com>
491
492 * target-delegates.c: Rebuild.
493 * target.c (update_current_target): Don't initialize
494 to_set_trace_buffer_size.
495 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
496 TARGET_DEFAULT_IGNORE.
497
8d526939
TT
4982014-02-19 Tom Tromey <tromey@redhat.com>
499
500 * target-delegates.c: Rebuild.
501 * target.c (update_current_target): Don't inherit or default
502 to_set_circular_trace_buffer.
503 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
504 TARGET_DEFAULT_IGNORE.
505
0bcfeddf
TT
5062014-02-19 Tom Tromey <tromey@redhat.com>
507
508 * target-delegates.c: Rebuild.
509 * target.c (update_current_target): Don't inherit or default
510 to_set_disconnected_tracing.
511 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
512 TARGET_DEFAULT_IGNORE.
513
9249843f
TT
5142014-02-19 Tom Tromey <tromey@redhat.com>
515
516 * target-delegates.c: Rebuild.
517 * target.c (update_current_target): Don't inherit or default
518 to_get_min_fast_tracepoint_insn_len.
519 (return_minus_one): Remove.
520 * target.h (struct target_ops)
521 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
522
ace92e7d
TT
5232014-02-19 Tom Tromey <tromey@redhat.com>
524
525 * target-delegates.c: Rebuild.
526 * target.c (update_current_target): Don't inherit or default
527 to_get_raw_trace_data.
528 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
529 TARGET_DEFAULT_NORETURN.
530
08120467
TT
5312014-02-19 Tom Tromey <tromey@redhat.com>
532
533 * target-delegates.c: Rebuild.
534 * target.c (update_current_target): Don't inherit or default
535 to_upload_trace_state_variables.
536 * target.h (struct target_ops) <to_upload_trace_state_variables>:
537 Use TARGET_DEFAULT_RETURN.
538
1e949b00
TT
5392014-02-19 Tom Tromey <tromey@redhat.com>
540
541 * target-delegates.c: Rebuild.
542 * target.c (update_current_target): Don't inherit or default
543 to_upload_tracepoints.
544 * target.h (struct target_ops) <to_upload_tracepoints>: Use
545 TARGET_DEFAULT_RETURN.
546
a2e6c147
TT
5472014-02-19 Tom Tromey <tromey@redhat.com>
548
549 * target-delegates.c: Rebuild.
550 * target.c (update_current_target): Don't inherit or default
551 to_save_trace_data.
552 * target.h (struct target_ops) <to_save_trace_data>: Use
553 TARGET_DEFAULT_NORETURN.
554
959bcd0b
TT
5552014-02-19 Tom Tromey <tromey@redhat.com>
556
557 * target-delegates.c: Rebuild.
558 * target.c (update_current_target): Don't inherit or default
559 to_get_trace_state_variable_value.
560 * target.h (struct target_ops)
561 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
562
afc94e66
TT
5632014-02-19 Tom Tromey <tromey@redhat.com>
564
565 * target-delegates.c: Rebuild.
566 * target.c (update_current_target): Don't inherit or default
567 to_trace_find.
568 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
569
e51c07ea
TT
5702014-02-19 Tom Tromey <tromey@redhat.com>
571
572 * target-delegates.c: Rebuild.
573 * target.c (update_current_target): Don't inherit or default
574 to_trace_stop.
575 * target.h (struct target_ops) <to_trace_stop>: Use
576 TARGET_DEFAULT_NORETURN.
577
6fea14cd
TT
5782014-02-19 Tom Tromey <tromey@redhat.com>
579
580 * target-delegates.c: Rebuild.
581 * target.c (update_current_target): Don't inherit or default
582 to_get_tracepoint_status.
583 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
584 TARGET_DEFAULT_NORETURN.
585
4072d4ff
TT
5862014-02-19 Tom Tromey <tromey@redhat.com>
587
588 * target-delegates.c: Rebuild.
589 * target.c (update_current_target): Don't inherit or default
590 to_get_trace_status.
591 * target.h (struct target_ops) <to_get_trace_status>: Use
592 TARGET_DEFAULT_RETURN.
593
25da2e80
TT
5942014-02-19 Tom Tromey <tromey@redhat.com>
595
596 * target-delegates.c: Rebuild.
597 * target.c (update_current_target): Don't inherit or default
598 to_trace_start.
599 * target.h (struct target_ops) <to_trace_start>: Use
600 TARGET_DEFAULT_NORETURN.
601
86dd181d
TT
6022014-02-19 Tom Tromey <tromey@redhat.com>
603
604 * target-delegates.c: Rebuild.
605 * target.c (update_current_target): Don't inherit or default
606 to_trace_set_readonly_regions.
607 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
608 Use TARGET_DEFAULT_NORETURN.
609
05c41993
TT
6102014-02-19 Tom Tromey <tromey@redhat.com>
611
612 * target-delegates.c: Rebuild.
613 * target.c (update_current_target): Don't inherit or default
614 to_disable_tracepoint.
615 * target.h (struct target_ops) <to_disable_tracepoint>: Use
616 TARGET_DEFAULT_NORETURN.
617
151f70f1
TT
6182014-02-19 Tom Tromey <tromey@redhat.com>
619
620 * target-delegates.c: Rebuild.
621 * target.c (update_current_target): Don't inherit or default
622 to_enable_tracepoint.
623 * target.h (struct target_ops) <to_enable_tracepoint>: Use
624 TARGET_DEFAULT_NORETURN.
625
94eb98b9
TT
6262014-02-19 Tom Tromey <tromey@redhat.com>
627
628 * target-delegates.c: Rebuild.
629 * target.c (update_current_target): Don't inherit or default
630 to_download_trace_state_variable.
631 * target.h (struct target_ops) <to_download_trace_state_variable>:
632 Use TARGET_DEFAULT_NORETURN.
633
719acc4a
TT
6342014-02-19 Tom Tromey <tromey@redhat.com>
635
636 * target-delegates.c: Rebuild.
637 * target.c (update_current_target): Don't inherit or default
638 to_can_download_tracepoint.
639 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
640 TARGET_DEFAULT_RETURN.
641
9a980a22
TT
6422014-02-19 Tom Tromey <tromey@redhat.com>
643
644 * target-delegates.c: Rebuild.
645 * target.c (update_current_target): Don't inherit or default
646 to_download_tracepoint.
647 * target.h (struct target_ops) <to_download_tracepoint>: Use
648 TARGET_DEFAULT_NORETURN.
649
5536135b
TT
6502014-02-19 Tom Tromey <tromey@redhat.com>
651
652 * target-delegates.c: Rebuild.
653 * target.c (update_current_target): Don't inherit or default
654 to_trace_init.
655 * target.h (struct target_ops) <to_trace_init>: Use
656 TARGET_DEFAULT_RETURN.
657
9409d39e
TT
6582014-02-19 Tom Tromey <tromey@redhat.com>
659
660 * target-delegates.c: Rebuild.
661 * target.c (update_current_target): Don't inherit or default
662 to_supports_string_tracing.
663 * target.h (struct target_ops) <to_supports_string_tracing>: Use
664 TARGET_DEFAULT_RETURN.
665
aab1b22d
TT
6662014-02-19 Tom Tromey <tromey@redhat.com>
667
668 * target-delegates.c: Rebuild.
669 * target.c (update_current_target): Don't inherit or default
670 to_supports_enable_disable_tracepoint.
671 * target.h (struct target_ops)
672 <to_supports_enable_disable_tracepoint>: Use
673 TARGET_DEFAULT_RETURN.
674
a7304748
TT
6752014-02-19 Tom Tromey <tromey@redhat.com>
676
677 * target-delegates.c: Rebuild.
678 * target.c (update_current_target): Don't inherit or default
679 to_supports_multi_process.
680 * target.h (struct target_ops) <to_supports_multi_process>: Use
681 TARGET_DEFAULT_RETURN.
682
4229b31d
TT
6832014-02-19 Tom Tromey <tromey@redhat.com>
684
685 * target-delegates.c: Rebuild.
686 * target.c (update_current_target): Don't inherit or default
687 to_get_ada_task_ptid.
688 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
689 TARGET_DEFAULT_FUNC.
690
43eba180
TT
6912014-02-19 Tom Tromey <tromey@redhat.com>
692
693 * target-delegates.c: Rebuild.
694 * target.c (update_current_target): Don't inherit or default
695 to_thread_architecture.
696 * target.h (struct target_ops) <to_thread_architecture>: Use
697 TARGET_DEFAULT_FUNC.
698
fe31bf5b
TT
6992014-02-19 Tom Tromey <tromey@redhat.com>
700
701 * target-delegates.c: Rebuild.
702 * target.c (update_current_target): Don't inherit or default
703 to_execution_direction.
704 * target.h (struct target_ops) <to_execution_direction>: Use
705 TARGET_DEFAULT_FUNC.
706
53e1cfc7
TT
7072014-02-19 Tom Tromey <tromey@redhat.com>
708
709 * target-delegates.c: Rebuild.
710 * target.c (update_current_target): Don't inherit or default
711 to_can_execute_reverse.
712 * target.h (struct target_ops) <to_can_execute_reverse>: Use
713 TARGET_DEFAULT_RETURN.
714 (target_can_execute_reverse): Unconditionally delegate.
715
9bb9d61d
TT
7162014-02-19 Tom Tromey <tromey@redhat.com>
717
718 * target-delegates.c: Rebuild.
719 * target.c (update_current_target): Don't inherit or default
720 to_goto_bookmark.
721 (dummy_goto_bookmark): Remove.
722 (init_dummy_target): Don't inherit or default to_goto_bookmark.
723 * target.h (struct target_ops) <to_goto_bookmark>: Use
724 TARGET_DEFAULT_NORETURN.
725
3dbafbbb
TT
7262014-02-19 Tom Tromey <tromey@redhat.com>
727
728 * target-delegates.c: Rebuild.
729 * target.c (update_current_target): Don't inherit or default
730 to_get_bookmark.
731 (dummy_get_bookmark): Remove.
732 (init_dummy_target): Don't inherit or default to_get_bookmark.
733 * target.h (struct target_ops) <to_get_bookmark>: Use
734 TARGET_DEFAULT_NORETURN
735
16f796b1
TT
7362014-02-19 Tom Tromey <tromey@redhat.com>
737
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_make_corefile_notes.
741 (init_dummy_target): Don't initialize to_make_corefile_notes.
742 * target.h (struct target_ops) <to_make_corefile_notes>: Use
743 TARGET_DEFAULT_FUNC.
744
0b5a2719
TT
7452014-02-19 Tom Tromey <tromey@redhat.com>
746
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_find_memory_regions.
750 (init_dummy_target): Don't initialize to_find_memory_regions.
751 * target.h (struct target_ops) <to_find_memory_regions>: Use
752 TARGET_DEFAULT_FUNC.
753
d9cb0195
TT
7542014-02-19 Tom Tromey <tromey@redhat.com>
755
756 * target-delegates.c: Rebuild.
757 * target.c (update_current_target): Don't inherit or default
758 to_log_command.
759 * target.h (struct target_ops) <to_log_command>: Use
760 TARGET_DEFAULT_IGNORE.
761 (target_log_command): Unconditionally delegate.
762
830ca330
TT
7632014-02-19 Tom Tromey <tromey@redhat.com>
764
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_pid_to_exec_file.
768 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
769 TARGET_DEFAULT_RETURN.
770
825828fc
TT
7712014-02-19 Tom Tromey <tromey@redhat.com>
772
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
775 to_thread_name.
776 (target_thread_name): Unconditionally delegate.
777 * target.h (struct target_ops) <to_thread_name>: Use
778 TARGET_DEFAULT_RETURN.
779
4a7e6dda
TT
7802014-02-19 Tom Tromey <tromey@redhat.com>
781
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
784 to_extra_thread_info.
785 * target.h (struct target_ops) <to_extra_thread_info>: Use
786 TARGET_DEFAULT_RETURN.
787
0db88c1d
TT
7882014-02-19 Tom Tromey <tromey@redhat.com>
789
790 * target-delegates.c: Rebuild.
791 * target.c (update_current_target): Don't inherit or default
792 to_has_exited.
793 * target.h (struct target_ops) <to_has_exited>: Use
794 TARGET_DEFAULT_RETURN..
795
6a9fa051
TT
7962014-02-19 Tom Tromey <tromey@redhat.com>
797
798 * target-delegates.c: Rebuild.
799 * target.c (update_current_target): Don't inherit or default
800 to_set_syscall_catchpoint.
801 (return_one): Remove.
802 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
803 TARGET_DEFAULT_RETURN.
804
62f64d7a
TT
8052014-02-19 Tom Tromey <tromey@redhat.com>
806
807 * target-delegates.c: Rebuild.
808 * target.c (update_current_target): Don't inherit or default
809 to_insert_exec_catchpoint.
810 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
811 TARGET_DEFAULT_RETURN.
812
cda0f38c
TT
8132014-01-08 Tom Tromey <tromey@redhat.com>
814
815 * target-delegates.c: Rebuild.
816 * target.c (update_current_target): Don't inherit or default
817 to_insert_exec_catchpoint.
818 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
819 TARGET_DEFAULT_RETURN.
820
95c3375e
TT
8212014-02-19 Tom Tromey <tromey@redhat.com>
822
823 * target-delegates.c: Rebuild.
824 * target.c (update_current_target): Don't inherit or default
825 to_remove_vfork_catchpoint.
826 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
827 TARGET_DEFAULT_RETURN.
828
7e18a8dc
TT
8292014-02-19 Tom Tromey <tromey@redhat.com>
830
831 * target-delegates.c: Rebuild.
832 * target.c (update_current_target): Don't inherit or default
833 to_insert_vfork_catchpoint.
834 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
835 TARGET_DEFAULT_RETURN.
836
e1a21fb7
TT
8372014-02-19 Tom Tromey <tromey@redhat.com>
838
839 * target-delegates.c: Rebuild.
840 * target.c (update_current_target): Don't inherit or default
841 to_remove_fork_catchpoint.
842 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
843 TARGET_DEFAULT_RETURN.
844
5958ebeb
TT
8452014-02-19 Tom Tromey <tromey@redhat.com>
846
847 * target-delegates.c: Rebuild.
848 * target.c (update_current_target): Don't inherit or default
849 to_insert_fork_catchpoint.
850 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
851 TARGET_DEFAULT_RETURN.
852
340ba4bf
TT
8532014-02-19 Tom Tromey <tromey@redhat.com>
854
855 * target-delegates.c: Rebuild.
856 * target.c (update_current_target): Don't inherit or default
857 to_post_startup_inferior.
858 * target.h (struct target_ops) <to_post_startup_inferior>: Use
859 TARGET_DEFAULT_IGNORE.
860
7634da87
TT
8612014-02-19 Tom Tromey <tromey@redhat.com>
862
863 * target-delegates.c: Rebuild.
864 * target.c (update_current_target): Don't inherit or default
865 to_load.
866 * target.h (struct target_ops) <to_load>: Use
867 TARGET_DEFAULT_NORETURN.
868
e19e919f
TT
8692014-02-19 Tom Tromey <tromey@redhat.com>
870
871 * target-delegates.c: Rebuild.
872 * target.c (update_current_target): Don't inherit or default
873 to_terminal_info.
874 * target.h (struct target_ops) <to_terminal_info>: Use
875 TARGET_DEFAULT_FUNC.
876
c6ea8f79
TT
8772014-02-19 Tom Tromey <tromey@redhat.com>
878
879 * target-delegates.c: Rebuild.
880 * target.c (update_current_target): Don't inherit or default
881 to_terminal_save_ours.
882 * target.h (struct target_ops) <to_terminal_save_ours>: Use
883 TARGET_DEFAULT_IGNORE.
884
e4a733f1
TT
8852014-02-19 Tom Tromey <tromey@redhat.com>
886
887 * target-delegates.c: Rebuild.
888 * target.c (update_current_target): Don't inherit or default
889 to_terminal_ours.
890 * target.h (struct target_ops) <to_terminal_ours>: Use
891 TARGET_DEFAULT_IGNORE.
892
74fcbef9
TT
8932014-02-19 Tom Tromey <tromey@redhat.com>
894
895 * target-delegates.c: Rebuild.
896 * target.c (update_current_target): Don't inherit or default
897 to_terminal_ours_for_output.
898 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
899 TARGET_DEFAULT_IGNORE.
900
ddeaacc9
TT
9012014-02-19 Tom Tromey <tromey@redhat.com>
902
903 * target-delegates.c: Rebuild.
904 * target.c (update_current_target): Don't inherit or default
905 to_terminal_inferior.
906 * target.h (struct target_ops) <to_terminal_inferior>: Use
907 TARGET_DEFAULT_IGNORE.
908
0343661d
TT
9092014-02-19 Tom Tromey <tromey@redhat.com>
910
911 * target-delegates.c: Rebuild.
912 * target.c (update_current_target): Don't inherit or default
913 to_terminal_init.
914 * target.h (struct target_ops) <to_terminal_init>: Use
915 TARGET_DEFAULT_IGNORE.
916
77cdffe9
TT
9172014-02-19 Tom Tromey <tromey@redhat.com>
918
919 * target-delegates.c: Rebuild.
920 * target.c (update_current_target): Don't inherit or default
921 to_can_accel_watchpoint_condition.
922 * target.h (struct target_ops)
923 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
924
d03655e4
TT
9252014-02-19 Tom Tromey <tromey@redhat.com>
926
927 * target-delegates.c: Rebuild.
928 * target.c (update_current_target): Don't inherit or default
929 to_region_ok_for_hw_watchpoint.
930 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
931 Use TARGET_DEFAULT_FUNC.
932
65f160a9
TT
9332014-02-19 Tom Tromey <tromey@redhat.com>
934
935 * target-delegates.c: Rebuild.
936 * target.c (update_current_target): Don't inherit or default
937 to_watchpoint_addr_within_range.
938 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
939 Use TARGET_DEFAULT_FUNC.
940
61dd109f
TT
9412014-02-19 Tom Tromey <tromey@redhat.com>
942
943 * target-delegates.c: Rebuild.
944 * target.c (update_current_target): Don't inherit or default
945 to_remove_watchpoint.
946 * target.h (struct target_ops) <to_remove_watchpoint>: Use
947 TARGET_DEFAULT_NORETURN.
948
016facd4
TT
9492014-02-19 Tom Tromey <tromey@redhat.com>
950
951 * target-delegates.c: Rebuild.
952 * target.c (update_current_target): Don't inherit or default
953 to_insert_watchpoint.
954 * target.h (struct target_ops) <to_insert_watchpoint>: Use
955 TARGET_DEFAULT_RETURN.
956
418dabac
TT
9572014-02-19 Tom Tromey <tromey@redhat.com>
958
959 * target-delegates.c: Rebuild.
960 * target.c (update_current_target): Don't inherit or default
961 to_remove_hw_breakpoint.
962 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
963 TARGET_DEFAULT_RETURN.
964
61b371f9
TT
9652014-02-19 Tom Tromey <tromey@redhat.com>
966
967 * target-delegates.c: Rebuild.
968 * target.c (update_current_target): Don't inherit or default
969 to_insert_hw_breakpoint.
970 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
971 TARGET_DEFAULT_RETURN.
972
52b51d06
TT
9732014-02-19 Tom Tromey <tromey@redhat.com>
974
975 * target-delegates.c: Rebuild.
976 * target.c (update_current_target): Don't inherit or default
977 to_can_use_hw_breakpoint.
978 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
979 TARGET_DEFAULT_RETURN.
980
f86e59b2
TT
9812014-02-19 Tom Tromey <tromey@redhat.com>
982
983 * target-delegates.c: Rebuild.
984 * target.c (update_current_target): Don't inherit or default
985 to_files_info.
986 * target.h (struct target_ops) <to_files_info>: Use
987 TARGET_DEFAULT_IGNORE.
988
6c628163
TT
9892014-02-19 Tom Tromey <tromey@redhat.com>
990
991 * target-delegates.c: Rebuild.
992 * target.c (update_current_target): Don't inherit or default
993 to_store.
994 * target.h (struct target_ops) <to_store>: Use
995 TARGET_DEFAULT_NORETURN.
996
bebd3233
TT
9972014-02-19 Tom Tromey <tromey@redhat.com>
998
999 * target-delegates.c: Rebuild.
1000 * target.c (update_current_target): Don't inherit or default
1001 to_post_attach.
1002 * target.h (struct target_ops) <to_post_attach>: Use
1003 TARGET_DEFAULT_IGNORE.
1004
a53f3625
TT
10052014-02-19 Tom Tromey <tromey@redhat.com>
1006
1007 * target-delegates.c: Rebuild.
1008 * target.c (update_current_target): Don't inherit or default
1009 to_rcmd.
1010 (default_rcmd): New function.
1011 (do_monitor_command): Unconditionally delegate.
1012 * target.h (struct target_ops) <to_rmcd>: Use
1013 TARGET_DEFAULT_FUNC.
1014
e9a29200
TT
10152014-02-19 Tom Tromey <tromey@redhat.com>
1016
1017 * target-delegates.c: Rebuild.
1018 * target.c (init_dummy_target): Don't initialize to_attach.
1019 (target_attach): Unconditionally delegate.
1020 * target.h (struct target_ops) <to_attach>: Use
1021 TARGET_DEFAULT_FUNC.
1022
09da0d0a
TT
10232014-02-19 Tom Tromey <tromey@redhat.com>
1024
1025 * target-delegates.c: Rebuild.
1026 * target.c (target_detach): Unconditionally delegate.
1027 (init_dummy_target): Don't initialize to_detach.
1028 * target.h (struct target_ops) <to_detach>: Use
1029 TARGET_DEFAULT_IGNORE.
1030
5436ff03
TT
10312014-02-19 Tom Tromey <tromey@redhat.com>
1032
1033 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1034 Add argument.
1035 (target_augmented_libraries_svr4_read): Add argument.
1036 * target.c (update_current_target): Update.
1037 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1038 argument.
1039
f0d960ea
TT
10402014-02-19 Tom Tromey <tromey@redhat.com>
1041
1042 * target.h (struct target_ops) <to_call_history_range>: Add
1043 argument.
1044 * target.c (target_call_history_range): Add argument.
1045 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1046 argument.
1047 (record_btrace_call_history_from): Update.
1048
ec0aea04
TT
10492014-02-19 Tom Tromey <tromey@redhat.com>
1050
1051 * target.h (struct target_ops) <to_call_history_from>: Add
1052 argument.
1053 * target.c (target_call_history_from): Add argument.
1054 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1055 argument.
1056
5df2fcba
TT
10572014-02-19 Tom Tromey <tromey@redhat.com>
1058
1059 * target.h (struct target_ops) <to_call_history>: Add argument.
1060 * target.c (target_call_history): Add argument.
1061 * record-btrace.c (record_btrace_call_history): Add 'self'
1062 argument.
1063
4e99c6b7
TT
10642014-02-19 Tom Tromey <tromey@redhat.com>
1065
1066 * target.h (struct target_ops) <to_insn_history_range>: Add
1067 argument.
1068 * target.c (target_insn_history_range): Add argument.
1069 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1070 argument.
1071 (record_btrace_insn_history_from): Update.
1072
9abc3ff3
TT
10732014-02-19 Tom Tromey <tromey@redhat.com>
1074
1075 * target.h (struct target_ops) <to_insn_history_from>: Add
1076 argument.
1077 * target.c (target_insn_history_from): Add argument.
1078 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1079 argument.
1080
7a6c5609
TT
10812014-02-19 Tom Tromey <tromey@redhat.com>
1082
1083 * target.h (struct target_ops) <to_insn_history>: Add argument.
1084 * target.c (target_insn_history): Add argument.
1085 * record-btrace.c (record_btrace_insn_history): Add 'self'
1086 argument.
1087
606183ac
TT
10882014-02-19 Tom Tromey <tromey@redhat.com>
1089
1090 * target.h (struct target_ops) <to_goto_record>: Add argument.
1091 * target.c (target_goto_record): Add argument.
1092 * record-full.c (record_full_goto): Add 'self' argument.
1093 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1094
307a1b91
TT
10952014-02-19 Tom Tromey <tromey@redhat.com>
1096
1097 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1098 * target.c (target_goto_record_end): Add argument.
1099 * record-full.c (record_full_goto_end): Add 'self' argument.
1100 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1101
08475817
TT
11022014-02-19 Tom Tromey <tromey@redhat.com>
1103
1104 * target.h (struct target_ops) <to_goto_record_begin>: Add
1105 argument.
1106 * target.c (target_goto_record_begin): Add argument.
1107 * record-full.c (record_full_goto_begin): Add 'self' argument.
1108 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1109 argument.
1110
1c63c994
TT
11112014-02-19 Tom Tromey <tromey@redhat.com>
1112
1113 * target.h (struct target_ops) <to_record_is_replaying>: Add
1114 argument.
1115 * target.c (target_record_is_replaying): Add argument.
1116 * record-full.c (record_full_is_replaying): Add 'self' argument.
1117 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1118 argument.
1119 (record_btrace_xfer_partial, record_btrace_store_registers)
1120 (record_btrace_prepare_to_store, record_btrace_resume)
1121 (record_btrace_wait, record_btrace_decr_pc_after_break)
1122 (record_btrace_find_new_threads, record_btrace_thread_alive):
1123 Update.
1124
d1b55219
TT
11252014-02-19 Tom Tromey <tromey@redhat.com>
1126
1127 * target.h (struct target_ops) <to_delete_record>: Add argument.
1128 * target.c (target_delete_record): Add argument.
1129 * record-full.c (record_full_delete): Add 'self' argument.
1130
1390f529
TT
11312014-02-19 Tom Tromey <tromey@redhat.com>
1132
1133 * target.h (struct target_ops) <to_save_record>: Add argument.
1134 * target.c (target_save_record): Add argument.
1135 * record-full.c (record_full_save): Add 'self' argument.
1136 (record_full_save): Add 'self' argument.
1137
630d6a4a
TT
11382014-02-19 Tom Tromey <tromey@redhat.com>
1139
1140 * target.h (struct target_ops) <to_info_record>: Add argument.
1141 * target.c (target_info_record): Add argument.
1142 * record.c (info_record_command): Add argument.
1143 * record-full.c (record_full_info): Add 'self' argument.
1144 * record-btrace.c (record_btrace_info): Add 'self' argument.
1145
c6cd7c02
TT
11462014-02-19 Tom Tromey <tromey@redhat.com>
1147
1148 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1149 * target.c (target_stop_recording): Add argument.
1150 * record.c (record_stop): Add argument.
1151 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1152 argument.
1153
39c49f83
TT
11542014-02-19 Tom Tromey <tromey@redhat.com>
1155
1156 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1157 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1158 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1159 argument.
1160 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1161 (_initialize_amd64_linux_nat): Use it.
1162 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1163 (_initialize_i386_linux_nat): Use it.
1164
1777056d
TT
11652014-02-19 Tom Tromey <tromey@redhat.com>
1166
1167 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1168 * target.c (target_teardown_btrace): Add argument.
1169 * remote.c (remote_teardown_btrace): Add 'self' argument.
1170 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1171 argument.
1172 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1173 argument.
1174
25e95349
TT
11752014-02-19 Tom Tromey <tromey@redhat.com>
1176
1177 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1178 * target.c (target_disable_btrace): Add argument.
1179 * remote.c (remote_disable_btrace): Add 'self' argument.
1180 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1181 argument.
1182 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1183 argument.
1184
e3c49f88
TT
11852014-02-19 Tom Tromey <tromey@redhat.com>
1186
1187 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1188 * target.c (target_enable_btrace): Add argument.
1189 * remote.c (remote_enable_btrace): Add 'self' argument.
1190 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1191 argument.
1192 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1193 argument.
1194
fe38f897
TT
11952014-02-19 Tom Tromey <tromey@redhat.com>
1196
1197 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1198 (target_can_use_agent): Add argument.
1199 * target.c (update_current_target): Update.
1200 * remote.c (remote_can_use_agent): Add 'self' argument.
1201 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1202
2c152180
TT
12032014-02-19 Tom Tromey <tromey@redhat.com>
1204
1205 * target.h (struct target_ops) <to_use_agent>: Add argument.
1206 (target_use_agent): Add argument.
1207 * target.c (update_current_target): Update.
1208 * remote.c (remote_use_agent): Add 'self' argument.
1209 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1210
a893e81f
TT
12112014-02-19 Tom Tromey <tromey@redhat.com>
1212
1213 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1214 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1215 (target_traceframe_info): Add argument.
1216 * target.c (update_current_target): Update.
1217 * remote.c (remote_traceframe_info): Add 'self' argument.
1218 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1219
c686c57f
TT
12202014-02-19 Tom Tromey <tromey@redhat.com>
1221
1222 * target.h (target_static_tracepoint_markers_by_strid): Add
1223 argument.
1224 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1225 'self' argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (struct target_ops)
1228 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1229 * linux-nat.c (struct target_ops)
1230 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1231
61fc905d
TT
12322014-02-19 Tom Tromey <tromey@redhat.com>
1233
1234 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1235 Add argument.
1236 (target_static_tracepoint_marker_at): Add argument.
1237 * target.c (update_current_target): Update.
1238 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1239 argument.
1240
c378d69d
TT
12412014-02-19 Tom Tromey <tromey@redhat.com>
1242
1243 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1244 (target_set_permissions): Add argument.
1245 * target.c (update_current_target): Update.
1246 * remote.c (remote_set_permissions): Add 'self' argument.
1247 (remote_start_remote): Update.
1248
bd7ae0f5
TT
12492014-02-19 Tom Tromey <tromey@redhat.com>
1250
1251 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1252 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1253 (target_get_tib_address): Add argument.
1254 * target.c (update_current_target): Update.
1255 * remote.c (remote_get_tib_address): Add 'self' argument.
1256
d9e68a2c
TT
12572014-02-19 Tom Tromey <tromey@redhat.com>
1258
1259 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1260 (target_set_trace_notes): Add argument.
1261 * target.c (update_current_target): Update.
1262 * remote.c (remote_set_trace_notes): Add 'self' argument.
1263
4da384be
TT
12642014-02-19 Tom Tromey <tromey@redhat.com>
1265
1266 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1267 argument.
1268 (target_set_trace_buffer_size): Add argument.
1269 * target.c (update_current_target): Update.
1270 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1271
736d5b1f
TT
12722014-02-19 Tom Tromey <tromey@redhat.com>
1273
1274 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1275 argument.
1276 (target_set_circular_trace_buffer): Add argument.
1277 * target.c (update_current_target): Update.
1278 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1279 argument.
1280
37b25738
TT
12812014-02-19 Tom Tromey <tromey@redhat.com>
1282
1283 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1284 argument.
1285 (target_set_disconnected_tracing): Add argument.
1286 * target.c (update_current_target): Update.
1287 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1288
0e67620a
TT
12892014-02-19 Tom Tromey <tromey@redhat.com>
1290
1291 * target.h (struct target_ops)
1292 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1293 (target_get_min_fast_tracepoint_insn_len): Add argument.
1294 * target.c (update_current_target): Update.
1295 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1296 argument.
1297
88ee6f45
TT
12982014-02-19 Tom Tromey <tromey@redhat.com>
1299
1300 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1301 argument.
1302 (target_get_raw_trace_data): Add argument.
1303 * target.c (update_current_target): Update.
1304 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1305
181e3713
TT
13062014-02-19 Tom Tromey <tromey@redhat.com>
1307
1308 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1309 Add argument.
1310 (target_upload_trace_state_variables): Add argument.
1311 * target.c (update_current_target): Update.
1312 * remote.c (remote_upload_trace_state_variables): Add 'self'
1313 argument.
1314 (remote_start_remote): Update.
1315
ab6617cc
TT
13162014-02-19 Tom Tromey <tromey@redhat.com>
1317
1318 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1319 argument.
1320 (target_upload_tracepoints): Add argument.
1321 * target.c (update_current_target): Update.
1322 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1323 (remote_start_remote): Update.
1324
dc3decaf
TT
13252014-02-19 Tom Tromey <tromey@redhat.com>
1326
1327 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1328 (target_save_trace_data): Add argument.
1329 * target.c (update_current_target): Update.
1330 * remote.c (remote_save_trace_data): Add 'self' argument.
1331
4011015b
TT
13322014-02-19 Tom Tromey <tromey@redhat.com>
1333
1334 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1335 argument.
1336 * target.h (struct target_ops)
1337 <to_get_trace_state_variable_value>: Add argument.
1338 (target_get_trace_state_variable_value): Add argument.
1339 * target.c (update_current_target): Update.
1340 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1341 argument.
1342 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1343
bd4c6793
TT
13442014-02-19 Tom Tromey <tromey@redhat.com>
1345
1346 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1347 * target.h (struct target_ops) <to_trace_find>: Add argument.
1348 (target_trace_find): Add argument.
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_trace_find): Add 'self' argument.
1351 * ctf.c (ctf_trace_find): Add 'self' argument.
1352
74499f1b
TT
13532014-02-19 Tom Tromey <tromey@redhat.com>
1354
1355 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1356 (target_trace_stop): Add argument.
1357 * target.c (update_current_target): Update.
1358 * remote.c (remote_trace_stop): Add 'self' argument.
1359
db90e85c
TT
13602014-02-19 Tom Tromey <tromey@redhat.com>
1361
1362 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1363 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1364 argument.
1365 (target_get_tracepoint_status): Add argument.
1366 * target.c (update_current_target): Update.
1367 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1368
8bd200f1
TT
13692014-02-19 Tom Tromey <tromey@redhat.com>
1370
1371 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1372 * target.h (struct target_ops) <to_get_trace_status>: Add
1373 argument.
1374 (target_get_trace_status): Add argument.
1375 * target.c (update_current_target): Update.
1376 * remote.c (remote_get_trace_status): Add 'self' argument.
1377 (remote_start_remote, remote_can_download_tracepoint): Update.
1378 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1379
e2d1aae3
TT
13802014-02-19 Tom Tromey <tromey@redhat.com>
1381
1382 * target.h (struct target_ops) <to_trace_start>: Add argument.
1383 (target_trace_start): Add argument.
1384 * target.c (update_current_target): Update.
1385 * remote.c (remote_trace_start): Add 'self' argument.
1386
583f9a86
TT
13872014-02-19 Tom Tromey <tromey@redhat.com>
1388
1389 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1390 Add argument.
1391 (target_trace_set_readonly_regions): Add argument.
1392 * target.c (update_current_target): Update.
1393 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1394 argument.
1395
780b049c
TT
13962014-02-19 Tom Tromey <tromey@redhat.com>
1397
1398 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1399 argument.
1400 (target_disable_tracepoint): Add argument.
1401 * target.c (update_current_target): Update.
1402 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1403
46670d57
TT
14042014-02-19 Tom Tromey <tromey@redhat.com>
1405
1406 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1407 argument.
1408 (target_enable_tracepoint): Add argument.
1409 * target.c (update_current_target): Update.
1410 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1411
559d2b81
TT
14122014-02-19 Tom Tromey <tromey@redhat.com>
1413
1414 * target.h (struct target_ops) <to_download_trace_state_variable>:
1415 Add argument.
1416 (target_download_trace_state_variable): Add argument.
1417 * target.c (update_current_target): Update.
1418 * remote.c (remote_download_trace_state_variable): Add 'self'
1419 argument.
1420
a52a8357
TT
14212014-02-19 Tom Tromey <tromey@redhat.com>
1422
1423 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1424 argument.
1425 (target_can_download_tracepoint): Add argument.
1426 * target.c (update_current_target): Update.
1427 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1428
548f7808
TT
14292014-02-19 Tom Tromey <tromey@redhat.com>
1430
1431 * target.h (struct target_ops) <to_download_tracepoint>: Add
1432 argument.
1433 (target_download_tracepoint): Add argument.
1434 * target.c (update_current_target): Update.
1435 * remote.c (remote_download_tracepoint): Add 'self' argument.
1436
ecae04e1
TT
14372014-02-19 Tom Tromey <tromey@redhat.com>
1438
1439 * target.h (struct target_ops) <to_trace_init>: Add argument.
1440 (target_trace_init): Add argument.
1441 * target.c (update_current_target): Update.
1442 * remote.c (remote_trace_init): Add 'self' argument.
1443
fab5aa7c
TT
14442014-02-19 Tom Tromey <tromey@redhat.com>
1445
1446 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1447 * target.c (target_fileio_readlink): Add argument.
1448 * remote.c (remote_hostio_readlink): Add 'self' argument.
1449 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1450
dbbca37d
TT
14512014-02-19 Tom Tromey <tromey@redhat.com>
1452
1453 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1454 * target.c (target_fileio_unlink): Add argument.
1455 * remote.c (remote_hostio_unlink): Add 'self' argument.
1456 (remote_file_delete): Update.
1457 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1458
df39ea25
TT
14592014-02-19 Tom Tromey <tromey@redhat.com>
1460
1461 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1462 * target.c (target_fileio_close): Add argument.
1463 * remote.c (remote_hostio_close): Add 'self' argument.
1464 (remote_hostio_close_cleanup): Update.
1465 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1466 Update.
1467 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1468
a3be983c
TT
14692014-02-19 Tom Tromey <tromey@redhat.com>
1470
1471 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1472 * target.c (target_fileio_pread): Add argument.
1473 * remote.c (remote_hostio_pread): Add 'self' argument.
1474 (remote_bfd_iovec_pread, remote_file_get): Update.
1475 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1476
0d866f62
TT
14772014-02-19 Tom Tromey <tromey@redhat.com>
1478
1479 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1480 * target.c (target_fileio_pwrite): Add argument.
1481 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1482 (remote_file_put): Update.
1483 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1484
cd897586
TT
14852014-02-19 Tom Tromey <tromey@redhat.com>
1486
1487 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1488 * target.c (target_fileio_open): Add argument.
1489 * remote.c (remote_hostio_open): Add 'self' argument.
1490 (remote_bfd_iovec_open): Add 'self' argument.
1491 (remote_file_put): Add 'self' argument.
1492 (remote_file_get): Add 'self' argument.
1493 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1494
78eff0ec
TT
14952014-02-19 Tom Tromey <tromey@redhat.com>
1496
1497 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1498 Add argument.
1499 (target_can_run_breakpoint_commands): Add argument.
1500 * target.c (update_current_target): Update.
1501 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1502 argument.
1503 (remote_insert_breakpoint): Add 'self' argument.
1504 (remote_insert_hw_breakpoint): Add 'self' argument.
1505 (remote_can_run_breakpoint_commands): Add 'self' argument.
1506
efcc2da7
TT
15072014-02-19 Tom Tromey <tromey@redhat.com>
1508
1509 * target.h (struct target_ops)
1510 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1511 (target_supports_evaluation_of_breakpoint_conditions): Add
1512 argument.
1513 * target.c (update_current_target): Update.
1514 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1515 argument.
1516 (remote_insert_breakpoint): Add 'self' argument.
1517 (remote_insert_hw_breakpoint): Add 'self' argument.
1518 (remote_supports_cond_breakpoints): Add 'self' argument.
1519
6de37a3a
TT
15202014-02-19 Tom Tromey <tromey@redhat.com>
1521
1522 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1523 argument.
1524 (target_supports_string_tracing): Add argument.
1525 * target.c (update_current_target): Update.
1526 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1527
2bfc0540
TT
15282014-02-19 Tom Tromey <tromey@redhat.com>
1529
1530 * target.h (struct target_ops)
1531 <to_supports_disable_randomization>: Add argument.
1532 * target.c (find_default_supports_disable_randomization): Add
1533 argument.
1534 (target_supports_disable_randomization): Add argument.
1535 (find_default_supports_disable_randomization): Add 'self'
1536 argument.
1537 * remote.c (extended_remote_supports_disable_randomization): Add
1538 'self' argument.
1539 (remote_supports_disable_randomization): Add 'self' argument.
1540 (extended_remote_create_inferior): Update.
1541 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1542 'self' argument.
1543
7d178d6a
TT
15442014-02-19 Tom Tromey <tromey@redhat.com>
1545
1546 * target.h (struct target_ops)
1547 <to_supports_enable_disable_tracepoint>: Add argument.
1548 (target_supports_enable_disable_tracepoint): Add argument.
1549 * target.c (update_current_target): Update.
1550 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1551 argument.
1552
86ce2668
TT
15532014-02-19 Tom Tromey <tromey@redhat.com>
1554
1555 * target.h (struct target_ops) <to_supports_multi_process>: Add
1556 argument.
1557 (target_supports_multi_process): Add argument.
1558 * target.c (update_current_target): Update.
1559 * remote.c (remote_supports_multi_process): Add 'self' argument.
1560 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1561 argument.
1562 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1563 argument.
1564
4c612759
TT
15652014-02-19 Tom Tromey <tromey@redhat.com>
1566
1567 * target.h (struct target_ops) <to_execution_direction>: Add
1568 argument.
1569 (target_execution_direction): Add argument.
1570 * target.c (default_execution_direction): Add 'self' argument.
1571 * record-full.c (record_full_execution_direction): Add 'self'
1572 argument.
1573
19db3e69
TT
15742014-02-19 Tom Tromey <tromey@redhat.com>
1575
1576 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1577 argument.
1578 (target_can_execute_reverse): Add argument.
1579 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1580 * record-full.c (record_full_can_execute_reverse): Add 'self'
1581 argument.
1582 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1583 argument.
1584
1e6b91a4
TT
15852014-02-19 Tom Tromey <tromey@redhat.com>
1586
1587 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1588 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1589 argument.
1590 (target_get_ada_task_ptid): Add argument.
1591 * target.c (update_current_target): Update.
1592 (default_get_ada_task_ptid): Add 'self' argument.
1593 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1594 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1595 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1596 argument.
1597 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1598 argument.
1599 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1600 argument.
1601 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1602 argument.
1603 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1604 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1605 argument.
1606
3c80fb48
TT
16072014-02-19 Tom Tromey <tromey@redhat.com>
1608
1609 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1610 (target_goto_bookmark): Add argument.
1611 * target.c (dummy_goto_bookmark): Add 'self' argument.
1612 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1613
dd0e2830
TT
16142014-02-19 Tom Tromey <tromey@redhat.com>
1615
1616 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1617 (target_get_bookmark): Add argument.
1618 * target.c (dummy_get_bookmark): Add 'self' argument.
1619 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1620
fc6691b2
TT
16212014-02-19 Tom Tromey <tromey@redhat.com>
1622
1623 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1624 argument.
1625 (target_make_corefile_notes): Add argument.
1626 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1627 * procfs.c (procfs_make_note_section): Add 'self' argument.
1628 (procfs_make_note_section): Add 'self' argument.
1629 (procfs_make_note_section): Add 'self' argument.
1630 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1631 argument.
1632 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1633 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1634 * exec.c (exec_make_note_section): Add 'self' argument.
1635 (exec_make_note_section): Add 'self' argument.
1636
2e73927c
TT
16372014-02-19 Tom Tromey <tromey@redhat.com>
1638
1639 * target.h (struct target_ops) <to_find_memory_regions>: Add
1640 argument.
1641 (target_find_memory_regions): Add argument.
1642 * target.c (dummy_find_memory_regions): Add 'self' argument.
1643 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1644 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1645 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1646 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1647 * exec. (exec_do_find_memory_regions): New global.
1648 (exec_set_find_memory_regions): Rewrite.
1649 (exec_find_memory_regions): New function.
1650 (init_exec_ops): Use exec_find_memory_regions.
1651
2a9a2795
TT
16522014-02-19 Tom Tromey <tromey@redhat.com>
1653
1654 * target.h (struct target_ops) <to_supports_non_stop>: Add
1655 argument.
1656 * target.c (find_default_supports_non_stop): Add argument.
1657 (target_supports_non_stop): Add argument.
1658 (find_default_supports_non_stop): Add 'self' argument.
1659 * remote.c (remote_supports_non_stop): Add 'self' argument.
1660 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1661
4ab76ea3
TT
16622014-02-19 Tom Tromey <tromey@redhat.com>
1663
1664 * target.h (struct target_ops) <to_log_command>: Add argument.
1665 (target_log_command): Add argument.
1666 * serial.h (serial_log_command): Add 'self' argument.
1667 * serial.c (serial_log_command): Add 'self' argument.
1668
8dd27370
TT
16692014-02-19 Tom Tromey <tromey@redhat.com>
1670
1671 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1672 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1673 argument.
1674 (target_pid_to_exec_file): Add argument.
1675 * target.c (debug_to_pid_to_exec_file): Add argument.
1676 (update_current_target): Update.
1677 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1678 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1679 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1680 (linux_handle_extended_wait): Update.
1681 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1682 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1683 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1684 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1685
1aac633b
TT
16862014-02-19 Tom Tromey <tromey@redhat.com>
1687
1688 * target.h (struct target_ops) <to_rcmd>: Add argument.
1689 (target_rcmd): Add argument.
1690 * target.c (debug_to_rcmd): Add argument.
1691 (update_current_target, do_monitor_command): Update.
1692 * remote.c (remote_rcmd): Add 'self' argument.
1693 * monitor.c (monitor_rcmd): Add 'self' argument.
1694
1eab8a48
TT
16952014-02-19 Tom Tromey <tromey@redhat.com>
1696
1697 * windows-nat.c (windows_stop): Add 'self' argument.
1698 * target.h (struct target_ops) <to_stop>: Add argument.
1699 * target.c (target_stop): Add argument.
1700 (debug_to_stop): Add argument.
1701 (update_current_target): Update.
1702 * remote.c (remote_stop): Add 'self' argument.
1703 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1704 (gdbsim_cntrl_c): Update.
1705 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1706 * procfs.c (procfs_stop): Add 'self' argument.
1707 * nto-procfs.c (procfs_stop): Add 'self' argument.
1708 * monitor.c (monitor_stop): Add 'self' argument.
1709 (monitor_open): Update.
1710 * linux-nat.c (linux_nat_stop): Add argument.
1711 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1712 * gnu-nat.c (gnu_stop): Add 'self' argument.
1713 * darwin-nat.c (darwin_stop): Add 'self' argument.
1714
503a628d
TT
17152014-02-19 Tom Tromey <tromey@redhat.com>
1716
1717 * target.h (struct target_ops) <to_thread_name>: Add argument.
1718 * target.c (target_thread_name): Add argument.
1719 (update_current_target): Update.
1720 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1721
c15906d8
TT
17222014-02-19 Tom Tromey <tromey@redhat.com>
1723
1724 * target.h (struct target_ops) <to_extra_thread_info>: Add
1725 argument.
1726 (target_extra_thread_info): Add argument.
1727 * target.c (update_current_target): Update.
1728 * remote.c (remote_threads_extra_info): Add 'self' argument.
1729 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1730 argument.
1731 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1732 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1733 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1734 argument.
1735 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1736 argument.
1737 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1738 argument.
1739 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1740 argument.
1741
daf5e9b6
TT
17422014-02-19 Tom Tromey <tromey@redhat.com>
1743
1744 * target.h (struct target_ops) <to_program_signals>: Add argument.
1745 * target.c (target_program_signals): Add argument.
1746 * remote.c (remote_program_signals): Add 'self' argument.
1747
94bedb42
TT
17482014-02-19 Tom Tromey <tromey@redhat.com>
1749
1750 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1751 * target.c (target_pass_signals): Add argument.
1752 * remote.c (remote_pass_signals): Add 'self' argument.
1753 (remote_start_remote): Update.
1754 * procfs.c (procfs_pass_signals): Add 'self' argument.
1755 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1756 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1757 (linux_nat_create_inferior, linux_nat_attach): Update.
1758
da82bd6b
TT
17592014-02-19 Tom Tromey <tromey@redhat.com>
1760
1761 * windows-nat.c (windows_can_run): Add 'self' argument.
1762 * target.h (struct target_ops) <to_can_run>: Add argument.
1763 (target_can_run): Add argument.
1764 * target.c (debug_to_can_run): Add argument.
1765 (update_current_target): Update.
1766 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1767 * inf-child.c (inf_child_can_run): Add 'self' argument.
1768 * go32-nat.c (go32_can_run): Add 'self' argument.
1769
d796e1d6
TT
17702014-02-19 Tom Tromey <tromey@redhat.com>
1771
1772 * target.h (struct target_ops) <to_has_exited>: Add argument.
1773 (target_has_exited): Add argument.
1774 * target.c (debug_to_has_exited): Add argument.
1775 (update_current_target): Update.
1776
ff214e67
TT
17772014-02-19 Tom Tromey <tromey@redhat.com>
1778
1779 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1780 argument.
1781 (target_set_syscall_catchpoint): Add argument.
1782 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1783 argument.
1784 * target.c (update_current_target): Update.
1785
758e29d2
TT
17862014-02-19 Tom Tromey <tromey@redhat.com>
1787
1788 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1789 argument.
1790 (target_remove_exec_catchpoint): Add argument.
1791 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1792 (update_current_target): Update.
1793 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1794 argument.
1795
ba025e51
TT
17962014-02-19 Tom Tromey <tromey@redhat.com>
1797
1798 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1799 argument.
1800 (target_insert_exec_catchpoint): Add argument.
1801 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1802 (update_current_target): Update.
1803 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1804 argument.
1805
e98cf0cd
TT
18062014-02-19 Tom Tromey <tromey@redhat.com>
1807
1808 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1809 argument.
1810 (target_remove_vfork_catchpoint): Add argument.
1811 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1812 (update_current_target): Update.
1813 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1814 argument.
1815
3ecc7da0
TT
18162014-02-19 Tom Tromey <tromey@redhat.com>
1817
1818 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1819 argument.
1820 (target_insert_vfork_catchpoint): Add argument.
1821 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1822 (update_current_target): Update.
1823 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1824 argument.
1825
973fc227
TT
18262014-02-19 Tom Tromey <tromey@redhat.com>
1827
1828 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1829 argument.
1830 (target_remove_fork_catchpoint): Add argument.
1831 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1832 (update_current_target): Update.
1833 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1834 argument.
1835
a863b201
TT
18362014-02-19 Tom Tromey <tromey@redhat.com>
1837
1838 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1839 argument.
1840 (target_insert_fork_catchpoint): Add argument.
1841 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1842 (update_current_target): Update.
1843 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1844 argument.
1845
2e97a79e
TT
18462014-02-19 Tom Tromey <tromey@redhat.com>
1847
1848 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1849 argument.
1850 (target_post_startup_inferior): Add argument.
1851 * target.c (debug_to_post_startup_inferior): Add argument.
1852 (update_current_target): Update.
1853 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1854 argument.
1855 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1856 argument.
1857 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1858 argument.
1859 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1860 argument.
1861 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1862 'self' argument.
1863 (super_post_startup_inferior): Likewise.
1864 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1865 'self' argument.
1866 (super_post_startup_inferior): Likewise.
1867 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1868 Add 'self' argument.
1869 (super_post_startup_inferior): Likewise.
1870
71a9f134
TT
18712014-02-19 Tom Tromey <tromey@redhat.com>
1872
1873 * target.h (struct target_ops) <to_load>: Add argument.
1874 * target.c (target_load): Add argument.
1875 (debug_to_load): Add argument.
1876 (update_current_target): Update.
1877 * remote.c (remote_load): Add 'self' argument.
1878 * remote-sim.c (gdbsim_load): Add 'self' argument.
1879 * remote-mips.c (mips_load): Add 'self' argument.
1880 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1881 * monitor.c (monitor_load): Add 'self' argument.
1882 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1883
0a4f40a2
TT
18842014-02-19 Tom Tromey <tromey@redhat.com>
1885
1886 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1887 (target_terminal_info): Add argument.
1888 * target.c (debug_to_terminal_info): Add argument.
1889 (default_terminal_info): Likewise.
1890 * inflow.c (child_terminal_info): Add 'self' argument.
1891 * inferior.h (child_terminal_info): Add 'self' argument.
1892 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1893
ae3bd431
TT
18942014-02-19 Tom Tromey <tromey@redhat.com>
1895
1896 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1897 argument.
1898 (target_terminal_save_ours): Add argument.
1899 * target.c (debug_to_terminal_save_ours): Add argument.
1900 (update_current_target): Update.
1901 * inflow.c (terminal_save_ours): Add 'self' argument.
1902 * inferior.h (terminal_save_ours): Add 'self' argument.
1903
e3594fd1
TT
19042014-02-19 Tom Tromey <tromey@redhat.com>
1905
1906 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1907 (target_terminal_ours): Add argument.
1908 * target.c (debug_to_terminal_ours): Add argument.
1909 (update_current_target): Update.
1910 * remote.c (remote_terminal_ours): Add 'self' argument.
1911 (remote_close): Update.
1912 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1913 * inflow.c (terminal_ours): Add 'self' argument.
1914 * inferior.h (terminal_ours): Add 'self' argument.
1915 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1916
2e1e1a19
TT
19172014-02-19 Pedro Alves <palves@redhat.com>
1918 Tom Tromey <tromey@redhat.com>
1919
1920 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1921 argument.
1922 (target_terminal_ours_for_output): Add argument.
1923 * target.c (debug_to_terminal_ours_for_output): Add argument.
1924 (update_current_target): Update.
1925 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1926 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1927 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1928
d2f640d4
TT
19292014-02-19 Tom Tromey <tromey@redhat.com>
1930
1931 * target.h (struct target_ops) <to_terminal_inferior>: Add
1932 argument.
1933 * target.c (target_terminal_inferior): Add argument.
1934 (update_current_target): Update.
1935 * remote.c (remote_terminal_inferior): Add 'self' argument.
1936 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1937 * inflow.c (terminal_inferior): Add 'self' argument.
1938 * inferior.h (terminal_inferior): Add 'self' argument.
1939 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1940 (go32_terminal_inferior): Add 'self' argument.
1941
c42bf286
TT
19422014-02-19 Tom Tromey <tromey@redhat.com>
1943
1944 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1945 (target_terminal_init): Add argument.
1946 * target.c (debug_to_terminal_init): Add argument.
1947 (update_current_target): Update.
1948 * inflow.c (terminal_init_inferior): Add 'self' argument.
1949 * inferior.h (terminal_init_inferior): Add 'self' argument.
1950 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1951 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1952
c3a5ff89
TT
19532014-02-19 Tom Tromey <tromey@redhat.com>
1954
1955 * target.h (struct target_ops)
1956 <to_can_accel_watchpoint_condition>: Add argument.
1957 (target_can_accel_watchpoint_condition): Add argument.
1958 * target.c (debug_to_can_accel_watchpoint_condition): Add
1959 argument.
1960 (update_current_target): Update.
1961 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1962 'self' argument.
1963
31568a15
TT
19642014-02-19 Tom Tromey <tromey@redhat.com>
1965
1966 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1967 Add argument.
1968 (target_region_ok_for_hw_watchpoint): Add argument.
1969 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1970 (default_region_ok_for_hw_watchpoint): Add argument.
1971 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1972 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1973 argument.
1974 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1975 argument.
1976 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1977 argument.
1978 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1979 'self' argument.
1980 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1981 'self' argument.
1982 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1983 'self' argument.
1984 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1985 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1986 'self' argument.
1987 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1988 Add 'self' argument.
1989
7bb99c53
TT
19902014-02-19 Tom Tromey <tromey@redhat.com>
1991
1992 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1993 argument.
1994 (target_insert_watchpoint): Add argument.
1995 * target.c (debug_to_insert_watchpoint): Add argument.
1996 (update_current_target): Update.
1997 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1998 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1999 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2000 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2001 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2002 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2003 argument.
2004 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2005 (procfs_insert_hw_watchpoint): Add 'self' argument.
2006 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2007 argument.
2008 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2009 argument.
2010 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2011 argument.
2012 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2013 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2014 argument.
2015 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2016 'self' argument.
2017
11b5219a
TT
20182014-02-19 Tom Tromey <tromey@redhat.com>
2019
2020 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2021 argument.
2022 (target_remove_watchpoint): Add argument.
2023 * target.c (debug_to_remove_watchpoint): Add argument.
2024 (update_current_target): Update.
2025 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2026 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2027 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2028 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2029 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2030 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2031 argument.
2032 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2033 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2034 argument.
2035 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2036 argument.
2037 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2038 argument.
2039 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2040 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2041 argument.
2042 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2043 'self' argument.
2044
a64dc96c
TT
20452014-02-19 Tom Tromey <tromey@redhat.com>
2046
2047 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2048 argument.
2049 (target_remove_hw_breakpoint): Add argument.
2050 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2051 (update_current_target): Update.
2052 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2053 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2054 argument.
2055 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2056 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2057 argument.
2058 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2059 'self' argument.
2060
23a26771
TT
20612014-02-19 Tom Tromey <tromey@redhat.com>
2062
2063 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2064 argument.
2065 (target_insert_hw_breakpoint): Add argument.
2066 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2067 (update_current_target): Update.
2068 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2069 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2070 argument.
2071 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2072 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2073 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2074 argument.
2075 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2076 'self' argument.
2077
5461485a
TT
20782014-02-19 Tom Tromey <tromey@redhat.com>
2079
2080 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2081 argument.
2082 (target_can_use_hardware_watchpoint): Add argument.
2083 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2084 (update_current_target): Update.
2085 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2086 argument.
2087 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2088 argument.
2089 * remote.c (remote_check_watch_resources): Add 'self' argument.
2090 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2091 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2092 argument.
2093 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2094 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2095 argument.
2096 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2097 argument.
2098 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2099 argument.
2100 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2101 argument.
2102 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2103 argument.
2104 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2105 argument.
2106 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2107 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2108 argument.
2109 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2110 'self' argument.
2111
f045800c
TT
21122014-02-19 Tom Tromey <tromey@redhat.com>
2113
2114 * target.h (struct target_ops) <to_post_attach>: Add argument.
2115 (target_post_attach): Add argument.
2116 * target.c (debug_to_post_attach): Add argument.
2117 (update_current_target): Update.
2118 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2119 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2120 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2121 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2122 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2123
de90e03d
TT
21242014-02-19 Tom Tromey <tromey@redhat.com>
2125
2126 * windows-nat.c (windows_close): Add 'self' argument.
2127 * tracepoint.c (tfile_close): Add 'self' argument.
2128 * target.h (struct target_ops) <to_close>: Add argument.
2129 * target.c (target_close): Add argument.
2130 (update_current_target): Update.
2131 * remote.c (remote_close): Add 'self' argument.
2132 * remote-sim.c (gdbsim_close): Add 'self' argument.
2133 * remote-mips.c (mips_close): Add 'self' argument.
2134 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2135 * record-full.c (record_full_close): Add 'self' argument.
2136 * record-btrace.c (record_btrace_close): Add 'self' argument.
2137 * monitor.h (monitor_close): Add 'self' argument.
2138 * monitor.c (monitor_close): Add 'self' argument.
2139 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2140 * linux-nat.c (linux_nat_close): Add argument.
2141 * go32-nat.c (go32_close): Add 'self' argument.
2142 * exec.c (exec_close_1): Add 'self' argument.
2143 * ctf.c (ctf_close): Add 'self' argument.
2144 * corelow.c (core_close): Add 'self' argument.
2145 (core_close_cleanup): Update.
2146 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2147 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2148
9dd130a0
TT
21492014-02-19 Tom Tromey <tromey@redhat.com>
2150
2151 * remote.c (remote_load): New function.
2152 (init_remote_ops): Use it.
2153
46917d26
TT
21542014-02-19 Tom Tromey <tromey@redhat.com>
2155
2156 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2157 argument.
2158 * common/linux-btrace.h (linux_supports_btrace): Update.
2159 * remote.c (remote_supports_btrace): Add "self" argument.
2160 * target-delegates.c: Rebuild.
2161 * target.c (target_supports_btrace): Remove.
2162 * target.h (struct target_ops) <to_supports_btrace>: Add
2163 target_ops argument.
2164 (target_supports_btrace): New define.
2165
6b84065d
TT
21662014-02-19 Tom Tromey <tromey@redhat.com>
2167
2168 * record-full.c (record_full_beneath_to_resume_ops)
2169 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2170 (record_full_beneath_to_wait)
2171 (record_full_beneath_to_store_registers_ops)
2172 (record_full_beneath_to_store_registers)
2173 (record_full_beneath_to_xfer_partial_ops)
2174 (record_full_beneath_to_xfer_partial)
2175 (record_full_beneath_to_insert_breakpoint_ops)
2176 (record_full_beneath_to_insert_breakpoint)
2177 (record_full_beneath_to_remove_breakpoint_ops)
2178 (record_full_beneath_to_remove_breakpoint)
2179 (record_full_beneath_to_stopped_by_watchpoint)
2180 (record_full_beneath_to_stopped_data_address)
2181 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2182 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2183 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2184 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2185 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2186 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2187 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2188 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2189 (record_full_resume, record_full_wait_1)
2190 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2191 (record_full_store_registers, record_full_xfer_partial)
2192 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2193 (record_full_async, record_full_core_xfer_partial): Use target
2194 delegation.
2195 * target-delegates.c: Rebuild.
2196 * target.c (current_xfer_partial): Remove.
2197 (update_current_target): Do not INHERIT or de_fault
2198 to_insert_breakpoint, to_remove_breakpoint,
2199 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2200 to_is_async_p, to_async. Do not set to_xfer_partial field.
2201 (default_xfer_partial): Simplify.
2202 (current_xfer_partial): Remove.
2203 (target_wait, target_resume): Simplify.
2204 (find_default_can_async_p, find_default_is_async_p): Update.
2205 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2206 to_xfer_partial, to_stopped_by_watchpoint,
2207 to_stopped_data_address.
2208 (target_store_registers): Simplify.
2209 (forward_target_remove_breakpoint)
2210 (forward_target_insert_breakpoint): Remove.
2211 (target_remove_breakpoint, target_insert_breakpoint)
2212 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2213 * target.h (struct target_ops) <to_resume, to_wait,
2214 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2215 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2216 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2217 markup.
2218 (forward_target_remove_breakpoint)
2219 (forward_target_insert_breakpoint): Remove.
2220 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2221 directly.
2222 (record_btrace_insert_breakpoint): Delegate directly.
2223
1101cb7b
TT
22242014-02-19 Tom Tromey <tromey@redhat.com>
2225
2226 PR build/7701:
2227 * target-delegates.c: New file.
2228 * target.c: Include target-delegates.c.
2229 (init_dummy_target): Call install_dummy_methods.
2230 (complete_target_initialization): Call install_delegators.
2231 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2232 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2233 * make-target-delegates: New file.
2234
8b06beed
TT
22352014-02-19 Tom Tromey <tromey@redhat.com>
2236
2237 * record.c (find_record_target): Use find_target_at.
2238 * target.c (find_target_at): New function.
2239 * target.h (find_target_at): Declare.
2240
6a109b6b
TT
22412014-02-19 Tom Tromey <tromey@redhat.com>
2242
2243 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2244 Add 'ops' argument.
2245 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2246 'ops' argument.
2247 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2248 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2249 'ops' argument.
2250 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2251 argument.
2252 * linux-nat.c (save_sigtrap): Update.
2253 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2254 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2255 (linux_nat_close): Update.
2256 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2257 argument.
2258 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2259 argument.
2260 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2261 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2262 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2263 (tmp_to_async): Add 'ops' argument.
2264 (record_full_stopped_by_watchpoint, record_full_async)
2265 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2266 argument.
2267 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2268 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2269 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2270 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2271 (remote_is_async_p, remote_async): Add 'ops' argument.
2272 (remote_stopped_data_address): Update.
2273 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2274 * target.c (update_current_target)
2275 (find_default_can_async_p, find_default_is_async_p): Update.
2276 (init_dummy_target): Update.
2277 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2278 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2279 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2280 (target_can_async_p, target_is_async_p, target_async)
2281 (target_stopped_by_watchpoint): Update.
2282
e095146b
YQ
22832014-02-19 Yao Qi <yao@codesourcery.com>
2284
2285 PR gdb/16220
2286 * gdbarch.sh: Remove startup_gdbarch.
2287 * gdbarch.c: Regenerated.
2288 * gdbarch.h: Likewise.
2289
bc3c6b36
KB
22902014-02-17 Kevin Buettner <kevinb@redhat.com>
2291
2292 * rl78-tdep.c (rl78_g10_register_name): New function.
2293 (rl78_return_value): Add g10 support.
2294 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2295 g10.
2296
98dc0167 22972014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
2298
2299 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2300 (SUBDIR_GUILE_SRCS): Ditto.
2301 (scm-gsmob.o): Ditto.
2302
842c05cd
YQ
23032014-02-17 Yao Qi <yao@codesourcery.com>
2304
2305 * gnu-nat.c (ILL_RPC): Declare defined function.
2306
25c0bd04
YQ
23072014-02-17 Yao Qi <yao@codesourcery.com>
2308
2309 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2310 mach_msg_type_number_t.
2311 (gnu_write_inferior): Likewise.
2312
a9a758e3
YQ
23132014-02-17 Yao Qi <yao@codesourcery.com>
2314
2315 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2316 in format string.
2317 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2318 (inf_validate_procs, inf_signal): Likewise.
2319 (S_exception_raise_request): Likewise.
2320 (do_mach_notify_dead_name): Likewise.
2321 (steal_exc_port): Likewise.
2322 (gnu_read_inferior): Change 'copy_count''s type to
2323 mach_msg_type_number_t.
2324 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2325 format string.
2326
bae8023e
TS
23272014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2328
c82f56d9
TS
2329 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2330 flag. Adjust all users; in particular...
2331 (gnu_wait): ..., don't decrement its value in here...
2332 (gnu_create_inferior): ..., and instead set the flag in here,
2333 around the startup_inferior call, and call that one with
2334 START_INFERIOR_TRAPS_EXPECTED.
2335
3398af6a
TS
2336 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2337 (ILL_RPC): ... new macro.
2338 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2339 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2340 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2341 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2342 functions with ILL_RPC macro.
2343 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2344 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2345 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2346 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2347 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2348 (S_proc_getlogin_reply, S_proc_getsid_reply)
2349 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2350 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2351 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2352 (S_proc_getnports_reply, S_proc_is_important_reply)
2353 (S_proc_get_code_reply): New stub functions, generated with
2354 ILL_RPC macro.
2355
d47642c9
TS
2356 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2357 collected the type check structures.
2358
bae8023e
TS
2359 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2360
8a55ffb0
DE
23612014-02-14 Doug Evans <dje@google.com>
2362
2363 * target.c (target_write_partial): Fix result type.
2364
c2853f3d
JM
23652014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2366
2367 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2368 the proper offsets to access fpregset_t.
2369
ac61d2db
SA
23702014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2371
2372 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2373 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2374 * h8300-tdep.c (setmachinelist): Remove global.
2375 * hppa-tdep.c (hppa_sigtramp): Remove global.
2376 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2377 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2378 * ravenscar-thread.c (update_target_observer): Remove global.
2379 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2380
9d2d0b8b
TT
23812014-02-12 Tom Tromey <tromey@redhat.com>
2382
2383 * common/rsp-low.c: Update comments.
2384 * common/rsp-low.h: Update comments.
2385
a7191e8b
TT
23862014-02-12 Tom Tromey <tromey@redhat.com>
2387
2388 * common/rsp-low.c (convert_ascii_to_int): Remove.
2389 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2390
ff0e980e
TT
23912014-02-12 Tom Tromey <tromey@redhat.com>
2392
2393 * common/rsp-low.h (unhexify): Don't declare.
2394 * common/rsp-low.c (unhexify): Remove.
2395
e9371aff
TT
23962014-02-12 Tom Tromey <tromey@redhat.com>
2397
2398 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2399 * common/rsp-low.c (convert_int_to_ascii): Remove.
2400
971dc0b8
TT
24012014-02-12 Tom Tromey <tromey@redhat.com>
2402
2403 * common/rsp-low.h (hexify): Don't declare.
2404 * common/rsp-low.c (hexify): Remove.
2405
0a822afb
TT
24062014-02-12 Tom Tromey <tromey@redhat.com>
2407
2408 * common/rsp-low.c (hexify): Never take strlen of argument.
2409
9f1b45b0
TT
24102014-02-12 Tom Tromey <tromey@redhat.com>
2411
2412 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2413 * remote.c (extended_remote_run, remote_rcmd)
2414 (remote_download_trace_state_variable, remote_save_trace_data)
2415 (remote_set_trace_notes): Update.
2416 * tracepoint.c (encode_source_string, tfile_write_status)
2417 (tfile_write_uploaded_tsv): Update.
2418
9c3d6531
TT
24192014-02-12 Tom Tromey <tromey@redhat.com>
2420
2421 * tracepoint.c: Include rsp-low.h.
2422 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2423 * remote.c: Include rsp-low.h.
2424 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2425 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2426 (remote_unescape_input): Move to common/rsp-low.c.
2427 * common/rsp-low.h: New file.
2428 * common/rsp-low.c: New file.
2429 * Makefile.in (SFILES): Add common/rsp-low.c.
2430 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2431 (COMMON_OBS): Add rsp-low.o.
2432 (rsp-low.o): New target.
2433
01fd3ea5
TT
24342014-02-12 Tom Tromey <tromey@redhat.com>
2435
2436 * utils.h: Include print-utils.h.
2437 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2438 (int_string, core_addr_to_string, core_addr_to_string_nz)
2439 (hex_string, hex_string_custom): Don't declare.
2440 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2441 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2442 (hex_string_custom, int_string, core_addr_to_string)
2443 (core_addr_to_string_nz, host_address_to_string): Move to
2444 common/print-utils.c.
2445 * common/print-utils.h: New file.
2446 * common/print-utils.c: New file
2447 * Makefile.in (SFILES): Add common/print-utils.c.
2448 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2449 (COMMON_OBS): Add print-utils.o.
2450 (print-utils.o): New target.
2451
9fb50108
TT
24522014-02-12 Tom Tromey <tromey@redhat.com>
2453
2454 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2455
0548b5db
MK
24562014-02-12 Mark Kettenis <kettenis@gnu.org>
2457
2458 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2459
493443a4
MK
24602014-02-12 Mark Kettenis <kettenis@gnu.org>
2461
2462 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2463 if a PT_IO ptrace request returns sucessfully but indicates that 0
2464 bytes were transferred.
2465
706d0883
PA
24662014-02-12 Pedro Alves <palves@redhat.com>
2467 Kevin Buettner <kevinb@redhat.com>
2468
2469 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2470 TYPE_INSTANCE_FLAG_CODE_SPACE.
2471
5caa2f0b
PA
24722014-02-12 Pedro Alves <palves@redhat.com>
2473
2474 * h8300-tdep.c (pseudo_from_raw_register)
2475 (raw_from_pseudo_register): New functions.
2476 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2477 them.
2478
76fd5f74
PA
24792014-02-12 Pedro Alves <palves@redhat.com>
2480
2481 * h8300-tdep.c (h8300_register_sim_regno): New function.
2482 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2483 gdbarch_register_sim_regno hook.
2484
8f008406
SA
24852014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2486
2487 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2488
195abc10
SA
24892014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2490
2491 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2492
93ffa5b9
MK
24932014-02-12 Mark Kettenis <kettenis@gnu.org>
2494
2495 * obsd-tdep.h (obsd_init_abi): New prototype.
2496 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2497 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2498 (obsd_init_abi): New functions.
2499 * i386obsd-tdep.c: Include "obsd-tdep.h".
2500 (i386obsd_init_abi): Call obsd_init_abi.
2501 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2502 (amd64obsd_init_abi): Call obsd_init_abi.
2503 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2504 obsd-tdep.c to gdb_target_obs.
2505
49caec94
JM
25062014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2507
2508 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2509 double float arguments to 16-byte in the argument slots.
2510
e1402065
DE
25112014-02-11 Doug Evans <xdje42@gmail.com>
2512
2513 * configure.ac: Don't crash if pkg-config is not found and guile
2514 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2515 in guile checks.
2516 * configure: Regenerate.
2517
edcc890f
YQ
25182014-02-11 Yao Qi <yao@codesourcery.com>
2519
2520 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2521 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2522 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2523 * gnu-nat.c (gnu_xfer_memory): Likewise.
2524 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2525 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2526 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2527 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2528
9b409511
YQ
25292014-02-11 Yao Qi <yao@codesourcery.com>
2530
2531 * target.h (enum target_xfer_error): Rename to ...
2532 (enum target_xfer_status): ... it. New. All users updated.
2533 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2534 New.
2535 (TARGET_XFER_STATUS_ERROR_P): New macro.
2536 (target_xfer_error_to_string): Remove declaration.
2537 (target_xfer_status_to_string): Declare.
2538 (target_xfer_partial_ftype): Adjust it.
2539 (struct target_ops) <to_xfer_partial>: Return
2540 target_xfer_status. Add argument xfered_len. Update
2541 comments.
2542 * target.c (target_xfer_error_to_string): Rename to ...
2543 (target_xfer_status_to_string): ... it. New. All callers
2544 updated.
2545 (target_read_live_memory): Likewise. Call target_xfer_partial
2546 instead of target_read.
2547 (memory_xfer_live_readonly_partial): Return
2548 target_xfer_status. Add argument xfered_len.
2549 (raw_memory_xfer_partial): Likewise.
2550 (memory_xfer_partial_1): Likewise.
2551 (memory_xfer_partial): Likewise.
2552 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2553 properly. Update debug message.
2554 (default_xfer_partial, current_xfer_partial): Likewise.
2555 (target_write_partial): Likewise.
2556 (target_read_partial): Likewise. All callers updated.
2557 (read_whatever_is_readable): Likewise.
2558 (target_write_with_progress): Likewise.
2559 (target_read_alloc_1): Likewise.
2560
2561 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2562 * auxv.c (procfs_xfer_auxv): Likewise.
2563 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2564 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2565 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2566 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2567 * corefile.c (read_memory): Adjust.
2568 * corelow.c (core_xfer_partial): Likewise.
2569 * ctf.c (ctf_xfer_partial): Likewise.
2570 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2571 updated.
2572 (darwin_xfer_partial): Likewise.
2573 * exec.c (section_table_xfer_memory_partial): Likewise. All
2574 callers updated.
2575 (exec_xfer_partial): Likewise.
2576 * exec.h (section_table_xfer_memory_partial): Update
2577 declaration.
2578 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2579 negative.
2580 (gnu_xfer_partial): Likewise.
2581 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2582 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2583 (ia64_hpux_xfer_solib_got): Likewise.
2584 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2585 type of 'partial_len' to ULONGEST.
2586 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2587 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2588 (linux_nat_xfer_partial): Likewise.
2589 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2590 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2591 * monitor.c (monitor_xfer_memory): Likewise.
2592 (monitor_xfer_partial): Likewise.
2593 * procfs.c (procfs_xfer_partial): Likewise.
2594 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2595 * record-full.c (record_full_xfer_partial): Likewise.
2596 (record_full_core_xfer_partial): Likewise.
2597 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2598 (gdbsim_xfer_partial): Likewise.
2599 * remote.c (remote_write_bytes_aux): Likewise. All callers
2600 updated.
2601 (remote_write_bytes, remote_read_bytes): Likewise. All
2602 callers updated.
2603 (remote_flash_erase): Likewise. All callers updated.
2604 (remote_write_qxfer): Likewise. All callers updated.
2605 (remote_read_qxfer): Likewise. All callers updated.
2606 (remote_xfer_partial): Likewise.
2607 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2608 (rs6000_xfer_shared_libraries): Likewise.
2609 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2610 (sol_thread_xfer_partial): Likewise.
2611 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2612 (sparc_xfer_partial): Likewise.
2613 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2614 updated.
2615 (spu_xfer_partial): Likewise.
2616 * spu-multiarch.c (spu_xfer_partial): Likewise.
2617 * tracepoint.c (tfile_xfer_partial): Likewise.
2618 * windows-nat.c (windows_xfer_memory): Likewise.
2619 (windows_xfer_shared_libraries): Likewise.
2620 (windows_xfer_partial): Likewise.
2621 * valprint.c: Replace 'target_xfer_error' with
2622 'target_xfer_status' in comments.
2623
a8e63083
JB
26242014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2625
2626 Checked in by Joel Brobecker <brobecker@adacore.com>.
2627 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2628
e86b67d3
JB
26292014-02-11 Joel Brobecker <brobecker@adacore.com>
2630
2631 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2632 function parameters.
2633
4b7d1f7f
WN
26342014-02-10 Will Newton <will.newton@linaro.org>
2635
2636 * elfread.c (elf_rel_plt_read): Look for a .got section if
2637 looking up .got.plt fails.
2638 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2639 on address passed to elf_gnu_ifunc_record_cache.
2640 (elf_gnu_ifunc_resolve_addr): Likewise.
2641 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2642
961842b2
JM
26432014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2644
2645 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2646 (X_RETTURN): New macro.
2647 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2648
2649 * sparc64-tdep.c (sparc64_init_abi): Hook
2650 sparc_in_function_epilogue_p.
2651
3f03e7b1
GB
26522014-02-10 Gary Benson <gbenson@redhat.com>
2653
2654 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2655 Rename name_matcher to symbol_matcher.
2656
96f861ef
GB
26572014-02-10 Gary Benson <gbenson@redhat.com>
2658
2659 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2660 Use expand_symtabs_file_matcher_ftype and
2661 expand_symtabs_symbol_matcher_ftype.
2662
ee01b665
JB
26632014-02-10 Joel Brobecker <brobecker@adacore.com>
2664
2665 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2666 (struct ada_symbol_cache): New.
2667 (ada_free_symbol_cache): Forward declare.
2668 (struct ada_pspace_data): New.
2669 (ada_pspace_data_handle): New static global.
2670 (get_ada_pspace_data, ada_pspace_data_cleanup)
2671 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2672 (cache_space, cache): Delete, now folded inside struct
2673 ada_pspace_data.
2674 (ada_get_symbol_cache): New function.
2675 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2676 implementation.
2677 (_initialize_ada_language): Remove initialization of cache_space.
2678 Move call to observer_attach_inferior_exit up, grouping it
2679 with the other observer registrations inside this function.
2680 Rename command to be more general. Add call to
2681 register_program_space_data_with_cleanup.
2682
143adbbf
JB
26832014-02-10 Joel Brobecker <brobecker@adacore.com>
2684
2685 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2686 ada_new_objfile_observer.
2687 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2688 (_initialize_tasks): Update uses of ada_new_objfile_observer
2689 and ada_tasks_normal_stop_observer.
2690
aa4fb036
JB
26912014-02-10 Joel Brobecker <brobecker@adacore.com>
2692
2693 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2694 returned by the 'Length attribute to integer.
2695
9dee8cc6
JB
26962014-02-10 Joel Brobecker <brobecker@adacore.com>
2697
2698 * ada-lang.c (_initialize_ada_language): Initialize
2699 cache_space obstack.
2700
3d9434b5
JB
27012014-02-10 Joel Brobecker <brobecker@adacore.com>
2702
2703 * ada-lang.c (HASH_SIZE): New macro.
2704 (struct cache_entry): New type.
2705 (cache_space, cache): New static globals.
2706 (ada_clear_symbol_cache, find_entry): New functions.
2707 (lookup_cached_symbol, cache_symbol): Implement.
2708 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2709 (_initialize_ada_language): Attach ada_new_objfile_observer
2710 and ada_free_objfile_observer.
2711
f0c5f9b2
JB
27122014-02-10 Joel Brobecker <brobecker@adacore.com>
2713
2714 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2715 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2716 struct block * parameter.
2717 (ada_lookup_symbol_list_worker): Constify local variable "block".
2718 Remove cast which is no longer necessary.
2719
ed3ef339
DE
27202014-02-10 Doug Evans <xdje42@gmail.com>
2721
2722 Add Guile as an extension language.
2723 * NEWS: Mention Guile scripting.
2724 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2725 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2726 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2727 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2728 (CLIBS): Add GUILE_LIBS.
2729 (install-guile): New rule.
2730 (guile.o): New rule.
2731 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2732 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2733 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2734 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2735 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2736 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2737 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2738 * configure.ac: New option --with-guile.
2739 * configure: Regenerate.
2740 * config.in: Regenerate.
2741 * auto-load.c: Remove #include "python/python.h". Add #include
2742 "gdb/section-scripts.h".
2743 (source_section_scripts): Handle Guile scripts.
2744 (_initialize_auto_load): Add name of Guile objfile script to
2745 scripts-directory help text.
2746 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2747 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2748 (struct breakpoint): New member scm_bp_object.
2749 * defs.h (enum command_control_type): New value guile_control.
2750 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2751 "extension.h".
2752 (show_user): Update comment.
2753 (_initialize_cli_cmds): Update help text for "show user". Update help
2754 text for max-user-call-depth.
2755 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2756 "extension.h".
2757 (multi_line_command_p): Add guile_control.
2758 (print_command_lines): Handle guile_control.
2759 (execute_control_command, recurse_read_control_structure): Ditto.
2760 (process_next_line): Recognize "guile" commands.
2761 * disasm.c (gdb_disassemble_info): Make non-static.
2762 * disasm.h: #include "dis-asm.h".
2763 (struct gdbarch): Add forward decl.
2764 (gdb_disassemble_info): Declare.
2765 * extension.c: #include "guile/guile.h".
2766 (extension_languages): Add guile.
2767 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2768 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2769 * gdbtypes.c (get_unsigned_type_max): New function.
2770 (get_signed_type_minmax): New function.
2771 * gdbtypes.h (get_unsigned_type_max): Declare.
2772 (get_signed_type_minmax): Declare.
2773 * guile/README: New file.
2774 * guile/guile-internal.h: New file.
2775 * guile/guile.c: New file.
2776 * guile/guile.h: New file.
2777 * guile/scm-arch.c: New file.
2778 * guile/scm-auto-load.c: New file.
2779 * guile/scm-block.c: New file.
2780 * guile/scm-breakpoint.c: New file.
2781 * guile/scm-disasm.c: New file.
2782 * guile/scm-exception.c: New file.
2783 * guile/scm-frame.c: New file.
2784 * guile/scm-gsmob.c: New file.
2785 * guile/scm-iterator.c: New file.
2786 * guile/scm-lazy-string.c: New file.
2787 * guile/scm-math.c: New file.
2788 * guile/scm-objfile.c: New file.
2789 * guile/scm-ports.c: New file.
2790 * guile/scm-pretty-print.c: New file.
2791 * guile/scm-safe-call.c: New file.
2792 * guile/scm-string.c: New file.
2793 * guile/scm-symbol.c: New file.
2794 * guile/scm-symtab.c: New file.
2795 * guile/scm-type.c: New file.
2796 * guile/scm-utils.c: New file.
2797 * guile/scm-value.c: New file.
2798 * guile/lib/gdb.scm: New file.
2799 * guile/lib/gdb/boot.scm: New file.
2800 * guile/lib/gdb/experimental.scm: New file.
2801 * guile/lib/gdb/init.scm: New file.
2802 * guile/lib/gdb/iterator.scm: New file.
2803 * guile/lib/gdb/printing.scm: New file.
2804 * guile/lib/gdb/types.scm: New file.
2805 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2806 (VPATH): Add $(GUILE_SRCDIR).
2807 (GUILE_DIR): New variable.
2808 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2809 (all): Add stamp-guile dependency.
2810 (stamp-guile): New rule.
2811 (clean-guile, install-guile, uninstall-guile): New rules.
2812 (install-only): Add install-guile dependency.
2813 (uninstall): Add uninstall-guile dependency.
2814 (clean): Add clean-guile dependency.
2815
ac020ec5
DE
28162014-02-09 Doug Evans <xdje42@gmail.com>
2817
2818 Revert this patch (which I approved, mea culpa).
2819
2820 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2821
2822 * Makefile.in (all-lib): Remove.
2823 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2824
2a081c59
JK
28252014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2826
2827 Fix Python stack corruption.
2828 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2829 gdb_py_longest.
2830
0a6bd22d
MK
28312014-02-08 Mark Kettenis <kettenis@gnu.org>
2832
2833 * Makefile.in (all-lib): Remove.
2834 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2835
1a860409
DE
28362014-02-07 Doug Evans <dje@google.com>
2837
2838 * extension-priv.h (extension_language_script_ops): Add comment.
2839 (extension_language_ops): Add comment.
caf5a491 2840 (active_ext_lang_state): Fix typo in comment.
1a860409 2841
d137e6dc
PA
28422014-02-07 Pedro Alves <palves@redhat.com>
2843
2844 * infrun.c (handle_signal_stop) <signal arrives while stepping
2845 over a breakpoint>: Switch back to the stepping thread.
2846
ce6d0892
YQ
28472014-02-07 Yao Qi <yao@codesourcery.com>
2848
2849 * target.c (target_xfer_partial): Return zero if LEN is zero.
2850
2ed4b548
YQ
28512014-02-07 Yao Qi <yao@codesourcery.com>
2852
2853 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2854 (ld_so_xfer_auxv): Likewise.
2855 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2856 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2857 * corelow.c (core_xfer_partial): Likewise.
2858 * ctf.c (ctf_xfer_partial): Likewise.
2859 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2860 (darwin_xfer_partial): Likewise.
2861 * exec.c (exec_xfer_partial): Likewise.
2862 * gnu-nat.c (gnu_xfer_partial): Likewise.
2863 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2864 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2865 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2866 * linux-nat.c (linux_xfer_siginfo): Likewise.
2867 (linux_proc_xfer_spu): Likewise.
2868 * procfs.c (procfs_xfer_partial): Likewise.
2869 * record-full.c (record_full_xfer_partial): Likewise.
2870 (record_full_core_xfer_partial): Likewise.
2871 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2872 * remote.c (remote_write_qxfer): Likewise.
2873 (remote_write_qxfer, remote_read_qxfer): Likewise.
2874 (remote_xfer_partial): Likewise.
2875 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2876 (rs6000_xfer_shared_libraries): Likewise.
2877 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2878 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2879 (spu_xfer_partial): Likewise.
2880 * target.c (memory_xfer_partial_1): Likewise.
2881 * tracepoint.c (tfile_xfer_partial): Likewise.
2882 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2883 (windows_xfer_partial): Likewise.
2884
c09f20e4
YQ
28852014-02-07 Yao Qi <yao@codesourcery.com>
2886
2887 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2888 comments.
2889 (core_xfer_shared_libraries_aix): Likewise.
2890 * gdbarch.c, gdbarch.h: Regenerated.
2891 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2892 ULONGEST. Change 'len_avail' type to ULONGEST.
2893 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2894 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2895 declaration.
2896 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2897
8635b3bf
YQ
28982014-02-07 Yao Qi <yao@codesourcery.com>
2899
2900 * corefile.c (memory_error): Get 'exception' from ERR and pass
2901 'exception' to throw_error.
2902
6dddc817
DE
29032014-02-06 Doug Evans <xdje42@gmail.com>
2904
2905 * configure.ac (libpython checking): Remove all but python.o from
2906 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2907 * configure: Regenerate.
2908
2909 * Makefile.in (SFILES): Add extension.c.
2910 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2911 (COMMON_OBS): Add extension.o.
2912 * extension.h: New file.
2913 * extension-priv.h: New file.
2914 * extension.c: New file.
2915
2916 * python/python-internal.h: #include "extension.h".
2917 (gdbpy_auto_load_enabled): Declare.
2918 (gdbpy_apply_val_pretty_printer): Declare.
2919 (gdbpy_apply_frame_filter): Declare.
2920 (gdbpy_preserve_values): Declare.
2921 (gdbpy_breakpoint_cond_says_stop): Declare.
2922 (gdbpy_breakpoint_has_cond): Declare.
2923 (void source_python_script_for_objfile): Delete.
2924 * python/python.c: #include "extension-priv.h".
2925 Delete inclusion of "observer.h".
2926 (extension_language_python): Moved here and renamed from
2927 script_language_python in py-auto-load.c.
2928 Redefined to be of type extension_language_defn.
2929 (python_extension_script_ops): New global.
2930 (python_extension_ops): New global.
2931 (struct python_env): New member previous_active.
2932 (restore_python_env): Call restore_active_ext_lang.
2933 (ensure_python_env): Call set_active_ext_lang.
2934 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2935 New arg extlang.
2936 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2937 New arg extlang.
2938 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2939 New arg extlang.
2940 (gdbpy_eval_from_control_command): Renamed from
2941 eval_python_from_control_command, made static. New arg extlang.
2942 (gdbpy_source_script) Renamed from source_python_script, made static.
2943 New arg extlang.
2944 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2945 result to int. New arg extlang.
2946 (gdbpy_source_objfile_script): Renamed from
2947 source_python_script_for_objfile, made static. New arg extlang.
2948 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2949 static. New args extlang, extlang_printers. Change result type to
2950 "void".
2951 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2952 static. New arg extlang. Rename arg printers to extlang_printers
2953 and change type to ext_lang_type_printers *.
2954 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2955 static. Replace argument arg with extlang, extlang_printers.
2956 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2957 (!HAVE_PYTHON, source_python_script): Delete.
2958 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2959 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2960 (!HAVE_PYTHON, start_type_printers): Delete.
2961 (!HAVE_PYTHON, apply_type_printers): Delete.
2962 (!HAVE_PYTHON, free_type_printers): Delete.
2963 (_initialize_python): Delete call to observer_attach_before_prompt.
2964 (finalize_python): Set/restore active extension language.
2965 (gdbpy_finish_initialization) Renamed from
2966 finish_python_initialization, made static. New arg extlang.
2967 (gdbpy_initialized): New function.
2968 * python/python.h: #include "extension.h". Delete #include
2969 "value.h", "mi/mi-cmds.h".
2970 (extension_language_python): Declare.
2971 (GDBPY_AUTO_FILE_NAME): Delete.
2972 (enum py_bt_status): Moved to extension.h and renamed to
2973 ext_lang_bt_status.
2974 (enum frame_filter_flags): Moved to extension.h.
2975 (enum py_frame_args): Moved to extension.h and renamed to
2976 ext_lang_frame_args.
2977 (finish_python_initialization): Delete.
2978 (eval_python_from_control_command): Delete.
2979 (source_python_script): Delete.
2980 (apply_val_pretty_printer): Delete.
2981 (apply_frame_filter): Delete.
2982 (preserve_python_values): Delete.
2983 (gdbpy_script_language_defn): Delete.
2984 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2985 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2986
2987 * auto-load.c: #include "extension.h".
2988 (GDB_AUTO_FILE_NAME): Delete.
2989 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2990 (script_language_gdb): Delete, moved to extension.c and renamed to
2991 extension_language_gdb.
2992 (source_gdb_script_for_objfile): Delete.
2993 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2994 (loaded_script): Change type of language member to
2995 struct extension_language_defn *.
2996 (init_loaded_scripts_info): Initialize
2997 unsupported_script_warning_printed.
2998 (maybe_add_script): Make static. Change type of language arg to
2999 struct extension_language_defn *.
3000 (clear_section_scripts): Reset unsupported_script_warning_printed.
3001 (auto_load_objfile_script_1): Rewrite to use extension language API.
3002 (auto_load_objfile_script): Make public. Remove support-compiled-in
3003 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3004 (source_section_scripts): Rewrite to use extension language API.
3005 (load_auto_scripts_for_objfile): Rewrite to use
3006 auto_load_scripts_for_objfile.
3007 (collect_matching_scripts_data): Change type of language member to
3008 struct extension_language_defn *.
3009 (auto_load_info_scripts): Change type of language arg to
3010 struct extension_language_defn *.
3011 (unsupported_script_warning_print): New function.
3012 (script_not_found_warning_print): Make static.
3013 (_initialize_auto_load): Rewrite construction of scripts-directory
3014 help.
3015 * auto-load.h (struct objfile): Add forward decl.
3016 (struct script_language): Delete.
3017 (struct auto_load_pspace_info): Add forward decl.
3018 (struct extension_language_defn): Add forward decl.
3019 (maybe_add_script): Delete.
3020 (auto_load_objfile_script): Declare.
3021 (script_not_found_warning_print): Delete.
3022 (auto_load_info_scripts): Update prototype.
3023 (auto_load_gdb_scripts_enabled): Declare.
3024 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3025 auto_load_python_scripts_enabled and made public.
3026 (script_language_python): Delete, moved to python.c.
3027 (gdbpy_script_language_defn): Delete.
3028 (info_auto_load_python_scripts): Update to use
3029 extension_language_python.
3030
3031 * breakpoint.c (condition_command): Replace call to
3032 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3033 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3034 with call to breakpoint_ext_lang_cond_says_stop.
3035 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3036 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3037 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3038 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3039 New arg slang.
3040 (local_setattro): Print name of extension language with existing
3041 stop condition.
3042
3043 * valprint.c (val_print, value_print): Update to call
3044 apply_ext_lang_val_pretty_printer.
3045 * cp-valprint.c (cp_print_value): Update call to
3046 apply_ext_lang_val_pretty_printer.
3047 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3048 (gdbpy_apply_val_pretty_printer): Renamed from
3049 apply_val_pretty_printer. New arg extlang.
3050 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3051
3052 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3053 extension language API.
3054 * cli/cli-script.c (execute_control_command): Update to call
3055 eval_ext_lang_from_control_command.
3056
3057 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3058 enum ext_lang_bt_status values. Update call to
3059 apply_ext_lang_frame_filter.
3060 (mi_cmd_stack_list_locals): Ditto.
3061 (mi_cmd_stack_list_args): Ditto.
3062 (mi_cmd_stack_list_variables): Ditto.
3063 * mi/mi-main.c: Delete #include "python/python-internal.h".
3064 Add #include "extension.h".
3065 (mi_cmd_list_features): Replace reference to python internal variable
3066 gdb_python_initialized with call to ext_lang_initialized_p.
3067
3068 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3069 Update to use enum ext_lang_frame_args. Update to call
3070 apply_ext_lang_frame_filter.
3071 * python/py-framefilter.c (extract_sym): Update to use enum
3072 ext_lang_bt_status.
3073 (extract_value, py_print_type, py_print_value): Ditto.
3074 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3075 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3076 (py_print_frame): Ditto.
3077 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3078 New arg extlang. Update to use enum ext_lang_bt_status.
3079
3080 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3081 finish_python_initialization. Replace with call to
3082 finish_ext_lang_initialization.
3083
3084 * typeprint.c (do_free_global_table): Update to call
3085 free_ext_lang_type_printers.
3086 (create_global_typedef_table): Update to call
3087 start_ext_lang_type_printers.
3088 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3089 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3090 (type_print_options): Change type of global_printers from "void *"
3091 to "struct ext_lang_type_printers *".
3092
3093 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3094 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3095 (gdbpy_preserve_values): Renamed from preserve_python_values.
3096 New arg extlang.
3097 (!HAVE_PYTHON, preserve_python_values): Delete.
3098
3099 * utils.c (quit_flag): Delete, moved to extension.c.
3100 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3101 extension.c.
3102
3103 * eval.c: Delete #include "python/python.h".
3104 * main.c: Delete #include "python/python.h".
3105
3106 * defs.h: Update comment.
3107
6af79985
JB
31082014-02-06 Joel Brobecker <brobecker@adacore.com>
3109
3110 GDB 7.7 released.
3111
12c5175d
MK
31122014-02-05 Mark Kettenis <kettenis@gnu.org>
3113
3114 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3115 defined.
3116
8dc5b319
YQ
31172014-02-05 Yao Qi <yao@codesourcery.com>
3118
3119 * remote.c (remote_pass_signals): Remove local 'buf' and use
3120 rs->buf.
3121 (remote_program_signals): Likewise.
3122
de7b2893
YQ
31232014-02-05 Yao Qi <yao@codesourcery.com>
3124
3125 * ctf.c: Include "inferior.h" and "gdbthread.h".
3126 (CTF_PID): A new macro.
3127 (ctf_open): Call inferior_appeared and add_thread_silent.
3128 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3129 (ctf_thread_alive): New function.
3130 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3131
66d032ac
YQ
31322014-02-05 Yao Qi <yao@codesourcery.com>
3133
3134 Revert this patch:
3135
3136 2013-05-24 Yao Qi <yao@codesourcery.com>
3137
3138 * tracepoint.c (TFILE_PID): Remove.
3139 (tfile_open): Don't add thread and inferior.
3140 (tfile_close): Don't set 'inferior_ptid'. Don't call
3141 exit_inferior_silent.
3142 (tfile_thread_alive): Remove.
3143 (init_tfile_ops): Don't set field 'to_thread_alive' of
3144 tfile_ops.
3145
f4ccffad
CE
31462014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3147
3148 * remote.c (remote_start_remote): Call remote_check_symbols even
3149 if only symbol-file (not file) has been given.
3150
591a12a1
UW
31512014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3152
3153 * gdbarch.sh (skip_entrypoint): New callback.
3154 * gdbarch.c, gdbarch.h: Regenerate.
3155 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3156 * infrun.c (fill_in_stop_func): Likewise.
3157 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3158 (ppc_elfv2_elf_make_msymbol_special): New function.
3159 (ppc_elfv2_skip_entrypoint): Likewise.
3160 (ppc_linux_init_abi): Install them for ELFv2.
3161
cc0e89c5
UW
31622014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3163
3164 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3165 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3166 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3167 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3168 structures returned in GPRs.
3169
52f548e4
UW
31702014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3171
3172 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3173 offset to the stack parameter list for the ELFv2 ABI.
3174
d4094b6a
UW
31752014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3176
3177 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3178 set_gdbarch_convert_from_func_ptr_addr and
3179 set_gdbarch_elf_make_msymbol_special for ELFv1.
3180 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3181 function descriptors on ELFv1.
3182 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3183 set up r12 at function entry.
3184
cd453cd0
UW
31852014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3186
3187 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3188 (struct gdbarch_tdep): New member elf_abi.
3189
3190 * rs6000-tdep.c: Include "elf/ppc64.h".
3191 (rs6000_gdbarch_init): Detect ELF ABI version.
3192
0ff3e01f
UW
31932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3194
3195 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3196 within a register pair holding a DFP 128-bit value on little-endian.
3197 (ppc64_sysv_abi_return_value_base): Likewise.
3198 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3199 (dfp_pseudo_register_write): Likewise.
3200
5b757e5d
UW
32012014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3202
3203 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3204 offset on little-endian when passing _Decimal32.
3205 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3206
084ee545
UW
32072014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3208
3209 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3210 of the overlapped FP register within the VSX register on little-
3211 endian platforms.
3212 (efpr_pseudo_register_write): Likewise.
3213
d63167af
UW
32142014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3215
3216 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3217 offset on little-endian when passing small structures.
3218
e765b44c
UW
32192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3220
3221 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3222 (struct ppc64_sysv_argpos): New data structure.
3223 (ppc64_sysv_abi_push_float): Remove.
3224 (ppc64_sysv_abi_push_val): New function.
3225 (ppc64_sysv_abi_push_integer): Likewise.
3226 (ppc64_sysv_abi_push_freg): Likewise.
3227 (ppc64_sysv_abi_push_vreg): Likewise.
3228 (ppc64_sysv_abi_push_param): Likewise.
3229 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3230 (ppc64_sysv_abi_return_value_base): New function.
3231 (ppc64_sysv_abi_return_value): Refactor to use it.
3232
36c24d95
UW
32332014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3234
3235 * NEWS: Document new target powerpc64le-*-linux*.
3236
26fd9228
MK
32372014-02-04 Mark Kettenis <kettenis@gnu.org>
3238
3239 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3240 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3241 core dumps.
3242 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3243 register set used in ELF core dumps. Add floating-point register set.
3244
c5bb7362
KB
32452014-02-03 Kevin Buettner <kevinb@redhat.com>
3246
3247 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3248 dwarf2_to_gdb[] table using symbolic constants. Adjust
3249 penultimate entry from number representing the PC register
3250 to symbolic constant representing the MDR register. Add
3251 constant for the PC register to the end of the table.
3252
af09351e
MK
32532014-02-03 Mark Kettenis <kettenis@gnu.org>
3254
3255 * bsd-kvm.c: Include <sys/param.h>
3256
8507e05d
MK
32572014-02-03 Mark Kettenis <kettenis@gnu.org>
3258
3259 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3260
ae56bfb8
JB
32612014-01-31 Joel Brobecker <brobecker@adacore.com>
3262
3263 * ada-lang.h (clear_ada_sym_cache): Delete.
3264
718ee4dc
UW
32652014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3266
3267 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3268
401e27fd
JM
32692014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3270
3271 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3272 the sigreturn register save area only if the syscall is
3273 sigreturn.
3274
a7c88acd
JB
32752014-01-29 Joel Brobecker <brobecker@adacore.com>
3276
3277 * valops.c (value_slice): Minor reformatting.
3278
fa0079ea
UW
32792014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3280
3281 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3282
c6044dd1
JB
32832014-01-28 Joel Brobecker <brobecker@adacore.com>
3284
3285 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3286 New static globals.
3287 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3288 (ada_ignore_descriptive_types_p): New static global.
3289 (find_parallel_type_by_descriptive_type): Return immediately
3290 if ada_ignore_descriptive_types_p is set.
3291 (_initialize_ada_language): Register new commands "maintenance
3292 set ada", "maintenance show ada", "maintenance set ada
3293 ignore-descriptive-types" and "maintenance show ada
3294 ignore-descriptive-types".
3295 * NEWS: Add entry for new "maint ada set/show
3296 ignore-descriptive-types" commands.
3297
568e808b
MM
32982014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3299
3300 * record-btrace.c (record_btrace_close): Call btrace_teardown
3301 for all threads.
3302
467d141b
JB
33032014-01-27 Joel Brobecker <brobecker@adacore.com>
3304
3305 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3306 "ui-out.h".
3307
fb151210
JB
33082014-01-27 Joel Brobecker <brobecker@adacore.com>
3309
3310 * ada-typeprint (type_is_full_subrange_of_target_type):
3311 New function.
3312 (print_range): Add parameter bounds_prefered_p. If not set,
3313 try printing range types using the name of their base type.
3314 (print_range_type): Add parameter bounds_prefered_p.
3315 Use it in call to print_range.
3316 (print_array_type, ada_print_type): Update calls to print_range
3317 and print_range_type.
3318
aba02109
JB
33192014-01-27 Joel Brobecker <brobecker@adacore.com>
3320
3321 * ada-typeprint.c (print_array_type, print_choices, print_range)
3322 (print_range_bound, print_dynamic_range_bound, print_range_type):
3323 Remove declaration.
3324
e62e21fd
JB
33252014-01-27 Joel Brobecker <brobecker@adacore.com>
3326
3327 * ada-typeprint.c (print_range): Add missing empty line
3328 after local declaration.
3329
859cf5d1
JB
33302014-01-27 Joel Brobecker <brobecker@adacore.com>
3331
3332 * ada-valprint.c (print_optional_low_bound): Get index_type's
3333 target type for as long as it is a TYPE_CODE_RANGE.
3334
25790f6f
JB
33352014-01-27 Joel Brobecker <brobecker@adacore.com>
3336
3337 * procfs.c (procfs_make_note_section): Remove assertion and
3338 associated comment.
3339
6b6aa828
YQ
33402014-01-24 Yao Qi <yao@codesourcery.com>
3341
3342 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3343 * corelow.c (get_core_siginfo): Likewise.
3344
5d6df423
YQ
33452014-01-24 Yao Qi <yao@codesourcery.com>
3346
3347 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3348 ULONGEST. Don't check 'len' is negative.
3349 (remote_write_bytes): Change type of 'len' to ULONGEST.
3350
83b645b8
TT
33512014-01-23 Tom Tromey <tromey@redhat.com>
3352
3353 PR python/16485:
3354 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3355 Handle exception from frame.block.
3356 (FrameVars.fetch_frame_locals): Likewise.
3357
0740f8d8
TT
33582014-01-23 Tom Tromey <tromey@redhat.com>
3359
3360 PR python/16487:
3361 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3362 on a NULL pointer. Move "goto error" to correct place.
3363
21909fa1
TT
33642014-01-23 Tom Tromey <tromey@redhat.com>
3365
3366 PR python/16491:
3367 * python/py-framefilter.c (apply_frame_filter): Call
3368 ensure_python_env after computing gdbarch.
3369
17fde6d0
YQ
33702014-01-23 Yao Qi <yao@codesourcery.com>
3371
3372 * target.c (raw_memory_xfer_partial): Change argument type
3373 from void * to gdb_byte *.
3374 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3375
87ce2a04
DE
33762014-01-22 Doug Evans <dje@google.com>
3377
3378 New gdbserver option --debug-format=timestamp.
3379 * NEWS: Mention it.
3380
237b092b
AA
33812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3382
3383 * syscalls/s390x-linux.xml: New file.
3384 * syscalls/s390-linux.xml: New file.
3385 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3386 (XML_SYSCALL_FILENAME_S390X): Likewise.
3387 (op_svc): New enum value for SVC opcode.
3388 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3389 (s390_linux_get_syscall_number): New function.
3390 (s390_gdbarch_init): Register '*get_syscall_number' and the
3391 syscall xml file name.
3392 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3393 "s390-linux.xml" and "s390x-linux.xml".
3394 * NEWS: Announce new feature.
3395
54bff650
BS
33962014-01-22 Baruch Siach <baruch@tkos.co.il>
3397
3398 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3399
14e361d7
PA
34002014-01-22 Pedro Alves <palves@redhat.com>
3401
3402 * xtensa-config.c: Include defs.h.
3403
46bbb3ed
JB
34042014-01-22 Joel Brobecker <brobecker@adacore.com>
3405
3406 * common/common-utils.h: Add "ARI:" comment beside __func__
3407 reference.
3408
3a80edfc
JB
34092014-01-22 Joel Brobecker <brobecker@adacore.com>
3410
3411 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3412 documentation a bit.
3413
4869db5e
RM
34142014-01-21 Roland McGrath <mcgrathr@google.com>
3415
3416 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3417 * configure: Regenerate.
3418 * aclocal.m4: Regenerate.
3419 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3420 New substituted variables.
3421 (install-strip): New target.
3422 (INSTALL_SCRIPT): New substituted variable.
3423 (FLAGS_TO_PASS): Add it.
3424 (install-only): Use $(INSTALL_SCRIPT) rather than
3425 $(INSTALL_PROGRAM) for gcore.
3426
9ea4267d
TT
34272014-01-20 Tom Tromey <tromey@redhat.com>
3428
3429 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3430 together.
3431
1f2bdf09
TT
34322014-01-20 Tom Tromey <tromey@redhat.com>
3433
3434 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3435 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3436 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3437 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3438 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3439 (struct cmd_list_element) <flags>: Remove.
3440 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3441 doc_allocated>: New fields.
3442 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3443 bitfields.
3444 * maint.c (maintenance_do_deprecate): Update.
3445 * top.c (execute_command): Update.
3446
e671835b
BS
34472014-01-20 Baruch Siach <baruch@tkos.co.il>
3448
3449 * xtensa-linux-nat.c: Include asm/ptrace.h.
3450
50367cd2
IB
34512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3452
3453 * Makefile.in (SFILES): Add d-support.c.
3454 (COMMON_OBS): Add d-support.o.
3455 * d-lang.h (d_parse_symbol): Add comment, now defined in
3456 d-support.c.
3457 * d-lang.c (parse_call_convention)
3458 (parse_attributes, parse_function_types)
3459 (parse_function_args, parse_type, parse_identifier)
3460 (call_convention_p, d_parse_symbol): Move functions to ...
3461 * d-support.c: ... New file.
3462
ec9f644a
IB
34632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3464
3465 * d-lang.h (d_parse_symbol): Add declaration.
3466 * d-lang.c (extract_identifiers)
3467 (extract_type_info): Remove functions.
3468 (parse_call_convention, parse_attributes)
3469 (parse_function_types, parse_function_args)
3470 (parse_type, parse_identifier, call_convention_p)
3471 (d_parse_symbol): New functions.
3472 (d_demangle): Use d_parse_symbol to demangle D symbols.
3473
94b1b47e
IB
34742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3475
3476 * d-lang.h (struct builtin_d_type): New data type.
3477 (builtin_d_type): Add declaration.
3478 * d-lang.c (d_language_arch_info, build_d_types)
3479 (builtin_d_type): New functions.
3480 (enum d_primitive_types): New data type.
3481 (d_language_defn): Change c_language_arch_info to
3482 d_language_arch_info.
3483 (d_type_data): New static variable.
3484 (_initialize_d_language): Initialize d_type_data.
3485
63778547
IB
34862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3487
3488 * d-lang.h (d_main_name): Add declaration.
3489 * d-lang.c (d_main_name): New function.
3490 * symtab.c (find_main_name): Add call to d_main_name.
3491
3271ba66
IB
34922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3493
3494 * d-lang.c (d_language_defn): Change macro_expansion_c to
3495 macro_expansion_no.
3496
d36b3012
IB
34972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3498
3499 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3500
c90a6fb7
SDJ
35012014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3502
3503 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3504 gdb_exception" declaration.
3505 * remote.c (getpkt_or_notif_sane): Likewise.
3506
749234e5
DE
35072014-01-17 Doug Evans <dje@google.com>
3508
3509 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3510 function, contents of dirnames_to_char_ptr_vec_append moved here.
3511 (delim_string_to_char_ptr_vec): New function.
3512 (dirnames_to_char_ptr_vec_append): Rewrite.
3513 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3514
df049a58
DE
35152014-01-17 Doug Evans <dje@google.com>
3516
3517 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3518 and moved here ...
3519 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3520 #include "common-utils.h".
3521 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3522 * common/vec.h (VEC_ASSERT_PASS): Update.
3523 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3524 (MACH_CHECK_ERROR): Update.
3525
69f97648
SM
35262014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3527
3528 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3529 comments.
3530 * gdbarch.h: Regenerate.
3531
98b1cfdc
TT
35322014-01-16 Tom Tromey <tromey@redhat.com>
3533
3534 * value.c (struct value) <regnum>: Move earlier.
3535
77a19445
TT
35362014-01-16 Tom Tromey <tromey@redhat.com>
3537
3538 * remote.c (extended_remote_create_inferior): Rename from
3539 extended_remote_create_inferior_1. Add "ops" argument. Remove
3540 old implementation.
3541
62261490
PA
35422014-01-16 Pedro Alves <palves@redhat.com>
3543
3544 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3545 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3546 the backchain.
3547
4d65956b
DE
35482014-01-16 Doug Evans <dje@google.com>
3549
3550 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3551
52834460
MM
35522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3553
3554 * btrace.h (btrace_thread_flag): New.
3555 (struct btrace_thread_info) <flags>: New.
3556 * record-btrace.c (record_btrace_resume_thread)
3557 (record_btrace_find_thread_to_move, btrace_step_no_history)
3558 (btrace_step_stopped, record_btrace_start_replaying)
3559 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3560 (record_btrace_find_resume_thread): New.
3561 (record_btrace_resume, record_btrace_wait): Extend.
3562 (record_btrace_can_execute_reverse): New.
3563 (record_btrace_open): Fail in non-stop mode.
3564 (record_btrace_set_replay): Split into this, ...
3565 (record_btrace_stop_replaying): ... this, ...
3566 (record_btrace_clear_histories): ... and this.
3567 (init_record_btrace_ops): Init to_can_execute_reverse.
3568 * NEWS: Announce it.
3569
118e6252
MM
35702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3571
3572 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3573 (forward_target_decr_pc_after_break)
3574 (target_decr_pc_after_break): New.
3575 * target.c (forward_target_decr_pc_after_break)
3576 (target_decr_pc_after_break): New.
3577 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3578 instead of gdbarch_decr_pc_after_break.
3579 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3580 instead of gdbarch_decr_pc_after_break.
3581 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3582 instead of gdbarch_decr_pc_after_break.
3583 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3584 instead of gdbarch_decr_pc_after_break.
3585 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3586 instead of gdbarch_decr_pc_after_break.
3587 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3588 instead of gdbarch_decr_pc_after_break.
3589
6e07b1d2
MM
35902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3591
3592 * btrace.c: Include regcache.h.
3593 (btrace_add_pc): New.
3594 (btrace_enable): Call btrace_add_pc.
3595 (btrace_is_empty): New.
3596 * btrace.h (btrace_is_empty): New.
3597 * record-btrace.c (require_btrace, record_btrace_info): Call
3598 btrace_is_empty.
3599
969c39fb
MM
36002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3601
3602 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3603 Support delta reads.
3604 (linux_disable_btrace): Change return type.
3605 * common/linux-btrace.h (linux_read_btrace): Change parameters
3606 and return type to allow error reporting. Update users.
3607 (linux_disable_btrace): Change return type. Update users.
3608 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3609 New.
3610 (btrace_error): New.
3611 (btrace_block) <begin>: Comment on BEGIN == 0.
3612 * btrace.c (btrace_compute_ftrace): Start from the end of
3613 the current trace.
3614 (btrace_stitch_trace, btrace_clear_history): New.
3615 (btrace_fetch): Read delta trace, return if replaying.
3616 (btrace_clear): Move clear history code to btrace_clear_history.
3617 (parse_xml_btrace): Throw an error if parsing failed.
3618 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3619 and return type to allow error reporting.
3620 (target_read_btrace): Change parameters and return type to allow
3621 error reporting.
3622 * target.c (target_read_btrace): Update.
3623 * remote.c (remote_read_btrace): Support delta reads. Pass
3624 errors on.
3625 * NEWS: Announce it.
3626
0b722aec
MM
36272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3628
3629 * record.h (record_btrace_frame_unwind)
3630 (record_btrace_tailcall_frame_unwind): New declarations.
3631 * dwarf2-frame: Include record.h
3632 (dwarf2_frame_cfa): Throw an error for btrace frames.
3633 * record-btrace.c: Include hashtab.h.
3634 (btrace_get_bfun_name): New.
3635 (btrace_call_history): Call btrace_get_bfun_name.
3636 (struct btrace_frame_cache): New.
3637 (bfcache): New.
3638 (bfcache_hash, bfcache_eq, bfcache_new): New.
3639 (btrace_get_frame_function): New.
3640 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3641 (record_btrace_frame_this_id): Compute own id.
3642 (record_btrace_frame_prev_register): Provide PC, throw_error
3643 for all other registers.
3644 (record_btrace_frame_sniffer): Detect btrace frames.
3645 (record_btrace_tailcall_frame_sniffer): New.
3646 (record_btrace_frame_dealloc_cache): New.
3647 (record_btrace_frame_unwind): Add new functions.
3648 (record_btrace_tailcall_frame_unwind): New.
3649 (_initialize_record_btrace): Allocate cache.
3650 * btrace.c (btrace_clear): Call reinit_frame_cache.
3651 * NEWS: Announce it.
3652
066ce621
MM
36532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3654
3655 * record-btrace.c (record_btrace_set_replay)
3656 (record_btrace_goto_begin, record_btrace_goto_end)
3657 (record_btrace_goto): New.
3658 (init_record_btrace_ops): Initialize them.
3659 * NEWS: Announce it.
3660
e2887aa3
MM
36612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3662
3663 * record-btrace.c (record_btrace_find_new_threads)
3664 (record_btrace_thread_alive): New.
3665 (init_record_btrace_ops): Initialize to_find_new_threads and
3666 to_thread_alive.
3667
b2f4cfde
MM
36682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3669
3670 * record-btrace.c (record_btrace_resume): New.
3671 (record_btrace_wait): New.
3672 (init_record_btrace_ops): Initialize to_wait and to_resume.
3673
633785ff
MM
36742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3675
3676 * record-btrace.c (record_btrace_xfer_partial)
3677 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3678 (record_btrace_allow_memory_access): New.
3679 (init_record_btrace_ops): Initialize new methods.
3680 * target.c (raw_memory_xfer_partial): Bail out if target reports
3681 that this memory is not available.
3682
3db08215
MM
36832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3684
3685 * target.h (target_ops) <to_insert_breakpoint>
3686 <to_remove_breakpoint>: Add target_ops parameter.
3687 (forward_target_insert_breakpoint): New.
3688 (forward_target_remove_breakpoint): New.
3689 (memory_remove_breakpoint, memory_insert_breakpoint):
3690 Add target_ops parameter.
3691 * target.c (target_insert_breakpoint): Split into this and ...
3692 (forward_target_insert_breakpoint): ... this.
3693 (target_remove_breakpoint): Split into this and ...
3694 (forward_target_remove_breakpoint): ... this.
3695 (debug_to_insert_breakpoint): Add target_ops parameter.
3696 Call forward_target_insert_breakpoint.
3697 (debug_to_remove_breakpoint): Add target_ops parameter.
3698 Call forward_target_remove_breakpoint.
3699 (update_current_target): Do not inherit or default to_insert_breakpoint
3700 and to_remove_breakpoint.
3701 * corelow.c (ignore): Add target_ops parameter.
3702 * exec.c (ignore): Add target_ops parameter.
3703 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3704 Add target_ops parameter.
3705 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3706 Add target_ops parameter.
3707 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3708 Add target_ops parameter.
3709 * record-full.c (record_full_beneath_to_insert_breakpoint)
3710 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3711 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3712 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3713 (record_full_core_remove_breakpoint): Add target_ops parameter.
3714 Update users.
3715 (record_full_beneath_to_insert_breakpoint_ops)
3716 (record_full_beneath_to_remove_breakpoint_ops)
3717 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3718 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3719 tmp_to_remove_breakpoint_ops,
3720 record_full_beneath_to_insert_breakpoint_ops, and
3721 record_full_beneath_to_remove_breakpoint_ops.
3722 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3723 (m32r_remove_breakpoint): Add target_ops parameter.
3724 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3725 Add target_ops parameter.
3726 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3727 Add target_ops parameter.
3728
cecac1ab
MM
37292014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3730 Markus Metzger <markus.t.metzger@intel.com>
3731
3732 * record-btrace.c: Include frame-unwind.h.
3733 (record_btrace_frame_unwind_stop_reason)
3734 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3735 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3736 New.
3737 (init_record_btrace_ops): Install it.
3738
824344ca
MM
37392014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3740
3741 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3742 get_prev_frame_1.
3743
32261e52
MM
37442014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3745
3746 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3747 earlier.
3748
ea001bdc
MM
37492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3750
3751 * frame-unwind.c: Include target.h.
3752 (frame_unwind_try_unwinder): New function with code from ...
3753 (frame_unwind_find_by_frame): ... here. New variable
3754 unwinder_from_target, call also target_get_unwinder)
3755 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3756 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3757 * target.h (struct target_ops): New fields to_get_unwinder and
3758 to_get_tailcall_unwinder.
3759 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3760
1f3ef581
MM
37612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3762
3763 * record-btrace.c (record_btrace_fetch_registers)
3764 (record_btrace_store_registers)
3765 (record_btrace_to_prepare_to_store): New.
3766 (init_record_btrace_ops): Add the above.
3767
f32dbf8c
MM
37682014-01-16 Tom Tromey <tromey@redhat.com>
3769
3770 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3771 * target.h (struct target_ops) <to_prepare_to_store>: Add
3772 argument.
3773 (target_prepare_to_store): Add argument.
3774 * target.c (debug_to_prepare_to_store): Add argument.
3775 (update_current_target): Update.
3776 * remote.c (remote_prepare_to_store): Add 'self' argument.
3777 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3778 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3779 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3780 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3781 argument.
3782 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3783 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3784 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3785 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3786 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3787
07bbe694
MM
37882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3789
3790 * btrace.h (replay) <replay>: New.
3791 (btrace_is_replaying): New.
3792 * btrace.c (btrace_clear): Free replay iterator.
3793 (btrace_is_replaying): New.
3794 * record-btrace.c (record_btrace_is_replaying): New.
3795 (record_btrace_info): Print insn number if replaying.
3796 (record_btrace_insn_history): Start at replay position.
3797 (record_btrace_call_history): Start at replay position.
3798 (init_record_btrace_ops): Init to_record_is_replaying.
3799
0688d04e
MM
38002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3801
3802 * record-btrace.c (record_btrace_insn_history_range): Include
3803 end.
3804 (record_btrace_insn_history_from): Adjust range.
3805 (record_btrace_call_history_range): Include
3806 end.
3807 (record_btrace_call_history_from): Adjust range.
3808 * NEWS: Announce changes.
3809
8710b709
MM
38102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3811
3812 * record.h (enum record_print_flag)
3813 <record_print_indent_calls>: New.
3814 * record.c (get_call_history_modifiers): Recognize /c modifier.
3815 (_initialize_record): Document /c modifier.
3816 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3817 Reorder fields. Optionally indent the function name. Update
3818 all users.
3819 * NEWS: Announce changes.
3820
d0fa7535
MM
38212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3822
3823 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3824
5de9129b
MM
38252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3826
3827 * btrace.c (ftrace_new_function): Start counting at one.
3828 * record-btrace.c (record_btrace_info): Adjust number of calls
3829 and insns.
3830 * NEWS: Announce it.
3831
7acbe133
MM
38322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3833
3834 * record-btrace.c (btrace_call_history_insn_range): Print
3835 insn range as [begin, end].
3836
23a7fe75
MM
38372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3838
3839 * btrace.h (struct btrace_func_link): New.
3840 (enum btrace_function_flag): New.
3841 (struct btrace_inst): Rename to ...
3842 (struct btrace_insn): ...this. Update all users.
3843 (struct btrace_func) <ibegin, iend>: Remove.
3844 (struct btrace_func_link): New.
3845 (struct btrace_func): Rename to ...
3846 (struct btrace_function): ...this. Update all users.
3847 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3848 (number, level, flags>: New.
3849 (struct btrace_insn_iterator): Rename to ...
3850 (struct btrace_insn_history): ...this.
3851 Update all users.
3852 (struct btrace_insn_iterator, btrace_call_iterator): New.
3853 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3854 (struct btrace_target_info) <begin, end, level>
3855 <insn_history, call_history>: New.
3856 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3857 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3858 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3859 (btrace_call_number, btrace_call_begin, btrace_call_end)
3860 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3861 (btrace_find_function_by_number, btrace_set_insn_history)
3862 (btrace_set_call_history): New.
3863 * btrace.c (btrace_init_insn_iterator)
3864 (btrace_init_func_iterator, compute_itrace): Remove.
3865 (ftrace_print_function_name, ftrace_print_filename)
3866 (ftrace_skip_file): Change
3867 parameter to const.
3868 (ftrace_init_func): Remove.
3869 (ftrace_debug): Use new btrace_function fields.
3870 (ftrace_function_switched): Also consider gaining and
3871 losing symbol information).
3872 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3873 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3874 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3875 New.
3876 (ftrace_new_function): Move. Remove debug print.
3877 (ftrace_update_lines, ftrace_update_insns): New.
3878 (ftrace_update_function): Check for call, ret, and jump.
3879 (compute_ftrace): Renamed to ...
3880 (btrace_compute_ftrace): ...this. Rewritten to compute call
3881 stack.
3882 (btrace_fetch, btrace_clear): Updated.
3883 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3884 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3885 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3886 (btrace_call_number, btrace_call_begin, btrace_call_end)
3887 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3888 (btrace_find_function_by_number, btrace_set_insn_history)
3889 (btrace_set_call_history): New.
3890 * record-btrace.c (require_btrace): Use new btrace thread
3891 info fields.
3892 (record_btrace_info, btrace_insn_history)
3893 (record_btrace_insn_history, record_btrace_insn_history_range):
3894 Use new btrace thread info fields and new iterator.
3895 (btrace_func_history_src_line): Rename to ...
3896 (btrace_call_history_src_line): ...this. Use new btrace
3897 thread info fields.
3898 (btrace_func_history): Rename to ...
3899 (btrace_call_history): ...this. Use new btrace thread info
3900 fields and new iterator.
3901 (record_btrace_call_history, record_btrace_call_history_range):
3902 Use new btrace thread info fields and new iterator.
3903
8372a7cb
MM
39042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3905
3906 * frame.h (frame_id_build_unavailable_stack_special): New.
3907 * frame.c (frame_id_build_unavailable_stack_special): New.
3908
c2170eef
MM
39092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3910
3911 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3912 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3913 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3914 to gdbarch.
3915 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3916 (i386_insn_is_jump, i386_jmp_p): New.
3917 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3918 insn_is_jump to gdbarch.
3919 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3920 * gdbarch.h: Regenerated.
3921 * gdbarch.c: Regenerated.
3922 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3923 (default_insn_is_jump): New.
3924 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3925 (default_insn_is_jump): New.
3926
864089d2
MM
39272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3928
3929 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3930 Change to ...
3931 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3932 (btrace_read_type) <btrace_read_new>: Change to ...
3933 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3934
ed9edfb5
MM
39352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3936
3937 * common/linux-btrace.c (linux_read_btrace): Free trace from
3938 previous iteration.
3939
fbcbc3fd
DE
39402014-01-15 Doug Evans <dje@google.com>
3941
3942 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3943 uint32_t.
3944
3d548a53
TT
39452014-01-15 Tom Tromey <tromey@redhat.com>
3946
3947 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3948 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3949 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3950 (set_objfile_main_name): New function.
3951 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3952 language_of_main>: New fields.
3953 (set_objfile_main_name): Declare.
3954 * symtab.c (find_main_name): Loop over objfiles to find the main
3955 name and language.
3956 (set_main_name): Now static.
3957 (get_main_info): Add comment.
3958 * symtab.h (set_main_name): Don't declare.
3959
32ac0d11
TT
39602014-01-15 Tom Tromey <tromey@redhat.com>
3961
3962 * symtab.c (main_progspace_key): New global.
3963 (struct main_info): New.
3964 (name_of_main, language_of_main): Remove.
3965 (get_main_info, main_info_cleanup): New function.
3966 (set_main_name, main_name, main_language): Use get_main_info.
3967 (_initialize_symtab): Initialize main_progspace_key.
3968
9e6c82ad
TT
39692014-01-15 Tom Tromey <tromey@redhat.com>
3970
3971 * dbxread.c (process_one_symbol): Update.
3972 * dwarf2read.c (read_partial_die): Update.
3973 * symfile.c (set_initial_language): Call main_language.
3974 * symtab.c (language_of_main): Now static.
3975 (set_main_name): Add 'lang' parameter.
3976 (find_main_name): Update.
3977 (main_language): New function.
3978 (symtab_observer_executable_changed): Update.
3979 * symtab.h (set_main_name): Update.
3980 (language_of_main): Remove.
3981 (main_language): Declare.
3982
6ef55de7
TT
39832014-01-15 Tom Tromey <tromey@redhat.com>
3984
3985 * symfile.c (init_entry_point_info): Use new "initialized" field.
3986 Update.
3987 * objfiles.h (struct entry_point) <initialized>: New field.
3988 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3989 (struct objfile) <ei>: ...here. Remove.
3990 * objfiles.c (entry_point_address_query): Update.
3991
53eddfa6
TT
39922014-01-15 Tom Tromey <tromey@redhat.com>
3993
3994 * objfiles.c (entry_point_address_query): Relocate entry point
3995 address.
3996 (objfile_relocate1): Do not relocate entry point address.
3997 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3998 <the_bfd_section_index>: New field.
3999 * symfile.c (init_entry_point_info): Find the entry point's
4000 section.
4001
d56e56aa
TT
40022014-01-15 Tom Tromey <tromey@redhat.com>
4003
4004 * solib-frv.c (enable_break): Use entry_point_address_query.
4005
33a97bbe
OJ
40062014-01-15 Omair Javaid <omair.javaid@linaro.org>
4007
4008 * NEWS: Add note on improved process record-replay on
4009 arm*-linux* targets.
4010
c6ec2b30
OJ
40112014-01-15 Omair Javaid <omair.javaid@linaro.org>
4012
4013 * arm-tdep.c (enum arm_record_result): New enum.
4014 (arm_record_unsupported_insn): New function.
4015 (arm_record_coproc_data_proc): Removed.
4016 (thumb2_record_ld_st_multiple): New function.
4017 (thumb2_record_ld_st_dual_ex_tbb): New function.
4018 (thumb2_record_data_proc_sreg_mimm): New function.
4019 (thumb2_record_ps_dest_generic): New function.
4020 (thumb2_record_branch_misc_cntrl): New function.
4021 (thumb2_record_str_single_data): New function.
4022 (thumb2_record_ld_mem_hints): New function.
4023 (thumb2_record_ld_word): New function.
4024 (thumb2_record_lmul_lmla_div): New function.
4025 (thumb2_record_decode_insn_handler): New function.
4026 (decode_insn): Add thumb32 instruction handlers.
4027
97dfe206
OJ
40282014-01-15 Omair Javaid <omair.javaid@linaro.org>
4029
4030 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4031 (struct arm_linux_record_tdep): Declare.
4032 (arm_canonicalize_syscall): New function.
4033 (arm_all_but_pc_registers_record): New function.
4034 (arm_linux_syscall_record): New function.
4035 (arm_linux_init_abi): Add syscall recording constructs.
4036 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4037 decoding. (arm_record_coproc_data_proc): Update arm syscall
4038 decoding.
4039 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4040 <arm_syscall_record>: New field.
4041 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4042 gdb_target_obs.
4043
9904a494
OJ
40442014-01-15 Omair Javaid <omair.javaid@linaro.org>
4045
4046 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4047 register for push instruction recording.
4048
f969241e
OJ
40492014-01-15 Omair Javaid <omair.javaid@linaro.org>
4050
4051 * arm-tdep.c (thumb_record_misc): Update to correct logical
4052 error while recording ldm, ldmia and pop instructions.
4053
bfbbec00
OJ
40542014-01-15 Omair Javaid <omair.javaid@linaro.org>
4055
4056 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4057
e40adcc9
PA
40582014-01-15 Pedro Alves <palves@redhat.com>
4059
4060 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4061 (go32_resume, go32_fetch_registers, store_register)
4062 (go32_store_registers, go32_prepare_to_store)
4063 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4064 (go32_create_inferior, go32_can_run, go32_terminal_init)
4065 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4066 declarations.
4067
b0a16e66
TT
40682014-01-15 Tom Tromey <tromey@redhat.com>
4069
4070 * target.h (async_callback_ftype): New typedef.
4071 (struct target_ops) <to_async>: Use it.
4072
bf7105a4
JB
40732014-01-15 Joel Brobecker <brobecker@adacore.com>
4074
4075 * python/py-value.c (get_field_type): Remove unnecessary curly
4076 braces for single-statement if block.
4077
a8f35c2e
JB
40782014-01-15 Joel Brobecker <brobecker@adacore.com>
4079
4080 * python/py-type.c (convert_field): Add missing empty line
4081 after declarations.
4082
bb4142cf
DE
40832014-01-14 Doug Evans <dje@google.com>
4084
4085 * symfile.h (expand_symtabs_matching): Renamed from
4086 expand_partial_symbol_names. Update prototype.
4087 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4088 * symfile.c (expand_symtabs_matching): Renamed from
4089 expand_partial_symbol_names. New args file_matcher, kind.
4090 Rename arg fun to symbol_matcher.
4091 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4092 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4093 ada_expand_partial_symbol_name.
4094 (ada_make_symbol_completion_list): Update to call
4095 expand_symtabs_matching.
4096 (ada_add_global_exceptions): Call expand_symtabs_matching.
4097 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4098 call map_symbol_filenames.
4099 * symtab.c (sources_info): Update to call map_symbol_filenames.
4100 (search_symbols): Call expand_symtabs_matching.
4101 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4102 (default_make_symbol_completion_list_break_on): Update to call
4103 expand_symtabs_matching.
4104 (make_source_files_completion_list): Update to call
4105 map_symbol_filenames.
4106
206f2a57
DE
41072014-01-14 Doug Evans <dje@google.com>
4108
4109 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4110 (expand_symtabs_symbol_matcher_ftype): New typedef.
4111 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4112 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4113 * symfile.c (expand_partial_symbol_names): Update to use
4114 expand_symtabs_symbol_matcher_ftype.
4115 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4116 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4117 Arg name_matcher renamed to symbol_matcher.
4118 * psymtab.c (recursively_search_psymtabs): Update to use
4119 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4120 sym_matcher.
4121 (expand_symtabs_matching_via_partial): Update to use
4122 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4123 Arg name_matcher renamed to symbol_matcher.
4124
540c2971
DE
41252014-01-14 Doug Evans <dje@google.com>
4126
4127 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4128 (map_partial_symbol_filenames): Ditto.
4129 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4130 (map_partial_symbol_filenames): Ditto.
4131 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4132 (map_partial_symbol_filenames): Ditto.
4133 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4134 (map_partial_symbol_filenames): Ditto.
4135 * symtab.c: Delete #include "psymtab.h".
4136
8213266a
PA
41372014-01-14 Pedro Alves <palves@redhat.com>
4138 Tom Tromey <tromey@redhat.com>
4139
4140 * infrun.c (use_displaced_stepping): Use find_record_target
4141 instead of RECORD_IS_USED.
4142 (adjust_pc_after_break): Use record_full_is_used instead of
4143 RECORD_IS_USED.
4144 * record-btrace.c (record_btrace_open): Call record_preopen
4145 instead of checking RECORD_IS_USED.
4146 * record-full.c (record_full_shortname)
4147 (record_full_core_shortname): New globals.
4148 (record_full_is_used): New function.
4149 (find_full_open): Call record_preopen instead of checking
4150 RECORD_IS_USED.
4151 (init_record_full_ops): Set the target's shortname to
4152 record_full_shortname.
4153 (init_record_full_core_ops): Set the target's shortname to
4154 record_full_core_shortname.
4155 * record-full.h (record_full_is_used): Declare.
4156 * record.c (find_record_target): Make extern.
4157 (record_preopen): New function.
4158 * record.h (RECORD_IS_USED): Delete macro.
4159 (find_record_target, record_preopen): Declare functions.
4160
7ec1862d
YQ
41612014-01-14 Yao Qi <yao@codesourcery.com>
4162
4163 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4164 'len''s type to ULONGEST.
4165 (core_xfer_shared_libraries_aix): Likewise.
4166 * gdbarch.c, gdbarch.h: Regenerated.
4167 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4168 Change type of 'len' to ULONGEST.
4169 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4170 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4171
dea80a27
YQ
41722014-01-14 Yao Qi <yao@codesourcery.com>
4173
4174 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4175 type of 'len' to ULONGEST.
4176 (linux_xfer_osdata_processgroups): Likewise.
4177 (linux_xfer_osdata_threads): Likewise.
4178 (linux_xfer_osdata_fds): Likewise.
4179 (linux_xfer_osdata_isockets): Likewise.
4180 (linux_xfer_osdata_shm): Likewise.
4181 (linux_xfer_osdata_sem): Likewise.
4182 (linux_xfer_osdata_msg): Likewise.
4183 (linux_common_xfer_osdata): Likewise.
4184 (struct osdata_type) <getter>: Likewise.
4185 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4186 the declaration.
4187
b55e14c7
YQ
41882014-01-14 Yao Qi <yao@codesourcery.com>
4189
4190 * target.h (target_xfer_partial_ftype): Update.
4191 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4192 ULONGEST.
4193 * aix-thread.c (aix_thread_xfer_partial): Change type of
4194 argument 'len' to ULONGEST.
4195 * auxv.c (procfs_xfer_auxv): Likewise.
4196 (ld_so_xfer_auxv): Likewise.
4197 (memory_xfer_auxv): Likewise.
4198 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4199 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4200 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4201 * corelow.c (core_xfer_partial): Likewise.
4202 * ctf.c (ctf_xfer_partial): Likewise.
4203 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4204 '%u'.
4205 (darwin_read_dyld_info): Likewise.
4206 (darwin_xfer_partial): Likewise.
4207 * exec.c (section_table_xfer_memory_partial): Likewise.
4208 (exec_xfer_partial): Likewise.
4209 * exec.h (section_table_xfer_memory_partial): Update
4210 declaration.
4211 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4212 instead of plongest.
4213 (gnu_xfer_partial): Likewise.
4214 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4215 (ia64_hpux_xfer_solib_got): Likewise.
4216 (ia64_hpux_xfer_partial): Likewise.
4217 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4218 * inf-ptrace.c (inf_ptrace_xfer_partial):
4219 * inf-ttrace.c (inf_ttrace_xfer_partial):
4220 * linux-nat.c (linux_xfer_siginfo): Likewise.
4221 (linux_nat_xfer_partial): Likewise.
4222 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4223 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4224 * monitor.c (monitor_xfer_memory): Likewise.
4225 (monitor_xfer_partial): Likewise.
4226 * procfs.c (procfs_xfer_partial): Likewise.
4227 * record-full.c (record_full_xfer_partial): Likewise.
4228 (record_full_core_xfer_partial): Likewise.
4229 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4230 instead of plongest.
4231 (gdbsim_xfer_partial): Likewise.
4232 * remote.c (remote_xfer_partial): Likewise.
4233 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4234 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4235 declaration.
4236 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4237 (rs6000_xfer_shared_libraries): Likewise.
4238 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4239 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4240 (sparc_xfer_partial): Likewise.
4241 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4242 (spu_xfer_partial): Likewise.
4243 * spu-multiarch.c (spu_xfer_partial): Likewise.
4244 * target.c (target_read_live_memory): Likewise.
4245 (memory_xfer_live_readonly_partial): Likewise.
4246 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4247 (target_xfer_partial, default_xfer_partial): Likewise.
4248 (current_xfer_partial): Likewise.
4249 * tracepoint.c (tfile_xfer_partial): Likewise.
4250 * windows-nat.c (windows_xfer_memory): Likewise. Call
4251 pulongest instead of plongest.
4252 (windows_xfer_partial): Likewise.
4253 (windows_xfer_shared_libraries): Likewise.
4254
05804640
YQ
42552014-01-14 Yao Qi <yao@codesourcery.com>
4256
4257 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4258 target_xfer_partial_ftype.
4259
b5b08fb4
SC
42602014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4261
4262 PR python/15464
4263 PR python/16113
4264 * valops.c (value_struct_elt_bitpos): New function
4265 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4266 object to 'None' if the field name is an empty string ("").
4267 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4268 attribute to look for a field when 'name' is 'None'.
4269 (get_field_type): New function
4270
13aaf454
DE
42712014-01-13 Doug Evans <dje@google.com>
4272
4273 PR symtab/16426
4274 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4275 (try_open_dwop_file): Ditto.
4276 * gdb_bfd.c: #include "vec.h".
4277 (bfdp): New typedef.
4278 (struct gdb_bfd_data): New member included_bfds.
4279 (gdb_bfd_unref): Unref all included bfds.
4280 (gdb_bfd_record_inclusion): New function.
4281 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4282
c2cec97c
TT
42832014-01-13 Tom Tromey <tromey@redhat.com>
4284
4285 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4286
78e5999d
TT
42872014-01-13 Tom Tromey <tromey@redhat.com>
4288
4289 * defs.h (use_windows): Remove.
4290 * gdb.c (main): Update.
4291 * main.c (captured_main, gdb_main): Update.
4292 * main.h (struct captured_main_args) <use_windows>: Remove.
4293 * top.c (use_windows): Remove.
4294
f2052bbe
TT
42952014-01-13 Tom Tromey <tromey@redhat.com>
4296
4297 * defs.h (deprecated_flush_hook): Remove.
4298
fde4f8ed
JK
42992014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4300
4301 PR threads/16216
4302 * linux-thread-db.c (try_thread_db_load): Add parameter
4303 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4304 (try_thread_db_load_from_pdir_1): Move it there from here.
4305 (try_thread_db_load_from_sdir): Update caller.
4306 (try_thread_db_load_from_dir): Move it there from here.
4307
bdf61915
PP
43082014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4309
4310 * regformats/regdat.sh: Always rewrite the register file.
4311
f71e1a8d
PA
43122014-01-13 Pedro Alves <palves@redhat.com>
4313
4314 * Makefile.in (CHECK_HEADERS): New variable.
4315 (check-headers:): New rule.
4316
42c85435
TT
43172014-01-13 Tom Tromey <tromey@redhat.com>
4318
4319 * cli/cli-setshow.c (do_set_command): Update.
4320 * defs.h (deprecated_set_hook): Remove.
4321 * top.c (deprecated_set_hook): Remove.
4322
f8de5129
PA
43232014-01-13 Pedro Alves <palves@redhat.com>
4324
4325 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4326 the tracepoint if the PC is a pseudo-register.
4327
fc270c35
TT
43282014-01-13 Tom Tromey <tromey@redhat.com>
4329
4330 * defs.h (XCALLOC): Remove.
4331 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4332 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4333 * dwarf2loc.c (allocate_piece_closure): Likewise.
4334 * elfread.c (elf_symfile_segments): Likewise.
4335 (elf_symfile_segments): Likewise.
4336 * gdbtypes.c (copy_type_recursive): Likewise.
4337 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4338 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4339 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4340 XCALLOC.
4341 * mt-tdep.c (mt_gdbarch_init): Likewise.
4342 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4343 XCALLOC.
4344 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4345 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4346 * registry.c (registry_alloc_data): Likewise.
4347 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4348 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4349 * serial.c (serial_fdopen_ops): Likewise.
4350 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4351 XCALLOC.
4352 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4353 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4354 not XCALLOC.
4355
70ba0933
TT
43562014-01-13 Tom Tromey <tromey@redhat.com>
4357
4358 * defs.h (XMALLOC): Remove.
4359 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4360 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4361 * cli-out.c (struct ui_out *): Likewise.
4362 * cli/cli-dump.c (add_dump_command): Likewise.
4363 (add_dump_command): Likewise.
4364 * complaints.c (get_complaints): Likewise.
4365 (find_complaint): Likewise.
4366 * dwarf2-frame.c (execute_cfa_program): Likewise.
4367 * dwarf2read.c (abbrev_table_read_table): Likewise.
4368 * gdbarch.sh: Likewise.
4369 * gdbarch.c: Rebuild.
4370 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4371 * interps.c (interp_new): Likewise.
4372 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4373 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4374 * mi/mi-console.c (mi_console_file_new): Likewise.
4375 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4376 * mi/mi-out.c (mi_out_new): Likewise.
4377 * mi/mi-parse.c (mi_parse): Likewise.
4378 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4379 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4380 * observer.c (xalloc_observer_list_node): Likewise.
4381 * regcache.c (regcache_xmalloc_1): Likewise.
4382 * reggroups.c (reggroup_new): Likewise.
4383 (_initialize_reggroup): Likewise.
4384 * registry.c (register_data_with_cleanup): Likewise.
4385 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4386 * ser-base.c (serial_ttystate): Likewise.
4387 * ser-mingw.c (make_pipe_state): Likewise.
4388 * ser-pipe.c (pipe_open): Likewise.
4389 * serial.c (serial_open): Likewise.
4390 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4391 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4392 (tui_alloc_win_info): Likewise.
4393 (tui_add_content_elements): Likewise.
4394 * tui/tui-file.c (tui_file_new): Likewise.
4395 * tui/tui-out.c (tui_out_new): Likewise.
4396 * ui-file.c (mem_file_new): Likewise.
4397 * ui-out.c (push_level): Likewise.
4398 (make_cleanup_ui_out_end): Likewise.
4399 (append_header_to_list): Likewise.
4400 (ui_out_new): Likewise.
4401 * user-regs.c (user_reg_add_builtin): Likewise.
4402
41bf6aca
TT
44032014-01-13 Tom Tromey <tromey@redhat.com>
4404
4405 * defs.h (XZALLOC): Remove.
4406 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4407 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4408 (get_ada_tasks_inferior_data): Likewise.
4409 * auto-load.c (get_auto_load_pspace_data): Likewise.
4410 * auxv.c (get_auxv_inferior_data): Likewise.
4411 * bfd-target.c (target_bfd_reopen): Likewise.
4412 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4413 (deprecated_insert_raw_breakpoint): Likewise.
4414 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4415 * corelow.c (core_open): Likewise.
4416 * darwin-nat.c (darwin_check_new_threads): Likewise.
4417 (darwin_attach_pid): Likewise.
4418 * dummy-frame.c (dummy_frame_push): Likewise.
4419 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4420 * dwarf2loc.c (allocate_piece_closure): Likewise.
4421 * elfread.c (elf_symfile_segments): Likewise.
4422 * eval.c (ptrmath_type_p): Likewise.
4423 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4424 * gdbtypes.c (alloc_type_arch): Likewise.
4425 (alloc_type_instance): Likewise.
4426 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4427 * inf-child.c (inf_child_can_use_agent): Likewise.
4428 * inflow.c (get_inflow_inferior_data): Likewise.
4429 * infrun.c (save_infcall_suspend_state): Likewise.
4430 * jit.c (jit_reader_load): Likewise.
4431 (get_jit_objfile_data): Likewise.
4432 (get_jit_program_space_data): Likewise.
4433 (jit_object_open_impl): Likewise.
4434 (jit_symtab_open_impl): Likewise.
4435 (jit_block_open_impl): Likewise.
4436 (jit_frame_sniffer): Likewise.
4437 * linux-fork.c (add_fork): Likewise.
4438 * maint.c (make_command_stats_cleanup): Likewise.
4439 * objfiles.c (get_objfile_pspace_data): Likewise.
4440 * opencl-lang.c (struct lval_closure): Likewise.
4441 * osdata.c (osdata_start_osdata): Likewise.
4442 * progspace.c (new_address_space): Likewise.
4443 (add_program_space): Likewise.
4444 * remote-sim.c (get_sim_inferior_data): Likewise.
4445 * sh-tdep.c (sh_gdbarch_init): Likewise.
4446 * skip.c (Ignore): Likewise.
4447 (skip_delete_command): Likewise.
4448 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4449 (library_list_start_library): Likewise.
4450 (solib_aix_current_sos): Likewise.
4451 * solib-darwin.c (get_darwin_info): Likewise.
4452 (darwin_current_sos): Likewise.
4453 * solib-dsbt.c (get_dsbt_info): Likewise.
4454 * solib-ia64-hpux.c (new_so_list): Likewise.
4455 (ia64_hpux_get_solib_linkage_addr): Likewise.
4456 * solib-spu.c (append_ocl_sos): Likewise.
4457 (spu_current_sos): Likewise.
4458 * solib-svr4.c (get_svr4_info): Likewise.
4459 (svr4_keep_data_in_core): Likewise.
4460 (library_list_start_library): Likewise.
4461 (svr4_default_sos): Likewise.
4462 (svr4_read_so_list): Likewise.
4463 * solib-target.c (library_list_start_library): Likewise.
4464 (solib_target_current_sos): Likewise.
4465 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4466 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4467 * symfile.c (default_symfile_segments): Likewise.
4468 * target-descriptions.c (tdesc_data_init): Likewise.
4469 (tdesc_create_reg): Likewise.
4470 (struct tdesc_type *): Likewise.
4471 (tdesc_create_vector): Likewise.
4472 (tdesc_set_struct_size): Likewise.
4473 (struct tdesc_type *): Likewise.
4474 (tdesc_free_feature): Likewise.
4475 (tdesc_create_feature): Likewise.
4476 * windows-nat.c (windows_add_thread): Likewise.
4477 (windows_make_so): Likewise.
4478 * xml-support.c (gdb_xml_body_text): Likewise.
4479 (gdb_xml_create_parser_and_cleanup): Likewise.
4480 (xml_process_xincludes): Likewise.
4481 * xml-syscall.c (allocate_syscalls_info): Likewise.
4482 (syscall_create_syscall_desc): Likewise.
4483
5acfdbae
SDJ
44842014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4485
4486 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4487 function, with code from i386_stap_parse_special_token.
4488 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4489 (i386_stap_parse_special_token): Move code to the two functions
4490 above; simplify it.
4491
0000e5cc
PA
44922014-01-09 Pedro Alves <palves@redhat.com>
4493 Hui Zhu <hui@codesourcery.com>
4494
4495 PR gdb/16101
4496 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4497 bp_err_string. Don't mark the location shlib_disabled if the
4498 error thrown wasn't a generic or memory error. Catch errors
4499 thrown while inserting breakpoints in overlayed code. Output
4500 error message of software breakpoints.
4501 * remote.c (remote_insert_breakpoint): If this breakpoint has
4502 target-side commands but this stub doesn't support Z0 packets,
4503 throw NOT_SUPPORTED_ERROR error.
4504 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4505 * target.h (target_insert_breakpoint): Extend comment.
4506 (target_insert_hw_breakpoint): Add comment.
4507
b7ea362b
PA
45082014-01-08 Pedro Alves <palves@redhat.com>
4509
4510 * remote.c (remote_add_thread): Add threads silently if starting
4511 up.
4512 (remote_notice_new_inferior): If in all-stop, and starting up,
4513 don't call notice_new_inferior.
4514 (get_current_thread): New function, factored out from ...
4515 (add_current_inferior_and_thread): ... this. Adjust.
4516 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4517 found any thread, then select the remote's current thread as GDB's
4518 current thread too.
4519
b7bba001
JB
45202014-01-08 Joel Brobecker <brobecker@adacore.com>
4521
4522 * NEWS: Create a new section for the next release branch.
4523 Rename the section of the current branch, now that it has
4524 been cut.
4525
16dfbded
JB
45262014-01-08 Joel Brobecker <brobecker@adacore.com>
4527
4528 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4529 * version.in: Bump version to 7.7.50.DATE-cvs.
4530
22c90ac1
YQ
45312014-01-08 Yao Qi <yao@codesourcery.com>
4532
4533 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4534 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4535 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4536
d64ad97c
YQ
45372014-01-08 Yao Qi <yao@codesourcery.com>
4538
4539 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4540 return value of bfd_get_filename to symbol_file_add_from_bfd.
4541
f93ba80c
PM
45422014-01-08 Pierre Muller <muller@sourceware.org>
4543
4544 Fix PR16201.
4545 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4546 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4547 to prim_record_mininal_symbol_and_info.
4548 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4549 in call to prim_record_minimal_symbol_and_info.
4550 (read_pe_exported_syms): Set index field of section_data.
4551
a4d9ba85
AP
45522014-01-07 Andrew Pinski <apinski@cavium.com>
4553
4554 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4555 * features/aarch64.c: Regenerate.
4556
1b67eb02
AS
45572014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4558
4559 * target.c (return_null): Define.
4560 (update_current_target): Use it instead of return_zero for
4561 functions that return a pointer.
4562
5e3f4fab
EBM
45632014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4564
4565 * source.c (add_path): Fix check for duplicated paths in the previously
4566 included paths.
4567
e2616788
HK
45682014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4569
4570 * ada-lang.c: Remove duplicated include statements.
4571 * alphabsd-nat.c: Ditto.
4572 * amd64-darwin-tdep.c: Ditto.
4573 * amd64fbsd-nat.c: Ditto.
4574 * auto-load.c: Ditto.
4575 * ax-gdb.c: Ditto.
4576 * breakpoint.c: Ditto.
4577 * dbxread.c: Ditto.
4578 * fork-child.c: Ditto.
4579 * gdb_usleep.c: Ditto.
4580 * i386-darwin-tdep.c: Ditto.
4581 * i386fbsd-nat.c: Ditto.
4582 * infcmd.c: Ditto.
4583 * inferior.c: Ditto.
4584 * jv-lang.c: Ditto.
4585 * linux-nat.c: Ditto.
4586 * linux-tdep.c: Ditto.
4587 * m68kbsd-nat.c: Ditto.
4588 * m68klinux-nat.c: Ditto.
4589 * microblaze-tdep.c: Ditto.
4590 * mips-linux-tdep.c: Ditto.
4591 * mn10300-tdep.c: Ditto.
4592 * nto-tdep.c: Ditto.
4593 * opencl-lang.c: Ditto.
4594 * osdata.c: Ditto.
4595 * printcmd.c: Ditto.
4596 * regcache.c: Ditto.
4597 * remote-m32r-sdi.c: Ditto.
4598 * remote.c: Ditto.
4599 * symfile.c: Ditto.
4600 * symtab.c: Ditto.
4601 * tilegx-linux-nat.c: Ditto.
4602 * tilegx-tdep.c: Ditto.
4603 * tracepoint.c: Ditto.
4604 * valops.c: Ditto.
4605 * vaxbsd-nat.c: Ditto.
4606 * windows-nat.c: Ditto.
4607 * xtensa-tdep.c: Ditto.
4608
bd1f7788
YQ
46092014-01-07 Yao Qi <yao@codesourcery.com>
4610
4611 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4612
79301218
JB
46132014-01-07 Yao Qi <yao@codesourcery.com>
4614 Joel Brobecker <brobecker@adacore.com>
4615
4616 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4617 (pdc_write_regs): Likewise.
4618 (fetch_regs_kernel_thread): Likewise.
4619 (store_regs_kernel_thread): Likewise.
4620
46212014-01-07 Joel Brobecker <brobecker@adacore.com>
4622
4623 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4624 tagged type objects to their actual type.
4625
8e355c5d
JB
46262014-01-07 Joel Brobecker <brobecker@adacore.com>
4627
4628 * ada-valprint.c (print_field_values): Add "language" parameter.
4629 Update calls to print_field_values and print_variant_part.
4630 Pass new parameter "language" in call to val_print instead
4631 of "current_language". Replace call to ada_val_print by call
4632 to val_print.
4633 (print_variant_part): Add "language" parameter.
4634 (ada_val_print_struct_union): Update call to print_field_values.
4635
4fbf5aa5
JB
46362014-01-07 Joel Brobecker <brobecker@adacore.com>
4637
4638 * ada-valprint.c (ui_memcpy): Delete.
4639 (ada_print_floating): Update documentation. Add empty line
4640 between between function documentation and implementation.
4641 Delete variable "buffer". Use ui_file_xstrdup in place of
4642 ui_file_put. Minor adjustments following this change.
4643
71855601
JB
46442014-01-07 Joel Brobecker <brobecker@adacore.com>
4645
4646 * ada-valprint.c (ada_val_print_string): New function,
4647 extracted from ada_val_print_array.
4648 (ada_val_print_array): Replace extracted code by call
4649 to ada_val_print_string followed by a return. Move
4650 "else" branch to the function's top block.
4651
4eb27a30
JB
46522014-01-07 Joel Brobecker <brobecker@adacore.com>
4653
4654 * ada-valprint.c (ada_val_print_array): Move implementation
4655 down. Rename parameter "offset" and "val" into "offset_aligned"
4656 and "original_value" respectively. Add parameter "offset".
4657
34b27950
JB
46582014-01-07 Joel Brobecker <brobecker@adacore.com>
4659
4660 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4661 re-organizing the code. Change the "???" message printed
4662 when target type is a TYPE_CODE_UNDEF into
4663 "<ref to undefined type>".
4664
079e4591
JB
46652014-01-07 Joel Brobecker <brobecker@adacore.com>
4666
4667 * ada-valprint.c (print_record): Delete, implementation inlined...
4668 (ada_val_print_struct_union): ... here. Remove call to
4669 ada_check_typedef in inlined implementation.
4670
8004dfd1
JB
46712014-01-07 Joel Brobecker <brobecker@adacore.com>
4672
4673 * ada-valprint.c (ada_val_print_gnat_array): New function,
4674 extracted from ada_val_print_1;
4675 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4676 (ada_val_print_flt, ada_val_print_struct_union)
4677 (ada_val_print_ref): Likewise.
4678 (ada_val_print_1): Delete variables i and elttype.
4679 Replace extracted-out code by call to corresponding
4680 new functions.
4681
760a2db0
JB
46822014-01-07 Joel Brobecker <brobecker@adacore.com>
4683
4684 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4685
3a92c861
JB
46862014-01-07 Joel Brobecker <brobecker@adacore.com>
4687
4688 * ada-valprint.c (ada_val_print_1): Replace calls to
4689 ada_val_print_1 by calls to val_print.
4690
cd1630f9
JB
46912014-01-07 Joel Brobecker <brobecker@adacore.com>
4692
4693 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4694 Update calls to self accordingly. Replace calls to c_val_print
4695 by calls to val_print.
4696
bdf779a0
JB
46972014-01-07 Joel Brobecker <brobecker@adacore.com>
4698
4699 * ada-valprint.c (print_record): Delete declaration.
4700 (adjust_type_signedness, ada_val_print_1): Likewise.
4701 (ada_val_print): Move function implementation down.
4702 (print_variant_part, print_field_values, print_record):
4703 Move function implementation up.
4704
c0d48811
JB
47052014-01-07 Joel Brobecker <brobecker@adacore.com>
4706
4707 * python/py-type.c (typy_get_name): New function.
4708 (type_object_getset): Add entry for attribute "name".
4709 * NEWS: Add entry mentioning this new attribute.
4710
c26e9cbb
YQ
47112014-01-07 Yao Qi <yao@codesourcery.com>
4712
4713 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4714 statement.
4715
0cc6f43d
YQ
47162014-01-07 Yao Qi <yao@codesourcery.com>
4717
4718 * gnu-nat.c (info_port_rights): Add qualifier const to
4719 argument args.
4720
eec03155
YQ
47212014-01-07 Yao Qi <yao@codesourcery.com>
4722
4723 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4724
f04a82ef
YQ
47252014-01-07 Yao Qi <yao@codesourcery.com>
4726
4727 * gnu-nat.c (make_inf) Update declaration.
4728 (make_inf): Make it static.
4729 (inf_set_traced): Likewise.
4730 (inf_port_to_thread, inf_task_died_status): Likewise.
4731
d57dda0a
YQ
47322014-01-07 Yao Qi <yao@codesourcery.com>
4733
4734 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4735
3aa8c969
YQ
47362014-01-07 Yao Qi <yao@codesourcery.com>
4737
4738 * gnu-nat.c (_initialize_gnu_nat): Declare.
4739
94123b4f
YQ
47402014-01-07 Yao Qi <yao@codesourcery.com>
4741
4742 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4743 'enum bfd_endian'.
4744 (struct gdbarch_info) <byte_order>: Change type to
4745 'enum bfd_endian'.
4746 <byte_order_for_code>: Likewise.
4747 * gdbarch.c, gdbarch.h: Regenerated.
4748
dc81d70a
TT
47492014-01-06 Sasha Smundak <asmundak@google.com>
4750
4751 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4752
cc2f3c35
TT
47532014-01-06 Tom Tromey <tromey@redhat.com>
4754
4755 * doublest.c (convert_doublest_to_floatformat): Use const, not
4756 CONST.
4757 * somread.c (som_symtab_read): Likewise.
4758
adcf2eed
HZ
47592014-01-07 Hui Zhu <hui@codesourcery.com>
4760
4761 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4762 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4763 (gdb_bfd_fopen): Ditto.
4764 (gdb_bfd_openr): Ditto.
4765 (gdb_bfd_openw): Ditto.
4766 (gdb_bfd_openr_iovec): Ditto.
4767 (gdb_bfd_fdopenr): Ditto.
4768 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4769 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4770 with xstrdup.
4771 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4772 with xstrdup.
4773 * symfile-mem.c (symbol_file_add_from_memory): Removed
4774 gdb_bfd_stash_filename.
4775
50722198
DE
47762014-01-03 Doug Evans <dje@google.com>
4777
4778 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4779 output.
4780
2fa4b862
JB
47812014-01-01 Joel Brobecker <brobecker@adacore.com>
4782
4783 Update year range in copyright notice of all files.
4784
28498c42
JB
47852014-01-01 Joel Brobecker <brobecker@adacore.com>
4786
4787 * top.c (print_gdb_version): Set copyright year to 2014.
4788
7b6e1046
JB
47892014-01-01 Joel Brobecker <brobecker@adacore.com>
4790
4791 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4792
df96af55 4793For older changes see ChangeLog-2013.
c906108c
SS
4794\f
4795Local Variables:
4796mode: change-log
4797left-margin: 8
4798fill-column: 74
4799version-control: never
57da7796 4800coding: utf-8
c906108c 4801End:
This page took 1.759014 seconds and 4 git commands to generate.