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