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