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