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