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