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