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