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