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