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