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