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