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