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