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