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