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