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