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