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