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