]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/ChangeLog
convert to_remove_vfork_catchpoint
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
... / ...
CommitLineData
12014-02-19 Tom Tromey <tromey@redhat.com>
2
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
5 to_remove_vfork_catchpoint.
6 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
7 TARGET_DEFAULT_RETURN.
8
92014-02-19 Tom Tromey <tromey@redhat.com>
10
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
13 to_insert_vfork_catchpoint.
14 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
15 TARGET_DEFAULT_RETURN.
16
172014-02-19 Tom Tromey <tromey@redhat.com>
18
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
21 to_remove_fork_catchpoint.
22 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
23 TARGET_DEFAULT_RETURN.
24
252014-02-19 Tom Tromey <tromey@redhat.com>
26
27 * target-delegates.c: Rebuild.
28 * target.c (update_current_target): Don't inherit or default
29 to_insert_fork_catchpoint.
30 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
31 TARGET_DEFAULT_RETURN.
32
332014-02-19 Tom Tromey <tromey@redhat.com>
34
35 * target-delegates.c: Rebuild.
36 * target.c (update_current_target): Don't inherit or default
37 to_post_startup_inferior.
38 * target.h (struct target_ops) <to_post_startup_inferior>: Use
39 TARGET_DEFAULT_IGNORE.
40
412014-02-19 Tom Tromey <tromey@redhat.com>
42
43 * target-delegates.c: Rebuild.
44 * target.c (update_current_target): Don't inherit or default
45 to_load.
46 * target.h (struct target_ops) <to_load>: Use
47 TARGET_DEFAULT_NORETURN.
48
492014-02-19 Tom Tromey <tromey@redhat.com>
50
51 * target-delegates.c: Rebuild.
52 * target.c (update_current_target): Don't inherit or default
53 to_terminal_info.
54 * target.h (struct target_ops) <to_terminal_info>: Use
55 TARGET_DEFAULT_FUNC.
56
572014-02-19 Tom Tromey <tromey@redhat.com>
58
59 * target-delegates.c: Rebuild.
60 * target.c (update_current_target): Don't inherit or default
61 to_terminal_save_ours.
62 * target.h (struct target_ops) <to_terminal_save_ours>: Use
63 TARGET_DEFAULT_IGNORE.
64
652014-02-19 Tom Tromey <tromey@redhat.com>
66
67 * target-delegates.c: Rebuild.
68 * target.c (update_current_target): Don't inherit or default
69 to_terminal_ours.
70 * target.h (struct target_ops) <to_terminal_ours>: Use
71 TARGET_DEFAULT_IGNORE.
72
732014-02-19 Tom Tromey <tromey@redhat.com>
74
75 * target-delegates.c: Rebuild.
76 * target.c (update_current_target): Don't inherit or default
77 to_terminal_ours_for_output.
78 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
79 TARGET_DEFAULT_IGNORE.
80
812014-02-19 Tom Tromey <tromey@redhat.com>
82
83 * target-delegates.c: Rebuild.
84 * target.c (update_current_target): Don't inherit or default
85 to_terminal_inferior.
86 * target.h (struct target_ops) <to_terminal_inferior>: Use
87 TARGET_DEFAULT_IGNORE.
88
892014-02-19 Tom Tromey <tromey@redhat.com>
90
91 * target-delegates.c: Rebuild.
92 * target.c (update_current_target): Don't inherit or default
93 to_terminal_init.
94 * target.h (struct target_ops) <to_terminal_init>: Use
95 TARGET_DEFAULT_IGNORE.
96
972014-02-19 Tom Tromey <tromey@redhat.com>
98
99 * target-delegates.c: Rebuild.
100 * target.c (update_current_target): Don't inherit or default
101 to_can_accel_watchpoint_condition.
102 * target.h (struct target_ops)
103 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
104
1052014-02-19 Tom Tromey <tromey@redhat.com>
106
107 * target-delegates.c: Rebuild.
108 * target.c (update_current_target): Don't inherit or default
109 to_region_ok_for_hw_watchpoint.
110 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
111 Use TARGET_DEFAULT_FUNC.
112
1132014-02-19 Tom Tromey <tromey@redhat.com>
114
115 * target-delegates.c: Rebuild.
116 * target.c (update_current_target): Don't inherit or default
117 to_watchpoint_addr_within_range.
118 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
119 Use TARGET_DEFAULT_FUNC.
120
1212014-02-19 Tom Tromey <tromey@redhat.com>
122
123 * target-delegates.c: Rebuild.
124 * target.c (update_current_target): Don't inherit or default
125 to_remove_watchpoint.
126 * target.h (struct target_ops) <to_remove_watchpoint>: Use
127 TARGET_DEFAULT_NORETURN.
128
1292014-02-19 Tom Tromey <tromey@redhat.com>
130
131 * target-delegates.c: Rebuild.
132 * target.c (update_current_target): Don't inherit or default
133 to_insert_watchpoint.
134 * target.h (struct target_ops) <to_insert_watchpoint>: Use
135 TARGET_DEFAULT_RETURN.
136
1372014-02-19 Tom Tromey <tromey@redhat.com>
138
139 * target-delegates.c: Rebuild.
140 * target.c (update_current_target): Don't inherit or default
141 to_remove_hw_breakpoint.
142 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
143 TARGET_DEFAULT_RETURN.
144
1452014-02-19 Tom Tromey <tromey@redhat.com>
146
147 * target-delegates.c: Rebuild.
148 * target.c (update_current_target): Don't inherit or default
149 to_insert_hw_breakpoint.
150 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
151 TARGET_DEFAULT_RETURN.
152
1532014-02-19 Tom Tromey <tromey@redhat.com>
154
155 * target-delegates.c: Rebuild.
156 * target.c (update_current_target): Don't inherit or default
157 to_can_use_hw_breakpoint.
158 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
159 TARGET_DEFAULT_RETURN.
160
1612014-02-19 Tom Tromey <tromey@redhat.com>
162
163 * target-delegates.c: Rebuild.
164 * target.c (update_current_target): Don't inherit or default
165 to_files_info.
166 * target.h (struct target_ops) <to_files_info>: Use
167 TARGET_DEFAULT_IGNORE.
168
1692014-02-19 Tom Tromey <tromey@redhat.com>
170
171 * target-delegates.c: Rebuild.
172 * target.c (update_current_target): Don't inherit or default
173 to_store.
174 * target.h (struct target_ops) <to_store>: Use
175 TARGET_DEFAULT_NORETURN.
176
1772014-02-19 Tom Tromey <tromey@redhat.com>
178
179 * target-delegates.c: Rebuild.
180 * target.c (update_current_target): Don't inherit or default
181 to_post_attach.
182 * target.h (struct target_ops) <to_post_attach>: Use
183 TARGET_DEFAULT_IGNORE.
184
1852014-02-19 Tom Tromey <tromey@redhat.com>
186
187 * target-delegates.c: Rebuild.
188 * target.c (update_current_target): Don't inherit or default
189 to_rcmd.
190 (default_rcmd): New function.
191 (do_monitor_command): Unconditionally delegate.
192 * target.h (struct target_ops) <to_rmcd>: Use
193 TARGET_DEFAULT_FUNC.
194
1952014-02-19 Tom Tromey <tromey@redhat.com>
196
197 * target-delegates.c: Rebuild.
198 * target.c (init_dummy_target): Don't initialize to_attach.
199 (target_attach): Unconditionally delegate.
200 * target.h (struct target_ops) <to_attach>: Use
201 TARGET_DEFAULT_FUNC.
202
2032014-02-19 Tom Tromey <tromey@redhat.com>
204
205 * target-delegates.c: Rebuild.
206 * target.c (target_detach): Unconditionally delegate.
207 (init_dummy_target): Don't initialize to_detach.
208 * target.h (struct target_ops) <to_detach>: Use
209 TARGET_DEFAULT_IGNORE.
210
2112014-02-19 Tom Tromey <tromey@redhat.com>
212
213 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
214 Add argument.
215 (target_augmented_libraries_svr4_read): Add argument.
216 * target.c (update_current_target): Update.
217 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
218 argument.
219
2202014-02-19 Tom Tromey <tromey@redhat.com>
221
222 * target.h (struct target_ops) <to_call_history_range>: Add
223 argument.
224 * target.c (target_call_history_range): Add argument.
225 * record-btrace.c (record_btrace_call_history_range): Add 'self'
226 argument.
227 (record_btrace_call_history_from): Update.
228
2292014-02-19 Tom Tromey <tromey@redhat.com>
230
231 * target.h (struct target_ops) <to_call_history_from>: Add
232 argument.
233 * target.c (target_call_history_from): Add argument.
234 * record-btrace.c (record_btrace_call_history_from): Add 'self'
235 argument.
236
2372014-02-19 Tom Tromey <tromey@redhat.com>
238
239 * target.h (struct target_ops) <to_call_history>: Add argument.
240 * target.c (target_call_history): Add argument.
241 * record-btrace.c (record_btrace_call_history): Add 'self'
242 argument.
243
2442014-02-19 Tom Tromey <tromey@redhat.com>
245
246 * target.h (struct target_ops) <to_insn_history_range>: Add
247 argument.
248 * target.c (target_insn_history_range): Add argument.
249 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
250 argument.
251 (record_btrace_insn_history_from): Update.
252
2532014-02-19 Tom Tromey <tromey@redhat.com>
254
255 * target.h (struct target_ops) <to_insn_history_from>: Add
256 argument.
257 * target.c (target_insn_history_from): Add argument.
258 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
259 argument.
260
2612014-02-19 Tom Tromey <tromey@redhat.com>
262
263 * target.h (struct target_ops) <to_insn_history>: Add argument.
264 * target.c (target_insn_history): Add argument.
265 * record-btrace.c (record_btrace_insn_history): Add 'self'
266 argument.
267
2682014-02-19 Tom Tromey <tromey@redhat.com>
269
270 * target.h (struct target_ops) <to_goto_record>: Add argument.
271 * target.c (target_goto_record): Add argument.
272 * record-full.c (record_full_goto): Add 'self' argument.
273 * record-btrace.c (record_btrace_goto): Add 'self' argument.
274
2752014-02-19 Tom Tromey <tromey@redhat.com>
276
277 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
278 * target.c (target_goto_record_end): Add argument.
279 * record-full.c (record_full_goto_end): Add 'self' argument.
280 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
281
2822014-02-19 Tom Tromey <tromey@redhat.com>
283
284 * target.h (struct target_ops) <to_goto_record_begin>: Add
285 argument.
286 * target.c (target_goto_record_begin): Add argument.
287 * record-full.c (record_full_goto_begin): Add 'self' argument.
288 * record-btrace.c (record_btrace_goto_begin): Add 'self'
289 argument.
290
2912014-02-19 Tom Tromey <tromey@redhat.com>
292
293 * target.h (struct target_ops) <to_record_is_replaying>: Add
294 argument.
295 * target.c (target_record_is_replaying): Add argument.
296 * record-full.c (record_full_is_replaying): Add 'self' argument.
297 * record-btrace.c (record_btrace_is_replaying): Add 'self'
298 argument.
299 (record_btrace_xfer_partial, record_btrace_store_registers)
300 (record_btrace_prepare_to_store, record_btrace_resume)
301 (record_btrace_wait, record_btrace_decr_pc_after_break)
302 (record_btrace_find_new_threads, record_btrace_thread_alive):
303 Update.
304
3052014-02-19 Tom Tromey <tromey@redhat.com>
306
307 * target.h (struct target_ops) <to_delete_record>: Add argument.
308 * target.c (target_delete_record): Add argument.
309 * record-full.c (record_full_delete): Add 'self' argument.
310
3112014-02-19 Tom Tromey <tromey@redhat.com>
312
313 * target.h (struct target_ops) <to_save_record>: Add argument.
314 * target.c (target_save_record): Add argument.
315 * record-full.c (record_full_save): Add 'self' argument.
316 (record_full_save): Add 'self' argument.
317
3182014-02-19 Tom Tromey <tromey@redhat.com>
319
320 * target.h (struct target_ops) <to_info_record>: Add argument.
321 * target.c (target_info_record): Add argument.
322 * record.c (info_record_command): Add argument.
323 * record-full.c (record_full_info): Add 'self' argument.
324 * record-btrace.c (record_btrace_info): Add 'self' argument.
325
3262014-02-19 Tom Tromey <tromey@redhat.com>
327
328 * target.h (struct target_ops) <to_stop_recording>: Add argument.
329 * target.c (target_stop_recording): Add argument.
330 * record.c (record_stop): Add argument.
331 * record-btrace.c (record_btrace_stop_recording): Add 'self'
332 argument.
333
3342014-02-19 Tom Tromey <tromey@redhat.com>
335
336 * target.h (struct target_ops) <to_read_btrace>: Add argument.
337 * target.c (struct target_ops) <to_read_btrace>: Add argument.
338 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
339 argument.
340 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
341 (_initialize_amd64_linux_nat): Use it.
342 * i386-linux-nat.c (i386_linux_read_btrace): New function.
343 (_initialize_i386_linux_nat): Use it.
344
3452014-02-19 Tom Tromey <tromey@redhat.com>
346
347 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
348 * target.c (target_teardown_btrace): Add argument.
349 * remote.c (remote_teardown_btrace): Add 'self' argument.
350 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
351 argument.
352 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
353 argument.
354
3552014-02-19 Tom Tromey <tromey@redhat.com>
356
357 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
358 * target.c (target_disable_btrace): Add argument.
359 * remote.c (remote_disable_btrace): Add 'self' argument.
360 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
361 argument.
362 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
363 argument.
364
3652014-02-19 Tom Tromey <tromey@redhat.com>
366
367 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
368 * target.c (target_enable_btrace): Add argument.
369 * remote.c (remote_enable_btrace): Add 'self' argument.
370 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
371 argument.
372 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
373 argument.
374
3752014-02-19 Tom Tromey <tromey@redhat.com>
376
377 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
378 (target_can_use_agent): Add argument.
379 * target.c (update_current_target): Update.
380 * remote.c (remote_can_use_agent): Add 'self' argument.
381 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
382
3832014-02-19 Tom Tromey <tromey@redhat.com>
384
385 * target.h (struct target_ops) <to_use_agent>: Add argument.
386 (target_use_agent): Add argument.
387 * target.c (update_current_target): Update.
388 * remote.c (remote_use_agent): Add 'self' argument.
389 * inf-child.c (inf_child_use_agent): Add 'self' argument.
390
3912014-02-19 Tom Tromey <tromey@redhat.com>
392
393 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
394 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
395 (target_traceframe_info): Add argument.
396 * target.c (update_current_target): Update.
397 * remote.c (remote_traceframe_info): Add 'self' argument.
398 * ctf.c (ctf_traceframe_info): Add 'self' argument.
399
4002014-02-19 Tom Tromey <tromey@redhat.com>
401
402 * target.h (target_static_tracepoint_markers_by_strid): Add
403 argument.
404 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
405 'self' argument.
406 * target.c (update_current_target): Update.
407 * remote.c (struct target_ops)
408 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
409 * linux-nat.c (struct target_ops)
410 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
411
4122014-02-19 Tom Tromey <tromey@redhat.com>
413
414 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
415 Add argument.
416 (target_static_tracepoint_marker_at): Add argument.
417 * target.c (update_current_target): Update.
418 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
419 argument.
420
4212014-02-19 Tom Tromey <tromey@redhat.com>
422
423 * target.h (struct target_ops) <to_set_permissions>: Add argument.
424 (target_set_permissions): Add argument.
425 * target.c (update_current_target): Update.
426 * remote.c (remote_set_permissions): Add 'self' argument.
427 (remote_start_remote): Update.
428
4292014-02-19 Tom Tromey <tromey@redhat.com>
430
431 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
432 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
433 (target_get_tib_address): Add argument.
434 * target.c (update_current_target): Update.
435 * remote.c (remote_get_tib_address): Add 'self' argument.
436
4372014-02-19 Tom Tromey <tromey@redhat.com>
438
439 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
440 (target_set_trace_notes): Add argument.
441 * target.c (update_current_target): Update.
442 * remote.c (remote_set_trace_notes): Add 'self' argument.
443
4442014-02-19 Tom Tromey <tromey@redhat.com>
445
446 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
447 argument.
448 (target_set_trace_buffer_size): Add argument.
449 * target.c (update_current_target): Update.
450 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
451
4522014-02-19 Tom Tromey <tromey@redhat.com>
453
454 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
455 argument.
456 (target_set_circular_trace_buffer): Add argument.
457 * target.c (update_current_target): Update.
458 * remote.c (remote_set_circular_trace_buffer): Add 'self'
459 argument.
460
4612014-02-19 Tom Tromey <tromey@redhat.com>
462
463 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
464 argument.
465 (target_set_disconnected_tracing): Add argument.
466 * target.c (update_current_target): Update.
467 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
468
4692014-02-19 Tom Tromey <tromey@redhat.com>
470
471 * target.h (struct target_ops)
472 <to_get_min_fast_tracepoint_insn_len>: Add argument.
473 (target_get_min_fast_tracepoint_insn_len): Add argument.
474 * target.c (update_current_target): Update.
475 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
476 argument.
477
4782014-02-19 Tom Tromey <tromey@redhat.com>
479
480 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
481 argument.
482 (target_get_raw_trace_data): Add argument.
483 * target.c (update_current_target): Update.
484 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
485
4862014-02-19 Tom Tromey <tromey@redhat.com>
487
488 * target.h (struct target_ops) <to_upload_trace_state_variables>:
489 Add argument.
490 (target_upload_trace_state_variables): Add argument.
491 * target.c (update_current_target): Update.
492 * remote.c (remote_upload_trace_state_variables): Add 'self'
493 argument.
494 (remote_start_remote): Update.
495
4962014-02-19 Tom Tromey <tromey@redhat.com>
497
498 * target.h (struct target_ops) <to_upload_tracepoints>: Add
499 argument.
500 (target_upload_tracepoints): Add argument.
501 * target.c (update_current_target): Update.
502 * remote.c (remote_upload_tracepoints): Add 'self' argument.
503 (remote_start_remote): Update.
504
5052014-02-19 Tom Tromey <tromey@redhat.com>
506
507 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
508 (target_save_trace_data): Add argument.
509 * target.c (update_current_target): Update.
510 * remote.c (remote_save_trace_data): Add 'self' argument.
511
5122014-02-19 Tom Tromey <tromey@redhat.com>
513
514 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
515 argument.
516 * target.h (struct target_ops)
517 <to_get_trace_state_variable_value>: Add argument.
518 (target_get_trace_state_variable_value): Add argument.
519 * target.c (update_current_target): Update.
520 * remote.c (remote_get_trace_state_variable_value): Add 'self'
521 argument.
522 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
523
5242014-02-19 Tom Tromey <tromey@redhat.com>
525
526 * tracepoint.c (tfile_trace_find): Add 'self' argument.
527 * target.h (struct target_ops) <to_trace_find>: Add argument.
528 (target_trace_find): Add argument.
529 * target.c (update_current_target): Update.
530 * remote.c (remote_trace_find): Add 'self' argument.
531 * ctf.c (ctf_trace_find): Add 'self' argument.
532
5332014-02-19 Tom Tromey <tromey@redhat.com>
534
535 * target.h (struct target_ops) <to_trace_stop>: Add argument.
536 (target_trace_stop): Add argument.
537 * target.c (update_current_target): Update.
538 * remote.c (remote_trace_stop): Add 'self' argument.
539
5402014-02-19 Tom Tromey <tromey@redhat.com>
541
542 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
543 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
544 argument.
545 (target_get_tracepoint_status): Add argument.
546 * target.c (update_current_target): Update.
547 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
548
5492014-02-19 Tom Tromey <tromey@redhat.com>
550
551 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
552 * target.h (struct target_ops) <to_get_trace_status>: Add
553 argument.
554 (target_get_trace_status): Add argument.
555 * target.c (update_current_target): Update.
556 * remote.c (remote_get_trace_status): Add 'self' argument.
557 (remote_start_remote, remote_can_download_tracepoint): Update.
558 * ctf.c (ctf_get_trace_status): Add 'self' argument.
559
5602014-02-19 Tom Tromey <tromey@redhat.com>
561
562 * target.h (struct target_ops) <to_trace_start>: Add argument.
563 (target_trace_start): Add argument.
564 * target.c (update_current_target): Update.
565 * remote.c (remote_trace_start): Add 'self' argument.
566
5672014-02-19 Tom Tromey <tromey@redhat.com>
568
569 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
570 Add argument.
571 (target_trace_set_readonly_regions): Add argument.
572 * target.c (update_current_target): Update.
573 * remote.c (remote_trace_set_readonly_regions): Add 'self'
574 argument.
575
5762014-02-19 Tom Tromey <tromey@redhat.com>
577
578 * target.h (struct target_ops) <to_disable_tracepoint>: Add
579 argument.
580 (target_disable_tracepoint): Add argument.
581 * target.c (update_current_target): Update.
582 * remote.c (remote_disable_tracepoint): Add 'self' argument.
583
5842014-02-19 Tom Tromey <tromey@redhat.com>
585
586 * target.h (struct target_ops) <to_enable_tracepoint>: Add
587 argument.
588 (target_enable_tracepoint): Add argument.
589 * target.c (update_current_target): Update.
590 * remote.c (remote_enable_tracepoint): Add 'self' argument.
591
5922014-02-19 Tom Tromey <tromey@redhat.com>
593
594 * target.h (struct target_ops) <to_download_trace_state_variable>:
595 Add argument.
596 (target_download_trace_state_variable): Add argument.
597 * target.c (update_current_target): Update.
598 * remote.c (remote_download_trace_state_variable): Add 'self'
599 argument.
600
6012014-02-19 Tom Tromey <tromey@redhat.com>
602
603 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
604 argument.
605 (target_can_download_tracepoint): Add argument.
606 * target.c (update_current_target): Update.
607 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
608
6092014-02-19 Tom Tromey <tromey@redhat.com>
610
611 * target.h (struct target_ops) <to_download_tracepoint>: Add
612 argument.
613 (target_download_tracepoint): Add argument.
614 * target.c (update_current_target): Update.
615 * remote.c (remote_download_tracepoint): Add 'self' argument.
616
6172014-02-19 Tom Tromey <tromey@redhat.com>
618
619 * target.h (struct target_ops) <to_trace_init>: Add argument.
620 (target_trace_init): Add argument.
621 * target.c (update_current_target): Update.
622 * remote.c (remote_trace_init): Add 'self' argument.
623
6242014-02-19 Tom Tromey <tromey@redhat.com>
625
626 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
627 * target.c (target_fileio_readlink): Add argument.
628 * remote.c (remote_hostio_readlink): Add 'self' argument.
629 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
630
6312014-02-19 Tom Tromey <tromey@redhat.com>
632
633 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
634 * target.c (target_fileio_unlink): Add argument.
635 * remote.c (remote_hostio_unlink): Add 'self' argument.
636 (remote_file_delete): Update.
637 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
638
6392014-02-19 Tom Tromey <tromey@redhat.com>
640
641 * target.h (struct target_ops) <to_fileio_close>: Add argument.
642 * target.c (target_fileio_close): Add argument.
643 * remote.c (remote_hostio_close): Add 'self' argument.
644 (remote_hostio_close_cleanup): Update.
645 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
646 Update.
647 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
648
6492014-02-19 Tom Tromey <tromey@redhat.com>
650
651 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
652 * target.c (target_fileio_pread): Add argument.
653 * remote.c (remote_hostio_pread): Add 'self' argument.
654 (remote_bfd_iovec_pread, remote_file_get): Update.
655 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
656
6572014-02-19 Tom Tromey <tromey@redhat.com>
658
659 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
660 * target.c (target_fileio_pwrite): Add argument.
661 * remote.c (remote_hostio_pwrite): Add 'self' argument.
662 (remote_file_put): Update.
663 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
664
6652014-02-19 Tom Tromey <tromey@redhat.com>
666
667 * target.h (struct target_ops) <to_fileio_open>: Add argument.
668 * target.c (target_fileio_open): Add argument.
669 * remote.c (remote_hostio_open): Add 'self' argument.
670 (remote_bfd_iovec_open): Add 'self' argument.
671 (remote_file_put): Add 'self' argument.
672 (remote_file_get): Add 'self' argument.
673 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
674
6752014-02-19 Tom Tromey <tromey@redhat.com>
676
677 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
678 Add argument.
679 (target_can_run_breakpoint_commands): Add argument.
680 * target.c (update_current_target): Update.
681 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
682 argument.
683 (remote_insert_breakpoint): Add 'self' argument.
684 (remote_insert_hw_breakpoint): Add 'self' argument.
685 (remote_can_run_breakpoint_commands): Add 'self' argument.
686
6872014-02-19 Tom Tromey <tromey@redhat.com>
688
689 * target.h (struct target_ops)
690 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
691 (target_supports_evaluation_of_breakpoint_conditions): Add
692 argument.
693 * target.c (update_current_target): Update.
694 * remote.c (remote_supports_cond_breakpoints): Add 'self'
695 argument.
696 (remote_insert_breakpoint): Add 'self' argument.
697 (remote_insert_hw_breakpoint): Add 'self' argument.
698 (remote_supports_cond_breakpoints): Add 'self' argument.
699
7002014-02-19 Tom Tromey <tromey@redhat.com>
701
702 * target.h (struct target_ops) <to_supports_string_tracing>: Add
703 argument.
704 (target_supports_string_tracing): Add argument.
705 * target.c (update_current_target): Update.
706 * remote.c (remote_supports_string_tracing): Add 'self' argument.
707
7082014-02-19 Tom Tromey <tromey@redhat.com>
709
710 * target.h (struct target_ops)
711 <to_supports_disable_randomization>: Add argument.
712 * target.c (find_default_supports_disable_randomization): Add
713 argument.
714 (target_supports_disable_randomization): Add argument.
715 (find_default_supports_disable_randomization): Add 'self'
716 argument.
717 * remote.c (extended_remote_supports_disable_randomization): Add
718 'self' argument.
719 (remote_supports_disable_randomization): Add 'self' argument.
720 (extended_remote_create_inferior): Update.
721 * linux-nat.c (linux_nat_supports_disable_randomization): Add
722 'self' argument.
723
7242014-02-19 Tom Tromey <tromey@redhat.com>
725
726 * target.h (struct target_ops)
727 <to_supports_enable_disable_tracepoint>: Add argument.
728 (target_supports_enable_disable_tracepoint): Add argument.
729 * target.c (update_current_target): Update.
730 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
731 argument.
732
7332014-02-19 Tom Tromey <tromey@redhat.com>
734
735 * target.h (struct target_ops) <to_supports_multi_process>: Add
736 argument.
737 (target_supports_multi_process): Add argument.
738 * target.c (update_current_target): Update.
739 * remote.c (remote_supports_multi_process): Add 'self' argument.
740 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
741 argument.
742 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
743 argument.
744
7452014-02-19 Tom Tromey <tromey@redhat.com>
746
747 * target.h (struct target_ops) <to_execution_direction>: Add
748 argument.
749 (target_execution_direction): Add argument.
750 * target.c (default_execution_direction): Add 'self' argument.
751 * record-full.c (record_full_execution_direction): Add 'self'
752 argument.
753
7542014-02-19 Tom Tromey <tromey@redhat.com>
755
756 * target.h (struct target_ops) <to_can_execute_reverse>: Add
757 argument.
758 (target_can_execute_reverse): Add argument.
759 * remote.c (remote_can_execute_reverse): Add 'self' argument.
760 * record-full.c (record_full_can_execute_reverse): Add 'self'
761 argument.
762 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
763 argument.
764
7652014-02-19 Tom Tromey <tromey@redhat.com>
766
767 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
768 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
769 argument.
770 (target_get_ada_task_ptid): Add argument.
771 * target.c (update_current_target): Update.
772 (default_get_ada_task_ptid): Add 'self' argument.
773 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
774 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
775 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
776 argument.
777 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
778 argument.
779 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
780 argument.
781 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
782 argument.
783 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
784 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
785 argument.
786
7872014-02-19 Tom Tromey <tromey@redhat.com>
788
789 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
790 (target_goto_bookmark): Add argument.
791 * target.c (dummy_goto_bookmark): Add 'self' argument.
792 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
793
7942014-02-19 Tom Tromey <tromey@redhat.com>
795
796 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
797 (target_get_bookmark): Add argument.
798 * target.c (dummy_get_bookmark): Add 'self' argument.
799 * record-full.c (record_full_get_bookmark): Add 'self' argument.
800
8012014-02-19 Tom Tromey <tromey@redhat.com>
802
803 * target.h (struct target_ops) <to_make_corefile_notes>: Add
804 argument.
805 (target_make_corefile_notes): Add argument.
806 * target.c (dummy_make_corefile_notes): Add 'self' argument.
807 * procfs.c (procfs_make_note_section): Add 'self' argument.
808 (procfs_make_note_section): Add 'self' argument.
809 (procfs_make_note_section): Add 'self' argument.
810 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
811 argument.
812 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
813 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
814 * exec.c (exec_make_note_section): Add 'self' argument.
815 (exec_make_note_section): Add 'self' argument.
816
8172014-02-19 Tom Tromey <tromey@redhat.com>
818
819 * target.h (struct target_ops) <to_find_memory_regions>: Add
820 argument.
821 (target_find_memory_regions): Add argument.
822 * target.c (dummy_find_memory_regions): Add 'self' argument.
823 * procfs.c (proc_find_memory_regions): Add 'self' argument.
824 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
825 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
826 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
827 * exec. (exec_do_find_memory_regions): New global.
828 (exec_set_find_memory_regions): Rewrite.
829 (exec_find_memory_regions): New function.
830 (init_exec_ops): Use exec_find_memory_regions.
831
8322014-02-19 Tom Tromey <tromey@redhat.com>
833
834 * target.h (struct target_ops) <to_supports_non_stop>: Add
835 argument.
836 * target.c (find_default_supports_non_stop): Add argument.
837 (target_supports_non_stop): Add argument.
838 (find_default_supports_non_stop): Add 'self' argument.
839 * remote.c (remote_supports_non_stop): Add 'self' argument.
840 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
841
8422014-02-19 Tom Tromey <tromey@redhat.com>
843
844 * target.h (struct target_ops) <to_log_command>: Add argument.
845 (target_log_command): Add argument.
846 * serial.h (serial_log_command): Add 'self' argument.
847 * serial.c (serial_log_command): Add 'self' argument.
848
8492014-02-19 Tom Tromey <tromey@redhat.com>
850
851 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
852 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
853 argument.
854 (target_pid_to_exec_file): Add argument.
855 * target.c (debug_to_pid_to_exec_file): Add argument.
856 (update_current_target): Update.
857 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
858 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
859 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
860 (linux_handle_extended_wait): Update.
861 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
862 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
863 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
864 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
865
8662014-02-19 Tom Tromey <tromey@redhat.com>
867
868 * target.h (struct target_ops) <to_rcmd>: Add argument.
869 (target_rcmd): Add argument.
870 * target.c (debug_to_rcmd): Add argument.
871 (update_current_target, do_monitor_command): Update.
872 * remote.c (remote_rcmd): Add 'self' argument.
873 * monitor.c (monitor_rcmd): Add 'self' argument.
874
8752014-02-19 Tom Tromey <tromey@redhat.com>
876
877 * windows-nat.c (windows_stop): Add 'self' argument.
878 * target.h (struct target_ops) <to_stop>: Add argument.
879 * target.c (target_stop): Add argument.
880 (debug_to_stop): Add argument.
881 (update_current_target): Update.
882 * remote.c (remote_stop): Add 'self' argument.
883 * remote-sim.c (gdbsim_stop): Add 'self' argument.
884 (gdbsim_cntrl_c): Update.
885 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
886 * procfs.c (procfs_stop): Add 'self' argument.
887 * nto-procfs.c (procfs_stop): Add 'self' argument.
888 * monitor.c (monitor_stop): Add 'self' argument.
889 (monitor_open): Update.
890 * linux-nat.c (linux_nat_stop): Add argument.
891 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
892 * gnu-nat.c (gnu_stop): Add 'self' argument.
893 * darwin-nat.c (darwin_stop): Add 'self' argument.
894
8952014-02-19 Tom Tromey <tromey@redhat.com>
896
897 * target.h (struct target_ops) <to_thread_name>: Add argument.
898 * target.c (target_thread_name): Add argument.
899 (update_current_target): Update.
900 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
901
9022014-02-19 Tom Tromey <tromey@redhat.com>
903
904 * target.h (struct target_ops) <to_extra_thread_info>: Add
905 argument.
906 (target_extra_thread_info): Add argument.
907 * target.c (update_current_target): Update.
908 * remote.c (remote_threads_extra_info): Add 'self' argument.
909 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
910 argument.
911 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
912 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
913 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
914 argument.
915 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
916 argument.
917 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
918 argument.
919 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
920 argument.
921
9222014-02-19 Tom Tromey <tromey@redhat.com>
923
924 * target.h (struct target_ops) <to_program_signals>: Add argument.
925 * target.c (target_program_signals): Add argument.
926 * remote.c (remote_program_signals): Add 'self' argument.
927
9282014-02-19 Tom Tromey <tromey@redhat.com>
929
930 * target.h (struct target_ops) <to_pass_signals>: Add argument.
931 * target.c (target_pass_signals): Add argument.
932 * remote.c (remote_pass_signals): Add 'self' argument.
933 (remote_start_remote): Update.
934 * procfs.c (procfs_pass_signals): Add 'self' argument.
935 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
936 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
937 (linux_nat_create_inferior, linux_nat_attach): Update.
938
9392014-02-19 Tom Tromey <tromey@redhat.com>
940
941 * windows-nat.c (windows_can_run): Add 'self' argument.
942 * target.h (struct target_ops) <to_can_run>: Add argument.
943 (target_can_run): Add argument.
944 * target.c (debug_to_can_run): Add argument.
945 (update_current_target): Update.
946 * nto-procfs.c (procfs_can_run): Add 'self' argument.
947 * inf-child.c (inf_child_can_run): Add 'self' argument.
948 * go32-nat.c (go32_can_run): Add 'self' argument.
949
9502014-02-19 Tom Tromey <tromey@redhat.com>
951
952 * target.h (struct target_ops) <to_has_exited>: Add argument.
953 (target_has_exited): Add argument.
954 * target.c (debug_to_has_exited): Add argument.
955 (update_current_target): Update.
956
9572014-02-19 Tom Tromey <tromey@redhat.com>
958
959 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
960 argument.
961 (target_set_syscall_catchpoint): Add argument.
962 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
963 argument.
964 * target.c (update_current_target): Update.
965
9662014-02-19 Tom Tromey <tromey@redhat.com>
967
968 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
969 argument.
970 (target_remove_exec_catchpoint): Add argument.
971 * target.c (debug_to_remove_exec_catchpoint): Add argument.
972 (update_current_target): Update.
973 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
974 argument.
975
9762014-02-19 Tom Tromey <tromey@redhat.com>
977
978 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
979 argument.
980 (target_insert_exec_catchpoint): Add argument.
981 * target.c (debug_to_insert_exec_catchpoint): Add argument.
982 (update_current_target): Update.
983 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
984 argument.
985
9862014-02-19 Tom Tromey <tromey@redhat.com>
987
988 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
989 argument.
990 (target_remove_vfork_catchpoint): Add argument.
991 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
992 (update_current_target): Update.
993 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
994 argument.
995
9962014-02-19 Tom Tromey <tromey@redhat.com>
997
998 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
999 argument.
1000 (target_insert_vfork_catchpoint): Add argument.
1001 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1002 (update_current_target): Update.
1003 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1004 argument.
1005
10062014-02-19 Tom Tromey <tromey@redhat.com>
1007
1008 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1009 argument.
1010 (target_remove_fork_catchpoint): Add argument.
1011 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1012 (update_current_target): Update.
1013 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1014 argument.
1015
10162014-02-19 Tom Tromey <tromey@redhat.com>
1017
1018 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1019 argument.
1020 (target_insert_fork_catchpoint): Add argument.
1021 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1022 (update_current_target): Update.
1023 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1024 argument.
1025
10262014-02-19 Tom Tromey <tromey@redhat.com>
1027
1028 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1029 argument.
1030 (target_post_startup_inferior): Add argument.
1031 * target.c (debug_to_post_startup_inferior): Add argument.
1032 (update_current_target): Update.
1033 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1034 argument.
1035 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1036 argument.
1037 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1038 argument.
1039 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1040 argument.
1041 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1042 'self' argument.
1043 (super_post_startup_inferior): Likewise.
1044 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1045 'self' argument.
1046 (super_post_startup_inferior): Likewise.
1047 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1048 Add 'self' argument.
1049 (super_post_startup_inferior): Likewise.
1050
10512014-02-19 Tom Tromey <tromey@redhat.com>
1052
1053 * target.h (struct target_ops) <to_load>: Add argument.
1054 * target.c (target_load): Add argument.
1055 (debug_to_load): Add argument.
1056 (update_current_target): Update.
1057 * remote.c (remote_load): Add 'self' argument.
1058 * remote-sim.c (gdbsim_load): Add 'self' argument.
1059 * remote-mips.c (mips_load): Add 'self' argument.
1060 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1061 * monitor.c (monitor_load): Add 'self' argument.
1062 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1063
10642014-02-19 Tom Tromey <tromey@redhat.com>
1065
1066 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1067 (target_terminal_info): Add argument.
1068 * target.c (debug_to_terminal_info): Add argument.
1069 (default_terminal_info): Likewise.
1070 * inflow.c (child_terminal_info): Add 'self' argument.
1071 * inferior.h (child_terminal_info): Add 'self' argument.
1072 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1073
10742014-02-19 Tom Tromey <tromey@redhat.com>
1075
1076 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1077 argument.
1078 (target_terminal_save_ours): Add argument.
1079 * target.c (debug_to_terminal_save_ours): Add argument.
1080 (update_current_target): Update.
1081 * inflow.c (terminal_save_ours): Add 'self' argument.
1082 * inferior.h (terminal_save_ours): Add 'self' argument.
1083
10842014-02-19 Tom Tromey <tromey@redhat.com>
1085
1086 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1087 (target_terminal_ours): Add argument.
1088 * target.c (debug_to_terminal_ours): Add argument.
1089 (update_current_target): Update.
1090 * remote.c (remote_terminal_ours): Add 'self' argument.
1091 (remote_close): Update.
1092 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1093 * inflow.c (terminal_ours): Add 'self' argument.
1094 * inferior.h (terminal_ours): Add 'self' argument.
1095 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1096
10972014-02-19 Pedro Alves <palves@redhat.com>
1098 Tom Tromey <tromey@redhat.com>
1099
1100 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1101 argument.
1102 (target_terminal_ours_for_output): Add argument.
1103 * target.c (debug_to_terminal_ours_for_output): Add argument.
1104 (update_current_target): Update.
1105 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1106 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1107 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1108
11092014-02-19 Tom Tromey <tromey@redhat.com>
1110
1111 * target.h (struct target_ops) <to_terminal_inferior>: Add
1112 argument.
1113 * target.c (target_terminal_inferior): Add argument.
1114 (update_current_target): Update.
1115 * remote.c (remote_terminal_inferior): Add 'self' argument.
1116 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1117 * inflow.c (terminal_inferior): Add 'self' argument.
1118 * inferior.h (terminal_inferior): Add 'self' argument.
1119 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1120 (go32_terminal_inferior): Add 'self' argument.
1121
11222014-02-19 Tom Tromey <tromey@redhat.com>
1123
1124 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1125 (target_terminal_init): Add argument.
1126 * target.c (debug_to_terminal_init): Add argument.
1127 (update_current_target): Update.
1128 * inflow.c (terminal_init_inferior): Add 'self' argument.
1129 * inferior.h (terminal_init_inferior): Add 'self' argument.
1130 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1131 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1132
11332014-02-19 Tom Tromey <tromey@redhat.com>
1134
1135 * target.h (struct target_ops)
1136 <to_can_accel_watchpoint_condition>: Add argument.
1137 (target_can_accel_watchpoint_condition): Add argument.
1138 * target.c (debug_to_can_accel_watchpoint_condition): Add
1139 argument.
1140 (update_current_target): Update.
1141 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1142 'self' argument.
1143
11442014-02-19 Tom Tromey <tromey@redhat.com>
1145
1146 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1147 Add argument.
1148 (target_region_ok_for_hw_watchpoint): Add argument.
1149 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1150 (default_region_ok_for_hw_watchpoint): Add argument.
1151 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1152 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1153 argument.
1154 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1155 argument.
1156 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1157 argument.
1158 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1159 'self' argument.
1160 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1161 'self' argument.
1162 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1163 'self' argument.
1164 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1165 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1166 'self' argument.
1167 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1168 Add 'self' argument.
1169
11702014-02-19 Tom Tromey <tromey@redhat.com>
1171
1172 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1173 argument.
1174 (target_insert_watchpoint): Add argument.
1175 * target.c (debug_to_insert_watchpoint): Add argument.
1176 (update_current_target): Update.
1177 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1178 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1179 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1180 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1181 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1182 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1183 argument.
1184 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1185 (procfs_insert_hw_watchpoint): Add 'self' argument.
1186 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1187 argument.
1188 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1189 argument.
1190 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1191 argument.
1192 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1193 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1194 argument.
1195 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1196 'self' argument.
1197
11982014-02-19 Tom Tromey <tromey@redhat.com>
1199
1200 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1201 argument.
1202 (target_remove_watchpoint): Add argument.
1203 * target.c (debug_to_remove_watchpoint): Add argument.
1204 (update_current_target): Update.
1205 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1206 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1207 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1208 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1209 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1210 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1211 argument.
1212 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1213 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1214 argument.
1215 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1216 argument.
1217 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1218 argument.
1219 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1220 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1221 argument.
1222 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1223 'self' argument.
1224
12252014-02-19 Tom Tromey <tromey@redhat.com>
1226
1227 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1228 argument.
1229 (target_remove_hw_breakpoint): Add argument.
1230 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1231 (update_current_target): Update.
1232 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1233 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1234 argument.
1235 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1236 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1237 argument.
1238 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1239 'self' argument.
1240
12412014-02-19 Tom Tromey <tromey@redhat.com>
1242
1243 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1244 argument.
1245 (target_insert_hw_breakpoint): Add argument.
1246 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1247 (update_current_target): Update.
1248 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1249 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1250 argument.
1251 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1252 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1253 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1254 argument.
1255 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1256 'self' argument.
1257
12582014-02-19 Tom Tromey <tromey@redhat.com>
1259
1260 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1261 argument.
1262 (target_can_use_hardware_watchpoint): Add argument.
1263 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1264 (update_current_target): Update.
1265 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1266 argument.
1267 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1268 argument.
1269 * remote.c (remote_check_watch_resources): Add 'self' argument.
1270 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1271 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1272 argument.
1273 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1274 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1275 argument.
1276 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1277 argument.
1278 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1279 argument.
1280 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1281 argument.
1282 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1283 argument.
1284 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1285 argument.
1286 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1287 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1288 argument.
1289 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1290 'self' argument.
1291
12922014-02-19 Tom Tromey <tromey@redhat.com>
1293
1294 * target.h (struct target_ops) <to_post_attach>: Add argument.
1295 (target_post_attach): Add argument.
1296 * target.c (debug_to_post_attach): Add argument.
1297 (update_current_target): Update.
1298 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1299 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1300 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1301 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1302 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1303
13042014-02-19 Tom Tromey <tromey@redhat.com>
1305
1306 * windows-nat.c (windows_close): Add 'self' argument.
1307 * tracepoint.c (tfile_close): Add 'self' argument.
1308 * target.h (struct target_ops) <to_close>: Add argument.
1309 * target.c (target_close): Add argument.
1310 (update_current_target): Update.
1311 * remote.c (remote_close): Add 'self' argument.
1312 * remote-sim.c (gdbsim_close): Add 'self' argument.
1313 * remote-mips.c (mips_close): Add 'self' argument.
1314 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1315 * record-full.c (record_full_close): Add 'self' argument.
1316 * record-btrace.c (record_btrace_close): Add 'self' argument.
1317 * monitor.h (monitor_close): Add 'self' argument.
1318 * monitor.c (monitor_close): Add 'self' argument.
1319 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1320 * linux-nat.c (linux_nat_close): Add argument.
1321 * go32-nat.c (go32_close): Add 'self' argument.
1322 * exec.c (exec_close_1): Add 'self' argument.
1323 * ctf.c (ctf_close): Add 'self' argument.
1324 * corelow.c (core_close): Add 'self' argument.
1325 (core_close_cleanup): Update.
1326 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1327 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1328
13292014-02-19 Tom Tromey <tromey@redhat.com>
1330
1331 * remote.c (remote_load): New function.
1332 (init_remote_ops): Use it.
1333
13342014-02-19 Tom Tromey <tromey@redhat.com>
1335
1336 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1337 argument.
1338 * common/linux-btrace.h (linux_supports_btrace): Update.
1339 * remote.c (remote_supports_btrace): Add "self" argument.
1340 * target-delegates.c: Rebuild.
1341 * target.c (target_supports_btrace): Remove.
1342 * target.h (struct target_ops) <to_supports_btrace>: Add
1343 target_ops argument.
1344 (target_supports_btrace): New define.
1345
13462014-02-19 Tom Tromey <tromey@redhat.com>
1347
1348 * record-full.c (record_full_beneath_to_resume_ops)
1349 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1350 (record_full_beneath_to_wait)
1351 (record_full_beneath_to_store_registers_ops)
1352 (record_full_beneath_to_store_registers)
1353 (record_full_beneath_to_xfer_partial_ops)
1354 (record_full_beneath_to_xfer_partial)
1355 (record_full_beneath_to_insert_breakpoint_ops)
1356 (record_full_beneath_to_insert_breakpoint)
1357 (record_full_beneath_to_remove_breakpoint_ops)
1358 (record_full_beneath_to_remove_breakpoint)
1359 (record_full_beneath_to_stopped_by_watchpoint)
1360 (record_full_beneath_to_stopped_data_address)
1361 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1362 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1363 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1364 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1365 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1366 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1367 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1368 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1369 (record_full_resume, record_full_wait_1)
1370 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1371 (record_full_store_registers, record_full_xfer_partial)
1372 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1373 (record_full_async, record_full_core_xfer_partial): Use target
1374 delegation.
1375 * target-delegates.c: Rebuild.
1376 * target.c (current_xfer_partial): Remove.
1377 (update_current_target): Do not INHERIT or de_fault
1378 to_insert_breakpoint, to_remove_breakpoint,
1379 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1380 to_is_async_p, to_async. Do not set to_xfer_partial field.
1381 (default_xfer_partial): Simplify.
1382 (current_xfer_partial): Remove.
1383 (target_wait, target_resume): Simplify.
1384 (find_default_can_async_p, find_default_is_async_p): Update.
1385 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1386 to_xfer_partial, to_stopped_by_watchpoint,
1387 to_stopped_data_address.
1388 (target_store_registers): Simplify.
1389 (forward_target_remove_breakpoint)
1390 (forward_target_insert_breakpoint): Remove.
1391 (target_remove_breakpoint, target_insert_breakpoint)
1392 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1393 * target.h (struct target_ops) <to_resume, to_wait,
1394 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1395 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1396 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1397 markup.
1398 (forward_target_remove_breakpoint)
1399 (forward_target_insert_breakpoint): Remove.
1400 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1401 directly.
1402 (record_btrace_insert_breakpoint): Delegate directly.
1403
14042014-02-19 Tom Tromey <tromey@redhat.com>
1405
1406 PR build/7701:
1407 * target-delegates.c: New file.
1408 * target.c: Include target-delegates.c.
1409 (init_dummy_target): Call install_dummy_methods.
1410 (complete_target_initialization): Call install_delegators.
1411 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1412 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1413 * make-target-delegates: New file.
1414
14152014-02-19 Tom Tromey <tromey@redhat.com>
1416
1417 * record.c (find_record_target): Use find_target_at.
1418 * target.c (find_target_at): New function.
1419 * target.h (find_target_at): Declare.
1420
14212014-02-19 Tom Tromey <tromey@redhat.com>
1422
1423 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1424 Add 'ops' argument.
1425 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1426 'ops' argument.
1427 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1428 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1429 'ops' argument.
1430 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1431 argument.
1432 * linux-nat.c (save_sigtrap): Update.
1433 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1434 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1435 (linux_nat_close): Update.
1436 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1437 argument.
1438 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1439 argument.
1440 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1441 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1442 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1443 (tmp_to_async): Add 'ops' argument.
1444 (record_full_stopped_by_watchpoint, record_full_async)
1445 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1446 argument.
1447 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1448 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1449 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1450 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1451 (remote_is_async_p, remote_async): Add 'ops' argument.
1452 (remote_stopped_data_address): Update.
1453 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1454 * target.c (update_current_target)
1455 (find_default_can_async_p, find_default_is_async_p): Update.
1456 (init_dummy_target): Update.
1457 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1458 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1459 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1460 (target_can_async_p, target_is_async_p, target_async)
1461 (target_stopped_by_watchpoint): Update.
1462
14632014-02-19 Yao Qi <yao@codesourcery.com>
1464
1465 PR gdb/16220
1466 * gdbarch.sh: Remove startup_gdbarch.
1467 * gdbarch.c: Regenerated.
1468 * gdbarch.h: Likewise.
1469
14702014-02-17 Kevin Buettner <kevinb@redhat.com>
1471
1472 * rl78-tdep.c (rl78_g10_register_name): New function.
1473 (rl78_return_value): Add g10 support.
1474 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1475 g10.
1476
14772014-02-17 Doug Evans <xdje42@gmail.com>
1478
1479 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1480 (SUBDIR_GUILE_SRCS): Ditto.
1481 (scm-gsmob.o): Ditto.
1482
14832014-02-17 Yao Qi <yao@codesourcery.com>
1484
1485 * gnu-nat.c (ILL_RPC): Declare defined function.
1486
14872014-02-17 Yao Qi <yao@codesourcery.com>
1488
1489 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1490 mach_msg_type_number_t.
1491 (gnu_write_inferior): Likewise.
1492
14932014-02-17 Yao Qi <yao@codesourcery.com>
1494
1495 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1496 in format string.
1497 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1498 (inf_validate_procs, inf_signal): Likewise.
1499 (S_exception_raise_request): Likewise.
1500 (do_mach_notify_dead_name): Likewise.
1501 (steal_exc_port): Likewise.
1502 (gnu_read_inferior): Change 'copy_count''s type to
1503 mach_msg_type_number_t.
1504 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1505 format string.
1506
15072014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1508
1509 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1510 flag. Adjust all users; in particular...
1511 (gnu_wait): ..., don't decrement its value in here...
1512 (gnu_create_inferior): ..., and instead set the flag in here,
1513 around the startup_inferior call, and call that one with
1514 START_INFERIOR_TRAPS_EXPECTED.
1515
1516 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1517 (ILL_RPC): ... new macro.
1518 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1519 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1520 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1521 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1522 functions with ILL_RPC macro.
1523 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1524 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1525 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1526 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1527 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1528 (S_proc_getlogin_reply, S_proc_getsid_reply)
1529 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1530 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1531 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1532 (S_proc_getnports_reply, S_proc_is_important_reply)
1533 (S_proc_get_code_reply): New stub functions, generated with
1534 ILL_RPC macro.
1535
1536 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1537 collected the type check structures.
1538
1539 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1540
15412014-02-14 Doug Evans <dje@google.com>
1542
1543 * target.c (target_write_partial): Fix result type.
1544
15452014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1546
1547 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1548 the proper offsets to access fpregset_t.
1549
15502014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1551
1552 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1553 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1554 * h8300-tdep.c (setmachinelist): Remove global.
1555 * hppa-tdep.c (hppa_sigtramp): Remove global.
1556 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1557 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1558 * ravenscar-thread.c (update_target_observer): Remove global.
1559 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1560
15612014-02-12 Tom Tromey <tromey@redhat.com>
1562
1563 * common/rsp-low.c: Update comments.
1564 * common/rsp-low.h: Update comments.
1565
15662014-02-12 Tom Tromey <tromey@redhat.com>
1567
1568 * common/rsp-low.c (convert_ascii_to_int): Remove.
1569 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1570
15712014-02-12 Tom Tromey <tromey@redhat.com>
1572
1573 * common/rsp-low.h (unhexify): Don't declare.
1574 * common/rsp-low.c (unhexify): Remove.
1575
15762014-02-12 Tom Tromey <tromey@redhat.com>
1577
1578 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1579 * common/rsp-low.c (convert_int_to_ascii): Remove.
1580
15812014-02-12 Tom Tromey <tromey@redhat.com>
1582
1583 * common/rsp-low.h (hexify): Don't declare.
1584 * common/rsp-low.c (hexify): Remove.
1585
15862014-02-12 Tom Tromey <tromey@redhat.com>
1587
1588 * common/rsp-low.c (hexify): Never take strlen of argument.
1589
15902014-02-12 Tom Tromey <tromey@redhat.com>
1591
1592 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1593 * remote.c (extended_remote_run, remote_rcmd)
1594 (remote_download_trace_state_variable, remote_save_trace_data)
1595 (remote_set_trace_notes): Update.
1596 * tracepoint.c (encode_source_string, tfile_write_status)
1597 (tfile_write_uploaded_tsv): Update.
1598
15992014-02-12 Tom Tromey <tromey@redhat.com>
1600
1601 * tracepoint.c: Include rsp-low.h.
1602 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1603 * remote.c: Include rsp-low.h.
1604 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1605 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1606 (remote_unescape_input): Move to common/rsp-low.c.
1607 * common/rsp-low.h: New file.
1608 * common/rsp-low.c: New file.
1609 * Makefile.in (SFILES): Add common/rsp-low.c.
1610 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1611 (COMMON_OBS): Add rsp-low.o.
1612 (rsp-low.o): New target.
1613
16142014-02-12 Tom Tromey <tromey@redhat.com>
1615
1616 * utils.h: Include print-utils.h.
1617 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1618 (int_string, core_addr_to_string, core_addr_to_string_nz)
1619 (hex_string, hex_string_custom): Don't declare.
1620 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1621 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1622 (hex_string_custom, int_string, core_addr_to_string)
1623 (core_addr_to_string_nz, host_address_to_string): Move to
1624 common/print-utils.c.
1625 * common/print-utils.h: New file.
1626 * common/print-utils.c: New file
1627 * Makefile.in (SFILES): Add common/print-utils.c.
1628 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1629 (COMMON_OBS): Add print-utils.o.
1630 (print-utils.o): New target.
1631
16322014-02-12 Tom Tromey <tromey@redhat.com>
1633
1634 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1635
16362014-02-12 Mark Kettenis <kettenis@gnu.org>
1637
1638 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1639
16402014-02-12 Mark Kettenis <kettenis@gnu.org>
1641
1642 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1643 if a PT_IO ptrace request returns sucessfully but indicates that 0
1644 bytes were transferred.
1645
16462014-02-12 Pedro Alves <palves@redhat.com>
1647 Kevin Buettner <kevinb@redhat.com>
1648
1649 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1650 TYPE_INSTANCE_FLAG_CODE_SPACE.
1651
16522014-02-12 Pedro Alves <palves@redhat.com>
1653
1654 * h8300-tdep.c (pseudo_from_raw_register)
1655 (raw_from_pseudo_register): New functions.
1656 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1657 them.
1658
16592014-02-12 Pedro Alves <palves@redhat.com>
1660
1661 * h8300-tdep.c (h8300_register_sim_regno): New function.
1662 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1663 gdbarch_register_sim_regno hook.
1664
16652014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1666
1667 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1668
16692014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1670
1671 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1672
16732014-02-12 Mark Kettenis <kettenis@gnu.org>
1674
1675 * obsd-tdep.h (obsd_init_abi): New prototype.
1676 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1677 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1678 (obsd_init_abi): New functions.
1679 * i386obsd-tdep.c: Include "obsd-tdep.h".
1680 (i386obsd_init_abi): Call obsd_init_abi.
1681 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1682 (amd64obsd_init_abi): Call obsd_init_abi.
1683 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1684 obsd-tdep.c to gdb_target_obs.
1685
16862014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1687
1688 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1689 double float arguments to 16-byte in the argument slots.
1690
16912014-02-11 Doug Evans <xdje42@gmail.com>
1692
1693 * configure.ac: Don't crash if pkg-config is not found and guile
1694 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1695 in guile checks.
1696 * configure: Regenerate.
1697
16982014-02-11 Yao Qi <yao@codesourcery.com>
1699
1700 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1701 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1702 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1703 * gnu-nat.c (gnu_xfer_memory): Likewise.
1704 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1705 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1706 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1707 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1708
17092014-02-11 Yao Qi <yao@codesourcery.com>
1710
1711 * target.h (enum target_xfer_error): Rename to ...
1712 (enum target_xfer_status): ... it. New. All users updated.
1713 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1714 New.
1715 (TARGET_XFER_STATUS_ERROR_P): New macro.
1716 (target_xfer_error_to_string): Remove declaration.
1717 (target_xfer_status_to_string): Declare.
1718 (target_xfer_partial_ftype): Adjust it.
1719 (struct target_ops) <to_xfer_partial>: Return
1720 target_xfer_status. Add argument xfered_len. Update
1721 comments.
1722 * target.c (target_xfer_error_to_string): Rename to ...
1723 (target_xfer_status_to_string): ... it. New. All callers
1724 updated.
1725 (target_read_live_memory): Likewise. Call target_xfer_partial
1726 instead of target_read.
1727 (memory_xfer_live_readonly_partial): Return
1728 target_xfer_status. Add argument xfered_len.
1729 (raw_memory_xfer_partial): Likewise.
1730 (memory_xfer_partial_1): Likewise.
1731 (memory_xfer_partial): Likewise.
1732 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1733 properly. Update debug message.
1734 (default_xfer_partial, current_xfer_partial): Likewise.
1735 (target_write_partial): Likewise.
1736 (target_read_partial): Likewise. All callers updated.
1737 (read_whatever_is_readable): Likewise.
1738 (target_write_with_progress): Likewise.
1739 (target_read_alloc_1): Likewise.
1740
1741 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1742 * auxv.c (procfs_xfer_auxv): Likewise.
1743 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1744 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1745 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1746 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1747 * corefile.c (read_memory): Adjust.
1748 * corelow.c (core_xfer_partial): Likewise.
1749 * ctf.c (ctf_xfer_partial): Likewise.
1750 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1751 updated.
1752 (darwin_xfer_partial): Likewise.
1753 * exec.c (section_table_xfer_memory_partial): Likewise. All
1754 callers updated.
1755 (exec_xfer_partial): Likewise.
1756 * exec.h (section_table_xfer_memory_partial): Update
1757 declaration.
1758 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1759 negative.
1760 (gnu_xfer_partial): Likewise.
1761 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1762 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1763 (ia64_hpux_xfer_solib_got): Likewise.
1764 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1765 type of 'partial_len' to ULONGEST.
1766 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1767 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1768 (linux_nat_xfer_partial): Likewise.
1769 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1770 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1771 * monitor.c (monitor_xfer_memory): Likewise.
1772 (monitor_xfer_partial): Likewise.
1773 * procfs.c (procfs_xfer_partial): Likewise.
1774 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1775 * record-full.c (record_full_xfer_partial): Likewise.
1776 (record_full_core_xfer_partial): Likewise.
1777 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1778 (gdbsim_xfer_partial): Likewise.
1779 * remote.c (remote_write_bytes_aux): Likewise. All callers
1780 updated.
1781 (remote_write_bytes, remote_read_bytes): Likewise. All
1782 callers updated.
1783 (remote_flash_erase): Likewise. All callers updated.
1784 (remote_write_qxfer): Likewise. All callers updated.
1785 (remote_read_qxfer): Likewise. All callers updated.
1786 (remote_xfer_partial): Likewise.
1787 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1788 (rs6000_xfer_shared_libraries): Likewise.
1789 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1790 (sol_thread_xfer_partial): Likewise.
1791 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1792 (sparc_xfer_partial): Likewise.
1793 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1794 updated.
1795 (spu_xfer_partial): Likewise.
1796 * spu-multiarch.c (spu_xfer_partial): Likewise.
1797 * tracepoint.c (tfile_xfer_partial): Likewise.
1798 * windows-nat.c (windows_xfer_memory): Likewise.
1799 (windows_xfer_shared_libraries): Likewise.
1800 (windows_xfer_partial): Likewise.
1801 * valprint.c: Replace 'target_xfer_error' with
1802 'target_xfer_status' in comments.
1803
18042014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1805
1806 Checked in by Joel Brobecker <brobecker@adacore.com>.
1807 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1808
18092014-02-11 Joel Brobecker <brobecker@adacore.com>
1810
1811 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1812 function parameters.
1813
18142014-02-10 Will Newton <will.newton@linaro.org>
1815
1816 * elfread.c (elf_rel_plt_read): Look for a .got section if
1817 looking up .got.plt fails.
1818 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1819 on address passed to elf_gnu_ifunc_record_cache.
1820 (elf_gnu_ifunc_resolve_addr): Likewise.
1821 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1822
18232014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1824
1825 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1826 (X_RETTURN): New macro.
1827 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1828
1829 * sparc64-tdep.c (sparc64_init_abi): Hook
1830 sparc_in_function_epilogue_p.
1831
18322014-02-10 Gary Benson <gbenson@redhat.com>
1833
1834 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1835 Rename name_matcher to symbol_matcher.
1836
18372014-02-10 Gary Benson <gbenson@redhat.com>
1838
1839 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1840 Use expand_symtabs_file_matcher_ftype and
1841 expand_symtabs_symbol_matcher_ftype.
1842
18432014-02-10 Joel Brobecker <brobecker@adacore.com>
1844
1845 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1846 (struct ada_symbol_cache): New.
1847 (ada_free_symbol_cache): Forward declare.
1848 (struct ada_pspace_data): New.
1849 (ada_pspace_data_handle): New static global.
1850 (get_ada_pspace_data, ada_pspace_data_cleanup)
1851 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1852 (cache_space, cache): Delete, now folded inside struct
1853 ada_pspace_data.
1854 (ada_get_symbol_cache): New function.
1855 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1856 implementation.
1857 (_initialize_ada_language): Remove initialization of cache_space.
1858 Move call to observer_attach_inferior_exit up, grouping it
1859 with the other observer registrations inside this function.
1860 Rename command to be more general. Add call to
1861 register_program_space_data_with_cleanup.
1862
18632014-02-10 Joel Brobecker <brobecker@adacore.com>
1864
1865 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1866 ada_new_objfile_observer.
1867 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1868 (_initialize_tasks): Update uses of ada_new_objfile_observer
1869 and ada_tasks_normal_stop_observer.
1870
18712014-02-10 Joel Brobecker <brobecker@adacore.com>
1872
1873 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1874 returned by the 'Length attribute to integer.
1875
18762014-02-10 Joel Brobecker <brobecker@adacore.com>
1877
1878 * ada-lang.c (_initialize_ada_language): Initialize
1879 cache_space obstack.
1880
18812014-02-10 Joel Brobecker <brobecker@adacore.com>
1882
1883 * ada-lang.c (HASH_SIZE): New macro.
1884 (struct cache_entry): New type.
1885 (cache_space, cache): New static globals.
1886 (ada_clear_symbol_cache, find_entry): New functions.
1887 (lookup_cached_symbol, cache_symbol): Implement.
1888 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1889 (_initialize_ada_language): Attach ada_new_objfile_observer
1890 and ada_free_objfile_observer.
1891
18922014-02-10 Joel Brobecker <brobecker@adacore.com>
1893
1894 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1895 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1896 struct block * parameter.
1897 (ada_lookup_symbol_list_worker): Constify local variable "block".
1898 Remove cast which is no longer necessary.
1899
19002014-02-10 Doug Evans <xdje42@gmail.com>
1901
1902 Add Guile as an extension language.
1903 * NEWS: Mention Guile scripting.
1904 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1905 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1906 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1907 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1908 (CLIBS): Add GUILE_LIBS.
1909 (install-guile): New rule.
1910 (guile.o): New rule.
1911 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1912 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1913 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1914 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1915 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1916 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1917 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1918 * configure.ac: New option --with-guile.
1919 * configure: Regenerate.
1920 * config.in: Regenerate.
1921 * auto-load.c: Remove #include "python/python.h". Add #include
1922 "gdb/section-scripts.h".
1923 (source_section_scripts): Handle Guile scripts.
1924 (_initialize_auto_load): Add name of Guile objfile script to
1925 scripts-directory help text.
1926 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1927 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1928 (struct breakpoint): New member scm_bp_object.
1929 * defs.h (enum command_control_type): New value guile_control.
1930 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1931 "extension.h".
1932 (show_user): Update comment.
1933 (_initialize_cli_cmds): Update help text for "show user". Update help
1934 text for max-user-call-depth.
1935 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1936 "extension.h".
1937 (multi_line_command_p): Add guile_control.
1938 (print_command_lines): Handle guile_control.
1939 (execute_control_command, recurse_read_control_structure): Ditto.
1940 (process_next_line): Recognize "guile" commands.
1941 * disasm.c (gdb_disassemble_info): Make non-static.
1942 * disasm.h: #include "dis-asm.h".
1943 (struct gdbarch): Add forward decl.
1944 (gdb_disassemble_info): Declare.
1945 * extension.c: #include "guile/guile.h".
1946 (extension_languages): Add guile.
1947 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1948 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1949 * gdbtypes.c (get_unsigned_type_max): New function.
1950 (get_signed_type_minmax): New function.
1951 * gdbtypes.h (get_unsigned_type_max): Declare.
1952 (get_signed_type_minmax): Declare.
1953 * guile/README: New file.
1954 * guile/guile-internal.h: New file.
1955 * guile/guile.c: New file.
1956 * guile/guile.h: New file.
1957 * guile/scm-arch.c: New file.
1958 * guile/scm-auto-load.c: New file.
1959 * guile/scm-block.c: New file.
1960 * guile/scm-breakpoint.c: New file.
1961 * guile/scm-disasm.c: New file.
1962 * guile/scm-exception.c: New file.
1963 * guile/scm-frame.c: New file.
1964 * guile/scm-gsmob.c: New file.
1965 * guile/scm-iterator.c: New file.
1966 * guile/scm-lazy-string.c: New file.
1967 * guile/scm-math.c: New file.
1968 * guile/scm-objfile.c: New file.
1969 * guile/scm-ports.c: New file.
1970 * guile/scm-pretty-print.c: New file.
1971 * guile/scm-safe-call.c: New file.
1972 * guile/scm-string.c: New file.
1973 * guile/scm-symbol.c: New file.
1974 * guile/scm-symtab.c: New file.
1975 * guile/scm-type.c: New file.
1976 * guile/scm-utils.c: New file.
1977 * guile/scm-value.c: New file.
1978 * guile/lib/gdb.scm: New file.
1979 * guile/lib/gdb/boot.scm: New file.
1980 * guile/lib/gdb/experimental.scm: New file.
1981 * guile/lib/gdb/init.scm: New file.
1982 * guile/lib/gdb/iterator.scm: New file.
1983 * guile/lib/gdb/printing.scm: New file.
1984 * guile/lib/gdb/types.scm: New file.
1985 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1986 (VPATH): Add $(GUILE_SRCDIR).
1987 (GUILE_DIR): New variable.
1988 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1989 (all): Add stamp-guile dependency.
1990 (stamp-guile): New rule.
1991 (clean-guile, install-guile, uninstall-guile): New rules.
1992 (install-only): Add install-guile dependency.
1993 (uninstall): Add uninstall-guile dependency.
1994 (clean): Add clean-guile dependency.
1995
19962014-02-09 Doug Evans <xdje42@gmail.com>
1997
1998 Revert this patch (which I approved, mea culpa).
1999
2000 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2001
2002 * Makefile.in (all-lib): Remove.
2003 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2004
20052014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 Fix Python stack corruption.
2008 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2009 gdb_py_longest.
2010
20112014-02-08 Mark Kettenis <kettenis@gnu.org>
2012
2013 * Makefile.in (all-lib): Remove.
2014 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2015
20162014-02-07 Doug Evans <dje@google.com>
2017
2018 * extension-priv.h (extension_language_script_ops): Add comment.
2019 (extension_language_ops): Add comment.
2020 (active_ext_lang_state): Fix typo in comment.
2021
20222014-02-07 Pedro Alves <palves@redhat.com>
2023
2024 * infrun.c (handle_signal_stop) <signal arrives while stepping
2025 over a breakpoint>: Switch back to the stepping thread.
2026
20272014-02-07 Yao Qi <yao@codesourcery.com>
2028
2029 * target.c (target_xfer_partial): Return zero if LEN is zero.
2030
20312014-02-07 Yao Qi <yao@codesourcery.com>
2032
2033 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2034 (ld_so_xfer_auxv): Likewise.
2035 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2036 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2037 * corelow.c (core_xfer_partial): Likewise.
2038 * ctf.c (ctf_xfer_partial): Likewise.
2039 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2040 (darwin_xfer_partial): Likewise.
2041 * exec.c (exec_xfer_partial): Likewise.
2042 * gnu-nat.c (gnu_xfer_partial): Likewise.
2043 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2044 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2045 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2046 * linux-nat.c (linux_xfer_siginfo): Likewise.
2047 (linux_proc_xfer_spu): Likewise.
2048 * procfs.c (procfs_xfer_partial): Likewise.
2049 * record-full.c (record_full_xfer_partial): Likewise.
2050 (record_full_core_xfer_partial): Likewise.
2051 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2052 * remote.c (remote_write_qxfer): Likewise.
2053 (remote_write_qxfer, remote_read_qxfer): Likewise.
2054 (remote_xfer_partial): Likewise.
2055 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2056 (rs6000_xfer_shared_libraries): Likewise.
2057 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2058 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2059 (spu_xfer_partial): Likewise.
2060 * target.c (memory_xfer_partial_1): Likewise.
2061 * tracepoint.c (tfile_xfer_partial): Likewise.
2062 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2063 (windows_xfer_partial): Likewise.
2064
20652014-02-07 Yao Qi <yao@codesourcery.com>
2066
2067 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2068 comments.
2069 (core_xfer_shared_libraries_aix): Likewise.
2070 * gdbarch.c, gdbarch.h: Regenerated.
2071 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2072 ULONGEST. Change 'len_avail' type to ULONGEST.
2073 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2074 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2075 declaration.
2076 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2077
20782014-02-07 Yao Qi <yao@codesourcery.com>
2079
2080 * corefile.c (memory_error): Get 'exception' from ERR and pass
2081 'exception' to throw_error.
2082
20832014-02-06 Doug Evans <xdje42@gmail.com>
2084
2085 * configure.ac (libpython checking): Remove all but python.o from
2086 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2087 * configure: Regenerate.
2088
2089 * Makefile.in (SFILES): Add extension.c.
2090 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2091 (COMMON_OBS): Add extension.o.
2092 * extension.h: New file.
2093 * extension-priv.h: New file.
2094 * extension.c: New file.
2095
2096 * python/python-internal.h: #include "extension.h".
2097 (gdbpy_auto_load_enabled): Declare.
2098 (gdbpy_apply_val_pretty_printer): Declare.
2099 (gdbpy_apply_frame_filter): Declare.
2100 (gdbpy_preserve_values): Declare.
2101 (gdbpy_breakpoint_cond_says_stop): Declare.
2102 (gdbpy_breakpoint_has_cond): Declare.
2103 (void source_python_script_for_objfile): Delete.
2104 * python/python.c: #include "extension-priv.h".
2105 Delete inclusion of "observer.h".
2106 (extension_language_python): Moved here and renamed from
2107 script_language_python in py-auto-load.c.
2108 Redefined to be of type extension_language_defn.
2109 (python_extension_script_ops): New global.
2110 (python_extension_ops): New global.
2111 (struct python_env): New member previous_active.
2112 (restore_python_env): Call restore_active_ext_lang.
2113 (ensure_python_env): Call set_active_ext_lang.
2114 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2115 New arg extlang.
2116 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2117 New arg extlang.
2118 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2119 New arg extlang.
2120 (gdbpy_eval_from_control_command): Renamed from
2121 eval_python_from_control_command, made static. New arg extlang.
2122 (gdbpy_source_script) Renamed from source_python_script, made static.
2123 New arg extlang.
2124 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2125 result to int. New arg extlang.
2126 (gdbpy_source_objfile_script): Renamed from
2127 source_python_script_for_objfile, made static. New arg extlang.
2128 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2129 static. New args extlang, extlang_printers. Change result type to
2130 "void".
2131 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2132 static. New arg extlang. Rename arg printers to extlang_printers
2133 and change type to ext_lang_type_printers *.
2134 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2135 static. Replace argument arg with extlang, extlang_printers.
2136 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2137 (!HAVE_PYTHON, source_python_script): Delete.
2138 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2139 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2140 (!HAVE_PYTHON, start_type_printers): Delete.
2141 (!HAVE_PYTHON, apply_type_printers): Delete.
2142 (!HAVE_PYTHON, free_type_printers): Delete.
2143 (_initialize_python): Delete call to observer_attach_before_prompt.
2144 (finalize_python): Set/restore active extension language.
2145 (gdbpy_finish_initialization) Renamed from
2146 finish_python_initialization, made static. New arg extlang.
2147 (gdbpy_initialized): New function.
2148 * python/python.h: #include "extension.h". Delete #include
2149 "value.h", "mi/mi-cmds.h".
2150 (extension_language_python): Declare.
2151 (GDBPY_AUTO_FILE_NAME): Delete.
2152 (enum py_bt_status): Moved to extension.h and renamed to
2153 ext_lang_bt_status.
2154 (enum frame_filter_flags): Moved to extension.h.
2155 (enum py_frame_args): Moved to extension.h and renamed to
2156 ext_lang_frame_args.
2157 (finish_python_initialization): Delete.
2158 (eval_python_from_control_command): Delete.
2159 (source_python_script): Delete.
2160 (apply_val_pretty_printer): Delete.
2161 (apply_frame_filter): Delete.
2162 (preserve_python_values): Delete.
2163 (gdbpy_script_language_defn): Delete.
2164 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2165 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2166
2167 * auto-load.c: #include "extension.h".
2168 (GDB_AUTO_FILE_NAME): Delete.
2169 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2170 (script_language_gdb): Delete, moved to extension.c and renamed to
2171 extension_language_gdb.
2172 (source_gdb_script_for_objfile): Delete.
2173 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2174 (loaded_script): Change type of language member to
2175 struct extension_language_defn *.
2176 (init_loaded_scripts_info): Initialize
2177 unsupported_script_warning_printed.
2178 (maybe_add_script): Make static. Change type of language arg to
2179 struct extension_language_defn *.
2180 (clear_section_scripts): Reset unsupported_script_warning_printed.
2181 (auto_load_objfile_script_1): Rewrite to use extension language API.
2182 (auto_load_objfile_script): Make public. Remove support-compiled-in
2183 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2184 (source_section_scripts): Rewrite to use extension language API.
2185 (load_auto_scripts_for_objfile): Rewrite to use
2186 auto_load_scripts_for_objfile.
2187 (collect_matching_scripts_data): Change type of language member to
2188 struct extension_language_defn *.
2189 (auto_load_info_scripts): Change type of language arg to
2190 struct extension_language_defn *.
2191 (unsupported_script_warning_print): New function.
2192 (script_not_found_warning_print): Make static.
2193 (_initialize_auto_load): Rewrite construction of scripts-directory
2194 help.
2195 * auto-load.h (struct objfile): Add forward decl.
2196 (struct script_language): Delete.
2197 (struct auto_load_pspace_info): Add forward decl.
2198 (struct extension_language_defn): Add forward decl.
2199 (maybe_add_script): Delete.
2200 (auto_load_objfile_script): Declare.
2201 (script_not_found_warning_print): Delete.
2202 (auto_load_info_scripts): Update prototype.
2203 (auto_load_gdb_scripts_enabled): Declare.
2204 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2205 auto_load_python_scripts_enabled and made public.
2206 (script_language_python): Delete, moved to python.c.
2207 (gdbpy_script_language_defn): Delete.
2208 (info_auto_load_python_scripts): Update to use
2209 extension_language_python.
2210
2211 * breakpoint.c (condition_command): Replace call to
2212 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2213 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2214 with call to breakpoint_ext_lang_cond_says_stop.
2215 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2216 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2217 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2218 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2219 New arg slang.
2220 (local_setattro): Print name of extension language with existing
2221 stop condition.
2222
2223 * valprint.c (val_print, value_print): Update to call
2224 apply_ext_lang_val_pretty_printer.
2225 * cp-valprint.c (cp_print_value): Update call to
2226 apply_ext_lang_val_pretty_printer.
2227 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2228 (gdbpy_apply_val_pretty_printer): Renamed from
2229 apply_val_pretty_printer. New arg extlang.
2230 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2231
2232 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2233 extension language API.
2234 * cli/cli-script.c (execute_control_command): Update to call
2235 eval_ext_lang_from_control_command.
2236
2237 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2238 enum ext_lang_bt_status values. Update call to
2239 apply_ext_lang_frame_filter.
2240 (mi_cmd_stack_list_locals): Ditto.
2241 (mi_cmd_stack_list_args): Ditto.
2242 (mi_cmd_stack_list_variables): Ditto.
2243 * mi/mi-main.c: Delete #include "python/python-internal.h".
2244 Add #include "extension.h".
2245 (mi_cmd_list_features): Replace reference to python internal variable
2246 gdb_python_initialized with call to ext_lang_initialized_p.
2247
2248 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2249 Update to use enum ext_lang_frame_args. Update to call
2250 apply_ext_lang_frame_filter.
2251 * python/py-framefilter.c (extract_sym): Update to use enum
2252 ext_lang_bt_status.
2253 (extract_value, py_print_type, py_print_value): Ditto.
2254 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2255 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2256 (py_print_frame): Ditto.
2257 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2258 New arg extlang. Update to use enum ext_lang_bt_status.
2259
2260 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2261 finish_python_initialization. Replace with call to
2262 finish_ext_lang_initialization.
2263
2264 * typeprint.c (do_free_global_table): Update to call
2265 free_ext_lang_type_printers.
2266 (create_global_typedef_table): Update to call
2267 start_ext_lang_type_printers.
2268 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2269 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2270 (type_print_options): Change type of global_printers from "void *"
2271 to "struct ext_lang_type_printers *".
2272
2273 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2274 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2275 (gdbpy_preserve_values): Renamed from preserve_python_values.
2276 New arg extlang.
2277 (!HAVE_PYTHON, preserve_python_values): Delete.
2278
2279 * utils.c (quit_flag): Delete, moved to extension.c.
2280 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2281 extension.c.
2282
2283 * eval.c: Delete #include "python/python.h".
2284 * main.c: Delete #include "python/python.h".
2285
2286 * defs.h: Update comment.
2287
22882014-02-06 Joel Brobecker <brobecker@adacore.com>
2289
2290 GDB 7.7 released.
2291
22922014-02-05 Mark Kettenis <kettenis@gnu.org>
2293
2294 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2295 defined.
2296
22972014-02-05 Yao Qi <yao@codesourcery.com>
2298
2299 * remote.c (remote_pass_signals): Remove local 'buf' and use
2300 rs->buf.
2301 (remote_program_signals): Likewise.
2302
23032014-02-05 Yao Qi <yao@codesourcery.com>
2304
2305 * ctf.c: Include "inferior.h" and "gdbthread.h".
2306 (CTF_PID): A new macro.
2307 (ctf_open): Call inferior_appeared and add_thread_silent.
2308 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2309 (ctf_thread_alive): New function.
2310 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2311
23122014-02-05 Yao Qi <yao@codesourcery.com>
2313
2314 Revert this patch:
2315
2316 2013-05-24 Yao Qi <yao@codesourcery.com>
2317
2318 * tracepoint.c (TFILE_PID): Remove.
2319 (tfile_open): Don't add thread and inferior.
2320 (tfile_close): Don't set 'inferior_ptid'. Don't call
2321 exit_inferior_silent.
2322 (tfile_thread_alive): Remove.
2323 (init_tfile_ops): Don't set field 'to_thread_alive' of
2324 tfile_ops.
2325
23262014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2327
2328 * remote.c (remote_start_remote): Call remote_check_symbols even
2329 if only symbol-file (not file) has been given.
2330
23312014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2332
2333 * gdbarch.sh (skip_entrypoint): New callback.
2334 * gdbarch.c, gdbarch.h: Regenerate.
2335 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2336 * infrun.c (fill_in_stop_func): Likewise.
2337 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2338 (ppc_elfv2_elf_make_msymbol_special): New function.
2339 (ppc_elfv2_skip_entrypoint): Likewise.
2340 (ppc_linux_init_abi): Install them for ELFv2.
2341
23422014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2343
2344 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2345 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2346 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2347 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2348 structures returned in GPRs.
2349
23502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2351
2352 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2353 offset to the stack parameter list for the ELFv2 ABI.
2354
23552014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2356
2357 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2358 set_gdbarch_convert_from_func_ptr_addr and
2359 set_gdbarch_elf_make_msymbol_special for ELFv1.
2360 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2361 function descriptors on ELFv1.
2362 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2363 set up r12 at function entry.
2364
23652014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2366
2367 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2368 (struct gdbarch_tdep): New member elf_abi.
2369
2370 * rs6000-tdep.c: Include "elf/ppc64.h".
2371 (rs6000_gdbarch_init): Detect ELF ABI version.
2372
23732014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2374
2375 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2376 within a register pair holding a DFP 128-bit value on little-endian.
2377 (ppc64_sysv_abi_return_value_base): Likewise.
2378 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2379 (dfp_pseudo_register_write): Likewise.
2380
23812014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2382
2383 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2384 offset on little-endian when passing _Decimal32.
2385 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2386
23872014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2388
2389 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2390 of the overlapped FP register within the VSX register on little-
2391 endian platforms.
2392 (efpr_pseudo_register_write): Likewise.
2393
23942014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2395
2396 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2397 offset on little-endian when passing small structures.
2398
23992014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2400
2401 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2402 (struct ppc64_sysv_argpos): New data structure.
2403 (ppc64_sysv_abi_push_float): Remove.
2404 (ppc64_sysv_abi_push_val): New function.
2405 (ppc64_sysv_abi_push_integer): Likewise.
2406 (ppc64_sysv_abi_push_freg): Likewise.
2407 (ppc64_sysv_abi_push_vreg): Likewise.
2408 (ppc64_sysv_abi_push_param): Likewise.
2409 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2410 (ppc64_sysv_abi_return_value_base): New function.
2411 (ppc64_sysv_abi_return_value): Refactor to use it.
2412
24132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2414
2415 * NEWS: Document new target powerpc64le-*-linux*.
2416
24172014-02-04 Mark Kettenis <kettenis@gnu.org>
2418
2419 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2420 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2421 core dumps.
2422 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2423 register set used in ELF core dumps. Add floating-point register set.
2424
24252014-02-03 Kevin Buettner <kevinb@redhat.com>
2426
2427 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2428 dwarf2_to_gdb[] table using symbolic constants. Adjust
2429 penultimate entry from number representing the PC register
2430 to symbolic constant representing the MDR register. Add
2431 constant for the PC register to the end of the table.
2432
24332014-02-03 Mark Kettenis <kettenis@gnu.org>
2434
2435 * bsd-kvm.c: Include <sys/param.h>
2436
24372014-02-03 Mark Kettenis <kettenis@gnu.org>
2438
2439 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2440
24412014-01-31 Joel Brobecker <brobecker@adacore.com>
2442
2443 * ada-lang.h (clear_ada_sym_cache): Delete.
2444
24452014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
2446
2447 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2448
24492014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2450
2451 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2452 the sigreturn register save area only if the syscall is
2453 sigreturn.
2454
24552014-01-29 Joel Brobecker <brobecker@adacore.com>
2456
2457 * valops.c (value_slice): Minor reformatting.
2458
24592014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
2460
2461 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2462
24632014-01-28 Joel Brobecker <brobecker@adacore.com>
2464
2465 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2466 New static globals.
2467 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2468 (ada_ignore_descriptive_types_p): New static global.
2469 (find_parallel_type_by_descriptive_type): Return immediately
2470 if ada_ignore_descriptive_types_p is set.
2471 (_initialize_ada_language): Register new commands "maintenance
2472 set ada", "maintenance show ada", "maintenance set ada
2473 ignore-descriptive-types" and "maintenance show ada
2474 ignore-descriptive-types".
2475 * NEWS: Add entry for new "maint ada set/show
2476 ignore-descriptive-types" commands.
2477
24782014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2479
2480 * record-btrace.c (record_btrace_close): Call btrace_teardown
2481 for all threads.
2482
24832014-01-27 Joel Brobecker <brobecker@adacore.com>
2484
2485 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2486 "ui-out.h".
2487
24882014-01-27 Joel Brobecker <brobecker@adacore.com>
2489
2490 * ada-typeprint (type_is_full_subrange_of_target_type):
2491 New function.
2492 (print_range): Add parameter bounds_prefered_p. If not set,
2493 try printing range types using the name of their base type.
2494 (print_range_type): Add parameter bounds_prefered_p.
2495 Use it in call to print_range.
2496 (print_array_type, ada_print_type): Update calls to print_range
2497 and print_range_type.
2498
24992014-01-27 Joel Brobecker <brobecker@adacore.com>
2500
2501 * ada-typeprint.c (print_array_type, print_choices, print_range)
2502 (print_range_bound, print_dynamic_range_bound, print_range_type):
2503 Remove declaration.
2504
25052014-01-27 Joel Brobecker <brobecker@adacore.com>
2506
2507 * ada-typeprint.c (print_range): Add missing empty line
2508 after local declaration.
2509
25102014-01-27 Joel Brobecker <brobecker@adacore.com>
2511
2512 * ada-valprint.c (print_optional_low_bound): Get index_type's
2513 target type for as long as it is a TYPE_CODE_RANGE.
2514
25152014-01-27 Joel Brobecker <brobecker@adacore.com>
2516
2517 * procfs.c (procfs_make_note_section): Remove assertion and
2518 associated comment.
2519
25202014-01-24 Yao Qi <yao@codesourcery.com>
2521
2522 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2523 * corelow.c (get_core_siginfo): Likewise.
2524
25252014-01-24 Yao Qi <yao@codesourcery.com>
2526
2527 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2528 ULONGEST. Don't check 'len' is negative.
2529 (remote_write_bytes): Change type of 'len' to ULONGEST.
2530
25312014-01-23 Tom Tromey <tromey@redhat.com>
2532
2533 PR python/16485:
2534 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2535 Handle exception from frame.block.
2536 (FrameVars.fetch_frame_locals): Likewise.
2537
25382014-01-23 Tom Tromey <tromey@redhat.com>
2539
2540 PR python/16487:
2541 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2542 on a NULL pointer. Move "goto error" to correct place.
2543
25442014-01-23 Tom Tromey <tromey@redhat.com>
2545
2546 PR python/16491:
2547 * python/py-framefilter.c (apply_frame_filter): Call
2548 ensure_python_env after computing gdbarch.
2549
25502014-01-23 Yao Qi <yao@codesourcery.com>
2551
2552 * target.c (raw_memory_xfer_partial): Change argument type
2553 from void * to gdb_byte *.
2554 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2555
25562014-01-22 Doug Evans <dje@google.com>
2557
2558 New gdbserver option --debug-format=timestamp.
2559 * NEWS: Mention it.
2560
25612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2562
2563 * syscalls/s390x-linux.xml: New file.
2564 * syscalls/s390-linux.xml: New file.
2565 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2566 (XML_SYSCALL_FILENAME_S390X): Likewise.
2567 (op_svc): New enum value for SVC opcode.
2568 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2569 (s390_linux_get_syscall_number): New function.
2570 (s390_gdbarch_init): Register '*get_syscall_number' and the
2571 syscall xml file name.
2572 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2573 "s390-linux.xml" and "s390x-linux.xml".
2574 * NEWS: Announce new feature.
2575
25762014-01-22 Baruch Siach <baruch@tkos.co.il>
2577
2578 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2579
25802014-01-22 Pedro Alves <palves@redhat.com>
2581
2582 * xtensa-config.c: Include defs.h.
2583
25842014-01-22 Joel Brobecker <brobecker@adacore.com>
2585
2586 * common/common-utils.h: Add "ARI:" comment beside __func__
2587 reference.
2588
25892014-01-22 Joel Brobecker <brobecker@adacore.com>
2590
2591 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2592 documentation a bit.
2593
25942014-01-21 Roland McGrath <mcgrathr@google.com>
2595
2596 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2597 * configure: Regenerate.
2598 * aclocal.m4: Regenerate.
2599 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2600 New substituted variables.
2601 (install-strip): New target.
2602 (INSTALL_SCRIPT): New substituted variable.
2603 (FLAGS_TO_PASS): Add it.
2604 (install-only): Use $(INSTALL_SCRIPT) rather than
2605 $(INSTALL_PROGRAM) for gcore.
2606
26072014-01-20 Tom Tromey <tromey@redhat.com>
2608
2609 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2610 together.
2611
26122014-01-20 Tom Tromey <tromey@redhat.com>
2613
2614 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2615 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2616 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2617 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2618 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2619 (struct cmd_list_element) <flags>: Remove.
2620 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2621 doc_allocated>: New fields.
2622 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2623 bitfields.
2624 * maint.c (maintenance_do_deprecate): Update.
2625 * top.c (execute_command): Update.
2626
26272014-01-20 Baruch Siach <baruch@tkos.co.il>
2628
2629 * xtensa-linux-nat.c: Include asm/ptrace.h.
2630
26312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2632
2633 * Makefile.in (SFILES): Add d-support.c.
2634 (COMMON_OBS): Add d-support.o.
2635 * d-lang.h (d_parse_symbol): Add comment, now defined in
2636 d-support.c.
2637 * d-lang.c (parse_call_convention)
2638 (parse_attributes, parse_function_types)
2639 (parse_function_args, parse_type, parse_identifier)
2640 (call_convention_p, d_parse_symbol): Move functions to ...
2641 * d-support.c: ... New file.
2642
26432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2644
2645 * d-lang.h (d_parse_symbol): Add declaration.
2646 * d-lang.c (extract_identifiers)
2647 (extract_type_info): Remove functions.
2648 (parse_call_convention, parse_attributes)
2649 (parse_function_types, parse_function_args)
2650 (parse_type, parse_identifier, call_convention_p)
2651 (d_parse_symbol): New functions.
2652 (d_demangle): Use d_parse_symbol to demangle D symbols.
2653
26542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2655
2656 * d-lang.h (struct builtin_d_type): New data type.
2657 (builtin_d_type): Add declaration.
2658 * d-lang.c (d_language_arch_info, build_d_types)
2659 (builtin_d_type): New functions.
2660 (enum d_primitive_types): New data type.
2661 (d_language_defn): Change c_language_arch_info to
2662 d_language_arch_info.
2663 (d_type_data): New static variable.
2664 (_initialize_d_language): Initialize d_type_data.
2665
26662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2667
2668 * d-lang.h (d_main_name): Add declaration.
2669 * d-lang.c (d_main_name): New function.
2670 * symtab.c (find_main_name): Add call to d_main_name.
2671
26722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2673
2674 * d-lang.c (d_language_defn): Change macro_expansion_c to
2675 macro_expansion_no.
2676
26772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2678
2679 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2680
26812014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2682
2683 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2684 gdb_exception" declaration.
2685 * remote.c (getpkt_or_notif_sane): Likewise.
2686
26872014-01-17 Doug Evans <dje@google.com>
2688
2689 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2690 function, contents of dirnames_to_char_ptr_vec_append moved here.
2691 (delim_string_to_char_ptr_vec): New function.
2692 (dirnames_to_char_ptr_vec_append): Rewrite.
2693 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2694
26952014-01-17 Doug Evans <dje@google.com>
2696
2697 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2698 and moved here ...
2699 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2700 #include "common-utils.h".
2701 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2702 * common/vec.h (VEC_ASSERT_PASS): Update.
2703 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2704 (MACH_CHECK_ERROR): Update.
2705
27062014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2707
2708 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2709 comments.
2710 * gdbarch.h: Regenerate.
2711
27122014-01-16 Tom Tromey <tromey@redhat.com>
2713
2714 * value.c (struct value) <regnum>: Move earlier.
2715
27162014-01-16 Tom Tromey <tromey@redhat.com>
2717
2718 * remote.c (extended_remote_create_inferior): Rename from
2719 extended_remote_create_inferior_1. Add "ops" argument. Remove
2720 old implementation.
2721
27222014-01-16 Pedro Alves <palves@redhat.com>
2723
2724 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2725 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2726 the backchain.
2727
27282014-01-16 Doug Evans <dje@google.com>
2729
2730 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2731
27322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2733
2734 * btrace.h (btrace_thread_flag): New.
2735 (struct btrace_thread_info) <flags>: New.
2736 * record-btrace.c (record_btrace_resume_thread)
2737 (record_btrace_find_thread_to_move, btrace_step_no_history)
2738 (btrace_step_stopped, record_btrace_start_replaying)
2739 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2740 (record_btrace_find_resume_thread): New.
2741 (record_btrace_resume, record_btrace_wait): Extend.
2742 (record_btrace_can_execute_reverse): New.
2743 (record_btrace_open): Fail in non-stop mode.
2744 (record_btrace_set_replay): Split into this, ...
2745 (record_btrace_stop_replaying): ... this, ...
2746 (record_btrace_clear_histories): ... and this.
2747 (init_record_btrace_ops): Init to_can_execute_reverse.
2748 * NEWS: Announce it.
2749
27502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2751
2752 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2753 (forward_target_decr_pc_after_break)
2754 (target_decr_pc_after_break): New.
2755 * target.c (forward_target_decr_pc_after_break)
2756 (target_decr_pc_after_break): New.
2757 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2758 instead of gdbarch_decr_pc_after_break.
2759 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2760 instead of gdbarch_decr_pc_after_break.
2761 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2762 instead of gdbarch_decr_pc_after_break.
2763 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2764 instead of gdbarch_decr_pc_after_break.
2765 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2766 instead of gdbarch_decr_pc_after_break.
2767 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2768 instead of gdbarch_decr_pc_after_break.
2769
27702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2771
2772 * btrace.c: Include regcache.h.
2773 (btrace_add_pc): New.
2774 (btrace_enable): Call btrace_add_pc.
2775 (btrace_is_empty): New.
2776 * btrace.h (btrace_is_empty): New.
2777 * record-btrace.c (require_btrace, record_btrace_info): Call
2778 btrace_is_empty.
2779
27802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2781
2782 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2783 Support delta reads.
2784 (linux_disable_btrace): Change return type.
2785 * common/linux-btrace.h (linux_read_btrace): Change parameters
2786 and return type to allow error reporting. Update users.
2787 (linux_disable_btrace): Change return type. Update users.
2788 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2789 New.
2790 (btrace_error): New.
2791 (btrace_block) <begin>: Comment on BEGIN == 0.
2792 * btrace.c (btrace_compute_ftrace): Start from the end of
2793 the current trace.
2794 (btrace_stitch_trace, btrace_clear_history): New.
2795 (btrace_fetch): Read delta trace, return if replaying.
2796 (btrace_clear): Move clear history code to btrace_clear_history.
2797 (parse_xml_btrace): Throw an error if parsing failed.
2798 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2799 and return type to allow error reporting.
2800 (target_read_btrace): Change parameters and return type to allow
2801 error reporting.
2802 * target.c (target_read_btrace): Update.
2803 * remote.c (remote_read_btrace): Support delta reads. Pass
2804 errors on.
2805 * NEWS: Announce it.
2806
28072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2808
2809 * record.h (record_btrace_frame_unwind)
2810 (record_btrace_tailcall_frame_unwind): New declarations.
2811 * dwarf2-frame: Include record.h
2812 (dwarf2_frame_cfa): Throw an error for btrace frames.
2813 * record-btrace.c: Include hashtab.h.
2814 (btrace_get_bfun_name): New.
2815 (btrace_call_history): Call btrace_get_bfun_name.
2816 (struct btrace_frame_cache): New.
2817 (bfcache): New.
2818 (bfcache_hash, bfcache_eq, bfcache_new): New.
2819 (btrace_get_frame_function): New.
2820 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2821 (record_btrace_frame_this_id): Compute own id.
2822 (record_btrace_frame_prev_register): Provide PC, throw_error
2823 for all other registers.
2824 (record_btrace_frame_sniffer): Detect btrace frames.
2825 (record_btrace_tailcall_frame_sniffer): New.
2826 (record_btrace_frame_dealloc_cache): New.
2827 (record_btrace_frame_unwind): Add new functions.
2828 (record_btrace_tailcall_frame_unwind): New.
2829 (_initialize_record_btrace): Allocate cache.
2830 * btrace.c (btrace_clear): Call reinit_frame_cache.
2831 * NEWS: Announce it.
2832
28332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2834
2835 * record-btrace.c (record_btrace_set_replay)
2836 (record_btrace_goto_begin, record_btrace_goto_end)
2837 (record_btrace_goto): New.
2838 (init_record_btrace_ops): Initialize them.
2839 * NEWS: Announce it.
2840
28412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2842
2843 * record-btrace.c (record_btrace_find_new_threads)
2844 (record_btrace_thread_alive): New.
2845 (init_record_btrace_ops): Initialize to_find_new_threads and
2846 to_thread_alive.
2847
28482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2849
2850 * record-btrace.c (record_btrace_resume): New.
2851 (record_btrace_wait): New.
2852 (init_record_btrace_ops): Initialize to_wait and to_resume.
2853
28542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2855
2856 * record-btrace.c (record_btrace_xfer_partial)
2857 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2858 (record_btrace_allow_memory_access): New.
2859 (init_record_btrace_ops): Initialize new methods.
2860 * target.c (raw_memory_xfer_partial): Bail out if target reports
2861 that this memory is not available.
2862
28632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2864
2865 * target.h (target_ops) <to_insert_breakpoint>
2866 <to_remove_breakpoint>: Add target_ops parameter.
2867 (forward_target_insert_breakpoint): New.
2868 (forward_target_remove_breakpoint): New.
2869 (memory_remove_breakpoint, memory_insert_breakpoint):
2870 Add target_ops parameter.
2871 * target.c (target_insert_breakpoint): Split into this and ...
2872 (forward_target_insert_breakpoint): ... this.
2873 (target_remove_breakpoint): Split into this and ...
2874 (forward_target_remove_breakpoint): ... this.
2875 (debug_to_insert_breakpoint): Add target_ops parameter.
2876 Call forward_target_insert_breakpoint.
2877 (debug_to_remove_breakpoint): Add target_ops parameter.
2878 Call forward_target_remove_breakpoint.
2879 (update_current_target): Do not inherit or default to_insert_breakpoint
2880 and to_remove_breakpoint.
2881 * corelow.c (ignore): Add target_ops parameter.
2882 * exec.c (ignore): Add target_ops parameter.
2883 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2884 Add target_ops parameter.
2885 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2886 Add target_ops parameter.
2887 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2888 Add target_ops parameter.
2889 * record-full.c (record_full_beneath_to_insert_breakpoint)
2890 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2891 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2892 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2893 (record_full_core_remove_breakpoint): Add target_ops parameter.
2894 Update users.
2895 (record_full_beneath_to_insert_breakpoint_ops)
2896 (record_full_beneath_to_remove_breakpoint_ops)
2897 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2898 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2899 tmp_to_remove_breakpoint_ops,
2900 record_full_beneath_to_insert_breakpoint_ops, and
2901 record_full_beneath_to_remove_breakpoint_ops.
2902 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2903 (m32r_remove_breakpoint): Add target_ops parameter.
2904 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2905 Add target_ops parameter.
2906 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2907 Add target_ops parameter.
2908
29092014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2910 Markus Metzger <markus.t.metzger@intel.com>
2911
2912 * record-btrace.c: Include frame-unwind.h.
2913 (record_btrace_frame_unwind_stop_reason)
2914 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2915 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2916 New.
2917 (init_record_btrace_ops): Install it.
2918
29192014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2920
2921 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2922 get_prev_frame_1.
2923
29242014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2927 earlier.
2928
29292014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2930
2931 * frame-unwind.c: Include target.h.
2932 (frame_unwind_try_unwinder): New function with code from ...
2933 (frame_unwind_find_by_frame): ... here. New variable
2934 unwinder_from_target, call also target_get_unwinder)
2935 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2936 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2937 * target.h (struct target_ops): New fields to_get_unwinder and
2938 to_get_tailcall_unwinder.
2939 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2940
29412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2942
2943 * record-btrace.c (record_btrace_fetch_registers)
2944 (record_btrace_store_registers)
2945 (record_btrace_to_prepare_to_store): New.
2946 (init_record_btrace_ops): Add the above.
2947
29482014-01-16 Tom Tromey <tromey@redhat.com>
2949
2950 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2951 * target.h (struct target_ops) <to_prepare_to_store>: Add
2952 argument.
2953 (target_prepare_to_store): Add argument.
2954 * target.c (debug_to_prepare_to_store): Add argument.
2955 (update_current_target): Update.
2956 * remote.c (remote_prepare_to_store): Add 'self' argument.
2957 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2958 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2959 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2960 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2961 argument.
2962 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2963 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2964 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2965 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2966 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2967
29682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2969
2970 * btrace.h (replay) <replay>: New.
2971 (btrace_is_replaying): New.
2972 * btrace.c (btrace_clear): Free replay iterator.
2973 (btrace_is_replaying): New.
2974 * record-btrace.c (record_btrace_is_replaying): New.
2975 (record_btrace_info): Print insn number if replaying.
2976 (record_btrace_insn_history): Start at replay position.
2977 (record_btrace_call_history): Start at replay position.
2978 (init_record_btrace_ops): Init to_record_is_replaying.
2979
29802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2981
2982 * record-btrace.c (record_btrace_insn_history_range): Include
2983 end.
2984 (record_btrace_insn_history_from): Adjust range.
2985 (record_btrace_call_history_range): Include
2986 end.
2987 (record_btrace_call_history_from): Adjust range.
2988 * NEWS: Announce changes.
2989
29902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2991
2992 * record.h (enum record_print_flag)
2993 <record_print_indent_calls>: New.
2994 * record.c (get_call_history_modifiers): Recognize /c modifier.
2995 (_initialize_record): Document /c modifier.
2996 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2997 Reorder fields. Optionally indent the function name. Update
2998 all users.
2999 * NEWS: Announce changes.
3000
30012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3002
3003 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3004
30052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3006
3007 * btrace.c (ftrace_new_function): Start counting at one.
3008 * record-btrace.c (record_btrace_info): Adjust number of calls
3009 and insns.
3010 * NEWS: Announce it.
3011
30122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3013
3014 * record-btrace.c (btrace_call_history_insn_range): Print
3015 insn range as [begin, end].
3016
30172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3018
3019 * btrace.h (struct btrace_func_link): New.
3020 (enum btrace_function_flag): New.
3021 (struct btrace_inst): Rename to ...
3022 (struct btrace_insn): ...this. Update all users.
3023 (struct btrace_func) <ibegin, iend>: Remove.
3024 (struct btrace_func_link): New.
3025 (struct btrace_func): Rename to ...
3026 (struct btrace_function): ...this. Update all users.
3027 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3028 (number, level, flags>: New.
3029 (struct btrace_insn_iterator): Rename to ...
3030 (struct btrace_insn_history): ...this.
3031 Update all users.
3032 (struct btrace_insn_iterator, btrace_call_iterator): New.
3033 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3034 (struct btrace_target_info) <begin, end, level>
3035 <insn_history, call_history>: New.
3036 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3037 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3038 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3039 (btrace_call_number, btrace_call_begin, btrace_call_end)
3040 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3041 (btrace_find_function_by_number, btrace_set_insn_history)
3042 (btrace_set_call_history): New.
3043 * btrace.c (btrace_init_insn_iterator)
3044 (btrace_init_func_iterator, compute_itrace): Remove.
3045 (ftrace_print_function_name, ftrace_print_filename)
3046 (ftrace_skip_file): Change
3047 parameter to const.
3048 (ftrace_init_func): Remove.
3049 (ftrace_debug): Use new btrace_function fields.
3050 (ftrace_function_switched): Also consider gaining and
3051 losing symbol information).
3052 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3053 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3054 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3055 New.
3056 (ftrace_new_function): Move. Remove debug print.
3057 (ftrace_update_lines, ftrace_update_insns): New.
3058 (ftrace_update_function): Check for call, ret, and jump.
3059 (compute_ftrace): Renamed to ...
3060 (btrace_compute_ftrace): ...this. Rewritten to compute call
3061 stack.
3062 (btrace_fetch, btrace_clear): Updated.
3063 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3064 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3065 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3066 (btrace_call_number, btrace_call_begin, btrace_call_end)
3067 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3068 (btrace_find_function_by_number, btrace_set_insn_history)
3069 (btrace_set_call_history): New.
3070 * record-btrace.c (require_btrace): Use new btrace thread
3071 info fields.
3072 (record_btrace_info, btrace_insn_history)
3073 (record_btrace_insn_history, record_btrace_insn_history_range):
3074 Use new btrace thread info fields and new iterator.
3075 (btrace_func_history_src_line): Rename to ...
3076 (btrace_call_history_src_line): ...this. Use new btrace
3077 thread info fields.
3078 (btrace_func_history): Rename to ...
3079 (btrace_call_history): ...this. Use new btrace thread info
3080 fields and new iterator.
3081 (record_btrace_call_history, record_btrace_call_history_range):
3082 Use new btrace thread info fields and new iterator.
3083
30842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3085
3086 * frame.h (frame_id_build_unavailable_stack_special): New.
3087 * frame.c (frame_id_build_unavailable_stack_special): New.
3088
30892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3090
3091 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3092 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3093 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3094 to gdbarch.
3095 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3096 (i386_insn_is_jump, i386_jmp_p): New.
3097 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3098 insn_is_jump to gdbarch.
3099 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3100 * gdbarch.h: Regenerated.
3101 * gdbarch.c: Regenerated.
3102 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3103 (default_insn_is_jump): New.
3104 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3105 (default_insn_is_jump): New.
3106
31072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3108
3109 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3110 Change to ...
3111 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3112 (btrace_read_type) <btrace_read_new>: Change to ...
3113 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3114
31152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3116
3117 * common/linux-btrace.c (linux_read_btrace): Free trace from
3118 previous iteration.
3119
31202014-01-15 Doug Evans <dje@google.com>
3121
3122 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3123 uint32_t.
3124
31252014-01-15 Tom Tromey <tromey@redhat.com>
3126
3127 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3128 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3129 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3130 (set_objfile_main_name): New function.
3131 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3132 language_of_main>: New fields.
3133 (set_objfile_main_name): Declare.
3134 * symtab.c (find_main_name): Loop over objfiles to find the main
3135 name and language.
3136 (set_main_name): Now static.
3137 (get_main_info): Add comment.
3138 * symtab.h (set_main_name): Don't declare.
3139
31402014-01-15 Tom Tromey <tromey@redhat.com>
3141
3142 * symtab.c (main_progspace_key): New global.
3143 (struct main_info): New.
3144 (name_of_main, language_of_main): Remove.
3145 (get_main_info, main_info_cleanup): New function.
3146 (set_main_name, main_name, main_language): Use get_main_info.
3147 (_initialize_symtab): Initialize main_progspace_key.
3148
31492014-01-15 Tom Tromey <tromey@redhat.com>
3150
3151 * dbxread.c (process_one_symbol): Update.
3152 * dwarf2read.c (read_partial_die): Update.
3153 * symfile.c (set_initial_language): Call main_language.
3154 * symtab.c (language_of_main): Now static.
3155 (set_main_name): Add 'lang' parameter.
3156 (find_main_name): Update.
3157 (main_language): New function.
3158 (symtab_observer_executable_changed): Update.
3159 * symtab.h (set_main_name): Update.
3160 (language_of_main): Remove.
3161 (main_language): Declare.
3162
31632014-01-15 Tom Tromey <tromey@redhat.com>
3164
3165 * symfile.c (init_entry_point_info): Use new "initialized" field.
3166 Update.
3167 * objfiles.h (struct entry_point) <initialized>: New field.
3168 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3169 (struct objfile) <ei>: ...here. Remove.
3170 * objfiles.c (entry_point_address_query): Update.
3171
31722014-01-15 Tom Tromey <tromey@redhat.com>
3173
3174 * objfiles.c (entry_point_address_query): Relocate entry point
3175 address.
3176 (objfile_relocate1): Do not relocate entry point address.
3177 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3178 <the_bfd_section_index>: New field.
3179 * symfile.c (init_entry_point_info): Find the entry point's
3180 section.
3181
31822014-01-15 Tom Tromey <tromey@redhat.com>
3183
3184 * solib-frv.c (enable_break): Use entry_point_address_query.
3185
31862014-01-15 Omair Javaid <omair.javaid@linaro.org>
3187
3188 * NEWS: Add note on improved process record-replay on
3189 arm*-linux* targets.
3190
31912014-01-15 Omair Javaid <omair.javaid@linaro.org>
3192
3193 * arm-tdep.c (enum arm_record_result): New enum.
3194 (arm_record_unsupported_insn): New function.
3195 (arm_record_coproc_data_proc): Removed.
3196 (thumb2_record_ld_st_multiple): New function.
3197 (thumb2_record_ld_st_dual_ex_tbb): New function.
3198 (thumb2_record_data_proc_sreg_mimm): New function.
3199 (thumb2_record_ps_dest_generic): New function.
3200 (thumb2_record_branch_misc_cntrl): New function.
3201 (thumb2_record_str_single_data): New function.
3202 (thumb2_record_ld_mem_hints): New function.
3203 (thumb2_record_ld_word): New function.
3204 (thumb2_record_lmul_lmla_div): New function.
3205 (thumb2_record_decode_insn_handler): New function.
3206 (decode_insn): Add thumb32 instruction handlers.
3207
32082014-01-15 Omair Javaid <omair.javaid@linaro.org>
3209
3210 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3211 (struct arm_linux_record_tdep): Declare.
3212 (arm_canonicalize_syscall): New function.
3213 (arm_all_but_pc_registers_record): New function.
3214 (arm_linux_syscall_record): New function.
3215 (arm_linux_init_abi): Add syscall recording constructs.
3216 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3217 decoding. (arm_record_coproc_data_proc): Update arm syscall
3218 decoding.
3219 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3220 <arm_syscall_record>: New field.
3221 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3222 gdb_target_obs.
3223
32242014-01-15 Omair Javaid <omair.javaid@linaro.org>
3225
3226 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3227 register for push instruction recording.
3228
32292014-01-15 Omair Javaid <omair.javaid@linaro.org>
3230
3231 * arm-tdep.c (thumb_record_misc): Update to correct logical
3232 error while recording ldm, ldmia and pop instructions.
3233
32342014-01-15 Omair Javaid <omair.javaid@linaro.org>
3235
3236 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3237
32382014-01-15 Pedro Alves <palves@redhat.com>
3239
3240 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3241 (go32_resume, go32_fetch_registers, store_register)
3242 (go32_store_registers, go32_prepare_to_store)
3243 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3244 (go32_create_inferior, go32_can_run, go32_terminal_init)
3245 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3246 declarations.
3247
32482014-01-15 Tom Tromey <tromey@redhat.com>
3249
3250 * target.h (async_callback_ftype): New typedef.
3251 (struct target_ops) <to_async>: Use it.
3252
32532014-01-15 Joel Brobecker <brobecker@adacore.com>
3254
3255 * python/py-value.c (get_field_type): Remove unnecessary curly
3256 braces for single-statement if block.
3257
32582014-01-15 Joel Brobecker <brobecker@adacore.com>
3259
3260 * python/py-type.c (convert_field): Add missing empty line
3261 after declarations.
3262
32632014-01-14 Doug Evans <dje@google.com>
3264
3265 * symfile.h (expand_symtabs_matching): Renamed from
3266 expand_partial_symbol_names. Update prototype.
3267 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3268 * symfile.c (expand_symtabs_matching): Renamed from
3269 expand_partial_symbol_names. New args file_matcher, kind.
3270 Rename arg fun to symbol_matcher.
3271 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3272 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3273 ada_expand_partial_symbol_name.
3274 (ada_make_symbol_completion_list): Update to call
3275 expand_symtabs_matching.
3276 (ada_add_global_exceptions): Call expand_symtabs_matching.
3277 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3278 call map_symbol_filenames.
3279 * symtab.c (sources_info): Update to call map_symbol_filenames.
3280 (search_symbols): Call expand_symtabs_matching.
3281 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3282 (default_make_symbol_completion_list_break_on): Update to call
3283 expand_symtabs_matching.
3284 (make_source_files_completion_list): Update to call
3285 map_symbol_filenames.
3286
32872014-01-14 Doug Evans <dje@google.com>
3288
3289 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3290 (expand_symtabs_symbol_matcher_ftype): New typedef.
3291 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3292 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3293 * symfile.c (expand_partial_symbol_names): Update to use
3294 expand_symtabs_symbol_matcher_ftype.
3295 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3296 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3297 Arg name_matcher renamed to symbol_matcher.
3298 * psymtab.c (recursively_search_psymtabs): Update to use
3299 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3300 sym_matcher.
3301 (expand_symtabs_matching_via_partial): Update to use
3302 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3303 Arg name_matcher renamed to symbol_matcher.
3304
33052014-01-14 Doug Evans <dje@google.com>
3306
3307 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3308 (map_partial_symbol_filenames): Ditto.
3309 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3310 (map_partial_symbol_filenames): Ditto.
3311 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3312 (map_partial_symbol_filenames): Ditto.
3313 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3314 (map_partial_symbol_filenames): Ditto.
3315 * symtab.c: Delete #include "psymtab.h".
3316
33172014-01-14 Pedro Alves <palves@redhat.com>
3318 Tom Tromey <tromey@redhat.com>
3319
3320 * infrun.c (use_displaced_stepping): Use find_record_target
3321 instead of RECORD_IS_USED.
3322 (adjust_pc_after_break): Use record_full_is_used instead of
3323 RECORD_IS_USED.
3324 * record-btrace.c (record_btrace_open): Call record_preopen
3325 instead of checking RECORD_IS_USED.
3326 * record-full.c (record_full_shortname)
3327 (record_full_core_shortname): New globals.
3328 (record_full_is_used): New function.
3329 (find_full_open): Call record_preopen instead of checking
3330 RECORD_IS_USED.
3331 (init_record_full_ops): Set the target's shortname to
3332 record_full_shortname.
3333 (init_record_full_core_ops): Set the target's shortname to
3334 record_full_core_shortname.
3335 * record-full.h (record_full_is_used): Declare.
3336 * record.c (find_record_target): Make extern.
3337 (record_preopen): New function.
3338 * record.h (RECORD_IS_USED): Delete macro.
3339 (find_record_target, record_preopen): Declare functions.
3340
33412014-01-14 Yao Qi <yao@codesourcery.com>
3342
3343 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3344 'len''s type to ULONGEST.
3345 (core_xfer_shared_libraries_aix): Likewise.
3346 * gdbarch.c, gdbarch.h: Regenerated.
3347 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3348 Change type of 'len' to ULONGEST.
3349 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3350 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3351
33522014-01-14 Yao Qi <yao@codesourcery.com>
3353
3354 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3355 type of 'len' to ULONGEST.
3356 (linux_xfer_osdata_processgroups): Likewise.
3357 (linux_xfer_osdata_threads): Likewise.
3358 (linux_xfer_osdata_fds): Likewise.
3359 (linux_xfer_osdata_isockets): Likewise.
3360 (linux_xfer_osdata_shm): Likewise.
3361 (linux_xfer_osdata_sem): Likewise.
3362 (linux_xfer_osdata_msg): Likewise.
3363 (linux_common_xfer_osdata): Likewise.
3364 (struct osdata_type) <getter>: Likewise.
3365 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3366 the declaration.
3367
33682014-01-14 Yao Qi <yao@codesourcery.com>
3369
3370 * target.h (target_xfer_partial_ftype): Update.
3371 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3372 ULONGEST.
3373 * aix-thread.c (aix_thread_xfer_partial): Change type of
3374 argument 'len' to ULONGEST.
3375 * auxv.c (procfs_xfer_auxv): Likewise.
3376 (ld_so_xfer_auxv): Likewise.
3377 (memory_xfer_auxv): Likewise.
3378 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3379 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3380 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3381 * corelow.c (core_xfer_partial): Likewise.
3382 * ctf.c (ctf_xfer_partial): Likewise.
3383 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3384 '%u'.
3385 (darwin_read_dyld_info): Likewise.
3386 (darwin_xfer_partial): Likewise.
3387 * exec.c (section_table_xfer_memory_partial): Likewise.
3388 (exec_xfer_partial): Likewise.
3389 * exec.h (section_table_xfer_memory_partial): Update
3390 declaration.
3391 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3392 instead of plongest.
3393 (gnu_xfer_partial): Likewise.
3394 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3395 (ia64_hpux_xfer_solib_got): Likewise.
3396 (ia64_hpux_xfer_partial): Likewise.
3397 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3398 * inf-ptrace.c (inf_ptrace_xfer_partial):
3399 * inf-ttrace.c (inf_ttrace_xfer_partial):
3400 * linux-nat.c (linux_xfer_siginfo): Likewise.
3401 (linux_nat_xfer_partial): Likewise.
3402 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3403 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3404 * monitor.c (monitor_xfer_memory): Likewise.
3405 (monitor_xfer_partial): Likewise.
3406 * procfs.c (procfs_xfer_partial): Likewise.
3407 * record-full.c (record_full_xfer_partial): Likewise.
3408 (record_full_core_xfer_partial): Likewise.
3409 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3410 instead of plongest.
3411 (gdbsim_xfer_partial): Likewise.
3412 * remote.c (remote_xfer_partial): Likewise.
3413 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3414 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3415 declaration.
3416 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3417 (rs6000_xfer_shared_libraries): Likewise.
3418 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3419 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3420 (sparc_xfer_partial): Likewise.
3421 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3422 (spu_xfer_partial): Likewise.
3423 * spu-multiarch.c (spu_xfer_partial): Likewise.
3424 * target.c (target_read_live_memory): Likewise.
3425 (memory_xfer_live_readonly_partial): Likewise.
3426 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3427 (target_xfer_partial, default_xfer_partial): Likewise.
3428 (current_xfer_partial): Likewise.
3429 * tracepoint.c (tfile_xfer_partial): Likewise.
3430 * windows-nat.c (windows_xfer_memory): Likewise. Call
3431 pulongest instead of plongest.
3432 (windows_xfer_partial): Likewise.
3433 (windows_xfer_shared_libraries): Likewise.
3434
34352014-01-14 Yao Qi <yao@codesourcery.com>
3436
3437 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3438 target_xfer_partial_ftype.
3439
34402014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3441
3442 PR python/15464
3443 PR python/16113
3444 * valops.c (value_struct_elt_bitpos): New function
3445 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3446 object to 'None' if the field name is an empty string ("").
3447 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3448 attribute to look for a field when 'name' is 'None'.
3449 (get_field_type): New function
3450
34512014-01-13 Doug Evans <dje@google.com>
3452
3453 PR symtab/16426
3454 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3455 (try_open_dwop_file): Ditto.
3456 * gdb_bfd.c: #include "vec.h".
3457 (bfdp): New typedef.
3458 (struct gdb_bfd_data): New member included_bfds.
3459 (gdb_bfd_unref): Unref all included bfds.
3460 (gdb_bfd_record_inclusion): New function.
3461 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3462
34632014-01-13 Tom Tromey <tromey@redhat.com>
3464
3465 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3466
34672014-01-13 Tom Tromey <tromey@redhat.com>
3468
3469 * defs.h (use_windows): Remove.
3470 * gdb.c (main): Update.
3471 * main.c (captured_main, gdb_main): Update.
3472 * main.h (struct captured_main_args) <use_windows>: Remove.
3473 * top.c (use_windows): Remove.
3474
34752014-01-13 Tom Tromey <tromey@redhat.com>
3476
3477 * defs.h (deprecated_flush_hook): Remove.
3478
34792014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3480
3481 PR threads/16216
3482 * linux-thread-db.c (try_thread_db_load): Add parameter
3483 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3484 (try_thread_db_load_from_pdir_1): Move it there from here.
3485 (try_thread_db_load_from_sdir): Update caller.
3486 (try_thread_db_load_from_dir): Move it there from here.
3487
34882014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3489
3490 * regformats/regdat.sh: Always rewrite the register file.
3491
34922014-01-13 Pedro Alves <palves@redhat.com>
3493
3494 * Makefile.in (CHECK_HEADERS): New variable.
3495 (check-headers:): New rule.
3496
34972014-01-13 Tom Tromey <tromey@redhat.com>
3498
3499 * cli/cli-setshow.c (do_set_command): Update.
3500 * defs.h (deprecated_set_hook): Remove.
3501 * top.c (deprecated_set_hook): Remove.
3502
35032014-01-13 Pedro Alves <palves@redhat.com>
3504
3505 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3506 the tracepoint if the PC is a pseudo-register.
3507
35082014-01-13 Tom Tromey <tromey@redhat.com>
3509
3510 * defs.h (XCALLOC): Remove.
3511 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3512 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3513 * dwarf2loc.c (allocate_piece_closure): Likewise.
3514 * elfread.c (elf_symfile_segments): Likewise.
3515 (elf_symfile_segments): Likewise.
3516 * gdbtypes.c (copy_type_recursive): Likewise.
3517 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3518 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3519 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3520 XCALLOC.
3521 * mt-tdep.c (mt_gdbarch_init): Likewise.
3522 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3523 XCALLOC.
3524 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3525 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3526 * registry.c (registry_alloc_data): Likewise.
3527 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3528 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3529 * serial.c (serial_fdopen_ops): Likewise.
3530 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3531 XCALLOC.
3532 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3533 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3534 not XCALLOC.
3535
35362014-01-13 Tom Tromey <tromey@redhat.com>
3537
3538 * defs.h (XMALLOC): Remove.
3539 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3540 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3541 * cli-out.c (struct ui_out *): Likewise.
3542 * cli/cli-dump.c (add_dump_command): Likewise.
3543 (add_dump_command): Likewise.
3544 * complaints.c (get_complaints): Likewise.
3545 (find_complaint): Likewise.
3546 * dwarf2-frame.c (execute_cfa_program): Likewise.
3547 * dwarf2read.c (abbrev_table_read_table): Likewise.
3548 * gdbarch.sh: Likewise.
3549 * gdbarch.c: Rebuild.
3550 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3551 * interps.c (interp_new): Likewise.
3552 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3553 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3554 * mi/mi-console.c (mi_console_file_new): Likewise.
3555 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3556 * mi/mi-out.c (mi_out_new): Likewise.
3557 * mi/mi-parse.c (mi_parse): Likewise.
3558 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3559 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3560 * observer.c (xalloc_observer_list_node): Likewise.
3561 * regcache.c (regcache_xmalloc_1): Likewise.
3562 * reggroups.c (reggroup_new): Likewise.
3563 (_initialize_reggroup): Likewise.
3564 * registry.c (register_data_with_cleanup): Likewise.
3565 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3566 * ser-base.c (serial_ttystate): Likewise.
3567 * ser-mingw.c (make_pipe_state): Likewise.
3568 * ser-pipe.c (pipe_open): Likewise.
3569 * serial.c (serial_open): Likewise.
3570 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3571 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3572 (tui_alloc_win_info): Likewise.
3573 (tui_add_content_elements): Likewise.
3574 * tui/tui-file.c (tui_file_new): Likewise.
3575 * tui/tui-out.c (tui_out_new): Likewise.
3576 * ui-file.c (mem_file_new): Likewise.
3577 * ui-out.c (push_level): Likewise.
3578 (make_cleanup_ui_out_end): Likewise.
3579 (append_header_to_list): Likewise.
3580 (ui_out_new): Likewise.
3581 * user-regs.c (user_reg_add_builtin): Likewise.
3582
35832014-01-13 Tom Tromey <tromey@redhat.com>
3584
3585 * defs.h (XZALLOC): Remove.
3586 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3587 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3588 (get_ada_tasks_inferior_data): Likewise.
3589 * auto-load.c (get_auto_load_pspace_data): Likewise.
3590 * auxv.c (get_auxv_inferior_data): Likewise.
3591 * bfd-target.c (target_bfd_reopen): Likewise.
3592 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3593 (deprecated_insert_raw_breakpoint): Likewise.
3594 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3595 * corelow.c (core_open): Likewise.
3596 * darwin-nat.c (darwin_check_new_threads): Likewise.
3597 (darwin_attach_pid): Likewise.
3598 * dummy-frame.c (dummy_frame_push): Likewise.
3599 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3600 * dwarf2loc.c (allocate_piece_closure): Likewise.
3601 * elfread.c (elf_symfile_segments): Likewise.
3602 * eval.c (ptrmath_type_p): Likewise.
3603 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3604 * gdbtypes.c (alloc_type_arch): Likewise.
3605 (alloc_type_instance): Likewise.
3606 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3607 * inf-child.c (inf_child_can_use_agent): Likewise.
3608 * inflow.c (get_inflow_inferior_data): Likewise.
3609 * infrun.c (save_infcall_suspend_state): Likewise.
3610 * jit.c (jit_reader_load): Likewise.
3611 (get_jit_objfile_data): Likewise.
3612 (get_jit_program_space_data): Likewise.
3613 (jit_object_open_impl): Likewise.
3614 (jit_symtab_open_impl): Likewise.
3615 (jit_block_open_impl): Likewise.
3616 (jit_frame_sniffer): Likewise.
3617 * linux-fork.c (add_fork): Likewise.
3618 * maint.c (make_command_stats_cleanup): Likewise.
3619 * objfiles.c (get_objfile_pspace_data): Likewise.
3620 * opencl-lang.c (struct lval_closure): Likewise.
3621 * osdata.c (osdata_start_osdata): Likewise.
3622 * progspace.c (new_address_space): Likewise.
3623 (add_program_space): Likewise.
3624 * remote-sim.c (get_sim_inferior_data): Likewise.
3625 * sh-tdep.c (sh_gdbarch_init): Likewise.
3626 * skip.c (Ignore): Likewise.
3627 (skip_delete_command): Likewise.
3628 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3629 (library_list_start_library): Likewise.
3630 (solib_aix_current_sos): Likewise.
3631 * solib-darwin.c (get_darwin_info): Likewise.
3632 (darwin_current_sos): Likewise.
3633 * solib-dsbt.c (get_dsbt_info): Likewise.
3634 * solib-ia64-hpux.c (new_so_list): Likewise.
3635 (ia64_hpux_get_solib_linkage_addr): Likewise.
3636 * solib-spu.c (append_ocl_sos): Likewise.
3637 (spu_current_sos): Likewise.
3638 * solib-svr4.c (get_svr4_info): Likewise.
3639 (svr4_keep_data_in_core): Likewise.
3640 (library_list_start_library): Likewise.
3641 (svr4_default_sos): Likewise.
3642 (svr4_read_so_list): Likewise.
3643 * solib-target.c (library_list_start_library): Likewise.
3644 (solib_target_current_sos): Likewise.
3645 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3646 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3647 * symfile.c (default_symfile_segments): Likewise.
3648 * target-descriptions.c (tdesc_data_init): Likewise.
3649 (tdesc_create_reg): Likewise.
3650 (struct tdesc_type *): Likewise.
3651 (tdesc_create_vector): Likewise.
3652 (tdesc_set_struct_size): Likewise.
3653 (struct tdesc_type *): Likewise.
3654 (tdesc_free_feature): Likewise.
3655 (tdesc_create_feature): Likewise.
3656 * windows-nat.c (windows_add_thread): Likewise.
3657 (windows_make_so): Likewise.
3658 * xml-support.c (gdb_xml_body_text): Likewise.
3659 (gdb_xml_create_parser_and_cleanup): Likewise.
3660 (xml_process_xincludes): Likewise.
3661 * xml-syscall.c (allocate_syscalls_info): Likewise.
3662 (syscall_create_syscall_desc): Likewise.
3663
36642014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3665
3666 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3667 function, with code from i386_stap_parse_special_token.
3668 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3669 (i386_stap_parse_special_token): Move code to the two functions
3670 above; simplify it.
3671
36722014-01-09 Pedro Alves <palves@redhat.com>
3673 Hui Zhu <hui@codesourcery.com>
3674
3675 PR gdb/16101
3676 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3677 bp_err_string. Don't mark the location shlib_disabled if the
3678 error thrown wasn't a generic or memory error. Catch errors
3679 thrown while inserting breakpoints in overlayed code. Output
3680 error message of software breakpoints.
3681 * remote.c (remote_insert_breakpoint): If this breakpoint has
3682 target-side commands but this stub doesn't support Z0 packets,
3683 throw NOT_SUPPORTED_ERROR error.
3684 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3685 * target.h (target_insert_breakpoint): Extend comment.
3686 (target_insert_hw_breakpoint): Add comment.
3687
36882014-01-08 Pedro Alves <palves@redhat.com>
3689
3690 * remote.c (remote_add_thread): Add threads silently if starting
3691 up.
3692 (remote_notice_new_inferior): If in all-stop, and starting up,
3693 don't call notice_new_inferior.
3694 (get_current_thread): New function, factored out from ...
3695 (add_current_inferior_and_thread): ... this. Adjust.
3696 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3697 found any thread, then select the remote's current thread as GDB's
3698 current thread too.
3699
37002014-01-08 Joel Brobecker <brobecker@adacore.com>
3701
3702 * NEWS: Create a new section for the next release branch.
3703 Rename the section of the current branch, now that it has
3704 been cut.
3705
37062014-01-08 Joel Brobecker <brobecker@adacore.com>
3707
3708 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3709 * version.in: Bump version to 7.7.50.DATE-cvs.
3710
37112014-01-08 Yao Qi <yao@codesourcery.com>
3712
3713 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3714 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3715 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3716
37172014-01-08 Yao Qi <yao@codesourcery.com>
3718
3719 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3720 return value of bfd_get_filename to symbol_file_add_from_bfd.
3721
37222014-01-08 Pierre Muller <muller@sourceware.org>
3723
3724 Fix PR16201.
3725 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3726 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3727 to prim_record_mininal_symbol_and_info.
3728 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3729 in call to prim_record_minimal_symbol_and_info.
3730 (read_pe_exported_syms): Set index field of section_data.
3731
37322014-01-07 Andrew Pinski <apinski@cavium.com>
3733
3734 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3735 * features/aarch64.c: Regenerate.
3736
37372014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * target.c (return_null): Define.
3740 (update_current_target): Use it instead of return_zero for
3741 functions that return a pointer.
3742
37432014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3744
3745 * source.c (add_path): Fix check for duplicated paths in the previously
3746 included paths.
3747
37482014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3749
3750 * ada-lang.c: Remove duplicated include statements.
3751 * alphabsd-nat.c: Ditto.
3752 * amd64-darwin-tdep.c: Ditto.
3753 * amd64fbsd-nat.c: Ditto.
3754 * auto-load.c: Ditto.
3755 * ax-gdb.c: Ditto.
3756 * breakpoint.c: Ditto.
3757 * dbxread.c: Ditto.
3758 * fork-child.c: Ditto.
3759 * gdb_usleep.c: Ditto.
3760 * i386-darwin-tdep.c: Ditto.
3761 * i386fbsd-nat.c: Ditto.
3762 * infcmd.c: Ditto.
3763 * inferior.c: Ditto.
3764 * jv-lang.c: Ditto.
3765 * linux-nat.c: Ditto.
3766 * linux-tdep.c: Ditto.
3767 * m68kbsd-nat.c: Ditto.
3768 * m68klinux-nat.c: Ditto.
3769 * microblaze-tdep.c: Ditto.
3770 * mips-linux-tdep.c: Ditto.
3771 * mn10300-tdep.c: Ditto.
3772 * nto-tdep.c: Ditto.
3773 * opencl-lang.c: Ditto.
3774 * osdata.c: Ditto.
3775 * printcmd.c: Ditto.
3776 * regcache.c: Ditto.
3777 * remote-m32r-sdi.c: Ditto.
3778 * remote.c: Ditto.
3779 * symfile.c: Ditto.
3780 * symtab.c: Ditto.
3781 * tilegx-linux-nat.c: Ditto.
3782 * tilegx-tdep.c: Ditto.
3783 * tracepoint.c: Ditto.
3784 * valops.c: Ditto.
3785 * vaxbsd-nat.c: Ditto.
3786 * windows-nat.c: Ditto.
3787 * xtensa-tdep.c: Ditto.
3788
37892014-01-07 Yao Qi <yao@codesourcery.com>
3790
3791 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3792
37932014-01-07 Yao Qi <yao@codesourcery.com>
3794 Joel Brobecker <brobecker@adacore.com>
3795
3796 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3797 (pdc_write_regs): Likewise.
3798 (fetch_regs_kernel_thread): Likewise.
3799 (store_regs_kernel_thread): Likewise.
3800
38012014-01-07 Joel Brobecker <brobecker@adacore.com>
3802
3803 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3804 tagged type objects to their actual type.
3805
38062014-01-07 Joel Brobecker <brobecker@adacore.com>
3807
3808 * ada-valprint.c (print_field_values): Add "language" parameter.
3809 Update calls to print_field_values and print_variant_part.
3810 Pass new parameter "language" in call to val_print instead
3811 of "current_language". Replace call to ada_val_print by call
3812 to val_print.
3813 (print_variant_part): Add "language" parameter.
3814 (ada_val_print_struct_union): Update call to print_field_values.
3815
38162014-01-07 Joel Brobecker <brobecker@adacore.com>
3817
3818 * ada-valprint.c (ui_memcpy): Delete.
3819 (ada_print_floating): Update documentation. Add empty line
3820 between between function documentation and implementation.
3821 Delete variable "buffer". Use ui_file_xstrdup in place of
3822 ui_file_put. Minor adjustments following this change.
3823
38242014-01-07 Joel Brobecker <brobecker@adacore.com>
3825
3826 * ada-valprint.c (ada_val_print_string): New function,
3827 extracted from ada_val_print_array.
3828 (ada_val_print_array): Replace extracted code by call
3829 to ada_val_print_string followed by a return. Move
3830 "else" branch to the function's top block.
3831
38322014-01-07 Joel Brobecker <brobecker@adacore.com>
3833
3834 * ada-valprint.c (ada_val_print_array): Move implementation
3835 down. Rename parameter "offset" and "val" into "offset_aligned"
3836 and "original_value" respectively. Add parameter "offset".
3837
38382014-01-07 Joel Brobecker <brobecker@adacore.com>
3839
3840 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3841 re-organizing the code. Change the "???" message printed
3842 when target type is a TYPE_CODE_UNDEF into
3843 "<ref to undefined type>".
3844
38452014-01-07 Joel Brobecker <brobecker@adacore.com>
3846
3847 * ada-valprint.c (print_record): Delete, implementation inlined...
3848 (ada_val_print_struct_union): ... here. Remove call to
3849 ada_check_typedef in inlined implementation.
3850
38512014-01-07 Joel Brobecker <brobecker@adacore.com>
3852
3853 * ada-valprint.c (ada_val_print_gnat_array): New function,
3854 extracted from ada_val_print_1;
3855 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3856 (ada_val_print_flt, ada_val_print_struct_union)
3857 (ada_val_print_ref): Likewise.
3858 (ada_val_print_1): Delete variables i and elttype.
3859 Replace extracted-out code by call to corresponding
3860 new functions.
3861
38622014-01-07 Joel Brobecker <brobecker@adacore.com>
3863
3864 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3865
38662014-01-07 Joel Brobecker <brobecker@adacore.com>
3867
3868 * ada-valprint.c (ada_val_print_1): Replace calls to
3869 ada_val_print_1 by calls to val_print.
3870
38712014-01-07 Joel Brobecker <brobecker@adacore.com>
3872
3873 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3874 Update calls to self accordingly. Replace calls to c_val_print
3875 by calls to val_print.
3876
38772014-01-07 Joel Brobecker <brobecker@adacore.com>
3878
3879 * ada-valprint.c (print_record): Delete declaration.
3880 (adjust_type_signedness, ada_val_print_1): Likewise.
3881 (ada_val_print): Move function implementation down.
3882 (print_variant_part, print_field_values, print_record):
3883 Move function implementation up.
3884
38852014-01-07 Joel Brobecker <brobecker@adacore.com>
3886
3887 * python/py-type.c (typy_get_name): New function.
3888 (type_object_getset): Add entry for attribute "name".
3889 * NEWS: Add entry mentioning this new attribute.
3890
38912014-01-07 Yao Qi <yao@codesourcery.com>
3892
3893 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3894 statement.
3895
38962014-01-07 Yao Qi <yao@codesourcery.com>
3897
3898 * gnu-nat.c (info_port_rights): Add qualifier const to
3899 argument args.
3900
39012014-01-07 Yao Qi <yao@codesourcery.com>
3902
3903 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3904
39052014-01-07 Yao Qi <yao@codesourcery.com>
3906
3907 * gnu-nat.c (make_inf) Update declaration.
3908 (make_inf): Make it static.
3909 (inf_set_traced): Likewise.
3910 (inf_port_to_thread, inf_task_died_status): Likewise.
3911
39122014-01-07 Yao Qi <yao@codesourcery.com>
3913
3914 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3915
39162014-01-07 Yao Qi <yao@codesourcery.com>
3917
3918 * gnu-nat.c (_initialize_gnu_nat): Declare.
3919
39202014-01-07 Yao Qi <yao@codesourcery.com>
3921
3922 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3923 'enum bfd_endian'.
3924 (struct gdbarch_info) <byte_order>: Change type to
3925 'enum bfd_endian'.
3926 <byte_order_for_code>: Likewise.
3927 * gdbarch.c, gdbarch.h: Regenerated.
3928
39292014-01-06 Sasha Smundak <asmundak@google.com>
3930
3931 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3932
39332014-01-06 Tom Tromey <tromey@redhat.com>
3934
3935 * doublest.c (convert_doublest_to_floatformat): Use const, not
3936 CONST.
3937 * somread.c (som_symtab_read): Likewise.
3938
39392014-01-07 Hui Zhu <hui@codesourcery.com>
3940
3941 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3942 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3943 (gdb_bfd_fopen): Ditto.
3944 (gdb_bfd_openr): Ditto.
3945 (gdb_bfd_openw): Ditto.
3946 (gdb_bfd_openr_iovec): Ditto.
3947 (gdb_bfd_fdopenr): Ditto.
3948 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3949 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3950 with xstrdup.
3951 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3952 with xstrdup.
3953 * symfile-mem.c (symbol_file_add_from_memory): Removed
3954 gdb_bfd_stash_filename.
3955
39562014-01-03 Doug Evans <dje@google.com>
3957
3958 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3959 output.
3960
39612014-01-01 Joel Brobecker <brobecker@adacore.com>
3962
3963 Update year range in copyright notice of all files.
3964
39652014-01-01 Joel Brobecker <brobecker@adacore.com>
3966
3967 * top.c (print_gdb_version): Set copyright year to 2014.
3968
39692014-01-01 Joel Brobecker <brobecker@adacore.com>
3970
3971 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3972
3973For older changes see ChangeLog-2013.
3974\f
3975Local Variables:
3976mode: change-log
3977left-margin: 8
3978fill-column: 74
3979version-control: never
3980coding: utf-8
3981End: