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