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