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