Commit | Line | Data |
---|---|---|
825828fc TT |
1 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * target-delegates.c: Rebuild. | |
4 | * target.c (update_current_target): Don't inherit or default | |
5 | to_thread_name. | |
6 | (target_thread_name): Unconditionally delegate. | |
7 | * target.h (struct target_ops) <to_thread_name>: Use | |
8 | TARGET_DEFAULT_RETURN. | |
9 | ||
4a7e6dda TT |
10 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11 | ||
12 | * target-delegates.c: Rebuild. | |
13 | * target.c (update_current_target): Don't inherit or default | |
14 | to_extra_thread_info. | |
15 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
16 | TARGET_DEFAULT_RETURN. | |
17 | ||
0db88c1d TT |
18 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
19 | ||
20 | * target-delegates.c: Rebuild. | |
21 | * target.c (update_current_target): Don't inherit or default | |
22 | to_has_exited. | |
23 | * target.h (struct target_ops) <to_has_exited>: Use | |
24 | TARGET_DEFAULT_RETURN.. | |
25 | ||
6a9fa051 TT |
26 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
27 | ||
28 | * target-delegates.c: Rebuild. | |
29 | * target.c (update_current_target): Don't inherit or default | |
30 | to_set_syscall_catchpoint. | |
31 | (return_one): Remove. | |
32 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
33 | TARGET_DEFAULT_RETURN. | |
34 | ||
62f64d7a TT |
35 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
36 | ||
37 | * target-delegates.c: Rebuild. | |
38 | * target.c (update_current_target): Don't inherit or default | |
39 | to_insert_exec_catchpoint. | |
40 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
41 | TARGET_DEFAULT_RETURN. | |
42 | ||
cda0f38c TT |
43 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
44 | ||
45 | * target-delegates.c: Rebuild. | |
46 | * target.c (update_current_target): Don't inherit or default | |
47 | to_insert_exec_catchpoint. | |
48 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
49 | TARGET_DEFAULT_RETURN. | |
50 | ||
95c3375e TT |
51 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
52 | ||
53 | * target-delegates.c: Rebuild. | |
54 | * target.c (update_current_target): Don't inherit or default | |
55 | to_remove_vfork_catchpoint. | |
56 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
57 | TARGET_DEFAULT_RETURN. | |
58 | ||
7e18a8dc TT |
59 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
60 | ||
61 | * target-delegates.c: Rebuild. | |
62 | * target.c (update_current_target): Don't inherit or default | |
63 | to_insert_vfork_catchpoint. | |
64 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
65 | TARGET_DEFAULT_RETURN. | |
66 | ||
e1a21fb7 TT |
67 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
68 | ||
69 | * target-delegates.c: Rebuild. | |
70 | * target.c (update_current_target): Don't inherit or default | |
71 | to_remove_fork_catchpoint. | |
72 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
73 | TARGET_DEFAULT_RETURN. | |
74 | ||
5958ebeb TT |
75 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
76 | ||
77 | * target-delegates.c: Rebuild. | |
78 | * target.c (update_current_target): Don't inherit or default | |
79 | to_insert_fork_catchpoint. | |
80 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
81 | TARGET_DEFAULT_RETURN. | |
82 | ||
340ba4bf TT |
83 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
84 | ||
85 | * target-delegates.c: Rebuild. | |
86 | * target.c (update_current_target): Don't inherit or default | |
87 | to_post_startup_inferior. | |
88 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
89 | TARGET_DEFAULT_IGNORE. | |
90 | ||
7634da87 TT |
91 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
92 | ||
93 | * target-delegates.c: Rebuild. | |
94 | * target.c (update_current_target): Don't inherit or default | |
95 | to_load. | |
96 | * target.h (struct target_ops) <to_load>: Use | |
97 | TARGET_DEFAULT_NORETURN. | |
98 | ||
e19e919f TT |
99 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
100 | ||
101 | * target-delegates.c: Rebuild. | |
102 | * target.c (update_current_target): Don't inherit or default | |
103 | to_terminal_info. | |
104 | * target.h (struct target_ops) <to_terminal_info>: Use | |
105 | TARGET_DEFAULT_FUNC. | |
106 | ||
c6ea8f79 TT |
107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
108 | ||
109 | * target-delegates.c: Rebuild. | |
110 | * target.c (update_current_target): Don't inherit or default | |
111 | to_terminal_save_ours. | |
112 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
113 | TARGET_DEFAULT_IGNORE. | |
114 | ||
e4a733f1 TT |
115 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
116 | ||
117 | * target-delegates.c: Rebuild. | |
118 | * target.c (update_current_target): Don't inherit or default | |
119 | to_terminal_ours. | |
120 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
121 | TARGET_DEFAULT_IGNORE. | |
122 | ||
74fcbef9 TT |
123 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
124 | ||
125 | * target-delegates.c: Rebuild. | |
126 | * target.c (update_current_target): Don't inherit or default | |
127 | to_terminal_ours_for_output. | |
128 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
129 | TARGET_DEFAULT_IGNORE. | |
130 | ||
ddeaacc9 TT |
131 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
132 | ||
133 | * target-delegates.c: Rebuild. | |
134 | * target.c (update_current_target): Don't inherit or default | |
135 | to_terminal_inferior. | |
136 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
137 | TARGET_DEFAULT_IGNORE. | |
138 | ||
0343661d TT |
139 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
140 | ||
141 | * target-delegates.c: Rebuild. | |
142 | * target.c (update_current_target): Don't inherit or default | |
143 | to_terminal_init. | |
144 | * target.h (struct target_ops) <to_terminal_init>: Use | |
145 | TARGET_DEFAULT_IGNORE. | |
146 | ||
77cdffe9 TT |
147 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
148 | ||
149 | * target-delegates.c: Rebuild. | |
150 | * target.c (update_current_target): Don't inherit or default | |
151 | to_can_accel_watchpoint_condition. | |
152 | * target.h (struct target_ops) | |
153 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
154 | ||
d03655e4 TT |
155 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
156 | ||
157 | * target-delegates.c: Rebuild. | |
158 | * target.c (update_current_target): Don't inherit or default | |
159 | to_region_ok_for_hw_watchpoint. | |
160 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
161 | Use TARGET_DEFAULT_FUNC. | |
162 | ||
65f160a9 TT |
163 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
164 | ||
165 | * target-delegates.c: Rebuild. | |
166 | * target.c (update_current_target): Don't inherit or default | |
167 | to_watchpoint_addr_within_range. | |
168 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
169 | Use TARGET_DEFAULT_FUNC. | |
170 | ||
61dd109f TT |
171 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
172 | ||
173 | * target-delegates.c: Rebuild. | |
174 | * target.c (update_current_target): Don't inherit or default | |
175 | to_remove_watchpoint. | |
176 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
177 | TARGET_DEFAULT_NORETURN. | |
178 | ||
016facd4 TT |
179 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
180 | ||
181 | * target-delegates.c: Rebuild. | |
182 | * target.c (update_current_target): Don't inherit or default | |
183 | to_insert_watchpoint. | |
184 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
185 | TARGET_DEFAULT_RETURN. | |
186 | ||
418dabac TT |
187 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
188 | ||
189 | * target-delegates.c: Rebuild. | |
190 | * target.c (update_current_target): Don't inherit or default | |
191 | to_remove_hw_breakpoint. | |
192 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
193 | TARGET_DEFAULT_RETURN. | |
194 | ||
61b371f9 TT |
195 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
196 | ||
197 | * target-delegates.c: Rebuild. | |
198 | * target.c (update_current_target): Don't inherit or default | |
199 | to_insert_hw_breakpoint. | |
200 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
201 | TARGET_DEFAULT_RETURN. | |
202 | ||
52b51d06 TT |
203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
204 | ||
205 | * target-delegates.c: Rebuild. | |
206 | * target.c (update_current_target): Don't inherit or default | |
207 | to_can_use_hw_breakpoint. | |
208 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
209 | TARGET_DEFAULT_RETURN. | |
210 | ||
f86e59b2 TT |
211 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
212 | ||
213 | * target-delegates.c: Rebuild. | |
214 | * target.c (update_current_target): Don't inherit or default | |
215 | to_files_info. | |
216 | * target.h (struct target_ops) <to_files_info>: Use | |
217 | TARGET_DEFAULT_IGNORE. | |
218 | ||
6c628163 TT |
219 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
220 | ||
221 | * target-delegates.c: Rebuild. | |
222 | * target.c (update_current_target): Don't inherit or default | |
223 | to_store. | |
224 | * target.h (struct target_ops) <to_store>: Use | |
225 | TARGET_DEFAULT_NORETURN. | |
226 | ||
bebd3233 TT |
227 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
228 | ||
229 | * target-delegates.c: Rebuild. | |
230 | * target.c (update_current_target): Don't inherit or default | |
231 | to_post_attach. | |
232 | * target.h (struct target_ops) <to_post_attach>: Use | |
233 | TARGET_DEFAULT_IGNORE. | |
234 | ||
a53f3625 TT |
235 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
236 | ||
237 | * target-delegates.c: Rebuild. | |
238 | * target.c (update_current_target): Don't inherit or default | |
239 | to_rcmd. | |
240 | (default_rcmd): New function. | |
241 | (do_monitor_command): Unconditionally delegate. | |
242 | * target.h (struct target_ops) <to_rmcd>: Use | |
243 | TARGET_DEFAULT_FUNC. | |
244 | ||
e9a29200 TT |
245 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
246 | ||
247 | * target-delegates.c: Rebuild. | |
248 | * target.c (init_dummy_target): Don't initialize to_attach. | |
249 | (target_attach): Unconditionally delegate. | |
250 | * target.h (struct target_ops) <to_attach>: Use | |
251 | TARGET_DEFAULT_FUNC. | |
252 | ||
09da0d0a TT |
253 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
254 | ||
255 | * target-delegates.c: Rebuild. | |
256 | * target.c (target_detach): Unconditionally delegate. | |
257 | (init_dummy_target): Don't initialize to_detach. | |
258 | * target.h (struct target_ops) <to_detach>: Use | |
259 | TARGET_DEFAULT_IGNORE. | |
260 | ||
5436ff03 TT |
261 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
262 | ||
263 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
264 | Add argument. | |
265 | (target_augmented_libraries_svr4_read): Add argument. | |
266 | * target.c (update_current_target): Update. | |
267 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
268 | argument. | |
269 | ||
f0d960ea TT |
270 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
271 | ||
272 | * target.h (struct target_ops) <to_call_history_range>: Add | |
273 | argument. | |
274 | * target.c (target_call_history_range): Add argument. | |
275 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
276 | argument. | |
277 | (record_btrace_call_history_from): Update. | |
278 | ||
ec0aea04 TT |
279 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
280 | ||
281 | * target.h (struct target_ops) <to_call_history_from>: Add | |
282 | argument. | |
283 | * target.c (target_call_history_from): Add argument. | |
284 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
285 | argument. | |
286 | ||
5df2fcba TT |
287 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
288 | ||
289 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
290 | * target.c (target_call_history): Add argument. | |
291 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
292 | argument. | |
293 | ||
4e99c6b7 TT |
294 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
295 | ||
296 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
297 | argument. | |
298 | * target.c (target_insn_history_range): Add argument. | |
299 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
300 | argument. | |
301 | (record_btrace_insn_history_from): Update. | |
302 | ||
9abc3ff3 TT |
303 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
304 | ||
305 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
306 | argument. | |
307 | * target.c (target_insn_history_from): Add argument. | |
308 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
309 | argument. | |
310 | ||
7a6c5609 TT |
311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
312 | ||
313 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
314 | * target.c (target_insn_history): Add argument. | |
315 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
316 | argument. | |
317 | ||
606183ac TT |
318 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
319 | ||
320 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
321 | * target.c (target_goto_record): Add argument. | |
322 | * record-full.c (record_full_goto): Add 'self' argument. | |
323 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
324 | ||
307a1b91 TT |
325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
326 | ||
327 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
328 | * target.c (target_goto_record_end): Add argument. | |
329 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
330 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
331 | ||
08475817 TT |
332 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
333 | ||
334 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
335 | argument. | |
336 | * target.c (target_goto_record_begin): Add argument. | |
337 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
338 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
339 | argument. | |
340 | ||
1c63c994 TT |
341 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
342 | ||
343 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
344 | argument. | |
345 | * target.c (target_record_is_replaying): Add argument. | |
346 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
347 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
348 | argument. | |
349 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
350 | (record_btrace_prepare_to_store, record_btrace_resume) | |
351 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
352 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
353 | Update. | |
354 | ||
d1b55219 TT |
355 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
356 | ||
357 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
358 | * target.c (target_delete_record): Add argument. | |
359 | * record-full.c (record_full_delete): Add 'self' argument. | |
360 | ||
1390f529 TT |
361 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
362 | ||
363 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
364 | * target.c (target_save_record): Add argument. | |
365 | * record-full.c (record_full_save): Add 'self' argument. | |
366 | (record_full_save): Add 'self' argument. | |
367 | ||
630d6a4a TT |
368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
369 | ||
370 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
371 | * target.c (target_info_record): Add argument. | |
372 | * record.c (info_record_command): Add argument. | |
373 | * record-full.c (record_full_info): Add 'self' argument. | |
374 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
375 | ||
c6cd7c02 TT |
376 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
377 | ||
378 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
379 | * target.c (target_stop_recording): Add argument. | |
380 | * record.c (record_stop): Add argument. | |
381 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
382 | argument. | |
383 | ||
39c49f83 TT |
384 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
385 | ||
386 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
387 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
388 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
389 | argument. | |
390 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
391 | (_initialize_amd64_linux_nat): Use it. | |
392 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
393 | (_initialize_i386_linux_nat): Use it. | |
394 | ||
1777056d TT |
395 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
396 | ||
397 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
398 | * target.c (target_teardown_btrace): Add argument. | |
399 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
400 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
401 | argument. | |
402 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
403 | argument. | |
404 | ||
25e95349 TT |
405 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
406 | ||
407 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
408 | * target.c (target_disable_btrace): Add argument. | |
409 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
410 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
411 | argument. | |
412 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
413 | argument. | |
414 | ||
e3c49f88 TT |
415 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
416 | ||
417 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
418 | * target.c (target_enable_btrace): Add argument. | |
419 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
420 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
421 | argument. | |
422 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
423 | argument. | |
424 | ||
fe38f897 TT |
425 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
426 | ||
427 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
428 | (target_can_use_agent): Add argument. | |
429 | * target.c (update_current_target): Update. | |
430 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
431 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
432 | ||
2c152180 TT |
433 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
434 | ||
435 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
436 | (target_use_agent): Add argument. | |
437 | * target.c (update_current_target): Update. | |
438 | * remote.c (remote_use_agent): Add 'self' argument. | |
439 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
440 | ||
a893e81f TT |
441 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
442 | ||
443 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
444 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
445 | (target_traceframe_info): Add argument. | |
446 | * target.c (update_current_target): Update. | |
447 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
448 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
449 | ||
c686c57f TT |
450 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
451 | ||
452 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
453 | argument. | |
454 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
455 | 'self' argument. | |
456 | * target.c (update_current_target): Update. | |
457 | * remote.c (struct target_ops) | |
458 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
459 | * linux-nat.c (struct target_ops) | |
460 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
461 | ||
61fc905d TT |
462 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
463 | ||
464 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
465 | Add argument. | |
466 | (target_static_tracepoint_marker_at): Add argument. | |
467 | * target.c (update_current_target): Update. | |
468 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
469 | argument. | |
470 | ||
c378d69d TT |
471 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
472 | ||
473 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
474 | (target_set_permissions): Add argument. | |
475 | * target.c (update_current_target): Update. | |
476 | * remote.c (remote_set_permissions): Add 'self' argument. | |
477 | (remote_start_remote): Update. | |
478 | ||
bd7ae0f5 TT |
479 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
480 | ||
481 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
482 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
483 | (target_get_tib_address): Add argument. | |
484 | * target.c (update_current_target): Update. | |
485 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
486 | ||
d9e68a2c TT |
487 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
488 | ||
489 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
490 | (target_set_trace_notes): Add argument. | |
491 | * target.c (update_current_target): Update. | |
492 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
493 | ||
4da384be TT |
494 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
495 | ||
496 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
497 | argument. | |
498 | (target_set_trace_buffer_size): Add argument. | |
499 | * target.c (update_current_target): Update. | |
500 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
501 | ||
736d5b1f TT |
502 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
503 | ||
504 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
505 | argument. | |
506 | (target_set_circular_trace_buffer): Add argument. | |
507 | * target.c (update_current_target): Update. | |
508 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
509 | argument. | |
510 | ||
37b25738 TT |
511 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
512 | ||
513 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
514 | argument. | |
515 | (target_set_disconnected_tracing): Add argument. | |
516 | * target.c (update_current_target): Update. | |
517 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
518 | ||
0e67620a TT |
519 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
520 | ||
521 | * target.h (struct target_ops) | |
522 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
523 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
524 | * target.c (update_current_target): Update. | |
525 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
526 | argument. | |
527 | ||
88ee6f45 TT |
528 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
529 | ||
530 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
531 | argument. | |
532 | (target_get_raw_trace_data): Add argument. | |
533 | * target.c (update_current_target): Update. | |
534 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
535 | ||
181e3713 TT |
536 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
537 | ||
538 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
539 | Add argument. | |
540 | (target_upload_trace_state_variables): Add argument. | |
541 | * target.c (update_current_target): Update. | |
542 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
543 | argument. | |
544 | (remote_start_remote): Update. | |
545 | ||
ab6617cc TT |
546 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
547 | ||
548 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
549 | argument. | |
550 | (target_upload_tracepoints): Add argument. | |
551 | * target.c (update_current_target): Update. | |
552 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
553 | (remote_start_remote): Update. | |
554 | ||
dc3decaf TT |
555 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
556 | ||
557 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
558 | (target_save_trace_data): Add argument. | |
559 | * target.c (update_current_target): Update. | |
560 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
561 | ||
4011015b TT |
562 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
563 | ||
564 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
565 | argument. | |
566 | * target.h (struct target_ops) | |
567 | <to_get_trace_state_variable_value>: Add argument. | |
568 | (target_get_trace_state_variable_value): Add argument. | |
569 | * target.c (update_current_target): Update. | |
570 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
571 | argument. | |
572 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
573 | ||
bd4c6793 TT |
574 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
575 | ||
576 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
577 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
578 | (target_trace_find): Add argument. | |
579 | * target.c (update_current_target): Update. | |
580 | * remote.c (remote_trace_find): Add 'self' argument. | |
581 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
582 | ||
74499f1b TT |
583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
584 | ||
585 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
586 | (target_trace_stop): Add argument. | |
587 | * target.c (update_current_target): Update. | |
588 | * remote.c (remote_trace_stop): Add 'self' argument. | |
589 | ||
db90e85c TT |
590 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
591 | ||
592 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
593 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
594 | argument. | |
595 | (target_get_tracepoint_status): Add argument. | |
596 | * target.c (update_current_target): Update. | |
597 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
598 | ||
8bd200f1 TT |
599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
600 | ||
601 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
602 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
603 | argument. | |
604 | (target_get_trace_status): Add argument. | |
605 | * target.c (update_current_target): Update. | |
606 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
607 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
608 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
609 | ||
e2d1aae3 TT |
610 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
611 | ||
612 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
613 | (target_trace_start): Add argument. | |
614 | * target.c (update_current_target): Update. | |
615 | * remote.c (remote_trace_start): Add 'self' argument. | |
616 | ||
583f9a86 TT |
617 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
618 | ||
619 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
620 | Add argument. | |
621 | (target_trace_set_readonly_regions): Add argument. | |
622 | * target.c (update_current_target): Update. | |
623 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
624 | argument. | |
625 | ||
780b049c TT |
626 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
627 | ||
628 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
629 | argument. | |
630 | (target_disable_tracepoint): Add argument. | |
631 | * target.c (update_current_target): Update. | |
632 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
633 | ||
46670d57 TT |
634 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
635 | ||
636 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
637 | argument. | |
638 | (target_enable_tracepoint): Add argument. | |
639 | * target.c (update_current_target): Update. | |
640 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
641 | ||
559d2b81 TT |
642 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
643 | ||
644 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
645 | Add argument. | |
646 | (target_download_trace_state_variable): Add argument. | |
647 | * target.c (update_current_target): Update. | |
648 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
649 | argument. | |
650 | ||
a52a8357 TT |
651 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
652 | ||
653 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
654 | argument. | |
655 | (target_can_download_tracepoint): Add argument. | |
656 | * target.c (update_current_target): Update. | |
657 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
658 | ||
548f7808 TT |
659 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
660 | ||
661 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
662 | argument. | |
663 | (target_download_tracepoint): Add argument. | |
664 | * target.c (update_current_target): Update. | |
665 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
666 | ||
ecae04e1 TT |
667 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
668 | ||
669 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
670 | (target_trace_init): Add argument. | |
671 | * target.c (update_current_target): Update. | |
672 | * remote.c (remote_trace_init): Add 'self' argument. | |
673 | ||
fab5aa7c TT |
674 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
675 | ||
676 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
677 | * target.c (target_fileio_readlink): Add argument. | |
678 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
679 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
680 | ||
dbbca37d TT |
681 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
682 | ||
683 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
684 | * target.c (target_fileio_unlink): Add argument. | |
685 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
686 | (remote_file_delete): Update. | |
687 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
688 | ||
df39ea25 TT |
689 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
690 | ||
691 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
692 | * target.c (target_fileio_close): Add argument. | |
693 | * remote.c (remote_hostio_close): Add 'self' argument. | |
694 | (remote_hostio_close_cleanup): Update. | |
695 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
696 | Update. | |
697 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
698 | ||
a3be983c TT |
699 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
700 | ||
701 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
702 | * target.c (target_fileio_pread): Add argument. | |
703 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
704 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
705 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
706 | ||
0d866f62 TT |
707 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
708 | ||
709 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
710 | * target.c (target_fileio_pwrite): Add argument. | |
711 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
712 | (remote_file_put): Update. | |
713 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
714 | ||
cd897586 TT |
715 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
716 | ||
717 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
718 | * target.c (target_fileio_open): Add argument. | |
719 | * remote.c (remote_hostio_open): Add 'self' argument. | |
720 | (remote_bfd_iovec_open): Add 'self' argument. | |
721 | (remote_file_put): Add 'self' argument. | |
722 | (remote_file_get): Add 'self' argument. | |
723 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
724 | ||
78eff0ec TT |
725 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
726 | ||
727 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
728 | Add argument. | |
729 | (target_can_run_breakpoint_commands): Add argument. | |
730 | * target.c (update_current_target): Update. | |
731 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
732 | argument. | |
733 | (remote_insert_breakpoint): Add 'self' argument. | |
734 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
735 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
736 | ||
efcc2da7 TT |
737 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
738 | ||
739 | * target.h (struct target_ops) | |
740 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
741 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
742 | argument. | |
743 | * target.c (update_current_target): Update. | |
744 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
745 | argument. | |
746 | (remote_insert_breakpoint): Add 'self' argument. | |
747 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
748 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
749 | ||
6de37a3a TT |
750 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
751 | ||
752 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
753 | argument. | |
754 | (target_supports_string_tracing): Add argument. | |
755 | * target.c (update_current_target): Update. | |
756 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
757 | ||
2bfc0540 TT |
758 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
759 | ||
760 | * target.h (struct target_ops) | |
761 | <to_supports_disable_randomization>: Add argument. | |
762 | * target.c (find_default_supports_disable_randomization): Add | |
763 | argument. | |
764 | (target_supports_disable_randomization): Add argument. | |
765 | (find_default_supports_disable_randomization): Add 'self' | |
766 | argument. | |
767 | * remote.c (extended_remote_supports_disable_randomization): Add | |
768 | 'self' argument. | |
769 | (remote_supports_disable_randomization): Add 'self' argument. | |
770 | (extended_remote_create_inferior): Update. | |
771 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
772 | 'self' argument. | |
773 | ||
7d178d6a TT |
774 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
775 | ||
776 | * target.h (struct target_ops) | |
777 | <to_supports_enable_disable_tracepoint>: Add argument. | |
778 | (target_supports_enable_disable_tracepoint): Add argument. | |
779 | * target.c (update_current_target): Update. | |
780 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
781 | argument. | |
782 | ||
86ce2668 TT |
783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
784 | ||
785 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
786 | argument. | |
787 | (target_supports_multi_process): Add argument. | |
788 | * target.c (update_current_target): Update. | |
789 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
790 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
791 | argument. | |
792 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
793 | argument. | |
794 | ||
4c612759 TT |
795 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
796 | ||
797 | * target.h (struct target_ops) <to_execution_direction>: Add | |
798 | argument. | |
799 | (target_execution_direction): Add argument. | |
800 | * target.c (default_execution_direction): Add 'self' argument. | |
801 | * record-full.c (record_full_execution_direction): Add 'self' | |
802 | argument. | |
803 | ||
19db3e69 TT |
804 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
805 | ||
806 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
807 | argument. | |
808 | (target_can_execute_reverse): Add argument. | |
809 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
810 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
811 | argument. | |
812 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
813 | argument. | |
814 | ||
1e6b91a4 TT |
815 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
816 | ||
817 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
818 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
819 | argument. | |
820 | (target_get_ada_task_ptid): Add argument. | |
821 | * target.c (update_current_target): Update. | |
822 | (default_get_ada_task_ptid): Add 'self' argument. | |
823 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
824 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
825 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
826 | argument. | |
827 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
828 | argument. | |
829 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
830 | argument. | |
831 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
832 | argument. | |
833 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
834 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
835 | argument. | |
836 | ||
3c80fb48 TT |
837 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
838 | ||
839 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
840 | (target_goto_bookmark): Add argument. | |
841 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
842 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
843 | ||
dd0e2830 TT |
844 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
845 | ||
846 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
847 | (target_get_bookmark): Add argument. | |
848 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
849 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
850 | ||
fc6691b2 TT |
851 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
852 | ||
853 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
854 | argument. | |
855 | (target_make_corefile_notes): Add argument. | |
856 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
857 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
858 | (procfs_make_note_section): Add 'self' argument. | |
859 | (procfs_make_note_section): Add 'self' argument. | |
860 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
861 | argument. | |
862 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
863 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
864 | * exec.c (exec_make_note_section): Add 'self' argument. | |
865 | (exec_make_note_section): Add 'self' argument. | |
866 | ||
2e73927c TT |
867 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
868 | ||
869 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
870 | argument. | |
871 | (target_find_memory_regions): Add argument. | |
872 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
873 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
874 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
875 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
876 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
877 | * exec. (exec_do_find_memory_regions): New global. | |
878 | (exec_set_find_memory_regions): Rewrite. | |
879 | (exec_find_memory_regions): New function. | |
880 | (init_exec_ops): Use exec_find_memory_regions. | |
881 | ||
2a9a2795 TT |
882 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
883 | ||
884 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
885 | argument. | |
886 | * target.c (find_default_supports_non_stop): Add argument. | |
887 | (target_supports_non_stop): Add argument. | |
888 | (find_default_supports_non_stop): Add 'self' argument. | |
889 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
890 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
891 | ||
4ab76ea3 TT |
892 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
893 | ||
894 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
895 | (target_log_command): Add argument. | |
896 | * serial.h (serial_log_command): Add 'self' argument. | |
897 | * serial.c (serial_log_command): Add 'self' argument. | |
898 | ||
8dd27370 TT |
899 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
900 | ||
901 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
902 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
903 | argument. | |
904 | (target_pid_to_exec_file): Add argument. | |
905 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
906 | (update_current_target): Update. | |
907 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
908 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
909 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
910 | (linux_handle_extended_wait): Update. | |
911 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
912 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
913 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
914 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
915 | ||
1aac633b TT |
916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
917 | ||
918 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
919 | (target_rcmd): Add argument. | |
920 | * target.c (debug_to_rcmd): Add argument. | |
921 | (update_current_target, do_monitor_command): Update. | |
922 | * remote.c (remote_rcmd): Add 'self' argument. | |
923 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
924 | ||
1eab8a48 TT |
925 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
926 | ||
927 | * windows-nat.c (windows_stop): Add 'self' argument. | |
928 | * target.h (struct target_ops) <to_stop>: Add argument. | |
929 | * target.c (target_stop): Add argument. | |
930 | (debug_to_stop): Add argument. | |
931 | (update_current_target): Update. | |
932 | * remote.c (remote_stop): Add 'self' argument. | |
933 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
934 | (gdbsim_cntrl_c): Update. | |
935 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
936 | * procfs.c (procfs_stop): Add 'self' argument. | |
937 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
938 | * monitor.c (monitor_stop): Add 'self' argument. | |
939 | (monitor_open): Update. | |
940 | * linux-nat.c (linux_nat_stop): Add argument. | |
941 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
942 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
943 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
944 | ||
503a628d TT |
945 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
946 | ||
947 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
948 | * target.c (target_thread_name): Add argument. | |
949 | (update_current_target): Update. | |
950 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
951 | ||
c15906d8 TT |
952 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
953 | ||
954 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
955 | argument. | |
956 | (target_extra_thread_info): Add argument. | |
957 | * target.c (update_current_target): Update. | |
958 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
959 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
960 | argument. | |
961 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
962 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
963 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
964 | argument. | |
965 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
966 | argument. | |
967 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
968 | argument. | |
969 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
970 | argument. | |
971 | ||
daf5e9b6 TT |
972 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
973 | ||
974 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
975 | * target.c (target_program_signals): Add argument. | |
976 | * remote.c (remote_program_signals): Add 'self' argument. | |
977 | ||
94bedb42 TT |
978 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
979 | ||
980 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
981 | * target.c (target_pass_signals): Add argument. | |
982 | * remote.c (remote_pass_signals): Add 'self' argument. | |
983 | (remote_start_remote): Update. | |
984 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
985 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
986 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
987 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
988 | ||
da82bd6b TT |
989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
990 | ||
991 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
992 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
993 | (target_can_run): Add argument. | |
994 | * target.c (debug_to_can_run): Add argument. | |
995 | (update_current_target): Update. | |
996 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
997 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
998 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
999 | ||
d796e1d6 TT |
1000 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1001 | ||
1002 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
1003 | (target_has_exited): Add argument. | |
1004 | * target.c (debug_to_has_exited): Add argument. | |
1005 | (update_current_target): Update. | |
1006 | ||
ff214e67 TT |
1007 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1008 | ||
1009 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
1010 | argument. | |
1011 | (target_set_syscall_catchpoint): Add argument. | |
1012 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
1013 | argument. | |
1014 | * target.c (update_current_target): Update. | |
1015 | ||
758e29d2 TT |
1016 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1017 | ||
1018 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
1019 | argument. | |
1020 | (target_remove_exec_catchpoint): Add argument. | |
1021 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
1022 | (update_current_target): Update. | |
1023 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
1024 | argument. | |
1025 | ||
ba025e51 TT |
1026 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1027 | ||
1028 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
1029 | argument. | |
1030 | (target_insert_exec_catchpoint): Add argument. | |
1031 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
1032 | (update_current_target): Update. | |
1033 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
1034 | argument. | |
1035 | ||
e98cf0cd TT |
1036 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1037 | ||
1038 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
1039 | argument. | |
1040 | (target_remove_vfork_catchpoint): Add argument. | |
1041 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
1042 | (update_current_target): Update. | |
1043 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
1044 | argument. | |
1045 | ||
3ecc7da0 TT |
1046 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1047 | ||
1048 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
1049 | argument. | |
1050 | (target_insert_vfork_catchpoint): Add argument. | |
1051 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
1052 | (update_current_target): Update. | |
1053 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
1054 | argument. | |
1055 | ||
973fc227 TT |
1056 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1057 | ||
1058 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
1059 | argument. | |
1060 | (target_remove_fork_catchpoint): Add argument. | |
1061 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
1062 | (update_current_target): Update. | |
1063 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
1064 | argument. | |
1065 | ||
a863b201 TT |
1066 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1067 | ||
1068 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
1069 | argument. | |
1070 | (target_insert_fork_catchpoint): Add argument. | |
1071 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
1072 | (update_current_target): Update. | |
1073 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
1074 | argument. | |
1075 | ||
2e97a79e TT |
1076 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1077 | ||
1078 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
1079 | argument. | |
1080 | (target_post_startup_inferior): Add argument. | |
1081 | * target.c (debug_to_post_startup_inferior): Add argument. | |
1082 | (update_current_target): Update. | |
1083 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
1084 | argument. | |
1085 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
1086 | argument. | |
1087 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
1088 | argument. | |
1089 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
1090 | argument. | |
1091 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
1092 | 'self' argument. | |
1093 | (super_post_startup_inferior): Likewise. | |
1094 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
1095 | 'self' argument. | |
1096 | (super_post_startup_inferior): Likewise. | |
1097 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
1098 | Add 'self' argument. | |
1099 | (super_post_startup_inferior): Likewise. | |
1100 | ||
71a9f134 TT |
1101 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1102 | ||
1103 | * target.h (struct target_ops) <to_load>: Add argument. | |
1104 | * target.c (target_load): Add argument. | |
1105 | (debug_to_load): Add argument. | |
1106 | (update_current_target): Update. | |
1107 | * remote.c (remote_load): Add 'self' argument. | |
1108 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
1109 | * remote-mips.c (mips_load): Add 'self' argument. | |
1110 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
1111 | * monitor.c (monitor_load): Add 'self' argument. | |
1112 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
1113 | ||
0a4f40a2 TT |
1114 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1115 | ||
1116 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
1117 | (target_terminal_info): Add argument. | |
1118 | * target.c (debug_to_terminal_info): Add argument. | |
1119 | (default_terminal_info): Likewise. | |
1120 | * inflow.c (child_terminal_info): Add 'self' argument. | |
1121 | * inferior.h (child_terminal_info): Add 'self' argument. | |
1122 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
1123 | ||
ae3bd431 TT |
1124 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1125 | ||
1126 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
1127 | argument. | |
1128 | (target_terminal_save_ours): Add argument. | |
1129 | * target.c (debug_to_terminal_save_ours): Add argument. | |
1130 | (update_current_target): Update. | |
1131 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
1132 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
1133 | ||
e3594fd1 TT |
1134 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1135 | ||
1136 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
1137 | (target_terminal_ours): Add argument. | |
1138 | * target.c (debug_to_terminal_ours): Add argument. | |
1139 | (update_current_target): Update. | |
1140 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
1141 | (remote_close): Update. | |
1142 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
1143 | * inflow.c (terminal_ours): Add 'self' argument. | |
1144 | * inferior.h (terminal_ours): Add 'self' argument. | |
1145 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
1146 | ||
2e1e1a19 TT |
1147 | 2014-02-19 Pedro Alves <palves@redhat.com> |
1148 | Tom Tromey <tromey@redhat.com> | |
1149 | ||
1150 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
1151 | argument. | |
1152 | (target_terminal_ours_for_output): Add argument. | |
1153 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
1154 | (update_current_target): Update. | |
1155 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
1156 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
1157 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
1158 | ||
d2f640d4 TT |
1159 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1160 | ||
1161 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
1162 | argument. | |
1163 | * target.c (target_terminal_inferior): Add argument. | |
1164 | (update_current_target): Update. | |
1165 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
1166 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
1167 | * inflow.c (terminal_inferior): Add 'self' argument. | |
1168 | * inferior.h (terminal_inferior): Add 'self' argument. | |
1169 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
1170 | (go32_terminal_inferior): Add 'self' argument. | |
1171 | ||
c42bf286 TT |
1172 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1173 | ||
1174 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
1175 | (target_terminal_init): Add argument. | |
1176 | * target.c (debug_to_terminal_init): Add argument. | |
1177 | (update_current_target): Update. | |
1178 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
1179 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
1180 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
1181 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
1182 | ||
c3a5ff89 TT |
1183 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1184 | ||
1185 | * target.h (struct target_ops) | |
1186 | <to_can_accel_watchpoint_condition>: Add argument. | |
1187 | (target_can_accel_watchpoint_condition): Add argument. | |
1188 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
1189 | argument. | |
1190 | (update_current_target): Update. | |
1191 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
1192 | 'self' argument. | |
1193 | ||
31568a15 TT |
1194 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1195 | ||
1196 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
1197 | Add argument. | |
1198 | (target_region_ok_for_hw_watchpoint): Add argument. | |
1199 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
1200 | (default_region_ok_for_hw_watchpoint): Add argument. | |
1201 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
1202 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
1203 | argument. | |
1204 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
1205 | argument. | |
1206 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
1207 | argument. | |
1208 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
1209 | 'self' argument. | |
1210 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
1211 | 'self' argument. | |
1212 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
1213 | 'self' argument. | |
1214 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
1215 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
1216 | 'self' argument. | |
1217 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
1218 | Add 'self' argument. | |
1219 | ||
7bb99c53 TT |
1220 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1221 | ||
1222 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
1223 | argument. | |
1224 | (target_insert_watchpoint): Add argument. | |
1225 | * target.c (debug_to_insert_watchpoint): Add argument. | |
1226 | (update_current_target): Update. | |
1227 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
1228 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
1229 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
1230 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
1231 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
1232 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
1233 | argument. | |
1234 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
1235 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
1236 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
1237 | argument. | |
1238 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
1239 | argument. | |
1240 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
1241 | argument. | |
1242 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
1243 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
1244 | argument. | |
1245 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
1246 | 'self' argument. | |
1247 | ||
11b5219a TT |
1248 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1249 | ||
1250 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
1251 | argument. | |
1252 | (target_remove_watchpoint): Add argument. | |
1253 | * target.c (debug_to_remove_watchpoint): Add argument. | |
1254 | (update_current_target): Update. | |
1255 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
1256 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
1257 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
1258 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
1259 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
1260 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
1261 | argument. | |
1262 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
1263 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
1264 | argument. | |
1265 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
1266 | argument. | |
1267 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
1268 | argument. | |
1269 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
1270 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
1271 | argument. | |
1272 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
1273 | 'self' argument. | |
1274 | ||
a64dc96c TT |
1275 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1276 | ||
1277 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
1278 | argument. | |
1279 | (target_remove_hw_breakpoint): Add argument. | |
1280 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
1281 | (update_current_target): Update. | |
1282 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
1283 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
1284 | argument. | |
1285 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
1286 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
1287 | argument. | |
1288 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
1289 | 'self' argument. | |
1290 | ||
23a26771 TT |
1291 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1292 | ||
1293 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
1294 | argument. | |
1295 | (target_insert_hw_breakpoint): Add argument. | |
1296 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
1297 | (update_current_target): Update. | |
1298 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
1299 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
1300 | argument. | |
1301 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
1302 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
1303 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
1304 | argument. | |
1305 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
1306 | 'self' argument. | |
1307 | ||
5461485a TT |
1308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1309 | ||
1310 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
1311 | argument. | |
1312 | (target_can_use_hardware_watchpoint): Add argument. | |
1313 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
1314 | (update_current_target): Update. | |
1315 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
1316 | argument. | |
1317 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
1318 | argument. | |
1319 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
1320 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
1321 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
1322 | argument. | |
1323 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
1324 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
1325 | argument. | |
1326 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
1327 | argument. | |
1328 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
1329 | argument. | |
1330 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
1331 | argument. | |
1332 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
1333 | argument. | |
1334 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
1335 | argument. | |
1336 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
1337 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
1338 | argument. | |
1339 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
1340 | 'self' argument. | |
1341 | ||
f045800c TT |
1342 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1343 | ||
1344 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
1345 | (target_post_attach): Add argument. | |
1346 | * target.c (debug_to_post_attach): Add argument. | |
1347 | (update_current_target): Update. | |
1348 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
1349 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
1350 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
1351 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
1352 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
1353 | ||
de90e03d TT |
1354 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1355 | ||
1356 | * windows-nat.c (windows_close): Add 'self' argument. | |
1357 | * tracepoint.c (tfile_close): Add 'self' argument. | |
1358 | * target.h (struct target_ops) <to_close>: Add argument. | |
1359 | * target.c (target_close): Add argument. | |
1360 | (update_current_target): Update. | |
1361 | * remote.c (remote_close): Add 'self' argument. | |
1362 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
1363 | * remote-mips.c (mips_close): Add 'self' argument. | |
1364 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
1365 | * record-full.c (record_full_close): Add 'self' argument. | |
1366 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
1367 | * monitor.h (monitor_close): Add 'self' argument. | |
1368 | * monitor.c (monitor_close): Add 'self' argument. | |
1369 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
1370 | * linux-nat.c (linux_nat_close): Add argument. | |
1371 | * go32-nat.c (go32_close): Add 'self' argument. | |
1372 | * exec.c (exec_close_1): Add 'self' argument. | |
1373 | * ctf.c (ctf_close): Add 'self' argument. | |
1374 | * corelow.c (core_close): Add 'self' argument. | |
1375 | (core_close_cleanup): Update. | |
1376 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
1377 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
1378 | ||
9dd130a0 TT |
1379 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1380 | ||
1381 | * remote.c (remote_load): New function. | |
1382 | (init_remote_ops): Use it. | |
1383 | ||
46917d26 TT |
1384 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1385 | ||
1386 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
1387 | argument. | |
1388 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
1389 | * remote.c (remote_supports_btrace): Add "self" argument. | |
1390 | * target-delegates.c: Rebuild. | |
1391 | * target.c (target_supports_btrace): Remove. | |
1392 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
1393 | target_ops argument. | |
1394 | (target_supports_btrace): New define. | |
1395 | ||
6b84065d TT |
1396 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1397 | ||
1398 | * record-full.c (record_full_beneath_to_resume_ops) | |
1399 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
1400 | (record_full_beneath_to_wait) | |
1401 | (record_full_beneath_to_store_registers_ops) | |
1402 | (record_full_beneath_to_store_registers) | |
1403 | (record_full_beneath_to_xfer_partial_ops) | |
1404 | (record_full_beneath_to_xfer_partial) | |
1405 | (record_full_beneath_to_insert_breakpoint_ops) | |
1406 | (record_full_beneath_to_insert_breakpoint) | |
1407 | (record_full_beneath_to_remove_breakpoint_ops) | |
1408 | (record_full_beneath_to_remove_breakpoint) | |
1409 | (record_full_beneath_to_stopped_by_watchpoint) | |
1410 | (record_full_beneath_to_stopped_data_address) | |
1411 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
1412 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
1413 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
1414 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
1415 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
1416 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
1417 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
1418 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
1419 | (record_full_resume, record_full_wait_1) | |
1420 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
1421 | (record_full_store_registers, record_full_xfer_partial) | |
1422 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
1423 | (record_full_async, record_full_core_xfer_partial): Use target | |
1424 | delegation. | |
1425 | * target-delegates.c: Rebuild. | |
1426 | * target.c (current_xfer_partial): Remove. | |
1427 | (update_current_target): Do not INHERIT or de_fault | |
1428 | to_insert_breakpoint, to_remove_breakpoint, | |
1429 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
1430 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
1431 | (default_xfer_partial): Simplify. | |
1432 | (current_xfer_partial): Remove. | |
1433 | (target_wait, target_resume): Simplify. | |
1434 | (find_default_can_async_p, find_default_is_async_p): Update. | |
1435 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
1436 | to_xfer_partial, to_stopped_by_watchpoint, | |
1437 | to_stopped_data_address. | |
1438 | (target_store_registers): Simplify. | |
1439 | (forward_target_remove_breakpoint) | |
1440 | (forward_target_insert_breakpoint): Remove. | |
1441 | (target_remove_breakpoint, target_insert_breakpoint) | |
1442 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
1443 | * target.h (struct target_ops) <to_resume, to_wait, | |
1444 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
1445 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
1446 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
1447 | markup. | |
1448 | (forward_target_remove_breakpoint) | |
1449 | (forward_target_insert_breakpoint): Remove. | |
1450 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
1451 | directly. | |
1452 | (record_btrace_insert_breakpoint): Delegate directly. | |
1453 | ||
1101cb7b TT |
1454 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1455 | ||
1456 | PR build/7701: | |
1457 | * target-delegates.c: New file. | |
1458 | * target.c: Include target-delegates.c. | |
1459 | (init_dummy_target): Call install_dummy_methods. | |
1460 | (complete_target_initialization): Call install_delegators. | |
1461 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
1462 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
1463 | * make-target-delegates: New file. | |
1464 | ||
8b06beed TT |
1465 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1466 | ||
1467 | * record.c (find_record_target): Use find_target_at. | |
1468 | * target.c (find_target_at): New function. | |
1469 | * target.h (find_target_at): Declare. | |
1470 | ||
6a109b6b TT |
1471 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
1472 | ||
1473 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
1474 | Add 'ops' argument. | |
1475 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
1476 | 'ops' argument. | |
1477 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
1478 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
1479 | 'ops' argument. | |
1480 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
1481 | argument. | |
1482 | * linux-nat.c (save_sigtrap): Update. | |
1483 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
1484 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
1485 | (linux_nat_close): Update. | |
1486 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
1487 | argument. | |
1488 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
1489 | argument. | |
1490 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
1491 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
1492 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
1493 | (tmp_to_async): Add 'ops' argument. | |
1494 | (record_full_stopped_by_watchpoint, record_full_async) | |
1495 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
1496 | argument. | |
1497 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
1498 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
1499 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
1500 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
1501 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
1502 | (remote_stopped_data_address): Update. | |
1503 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
1504 | * target.c (update_current_target) | |
1505 | (find_default_can_async_p, find_default_is_async_p): Update. | |
1506 | (init_dummy_target): Update. | |
1507 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
1508 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
1509 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
1510 | (target_can_async_p, target_is_async_p, target_async) | |
1511 | (target_stopped_by_watchpoint): Update. | |
1512 | ||
e095146b YQ |
1513 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
1514 | ||
1515 | PR gdb/16220 | |
1516 | * gdbarch.sh: Remove startup_gdbarch. | |
1517 | * gdbarch.c: Regenerated. | |
1518 | * gdbarch.h: Likewise. | |
1519 | ||
bc3c6b36 KB |
1520 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
1521 | ||
1522 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
1523 | (rl78_return_value): Add g10 support. | |
1524 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
1525 | g10. | |
1526 | ||
98dc0167 | 1527 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
1528 | |
1529 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
1530 | (SUBDIR_GUILE_SRCS): Ditto. | |
1531 | (scm-gsmob.o): Ditto. | |
1532 | ||
842c05cd YQ |
1533 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
1534 | ||
1535 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
1536 | ||
25c0bd04 YQ |
1537 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
1538 | ||
1539 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
1540 | mach_msg_type_number_t. | |
1541 | (gnu_write_inferior): Likewise. | |
1542 | ||
a9a758e3 YQ |
1543 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
1544 | ||
1545 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
1546 | in format string. | |
1547 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
1548 | (inf_validate_procs, inf_signal): Likewise. | |
1549 | (S_exception_raise_request): Likewise. | |
1550 | (do_mach_notify_dead_name): Likewise. | |
1551 | (steal_exc_port): Likewise. | |
1552 | (gnu_read_inferior): Change 'copy_count''s type to | |
1553 | mach_msg_type_number_t. | |
1554 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
1555 | format string. | |
1556 | ||
bae8023e TS |
1557 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
1558 | ||
c82f56d9 TS |
1559 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
1560 | flag. Adjust all users; in particular... | |
1561 | (gnu_wait): ..., don't decrement its value in here... | |
1562 | (gnu_create_inferior): ..., and instead set the flag in here, | |
1563 | around the startup_inferior call, and call that one with | |
1564 | START_INFERIOR_TRAPS_EXPECTED. | |
1565 | ||
3398af6a TS |
1566 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
1567 | (ILL_RPC): ... new macro. | |
1568 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
1569 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
1570 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
1571 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
1572 | functions with ILL_RPC macro. | |
1573 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
1574 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
1575 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
1576 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
1577 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
1578 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
1579 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
1580 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
1581 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
1582 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
1583 | (S_proc_get_code_reply): New stub functions, generated with | |
1584 | ILL_RPC macro. | |
1585 | ||
d47642c9 TS |
1586 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
1587 | collected the type check structures. | |
1588 | ||
bae8023e TS |
1589 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
1590 | ||
8a55ffb0 DE |
1591 | 2014-02-14 Doug Evans <dje@google.com> |
1592 | ||
1593 | * target.c (target_write_partial): Fix result type. | |
1594 | ||
c2853f3d JM |
1595 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
1596 | ||
1597 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
1598 | the proper offsets to access fpregset_t. | |
1599 | ||
ac61d2db SA |
1600 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
1601 | ||
1602 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
1603 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
1604 | * h8300-tdep.c (setmachinelist): Remove global. | |
1605 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
1606 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
1607 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
1608 | * ravenscar-thread.c (update_target_observer): Remove global. | |
1609 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
1610 | ||
9d2d0b8b TT |
1611 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1612 | ||
1613 | * common/rsp-low.c: Update comments. | |
1614 | * common/rsp-low.h: Update comments. | |
1615 | ||
a7191e8b TT |
1616 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1617 | ||
1618 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
1619 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
1620 | ||
ff0e980e TT |
1621 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1622 | ||
1623 | * common/rsp-low.h (unhexify): Don't declare. | |
1624 | * common/rsp-low.c (unhexify): Remove. | |
1625 | ||
e9371aff TT |
1626 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1627 | ||
1628 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
1629 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
1630 | ||
971dc0b8 TT |
1631 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1632 | ||
1633 | * common/rsp-low.h (hexify): Don't declare. | |
1634 | * common/rsp-low.c (hexify): Remove. | |
1635 | ||
0a822afb TT |
1636 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1637 | ||
1638 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
1639 | ||
9f1b45b0 TT |
1640 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1641 | ||
1642 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
1643 | * remote.c (extended_remote_run, remote_rcmd) | |
1644 | (remote_download_trace_state_variable, remote_save_trace_data) | |
1645 | (remote_set_trace_notes): Update. | |
1646 | * tracepoint.c (encode_source_string, tfile_write_status) | |
1647 | (tfile_write_uploaded_tsv): Update. | |
1648 | ||
9c3d6531 TT |
1649 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1650 | ||
1651 | * tracepoint.c: Include rsp-low.h. | |
1652 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
1653 | * remote.c: Include rsp-low.h. | |
1654 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
1655 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
1656 | (remote_unescape_input): Move to common/rsp-low.c. | |
1657 | * common/rsp-low.h: New file. | |
1658 | * common/rsp-low.c: New file. | |
1659 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
1660 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
1661 | (COMMON_OBS): Add rsp-low.o. | |
1662 | (rsp-low.o): New target. | |
1663 | ||
01fd3ea5 TT |
1664 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1665 | ||
1666 | * utils.h: Include print-utils.h. | |
1667 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
1668 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
1669 | (hex_string, hex_string_custom): Don't declare. | |
1670 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
1671 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
1672 | (hex_string_custom, int_string, core_addr_to_string) | |
1673 | (core_addr_to_string_nz, host_address_to_string): Move to | |
1674 | common/print-utils.c. | |
1675 | * common/print-utils.h: New file. | |
1676 | * common/print-utils.c: New file | |
1677 | * Makefile.in (SFILES): Add common/print-utils.c. | |
1678 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
1679 | (COMMON_OBS): Add print-utils.o. | |
1680 | (print-utils.o): New target. | |
1681 | ||
9fb50108 TT |
1682 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
1683 | ||
1684 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
1685 | ||
0548b5db MK |
1686 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
1687 | ||
1688 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
1689 | ||
493443a4 MK |
1690 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
1691 | ||
1692 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
1693 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
1694 | bytes were transferred. | |
1695 | ||
706d0883 PA |
1696 | 2014-02-12 Pedro Alves <palves@redhat.com> |
1697 | Kevin Buettner <kevinb@redhat.com> | |
1698 | ||
1699 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
1700 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
1701 | ||
5caa2f0b PA |
1702 | 2014-02-12 Pedro Alves <palves@redhat.com> |
1703 | ||
1704 | * h8300-tdep.c (pseudo_from_raw_register) | |
1705 | (raw_from_pseudo_register): New functions. | |
1706 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
1707 | them. | |
1708 | ||
76fd5f74 PA |
1709 | 2014-02-12 Pedro Alves <palves@redhat.com> |
1710 | ||
1711 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
1712 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
1713 | gdbarch_register_sim_regno hook. | |
1714 | ||
8f008406 SA |
1715 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
1716 | ||
1717 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
1718 | ||
195abc10 SA |
1719 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
1720 | ||
1721 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
1722 | ||
93ffa5b9 MK |
1723 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
1724 | ||
1725 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
1726 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
1727 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
1728 | (obsd_init_abi): New functions. | |
1729 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
1730 | (i386obsd_init_abi): Call obsd_init_abi. | |
1731 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
1732 | (amd64obsd_init_abi): Call obsd_init_abi. | |
1733 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
1734 | obsd-tdep.c to gdb_target_obs. | |
1735 | ||
49caec94 JM |
1736 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
1737 | ||
1738 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
1739 | double float arguments to 16-byte in the argument slots. | |
1740 | ||
e1402065 DE |
1741 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
1742 | ||
1743 | * configure.ac: Don't crash if pkg-config is not found and guile | |
1744 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
1745 | in guile checks. | |
1746 | * configure: Regenerate. | |
1747 | ||
edcc890f YQ |
1748 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
1749 | ||
1750 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
1751 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
1752 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
1753 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
1754 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
1755 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
1756 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
1757 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
1758 | ||
9b409511 YQ |
1759 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
1760 | ||
1761 | * target.h (enum target_xfer_error): Rename to ... | |
1762 | (enum target_xfer_status): ... it. New. All users updated. | |
1763 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
1764 | New. | |
1765 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
1766 | (target_xfer_error_to_string): Remove declaration. | |
1767 | (target_xfer_status_to_string): Declare. | |
1768 | (target_xfer_partial_ftype): Adjust it. | |
1769 | (struct target_ops) <to_xfer_partial>: Return | |
1770 | target_xfer_status. Add argument xfered_len. Update | |
1771 | comments. | |
1772 | * target.c (target_xfer_error_to_string): Rename to ... | |
1773 | (target_xfer_status_to_string): ... it. New. All callers | |
1774 | updated. | |
1775 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
1776 | instead of target_read. | |
1777 | (memory_xfer_live_readonly_partial): Return | |
1778 | target_xfer_status. Add argument xfered_len. | |
1779 | (raw_memory_xfer_partial): Likewise. | |
1780 | (memory_xfer_partial_1): Likewise. | |
1781 | (memory_xfer_partial): Likewise. | |
1782 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
1783 | properly. Update debug message. | |
1784 | (default_xfer_partial, current_xfer_partial): Likewise. | |
1785 | (target_write_partial): Likewise. | |
1786 | (target_read_partial): Likewise. All callers updated. | |
1787 | (read_whatever_is_readable): Likewise. | |
1788 | (target_write_with_progress): Likewise. | |
1789 | (target_read_alloc_1): Likewise. | |
1790 | ||
1791 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
1792 | * auxv.c (procfs_xfer_auxv): Likewise. | |
1793 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
1794 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
1795 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
1796 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
1797 | * corefile.c (read_memory): Adjust. | |
1798 | * corelow.c (core_xfer_partial): Likewise. | |
1799 | * ctf.c (ctf_xfer_partial): Likewise. | |
1800 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
1801 | updated. | |
1802 | (darwin_xfer_partial): Likewise. | |
1803 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
1804 | callers updated. | |
1805 | (exec_xfer_partial): Likewise. | |
1806 | * exec.h (section_table_xfer_memory_partial): Update | |
1807 | declaration. | |
1808 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
1809 | negative. | |
1810 | (gnu_xfer_partial): Likewise. | |
1811 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
1812 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
1813 | (ia64_hpux_xfer_solib_got): Likewise. | |
1814 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
1815 | type of 'partial_len' to ULONGEST. | |
1816 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
1817 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
1818 | (linux_nat_xfer_partial): Likewise. | |
1819 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
1820 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
1821 | * monitor.c (monitor_xfer_memory): Likewise. | |
1822 | (monitor_xfer_partial): Likewise. | |
1823 | * procfs.c (procfs_xfer_partial): Likewise. | |
1824 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
1825 | * record-full.c (record_full_xfer_partial): Likewise. | |
1826 | (record_full_core_xfer_partial): Likewise. | |
1827 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
1828 | (gdbsim_xfer_partial): Likewise. | |
1829 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
1830 | updated. | |
1831 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
1832 | callers updated. | |
1833 | (remote_flash_erase): Likewise. All callers updated. | |
1834 | (remote_write_qxfer): Likewise. All callers updated. | |
1835 | (remote_read_qxfer): Likewise. All callers updated. | |
1836 | (remote_xfer_partial): Likewise. | |
1837 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
1838 | (rs6000_xfer_shared_libraries): Likewise. | |
1839 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
1840 | (sol_thread_xfer_partial): Likewise. | |
1841 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
1842 | (sparc_xfer_partial): Likewise. | |
1843 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
1844 | updated. | |
1845 | (spu_xfer_partial): Likewise. | |
1846 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
1847 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
1848 | * windows-nat.c (windows_xfer_memory): Likewise. | |
1849 | (windows_xfer_shared_libraries): Likewise. | |
1850 | (windows_xfer_partial): Likewise. | |
1851 | * valprint.c: Replace 'target_xfer_error' with | |
1852 | 'target_xfer_status' in comments. | |
1853 | ||
a8e63083 JB |
1854 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
1855 | ||
1856 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
1857 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
1858 | ||
e86b67d3 JB |
1859 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
1860 | ||
1861 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
1862 | function parameters. | |
1863 | ||
4b7d1f7f WN |
1864 | 2014-02-10 Will Newton <will.newton@linaro.org> |
1865 | ||
1866 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
1867 | looking up .got.plt fails. | |
1868 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
1869 | on address passed to elf_gnu_ifunc_record_cache. | |
1870 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
1871 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
1872 | ||
961842b2 JM |
1873 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
1874 | ||
1875 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
1876 | (X_RETTURN): New macro. | |
1877 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
1878 | ||
1879 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
1880 | sparc_in_function_epilogue_p. | |
1881 | ||
3f03e7b1 GB |
1882 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
1883 | ||
1884 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
1885 | Rename name_matcher to symbol_matcher. | |
1886 | ||
96f861ef GB |
1887 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
1888 | ||
1889 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
1890 | Use expand_symtabs_file_matcher_ftype and | |
1891 | expand_symtabs_symbol_matcher_ftype. | |
1892 | ||
ee01b665 JB |
1893 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1894 | ||
1895 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
1896 | (struct ada_symbol_cache): New. | |
1897 | (ada_free_symbol_cache): Forward declare. | |
1898 | (struct ada_pspace_data): New. | |
1899 | (ada_pspace_data_handle): New static global. | |
1900 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
1901 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
1902 | (cache_space, cache): Delete, now folded inside struct | |
1903 | ada_pspace_data. | |
1904 | (ada_get_symbol_cache): New function. | |
1905 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
1906 | implementation. | |
1907 | (_initialize_ada_language): Remove initialization of cache_space. | |
1908 | Move call to observer_attach_inferior_exit up, grouping it | |
1909 | with the other observer registrations inside this function. | |
1910 | Rename command to be more general. Add call to | |
1911 | register_program_space_data_with_cleanup. | |
1912 | ||
143adbbf JB |
1913 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1914 | ||
1915 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
1916 | ada_new_objfile_observer. | |
1917 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
1918 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
1919 | and ada_tasks_normal_stop_observer. | |
1920 | ||
aa4fb036 JB |
1921 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1922 | ||
1923 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
1924 | returned by the 'Length attribute to integer. | |
1925 | ||
9dee8cc6 JB |
1926 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1927 | ||
1928 | * ada-lang.c (_initialize_ada_language): Initialize | |
1929 | cache_space obstack. | |
1930 | ||
3d9434b5 JB |
1931 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1932 | ||
1933 | * ada-lang.c (HASH_SIZE): New macro. | |
1934 | (struct cache_entry): New type. | |
1935 | (cache_space, cache): New static globals. | |
1936 | (ada_clear_symbol_cache, find_entry): New functions. | |
1937 | (lookup_cached_symbol, cache_symbol): Implement. | |
1938 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
1939 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
1940 | and ada_free_objfile_observer. | |
1941 | ||
f0c5f9b2 JB |
1942 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
1943 | ||
1944 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
1945 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
1946 | struct block * parameter. | |
1947 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
1948 | Remove cast which is no longer necessary. | |
1949 | ||
ed3ef339 DE |
1950 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
1951 | ||
1952 | Add Guile as an extension language. | |
1953 | * NEWS: Mention Guile scripting. | |
1954 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
1955 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
1956 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
1957 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
1958 | (CLIBS): Add GUILE_LIBS. | |
1959 | (install-guile): New rule. | |
1960 | (guile.o): New rule. | |
1961 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
1962 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
1963 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
1964 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
1965 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
1966 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
1967 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
1968 | * configure.ac: New option --with-guile. | |
1969 | * configure: Regenerate. | |
1970 | * config.in: Regenerate. | |
1971 | * auto-load.c: Remove #include "python/python.h". Add #include | |
1972 | "gdb/section-scripts.h". | |
1973 | (source_section_scripts): Handle Guile scripts. | |
1974 | (_initialize_auto_load): Add name of Guile objfile script to | |
1975 | scripts-directory help text. | |
1976 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
1977 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
1978 | (struct breakpoint): New member scm_bp_object. | |
1979 | * defs.h (enum command_control_type): New value guile_control. | |
1980 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
1981 | "extension.h". | |
1982 | (show_user): Update comment. | |
1983 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
1984 | text for max-user-call-depth. | |
1985 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
1986 | "extension.h". | |
1987 | (multi_line_command_p): Add guile_control. | |
1988 | (print_command_lines): Handle guile_control. | |
1989 | (execute_control_command, recurse_read_control_structure): Ditto. | |
1990 | (process_next_line): Recognize "guile" commands. | |
1991 | * disasm.c (gdb_disassemble_info): Make non-static. | |
1992 | * disasm.h: #include "dis-asm.h". | |
1993 | (struct gdbarch): Add forward decl. | |
1994 | (gdb_disassemble_info): Declare. | |
1995 | * extension.c: #include "guile/guile.h". | |
1996 | (extension_languages): Add guile. | |
1997 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
1998 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
1999 | * gdbtypes.c (get_unsigned_type_max): New function. | |
2000 | (get_signed_type_minmax): New function. | |
2001 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
2002 | (get_signed_type_minmax): Declare. | |
2003 | * guile/README: New file. | |
2004 | * guile/guile-internal.h: New file. | |
2005 | * guile/guile.c: New file. | |
2006 | * guile/guile.h: New file. | |
2007 | * guile/scm-arch.c: New file. | |
2008 | * guile/scm-auto-load.c: New file. | |
2009 | * guile/scm-block.c: New file. | |
2010 | * guile/scm-breakpoint.c: New file. | |
2011 | * guile/scm-disasm.c: New file. | |
2012 | * guile/scm-exception.c: New file. | |
2013 | * guile/scm-frame.c: New file. | |
2014 | * guile/scm-gsmob.c: New file. | |
2015 | * guile/scm-iterator.c: New file. | |
2016 | * guile/scm-lazy-string.c: New file. | |
2017 | * guile/scm-math.c: New file. | |
2018 | * guile/scm-objfile.c: New file. | |
2019 | * guile/scm-ports.c: New file. | |
2020 | * guile/scm-pretty-print.c: New file. | |
2021 | * guile/scm-safe-call.c: New file. | |
2022 | * guile/scm-string.c: New file. | |
2023 | * guile/scm-symbol.c: New file. | |
2024 | * guile/scm-symtab.c: New file. | |
2025 | * guile/scm-type.c: New file. | |
2026 | * guile/scm-utils.c: New file. | |
2027 | * guile/scm-value.c: New file. | |
2028 | * guile/lib/gdb.scm: New file. | |
2029 | * guile/lib/gdb/boot.scm: New file. | |
2030 | * guile/lib/gdb/experimental.scm: New file. | |
2031 | * guile/lib/gdb/init.scm: New file. | |
2032 | * guile/lib/gdb/iterator.scm: New file. | |
2033 | * guile/lib/gdb/printing.scm: New file. | |
2034 | * guile/lib/gdb/types.scm: New file. | |
2035 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
2036 | (VPATH): Add $(GUILE_SRCDIR). | |
2037 | (GUILE_DIR): New variable. | |
2038 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
2039 | (all): Add stamp-guile dependency. | |
2040 | (stamp-guile): New rule. | |
2041 | (clean-guile, install-guile, uninstall-guile): New rules. | |
2042 | (install-only): Add install-guile dependency. | |
2043 | (uninstall): Add uninstall-guile dependency. | |
2044 | (clean): Add clean-guile dependency. | |
2045 | ||
ac020ec5 DE |
2046 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
2047 | ||
2048 | Revert this patch (which I approved, mea culpa). | |
2049 | ||
2050 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
2051 | ||
2052 | * Makefile.in (all-lib): Remove. | |
2053 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
2054 | ||
2a081c59 JK |
2055 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
2056 | ||
2057 | Fix Python stack corruption. | |
2058 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
2059 | gdb_py_longest. | |
2060 | ||
0a6bd22d MK |
2061 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
2062 | ||
2063 | * Makefile.in (all-lib): Remove. | |
2064 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
2065 | ||
1a860409 DE |
2066 | 2014-02-07 Doug Evans <dje@google.com> |
2067 | ||
2068 | * extension-priv.h (extension_language_script_ops): Add comment. | |
2069 | (extension_language_ops): Add comment. | |
caf5a491 | 2070 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 2071 | |
d137e6dc PA |
2072 | 2014-02-07 Pedro Alves <palves@redhat.com> |
2073 | ||
2074 | * infrun.c (handle_signal_stop) <signal arrives while stepping | |
2075 | over a breakpoint>: Switch back to the stepping thread. | |
2076 | ||
ce6d0892 YQ |
2077 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
2078 | ||
2079 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
2080 | ||
2ed4b548 YQ |
2081 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
2082 | ||
2083 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
2084 | (ld_so_xfer_auxv): Likewise. | |
2085 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
2086 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
2087 | * corelow.c (core_xfer_partial): Likewise. | |
2088 | * ctf.c (ctf_xfer_partial): Likewise. | |
2089 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
2090 | (darwin_xfer_partial): Likewise. | |
2091 | * exec.c (exec_xfer_partial): Likewise. | |
2092 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
2093 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
2094 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
2095 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
2096 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
2097 | (linux_proc_xfer_spu): Likewise. | |
2098 | * procfs.c (procfs_xfer_partial): Likewise. | |
2099 | * record-full.c (record_full_xfer_partial): Likewise. | |
2100 | (record_full_core_xfer_partial): Likewise. | |
2101 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
2102 | * remote.c (remote_write_qxfer): Likewise. | |
2103 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
2104 | (remote_xfer_partial): Likewise. | |
2105 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
2106 | (rs6000_xfer_shared_libraries): Likewise. | |
2107 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
2108 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
2109 | (spu_xfer_partial): Likewise. | |
2110 | * target.c (memory_xfer_partial_1): Likewise. | |
2111 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
2112 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
2113 | (windows_xfer_partial): Likewise. | |
2114 | ||
c09f20e4 YQ |
2115 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
2116 | ||
2117 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
2118 | comments. | |
2119 | (core_xfer_shared_libraries_aix): Likewise. | |
2120 | * gdbarch.c, gdbarch.h: Regenerated. | |
2121 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
2122 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
2123 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
2124 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
2125 | declaration. | |
2126 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
2127 | ||
8635b3bf YQ |
2128 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
2129 | ||
2130 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
2131 | 'exception' to throw_error. | |
2132 | ||
6dddc817 DE |
2133 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
2134 | ||
2135 | * configure.ac (libpython checking): Remove all but python.o from | |
2136 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
2137 | * configure: Regenerate. | |
2138 | ||
2139 | * Makefile.in (SFILES): Add extension.c. | |
2140 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
2141 | (COMMON_OBS): Add extension.o. | |
2142 | * extension.h: New file. | |
2143 | * extension-priv.h: New file. | |
2144 | * extension.c: New file. | |
2145 | ||
2146 | * python/python-internal.h: #include "extension.h". | |
2147 | (gdbpy_auto_load_enabled): Declare. | |
2148 | (gdbpy_apply_val_pretty_printer): Declare. | |
2149 | (gdbpy_apply_frame_filter): Declare. | |
2150 | (gdbpy_preserve_values): Declare. | |
2151 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
2152 | (gdbpy_breakpoint_has_cond): Declare. | |
2153 | (void source_python_script_for_objfile): Delete. | |
2154 | * python/python.c: #include "extension-priv.h". | |
2155 | Delete inclusion of "observer.h". | |
2156 | (extension_language_python): Moved here and renamed from | |
2157 | script_language_python in py-auto-load.c. | |
2158 | Redefined to be of type extension_language_defn. | |
2159 | (python_extension_script_ops): New global. | |
2160 | (python_extension_ops): New global. | |
2161 | (struct python_env): New member previous_active. | |
2162 | (restore_python_env): Call restore_active_ext_lang. | |
2163 | (ensure_python_env): Call set_active_ext_lang. | |
2164 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
2165 | New arg extlang. | |
2166 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
2167 | New arg extlang. | |
2168 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
2169 | New arg extlang. | |
2170 | (gdbpy_eval_from_control_command): Renamed from | |
2171 | eval_python_from_control_command, made static. New arg extlang. | |
2172 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
2173 | New arg extlang. | |
2174 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
2175 | result to int. New arg extlang. | |
2176 | (gdbpy_source_objfile_script): Renamed from | |
2177 | source_python_script_for_objfile, made static. New arg extlang. | |
2178 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
2179 | static. New args extlang, extlang_printers. Change result type to | |
2180 | "void". | |
2181 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
2182 | static. New arg extlang. Rename arg printers to extlang_printers | |
2183 | and change type to ext_lang_type_printers *. | |
2184 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
2185 | static. Replace argument arg with extlang, extlang_printers. | |
2186 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
2187 | (!HAVE_PYTHON, source_python_script): Delete. | |
2188 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
2189 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
2190 | (!HAVE_PYTHON, start_type_printers): Delete. | |
2191 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
2192 | (!HAVE_PYTHON, free_type_printers): Delete. | |
2193 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
2194 | (finalize_python): Set/restore active extension language. | |
2195 | (gdbpy_finish_initialization) Renamed from | |
2196 | finish_python_initialization, made static. New arg extlang. | |
2197 | (gdbpy_initialized): New function. | |
2198 | * python/python.h: #include "extension.h". Delete #include | |
2199 | "value.h", "mi/mi-cmds.h". | |
2200 | (extension_language_python): Declare. | |
2201 | (GDBPY_AUTO_FILE_NAME): Delete. | |
2202 | (enum py_bt_status): Moved to extension.h and renamed to | |
2203 | ext_lang_bt_status. | |
2204 | (enum frame_filter_flags): Moved to extension.h. | |
2205 | (enum py_frame_args): Moved to extension.h and renamed to | |
2206 | ext_lang_frame_args. | |
2207 | (finish_python_initialization): Delete. | |
2208 | (eval_python_from_control_command): Delete. | |
2209 | (source_python_script): Delete. | |
2210 | (apply_val_pretty_printer): Delete. | |
2211 | (apply_frame_filter): Delete. | |
2212 | (preserve_python_values): Delete. | |
2213 | (gdbpy_script_language_defn): Delete. | |
2214 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
2215 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
2216 | ||
2217 | * auto-load.c: #include "extension.h". | |
2218 | (GDB_AUTO_FILE_NAME): Delete. | |
2219 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
2220 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
2221 | extension_language_gdb. | |
2222 | (source_gdb_script_for_objfile): Delete. | |
2223 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
2224 | (loaded_script): Change type of language member to | |
2225 | struct extension_language_defn *. | |
2226 | (init_loaded_scripts_info): Initialize | |
2227 | unsupported_script_warning_printed. | |
2228 | (maybe_add_script): Make static. Change type of language arg to | |
2229 | struct extension_language_defn *. | |
2230 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
2231 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
2232 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
2233 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
2234 | (source_section_scripts): Rewrite to use extension language API. | |
2235 | (load_auto_scripts_for_objfile): Rewrite to use | |
2236 | auto_load_scripts_for_objfile. | |
2237 | (collect_matching_scripts_data): Change type of language member to | |
2238 | struct extension_language_defn *. | |
2239 | (auto_load_info_scripts): Change type of language arg to | |
2240 | struct extension_language_defn *. | |
2241 | (unsupported_script_warning_print): New function. | |
2242 | (script_not_found_warning_print): Make static. | |
2243 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
2244 | help. | |
2245 | * auto-load.h (struct objfile): Add forward decl. | |
2246 | (struct script_language): Delete. | |
2247 | (struct auto_load_pspace_info): Add forward decl. | |
2248 | (struct extension_language_defn): Add forward decl. | |
2249 | (maybe_add_script): Delete. | |
2250 | (auto_load_objfile_script): Declare. | |
2251 | (script_not_found_warning_print): Delete. | |
2252 | (auto_load_info_scripts): Update prototype. | |
2253 | (auto_load_gdb_scripts_enabled): Declare. | |
2254 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
2255 | auto_load_python_scripts_enabled and made public. | |
2256 | (script_language_python): Delete, moved to python.c. | |
2257 | (gdbpy_script_language_defn): Delete. | |
2258 | (info_auto_load_python_scripts): Update to use | |
2259 | extension_language_python. | |
2260 | ||
2261 | * breakpoint.c (condition_command): Replace call to | |
2262 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
2263 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
2264 | with call to breakpoint_ext_lang_cond_says_stop. | |
2265 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
2266 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
2267 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
2268 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
2269 | New arg slang. | |
2270 | (local_setattro): Print name of extension language with existing | |
2271 | stop condition. | |
2272 | ||
2273 | * valprint.c (val_print, value_print): Update to call | |
2274 | apply_ext_lang_val_pretty_printer. | |
2275 | * cp-valprint.c (cp_print_value): Update call to | |
2276 | apply_ext_lang_val_pretty_printer. | |
2277 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
2278 | (gdbpy_apply_val_pretty_printer): Renamed from | |
2279 | apply_val_pretty_printer. New arg extlang. | |
2280 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
2281 | ||
2282 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
2283 | extension language API. | |
2284 | * cli/cli-script.c (execute_control_command): Update to call | |
2285 | eval_ext_lang_from_control_command. | |
2286 | ||
2287 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
2288 | enum ext_lang_bt_status values. Update call to | |
2289 | apply_ext_lang_frame_filter. | |
2290 | (mi_cmd_stack_list_locals): Ditto. | |
2291 | (mi_cmd_stack_list_args): Ditto. | |
2292 | (mi_cmd_stack_list_variables): Ditto. | |
2293 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
2294 | Add #include "extension.h". | |
2295 | (mi_cmd_list_features): Replace reference to python internal variable | |
2296 | gdb_python_initialized with call to ext_lang_initialized_p. | |
2297 | ||
2298 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
2299 | Update to use enum ext_lang_frame_args. Update to call | |
2300 | apply_ext_lang_frame_filter. | |
2301 | * python/py-framefilter.c (extract_sym): Update to use enum | |
2302 | ext_lang_bt_status. | |
2303 | (extract_value, py_print_type, py_print_value): Ditto. | |
2304 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
2305 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
2306 | (py_print_frame): Ditto. | |
2307 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
2308 | New arg extlang. Update to use enum ext_lang_bt_status. | |
2309 | ||
2310 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
2311 | finish_python_initialization. Replace with call to | |
2312 | finish_ext_lang_initialization. | |
2313 | ||
2314 | * typeprint.c (do_free_global_table): Update to call | |
2315 | free_ext_lang_type_printers. | |
2316 | (create_global_typedef_table): Update to call | |
2317 | start_ext_lang_type_printers. | |
2318 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
2319 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
2320 | (type_print_options): Change type of global_printers from "void *" | |
2321 | to "struct ext_lang_type_printers *". | |
2322 | ||
2323 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
2324 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
2325 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
2326 | New arg extlang. | |
2327 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
2328 | ||
2329 | * utils.c (quit_flag): Delete, moved to extension.c. | |
2330 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
2331 | extension.c. | |
2332 | ||
2333 | * eval.c: Delete #include "python/python.h". | |
2334 | * main.c: Delete #include "python/python.h". | |
2335 | ||
2336 | * defs.h: Update comment. | |
2337 | ||
6af79985 JB |
2338 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
2339 | ||
2340 | GDB 7.7 released. | |
2341 | ||
12c5175d MK |
2342 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
2343 | ||
2344 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
2345 | defined. | |
2346 | ||
8dc5b319 YQ |
2347 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
2348 | ||
2349 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
2350 | rs->buf. | |
2351 | (remote_program_signals): Likewise. | |
2352 | ||
de7b2893 YQ |
2353 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
2354 | ||
2355 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
2356 | (CTF_PID): A new macro. | |
2357 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
2358 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
2359 | (ctf_thread_alive): New function. | |
2360 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
2361 | ||
66d032ac YQ |
2362 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
2363 | ||
2364 | Revert this patch: | |
2365 | ||
2366 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
2367 | ||
2368 | * tracepoint.c (TFILE_PID): Remove. | |
2369 | (tfile_open): Don't add thread and inferior. | |
2370 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
2371 | exit_inferior_silent. | |
2372 | (tfile_thread_alive): Remove. | |
2373 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
2374 | tfile_ops. | |
2375 | ||
f4ccffad CE |
2376 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
2377 | ||
2378 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
2379 | if only symbol-file (not file) has been given. | |
2380 | ||
591a12a1 UW |
2381 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2382 | ||
2383 | * gdbarch.sh (skip_entrypoint): New callback. | |
2384 | * gdbarch.c, gdbarch.h: Regenerate. | |
2385 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
2386 | * infrun.c (fill_in_stop_func): Likewise. | |
2387 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
2388 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
2389 | (ppc_elfv2_skip_entrypoint): Likewise. | |
2390 | (ppc_linux_init_abi): Install them for ELFv2. | |
2391 | ||
cc0e89c5 UW |
2392 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2393 | ||
2394 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
2395 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
2396 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
2397 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
2398 | structures returned in GPRs. | |
2399 | ||
52f548e4 UW |
2400 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2401 | ||
2402 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
2403 | offset to the stack parameter list for the ELFv2 ABI. | |
2404 | ||
d4094b6a UW |
2405 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2406 | ||
2407 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
2408 | set_gdbarch_convert_from_func_ptr_addr and | |
2409 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
2410 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
2411 | function descriptors on ELFv1. | |
2412 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
2413 | set up r12 at function entry. | |
2414 | ||
cd453cd0 UW |
2415 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2416 | ||
2417 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
2418 | (struct gdbarch_tdep): New member elf_abi. | |
2419 | ||
2420 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
2421 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
2422 | ||
0ff3e01f UW |
2423 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2424 | ||
2425 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
2426 | within a register pair holding a DFP 128-bit value on little-endian. | |
2427 | (ppc64_sysv_abi_return_value_base): Likewise. | |
2428 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
2429 | (dfp_pseudo_register_write): Likewise. | |
2430 | ||
5b757e5d UW |
2431 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2432 | ||
2433 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
2434 | offset on little-endian when passing _Decimal32. | |
2435 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
2436 | ||
084ee545 UW |
2437 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2438 | ||
2439 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
2440 | of the overlapped FP register within the VSX register on little- | |
2441 | endian platforms. | |
2442 | (efpr_pseudo_register_write): Likewise. | |
2443 | ||
d63167af UW |
2444 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2445 | ||
2446 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
2447 | offset on little-endian when passing small structures. | |
2448 | ||
e765b44c UW |
2449 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2450 | ||
2451 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
2452 | (struct ppc64_sysv_argpos): New data structure. | |
2453 | (ppc64_sysv_abi_push_float): Remove. | |
2454 | (ppc64_sysv_abi_push_val): New function. | |
2455 | (ppc64_sysv_abi_push_integer): Likewise. | |
2456 | (ppc64_sysv_abi_push_freg): Likewise. | |
2457 | (ppc64_sysv_abi_push_vreg): Likewise. | |
2458 | (ppc64_sysv_abi_push_param): Likewise. | |
2459 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
2460 | (ppc64_sysv_abi_return_value_base): New function. | |
2461 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
2462 | ||
36c24d95 UW |
2463 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
2464 | ||
2465 | * NEWS: Document new target powerpc64le-*-linux*. | |
2466 | ||
26fd9228 MK |
2467 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
2468 | ||
2469 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
2470 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
2471 | core dumps. | |
2472 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
2473 | register set used in ELF core dumps. Add floating-point register set. | |
2474 | ||
c5bb7362 KB |
2475 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
2476 | ||
2477 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
2478 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
2479 | penultimate entry from number representing the PC register | |
2480 | to symbolic constant representing the MDR register. Add | |
2481 | constant for the PC register to the end of the table. | |
2482 | ||
af09351e MK |
2483 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
2484 | ||
2485 | * bsd-kvm.c: Include <sys/param.h> | |
2486 | ||
8507e05d MK |
2487 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
2488 | ||
2489 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
2490 | ||
ae56bfb8 JB |
2491 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
2492 | ||
2493 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
2494 | ||
718ee4dc UW |
2495 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
2496 | ||
2497 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
2498 | ||
401e27fd JM |
2499 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
2500 | ||
2501 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
2502 | the sigreturn register save area only if the syscall is | |
2503 | sigreturn. | |
2504 | ||
a7c88acd JB |
2505 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
2506 | ||
2507 | * valops.c (value_slice): Minor reformatting. | |
2508 | ||
fa0079ea UW |
2509 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
2510 | ||
2511 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
2512 | ||
c6044dd1 JB |
2513 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
2514 | ||
2515 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
2516 | New static globals. | |
2517 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
2518 | (ada_ignore_descriptive_types_p): New static global. | |
2519 | (find_parallel_type_by_descriptive_type): Return immediately | |
2520 | if ada_ignore_descriptive_types_p is set. | |
2521 | (_initialize_ada_language): Register new commands "maintenance | |
2522 | set ada", "maintenance show ada", "maintenance set ada | |
2523 | ignore-descriptive-types" and "maintenance show ada | |
2524 | ignore-descriptive-types". | |
2525 | * NEWS: Add entry for new "maint ada set/show | |
2526 | ignore-descriptive-types" commands. | |
2527 | ||
568e808b MM |
2528 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
2529 | ||
2530 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
2531 | for all threads. | |
2532 | ||
467d141b JB |
2533 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2534 | ||
2535 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
2536 | "ui-out.h". | |
2537 | ||
fb151210 JB |
2538 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2539 | ||
2540 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
2541 | New function. | |
2542 | (print_range): Add parameter bounds_prefered_p. If not set, | |
2543 | try printing range types using the name of their base type. | |
2544 | (print_range_type): Add parameter bounds_prefered_p. | |
2545 | Use it in call to print_range. | |
2546 | (print_array_type, ada_print_type): Update calls to print_range | |
2547 | and print_range_type. | |
2548 | ||
aba02109 JB |
2549 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2550 | ||
2551 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
2552 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
2553 | Remove declaration. | |
2554 | ||
e62e21fd JB |
2555 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2556 | ||
2557 | * ada-typeprint.c (print_range): Add missing empty line | |
2558 | after local declaration. | |
2559 | ||
859cf5d1 JB |
2560 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2561 | ||
2562 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
2563 | target type for as long as it is a TYPE_CODE_RANGE. | |
2564 | ||
25790f6f JB |
2565 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
2566 | ||
2567 | * procfs.c (procfs_make_note_section): Remove assertion and | |
2568 | associated comment. | |
2569 | ||
6b6aa828 YQ |
2570 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
2571 | ||
2572 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
2573 | * corelow.c (get_core_siginfo): Likewise. | |
2574 | ||
5d6df423 YQ |
2575 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
2576 | ||
2577 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
2578 | ULONGEST. Don't check 'len' is negative. | |
2579 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
2580 | ||
83b645b8 TT |
2581 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
2582 | ||
2583 | PR python/16485: | |
2584 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
2585 | Handle exception from frame.block. | |
2586 | (FrameVars.fetch_frame_locals): Likewise. | |
2587 | ||
0740f8d8 TT |
2588 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
2589 | ||
2590 | PR python/16487: | |
2591 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
2592 | on a NULL pointer. Move "goto error" to correct place. | |
2593 | ||
21909fa1 TT |
2594 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
2595 | ||
2596 | PR python/16491: | |
2597 | * python/py-framefilter.c (apply_frame_filter): Call | |
2598 | ensure_python_env after computing gdbarch. | |
2599 | ||
17fde6d0 YQ |
2600 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
2601 | ||
2602 | * target.c (raw_memory_xfer_partial): Change argument type | |
2603 | from void * to gdb_byte *. | |
2604 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
2605 | ||
87ce2a04 DE |
2606 | 2014-01-22 Doug Evans <dje@google.com> |
2607 | ||
2608 | New gdbserver option --debug-format=timestamp. | |
2609 | * NEWS: Mention it. | |
2610 | ||
237b092b AA |
2611 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
2612 | ||
2613 | * syscalls/s390x-linux.xml: New file. | |
2614 | * syscalls/s390-linux.xml: New file. | |
2615 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
2616 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
2617 | (op_svc): New enum value for SVC opcode. | |
2618 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
2619 | (s390_linux_get_syscall_number): New function. | |
2620 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
2621 | syscall xml file name. | |
2622 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
2623 | "s390-linux.xml" and "s390x-linux.xml". | |
2624 | * NEWS: Announce new feature. | |
2625 | ||
54bff650 BS |
2626 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
2627 | ||
2628 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
2629 | ||
14e361d7 PA |
2630 | 2014-01-22 Pedro Alves <palves@redhat.com> |
2631 | ||
2632 | * xtensa-config.c: Include defs.h. | |
2633 | ||
46bbb3ed JB |
2634 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
2635 | ||
2636 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
2637 | reference. | |
2638 | ||
3a80edfc JB |
2639 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
2640 | ||
2641 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
2642 | documentation a bit. | |
2643 | ||
4869db5e RM |
2644 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
2645 | ||
2646 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
2647 | * configure: Regenerate. | |
2648 | * aclocal.m4: Regenerate. | |
2649 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
2650 | New substituted variables. | |
2651 | (install-strip): New target. | |
2652 | (INSTALL_SCRIPT): New substituted variable. | |
2653 | (FLAGS_TO_PASS): Add it. | |
2654 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
2655 | $(INSTALL_PROGRAM) for gcore. | |
2656 | ||
9ea4267d TT |
2657 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
2658 | ||
2659 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
2660 | together. | |
2661 | ||
1f2bdf09 TT |
2662 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
2663 | ||
2664 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
2665 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
2666 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
2667 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
2668 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
2669 | (struct cmd_list_element) <flags>: Remove. | |
2670 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
2671 | doc_allocated>: New fields. | |
2672 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
2673 | bitfields. | |
2674 | * maint.c (maintenance_do_deprecate): Update. | |
2675 | * top.c (execute_command): Update. | |
2676 | ||
e671835b BS |
2677 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
2678 | ||
2679 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
2680 | ||
50367cd2 IB |
2681 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2682 | ||
2683 | * Makefile.in (SFILES): Add d-support.c. | |
2684 | (COMMON_OBS): Add d-support.o. | |
2685 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
2686 | d-support.c. | |
2687 | * d-lang.c (parse_call_convention) | |
2688 | (parse_attributes, parse_function_types) | |
2689 | (parse_function_args, parse_type, parse_identifier) | |
2690 | (call_convention_p, d_parse_symbol): Move functions to ... | |
2691 | * d-support.c: ... New file. | |
2692 | ||
ec9f644a IB |
2693 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2694 | ||
2695 | * d-lang.h (d_parse_symbol): Add declaration. | |
2696 | * d-lang.c (extract_identifiers) | |
2697 | (extract_type_info): Remove functions. | |
2698 | (parse_call_convention, parse_attributes) | |
2699 | (parse_function_types, parse_function_args) | |
2700 | (parse_type, parse_identifier, call_convention_p) | |
2701 | (d_parse_symbol): New functions. | |
2702 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
2703 | ||
94b1b47e IB |
2704 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2705 | ||
2706 | * d-lang.h (struct builtin_d_type): New data type. | |
2707 | (builtin_d_type): Add declaration. | |
2708 | * d-lang.c (d_language_arch_info, build_d_types) | |
2709 | (builtin_d_type): New functions. | |
2710 | (enum d_primitive_types): New data type. | |
2711 | (d_language_defn): Change c_language_arch_info to | |
2712 | d_language_arch_info. | |
2713 | (d_type_data): New static variable. | |
2714 | (_initialize_d_language): Initialize d_type_data. | |
2715 | ||
63778547 IB |
2716 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2717 | ||
2718 | * d-lang.h (d_main_name): Add declaration. | |
2719 | * d-lang.c (d_main_name): New function. | |
2720 | * symtab.c (find_main_name): Add call to d_main_name. | |
2721 | ||
3271ba66 IB |
2722 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2723 | ||
2724 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
2725 | macro_expansion_no. | |
2726 | ||
d36b3012 IB |
2727 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
2728 | ||
2729 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
2730 | ||
c90a6fb7 SDJ |
2731 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
2732 | ||
2733 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
2734 | gdb_exception" declaration. | |
2735 | * remote.c (getpkt_or_notif_sane): Likewise. | |
2736 | ||
749234e5 DE |
2737 | 2014-01-17 Doug Evans <dje@google.com> |
2738 | ||
2739 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
2740 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
2741 | (delim_string_to_char_ptr_vec): New function. | |
2742 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
2743 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
2744 | ||
df049a58 DE |
2745 | 2014-01-17 Doug Evans <dje@google.com> |
2746 | ||
2747 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
2748 | and moved here ... | |
2749 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
2750 | #include "common-utils.h". | |
2751 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
2752 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
2753 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
2754 | (MACH_CHECK_ERROR): Update. | |
2755 | ||
69f97648 SM |
2756 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
2757 | ||
2758 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
2759 | comments. | |
2760 | * gdbarch.h: Regenerate. | |
2761 | ||
98b1cfdc TT |
2762 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
2763 | ||
2764 | * value.c (struct value) <regnum>: Move earlier. | |
2765 | ||
77a19445 TT |
2766 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
2767 | ||
2768 | * remote.c (extended_remote_create_inferior): Rename from | |
2769 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
2770 | old implementation. | |
2771 | ||
62261490 PA |
2772 | 2014-01-16 Pedro Alves <palves@redhat.com> |
2773 | ||
2774 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
2775 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
2776 | the backchain. | |
2777 | ||
4d65956b DE |
2778 | 2014-01-16 Doug Evans <dje@google.com> |
2779 | ||
2780 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
2781 | ||
52834460 MM |
2782 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2783 | ||
2784 | * btrace.h (btrace_thread_flag): New. | |
2785 | (struct btrace_thread_info) <flags>: New. | |
2786 | * record-btrace.c (record_btrace_resume_thread) | |
2787 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
2788 | (btrace_step_stopped, record_btrace_start_replaying) | |
2789 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
2790 | (record_btrace_find_resume_thread): New. | |
2791 | (record_btrace_resume, record_btrace_wait): Extend. | |
2792 | (record_btrace_can_execute_reverse): New. | |
2793 | (record_btrace_open): Fail in non-stop mode. | |
2794 | (record_btrace_set_replay): Split into this, ... | |
2795 | (record_btrace_stop_replaying): ... this, ... | |
2796 | (record_btrace_clear_histories): ... and this. | |
2797 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
2798 | * NEWS: Announce it. | |
2799 | ||
118e6252 MM |
2800 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2801 | ||
2802 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
2803 | (forward_target_decr_pc_after_break) | |
2804 | (target_decr_pc_after_break): New. | |
2805 | * target.c (forward_target_decr_pc_after_break) | |
2806 | (target_decr_pc_after_break): New. | |
2807 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
2808 | instead of gdbarch_decr_pc_after_break. | |
2809 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
2810 | instead of gdbarch_decr_pc_after_break. | |
2811 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
2812 | instead of gdbarch_decr_pc_after_break. | |
2813 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
2814 | instead of gdbarch_decr_pc_after_break. | |
2815 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
2816 | instead of gdbarch_decr_pc_after_break. | |
2817 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
2818 | instead of gdbarch_decr_pc_after_break. | |
2819 | ||
6e07b1d2 MM |
2820 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2821 | ||
2822 | * btrace.c: Include regcache.h. | |
2823 | (btrace_add_pc): New. | |
2824 | (btrace_enable): Call btrace_add_pc. | |
2825 | (btrace_is_empty): New. | |
2826 | * btrace.h (btrace_is_empty): New. | |
2827 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
2828 | btrace_is_empty. | |
2829 | ||
969c39fb MM |
2830 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2831 | ||
2832 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
2833 | Support delta reads. | |
2834 | (linux_disable_btrace): Change return type. | |
2835 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
2836 | and return type to allow error reporting. Update users. | |
2837 | (linux_disable_btrace): Change return type. Update users. | |
2838 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
2839 | New. | |
2840 | (btrace_error): New. | |
2841 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
2842 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
2843 | the current trace. | |
2844 | (btrace_stitch_trace, btrace_clear_history): New. | |
2845 | (btrace_fetch): Read delta trace, return if replaying. | |
2846 | (btrace_clear): Move clear history code to btrace_clear_history. | |
2847 | (parse_xml_btrace): Throw an error if parsing failed. | |
2848 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
2849 | and return type to allow error reporting. | |
2850 | (target_read_btrace): Change parameters and return type to allow | |
2851 | error reporting. | |
2852 | * target.c (target_read_btrace): Update. | |
2853 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
2854 | errors on. | |
2855 | * NEWS: Announce it. | |
2856 | ||
0b722aec MM |
2857 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2858 | ||
2859 | * record.h (record_btrace_frame_unwind) | |
2860 | (record_btrace_tailcall_frame_unwind): New declarations. | |
2861 | * dwarf2-frame: Include record.h | |
2862 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
2863 | * record-btrace.c: Include hashtab.h. | |
2864 | (btrace_get_bfun_name): New. | |
2865 | (btrace_call_history): Call btrace_get_bfun_name. | |
2866 | (struct btrace_frame_cache): New. | |
2867 | (bfcache): New. | |
2868 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
2869 | (btrace_get_frame_function): New. | |
2870 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
2871 | (record_btrace_frame_this_id): Compute own id. | |
2872 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
2873 | for all other registers. | |
2874 | (record_btrace_frame_sniffer): Detect btrace frames. | |
2875 | (record_btrace_tailcall_frame_sniffer): New. | |
2876 | (record_btrace_frame_dealloc_cache): New. | |
2877 | (record_btrace_frame_unwind): Add new functions. | |
2878 | (record_btrace_tailcall_frame_unwind): New. | |
2879 | (_initialize_record_btrace): Allocate cache. | |
2880 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
2881 | * NEWS: Announce it. | |
2882 | ||
066ce621 MM |
2883 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2884 | ||
2885 | * record-btrace.c (record_btrace_set_replay) | |
2886 | (record_btrace_goto_begin, record_btrace_goto_end) | |
2887 | (record_btrace_goto): New. | |
2888 | (init_record_btrace_ops): Initialize them. | |
2889 | * NEWS: Announce it. | |
2890 | ||
e2887aa3 MM |
2891 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2892 | ||
2893 | * record-btrace.c (record_btrace_find_new_threads) | |
2894 | (record_btrace_thread_alive): New. | |
2895 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
2896 | to_thread_alive. | |
2897 | ||
b2f4cfde MM |
2898 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2899 | ||
2900 | * record-btrace.c (record_btrace_resume): New. | |
2901 | (record_btrace_wait): New. | |
2902 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
2903 | ||
633785ff MM |
2904 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2905 | ||
2906 | * record-btrace.c (record_btrace_xfer_partial) | |
2907 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
2908 | (record_btrace_allow_memory_access): New. | |
2909 | (init_record_btrace_ops): Initialize new methods. | |
2910 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
2911 | that this memory is not available. | |
2912 | ||
3db08215 MM |
2913 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2914 | ||
2915 | * target.h (target_ops) <to_insert_breakpoint> | |
2916 | <to_remove_breakpoint>: Add target_ops parameter. | |
2917 | (forward_target_insert_breakpoint): New. | |
2918 | (forward_target_remove_breakpoint): New. | |
2919 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
2920 | Add target_ops parameter. | |
2921 | * target.c (target_insert_breakpoint): Split into this and ... | |
2922 | (forward_target_insert_breakpoint): ... this. | |
2923 | (target_remove_breakpoint): Split into this and ... | |
2924 | (forward_target_remove_breakpoint): ... this. | |
2925 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
2926 | Call forward_target_insert_breakpoint. | |
2927 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
2928 | Call forward_target_remove_breakpoint. | |
2929 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
2930 | and to_remove_breakpoint. | |
2931 | * corelow.c (ignore): Add target_ops parameter. | |
2932 | * exec.c (ignore): Add target_ops parameter. | |
2933 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
2934 | Add target_ops parameter. | |
2935 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
2936 | Add target_ops parameter. | |
2937 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
2938 | Add target_ops parameter. | |
2939 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
2940 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
2941 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
2942 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
2943 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
2944 | Update users. | |
2945 | (record_full_beneath_to_insert_breakpoint_ops) | |
2946 | (record_full_beneath_to_remove_breakpoint_ops) | |
2947 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
2948 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
2949 | tmp_to_remove_breakpoint_ops, | |
2950 | record_full_beneath_to_insert_breakpoint_ops, and | |
2951 | record_full_beneath_to_remove_breakpoint_ops. | |
2952 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
2953 | (m32r_remove_breakpoint): Add target_ops parameter. | |
2954 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
2955 | Add target_ops parameter. | |
2956 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
2957 | Add target_ops parameter. | |
2958 | ||
cecac1ab MM |
2959 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
2960 | Markus Metzger <markus.t.metzger@intel.com> | |
2961 | ||
2962 | * record-btrace.c: Include frame-unwind.h. | |
2963 | (record_btrace_frame_unwind_stop_reason) | |
2964 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
2965 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
2966 | New. | |
2967 | (init_record_btrace_ops): Install it. | |
2968 | ||
824344ca MM |
2969 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
2970 | ||
2971 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
2972 | get_prev_frame_1. | |
2973 | ||
32261e52 MM |
2974 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
2975 | ||
2976 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
2977 | earlier. | |
2978 | ||
ea001bdc MM |
2979 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
2980 | ||
2981 | * frame-unwind.c: Include target.h. | |
2982 | (frame_unwind_try_unwinder): New function with code from ... | |
2983 | (frame_unwind_find_by_frame): ... here. New variable | |
2984 | unwinder_from_target, call also target_get_unwinder) | |
2985 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
2986 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
2987 | * target.h (struct target_ops): New fields to_get_unwinder and | |
2988 | to_get_tailcall_unwinder. | |
2989 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
2990 | ||
1f3ef581 MM |
2991 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
2992 | ||
2993 | * record-btrace.c (record_btrace_fetch_registers) | |
2994 | (record_btrace_store_registers) | |
2995 | (record_btrace_to_prepare_to_store): New. | |
2996 | (init_record_btrace_ops): Add the above. | |
2997 | ||
f32dbf8c MM |
2998 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
2999 | ||
3000 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
3001 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
3002 | argument. | |
3003 | (target_prepare_to_store): Add argument. | |
3004 | * target.c (debug_to_prepare_to_store): Add argument. | |
3005 | (update_current_target): Update. | |
3006 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
3007 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
3008 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
3009 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
3010 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
3011 | argument. | |
3012 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
3013 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
3014 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
3015 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
3016 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
3017 | ||
07bbe694 MM |
3018 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3019 | ||
3020 | * btrace.h (replay) <replay>: New. | |
3021 | (btrace_is_replaying): New. | |
3022 | * btrace.c (btrace_clear): Free replay iterator. | |
3023 | (btrace_is_replaying): New. | |
3024 | * record-btrace.c (record_btrace_is_replaying): New. | |
3025 | (record_btrace_info): Print insn number if replaying. | |
3026 | (record_btrace_insn_history): Start at replay position. | |
3027 | (record_btrace_call_history): Start at replay position. | |
3028 | (init_record_btrace_ops): Init to_record_is_replaying. | |
3029 | ||
0688d04e MM |
3030 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3031 | ||
3032 | * record-btrace.c (record_btrace_insn_history_range): Include | |
3033 | end. | |
3034 | (record_btrace_insn_history_from): Adjust range. | |
3035 | (record_btrace_call_history_range): Include | |
3036 | end. | |
3037 | (record_btrace_call_history_from): Adjust range. | |
3038 | * NEWS: Announce changes. | |
3039 | ||
8710b709 MM |
3040 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3041 | ||
3042 | * record.h (enum record_print_flag) | |
3043 | <record_print_indent_calls>: New. | |
3044 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
3045 | (_initialize_record): Document /c modifier. | |
3046 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
3047 | Reorder fields. Optionally indent the function name. Update | |
3048 | all users. | |
3049 | * NEWS: Announce changes. | |
3050 | ||
d0fa7535 MM |
3051 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3052 | ||
3053 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
3054 | ||
5de9129b MM |
3055 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3056 | ||
3057 | * btrace.c (ftrace_new_function): Start counting at one. | |
3058 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
3059 | and insns. | |
3060 | * NEWS: Announce it. | |
3061 | ||
7acbe133 MM |
3062 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3063 | ||
3064 | * record-btrace.c (btrace_call_history_insn_range): Print | |
3065 | insn range as [begin, end]. | |
3066 | ||
23a7fe75 MM |
3067 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3068 | ||
3069 | * btrace.h (struct btrace_func_link): New. | |
3070 | (enum btrace_function_flag): New. | |
3071 | (struct btrace_inst): Rename to ... | |
3072 | (struct btrace_insn): ...this. Update all users. | |
3073 | (struct btrace_func) <ibegin, iend>: Remove. | |
3074 | (struct btrace_func_link): New. | |
3075 | (struct btrace_func): Rename to ... | |
3076 | (struct btrace_function): ...this. Update all users. | |
3077 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
3078 | (number, level, flags>: New. | |
3079 | (struct btrace_insn_iterator): Rename to ... | |
3080 | (struct btrace_insn_history): ...this. | |
3081 | Update all users. | |
3082 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
3083 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
3084 | (struct btrace_target_info) <begin, end, level> | |
3085 | <insn_history, call_history>: New. | |
3086 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
3087 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
3088 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
3089 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
3090 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
3091 | (btrace_find_function_by_number, btrace_set_insn_history) | |
3092 | (btrace_set_call_history): New. | |
3093 | * btrace.c (btrace_init_insn_iterator) | |
3094 | (btrace_init_func_iterator, compute_itrace): Remove. | |
3095 | (ftrace_print_function_name, ftrace_print_filename) | |
3096 | (ftrace_skip_file): Change | |
3097 | parameter to const. | |
3098 | (ftrace_init_func): Remove. | |
3099 | (ftrace_debug): Use new btrace_function fields. | |
3100 | (ftrace_function_switched): Also consider gaining and | |
3101 | losing symbol information). | |
3102 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
3103 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
3104 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
3105 | New. | |
3106 | (ftrace_new_function): Move. Remove debug print. | |
3107 | (ftrace_update_lines, ftrace_update_insns): New. | |
3108 | (ftrace_update_function): Check for call, ret, and jump. | |
3109 | (compute_ftrace): Renamed to ... | |
3110 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
3111 | stack. | |
3112 | (btrace_fetch, btrace_clear): Updated. | |
3113 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
3114 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
3115 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
3116 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
3117 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
3118 | (btrace_find_function_by_number, btrace_set_insn_history) | |
3119 | (btrace_set_call_history): New. | |
3120 | * record-btrace.c (require_btrace): Use new btrace thread | |
3121 | info fields. | |
3122 | (record_btrace_info, btrace_insn_history) | |
3123 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
3124 | Use new btrace thread info fields and new iterator. | |
3125 | (btrace_func_history_src_line): Rename to ... | |
3126 | (btrace_call_history_src_line): ...this. Use new btrace | |
3127 | thread info fields. | |
3128 | (btrace_func_history): Rename to ... | |
3129 | (btrace_call_history): ...this. Use new btrace thread info | |
3130 | fields and new iterator. | |
3131 | (record_btrace_call_history, record_btrace_call_history_range): | |
3132 | Use new btrace thread info fields and new iterator. | |
3133 | ||
8372a7cb MM |
3134 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3135 | ||
3136 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
3137 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
3138 | ||
c2170eef MM |
3139 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3140 | ||
3141 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
3142 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
3143 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
3144 | to gdbarch. | |
3145 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
3146 | (i386_insn_is_jump, i386_jmp_p): New. | |
3147 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
3148 | insn_is_jump to gdbarch. | |
3149 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
3150 | * gdbarch.h: Regenerated. | |
3151 | * gdbarch.c: Regenerated. | |
3152 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
3153 | (default_insn_is_jump): New. | |
3154 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
3155 | (default_insn_is_jump): New. | |
3156 | ||
864089d2 MM |
3157 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3158 | ||
3159 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
3160 | Change to ... | |
3161 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
3162 | (btrace_read_type) <btrace_read_new>: Change to ... | |
3163 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
3164 | ||
ed9edfb5 MM |
3165 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
3166 | ||
3167 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
3168 | previous iteration. | |
3169 | ||
fbcbc3fd DE |
3170 | 2014-01-15 Doug Evans <dje@google.com> |
3171 | ||
3172 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
3173 | uint32_t. | |
3174 | ||
3d548a53 TT |
3175 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3176 | ||
3177 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
3178 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
3179 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
3180 | (set_objfile_main_name): New function. | |
3181 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
3182 | language_of_main>: New fields. | |
3183 | (set_objfile_main_name): Declare. | |
3184 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
3185 | name and language. | |
3186 | (set_main_name): Now static. | |
3187 | (get_main_info): Add comment. | |
3188 | * symtab.h (set_main_name): Don't declare. | |
3189 | ||
32ac0d11 TT |
3190 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3191 | ||
3192 | * symtab.c (main_progspace_key): New global. | |
3193 | (struct main_info): New. | |
3194 | (name_of_main, language_of_main): Remove. | |
3195 | (get_main_info, main_info_cleanup): New function. | |
3196 | (set_main_name, main_name, main_language): Use get_main_info. | |
3197 | (_initialize_symtab): Initialize main_progspace_key. | |
3198 | ||
9e6c82ad TT |
3199 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3200 | ||
3201 | * dbxread.c (process_one_symbol): Update. | |
3202 | * dwarf2read.c (read_partial_die): Update. | |
3203 | * symfile.c (set_initial_language): Call main_language. | |
3204 | * symtab.c (language_of_main): Now static. | |
3205 | (set_main_name): Add 'lang' parameter. | |
3206 | (find_main_name): Update. | |
3207 | (main_language): New function. | |
3208 | (symtab_observer_executable_changed): Update. | |
3209 | * symtab.h (set_main_name): Update. | |
3210 | (language_of_main): Remove. | |
3211 | (main_language): Declare. | |
3212 | ||
6ef55de7 TT |
3213 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3214 | ||
3215 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
3216 | Update. | |
3217 | * objfiles.h (struct entry_point) <initialized>: New field. | |
3218 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
3219 | (struct objfile) <ei>: ...here. Remove. | |
3220 | * objfiles.c (entry_point_address_query): Update. | |
3221 | ||
53eddfa6 TT |
3222 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3223 | ||
3224 | * objfiles.c (entry_point_address_query): Relocate entry point | |
3225 | address. | |
3226 | (objfile_relocate1): Do not relocate entry point address. | |
3227 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
3228 | <the_bfd_section_index>: New field. | |
3229 | * symfile.c (init_entry_point_info): Find the entry point's | |
3230 | section. | |
3231 | ||
d56e56aa TT |
3232 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3233 | ||
3234 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
3235 | ||
33a97bbe OJ |
3236 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3237 | ||
3238 | * NEWS: Add note on improved process record-replay on | |
3239 | arm*-linux* targets. | |
3240 | ||
c6ec2b30 OJ |
3241 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3242 | ||
3243 | * arm-tdep.c (enum arm_record_result): New enum. | |
3244 | (arm_record_unsupported_insn): New function. | |
3245 | (arm_record_coproc_data_proc): Removed. | |
3246 | (thumb2_record_ld_st_multiple): New function. | |
3247 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
3248 | (thumb2_record_data_proc_sreg_mimm): New function. | |
3249 | (thumb2_record_ps_dest_generic): New function. | |
3250 | (thumb2_record_branch_misc_cntrl): New function. | |
3251 | (thumb2_record_str_single_data): New function. | |
3252 | (thumb2_record_ld_mem_hints): New function. | |
3253 | (thumb2_record_ld_word): New function. | |
3254 | (thumb2_record_lmul_lmla_div): New function. | |
3255 | (thumb2_record_decode_insn_handler): New function. | |
3256 | (decode_insn): Add thumb32 instruction handlers. | |
3257 | ||
97dfe206 OJ |
3258 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3259 | ||
3260 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
3261 | (struct arm_linux_record_tdep): Declare. | |
3262 | (arm_canonicalize_syscall): New function. | |
3263 | (arm_all_but_pc_registers_record): New function. | |
3264 | (arm_linux_syscall_record): New function. | |
3265 | (arm_linux_init_abi): Add syscall recording constructs. | |
3266 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
3267 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
3268 | decoding. | |
3269 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
3270 | <arm_syscall_record>: New field. | |
3271 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
3272 | gdb_target_obs. | |
3273 | ||
9904a494 OJ |
3274 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3275 | ||
3276 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
3277 | register for push instruction recording. | |
3278 | ||
f969241e OJ |
3279 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3280 | ||
3281 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
3282 | error while recording ldm, ldmia and pop instructions. | |
3283 | ||
bfbbec00 OJ |
3284 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
3285 | ||
3286 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
3287 | ||
e40adcc9 PA |
3288 | 2014-01-15 Pedro Alves <palves@redhat.com> |
3289 | ||
3290 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
3291 | (go32_resume, go32_fetch_registers, store_register) | |
3292 | (go32_store_registers, go32_prepare_to_store) | |
3293 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
3294 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
3295 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
3296 | declarations. | |
3297 | ||
b0a16e66 TT |
3298 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
3299 | ||
3300 | * target.h (async_callback_ftype): New typedef. | |
3301 | (struct target_ops) <to_async>: Use it. | |
3302 | ||
bf7105a4 JB |
3303 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
3304 | ||
3305 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
3306 | braces for single-statement if block. | |
3307 | ||
a8f35c2e JB |
3308 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
3309 | ||
3310 | * python/py-type.c (convert_field): Add missing empty line | |
3311 | after declarations. | |
3312 | ||
bb4142cf DE |
3313 | 2014-01-14 Doug Evans <dje@google.com> |
3314 | ||
3315 | * symfile.h (expand_symtabs_matching): Renamed from | |
3316 | expand_partial_symbol_names. Update prototype. | |
3317 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
3318 | * symfile.c (expand_symtabs_matching): Renamed from | |
3319 | expand_partial_symbol_names. New args file_matcher, kind. | |
3320 | Rename arg fun to symbol_matcher. | |
3321 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
3322 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
3323 | ada_expand_partial_symbol_name. | |
3324 | (ada_make_symbol_completion_list): Update to call | |
3325 | expand_symtabs_matching. | |
3326 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
3327 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
3328 | call map_symbol_filenames. | |
3329 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
3330 | (search_symbols): Call expand_symtabs_matching. | |
3331 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
3332 | (default_make_symbol_completion_list_break_on): Update to call | |
3333 | expand_symtabs_matching. | |
3334 | (make_source_files_completion_list): Update to call | |
3335 | map_symbol_filenames. | |
3336 | ||
206f2a57 DE |
3337 | 2014-01-14 Doug Evans <dje@google.com> |
3338 | ||
3339 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
3340 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
3341 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
3342 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
3343 | * symfile.c (expand_partial_symbol_names): Update to use | |
3344 | expand_symtabs_symbol_matcher_ftype. | |
3345 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
3346 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
3347 | Arg name_matcher renamed to symbol_matcher. | |
3348 | * psymtab.c (recursively_search_psymtabs): Update to use | |
3349 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
3350 | sym_matcher. | |
3351 | (expand_symtabs_matching_via_partial): Update to use | |
3352 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
3353 | Arg name_matcher renamed to symbol_matcher. | |
3354 | ||
540c2971 DE |
3355 | 2014-01-14 Doug Evans <dje@google.com> |
3356 | ||
3357 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
3358 | (map_partial_symbol_filenames): Ditto. | |
3359 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
3360 | (map_partial_symbol_filenames): Ditto. | |
3361 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
3362 | (map_partial_symbol_filenames): Ditto. | |
3363 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
3364 | (map_partial_symbol_filenames): Ditto. | |
3365 | * symtab.c: Delete #include "psymtab.h". | |
3366 | ||
8213266a PA |
3367 | 2014-01-14 Pedro Alves <palves@redhat.com> |
3368 | Tom Tromey <tromey@redhat.com> | |
3369 | ||
3370 | * infrun.c (use_displaced_stepping): Use find_record_target | |
3371 | instead of RECORD_IS_USED. | |
3372 | (adjust_pc_after_break): Use record_full_is_used instead of | |
3373 | RECORD_IS_USED. | |
3374 | * record-btrace.c (record_btrace_open): Call record_preopen | |
3375 | instead of checking RECORD_IS_USED. | |
3376 | * record-full.c (record_full_shortname) | |
3377 | (record_full_core_shortname): New globals. | |
3378 | (record_full_is_used): New function. | |
3379 | (find_full_open): Call record_preopen instead of checking | |
3380 | RECORD_IS_USED. | |
3381 | (init_record_full_ops): Set the target's shortname to | |
3382 | record_full_shortname. | |
3383 | (init_record_full_core_ops): Set the target's shortname to | |
3384 | record_full_core_shortname. | |
3385 | * record-full.h (record_full_is_used): Declare. | |
3386 | * record.c (find_record_target): Make extern. | |
3387 | (record_preopen): New function. | |
3388 | * record.h (RECORD_IS_USED): Delete macro. | |
3389 | (find_record_target, record_preopen): Declare functions. | |
3390 | ||
7ec1862d YQ |
3391 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
3392 | ||
3393 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
3394 | 'len''s type to ULONGEST. | |
3395 | (core_xfer_shared_libraries_aix): Likewise. | |
3396 | * gdbarch.c, gdbarch.h: Regenerated. | |
3397 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
3398 | Change type of 'len' to ULONGEST. | |
3399 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
3400 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
3401 | ||
dea80a27 YQ |
3402 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
3403 | ||
3404 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
3405 | type of 'len' to ULONGEST. | |
3406 | (linux_xfer_osdata_processgroups): Likewise. | |
3407 | (linux_xfer_osdata_threads): Likewise. | |
3408 | (linux_xfer_osdata_fds): Likewise. | |
3409 | (linux_xfer_osdata_isockets): Likewise. | |
3410 | (linux_xfer_osdata_shm): Likewise. | |
3411 | (linux_xfer_osdata_sem): Likewise. | |
3412 | (linux_xfer_osdata_msg): Likewise. | |
3413 | (linux_common_xfer_osdata): Likewise. | |
3414 | (struct osdata_type) <getter>: Likewise. | |
3415 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
3416 | the declaration. | |
3417 | ||
b55e14c7 YQ |
3418 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
3419 | ||
3420 | * target.h (target_xfer_partial_ftype): Update. | |
3421 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
3422 | ULONGEST. | |
3423 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
3424 | argument 'len' to ULONGEST. | |
3425 | * auxv.c (procfs_xfer_auxv): Likewise. | |
3426 | (ld_so_xfer_auxv): Likewise. | |
3427 | (memory_xfer_auxv): Likewise. | |
3428 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
3429 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
3430 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
3431 | * corelow.c (core_xfer_partial): Likewise. | |
3432 | * ctf.c (ctf_xfer_partial): Likewise. | |
3433 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
3434 | '%u'. | |
3435 | (darwin_read_dyld_info): Likewise. | |
3436 | (darwin_xfer_partial): Likewise. | |
3437 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
3438 | (exec_xfer_partial): Likewise. | |
3439 | * exec.h (section_table_xfer_memory_partial): Update | |
3440 | declaration. | |
3441 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
3442 | instead of plongest. | |
3443 | (gnu_xfer_partial): Likewise. | |
3444 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
3445 | (ia64_hpux_xfer_solib_got): Likewise. | |
3446 | (ia64_hpux_xfer_partial): Likewise. | |
3447 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
3448 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
3449 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
3450 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
3451 | (linux_nat_xfer_partial): Likewise. | |
3452 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
3453 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
3454 | * monitor.c (monitor_xfer_memory): Likewise. | |
3455 | (monitor_xfer_partial): Likewise. | |
3456 | * procfs.c (procfs_xfer_partial): Likewise. | |
3457 | * record-full.c (record_full_xfer_partial): Likewise. | |
3458 | (record_full_core_xfer_partial): Likewise. | |
3459 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
3460 | instead of plongest. | |
3461 | (gdbsim_xfer_partial): Likewise. | |
3462 | * remote.c (remote_xfer_partial): Likewise. | |
3463 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
3464 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
3465 | declaration. | |
3466 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
3467 | (rs6000_xfer_shared_libraries): Likewise. | |
3468 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
3469 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
3470 | (sparc_xfer_partial): Likewise. | |
3471 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
3472 | (spu_xfer_partial): Likewise. | |
3473 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
3474 | * target.c (target_read_live_memory): Likewise. | |
3475 | (memory_xfer_live_readonly_partial): Likewise. | |
3476 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
3477 | (target_xfer_partial, default_xfer_partial): Likewise. | |
3478 | (current_xfer_partial): Likewise. | |
3479 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
3480 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
3481 | pulongest instead of plongest. | |
3482 | (windows_xfer_partial): Likewise. | |
3483 | (windows_xfer_shared_libraries): Likewise. | |
3484 | ||
05804640 YQ |
3485 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
3486 | ||
3487 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
3488 | target_xfer_partial_ftype. | |
3489 | ||
b5b08fb4 SC |
3490 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
3491 | ||
3492 | PR python/15464 | |
3493 | PR python/16113 | |
3494 | * valops.c (value_struct_elt_bitpos): New function | |
3495 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
3496 | object to 'None' if the field name is an empty string (""). | |
3497 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
3498 | attribute to look for a field when 'name' is 'None'. | |
3499 | (get_field_type): New function | |
3500 | ||
13aaf454 DE |
3501 | 2014-01-13 Doug Evans <dje@google.com> |
3502 | ||
3503 | PR symtab/16426 | |
3504 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
3505 | (try_open_dwop_file): Ditto. | |
3506 | * gdb_bfd.c: #include "vec.h". | |
3507 | (bfdp): New typedef. | |
3508 | (struct gdb_bfd_data): New member included_bfds. | |
3509 | (gdb_bfd_unref): Unref all included bfds. | |
3510 | (gdb_bfd_record_inclusion): New function. | |
3511 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
3512 | ||
c2cec97c TT |
3513 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3514 | ||
3515 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
3516 | ||
78e5999d TT |
3517 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3518 | ||
3519 | * defs.h (use_windows): Remove. | |
3520 | * gdb.c (main): Update. | |
3521 | * main.c (captured_main, gdb_main): Update. | |
3522 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
3523 | * top.c (use_windows): Remove. | |
3524 | ||
f2052bbe TT |
3525 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3526 | ||
3527 | * defs.h (deprecated_flush_hook): Remove. | |
3528 | ||
fde4f8ed JK |
3529 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
3530 | ||
3531 | PR threads/16216 | |
3532 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
3533 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
3534 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
3535 | (try_thread_db_load_from_sdir): Update caller. | |
3536 | (try_thread_db_load_from_dir): Move it there from here. | |
3537 | ||
bdf61915 PP |
3538 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
3539 | ||
3540 | * regformats/regdat.sh: Always rewrite the register file. | |
3541 | ||
f71e1a8d PA |
3542 | 2014-01-13 Pedro Alves <palves@redhat.com> |
3543 | ||
3544 | * Makefile.in (CHECK_HEADERS): New variable. | |
3545 | (check-headers:): New rule. | |
3546 | ||
42c85435 TT |
3547 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3548 | ||
3549 | * cli/cli-setshow.c (do_set_command): Update. | |
3550 | * defs.h (deprecated_set_hook): Remove. | |
3551 | * top.c (deprecated_set_hook): Remove. | |
3552 | ||
f8de5129 PA |
3553 | 2014-01-13 Pedro Alves <palves@redhat.com> |
3554 | ||
3555 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
3556 | the tracepoint if the PC is a pseudo-register. | |
3557 | ||
fc270c35 TT |
3558 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3559 | ||
3560 | * defs.h (XCALLOC): Remove. | |
3561 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
3562 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
3563 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
3564 | * elfread.c (elf_symfile_segments): Likewise. | |
3565 | (elf_symfile_segments): Likewise. | |
3566 | * gdbtypes.c (copy_type_recursive): Likewise. | |
3567 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
3568 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
3569 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
3570 | XCALLOC. | |
3571 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
3572 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
3573 | XCALLOC. | |
3574 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
3575 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
3576 | * registry.c (registry_alloc_data): Likewise. | |
3577 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
3578 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
3579 | * serial.c (serial_fdopen_ops): Likewise. | |
3580 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
3581 | XCALLOC. | |
3582 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
3583 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
3584 | not XCALLOC. | |
3585 | ||
70ba0933 TT |
3586 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3587 | ||
3588 | * defs.h (XMALLOC): Remove. | |
3589 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
3590 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
3591 | * cli-out.c (struct ui_out *): Likewise. | |
3592 | * cli/cli-dump.c (add_dump_command): Likewise. | |
3593 | (add_dump_command): Likewise. | |
3594 | * complaints.c (get_complaints): Likewise. | |
3595 | (find_complaint): Likewise. | |
3596 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
3597 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
3598 | * gdbarch.sh: Likewise. | |
3599 | * gdbarch.c: Rebuild. | |
3600 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
3601 | * interps.c (interp_new): Likewise. | |
3602 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
3603 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
3604 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
3605 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
3606 | * mi/mi-out.c (mi_out_new): Likewise. | |
3607 | * mi/mi-parse.c (mi_parse): Likewise. | |
3608 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
3609 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
3610 | * observer.c (xalloc_observer_list_node): Likewise. | |
3611 | * regcache.c (regcache_xmalloc_1): Likewise. | |
3612 | * reggroups.c (reggroup_new): Likewise. | |
3613 | (_initialize_reggroup): Likewise. | |
3614 | * registry.c (register_data_with_cleanup): Likewise. | |
3615 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
3616 | * ser-base.c (serial_ttystate): Likewise. | |
3617 | * ser-mingw.c (make_pipe_state): Likewise. | |
3618 | * ser-pipe.c (pipe_open): Likewise. | |
3619 | * serial.c (serial_open): Likewise. | |
3620 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
3621 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
3622 | (tui_alloc_win_info): Likewise. | |
3623 | (tui_add_content_elements): Likewise. | |
3624 | * tui/tui-file.c (tui_file_new): Likewise. | |
3625 | * tui/tui-out.c (tui_out_new): Likewise. | |
3626 | * ui-file.c (mem_file_new): Likewise. | |
3627 | * ui-out.c (push_level): Likewise. | |
3628 | (make_cleanup_ui_out_end): Likewise. | |
3629 | (append_header_to_list): Likewise. | |
3630 | (ui_out_new): Likewise. | |
3631 | * user-regs.c (user_reg_add_builtin): Likewise. | |
3632 | ||
41bf6aca TT |
3633 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
3634 | ||
3635 | * defs.h (XZALLOC): Remove. | |
3636 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
3637 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
3638 | (get_ada_tasks_inferior_data): Likewise. | |
3639 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
3640 | * auxv.c (get_auxv_inferior_data): Likewise. | |
3641 | * bfd-target.c (target_bfd_reopen): Likewise. | |
3642 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
3643 | (deprecated_insert_raw_breakpoint): Likewise. | |
3644 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
3645 | * corelow.c (core_open): Likewise. | |
3646 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
3647 | (darwin_attach_pid): Likewise. | |
3648 | * dummy-frame.c (dummy_frame_push): Likewise. | |
3649 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
3650 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
3651 | * elfread.c (elf_symfile_segments): Likewise. | |
3652 | * eval.c (ptrmath_type_p): Likewise. | |
3653 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
3654 | * gdbtypes.c (alloc_type_arch): Likewise. | |
3655 | (alloc_type_instance): Likewise. | |
3656 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
3657 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
3658 | * inflow.c (get_inflow_inferior_data): Likewise. | |
3659 | * infrun.c (save_infcall_suspend_state): Likewise. | |
3660 | * jit.c (jit_reader_load): Likewise. | |
3661 | (get_jit_objfile_data): Likewise. | |
3662 | (get_jit_program_space_data): Likewise. | |
3663 | (jit_object_open_impl): Likewise. | |
3664 | (jit_symtab_open_impl): Likewise. | |
3665 | (jit_block_open_impl): Likewise. | |
3666 | (jit_frame_sniffer): Likewise. | |
3667 | * linux-fork.c (add_fork): Likewise. | |
3668 | * maint.c (make_command_stats_cleanup): Likewise. | |
3669 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
3670 | * opencl-lang.c (struct lval_closure): Likewise. | |
3671 | * osdata.c (osdata_start_osdata): Likewise. | |
3672 | * progspace.c (new_address_space): Likewise. | |
3673 | (add_program_space): Likewise. | |
3674 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
3675 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3676 | * skip.c (Ignore): Likewise. | |
3677 | (skip_delete_command): Likewise. | |
3678 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
3679 | (library_list_start_library): Likewise. | |
3680 | (solib_aix_current_sos): Likewise. | |
3681 | * solib-darwin.c (get_darwin_info): Likewise. | |
3682 | (darwin_current_sos): Likewise. | |
3683 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
3684 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
3685 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
3686 | * solib-spu.c (append_ocl_sos): Likewise. | |
3687 | (spu_current_sos): Likewise. | |
3688 | * solib-svr4.c (get_svr4_info): Likewise. | |
3689 | (svr4_keep_data_in_core): Likewise. | |
3690 | (library_list_start_library): Likewise. | |
3691 | (svr4_default_sos): Likewise. | |
3692 | (svr4_read_so_list): Likewise. | |
3693 | * solib-target.c (library_list_start_library): Likewise. | |
3694 | (solib_target_current_sos): Likewise. | |
3695 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
3696 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
3697 | * symfile.c (default_symfile_segments): Likewise. | |
3698 | * target-descriptions.c (tdesc_data_init): Likewise. | |
3699 | (tdesc_create_reg): Likewise. | |
3700 | (struct tdesc_type *): Likewise. | |
3701 | (tdesc_create_vector): Likewise. | |
3702 | (tdesc_set_struct_size): Likewise. | |
3703 | (struct tdesc_type *): Likewise. | |
3704 | (tdesc_free_feature): Likewise. | |
3705 | (tdesc_create_feature): Likewise. | |
3706 | * windows-nat.c (windows_add_thread): Likewise. | |
3707 | (windows_make_so): Likewise. | |
3708 | * xml-support.c (gdb_xml_body_text): Likewise. | |
3709 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
3710 | (xml_process_xincludes): Likewise. | |
3711 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
3712 | (syscall_create_syscall_desc): Likewise. | |
3713 | ||
5acfdbae SDJ |
3714 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
3715 | ||
3716 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
3717 | function, with code from i386_stap_parse_special_token. | |
3718 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
3719 | (i386_stap_parse_special_token): Move code to the two functions | |
3720 | above; simplify it. | |
3721 | ||
0000e5cc PA |
3722 | 2014-01-09 Pedro Alves <palves@redhat.com> |
3723 | Hui Zhu <hui@codesourcery.com> | |
3724 | ||
3725 | PR gdb/16101 | |
3726 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
3727 | bp_err_string. Don't mark the location shlib_disabled if the | |
3728 | error thrown wasn't a generic or memory error. Catch errors | |
3729 | thrown while inserting breakpoints in overlayed code. Output | |
3730 | error message of software breakpoints. | |
3731 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
3732 | target-side commands but this stub doesn't support Z0 packets, | |
3733 | throw NOT_SUPPORTED_ERROR error. | |
3734 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
3735 | * target.h (target_insert_breakpoint): Extend comment. | |
3736 | (target_insert_hw_breakpoint): Add comment. | |
3737 | ||
b7ea362b PA |
3738 | 2014-01-08 Pedro Alves <palves@redhat.com> |
3739 | ||
3740 | * remote.c (remote_add_thread): Add threads silently if starting | |
3741 | up. | |
3742 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
3743 | don't call notice_new_inferior. | |
3744 | (get_current_thread): New function, factored out from ... | |
3745 | (add_current_inferior_and_thread): ... this. Adjust. | |
3746 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
3747 | found any thread, then select the remote's current thread as GDB's | |
3748 | current thread too. | |
3749 | ||
b7bba001 JB |
3750 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
3751 | ||
3752 | * NEWS: Create a new section for the next release branch. | |
3753 | Rename the section of the current branch, now that it has | |
3754 | been cut. | |
3755 | ||
16dfbded JB |
3756 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
3757 | ||
3758 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
3759 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
3760 | ||
22c90ac1 YQ |
3761 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
3762 | ||
3763 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
3764 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
3765 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
3766 | ||
d64ad97c YQ |
3767 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
3768 | ||
3769 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
3770 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
3771 | ||
f93ba80c PM |
3772 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
3773 | ||
3774 | Fix PR16201. | |
3775 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
3776 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
3777 | to prim_record_mininal_symbol_and_info. | |
3778 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
3779 | in call to prim_record_minimal_symbol_and_info. | |
3780 | (read_pe_exported_syms): Set index field of section_data. | |
3781 | ||
a4d9ba85 AP |
3782 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
3783 | ||
3784 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
3785 | * features/aarch64.c: Regenerate. | |
3786 | ||
1b67eb02 AS |
3787 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
3788 | ||
3789 | * target.c (return_null): Define. | |
3790 | (update_current_target): Use it instead of return_zero for | |
3791 | functions that return a pointer. | |
3792 | ||
5e3f4fab EBM |
3793 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
3794 | ||
3795 | * source.c (add_path): Fix check for duplicated paths in the previously | |
3796 | included paths. | |
3797 | ||
e2616788 HK |
3798 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
3799 | ||
3800 | * ada-lang.c: Remove duplicated include statements. | |
3801 | * alphabsd-nat.c: Ditto. | |
3802 | * amd64-darwin-tdep.c: Ditto. | |
3803 | * amd64fbsd-nat.c: Ditto. | |
3804 | * auto-load.c: Ditto. | |
3805 | * ax-gdb.c: Ditto. | |
3806 | * breakpoint.c: Ditto. | |
3807 | * dbxread.c: Ditto. | |
3808 | * fork-child.c: Ditto. | |
3809 | * gdb_usleep.c: Ditto. | |
3810 | * i386-darwin-tdep.c: Ditto. | |
3811 | * i386fbsd-nat.c: Ditto. | |
3812 | * infcmd.c: Ditto. | |
3813 | * inferior.c: Ditto. | |
3814 | * jv-lang.c: Ditto. | |
3815 | * linux-nat.c: Ditto. | |
3816 | * linux-tdep.c: Ditto. | |
3817 | * m68kbsd-nat.c: Ditto. | |
3818 | * m68klinux-nat.c: Ditto. | |
3819 | * microblaze-tdep.c: Ditto. | |
3820 | * mips-linux-tdep.c: Ditto. | |
3821 | * mn10300-tdep.c: Ditto. | |
3822 | * nto-tdep.c: Ditto. | |
3823 | * opencl-lang.c: Ditto. | |
3824 | * osdata.c: Ditto. | |
3825 | * printcmd.c: Ditto. | |
3826 | * regcache.c: Ditto. | |
3827 | * remote-m32r-sdi.c: Ditto. | |
3828 | * remote.c: Ditto. | |
3829 | * symfile.c: Ditto. | |
3830 | * symtab.c: Ditto. | |
3831 | * tilegx-linux-nat.c: Ditto. | |
3832 | * tilegx-tdep.c: Ditto. | |
3833 | * tracepoint.c: Ditto. | |
3834 | * valops.c: Ditto. | |
3835 | * vaxbsd-nat.c: Ditto. | |
3836 | * windows-nat.c: Ditto. | |
3837 | * xtensa-tdep.c: Ditto. | |
3838 | ||
bd1f7788 YQ |
3839 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3840 | ||
3841 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
3842 | ||
79301218 JB |
3843 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3844 | Joel Brobecker <brobecker@adacore.com> | |
3845 | ||
3846 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
3847 | (pdc_write_regs): Likewise. | |
3848 | (fetch_regs_kernel_thread): Likewise. | |
3849 | (store_regs_kernel_thread): Likewise. | |
3850 | ||
3851 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
3852 | ||
3853 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
3854 | tagged type objects to their actual type. | |
3855 | ||
8e355c5d JB |
3856 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3857 | ||
3858 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
3859 | Update calls to print_field_values and print_variant_part. | |
3860 | Pass new parameter "language" in call to val_print instead | |
3861 | of "current_language". Replace call to ada_val_print by call | |
3862 | to val_print. | |
3863 | (print_variant_part): Add "language" parameter. | |
3864 | (ada_val_print_struct_union): Update call to print_field_values. | |
3865 | ||
4fbf5aa5 JB |
3866 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3867 | ||
3868 | * ada-valprint.c (ui_memcpy): Delete. | |
3869 | (ada_print_floating): Update documentation. Add empty line | |
3870 | between between function documentation and implementation. | |
3871 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
3872 | ui_file_put. Minor adjustments following this change. | |
3873 | ||
71855601 JB |
3874 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3875 | ||
3876 | * ada-valprint.c (ada_val_print_string): New function, | |
3877 | extracted from ada_val_print_array. | |
3878 | (ada_val_print_array): Replace extracted code by call | |
3879 | to ada_val_print_string followed by a return. Move | |
3880 | "else" branch to the function's top block. | |
3881 | ||
4eb27a30 JB |
3882 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3883 | ||
3884 | * ada-valprint.c (ada_val_print_array): Move implementation | |
3885 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
3886 | and "original_value" respectively. Add parameter "offset". | |
3887 | ||
34b27950 JB |
3888 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3889 | ||
3890 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
3891 | re-organizing the code. Change the "???" message printed | |
3892 | when target type is a TYPE_CODE_UNDEF into | |
3893 | "<ref to undefined type>". | |
3894 | ||
079e4591 JB |
3895 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3896 | ||
3897 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
3898 | (ada_val_print_struct_union): ... here. Remove call to | |
3899 | ada_check_typedef in inlined implementation. | |
3900 | ||
8004dfd1 JB |
3901 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3902 | ||
3903 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
3904 | extracted from ada_val_print_1; | |
3905 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
3906 | (ada_val_print_flt, ada_val_print_struct_union) | |
3907 | (ada_val_print_ref): Likewise. | |
3908 | (ada_val_print_1): Delete variables i and elttype. | |
3909 | Replace extracted-out code by call to corresponding | |
3910 | new functions. | |
3911 | ||
760a2db0 JB |
3912 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3913 | ||
3914 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
3915 | ||
3a92c861 JB |
3916 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3917 | ||
3918 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
3919 | ada_val_print_1 by calls to val_print. | |
3920 | ||
cd1630f9 JB |
3921 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3922 | ||
3923 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
3924 | Update calls to self accordingly. Replace calls to c_val_print | |
3925 | by calls to val_print. | |
3926 | ||
bdf779a0 JB |
3927 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3928 | ||
3929 | * ada-valprint.c (print_record): Delete declaration. | |
3930 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
3931 | (ada_val_print): Move function implementation down. | |
3932 | (print_variant_part, print_field_values, print_record): | |
3933 | Move function implementation up. | |
3934 | ||
c0d48811 JB |
3935 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
3936 | ||
3937 | * python/py-type.c (typy_get_name): New function. | |
3938 | (type_object_getset): Add entry for attribute "name". | |
3939 | * NEWS: Add entry mentioning this new attribute. | |
3940 | ||
c26e9cbb YQ |
3941 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3942 | ||
3943 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
3944 | statement. | |
3945 | ||
0cc6f43d YQ |
3946 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3947 | ||
3948 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
3949 | argument args. | |
3950 | ||
eec03155 YQ |
3951 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3952 | ||
3953 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
3954 | ||
f04a82ef YQ |
3955 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3956 | ||
3957 | * gnu-nat.c (make_inf) Update declaration. | |
3958 | (make_inf): Make it static. | |
3959 | (inf_set_traced): Likewise. | |
3960 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
3961 | ||
d57dda0a YQ |
3962 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3963 | ||
3964 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
3965 | ||
3aa8c969 YQ |
3966 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3967 | ||
3968 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
3969 | ||
94123b4f YQ |
3970 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
3971 | ||
3972 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
3973 | 'enum bfd_endian'. | |
3974 | (struct gdbarch_info) <byte_order>: Change type to | |
3975 | 'enum bfd_endian'. | |
3976 | <byte_order_for_code>: Likewise. | |
3977 | * gdbarch.c, gdbarch.h: Regenerated. | |
3978 | ||
dc81d70a TT |
3979 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
3980 | ||
3981 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
3982 | ||
cc2f3c35 TT |
3983 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
3984 | ||
3985 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
3986 | CONST. | |
3987 | * somread.c (som_symtab_read): Likewise. | |
3988 | ||
adcf2eed HZ |
3989 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
3990 | ||
3991 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
3992 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
3993 | (gdb_bfd_fopen): Ditto. | |
3994 | (gdb_bfd_openr): Ditto. | |
3995 | (gdb_bfd_openw): Ditto. | |
3996 | (gdb_bfd_openr_iovec): Ditto. | |
3997 | (gdb_bfd_fdopenr): Ditto. | |
3998 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
3999 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
4000 | with xstrdup. | |
4001 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
4002 | with xstrdup. | |
4003 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
4004 | gdb_bfd_stash_filename. | |
4005 | ||
50722198 DE |
4006 | 2014-01-03 Doug Evans <dje@google.com> |
4007 | ||
4008 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
4009 | output. | |
4010 | ||
2fa4b862 JB |
4011 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
4012 | ||
4013 | Update year range in copyright notice of all files. | |
4014 | ||
28498c42 JB |
4015 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
4016 | ||
4017 | * top.c (print_gdb_version): Set copyright year to 2014. | |
4018 | ||
7b6e1046 JB |
4019 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
4020 | ||
4021 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
4022 | ||
df96af55 | 4023 | For older changes see ChangeLog-2013. |
c906108c SS |
4024 | \f |
4025 | Local Variables: | |
4026 | mode: change-log | |
4027 | left-margin: 8 | |
4028 | fill-column: 74 | |
4029 | version-control: never | |
57da7796 | 4030 | coding: utf-8 |
c906108c | 4031 | End: |