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