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