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