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