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