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