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