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