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