]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
convert to_goto_record
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
05969c84
TT
12014-02-19 Tom Tromey <tromey@redhat.com>
2
3 * target-delegates.c: Rebuild.
4 * target.c (target_goto_record): Unconditionally delegate.
5 * target.h (struct target_ops) <to_goto_record>: Use
6 TARGET_DEFAULT_NORETURN.
7
3679abfa
TT
82014-02-19 Tom Tromey <tromey@redhat.com>
9
10 * target-delegates.c: Rebuild.
11 * target.c (target_insn_history): Unconditionally delegate.
12 * target.h (struct target_ops) <to_insn_history>: Use
13 TARGET_DEFAULT_NORETURN.
14
8444ab58
TT
152014-02-19 Tom Tromey <tromey@redhat.com>
16
17 * target-delegates.c: Rebuild.
18 * target.c (target_insn_history_from): Unconditionally delegate.
19 * target.h (struct target_ops) <to_insn_history_from>: Use
20 TARGET_DEFAULT_NORETURN.
21
c29302cc
TT
222014-02-19 Tom Tromey <tromey@redhat.com>
23
24 * target-delegates.c: Rebuild.
25 * target.c (target_insn_history_range): Unconditionally delegate.
26 * target.h (struct target_ops) <to_insn_history_range>: Use
27 TARGET_DEFAULT_NORETURN.
28
170049d4
TT
292014-02-19 Tom Tromey <tromey@redhat.com>
30
31 * target-delegates.c: Rebuild.
32 * target.c (target_call_history): Unconditionally delegate.
33 * target.h (struct target_ops) <to_call_history>: Use
34 TARGET_DEFAULT_NORETURN.
35
16fc27d6
TT
362014-02-19 Tom Tromey <tromey@redhat.com>
37
38 * target-delegates.c: Rebuild.
39 * target.c (target_call_history_from): Unconditionally delegate.
40 * target.h (struct target_ops) <to_call_history_from>: Use
41 TARGET_DEFAULT_NORETURN.
42
115d9817
TT
432014-02-19 Tom Tromey <tromey@redhat.com>
44
45 * target-delegates.c: Rebuild.
46 * target.c (target_call_history_range): Unconditionally delegate.
47 * target.h (struct target_ops) <to_call_history_range>: Use
48 TARGET_DEFAULT_NORETURN.
49
eb276a6b
TT
502014-02-19 Tom Tromey <tromey@redhat.com>
51
52 * target-delegates.c: Rebuild.
53 * target.c (target_verify_memory): Unconditionally delegate.
54 * target.h (struct target_ops) <to_verify_memory>: Use
55 TARGET_DEFAULT_NORETURN.
56
9e538d0d
TT
572014-02-19 Tom Tromey <tromey@redhat.com>
58
59 * target-delegates.c: Rebuild.
60 * target.c (target_core_of_thread): Unconditionally delegate.
61 * target.h (struct target_ops) <to_core_of_thread>: Use
62 TARGET_DEFAULT_RETURN.
63
f6fb2925
TT
642014-02-19 Tom Tromey <tromey@redhat.com>
65
66 * target-delegates.c: Rebuild.
67 * target.c (target_flash_done): Unconditionally delegate.
68 * target.h (struct target_ops) <to_flash_done>: Use
69 TARGET_DEFAULT_NORETURN.
70
e8a6c6ac
TT
712014-02-19 Tom Tromey <tromey@redhat.com>
72
73 * target-delegates.c: Rebuild.
74 * target.c (target_flash_erase): Unconditionally delegate.
75 * target.h (struct target_ops) <to_flash_erase>: Use
76 TARGET_DEFAULT_NORETURN.
77
7e35c012
TT
782014-02-19 Tom Tromey <tromey@redhat.com>
79
80 * target-delegates.c: Rebuild.
81 * target.c (target_get_section_table): Unconditionally delegate.
82 * target.h (struct target_ops) <to_get_section_table>: Use
83 TARGET_DEFAULT_RETURN.
84
770234d3
TT
852014-02-19 Tom Tromey <tromey@redhat.com>
86
87 * target-delegates.c: Rebuild.
88 * target.c (target_pid_to_str): Unconditionally delegate.
89 (init_dummy_target): Don't initialize to_pid_to_str.
90 (default_pid_to_str): Rename from dummy_pid_to_str.
91 * target.h (struct target_ops) <to_pid_to_str>: Use
92 TARGET_DEFAULT_FUNC.
93
09b0dc2b
TT
942014-02-19 Tom Tromey <tromey@redhat.com>
95
96 * target-delegates.c: Rebuild.
97 * target.c (target_find_new_threads): Unconditionally delegate.
98 * target.h (struct target_ops) <to_find_new_threads>: Use
99 TARGET_DEFAULT_RETURN.
100
7d4f8efa
TT
1012014-02-19 Tom Tromey <tromey@redhat.com>
102
103 * target-delegates.c: Rebuild.
104 * target.c (target_program_signals): Unconditionally delegate.
105 * target.h (struct target_ops) <to_program_signals>: Use
106 TARGET_DEFAULT_IGNORE.
107
035cad7f
TT
1082014-02-19 Tom Tromey <tromey@redhat.com>
109
110 * target-delegates.c: Rebuild.
111 * target.c (target_pass_signals): Unconditionally delegate.
112 * target.h (struct target_ops) <to_pass_signals>: Use
113 TARGET_DEFAULT_IGNORE.
114
8d657035
TT
1152014-02-19 Tom Tromey <tromey@redhat.com>
116
117 * target-delegates.c: Rebuild.
118 * target.c (default_mourn_inferior): New function.
119 (target_mourn_inferior): Unconditionally delegate.
120 * target.h (struct target_ops) <to_mourn_inferior>: Use
121 TARGET_DEFAULT_FUNC.
122
098dba18
TT
1232014-02-19 Tom Tromey <tromey@redhat.com>
124
125 * target-delegates.c: Rebuild.
126 * target.c (default_follow_fork): New function.
127 (target_follow_fork): Unconditionally delegate.
128 * target.h (struct target_ops) <to_follow_fork>: Use
129 TARGET_DEFAULT_FUNC.
130
423a4807
TT
1312014-02-19 Tom Tromey <tromey@redhat.com>
132
133 * target-delegates.c: Rebuild.
134 * target.c (target_kill): Unconditionally delegate.
135 * target.h (struct target_ops) <to_kill>: Use
136 TARGET_DEFAULT_NORETURN.
137
6c7e5e5c
TT
1382014-02-19 Tom Tromey <tromey@redhat.com>
139
140 * target-delegates.c: Rebuild.
141 * target.c (target_masked_watch_num_registers): Unconditionally
142 delegate.
143 * target.h (struct target_ops) <to_masked_watch_num_registers>:
144 Use TARGET_DEFAULT_RETURN.
145
8b1c364c
TT
1462014-02-19 Tom Tromey <tromey@redhat.com>
147
148 * target-delegates.c: Rebuild.
149 * target.c (target_remove_mask_watchpoint): Unconditionally
150 delegate.
151 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
152 TARGET_DEFAULT_RETURN.
153
cd4ae029
TT
1542014-02-19 Tom Tromey <tromey@redhat.com>
155
156 * target-delegates.c: Rebuild.
157 * target.c (target_insert_mask_watchpoint): Unconditionally
158 delegate.
159 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
160 TARGET_DEFAULT_RETURN.
161
a134316b
TT
1622014-02-19 Tom Tromey <tromey@redhat.com>
163
164 * target-delegates.c: Rebuild.
165 * target.c (target_ranged_break_num_registers): Unconditionally
166 delegate.
167 * target.h (struct target_ops) <to_ranged_break_num_registers>:
168 Use TARGET_DEFAULT_RETURN.
169
ad5989bd
TT
1702014-02-19 Tom Tromey <tromey@redhat.com>
171
172 * target-delegates.c: Rebuild.
173 * target.c (target_fetch_registers): Unconditionally delegate.
174 * target.h (struct target_ops) <to_fetch_registers>: Use
175 TARGET_DEFAULT_NORETURN.
176
46ee7e8d
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_stop.
182 * target.h (struct target_ops) <to_stop>: Use
183 TARGET_DEFAULT_IGNORE.
184
843f59ed
TT
1852014-02-19 Tom Tromey <tromey@redhat.com>
186
187 * target-delegates.c: Rebuild.
188 * target.c (update_current_target): Don't inherit or default
189 to_can_run_breakpoint_commands.
190 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
191 Use TARGET_DEFAULT_RETURN.
192
ccfde2a0
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_evaluation_of_breakpoint_conditions.
198 * target.h (struct target_ops)
199 <to_supports_evaluation_of_breakpoint_conditions>: Use
200 TARGET_DEFAULT_RETURN.
201
0de91722
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_augmented_libraries_svr4_read.
207 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
208 Use TARGET_DEFAULT_RETURN.
209
9a7d8b48
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_can_use_agent.
215 * target.h (struct target_ops) <to_can_use_agent>: Use
216 TARGET_DEFAULT_RETURN.
217
d9db5b21
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_use_agent.
223 * target.h (struct target_ops) <to_use_agent>: Use
224 TARGET_DEFAULT_NORETURN.
225
92155eeb
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_traceframe_info.
231 (return_null): Remove.
232 * target.h (struct target_ops) <to_traceframe_info>: Use
233 TARGET_DEFAULT_RETURN.
234
d6522a22
TT
2352014-02-19 Tom Tromey <tromey@redhat.com>
236
237 * target-delegates.c: Rebuild.
238 * target.c (update_current_target): Don't inherit or default
239 to_static_tracepoint_markers_by_strid.
240 * target.h (struct target_ops)
241 <to_static_tracepoint_markers_by_strid>: Use
242 TARGET_DEFAULT_NORETURN.
243
4c3e4425
TT
2442014-02-19 Tom Tromey <tromey@redhat.com>
245
246 * target-delegates.c: Rebuild.
247 * target.c (update_current_target): Don't inherit or default
248 to_static_tracepoint_marker_at.
249 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
250 Use TARGET_DEFAULT_RETURN.
251
dcd6917f
TT
2522014-02-19 Tom Tromey <tromey@redhat.com>
253
254 * target-delegates.c: Rebuild.
255 * target.c (update_current_target): Don't inherit or default
256 to_set_permissions.
257 * target.h (struct target_ops) <to_set_permissions>: Use
258 TARGET_DEFAULT_IGNORE.
259
22bcceee
TT
2602014-02-19 Tom Tromey <tromey@redhat.com>
261
262 * target-delegates.c: Rebuild.
263 * target.c (update_current_target): Don't inherit or default
264 to_get_tib_address.
265 * target.h (struct target_ops) <to_get_tib_address>: Use
266 TARGET_DEFAULT_NORETURN.
267
8586ccaa
TT
2682014-02-19 Tom Tromey <tromey@redhat.com>
269
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
272 to_set_trace_notes.
273 * target.h (struct target_ops) <to_set_trace_notes>: Use
274 TARGET_DEFAULT_RETURN.
275
91df8d1d
TT
2762014-02-19 Tom Tromey <tromey@redhat.com>
277
278 * target-delegates.c: Rebuild.
279 * target.c (update_current_target): Don't initialize
280 to_set_trace_buffer_size.
281 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
282 TARGET_DEFAULT_IGNORE.
283
8d526939
TT
2842014-02-19 Tom Tromey <tromey@redhat.com>
285
286 * target-delegates.c: Rebuild.
287 * target.c (update_current_target): Don't inherit or default
288 to_set_circular_trace_buffer.
289 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
290 TARGET_DEFAULT_IGNORE.
291
0bcfeddf
TT
2922014-02-19 Tom Tromey <tromey@redhat.com>
293
294 * target-delegates.c: Rebuild.
295 * target.c (update_current_target): Don't inherit or default
296 to_set_disconnected_tracing.
297 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
298 TARGET_DEFAULT_IGNORE.
299
9249843f
TT
3002014-02-19 Tom Tromey <tromey@redhat.com>
301
302 * target-delegates.c: Rebuild.
303 * target.c (update_current_target): Don't inherit or default
304 to_get_min_fast_tracepoint_insn_len.
305 (return_minus_one): Remove.
306 * target.h (struct target_ops)
307 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
308
ace92e7d
TT
3092014-02-19 Tom Tromey <tromey@redhat.com>
310
311 * target-delegates.c: Rebuild.
312 * target.c (update_current_target): Don't inherit or default
313 to_get_raw_trace_data.
314 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
315 TARGET_DEFAULT_NORETURN.
316
08120467
TT
3172014-02-19 Tom Tromey <tromey@redhat.com>
318
319 * target-delegates.c: Rebuild.
320 * target.c (update_current_target): Don't inherit or default
321 to_upload_trace_state_variables.
322 * target.h (struct target_ops) <to_upload_trace_state_variables>:
323 Use TARGET_DEFAULT_RETURN.
324
1e949b00
TT
3252014-02-19 Tom Tromey <tromey@redhat.com>
326
327 * target-delegates.c: Rebuild.
328 * target.c (update_current_target): Don't inherit or default
329 to_upload_tracepoints.
330 * target.h (struct target_ops) <to_upload_tracepoints>: Use
331 TARGET_DEFAULT_RETURN.
332
a2e6c147
TT
3332014-02-19 Tom Tromey <tromey@redhat.com>
334
335 * target-delegates.c: Rebuild.
336 * target.c (update_current_target): Don't inherit or default
337 to_save_trace_data.
338 * target.h (struct target_ops) <to_save_trace_data>: Use
339 TARGET_DEFAULT_NORETURN.
340
959bcd0b
TT
3412014-02-19 Tom Tromey <tromey@redhat.com>
342
343 * target-delegates.c: Rebuild.
344 * target.c (update_current_target): Don't inherit or default
345 to_get_trace_state_variable_value.
346 * target.h (struct target_ops)
347 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
348
afc94e66
TT
3492014-02-19 Tom Tromey <tromey@redhat.com>
350
351 * target-delegates.c: Rebuild.
352 * target.c (update_current_target): Don't inherit or default
353 to_trace_find.
354 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
355
e51c07ea
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_trace_stop.
361 * target.h (struct target_ops) <to_trace_stop>: Use
362 TARGET_DEFAULT_NORETURN.
363
6fea14cd
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_get_tracepoint_status.
369 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
370 TARGET_DEFAULT_NORETURN.
371
4072d4ff
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_get_trace_status.
377 * target.h (struct target_ops) <to_get_trace_status>: Use
378 TARGET_DEFAULT_RETURN.
379
25da2e80
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_trace_start.
385 * target.h (struct target_ops) <to_trace_start>: Use
386 TARGET_DEFAULT_NORETURN.
387
86dd181d
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_trace_set_readonly_regions.
393 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
394 Use TARGET_DEFAULT_NORETURN.
395
05c41993
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_disable_tracepoint.
401 * target.h (struct target_ops) <to_disable_tracepoint>: Use
402 TARGET_DEFAULT_NORETURN.
403
151f70f1
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_enable_tracepoint.
409 * target.h (struct target_ops) <to_enable_tracepoint>: Use
410 TARGET_DEFAULT_NORETURN.
411
94eb98b9
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_download_trace_state_variable.
417 * target.h (struct target_ops) <to_download_trace_state_variable>:
418 Use TARGET_DEFAULT_NORETURN.
419
719acc4a
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_can_download_tracepoint.
425 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
426 TARGET_DEFAULT_RETURN.
427
9a980a22
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_download_tracepoint.
433 * target.h (struct target_ops) <to_download_tracepoint>: Use
434 TARGET_DEFAULT_NORETURN.
435
5536135b
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_trace_init.
441 * target.h (struct target_ops) <to_trace_init>: Use
442 TARGET_DEFAULT_RETURN.
443
9409d39e
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_supports_string_tracing.
449 * target.h (struct target_ops) <to_supports_string_tracing>: Use
450 TARGET_DEFAULT_RETURN.
451
aab1b22d
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_supports_enable_disable_tracepoint.
457 * target.h (struct target_ops)
458 <to_supports_enable_disable_tracepoint>: Use
459 TARGET_DEFAULT_RETURN.
460
a7304748
TT
4612014-02-19 Tom Tromey <tromey@redhat.com>
462
463 * target-delegates.c: Rebuild.
464 * target.c (update_current_target): Don't inherit or default
465 to_supports_multi_process.
466 * target.h (struct target_ops) <to_supports_multi_process>: Use
467 TARGET_DEFAULT_RETURN.
468
4229b31d
TT
4692014-02-19 Tom Tromey <tromey@redhat.com>
470
471 * target-delegates.c: Rebuild.
472 * target.c (update_current_target): Don't inherit or default
473 to_get_ada_task_ptid.
474 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
475 TARGET_DEFAULT_FUNC.
476
43eba180
TT
4772014-02-19 Tom Tromey <tromey@redhat.com>
478
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
481 to_thread_architecture.
482 * target.h (struct target_ops) <to_thread_architecture>: Use
483 TARGET_DEFAULT_FUNC.
484
fe31bf5b
TT
4852014-02-19 Tom Tromey <tromey@redhat.com>
486
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_execution_direction.
490 * target.h (struct target_ops) <to_execution_direction>: Use
491 TARGET_DEFAULT_FUNC.
492
53e1cfc7
TT
4932014-02-19 Tom Tromey <tromey@redhat.com>
494
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
497 to_can_execute_reverse.
498 * target.h (struct target_ops) <to_can_execute_reverse>: Use
499 TARGET_DEFAULT_RETURN.
500 (target_can_execute_reverse): Unconditionally delegate.
501
9bb9d61d
TT
5022014-02-19 Tom Tromey <tromey@redhat.com>
503
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
506 to_goto_bookmark.
507 (dummy_goto_bookmark): Remove.
508 (init_dummy_target): Don't inherit or default to_goto_bookmark.
509 * target.h (struct target_ops) <to_goto_bookmark>: Use
510 TARGET_DEFAULT_NORETURN.
511
3dbafbbb
TT
5122014-02-19 Tom Tromey <tromey@redhat.com>
513
514 * target-delegates.c: Rebuild.
515 * target.c (update_current_target): Don't inherit or default
516 to_get_bookmark.
517 (dummy_get_bookmark): Remove.
518 (init_dummy_target): Don't inherit or default to_get_bookmark.
519 * target.h (struct target_ops) <to_get_bookmark>: Use
520 TARGET_DEFAULT_NORETURN
521
16f796b1
TT
5222014-02-19 Tom Tromey <tromey@redhat.com>
523
524 * target-delegates.c: Rebuild.
525 * target.c (update_current_target): Don't inherit or default
526 to_make_corefile_notes.
527 (init_dummy_target): Don't initialize to_make_corefile_notes.
528 * target.h (struct target_ops) <to_make_corefile_notes>: Use
529 TARGET_DEFAULT_FUNC.
530
0b5a2719
TT
5312014-02-19 Tom Tromey <tromey@redhat.com>
532
533 * target-delegates.c: Rebuild.
534 * target.c (update_current_target): Don't inherit or default
535 to_find_memory_regions.
536 (init_dummy_target): Don't initialize to_find_memory_regions.
537 * target.h (struct target_ops) <to_find_memory_regions>: Use
538 TARGET_DEFAULT_FUNC.
539
d9cb0195
TT
5402014-02-19 Tom Tromey <tromey@redhat.com>
541
542 * target-delegates.c: Rebuild.
543 * target.c (update_current_target): Don't inherit or default
544 to_log_command.
545 * target.h (struct target_ops) <to_log_command>: Use
546 TARGET_DEFAULT_IGNORE.
547 (target_log_command): Unconditionally delegate.
548
830ca330
TT
5492014-02-19 Tom Tromey <tromey@redhat.com>
550
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
553 to_pid_to_exec_file.
554 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
555 TARGET_DEFAULT_RETURN.
556
825828fc
TT
5572014-02-19 Tom Tromey <tromey@redhat.com>
558
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
561 to_thread_name.
562 (target_thread_name): Unconditionally delegate.
563 * target.h (struct target_ops) <to_thread_name>: Use
564 TARGET_DEFAULT_RETURN.
565
4a7e6dda
TT
5662014-02-19 Tom Tromey <tromey@redhat.com>
567
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
570 to_extra_thread_info.
571 * target.h (struct target_ops) <to_extra_thread_info>: Use
572 TARGET_DEFAULT_RETURN.
573
0db88c1d
TT
5742014-02-19 Tom Tromey <tromey@redhat.com>
575
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
578 to_has_exited.
579 * target.h (struct target_ops) <to_has_exited>: Use
580 TARGET_DEFAULT_RETURN..
581
6a9fa051
TT
5822014-02-19 Tom Tromey <tromey@redhat.com>
583
584 * target-delegates.c: Rebuild.
585 * target.c (update_current_target): Don't inherit or default
586 to_set_syscall_catchpoint.
587 (return_one): Remove.
588 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
589 TARGET_DEFAULT_RETURN.
590
62f64d7a
TT
5912014-02-19 Tom Tromey <tromey@redhat.com>
592
593 * target-delegates.c: Rebuild.
594 * target.c (update_current_target): Don't inherit or default
595 to_insert_exec_catchpoint.
596 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
597 TARGET_DEFAULT_RETURN.
598
cda0f38c
TT
5992014-01-08 Tom Tromey <tromey@redhat.com>
600
601 * target-delegates.c: Rebuild.
602 * target.c (update_current_target): Don't inherit or default
603 to_insert_exec_catchpoint.
604 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
605 TARGET_DEFAULT_RETURN.
606
95c3375e
TT
6072014-02-19 Tom Tromey <tromey@redhat.com>
608
609 * target-delegates.c: Rebuild.
610 * target.c (update_current_target): Don't inherit or default
611 to_remove_vfork_catchpoint.
612 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
613 TARGET_DEFAULT_RETURN.
614
7e18a8dc
TT
6152014-02-19 Tom Tromey <tromey@redhat.com>
616
617 * target-delegates.c: Rebuild.
618 * target.c (update_current_target): Don't inherit or default
619 to_insert_vfork_catchpoint.
620 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
621 TARGET_DEFAULT_RETURN.
622
e1a21fb7
TT
6232014-02-19 Tom Tromey <tromey@redhat.com>
624
625 * target-delegates.c: Rebuild.
626 * target.c (update_current_target): Don't inherit or default
627 to_remove_fork_catchpoint.
628 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
629 TARGET_DEFAULT_RETURN.
630
5958ebeb
TT
6312014-02-19 Tom Tromey <tromey@redhat.com>
632
633 * target-delegates.c: Rebuild.
634 * target.c (update_current_target): Don't inherit or default
635 to_insert_fork_catchpoint.
636 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
637 TARGET_DEFAULT_RETURN.
638
340ba4bf
TT
6392014-02-19 Tom Tromey <tromey@redhat.com>
640
641 * target-delegates.c: Rebuild.
642 * target.c (update_current_target): Don't inherit or default
643 to_post_startup_inferior.
644 * target.h (struct target_ops) <to_post_startup_inferior>: Use
645 TARGET_DEFAULT_IGNORE.
646
7634da87
TT
6472014-02-19 Tom Tromey <tromey@redhat.com>
648
649 * target-delegates.c: Rebuild.
650 * target.c (update_current_target): Don't inherit or default
651 to_load.
652 * target.h (struct target_ops) <to_load>: Use
653 TARGET_DEFAULT_NORETURN.
654
e19e919f
TT
6552014-02-19 Tom Tromey <tromey@redhat.com>
656
657 * target-delegates.c: Rebuild.
658 * target.c (update_current_target): Don't inherit or default
659 to_terminal_info.
660 * target.h (struct target_ops) <to_terminal_info>: Use
661 TARGET_DEFAULT_FUNC.
662
c6ea8f79
TT
6632014-02-19 Tom Tromey <tromey@redhat.com>
664
665 * target-delegates.c: Rebuild.
666 * target.c (update_current_target): Don't inherit or default
667 to_terminal_save_ours.
668 * target.h (struct target_ops) <to_terminal_save_ours>: Use
669 TARGET_DEFAULT_IGNORE.
670
e4a733f1
TT
6712014-02-19 Tom Tromey <tromey@redhat.com>
672
673 * target-delegates.c: Rebuild.
674 * target.c (update_current_target): Don't inherit or default
675 to_terminal_ours.
676 * target.h (struct target_ops) <to_terminal_ours>: Use
677 TARGET_DEFAULT_IGNORE.
678
74fcbef9
TT
6792014-02-19 Tom Tromey <tromey@redhat.com>
680
681 * target-delegates.c: Rebuild.
682 * target.c (update_current_target): Don't inherit or default
683 to_terminal_ours_for_output.
684 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
685 TARGET_DEFAULT_IGNORE.
686
ddeaacc9
TT
6872014-02-19 Tom Tromey <tromey@redhat.com>
688
689 * target-delegates.c: Rebuild.
690 * target.c (update_current_target): Don't inherit or default
691 to_terminal_inferior.
692 * target.h (struct target_ops) <to_terminal_inferior>: Use
693 TARGET_DEFAULT_IGNORE.
694
0343661d
TT
6952014-02-19 Tom Tromey <tromey@redhat.com>
696
697 * target-delegates.c: Rebuild.
698 * target.c (update_current_target): Don't inherit or default
699 to_terminal_init.
700 * target.h (struct target_ops) <to_terminal_init>: Use
701 TARGET_DEFAULT_IGNORE.
702
77cdffe9
TT
7032014-02-19 Tom Tromey <tromey@redhat.com>
704
705 * target-delegates.c: Rebuild.
706 * target.c (update_current_target): Don't inherit or default
707 to_can_accel_watchpoint_condition.
708 * target.h (struct target_ops)
709 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
710
d03655e4
TT
7112014-02-19 Tom Tromey <tromey@redhat.com>
712
713 * target-delegates.c: Rebuild.
714 * target.c (update_current_target): Don't inherit or default
715 to_region_ok_for_hw_watchpoint.
716 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
717 Use TARGET_DEFAULT_FUNC.
718
65f160a9
TT
7192014-02-19 Tom Tromey <tromey@redhat.com>
720
721 * target-delegates.c: Rebuild.
722 * target.c (update_current_target): Don't inherit or default
723 to_watchpoint_addr_within_range.
724 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
725 Use TARGET_DEFAULT_FUNC.
726
61dd109f
TT
7272014-02-19 Tom Tromey <tromey@redhat.com>
728
729 * target-delegates.c: Rebuild.
730 * target.c (update_current_target): Don't inherit or default
731 to_remove_watchpoint.
732 * target.h (struct target_ops) <to_remove_watchpoint>: Use
733 TARGET_DEFAULT_NORETURN.
734
016facd4
TT
7352014-02-19 Tom Tromey <tromey@redhat.com>
736
737 * target-delegates.c: Rebuild.
738 * target.c (update_current_target): Don't inherit or default
739 to_insert_watchpoint.
740 * target.h (struct target_ops) <to_insert_watchpoint>: Use
741 TARGET_DEFAULT_RETURN.
742
418dabac
TT
7432014-02-19 Tom Tromey <tromey@redhat.com>
744
745 * target-delegates.c: Rebuild.
746 * target.c (update_current_target): Don't inherit or default
747 to_remove_hw_breakpoint.
748 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
749 TARGET_DEFAULT_RETURN.
750
61b371f9
TT
7512014-02-19 Tom Tromey <tromey@redhat.com>
752
753 * target-delegates.c: Rebuild.
754 * target.c (update_current_target): Don't inherit or default
755 to_insert_hw_breakpoint.
756 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
757 TARGET_DEFAULT_RETURN.
758
52b51d06
TT
7592014-02-19 Tom Tromey <tromey@redhat.com>
760
761 * target-delegates.c: Rebuild.
762 * target.c (update_current_target): Don't inherit or default
763 to_can_use_hw_breakpoint.
764 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
765 TARGET_DEFAULT_RETURN.
766
f86e59b2
TT
7672014-02-19 Tom Tromey <tromey@redhat.com>
768
769 * target-delegates.c: Rebuild.
770 * target.c (update_current_target): Don't inherit or default
771 to_files_info.
772 * target.h (struct target_ops) <to_files_info>: Use
773 TARGET_DEFAULT_IGNORE.
774
6c628163
TT
7752014-02-19 Tom Tromey <tromey@redhat.com>
776
777 * target-delegates.c: Rebuild.
778 * target.c (update_current_target): Don't inherit or default
779 to_store.
780 * target.h (struct target_ops) <to_store>: Use
781 TARGET_DEFAULT_NORETURN.
782
bebd3233
TT
7832014-02-19 Tom Tromey <tromey@redhat.com>
784
785 * target-delegates.c: Rebuild.
786 * target.c (update_current_target): Don't inherit or default
787 to_post_attach.
788 * target.h (struct target_ops) <to_post_attach>: Use
789 TARGET_DEFAULT_IGNORE.
790
a53f3625
TT
7912014-02-19 Tom Tromey <tromey@redhat.com>
792
793 * target-delegates.c: Rebuild.
794 * target.c (update_current_target): Don't inherit or default
795 to_rcmd.
796 (default_rcmd): New function.
797 (do_monitor_command): Unconditionally delegate.
798 * target.h (struct target_ops) <to_rmcd>: Use
799 TARGET_DEFAULT_FUNC.
800
e9a29200
TT
8012014-02-19 Tom Tromey <tromey@redhat.com>
802
803 * target-delegates.c: Rebuild.
804 * target.c (init_dummy_target): Don't initialize to_attach.
805 (target_attach): Unconditionally delegate.
806 * target.h (struct target_ops) <to_attach>: Use
807 TARGET_DEFAULT_FUNC.
808
09da0d0a
TT
8092014-02-19 Tom Tromey <tromey@redhat.com>
810
811 * target-delegates.c: Rebuild.
812 * target.c (target_detach): Unconditionally delegate.
813 (init_dummy_target): Don't initialize to_detach.
814 * target.h (struct target_ops) <to_detach>: Use
815 TARGET_DEFAULT_IGNORE.
816
5436ff03
TT
8172014-02-19 Tom Tromey <tromey@redhat.com>
818
819 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
820 Add argument.
821 (target_augmented_libraries_svr4_read): Add argument.
822 * target.c (update_current_target): Update.
823 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
824 argument.
825
f0d960ea
TT
8262014-02-19 Tom Tromey <tromey@redhat.com>
827
828 * target.h (struct target_ops) <to_call_history_range>: Add
829 argument.
830 * target.c (target_call_history_range): Add argument.
831 * record-btrace.c (record_btrace_call_history_range): Add 'self'
832 argument.
833 (record_btrace_call_history_from): Update.
834
ec0aea04
TT
8352014-02-19 Tom Tromey <tromey@redhat.com>
836
837 * target.h (struct target_ops) <to_call_history_from>: Add
838 argument.
839 * target.c (target_call_history_from): Add argument.
840 * record-btrace.c (record_btrace_call_history_from): Add 'self'
841 argument.
842
5df2fcba
TT
8432014-02-19 Tom Tromey <tromey@redhat.com>
844
845 * target.h (struct target_ops) <to_call_history>: Add argument.
846 * target.c (target_call_history): Add argument.
847 * record-btrace.c (record_btrace_call_history): Add 'self'
848 argument.
849
4e99c6b7
TT
8502014-02-19 Tom Tromey <tromey@redhat.com>
851
852 * target.h (struct target_ops) <to_insn_history_range>: Add
853 argument.
854 * target.c (target_insn_history_range): Add argument.
855 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
856 argument.
857 (record_btrace_insn_history_from): Update.
858
9abc3ff3
TT
8592014-02-19 Tom Tromey <tromey@redhat.com>
860
861 * target.h (struct target_ops) <to_insn_history_from>: Add
862 argument.
863 * target.c (target_insn_history_from): Add argument.
864 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
865 argument.
866
7a6c5609
TT
8672014-02-19 Tom Tromey <tromey@redhat.com>
868
869 * target.h (struct target_ops) <to_insn_history>: Add argument.
870 * target.c (target_insn_history): Add argument.
871 * record-btrace.c (record_btrace_insn_history): Add 'self'
872 argument.
873
606183ac
TT
8742014-02-19 Tom Tromey <tromey@redhat.com>
875
876 * target.h (struct target_ops) <to_goto_record>: Add argument.
877 * target.c (target_goto_record): Add argument.
878 * record-full.c (record_full_goto): Add 'self' argument.
879 * record-btrace.c (record_btrace_goto): Add 'self' argument.
880
307a1b91
TT
8812014-02-19 Tom Tromey <tromey@redhat.com>
882
883 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
884 * target.c (target_goto_record_end): Add argument.
885 * record-full.c (record_full_goto_end): Add 'self' argument.
886 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
887
08475817
TT
8882014-02-19 Tom Tromey <tromey@redhat.com>
889
890 * target.h (struct target_ops) <to_goto_record_begin>: Add
891 argument.
892 * target.c (target_goto_record_begin): Add argument.
893 * record-full.c (record_full_goto_begin): Add 'self' argument.
894 * record-btrace.c (record_btrace_goto_begin): Add 'self'
895 argument.
896
1c63c994
TT
8972014-02-19 Tom Tromey <tromey@redhat.com>
898
899 * target.h (struct target_ops) <to_record_is_replaying>: Add
900 argument.
901 * target.c (target_record_is_replaying): Add argument.
902 * record-full.c (record_full_is_replaying): Add 'self' argument.
903 * record-btrace.c (record_btrace_is_replaying): Add 'self'
904 argument.
905 (record_btrace_xfer_partial, record_btrace_store_registers)
906 (record_btrace_prepare_to_store, record_btrace_resume)
907 (record_btrace_wait, record_btrace_decr_pc_after_break)
908 (record_btrace_find_new_threads, record_btrace_thread_alive):
909 Update.
910
d1b55219
TT
9112014-02-19 Tom Tromey <tromey@redhat.com>
912
913 * target.h (struct target_ops) <to_delete_record>: Add argument.
914 * target.c (target_delete_record): Add argument.
915 * record-full.c (record_full_delete): Add 'self' argument.
916
1390f529
TT
9172014-02-19 Tom Tromey <tromey@redhat.com>
918
919 * target.h (struct target_ops) <to_save_record>: Add argument.
920 * target.c (target_save_record): Add argument.
921 * record-full.c (record_full_save): Add 'self' argument.
922 (record_full_save): Add 'self' argument.
923
630d6a4a
TT
9242014-02-19 Tom Tromey <tromey@redhat.com>
925
926 * target.h (struct target_ops) <to_info_record>: Add argument.
927 * target.c (target_info_record): Add argument.
928 * record.c (info_record_command): Add argument.
929 * record-full.c (record_full_info): Add 'self' argument.
930 * record-btrace.c (record_btrace_info): Add 'self' argument.
931
c6cd7c02
TT
9322014-02-19 Tom Tromey <tromey@redhat.com>
933
934 * target.h (struct target_ops) <to_stop_recording>: Add argument.
935 * target.c (target_stop_recording): Add argument.
936 * record.c (record_stop): Add argument.
937 * record-btrace.c (record_btrace_stop_recording): Add 'self'
938 argument.
939
39c49f83
TT
9402014-02-19 Tom Tromey <tromey@redhat.com>
941
942 * target.h (struct target_ops) <to_read_btrace>: Add argument.
943 * target.c (struct target_ops) <to_read_btrace>: Add argument.
944 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
945 argument.
946 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
947 (_initialize_amd64_linux_nat): Use it.
948 * i386-linux-nat.c (i386_linux_read_btrace): New function.
949 (_initialize_i386_linux_nat): Use it.
950
1777056d
TT
9512014-02-19 Tom Tromey <tromey@redhat.com>
952
953 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
954 * target.c (target_teardown_btrace): Add argument.
955 * remote.c (remote_teardown_btrace): Add 'self' argument.
956 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
957 argument.
958 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
959 argument.
960
25e95349
TT
9612014-02-19 Tom Tromey <tromey@redhat.com>
962
963 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
964 * target.c (target_disable_btrace): Add argument.
965 * remote.c (remote_disable_btrace): Add 'self' argument.
966 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
967 argument.
968 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
969 argument.
970
e3c49f88
TT
9712014-02-19 Tom Tromey <tromey@redhat.com>
972
973 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
974 * target.c (target_enable_btrace): Add argument.
975 * remote.c (remote_enable_btrace): Add 'self' argument.
976 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
977 argument.
978 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
979 argument.
980
fe38f897
TT
9812014-02-19 Tom Tromey <tromey@redhat.com>
982
983 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
984 (target_can_use_agent): Add argument.
985 * target.c (update_current_target): Update.
986 * remote.c (remote_can_use_agent): Add 'self' argument.
987 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
988
2c152180
TT
9892014-02-19 Tom Tromey <tromey@redhat.com>
990
991 * target.h (struct target_ops) <to_use_agent>: Add argument.
992 (target_use_agent): Add argument.
993 * target.c (update_current_target): Update.
994 * remote.c (remote_use_agent): Add 'self' argument.
995 * inf-child.c (inf_child_use_agent): Add 'self' argument.
996
a893e81f
TT
9972014-02-19 Tom Tromey <tromey@redhat.com>
998
999 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1000 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1001 (target_traceframe_info): Add argument.
1002 * target.c (update_current_target): Update.
1003 * remote.c (remote_traceframe_info): Add 'self' argument.
1004 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1005
c686c57f
TT
10062014-02-19 Tom Tromey <tromey@redhat.com>
1007
1008 * target.h (target_static_tracepoint_markers_by_strid): Add
1009 argument.
1010 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1011 'self' argument.
1012 * target.c (update_current_target): Update.
1013 * remote.c (struct target_ops)
1014 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1015 * linux-nat.c (struct target_ops)
1016 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1017
61fc905d
TT
10182014-02-19 Tom Tromey <tromey@redhat.com>
1019
1020 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1021 Add argument.
1022 (target_static_tracepoint_marker_at): Add argument.
1023 * target.c (update_current_target): Update.
1024 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1025 argument.
1026
c378d69d
TT
10272014-02-19 Tom Tromey <tromey@redhat.com>
1028
1029 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1030 (target_set_permissions): Add argument.
1031 * target.c (update_current_target): Update.
1032 * remote.c (remote_set_permissions): Add 'self' argument.
1033 (remote_start_remote): Update.
1034
bd7ae0f5
TT
10352014-02-19 Tom Tromey <tromey@redhat.com>
1036
1037 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1038 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1039 (target_get_tib_address): Add argument.
1040 * target.c (update_current_target): Update.
1041 * remote.c (remote_get_tib_address): Add 'self' argument.
1042
d9e68a2c
TT
10432014-02-19 Tom Tromey <tromey@redhat.com>
1044
1045 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1046 (target_set_trace_notes): Add argument.
1047 * target.c (update_current_target): Update.
1048 * remote.c (remote_set_trace_notes): Add 'self' argument.
1049
4da384be
TT
10502014-02-19 Tom Tromey <tromey@redhat.com>
1051
1052 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1053 argument.
1054 (target_set_trace_buffer_size): Add argument.
1055 * target.c (update_current_target): Update.
1056 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1057
736d5b1f
TT
10582014-02-19 Tom Tromey <tromey@redhat.com>
1059
1060 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1061 argument.
1062 (target_set_circular_trace_buffer): Add argument.
1063 * target.c (update_current_target): Update.
1064 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1065 argument.
1066
37b25738
TT
10672014-02-19 Tom Tromey <tromey@redhat.com>
1068
1069 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1070 argument.
1071 (target_set_disconnected_tracing): Add argument.
1072 * target.c (update_current_target): Update.
1073 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1074
0e67620a
TT
10752014-02-19 Tom Tromey <tromey@redhat.com>
1076
1077 * target.h (struct target_ops)
1078 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1079 (target_get_min_fast_tracepoint_insn_len): Add argument.
1080 * target.c (update_current_target): Update.
1081 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1082 argument.
1083
88ee6f45
TT
10842014-02-19 Tom Tromey <tromey@redhat.com>
1085
1086 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1087 argument.
1088 (target_get_raw_trace_data): Add argument.
1089 * target.c (update_current_target): Update.
1090 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1091
181e3713
TT
10922014-02-19 Tom Tromey <tromey@redhat.com>
1093
1094 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1095 Add argument.
1096 (target_upload_trace_state_variables): Add argument.
1097 * target.c (update_current_target): Update.
1098 * remote.c (remote_upload_trace_state_variables): Add 'self'
1099 argument.
1100 (remote_start_remote): Update.
1101
ab6617cc
TT
11022014-02-19 Tom Tromey <tromey@redhat.com>
1103
1104 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1105 argument.
1106 (target_upload_tracepoints): Add argument.
1107 * target.c (update_current_target): Update.
1108 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1109 (remote_start_remote): Update.
1110
dc3decaf
TT
11112014-02-19 Tom Tromey <tromey@redhat.com>
1112
1113 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1114 (target_save_trace_data): Add argument.
1115 * target.c (update_current_target): Update.
1116 * remote.c (remote_save_trace_data): Add 'self' argument.
1117
4011015b
TT
11182014-02-19 Tom Tromey <tromey@redhat.com>
1119
1120 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1121 argument.
1122 * target.h (struct target_ops)
1123 <to_get_trace_state_variable_value>: Add argument.
1124 (target_get_trace_state_variable_value): Add argument.
1125 * target.c (update_current_target): Update.
1126 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1127 argument.
1128 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1129
bd4c6793
TT
11302014-02-19 Tom Tromey <tromey@redhat.com>
1131
1132 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1133 * target.h (struct target_ops) <to_trace_find>: Add argument.
1134 (target_trace_find): Add argument.
1135 * target.c (update_current_target): Update.
1136 * remote.c (remote_trace_find): Add 'self' argument.
1137 * ctf.c (ctf_trace_find): Add 'self' argument.
1138
74499f1b
TT
11392014-02-19 Tom Tromey <tromey@redhat.com>
1140
1141 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1142 (target_trace_stop): Add argument.
1143 * target.c (update_current_target): Update.
1144 * remote.c (remote_trace_stop): Add 'self' argument.
1145
db90e85c
TT
11462014-02-19 Tom Tromey <tromey@redhat.com>
1147
1148 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1149 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1150 argument.
1151 (target_get_tracepoint_status): Add argument.
1152 * target.c (update_current_target): Update.
1153 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1154
8bd200f1
TT
11552014-02-19 Tom Tromey <tromey@redhat.com>
1156
1157 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1158 * target.h (struct target_ops) <to_get_trace_status>: Add
1159 argument.
1160 (target_get_trace_status): Add argument.
1161 * target.c (update_current_target): Update.
1162 * remote.c (remote_get_trace_status): Add 'self' argument.
1163 (remote_start_remote, remote_can_download_tracepoint): Update.
1164 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1165
e2d1aae3
TT
11662014-02-19 Tom Tromey <tromey@redhat.com>
1167
1168 * target.h (struct target_ops) <to_trace_start>: Add argument.
1169 (target_trace_start): Add argument.
1170 * target.c (update_current_target): Update.
1171 * remote.c (remote_trace_start): Add 'self' argument.
1172
583f9a86
TT
11732014-02-19 Tom Tromey <tromey@redhat.com>
1174
1175 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1176 Add argument.
1177 (target_trace_set_readonly_regions): Add argument.
1178 * target.c (update_current_target): Update.
1179 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1180 argument.
1181
780b049c
TT
11822014-02-19 Tom Tromey <tromey@redhat.com>
1183
1184 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1185 argument.
1186 (target_disable_tracepoint): Add argument.
1187 * target.c (update_current_target): Update.
1188 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1189
46670d57
TT
11902014-02-19 Tom Tromey <tromey@redhat.com>
1191
1192 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1193 argument.
1194 (target_enable_tracepoint): Add argument.
1195 * target.c (update_current_target): Update.
1196 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1197
559d2b81
TT
11982014-02-19 Tom Tromey <tromey@redhat.com>
1199
1200 * target.h (struct target_ops) <to_download_trace_state_variable>:
1201 Add argument.
1202 (target_download_trace_state_variable): Add argument.
1203 * target.c (update_current_target): Update.
1204 * remote.c (remote_download_trace_state_variable): Add 'self'
1205 argument.
1206
a52a8357
TT
12072014-02-19 Tom Tromey <tromey@redhat.com>
1208
1209 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1210 argument.
1211 (target_can_download_tracepoint): Add argument.
1212 * target.c (update_current_target): Update.
1213 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1214
548f7808
TT
12152014-02-19 Tom Tromey <tromey@redhat.com>
1216
1217 * target.h (struct target_ops) <to_download_tracepoint>: Add
1218 argument.
1219 (target_download_tracepoint): Add argument.
1220 * target.c (update_current_target): Update.
1221 * remote.c (remote_download_tracepoint): Add 'self' argument.
1222
ecae04e1
TT
12232014-02-19 Tom Tromey <tromey@redhat.com>
1224
1225 * target.h (struct target_ops) <to_trace_init>: Add argument.
1226 (target_trace_init): Add argument.
1227 * target.c (update_current_target): Update.
1228 * remote.c (remote_trace_init): Add 'self' argument.
1229
fab5aa7c
TT
12302014-02-19 Tom Tromey <tromey@redhat.com>
1231
1232 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1233 * target.c (target_fileio_readlink): Add argument.
1234 * remote.c (remote_hostio_readlink): Add 'self' argument.
1235 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1236
dbbca37d
TT
12372014-02-19 Tom Tromey <tromey@redhat.com>
1238
1239 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1240 * target.c (target_fileio_unlink): Add argument.
1241 * remote.c (remote_hostio_unlink): Add 'self' argument.
1242 (remote_file_delete): Update.
1243 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1244
df39ea25
TT
12452014-02-19 Tom Tromey <tromey@redhat.com>
1246
1247 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1248 * target.c (target_fileio_close): Add argument.
1249 * remote.c (remote_hostio_close): Add 'self' argument.
1250 (remote_hostio_close_cleanup): Update.
1251 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1252 Update.
1253 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1254
a3be983c
TT
12552014-02-19 Tom Tromey <tromey@redhat.com>
1256
1257 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1258 * target.c (target_fileio_pread): Add argument.
1259 * remote.c (remote_hostio_pread): Add 'self' argument.
1260 (remote_bfd_iovec_pread, remote_file_get): Update.
1261 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1262
0d866f62
TT
12632014-02-19 Tom Tromey <tromey@redhat.com>
1264
1265 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1266 * target.c (target_fileio_pwrite): Add argument.
1267 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1268 (remote_file_put): Update.
1269 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1270
cd897586
TT
12712014-02-19 Tom Tromey <tromey@redhat.com>
1272
1273 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1274 * target.c (target_fileio_open): Add argument.
1275 * remote.c (remote_hostio_open): Add 'self' argument.
1276 (remote_bfd_iovec_open): Add 'self' argument.
1277 (remote_file_put): Add 'self' argument.
1278 (remote_file_get): Add 'self' argument.
1279 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1280
78eff0ec
TT
12812014-02-19 Tom Tromey <tromey@redhat.com>
1282
1283 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1284 Add argument.
1285 (target_can_run_breakpoint_commands): Add argument.
1286 * target.c (update_current_target): Update.
1287 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1288 argument.
1289 (remote_insert_breakpoint): Add 'self' argument.
1290 (remote_insert_hw_breakpoint): Add 'self' argument.
1291 (remote_can_run_breakpoint_commands): Add 'self' argument.
1292
efcc2da7
TT
12932014-02-19 Tom Tromey <tromey@redhat.com>
1294
1295 * target.h (struct target_ops)
1296 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1297 (target_supports_evaluation_of_breakpoint_conditions): Add
1298 argument.
1299 * target.c (update_current_target): Update.
1300 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1301 argument.
1302 (remote_insert_breakpoint): Add 'self' argument.
1303 (remote_insert_hw_breakpoint): Add 'self' argument.
1304 (remote_supports_cond_breakpoints): Add 'self' argument.
1305
6de37a3a
TT
13062014-02-19 Tom Tromey <tromey@redhat.com>
1307
1308 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1309 argument.
1310 (target_supports_string_tracing): Add argument.
1311 * target.c (update_current_target): Update.
1312 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1313
2bfc0540
TT
13142014-02-19 Tom Tromey <tromey@redhat.com>
1315
1316 * target.h (struct target_ops)
1317 <to_supports_disable_randomization>: Add argument.
1318 * target.c (find_default_supports_disable_randomization): Add
1319 argument.
1320 (target_supports_disable_randomization): Add argument.
1321 (find_default_supports_disable_randomization): Add 'self'
1322 argument.
1323 * remote.c (extended_remote_supports_disable_randomization): Add
1324 'self' argument.
1325 (remote_supports_disable_randomization): Add 'self' argument.
1326 (extended_remote_create_inferior): Update.
1327 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1328 'self' argument.
1329
7d178d6a
TT
13302014-02-19 Tom Tromey <tromey@redhat.com>
1331
1332 * target.h (struct target_ops)
1333 <to_supports_enable_disable_tracepoint>: Add argument.
1334 (target_supports_enable_disable_tracepoint): Add argument.
1335 * target.c (update_current_target): Update.
1336 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1337 argument.
1338
86ce2668
TT
13392014-02-19 Tom Tromey <tromey@redhat.com>
1340
1341 * target.h (struct target_ops) <to_supports_multi_process>: Add
1342 argument.
1343 (target_supports_multi_process): Add argument.
1344 * target.c (update_current_target): Update.
1345 * remote.c (remote_supports_multi_process): Add 'self' argument.
1346 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1347 argument.
1348 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1349 argument.
1350
4c612759
TT
13512014-02-19 Tom Tromey <tromey@redhat.com>
1352
1353 * target.h (struct target_ops) <to_execution_direction>: Add
1354 argument.
1355 (target_execution_direction): Add argument.
1356 * target.c (default_execution_direction): Add 'self' argument.
1357 * record-full.c (record_full_execution_direction): Add 'self'
1358 argument.
1359
19db3e69
TT
13602014-02-19 Tom Tromey <tromey@redhat.com>
1361
1362 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1363 argument.
1364 (target_can_execute_reverse): Add argument.
1365 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1366 * record-full.c (record_full_can_execute_reverse): Add 'self'
1367 argument.
1368 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1369 argument.
1370
1e6b91a4
TT
13712014-02-19 Tom Tromey <tromey@redhat.com>
1372
1373 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1374 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1375 argument.
1376 (target_get_ada_task_ptid): Add argument.
1377 * target.c (update_current_target): Update.
1378 (default_get_ada_task_ptid): Add 'self' argument.
1379 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1380 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1381 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1382 argument.
1383 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1384 argument.
1385 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1386 argument.
1387 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1388 argument.
1389 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1390 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1391 argument.
1392
3c80fb48
TT
13932014-02-19 Tom Tromey <tromey@redhat.com>
1394
1395 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1396 (target_goto_bookmark): Add argument.
1397 * target.c (dummy_goto_bookmark): Add 'self' argument.
1398 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1399
dd0e2830
TT
14002014-02-19 Tom Tromey <tromey@redhat.com>
1401
1402 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1403 (target_get_bookmark): Add argument.
1404 * target.c (dummy_get_bookmark): Add 'self' argument.
1405 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1406
fc6691b2
TT
14072014-02-19 Tom Tromey <tromey@redhat.com>
1408
1409 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1410 argument.
1411 (target_make_corefile_notes): Add argument.
1412 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1413 * procfs.c (procfs_make_note_section): Add 'self' argument.
1414 (procfs_make_note_section): Add 'self' argument.
1415 (procfs_make_note_section): Add 'self' argument.
1416 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1417 argument.
1418 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1419 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1420 * exec.c (exec_make_note_section): Add 'self' argument.
1421 (exec_make_note_section): Add 'self' argument.
1422
2e73927c
TT
14232014-02-19 Tom Tromey <tromey@redhat.com>
1424
1425 * target.h (struct target_ops) <to_find_memory_regions>: Add
1426 argument.
1427 (target_find_memory_regions): Add argument.
1428 * target.c (dummy_find_memory_regions): Add 'self' argument.
1429 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1430 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1431 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1432 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1433 * exec. (exec_do_find_memory_regions): New global.
1434 (exec_set_find_memory_regions): Rewrite.
1435 (exec_find_memory_regions): New function.
1436 (init_exec_ops): Use exec_find_memory_regions.
1437
2a9a2795
TT
14382014-02-19 Tom Tromey <tromey@redhat.com>
1439
1440 * target.h (struct target_ops) <to_supports_non_stop>: Add
1441 argument.
1442 * target.c (find_default_supports_non_stop): Add argument.
1443 (target_supports_non_stop): Add argument.
1444 (find_default_supports_non_stop): Add 'self' argument.
1445 * remote.c (remote_supports_non_stop): Add 'self' argument.
1446 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1447
4ab76ea3
TT
14482014-02-19 Tom Tromey <tromey@redhat.com>
1449
1450 * target.h (struct target_ops) <to_log_command>: Add argument.
1451 (target_log_command): Add argument.
1452 * serial.h (serial_log_command): Add 'self' argument.
1453 * serial.c (serial_log_command): Add 'self' argument.
1454
8dd27370
TT
14552014-02-19 Tom Tromey <tromey@redhat.com>
1456
1457 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1458 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1459 argument.
1460 (target_pid_to_exec_file): Add argument.
1461 * target.c (debug_to_pid_to_exec_file): Add argument.
1462 (update_current_target): Update.
1463 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1464 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1465 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1466 (linux_handle_extended_wait): Update.
1467 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1468 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1469 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1470 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1471
1aac633b
TT
14722014-02-19 Tom Tromey <tromey@redhat.com>
1473
1474 * target.h (struct target_ops) <to_rcmd>: Add argument.
1475 (target_rcmd): Add argument.
1476 * target.c (debug_to_rcmd): Add argument.
1477 (update_current_target, do_monitor_command): Update.
1478 * remote.c (remote_rcmd): Add 'self' argument.
1479 * monitor.c (monitor_rcmd): Add 'self' argument.
1480
1eab8a48
TT
14812014-02-19 Tom Tromey <tromey@redhat.com>
1482
1483 * windows-nat.c (windows_stop): Add 'self' argument.
1484 * target.h (struct target_ops) <to_stop>: Add argument.
1485 * target.c (target_stop): Add argument.
1486 (debug_to_stop): Add argument.
1487 (update_current_target): Update.
1488 * remote.c (remote_stop): Add 'self' argument.
1489 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1490 (gdbsim_cntrl_c): Update.
1491 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1492 * procfs.c (procfs_stop): Add 'self' argument.
1493 * nto-procfs.c (procfs_stop): Add 'self' argument.
1494 * monitor.c (monitor_stop): Add 'self' argument.
1495 (monitor_open): Update.
1496 * linux-nat.c (linux_nat_stop): Add argument.
1497 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1498 * gnu-nat.c (gnu_stop): Add 'self' argument.
1499 * darwin-nat.c (darwin_stop): Add 'self' argument.
1500
503a628d
TT
15012014-02-19 Tom Tromey <tromey@redhat.com>
1502
1503 * target.h (struct target_ops) <to_thread_name>: Add argument.
1504 * target.c (target_thread_name): Add argument.
1505 (update_current_target): Update.
1506 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1507
c15906d8
TT
15082014-02-19 Tom Tromey <tromey@redhat.com>
1509
1510 * target.h (struct target_ops) <to_extra_thread_info>: Add
1511 argument.
1512 (target_extra_thread_info): Add argument.
1513 * target.c (update_current_target): Update.
1514 * remote.c (remote_threads_extra_info): Add 'self' argument.
1515 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1516 argument.
1517 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1518 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1519 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1520 argument.
1521 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1522 argument.
1523 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1524 argument.
1525 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1526 argument.
1527
daf5e9b6
TT
15282014-02-19 Tom Tromey <tromey@redhat.com>
1529
1530 * target.h (struct target_ops) <to_program_signals>: Add argument.
1531 * target.c (target_program_signals): Add argument.
1532 * remote.c (remote_program_signals): Add 'self' argument.
1533
94bedb42
TT
15342014-02-19 Tom Tromey <tromey@redhat.com>
1535
1536 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1537 * target.c (target_pass_signals): Add argument.
1538 * remote.c (remote_pass_signals): Add 'self' argument.
1539 (remote_start_remote): Update.
1540 * procfs.c (procfs_pass_signals): Add 'self' argument.
1541 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1542 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1543 (linux_nat_create_inferior, linux_nat_attach): Update.
1544
da82bd6b
TT
15452014-02-19 Tom Tromey <tromey@redhat.com>
1546
1547 * windows-nat.c (windows_can_run): Add 'self' argument.
1548 * target.h (struct target_ops) <to_can_run>: Add argument.
1549 (target_can_run): Add argument.
1550 * target.c (debug_to_can_run): Add argument.
1551 (update_current_target): Update.
1552 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1553 * inf-child.c (inf_child_can_run): Add 'self' argument.
1554 * go32-nat.c (go32_can_run): Add 'self' argument.
1555
d796e1d6
TT
15562014-02-19 Tom Tromey <tromey@redhat.com>
1557
1558 * target.h (struct target_ops) <to_has_exited>: Add argument.
1559 (target_has_exited): Add argument.
1560 * target.c (debug_to_has_exited): Add argument.
1561 (update_current_target): Update.
1562
ff214e67
TT
15632014-02-19 Tom Tromey <tromey@redhat.com>
1564
1565 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1566 argument.
1567 (target_set_syscall_catchpoint): Add argument.
1568 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1569 argument.
1570 * target.c (update_current_target): Update.
1571
758e29d2
TT
15722014-02-19 Tom Tromey <tromey@redhat.com>
1573
1574 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1575 argument.
1576 (target_remove_exec_catchpoint): Add argument.
1577 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1578 (update_current_target): Update.
1579 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1580 argument.
1581
ba025e51
TT
15822014-02-19 Tom Tromey <tromey@redhat.com>
1583
1584 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1585 argument.
1586 (target_insert_exec_catchpoint): Add argument.
1587 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1588 (update_current_target): Update.
1589 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1590 argument.
1591
e98cf0cd
TT
15922014-02-19 Tom Tromey <tromey@redhat.com>
1593
1594 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1595 argument.
1596 (target_remove_vfork_catchpoint): Add argument.
1597 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1598 (update_current_target): Update.
1599 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1600 argument.
1601
3ecc7da0
TT
16022014-02-19 Tom Tromey <tromey@redhat.com>
1603
1604 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1605 argument.
1606 (target_insert_vfork_catchpoint): Add argument.
1607 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1608 (update_current_target): Update.
1609 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1610 argument.
1611
973fc227
TT
16122014-02-19 Tom Tromey <tromey@redhat.com>
1613
1614 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1615 argument.
1616 (target_remove_fork_catchpoint): Add argument.
1617 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1618 (update_current_target): Update.
1619 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1620 argument.
1621
a863b201
TT
16222014-02-19 Tom Tromey <tromey@redhat.com>
1623
1624 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1625 argument.
1626 (target_insert_fork_catchpoint): Add argument.
1627 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1628 (update_current_target): Update.
1629 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1630 argument.
1631
2e97a79e
TT
16322014-02-19 Tom Tromey <tromey@redhat.com>
1633
1634 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1635 argument.
1636 (target_post_startup_inferior): Add argument.
1637 * target.c (debug_to_post_startup_inferior): Add argument.
1638 (update_current_target): Update.
1639 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1640 argument.
1641 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1642 argument.
1643 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1644 argument.
1645 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1646 argument.
1647 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1648 'self' argument.
1649 (super_post_startup_inferior): Likewise.
1650 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1651 'self' argument.
1652 (super_post_startup_inferior): Likewise.
1653 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1654 Add 'self' argument.
1655 (super_post_startup_inferior): Likewise.
1656
71a9f134
TT
16572014-02-19 Tom Tromey <tromey@redhat.com>
1658
1659 * target.h (struct target_ops) <to_load>: Add argument.
1660 * target.c (target_load): Add argument.
1661 (debug_to_load): Add argument.
1662 (update_current_target): Update.
1663 * remote.c (remote_load): Add 'self' argument.
1664 * remote-sim.c (gdbsim_load): Add 'self' argument.
1665 * remote-mips.c (mips_load): Add 'self' argument.
1666 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1667 * monitor.c (monitor_load): Add 'self' argument.
1668 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1669
0a4f40a2
TT
16702014-02-19 Tom Tromey <tromey@redhat.com>
1671
1672 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1673 (target_terminal_info): Add argument.
1674 * target.c (debug_to_terminal_info): Add argument.
1675 (default_terminal_info): Likewise.
1676 * inflow.c (child_terminal_info): Add 'self' argument.
1677 * inferior.h (child_terminal_info): Add 'self' argument.
1678 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1679
ae3bd431
TT
16802014-02-19 Tom Tromey <tromey@redhat.com>
1681
1682 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1683 argument.
1684 (target_terminal_save_ours): Add argument.
1685 * target.c (debug_to_terminal_save_ours): Add argument.
1686 (update_current_target): Update.
1687 * inflow.c (terminal_save_ours): Add 'self' argument.
1688 * inferior.h (terminal_save_ours): Add 'self' argument.
1689
e3594fd1
TT
16902014-02-19 Tom Tromey <tromey@redhat.com>
1691
1692 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1693 (target_terminal_ours): Add argument.
1694 * target.c (debug_to_terminal_ours): Add argument.
1695 (update_current_target): Update.
1696 * remote.c (remote_terminal_ours): Add 'self' argument.
1697 (remote_close): Update.
1698 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1699 * inflow.c (terminal_ours): Add 'self' argument.
1700 * inferior.h (terminal_ours): Add 'self' argument.
1701 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1702
2e1e1a19
TT
17032014-02-19 Pedro Alves <palves@redhat.com>
1704 Tom Tromey <tromey@redhat.com>
1705
1706 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1707 argument.
1708 (target_terminal_ours_for_output): Add argument.
1709 * target.c (debug_to_terminal_ours_for_output): Add argument.
1710 (update_current_target): Update.
1711 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1712 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1713 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1714
d2f640d4
TT
17152014-02-19 Tom Tromey <tromey@redhat.com>
1716
1717 * target.h (struct target_ops) <to_terminal_inferior>: Add
1718 argument.
1719 * target.c (target_terminal_inferior): Add argument.
1720 (update_current_target): Update.
1721 * remote.c (remote_terminal_inferior): Add 'self' argument.
1722 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1723 * inflow.c (terminal_inferior): Add 'self' argument.
1724 * inferior.h (terminal_inferior): Add 'self' argument.
1725 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1726 (go32_terminal_inferior): Add 'self' argument.
1727
c42bf286
TT
17282014-02-19 Tom Tromey <tromey@redhat.com>
1729
1730 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1731 (target_terminal_init): Add argument.
1732 * target.c (debug_to_terminal_init): Add argument.
1733 (update_current_target): Update.
1734 * inflow.c (terminal_init_inferior): Add 'self' argument.
1735 * inferior.h (terminal_init_inferior): Add 'self' argument.
1736 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1737 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1738
c3a5ff89
TT
17392014-02-19 Tom Tromey <tromey@redhat.com>
1740
1741 * target.h (struct target_ops)
1742 <to_can_accel_watchpoint_condition>: Add argument.
1743 (target_can_accel_watchpoint_condition): Add argument.
1744 * target.c (debug_to_can_accel_watchpoint_condition): Add
1745 argument.
1746 (update_current_target): Update.
1747 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1748 'self' argument.
1749
31568a15
TT
17502014-02-19 Tom Tromey <tromey@redhat.com>
1751
1752 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1753 Add argument.
1754 (target_region_ok_for_hw_watchpoint): Add argument.
1755 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1756 (default_region_ok_for_hw_watchpoint): Add argument.
1757 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1758 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1759 argument.
1760 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1761 argument.
1762 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1763 argument.
1764 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1765 'self' argument.
1766 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1767 'self' argument.
1768 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1769 'self' argument.
1770 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1771 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1772 'self' argument.
1773 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1774 Add 'self' argument.
1775
7bb99c53
TT
17762014-02-19 Tom Tromey <tromey@redhat.com>
1777
1778 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1779 argument.
1780 (target_insert_watchpoint): Add argument.
1781 * target.c (debug_to_insert_watchpoint): Add argument.
1782 (update_current_target): Update.
1783 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1784 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1785 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1786 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1787 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1788 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1789 argument.
1790 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1791 (procfs_insert_hw_watchpoint): Add 'self' argument.
1792 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1793 argument.
1794 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1795 argument.
1796 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1797 argument.
1798 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1799 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1800 argument.
1801 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1802 'self' argument.
1803
11b5219a
TT
18042014-02-19 Tom Tromey <tromey@redhat.com>
1805
1806 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1807 argument.
1808 (target_remove_watchpoint): Add argument.
1809 * target.c (debug_to_remove_watchpoint): Add argument.
1810 (update_current_target): Update.
1811 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1812 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1813 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1814 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1815 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1816 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1817 argument.
1818 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1819 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1820 argument.
1821 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1822 argument.
1823 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1824 argument.
1825 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1826 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1827 argument.
1828 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1829 'self' argument.
1830
a64dc96c
TT
18312014-02-19 Tom Tromey <tromey@redhat.com>
1832
1833 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1834 argument.
1835 (target_remove_hw_breakpoint): Add argument.
1836 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1837 (update_current_target): Update.
1838 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1839 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1840 argument.
1841 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1842 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1843 argument.
1844 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1845 'self' argument.
1846
23a26771
TT
18472014-02-19 Tom Tromey <tromey@redhat.com>
1848
1849 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1850 argument.
1851 (target_insert_hw_breakpoint): Add argument.
1852 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1853 (update_current_target): Update.
1854 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1855 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1856 argument.
1857 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1858 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1859 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1860 argument.
1861 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1862 'self' argument.
1863
5461485a
TT
18642014-02-19 Tom Tromey <tromey@redhat.com>
1865
1866 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1867 argument.
1868 (target_can_use_hardware_watchpoint): Add argument.
1869 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1870 (update_current_target): Update.
1871 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1872 argument.
1873 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1874 argument.
1875 * remote.c (remote_check_watch_resources): Add 'self' argument.
1876 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1877 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1878 argument.
1879 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1880 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1881 argument.
1882 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1883 argument.
1884 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1885 argument.
1886 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1887 argument.
1888 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1889 argument.
1890 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1891 argument.
1892 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1893 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1894 argument.
1895 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1896 'self' argument.
1897
f045800c
TT
18982014-02-19 Tom Tromey <tromey@redhat.com>
1899
1900 * target.h (struct target_ops) <to_post_attach>: Add argument.
1901 (target_post_attach): Add argument.
1902 * target.c (debug_to_post_attach): Add argument.
1903 (update_current_target): Update.
1904 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1905 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1906 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1907 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1908 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1909
de90e03d
TT
19102014-02-19 Tom Tromey <tromey@redhat.com>
1911
1912 * windows-nat.c (windows_close): Add 'self' argument.
1913 * tracepoint.c (tfile_close): Add 'self' argument.
1914 * target.h (struct target_ops) <to_close>: Add argument.
1915 * target.c (target_close): Add argument.
1916 (update_current_target): Update.
1917 * remote.c (remote_close): Add 'self' argument.
1918 * remote-sim.c (gdbsim_close): Add 'self' argument.
1919 * remote-mips.c (mips_close): Add 'self' argument.
1920 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1921 * record-full.c (record_full_close): Add 'self' argument.
1922 * record-btrace.c (record_btrace_close): Add 'self' argument.
1923 * monitor.h (monitor_close): Add 'self' argument.
1924 * monitor.c (monitor_close): Add 'self' argument.
1925 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1926 * linux-nat.c (linux_nat_close): Add argument.
1927 * go32-nat.c (go32_close): Add 'self' argument.
1928 * exec.c (exec_close_1): Add 'self' argument.
1929 * ctf.c (ctf_close): Add 'self' argument.
1930 * corelow.c (core_close): Add 'self' argument.
1931 (core_close_cleanup): Update.
1932 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1933 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1934
9dd130a0
TT
19352014-02-19 Tom Tromey <tromey@redhat.com>
1936
1937 * remote.c (remote_load): New function.
1938 (init_remote_ops): Use it.
1939
46917d26
TT
19402014-02-19 Tom Tromey <tromey@redhat.com>
1941
1942 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1943 argument.
1944 * common/linux-btrace.h (linux_supports_btrace): Update.
1945 * remote.c (remote_supports_btrace): Add "self" argument.
1946 * target-delegates.c: Rebuild.
1947 * target.c (target_supports_btrace): Remove.
1948 * target.h (struct target_ops) <to_supports_btrace>: Add
1949 target_ops argument.
1950 (target_supports_btrace): New define.
1951
6b84065d
TT
19522014-02-19 Tom Tromey <tromey@redhat.com>
1953
1954 * record-full.c (record_full_beneath_to_resume_ops)
1955 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1956 (record_full_beneath_to_wait)
1957 (record_full_beneath_to_store_registers_ops)
1958 (record_full_beneath_to_store_registers)
1959 (record_full_beneath_to_xfer_partial_ops)
1960 (record_full_beneath_to_xfer_partial)
1961 (record_full_beneath_to_insert_breakpoint_ops)
1962 (record_full_beneath_to_insert_breakpoint)
1963 (record_full_beneath_to_remove_breakpoint_ops)
1964 (record_full_beneath_to_remove_breakpoint)
1965 (record_full_beneath_to_stopped_by_watchpoint)
1966 (record_full_beneath_to_stopped_data_address)
1967 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1968 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1969 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1970 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1971 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1972 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1973 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1974 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1975 (record_full_resume, record_full_wait_1)
1976 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1977 (record_full_store_registers, record_full_xfer_partial)
1978 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1979 (record_full_async, record_full_core_xfer_partial): Use target
1980 delegation.
1981 * target-delegates.c: Rebuild.
1982 * target.c (current_xfer_partial): Remove.
1983 (update_current_target): Do not INHERIT or de_fault
1984 to_insert_breakpoint, to_remove_breakpoint,
1985 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1986 to_is_async_p, to_async. Do not set to_xfer_partial field.
1987 (default_xfer_partial): Simplify.
1988 (current_xfer_partial): Remove.
1989 (target_wait, target_resume): Simplify.
1990 (find_default_can_async_p, find_default_is_async_p): Update.
1991 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1992 to_xfer_partial, to_stopped_by_watchpoint,
1993 to_stopped_data_address.
1994 (target_store_registers): Simplify.
1995 (forward_target_remove_breakpoint)
1996 (forward_target_insert_breakpoint): Remove.
1997 (target_remove_breakpoint, target_insert_breakpoint)
1998 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1999 * target.h (struct target_ops) <to_resume, to_wait,
2000 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2001 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2002 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2003 markup.
2004 (forward_target_remove_breakpoint)
2005 (forward_target_insert_breakpoint): Remove.
2006 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2007 directly.
2008 (record_btrace_insert_breakpoint): Delegate directly.
2009
1101cb7b
TT
20102014-02-19 Tom Tromey <tromey@redhat.com>
2011
2012 PR build/7701:
2013 * target-delegates.c: New file.
2014 * target.c: Include target-delegates.c.
2015 (init_dummy_target): Call install_dummy_methods.
2016 (complete_target_initialization): Call install_delegators.
2017 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2018 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2019 * make-target-delegates: New file.
2020
8b06beed
TT
20212014-02-19 Tom Tromey <tromey@redhat.com>
2022
2023 * record.c (find_record_target): Use find_target_at.
2024 * target.c (find_target_at): New function.
2025 * target.h (find_target_at): Declare.
2026
6a109b6b
TT
20272014-02-19 Tom Tromey <tromey@redhat.com>
2028
2029 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2030 Add 'ops' argument.
2031 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2032 'ops' argument.
2033 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2034 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2035 'ops' argument.
2036 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2037 argument.
2038 * linux-nat.c (save_sigtrap): Update.
2039 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2040 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2041 (linux_nat_close): Update.
2042 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2043 argument.
2044 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2045 argument.
2046 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2047 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2048 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2049 (tmp_to_async): Add 'ops' argument.
2050 (record_full_stopped_by_watchpoint, record_full_async)
2051 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2052 argument.
2053 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2054 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2055 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2056 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2057 (remote_is_async_p, remote_async): Add 'ops' argument.
2058 (remote_stopped_data_address): Update.
2059 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2060 * target.c (update_current_target)
2061 (find_default_can_async_p, find_default_is_async_p): Update.
2062 (init_dummy_target): Update.
2063 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2064 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2065 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2066 (target_can_async_p, target_is_async_p, target_async)
2067 (target_stopped_by_watchpoint): Update.
2068
e095146b
YQ
20692014-02-19 Yao Qi <yao@codesourcery.com>
2070
2071 PR gdb/16220
2072 * gdbarch.sh: Remove startup_gdbarch.
2073 * gdbarch.c: Regenerated.
2074 * gdbarch.h: Likewise.
2075
bc3c6b36
KB
20762014-02-17 Kevin Buettner <kevinb@redhat.com>
2077
2078 * rl78-tdep.c (rl78_g10_register_name): New function.
2079 (rl78_return_value): Add g10 support.
2080 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2081 g10.
2082
98dc0167 20832014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
2084
2085 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2086 (SUBDIR_GUILE_SRCS): Ditto.
2087 (scm-gsmob.o): Ditto.
2088
842c05cd
YQ
20892014-02-17 Yao Qi <yao@codesourcery.com>
2090
2091 * gnu-nat.c (ILL_RPC): Declare defined function.
2092
25c0bd04
YQ
20932014-02-17 Yao Qi <yao@codesourcery.com>
2094
2095 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2096 mach_msg_type_number_t.
2097 (gnu_write_inferior): Likewise.
2098
a9a758e3
YQ
20992014-02-17 Yao Qi <yao@codesourcery.com>
2100
2101 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2102 in format string.
2103 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2104 (inf_validate_procs, inf_signal): Likewise.
2105 (S_exception_raise_request): Likewise.
2106 (do_mach_notify_dead_name): Likewise.
2107 (steal_exc_port): Likewise.
2108 (gnu_read_inferior): Change 'copy_count''s type to
2109 mach_msg_type_number_t.
2110 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2111 format string.
2112
bae8023e
TS
21132014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2114
c82f56d9
TS
2115 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2116 flag. Adjust all users; in particular...
2117 (gnu_wait): ..., don't decrement its value in here...
2118 (gnu_create_inferior): ..., and instead set the flag in here,
2119 around the startup_inferior call, and call that one with
2120 START_INFERIOR_TRAPS_EXPECTED.
2121
3398af6a
TS
2122 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2123 (ILL_RPC): ... new macro.
2124 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2125 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2126 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2127 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2128 functions with ILL_RPC macro.
2129 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2130 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2131 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2132 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2133 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2134 (S_proc_getlogin_reply, S_proc_getsid_reply)
2135 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2136 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2137 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2138 (S_proc_getnports_reply, S_proc_is_important_reply)
2139 (S_proc_get_code_reply): New stub functions, generated with
2140 ILL_RPC macro.
2141
d47642c9
TS
2142 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2143 collected the type check structures.
2144
bae8023e
TS
2145 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2146
8a55ffb0
DE
21472014-02-14 Doug Evans <dje@google.com>
2148
2149 * target.c (target_write_partial): Fix result type.
2150
c2853f3d
JM
21512014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2152
2153 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2154 the proper offsets to access fpregset_t.
2155
ac61d2db
SA
21562014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2157
2158 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2159 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2160 * h8300-tdep.c (setmachinelist): Remove global.
2161 * hppa-tdep.c (hppa_sigtramp): Remove global.
2162 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2163 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2164 * ravenscar-thread.c (update_target_observer): Remove global.
2165 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2166
9d2d0b8b
TT
21672014-02-12 Tom Tromey <tromey@redhat.com>
2168
2169 * common/rsp-low.c: Update comments.
2170 * common/rsp-low.h: Update comments.
2171
a7191e8b
TT
21722014-02-12 Tom Tromey <tromey@redhat.com>
2173
2174 * common/rsp-low.c (convert_ascii_to_int): Remove.
2175 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2176
ff0e980e
TT
21772014-02-12 Tom Tromey <tromey@redhat.com>
2178
2179 * common/rsp-low.h (unhexify): Don't declare.
2180 * common/rsp-low.c (unhexify): Remove.
2181
e9371aff
TT
21822014-02-12 Tom Tromey <tromey@redhat.com>
2183
2184 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2185 * common/rsp-low.c (convert_int_to_ascii): Remove.
2186
971dc0b8
TT
21872014-02-12 Tom Tromey <tromey@redhat.com>
2188
2189 * common/rsp-low.h (hexify): Don't declare.
2190 * common/rsp-low.c (hexify): Remove.
2191
0a822afb
TT
21922014-02-12 Tom Tromey <tromey@redhat.com>
2193
2194 * common/rsp-low.c (hexify): Never take strlen of argument.
2195
9f1b45b0
TT
21962014-02-12 Tom Tromey <tromey@redhat.com>
2197
2198 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2199 * remote.c (extended_remote_run, remote_rcmd)
2200 (remote_download_trace_state_variable, remote_save_trace_data)
2201 (remote_set_trace_notes): Update.
2202 * tracepoint.c (encode_source_string, tfile_write_status)
2203 (tfile_write_uploaded_tsv): Update.
2204
9c3d6531
TT
22052014-02-12 Tom Tromey <tromey@redhat.com>
2206
2207 * tracepoint.c: Include rsp-low.h.
2208 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2209 * remote.c: Include rsp-low.h.
2210 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2211 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2212 (remote_unescape_input): Move to common/rsp-low.c.
2213 * common/rsp-low.h: New file.
2214 * common/rsp-low.c: New file.
2215 * Makefile.in (SFILES): Add common/rsp-low.c.
2216 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2217 (COMMON_OBS): Add rsp-low.o.
2218 (rsp-low.o): New target.
2219
01fd3ea5
TT
22202014-02-12 Tom Tromey <tromey@redhat.com>
2221
2222 * utils.h: Include print-utils.h.
2223 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2224 (int_string, core_addr_to_string, core_addr_to_string_nz)
2225 (hex_string, hex_string_custom): Don't declare.
2226 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2227 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2228 (hex_string_custom, int_string, core_addr_to_string)
2229 (core_addr_to_string_nz, host_address_to_string): Move to
2230 common/print-utils.c.
2231 * common/print-utils.h: New file.
2232 * common/print-utils.c: New file
2233 * Makefile.in (SFILES): Add common/print-utils.c.
2234 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2235 (COMMON_OBS): Add print-utils.o.
2236 (print-utils.o): New target.
2237
9fb50108
TT
22382014-02-12 Tom Tromey <tromey@redhat.com>
2239
2240 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2241
0548b5db
MK
22422014-02-12 Mark Kettenis <kettenis@gnu.org>
2243
2244 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2245
493443a4
MK
22462014-02-12 Mark Kettenis <kettenis@gnu.org>
2247
2248 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2249 if a PT_IO ptrace request returns sucessfully but indicates that 0
2250 bytes were transferred.
2251
706d0883
PA
22522014-02-12 Pedro Alves <palves@redhat.com>
2253 Kevin Buettner <kevinb@redhat.com>
2254
2255 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2256 TYPE_INSTANCE_FLAG_CODE_SPACE.
2257
5caa2f0b
PA
22582014-02-12 Pedro Alves <palves@redhat.com>
2259
2260 * h8300-tdep.c (pseudo_from_raw_register)
2261 (raw_from_pseudo_register): New functions.
2262 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2263 them.
2264
76fd5f74
PA
22652014-02-12 Pedro Alves <palves@redhat.com>
2266
2267 * h8300-tdep.c (h8300_register_sim_regno): New function.
2268 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2269 gdbarch_register_sim_regno hook.
2270
8f008406
SA
22712014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2272
2273 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2274
195abc10
SA
22752014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2276
2277 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2278
93ffa5b9
MK
22792014-02-12 Mark Kettenis <kettenis@gnu.org>
2280
2281 * obsd-tdep.h (obsd_init_abi): New prototype.
2282 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2283 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2284 (obsd_init_abi): New functions.
2285 * i386obsd-tdep.c: Include "obsd-tdep.h".
2286 (i386obsd_init_abi): Call obsd_init_abi.
2287 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2288 (amd64obsd_init_abi): Call obsd_init_abi.
2289 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2290 obsd-tdep.c to gdb_target_obs.
2291
49caec94
JM
22922014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2293
2294 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2295 double float arguments to 16-byte in the argument slots.
2296
e1402065
DE
22972014-02-11 Doug Evans <xdje42@gmail.com>
2298
2299 * configure.ac: Don't crash if pkg-config is not found and guile
2300 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2301 in guile checks.
2302 * configure: Regenerate.
2303
edcc890f
YQ
23042014-02-11 Yao Qi <yao@codesourcery.com>
2305
2306 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2307 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2308 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2309 * gnu-nat.c (gnu_xfer_memory): Likewise.
2310 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2311 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2312 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2313 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2314
9b409511
YQ
23152014-02-11 Yao Qi <yao@codesourcery.com>
2316
2317 * target.h (enum target_xfer_error): Rename to ...
2318 (enum target_xfer_status): ... it. New. All users updated.
2319 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2320 New.
2321 (TARGET_XFER_STATUS_ERROR_P): New macro.
2322 (target_xfer_error_to_string): Remove declaration.
2323 (target_xfer_status_to_string): Declare.
2324 (target_xfer_partial_ftype): Adjust it.
2325 (struct target_ops) <to_xfer_partial>: Return
2326 target_xfer_status. Add argument xfered_len. Update
2327 comments.
2328 * target.c (target_xfer_error_to_string): Rename to ...
2329 (target_xfer_status_to_string): ... it. New. All callers
2330 updated.
2331 (target_read_live_memory): Likewise. Call target_xfer_partial
2332 instead of target_read.
2333 (memory_xfer_live_readonly_partial): Return
2334 target_xfer_status. Add argument xfered_len.
2335 (raw_memory_xfer_partial): Likewise.
2336 (memory_xfer_partial_1): Likewise.
2337 (memory_xfer_partial): Likewise.
2338 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2339 properly. Update debug message.
2340 (default_xfer_partial, current_xfer_partial): Likewise.
2341 (target_write_partial): Likewise.
2342 (target_read_partial): Likewise. All callers updated.
2343 (read_whatever_is_readable): Likewise.
2344 (target_write_with_progress): Likewise.
2345 (target_read_alloc_1): Likewise.
2346
2347 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2348 * auxv.c (procfs_xfer_auxv): Likewise.
2349 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2350 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2351 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2352 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2353 * corefile.c (read_memory): Adjust.
2354 * corelow.c (core_xfer_partial): Likewise.
2355 * ctf.c (ctf_xfer_partial): Likewise.
2356 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2357 updated.
2358 (darwin_xfer_partial): Likewise.
2359 * exec.c (section_table_xfer_memory_partial): Likewise. All
2360 callers updated.
2361 (exec_xfer_partial): Likewise.
2362 * exec.h (section_table_xfer_memory_partial): Update
2363 declaration.
2364 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2365 negative.
2366 (gnu_xfer_partial): Likewise.
2367 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2368 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2369 (ia64_hpux_xfer_solib_got): Likewise.
2370 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2371 type of 'partial_len' to ULONGEST.
2372 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2373 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2374 (linux_nat_xfer_partial): Likewise.
2375 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2376 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2377 * monitor.c (monitor_xfer_memory): Likewise.
2378 (monitor_xfer_partial): Likewise.
2379 * procfs.c (procfs_xfer_partial): Likewise.
2380 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2381 * record-full.c (record_full_xfer_partial): Likewise.
2382 (record_full_core_xfer_partial): Likewise.
2383 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2384 (gdbsim_xfer_partial): Likewise.
2385 * remote.c (remote_write_bytes_aux): Likewise. All callers
2386 updated.
2387 (remote_write_bytes, remote_read_bytes): Likewise. All
2388 callers updated.
2389 (remote_flash_erase): Likewise. All callers updated.
2390 (remote_write_qxfer): Likewise. All callers updated.
2391 (remote_read_qxfer): Likewise. All callers updated.
2392 (remote_xfer_partial): Likewise.
2393 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2394 (rs6000_xfer_shared_libraries): Likewise.
2395 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2396 (sol_thread_xfer_partial): Likewise.
2397 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2398 (sparc_xfer_partial): Likewise.
2399 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2400 updated.
2401 (spu_xfer_partial): Likewise.
2402 * spu-multiarch.c (spu_xfer_partial): Likewise.
2403 * tracepoint.c (tfile_xfer_partial): Likewise.
2404 * windows-nat.c (windows_xfer_memory): Likewise.
2405 (windows_xfer_shared_libraries): Likewise.
2406 (windows_xfer_partial): Likewise.
2407 * valprint.c: Replace 'target_xfer_error' with
2408 'target_xfer_status' in comments.
2409
a8e63083
JB
24102014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2411
2412 Checked in by Joel Brobecker <brobecker@adacore.com>.
2413 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2414
e86b67d3
JB
24152014-02-11 Joel Brobecker <brobecker@adacore.com>
2416
2417 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2418 function parameters.
2419
4b7d1f7f
WN
24202014-02-10 Will Newton <will.newton@linaro.org>
2421
2422 * elfread.c (elf_rel_plt_read): Look for a .got section if
2423 looking up .got.plt fails.
2424 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2425 on address passed to elf_gnu_ifunc_record_cache.
2426 (elf_gnu_ifunc_resolve_addr): Likewise.
2427 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2428
961842b2
JM
24292014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2430
2431 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2432 (X_RETTURN): New macro.
2433 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2434
2435 * sparc64-tdep.c (sparc64_init_abi): Hook
2436 sparc_in_function_epilogue_p.
2437
3f03e7b1
GB
24382014-02-10 Gary Benson <gbenson@redhat.com>
2439
2440 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2441 Rename name_matcher to symbol_matcher.
2442
96f861ef
GB
24432014-02-10 Gary Benson <gbenson@redhat.com>
2444
2445 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2446 Use expand_symtabs_file_matcher_ftype and
2447 expand_symtabs_symbol_matcher_ftype.
2448
ee01b665
JB
24492014-02-10 Joel Brobecker <brobecker@adacore.com>
2450
2451 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2452 (struct ada_symbol_cache): New.
2453 (ada_free_symbol_cache): Forward declare.
2454 (struct ada_pspace_data): New.
2455 (ada_pspace_data_handle): New static global.
2456 (get_ada_pspace_data, ada_pspace_data_cleanup)
2457 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2458 (cache_space, cache): Delete, now folded inside struct
2459 ada_pspace_data.
2460 (ada_get_symbol_cache): New function.
2461 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2462 implementation.
2463 (_initialize_ada_language): Remove initialization of cache_space.
2464 Move call to observer_attach_inferior_exit up, grouping it
2465 with the other observer registrations inside this function.
2466 Rename command to be more general. Add call to
2467 register_program_space_data_with_cleanup.
2468
143adbbf
JB
24692014-02-10 Joel Brobecker <brobecker@adacore.com>
2470
2471 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2472 ada_new_objfile_observer.
2473 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2474 (_initialize_tasks): Update uses of ada_new_objfile_observer
2475 and ada_tasks_normal_stop_observer.
2476
aa4fb036
JB
24772014-02-10 Joel Brobecker <brobecker@adacore.com>
2478
2479 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2480 returned by the 'Length attribute to integer.
2481
9dee8cc6
JB
24822014-02-10 Joel Brobecker <brobecker@adacore.com>
2483
2484 * ada-lang.c (_initialize_ada_language): Initialize
2485 cache_space obstack.
2486
3d9434b5
JB
24872014-02-10 Joel Brobecker <brobecker@adacore.com>
2488
2489 * ada-lang.c (HASH_SIZE): New macro.
2490 (struct cache_entry): New type.
2491 (cache_space, cache): New static globals.
2492 (ada_clear_symbol_cache, find_entry): New functions.
2493 (lookup_cached_symbol, cache_symbol): Implement.
2494 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2495 (_initialize_ada_language): Attach ada_new_objfile_observer
2496 and ada_free_objfile_observer.
2497
f0c5f9b2
JB
24982014-02-10 Joel Brobecker <brobecker@adacore.com>
2499
2500 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2501 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2502 struct block * parameter.
2503 (ada_lookup_symbol_list_worker): Constify local variable "block".
2504 Remove cast which is no longer necessary.
2505
ed3ef339
DE
25062014-02-10 Doug Evans <xdje42@gmail.com>
2507
2508 Add Guile as an extension language.
2509 * NEWS: Mention Guile scripting.
2510 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2511 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2512 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2513 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2514 (CLIBS): Add GUILE_LIBS.
2515 (install-guile): New rule.
2516 (guile.o): New rule.
2517 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2518 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2519 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2520 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2521 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2522 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2523 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2524 * configure.ac: New option --with-guile.
2525 * configure: Regenerate.
2526 * config.in: Regenerate.
2527 * auto-load.c: Remove #include "python/python.h". Add #include
2528 "gdb/section-scripts.h".
2529 (source_section_scripts): Handle Guile scripts.
2530 (_initialize_auto_load): Add name of Guile objfile script to
2531 scripts-directory help text.
2532 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2533 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2534 (struct breakpoint): New member scm_bp_object.
2535 * defs.h (enum command_control_type): New value guile_control.
2536 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2537 "extension.h".
2538 (show_user): Update comment.
2539 (_initialize_cli_cmds): Update help text for "show user". Update help
2540 text for max-user-call-depth.
2541 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2542 "extension.h".
2543 (multi_line_command_p): Add guile_control.
2544 (print_command_lines): Handle guile_control.
2545 (execute_control_command, recurse_read_control_structure): Ditto.
2546 (process_next_line): Recognize "guile" commands.
2547 * disasm.c (gdb_disassemble_info): Make non-static.
2548 * disasm.h: #include "dis-asm.h".
2549 (struct gdbarch): Add forward decl.
2550 (gdb_disassemble_info): Declare.
2551 * extension.c: #include "guile/guile.h".
2552 (extension_languages): Add guile.
2553 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2554 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2555 * gdbtypes.c (get_unsigned_type_max): New function.
2556 (get_signed_type_minmax): New function.
2557 * gdbtypes.h (get_unsigned_type_max): Declare.
2558 (get_signed_type_minmax): Declare.
2559 * guile/README: New file.
2560 * guile/guile-internal.h: New file.
2561 * guile/guile.c: New file.
2562 * guile/guile.h: New file.
2563 * guile/scm-arch.c: New file.
2564 * guile/scm-auto-load.c: New file.
2565 * guile/scm-block.c: New file.
2566 * guile/scm-breakpoint.c: New file.
2567 * guile/scm-disasm.c: New file.
2568 * guile/scm-exception.c: New file.
2569 * guile/scm-frame.c: New file.
2570 * guile/scm-gsmob.c: New file.
2571 * guile/scm-iterator.c: New file.
2572 * guile/scm-lazy-string.c: New file.
2573 * guile/scm-math.c: New file.
2574 * guile/scm-objfile.c: New file.
2575 * guile/scm-ports.c: New file.
2576 * guile/scm-pretty-print.c: New file.
2577 * guile/scm-safe-call.c: New file.
2578 * guile/scm-string.c: New file.
2579 * guile/scm-symbol.c: New file.
2580 * guile/scm-symtab.c: New file.
2581 * guile/scm-type.c: New file.
2582 * guile/scm-utils.c: New file.
2583 * guile/scm-value.c: New file.
2584 * guile/lib/gdb.scm: New file.
2585 * guile/lib/gdb/boot.scm: New file.
2586 * guile/lib/gdb/experimental.scm: New file.
2587 * guile/lib/gdb/init.scm: New file.
2588 * guile/lib/gdb/iterator.scm: New file.
2589 * guile/lib/gdb/printing.scm: New file.
2590 * guile/lib/gdb/types.scm: New file.
2591 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2592 (VPATH): Add $(GUILE_SRCDIR).
2593 (GUILE_DIR): New variable.
2594 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2595 (all): Add stamp-guile dependency.
2596 (stamp-guile): New rule.
2597 (clean-guile, install-guile, uninstall-guile): New rules.
2598 (install-only): Add install-guile dependency.
2599 (uninstall): Add uninstall-guile dependency.
2600 (clean): Add clean-guile dependency.
2601
ac020ec5
DE
26022014-02-09 Doug Evans <xdje42@gmail.com>
2603
2604 Revert this patch (which I approved, mea culpa).
2605
2606 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2607
2608 * Makefile.in (all-lib): Remove.
2609 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2610
2a081c59
JK
26112014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2612
2613 Fix Python stack corruption.
2614 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2615 gdb_py_longest.
2616
0a6bd22d
MK
26172014-02-08 Mark Kettenis <kettenis@gnu.org>
2618
2619 * Makefile.in (all-lib): Remove.
2620 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2621
1a860409
DE
26222014-02-07 Doug Evans <dje@google.com>
2623
2624 * extension-priv.h (extension_language_script_ops): Add comment.
2625 (extension_language_ops): Add comment.
caf5a491 2626 (active_ext_lang_state): Fix typo in comment.
1a860409 2627
d137e6dc
PA
26282014-02-07 Pedro Alves <palves@redhat.com>
2629
2630 * infrun.c (handle_signal_stop) <signal arrives while stepping
2631 over a breakpoint>: Switch back to the stepping thread.
2632
ce6d0892
YQ
26332014-02-07 Yao Qi <yao@codesourcery.com>
2634
2635 * target.c (target_xfer_partial): Return zero if LEN is zero.
2636
2ed4b548
YQ
26372014-02-07 Yao Qi <yao@codesourcery.com>
2638
2639 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2640 (ld_so_xfer_auxv): Likewise.
2641 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2642 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2643 * corelow.c (core_xfer_partial): Likewise.
2644 * ctf.c (ctf_xfer_partial): Likewise.
2645 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2646 (darwin_xfer_partial): Likewise.
2647 * exec.c (exec_xfer_partial): Likewise.
2648 * gnu-nat.c (gnu_xfer_partial): Likewise.
2649 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2650 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2651 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2652 * linux-nat.c (linux_xfer_siginfo): Likewise.
2653 (linux_proc_xfer_spu): Likewise.
2654 * procfs.c (procfs_xfer_partial): Likewise.
2655 * record-full.c (record_full_xfer_partial): Likewise.
2656 (record_full_core_xfer_partial): Likewise.
2657 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2658 * remote.c (remote_write_qxfer): Likewise.
2659 (remote_write_qxfer, remote_read_qxfer): Likewise.
2660 (remote_xfer_partial): Likewise.
2661 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2662 (rs6000_xfer_shared_libraries): Likewise.
2663 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2664 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2665 (spu_xfer_partial): Likewise.
2666 * target.c (memory_xfer_partial_1): Likewise.
2667 * tracepoint.c (tfile_xfer_partial): Likewise.
2668 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2669 (windows_xfer_partial): Likewise.
2670
c09f20e4
YQ
26712014-02-07 Yao Qi <yao@codesourcery.com>
2672
2673 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2674 comments.
2675 (core_xfer_shared_libraries_aix): Likewise.
2676 * gdbarch.c, gdbarch.h: Regenerated.
2677 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2678 ULONGEST. Change 'len_avail' type to ULONGEST.
2679 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2680 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2681 declaration.
2682 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2683
8635b3bf
YQ
26842014-02-07 Yao Qi <yao@codesourcery.com>
2685
2686 * corefile.c (memory_error): Get 'exception' from ERR and pass
2687 'exception' to throw_error.
2688
6dddc817
DE
26892014-02-06 Doug Evans <xdje42@gmail.com>
2690
2691 * configure.ac (libpython checking): Remove all but python.o from
2692 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2693 * configure: Regenerate.
2694
2695 * Makefile.in (SFILES): Add extension.c.
2696 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2697 (COMMON_OBS): Add extension.o.
2698 * extension.h: New file.
2699 * extension-priv.h: New file.
2700 * extension.c: New file.
2701
2702 * python/python-internal.h: #include "extension.h".
2703 (gdbpy_auto_load_enabled): Declare.
2704 (gdbpy_apply_val_pretty_printer): Declare.
2705 (gdbpy_apply_frame_filter): Declare.
2706 (gdbpy_preserve_values): Declare.
2707 (gdbpy_breakpoint_cond_says_stop): Declare.
2708 (gdbpy_breakpoint_has_cond): Declare.
2709 (void source_python_script_for_objfile): Delete.
2710 * python/python.c: #include "extension-priv.h".
2711 Delete inclusion of "observer.h".
2712 (extension_language_python): Moved here and renamed from
2713 script_language_python in py-auto-load.c.
2714 Redefined to be of type extension_language_defn.
2715 (python_extension_script_ops): New global.
2716 (python_extension_ops): New global.
2717 (struct python_env): New member previous_active.
2718 (restore_python_env): Call restore_active_ext_lang.
2719 (ensure_python_env): Call set_active_ext_lang.
2720 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2721 New arg extlang.
2722 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2723 New arg extlang.
2724 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2725 New arg extlang.
2726 (gdbpy_eval_from_control_command): Renamed from
2727 eval_python_from_control_command, made static. New arg extlang.
2728 (gdbpy_source_script) Renamed from source_python_script, made static.
2729 New arg extlang.
2730 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2731 result to int. New arg extlang.
2732 (gdbpy_source_objfile_script): Renamed from
2733 source_python_script_for_objfile, made static. New arg extlang.
2734 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2735 static. New args extlang, extlang_printers. Change result type to
2736 "void".
2737 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2738 static. New arg extlang. Rename arg printers to extlang_printers
2739 and change type to ext_lang_type_printers *.
2740 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2741 static. Replace argument arg with extlang, extlang_printers.
2742 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2743 (!HAVE_PYTHON, source_python_script): Delete.
2744 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2745 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2746 (!HAVE_PYTHON, start_type_printers): Delete.
2747 (!HAVE_PYTHON, apply_type_printers): Delete.
2748 (!HAVE_PYTHON, free_type_printers): Delete.
2749 (_initialize_python): Delete call to observer_attach_before_prompt.
2750 (finalize_python): Set/restore active extension language.
2751 (gdbpy_finish_initialization) Renamed from
2752 finish_python_initialization, made static. New arg extlang.
2753 (gdbpy_initialized): New function.
2754 * python/python.h: #include "extension.h". Delete #include
2755 "value.h", "mi/mi-cmds.h".
2756 (extension_language_python): Declare.
2757 (GDBPY_AUTO_FILE_NAME): Delete.
2758 (enum py_bt_status): Moved to extension.h and renamed to
2759 ext_lang_bt_status.
2760 (enum frame_filter_flags): Moved to extension.h.
2761 (enum py_frame_args): Moved to extension.h and renamed to
2762 ext_lang_frame_args.
2763 (finish_python_initialization): Delete.
2764 (eval_python_from_control_command): Delete.
2765 (source_python_script): Delete.
2766 (apply_val_pretty_printer): Delete.
2767 (apply_frame_filter): Delete.
2768 (preserve_python_values): Delete.
2769 (gdbpy_script_language_defn): Delete.
2770 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2771 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2772
2773 * auto-load.c: #include "extension.h".
2774 (GDB_AUTO_FILE_NAME): Delete.
2775 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2776 (script_language_gdb): Delete, moved to extension.c and renamed to
2777 extension_language_gdb.
2778 (source_gdb_script_for_objfile): Delete.
2779 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2780 (loaded_script): Change type of language member to
2781 struct extension_language_defn *.
2782 (init_loaded_scripts_info): Initialize
2783 unsupported_script_warning_printed.
2784 (maybe_add_script): Make static. Change type of language arg to
2785 struct extension_language_defn *.
2786 (clear_section_scripts): Reset unsupported_script_warning_printed.
2787 (auto_load_objfile_script_1): Rewrite to use extension language API.
2788 (auto_load_objfile_script): Make public. Remove support-compiled-in
2789 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2790 (source_section_scripts): Rewrite to use extension language API.
2791 (load_auto_scripts_for_objfile): Rewrite to use
2792 auto_load_scripts_for_objfile.
2793 (collect_matching_scripts_data): Change type of language member to
2794 struct extension_language_defn *.
2795 (auto_load_info_scripts): Change type of language arg to
2796 struct extension_language_defn *.
2797 (unsupported_script_warning_print): New function.
2798 (script_not_found_warning_print): Make static.
2799 (_initialize_auto_load): Rewrite construction of scripts-directory
2800 help.
2801 * auto-load.h (struct objfile): Add forward decl.
2802 (struct script_language): Delete.
2803 (struct auto_load_pspace_info): Add forward decl.
2804 (struct extension_language_defn): Add forward decl.
2805 (maybe_add_script): Delete.
2806 (auto_load_objfile_script): Declare.
2807 (script_not_found_warning_print): Delete.
2808 (auto_load_info_scripts): Update prototype.
2809 (auto_load_gdb_scripts_enabled): Declare.
2810 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2811 auto_load_python_scripts_enabled and made public.
2812 (script_language_python): Delete, moved to python.c.
2813 (gdbpy_script_language_defn): Delete.
2814 (info_auto_load_python_scripts): Update to use
2815 extension_language_python.
2816
2817 * breakpoint.c (condition_command): Replace call to
2818 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2819 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2820 with call to breakpoint_ext_lang_cond_says_stop.
2821 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2822 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2823 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2824 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2825 New arg slang.
2826 (local_setattro): Print name of extension language with existing
2827 stop condition.
2828
2829 * valprint.c (val_print, value_print): Update to call
2830 apply_ext_lang_val_pretty_printer.
2831 * cp-valprint.c (cp_print_value): Update call to
2832 apply_ext_lang_val_pretty_printer.
2833 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2834 (gdbpy_apply_val_pretty_printer): Renamed from
2835 apply_val_pretty_printer. New arg extlang.
2836 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2837
2838 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2839 extension language API.
2840 * cli/cli-script.c (execute_control_command): Update to call
2841 eval_ext_lang_from_control_command.
2842
2843 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2844 enum ext_lang_bt_status values. Update call to
2845 apply_ext_lang_frame_filter.
2846 (mi_cmd_stack_list_locals): Ditto.
2847 (mi_cmd_stack_list_args): Ditto.
2848 (mi_cmd_stack_list_variables): Ditto.
2849 * mi/mi-main.c: Delete #include "python/python-internal.h".
2850 Add #include "extension.h".
2851 (mi_cmd_list_features): Replace reference to python internal variable
2852 gdb_python_initialized with call to ext_lang_initialized_p.
2853
2854 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2855 Update to use enum ext_lang_frame_args. Update to call
2856 apply_ext_lang_frame_filter.
2857 * python/py-framefilter.c (extract_sym): Update to use enum
2858 ext_lang_bt_status.
2859 (extract_value, py_print_type, py_print_value): Ditto.
2860 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2861 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2862 (py_print_frame): Ditto.
2863 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2864 New arg extlang. Update to use enum ext_lang_bt_status.
2865
2866 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2867 finish_python_initialization. Replace with call to
2868 finish_ext_lang_initialization.
2869
2870 * typeprint.c (do_free_global_table): Update to call
2871 free_ext_lang_type_printers.
2872 (create_global_typedef_table): Update to call
2873 start_ext_lang_type_printers.
2874 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2875 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2876 (type_print_options): Change type of global_printers from "void *"
2877 to "struct ext_lang_type_printers *".
2878
2879 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2880 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2881 (gdbpy_preserve_values): Renamed from preserve_python_values.
2882 New arg extlang.
2883 (!HAVE_PYTHON, preserve_python_values): Delete.
2884
2885 * utils.c (quit_flag): Delete, moved to extension.c.
2886 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2887 extension.c.
2888
2889 * eval.c: Delete #include "python/python.h".
2890 * main.c: Delete #include "python/python.h".
2891
2892 * defs.h: Update comment.
2893
6af79985
JB
28942014-02-06 Joel Brobecker <brobecker@adacore.com>
2895
2896 GDB 7.7 released.
2897
12c5175d
MK
28982014-02-05 Mark Kettenis <kettenis@gnu.org>
2899
2900 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2901 defined.
2902
8dc5b319
YQ
29032014-02-05 Yao Qi <yao@codesourcery.com>
2904
2905 * remote.c (remote_pass_signals): Remove local 'buf' and use
2906 rs->buf.
2907 (remote_program_signals): Likewise.
2908
de7b2893
YQ
29092014-02-05 Yao Qi <yao@codesourcery.com>
2910
2911 * ctf.c: Include "inferior.h" and "gdbthread.h".
2912 (CTF_PID): A new macro.
2913 (ctf_open): Call inferior_appeared and add_thread_silent.
2914 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2915 (ctf_thread_alive): New function.
2916 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2917
66d032ac
YQ
29182014-02-05 Yao Qi <yao@codesourcery.com>
2919
2920 Revert this patch:
2921
2922 2013-05-24 Yao Qi <yao@codesourcery.com>
2923
2924 * tracepoint.c (TFILE_PID): Remove.
2925 (tfile_open): Don't add thread and inferior.
2926 (tfile_close): Don't set 'inferior_ptid'. Don't call
2927 exit_inferior_silent.
2928 (tfile_thread_alive): Remove.
2929 (init_tfile_ops): Don't set field 'to_thread_alive' of
2930 tfile_ops.
2931
f4ccffad
CE
29322014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2933
2934 * remote.c (remote_start_remote): Call remote_check_symbols even
2935 if only symbol-file (not file) has been given.
2936
591a12a1
UW
29372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2938
2939 * gdbarch.sh (skip_entrypoint): New callback.
2940 * gdbarch.c, gdbarch.h: Regenerate.
2941 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2942 * infrun.c (fill_in_stop_func): Likewise.
2943 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2944 (ppc_elfv2_elf_make_msymbol_special): New function.
2945 (ppc_elfv2_skip_entrypoint): Likewise.
2946 (ppc_linux_init_abi): Install them for ELFv2.
2947
cc0e89c5
UW
29482014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2949
2950 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2951 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2952 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2953 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2954 structures returned in GPRs.
2955
52f548e4
UW
29562014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2957
2958 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2959 offset to the stack parameter list for the ELFv2 ABI.
2960
d4094b6a
UW
29612014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2962
2963 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2964 set_gdbarch_convert_from_func_ptr_addr and
2965 set_gdbarch_elf_make_msymbol_special for ELFv1.
2966 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2967 function descriptors on ELFv1.
2968 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2969 set up r12 at function entry.
2970
cd453cd0
UW
29712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2972
2973 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2974 (struct gdbarch_tdep): New member elf_abi.
2975
2976 * rs6000-tdep.c: Include "elf/ppc64.h".
2977 (rs6000_gdbarch_init): Detect ELF ABI version.
2978
0ff3e01f
UW
29792014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2980
2981 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2982 within a register pair holding a DFP 128-bit value on little-endian.
2983 (ppc64_sysv_abi_return_value_base): Likewise.
2984 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2985 (dfp_pseudo_register_write): Likewise.
2986
5b757e5d
UW
29872014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2988
2989 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2990 offset on little-endian when passing _Decimal32.
2991 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2992
084ee545
UW
29932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2994
2995 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2996 of the overlapped FP register within the VSX register on little-
2997 endian platforms.
2998 (efpr_pseudo_register_write): Likewise.
2999
d63167af
UW
30002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3001
3002 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3003 offset on little-endian when passing small structures.
3004
e765b44c
UW
30052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3006
3007 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3008 (struct ppc64_sysv_argpos): New data structure.
3009 (ppc64_sysv_abi_push_float): Remove.
3010 (ppc64_sysv_abi_push_val): New function.
3011 (ppc64_sysv_abi_push_integer): Likewise.
3012 (ppc64_sysv_abi_push_freg): Likewise.
3013 (ppc64_sysv_abi_push_vreg): Likewise.
3014 (ppc64_sysv_abi_push_param): Likewise.
3015 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3016 (ppc64_sysv_abi_return_value_base): New function.
3017 (ppc64_sysv_abi_return_value): Refactor to use it.
3018
36c24d95
UW
30192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3020
3021 * NEWS: Document new target powerpc64le-*-linux*.
3022
26fd9228
MK
30232014-02-04 Mark Kettenis <kettenis@gnu.org>
3024
3025 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3026 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3027 core dumps.
3028 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3029 register set used in ELF core dumps. Add floating-point register set.
3030
c5bb7362
KB
30312014-02-03 Kevin Buettner <kevinb@redhat.com>
3032
3033 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3034 dwarf2_to_gdb[] table using symbolic constants. Adjust
3035 penultimate entry from number representing the PC register
3036 to symbolic constant representing the MDR register. Add
3037 constant for the PC register to the end of the table.
3038
af09351e
MK
30392014-02-03 Mark Kettenis <kettenis@gnu.org>
3040
3041 * bsd-kvm.c: Include <sys/param.h>
3042
8507e05d
MK
30432014-02-03 Mark Kettenis <kettenis@gnu.org>
3044
3045 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3046
ae56bfb8
JB
30472014-01-31 Joel Brobecker <brobecker@adacore.com>
3048
3049 * ada-lang.h (clear_ada_sym_cache): Delete.
3050
718ee4dc
UW
30512014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3052
3053 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3054
401e27fd
JM
30552014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3056
3057 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3058 the sigreturn register save area only if the syscall is
3059 sigreturn.
3060
a7c88acd
JB
30612014-01-29 Joel Brobecker <brobecker@adacore.com>
3062
3063 * valops.c (value_slice): Minor reformatting.
3064
fa0079ea
UW
30652014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3066
3067 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3068
c6044dd1
JB
30692014-01-28 Joel Brobecker <brobecker@adacore.com>
3070
3071 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3072 New static globals.
3073 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3074 (ada_ignore_descriptive_types_p): New static global.
3075 (find_parallel_type_by_descriptive_type): Return immediately
3076 if ada_ignore_descriptive_types_p is set.
3077 (_initialize_ada_language): Register new commands "maintenance
3078 set ada", "maintenance show ada", "maintenance set ada
3079 ignore-descriptive-types" and "maintenance show ada
3080 ignore-descriptive-types".
3081 * NEWS: Add entry for new "maint ada set/show
3082 ignore-descriptive-types" commands.
3083
568e808b
MM
30842014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3085
3086 * record-btrace.c (record_btrace_close): Call btrace_teardown
3087 for all threads.
3088
467d141b
JB
30892014-01-27 Joel Brobecker <brobecker@adacore.com>
3090
3091 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3092 "ui-out.h".
3093
fb151210
JB
30942014-01-27 Joel Brobecker <brobecker@adacore.com>
3095
3096 * ada-typeprint (type_is_full_subrange_of_target_type):
3097 New function.
3098 (print_range): Add parameter bounds_prefered_p. If not set,
3099 try printing range types using the name of their base type.
3100 (print_range_type): Add parameter bounds_prefered_p.
3101 Use it in call to print_range.
3102 (print_array_type, ada_print_type): Update calls to print_range
3103 and print_range_type.
3104
aba02109
JB
31052014-01-27 Joel Brobecker <brobecker@adacore.com>
3106
3107 * ada-typeprint.c (print_array_type, print_choices, print_range)
3108 (print_range_bound, print_dynamic_range_bound, print_range_type):
3109 Remove declaration.
3110
e62e21fd
JB
31112014-01-27 Joel Brobecker <brobecker@adacore.com>
3112
3113 * ada-typeprint.c (print_range): Add missing empty line
3114 after local declaration.
3115
859cf5d1
JB
31162014-01-27 Joel Brobecker <brobecker@adacore.com>
3117
3118 * ada-valprint.c (print_optional_low_bound): Get index_type's
3119 target type for as long as it is a TYPE_CODE_RANGE.
3120
25790f6f
JB
31212014-01-27 Joel Brobecker <brobecker@adacore.com>
3122
3123 * procfs.c (procfs_make_note_section): Remove assertion and
3124 associated comment.
3125
6b6aa828
YQ
31262014-01-24 Yao Qi <yao@codesourcery.com>
3127
3128 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3129 * corelow.c (get_core_siginfo): Likewise.
3130
5d6df423
YQ
31312014-01-24 Yao Qi <yao@codesourcery.com>
3132
3133 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3134 ULONGEST. Don't check 'len' is negative.
3135 (remote_write_bytes): Change type of 'len' to ULONGEST.
3136
83b645b8
TT
31372014-01-23 Tom Tromey <tromey@redhat.com>
3138
3139 PR python/16485:
3140 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3141 Handle exception from frame.block.
3142 (FrameVars.fetch_frame_locals): Likewise.
3143
0740f8d8
TT
31442014-01-23 Tom Tromey <tromey@redhat.com>
3145
3146 PR python/16487:
3147 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3148 on a NULL pointer. Move "goto error" to correct place.
3149
21909fa1
TT
31502014-01-23 Tom Tromey <tromey@redhat.com>
3151
3152 PR python/16491:
3153 * python/py-framefilter.c (apply_frame_filter): Call
3154 ensure_python_env after computing gdbarch.
3155
17fde6d0
YQ
31562014-01-23 Yao Qi <yao@codesourcery.com>
3157
3158 * target.c (raw_memory_xfer_partial): Change argument type
3159 from void * to gdb_byte *.
3160 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3161
87ce2a04
DE
31622014-01-22 Doug Evans <dje@google.com>
3163
3164 New gdbserver option --debug-format=timestamp.
3165 * NEWS: Mention it.
3166
237b092b
AA
31672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3168
3169 * syscalls/s390x-linux.xml: New file.
3170 * syscalls/s390-linux.xml: New file.
3171 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3172 (XML_SYSCALL_FILENAME_S390X): Likewise.
3173 (op_svc): New enum value for SVC opcode.
3174 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3175 (s390_linux_get_syscall_number): New function.
3176 (s390_gdbarch_init): Register '*get_syscall_number' and the
3177 syscall xml file name.
3178 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3179 "s390-linux.xml" and "s390x-linux.xml".
3180 * NEWS: Announce new feature.
3181
54bff650
BS
31822014-01-22 Baruch Siach <baruch@tkos.co.il>
3183
3184 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3185
14e361d7
PA
31862014-01-22 Pedro Alves <palves@redhat.com>
3187
3188 * xtensa-config.c: Include defs.h.
3189
46bbb3ed
JB
31902014-01-22 Joel Brobecker <brobecker@adacore.com>
3191
3192 * common/common-utils.h: Add "ARI:" comment beside __func__
3193 reference.
3194
3a80edfc
JB
31952014-01-22 Joel Brobecker <brobecker@adacore.com>
3196
3197 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3198 documentation a bit.
3199
4869db5e
RM
32002014-01-21 Roland McGrath <mcgrathr@google.com>
3201
3202 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3203 * configure: Regenerate.
3204 * aclocal.m4: Regenerate.
3205 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3206 New substituted variables.
3207 (install-strip): New target.
3208 (INSTALL_SCRIPT): New substituted variable.
3209 (FLAGS_TO_PASS): Add it.
3210 (install-only): Use $(INSTALL_SCRIPT) rather than
3211 $(INSTALL_PROGRAM) for gcore.
3212
9ea4267d
TT
32132014-01-20 Tom Tromey <tromey@redhat.com>
3214
3215 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3216 together.
3217
1f2bdf09
TT
32182014-01-20 Tom Tromey <tromey@redhat.com>
3219
3220 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3221 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3222 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3223 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3224 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3225 (struct cmd_list_element) <flags>: Remove.
3226 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3227 doc_allocated>: New fields.
3228 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3229 bitfields.
3230 * maint.c (maintenance_do_deprecate): Update.
3231 * top.c (execute_command): Update.
3232
e671835b
BS
32332014-01-20 Baruch Siach <baruch@tkos.co.il>
3234
3235 * xtensa-linux-nat.c: Include asm/ptrace.h.
3236
50367cd2
IB
32372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3238
3239 * Makefile.in (SFILES): Add d-support.c.
3240 (COMMON_OBS): Add d-support.o.
3241 * d-lang.h (d_parse_symbol): Add comment, now defined in
3242 d-support.c.
3243 * d-lang.c (parse_call_convention)
3244 (parse_attributes, parse_function_types)
3245 (parse_function_args, parse_type, parse_identifier)
3246 (call_convention_p, d_parse_symbol): Move functions to ...
3247 * d-support.c: ... New file.
3248
ec9f644a
IB
32492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3250
3251 * d-lang.h (d_parse_symbol): Add declaration.
3252 * d-lang.c (extract_identifiers)
3253 (extract_type_info): Remove functions.
3254 (parse_call_convention, parse_attributes)
3255 (parse_function_types, parse_function_args)
3256 (parse_type, parse_identifier, call_convention_p)
3257 (d_parse_symbol): New functions.
3258 (d_demangle): Use d_parse_symbol to demangle D symbols.
3259
94b1b47e
IB
32602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3261
3262 * d-lang.h (struct builtin_d_type): New data type.
3263 (builtin_d_type): Add declaration.
3264 * d-lang.c (d_language_arch_info, build_d_types)
3265 (builtin_d_type): New functions.
3266 (enum d_primitive_types): New data type.
3267 (d_language_defn): Change c_language_arch_info to
3268 d_language_arch_info.
3269 (d_type_data): New static variable.
3270 (_initialize_d_language): Initialize d_type_data.
3271
63778547
IB
32722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3273
3274 * d-lang.h (d_main_name): Add declaration.
3275 * d-lang.c (d_main_name): New function.
3276 * symtab.c (find_main_name): Add call to d_main_name.
3277
3271ba66
IB
32782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3279
3280 * d-lang.c (d_language_defn): Change macro_expansion_c to
3281 macro_expansion_no.
3282
d36b3012
IB
32832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3284
3285 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3286
c90a6fb7
SDJ
32872014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3288
3289 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3290 gdb_exception" declaration.
3291 * remote.c (getpkt_or_notif_sane): Likewise.
3292
749234e5
DE
32932014-01-17 Doug Evans <dje@google.com>
3294
3295 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3296 function, contents of dirnames_to_char_ptr_vec_append moved here.
3297 (delim_string_to_char_ptr_vec): New function.
3298 (dirnames_to_char_ptr_vec_append): Rewrite.
3299 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3300
df049a58
DE
33012014-01-17 Doug Evans <dje@google.com>
3302
3303 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3304 and moved here ...
3305 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3306 #include "common-utils.h".
3307 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3308 * common/vec.h (VEC_ASSERT_PASS): Update.
3309 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3310 (MACH_CHECK_ERROR): Update.
3311
69f97648
SM
33122014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3313
3314 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3315 comments.
3316 * gdbarch.h: Regenerate.
3317
98b1cfdc
TT
33182014-01-16 Tom Tromey <tromey@redhat.com>
3319
3320 * value.c (struct value) <regnum>: Move earlier.
3321
77a19445
TT
33222014-01-16 Tom Tromey <tromey@redhat.com>
3323
3324 * remote.c (extended_remote_create_inferior): Rename from
3325 extended_remote_create_inferior_1. Add "ops" argument. Remove
3326 old implementation.
3327
62261490
PA
33282014-01-16 Pedro Alves <palves@redhat.com>
3329
3330 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3331 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3332 the backchain.
3333
4d65956b
DE
33342014-01-16 Doug Evans <dje@google.com>
3335
3336 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3337
52834460
MM
33382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3339
3340 * btrace.h (btrace_thread_flag): New.
3341 (struct btrace_thread_info) <flags>: New.
3342 * record-btrace.c (record_btrace_resume_thread)
3343 (record_btrace_find_thread_to_move, btrace_step_no_history)
3344 (btrace_step_stopped, record_btrace_start_replaying)
3345 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3346 (record_btrace_find_resume_thread): New.
3347 (record_btrace_resume, record_btrace_wait): Extend.
3348 (record_btrace_can_execute_reverse): New.
3349 (record_btrace_open): Fail in non-stop mode.
3350 (record_btrace_set_replay): Split into this, ...
3351 (record_btrace_stop_replaying): ... this, ...
3352 (record_btrace_clear_histories): ... and this.
3353 (init_record_btrace_ops): Init to_can_execute_reverse.
3354 * NEWS: Announce it.
3355
118e6252
MM
33562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3357
3358 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3359 (forward_target_decr_pc_after_break)
3360 (target_decr_pc_after_break): New.
3361 * target.c (forward_target_decr_pc_after_break)
3362 (target_decr_pc_after_break): New.
3363 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3364 instead of gdbarch_decr_pc_after_break.
3365 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3366 instead of gdbarch_decr_pc_after_break.
3367 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3368 instead of gdbarch_decr_pc_after_break.
3369 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3370 instead of gdbarch_decr_pc_after_break.
3371 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3372 instead of gdbarch_decr_pc_after_break.
3373 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3374 instead of gdbarch_decr_pc_after_break.
3375
6e07b1d2
MM
33762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3377
3378 * btrace.c: Include regcache.h.
3379 (btrace_add_pc): New.
3380 (btrace_enable): Call btrace_add_pc.
3381 (btrace_is_empty): New.
3382 * btrace.h (btrace_is_empty): New.
3383 * record-btrace.c (require_btrace, record_btrace_info): Call
3384 btrace_is_empty.
3385
969c39fb
MM
33862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3387
3388 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3389 Support delta reads.
3390 (linux_disable_btrace): Change return type.
3391 * common/linux-btrace.h (linux_read_btrace): Change parameters
3392 and return type to allow error reporting. Update users.
3393 (linux_disable_btrace): Change return type. Update users.
3394 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3395 New.
3396 (btrace_error): New.
3397 (btrace_block) <begin>: Comment on BEGIN == 0.
3398 * btrace.c (btrace_compute_ftrace): Start from the end of
3399 the current trace.
3400 (btrace_stitch_trace, btrace_clear_history): New.
3401 (btrace_fetch): Read delta trace, return if replaying.
3402 (btrace_clear): Move clear history code to btrace_clear_history.
3403 (parse_xml_btrace): Throw an error if parsing failed.
3404 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3405 and return type to allow error reporting.
3406 (target_read_btrace): Change parameters and return type to allow
3407 error reporting.
3408 * target.c (target_read_btrace): Update.
3409 * remote.c (remote_read_btrace): Support delta reads. Pass
3410 errors on.
3411 * NEWS: Announce it.
3412
0b722aec
MM
34132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3414
3415 * record.h (record_btrace_frame_unwind)
3416 (record_btrace_tailcall_frame_unwind): New declarations.
3417 * dwarf2-frame: Include record.h
3418 (dwarf2_frame_cfa): Throw an error for btrace frames.
3419 * record-btrace.c: Include hashtab.h.
3420 (btrace_get_bfun_name): New.
3421 (btrace_call_history): Call btrace_get_bfun_name.
3422 (struct btrace_frame_cache): New.
3423 (bfcache): New.
3424 (bfcache_hash, bfcache_eq, bfcache_new): New.
3425 (btrace_get_frame_function): New.
3426 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3427 (record_btrace_frame_this_id): Compute own id.
3428 (record_btrace_frame_prev_register): Provide PC, throw_error
3429 for all other registers.
3430 (record_btrace_frame_sniffer): Detect btrace frames.
3431 (record_btrace_tailcall_frame_sniffer): New.
3432 (record_btrace_frame_dealloc_cache): New.
3433 (record_btrace_frame_unwind): Add new functions.
3434 (record_btrace_tailcall_frame_unwind): New.
3435 (_initialize_record_btrace): Allocate cache.
3436 * btrace.c (btrace_clear): Call reinit_frame_cache.
3437 * NEWS: Announce it.
3438
066ce621
MM
34392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3440
3441 * record-btrace.c (record_btrace_set_replay)
3442 (record_btrace_goto_begin, record_btrace_goto_end)
3443 (record_btrace_goto): New.
3444 (init_record_btrace_ops): Initialize them.
3445 * NEWS: Announce it.
3446
e2887aa3
MM
34472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3448
3449 * record-btrace.c (record_btrace_find_new_threads)
3450 (record_btrace_thread_alive): New.
3451 (init_record_btrace_ops): Initialize to_find_new_threads and
3452 to_thread_alive.
3453
b2f4cfde
MM
34542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3455
3456 * record-btrace.c (record_btrace_resume): New.
3457 (record_btrace_wait): New.
3458 (init_record_btrace_ops): Initialize to_wait and to_resume.
3459
633785ff
MM
34602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3461
3462 * record-btrace.c (record_btrace_xfer_partial)
3463 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3464 (record_btrace_allow_memory_access): New.
3465 (init_record_btrace_ops): Initialize new methods.
3466 * target.c (raw_memory_xfer_partial): Bail out if target reports
3467 that this memory is not available.
3468
3db08215
MM
34692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3470
3471 * target.h (target_ops) <to_insert_breakpoint>
3472 <to_remove_breakpoint>: Add target_ops parameter.
3473 (forward_target_insert_breakpoint): New.
3474 (forward_target_remove_breakpoint): New.
3475 (memory_remove_breakpoint, memory_insert_breakpoint):
3476 Add target_ops parameter.
3477 * target.c (target_insert_breakpoint): Split into this and ...
3478 (forward_target_insert_breakpoint): ... this.
3479 (target_remove_breakpoint): Split into this and ...
3480 (forward_target_remove_breakpoint): ... this.
3481 (debug_to_insert_breakpoint): Add target_ops parameter.
3482 Call forward_target_insert_breakpoint.
3483 (debug_to_remove_breakpoint): Add target_ops parameter.
3484 Call forward_target_remove_breakpoint.
3485 (update_current_target): Do not inherit or default to_insert_breakpoint
3486 and to_remove_breakpoint.
3487 * corelow.c (ignore): Add target_ops parameter.
3488 * exec.c (ignore): Add target_ops parameter.
3489 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3490 Add target_ops parameter.
3491 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3492 Add target_ops parameter.
3493 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3494 Add target_ops parameter.
3495 * record-full.c (record_full_beneath_to_insert_breakpoint)
3496 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3497 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3498 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3499 (record_full_core_remove_breakpoint): Add target_ops parameter.
3500 Update users.
3501 (record_full_beneath_to_insert_breakpoint_ops)
3502 (record_full_beneath_to_remove_breakpoint_ops)
3503 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3504 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3505 tmp_to_remove_breakpoint_ops,
3506 record_full_beneath_to_insert_breakpoint_ops, and
3507 record_full_beneath_to_remove_breakpoint_ops.
3508 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3509 (m32r_remove_breakpoint): Add target_ops parameter.
3510 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3511 Add target_ops parameter.
3512 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3513 Add target_ops parameter.
3514
cecac1ab
MM
35152014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3516 Markus Metzger <markus.t.metzger@intel.com>
3517
3518 * record-btrace.c: Include frame-unwind.h.
3519 (record_btrace_frame_unwind_stop_reason)
3520 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3521 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3522 New.
3523 (init_record_btrace_ops): Install it.
3524
824344ca
MM
35252014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3528 get_prev_frame_1.
3529
32261e52
MM
35302014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3531
3532 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3533 earlier.
3534
ea001bdc
MM
35352014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3536
3537 * frame-unwind.c: Include target.h.
3538 (frame_unwind_try_unwinder): New function with code from ...
3539 (frame_unwind_find_by_frame): ... here. New variable
3540 unwinder_from_target, call also target_get_unwinder)
3541 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3542 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3543 * target.h (struct target_ops): New fields to_get_unwinder and
3544 to_get_tailcall_unwinder.
3545 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3546
1f3ef581
MM
35472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3548
3549 * record-btrace.c (record_btrace_fetch_registers)
3550 (record_btrace_store_registers)
3551 (record_btrace_to_prepare_to_store): New.
3552 (init_record_btrace_ops): Add the above.
3553
f32dbf8c
MM
35542014-01-16 Tom Tromey <tromey@redhat.com>
3555
3556 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3557 * target.h (struct target_ops) <to_prepare_to_store>: Add
3558 argument.
3559 (target_prepare_to_store): Add argument.
3560 * target.c (debug_to_prepare_to_store): Add argument.
3561 (update_current_target): Update.
3562 * remote.c (remote_prepare_to_store): Add 'self' argument.
3563 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3564 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3565 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3566 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3567 argument.
3568 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3569 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3570 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3571 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3572 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3573
07bbe694
MM
35742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3575
3576 * btrace.h (replay) <replay>: New.
3577 (btrace_is_replaying): New.
3578 * btrace.c (btrace_clear): Free replay iterator.
3579 (btrace_is_replaying): New.
3580 * record-btrace.c (record_btrace_is_replaying): New.
3581 (record_btrace_info): Print insn number if replaying.
3582 (record_btrace_insn_history): Start at replay position.
3583 (record_btrace_call_history): Start at replay position.
3584 (init_record_btrace_ops): Init to_record_is_replaying.
3585
0688d04e
MM
35862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3587
3588 * record-btrace.c (record_btrace_insn_history_range): Include
3589 end.
3590 (record_btrace_insn_history_from): Adjust range.
3591 (record_btrace_call_history_range): Include
3592 end.
3593 (record_btrace_call_history_from): Adjust range.
3594 * NEWS: Announce changes.
3595
8710b709
MM
35962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3597
3598 * record.h (enum record_print_flag)
3599 <record_print_indent_calls>: New.
3600 * record.c (get_call_history_modifiers): Recognize /c modifier.
3601 (_initialize_record): Document /c modifier.
3602 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3603 Reorder fields. Optionally indent the function name. Update
3604 all users.
3605 * NEWS: Announce changes.
3606
d0fa7535
MM
36072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3608
3609 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3610
5de9129b
MM
36112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3612
3613 * btrace.c (ftrace_new_function): Start counting at one.
3614 * record-btrace.c (record_btrace_info): Adjust number of calls
3615 and insns.
3616 * NEWS: Announce it.
3617
7acbe133
MM
36182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3619
3620 * record-btrace.c (btrace_call_history_insn_range): Print
3621 insn range as [begin, end].
3622
23a7fe75
MM
36232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3624
3625 * btrace.h (struct btrace_func_link): New.
3626 (enum btrace_function_flag): New.
3627 (struct btrace_inst): Rename to ...
3628 (struct btrace_insn): ...this. Update all users.
3629 (struct btrace_func) <ibegin, iend>: Remove.
3630 (struct btrace_func_link): New.
3631 (struct btrace_func): Rename to ...
3632 (struct btrace_function): ...this. Update all users.
3633 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3634 (number, level, flags>: New.
3635 (struct btrace_insn_iterator): Rename to ...
3636 (struct btrace_insn_history): ...this.
3637 Update all users.
3638 (struct btrace_insn_iterator, btrace_call_iterator): New.
3639 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3640 (struct btrace_target_info) <begin, end, level>
3641 <insn_history, call_history>: New.
3642 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3643 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3644 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3645 (btrace_call_number, btrace_call_begin, btrace_call_end)
3646 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3647 (btrace_find_function_by_number, btrace_set_insn_history)
3648 (btrace_set_call_history): New.
3649 * btrace.c (btrace_init_insn_iterator)
3650 (btrace_init_func_iterator, compute_itrace): Remove.
3651 (ftrace_print_function_name, ftrace_print_filename)
3652 (ftrace_skip_file): Change
3653 parameter to const.
3654 (ftrace_init_func): Remove.
3655 (ftrace_debug): Use new btrace_function fields.
3656 (ftrace_function_switched): Also consider gaining and
3657 losing symbol information).
3658 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3659 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3660 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3661 New.
3662 (ftrace_new_function): Move. Remove debug print.
3663 (ftrace_update_lines, ftrace_update_insns): New.
3664 (ftrace_update_function): Check for call, ret, and jump.
3665 (compute_ftrace): Renamed to ...
3666 (btrace_compute_ftrace): ...this. Rewritten to compute call
3667 stack.
3668 (btrace_fetch, btrace_clear): Updated.
3669 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3670 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3671 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3672 (btrace_call_number, btrace_call_begin, btrace_call_end)
3673 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3674 (btrace_find_function_by_number, btrace_set_insn_history)
3675 (btrace_set_call_history): New.
3676 * record-btrace.c (require_btrace): Use new btrace thread
3677 info fields.
3678 (record_btrace_info, btrace_insn_history)
3679 (record_btrace_insn_history, record_btrace_insn_history_range):
3680 Use new btrace thread info fields and new iterator.
3681 (btrace_func_history_src_line): Rename to ...
3682 (btrace_call_history_src_line): ...this. Use new btrace
3683 thread info fields.
3684 (btrace_func_history): Rename to ...
3685 (btrace_call_history): ...this. Use new btrace thread info
3686 fields and new iterator.
3687 (record_btrace_call_history, record_btrace_call_history_range):
3688 Use new btrace thread info fields and new iterator.
3689
8372a7cb
MM
36902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3691
3692 * frame.h (frame_id_build_unavailable_stack_special): New.
3693 * frame.c (frame_id_build_unavailable_stack_special): New.
3694
c2170eef
MM
36952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3696
3697 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3698 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3699 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3700 to gdbarch.
3701 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3702 (i386_insn_is_jump, i386_jmp_p): New.
3703 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3704 insn_is_jump to gdbarch.
3705 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3706 * gdbarch.h: Regenerated.
3707 * gdbarch.c: Regenerated.
3708 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3709 (default_insn_is_jump): New.
3710 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3711 (default_insn_is_jump): New.
3712
864089d2
MM
37132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3714
3715 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3716 Change to ...
3717 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3718 (btrace_read_type) <btrace_read_new>: Change to ...
3719 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3720
ed9edfb5
MM
37212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3722
3723 * common/linux-btrace.c (linux_read_btrace): Free trace from
3724 previous iteration.
3725
fbcbc3fd
DE
37262014-01-15 Doug Evans <dje@google.com>
3727
3728 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3729 uint32_t.
3730
3d548a53
TT
37312014-01-15 Tom Tromey <tromey@redhat.com>
3732
3733 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3734 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3735 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3736 (set_objfile_main_name): New function.
3737 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3738 language_of_main>: New fields.
3739 (set_objfile_main_name): Declare.
3740 * symtab.c (find_main_name): Loop over objfiles to find the main
3741 name and language.
3742 (set_main_name): Now static.
3743 (get_main_info): Add comment.
3744 * symtab.h (set_main_name): Don't declare.
3745
32ac0d11
TT
37462014-01-15 Tom Tromey <tromey@redhat.com>
3747
3748 * symtab.c (main_progspace_key): New global.
3749 (struct main_info): New.
3750 (name_of_main, language_of_main): Remove.
3751 (get_main_info, main_info_cleanup): New function.
3752 (set_main_name, main_name, main_language): Use get_main_info.
3753 (_initialize_symtab): Initialize main_progspace_key.
3754
9e6c82ad
TT
37552014-01-15 Tom Tromey <tromey@redhat.com>
3756
3757 * dbxread.c (process_one_symbol): Update.
3758 * dwarf2read.c (read_partial_die): Update.
3759 * symfile.c (set_initial_language): Call main_language.
3760 * symtab.c (language_of_main): Now static.
3761 (set_main_name): Add 'lang' parameter.
3762 (find_main_name): Update.
3763 (main_language): New function.
3764 (symtab_observer_executable_changed): Update.
3765 * symtab.h (set_main_name): Update.
3766 (language_of_main): Remove.
3767 (main_language): Declare.
3768
6ef55de7
TT
37692014-01-15 Tom Tromey <tromey@redhat.com>
3770
3771 * symfile.c (init_entry_point_info): Use new "initialized" field.
3772 Update.
3773 * objfiles.h (struct entry_point) <initialized>: New field.
3774 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3775 (struct objfile) <ei>: ...here. Remove.
3776 * objfiles.c (entry_point_address_query): Update.
3777
53eddfa6
TT
37782014-01-15 Tom Tromey <tromey@redhat.com>
3779
3780 * objfiles.c (entry_point_address_query): Relocate entry point
3781 address.
3782 (objfile_relocate1): Do not relocate entry point address.
3783 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3784 <the_bfd_section_index>: New field.
3785 * symfile.c (init_entry_point_info): Find the entry point's
3786 section.
3787
d56e56aa
TT
37882014-01-15 Tom Tromey <tromey@redhat.com>
3789
3790 * solib-frv.c (enable_break): Use entry_point_address_query.
3791
33a97bbe
OJ
37922014-01-15 Omair Javaid <omair.javaid@linaro.org>
3793
3794 * NEWS: Add note on improved process record-replay on
3795 arm*-linux* targets.
3796
c6ec2b30
OJ
37972014-01-15 Omair Javaid <omair.javaid@linaro.org>
3798
3799 * arm-tdep.c (enum arm_record_result): New enum.
3800 (arm_record_unsupported_insn): New function.
3801 (arm_record_coproc_data_proc): Removed.
3802 (thumb2_record_ld_st_multiple): New function.
3803 (thumb2_record_ld_st_dual_ex_tbb): New function.
3804 (thumb2_record_data_proc_sreg_mimm): New function.
3805 (thumb2_record_ps_dest_generic): New function.
3806 (thumb2_record_branch_misc_cntrl): New function.
3807 (thumb2_record_str_single_data): New function.
3808 (thumb2_record_ld_mem_hints): New function.
3809 (thumb2_record_ld_word): New function.
3810 (thumb2_record_lmul_lmla_div): New function.
3811 (thumb2_record_decode_insn_handler): New function.
3812 (decode_insn): Add thumb32 instruction handlers.
3813
97dfe206
OJ
38142014-01-15 Omair Javaid <omair.javaid@linaro.org>
3815
3816 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3817 (struct arm_linux_record_tdep): Declare.
3818 (arm_canonicalize_syscall): New function.
3819 (arm_all_but_pc_registers_record): New function.
3820 (arm_linux_syscall_record): New function.
3821 (arm_linux_init_abi): Add syscall recording constructs.
3822 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3823 decoding. (arm_record_coproc_data_proc): Update arm syscall
3824 decoding.
3825 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3826 <arm_syscall_record>: New field.
3827 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3828 gdb_target_obs.
3829
9904a494
OJ
38302014-01-15 Omair Javaid <omair.javaid@linaro.org>
3831
3832 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3833 register for push instruction recording.
3834
f969241e
OJ
38352014-01-15 Omair Javaid <omair.javaid@linaro.org>
3836
3837 * arm-tdep.c (thumb_record_misc): Update to correct logical
3838 error while recording ldm, ldmia and pop instructions.
3839
bfbbec00
OJ
38402014-01-15 Omair Javaid <omair.javaid@linaro.org>
3841
3842 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3843
e40adcc9
PA
38442014-01-15 Pedro Alves <palves@redhat.com>
3845
3846 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3847 (go32_resume, go32_fetch_registers, store_register)
3848 (go32_store_registers, go32_prepare_to_store)
3849 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3850 (go32_create_inferior, go32_can_run, go32_terminal_init)
3851 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3852 declarations.
3853
b0a16e66
TT
38542014-01-15 Tom Tromey <tromey@redhat.com>
3855
3856 * target.h (async_callback_ftype): New typedef.
3857 (struct target_ops) <to_async>: Use it.
3858
bf7105a4
JB
38592014-01-15 Joel Brobecker <brobecker@adacore.com>
3860
3861 * python/py-value.c (get_field_type): Remove unnecessary curly
3862 braces for single-statement if block.
3863
a8f35c2e
JB
38642014-01-15 Joel Brobecker <brobecker@adacore.com>
3865
3866 * python/py-type.c (convert_field): Add missing empty line
3867 after declarations.
3868
bb4142cf
DE
38692014-01-14 Doug Evans <dje@google.com>
3870
3871 * symfile.h (expand_symtabs_matching): Renamed from
3872 expand_partial_symbol_names. Update prototype.
3873 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3874 * symfile.c (expand_symtabs_matching): Renamed from
3875 expand_partial_symbol_names. New args file_matcher, kind.
3876 Rename arg fun to symbol_matcher.
3877 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3878 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3879 ada_expand_partial_symbol_name.
3880 (ada_make_symbol_completion_list): Update to call
3881 expand_symtabs_matching.
3882 (ada_add_global_exceptions): Call expand_symtabs_matching.
3883 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3884 call map_symbol_filenames.
3885 * symtab.c (sources_info): Update to call map_symbol_filenames.
3886 (search_symbols): Call expand_symtabs_matching.
3887 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3888 (default_make_symbol_completion_list_break_on): Update to call
3889 expand_symtabs_matching.
3890 (make_source_files_completion_list): Update to call
3891 map_symbol_filenames.
3892
206f2a57
DE
38932014-01-14 Doug Evans <dje@google.com>
3894
3895 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3896 (expand_symtabs_symbol_matcher_ftype): New typedef.
3897 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3898 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3899 * symfile.c (expand_partial_symbol_names): Update to use
3900 expand_symtabs_symbol_matcher_ftype.
3901 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3902 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3903 Arg name_matcher renamed to symbol_matcher.
3904 * psymtab.c (recursively_search_psymtabs): Update to use
3905 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3906 sym_matcher.
3907 (expand_symtabs_matching_via_partial): Update to use
3908 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3909 Arg name_matcher renamed to symbol_matcher.
3910
540c2971
DE
39112014-01-14 Doug Evans <dje@google.com>
3912
3913 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3914 (map_partial_symbol_filenames): Ditto.
3915 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3916 (map_partial_symbol_filenames): Ditto.
3917 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3918 (map_partial_symbol_filenames): Ditto.
3919 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3920 (map_partial_symbol_filenames): Ditto.
3921 * symtab.c: Delete #include "psymtab.h".
3922
8213266a
PA
39232014-01-14 Pedro Alves <palves@redhat.com>
3924 Tom Tromey <tromey@redhat.com>
3925
3926 * infrun.c (use_displaced_stepping): Use find_record_target
3927 instead of RECORD_IS_USED.
3928 (adjust_pc_after_break): Use record_full_is_used instead of
3929 RECORD_IS_USED.
3930 * record-btrace.c (record_btrace_open): Call record_preopen
3931 instead of checking RECORD_IS_USED.
3932 * record-full.c (record_full_shortname)
3933 (record_full_core_shortname): New globals.
3934 (record_full_is_used): New function.
3935 (find_full_open): Call record_preopen instead of checking
3936 RECORD_IS_USED.
3937 (init_record_full_ops): Set the target's shortname to
3938 record_full_shortname.
3939 (init_record_full_core_ops): Set the target's shortname to
3940 record_full_core_shortname.
3941 * record-full.h (record_full_is_used): Declare.
3942 * record.c (find_record_target): Make extern.
3943 (record_preopen): New function.
3944 * record.h (RECORD_IS_USED): Delete macro.
3945 (find_record_target, record_preopen): Declare functions.
3946
7ec1862d
YQ
39472014-01-14 Yao Qi <yao@codesourcery.com>
3948
3949 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3950 'len''s type to ULONGEST.
3951 (core_xfer_shared_libraries_aix): Likewise.
3952 * gdbarch.c, gdbarch.h: Regenerated.
3953 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3954 Change type of 'len' to ULONGEST.
3955 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3956 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3957
dea80a27
YQ
39582014-01-14 Yao Qi <yao@codesourcery.com>
3959
3960 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3961 type of 'len' to ULONGEST.
3962 (linux_xfer_osdata_processgroups): Likewise.
3963 (linux_xfer_osdata_threads): Likewise.
3964 (linux_xfer_osdata_fds): Likewise.
3965 (linux_xfer_osdata_isockets): Likewise.
3966 (linux_xfer_osdata_shm): Likewise.
3967 (linux_xfer_osdata_sem): Likewise.
3968 (linux_xfer_osdata_msg): Likewise.
3969 (linux_common_xfer_osdata): Likewise.
3970 (struct osdata_type) <getter>: Likewise.
3971 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3972 the declaration.
3973
b55e14c7
YQ
39742014-01-14 Yao Qi <yao@codesourcery.com>
3975
3976 * target.h (target_xfer_partial_ftype): Update.
3977 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3978 ULONGEST.
3979 * aix-thread.c (aix_thread_xfer_partial): Change type of
3980 argument 'len' to ULONGEST.
3981 * auxv.c (procfs_xfer_auxv): Likewise.
3982 (ld_so_xfer_auxv): Likewise.
3983 (memory_xfer_auxv): Likewise.
3984 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3985 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3986 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3987 * corelow.c (core_xfer_partial): Likewise.
3988 * ctf.c (ctf_xfer_partial): Likewise.
3989 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3990 '%u'.
3991 (darwin_read_dyld_info): Likewise.
3992 (darwin_xfer_partial): Likewise.
3993 * exec.c (section_table_xfer_memory_partial): Likewise.
3994 (exec_xfer_partial): Likewise.
3995 * exec.h (section_table_xfer_memory_partial): Update
3996 declaration.
3997 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3998 instead of plongest.
3999 (gnu_xfer_partial): Likewise.
4000 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4001 (ia64_hpux_xfer_solib_got): Likewise.
4002 (ia64_hpux_xfer_partial): Likewise.
4003 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4004 * inf-ptrace.c (inf_ptrace_xfer_partial):
4005 * inf-ttrace.c (inf_ttrace_xfer_partial):
4006 * linux-nat.c (linux_xfer_siginfo): Likewise.
4007 (linux_nat_xfer_partial): Likewise.
4008 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4009 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4010 * monitor.c (monitor_xfer_memory): Likewise.
4011 (monitor_xfer_partial): Likewise.
4012 * procfs.c (procfs_xfer_partial): Likewise.
4013 * record-full.c (record_full_xfer_partial): Likewise.
4014 (record_full_core_xfer_partial): Likewise.
4015 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4016 instead of plongest.
4017 (gdbsim_xfer_partial): Likewise.
4018 * remote.c (remote_xfer_partial): Likewise.
4019 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4020 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4021 declaration.
4022 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4023 (rs6000_xfer_shared_libraries): Likewise.
4024 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4025 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4026 (sparc_xfer_partial): Likewise.
4027 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4028 (spu_xfer_partial): Likewise.
4029 * spu-multiarch.c (spu_xfer_partial): Likewise.
4030 * target.c (target_read_live_memory): Likewise.
4031 (memory_xfer_live_readonly_partial): Likewise.
4032 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4033 (target_xfer_partial, default_xfer_partial): Likewise.
4034 (current_xfer_partial): Likewise.
4035 * tracepoint.c (tfile_xfer_partial): Likewise.
4036 * windows-nat.c (windows_xfer_memory): Likewise. Call
4037 pulongest instead of plongest.
4038 (windows_xfer_partial): Likewise.
4039 (windows_xfer_shared_libraries): Likewise.
4040
05804640
YQ
40412014-01-14 Yao Qi <yao@codesourcery.com>
4042
4043 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4044 target_xfer_partial_ftype.
4045
b5b08fb4
SC
40462014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4047
4048 PR python/15464
4049 PR python/16113
4050 * valops.c (value_struct_elt_bitpos): New function
4051 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4052 object to 'None' if the field name is an empty string ("").
4053 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4054 attribute to look for a field when 'name' is 'None'.
4055 (get_field_type): New function
4056
13aaf454
DE
40572014-01-13 Doug Evans <dje@google.com>
4058
4059 PR symtab/16426
4060 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4061 (try_open_dwop_file): Ditto.
4062 * gdb_bfd.c: #include "vec.h".
4063 (bfdp): New typedef.
4064 (struct gdb_bfd_data): New member included_bfds.
4065 (gdb_bfd_unref): Unref all included bfds.
4066 (gdb_bfd_record_inclusion): New function.
4067 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4068
c2cec97c
TT
40692014-01-13 Tom Tromey <tromey@redhat.com>
4070
4071 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4072
78e5999d
TT
40732014-01-13 Tom Tromey <tromey@redhat.com>
4074
4075 * defs.h (use_windows): Remove.
4076 * gdb.c (main): Update.
4077 * main.c (captured_main, gdb_main): Update.
4078 * main.h (struct captured_main_args) <use_windows>: Remove.
4079 * top.c (use_windows): Remove.
4080
f2052bbe
TT
40812014-01-13 Tom Tromey <tromey@redhat.com>
4082
4083 * defs.h (deprecated_flush_hook): Remove.
4084
fde4f8ed
JK
40852014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4086
4087 PR threads/16216
4088 * linux-thread-db.c (try_thread_db_load): Add parameter
4089 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4090 (try_thread_db_load_from_pdir_1): Move it there from here.
4091 (try_thread_db_load_from_sdir): Update caller.
4092 (try_thread_db_load_from_dir): Move it there from here.
4093
bdf61915
PP
40942014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4095
4096 * regformats/regdat.sh: Always rewrite the register file.
4097
f71e1a8d
PA
40982014-01-13 Pedro Alves <palves@redhat.com>
4099
4100 * Makefile.in (CHECK_HEADERS): New variable.
4101 (check-headers:): New rule.
4102
42c85435
TT
41032014-01-13 Tom Tromey <tromey@redhat.com>
4104
4105 * cli/cli-setshow.c (do_set_command): Update.
4106 * defs.h (deprecated_set_hook): Remove.
4107 * top.c (deprecated_set_hook): Remove.
4108
f8de5129
PA
41092014-01-13 Pedro Alves <palves@redhat.com>
4110
4111 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4112 the tracepoint if the PC is a pseudo-register.
4113
fc270c35
TT
41142014-01-13 Tom Tromey <tromey@redhat.com>
4115
4116 * defs.h (XCALLOC): Remove.
4117 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4118 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4119 * dwarf2loc.c (allocate_piece_closure): Likewise.
4120 * elfread.c (elf_symfile_segments): Likewise.
4121 (elf_symfile_segments): Likewise.
4122 * gdbtypes.c (copy_type_recursive): Likewise.
4123 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4124 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4125 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4126 XCALLOC.
4127 * mt-tdep.c (mt_gdbarch_init): Likewise.
4128 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4129 XCALLOC.
4130 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4131 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4132 * registry.c (registry_alloc_data): Likewise.
4133 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4134 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4135 * serial.c (serial_fdopen_ops): Likewise.
4136 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4137 XCALLOC.
4138 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4139 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4140 not XCALLOC.
4141
70ba0933
TT
41422014-01-13 Tom Tromey <tromey@redhat.com>
4143
4144 * defs.h (XMALLOC): Remove.
4145 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4146 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4147 * cli-out.c (struct ui_out *): Likewise.
4148 * cli/cli-dump.c (add_dump_command): Likewise.
4149 (add_dump_command): Likewise.
4150 * complaints.c (get_complaints): Likewise.
4151 (find_complaint): Likewise.
4152 * dwarf2-frame.c (execute_cfa_program): Likewise.
4153 * dwarf2read.c (abbrev_table_read_table): Likewise.
4154 * gdbarch.sh: Likewise.
4155 * gdbarch.c: Rebuild.
4156 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4157 * interps.c (interp_new): Likewise.
4158 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4159 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4160 * mi/mi-console.c (mi_console_file_new): Likewise.
4161 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4162 * mi/mi-out.c (mi_out_new): Likewise.
4163 * mi/mi-parse.c (mi_parse): Likewise.
4164 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4165 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4166 * observer.c (xalloc_observer_list_node): Likewise.
4167 * regcache.c (regcache_xmalloc_1): Likewise.
4168 * reggroups.c (reggroup_new): Likewise.
4169 (_initialize_reggroup): Likewise.
4170 * registry.c (register_data_with_cleanup): Likewise.
4171 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4172 * ser-base.c (serial_ttystate): Likewise.
4173 * ser-mingw.c (make_pipe_state): Likewise.
4174 * ser-pipe.c (pipe_open): Likewise.
4175 * serial.c (serial_open): Likewise.
4176 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4177 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4178 (tui_alloc_win_info): Likewise.
4179 (tui_add_content_elements): Likewise.
4180 * tui/tui-file.c (tui_file_new): Likewise.
4181 * tui/tui-out.c (tui_out_new): Likewise.
4182 * ui-file.c (mem_file_new): Likewise.
4183 * ui-out.c (push_level): Likewise.
4184 (make_cleanup_ui_out_end): Likewise.
4185 (append_header_to_list): Likewise.
4186 (ui_out_new): Likewise.
4187 * user-regs.c (user_reg_add_builtin): Likewise.
4188
41bf6aca
TT
41892014-01-13 Tom Tromey <tromey@redhat.com>
4190
4191 * defs.h (XZALLOC): Remove.
4192 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4193 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4194 (get_ada_tasks_inferior_data): Likewise.
4195 * auto-load.c (get_auto_load_pspace_data): Likewise.
4196 * auxv.c (get_auxv_inferior_data): Likewise.
4197 * bfd-target.c (target_bfd_reopen): Likewise.
4198 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4199 (deprecated_insert_raw_breakpoint): Likewise.
4200 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4201 * corelow.c (core_open): Likewise.
4202 * darwin-nat.c (darwin_check_new_threads): Likewise.
4203 (darwin_attach_pid): Likewise.
4204 * dummy-frame.c (dummy_frame_push): Likewise.
4205 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4206 * dwarf2loc.c (allocate_piece_closure): Likewise.
4207 * elfread.c (elf_symfile_segments): Likewise.
4208 * eval.c (ptrmath_type_p): Likewise.
4209 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4210 * gdbtypes.c (alloc_type_arch): Likewise.
4211 (alloc_type_instance): Likewise.
4212 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4213 * inf-child.c (inf_child_can_use_agent): Likewise.
4214 * inflow.c (get_inflow_inferior_data): Likewise.
4215 * infrun.c (save_infcall_suspend_state): Likewise.
4216 * jit.c (jit_reader_load): Likewise.
4217 (get_jit_objfile_data): Likewise.
4218 (get_jit_program_space_data): Likewise.
4219 (jit_object_open_impl): Likewise.
4220 (jit_symtab_open_impl): Likewise.
4221 (jit_block_open_impl): Likewise.
4222 (jit_frame_sniffer): Likewise.
4223 * linux-fork.c (add_fork): Likewise.
4224 * maint.c (make_command_stats_cleanup): Likewise.
4225 * objfiles.c (get_objfile_pspace_data): Likewise.
4226 * opencl-lang.c (struct lval_closure): Likewise.
4227 * osdata.c (osdata_start_osdata): Likewise.
4228 * progspace.c (new_address_space): Likewise.
4229 (add_program_space): Likewise.
4230 * remote-sim.c (get_sim_inferior_data): Likewise.
4231 * sh-tdep.c (sh_gdbarch_init): Likewise.
4232 * skip.c (Ignore): Likewise.
4233 (skip_delete_command): Likewise.
4234 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4235 (library_list_start_library): Likewise.
4236 (solib_aix_current_sos): Likewise.
4237 * solib-darwin.c (get_darwin_info): Likewise.
4238 (darwin_current_sos): Likewise.
4239 * solib-dsbt.c (get_dsbt_info): Likewise.
4240 * solib-ia64-hpux.c (new_so_list): Likewise.
4241 (ia64_hpux_get_solib_linkage_addr): Likewise.
4242 * solib-spu.c (append_ocl_sos): Likewise.
4243 (spu_current_sos): Likewise.
4244 * solib-svr4.c (get_svr4_info): Likewise.
4245 (svr4_keep_data_in_core): Likewise.
4246 (library_list_start_library): Likewise.
4247 (svr4_default_sos): Likewise.
4248 (svr4_read_so_list): Likewise.
4249 * solib-target.c (library_list_start_library): Likewise.
4250 (solib_target_current_sos): Likewise.
4251 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4252 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4253 * symfile.c (default_symfile_segments): Likewise.
4254 * target-descriptions.c (tdesc_data_init): Likewise.
4255 (tdesc_create_reg): Likewise.
4256 (struct tdesc_type *): Likewise.
4257 (tdesc_create_vector): Likewise.
4258 (tdesc_set_struct_size): Likewise.
4259 (struct tdesc_type *): Likewise.
4260 (tdesc_free_feature): Likewise.
4261 (tdesc_create_feature): Likewise.
4262 * windows-nat.c (windows_add_thread): Likewise.
4263 (windows_make_so): Likewise.
4264 * xml-support.c (gdb_xml_body_text): Likewise.
4265 (gdb_xml_create_parser_and_cleanup): Likewise.
4266 (xml_process_xincludes): Likewise.
4267 * xml-syscall.c (allocate_syscalls_info): Likewise.
4268 (syscall_create_syscall_desc): Likewise.
4269
5acfdbae
SDJ
42702014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4271
4272 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4273 function, with code from i386_stap_parse_special_token.
4274 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4275 (i386_stap_parse_special_token): Move code to the two functions
4276 above; simplify it.
4277
0000e5cc
PA
42782014-01-09 Pedro Alves <palves@redhat.com>
4279 Hui Zhu <hui@codesourcery.com>
4280
4281 PR gdb/16101
4282 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4283 bp_err_string. Don't mark the location shlib_disabled if the
4284 error thrown wasn't a generic or memory error. Catch errors
4285 thrown while inserting breakpoints in overlayed code. Output
4286 error message of software breakpoints.
4287 * remote.c (remote_insert_breakpoint): If this breakpoint has
4288 target-side commands but this stub doesn't support Z0 packets,
4289 throw NOT_SUPPORTED_ERROR error.
4290 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4291 * target.h (target_insert_breakpoint): Extend comment.
4292 (target_insert_hw_breakpoint): Add comment.
4293
b7ea362b
PA
42942014-01-08 Pedro Alves <palves@redhat.com>
4295
4296 * remote.c (remote_add_thread): Add threads silently if starting
4297 up.
4298 (remote_notice_new_inferior): If in all-stop, and starting up,
4299 don't call notice_new_inferior.
4300 (get_current_thread): New function, factored out from ...
4301 (add_current_inferior_and_thread): ... this. Adjust.
4302 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4303 found any thread, then select the remote's current thread as GDB's
4304 current thread too.
4305
b7bba001
JB
43062014-01-08 Joel Brobecker <brobecker@adacore.com>
4307
4308 * NEWS: Create a new section for the next release branch.
4309 Rename the section of the current branch, now that it has
4310 been cut.
4311
16dfbded
JB
43122014-01-08 Joel Brobecker <brobecker@adacore.com>
4313
4314 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4315 * version.in: Bump version to 7.7.50.DATE-cvs.
4316
22c90ac1
YQ
43172014-01-08 Yao Qi <yao@codesourcery.com>
4318
4319 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4320 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4321 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4322
d64ad97c
YQ
43232014-01-08 Yao Qi <yao@codesourcery.com>
4324
4325 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4326 return value of bfd_get_filename to symbol_file_add_from_bfd.
4327
f93ba80c
PM
43282014-01-08 Pierre Muller <muller@sourceware.org>
4329
4330 Fix PR16201.
4331 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4332 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4333 to prim_record_mininal_symbol_and_info.
4334 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4335 in call to prim_record_minimal_symbol_and_info.
4336 (read_pe_exported_syms): Set index field of section_data.
4337
a4d9ba85
AP
43382014-01-07 Andrew Pinski <apinski@cavium.com>
4339
4340 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4341 * features/aarch64.c: Regenerate.
4342
1b67eb02
AS
43432014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4344
4345 * target.c (return_null): Define.
4346 (update_current_target): Use it instead of return_zero for
4347 functions that return a pointer.
4348
5e3f4fab
EBM
43492014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4350
4351 * source.c (add_path): Fix check for duplicated paths in the previously
4352 included paths.
4353
e2616788
HK
43542014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4355
4356 * ada-lang.c: Remove duplicated include statements.
4357 * alphabsd-nat.c: Ditto.
4358 * amd64-darwin-tdep.c: Ditto.
4359 * amd64fbsd-nat.c: Ditto.
4360 * auto-load.c: Ditto.
4361 * ax-gdb.c: Ditto.
4362 * breakpoint.c: Ditto.
4363 * dbxread.c: Ditto.
4364 * fork-child.c: Ditto.
4365 * gdb_usleep.c: Ditto.
4366 * i386-darwin-tdep.c: Ditto.
4367 * i386fbsd-nat.c: Ditto.
4368 * infcmd.c: Ditto.
4369 * inferior.c: Ditto.
4370 * jv-lang.c: Ditto.
4371 * linux-nat.c: Ditto.
4372 * linux-tdep.c: Ditto.
4373 * m68kbsd-nat.c: Ditto.
4374 * m68klinux-nat.c: Ditto.
4375 * microblaze-tdep.c: Ditto.
4376 * mips-linux-tdep.c: Ditto.
4377 * mn10300-tdep.c: Ditto.
4378 * nto-tdep.c: Ditto.
4379 * opencl-lang.c: Ditto.
4380 * osdata.c: Ditto.
4381 * printcmd.c: Ditto.
4382 * regcache.c: Ditto.
4383 * remote-m32r-sdi.c: Ditto.
4384 * remote.c: Ditto.
4385 * symfile.c: Ditto.
4386 * symtab.c: Ditto.
4387 * tilegx-linux-nat.c: Ditto.
4388 * tilegx-tdep.c: Ditto.
4389 * tracepoint.c: Ditto.
4390 * valops.c: Ditto.
4391 * vaxbsd-nat.c: Ditto.
4392 * windows-nat.c: Ditto.
4393 * xtensa-tdep.c: Ditto.
4394
bd1f7788
YQ
43952014-01-07 Yao Qi <yao@codesourcery.com>
4396
4397 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4398
79301218
JB
43992014-01-07 Yao Qi <yao@codesourcery.com>
4400 Joel Brobecker <brobecker@adacore.com>
4401
4402 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4403 (pdc_write_regs): Likewise.
4404 (fetch_regs_kernel_thread): Likewise.
4405 (store_regs_kernel_thread): Likewise.
4406
44072014-01-07 Joel Brobecker <brobecker@adacore.com>
4408
4409 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4410 tagged type objects to their actual type.
4411
8e355c5d
JB
44122014-01-07 Joel Brobecker <brobecker@adacore.com>
4413
4414 * ada-valprint.c (print_field_values): Add "language" parameter.
4415 Update calls to print_field_values and print_variant_part.
4416 Pass new parameter "language" in call to val_print instead
4417 of "current_language". Replace call to ada_val_print by call
4418 to val_print.
4419 (print_variant_part): Add "language" parameter.
4420 (ada_val_print_struct_union): Update call to print_field_values.
4421
4fbf5aa5
JB
44222014-01-07 Joel Brobecker <brobecker@adacore.com>
4423
4424 * ada-valprint.c (ui_memcpy): Delete.
4425 (ada_print_floating): Update documentation. Add empty line
4426 between between function documentation and implementation.
4427 Delete variable "buffer". Use ui_file_xstrdup in place of
4428 ui_file_put. Minor adjustments following this change.
4429
71855601
JB
44302014-01-07 Joel Brobecker <brobecker@adacore.com>
4431
4432 * ada-valprint.c (ada_val_print_string): New function,
4433 extracted from ada_val_print_array.
4434 (ada_val_print_array): Replace extracted code by call
4435 to ada_val_print_string followed by a return. Move
4436 "else" branch to the function's top block.
4437
4eb27a30
JB
44382014-01-07 Joel Brobecker <brobecker@adacore.com>
4439
4440 * ada-valprint.c (ada_val_print_array): Move implementation
4441 down. Rename parameter "offset" and "val" into "offset_aligned"
4442 and "original_value" respectively. Add parameter "offset".
4443
34b27950
JB
44442014-01-07 Joel Brobecker <brobecker@adacore.com>
4445
4446 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4447 re-organizing the code. Change the "???" message printed
4448 when target type is a TYPE_CODE_UNDEF into
4449 "<ref to undefined type>".
4450
079e4591
JB
44512014-01-07 Joel Brobecker <brobecker@adacore.com>
4452
4453 * ada-valprint.c (print_record): Delete, implementation inlined...
4454 (ada_val_print_struct_union): ... here. Remove call to
4455 ada_check_typedef in inlined implementation.
4456
8004dfd1
JB
44572014-01-07 Joel Brobecker <brobecker@adacore.com>
4458
4459 * ada-valprint.c (ada_val_print_gnat_array): New function,
4460 extracted from ada_val_print_1;
4461 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4462 (ada_val_print_flt, ada_val_print_struct_union)
4463 (ada_val_print_ref): Likewise.
4464 (ada_val_print_1): Delete variables i and elttype.
4465 Replace extracted-out code by call to corresponding
4466 new functions.
4467
760a2db0
JB
44682014-01-07 Joel Brobecker <brobecker@adacore.com>
4469
4470 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4471
3a92c861
JB
44722014-01-07 Joel Brobecker <brobecker@adacore.com>
4473
4474 * ada-valprint.c (ada_val_print_1): Replace calls to
4475 ada_val_print_1 by calls to val_print.
4476
cd1630f9
JB
44772014-01-07 Joel Brobecker <brobecker@adacore.com>
4478
4479 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4480 Update calls to self accordingly. Replace calls to c_val_print
4481 by calls to val_print.
4482
bdf779a0
JB
44832014-01-07 Joel Brobecker <brobecker@adacore.com>
4484
4485 * ada-valprint.c (print_record): Delete declaration.
4486 (adjust_type_signedness, ada_val_print_1): Likewise.
4487 (ada_val_print): Move function implementation down.
4488 (print_variant_part, print_field_values, print_record):
4489 Move function implementation up.
4490
c0d48811
JB
44912014-01-07 Joel Brobecker <brobecker@adacore.com>
4492
4493 * python/py-type.c (typy_get_name): New function.
4494 (type_object_getset): Add entry for attribute "name".
4495 * NEWS: Add entry mentioning this new attribute.
4496
c26e9cbb
YQ
44972014-01-07 Yao Qi <yao@codesourcery.com>
4498
4499 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4500 statement.
4501
0cc6f43d
YQ
45022014-01-07 Yao Qi <yao@codesourcery.com>
4503
4504 * gnu-nat.c (info_port_rights): Add qualifier const to
4505 argument args.
4506
eec03155
YQ
45072014-01-07 Yao Qi <yao@codesourcery.com>
4508
4509 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4510
f04a82ef
YQ
45112014-01-07 Yao Qi <yao@codesourcery.com>
4512
4513 * gnu-nat.c (make_inf) Update declaration.
4514 (make_inf): Make it static.
4515 (inf_set_traced): Likewise.
4516 (inf_port_to_thread, inf_task_died_status): Likewise.
4517
d57dda0a
YQ
45182014-01-07 Yao Qi <yao@codesourcery.com>
4519
4520 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4521
3aa8c969
YQ
45222014-01-07 Yao Qi <yao@codesourcery.com>
4523
4524 * gnu-nat.c (_initialize_gnu_nat): Declare.
4525
94123b4f
YQ
45262014-01-07 Yao Qi <yao@codesourcery.com>
4527
4528 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4529 'enum bfd_endian'.
4530 (struct gdbarch_info) <byte_order>: Change type to
4531 'enum bfd_endian'.
4532 <byte_order_for_code>: Likewise.
4533 * gdbarch.c, gdbarch.h: Regenerated.
4534
dc81d70a
TT
45352014-01-06 Sasha Smundak <asmundak@google.com>
4536
4537 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4538
cc2f3c35
TT
45392014-01-06 Tom Tromey <tromey@redhat.com>
4540
4541 * doublest.c (convert_doublest_to_floatformat): Use const, not
4542 CONST.
4543 * somread.c (som_symtab_read): Likewise.
4544
adcf2eed
HZ
45452014-01-07 Hui Zhu <hui@codesourcery.com>
4546
4547 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4548 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4549 (gdb_bfd_fopen): Ditto.
4550 (gdb_bfd_openr): Ditto.
4551 (gdb_bfd_openw): Ditto.
4552 (gdb_bfd_openr_iovec): Ditto.
4553 (gdb_bfd_fdopenr): Ditto.
4554 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4555 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4556 with xstrdup.
4557 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4558 with xstrdup.
4559 * symfile-mem.c (symbol_file_add_from_memory): Removed
4560 gdb_bfd_stash_filename.
4561
50722198
DE
45622014-01-03 Doug Evans <dje@google.com>
4563
4564 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4565 output.
4566
2fa4b862
JB
45672014-01-01 Joel Brobecker <brobecker@adacore.com>
4568
4569 Update year range in copyright notice of all files.
4570
28498c42
JB
45712014-01-01 Joel Brobecker <brobecker@adacore.com>
4572
4573 * top.c (print_gdb_version): Set copyright year to 2014.
4574
7b6e1046
JB
45752014-01-01 Joel Brobecker <brobecker@adacore.com>
4576
4577 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4578
df96af55 4579For older changes see ChangeLog-2013.
c906108c
SS
4580\f
4581Local Variables:
4582mode: change-log
4583left-margin: 8
4584fill-column: 74
4585version-control: never
57da7796 4586coding: utf-8
c906108c 4587End: