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