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