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