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