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