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