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