Move catch_command_errors and catch_command_errors_const to main.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-07-14 Pedro Alves <palves@redhat.com>
2
3 * exceptions.c (catch_command_errors, catch_command_errors_const):
4 Moved to main.c.
5 * exceptions.h (catch_command_errors_ftype)
6 (catch_command_errors_const_ftype): Moved to main.c.
7 (catch_command_errors, catch_command_errors_const): Delete
8 declarations.
9 * main.c (catch_command_errors_ftype)
10 (catch_command_errors_const_ftype): Moved here from exceptions.h.
11 (catch_command_errors, catch_command_errors_const)): Moved here
12 from exceptions.c and make static.
13
14 2014-07-14 Pedro Alves <palves@redhat.com>
15
16 * exceptions.c (print_any_exception): Delete.
17 (catch_exceptions_with_msg): Use exception_print instead of
18 print_any_exception.
19 (catch_errors): Use exception_fprintf instead of
20 print_any_exception.
21 (catch_command_errors, catch_command_errors_const): Use
22 exception_print instead of print_any_exception.
23
24 2014-07-14 Pedro Alves <palves@redhat.com>
25
26 * infcall.c (run_inferior_call): Set 'sync_execution' while
27 running the inferior call.
28
29 2014-07-14 Pedro Alves <palves@redhat.com>
30
31 * value.c (value_contents_equal): Delete function.
32 * value.h (value_contents_equal): Delete declaration.
33
34 2014-07-14 Tom Tromey <tromey@redhat.com>
35
36 PR exp/17106:
37 * gdbtypes.c (is_dynamic_type_internal): New function, from
38 is_dynamic_type.
39 (is_dynamic_type): Rewrite.
40 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
41 (resolve_dynamic_struct): Likewise.
42 (resolve_dynamic_type_internal): New function, from
43 resolve_dynamic_type.
44 (resolve_dynamic_type): Rewrite.
45
46 2014-07-14 Tom Tromey <tromey@redhat.com>
47
48 * target.c (target_require_runnable): Also check record_stratum.
49 Update comment.
50
51 2014-07-11 Yao Qi <yao@codesourcery.com>
52
53 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
54 thumb_instruction_restores_sp return true.
55
56 2014-07-11 Yao Qi <yao@codesourcery.com>
57
58 * arm-tdep.c (thumb_instruction_restores_sp): New function.
59 (thumb_in_function_epilogue_p): Call
60 thumb_instruction_restores_sp.
61
62 2014-07-11 Yao Qi <yao@codesourcery.com>
63
64 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
65 'add sp, #imm'.
66 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
67
68 2014-07-11 Gary Benson <gbenson@redhat.com>
69
70 * amd64-linux-nat.c (gdbcore.h): Remove include.
71 (regset.h): Likewise.
72 (nat/linux-btrace.h): Likewise.
73 (btrace.h): Likewise.
74 (gdb_assert.h): Likewise.
75 (string.h): Likewise.
76 (sys/uio.h): Likewise.
77 (sys/debugreg.h): Likewise.
78 (sys/syscall.h): Likewise.
79 (sys/procfs.h): Likewise.
80 (sys/user.h): Likewise.
81 (asm/ptrace.h): Likewise.
82 (i386-nat.h): Likewise.
83 * i386-linux-nat.c (i386-nat.h): Likewise.
84 (regset.h): Likewise.
85 (target.h): Likewise.
86 (linux-nat.h): Likewise.
87 (nat/linux-btrace.h): Likewise.
88 (btrace.h): Likewise.
89 (gdb_assert.h): Likewise.
90 (string.h): Likewise.
91 (sys/uio.h): Likewise.
92 (sys/user.h): Likewise.
93 (sys/procfs.h): Likewise.
94 (sys/reg.h): Likewise.
95 (sys/debugreg.h): Likewise.
96 (ORIG_EAX): Remove definition.
97
98 2014-07-11 Gary Benson <gbenson@redhat.com>
99
100 * i386-linux-nat.h: New file.
101 * x86-linux-nat.h: Likewise.
102 * x86-linux-nat.c: Likewise.
103 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
104 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
105 * config/i386/linux64.mh (NATDEPFILES): Likewise.
106 * amd64-linux-nat.c (x86-linux-nat.h): New include.
107 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
108 (PTRACE_SETREGSET): Likewise.
109 (arch_lwp_info): Now in x86-linux-nat.c.
110 (have_ptrace_getregset): Now in x86-linux-nat.h.
111 (x86_linux_dr_get): Now in x86-linux-nat.c.
112 (x86_linux_dr_set): Likewise.
113 (x86_linux_dr_get_addr): Likewise.
114 (x86_linux_dr_get_control): Likewise.
115 (x86_linux_dr_get_status): Likewise.
116 (update_debug_registers_callback): Likewise.
117 (x86_linux_dr_set_control): Likewise.
118 (x86_linux_dr_set_addr): Likewise.
119 (x86_linux_prepare_to_resume): Likewise.
120 (x86_linux_new_thread): Likewise.
121 (x86_linux_new_fork): Likewise.
122 (x86_linux_get_thread_area): Likewise.
123 (super_post_startup_inferior): Likewise.
124 (x86_linux_child_post_startup_inferior): Likewise.
125 (AMD64_LINUX_USER64_CS): Likewise.
126 (AMD64_LINUX_X32_DS): Likewise.
127 (x86_linux_read_description): Likewise.
128 (x86_linux_enable_btrace): Likewise.
129 (x86_linux_disable_btrace): Likewise.
130 (x86_linux_teardown_btrace): Likewise.
131 (x86_linux_read_btrace): Likewise.
132 (x86_linux_create_target): Likewise.
133 (x86_linux_add_target): Likewise.
134 * i386-linux-nat.c (x86-linux-nat.h): New include.
135 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
136 (PTRACE_SETREGSET): Likewise.
137 (arch_lwp_info): Now in x86-linux-nat.c.
138 (have_ptrace_getregset): Now in x86-linux-nat.h.
139 (x86_linux_dr_get): Now in x86-linux-nat.c.
140 (x86_linux_dr_set): Likewise.
141 (x86_linux_dr_get_addr): Likewise.
142 (x86_linux_dr_get_control): Likewise.
143 (x86_linux_dr_get_status): Likewise.
144 (update_debug_registers_callback): Likewise.
145 (x86_linux_dr_set_control): Likewise.
146 (x86_linux_dr_set_addr): Likewise.
147 (x86_linux_prepare_to_resume): Likewise.
148 (x86_linux_new_thread): Likewise.
149 (x86_linux_new_fork): Likewise.
150 (x86_linux_get_thread_area): Likewise.
151 (super_post_startup_inferior): Likewise.
152 (x86_linux_child_post_startup_inferior): Likewise.
153 (AMD64_LINUX_USER64_CS): Likewise.
154 (AMD64_LINUX_X32_DS): Likewise.
155 (x86_linux_read_description): Likewise.
156 (x86_linux_enable_btrace): Likewise.
157 (x86_linux_disable_btrace): Likewise.
158 (x86_linux_teardown_btrace): Likewise.
159 (x86_linux_read_btrace): Likewise.
160 (x86_linux_create_target): Likewise.
161 (x86_linux_add_target): Likewise.
162
163 2014-07-11 Gary Benson <gbenson@redhat.com>
164
165 * amd64-linux-nat.c: Comment and whitespace changes.
166 * i386-linux-nat.c: Comment and whitespace changes.
167
168 2014-07-11 Gary Benson <gbenson@redhat.com>
169
170 * amd64-linux-nat.c (x86_linux_create_target): New function.
171 (x86_linux_add_target): Likewise.
172 (_initialize_amd64_linux_nat): Delegate to the above new functions.
173 * i386-linux-nat.c (x86_linux_create_target): New function.
174 (x86_linux_add_target): Likewise.
175 (_initialize_i386_linux_nat): Delegate to the above new functions.
176
177 2014-07-11 Gary Benson <gbenson@redhat.com>
178
179 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
180 (ps_get_thread_area): Delegate to the above in 32-bit mode.
181 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
182 (ps_get_thread_area): Delegate to the above.
183
184 2014-07-11 Gary Benson <gbenson@redhat.com>
185
186 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
187 x86_linux_read_description. All uses updated. amd64-specific
188 code conditionalized. Conditionalized i386-specific code added.
189 Redundant cast removed.
190 * i386-linux-nat.c (i386_linux_read_description): Renamed to
191 x86_linux_read_description. All uses updated. i386-specific
192 code conditionalized. Conditionalized amd64-specific code added.
193 One sizeof replaced with the actual type it is describing.
194
195 2014-07-11 Gary Benson <gbenson@redhat.com>
196
197 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
198 x86_linux_dr_get. All uses updated.
199 (amd64_linux_dr_set): Renamed to
200 x86_linux_dr_set. All uses updated.
201 (amd64_linux_dr_get_addr): Renamed to
202 x86_linux_dr_get_addr. All uses updated.
203 (amd64_linux_dr_get_control): Renamed to
204 x86_linux_dr_get_control. All uses updated.
205 (amd64_linux_dr_get_status): Renamed to
206 x86_linux_dr_get_status. All uses updated.
207 (amd64_linux_dr_set_control): Renamed to
208 x86_linux_dr_set_control. All uses updated.
209 (amd64_linux_dr_set_addr): Renamed to
210 x86_linux_dr_set_addr. All uses updated.
211 (amd64_linux_prepare_to_resume): Renamed to
212 x86_linux_prepare_to_resume. All uses updated.
213 (amd64_linux_new_thread): Renamed to
214 x86_linux_new_thread. All uses updated.
215 (amd64_linux_new_fork): Renamed to
216 x86_linux_new_fork. All uses updated.
217 (amd64_linux_child_post_startup_inferior): Renamed to
218 x86_linux_child_post_startup_inferior. All uses updated.
219 (amd64_linux_enable_btrace): Renamed to
220 x86_linux_enable_btrace. All uses updated.
221 (amd64_linux_disable_btrace): Renamed to
222 x86_linux_disable_btrace. All uses updated.
223 (amd64_linux_teardown_btrace): Renamed to
224 x86_linux_teardown_btrace. All uses updated.
225 (amd64_linux_read_btrace): Renamed to
226 x86_linux_read_btrace. All uses updated.
227 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
228 x86_linux_dr_get. All uses updated.
229 (i386_linux_dr_set): Renamed to
230 x86_linux_dr_set. All uses updated.
231 (i386_linux_dr_get_addr): Renamed to
232 x86_linux_dr_get_addr. All uses updated.
233 (i386_linux_dr_get_control): Renamed to
234 x86_linux_dr_get_control. All uses updated.
235 (i386_linux_dr_get_status): Renamed to
236 x86_linux_dr_get_status. All uses updated.
237 (i386_linux_dr_set_control): Renamed to
238 x86_linux_dr_set_control. All uses updated.
239 (i386_linux_dr_set_addr): Renamed to
240 x86_linux_dr_set_addr. All uses updated.
241 (i386_linux_prepare_to_resume): Renamed to
242 x86_linux_prepare_to_resume. All uses updated.
243 (i386_linux_new_thread): Renamed to
244 x86_linux_new_thread. All uses updated.
245 (i386_linux_new_fork): Renamed to
246 x86_linux_new_fork. All uses updated.
247 (i386_linux_child_post_startup_inferior): Renamed to
248 x86_linux_child_post_startup_inferior. All uses updated.
249 (i386_linux_enable_btrace): Renamed to
250 x86_linux_enable_btrace. All uses updated.
251 (i386_linux_disable_btrace): Renamed to
252 x86_linux_disable_btrace. All uses updated.
253 (i386_linux_teardown_btrace): Renamed to
254 x86_linux_teardown_btrace. All uses updated.
255 (i386_linux_read_btrace): Renamed to
256 x86_linux_read_btrace. All uses updated.
257
258 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
259
260 * remote.c (extended_remote_post_attach): New function.
261 (init_extended_remote_ops): Install it as to_post_attach method.
262
263 2014-07-09 Pedro Alves <palves@redhat.com>
264
265 * infcmd.c (attach_command_post_wait): Don't call
266 target_terminal_inferior here.
267 (attach_command): Call it here instead.
268
269 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
270
271 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
272 field.
273 * c-varobj.c (c_is_path_expr_parent): New function, moved core
274 from varobj.c, with additional checks.
275 (c_varobj_ops): Fill in is_path_expr_parent field.
276 (cplus_varobj_ops): Fill in is_path_expr_parent field.
277 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
278 field.
279 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
280 ops method.
281 (varobj_default_is_path_expr_parent): New function.
282 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
283 (varobj_default_is_path_expr_parent): Declare new function.
284
285 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
286
287 * infcmd.c (finish_backward): Turn internal error into normal error.
288
289 2014-07-07 Pedro Alves <palves@redhat.com>
290
291 PR gdb/17096
292 * remote.c (async_handle_remote_sigint)
293 (async_handle_remote_sigint_twice): Call
294 gdb_call_async_signal_handler instead of
295 mark_async_signal_handler.
296
297 2014-07-07 Tom Tromey <tromey@redhat.com>
298
299 * target-delegates.c: Rebuild.
300 * target.c (target_info_record): Remove.
301 * record.c (info_record_command): Unconditionally call
302 to_info_record.
303 * target.h (struct target_ops) <to_info_record>: Use
304 TARGET_DEFAULT_IGNORE.
305 (target_info_record): Remove.
306
307 2014-07-07 Tom Tromey <tromey@redhat.com>
308
309 * target.h (struct target_ops) <to_get_thread_local_address>: Use
310 TARGET_DEFAULT_NORETURN.
311 * target.c (generic_tls_error): New function.
312 (target_translate_tls_address): Don't search target stack.
313 * target-delegates.c: Rebuild.
314 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
315 stack.
316 * linux-thread-db.c (thread_db_get_thread_local_address):
317 Unconditionally call beneath target.
318
319 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
320
321 * cli/cli-logging.c (pop_output_files): Assign targerr to
322 gdb_stdtargerr.
323
324 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
325
326 * MAINTAINERS (Write After Approval): Update my email address.
327
328 2014-07-02 Gary Benson <gbenson@redhat.com>
329
330 * proc-service.c (ps_xfer_memory): Update comment.
331 (ps_pstop): Remove unused function.
332 (ps_pcontinue): Likewise.
333 (ps_lstop): Likewise.
334 (ps_lcontinue): Likewise.
335 (ps_lgetxregsize): Likewise.
336 (ps_lgetxregs): Likewise.
337 (ps_lsetxregs): Likewise.
338 (ps_plog): Likewise.
339 (ps_ptread): Likewise.
340 (ps_ptwrite): Likewise.
341
342 2014-07-01 Mark Wielaard <mjw@redhat.com>
343
344 * dwarf2read.c (add_array_cv_type): New function.
345 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
346 (read_tag_volatile_type): Likewise.
347
348 2014-07-01 Tom Tromey <tromey@redhat.com>
349
350 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
351 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
352 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
353 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
354 * command.h (cmd_cfunc_ftype): Move earlier.
355 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
356 (add_com, add_info): Use cmd_cfunc_ftype.
357
358 2014-06-30 Tom Tromey <tromey@redhat.com>
359
360 * symtab.c (operator_chars): Make parameters and return type
361 const.
362 (file_matches): Make "files" const.
363 (struct search_symbols_data) <files>: Now const.
364 (search_symbols): Make "regexp" and "files" parameters const.
365 Update.
366 (symtab_symbol_info): Remove cast.
367 (rbreak_command): Update.
368 * symtab.h (search_symbols): Update.
369
370 2014-06-27 Yao Qi <yao@codesourcery.com>
371
372 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
373 Change parameter type to 'struct thread_info *'. Caller
374 updated.
375 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
376 Update declaration.
377 * dummy-frame.c (struct dummy_frame_id): New.
378 (dummy_frame_id_eq): New function.
379 (struct dummy_frame) <id>: Change its type to 'struct
380 dummy_frame_id'.
381 (dummy_frame_push): Add parameter ptid and save it in
382 dummy_frame_id.
383 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
384 inferior_ptid.
385 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
386 to inferior_ptid.
387 (lookup_dummy_frame): Change parameter type to 'struct
388 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
389 instead of frame_id_eq.
390 (dummy_frame_pop): Add parameter ptid. Callers updated.
391 Update comments. Compose dummy_frame_id and pass it to
392 lookup_dummy_frame.
393 (dummy_frame_discard): Add parameter ptid.
394 (dummy_frame_sniffer): Compose dummy_frame_id and call
395 dummy_frame_id_eq instead of frame_id_eq.
396 (fprint_dummy_frames): Print ptid.
397 * dummy-frame.h: Remove comments.
398 (dummy_frame_push): Add ptid in declaration.
399 (dummy_frame_pop, dummy_frame_discard): Likewise.
400
401 2014-06-26 Tom Tromey <tromey@redhat.com>
402
403 * cli/cli-cmds.c (error_no_arg): Make "why" const.
404 * command.h (error_no_arg): Update.
405
406 2014-06-26 Tom Tromey <tromey@redhat.com>
407
408 * cli/cli-setshow.c (do_set_command): Make "arg" const.
409 (do_show_command): Make "arg" const.
410 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
411
412 2014-06-26 Tom Tromey <tromey@redhat.com>
413
414 * record-full.c (record_full_get_bookmark): Make "args" const.
415 (record_full_goto_bookmark): Make "raw_bookmark" const.
416 * record.c (record_goto): New function.
417 (cmd_record_goto): Use it. Now static.
418 * record.h (record_goto): Declare.
419 (cmd_record_goto): Remove declaration.
420 * target-delegates.c: Rebuild.
421 * target.h (struct target_ops) <to_get_bookmark,
422 to_goto_bookmark>: Make parameter const.
423
424 2014-06-26 Tom Tromey <tromey@redhat.com>
425
426 * defs.h (generic_load): Update.
427 * m32r-rom.c (m32r_load_gen): Make "filename" const.
428 * monitor.c (monitor_load): Make "args" const.
429 * remote-m32r-sdi.c (m32r_load): Make "args" const.
430 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
431 const.
432 (mips_load): Make "file" const.
433 * remote-sim.c (gdbsim_load): Make "args" const.
434 * remote.c (remote_load): Make "name" const.
435 * symfile.c (generic_load): Make "args" const.
436 * target-delegates.c: Rebuild.
437 * target.c (target_load): Make "arg" const.
438 (debug_to_load): Make "args" const.
439 * target.h (struct target_ops) <to_load>: Make parameter const.
440 (target_load): Update.
441
442 2014-06-26 Tom Tromey <tromey@redhat.com>
443
444 PR symtab/16902:
445 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
446 (dwarf2_physname, read_partial_die)
447 (guess_partial_die_structure_name, fixup_partial_die)
448 (guess_full_die_structure_name, anonymous_struct_prefix)
449 (dwarf2_name): Use per-BFD obstack.
450
451 2014-06-26 Yao Qi <yao@codesourcery.com>
452
453 * dummy-frame.c (dummy_frame_sniffer): Move local variables
454 dummyframe and this_id into inner block below.
455
456 2014-06-26 Yao Qi <yao@codesourcery.com>
457
458 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
459 with "signal_pass[0]" in the initialization of signal_pass.
460
461 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
462
463 * record-btrace.c (record_btrace_generating_corefile)
464 (record_btrace_prepare_to_generate_core)
465 (record_btrace_done_generating_core): New.
466 (record_btrace_xfer_partial, record_btrace_fetch_registers)
467 (record_btrace_store_registers, record_btrace_prepare_to_store):
468 Forward request when generating a core file.
469 (record_btrace_open): Set record_btrace_generating_corefile to zero.
470 (init_record_btrace_ops): Set to_prepare_to_generate_core and
471 to_done_generating_core.
472
473 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
474
475 * target.h (target_ops) <to_prepare_to_generate_core>
476 <to_done_generating_core>: New.
477 (target_prepare_to_generate_core, target_done_generating_core): New.
478 * target.c (target_prepare_to_generate_core)
479 (target_done_generating_core): New.
480 * target-delegates.c: Regenerate.
481 * gcore.c: (write_gcore_file): Rename to ...
482 (write_gcore_file_1): ...this.
483 (write_gcore_file): Call target_prepare_to_generate_core
484 and target_done_generating_core.
485
486 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
487
488 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
489 * gcore.c (write_gcore_file): Free memory returned from
490 make_corefile_notes.
491 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
492 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
493
494 2014-06-24 Yao Qi <yao@codesourcery.com>
495
496 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
497 (arm_linux_init_abi): Set skip_trampoline_code with
498 gdbarch_skip_trampoline_code instead of
499 find_solib_trampoline_target.
500
501 2014-06-24 Yao Qi <yao@codesourcery.com>
502
503 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
504 arm_skip_bx_reg returns non-zero.
505
506 2014-06-24 Yao Qi <yao@codesourcery.com>
507
508 * arm-tdep.c (arm_skip_bx_reg): New function.
509 (arm_skip_stub): Call arm_skip_bx_reg.
510
511 2014-06-23 Don Breazeal <donb@codesourcery.com>
512
513 * MAINTAINERS: Add myself as write-after-approval maintainer.
514
515 2014-06-23 Pedro Alves <palves@redhat.com>
516
517 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
518 DR_CONTROL before setting DR0..DR3.
519 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
520 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
521 bits of DR_CONTROL related to the debug register slot being
522 disabled. If all slots are vacant, clear local slowdown as well,
523 and assert DR_CONTROL is 0.
524
525 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
526
527 * python/lib/gdb/command/xmethods.py
528 (get_method_matchers_in_loci): Lookup xmethod matchers in the
529 current progspace only if the string "progspace" matches LOCUS_RE.
530
531 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
532
533 Fix --with-system-readline with readline-6.3 patch 5.
534 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
535 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
536 types.
537
538 2014-06-20 Tom Tromey <tromey@redhat.com>
539
540 * dwarf2read.c (dw2_get_real_path): Use correct type in
541 OBSTACK_CALLOC.
542 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
543
544 2014-06-20 Gary Benson <gbenson@redhat.com>
545
546 * common/gdb_thread_db.h: Moved to nat. All includes updated.
547 * common/glibc_thread_db.h: Likewise.
548 * common/i386-cpuid.h: Likewise.
549 * common/i386-gcc-cpuid.h: Likewise.
550 * common/linux-btrace.h: Likewise.
551 * common/linux-osdata.h: Likewise.
552 * common/linux-procfs.h: Likewise.
553 * common/linux-ptrace.h: Likewise.
554 * common/mips-linux-watch.h: Likewise.
555 * common/linux-btrace.c: Moved to nat.
556 * common/linux-osdata.c: Likewise.
557 * common/linux-procfs.c: Likewise.
558 * common/linux-ptrace.c: Likewise.
559 * common/mips-linux-watch.c: Likewise.
560 * nat/gdb_thread_db.h: Moved from common.
561 * nat/glibc_thread_db.h: Likewise.
562 * nat/i386-cpuid.h: Likewise.
563 * nat/i386-gcc-cpuid.h: Likewise.
564 * nat/linux-btrace.c: Likewise.
565 * nat/linux-btrace.h: Likewise.
566 * nat/linux-osdata.c: Likewise.
567 * nat/linux-osdata.h: Likewise.
568 * nat/linux-procfs.c: Likewise.
569 * nat/linux-procfs.h: Likewise.
570 * nat/linux-ptrace.c: Likewise.
571 * nat/linux-ptrace.h: Likewise.
572 * nat/mips-linux-watch.c: Likewise.
573 * nat/mips-linux-watch.h: Likewise.
574 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
575 (object file files): Reordered.
576 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
577 of glibc_thread_db.h.
578
579 2014-06-20 Gary Benson <gbenson@redhat.com>
580
581 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
582 (i386_dr_low_type): Moved to nat/i386-dregs.h.
583 (i386_dr_low): Likewise.
584 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
585 (i386_dr_low_set_addr): Likewise.
586 (i386_dr_low_get_addr): Likewise.
587 (i386_dr_low_can_set_control): Likewise.
588 (i386_dr_low_set_control): Likewise.
589 (i386_dr_low_get_control): Likewise.
590 (i386_dr_low_get_status): Likewise.
591 (i386_get_debug_register_length): Likewise.
592 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
593 (i386_dr_low): Likewise.
594 * nat/i386-dregs.c (i386-low.h): Remove include.
595 (i386-nat.h): Likewise.
596 (nat/i386-dregs.h): New include.
597 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
598 (i386_dr_low_set_addr): Likewise.
599 (i386_dr_low_get_addr): Likewise.
600 (i386_dr_low_can_set_control): Likewise.
601 (i386_dr_low_set_control): Likewise.
602 (i386_dr_low_get_control): Likewise.
603 (i386_dr_low_get_status): Likewise.
604 (i386_get_debug_register_length): Likewise.
605 (debug_hw_points): Likewise.
606
607 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
608
609 * Makefile.in (SFILES): Add d-exp.y.
610 (YYFILES): Add d-exp.c.
611 (YYOBJ): Add d-exp.o.
612 (local-maintainer-clean): Delete d-exp.c.
613 * d-exp.y: New file.
614 * d-lang.h (d_parse): New declaration.
615 (d_error): New declaration.
616 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
617 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
618 PREC_ORDER operators.
619 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
620
621 2014-06-19 Yao Qi <yao@codesourcery.com>
622
623 * gdbthread.h (any_running): Remove the declaration.
624 * thread.c (any_running): Remove.
625
626 2014-06-19 Yao Qi <yao@codesourcery.com>
627
628 * gdbthread.h (struct thread_info) <state>: Change its type to
629 'enum thread_state'. Update comments.
630
631 2014-06-19 Pedro Alves <palves@redhat.com>
632
633 * gdbthread.h (ALL_THREADS): Delete.
634 (ALL_NON_EXITED_THREADS): New macro.
635 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
636 instead of ALL_THREADS.
637 * infrun.c (find_thread_needs_step_over)
638 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
639 instead of ALL_THREADS.
640 * record-btrace.c (record_btrace_open)
641 (record_btrace_stop_recording, record_btrace_close)
642 (record_btrace_is_replaying, record_btrace_resume)
643 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
644 * remote.c (append_pending_thread_resumptions): Likewise.
645 * thread.c (thread_apply_all_command): Likewise.
646
647 2014-06-19 Gary Benson <gbenson@redhat.com>
648
649 * i386-nat.c (i386_stopped_by_watchpoint):
650 Use i386_dr_stopped_by_watchpoint.
651 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
652 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
653
654 2014-06-19 Gary Benson <gbenson@redhat.com>
655
656 * nat/i386-dregs.c: New file.
657 * Makefile.in (i386-dregs.o): New rule.
658 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
659 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
660 * config/i386/darwin.mh (NATDEPFILES): Likewise.
661 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
662 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
663 * config/i386/go32.mh (NATDEPFILES): Likewise.
664 * config/i386/linux.mh (NATDEPFILES): Likewise.
665 * config/i386/linux64.mh (NATDEPFILES): Likewise.
666 * config/i386/mingw.mh (NATDEPFILES): Likewise.
667 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
668 * i386-nat.h (debug_hw_points): New declaration.
669 * i386-nat.c (breakpoint.h): Remove include.
670 (command.h): Likewise.
671 (target.h): Likewise.
672 (gdb_assert.h): Likewise.
673 (debug_hw_points): Made nonstatic.
674 (debug_printf): Now in i386-dregs.c.
675 (TARGET_HAS_DR_LEN_8): Likewise.
676 (DR_CONTROL_SHIFT): Likewise.
677 (DR_CONTROL_SIZE): Likewise.
678 (DR_RW_EXECUTE): Likewise.
679 (DR_RW_WRITE): Likewise.
680 (DR_RW_READ): Likewise.
681 (DR_RW_IORW): Likewise.
682 (DR_LEN_1): Likewise.
683 (DR_LEN_2): Likewise.
684 (DR_LEN_4): Likewise.
685 (DR_LEN_8): Likewise.
686 (DR_LOCAL_ENABLE_SHIFT): Likewise.
687 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
688 (DR_ENABLE_SIZE): Likewise.
689 (DR_LOCAL_SLOWDOWN): Likewise.
690 (DR_GLOBAL_SLOWDOWN): Likewise.
691 (DR_CONTROL_RESERVED): Likewise.
692 (I386_DR_CONTROL_MASK): Likewise.
693 (I386_DR_VACANT): Likewise.
694 (I386_DR_LOCAL_ENABLE): Likewise.
695 (I386_DR_GLOBAL_ENABLE): Likewise.
696 (I386_DR_DISABLE): Likewise.
697 (I386_DR_SET_RW_LEN): Likewise.
698 (I386_DR_GET_RW_LEN): Likewise.
699 (I386_DR_WATCH_HIT): Likewise.
700 (i386_wp_op_t): Likewise.
701 (i386_show_dr): Likewise.
702 (i386_length_and_rw_bits): Likewise.
703 (i386_insert_aligned_watchpoint): Likewise.
704 (i386_remove_aligned_watchpoint): Likewise.
705 (i386_handle_nonaligned_watchpoint): Likewise.
706 (i386_update_inferior_debug_regs): Likewise.
707 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
708 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
709 (i386_region_ok_for_watchpoint):
710 Use i386_dr_region_ok_for_watchpoint.
711 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
712
713 2014-06-19 Gary Benson <gbenson@redhat.com>
714
715 * i386-nat.c (i386_insert_hw_breakpoint): Use
716 i386_insert_watchpoint.
717 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
718
719 2014-06-19 Gary Benson <gbenson@redhat.com>
720
721 * i386-nat.c (i386_dr_show): Renamed to
722 i386_show_dr and made static. All uses updated.
723 (i386_dr_length_and_rw_bits): Renamed to
724 i386_length_and_rw_bits and made static.
725 All uses updated.
726 (i386_dr_insert_aligned_watchpoint): Renamed to
727 i386_insert_aligned_watchpoint and made static.
728 All uses updated.
729 (i386_dr_remove_aligned_watchpoint): Renamed to
730 i386_remove_aligned_watchpoint and made static.
731 All uses updated.
732 (i386_dr_update_inferior_debug_regs): Renamed to
733 i386_update_inferior_debug_regs and made static.
734 All uses updated.
735 * nat/i386-dregs.h (i386_dr_show): Removed.
736 (i386_dr_length_and_rw_bits): Likewise.
737 (i386_dr_insert_aligned_watchpoint): Likewise.
738 (i386_dr_remove_aligned_watchpoint): Likewise.
739 (i386_dr_update_inferior_debug_regs): Likewise.
740
741 2014-06-19 Gary Benson <gbenson@redhat.com>
742
743 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
744 * configure: Regenerate.
745 * config.in: Likewise.
746 * main.c (signal.h): New include.
747 (setup_alternate_signal_stack): New function.
748 (captured_main): Call the above.
749 * cp-support.c (signal.h): New include.
750 (catch_demangler_crashes): New flag.
751 (SIGJMP_BUF): New define.
752 (SIGSETJMP): Likewise.
753 (SIGLONGJMP): Likewise.
754 (gdb_demangle_jmp_buf): New static global.
755 (gdb_demangle_attempt_core_dump): Likewise.
756 (gdb_demangle_signal_handler): New function.
757 (gdb_demangle): If catch_demangler_crashes is set, install the
758 above signal handler before calling bfd_demangle, and restore
759 the original signal handler afterwards. Display the offending
760 symbol and call demangler_warning the first time a segmentation
761 fault is caught.
762 (_initialize_cp_support): New maint set/show command.
763
764 2014-06-19 Gary Benson <gbenson@redhat.com>
765
766 * utils.h (resource_limit_kind): New enum.
767 (can_dump_core): New declaration.
768 (warn_cant_dump_core): Likewise.
769 (dump_core): Likewise.
770 * utils.c (dump_core): Made nonstatic. Added new
771 parameter "limit_kind".
772 (can_dump_core): Made nonstatic. Moved printing code to...
773 (warn_cant_dump_core): New function.
774 (can_dump_core_warn): Likewise.
775 (internal_vproblem): Replace calls to can_dump_core with
776 calls to can_dump_core_warn. Supply new argument to each.
777
778 2014-06-19 Gary Benson <gbenson@redhat.com>
779
780 * utils.h (demangler_vwarning): New declaration.
781 (demangler_warning): Likewise.
782 * utils.c (struct internal_problem)
783 <user_settable_should_quit>: New field.
784 <user_settable_should_dump_core>: Likewise
785 (internal_error_problem): Add values for above new fields.
786 (internal_warning_problem): Likewise.
787 (demangler_warning_problem): New static global.
788 (demangler_vwarning): New function.
789 (demangler_warning): Likewise.
790 (add_internal_problem_command): Selectively add commands.
791 (_initialize_utils): New internal problem command.
792 * maint.c (maintenance_demangler_warning): New function.
793 (_initialize_maint_cmds): New command.
794
795 2014-06-18 Tom Tromey <tromey@redhat.com>
796
797 * f-valprint.c (info_common_command_for_block): Update.
798 * symtab.h (struct general_symbol_info) <common_block>: Now
799 const.
800
801 2014-06-18 Tom Tromey <tromey@redhat.com>
802
803 * symtab.h (struct symtab) <blockvector>: Now const.
804 * ada-lang.c (ada_add_global_exceptions): Update.
805 * buildsym.c (augment_type_symtab): Update.
806 * dwarf2read.c (dw2_lookup_symbol): Update.
807 * jit.c (finalize_symtab): Update.
808 * jv-lang.c (add_class_symtab_symbol): Update.
809 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
810 Update.
811 * objfiles.c (objfile_relocate1): Update.
812 * psymtab.c (lookup_symbol_aux_psymtabs)
813 (maintenance_check_psymtabs): Update.
814 * python/py-symtab.c (stpy_global_block, stpy_static_block):
815 Update.
816 * spu-tdep.c (spu_catch_start): Update.
817 * symmisc.c (dump_symtab_1): Update.
818 * symtab.c (lookup_global_symbol_from_objfile)
819 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
820 (basic_lookup_transparent_type_quick)
821 (basic_lookup_transparent_type, find_pc_sect_symtab)
822 (find_pc_sect_line, search_symbols): Update.
823 * block.c (find_block_in_blockvector): Make "bl" const.
824 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
825 const.
826 (blockvector_contains_pc): Make "bv" const.
827 (block_for_pc_sect): Update.
828 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
829 (blockvector_contains_pc): Update.
830 * breakpoint.c (resolve_sal_pc): Update.
831 * inline-frame.c (block_starting_point_at): Update.
832
833 2014-06-18 Tom Tromey <tromey@redhat.com>
834
835 * completer.c (complete_line): Make "line_buffer" const.
836 * completer.h (complete_line): Update.
837
838 2014-06-18 Tom Tromey <tromey@redhat.com>
839
840 * symtab.c (add_macro_name): Remove unneeded cast.
841
842 2014-06-18 Tom Tromey <tromey@redhat.com>
843
844 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
845 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
846
847 2014-06-18 Tom Tromey <tromey@redhat.com>
848
849 * probe.c (info_probes_for_ops): Make "arg" const.
850 * probe.h (info_probes_for_ops): Update.
851
852 2014-06-18 Tom Tromey <tromey@redhat.com>
853
854 * varobj.c (varobj_create): Update.
855 * valops.c (value_of_this): Update.
856 * tracepoint.c (add_local_symbols, scope_info): Update.
857 * symtab.h (struct general_symbol_info) <block>: Now const.
858 * symtab.c (skip_prologue_sal)
859 (default_make_symbol_completion_list_break_on)
860 (skip_prologue_using_sal): Update.
861 * stack.h (iterate_over_block_locals)
862 (iterate_over_block_local_vars): Update.
863 * stack.c (print_frame_args): Update.
864 (iterate_over_block_locals, iterate_over_block_local_vars): Make
865 parameter const.
866 (get_selected_block): Make return type const.
867 * python/py-frame.c (frapy_block): Update.
868 * python/py-block.c (gdbpy_block_for_pc): Update.
869 * p-exp.y (%union) <bval>: Now const.
870 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
871 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
872 * m2-exp.y (%union) <bval>: Now const.
873 * linespec.c (get_current_search_block): Make return type const.
874 (create_sals_line_offset, find_label_symbols): Update.
875 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
876 Update.
877 (block_starting_point_at): Make "block" const.
878 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
879 (check_exception_resume): Update.
880 * guile/scm-frame.c (gdbscm_frame_block): Update.
881 * guile/scm-block.c (gdbscm_lookup_block): Update.
882 * frame.h (get_frame_block): Update.
883 (get_selected_block): Make return type const.
884 * frame.c (frame_id_inner): Update.
885 * f-valprint.c (info_common_command_for_block)
886 (info_common_command): Update.
887 * dwarf2loc.c (dwarf2_find_location_expression)
888 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
889 (locexpr_describe_location_piece): Update.
890 * c-exp.y (%union) <bval>: Now const.
891 * breakpoint.c (resolve_sal_pc): Update.
892 * blockframe.c (get_frame_block):Make return type const.
893 (get_pc_function_start, get_frame_function, find_pc_sect_function)
894 (block_innermost_frame): Update.
895 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
896 (block_for_pc, block_for_pc_sect): Update.
897 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
898 'pblock' const.
899 (block_for_pc_sect, block_for_pc): Make return type const.
900 * ax-gdb.c (gen_expr): Update.
901 * alpha-mdebug-tdep.c (find_proc_desc): Update.
902 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
903 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
904 (ada_read_var_value): Update.
905 * ada-exp.y (struct name_info) <block>: Now const.
906 (%union): Likewise.
907 (block_lookup): Constify.
908
909 2014-06-18 Gary Benson <gbenson@redhat.com>
910
911 * nat/i386-dregs.h: New file.
912 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
913 * i386-nat.h (i386-dregs.h): New include.
914 (DR_FIRSTADDR): Now in i386-dregs.h.
915 (DR_LASTADDR): Likewise.
916 (DR_NADDR): Likewise.
917 (DR_STATUS): Likewise.
918 (DR_CONTROL): Likewise.
919 (i386_debug_reg_state): Likewise.
920 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
921
922 2014-06-18 Don Breazeal <donb@codesourcery.com>
923
924 * breakpoint.c (set_longjmp_breakpoint): Call
925 momentary_breakpoint_from_master with additional argument.
926 (set_longjmp_breakpoint_for_call_dummy): Call
927 momentary_breakpoint_from_master with additional argument.
928 (set_std_terminate_breakpoint): Call
929 momentary_breakpoint_from_master with additional argument.
930 (momentary_breakpoint_from_master): Add argument to function
931 definition and use it to initialize structure member flag.
932 (clone_momentary_breakpoint): Call
933 momentary_breakpoint_from_master with additional argument.
934 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
935 member flags set in momentary_breakpoint_from_master.
936
937 2014-06-18 Gary Benson <gbenson@redhat.com>
938
939 * i386-nat.c (i386_show_dr): Renamed to
940 i386_dr_show and made nonstatic. All uses updated.
941 (i386_length_and_rw_bits): Renamed to
942 i386_dr_length_and_rw_bits and made nonstatic.
943 All uses updated.
944 (i386_insert_aligned_watchpoint): Renamed to
945 i386_dr_insert_aligned_watchpoint and made nonstatic.
946 All uses updated.
947 (i386_remove_aligned_watchpoint): Renamed to
948 i386_dr_remove_aligned_watchpoint and made nonstatic.
949 All uses updated.
950 (i386_update_inferior_debug_regs): Renamed to
951 i386_dr_update_inferior_debug_regs and made nonstatic.
952 All uses updated.
953
954 2014-06-18 Gary Benson <gbenson@redhat.com>
955
956 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
957 (i386_dr_low_can_set_control): Likewise.
958 (i386_dr_low_set_addr): Likewise.
959 (i386_dr_low_set_control): Likewise.
960 (i386_dr_low_get_addr): Likewise.
961 (i386_dr_low_get_status): Likewise.
962 (i386_dr_low_get_control): Likewise.
963 (i386_insert_aligned_watchpoint): Use new macros.
964 (i386_update_inferior_debug_regs): Likewise.
965 (i386_stopped_data_address): Likewise.
966
967 2014-06-18 Gary Benson <gbenson@redhat.com>
968
969 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
970 New parameter. All uses updated.
971
972 2014-06-18 Gary Benson <gbenson@redhat.com>
973
974 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
975 All uses updated.
976
977 2014-06-18 Gary Benson <gbenson@redhat.com>
978
979 * i386-nat.c (debug_printf): New macro.
980 (i386_get_debug_register_length): Likewise.
981 (TARGET_HAS_DR_LEN_8): Use above macro.
982 (i386_show_dr): Use debug_printf instead of puts_unfiltered
983 and printf_unfiltered. Use phex to format values.
984
985 2014-06-18 Gary Benson <gbenson@redhat.com>
986
987 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
988 Make const.
989
990 2014-06-18 Gary Benson <gbenson@redhat.com>
991
992 * i386-nat.c: Comment changes.
993
994 2014-06-18 Gary Benson <gbenson@redhat.com>
995
996 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
997
998 2014-06-18 Gary Benson <gbenson@redhat.com>
999
1000 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
1001 (i386_insert_aligned_watchpoint): Likewise.
1002 (i386_remove_aligned_watchpoint): Likewise.
1003 (i386_handle_nonaligned_watchpoint): Likewise.
1004
1005 2014-06-18 Gary Benson <gbenson@redhat.com>
1006
1007 * i386-nat.c: Whitespace changes.
1008
1009 2014-06-17 Samuel Bronson <naesten@gmail.com>
1010
1011 * MAINTAINERS: Update Roland McGrath's email address.
1012 Thanks to Sergio Durigan Junior for pointing out that he left
1013 Red Hat a while ago, and giving me a current address.
1014
1015 2014-06-17 Tom Tromey <tromey@redhat.com>
1016
1017 * utils.h (savestring): Remove declaration.
1018
1019 2014-06-17 Tom Tromey <tromey@redhat.com>
1020
1021 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
1022
1023 2014-06-16 Keith Seitz <keiths@redhat.com>
1024
1025 PR mi/15863
1026 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
1027 to update the varobj if inferior_ptid is null_ptid.
1028
1029 2014-06-16 Tom Tromey <tromey@redhat.com>
1030
1031 * target.h (struct target_ops) <to_info_proc>: Make parameter
1032 const.
1033 (target_info_proc): Update.
1034 * target.c (target_info_proc): Make "args" const.
1035 * procfs.c (procfs_info_proc): Update.
1036 * linux-tdep.c (linux_info_proc): Update.
1037 (linux_core_info_proc_mappings): Make "args" const.
1038 (linux_core_info_proc): Update.
1039 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
1040 * gdbarch.c: Rebuild.
1041 * gdbarch.h: Rebuild.
1042 * corelow.c (core_info_proc): Update.
1043
1044 2014-06-16 Tom Tromey <tromey@redhat.com>
1045
1046 * target.h (struct target_ops) <to_disconnect>: Make parameter
1047 const.
1048 (target_disconnect): Update.
1049 * target.c (target_disconnect): Make "args" const.
1050 * target-delegates.c: Rebuild.
1051 * remote.c (remote_disconnect): Update.
1052 * record.h (record_disconnect): Update.
1053 * record.c (record_disconnect): Update.
1054 * inf-child.c (inf_child_disconnect): Update.
1055
1056 2014-06-16 Tom Tromey <tromey@redhat.com>
1057
1058 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
1059 * target.c (debug_to_rcmd, default_rcmd): Update.
1060 * target-delegates.c: Rebuild.
1061 * remote.c (remote_rcmd): Update.
1062 * monitor.c (monitor_rcmd): Update.
1063
1064 2014-06-16 Pedro Alves <palves@redhat.com>
1065
1066 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
1067 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
1068 have OBJF_SHARED set.
1069 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
1070 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
1071 instead of OBJF_USERLOADED.
1072 * objfiles.h (OBJF_SHARED): Update comment.
1073 (userloaded_objfile_contains_address_p): Rename to ...
1074 (shared_objfile_contains_address_p): ... this, and update
1075 comments.
1076 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
1077 new objfile.
1078 (remove_symbol_file_command): Skip objfiles that don't have
1079 OBJF_SHARED set.
1080
1081 2014-06-16 Tom Tromey <tromey@redhat.com>
1082
1083 * minsyms.h (prim_record_minimal_symbol)
1084 (prim_record_minimal_symbol_and_info): Update comments.
1085
1086 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1087
1088 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
1089 or --without-guile, according to how GDB was built.
1090
1091 2014-06-13 Tom Tromey <tromey@redhat.com>
1092
1093 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
1094 to help_list.
1095 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
1096 to help_list.
1097 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
1098 help_list.
1099 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
1100 help_list.Pass all_commands, not -1, to help_list.
1101 * cli/cli-dump.c (dump_command, append_command)
1102 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
1103 (binary_dump_command, binary_append_command): Pass all_commands,
1104 not -1, to help_list.
1105 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
1106 -1, to help_list.
1107 * valprint.c (set_print, set_print_raw): Pass all_commands, not
1108 -1, to help_list.
1109 * typeprint.c (set_print_type): Pass all_commands, not -1, to
1110 help_list.
1111 * top.c (set_history): Pass all_commands, not -1, to help_list.
1112 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
1113 all_commands, not -1, to help_list.
1114 * symfile.c (overlay_command): Pass all_commands, not -1, to
1115 help_list.
1116 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
1117 help_list.
1118 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
1119 help_list.
1120 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
1121 -1, to help_list.
1122 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
1123 not -1, to help_list.
1124 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
1125 not -1, to help_list.
1126 * maint.c (maintenance_command, maintenance_info_command)
1127 (maintenance_print_command, maintenance_set_cmd): Pass
1128 all_commands, not -1, to help_list.
1129 * macrocmd.c (macro_command): Pass all_commands, not -1, to
1130 help_list.
1131 * language.c (set_check): Pass all_commands, not -1, to help_list.
1132 * infcmd.c (unset_command): Pass all_commands, not -1, to
1133 help_list.
1134 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
1135 help_list.
1136 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
1137 help_list.
1138 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
1139 help_list.
1140 * breakpoint.c (save_command): Pass all_commands, not -1, to
1141 help_list.
1142 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
1143 all_commands, not -1, to help_list.
1144
1145 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
1146
1147 * regcache.c (struct register_to_invalidate): New structure.
1148 (do_register_invalidate, make_cleanup_regcache_invalidate): New
1149 functions.
1150 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
1151
1152 2014-06-12 Yao Qi <yao@codesourcery.com>
1153
1154 * varobj.c (varobj_get_num_children): Call
1155 varobj_is_dynamic_p.
1156 (varobj_list_children): Likewise.
1157 (varobj_update): Likewise. Update comments.
1158
1159 2014-06-12 Yao Qi <yao@codesourcery.com>
1160
1161 * varobj.c (varobj_pretty_printed_p): Rename to ...
1162 (varobj_is_dynamic_p): ... this. New function.
1163 * varobj.h (varobj_pretty_printed_p): Remove declaration.
1164 (varobj_is_dynamic_p): Declare.
1165 * mi/mi-cmd-var.c (print_varobj): All callers updated.
1166 (mi_print_value_p, varobj_update_one): Likewise.
1167
1168 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1169 Yao Qi <yao@codesourcery.com>
1170
1171 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
1172 (varobj_get_iterator): Wrap up code for pretty-printer by
1173 "#if HAVE_PYTHON" and "#endif".
1174 (update_dynamic_varobj_children): Likewise.
1175
1176 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1177 Yao Qi <yao@codesourcery.com>
1178
1179 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
1180 gdb_python_initialized is false. Move some code from varobj.c.
1181 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
1182 * varobj.c: Move "varobj-iter.h" inclusion earlier.
1183 (struct varobj_item): Moved to varobj-iter.h".
1184 (varobj_clear_saved_item): New function.
1185 (update_dynamic_varobj_children): Move python-related code to
1186 py-varobj.c.
1187 (free_variable): Call varobj_clear_saved_item and
1188 varobj_iter_delete.
1189
1190 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1191 Yao Qi <yao@codesourcery.com>
1192
1193 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
1194 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
1195 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
1196 (py-varobj.o): New rule.
1197 * python/py-varobj.c: New file.
1198 * python/python-internal.h (py_varobj_get_iterator): Declare.
1199 * varobj-iter.h: New file.
1200 * varobj.c: Include "varobj-iter.h"
1201 (struct varobj) <child_iter>: Change its type from "PyObject *"
1202 to "struct varobj_iter *".
1203 <saved_item>: Likewise.
1204 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
1205 [HAVE_PYTHON] (varobj_get_iterator): New function.
1206 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
1207 python-specific code to python/py-varobj.c.
1208 (install_visualizer): Call varobj_iter_delete instead of
1209 Py_XDECREF.
1210 * varobj.h (varobj_ensure_python_env): Declare.
1211
1212 2014-06-12 Yao Qi <yao@codesourcery.com>
1213
1214 * varobj.c (struct varobj_item): New structure.
1215 (create_child_with_value): Update declaration.
1216 (varobj_add_child): Replace arguments 'name' and 'value' with
1217 'item'. All callers updated.
1218 (install_dynamic_child): Likewise.
1219 (update_dynamic_varobj_children): Likewise.
1220 (varobj_add_child): Likewise.
1221 (create_child_with_value): Likewise.
1222
1223 2014-06-11 Joel Brobecker <brobecker@adacore.com>
1224
1225 * NEWS: Create a new section for the next release branch.
1226 Rename the section of the current branch, now that it has
1227 been cut.
1228
1229 2014-06-11 Joel Brobecker <brobecker@adacore.com>
1230
1231 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
1232 * version.in: Bump version to 7.8.50.DATE-cvs.
1233
1234 2014-06-11 Pedro Alves <palves@redhat.com>
1235
1236 PR remote/17028
1237 * ser-mingw.c (net_windows_socket_check_pending): New function.
1238 (net_windows_select_thread): Ignore spurious wakeups. Use
1239 net_windows_socket_check_pending.
1240 (net_windows_wait_handle): Check for pending events with
1241 ioctlsocket, through net_windows_socket_check_pending, instead of
1242 checking the socket's event.
1243
1244 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
1245
1246 * python/python-internal.h (gdb_PyObject_GetAttrString)
1247 (gdb_PyObject_HasAttrString): New inline function definitions.
1248 * py-value.c (get_field_flag): Remove the now unnecessary cast to
1249 char * of the second argument to PyObject_GetAttrString.
1250
1251 2014-06-10 Joel Brobecker <brobecker@adacore.com>
1252
1253 * serial.c (serial_write): Fix index of character to be printed
1254 in call to serial_logchar when serial debug traces are enabled.
1255
1256 2014-06-10 Joel Brobecker <brobecker@adacore.com>
1257
1258 * gdbtypes (resolve_dynamic_range): Add function description.
1259
1260 2014-06-09 Pedro Alves <palves@redhat.com>
1261
1262 * linux-nat.c (linux_child_follow_fork): Initialize status with
1263 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
1264 inner block. Only pass the signal to PTRACE_DETACH if in pass
1265 state.
1266
1267 2014-06-09 Gary Benson <gbenson@redhat.com>
1268
1269 * common/signals.c (gdb_signal_from_host): Reorder to separate
1270 the always-available ANSI-standard signals from the signals that
1271 require checking.
1272 (do_gdb_signal_to_host): Likewise.
1273 * proc-events.c (signal_table): Likewise.
1274
1275 2014-06-08 Hui Zhu <hui@codesourcery.com>
1276
1277 * common/linux-ptrace.c (linux_disable_event_reporting): New
1278 function.
1279 * common/linux-ptrace.h (linux_disable_event_reporting): New
1280 declaration.
1281 * linux-nat.c (linux_child_follow_fork): Do a single step before
1282 detach.
1283
1284 2014-06-07 Keith Seitz <keiths@redhat.com>
1285
1286 Revert:
1287 PR c++/16253
1288 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
1289 from symbol_matches_domain in symtab.c. All local callers
1290 of symbol_matches_domain updated.
1291 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
1292 search STRUCT_DOMAIN.
1293 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
1294 independently. standard_lookup will do that automatically.
1295 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
1296 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1297 (cp_lookup_symbol_in_namespace): Likewise.
1298 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
1299 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
1300 may return a STRUCT_DOMAIN match.
1301 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
1302 * cp-support.c: Include language.h.
1303 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
1304 VAR_DOMAIN.
1305 * psymtab.c (match_partial_symbol): Compare the requested
1306 domain with the symbol's domain directly.
1307 (lookup_partial_symbol): Likewise.
1308 * symtab.c (lookup_symbol_in_language): Explain when/why
1309 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1310 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
1311 appropriate languages.
1312 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
1313 and moved to ada-lang.c
1314 (lookup_block_symbol): Explain that this function only returns
1315 symbol matching the requested DOMAIN.
1316 Compare the requested domain with the symbol's domain directly.
1317 (iterate_over_symbols): Compare the requested domain with the
1318 symbol's domain directly.
1319 * symtab.h (symbol_matches_domain): Remove.
1320
1321 2014-06-06 Doug Evans <xdje42@gmail.com>
1322
1323 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
1324 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
1325 (gdbscm_guile_version_is_at_least): Declare.
1326 (gdbscm_scm_string_to_int): Declare.
1327 * guile/guile.c (gdbscm_guile_major_version): New global.
1328 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
1329 (guile_datadir): New static global.
1330 (gdbscm_guile_data_directory): New function.
1331 (initialize_scheme_side): Update.
1332 (misc_guile_functions): Add guile-data-directory.
1333 (initialize_gdb_module): Fetch guile version number.
1334 * guile/lib/gdb.scm: Remove call to add-to-load-path.
1335 * guile/lib/gdb/init.scm (%initialize!): Ditto.
1336 * guile/lib/gdb/boot.scm: Use guile-data-directory.
1337 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
1338 comments.
1339 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
1340 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
1341 * guile/scm-value.c (gdbscm_value_to_string): Only call
1342 scm_port_conversion_strategy if Guile version >= 2.0.6.
1343
1344 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
1345
1346 * main.c (print_gdb_help): Add -q and --silent.
1347
1348 2014-06-06 Gary Benson <gbenson@redhat.com>
1349
1350 * common/signals.c: Remove preprocessor conditionals for
1351 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1352 SIGSEGV and SIGTERM.
1353 * proc-events.c: Likewise.
1354
1355 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
1356
1357 * symfile.c (symfile_free_objfile): Remove restriction to
1358 OBJF_USERLOADED.
1359 * symfile-mem.c (symbol_file_add_from_memory): Call
1360 add_target_sections_of_objfile.
1361
1362 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1363
1364 * guile/scm-value.c (gdbscm_history_append_x): Use
1365 'vlscm_get_value_smob_arg_unsafe' instead of
1366 'vlscm_scm_to_value'.
1367
1368 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1369
1370 PR mi/15806
1371 * utils.c (printchar): Don't escape at all if quoter is NUL.
1372 Update function documentation to clarify effect of parameter
1373 QUOTER.
1374 * remote.c (escape_buffer): Pass '\\' as the quoter to
1375 fputstrn_unfiltered.
1376 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
1377 generate the output.
1378 (mi_solib_unloaded): Same.
1379
1380 2014-06-05 Joel Brobecker <brobecker@adacore.com>
1381
1382 * development.sh: Delete.
1383 * Makefile.in (config.status): Adjust dependency on development.sh.
1384 * configure.ac: Adjust development.sh source call.
1385 * configure: Regenerate.
1386
1387 2014-06-04 Doug Evans <xdje42@gmail.com>
1388
1389 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
1390 is_scheme_bkpt, spec.
1391 (bpscm_make_breakpoint_smob): Initialize new members.
1392 (gdbscm_create_breakpoint_x): Split into two ...
1393 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
1394 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
1395 (scheme_function breakpoint_functions): Update.
1396 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
1397 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
1398 register-breakpoint!.
1399
1400 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
1401
1402 PR server/17023
1403 * mem-break.c (z_type_supported): Return zero if
1404 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
1405
1406 2014-06-04 Tom Tromey <tromey@redhat.com>
1407
1408 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
1409 value_from_contents_and_address_unresolved.
1410 (ada_template_to_fixed_record_type_1): Likewise.
1411 (ada_which_variant_applies): Likewise.
1412 * value.h (value_from_contents_and_address_unresolved): Declare.
1413 * value.c (value_from_contents_and_address_unresolved): New
1414 function.
1415 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
1416 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
1417 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
1418
1419 2014-06-04 Tom Tromey <tromey@redhat.com>
1420
1421 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
1422
1423 2014-06-04 Tom Tromey <tromey@redhat.com>
1424
1425 * procfs.c (procfs_attach): Make "args" const.
1426 * windows-nat.c (windows_attach): Make "args" const.
1427 * nto-procfs.c (procfs_attach): Make "args" const.
1428 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
1429 * go32-nat.c (go32_attach): Make "args" const.
1430 * gnu-nat.c (gnu_attach): Make "args" const.
1431 * darwin-nat.c (darwin_attach): Make "args" const.
1432 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
1433 * linux-nat.c (linux_nat_attach): Make "args" const.
1434 * remote.c (extended_remote_attach_1, extended_remote_attach):
1435 Make "args" const.
1436 * target.h (struct target_ops) <to_attach>: Make "args" const.
1437 (find_default_attach): Likewise.
1438 * utils.c (parse_pid_to_attach): Make "args" const.
1439 * utils.h (parse_pid_to_attach): Update.
1440
1441 2014-06-04 Tom Tromey <tromey@redhat.com>
1442
1443 * target-delegates.c: Rebuild.
1444 * target.c (default_thread_address_space): New function.
1445 (target_thread_address_space): Simplify.
1446 * target.h (struct target_ops) <to_thread_address_space>: Add
1447 TARGET_DEFAULT_FUNC.
1448
1449 2014-06-04 Doug Evans <xdje42@gmail.com>
1450
1451 * guile/scm-type.c (type_smob): Remove duplicate typedef.
1452
1453 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
1454
1455 * record-btrace.c: Include event-loop.h and inf-loop.h.
1456 (record_btrace_resume_exec_dir)
1457 (record_btrace_async_inferior_event_handler)
1458 (record_btrace_handle_async_inferior_event): New.
1459 (record_btrace_open): Create async event handler.
1460 (record_btrace_close): Delete async event handler.
1461 (record_btrace_resume): Set record_btrace_resume_exec_dir,
1462 Mark async event handler.
1463 (record_btrace_execution_direction): New.
1464 (init_record_btrace_ops): Initialize to_execution_direction.
1465
1466 2014-06-03 Doug Evans <xdje42@gmail.com>
1467
1468 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
1469 (gdbscm_make_parameter): Ditto.
1470
1471 2014-06-03 Doug Evans <dje@google.com>
1472
1473 * exec.c (exec_close_1): Call clear_section_table instead of
1474 resize_section_table.
1475 (clear_section_table): New function.
1476 (resize_section_table): Make static. Rename arg num_added to
1477 adjustment.
1478 * exec.h (clear_section_table): Declare.
1479 (resize_section_table): Delete.
1480 * progspace.c (release_program_space): Call clear_section_table
1481 instead of resize_section_table.
1482
1483 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1484
1485 * NEWS (Python Scripting): Add entry about the new xmethods
1486 feature.
1487
1488 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1489
1490 * python/py-xmethods.c: New file.
1491 * python/py-objfile.c (objfile_object): New field 'xmethods'.
1492 (objfpy_dealloc): XDECREF on the new xmethods field.
1493 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
1494 field.
1495 (objfpy_get_xmethods): New function.
1496 (objfile_getset): New entry 'xmethods'.
1497 * python/py-progspace.c (pspace_object): New field 'xmethods'.
1498 (pspy_dealloc): XDECREF on the new xmethods field.
1499 (pspy_new, pspace_to_pspace_object): Initialize xmethods
1500 field.
1501 (pspy_get_xmethods): New function.
1502 (pspace_getset): New entry 'xmethods'.
1503 * python/python-internal.h: Add declarations for new functions.
1504 * python/python.c (_initialize_python): Invoke
1505 gdbpy_initialize_xmethods.
1506 * python/lib/gdb/__init__.py (xmethods): New
1507 attribute.
1508 * python/lib/gdb/xmethod.py: New file.
1509 * python/lib/gdb/command/xmethods.py: New file.
1510
1511 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1512
1513 * eval.c (evaluate_subexp_standard): Call the xmethod if the
1514 best match method returned by find_overload_match is an xmethod.
1515 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
1516 the best matching operator returned by find_overload_match is an
1517 xmethod.
1518 * valops.c: #include "extension.h".
1519 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
1520 Return void. The list of matching source methods is returned in
1521 "fn_list" and a vector of matching debug method workers is
1522 returned in "xm_worker_vec". Update all callers.
1523 (value_find_oload_method_list): Likewise.
1524 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
1525 non-NULL, then the index of the best matching method in this
1526 vector is returned. Update all callers.
1527 (find_overload_match): Include xmethods while performing overload
1528 resolution.
1529
1530 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1531
1532 * defs.h (enum lval_type): New enumerator "lval_xcallable".
1533 * extension-priv.h (struct extension_language_ops): Add the
1534 xmethod interface.
1535 * extension.c (new_xmethod_worker, clone_xmethod_worker,
1536 get_matching_xmethod_workers, get_xmethod_argtypes,
1537 invoke_xmethod, free_xmethod_worker,
1538 free_xmethod_worker_vec): New functions.
1539 * extension.h: #include "common/vec.h".
1540 New function declarations.
1541 (struct xmethod_worker): New struct.
1542 (VEC (xmethod_worker_ptr)): New vector type.
1543 (xmethod_worker_ptr): New typedef.
1544 (xmethod_worker_vec): Likewise.
1545 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
1546 builtin_type.
1547 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
1548 (struct builtin_type): New field "xmethod".
1549 * valarith.c (value_ptradd): Assert that the value argument is not
1550 lval_xcallable.
1551 * valops.c (value_must_coerce_to_target): Return 0 for
1552 lval_xcallable values.
1553 * value.c (struct value): New field XM_WORKER in the field
1554 LOCATION.
1555 (value_address, value_raw_address): Return 0 for lval_xcallable
1556 values.
1557 (set_value_address): Assert that the value is not an
1558 lval_xcallable.
1559 (value_free): Free the associated xmethod worker when freeing
1560 lval_xcallable values.
1561 (set_value_component_location): Assert that the WHOLE value is not
1562 lval_xcallable.
1563 (value_of_xmethod, call_xmethod): New functions.
1564 * value.h: Declare "struct xmethod_worker".
1565 Declare new functions value_of_xmethod, call_xmethod.
1566
1567 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1568 Pedro Alves <palves@redhat.com>
1569
1570 PR breakpoints/17000
1571 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
1572 New function, extracted from software_breakpoint_inserted_here_p.
1573 (software_breakpoint_inserted_here_p): Replace factored out code
1574 by call to find_non_raw_software_breakpoint_inserted_here.
1575 (bp_target_info_copy_insertion_state): New function.
1576 (bkpt_insert_location): Handle the case of a single-step
1577 breakpoint already inserted at the same address.
1578 (bkpt_remove_location): Handle the case of a single-step
1579 breakpoint still inserted at the same address.
1580 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
1581 breakpoint already inserted at the same address.
1582 (deprecated_remove_raw_breakpoint): Handle the case of a
1583 non-raw breakpoint still inserted at the same address.
1584 (find_single_step_breakpoint): New function, extracted from
1585 single_step_breakpoint_inserted_here_p.
1586 (find_single_step_breakpoint): New function,
1587 factored out from single_step_breakpoint_inserted_here_p.
1588 (single_step_breakpoint_inserted_here_p): Reimplement.
1589
1590 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1591
1592 Pushed by Joel Brobecker <brobecker@adacore.com>
1593 * source.c (show_substitute_path_command): Fix display of matching
1594 substitution rules.
1595
1596 2014-06-03 Gary Benson <gbenson@redhat.com>
1597
1598 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
1599
1600 2014-06-02 Doug Evans <xdje42@gmail.com>
1601
1602 Add parameter support for Guile.
1603 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
1604 (SUBDIR_GUILE_SRCS): Add scm-param.c.
1605 (scm-param.o): New rule.
1606 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
1607 (gdbscm_misc_error): Declare.
1608 (gdbscm_canonicalize_command_name): Declare.
1609 (gdbscm_scm_to_host_string): Declare.
1610 (gdbscm_scm_from_host_string): Declare.
1611 (gdbscm_initialize_parameters): Declare.
1612 * guile/guile.c (initialize_gdb_module): Call
1613 gdbscm_initialize_parameters.
1614 * guile/lib/gdb.scm: Export parameter symbols.
1615 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
1616 cmdscm_canonicalize_name and made public. All callers updated.
1617 * guile/scm-exception.c (gdbscm_misc_error): New function.
1618 * guile/scm-param.c: New file.
1619 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
1620 (gdbscm_scm_to_host_string): New function.
1621 (gdbscm_scm_from_host_string): New function.
1622 * scm-utils.c (gdbscm_gc_dup_argv): New function.
1623
1624 2014-06-02 Doug Evans <xdje42@gmail.com>
1625
1626 Add command support for Guile.
1627 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
1628 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
1629 (scm-cmd.o): New rule.
1630 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
1631 (gdbscm_user_error_p): Declare.
1632 (gdbscm_parse_command_name): Declare.
1633 (gdbscm_valid_command_class_p): Declare.
1634 (gdbscm_initialize_commands): Declare.
1635 * guile/guile.c (initialize_gdb_module): Call
1636 gdbscm_initialize_commands.
1637 * guile/lib/gdb.scm: Export command symbols.
1638 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
1639 (throw-user-error): New function.
1640 * guile/scm-cmd.c: New file.
1641 * guile/scm-exception.c (user_error_symbol): New static global.
1642 (gdbscm_user_error_p): New function.
1643 (gdbscm_initialize_exceptions): Set user_error_symbol.
1644 * scm-utils.c (gdbscm_gc_xstrdup): New function.
1645
1646 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
1647
1648 * top.c (command_loop): Handle comments here...
1649 (command_line_input): ... not here.
1650
1651 2014-06-02 Doug Evans <xdje42@gmail.com>
1652
1653 Add progspace support for Guile.
1654 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
1655 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
1656 (scm-progspace.o): New rule.
1657 * guile/guile-internal.h (pspace_smob): New typedef.
1658 (psscm_pspace_smob_pretty_printers): Declare.
1659 (psscm_pspace_smob_from_pspace): Declare.
1660 (psscm_scm_from_pspace): Declare.
1661 * guile/guile.c (initialize_gdb_module): Call
1662 gdbscm_initialize_pspaces.
1663 * guile/lib/gdb.scm: Export progspace symbols.
1664 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
1665 support.
1666 (append-pretty-printer!): Ditto.
1667 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
1668 Implement.
1669 * guile/scm-progspace.c: New file.
1670
1671 2014-06-03 Alan Modra <amodra@gmail.com>
1672
1673 * ppc64-tdep.c (ppc64_standard_linkage8): New.
1674 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
1675
1676 2014-06-02 Doug Evans <dje@google.com>
1677
1678 Add support for skeletonless type units.
1679 * dwarf2read.c (struct dwarf2_per_objfile): New member
1680 n_allocated_type_units.
1681 (struct dwarf2_per_objfile) <tu_stats>: New member
1682 nr_all_type_units_reallocs.
1683 (create_signatured_type_table_from_index): Initialize
1684 n_allocated_type_units
1685 (create_all_type_units): Ditto.
1686 (add_type_unit): Move up in file. New arg slot.
1687 All callers updated. Increase space for all_type_units more
1688 efficiently.
1689 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
1690 (lookup_dwo_signatured_type): Handle skeletonless TUs.
1691 (lookup_dwp_signatured_type): Ditto.
1692 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
1693 All callers updated.
1694 (build_type_psymtabs_1): Leave type_unit_groups as
1695 NULL if no TUs present.
1696 (print_tu_stats): New function.
1697 (process_skeletonless_type_unit): New function.
1698 (process_dwo_file_for_skeletonless_type_units): New
1699 function.
1700 (process_skeletonless_type_units): New function.
1701 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
1702 Call print tu_stats if debugging enabled.
1703
1704 2014-06-02 Pedro Alves <palves@redhat.com>
1705
1706 * breakpoint.c (build_target_command_list): Don't build a command
1707 list if we have any duplicate location that isn't a dprintf.
1708
1709 2014-06-02 Pedro Alves <palves@redhat.com>
1710
1711 * breakpoint.c (dprintf_breakpoint_hit): New function.
1712 (initialize_breakpoint_ops): Install it as dprintf's
1713 breakpoint_hit method.
1714
1715 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1716
1717 * source.c (substitute_path_rule_matches): Simplify using
1718 filename_ncmp instead of FILENAME_CMP.
1719
1720 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1721
1722 * source.c (substitute_path_rule_matches): Remove trailing spaces.
1723
1724 2014-06-01 Ludovic Courtès <ludo@gnu.org>
1725
1726 * configure.ac: When Guile is available, check for the
1727 availability of 'scm_new_smob'.
1728 * configure, config.h.in: Regenerate.
1729 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
1730 function.
1731
1732 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1733
1734 * frame.c (struct frame_info): Add stop_string field.
1735 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
1736 (get_prev_frame_always): Old content moved into
1737 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
1738 TRY_CATCH, handle MEMORY_ERROR exceptions.
1739 (frame_stop_reason_string): New function definition.
1740 * frame.h (unwind_stop_reason_to_string): Extend comment to
1741 mention frame_stop_reason_string.
1742 (frame_stop_reason_string): New function declaration.
1743 * stack.c (frame_info): Switch to frame_stop_reason_string.
1744 (backtrace_command_1): Switch to frame_stop_reason_string.
1745 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
1746 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
1747 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
1748
1749 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1750
1751 * frame.c (frame_stop_reason_string): Rename to ...
1752 (unwind_stop_reason_to_string): this.
1753 * frame.h (frame_stop_reason_string): Rename to ...
1754 (unwind_stop_reason_to_string): this.
1755 * stack.c (frame_info): Update call to frame_stop_reason_string.
1756 (backtrace_command_1): Likewise.
1757 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
1758 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
1759
1760 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1761
1762 * frame.c (remove_prev_frame): New function.
1763 (get_prev_frame_if_no_cycle): Create / discard cleanup using
1764 remove_prev_frame.
1765
1766 2014-05-29 Pedro Alves <palves@redhat.com>
1767
1768 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
1769 and make it const. When a single-step decays to a continue,
1770 clear 'step', not 'hw_step'. Pass whether the caller wanted
1771 to step to user_visible_resume_ptid, not what we ask the
1772 target to do.
1773
1774 2014-05-29 Pedro Alves <palves@redhat.com>
1775
1776 * infrun.c (process_event_stop_test, handle_step_into_function)
1777 (handle_step_into_function_backward): Adjust.
1778 Don't set the even thread's stop_step and call stop_waiting before
1779 calling end_stepping_range. Instead do that ...
1780 (end_stepping_range): ... here. Take an ecs pointer parameter.
1781
1782 2014-05-29 Pedro Alves <palves@redhat.com>
1783
1784 * infrun.c (stop_stepping): Rename to ...
1785 (stop_waiting): ... this.
1786 (proceed): Update comment.
1787 (process_event_stop_test, handle_inferior_event)
1788 (handle_signal_stop, handle_step_into_function)
1789 (handle_step_into_function_backward): Update.
1790
1791 2014-05-29 Pedro Alves <palves@redhat.com>
1792
1793 * infcall.c (run_inferior_call): Don't check whether the current
1794 thread is running after the proceed call.
1795
1796 2014-05-29 Pedro Alves <palves@redhat.com>
1797 Tom Tromey <tromey@redhat.com>
1798
1799 * NEWS: Mention "maint set target-async", "set mi-async", and that
1800 background execution commands are now always available.
1801 * target.h (target_async_permitted): Update comment.
1802 * target.c (target_async_permitted, target_async_permitted_1):
1803 Default to 1.
1804 (set_target_async_command): Rename to ...
1805 (maint_set_target_async_command): ... this.
1806 (show_target_async_command): Rename to ...
1807 (maint_show_target_async_command): ... this.
1808 (_initialize_target): Adjust.
1809 * infcmd.c (prepare_execution_command): Make extern.
1810 * inferior.h (prepare_execution_command): Declare.
1811 * infrun.c (set_observer_mode): Leave target async alone.
1812 * mi/mi-interp.c (mi_interpreter_init): Install
1813 mi_on_sync_execution_done as sync_execution_done observer.
1814 (mi_on_sync_execution_done): New function.
1815 (mi_execute_command_input_handler): Don't print the prompt if we
1816 just started a synchronous command with an async target.
1817 (mi_on_resume): Check sync_execution before printing prompt.
1818 * mi/mi-main.h (mi_async_p): Declare.
1819 * mi/mi-main.c: Include gdbcmd.h.
1820 (mi_async_p): New function.
1821 (mi_async, mi_async_1): New globals.
1822 (set_mi_async_command, show_mi_async_command, mi_async): New
1823 functions.
1824 (exec_continue): Call prepare_execution_command.
1825 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
1826 (mi_execute_async_cli_command): Use mi_async_p.
1827 (_initialize_mi_main): Install "set mi-async". Make
1828 "target-async" a deprecated alias.
1829
1830 2014-05-29 Pedro Alves <palves@redhat.com>
1831
1832 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
1833 (_initialize_cli_interp): Adjust.
1834 * event-loop.c: Include "observer.h".
1835 (start_event_loop): Notify 'command_error' observers instead of
1836 calling display_gdb_prompt. Remove FIXME comment.
1837 * event-top.c (display_gdb_prompt): Remove call into the
1838 interpreters.
1839 * inf-loop.c: Include "observer.h".
1840 (inferior_event_handler): Notify 'command_error' observers instead
1841 of calling display_gdb_prompt.
1842 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
1843 observers instead of calling display_gdb_prompt.
1844 * interps.c (interp_set): Don't call display_gdb_prompt.
1845 (current_interp_display_prompt_p): Delete.
1846 * interps.h (interp_prompt_p): Delete declaration.
1847 (interp_prompt_p_ftype): Delete.
1848 (struct interp_procs) <prompt_proc_p>: Delete field.
1849 (current_interp_display_prompt_p): Delete declaration.
1850 * mi-interp.c (mi_interpreter_prompt_p): Delete.
1851 (_initialize_mi_interp): Adjust.
1852 * tui-interp.c (tui_init): Install 'sync_execution_done' and
1853 'command_error' observers.
1854 (tui_on_sync_execution_done, tui_on_command_error): New
1855 functions.
1856 (tui_display_prompt_p): Delete.
1857 (_initialize_tui_interp): Adjust.
1858
1859 2014-05-29 Pedro Alves <palves@redhat.com>
1860
1861 PR gdb/13860
1862 * cli/cli-interp.c: Include infrun.h and observer.h.
1863 (cli_uiout, cli_interp): New globals.
1864 (cli_on_signal_received, cli_on_end_stepping_range)
1865 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
1866 functions.
1867 (cli_interpreter_init): Install them as 'end_stepping_range',
1868 'signal_received' 'signal_exited', 'exited' and 'no_history'
1869 observers.
1870 (_initialize_cli_interp): Remove cli_interp local.
1871 * infrun.c (handle_inferior_event): Call the several stop reason
1872 observers instead of printing the stop reason directly.
1873 (end_stepping_range): New function.
1874 (print_end_stepping_range_reason, print_signal_exited_reason)
1875 (print_exited_reason, print_signal_received_reason)
1876 (print_no_history_reason): Make static, and add an uiout
1877 parameter. Print to that instead of to CURRENT_UIOUT.
1878 * infrun.h (print_end_stepping_range_reason)
1879 (print_signal_exited_reason, print_exited_reason)
1880 (print_signal_received_reason print_no_history_reason): New
1881 declarations.
1882 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
1883 'mi_uiout'.
1884 <cli_uiout>: New field.
1885 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
1886 uiout for CLI output. Install 'signal_received',
1887 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
1888 observers.
1889 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
1890 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
1891 (mi_on_no_history): New functions.
1892 (ui_out_free_cleanup): Delete function.
1893 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
1894 instead use the one already stored in the MI interpreter data.
1895 (mi_ui_out): Adjust.
1896 * tui/tui-interp.c: Include infrun.h and observer.h.
1897 (tui_interp): New global.
1898 (tui_on_signal_received, tui_on_end_stepping_range)
1899 (tui_on_signal_exited, tui_on_exited)
1900 (tui_on_no_history): New functions.
1901 (tui_init): Install them as 'end_stepping_range',
1902 'signal_received' 'signal_exited', 'exited' and 'no_history'
1903 observers.
1904 (_initialize_tui_interp): Delete tui_interp local.
1905
1906 2014-05-29 Pedro Alves <palves@redhat.com>
1907
1908 PR gdb/15713
1909 * linux-nat.c (linux_nat_resume_callback): Rename the second
1910 parameter to 'except'. Skip LP if it points to EXCEPT.
1911 (linux_nat_resume): Don't mark the event lwp as not stopped
1912 before resuming sibling lwps. Instead ask
1913 linux_nat_resume_callback to skip the event lwp. Mark it as not
1914 stopped after actually resuming it.
1915 (linux_handle_syscall_trap): Mark the lwp as not stopped after
1916 resuming it.
1917 (wait_lwp): Mark the lwp as stopped here.
1918 (stop_wait_callback): Mark the lwp as not stopped right after
1919 resuming it. Don't mark lwps as stopped here.
1920 (linux_nat_filter_event): Mark the lwp as stopped earlier.
1921 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
1922
1923 2014-05-29 Pedro Alves <palves@redhat.com>
1924
1925 PR PR15693
1926 * infrun.c (resume): Determine how much to resume depending on
1927 whether the caller wanted a step, not whether we can hardware step
1928 the target. Mark all threads that we intend to run as running,
1929 unless we're calling an inferior function.
1930 (normal_stop): If the thread is running an infcall, don't finish
1931 thread state.
1932 * target.c (target_resume): Don't mark threads as running here.
1933
1934 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1935
1936 * serial.c (_initialize_serial): Remove support for
1937 the "set remotebaud" and "show remotebaud" commands.
1938 * NEWS: Add entry documenting the removal of that command.
1939
1940 2014-05-28 Yao Qi <yao@codesourcery.com>
1941
1942 * charset.c: Fix typo in comments.
1943
1944 2014-05-27 Gary Benson <gbenson@redhat.com>
1945
1946 * utils.c (internal_vproblem): Prompt for a bug report.
1947
1948 2014-05-26 Andy Wingo <wingo@igalia.com>
1949
1950 * guile/scm-arch.c (arscm_mark_arch_smob):
1951 * guile/scm-block.c (bkscm_mark_block_smob)
1952 (bkscm_mark_block_syms_progress_smob):
1953 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
1954 * guile/scm-exception.c (exscm_mark_exception_smob):
1955 * guile/scm-frame.c (frscm_mark_frame_smob):
1956 * guile/scm-iterator.c (itscm_mark_iterator_smob):
1957 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
1958 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
1959 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
1960 (ppscm_mark_pretty_printer_worker_smob):
1961 * guile/scm-symbol.c (syscm_mark_symbol_smob):
1962 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
1963 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
1964 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
1965 mark functions.
1966 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
1967 function.
1968
1969 2014-05-26 Andy Wingo <wingo@igalia.com>
1970 Doug Evans <xdje42@gmail.com>
1971
1972 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
1973 empty_base_class. All uses updated.
1974 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
1975 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
1976 Adapt all callers.
1977 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
1978 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
1979 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
1980 (gdbscm_gsmob_has_property_p, add_property_name)
1981 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
1982 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
1983 (gdb-object-has-property?, gdb-object-properties): Remove.
1984 (gdb-object-kind): Renamed from gsmob-kind.
1985
1986 2014-05-26 Andy Wingo <wingo@igalia.com>
1987
1988 * configure.ac (try_guile_versions): Allow building with guile 2.2.
1989 * configure: Regenerate.
1990
1991 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1992
1993 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
1994
1995 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1996
1997 * record-btrace.c (record_btrace_allow_memory_access): Remove.
1998 (replay_memory_access_read_only, replay_memory_access_read_write)
1999 (replay_memory_access_types, replay_memory_access)
2000 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
2001 (cmd_set_record_btrace, cmd_show_record_btrace)
2002 (cmd_show_replay_memory_access): New.
2003 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
2004 (record_btrace_remove_breakpoint): Replace
2005 record_btrace_allow_memory_access with replay_memory_access.
2006 (_initialize_record_btrace): Add commands.
2007 * NEWS: Announce it.
2008
2009 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2010
2011 * aarch64-linux-nat.c (asm/ptrace.h): Include.
2012
2013 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2014
2015 * MAINTAINERS (Write After Approval): Move self back from
2016 paper trail.
2017
2018 2014-05-22 Pedro Alves <palves@redhat.com>
2019
2020 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
2021 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
2022 (disable_randomization, enum exec_direction_kind)
2023 (execution_direction, stop_registers, start_remote)
2024 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
2025 (wait_for_inferior, normal_stop, get_last_target_status)
2026 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
2027 (insert_step_resume_breakpoint_at_sal)
2028 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
2029 (set_step_info, print_stop_event, signal_stop_state)
2030 (signal_print_state, signal_pass_state, signal_stop_update)
2031 (signal_print_update, signal_pass_update)
2032 (update_signals_program_target, clear_exit_convenience_vars)
2033 (displaced_step_dump_bytes, update_observer_mode)
2034 (signal_catch_update, gdb_signal_from_command): Move
2035 declarations ...
2036 * infrun.h: ... to this new file.
2037 * amd64-tdep.c: Include infrun.h.
2038 * annotate.c: Include infrun.h.
2039 * arch-utils.c: Include infrun.h.
2040 * arm-linux-tdep.c: Include infrun.h.
2041 * arm-tdep.c: Include infrun.h.
2042 * break-catch-sig.c: Include infrun.h.
2043 * breakpoint.c: Include infrun.h.
2044 * common/agent.c: Include infrun.h instead of inferior.h.
2045 * corelow.c: Include infrun.h.
2046 * event-top.c: Include infrun.h.
2047 * go32-nat.c: Include infrun.h.
2048 * i386-tdep.c: Include infrun.h.
2049 * inf-loop.c: Include infrun.h.
2050 * infcall.c: Include infrun.h.
2051 * infcmd.c: Include infrun.h.
2052 * infrun.c: Include infrun.h.
2053 * linux-fork.c: Include infrun.h.
2054 * linux-nat.c: Include infrun.h.
2055 * linux-thread-db.c: Include infrun.h.
2056 * monitor.c: Include infrun.h.
2057 * nto-tdep.c: Include infrun.h.
2058 * procfs.c: Include infrun.h.
2059 * record-btrace.c: Include infrun.h.
2060 * record-full.c: Include infrun.h.
2061 * remote-m32r-sdi.c: Include infrun.h.
2062 * remote-mips.c: Include infrun.h.
2063 * remote-notif.c: Include infrun.h.
2064 * remote-sim.c: Include infrun.h.
2065 * remote.c: Include infrun.h.
2066 * reverse.c: Include infrun.h.
2067 * rs6000-tdep.c: Include infrun.h.
2068 * s390-linux-tdep.c: Include infrun.h.
2069 * solib-irix.c: Include infrun.h.
2070 * solib-osf.c: Include infrun.h.
2071 * solib-svr4.c: Include infrun.h.
2072 * target.c: Include infrun.h.
2073 * top.c: Include infrun.h.
2074 * windows-nat.c: Include infrun.h.
2075 * mi/mi-interp.c: Include infrun.h.
2076 * mi/mi-main.c: Include infrun.h.
2077 * python/py-threadevent.c: Include infrun.h.
2078
2079 2014-05-22 Pedro Alves <palves@redhat.com>
2080
2081 * infrun.c (handle_inferior_event): Store the exit code for
2082 --return-child-result here, instead of ...
2083 (print_exited_reason): ... here.
2084
2085 2014-05-21 Pedro Alves <palves@redhat.com>
2086
2087 PR gdb/13860
2088 * gdbthread.h (struct thread_control_state): New field
2089 `command_interp'.
2090 * infrun.c (follow_fork): Copy the new thread control field to the
2091 child fork thread.
2092 (clear_proceed_status_thread): Clear the new thread control field.
2093 (proceed): Set the new thread control field.
2094 * interps.h (command_interp): Declare.
2095 * interps.c (command_interpreter): New global.
2096 (command_interp): New function.
2097 (interp_exec): Set `command_interpreter' while here.
2098 * cli-out.c (cli_uiout_dtor): New function.
2099 (cli_ui_out_impl): Install it.
2100 * mi/mi-interp.c: Include cli-out.h.
2101 (mi_cmd_interpreter_exec): Add comment.
2102 (restore_current_uiout_cleanup): New function.
2103 (ui_out_free_cleanup): New function.
2104 (mi_on_normal_stop): If finishing an execution command started by
2105 a CLI command, or any kind of breakpoint-like event triggered,
2106 print the stop event to the output (CLI) stream.
2107 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
2108
2109 2014-05-21 Pedro Alves <palves@redhat.com>
2110
2111 * cli/cli-cmds.c (list_command): Handle the first "list" after the
2112 current source line having changed.
2113 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
2114 * infrun.c (normal_stop): Adjust call to
2115 set_current_sal_from_frame.
2116 * source.c (clear_lines_listed_range): New function.
2117 (set_current_source_symtab_and_line, identify_source_line): Clear
2118 the lines listed range.
2119 (line_info): Handle the first "info line" after the current source
2120 line having changed.
2121 * stack.c (print_stack_frame): Remove center handling.
2122 (set_current_sal_from_frame): Remove 'center' parameter. Don't
2123 center sal.line.
2124
2125 2014-05-21 Pedro Alves <palves@redhat.com>
2126
2127 * inf-child.c (inf_child_mourn_inferior): New function.
2128 * inf-child.h (inf_child_mourn_inferior): New declaration.
2129 * darwin-nat.c (darwin_mourn_inferior): Use
2130 inf_child_mourn_inferior.
2131 * gnu-nat.c (gnu_mourn_inferior): Likewise.
2132 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
2133 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
2134 * nto-procfs.c (procfs_mourn_inferior): Likewise.
2135 * windows-nat.c (windows_mourn_inferior): Likewise.
2136
2137 2014-05-21 Doug Evans <xdje42@gmail.com>
2138
2139 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
2140
2141 2014-05-21 Doug Evans <xdje42@gmail.com>
2142
2143 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
2144 (gdbscm_out_of_range_error): Ditto.
2145 (gdbscm_memory_error): Ditto.
2146 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
2147 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
2148 (gdbscm_out_of_range_error): Update.
2149 (gdbscm_memory_error): Update.
2150 (gdbscm_scm_to_target_string_unsafe): Delete.
2151
2152 2014-05-21 Pedro Alves <palves@redhat.com>
2153
2154 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
2155 globals.
2156 (inf_child_open_target): New function.
2157 (inf_child_open): Use inf_child_open_target to push the target
2158 instead of erroring out.
2159 (inf_child_disconnect, inf_child_close)
2160 (inf_child_maybe_unpush_target): New functions.
2161 (inf_child_target): Install inf_child_disconnect and
2162 inf_child_close. Store a pointer to the returned object.
2163 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
2164 declarations.
2165 * target.c (auto_connect_native_target): New global.
2166 (show_default_run_target): New function.
2167 (find_default_run_target): Return NULL if automatically connecting
2168 to the native target is disabled.
2169 (_initialize_target): Install set/show auto-connect-native-target.
2170 * NEWS: Mention "set auto-connect-native-target", and "target
2171 native".
2172 * linux-nat.c (super_close): New global.
2173 (linux_nat_close): Call super_close.
2174 (linux_nat_add_target): Store a pointer to the base class's
2175 to_close method.
2176 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
2177 inf_child_maybe_unpush.
2178 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
2179 already pushed.
2180 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
2181 the inferior. Use inf_child_maybe_unpush_target.
2182 (inf_ttrace_attach): Don't push the target if it is already
2183 pushed.
2184 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
2185 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
2186 after mourning the inferior. Use inf_child_maybe_unpush_target.
2187 (darwin_attach_pid): Don't push the target if it is already
2188 pushed.
2189 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
2190 mourning the inferior. Use inf_child_maybe_unpush_target.
2191 (gnu_detach): Use inf_child_maybe_unpush_target.
2192 * go32-nat.c (go32_create_inferior): Don't push the target if it
2193 is already pushed.
2194 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
2195 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
2196 (procfs_open): Rename to ...
2197 (procfs_open_1): ... this. Add target_ops parameter. Adjust
2198 comments. Can target_preopen before changing node. Call
2199 inf_child_open_target to push the target explicitly.
2200 (procfs_attach): Don't push the target if it is already pushed.
2201 (procfs_detach): Use inf_child_maybe_unpush_target.
2202 (procfs_create_inferior): Don't push the target if it is already
2203 pushed.
2204 (nto_native_ops): New global.
2205 (procfs_open): Reimplement.
2206 (procfs_native_open): New function.
2207 (init_procfs_targets): Install procfs_native_open as to_open of
2208 "target native". Store a pointer to the "native" target in
2209 nto_native_ops.
2210 * procfs.c (procfs_attach): Don't push the target if it is already
2211 pushed.
2212 (procfs_detach): Use inf_child_maybe_unpush_target.
2213 (procfs_mourn_inferior): Only unpush the target after mourning the
2214 inferior. Use inf_child_maybe_unpush_target.
2215 (procfs_init_inferior): Don't push the target if it is already
2216 pushed.
2217 * windows-nat.c (do_initial_windows_stuff): Don't push the target
2218 if it is already pushed.
2219
2220 2014-05-21 Pedro Alves <palves@redhat.com>
2221
2222 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
2223 and "procfs" targets are now called "native" instead.
2224
2225 2014-05-21 Pedro Alves <palves@redhat.com>
2226
2227 * go32-nat.c (go32_open): Delete.
2228 (go32_target): Don't override the to_open method.
2229
2230 2014-05-21 Pedro Alves <palves@redhat.com>
2231
2232 * nto-procfs.c (procfs_can_run): New function.
2233 (nto_procfs_ops): New global.
2234 (init_procfs_targets): New, based on procfs_target. Install
2235 "target native" in addition to "target procfs".
2236 (_initialize_procfs): Call init_procfs_targets instead of adding
2237 the target here.
2238
2239 2014-05-21 Pedro Alves <palves@redhat.com>
2240
2241 * windows-nat.c (windows_target): Don't override to_shortname,
2242 to_longname or to_doc.
2243
2244 2014-05-21 Pedro Alves <palves@redhat.com>
2245
2246 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
2247 to_doc.
2248
2249 2014-05-21 Pedro Alves <palves@redhat.com>
2250
2251 * darwin-nat.c (_initialize_darwin_inferior): Don't override
2252 to_shortname, to_longname or to_doc.
2253
2254 2014-05-21 Pedro Alves <palves@redhat.com>
2255
2256 * go32-nat.c (go32_target): Don't override to_shortname,
2257 to_longname or to_doc.
2258
2259 2014-05-21 Pedro Alves <palves@redhat.com>
2260
2261 * inf-child.c (inf_child_open): Remove mention of "child".
2262 (inf_child_target): Rename target to "native" instead of "child".
2263
2264 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2265
2266 * Makefile.in (SFILES): Delete "regset.c".
2267 (COMMON_OBS): Delete "regset.o".
2268 * regset.c: Remove.
2269 * regset.h (regset_alloc): Delete prototype.
2270
2271 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2272
2273 * sparc-linux-tdep.c (sparc32_linux_gregset)
2274 (sparc32_linux_fpregset): New static regset structures.
2275 (sparc32_linux_init_abi): Drop dynamic regset allocations.
2276 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
2277 'fpregset' fields.
2278 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
2279 (sparc64_linux_fpregset): New static regset structures.
2280 (sparc64_linux_init_abi): Drop dynamic regset allocations.
2281 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
2282 New static regset structures.
2283 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
2284 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
2285 New static regset structures.
2286 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
2287 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
2288 New static regset structures.
2289 (sparc64obsd_init_abi): Drop dynamic regset allocations.
2290 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
2291 New static regset structures.
2292 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
2293
2294 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2295
2296 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
2297 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
2298 register maps ("regmaps") from "*regset" to "*regmap". Do this
2299 for all regmap types and variables.
2300 * sparc-linux-tdep.c (sparc32_linux_step_trap)
2301 (sparc32_linux_supply_core_gregset)
2302 (sparc32_linux_collect_core_gregset)
2303 (sparc32_linux_supply_core_fpregset)
2304 (sparc32_linux_collect_core_fpregset): Likewise.
2305 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
2306 (sparc_gregmap, sparc_fpregmap): ... these.
2307 (sparc_supply_gregset, sparc_collect_gregset)
2308 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2309 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
2310 (_initialize_sparc_nat): Rename regmaps.
2311 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
2312 (sparc_gregmap, sparc_fpregmap): ... these.
2313 (sparc_supply_gregset, sparc_collect_gregset)
2314 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2315 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
2316 Rename macros to...
2317 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
2318 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
2319 Likewise.
2320 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
2321 Rename to...
2322 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
2323 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
2324 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
2325 regmaps.
2326 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
2327 (sparc32_bsd_fpregset): Rename to...
2328 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
2329 (sparc32_bsd_fpregmap): ... these.
2330 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
2331 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
2332 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
2333 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
2334 (struct sparc_gregmap, struct sparc_fpregmap)
2335 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
2336 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
2337 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
2338 (sparc32_supply_regset, sparc32_collect_gregset)
2339 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
2340 prototypes.
2341 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
2342 (sparc64_linux_ptrace_gregmap): ... this.
2343 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
2344 (_initialize_sparc64_linux_nat): Rename regmaps.
2345 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
2346 (sparc64_linux_core_gregmap): ... this.
2347 (sparc64_linux_supply_core_gregset)
2348 (sparc64_linux_collect_core_gregset)
2349 (sparc64_linux_supply_core_fpregset)
2350 (sparc64_linux_collect_core_fpregset): Rename regmaps.
2351 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
2352 (sparc64_sol2_fpregset): Rename to...
2353 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
2354 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
2355 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
2356 regmaps.
2357 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
2358 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
2359 (sparc64_bsd_fpregset): Rename to...
2360 (struct sparc_gregmap, sparc64_sol2_gregmap)
2361 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
2362 (sparc64_bsd_fpregmap): ... these.
2363 (sparc64_supply_gregset, sparc64_collect_gregset)
2364 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
2365 prototypes.
2366 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
2367 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
2368 (sparc64fbsd_gregmap): ... this.
2369 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
2370 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
2371 Rename regmaps.
2372 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
2373 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
2374 (sparc64nbsd_collect_fpregset): Likewise.
2375 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
2376 (sparc64nbsd_gregmap): ... this.
2377 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
2378 regmaps.
2379 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
2380 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
2381 (sparc64obsd_gregmap): ... this.
2382 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
2383 regmaps.
2384 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
2385 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
2386 (sparc32nbsd_gregmap): ... this.
2387 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
2388 regmaps.
2389
2390 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2391
2392 * score-tdep.c (score7_linux_gregset): New static regset
2393 structure.
2394 (score7_linux_regset_from_core_section): Remove dynamic regset
2395 allocation.
2396 (score_gdbarch_init): Drop allocation of tdep structure.
2397 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
2398
2399 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2400
2401 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
2402 regset structures.
2403 (am33_regset_from_core_section): Remove dynamic regset
2404 allocations.
2405
2406 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2407
2408 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
2409 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
2410 structures.
2411 (mips_linux_regset_from_core_section): Remove dynamic regset
2412 allocations.
2413 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
2414 'gregset64', 'fpregset', and 'fpregset64'.
2415 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
2416 deleted tdep fields.
2417
2418 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2419
2420 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
2421 regset structures.
2422 (amd64_regset_from_core_section): Remove dynamic regset
2423 allocations.
2424 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
2425 structure.
2426 (amd64obsd_regset_from_core_section): Remove dynamic regset
2427 allocation.
2428 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
2429 Likewise.
2430 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
2431 x86-common regset supply function.
2432 * i386-tdep.c (i386_collect_gregset): Make static.
2433 (i386_gregset): New global regset structure.
2434 (i386_fpregset, i386_xstateregset): New static regset structures.
2435 (i386_regset_from_core_section): Remove dynamic regset
2436 allocations.
2437 (i386_gdbarch_init): Remove initialization of tdep fields
2438 'gregset', 'fpregset', and 'xstateregset'.
2439 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
2440 'fpregset', and 'xstateregset'.
2441 (i386_collect_gregset): Remove prototype.
2442 (i386_gregset): New declaration.
2443 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
2444 structure.
2445 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
2446 allocation.
2447
2448 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2449
2450 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
2451 (arm_linux_vfpregset): New static regset structures.
2452 (arm_linux_regset_from_core_section): Remove dynamic allocation of
2453 regset structures.
2454 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
2455 and 'vfpregset' fields.
2456
2457 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2458
2459 * aarch64-linux-tdep.c (aarch64_linux_gregset)
2460 (aarch64_linux_fpregset): New static regset structures.
2461 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
2462 of regset structures.
2463 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
2464 'fpregset' fields.
2465
2466 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2467
2468 * regset.h (struct regset): Remove gdbarch field.
2469 * regset.c (regset_alloc): Drop initialization of gdbarch field.
2470 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
2471 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
2472 Likewise.
2473 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
2474 (ppc32_linux_fpregset, ppc32_linux_vrregset)
2475 (ppc32_linux_vsxregset): Likewise.
2476 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
2477 via the regcache instead of the regset.
2478 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
2479 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
2480 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
2481 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
2482 Likewise.
2483
2484 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2485
2486 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
2487 Constify structures.
2488 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
2489 (alphanbsd_aout_gregset): Likewise.
2490 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
2491 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
2492 Likewise.
2493 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
2494 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
2495 Likewise.
2496 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
2497 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
2498 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
2499 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
2500 * m88k-tdep.c (m88k_gregset): Likewise.
2501 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
2502 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
2503 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
2504 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
2505 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
2506 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
2507 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
2508 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
2509 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
2510 Likewise.
2511 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
2512 * sh-tdep.h (sh_corefile_gregset): Likewise.
2513 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
2514 * vax-tdep.c (vax_gregset): Likewise.
2515
2516 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 Fix TLS access for -static -pthread.
2519 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
2520 (try_thread_db_load_1): Initialize it.
2521 (thread_db_get_thread_local_address): Call it if LM is zero.
2522 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
2523 * target.h (struct target_ops) (to_get_thread_local_address): Add
2524 load_module_addr comment.
2525
2526 2014-05-21 Pedro Alves <palves@redhat.com>
2527
2528 * dcache.c (dcache_read_memory_partial): If reading the cache line
2529 fails, fallback to reading just the memory the caller wanted.
2530
2531 2014-05-20 Doug Evans <dje@google.com>
2532
2533 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
2534 instead of get_current_arch.
2535
2536 2014-05-20 Pedro Alves <palves@redhat.com>
2537
2538 * NEWS: Mention that compare-sections now works with all targets.
2539
2540 * remote.c (PACKET_qCRC): New enum value.
2541 (remote_verify_memory): Don't send qCRC if the target has no
2542 execution. Use packet_support/packet_ok. If the target doesn't
2543 support the qCRC packet, fallback to a deep memory copy.
2544 (compare_sections_command): Say "target image" instead of "remote
2545 executable".
2546 (_initialize_remote): Add PACKET_qCRC to the list of config
2547 packets that have no associated command. Extend comment.
2548 * target.c (simple_verify_memory, default_verify_memory): New
2549 function.
2550 * target.h (struct target_ops) <to_verify_memory>: Default to
2551 default_verify_memory.
2552 (simple_verify_memory): New declaration.
2553 * target-delegates.c: Regenerate.
2554
2555 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2556
2557 * record-btrace.c (record_btrace_step_thread): Check for empty history.
2558
2559 2014-05-20 Hui Zhu <hui@codesourcery.com>
2560 Yao Qi <yao@codesourcery.com>
2561
2562 PR backtrace/16558
2563 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
2564 and change address of sp and pc.
2565
2566 2014-05-19 Tom Tromey <tromey@redhat.com>
2567
2568 * gdbtypes.c (rank_function): Use XNEWVEC.
2569 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
2570
2571 2014-05-19 Doug Evans <dje@google.com>
2572
2573 * dwarf2read.c (build_type_psymtabs_1): Renamed from
2574 build_type_unit_groups and moved closer to only caller. Remove
2575 arguments. All references updated. Remove outdated .gdb_index
2576 comment.
2577 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
2578 build_type_psymtabs_1.
2579
2580 2014-05-19 Doug Evans <dje@google.com>
2581
2582 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
2583 n_type_unit_groups, all_type_unit_groups. All uses removed.
2584 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
2585 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
2586 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
2587 (add_type_unit_group_to_table): Delete.
2588
2589 2014-05-19 Doug Evans <dje@google.com>
2590
2591 * eval.c (evaluate_subexp_standard): Add some comments.
2592
2593 2014-05-17 Doug Evans <xdje42@gmail.com>
2594
2595 * progspace.c (remove_program_space): Delete, unused.
2596 * progspace.h (remove_program_space): Ditto.
2597
2598 2014-05-17 Doug Evans <xdje42@gmail.com>
2599
2600 * inferior.c (prune_inferiors): Fix comment.
2601 (remove_inferior_command): Call prune_program_spaces.
2602
2603 2014-05-16 Doug Evans <dje@google.com>
2604
2605 New command line option -D.
2606 * NEWS: Mention it.
2607 * main.c (set_gdb_data_directory): New function.
2608 (captured_main): Recognize -D. Flag error for --data-directory "".
2609 Call set_gdb_data_directory.
2610 (print_gdb_help): Print --data-directory, -D.
2611 * main.h (set_gdb_data_directory): Declare.
2612 * top.c (staged_gdb_datadir): New static global.
2613 (set_gdb_datadir): Call set_gdb_data_directory
2614 (show_gdb_datadir): New function.
2615 (init_main): Update init of data-directory parameter.
2616
2617 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
2618
2619 Import the "dirfd" gnulib module.
2620 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
2621 * gnulib/aclocal.m4: Update.
2622 * gnulib/config.in: Update.
2623 * gnulib/configure: Update.
2624 * gnulib/import/Makefile.am: Update.
2625 * gnulib/import/Makefile.in: Update.
2626 * gnulib/import/dirfd.c: New.
2627 * gnulib/import/m4/dirfd.m4: New.
2628 * gnulib/import/m4/gnulib-cache.m4: Update.
2629 * gnulib/import/m4/gnulib-comp.m4: Update.
2630
2631 2014-05-16 Pierre Muller <muller@sourceware.org>
2632 Yao Qi <yao@codesourcery.com>
2633
2634 * valprint.c (print_wchar): Move the code on checking whether
2635 W is a printable wide char to the default branch of switch
2636 statement below. Call wchar_printable instead of gdb_iswprint.
2637
2638 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
2639
2640 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
2641 ldr.w and ldrd instructions.
2642
2643 2014-05-15 Doug Evans <dje@google.com>
2644
2645 * dwarf2read.c (read_structure_type): Delete outdated comments.
2646
2647 2014-05-14 Tom Tromey <tromey@redhat.com>
2648
2649 * macrocmd.c (print_macro_definition): Reindent.
2650
2651 2014-05-13 Doug Evans <xdje42@gmail.com>
2652
2653 * python/py-cmd.c (cmdpy_completer): Add comment.
2654 (completers): Make const.
2655
2656 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
2657
2658 * infrun.c (resume): Remove should_resume (unused). Move up
2659 declaration of resume_ptid.
2660
2661 2014-05-13 Tom Tromey <tromey@redhat.com>
2662
2663 * language.h (unop_type_check): Remove.
2664 (binop_type_check): Don't declare.
2665
2666 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
2667
2668 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
2669 call to regcache_raw_collect.
2670
2671 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
2672
2673 * mi/mi-console.c (mi_console_raw_packet): Use the value from
2674 mi_console->quote as the quoting character.
2675
2676 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
2677
2678 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
2679
2680 2014-04-29 Tom Tromey <tromey@redhat.com>
2681
2682 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
2683 "show debug varobj".
2684
2685 2014-05-07 Kyle McMartin <kyle@redhat.com>
2686
2687 Pushed by Joel Brobecker <brobecker@adacore.com>.
2688 * aarch64-tdep.c (aarch64_software_single_step): New function.
2689 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
2690 with aarch64_software_single_step.
2691
2692 2014-05-05 Joel Brobecker <brobecker@adacore.com>
2693
2694 GDB 7.7.1 released.
2695
2696 2014-05-05 Keith Seitz <keiths@redhat.com>
2697
2698 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
2699 variable or history value is successfully parsed.
2700
2701 2014-05-05 Yao Qi <yao@codesourcery.com>
2702 Pedro Alves <palves@redhat.com>
2703
2704 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
2705 address of blocks that intersects the requested range. Trim
2706 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
2707 sections.
2708 * ctf.c (ctf_xfer_partial): Likewise.
2709
2710 2014-05-05 Yao Qi <yao@codesourcery.com>
2711
2712 * printcmd.c (display_command): Remove the check to
2713 target_has_execution.
2714
2715 2014-05-03 Mark Kettenis <kettenis@gnu.org>
2716
2717 * ppcobsd-nat.c: Include "obsd-nat.h".
2718 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
2719 add_target.
2720 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
2721
2722 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2723
2724 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
2725 and 16-bit signed and unsigned arguments. Update comment.
2726 (stap_parse_probe_arguments): Extend code to handle such
2727 arguments. Use warning instead of complaint to notify about
2728 unrecognized bitness.
2729
2730 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2731
2732 PR breakpoints/16889
2733 * stap-probe.c (stap_parse_probe_arguments): Simplify
2734 check for non-prefixed probes (i.e., probes whose
2735 arguments do not start with "N@"). Always set the
2736 argument type to a sane value.
2737
2738 2014-05-01 David Taylor <dtaylor@emc.com>
2739
2740 * remote.c (compare_sections_command): Add -r option to compare
2741 all loadable read-only sections.
2742
2743 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
2744
2745 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
2746 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
2747 Update all callers.
2748 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
2749 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
2750 Remove unused CORE_ADDR argument. Update all callers.
2751
2752 2014-04-29 Pedro Alves <palves@redhat.com>
2753
2754 * remote.c (struct packet_config) <detect>: Extend comment.
2755 (add_packet_config_cmd): Don't set the config's detect or support
2756 fields here.
2757 (init_all_packet_configs): Also initialize the config's 'detect'
2758 field.
2759 (reset_all_packet_configs_support): New function.
2760 (remote_open_1): Call reset_all_packet_configs_support instead of
2761 init_all_packet_configs.
2762 (_initialize_remote): Initialize all packet configs. Assert that
2763 all packets have an associated command, except a few known
2764 outliers.
2765
2766 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2767
2768 * dwarf2read.c (read_subrange_type): Handle dynamic
2769 DW_AT_lower_bound attributes.
2770
2771 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2772
2773 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
2774 dynamic bounds before computing its upper bound.
2775 (ada_discrete_type_low_bound): Same as above with the lower bound.
2776
2777 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2778
2779 * dwarf2read.c (is_dynamic_type): Return true for dynamic
2780 range types. Adjust the array handling implementation to
2781 take advantage of this change.
2782 (resolve_dynamic_range): New function, mostly extracted from
2783 resolve_dynamic_bounds.
2784 (resolve_dynamic_array): New function, mostly extracted from
2785 resolve_dynamic_bounds.
2786 (resolve_dynamic_bounds): Delete.
2787 (resolve_dynamic_type): Reimplement. Add handling of
2788 TYPE_CODE_RANGE types.
2789
2790 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2791
2792 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
2793 handling of parallel ___XA types.
2794
2795 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2796
2797 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
2798 unnecessary second call to static_unwrap_type.
2799
2800 2014-04-27 Hui Zhu <hui@codesourcery.com>
2801
2802 * stack.c (print_frame_info): Call do_gdb_disassembly with
2803 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
2804
2805 2014-04-26 Doug Evans <xdje42@gmail.com>
2806
2807 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
2808
2809 2014-04-25 Pedro Alves <palves@redhat.com>
2810
2811 PR server/16255
2812 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
2813 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
2814 and newline from built string.
2815 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
2816 (linux_ptrace_attach_fail_reason): ... this.
2817 * linux-nat.c (linux_nat_attach): Adjust to use
2818 linux_ptrace_attach_fail_reason.
2819
2820 2014-04-25 Pedro Alves <palves@redhat.com>
2821
2822 * remote.c (struct remote_state): Remove multi_process_aware,
2823 non_stop_aware, cond_tracepoints, cond_breakpoints,
2824 breakpoint_commands, fast_tracepoints, static_tracepoints,
2825 install_in_trace, disconnected_tracing,
2826 enable_disable_tracepoints, string_tracing, and
2827 augmented_libraries_svr4_read fields.
2828 (remote_multi_process_p): Move further below in the file.
2829 (struct packet_config): Add comments.
2830 (update_packet_config): Delete function.
2831 (show_packet_config_cmd): Use packet_config_support.
2832 (add_packet_config_cmd): Use NULL as set callback.
2833 (packet_ok): "set remote foo-packet"-style commands no longer
2834 change config->supported -- adjust.
2835 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
2836 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
2837 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
2838 (PACKET_QNonStop, PACKET_multiprocess_feature)
2839 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
2840 (PACKET_DisconnectedTracing_feature)
2841 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
2842 (set_remote_protocol_packet_cmd): Delete function.
2843 (packet_config_support, packet_support): New functions.
2844 (set_remote_protocol_Z_packet_cmd): Don't call
2845 update_packet_config.
2846 (remote_query_attached, remote_pass_signals)
2847 (remote_program_signals, remote_threads_info)
2848 (remote_threads_extra_info, remote_start_remote): Use
2849 packet_support.
2850 (remote_start_remote): Use packet_config_support and
2851 packet_support.
2852 (init_all_packet_configs): Set all packets to unknown support,
2853 instead of calling update_packet_config.
2854 (remote_check_symbols): Use packet_support.
2855 (remote_supported_packet): Unconditionally set the packet config's
2856 support status.
2857 (remote_multi_process_feature, remote_non_stop_feature)
2858 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
2859 (remote_breakpoint_commands_feature)
2860 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
2861 (remote_install_in_trace_feature)
2862 (remote_disconnected_tracing_feature)
2863 (remote_enable_disable_tracepoint_feature)
2864 (remote_string_tracing_feature)
2865 (remote_augmented_libraries_svr4_read_feature): Delete functions.
2866 (remote_protocol_features): Adjust to use remote_supported_packet
2867 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
2868 "ConditionalTracepoints", "ConditionalBreakpoints",
2869 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
2870 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
2871 "EnableDisableTracepoints", and "tracenz".
2872 (remote_query_supported): Use packet_support.
2873 (remote_open_1): Adjust.
2874 (extended_remote_attach_1): Use packet_support. Switch on the
2875 result of packet_ok instead of checking whether the packet ended
2876 up disabled.
2877 (remote_vcont_resume): Use packet_support.
2878 (remote_resume, remote_stop_ns, fetch_register_using_p)
2879 (remote_prepare_to_store, store_register_using_P)
2880 (check_binary_download, remote_write_bytes): Use packet_support.
2881 (remote_vkill): Use packet_support. Switch on the result of
2882 packet_ok instead of checking whether the packet ended up
2883 disabled.
2884 (extended_remote_supports_disable_randomization): Use
2885 packet_support.
2886 (extended_remote_run): Switch on the result of packet_ok instead
2887 of checking whether the packet ended up disabled.
2888 (remote_insert_breakpoint, remote_remove_breakpoint)
2889 (remote_insert_watchpoint, remote_remove_watchpoint)
2890 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
2891 packet_support.
2892 (remote_search_memory): Use packet_config_support.
2893 (remote_get_thread_local_address, remote_get_tib_address)
2894 (remote_hostio_send_command, remote_can_execute_reverse): Use
2895 packet_support.
2896 (remote_supports_cond_tracepoints)
2897 (remote_supports_cond_breakpoints)
2898 (remote_supports_fast_tracepoints)
2899 (remote_supports_static_tracepoints)
2900 (remote_supports_install_in_trace)
2901 (remote_supports_enable_disable_tracepoint)
2902 (remote_supports_string_tracing)
2903 (remote_can_run_breakpoint_commands): Rewrite, checking whether
2904 the packet config says the feature is enabled or disabled.
2905 (remote_download_tracepoint, remote_trace_set_readonly_regions)
2906 (remote_get_trace_status): Use packet_support.
2907 (remote_set_disconnected_tracing): Adjust to check whether the
2908 feature is enabled with packet_support.
2909 (remote_set_trace_buffer_size, remote_use_agent)
2910 (remote_can_use_agent, remote_supports_btrace): Use
2911 packet_support.
2912 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
2913 Use packet_config_support.
2914 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
2915 the packet config says the feature is enabled or disabled.
2916 (set_range_stepping): Use packet_support.
2917
2918 2014-04-25 Tom Tromey <tromey@redhat.com>
2919
2920 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
2921 argument.
2922
2923 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
2924
2925 * NEWS: Mention support for C99 variable length arrays.
2926
2927 2014-04-24 Joel Brobecker <brobecker@adacore.com>
2928
2929 * ada-lang.c (standard_exc): Expand introductory comment.
2930
2931 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2932 Walfred Tedeschi <walfred.tedeschi@intel.com>
2933
2934 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
2935 AVX512 registers.
2936 (amd64_linux_read_description): Add code to handle AVX512 xstate
2937 mask and return respective tdesc.
2938 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
2939 and features/i386/x32-avx512-linux.c.
2940 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
2941 (amd64_linux_core_read_description): Add code to handle AVX512
2942 xstate mask and return respective tdesc.
2943 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
2944 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
2945 calculation.
2946 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
2947 (tdesc_amd64_avx512_linux): New prototype.
2948 (tdesc_x32_avx512_linux): Likewise.
2949 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
2950 features/i386/x32-avx512.c.
2951 (amd64_ymm_avx512_names): New register names for pseudo
2952 registers YMM16-31.
2953 (amd64_ymmh_avx512_names): New register names for raw registers
2954 YMMH16-31.
2955 (amd64_k_names): New register names for K registers.
2956 (amd64_zmmh_names): New register names for ZMM raw registers.
2957 (amd64_zmm_names): New registers names for ZMM pseudo registers.
2958 (amd64_xmm_avx512_names): New register names for XMM16-31
2959 registers.
2960 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
2961 registers.
2962 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
2963 if feature is present.
2964 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
2965 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
2966 (AMD64_NUM_REGS): Adjust to new number of registers.
2967 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
2968 registers supplied via XSTATE by AVX512 registers.
2969 (i386_linux_read_description): Add case for AVX512.
2970 * i386-linux-tdep.c: Include i386-avx512-linux.c.
2971 (i386_linux_gregset_reg_offset): Add AVX512 registers.
2972 (i386_linux_core_read_description): Add case for AVX512.
2973 (i386_linux_init_abi): Install supported register note section
2974 for AVX512.
2975 (_initialize_i386_linux_tdep): Add call to tdesc init function for
2976 AVX512.
2977 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
2978 registers to be number of zmm7h + 1.
2979 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
2980 * i386-tdep.c: Include features/i386/i386-avx512.c.
2981 (i386_zmm_names): Add ZMM pseudo register names array.
2982 (i386_zmmh_names): Add ZMM raw register names array.
2983 (i386_k_names): Add K raw register names array.
2984 (num_lower_zmm_regs): Add constant for the number of lower ZMM
2985 registers. AVX512 has 16 more ZMM registers than there are YMM
2986 registers.
2987 (i386_zmmh_regnum_p): Add function to look up register number of
2988 ZMM raw registers.
2989 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
2990 (i386_k_regnum_p): Likewise for K raw registers.
2991 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
2992 registers added by AVX512.
2993 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
2994 registers added by AVX512.
2995 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
2996 added by AVX512.
2997 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
2998 (i386_pseudo_register_name): Add ZMM pseudo registers.
2999 (i386_zmm_type): Construct and return vector registers type for ZMM
3000 registers.
3001 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
3002 ZMM0-31 pseudo registers and K registers.
3003 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
3004 and YMM16-31 registers from register cache.
3005 (i386_pseudo_register_write): Add code to write K, ZMM and
3006 YMM16-31 registers.
3007 (i386_register_reggroup_p): Add code to include/exclude AVX512
3008 registers in/from respective register groups.
3009 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
3010 registers if feature is present in xcr0.
3011 (i386_gdbarch_init): Add code to initialize AVX512 feature
3012 variables in tdep structure, wire in pseudo registers and call
3013 initialize_tdesc_i386_avx512.
3014 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
3015 variables.
3016 (i386_regnum): Add AVX512 registers.
3017 (I386_SSE_NUM_REGS): New define for number of SSE registers.
3018 (I386_AVX_NUM_REGS): Likewise for AVX registers.
3019 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
3020 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
3021 512 bits wide.
3022 (i386_xmm_avx512_regnum_p): New prototype for register look up.
3023 (i386_ymm_avx512_regnum_p): Likewise.
3024 (i386_k_regnum_p): Likewise.
3025 (i386_zmm_regnum_p): Likewise.
3026 (i386_zmmh_regnum_p): Likewise.
3027 * i387-tdep.c : Update year in copyright notice.
3028 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
3029 XSAVE buffer.
3030 (XSAVE_YMM_AVX512_ADDR): New macro.
3031 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
3032 XSAVE buffer.
3033 (XSAVE_XMM_AVX512_ADDR): New macro.
3034 (xsave_avx512_k_offset): New table for K register offsets in
3035 XSAVE buffer.
3036 (XSAVE_AVX512_K_ADDR): New macro.
3037 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
3038 in XSAVE buffer.
3039 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
3040 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
3041 buffer.
3042 (i387_collect_xsave): Add code to collect AVX512 registers from
3043 XSAVE buffer.
3044 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
3045 of XMM16-31 registers.
3046 (I387_NUM_K_REGS): New define for number of K registers.
3047 (I387_K0_REGNUM): New define for K0 register number.
3048 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
3049 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
3050 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
3051 registers.
3052 (I387_YMM16H_REGNUM): New define for YMM16H register number.
3053 (I387_XMM16_REGNUM): New define for XMM16 register number.
3054 (I387_YMM0_REGNUM): New define for YMM0 register number.
3055 (I387_KEND_REGNUM): New define for last K register number.
3056 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
3057 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
3058 number.
3059 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
3060 number.
3061 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
3062 size.
3063 * features/Makefile: Add AVX512 related files.
3064 * features/i386/32bit-avx512.xml: New file.
3065 * features/i386/64bit-avx512.xml: Likewise.
3066 * features/i386/amd64-avx512-linux.c: Likewise.
3067 * features/i386/amd64-avx512-linux.xml: Likewise.
3068 * features/i386/amd64-avx512.c: Likewise.
3069 * features/i386/amd64-avx512.xml: Likewise.
3070 * features/i386/i386-avx512-linux.c: Likewise.
3071 * features/i386/i386-avx512-linux.xml: Likewise.
3072 * features/i386/i386-avx512.c: Likewise.
3073 * features/i386/i386-avx512.xml: Likewise.
3074 * features/i386/x32-avx512-linux.c: Likewise.
3075 * features/i386/x32-avx512-linux.xml: Likewise.
3076 * features/i386/x32-avx512.c: Likewise.
3077 * features/i386/x32-avx512.xml: Likewise.
3078 * regformats/i386/amd64-avx512-linux.dat: New file.
3079 * regformats/i386/amd64-avx512.dat: Likewise.
3080 * regformats/i386/i386-avx512-linux.dat: Likewise.
3081 * regformats/i386/i386-avx512.dat: Likewise.
3082 * regformats/i386/x32-avx512-linux.dat: Likewise.
3083 * regformats/i386/x32-avx512.dat: Likewise.
3084 * NEWS: Add note about new support for AVX512.
3085
3086
3087 2014-04-23 Pedro Alves <palves@redhat.com>
3088
3089 * breakpoint.c (insert_bp_location): Tolerate errors if the
3090 breakpoint is set in a user-loaded objfile.
3091 (remove_breakpoint_1): Likewise. Also tolerate errors if the
3092 location is marked shlib_disabled. If the breakpoint is set in a
3093 user-loaded objfile is a GDB-side memory breakpoint, validate it
3094 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
3095 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
3096 flag.
3097 * mem-break.c (memory_validate_breakpoint): New function.
3098 * objfiles.c (userloaded_objfile_contains_address_p): New
3099 function.
3100 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
3101 * target.h (memory_validate_breakpoint): New declaration.
3102
3103 2014-04-23 Pedro Alves <palves@redhat.com>
3104
3105 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
3106 the breakpoint is set in a shared library, only suppress
3107 errors for software breakpoints, not hardware breakpoints.
3108
3109 2014-04-22 Pedro Alves <palves@redhat.com>
3110
3111 * infrun.c (schedlock_applies): New function, factored out from
3112 find_thread_needs_step_over.
3113 (find_thread_needs_step_over): Use it.
3114 (switch_back_to_stepped_thread): Always clear trap_expected if the
3115 step over is finished. Return early if scheduler locking applies.
3116 Look for the stepping thread and a potential step-over thread with
3117 a single loop.
3118 (currently_stepping_or_nexting_callback): Delete.
3119
3120 2014-04-22 Nick Clifton <nickc@redhat.com>
3121
3122 * NEWS: Mention that ARM sim now supports tracing.
3123
3124 2014-04-22 Yao Qi <yao@codesourcery.com>
3125
3126 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
3127 to ...
3128 * tracefile.c (tracefile_fetch_registers): ... it. New
3129 function.
3130 * tracefile.h (tracefile_fetch_registers): Declare.
3131 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
3132 tracefile_fetch_registers.
3133
3134 2014-04-19 Eli Zaretskii <eliz@gnu.org>
3135
3136 PR gdb/14018
3137 * windows-nat.c (thread_rec): Don't display a warning when
3138 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
3139 fails for any reason, set th->suspended to -1, so that we don't
3140 try to resume such a thread. Also, don't return NULL in these
3141 cases, to avoid completely ruin the session due to "PC register is
3142 not available" error.
3143 (do_windows_fetch_inferior_registers): Check errors in
3144 GetThreadContext call.
3145 (windows_continue): Accept an additional argument KILLED; if not
3146 zero, ignore errors in the SetThreadContext call, since the
3147 inferior was killed and is shutting down.
3148 (windows_resume, get_windows_debug_event)
3149 (windows_create_inferior, windows_mourn_inferior)
3150 (windows_kill_inferior): All callers of windows_continue changed
3151 to adjust to its new calling sequence.
3152
3153 2014-04-19 Yao Qi <yao@codesourcery.com>
3154
3155 * ctf.c (ctf_open): Call post_create_inferior.
3156
3157 2014-04-19 Yao Qi <yao@codesourcery.com>
3158
3159 * ctf.c (handle_id): New static variable.
3160 (ctf_open_dir): Get handle_id from bt_context_add_trace return
3161 value. Get the declaration of event "register" and get length
3162 of field "contents".
3163
3164 2014-04-19 Yao Qi <yao@codesourcery.com>
3165
3166 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
3167
3168 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
3169
3170 * valops.c (oload_method_static): Remove unnecessary argument
3171 METHOD. Update all callers.
3172
3173 2014-04-18 Pedro alves <palves@redhat.com>
3174 Tom Tromey <tromey@redhat.com>
3175
3176 PR backtrace/15558
3177 * frame.c (get_prev_frame_1): Rename to ...
3178 (get_prev_frame_always): ... this, and make extern. Adjust.
3179 (skip_artificial_frames): Use get_prev_frame_always.
3180 (frame_unwind_caller_id, frame_pop, get_prev_frame)
3181 (get_frame_unwind_stop_reason): Adjust to rename.
3182 * frame.h (get_prev_frame_always): Declare.
3183 * inline-frame.c: Include frame.h.
3184 (inline_frame_this_id): Use get_prev_frame_always.
3185
3186 2014-04-18 Tristan Gingold <gingold@adacore.com>
3187
3188 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
3189 code by using bfd_mach_o_get_base_address.
3190
3191 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3192
3193 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
3194 (spu_ax_pseudo_register_collect): New function.
3195 (spu_ax_pseudo_register_push_stack): Likewise.
3196 (spu_dwarf_reg_to_regnum): Likewise.
3197 (spu_gdbarch_init): Install them. Append DWARF unwinders.
3198
3199 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3200
3201 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
3202 Replace FRAME argument with FRAME_ID.
3203 * gdbarch.c, gdbarch.h: Regenerate.
3204 * findvar.c (default_value_from_register): Add GDBARCH argument;
3205 replace FRAME by FRAME_ID. No longer call get_frame_id.
3206 (value_from_register): Update call to gdbarch_value_from_register.
3207 * value.h (default_value_from_register): Update prototype.
3208 * s390-linux-tdep.c (s390_value_from_register): Update interface
3209 and call to default_value_from_register.
3210 * spu-tdep.c (spu_value_from_register): Likewise.
3211
3212 * findvar.c (address_from_register): Remove TYPE argument.
3213 Do not call value_from_register; use gdbarch_value_from_register
3214 with null_frame_id instead.
3215 * value.h (address_from_register): Update prototype.
3216 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
3217 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
3218 address_from_register interface change.
3219
3220 2014-04-17 Yao Qi <yao@codesourcery.com>
3221
3222 * gdbtypes.h: Update comments to link to types and macros'
3223 definitions.
3224
3225 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
3226
3227 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
3228
3229 2014-04-16 Keith Seitz <keiths@redhat.com>
3230
3231 PR gdb/15827
3232 * dwarf2read.c (skip_one_die): Check that all relative-offset
3233 sibling DIEs fall within range of the current reader's buffer.
3234 (read_partial_die): Likewise.
3235
3236 2014-04-16 Keith Seitz <keiths@redhat.com>
3237
3238 PR c++/16597
3239 * cp-namespace.c (lookup_symbol_file): If the type name of
3240 `this' is NULL, return immediately.
3241
3242 2014-04-14 Keith Seitz <keiths@redhat.com>
3243
3244 PR c++/16253
3245 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3246 from symbol_matches_domain in symtab.c. All local callers
3247 of symbol_matches_domain updated.
3248 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3249 search STRUCT_DOMAIN.
3250 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3251 independently. standard_lookup will do that automatically.
3252 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3253 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3254 (cp_lookup_symbol_in_namespace): Likewise.
3255 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3256 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3257 may return a STRUCT_DOMAIN match.
3258 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3259 * cp-support.c: Include language.h.
3260 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3261 VAR_DOMAIN.
3262 * psymtab.c (match_partial_symbol): Compare the requested
3263 domain with the symbol's domain directly.
3264 (lookup_partial_symbol): Likewise.
3265 * symtab.c (lookup_symbol_in_language): Explain when/why
3266 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3267 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3268 appropriate languages.
3269 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3270 and moved to ada-lang.c
3271 (lookup_block_symbol): Explain that this function only returns
3272 symbol matching the requested DOMAIN.
3273 Compare the requested domain with the symbol's domain directly.
3274 (iterate_over_symbols): Compare the requested domain with the
3275 symbol's domain directly.
3276 * symtab.h (symbol_matches_domain): Remove.
3277
3278 2014-04-14 Tom Tromey <tromey@redhat.com>
3279
3280 PR c++/15246:
3281 * c-exp.y (type_aggregate_p): New function.
3282 (qualified_name, classify_inner_name): Use it.
3283 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
3284 and TYPE_TARGET_TYPE of an enum type.
3285 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
3286 an enum type.
3287 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
3288 handle TYPE_DECLARED_CLASS.
3289 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
3290 types.
3291 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
3292 * valops.c (enum_constant_from_type): New function.
3293 (value_aggregate_elt): Use it.
3294 * cp-namespace.c (cp_lookup_nested_symbol): Handle
3295 TYPE_CODE_ENUM.
3296
3297 2014-04-14 Tom Tromey <tromey@redhat.com>
3298
3299 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
3300 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
3301 const.
3302 * value.h (value_aggregate_elt): Update.
3303
3304 2014-04-14 Tom Tromey <tromey@redhat.com>
3305
3306 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
3307
3308 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3309
3310 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3311 (evaluate_subexp_standard): Pass noside argument.
3312 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3313 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3314 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3315 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3316 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3317
3318 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3319
3320 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3321 points to a constant blob.
3322
3323 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3324
3325 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3326 property and store it as the high bound and flag the range accordingly.
3327 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3328 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3329 * gdbtypes.h (enum range_flags): New enum.
3330 (struct range_bounds): Add flags member.
3331
3332 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3333
3334 * c-typeprint.c (c_type_print_varspec_suffix): Added
3335 check for not yet resolved high bound. If unresolved, print
3336 "variable length" string to the console instead of random
3337 length.
3338
3339 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3340
3341 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
3342 value.
3343 (ada_template_to_fixed_record_type_1): Likewise.
3344 (ada_to_fixed_type_1): Likewise.
3345 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3346 (cp_print_value): Likewise.
3347 * d-valprint.c (dynamic_array_type): Likewise.
3348 * findvar.c (address_of_variable): Likewise.
3349 * jv-valprint.c (java_value_print): Likewise.
3350 * valops.c (value_ind): Likewise.
3351 * value.c (coerce_ref): Likewise.
3352
3353 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3354
3355 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3356 value and retrieve the dynamic type size.
3357
3358 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3359
3360 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3361 passed to sizeof is dynamic evaluate the argument to compute the length.
3362
3363 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3364 Joel Brobecker <brobecker@adacore.com>
3365
3366 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3367 (dwarf2_evaluate_property): New function.
3368 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3369 * dwarf2read.c (attr_to_dynamic_prop): New function.
3370 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3371 attribute.
3372 * gdbtypes.c: Include dwarf2loc.h.
3373 (is_dynamic_type): New function.
3374 (resolve_dynamic_type): New function.
3375 (resolve_dynamic_bounds): New function.
3376 (get_type_length): New function.
3377 (check_typedef): Use get_type_length to compute type length.
3378 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3379 (TYPE_LOW_BOUND_KIND): New macro.
3380 (is_dynamic_type): New function prototype.
3381 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3382 to resolve dynamic properties of the type. Update comment.
3383 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3384
3385 2014-04-14 Richard Henderson <rth@redhat.com>
3386
3387 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
3388
3389 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3390 Doug Evans <xdje42@gmail.com>
3391
3392 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
3393 dereference TYPE_CODE_REF values.
3394
3395 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3396
3397 Revert the following changes due to regressions:
3398
3399 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3400 (dwarf2_evaluate_property): New function.
3401 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3402 * dwarf2read.c (attr_to_dynamic_prop): New function.
3403 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3404 attribute.
3405 * gdbtypes.c: Include dwarf2loc.h.
3406 (is_dynamic_type): New function.
3407 (resolve_dynamic_type): New function.
3408 (resolve_dynamic_bounds): New function.
3409 (get_type_length): New function.
3410 (check_typedef): Use get_type_length to compute type length.
3411 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3412 (TYPE_LOW_BOUND_KIND): New macro.
3413 (is_dynamic_type): New function prototype.
3414 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3415 to resolve dynamic properties of the type. Update comment.
3416 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3417
3418 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3419 passed to sizeof is dynamic evaluate the argument to compute the length.
3420
3421 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3422 value and retrieve the dynamic type size.
3423
3424 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
3425 (ada_template_to_fixed_record_type_1): Likewise.
3426 (ada_to_fixed_type_1): Likewise.
3427 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3428 (cp_print_value): Likewise.
3429 * d-valprint.c (dynamic_array_type): Likewise.
3430 * eval.c (evaluate_subexp_with_coercion): Likewise.
3431 * findvar.c (address_of_variable): Likewise.
3432 * jv-valprint.c (java_value_print): Likewise.
3433 * valops.c (value_ind): Likewise.
3434 * value.c (coerce_ref): Likewise.
3435
3436 * c-typeprint.c (c_type_print_varspec_suffix): Added
3437 check for not yet resolved high bound. If unresolved, print
3438 "variable length" string to the console instead of random
3439 length.
3440
3441 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3442 property and store it as the high bound and flag the range accordingly.
3443 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3444 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3445 * gdbtypes.h (enum range_flags): New enum.
3446 (struct range_bounds): Add flags member.
3447
3448 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3449 points to a constant blob.
3450
3451 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3452 (evaluate_subexp_standard): Pass noside argument.
3453 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3454 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3455 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3456 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3457 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3458
3459 2014-04-11 Keith Seitz <keiths@redhat.com>
3460
3461 PR c++/16675
3462 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
3463 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
3464 reference types.
3465
3466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3467
3468 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3469 (evaluate_subexp_standard): Pass noside argument.
3470 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3471 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3472 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3473 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3474 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3475
3476 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3477
3478 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3479 points to a constant blob.
3480
3481 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3482
3483 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3484 property and store it as the high bound and flag the range accordingly.
3485 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3486 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3487 * gdbtypes.h (enum range_flags): New enum.
3488 (struct range_bounds): Add flags member.
3489
3490 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3491
3492 * c-typeprint.c (c_type_print_varspec_suffix): Added
3493 check for not yet resolved high bound. If unresolved, print
3494 "variable length" string to the console instead of random
3495 length.
3496
3497 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3498
3499 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
3500 (ada_template_to_fixed_record_type_1): Likewise.
3501 (ada_to_fixed_type_1): Likewise.
3502 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3503 (cp_print_value): Likewise.
3504 * d-valprint.c (dynamic_array_type): Likewise.
3505 * eval.c (evaluate_subexp_with_coercion): Likewise.
3506 * findvar.c (address_of_variable): Likewise.
3507 * jv-valprint.c (java_value_print): Likewise.
3508 * valops.c (value_ind): Likewise.
3509 * value.c (coerce_ref): Likewise.
3510
3511 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3512
3513 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3514 value and retrieve the dynamic type size.
3515
3516 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3517
3518 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3519 passed to sizeof is dynamic evaluate the argument to compute the length.
3520
3521 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3522
3523 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3524 (dwarf2_evaluate_property): New function.
3525 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3526 * dwarf2read.c (attr_to_dynamic_prop): New function.
3527 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3528 attribute.
3529 * gdbtypes.c: Include dwarf2loc.h.
3530 (is_dynamic_type): New function.
3531 (resolve_dynamic_type): New function.
3532 (resolve_dynamic_bounds): New function.
3533 (get_type_length): New function.
3534 (check_typedef): Use get_type_length to compute type length.
3535 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3536 (TYPE_LOW_BOUND_KIND): New macro.
3537 (is_dynamic_type): New function prototype.
3538 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3539 to resolve dynamic properties of the type. Update comment.
3540 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3541
3542 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3543
3544 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
3545 declaring high/low bounds and change uses accordingly. Call
3546 create_range_type instead of create_static_range_type.
3547 * gdbtypes.c (create_range_type): New function.
3548 (create_range_type): Convert bounds into struct bound_prop and pass
3549 them to create_range_type.
3550 * gdbtypes.h (struct bound_prop): New struct.
3551 (create_range_type): New function prototype.
3552 (struct range_bounds): Use struct bound_prop instead of LONGEST for
3553 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
3554 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
3555 part of the bound.
3556 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
3557
3558 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3559
3560 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
3561 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
3562 * ada-lang.c: All uses of create_range_type updated.
3563 * coffread.c: All uses of create_range_type updated.
3564 * dwarf2read.c: All uses of create_range_type updated.
3565 * f-exp.y: All uses of create_range_type updated.
3566 * m2-valprint.c: All uses of create_range_type updated.
3567 * mdebugread.c: All uses of create_range_type updated.
3568 * stabsread.c: All uses of create_range_type updated.
3569 * valops.c: All uses of create_range_type updated.
3570 * valprint.c: All uses of create_range_type updated.
3571
3572 2014-04-10 Pedro Alves <palves@redhat.com>
3573
3574 * breakpoint.c (single_step_breakpoints)
3575 (single_step_gdbarch): Move up in the file.
3576 (one_breakpoint_xfer_memory): New function, factored out from ...
3577 (breakpoint_xfer_memory): ... here. Also process single-step
3578 breakpoints.
3579
3580 2014-04-09 Tristan Gingold <gingold@adacore.com>
3581
3582 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
3583 comments.
3584 (darwin_decode_exception_message): Free port only after use.
3585
3586 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
3587
3588 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
3589 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
3590 when setting the size of call_length.
3591
3592 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3593
3594 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
3595 dereference TYPE_CODE_REF values.
3596
3597 2014-04-07 Joel Brobecker <brobecker@adacore.com>
3598
3599 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
3600 end of warning message.
3601
3602 2014-04-03 Doug Evans <dje@google.com>
3603
3604 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
3605 of stub_comp_unit_die, stub_comp_dir is non-NULL.
3606
3607 2014-04-02 Alan Modra <amodra@gmail.com>
3608
3609 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
3610 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
3611 (struct symbol_file_add_from_memory_args): Add size field.
3612 (find_vdso_size): New function.
3613 (add_vsyscall_page): Attempt to find vdso size.
3614
3615 2014-04-01 Doug Evans <dje@google.com>
3616
3617 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
3618
3619 2014-04-01 Tristan Gingold <gingold@adacore.com>
3620
3621 * darwin-nat.c (darwin_encode_reply): Add prototype.
3622 (darwin_decode_exception_message): Reply to unknown inferiors.
3623 (darwin_decode_message): Handle message by id. Ignore message
3624 to unknown inferior.
3625 (darwin_wait): Discard unknown messages, add debug trace.
3626
3627 2014-03-31 Doug Evans <dje@google.com>
3628
3629 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
3630 comp_dir_string.
3631
3632 2014-03-31 Doug Evans <dje@google.com>
3633
3634 New option "set print symbol-loading".
3635 * NEWS: Mention it.
3636 * solib.c (solib_read_symbols): Only print symbol loading messages
3637 if requested.
3638 (solib_add): If symbol loading is in "brief" mode, notify user
3639 symbols are being loaded.
3640 (reload_shared_libraries_1): Ditto.
3641 * symfile.c (print_symbol_loading_off): New static global.
3642 (print_symbol_loading_brief): New static global.
3643 (print_symbol_loading_full): New static global.
3644 (print_symbol_loading_enums): New static global.
3645 (print_symbol_loading): New static global.
3646 (print_symbol_loading_p): New function.
3647 (symbol_file_add_with_addrs): Only print symbol loading messages
3648 if requested.
3649 (_initialize_symfile): Register "print symbol-loading" set/show
3650 command.
3651 * symfile.h (print_symbol_loading_p): Declare.
3652
3653 2014-03-30 Doug Evans <xdje42@gmail.com>
3654
3655 * infrun.c (set_last_target_status): New function.
3656 (handle_inferior_event): Call it.
3657
3658 2014-03-30 Doug Evans <xdje42@gmail.com>
3659
3660 * inferior.h (enum stop_kind): Improve comment.
3661
3662 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3663
3664 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
3665 a reference, strip the reference layer before calling
3666 the lang_ops value_has_mutated callback.
3667
3668 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
3669
3670 Remove some globals from our parser.
3671 * language.c (unk_lang_parser): Add "struct parser_state"
3672 argument.
3673 * language.h (struct language_defn) <la_parser>: Likewise.
3674 * parse.c (expout, expout_size, expout_ptr): Remove variables.
3675 (initialize_expout): Add "struct parser_state" argument.
3676 Rewrite function to use the parser state.
3677 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
3678 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
3679 write_exp_elt_longcst, write_exp_elt_dblcst,
3680 write_exp_elt_decfloatcst, write_exp_elt_type,
3681 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
3682 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
3683 write_dollar_variable): Likewise.
3684 (parse_exp_in_context_1): Use parser state.
3685 (insert_type_address_space): Add "struct parser_state" argument.
3686 Use parser state.
3687 (increase_expout_size): New function.
3688 * parser-defs.h: Forward declare "struct language_defn" and
3689 "struct parser_state".
3690 (expout, expout_size, expout_ptr): Remove extern declarations.
3691 (parse_gdbarch, parse_language): Rewrite macro declarations to
3692 accept the parser state.
3693 (struct parser_state): New struct.
3694 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
3695 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
3696 write_exp_elt_decfloatcst, write_exp_elt_type,
3697 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
3698 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
3699 write_exp_msymbol, write_dollar_variable,
3700 mark_struct_expression, insert_type_address_space): Add "struct
3701 parser_state" argument.
3702 (increase_expout_size): New function.
3703 * utils.c (do_clear_parser_state): New function.
3704 (make_cleanup_clear_parser_state): Likewise.
3705 * utils.h (make_cleanup_clear_parser_state): New function
3706 prototype.
3707 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
3708 Update calls to write_exp* in order to pass the parser state.
3709 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
3710 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
3711 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3712 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
3713 * stap-probe.c (stap_parse_register_operand): Likewise.
3714 (stap_parse_single_operand): Likewise.
3715 (stap_parse_argument_1): Likewise.
3716 (stap_parse_argument): Use parser state.
3717 * stap-probe.h: Include "parser-defs.h".
3718 (struct stap_parse_info) <pstate>: New field.
3719 * c-exp.y (parse_type): Rewrite to use parser state.
3720 (yyparse): Redefine to c_parse_internal.
3721 (pstate): New global variable.
3722 (parse_number): Add "struct parser_state" argument.
3723 (write_destructor_name): Likewise.
3724 (type_exp): Update calls to write_exp* and similars in order to
3725 use parser state.
3726 (exp1, exp, variable, qualified_name, space_identifier,
3727 typename, typebase): Likewise.
3728 (write_destructor_name, parse_number, lex_one_token,
3729 classify_name, classify_inner_name, c_parse): Add "struct
3730 parser_state" argument. Update function to use parser state.
3731 * c-lang.h: Forward declare "struct parser_state".
3732 (c_parse): Add "struct parser_state" argument.
3733 * ada-exp.y (parse_type): Rewrite macro to use parser state.
3734 (yyparse): Redefine macro to ada_parse_internal.
3735 (pstate): New variable.
3736 (write_int, write_object_renaming, write_var_or_type,
3737 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
3738 type_int, type_long, type_long_long, type_float, type_double,
3739 type_long_double, type_char, type_boolean, type_system_address):
3740 Add "struct parser_state" argument.
3741 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
3742 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
3743 var_or_type, aggregate, aggregate_component_list,
3744 positional_list, others, component_group,
3745 component_associations): Update calls to write_exp* and similar
3746 functions in order to use parser state.
3747 (ada_parse, write_var_from_sym, write_int,
3748 write_exp_op_with_string, write_object_renaming,
3749 find_primitive_type, write_selectors, write_ambiguous_var,
3750 write_var_or_type, write_name_assoc, type_int, type_long,
3751 type_long_long, type_float, type_double, type_long_double,
3752 type_char, type_boolean, type_system_address): Add "struct
3753 parser_state" argument. Adjust function to use parser state.
3754 * ada-lang.c (parse): Likewise.
3755 * ada-lang.h: Forward declare "struct parser_state".
3756 (ada_parse): Add "struct parser_state" argument.
3757 * ada-lex.l (processInt, processReal): Likewise. Adjust all
3758 calls to both functions.
3759 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
3760 parser state.
3761 (yyparse): Redefine macro to f_parse_internal.
3762 (pstate): New variable.
3763 (parse_number): Add "struct parser_state" argument.
3764 (type_exp, exp, subrange, typebase): Update calls to write_exp*
3765 and similars in order to use parser state.
3766 (parse_number): Adjust code to use parser state.
3767 (yylex): Likewise.
3768 (f_parse): New function.
3769 * f-lang.h: Forward declare "struct parser_state".
3770 (f_parse): Add "struct parser_state" argument.
3771 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
3772 parser state.
3773 (yyparse): Redefine macro for java_parse_internal.
3774 (pstate): New variable.
3775 (push_expression_name, push_expression_name, insert_exp): Add
3776 "struct parser_state" argument.
3777 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
3778 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
3779 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
3780 PostIncrementExpression, PostDecrementExpression,
3781 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
3782 UnaryExpressionNotPlusMinus, CastExpression,
3783 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
3784 RelationalExpression, EqualityExpression, AndExpression,
3785 ExclusiveOrExpression, InclusiveOrExpression,
3786 ConditionalAndExpression, ConditionalOrExpression,
3787 ConditionalExpression, Assignment, LeftHandSide): Update
3788 calls to write_exp* and similars in order to use parser state.
3789 (parse_number): Ajust code to use parser state.
3790 (yylex): Likewise.
3791 (java_parse): New function.
3792 (push_variable): Add "struct parser_state" argument. Adjust
3793 code to user parser state.
3794 (push_fieldnames, push_qualified_expression_name,
3795 push_expression_name, insert_exp): Likewise.
3796 * jv-lang.h: Forward declare "struct parser_state".
3797 (java_parse): Add "struct parser_state" argument.
3798 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
3799 parser state.
3800 (yyparse): Redefine macro to m2_parse_internal.
3801 (pstate): New variable.
3802 (type_exp, exp, fblock, variable, type): Update calls to
3803 write_exp* and similars to use parser state.
3804 (yylex): Likewise.
3805 (m2_parse): New function.
3806 * m2-lang.h: Forward declare "struct parser_state".
3807 (m2_parse): Add "struct parser_state" argument.
3808 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
3809 * objc-lang.h: Forward declare "struct parser_state".
3810 (end_msglist): Add "struct parser_state" argument.
3811 * p-exp.y (parse_type): Rewrite macro to use parser state.
3812 (yyparse): Redefine macro to pascal_parse_internal.
3813 (pstate): New variable.
3814 (parse_number): Add "struct parser_state" argument.
3815 (type_exp, exp1, exp, qualified_name, variable): Update calls to
3816 write_exp* and similars in order to use parser state.
3817 (parse_number, yylex): Adjust code to use parser state.
3818 (pascal_parse): New function.
3819 * p-lang.h: Forward declare "struct parser_state".
3820 (pascal_parse): Add "struct parser_state" argument.
3821 * go-exp.y (parse_type): Rewrite macro to use parser state.
3822 (yyparse): Redefine macro to go_parse_internal.
3823 (pstate): New variable.
3824 (parse_number): Add "struct parser_state" argument.
3825 (type_exp, exp1, exp, variable, type): Update calls to
3826 write_exp* and similars in order to use parser state.
3827 (parse_number, lex_one_token, classify_name, yylex): Adjust code
3828 to use parser state.
3829 (go_parse): Likewise.
3830 * go-lang.h: Forward declare "struct parser_state".
3831 (go_parse): Add "struct parser_state" argument.
3832
3833 2014-03-27 Doug Evans <dje@google.com>
3834
3835 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
3836
3837 2014-03-27 Doug Evans <dje@google.com>
3838
3839 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
3840 Remove argument abbrev_section. All callers updated.
3841
3842 2014-03-27 Doug Evans <dje@google.com>
3843
3844 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
3845 addr_base, ranges_base.
3846
3847 2014-03-26 Keith Seitz <keiths@redhat.com>
3848
3849 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
3850 types, not VAR_DOMAIN.
3851
3852 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
3853
3854 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
3855 "ra" registers.
3856 * features/nios2-linux.c: Regenerated.
3857 * features/nios2.c: Regenerated.
3858
3859 2014-03-25 Pedro Alves <palves@redhat.com>
3860
3861 * cli/cli-script.c (script_from_file): Force the interpreter to
3862 sync mode.
3863
3864 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
3865
3866 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
3867 small stack allocation.
3868
3869 2014-03-24 Tristan Gingold <gingold@adacore.com>
3870
3871 * darwin-nat.c (exc_server): Remove unused prototype.
3872 (darwin_dump_message): Correctly display data on x86_64.
3873 (darwin_encode_reply): Fix style.
3874 Add comments and fix indentation.
3875
3876 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
3877
3878 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
3879
3880 2014-03-22 Doug Evans <xdje42@gmail.com>
3881
3882 * infcmd.c: Whitespace fixes.
3883 (interrupt_command): Merge two function comments into one.
3884
3885 2014-03-22 Doug Evans <xdje42@gmail.com>
3886
3887 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
3888 All uses updated.
3889
3890 2014-03-22 Yao Qi <yao@codesourcery.com>
3891
3892 * remote.c (target_read_live_memory): Remove.
3893 (memory_xfer_live_readonly_partial): Rename it to
3894 remote_xfer_live_readonly_partial. Remove argument 'object'.
3895 All callers updated. Call remote_read_bytes_1
3896 instead of target_read_live_memory.
3897 * tracepoint.c (set_traceframe_number): Remove.
3898 (make_cleanup_restore_traceframe_number): Likewise .
3899 * tracepoint.h (set_traceframe_number): Remove declaration.
3900 (make_cleanup_restore_traceframe_number): Likewise.
3901
3902 2014-03-22 Yao Qi <yao@codesourcery.com>
3903
3904 * remote.c (remote_read_bytes): Move code on reading from the
3905 remote stub to ...
3906 (remote_read_bytes_1): ... here. New function.
3907
3908 2014-03-22 Yao Qi <yao@codesourcery.com>
3909
3910 * ctf.c (ctf_xfer_partial): Check the return value of
3911 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
3912 return TARGET_XFER_UNAVAILABLE.
3913 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
3914 * target.c (target_read_live_memory): Move it to remote.c.
3915 (memory_xfer_live_readonly_partial): Likewise.
3916 (memory_xfer_partial_1): Move some code to remote_read_bytes.
3917 * remote.c (target_read_live_memory): Moved from target.c.
3918 (memory_xfer_live_readonly_partial): Likewise.
3919 (remote_read_bytes): Factored out from
3920 memory_xfer_partial_1.
3921
3922 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
3923
3924 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
3925 NULL pointer.
3926
3927 2014-03-21 Pedro Alves <palves@redhat.com>
3928
3929 * infrun.c (normal_stop): Extend comment.
3930
3931 2014-03-21 Hui Zhu <hui@codesourcery.com>
3932 Pedro Alves <palves@redhat.com>
3933
3934 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
3935 static buffer.
3936 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
3937 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
3938 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
3939
3940 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
3941
3942 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
3943 `z' formatted output modifier.
3944
3945 2014-03-20 Tom Tromey <tromey@redhat.com>
3946 Sergio Durigan Junior <sergiodj@redhat.com>
3947
3948 * probe.c (parse_probes): Turn assert into an ordinary error.
3949 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
3950 exceptions when parsing probes. Rearrange the code for clarity.
3951
3952 2014-03-20 Tom Tromey <tromey@redhat.com>
3953
3954 PR gdb/14135
3955 * top.c (execute_command): Only dispatch events if the command
3956 started the target.
3957
3958 2014-03-20 Tom Tromey <tromey@redhat.com>
3959
3960 PR cli/15718
3961 * infcall.c: Include event-top.h.
3962 (run_inferior_call): Call async_disable_stdin if needed.
3963
3964 2014-03-20 Pedro Alves <palves@redhat.com>
3965
3966 * infrun.c (prepare_to_proceed): Delete.
3967 (thread_still_needs_step_over): New function.
3968 (find_thread_needs_step_over): New function.
3969 (proceed): If the current thread needs a step-over, set its
3970 steping_over_breakpoint flag. Adjust to use
3971 find_thread_needs_step_over instead of prepare_to_proceed.
3972 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
3973 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
3974 breakpoint.
3975 (switch_back_to_stepped_thread): Step over breakpoints of all
3976 threads not the stepping thread, before switching back to the
3977 stepping thread.
3978
3979 2014-03-20 Pedro Alves <palves@redhat.com>
3980
3981 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
3982 extern.
3983 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
3984 * infrun.c (saved_singlestep_ptid)
3985 (stepping_past_singlestep_breakpoint): Delete.
3986 (resume): Remove stepping_past_singlestep_breakpoint handling.
3987 (proceed): Store the prev_pc of the stepping thread too.
3988 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
3989 singlestep_pc.
3990 (enum infwait_states): Delete infwait_thread_hop_state.
3991 (struct execution_control_state) <hit_singlestep_breakpoint>: New
3992 field.
3993 (handle_inferior_event): Adjust.
3994 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
3995 handling and the thread-hop code. Before removing single-step
3996 breakpoints, check whether the thread hit a single-step breakpoint
3997 of another thread. If it did, the trap is not a random signal.
3998 (switch_back_to_stepped_thread): If the event thread hit a
3999 single-step breakpoint, unblock it before switching to the
4000 stepping thread. Handle the case of the stepped thread having
4001 advanced already.
4002 (keep_going): Handle the case of the current thread moving past a
4003 single-step breakpoint.
4004
4005 2014-03-20 Pedro Alves <palves@redhat.com>
4006
4007 PR breakpoints/7143
4008 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
4009 are being stepped over.
4010 (breakpoint_address_match): Make extern.
4011 * breakpoint.h (breakpoint_address_match): New declaration.
4012 * inferior.h (stepping_past_instruction_at): New declaration.
4013 * infrun.c (struct step_over_info): New type.
4014 (step_over_info): New global.
4015 (set_step_over_info, clear_step_over_info)
4016 (stepping_past_instruction_at): New functions.
4017 (handle_inferior_event): Clear the step-over info when
4018 trap_expected is cleared.
4019 (resume): Remove now stale comment.
4020 (clear_proceed_status): Clear step-over info.
4021 (proceed): Adjust step-over handling to set or clear the step-over
4022 info instead of removing all breakpoints.
4023 (handle_signal_stop): When setting up a thread-hop, don't remove
4024 breakpoints here.
4025 (stop_stepping): Clear step-over info.
4026 (keep_going): Adjust step-over handling to set or clear step-over
4027 info and then always inserting breakpoints, instead of removing
4028 all breakpoints when stepping over one.
4029
4030 2014-03-20 Pedro Alves <palves@redhat.com>
4031
4032 * infrun.c (previous_inferior_ptid): Adjust comment.
4033 (deferred_step_ptid): Delete.
4034 (infrun_thread_ptid_changed, prepare_to_proceed)
4035 (init_wait_for_inferior): Adjust.
4036 (handle_signal_stop): Delete deferred_step_ptid handling.
4037
4038 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4039
4040 PR gdb/15358
4041 * defs.h (sync_quit_force_run): New declaration.
4042 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
4043 * event-top.c (async_sigterm_handler): New declaration.
4044 (async_sigterm_token): New variable.
4045 (async_init_signals): Create also async_sigterm_token.
4046 (async_sigterm_handler): New function.
4047 (sync_quit_force_run): New variable.
4048 (handle_sigterm): Replace quit_force call by other calls.
4049 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
4050
4051 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
4052
4053 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
4054 offset into SPE pseudo registers.
4055
4056 2014-03-18 Pedro Alves <palves@redhat.com>
4057
4058 PR gdb/13860
4059 * inferior.h (print_stop_event): Declare.
4060 * infrun.c (print_stop_event): New, factored out from ...
4061 (normal_stop): ... this.
4062 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
4063 of bpstat_print/print_stack_frame.
4064
4065 2014-03-17 Tom Tromey <tromey@redhat.com>
4066
4067 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
4068
4069 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
4070
4071 * ada-lang.c (decode_constrained_packed_array): Perform a
4072 minimal coercion for reference with coerce_ref instead of
4073 ada_coerce_ref.
4074
4075 2014-03-17 Tristan Gingold <gingold@adacore.com>
4076
4077 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
4078 (darwin_solib_create_inferior_hook): Emit a warning if version
4079 is unhandled.
4080
4081 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
4082
4083 * python/py-value.c (get_field_flag): Cast flag_name argument to
4084 PyObject_GetAttrString to support Python 2.4.
4085
4086 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4087
4088 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
4089 (Global Maintainers): Remove Jan Kratochvil.
4090
4091 2014-03-14 Pedro Alves <palves@redhat.com>
4092
4093 * inferior.h (terminal_ours_for_output): Rename to ...
4094 (child_terminal_ours_for_output): ... this.
4095 (terminal_save_ours): Rename to ...
4096 (child_terminal_save_ours): ... this.
4097 (terminal_ours): Rename to ...
4098 (child_terminal_ours): ... this.
4099 (terminal_inferior): Rename to ...
4100 (child_terminal_inferior): ... this.
4101 (terminal_init_inferior): Rename to ...
4102 (child_terminal_init_inferior): ... this.
4103 (terminal_init_inferior_with_pgrp): Rename to ...
4104 (child_terminal_init_inferior_with_pgrp): ... this.
4105 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
4106 (child_terminal_init_with_pgrp): ... this.
4107 (terminal_save_ours): Rename to ...
4108 (child_terminal_save_ours): ... this.
4109 (terminal_init_inferior): Rename to ...
4110 (child_terminal_init): ... this. Adjust.
4111 (terminal_inferior): Rename to ...
4112 (child_terminal_inferior): ... this.
4113 (terminal_ours_for_output): Rename to ...
4114 (child_terminal_ours_for_output): ... this. Adjust.
4115 (terminal_ours): Rename to ...
4116 (child_terminal_ours): ... this.
4117 (terminal_ours_1): Rename to ...
4118 (child_terminal_ours_1): ... this. Adjust.
4119 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
4120 * windows-nat.c (do_initial_windows_stuff): Adjust.
4121 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
4122 (gnu_terminal_init): ... this. Adjust.
4123 (gnu_target): Adjust.
4124 * inf-child.c (inf_child_target): Adjust.
4125
4126 2014-03-13 Doug Evans <xdje42@gmail.com>
4127
4128 PR guile/16612
4129 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
4130 new eq?-hashtab.
4131
4132 2014-03-13 Doug Evans <xdje42@gmail.com>
4133
4134 * value.c (record_latest_value): Call release_value_or_incref
4135 instead of release_value.
4136
4137 2014-03-13 Pedro Alves <palves@redhat.com>
4138
4139 * procfs.c (procfs_target): Don't override to_shortname,
4140 to_longname or to_doc.
4141
4142 2014-03-13 Pedro Alves <palves@redhat.com>
4143
4144 * inf-child.c (inf_child_open, inf_child_target): Don't mention
4145 Unix in user visible strings.
4146
4147 2014-03-12 Stan Shebs <stan@codesourcery.com>
4148
4149 * gdbtypes.h: Annotate comments for Doxygen, add a page
4150 block comment with some general info.
4151
4152 2014-03-12 Pedro Alves <palves@redhat.com>
4153
4154 * infcmd.c (prepare_execution_command): New function, factored out
4155 from several execution commands.
4156 (run_command_1, continue_command, step_1, jump_command)
4157 (signal_command, until_command, advance_command, finish_command)
4158 (attach_command): Use prepare_execution_command.
4159
4160 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
4161
4162 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
4163 (MAX_BPTS): Define.
4164 (MAX_WPTS): Define.
4165 (struct arm_linux_thread_points): Removed.
4166 (struct arm_linux_process_info): New.
4167 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
4168 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
4169 (arm_linux_find_breakpoints_by_tid): Removed.
4170 (struct arch_lwp_info): New.
4171 (arm_linux_find_process_pid): New functions.
4172 (arm_linux_add_process): New functions.
4173 (arm_linux_process_info_get): New functions.
4174 (arm_linux_forget_process): New function.
4175 (arm_linux_get_debug_reg_state): New function.
4176 (struct update_registers_data): New.
4177 (update_registers_callback): New function.
4178 (arm_linux_insert_hw_breakpoint1): Updated.
4179 (arm_linux_remove_hw_breakpoint1): Updated.
4180 (arm_linux_insert_hw_breakpoint): Updated.
4181 (arm_linux_remove_hw_breakpoint): Updated.
4182 (arm_linux_insert_watchpoint): Updated.
4183 (arm_linux_remove_watchpoint): Updated.
4184 (arm_linux_new_thread): Updated.
4185 (arm_linux_prepare_to_resume): New function.
4186 (arm_linux_new_fork): New function.
4187 (_initialize_arm_linux_nat): Updated.
4188
4189 2014-03-12 Pedro Alves <palves@redhat.com>
4190
4191 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
4192
4193 2014-03-12 Tom Tromey <tromey@redhat.com>
4194
4195 * inf-child.c (return_zero): New function.
4196 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
4197 * aix-thread.c (aix_thread_inferior_created): New function.
4198 (aix_thread_attach): Remove.
4199 (init_aix_thread_ops): Don't set to_attach.
4200 (_initialize_aix_thread): Register inferior_created observer.
4201 * corelow.c (init_core_ops): Don't set to_attach or
4202 to_create_inferior.
4203 * exec.c (init_exec_ops): Don't set to_attach or
4204 to_create_inferior.
4205 * infcmd.c (run_command_1): Use find_run_target. Make direct
4206 target calls.
4207 (attach_command): Use find_attach_target. Make direct target
4208 calls.
4209 * record-btrace.c (init_record_btrace_ops): Don't set
4210 to_create_inferior.
4211 * record-full.c (record_full_can_async_p, record_full_is_async_p):
4212 Remove.
4213 (init_record_full_ops, init_record_full_core_ops): Update. Don't
4214 set to_create_inferior.
4215 * target.c (complete_target_initialization): Add assertion.
4216 (target_create_inferior): Remove.
4217 (find_default_attach, find_default_create_inferior): Remove.
4218 (find_attach_target, find_run_target): New functions.
4219 (find_default_is_async_p, find_default_can_async_p)
4220 (target_supports_non_stop, target_attach): Remove.
4221 (init_dummy_target): Don't set to_create_inferior or
4222 to_supports_non_stop.
4223 * target.h (struct target_ops) <to_attach>: Add comment. Remove
4224 TARGET_DEFAULT_FUNC.
4225 <to_create_inferior>: Add comment.
4226 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
4227 TARGET_DEFAULT_RETURN.
4228 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
4229 (find_attach_target, find_run_target): Declare.
4230 (target_create_inferior): Remove.
4231 (target_has_execution_1): Update comment.
4232 (target_supports_non_stop): Remove.
4233 * target-delegates.c: Rebuild.
4234
4235 2014-03-12 Pedro Alves <palves@redhat.com>
4236
4237 * inf-child.h: Update comment to not mention Unix.
4238
4239 2014-03-12 Pedro Alves <palves@redhat.com>
4240
4241 * inf-child.c: Update top comment to not mention Unix. Add
4242 generic comment describing how this target is meant to be used.
4243 (inf_child_post_attach, inf_child_post_startup_inferior)
4244 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
4245 Unix in comment.
4246
4247 2014-03-12 Pedro Alves <palves@redhat.com>
4248
4249 * nto-procfs.c: Include inf-child.h.
4250 (procfs_ops): Delete global.
4251 (procfs_can_run): Delete method.
4252 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
4253 target pointer instead of referencing procfs_ops.
4254 (procfs_prepare_to_store): Delete.
4255 (init_procfs_ops): Delete function.
4256 (procfs_target): New function, based on init_procfs_ops, but
4257 inherit inf_child_target.
4258 (_initialize_procfs): Use procfs_target.
4259
4260 2014-03-12 Pedro Alves <palves@redhat.com>
4261
4262 * windows-nat.c: Include inf-child.h.
4263 (windows_ops): Delete global.
4264 (windows_open, windows_prepare_to_store, windows_can_run): Delete
4265 methods.
4266 (init_windows_ops): Delete function.
4267 (windows_target): New function, based on init_windows_ops, but
4268 inherit inf_child_target.
4269 (_initialize_windows_nat): Use windows_target. Install x86
4270 specific target methods here.
4271
4272 2014-03-10 Doug Evans <xdje42@gmail.com>
4273
4274 * guile/guile.c (call_initialize_gdb_module): New function.
4275 (initialize_guile): Replace call to scm_init_guile with call to
4276 scm_with_guile.
4277
4278 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4279
4280 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
4281 in call to TYPE_CODE macro.
4282
4283 2014-03-10 Jerome Guitton <guitton@adacore.com>
4284
4285 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
4286 Resolve tagged types to full view.
4287
4288 2014-03-10 Hui Zhu <hui@codesourcery.com>
4289
4290 * target.h (target_insert_breakpoint): Remove "hardware" from its
4291 comments.
4292
4293 2014-03-07 Doug Evans <dje@google.com>
4294
4295 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
4296
4297 2014-03-07 Doug Evans <dje@google.com>
4298
4299 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
4300 Remove unused local comp_dir_attr. Assert exactly one of
4301 stub_comp_unit_die, stub_comp_dir is non-NULL.
4302
4303 2014-03-07 Joel Brobecker <brobecker@adacore.com>
4304
4305 * target.h (complete_target_initialization, add_target):
4306 Add comment.
4307
4308 2014-03-07 Pedro Alves <palves@redhat.com>
4309
4310 * go32-nat.c: Include inf-child.h.
4311 (go32_ops): Delete global.
4312 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
4313 Delete methods.
4314 (go32_create_inferior): Push the passed in target pointer instead
4315 of referencing go32_ops.
4316 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
4317 (go32_target): New function, based on init_go32_ops, but inherit
4318 inf_child_target.
4319 (_initialize_go32_nat): Use go32_target. Move parts of
4320 init_go32_ops here.
4321
4322 2014-03-06 Joel Brobecker <brobecker@adacore.com>
4323
4324 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
4325 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
4326 SYMBOL_VALUE_ADDRESS.
4327 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
4328
4329 2014-03-06 Yao Qi <yao@codesourcery.com>
4330
4331 * breakpoint.c (get_tracepoint_by_number): Remove argument
4332 optional_p. All callers updated. Adjust comments. Update
4333 output message.
4334 * breakpoint.h (get_tracepoint_by_number): Update declaration.
4335
4336 2014-03-06 Yao Qi <yao@codesourcery.com>
4337
4338 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
4339 early if get_number returns zero. Use 'p' instead of 'args'.
4340
4341 2014-03-06 Yao Qi <yao@codesourcery.com>
4342
4343 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
4344 message.
4345
4346 2014-03-06 Yao Qi <yao@codesourcery.com>
4347
4348 PR breakpoints/16508
4349 * tracepoint.c (check_trace_running): New function.
4350 (trace_find_command): Move code to check_trace_running and
4351 call check_trace_running.
4352 (trace_find_pc_command): Likewise.
4353 (trace_find_tracepoint_command): Likewise.
4354 (trace_find_line_command): Likewise.
4355 (trace_find_range_command): Likewise.
4356 * tracepoint.h (check_trace_running): Likewise.
4357 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
4358
4359 2014-03-06 Yao Qi <yao@codesourcery.com>
4360
4361 * target.h (struct target_ops) <to_traceframe_info>: Use
4362 TARGET_DEFAULT_NORETURN (tcomplain ()).
4363 * target-delegates.c: Regenerated.
4364
4365 2014-03-05 Pedro Alves <palves@redhat.com>
4366
4367 PR gdb/16575
4368 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
4369 void. Update comment.
4370 (dcache_xfer_memory): Delete.
4371 (dcache_read_memory_partial): New, based on the read bits of
4372 dcache_xfer_memory.
4373 (dcache_update): Add status parameter. Use ULONGEST for len, and
4374 adjust. Discard cache lines if the reason for the update was
4375 error.
4376 * dcache.h (dcache_xfer_memory): Delete declaration.
4377 (dcache_read_memory_partial): New declaration.
4378 (dcache_update): Update prototype.
4379 * target.c (raw_memory_xfer_partial): Update the dcache here.
4380 (memory_xfer_partial_1): Don't handle dcache writes here.
4381
4382 2014-03-05 Mike Frysinger <vapier@gentoo.org>
4383
4384 * remote-sim.c (gdbsim_load): Add const to prog.
4385
4386 2014-03-03 Tom Tromey <tromey@redhat.com>
4387
4388 * elfread.c (probe_key): Change to bfd_data.
4389 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
4390 now per-BFD, not per-objfile.
4391 * stap-probe.c (stap_probe_destroy): Update comment.
4392 (handle_stap_probe): Allocate on the per-BFD obstack.
4393
4394 2014-03-03 Tom Tromey <tromey@redhat.com>
4395
4396 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
4397 * breakpoint.c (create_longjmp_master_breakpoint): Use
4398 get_probe_address.
4399 (add_location_to_breakpoint, bkpt_probe_insert_location)
4400 (bkpt_probe_remove_location): Update.
4401 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
4402 * elfread.c (elf_symfile_relocate_probe): Remove.
4403 (elf_probe_fns): Update.
4404 (insert_exception_resume_breakpoint): Change type of "probe"
4405 parameter to bound_probe.
4406 (check_exception_resume): Update.
4407 * objfiles.c (objfile_relocate1): Don't relocate probes.
4408 * probe.c (bound_probe_s): New typedef.
4409 (parse_probes): Use get_probe_address. Set sal's objfile.
4410 (find_probe_by_pc): Return a bound_probe.
4411 (collect_probes): Return a VEC(bound_probe_s).
4412 (compare_probes): Update.
4413 (gen_ui_out_table_header_info): Change type of "probes"
4414 parameter. Update.
4415 (info_probes_for_ops): Update.
4416 (get_probe_address): New function.
4417 (probe_safe_evaluate_at_pc): Update.
4418 * probe.h (struct probe_ops) <get_probe_address>: New field.
4419 <set_semaphore, clear_semaphore>: Add objfile parameter.
4420 (struct probe) <objfile>: Remove field.
4421 <arch>: New field.
4422 <address>: Update comment.
4423 (struct bound_probe): New.
4424 (find_probe_by_pc): Return a bound_probe.
4425 (get_probe_address): Declare.
4426 * solib-svr4.c (struct probe_and_action) <address>: New field.
4427 (hash_probe_and_action, equal_probe_and_action): Update.
4428 (register_solib_event_probe): Add address parameter.
4429 (solib_event_probe_at): Update.
4430 (svr4_create_probe_breakpoints): Add objfile parameter. Use
4431 get_probe_address.
4432 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
4433 (stap_get_probe_address): New function.
4434 (stap_can_evaluate_probe_arguments, compute_probe_arg)
4435 (compile_probe_arg): Update.
4436 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
4437 address.
4438 (handle_stap_probe): Don't relocate the probe.
4439 (stap_relocate): Remove.
4440 (stap_gen_info_probes_table_values): Update.
4441 (stap_probe_ops): Remove stap_relocate.
4442 * symfile-debug.c (debug_sym_relocate_probe): Remove.
4443 (debug_sym_probe_fns): Update.
4444 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
4445 * symtab.c (init_sal): Use memset.
4446 * symtab.h (struct symtab_and_line) <objfile>: New field.
4447 * tracepoint.c (start_tracing, stop_tracing): Update.
4448
4449 2014-03-03 Tom Tromey <tromey@redhat.com>
4450
4451 * probe.h (parse_probes, find_probe_by_pc)
4452 (find_probes_in_objfile): Fix comments.
4453
4454 2014-03-02 Doug Evans <xdje42@gmail.com>
4455
4456 * infrun.c (handle_signal_stop): Replace test for
4457 TARGET_WAITKIND_STOPPED with an assert.
4458
4459 2014-03-02 Doug Evans <xdje42@gmail.com>
4460
4461 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
4462
4463 2014-03-02 Doug Evans <xdje42@gmail.com>
4464
4465 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
4466
4467 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4468
4469 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
4470
4471 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4472
4473 * i386obsd-nat.c: Include "obsd-nat.h".
4474 (_initialize_i386obsd_nat): Call obsd_add_target instead of
4475 add_target.
4476 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4477
4478 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4479
4480 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
4481
4482 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4483
4484 * mips64obsd-nat.c: Include "obsd-nath".
4485 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
4486 add_target
4487 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
4488
4489 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4490
4491 * amd64obsd-nat.c: Include "obsd-nat,h.
4492 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
4493 add_target.
4494 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
4495
4496 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
4497
4498 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
4499 (find_overload_match): Update call to find_oload_champ.
4500 (find_oload_champ_namespace_loop): Likewise
4501
4502 2014-02-28 Mark Kettenis <kettenis@gnu.org>
4503
4504 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
4505
4506 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
4507 * config/sparc/obsd64.mh: New file.
4508 * sparc64obsd-nat.c: New file.
4509
4510 * obsd-nat.h: New file.
4511 * obsd-nat.c: New file.
4512 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
4513 (ALLDEPFILES): Add obsd-nat.c.
4514
4515 2014-02-28 Tom Tromey <tromey@redhat.com>
4516
4517 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
4518 * cli-out.h (cli_ui_out_impl): Now const.
4519 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
4520 * ui-out.c (struct ui_out) <impl>: Now const.
4521 (default_ui_out_impl): Now const.
4522 (ui_out_new): Make 'impl' parameter const.
4523 * ui-out.h (ui_out_new): Update.
4524
4525 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4526
4527 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
4528
4529 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4530
4531 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
4532
4533 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 Additional PR 8882 fix.
4536 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
4537
4538 2014-02-27 Pedro Alves <palves@redhat.com>
4539
4540 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
4541 isn't set.
4542
4543 2014-02-27 Pedro Alves <palves@redhat.com>
4544
4545 PR 12702
4546 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
4547 * nat/linux-waitpid.c: Include string.h.
4548 (status_to_str): Moved here and made extern.
4549 * nat/linux-waitpid.h (status_to_str): New declaration.
4550
4551 2014-02-27 Hui Zhu <hui@codesourcery.com>
4552
4553 PR 12702
4554 * infrun.c (ptid_match): Move ...
4555 * common/ptid.c (ptid_match): ... here.
4556 * inferior.h (ptid_match): Move ...
4557 * common/ptid.h (ptid_match): ... here.
4558
4559 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4560
4561 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
4562 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
4563 gdb_target_obs.
4564
4565 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4566
4567 * obsd-tdep.c (obsd_auxv_parse): New function.
4568 (obsd_init_abi): Set auxv_parse.
4569
4570 * gdbarch.sh (auxv_parse): New.
4571 * gdbarch.h: Regenerated.
4572 * gdbarch.c: Regenerated.
4573 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
4574
4575 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4576
4577 * guile/scm-value.c (gdbscm_history_append_x): New function.
4578 (value_functions): Add it.
4579
4580 2014-02-27 Joel Brobecker <brobecker@adacore.com>
4581
4582 * dwarf2read.c (attr_value_as_address): New function.
4583 (dwarf2_find_base_address, read_call_site_scope): Use
4584 attr_value_as_address in place of DW_ADDR.
4585 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
4586 the low and high addresses. Slight rework of the handling
4587 of the high pc being a constant form, and limit it to
4588 DWARF verson 4 or higher.
4589 (dwarf2_record_block_ranges): Likewise.
4590 (read_partial_die): Likewise.
4591 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
4592
4593 2014-02-26 Tom Tromey <tromey@redhat.com>
4594
4595 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
4596
4597 2014-02-26 Tom Tromey <tromey@redhat.com>
4598
4599 * elfread.c (elf_read_minimal_symbols): Return early if
4600 minimal symbols have already been read. Add "ei" parameter.
4601 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
4602 * minsyms.c (prim_record_minimal_symbol_full): Update.
4603 * objfiles.h (struct objstats) <n_minsyms>: Move...
4604 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
4605 * symmisc.c (print_objfile_statistics): Update.
4606
4607 2014-02-26 Tom Tromey <tromey@redhat.com>
4608
4609 * elfread.c (elf_read_minimal_symbols): New function, from
4610 elf_symfile_read.
4611 (elf_symfile_read): Call it.
4612
4613 2014-02-26 Tom Tromey <tromey@redhat.com>
4614
4615 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
4616 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
4617 (lookup_minimal_symbol_solib_trampoline)
4618 (lookup_minimal_symbol_by_pc_section_1)
4619 (lookup_minimal_symbol_and_objfile): Update.
4620 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
4621 Don't allocate a minimal symbol if minsyms have already been read.
4622 (build_minimal_symbol_hash_tables): Update.
4623 (install_minimal_symbols): Do nothing if minsyms already read.
4624 Use the per-BFD obstack.
4625 (terminate_minimal_symbol_table): Use the per-BFD obstack.
4626 * objfiles.c (allocate_objfile): Call
4627 terminate_minimal_symbol_table later.
4628 (have_minimal_symbols): Update.
4629 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
4630 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
4631 Move from struct objfile.
4632 <minsyms_read>: New field.
4633 (struct objfile) <msymbols, minimal_symbol_count,
4634 msymbol_hash, msymbol_demangled_hash>: Move.
4635 (ALL_OBJFILE_MSYMBOLS): Update.
4636 * symfile.c (read_symbols): Set minsyms_read.
4637 (reread_symbols): Update.
4638 * symmisc.c (dump_objfile, dump_msymbols): Update.
4639
4640 2014-02-26 Tom Tromey <tromey@redhat.com>
4641
4642 * minsyms.c (msymbols_sort): Remove.
4643 * minsyms.h (msymbols_sort): Remove.
4644 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
4645 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
4646 * elfread.c (elf_symtab_read): Don't add section offsets.
4647 * xcoffread.c (record_minimal_symbol): Don't add section offset
4648 to minimal symbol address.
4649 * somread.c (text_offset, data_offset): Remove.
4650 (som_symtab_read): Don't add section offsets to minimal symbol
4651 addresses.
4652 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
4653 Don't add section offsets to minimal symbols.
4654 * coffread.c (coff_symtab_read): Don't add section offsets
4655 to minimal symbol addresses.
4656 * machoread.c (macho_symtab_add_minsym): Don't add section offset
4657 to minimal symbol addresses.
4658 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
4659 section offset to minimal symbol addresses.
4660 * mdebugread.c (parse_partial_symbols): Don't add section
4661 offset to minimal symbol addresses.
4662 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
4663 offset to minimal symbol addresses.
4664
4665 2014-02-26 Tom Tromey <tromey@redhat.com>
4666
4667 * ada-lang.c (ada_main_name): Update.
4668 (ada_add_standard_exceptions): Update.
4669 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
4670 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4671 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
4672 * auxv.c (ld_so_xfer_auxv): Update.
4673 * avr-tdep.c (avr_scan_prologue): Update.
4674 * ax-gdb.c (gen_var_ref): Update.
4675 * blockframe.c (get_pc_function_start)
4676 (find_pc_partial_function_gnu_ifunc): Update.
4677 * breakpoint.c (create_overlay_event_breakpoint)
4678 (create_longjmp_master_breakpoint)
4679 (create_std_terminate_master_breakpoint)
4680 (create_exception_master_breakpoint): Update.
4681 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4682 * c-valprint.c (c_val_print): Update.
4683 * coff-pe-read.c (add_pe_forwarded_sym): Update.
4684 * common/agent.c (agent_look_up_symbols): Update.
4685 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
4686 * dwarf2loc.c (call_site_to_target_addr): Update.
4687 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
4688 * elfread.c (elf_gnu_ifunc_record_cache)
4689 (elf_gnu_ifunc_resolve_by_got): Update.
4690 * findvar.c (default_read_var_value): Update.
4691 * frame.c (inside_main_func): Update.
4692 * frv-tdep.c (frv_frame_this_id): Update.
4693 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4694 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
4695 Update.
4696 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
4697 (hppa_hpux_find_dummy_bpaddr): Update.
4698 * hppa-tdep.c (hppa_symbol_address): Update.
4699 * infcmd.c (until_next_command): Update.
4700 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
4701 Update.
4702 * linespec.c (minsym_found, add_minsym): Update.
4703 * linux-nat.c (get_signo): Update.
4704 * linux-thread-db.c (inferior_has_bug): Update.
4705 * m32c-tdep.c (m32c_return_value)
4706 (m32c_m16c_address_to_pointer): Update.
4707 * m32r-tdep.c (m32r_frame_this_id): Update.
4708 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4709 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4710 * maint.c (maintenance_translate_address): Update.
4711 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
4712 (frob_address): New function.
4713 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
4714 frob_address. Rename parameter to "pc_in".
4715 (compare_minimal_symbols, compact_minimal_symbols): Use raw
4716 addresses.
4717 (find_solib_trampoline_target, minimal_symbol_upper_bound):
4718 Update.
4719 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4720 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
4721 * objc-lang.c (find_objc_msgsend): Update.
4722 * objfiles.c (objfile_relocate1): Update.
4723 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4724 * p-valprint.c (pascal_val_print): Update.
4725 * parse.c (write_exp_msymbol): Update.
4726 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
4727 (ppc_elfv2_skip_entrypoint): Update.
4728 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4729 * printcmd.c (build_address_symbolic, msym_info)
4730 (address_info): Update.
4731 * proc-service.c (ps_pglobal_lookup): Update.
4732 * psymtab.c (find_pc_sect_psymtab_closer)
4733 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
4734 Change msymbol parameter to bound_minimal_symbol.
4735 * ravenscar-thread.c (get_running_thread_id): Update.
4736 * remote.c (remote_check_symbols): Update.
4737 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
4738 address.
4739 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4740 * solib-dsbt.c (lm_base): Update.
4741 * solib-frv.c (lm_base, main_got): Update.
4742 * solib-irix.c (locate_base): Update.
4743 * solib-som.c (som_solib_create_inferior_hook)
4744 (link_map_start): Update.
4745 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
4746 * solib-svr4.c (elf_locate_base, enable_break): Update.
4747 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
4748 (flush_ea_cache): Update.
4749 * stabsread.c (define_symbol, scan_file_globals): Update.
4750 * stack.c (find_frame_funname): Update.
4751 * symfile-debug.c (debug_qf_expand_symtabs_matching)
4752 (debug_qf_find_pc_sect_symtab): Update.
4753 * symfile.c (simple_read_overlay_table)
4754 (simple_overlay_update): Update.
4755 * symfile.h (struct quick_symbol_functions)
4756 <find_pc_sect_symtab>: Change type of msymbol to
4757 bound_minimal_symbol.
4758 * symmisc.c (dump_msymbols): Update.
4759 * symtab.c (find_pc_sect_symtab_via_partial)
4760 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
4761 (search_symbols, print_msymbol_info): Update.
4762 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
4763 (MSYMBOL_VALUE_ADDRESS): Redefine.
4764 (BMSYMBOL_VALUE_ADDRESS): New macro.
4765 * tracepoint.c (scope_info): Update.
4766 * tui/tui-disasm.c (tui_find_disassembly_address)
4767 (tui_get_begin_asm_address): Update.
4768 * valops.c (find_function_in_inferior): Update.
4769 * value.c (value_static_field, value_fn_field): Update.
4770
4771 2014-02-26 Tom Tromey <tromey@redhat.com>
4772
4773 * ada-lang.c (ada_update_initial_language): Update.
4774 (ada_main_name, ada_has_this_exception_support): Update.
4775 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
4776 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4777 * arm-tdep.c (arm_skip_stub): Update.
4778 * auxv.c (ld_so_xfer_auxv): Update.
4779 * avr-tdep.c (avr_scan_prologue): Update.
4780 * ax-gdb.c (gen_var_ref): Update.
4781 * breakpoint.c (struct breakpoint_objfile_data)
4782 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
4783 type to bound_minimal_symbol.
4784 (create_overlay_event_breakpoint)
4785 (create_longjmp_master_breakpoint)
4786 (create_std_terminate_master_breakpoint)
4787 (create_exception_master_breakpoint): Update.
4788 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4789 * c-exp.y (classify_name): Update.
4790 * coffread.c (coff_symfile_read): Update.
4791 * common/agent.c (agent_look_up_symbols): Update.
4792 * d-lang.c (d_main_name): Update.
4793 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
4794 * dec-thread.c (enable_dec_thread): Update.
4795 * dwarf2loc.c (call_site_to_target_addr): Update.
4796 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
4797 * eval.c (evaluate_subexp_standard): Update.
4798 * findvar.c (struct minsym_lookup_data) <result>: Change type
4799 to bound_minimal_symbol.
4800 <objfile>: Remove.
4801 (minsym_lookup_iterator_cb, default_read_var_value): Update.
4802 * frame.c (inside_main_func): Update.
4803 * frv-tdep.c (frv_frame_this_id): Update.
4804 * gcore.c (call_target_sbrk): Update.
4805 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4806 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
4807 Update.
4808 * go-lang.c (go_main_name): Update.
4809 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
4810 (hppa_hpux_find_import_stub_for_addr): Update.
4811 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
4812 Update. Change return type.
4813 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
4814 type.
4815 * jit.c (jit_breakpoint_re_set_internal): Update.
4816 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
4817 Update.
4818 * linux-nat.c (get_signo): Update.
4819 * linux-thread-db.c (inferior_has_bug): Update
4820 * m32c-tdep.c (m32c_return_value)
4821 (m32c_m16c_address_to_pointer): Update.
4822 * m32r-tdep.c (m32r_frame_this_id): Update.
4823 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4824 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4825 * minsyms.c (lookup_minimal_symbol_internal): Rename to
4826 lookup_minimal_symbol. Change return type.
4827 (lookup_minimal_symbol): Remove.
4828 (lookup_bound_minimal_symbol): Update.
4829 (lookup_minimal_symbol_text): Change return type.
4830 (lookup_minimal_symbol_solib_trampoline): Change return type.
4831 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
4832 (lookup_minimal_symbol_solib_trampoline): Change return type.
4833 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4834 * objc-lang.c (lookup_objc_class, lookup_child_selector)
4835 (value_nsstring, find_imps): Update.
4836 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4837 * p-lang.c (pascal_main_name): Update.
4838 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
4839 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4840 * proc-service.c (ps_pglobal_lookup): Update.
4841 * ravenscar-thread.c (get_running_thread_msymbol): Change
4842 return type.
4843 (has_ravenscar_runtime, get_running_thread_id): Update.
4844 * remote.c (remote_check_symbols): Update.
4845 * sol-thread.c (ps_pglobal_lookup): Update.
4846 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4847 * solib-dsbt.c (lm_base): Update.
4848 * solib-frv.c (lm_base, frv_relocate_section_addresses):
4849 Update.
4850 * solib-irix.c (locate_base): Update.
4851 * solib-som.c (som_solib_create_inferior_hook)
4852 (som_solib_desire_dynamic_linker_symbols, link_map_start):
4853 Update.
4854 * solib-spu.c (spu_enable_break): Update.
4855 * solib-svr4.c (elf_locate_base, enable_break): Update.
4856 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
4857 (flush_ea_cache): Update.
4858 * stabsread.c (define_symbol): Update.
4859 * symfile.c (simple_read_overlay_table): Update.
4860 * symtab.c (find_pc_sect_line): Update.
4861 * tracepoint.c (scope_info): Update.
4862 * tui-disasm.c (tui_get_begin_asm_address): Update.
4863 * value.c (value_static_field): Update.
4864
4865 2014-02-26 Tom Tromey <tromey@redhat.com>
4866
4867 * minsyms.c (prim_record_minimal_symbol_full): Use
4868 SET_MSYMBOL_VALUE_ADDRESS.
4869 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
4870 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
4871 SET_MSYMBOL_VALUE_ADDRESS.
4872 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
4873 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
4874
4875 2014-02-26 Tom Tromey <tromey@redhat.com>
4876
4877 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
4878 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
4879 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
4880 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
4881 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
4882 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
4883 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
4884 * ada-lang.c (ada_main_name): Update.
4885 (ada_lookup_simple_minsym): Update.
4886 (ada_make_symbol_completion_list): Update.
4887 (ada_add_standard_exceptions): Update.
4888 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
4889 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4890 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
4891 * arm-tdep.c (skip_prologue_function): Update.
4892 (arm_skip_stack_protector, arm_skip_stub): Update.
4893 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
4894 (arm_wince_skip_main_prologue): Update.
4895 * auxv.c (ld_so_xfer_auxv): Update.
4896 * avr-tdep.c (avr_scan_prologue): Update.
4897 * ax-gdb.c (gen_var_ref): Update.
4898 * block.c (call_site_for_pc): Update.
4899 * blockframe.c (get_pc_function_start): Update.
4900 (find_pc_partial_function_gnu_ifunc): Update.
4901 * breakpoint.c (create_overlay_event_breakpoint): Update.
4902 (create_longjmp_master_breakpoint): Update.
4903 (create_std_terminate_master_breakpoint): Update.
4904 (create_exception_master_breakpoint): Update.
4905 (resolve_sal_pc): Update.
4906 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4907 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
4908 Update.
4909 * c-valprint.c (c_val_print): Update.
4910 * coff-pe-read.c (add_pe_forwarded_sym): Update.
4911 * coffread.c (coff_symfile_read): Update.
4912 * common/agent.c (agent_look_up_symbols): Update.
4913 * dbxread.c (find_stab_function_addr): Update.
4914 (end_psymtab): Update.
4915 * dwarf2loc.c (call_site_to_target_addr): Update.
4916 (func_verify_no_selftailcall): Update.
4917 (tailcall_dump): Update.
4918 (call_site_find_chain_1): Update.
4919 (dwarf_expr_reg_to_entry_parameter): Update.
4920 * elfread.c (elf_gnu_ifunc_record_cache): Update.
4921 (elf_gnu_ifunc_resolve_by_got): Update.
4922 * f-valprint.c (info_common_command): Update.
4923 * findvar.c (read_var_value): Update.
4924 * frame.c (get_prev_frame_1): Update.
4925 (inside_main_func): Update.
4926 * frv-tdep.c (frv_skip_main_prologue): Update.
4927 (frv_frame_this_id): Update.
4928 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4929 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
4930 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
4931 (gnuv3_skip_trampoline): Update.
4932 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
4933 (hppa64_hpux_in_solib_call_trampoline): Update.
4934 (hppa_hpux_skip_trampoline_code): Update.
4935 (hppa64_hpux_search_dummy_call_sequence): Update.
4936 (hppa_hpux_find_import_stub_for_addr): Update.
4937 (hppa_hpux_find_dummy_bpaddr): Update.
4938 * hppa-tdep.c (hppa_symbol_address)
4939 (hppa_lookup_stub_minimal_symbol): Update.
4940 * i386-tdep.c (i386_skip_main_prologue): Update.
4941 (i386_pe_skip_trampoline_code): Update.
4942 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
4943 * infcall.c (get_function_name): Update.
4944 * infcmd.c (until_next_command): Update.
4945 * jit.c (jit_breakpoint_re_set_internal): Update.
4946 (jit_inferior_init): Update.
4947 * linespec.c (minsym_found): Update.
4948 (add_minsym): Update.
4949 * linux-fork.c (info_checkpoints_command): Update.
4950 * linux-nat.c (get_signo): Update.
4951 * linux-thread-db.c (inferior_has_bug): Update.
4952 * m32c-tdep.c (m32c_return_value): Update.
4953 (m32c_m16c_address_to_pointer): Update.
4954 (m32c_m16c_pointer_to_address): Update.
4955 * m32r-tdep.c (m32r_frame_this_id): Update.
4956 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4957 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4958 * maint.c (maintenance_translate_address): Update.
4959 * minsyms.c (add_minsym_to_hash_table): Update.
4960 (add_minsym_to_demangled_hash_table): Update.
4961 (msymbol_objfile): Update.
4962 (lookup_minimal_symbol): Update.
4963 (iterate_over_minimal_symbols): Update.
4964 (lookup_minimal_symbol_text): Update.
4965 (lookup_minimal_symbol_by_pc_name): Update.
4966 (lookup_minimal_symbol_solib_trampoline): Update.
4967 (lookup_minimal_symbol_by_pc_section_1): Update.
4968 (lookup_minimal_symbol_and_objfile): Update.
4969 (prim_record_minimal_symbol_full): Update.
4970 (compare_minimal_symbols): Update.
4971 (compact_minimal_symbols): Update.
4972 (build_minimal_symbol_hash_tables): Update.
4973 (install_minimal_symbols): Update.
4974 (terminate_minimal_symbol_table): Update.
4975 (find_solib_trampoline_target): Update.
4976 (minimal_symbol_upper_bound): Update.
4977 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4978 * mips-tdep.c (mips_stub_frame_sniffer): Update.
4979 (mips_skip_pic_trampoline_code): Update.
4980 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
4981 * objc-lang.c (selectors_info): Update.
4982 (classes_info): Update.
4983 (find_methods): Update.
4984 (find_imps): Update.
4985 (find_objc_msgsend): Update.
4986 * objfiles.c (objfile_relocate1): Update.
4987 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
4988 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4989 * p-valprint.c (pascal_val_print): Update.
4990 * parse.c (write_exp_msymbol): Update.
4991 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
4992 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
4993 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4994 * printcmd.c (build_address_symbolic): Update.
4995 (sym_info): Update.
4996 (address_info): Update.
4997 * proc-service.c (ps_pglobal_lookup): Update.
4998 * psymtab.c (find_pc_sect_psymtab_closer): Update.
4999 (find_pc_sect_psymtab): Update.
5000 * python/py-framefilter.c (py_print_frame): Update.
5001 * ravenscar-thread.c (get_running_thread_id): Update.
5002 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
5003 Update.
5004 * remote.c (remote_check_symbols): Update.
5005 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
5006 (rs6000_skip_trampoline_code): Update.
5007 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
5008 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5009 * solib-dsbt.c (lm_base): Update.
5010 * solib-frv.c (lm_base): Update.
5011 (main_got): Update.
5012 * solib-irix.c (locate_base): Update.
5013 * solib-som.c (som_solib_create_inferior_hook): Update.
5014 (som_solib_desire_dynamic_linker_symbols): Update.
5015 (link_map_start): Update.
5016 * solib-spu.c (spu_enable_break): Update.
5017 (ocl_enable_break): Update.
5018 * solib-svr4.c (elf_locate_base): Update.
5019 (enable_break): Update.
5020 * spu-tdep.c (spu_get_overlay_table): Update.
5021 (spu_catch_start): Update.
5022 (flush_ea_cache): Update.
5023 * stabsread.c (define_symbol): Update.
5024 (scan_file_globals): Update.
5025 * stack.c (find_frame_funname): Update.
5026 (frame_info): Update.
5027 * symfile.c (simple_read_overlay_table): Update.
5028 (simple_overlay_update): Update.
5029 * symmisc.c (dump_msymbols): Update.
5030 * symtab.c (fixup_section): Update.
5031 (find_pc_sect_line): Update.
5032 (skip_prologue_sal): Update.
5033 (search_symbols): Update.
5034 (print_msymbol_info): Update.
5035 (rbreak_command): Update.
5036 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
5037 (completion_list_objc_symbol): Update.
5038 (default_make_symbol_completion_list_break_on): Update.
5039 * tracepoint.c (scope_info): Update.
5040 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
5041 (tui_get_begin_asm_address): Update.
5042 * valops.c (find_function_in_inferior): Update.
5043 * value.c (value_static_field): Update.
5044 (value_fn_field): Update.
5045
5046 2014-02-26 Tom Tromey <tromey@redhat.com>
5047
5048 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
5049 bound minimal symbols. Move code that knows about minsym
5050 table layout...
5051 * minsyms.c (minimal_symbol_upper_bound): ... here. New
5052 function.
5053 * minsyms.h (minimal_symbol_upper_bound): Declare.
5054 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
5055 minimal_symbol_upper_bound.
5056
5057 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5058
5059 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
5060 Use the type's name if its basic type does not have a tag.
5061
5062 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5063
5064 * dwarf2read.c (read_subrange_type): Add comment.
5065
5066 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5067
5068 * dwarf2read.c (update_enumeration_type_from_children): New
5069 function, mostly extracted from process_structure_scope.
5070 (read_enumeration_type): Call update_enumeration_type_from_children.
5071 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
5072 and flag_flag_enum fields.
5073
5074 2014-02-26 Pedro Alves <palves@redhat.com>
5075
5076 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
5077 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
5078 to_xfer_partial method.
5079
5080 2014-02-26 Pedro Alves <palves@redhat.com>
5081
5082 * target.c (complete_target_initialization): Don't install
5083 default_xfer_partial as to_xfer_partial hook.
5084 (nomemory): Delete.
5085 (update_current_target): Don't INHERIT nor de_fault
5086 deprecated_xfer_memory. Delete de_fault macro.
5087 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
5088 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
5089 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
5090 field.
5091
5092 2014-02-26 Pedro Alves <palves@redhat.com>
5093
5094 * go32-nat.c (my_write_child): New function.
5095 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
5096 (go32_xfer_partial): New function.
5097 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
5098 Instead install a to_xfer_partial hook.
5099
5100 2014-02-26 Pedro Alves <palves@redhat.com>
5101
5102 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
5103 to_xfer_partial helper. Rewrite.
5104 (procfs_xfer_partial): New function.
5105 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
5106 Install a to_xfer_partial hook.
5107
5108 2014-02-26 Pedro Alves <palves@redhat.com>
5109
5110 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
5111 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
5112 (m32r_xfer_partial): New function.
5113 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
5114 Install a to_xfer_partial hook.
5115
5116 2014-02-26 Pedro Alves <palves@redhat.com>
5117
5118 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
5119 helper.
5120 (mips_xfer_partial): New function.
5121 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
5122 hook. Install a to_xfer_partial hook.
5123
5124 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5125
5126 * gdbtypes.h (create_array_type_with_stride): Add declaration.
5127 * gdbtypes.c (create_array_type_with_stride): New function,
5128 renaming create_array_type, but with an added parameter
5129 called "bit_stride".
5130 (create_array_type): Re-implement using
5131 create_array_type_with_stride.
5132 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
5133 and DW_AT_bit_stride attributes.
5134
5135 2014-02-26 Pedro Alves <palves@redhat.com>
5136
5137 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
5138 task-specific breakpoints.
5139
5140 2014-02-25 Pedro Alves <palves@redhat.com>
5141
5142 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
5143 handling of object == TARGET_OBJECT_UNWIND_TABLE.
5144
5145 2014-02-25 Stan Shebs <stan@codesourcery.com>
5146
5147 * defs.h: Annotate comments for Doxygen.
5148
5149 2014-02-25 Tom Tromey <tromey@redhat.com>
5150
5151 * target.h (target_ignore): Don't declare.
5152 * target.c (target_ignore): Remove.
5153
5154 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5155
5156 PR gdb/16626
5157 * auto-load.c (auto_load_objfile_script_1): Change filename to
5158 debugfile.
5159
5160 2014-02-25 Joel Brobecker <brobecker@adacore.com>
5161
5162 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
5163 documentation. Adjust prototype to match the target_ops
5164 to_xfer_partial method. Adjust implementation accordingly.
5165
5166 2014-02-25 Hui Zhu <hui@codesourcery.com>
5167
5168 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
5169 to_traceframe_info.
5170
5171 2014-02-25 Kevin Buettner <kevinb@redhat.com>
5172
5173 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
5174 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
5175 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
5176 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
5177 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
5178 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
5179 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
5180 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
5181 New constants.
5182 (rl78_register_type): Use a data pointer type for SP and
5183 new pseudo registers mentioned above. Use a 16 bit integer
5184 type for all other register pairs.
5185 (rl78_register_name, rl78_g10_register_name): Update for
5186 new pseudo registers.
5187 (rl78_pseudo_register_read): Likewise.
5188 (rl78_pseudo_register_write): Likewise.
5189 (rl78_dwarf_reg_to_regnum): Return register numbers representing
5190 to the newly added pseudo registers.
5191
5192 2014-02-24 Doug Evans <dje@google.com>
5193
5194 * value.c (record_latest_value): Fix comment.
5195 * printcmd.c (print_command_1): Remove code to handle -1 return from
5196 record_latest_value.
5197
5198 2014-02-24 Pedro Alves <palves@redhat.com>
5199
5200 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
5201 deprecated_xfer_memory hook.
5202 (procfs_xfer_partial): Call procfs_xfer_memory instead
5203 of the deprecated_xfer_memory target hook.
5204 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
5205 helper.
5206
5207 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
5208
5209 * windows-nat.c (windows_xfer_shared_libraries): Return
5210 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
5211 requested object is TARGET_OBJECT_LIBRARIES.
5212
5213 2014-02-24 Yao Qi <yao@codesourcery.com>
5214
5215 * target.h (enum target_xfer_status)
5216 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
5217 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
5218 explicitly. New.
5219 * corefile.c (memory_error_message): User updated.
5220 * exec.c (section_table_read_available_memory): Likewise.
5221 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5222 * target.c (target_xfer_status_to_string): Likewise.
5223 (raw_memory_xfer_partial): Likewise.
5224 (memory_xfer_partial_1, target_xfer_partial): Likewise.
5225 * valops.c (read_value_memory): Likewise.
5226 * exec.h: Update comments.
5227
5228 2014-02-24 Yao Qi <yao@codesourcery.com>
5229
5230 * target.c (target_xfer_status_to_string): Rename argument err
5231 to status.
5232 * target.h (target_xfer_status_to_string): Update declaration.
5233 Replace target_xfer_error_to_string with
5234 target_xfer_status_to_string in comment.
5235
5236 2014-02-24 Yao Qi <yao@codesourcery.com>
5237
5238 * mips-linux-nat.c (super_close): Update its type.
5239 (mips_linux_close): Pass 'self' to super_close.
5240
5241 2014-02-24 Yao Qi <yao@codesourcery.com>
5242
5243 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
5244 * corefile.c (read_memory): Adjusted.
5245 * target.c (target_write_with_progress): Adjusted.
5246
5247 2014-02-23 Yao Qi <yao@codesourcery.com>
5248
5249 Revert two patches:
5250
5251 2013-10-25 Yao Qi <yao@codesourcery.com>
5252
5253 * remote.c (remote_traceframe_info): Return early if
5254 traceframe is not selected.
5255
5256 2013-07-19 Yao Qi <yao@codesourcery.com>
5257
5258 * target.c (update_current_target): Change the default action
5259 of 'to_traceframe_info' from tcomplain to return_zero.
5260 * target.h (struct target_ops) <to_traceframe_info>: Add more
5261 comments.
5262
5263 2014-02-23 Yao Qi <yao@codesourcery.com>
5264
5265 * valops.c (read_value_memory): Rewrite it. Call
5266 target_xfer_partial in a loop.
5267 * exec.h (section_table_available_memory): Remove declaration.
5268 Move comments to ...
5269 * exec.c (section_table_available_memory): ... here. Make it
5270 static.
5271
5272 2014-02-23 Yao Qi <yao@codesourcery.com>
5273
5274 * exec.c (section_table_read_available_memory): New function.
5275 * exec.h (section_table_read_available_memory): Declare.
5276 * ctf.c (ctf_xfer_partial): Call
5277 section_table_read_available_memory.
5278 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5279
5280 2014-02-23 Yao Qi <yao@codesourcery.com>
5281
5282 * ctf.c (ctf_xfer_partial): Move code to ...
5283 * exec.c (exec_read_partial_read_only): ... it. New function.
5284 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5285 * tracefile.c: Include "exec.h".
5286 * exec.h (exec_read_partial_read_only): Declare.
5287
5288 2014-02-23 Yao Qi <yao@codesourcery.com>
5289
5290 * tracefile-tfile.c (tfile_has_all_memory): Remove.
5291 (tfile_has_memory): Remove.
5292 (init_tfile_ops): Don't set fields to_has_all_memory and
5293 to_has_memory of tfile_ops.
5294 * tracefile.c (tracefile_has_all_memory): New function.
5295 (tracefile_has_memory): New function.
5296 (init_tracefile_ops): Initialize fields to_has_all_memory and
5297 to_has_memory of 'ops'.
5298
5299 2014-02-23 Yao Qi <yao@codesourcery.com>
5300
5301 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
5302 (ctf_thread_alive, ctf_get_trace_status): Remove.
5303 (init_ctf_ops): Don't set some fields of ctf_ops. Call
5304 init_tracefile_ops.
5305 * tracefile-tfile.c (tfile_get_trace_status): Remove.
5306 (tfile_has_stack, tfile_has_registers): Remove.
5307 (tfile_thread_alive): Remove.
5308 (init_tfile_ops): Don't set some fields of tfile_ops. Call
5309 init_tracefile_ops.
5310 * tracefile.c (tracefile_has_stack): New function.
5311 (tracefile_has_registers): New function.
5312 (tracefile_thread_alive): New function.
5313 (tracefile_get_trace_status): New function.
5314 (init_tracefile_ops): New function.
5315 * tracefile.h (init_tracefile_ops): Declare.
5316
5317 2014-02-23 Yao Qi <yao@codesourcery.com>
5318
5319 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
5320 (O_LARGEFILE): Likewise.
5321 (tfile_ops): Likewise.
5322 (TRACE_HEADER_SIZE): Likewise.
5323 (trace_fd, trace_frames_offset, cur_offset): Likewise.
5324 (cur_data_size): Likewise.
5325 (tfile_read, tfile_open, tfile_interp_line): Likewise.
5326 (tfile_close, tfile_files_info): Likewise.
5327 (tfile_get_trace_status): Likewise.
5328 (tfile_get_tracepoint_status): Likewise.
5329 (tfile_get_traceframe_address): Likewise.
5330 (tfile_trace_find, match_blocktype): Likewise.
5331 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
5332 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
5333 (tfile_get_trace_state_variable_value): Likewise.
5334 (tfile_has_all_memory, tfile_has_memory): Likewise.
5335 (tfile_has_stack, tfile_has_registers): Likewise.
5336 (tfile_thread_alive, build_traceframe_info): Likewise.
5337 (tfile_traceframe_info, init_tfile_ops): Likewise.
5338 (_initialize_tracepoint): Don't call init_tfile_ops
5339 and add_target_with_completer.
5340 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
5341 exec.h, completer.h and filenames.h.
5342 (_initialize_tracefile_tfile): New function.
5343
5344 2014-02-23 Yao Qi <yao@codesourcery.com>
5345
5346 * Makefile.in (REMOTE_OBS): Append tracefile.o and
5347 tracefile-tfile.o.
5348 (HFILES_NO_SRCDIR): Add tracefile.h.
5349 * ctf.c: Include "tracefile.h".
5350 * tracefile.h: New file.
5351 * tracefile.c: New file
5352 * tracefile-tfile.c: New file.
5353 * tracepoint.c: Include "tracefile.h".
5354 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
5355 (stop_reason_names): Add const.
5356 (trace_file_writer_xfree): Move it to tracefile.c.
5357 (trace_save, trace_save_command, trace_save_tfile): Likewise.
5358 (trace_save_ctf): Likewise.
5359 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
5360 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
5361 (tfile_write_header, tfile_write_regblock_type): Likewise.
5362 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
5363 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
5364 (tfile_write_raw_data, tfile_end): Likewise.
5365 (tfile_trace_file_writer_new): Likewise.
5366 (free_uploaded_tp): Make it extern.
5367 (free_uploaded_tsv): Make it extern.
5368 (_initialize_tracepoint): Move code to register command 'tsave'
5369 to tracefile.c.
5370 * tracepoint.h (stop_reason_names): Declare.
5371 (struct trace_frame_write_ops): Move it to tracefile.h.
5372 (struct trace_file_write_ops): Likewise.
5373 (struct trace_file_writer): Likewise.
5374 (free_uploaded_tsvs, free_uploaded_tps): Declare.
5375
5376 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 PR gdb/16594
5379 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
5380 process name.
5381 (get_cores_used_by_process): New parameter num_cores, use it.
5382 (linux_xfer_osdata_processes): Pass num_cores to it.
5383 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
5384 process name.
5385
5386 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
5387
5388 * target.c (memory_xfer_partial): Fix length arg in call to
5389 breakpoint_xfer_memory.
5390
5391 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5392
5393 PR tdep/16397
5394 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
5395 number comes after the + or - signs. Adjust length of register
5396 name to be extracted.
5397
5398 2014-02-20 Tom Tromey <tromey@redhat.com>
5399
5400 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
5401 (ada_varobj_ops): Mark "extern".
5402
5403 2014-02-20 Tom Tromey <tromey@redhat.com>
5404
5405 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
5406
5407 2014-02-20 Doug Evans <xdje42@gmail.com>
5408
5409 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
5410 All callers updated.
5411 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
5412 All callers updated.
5413 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
5414 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
5415
5416 2014-02-20 lin zuojian <manjian2006@gmail.com>
5417 Joel Brobecker <brobecker@adacore.com>
5418 Doug Evans <xdje42@gmail.com>
5419
5420 PR symtab/16581
5421 * dwarf2read.c (struct die_info): New member in_process.
5422 (reset_die_in_process): New function.
5423 (process_die): Set it at the start, reset when returning.
5424 (inherit_abstract_dies): Only call process_die if origin_child_die
5425 not already being processed.
5426
5427 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5428
5429 * windows-nat.c (handle_unload_dll): Add function documentation.
5430 (do_initial_windows_stuff): Add comment explaining why we wait
5431 until after inferior initialization has finished before
5432 processing all DLLs.
5433
5434 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5435
5436 * windows-nat.c (get_module_name): Delete.
5437 (windows_get_exec_module_filename): New function, mostly
5438 inspired from get_module_name.
5439 (windows_pid_to_exec_file): Replace call to get_module_name
5440 by call to windows_get_exec_module_filename.
5441
5442 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5443
5444 * windows-nat.c (handle_load_dll): Rewrite this function's
5445 introductory comment. Remove code using get_module_name
5446 to get the DLL's name.
5447
5448 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5449
5450 * windows-nat.c (get_windows_debug_event): Ignore
5451 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
5452 if windows_initialization_done == 0.
5453 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
5454 Adjust implementation to always load all DLLs.
5455 (do_initial_windows_stuff): Replace call to
5456 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
5457
5458 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5459
5460 * windows-nat.c (_initialize_windows_nat): Deprecate the
5461 "dll-symbols" command. Turn the "add-shared-symbol-files"
5462 and "assf" aliases into commands, and deprecate them as well.
5463 * NEWS: Add entry explaining that "dll-symbols" and its two
5464 aliases are now deprecated.
5465
5466 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5467
5468 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
5469 new-line in debug string. Remove trailing spaces.
5470
5471 2014-02-19 Stan Shebs <stan@codesourcery.com>
5472
5473 * darwin-nat.c (darwin_xfer_partial): Fix return type.
5474
5475 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5476
5477 * NEWS: Add entry for the new feature
5478 * python/py-value.c (valpy_binop): Call value_x_binop for struct
5479 and class values.
5480
5481 2014-02-19 Stan Shebs <stan@codesourcery.com>
5482
5483 * MAINTAINERS: List Yao Qi as nios2 maintainer.
5484
5485 2014-02-19 Pedro Alves <palves@redhat.com>
5486
5487 * common/ptid.h (struct ptid): Mention that process_stratum
5488 targets should prefer ptid.lwp.
5489
5490 2014-02-19 Pedro Alves <palves@redhat.com>
5491
5492 * remote.c (remote_thread_alive, write_ptid, read_ptid)
5493 (read_ptid, remote_newthread_step, remote_threads_extra_info)
5494 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
5495 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
5496 store remote thread ids rather than ptid.tid.
5497 (_initialize_remote): Adjust.
5498
5499 2014-02-19 Tom Tromey <tromey@redhat.com>
5500
5501 * target.c (target_get_unwinder): Rewrite.
5502 (target_get_tailcall_unwinder): Rewrite.
5503 * record-btrace.c (record_btrace_to_get_unwinder): New function.
5504 (record_btrace_to_get_tailcall_unwinder): New function.
5505 (init_record_btrace_ops): Update.
5506 * target.h (struct target_ops) <to_get_unwinder,
5507 to_get_tailcall_unwinder>: Now function pointers. Use
5508 TARGET_DEFAULT_RETURN.
5509
5510 2014-02-19 Tom Tromey <tromey@redhat.com>
5511
5512 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
5513 argument.
5514 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
5515
5516 2014-02-19 Tom Tromey <tromey@redhat.com>
5517
5518 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
5519 directly.
5520 * target-delegates.c: Rebuild.
5521 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
5522 TARGET_DEFAULT_FUNC.
5523 * target.c (default_target_decr_pc_after_break): Rename from
5524 forward_target_decr_pc_after_break. Simplify.
5525 (target_decr_pc_after_break): Rely on delegation.
5526
5527 2014-02-19 Tom Tromey <tromey@redhat.com>
5528
5529 * target.c (update_current_target): Do not INHERIT to_doc or
5530 to_magic. Do not de_fault to_open or to_close.
5531
5532 2014-02-19 Tom Tromey <tromey@redhat.com>
5533
5534 * gcore.h (objfile_find_memory_regions): Declare.
5535 * gcore.c (objfile_find_memory_regions): No longer static. Add
5536 "self" argument.
5537 (_initialize_gcore): Don't call exec_set_find_memory_regions.
5538 * exec.c: Include gcore.h.
5539 (exec_set_find_memory_regions): Remove.
5540 (exec_find_memory_regions): Remove.
5541 (exec_do_find_memory_regions): Remove.
5542 (init_exec_ops): Update.
5543 * defs.h (exec_set_find_memory_regions): Remove.
5544
5545 2014-02-19 Tom Tromey <tromey@redhat.com>
5546
5547 * target-delegates.c: Rebuild.
5548 * target.h (struct target_ops) <to_extra_thread_info,
5549 to_thread_name, to_pid_to_exec_file, to_get_section_table,
5550 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
5551 not 0, in TARGET_DEFAULT_RETURN.
5552
5553 2014-02-19 Tom Tromey <tromey@redhat.com>
5554
5555 * target.c (complete_target_initialization): Remove casts. Use
5556 return_zero_has_execution.
5557 (return_zero): Add "ignore" argument.
5558 (return_zero_has_execution): New function.
5559 (init_dummy_target): Remove casts. Use
5560 return_zero_has_execution.
5561
5562 2014-02-19 Tom Tromey <tromey@redhat.com>
5563
5564 * target.c (update_current_target): Update comments. Do not
5565 INHERIT to_stratum.
5566
5567 2014-02-19 Tom Tromey <tromey@redhat.com>
5568
5569 * arm-linux-nat.c (arm_linux_read_description): Delegate when
5570 needed.
5571 * corelow.c (core_read_description): Delegate when needed.
5572 * remote.c (remote_read_description): Delegate when needed.
5573 * target-delegates.c: Rebuild.
5574 * target.c (target_read_description): Rewrite.
5575 * target.h (struct target_ops) <to_read_description>: Update
5576 comment. Use TARGET_DEFAULT_RETURN.
5577
5578 2014-02-19 Tom Tromey <tromey@redhat.com>
5579
5580 * target-delegates.c: Rebuild.
5581 * target.c (update_current_target): Don't inherit or default
5582 to_can_run.
5583 (find_default_run_target): Check against delegate_can_run.
5584 * target.h (struct target_ops) <to_can_run>: Use
5585 TARGET_DEFAULT_RETURN.
5586
5587 2014-02-19 Tom Tromey <tromey@redhat.com>
5588
5589 * target-delegates.c: Rebuild.
5590 * target.c (target_disconnect): Unconditionally delegate.
5591 * target.h (struct target_ops) <to_disconnect>: Use
5592 TARGET_DEFAULT_NORETURN.
5593
5594 2014-02-19 Tom Tromey <tromey@redhat.com>
5595
5596 * record.c (record_stop): Unconditionally delegate.
5597 * target-delegates.c: Rebuild.
5598 * target.c (target_stop_recording): Unconditionally delegate.
5599 * target.h (struct target_ops) <to_stop_recording>: Use
5600 TARGET_DEFAULT_IGNORE.
5601
5602 2014-02-19 Tom Tromey <tromey@redhat.com>
5603
5604 * target-delegates.c: Rebuild.
5605 * target.c (target_enable_btrace): Unconditionally delegate.
5606 * target.h (struct target_ops) <to_enable_btrace>: Use
5607 TARGET_DEFAULT_NORETURN.
5608
5609 2014-02-19 Tom Tromey <tromey@redhat.com>
5610
5611 * target-delegates.c: Rebuild.
5612 * target.c (target_read_btrace): Unconditionally delegate.
5613 * target.h (struct target_ops) <to_read_btrace>: Use
5614 TARGET_DEFAULT_NORETURN.
5615
5616 2014-02-19 Tom Tromey <tromey@redhat.com>
5617
5618 * target-delegates.c: Rebuild.
5619 * target.c (target_teardown_btrace): Unconditionally delegate.
5620 * target.h (struct target_ops) <to_teardown_btrace>: Use
5621 TARGET_DEFAULT_NORETURN.
5622
5623 2014-02-19 Tom Tromey <tromey@redhat.com>
5624
5625 * target-delegates.c: Rebuild.
5626 * target.c (target_disable_btrace): Unconditionally delegate.
5627 * target.h (struct target_ops) <to_disable_btrace>: Use
5628 TARGET_DEFAULT_NORETURN.
5629
5630 2014-02-19 Tom Tromey <tromey@redhat.com>
5631
5632 * target-delegates.c: Rebuild.
5633 * target.c (default_search_memory): New function.
5634 (simple_search_memory): Update comment.
5635 (target_search_memory): Unconditionally delegate.
5636 * target.h (struct target_ops) <to_search_memory>: Use
5637 TARGET_DEFAULT_FUNC.
5638
5639 2014-02-19 Tom Tromey <tromey@redhat.com>
5640
5641 * auxv.c (default_auxv_parse): No longer static.
5642 (target_auxv_parse): Unconditionally delegate.
5643 * auxv.h (default_auxv_parse): Declare.
5644 * target-delegates.c: Rebuild.
5645 * target.c: Include auxv.h.
5646 * target.h (struct target_ops) <to_auxv_parse>: Use
5647 TARGET_DEFAULT_FUNC.
5648
5649 2014-02-19 Tom Tromey <tromey@redhat.com>
5650
5651 * target-delegates.c: Rebuild.
5652 * target.c (target_memory_map): Unconditionally delegate.
5653 * target.h (struct target_ops) <to_memory_map>: Use
5654 TARGET_DEFAULT_RETURN.
5655
5656 2014-02-19 Tom Tromey <tromey@redhat.com>
5657
5658 * target-delegates.c: Rebuild.
5659 * target.c (target_thread_alive): Unconditionally delegate.
5660 * target.h (struct target_ops) <to_thread_alive>: Use
5661 TARGET_DEFAULT_RETURN.
5662
5663 2014-02-19 Tom Tromey <tromey@redhat.com>
5664
5665 * target-delegates.c: Rebuild.
5666 * target.c (target_save_record): Unconditionally delegate.
5667 * target.h (struct target_ops) <to_save_record>: Use
5668 TARGET_DEFAULT_NORETURN.
5669
5670 2014-02-19 Tom Tromey <tromey@redhat.com>
5671
5672 * target-delegates.c: Rebuild.
5673 * target.c (target_delete_record): Unconditionally delegate.
5674 * target.h (struct target_ops) <to_delete_record>: Use
5675 TARGET_DEFAULT_NORETURN.
5676
5677 2014-02-19 Tom Tromey <tromey@redhat.com>
5678
5679 * target-delegates.c: Rebuild.
5680 * target.c (target_record_is_replaying): Unconditionally
5681 delegate.
5682 * target.h (struct target_ops) <to_record_is_replaying>: Use
5683 TARGET_DEFAULT_RETURN.
5684
5685 2014-02-19 Tom Tromey <tromey@redhat.com>
5686
5687 * target-delegates.c: Rebuild.
5688 * target.c (target_goto_record_begin): Unconditionally delegate.
5689 * target.h (struct target_ops) <to_goto_record_begin>: Use
5690 TARGET_DEFAULT_NORETURN.
5691
5692 2014-02-19 Tom Tromey <tromey@redhat.com>
5693
5694 * target-delegates.c: Rebuild.
5695 * target.c (target_goto_record_end): Unconditionally delegate.
5696 * target.h (struct target_ops) <to_goto_record_end>: Use
5697 TARGET_DEFAULT_NORETURN.
5698
5699 2014-02-19 Tom Tromey <tromey@redhat.com>
5700
5701 * target-delegates.c: Rebuild.
5702 * target.c (target_goto_record): Unconditionally delegate.
5703 * target.h (struct target_ops) <to_goto_record>: Use
5704 TARGET_DEFAULT_NORETURN.
5705
5706 2014-02-19 Tom Tromey <tromey@redhat.com>
5707
5708 * target-delegates.c: Rebuild.
5709 * target.c (target_insn_history): Unconditionally delegate.
5710 * target.h (struct target_ops) <to_insn_history>: Use
5711 TARGET_DEFAULT_NORETURN.
5712
5713 2014-02-19 Tom Tromey <tromey@redhat.com>
5714
5715 * target-delegates.c: Rebuild.
5716 * target.c (target_insn_history_from): Unconditionally delegate.
5717 * target.h (struct target_ops) <to_insn_history_from>: Use
5718 TARGET_DEFAULT_NORETURN.
5719
5720 2014-02-19 Tom Tromey <tromey@redhat.com>
5721
5722 * target-delegates.c: Rebuild.
5723 * target.c (target_insn_history_range): Unconditionally delegate.
5724 * target.h (struct target_ops) <to_insn_history_range>: Use
5725 TARGET_DEFAULT_NORETURN.
5726
5727 2014-02-19 Tom Tromey <tromey@redhat.com>
5728
5729 * target-delegates.c: Rebuild.
5730 * target.c (target_call_history): Unconditionally delegate.
5731 * target.h (struct target_ops) <to_call_history>: Use
5732 TARGET_DEFAULT_NORETURN.
5733
5734 2014-02-19 Tom Tromey <tromey@redhat.com>
5735
5736 * target-delegates.c: Rebuild.
5737 * target.c (target_call_history_from): Unconditionally delegate.
5738 * target.h (struct target_ops) <to_call_history_from>: Use
5739 TARGET_DEFAULT_NORETURN.
5740
5741 2014-02-19 Tom Tromey <tromey@redhat.com>
5742
5743 * target-delegates.c: Rebuild.
5744 * target.c (target_call_history_range): Unconditionally delegate.
5745 * target.h (struct target_ops) <to_call_history_range>: Use
5746 TARGET_DEFAULT_NORETURN.
5747
5748 2014-02-19 Tom Tromey <tromey@redhat.com>
5749
5750 * target-delegates.c: Rebuild.
5751 * target.c (target_verify_memory): Unconditionally delegate.
5752 * target.h (struct target_ops) <to_verify_memory>: Use
5753 TARGET_DEFAULT_NORETURN.
5754
5755 2014-02-19 Tom Tromey <tromey@redhat.com>
5756
5757 * target-delegates.c: Rebuild.
5758 * target.c (target_core_of_thread): Unconditionally delegate.
5759 * target.h (struct target_ops) <to_core_of_thread>: Use
5760 TARGET_DEFAULT_RETURN.
5761
5762 2014-02-19 Tom Tromey <tromey@redhat.com>
5763
5764 * target-delegates.c: Rebuild.
5765 * target.c (target_flash_done): Unconditionally delegate.
5766 * target.h (struct target_ops) <to_flash_done>: Use
5767 TARGET_DEFAULT_NORETURN.
5768
5769 2014-02-19 Tom Tromey <tromey@redhat.com>
5770
5771 * target-delegates.c: Rebuild.
5772 * target.c (target_flash_erase): Unconditionally delegate.
5773 * target.h (struct target_ops) <to_flash_erase>: Use
5774 TARGET_DEFAULT_NORETURN.
5775
5776 2014-02-19 Tom Tromey <tromey@redhat.com>
5777
5778 * target-delegates.c: Rebuild.
5779 * target.c (target_get_section_table): Unconditionally delegate.
5780 * target.h (struct target_ops) <to_get_section_table>: Use
5781 TARGET_DEFAULT_RETURN.
5782
5783 2014-02-19 Tom Tromey <tromey@redhat.com>
5784
5785 * target-delegates.c: Rebuild.
5786 * target.c (target_pid_to_str): Unconditionally delegate.
5787 (init_dummy_target): Don't initialize to_pid_to_str.
5788 (default_pid_to_str): Rename from dummy_pid_to_str.
5789 * target.h (struct target_ops) <to_pid_to_str>: Use
5790 TARGET_DEFAULT_FUNC.
5791
5792 2014-02-19 Tom Tromey <tromey@redhat.com>
5793
5794 * target-delegates.c: Rebuild.
5795 * target.c (target_find_new_threads): Unconditionally delegate.
5796 * target.h (struct target_ops) <to_find_new_threads>: Use
5797 TARGET_DEFAULT_RETURN.
5798
5799 2014-02-19 Tom Tromey <tromey@redhat.com>
5800
5801 * target-delegates.c: Rebuild.
5802 * target.c (target_program_signals): Unconditionally delegate.
5803 * target.h (struct target_ops) <to_program_signals>: Use
5804 TARGET_DEFAULT_IGNORE.
5805
5806 2014-02-19 Tom Tromey <tromey@redhat.com>
5807
5808 * target-delegates.c: Rebuild.
5809 * target.c (target_pass_signals): Unconditionally delegate.
5810 * target.h (struct target_ops) <to_pass_signals>: Use
5811 TARGET_DEFAULT_IGNORE.
5812
5813 2014-02-19 Tom Tromey <tromey@redhat.com>
5814
5815 * target-delegates.c: Rebuild.
5816 * target.c (default_mourn_inferior): New function.
5817 (target_mourn_inferior): Unconditionally delegate.
5818 * target.h (struct target_ops) <to_mourn_inferior>: Use
5819 TARGET_DEFAULT_FUNC.
5820
5821 2014-02-19 Tom Tromey <tromey@redhat.com>
5822
5823 * target-delegates.c: Rebuild.
5824 * target.c (default_follow_fork): New function.
5825 (target_follow_fork): Unconditionally delegate.
5826 * target.h (struct target_ops) <to_follow_fork>: Use
5827 TARGET_DEFAULT_FUNC.
5828
5829 2014-02-19 Tom Tromey <tromey@redhat.com>
5830
5831 * target-delegates.c: Rebuild.
5832 * target.c (target_kill): Unconditionally delegate.
5833 * target.h (struct target_ops) <to_kill>: Use
5834 TARGET_DEFAULT_NORETURN.
5835
5836 2014-02-19 Tom Tromey <tromey@redhat.com>
5837
5838 * target-delegates.c: Rebuild.
5839 * target.c (target_masked_watch_num_registers): Unconditionally
5840 delegate.
5841 * target.h (struct target_ops) <to_masked_watch_num_registers>:
5842 Use TARGET_DEFAULT_RETURN.
5843
5844 2014-02-19 Tom Tromey <tromey@redhat.com>
5845
5846 * target-delegates.c: Rebuild.
5847 * target.c (target_remove_mask_watchpoint): Unconditionally
5848 delegate.
5849 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
5850 TARGET_DEFAULT_RETURN.
5851
5852 2014-02-19 Tom Tromey <tromey@redhat.com>
5853
5854 * target-delegates.c: Rebuild.
5855 * target.c (target_insert_mask_watchpoint): Unconditionally
5856 delegate.
5857 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
5858 TARGET_DEFAULT_RETURN.
5859
5860 2014-02-19 Tom Tromey <tromey@redhat.com>
5861
5862 * target-delegates.c: Rebuild.
5863 * target.c (target_ranged_break_num_registers): Unconditionally
5864 delegate.
5865 * target.h (struct target_ops) <to_ranged_break_num_registers>:
5866 Use TARGET_DEFAULT_RETURN.
5867
5868 2014-02-19 Tom Tromey <tromey@redhat.com>
5869
5870 * target-delegates.c: Rebuild.
5871 * target.c (target_fetch_registers): Unconditionally delegate.
5872 * target.h (struct target_ops) <to_fetch_registers>: Use
5873 TARGET_DEFAULT_NORETURN.
5874
5875 2014-02-19 Tom Tromey <tromey@redhat.com>
5876
5877 * target-delegates.c: Rebuild.
5878 * target.c (update_current_target): Don't inherit or default
5879 to_stop.
5880 * target.h (struct target_ops) <to_stop>: Use
5881 TARGET_DEFAULT_IGNORE.
5882
5883 2014-02-19 Tom Tromey <tromey@redhat.com>
5884
5885 * target-delegates.c: Rebuild.
5886 * target.c (update_current_target): Don't inherit or default
5887 to_can_run_breakpoint_commands.
5888 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
5889 Use TARGET_DEFAULT_RETURN.
5890
5891 2014-02-19 Tom Tromey <tromey@redhat.com>
5892
5893 * target-delegates.c: Rebuild.
5894 * target.c (update_current_target): Don't inherit or default
5895 to_supports_evaluation_of_breakpoint_conditions.
5896 * target.h (struct target_ops)
5897 <to_supports_evaluation_of_breakpoint_conditions>: Use
5898 TARGET_DEFAULT_RETURN.
5899
5900 2014-02-19 Tom Tromey <tromey@redhat.com>
5901
5902 * target-delegates.c: Rebuild.
5903 * target.c (update_current_target): Don't inherit or default
5904 to_augmented_libraries_svr4_read.
5905 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
5906 Use TARGET_DEFAULT_RETURN.
5907
5908 2014-02-19 Tom Tromey <tromey@redhat.com>
5909
5910 * target-delegates.c: Rebuild.
5911 * target.c (update_current_target): Don't inherit or default
5912 to_can_use_agent.
5913 * target.h (struct target_ops) <to_can_use_agent>: Use
5914 TARGET_DEFAULT_RETURN.
5915
5916 2014-02-19 Tom Tromey <tromey@redhat.com>
5917
5918 * target-delegates.c: Rebuild.
5919 * target.c (update_current_target): Don't inherit or default
5920 to_use_agent.
5921 * target.h (struct target_ops) <to_use_agent>: Use
5922 TARGET_DEFAULT_NORETURN.
5923
5924 2014-02-19 Tom Tromey <tromey@redhat.com>
5925
5926 * target-delegates.c: Rebuild.
5927 * target.c (update_current_target): Don't inherit or default
5928 to_traceframe_info.
5929 (return_null): Remove.
5930 * target.h (struct target_ops) <to_traceframe_info>: Use
5931 TARGET_DEFAULT_RETURN.
5932
5933 2014-02-19 Tom Tromey <tromey@redhat.com>
5934
5935 * target-delegates.c: Rebuild.
5936 * target.c (update_current_target): Don't inherit or default
5937 to_static_tracepoint_markers_by_strid.
5938 * target.h (struct target_ops)
5939 <to_static_tracepoint_markers_by_strid>: Use
5940 TARGET_DEFAULT_NORETURN.
5941
5942 2014-02-19 Tom Tromey <tromey@redhat.com>
5943
5944 * target-delegates.c: Rebuild.
5945 * target.c (update_current_target): Don't inherit or default
5946 to_static_tracepoint_marker_at.
5947 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
5948 Use TARGET_DEFAULT_RETURN.
5949
5950 2014-02-19 Tom Tromey <tromey@redhat.com>
5951
5952 * target-delegates.c: Rebuild.
5953 * target.c (update_current_target): Don't inherit or default
5954 to_set_permissions.
5955 * target.h (struct target_ops) <to_set_permissions>: Use
5956 TARGET_DEFAULT_IGNORE.
5957
5958 2014-02-19 Tom Tromey <tromey@redhat.com>
5959
5960 * target-delegates.c: Rebuild.
5961 * target.c (update_current_target): Don't inherit or default
5962 to_get_tib_address.
5963 * target.h (struct target_ops) <to_get_tib_address>: Use
5964 TARGET_DEFAULT_NORETURN.
5965
5966 2014-02-19 Tom Tromey <tromey@redhat.com>
5967
5968 * target-delegates.c: Rebuild.
5969 * target.c (update_current_target): Don't inherit or default
5970 to_set_trace_notes.
5971 * target.h (struct target_ops) <to_set_trace_notes>: Use
5972 TARGET_DEFAULT_RETURN.
5973
5974 2014-02-19 Tom Tromey <tromey@redhat.com>
5975
5976 * target-delegates.c: Rebuild.
5977 * target.c (update_current_target): Don't initialize
5978 to_set_trace_buffer_size.
5979 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
5980 TARGET_DEFAULT_IGNORE.
5981
5982 2014-02-19 Tom Tromey <tromey@redhat.com>
5983
5984 * target-delegates.c: Rebuild.
5985 * target.c (update_current_target): Don't inherit or default
5986 to_set_circular_trace_buffer.
5987 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
5988 TARGET_DEFAULT_IGNORE.
5989
5990 2014-02-19 Tom Tromey <tromey@redhat.com>
5991
5992 * target-delegates.c: Rebuild.
5993 * target.c (update_current_target): Don't inherit or default
5994 to_set_disconnected_tracing.
5995 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
5996 TARGET_DEFAULT_IGNORE.
5997
5998 2014-02-19 Tom Tromey <tromey@redhat.com>
5999
6000 * target-delegates.c: Rebuild.
6001 * target.c (update_current_target): Don't inherit or default
6002 to_get_min_fast_tracepoint_insn_len.
6003 (return_minus_one): Remove.
6004 * target.h (struct target_ops)
6005 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
6006
6007 2014-02-19 Tom Tromey <tromey@redhat.com>
6008
6009 * target-delegates.c: Rebuild.
6010 * target.c (update_current_target): Don't inherit or default
6011 to_get_raw_trace_data.
6012 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
6013 TARGET_DEFAULT_NORETURN.
6014
6015 2014-02-19 Tom Tromey <tromey@redhat.com>
6016
6017 * target-delegates.c: Rebuild.
6018 * target.c (update_current_target): Don't inherit or default
6019 to_upload_trace_state_variables.
6020 * target.h (struct target_ops) <to_upload_trace_state_variables>:
6021 Use TARGET_DEFAULT_RETURN.
6022
6023 2014-02-19 Tom Tromey <tromey@redhat.com>
6024
6025 * target-delegates.c: Rebuild.
6026 * target.c (update_current_target): Don't inherit or default
6027 to_upload_tracepoints.
6028 * target.h (struct target_ops) <to_upload_tracepoints>: Use
6029 TARGET_DEFAULT_RETURN.
6030
6031 2014-02-19 Tom Tromey <tromey@redhat.com>
6032
6033 * target-delegates.c: Rebuild.
6034 * target.c (update_current_target): Don't inherit or default
6035 to_save_trace_data.
6036 * target.h (struct target_ops) <to_save_trace_data>: Use
6037 TARGET_DEFAULT_NORETURN.
6038
6039 2014-02-19 Tom Tromey <tromey@redhat.com>
6040
6041 * target-delegates.c: Rebuild.
6042 * target.c (update_current_target): Don't inherit or default
6043 to_get_trace_state_variable_value.
6044 * target.h (struct target_ops)
6045 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
6046
6047 2014-02-19 Tom Tromey <tromey@redhat.com>
6048
6049 * target-delegates.c: Rebuild.
6050 * target.c (update_current_target): Don't inherit or default
6051 to_trace_find.
6052 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
6053
6054 2014-02-19 Tom Tromey <tromey@redhat.com>
6055
6056 * target-delegates.c: Rebuild.
6057 * target.c (update_current_target): Don't inherit or default
6058 to_trace_stop.
6059 * target.h (struct target_ops) <to_trace_stop>: Use
6060 TARGET_DEFAULT_NORETURN.
6061
6062 2014-02-19 Tom Tromey <tromey@redhat.com>
6063
6064 * target-delegates.c: Rebuild.
6065 * target.c (update_current_target): Don't inherit or default
6066 to_get_tracepoint_status.
6067 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
6068 TARGET_DEFAULT_NORETURN.
6069
6070 2014-02-19 Tom Tromey <tromey@redhat.com>
6071
6072 * target-delegates.c: Rebuild.
6073 * target.c (update_current_target): Don't inherit or default
6074 to_get_trace_status.
6075 * target.h (struct target_ops) <to_get_trace_status>: Use
6076 TARGET_DEFAULT_RETURN.
6077
6078 2014-02-19 Tom Tromey <tromey@redhat.com>
6079
6080 * target-delegates.c: Rebuild.
6081 * target.c (update_current_target): Don't inherit or default
6082 to_trace_start.
6083 * target.h (struct target_ops) <to_trace_start>: Use
6084 TARGET_DEFAULT_NORETURN.
6085
6086 2014-02-19 Tom Tromey <tromey@redhat.com>
6087
6088 * target-delegates.c: Rebuild.
6089 * target.c (update_current_target): Don't inherit or default
6090 to_trace_set_readonly_regions.
6091 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
6092 Use TARGET_DEFAULT_NORETURN.
6093
6094 2014-02-19 Tom Tromey <tromey@redhat.com>
6095
6096 * target-delegates.c: Rebuild.
6097 * target.c (update_current_target): Don't inherit or default
6098 to_disable_tracepoint.
6099 * target.h (struct target_ops) <to_disable_tracepoint>: Use
6100 TARGET_DEFAULT_NORETURN.
6101
6102 2014-02-19 Tom Tromey <tromey@redhat.com>
6103
6104 * target-delegates.c: Rebuild.
6105 * target.c (update_current_target): Don't inherit or default
6106 to_enable_tracepoint.
6107 * target.h (struct target_ops) <to_enable_tracepoint>: Use
6108 TARGET_DEFAULT_NORETURN.
6109
6110 2014-02-19 Tom Tromey <tromey@redhat.com>
6111
6112 * target-delegates.c: Rebuild.
6113 * target.c (update_current_target): Don't inherit or default
6114 to_download_trace_state_variable.
6115 * target.h (struct target_ops) <to_download_trace_state_variable>:
6116 Use TARGET_DEFAULT_NORETURN.
6117
6118 2014-02-19 Tom Tromey <tromey@redhat.com>
6119
6120 * target-delegates.c: Rebuild.
6121 * target.c (update_current_target): Don't inherit or default
6122 to_can_download_tracepoint.
6123 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
6124 TARGET_DEFAULT_RETURN.
6125
6126 2014-02-19 Tom Tromey <tromey@redhat.com>
6127
6128 * target-delegates.c: Rebuild.
6129 * target.c (update_current_target): Don't inherit or default
6130 to_download_tracepoint.
6131 * target.h (struct target_ops) <to_download_tracepoint>: Use
6132 TARGET_DEFAULT_NORETURN.
6133
6134 2014-02-19 Tom Tromey <tromey@redhat.com>
6135
6136 * target-delegates.c: Rebuild.
6137 * target.c (update_current_target): Don't inherit or default
6138 to_trace_init.
6139 * target.h (struct target_ops) <to_trace_init>: Use
6140 TARGET_DEFAULT_RETURN.
6141
6142 2014-02-19 Tom Tromey <tromey@redhat.com>
6143
6144 * target-delegates.c: Rebuild.
6145 * target.c (update_current_target): Don't inherit or default
6146 to_supports_string_tracing.
6147 * target.h (struct target_ops) <to_supports_string_tracing>: Use
6148 TARGET_DEFAULT_RETURN.
6149
6150 2014-02-19 Tom Tromey <tromey@redhat.com>
6151
6152 * target-delegates.c: Rebuild.
6153 * target.c (update_current_target): Don't inherit or default
6154 to_supports_enable_disable_tracepoint.
6155 * target.h (struct target_ops)
6156 <to_supports_enable_disable_tracepoint>: Use
6157 TARGET_DEFAULT_RETURN.
6158
6159 2014-02-19 Tom Tromey <tromey@redhat.com>
6160
6161 * target-delegates.c: Rebuild.
6162 * target.c (update_current_target): Don't inherit or default
6163 to_supports_multi_process.
6164 * target.h (struct target_ops) <to_supports_multi_process>: Use
6165 TARGET_DEFAULT_RETURN.
6166
6167 2014-02-19 Tom Tromey <tromey@redhat.com>
6168
6169 * target-delegates.c: Rebuild.
6170 * target.c (update_current_target): Don't inherit or default
6171 to_get_ada_task_ptid.
6172 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
6173 TARGET_DEFAULT_FUNC.
6174
6175 2014-02-19 Tom Tromey <tromey@redhat.com>
6176
6177 * target-delegates.c: Rebuild.
6178 * target.c (update_current_target): Don't inherit or default
6179 to_thread_architecture.
6180 * target.h (struct target_ops) <to_thread_architecture>: Use
6181 TARGET_DEFAULT_FUNC.
6182
6183 2014-02-19 Tom Tromey <tromey@redhat.com>
6184
6185 * target-delegates.c: Rebuild.
6186 * target.c (update_current_target): Don't inherit or default
6187 to_execution_direction.
6188 * target.h (struct target_ops) <to_execution_direction>: Use
6189 TARGET_DEFAULT_FUNC.
6190
6191 2014-02-19 Tom Tromey <tromey@redhat.com>
6192
6193 * target-delegates.c: Rebuild.
6194 * target.c (update_current_target): Don't inherit or default
6195 to_can_execute_reverse.
6196 * target.h (struct target_ops) <to_can_execute_reverse>: Use
6197 TARGET_DEFAULT_RETURN.
6198 (target_can_execute_reverse): Unconditionally delegate.
6199
6200 2014-02-19 Tom Tromey <tromey@redhat.com>
6201
6202 * target-delegates.c: Rebuild.
6203 * target.c (update_current_target): Don't inherit or default
6204 to_goto_bookmark.
6205 (dummy_goto_bookmark): Remove.
6206 (init_dummy_target): Don't inherit or default to_goto_bookmark.
6207 * target.h (struct target_ops) <to_goto_bookmark>: Use
6208 TARGET_DEFAULT_NORETURN.
6209
6210 2014-02-19 Tom Tromey <tromey@redhat.com>
6211
6212 * target-delegates.c: Rebuild.
6213 * target.c (update_current_target): Don't inherit or default
6214 to_get_bookmark.
6215 (dummy_get_bookmark): Remove.
6216 (init_dummy_target): Don't inherit or default to_get_bookmark.
6217 * target.h (struct target_ops) <to_get_bookmark>: Use
6218 TARGET_DEFAULT_NORETURN
6219
6220 2014-02-19 Tom Tromey <tromey@redhat.com>
6221
6222 * target-delegates.c: Rebuild.
6223 * target.c (update_current_target): Don't inherit or default
6224 to_make_corefile_notes.
6225 (init_dummy_target): Don't initialize to_make_corefile_notes.
6226 * target.h (struct target_ops) <to_make_corefile_notes>: Use
6227 TARGET_DEFAULT_FUNC.
6228
6229 2014-02-19 Tom Tromey <tromey@redhat.com>
6230
6231 * target-delegates.c: Rebuild.
6232 * target.c (update_current_target): Don't inherit or default
6233 to_find_memory_regions.
6234 (init_dummy_target): Don't initialize to_find_memory_regions.
6235 * target.h (struct target_ops) <to_find_memory_regions>: Use
6236 TARGET_DEFAULT_FUNC.
6237
6238 2014-02-19 Tom Tromey <tromey@redhat.com>
6239
6240 * target-delegates.c: Rebuild.
6241 * target.c (update_current_target): Don't inherit or default
6242 to_log_command.
6243 * target.h (struct target_ops) <to_log_command>: Use
6244 TARGET_DEFAULT_IGNORE.
6245 (target_log_command): Unconditionally delegate.
6246
6247 2014-02-19 Tom Tromey <tromey@redhat.com>
6248
6249 * target-delegates.c: Rebuild.
6250 * target.c (update_current_target): Don't inherit or default
6251 to_pid_to_exec_file.
6252 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
6253 TARGET_DEFAULT_RETURN.
6254
6255 2014-02-19 Tom Tromey <tromey@redhat.com>
6256
6257 * target-delegates.c: Rebuild.
6258 * target.c (update_current_target): Don't inherit or default
6259 to_thread_name.
6260 (target_thread_name): Unconditionally delegate.
6261 * target.h (struct target_ops) <to_thread_name>: Use
6262 TARGET_DEFAULT_RETURN.
6263
6264 2014-02-19 Tom Tromey <tromey@redhat.com>
6265
6266 * target-delegates.c: Rebuild.
6267 * target.c (update_current_target): Don't inherit or default
6268 to_extra_thread_info.
6269 * target.h (struct target_ops) <to_extra_thread_info>: Use
6270 TARGET_DEFAULT_RETURN.
6271
6272 2014-02-19 Tom Tromey <tromey@redhat.com>
6273
6274 * target-delegates.c: Rebuild.
6275 * target.c (update_current_target): Don't inherit or default
6276 to_has_exited.
6277 * target.h (struct target_ops) <to_has_exited>: Use
6278 TARGET_DEFAULT_RETURN..
6279
6280 2014-02-19 Tom Tromey <tromey@redhat.com>
6281
6282 * target-delegates.c: Rebuild.
6283 * target.c (update_current_target): Don't inherit or default
6284 to_set_syscall_catchpoint.
6285 (return_one): Remove.
6286 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
6287 TARGET_DEFAULT_RETURN.
6288
6289 2014-02-19 Tom Tromey <tromey@redhat.com>
6290
6291 * target-delegates.c: Rebuild.
6292 * target.c (update_current_target): Don't inherit or default
6293 to_insert_exec_catchpoint.
6294 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6295 TARGET_DEFAULT_RETURN.
6296
6297 2014-01-08 Tom Tromey <tromey@redhat.com>
6298
6299 * target-delegates.c: Rebuild.
6300 * target.c (update_current_target): Don't inherit or default
6301 to_insert_exec_catchpoint.
6302 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6303 TARGET_DEFAULT_RETURN.
6304
6305 2014-02-19 Tom Tromey <tromey@redhat.com>
6306
6307 * target-delegates.c: Rebuild.
6308 * target.c (update_current_target): Don't inherit or default
6309 to_remove_vfork_catchpoint.
6310 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
6311 TARGET_DEFAULT_RETURN.
6312
6313 2014-02-19 Tom Tromey <tromey@redhat.com>
6314
6315 * target-delegates.c: Rebuild.
6316 * target.c (update_current_target): Don't inherit or default
6317 to_insert_vfork_catchpoint.
6318 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
6319 TARGET_DEFAULT_RETURN.
6320
6321 2014-02-19 Tom Tromey <tromey@redhat.com>
6322
6323 * target-delegates.c: Rebuild.
6324 * target.c (update_current_target): Don't inherit or default
6325 to_remove_fork_catchpoint.
6326 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
6327 TARGET_DEFAULT_RETURN.
6328
6329 2014-02-19 Tom Tromey <tromey@redhat.com>
6330
6331 * target-delegates.c: Rebuild.
6332 * target.c (update_current_target): Don't inherit or default
6333 to_insert_fork_catchpoint.
6334 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
6335 TARGET_DEFAULT_RETURN.
6336
6337 2014-02-19 Tom Tromey <tromey@redhat.com>
6338
6339 * target-delegates.c: Rebuild.
6340 * target.c (update_current_target): Don't inherit or default
6341 to_post_startup_inferior.
6342 * target.h (struct target_ops) <to_post_startup_inferior>: Use
6343 TARGET_DEFAULT_IGNORE.
6344
6345 2014-02-19 Tom Tromey <tromey@redhat.com>
6346
6347 * target-delegates.c: Rebuild.
6348 * target.c (update_current_target): Don't inherit or default
6349 to_load.
6350 * target.h (struct target_ops) <to_load>: Use
6351 TARGET_DEFAULT_NORETURN.
6352
6353 2014-02-19 Tom Tromey <tromey@redhat.com>
6354
6355 * target-delegates.c: Rebuild.
6356 * target.c (update_current_target): Don't inherit or default
6357 to_terminal_info.
6358 * target.h (struct target_ops) <to_terminal_info>: Use
6359 TARGET_DEFAULT_FUNC.
6360
6361 2014-02-19 Tom Tromey <tromey@redhat.com>
6362
6363 * target-delegates.c: Rebuild.
6364 * target.c (update_current_target): Don't inherit or default
6365 to_terminal_save_ours.
6366 * target.h (struct target_ops) <to_terminal_save_ours>: Use
6367 TARGET_DEFAULT_IGNORE.
6368
6369 2014-02-19 Tom Tromey <tromey@redhat.com>
6370
6371 * target-delegates.c: Rebuild.
6372 * target.c (update_current_target): Don't inherit or default
6373 to_terminal_ours.
6374 * target.h (struct target_ops) <to_terminal_ours>: Use
6375 TARGET_DEFAULT_IGNORE.
6376
6377 2014-02-19 Tom Tromey <tromey@redhat.com>
6378
6379 * target-delegates.c: Rebuild.
6380 * target.c (update_current_target): Don't inherit or default
6381 to_terminal_ours_for_output.
6382 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
6383 TARGET_DEFAULT_IGNORE.
6384
6385 2014-02-19 Tom Tromey <tromey@redhat.com>
6386
6387 * target-delegates.c: Rebuild.
6388 * target.c (update_current_target): Don't inherit or default
6389 to_terminal_inferior.
6390 * target.h (struct target_ops) <to_terminal_inferior>: Use
6391 TARGET_DEFAULT_IGNORE.
6392
6393 2014-02-19 Tom Tromey <tromey@redhat.com>
6394
6395 * target-delegates.c: Rebuild.
6396 * target.c (update_current_target): Don't inherit or default
6397 to_terminal_init.
6398 * target.h (struct target_ops) <to_terminal_init>: Use
6399 TARGET_DEFAULT_IGNORE.
6400
6401 2014-02-19 Tom Tromey <tromey@redhat.com>
6402
6403 * target-delegates.c: Rebuild.
6404 * target.c (update_current_target): Don't inherit or default
6405 to_can_accel_watchpoint_condition.
6406 * target.h (struct target_ops)
6407 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
6408
6409 2014-02-19 Tom Tromey <tromey@redhat.com>
6410
6411 * target-delegates.c: Rebuild.
6412 * target.c (update_current_target): Don't inherit or default
6413 to_region_ok_for_hw_watchpoint.
6414 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
6415 Use TARGET_DEFAULT_FUNC.
6416
6417 2014-02-19 Tom Tromey <tromey@redhat.com>
6418
6419 * target-delegates.c: Rebuild.
6420 * target.c (update_current_target): Don't inherit or default
6421 to_watchpoint_addr_within_range.
6422 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
6423 Use TARGET_DEFAULT_FUNC.
6424
6425 2014-02-19 Tom Tromey <tromey@redhat.com>
6426
6427 * target-delegates.c: Rebuild.
6428 * target.c (update_current_target): Don't inherit or default
6429 to_remove_watchpoint.
6430 * target.h (struct target_ops) <to_remove_watchpoint>: Use
6431 TARGET_DEFAULT_NORETURN.
6432
6433 2014-02-19 Tom Tromey <tromey@redhat.com>
6434
6435 * target-delegates.c: Rebuild.
6436 * target.c (update_current_target): Don't inherit or default
6437 to_insert_watchpoint.
6438 * target.h (struct target_ops) <to_insert_watchpoint>: Use
6439 TARGET_DEFAULT_RETURN.
6440
6441 2014-02-19 Tom Tromey <tromey@redhat.com>
6442
6443 * target-delegates.c: Rebuild.
6444 * target.c (update_current_target): Don't inherit or default
6445 to_remove_hw_breakpoint.
6446 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
6447 TARGET_DEFAULT_RETURN.
6448
6449 2014-02-19 Tom Tromey <tromey@redhat.com>
6450
6451 * target-delegates.c: Rebuild.
6452 * target.c (update_current_target): Don't inherit or default
6453 to_insert_hw_breakpoint.
6454 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
6455 TARGET_DEFAULT_RETURN.
6456
6457 2014-02-19 Tom Tromey <tromey@redhat.com>
6458
6459 * target-delegates.c: Rebuild.
6460 * target.c (update_current_target): Don't inherit or default
6461 to_can_use_hw_breakpoint.
6462 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
6463 TARGET_DEFAULT_RETURN.
6464
6465 2014-02-19 Tom Tromey <tromey@redhat.com>
6466
6467 * target-delegates.c: Rebuild.
6468 * target.c (update_current_target): Don't inherit or default
6469 to_files_info.
6470 * target.h (struct target_ops) <to_files_info>: Use
6471 TARGET_DEFAULT_IGNORE.
6472
6473 2014-02-19 Tom Tromey <tromey@redhat.com>
6474
6475 * target-delegates.c: Rebuild.
6476 * target.c (update_current_target): Don't inherit or default
6477 to_store.
6478 * target.h (struct target_ops) <to_store>: Use
6479 TARGET_DEFAULT_NORETURN.
6480
6481 2014-02-19 Tom Tromey <tromey@redhat.com>
6482
6483 * target-delegates.c: Rebuild.
6484 * target.c (update_current_target): Don't inherit or default
6485 to_post_attach.
6486 * target.h (struct target_ops) <to_post_attach>: Use
6487 TARGET_DEFAULT_IGNORE.
6488
6489 2014-02-19 Tom Tromey <tromey@redhat.com>
6490
6491 * target-delegates.c: Rebuild.
6492 * target.c (update_current_target): Don't inherit or default
6493 to_rcmd.
6494 (default_rcmd): New function.
6495 (do_monitor_command): Unconditionally delegate.
6496 * target.h (struct target_ops) <to_rmcd>: Use
6497 TARGET_DEFAULT_FUNC.
6498
6499 2014-02-19 Tom Tromey <tromey@redhat.com>
6500
6501 * target-delegates.c: Rebuild.
6502 * target.c (init_dummy_target): Don't initialize to_attach.
6503 (target_attach): Unconditionally delegate.
6504 * target.h (struct target_ops) <to_attach>: Use
6505 TARGET_DEFAULT_FUNC.
6506
6507 2014-02-19 Tom Tromey <tromey@redhat.com>
6508
6509 * target-delegates.c: Rebuild.
6510 * target.c (target_detach): Unconditionally delegate.
6511 (init_dummy_target): Don't initialize to_detach.
6512 * target.h (struct target_ops) <to_detach>: Use
6513 TARGET_DEFAULT_IGNORE.
6514
6515 2014-02-19 Tom Tromey <tromey@redhat.com>
6516
6517 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
6518 Add argument.
6519 (target_augmented_libraries_svr4_read): Add argument.
6520 * target.c (update_current_target): Update.
6521 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
6522 argument.
6523
6524 2014-02-19 Tom Tromey <tromey@redhat.com>
6525
6526 * target.h (struct target_ops) <to_call_history_range>: Add
6527 argument.
6528 * target.c (target_call_history_range): Add argument.
6529 * record-btrace.c (record_btrace_call_history_range): Add 'self'
6530 argument.
6531 (record_btrace_call_history_from): Update.
6532
6533 2014-02-19 Tom Tromey <tromey@redhat.com>
6534
6535 * target.h (struct target_ops) <to_call_history_from>: Add
6536 argument.
6537 * target.c (target_call_history_from): Add argument.
6538 * record-btrace.c (record_btrace_call_history_from): Add 'self'
6539 argument.
6540
6541 2014-02-19 Tom Tromey <tromey@redhat.com>
6542
6543 * target.h (struct target_ops) <to_call_history>: Add argument.
6544 * target.c (target_call_history): Add argument.
6545 * record-btrace.c (record_btrace_call_history): Add 'self'
6546 argument.
6547
6548 2014-02-19 Tom Tromey <tromey@redhat.com>
6549
6550 * target.h (struct target_ops) <to_insn_history_range>: Add
6551 argument.
6552 * target.c (target_insn_history_range): Add argument.
6553 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
6554 argument.
6555 (record_btrace_insn_history_from): Update.
6556
6557 2014-02-19 Tom Tromey <tromey@redhat.com>
6558
6559 * target.h (struct target_ops) <to_insn_history_from>: Add
6560 argument.
6561 * target.c (target_insn_history_from): Add argument.
6562 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
6563 argument.
6564
6565 2014-02-19 Tom Tromey <tromey@redhat.com>
6566
6567 * target.h (struct target_ops) <to_insn_history>: Add argument.
6568 * target.c (target_insn_history): Add argument.
6569 * record-btrace.c (record_btrace_insn_history): Add 'self'
6570 argument.
6571
6572 2014-02-19 Tom Tromey <tromey@redhat.com>
6573
6574 * target.h (struct target_ops) <to_goto_record>: Add argument.
6575 * target.c (target_goto_record): Add argument.
6576 * record-full.c (record_full_goto): Add 'self' argument.
6577 * record-btrace.c (record_btrace_goto): Add 'self' argument.
6578
6579 2014-02-19 Tom Tromey <tromey@redhat.com>
6580
6581 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
6582 * target.c (target_goto_record_end): Add argument.
6583 * record-full.c (record_full_goto_end): Add 'self' argument.
6584 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
6585
6586 2014-02-19 Tom Tromey <tromey@redhat.com>
6587
6588 * target.h (struct target_ops) <to_goto_record_begin>: Add
6589 argument.
6590 * target.c (target_goto_record_begin): Add argument.
6591 * record-full.c (record_full_goto_begin): Add 'self' argument.
6592 * record-btrace.c (record_btrace_goto_begin): Add 'self'
6593 argument.
6594
6595 2014-02-19 Tom Tromey <tromey@redhat.com>
6596
6597 * target.h (struct target_ops) <to_record_is_replaying>: Add
6598 argument.
6599 * target.c (target_record_is_replaying): Add argument.
6600 * record-full.c (record_full_is_replaying): Add 'self' argument.
6601 * record-btrace.c (record_btrace_is_replaying): Add 'self'
6602 argument.
6603 (record_btrace_xfer_partial, record_btrace_store_registers)
6604 (record_btrace_prepare_to_store, record_btrace_resume)
6605 (record_btrace_wait, record_btrace_decr_pc_after_break)
6606 (record_btrace_find_new_threads, record_btrace_thread_alive):
6607 Update.
6608
6609 2014-02-19 Tom Tromey <tromey@redhat.com>
6610
6611 * target.h (struct target_ops) <to_delete_record>: Add argument.
6612 * target.c (target_delete_record): Add argument.
6613 * record-full.c (record_full_delete): Add 'self' argument.
6614
6615 2014-02-19 Tom Tromey <tromey@redhat.com>
6616
6617 * target.h (struct target_ops) <to_save_record>: Add argument.
6618 * target.c (target_save_record): Add argument.
6619 * record-full.c (record_full_save): Add 'self' argument.
6620 (record_full_save): Add 'self' argument.
6621
6622 2014-02-19 Tom Tromey <tromey@redhat.com>
6623
6624 * target.h (struct target_ops) <to_info_record>: Add argument.
6625 * target.c (target_info_record): Add argument.
6626 * record.c (info_record_command): Add argument.
6627 * record-full.c (record_full_info): Add 'self' argument.
6628 * record-btrace.c (record_btrace_info): Add 'self' argument.
6629
6630 2014-02-19 Tom Tromey <tromey@redhat.com>
6631
6632 * target.h (struct target_ops) <to_stop_recording>: Add argument.
6633 * target.c (target_stop_recording): Add argument.
6634 * record.c (record_stop): Add argument.
6635 * record-btrace.c (record_btrace_stop_recording): Add 'self'
6636 argument.
6637
6638 2014-02-19 Tom Tromey <tromey@redhat.com>
6639
6640 * target.h (struct target_ops) <to_read_btrace>: Add argument.
6641 * target.c (struct target_ops) <to_read_btrace>: Add argument.
6642 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
6643 argument.
6644 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
6645 (_initialize_amd64_linux_nat): Use it.
6646 * i386-linux-nat.c (i386_linux_read_btrace): New function.
6647 (_initialize_i386_linux_nat): Use it.
6648
6649 2014-02-19 Tom Tromey <tromey@redhat.com>
6650
6651 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
6652 * target.c (target_teardown_btrace): Add argument.
6653 * remote.c (remote_teardown_btrace): Add 'self' argument.
6654 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
6655 argument.
6656 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
6657 argument.
6658
6659 2014-02-19 Tom Tromey <tromey@redhat.com>
6660
6661 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
6662 * target.c (target_disable_btrace): Add argument.
6663 * remote.c (remote_disable_btrace): Add 'self' argument.
6664 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
6665 argument.
6666 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
6667 argument.
6668
6669 2014-02-19 Tom Tromey <tromey@redhat.com>
6670
6671 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
6672 * target.c (target_enable_btrace): Add argument.
6673 * remote.c (remote_enable_btrace): Add 'self' argument.
6674 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
6675 argument.
6676 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
6677 argument.
6678
6679 2014-02-19 Tom Tromey <tromey@redhat.com>
6680
6681 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
6682 (target_can_use_agent): Add argument.
6683 * target.c (update_current_target): Update.
6684 * remote.c (remote_can_use_agent): Add 'self' argument.
6685 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
6686
6687 2014-02-19 Tom Tromey <tromey@redhat.com>
6688
6689 * target.h (struct target_ops) <to_use_agent>: Add argument.
6690 (target_use_agent): Add argument.
6691 * target.c (update_current_target): Update.
6692 * remote.c (remote_use_agent): Add 'self' argument.
6693 * inf-child.c (inf_child_use_agent): Add 'self' argument.
6694
6695 2014-02-19 Tom Tromey <tromey@redhat.com>
6696
6697 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
6698 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
6699 (target_traceframe_info): Add argument.
6700 * target.c (update_current_target): Update.
6701 * remote.c (remote_traceframe_info): Add 'self' argument.
6702 * ctf.c (ctf_traceframe_info): Add 'self' argument.
6703
6704 2014-02-19 Tom Tromey <tromey@redhat.com>
6705
6706 * target.h (target_static_tracepoint_markers_by_strid): Add
6707 argument.
6708 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
6709 'self' argument.
6710 * target.c (update_current_target): Update.
6711 * remote.c (struct target_ops)
6712 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
6713 * linux-nat.c (struct target_ops)
6714 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
6715
6716 2014-02-19 Tom Tromey <tromey@redhat.com>
6717
6718 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
6719 Add argument.
6720 (target_static_tracepoint_marker_at): Add argument.
6721 * target.c (update_current_target): Update.
6722 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
6723 argument.
6724
6725 2014-02-19 Tom Tromey <tromey@redhat.com>
6726
6727 * target.h (struct target_ops) <to_set_permissions>: Add argument.
6728 (target_set_permissions): Add argument.
6729 * target.c (update_current_target): Update.
6730 * remote.c (remote_set_permissions): Add 'self' argument.
6731 (remote_start_remote): Update.
6732
6733 2014-02-19 Tom Tromey <tromey@redhat.com>
6734
6735 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
6736 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
6737 (target_get_tib_address): Add argument.
6738 * target.c (update_current_target): Update.
6739 * remote.c (remote_get_tib_address): Add 'self' argument.
6740
6741 2014-02-19 Tom Tromey <tromey@redhat.com>
6742
6743 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
6744 (target_set_trace_notes): Add argument.
6745 * target.c (update_current_target): Update.
6746 * remote.c (remote_set_trace_notes): Add 'self' argument.
6747
6748 2014-02-19 Tom Tromey <tromey@redhat.com>
6749
6750 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
6751 argument.
6752 (target_set_trace_buffer_size): Add argument.
6753 * target.c (update_current_target): Update.
6754 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
6755
6756 2014-02-19 Tom Tromey <tromey@redhat.com>
6757
6758 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
6759 argument.
6760 (target_set_circular_trace_buffer): Add argument.
6761 * target.c (update_current_target): Update.
6762 * remote.c (remote_set_circular_trace_buffer): Add 'self'
6763 argument.
6764
6765 2014-02-19 Tom Tromey <tromey@redhat.com>
6766
6767 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
6768 argument.
6769 (target_set_disconnected_tracing): Add argument.
6770 * target.c (update_current_target): Update.
6771 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
6772
6773 2014-02-19 Tom Tromey <tromey@redhat.com>
6774
6775 * target.h (struct target_ops)
6776 <to_get_min_fast_tracepoint_insn_len>: Add argument.
6777 (target_get_min_fast_tracepoint_insn_len): Add argument.
6778 * target.c (update_current_target): Update.
6779 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
6780 argument.
6781
6782 2014-02-19 Tom Tromey <tromey@redhat.com>
6783
6784 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
6785 argument.
6786 (target_get_raw_trace_data): Add argument.
6787 * target.c (update_current_target): Update.
6788 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
6789
6790 2014-02-19 Tom Tromey <tromey@redhat.com>
6791
6792 * target.h (struct target_ops) <to_upload_trace_state_variables>:
6793 Add argument.
6794 (target_upload_trace_state_variables): Add argument.
6795 * target.c (update_current_target): Update.
6796 * remote.c (remote_upload_trace_state_variables): Add 'self'
6797 argument.
6798 (remote_start_remote): Update.
6799
6800 2014-02-19 Tom Tromey <tromey@redhat.com>
6801
6802 * target.h (struct target_ops) <to_upload_tracepoints>: Add
6803 argument.
6804 (target_upload_tracepoints): Add argument.
6805 * target.c (update_current_target): Update.
6806 * remote.c (remote_upload_tracepoints): Add 'self' argument.
6807 (remote_start_remote): Update.
6808
6809 2014-02-19 Tom Tromey <tromey@redhat.com>
6810
6811 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
6812 (target_save_trace_data): Add argument.
6813 * target.c (update_current_target): Update.
6814 * remote.c (remote_save_trace_data): Add 'self' argument.
6815
6816 2014-02-19 Tom Tromey <tromey@redhat.com>
6817
6818 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
6819 argument.
6820 * target.h (struct target_ops)
6821 <to_get_trace_state_variable_value>: Add argument.
6822 (target_get_trace_state_variable_value): Add argument.
6823 * target.c (update_current_target): Update.
6824 * remote.c (remote_get_trace_state_variable_value): Add 'self'
6825 argument.
6826 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
6827
6828 2014-02-19 Tom Tromey <tromey@redhat.com>
6829
6830 * tracepoint.c (tfile_trace_find): Add 'self' argument.
6831 * target.h (struct target_ops) <to_trace_find>: Add argument.
6832 (target_trace_find): Add argument.
6833 * target.c (update_current_target): Update.
6834 * remote.c (remote_trace_find): Add 'self' argument.
6835 * ctf.c (ctf_trace_find): Add 'self' argument.
6836
6837 2014-02-19 Tom Tromey <tromey@redhat.com>
6838
6839 * target.h (struct target_ops) <to_trace_stop>: Add argument.
6840 (target_trace_stop): Add argument.
6841 * target.c (update_current_target): Update.
6842 * remote.c (remote_trace_stop): Add 'self' argument.
6843
6844 2014-02-19 Tom Tromey <tromey@redhat.com>
6845
6846 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
6847 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
6848 argument.
6849 (target_get_tracepoint_status): Add argument.
6850 * target.c (update_current_target): Update.
6851 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
6852
6853 2014-02-19 Tom Tromey <tromey@redhat.com>
6854
6855 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
6856 * target.h (struct target_ops) <to_get_trace_status>: Add
6857 argument.
6858 (target_get_trace_status): Add argument.
6859 * target.c (update_current_target): Update.
6860 * remote.c (remote_get_trace_status): Add 'self' argument.
6861 (remote_start_remote, remote_can_download_tracepoint): Update.
6862 * ctf.c (ctf_get_trace_status): Add 'self' argument.
6863
6864 2014-02-19 Tom Tromey <tromey@redhat.com>
6865
6866 * target.h (struct target_ops) <to_trace_start>: Add argument.
6867 (target_trace_start): Add argument.
6868 * target.c (update_current_target): Update.
6869 * remote.c (remote_trace_start): Add 'self' argument.
6870
6871 2014-02-19 Tom Tromey <tromey@redhat.com>
6872
6873 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
6874 Add argument.
6875 (target_trace_set_readonly_regions): Add argument.
6876 * target.c (update_current_target): Update.
6877 * remote.c (remote_trace_set_readonly_regions): Add 'self'
6878 argument.
6879
6880 2014-02-19 Tom Tromey <tromey@redhat.com>
6881
6882 * target.h (struct target_ops) <to_disable_tracepoint>: Add
6883 argument.
6884 (target_disable_tracepoint): Add argument.
6885 * target.c (update_current_target): Update.
6886 * remote.c (remote_disable_tracepoint): Add 'self' argument.
6887
6888 2014-02-19 Tom Tromey <tromey@redhat.com>
6889
6890 * target.h (struct target_ops) <to_enable_tracepoint>: Add
6891 argument.
6892 (target_enable_tracepoint): Add argument.
6893 * target.c (update_current_target): Update.
6894 * remote.c (remote_enable_tracepoint): Add 'self' argument.
6895
6896 2014-02-19 Tom Tromey <tromey@redhat.com>
6897
6898 * target.h (struct target_ops) <to_download_trace_state_variable>:
6899 Add argument.
6900 (target_download_trace_state_variable): Add argument.
6901 * target.c (update_current_target): Update.
6902 * remote.c (remote_download_trace_state_variable): Add 'self'
6903 argument.
6904
6905 2014-02-19 Tom Tromey <tromey@redhat.com>
6906
6907 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
6908 argument.
6909 (target_can_download_tracepoint): Add argument.
6910 * target.c (update_current_target): Update.
6911 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
6912
6913 2014-02-19 Tom Tromey <tromey@redhat.com>
6914
6915 * target.h (struct target_ops) <to_download_tracepoint>: Add
6916 argument.
6917 (target_download_tracepoint): Add argument.
6918 * target.c (update_current_target): Update.
6919 * remote.c (remote_download_tracepoint): Add 'self' argument.
6920
6921 2014-02-19 Tom Tromey <tromey@redhat.com>
6922
6923 * target.h (struct target_ops) <to_trace_init>: Add argument.
6924 (target_trace_init): Add argument.
6925 * target.c (update_current_target): Update.
6926 * remote.c (remote_trace_init): Add 'self' argument.
6927
6928 2014-02-19 Tom Tromey <tromey@redhat.com>
6929
6930 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
6931 * target.c (target_fileio_readlink): Add argument.
6932 * remote.c (remote_hostio_readlink): Add 'self' argument.
6933 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
6934
6935 2014-02-19 Tom Tromey <tromey@redhat.com>
6936
6937 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
6938 * target.c (target_fileio_unlink): Add argument.
6939 * remote.c (remote_hostio_unlink): Add 'self' argument.
6940 (remote_file_delete): Update.
6941 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
6942
6943 2014-02-19 Tom Tromey <tromey@redhat.com>
6944
6945 * target.h (struct target_ops) <to_fileio_close>: Add argument.
6946 * target.c (target_fileio_close): Add argument.
6947 * remote.c (remote_hostio_close): Add 'self' argument.
6948 (remote_hostio_close_cleanup): Update.
6949 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
6950 Update.
6951 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
6952
6953 2014-02-19 Tom Tromey <tromey@redhat.com>
6954
6955 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
6956 * target.c (target_fileio_pread): Add argument.
6957 * remote.c (remote_hostio_pread): Add 'self' argument.
6958 (remote_bfd_iovec_pread, remote_file_get): Update.
6959 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
6960
6961 2014-02-19 Tom Tromey <tromey@redhat.com>
6962
6963 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
6964 * target.c (target_fileio_pwrite): Add argument.
6965 * remote.c (remote_hostio_pwrite): Add 'self' argument.
6966 (remote_file_put): Update.
6967 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
6968
6969 2014-02-19 Tom Tromey <tromey@redhat.com>
6970
6971 * target.h (struct target_ops) <to_fileio_open>: Add argument.
6972 * target.c (target_fileio_open): Add argument.
6973 * remote.c (remote_hostio_open): Add 'self' argument.
6974 (remote_bfd_iovec_open): Add 'self' argument.
6975 (remote_file_put): Add 'self' argument.
6976 (remote_file_get): Add 'self' argument.
6977 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
6978
6979 2014-02-19 Tom Tromey <tromey@redhat.com>
6980
6981 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
6982 Add argument.
6983 (target_can_run_breakpoint_commands): Add argument.
6984 * target.c (update_current_target): Update.
6985 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
6986 argument.
6987 (remote_insert_breakpoint): Add 'self' argument.
6988 (remote_insert_hw_breakpoint): Add 'self' argument.
6989 (remote_can_run_breakpoint_commands): Add 'self' argument.
6990
6991 2014-02-19 Tom Tromey <tromey@redhat.com>
6992
6993 * target.h (struct target_ops)
6994 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
6995 (target_supports_evaluation_of_breakpoint_conditions): Add
6996 argument.
6997 * target.c (update_current_target): Update.
6998 * remote.c (remote_supports_cond_breakpoints): Add 'self'
6999 argument.
7000 (remote_insert_breakpoint): Add 'self' argument.
7001 (remote_insert_hw_breakpoint): Add 'self' argument.
7002 (remote_supports_cond_breakpoints): Add 'self' argument.
7003
7004 2014-02-19 Tom Tromey <tromey@redhat.com>
7005
7006 * target.h (struct target_ops) <to_supports_string_tracing>: Add
7007 argument.
7008 (target_supports_string_tracing): Add argument.
7009 * target.c (update_current_target): Update.
7010 * remote.c (remote_supports_string_tracing): Add 'self' argument.
7011
7012 2014-02-19 Tom Tromey <tromey@redhat.com>
7013
7014 * target.h (struct target_ops)
7015 <to_supports_disable_randomization>: Add argument.
7016 * target.c (find_default_supports_disable_randomization): Add
7017 argument.
7018 (target_supports_disable_randomization): Add argument.
7019 (find_default_supports_disable_randomization): Add 'self'
7020 argument.
7021 * remote.c (extended_remote_supports_disable_randomization): Add
7022 'self' argument.
7023 (remote_supports_disable_randomization): Add 'self' argument.
7024 (extended_remote_create_inferior): Update.
7025 * linux-nat.c (linux_nat_supports_disable_randomization): Add
7026 'self' argument.
7027
7028 2014-02-19 Tom Tromey <tromey@redhat.com>
7029
7030 * target.h (struct target_ops)
7031 <to_supports_enable_disable_tracepoint>: Add argument.
7032 (target_supports_enable_disable_tracepoint): Add argument.
7033 * target.c (update_current_target): Update.
7034 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
7035 argument.
7036
7037 2014-02-19 Tom Tromey <tromey@redhat.com>
7038
7039 * target.h (struct target_ops) <to_supports_multi_process>: Add
7040 argument.
7041 (target_supports_multi_process): Add argument.
7042 * target.c (update_current_target): Update.
7043 * remote.c (remote_supports_multi_process): Add 'self' argument.
7044 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
7045 argument.
7046 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
7047 argument.
7048
7049 2014-02-19 Tom Tromey <tromey@redhat.com>
7050
7051 * target.h (struct target_ops) <to_execution_direction>: Add
7052 argument.
7053 (target_execution_direction): Add argument.
7054 * target.c (default_execution_direction): Add 'self' argument.
7055 * record-full.c (record_full_execution_direction): Add 'self'
7056 argument.
7057
7058 2014-02-19 Tom Tromey <tromey@redhat.com>
7059
7060 * target.h (struct target_ops) <to_can_execute_reverse>: Add
7061 argument.
7062 (target_can_execute_reverse): Add argument.
7063 * remote.c (remote_can_execute_reverse): Add 'self' argument.
7064 * record-full.c (record_full_can_execute_reverse): Add 'self'
7065 argument.
7066 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
7067 argument.
7068
7069 2014-02-19 Tom Tromey <tromey@redhat.com>
7070
7071 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
7072 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
7073 argument.
7074 (target_get_ada_task_ptid): Add argument.
7075 * target.c (update_current_target): Update.
7076 (default_get_ada_task_ptid): Add 'self' argument.
7077 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
7078 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
7079 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
7080 argument.
7081 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
7082 argument.
7083 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
7084 argument.
7085 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
7086 argument.
7087 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
7088 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
7089 argument.
7090
7091 2014-02-19 Tom Tromey <tromey@redhat.com>
7092
7093 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
7094 (target_goto_bookmark): Add argument.
7095 * target.c (dummy_goto_bookmark): Add 'self' argument.
7096 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
7097
7098 2014-02-19 Tom Tromey <tromey@redhat.com>
7099
7100 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
7101 (target_get_bookmark): Add argument.
7102 * target.c (dummy_get_bookmark): Add 'self' argument.
7103 * record-full.c (record_full_get_bookmark): Add 'self' argument.
7104
7105 2014-02-19 Tom Tromey <tromey@redhat.com>
7106
7107 * target.h (struct target_ops) <to_make_corefile_notes>: Add
7108 argument.
7109 (target_make_corefile_notes): Add argument.
7110 * target.c (dummy_make_corefile_notes): Add 'self' argument.
7111 * procfs.c (procfs_make_note_section): Add 'self' argument.
7112 (procfs_make_note_section): Add 'self' argument.
7113 (procfs_make_note_section): Add 'self' argument.
7114 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
7115 argument.
7116 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
7117 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
7118 * exec.c (exec_make_note_section): Add 'self' argument.
7119 (exec_make_note_section): Add 'self' argument.
7120
7121 2014-02-19 Tom Tromey <tromey@redhat.com>
7122
7123 * target.h (struct target_ops) <to_find_memory_regions>: Add
7124 argument.
7125 (target_find_memory_regions): Add argument.
7126 * target.c (dummy_find_memory_regions): Add 'self' argument.
7127 * procfs.c (proc_find_memory_regions): Add 'self' argument.
7128 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
7129 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
7130 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
7131 * exec. (exec_do_find_memory_regions): New global.
7132 (exec_set_find_memory_regions): Rewrite.
7133 (exec_find_memory_regions): New function.
7134 (init_exec_ops): Use exec_find_memory_regions.
7135
7136 2014-02-19 Tom Tromey <tromey@redhat.com>
7137
7138 * target.h (struct target_ops) <to_supports_non_stop>: Add
7139 argument.
7140 * target.c (find_default_supports_non_stop): Add argument.
7141 (target_supports_non_stop): Add argument.
7142 (find_default_supports_non_stop): Add 'self' argument.
7143 * remote.c (remote_supports_non_stop): Add 'self' argument.
7144 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
7145
7146 2014-02-19 Tom Tromey <tromey@redhat.com>
7147
7148 * target.h (struct target_ops) <to_log_command>: Add argument.
7149 (target_log_command): Add argument.
7150 * serial.h (serial_log_command): Add 'self' argument.
7151 * serial.c (serial_log_command): Add 'self' argument.
7152
7153 2014-02-19 Tom Tromey <tromey@redhat.com>
7154
7155 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
7156 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
7157 argument.
7158 (target_pid_to_exec_file): Add argument.
7159 * target.c (debug_to_pid_to_exec_file): Add argument.
7160 (update_current_target): Update.
7161 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
7162 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
7163 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
7164 (linux_handle_extended_wait): Update.
7165 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
7166 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
7167 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
7168 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
7169
7170 2014-02-19 Tom Tromey <tromey@redhat.com>
7171
7172 * target.h (struct target_ops) <to_rcmd>: Add argument.
7173 (target_rcmd): Add argument.
7174 * target.c (debug_to_rcmd): Add argument.
7175 (update_current_target, do_monitor_command): Update.
7176 * remote.c (remote_rcmd): Add 'self' argument.
7177 * monitor.c (monitor_rcmd): Add 'self' argument.
7178
7179 2014-02-19 Tom Tromey <tromey@redhat.com>
7180
7181 * windows-nat.c (windows_stop): Add 'self' argument.
7182 * target.h (struct target_ops) <to_stop>: Add argument.
7183 * target.c (target_stop): Add argument.
7184 (debug_to_stop): Add argument.
7185 (update_current_target): Update.
7186 * remote.c (remote_stop): Add 'self' argument.
7187 * remote-sim.c (gdbsim_stop): Add 'self' argument.
7188 (gdbsim_cntrl_c): Update.
7189 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
7190 * procfs.c (procfs_stop): Add 'self' argument.
7191 * nto-procfs.c (procfs_stop): Add 'self' argument.
7192 * monitor.c (monitor_stop): Add 'self' argument.
7193 (monitor_open): Update.
7194 * linux-nat.c (linux_nat_stop): Add argument.
7195 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
7196 * gnu-nat.c (gnu_stop): Add 'self' argument.
7197 * darwin-nat.c (darwin_stop): Add 'self' argument.
7198
7199 2014-02-19 Tom Tromey <tromey@redhat.com>
7200
7201 * target.h (struct target_ops) <to_thread_name>: Add argument.
7202 * target.c (target_thread_name): Add argument.
7203 (update_current_target): Update.
7204 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
7205
7206 2014-02-19 Tom Tromey <tromey@redhat.com>
7207
7208 * target.h (struct target_ops) <to_extra_thread_info>: Add
7209 argument.
7210 (target_extra_thread_info): Add argument.
7211 * target.c (update_current_target): Update.
7212 * remote.c (remote_threads_extra_info): Add 'self' argument.
7213 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
7214 argument.
7215 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
7216 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
7217 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
7218 argument.
7219 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
7220 argument.
7221 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
7222 argument.
7223 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
7224 argument.
7225
7226 2014-02-19 Tom Tromey <tromey@redhat.com>
7227
7228 * target.h (struct target_ops) <to_program_signals>: Add argument.
7229 * target.c (target_program_signals): Add argument.
7230 * remote.c (remote_program_signals): Add 'self' argument.
7231
7232 2014-02-19 Tom Tromey <tromey@redhat.com>
7233
7234 * target.h (struct target_ops) <to_pass_signals>: Add argument.
7235 * target.c (target_pass_signals): Add argument.
7236 * remote.c (remote_pass_signals): Add 'self' argument.
7237 (remote_start_remote): Update.
7238 * procfs.c (procfs_pass_signals): Add 'self' argument.
7239 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
7240 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
7241 (linux_nat_create_inferior, linux_nat_attach): Update.
7242
7243 2014-02-19 Tom Tromey <tromey@redhat.com>
7244
7245 * windows-nat.c (windows_can_run): Add 'self' argument.
7246 * target.h (struct target_ops) <to_can_run>: Add argument.
7247 (target_can_run): Add argument.
7248 * target.c (debug_to_can_run): Add argument.
7249 (update_current_target): Update.
7250 * nto-procfs.c (procfs_can_run): Add 'self' argument.
7251 * inf-child.c (inf_child_can_run): Add 'self' argument.
7252 * go32-nat.c (go32_can_run): Add 'self' argument.
7253
7254 2014-02-19 Tom Tromey <tromey@redhat.com>
7255
7256 * target.h (struct target_ops) <to_has_exited>: Add argument.
7257 (target_has_exited): Add argument.
7258 * target.c (debug_to_has_exited): Add argument.
7259 (update_current_target): Update.
7260
7261 2014-02-19 Tom Tromey <tromey@redhat.com>
7262
7263 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
7264 argument.
7265 (target_set_syscall_catchpoint): Add argument.
7266 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
7267 argument.
7268 * target.c (update_current_target): Update.
7269
7270 2014-02-19 Tom Tromey <tromey@redhat.com>
7271
7272 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
7273 argument.
7274 (target_remove_exec_catchpoint): Add argument.
7275 * target.c (debug_to_remove_exec_catchpoint): Add argument.
7276 (update_current_target): Update.
7277 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
7278 argument.
7279
7280 2014-02-19 Tom Tromey <tromey@redhat.com>
7281
7282 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
7283 argument.
7284 (target_insert_exec_catchpoint): Add argument.
7285 * target.c (debug_to_insert_exec_catchpoint): Add argument.
7286 (update_current_target): Update.
7287 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
7288 argument.
7289
7290 2014-02-19 Tom Tromey <tromey@redhat.com>
7291
7292 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
7293 argument.
7294 (target_remove_vfork_catchpoint): Add argument.
7295 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
7296 (update_current_target): Update.
7297 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
7298 argument.
7299
7300 2014-02-19 Tom Tromey <tromey@redhat.com>
7301
7302 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
7303 argument.
7304 (target_insert_vfork_catchpoint): Add argument.
7305 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
7306 (update_current_target): Update.
7307 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
7308 argument.
7309
7310 2014-02-19 Tom Tromey <tromey@redhat.com>
7311
7312 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
7313 argument.
7314 (target_remove_fork_catchpoint): Add argument.
7315 * target.c (debug_to_remove_fork_catchpoint): Add argument.
7316 (update_current_target): Update.
7317 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
7318 argument.
7319
7320 2014-02-19 Tom Tromey <tromey@redhat.com>
7321
7322 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
7323 argument.
7324 (target_insert_fork_catchpoint): Add argument.
7325 * target.c (debug_to_insert_fork_catchpoint): Add argument.
7326 (update_current_target): Update.
7327 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
7328 argument.
7329
7330 2014-02-19 Tom Tromey <tromey@redhat.com>
7331
7332 * target.h (struct target_ops) <to_post_startup_inferior>: Add
7333 argument.
7334 (target_post_startup_inferior): Add argument.
7335 * target.c (debug_to_post_startup_inferior): Add argument.
7336 (update_current_target): Update.
7337 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
7338 argument.
7339 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
7340 argument.
7341 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
7342 argument.
7343 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
7344 argument.
7345 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
7346 'self' argument.
7347 (super_post_startup_inferior): Likewise.
7348 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
7349 'self' argument.
7350 (super_post_startup_inferior): Likewise.
7351 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
7352 Add 'self' argument.
7353 (super_post_startup_inferior): Likewise.
7354
7355 2014-02-19 Tom Tromey <tromey@redhat.com>
7356
7357 * target.h (struct target_ops) <to_load>: Add argument.
7358 * target.c (target_load): Add argument.
7359 (debug_to_load): Add argument.
7360 (update_current_target): Update.
7361 * remote.c (remote_load): Add 'self' argument.
7362 * remote-sim.c (gdbsim_load): Add 'self' argument.
7363 * remote-mips.c (mips_load): Add 'self' argument.
7364 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
7365 * monitor.c (monitor_load): Add 'self' argument.
7366 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
7367
7368 2014-02-19 Tom Tromey <tromey@redhat.com>
7369
7370 * target.h (struct target_ops) <to_terminal_info>: Add argument.
7371 (target_terminal_info): Add argument.
7372 * target.c (debug_to_terminal_info): Add argument.
7373 (default_terminal_info): Likewise.
7374 * inflow.c (child_terminal_info): Add 'self' argument.
7375 * inferior.h (child_terminal_info): Add 'self' argument.
7376 * go32-nat.c (go32_terminal_info): Add 'self' argument.
7377
7378 2014-02-19 Tom Tromey <tromey@redhat.com>
7379
7380 * target.h (struct target_ops) <to_terminal_save_ours>: Add
7381 argument.
7382 (target_terminal_save_ours): Add argument.
7383 * target.c (debug_to_terminal_save_ours): Add argument.
7384 (update_current_target): Update.
7385 * inflow.c (terminal_save_ours): Add 'self' argument.
7386 * inferior.h (terminal_save_ours): Add 'self' argument.
7387
7388 2014-02-19 Tom Tromey <tromey@redhat.com>
7389
7390 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
7391 (target_terminal_ours): Add argument.
7392 * target.c (debug_to_terminal_ours): Add argument.
7393 (update_current_target): Update.
7394 * remote.c (remote_terminal_ours): Add 'self' argument.
7395 (remote_close): Update.
7396 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
7397 * inflow.c (terminal_ours): Add 'self' argument.
7398 * inferior.h (terminal_ours): Add 'self' argument.
7399 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
7400
7401 2014-02-19 Pedro Alves <palves@redhat.com>
7402 Tom Tromey <tromey@redhat.com>
7403
7404 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
7405 argument.
7406 (target_terminal_ours_for_output): Add argument.
7407 * target.c (debug_to_terminal_ours_for_output): Add argument.
7408 (update_current_target): Update.
7409 * inflow.c (terminal_ours_for_output): Add 'self' argument.
7410 * inferior.h (terminal_ours_for_output): Add 'self' argument.
7411 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
7412
7413 2014-02-19 Tom Tromey <tromey@redhat.com>
7414
7415 * target.h (struct target_ops) <to_terminal_inferior>: Add
7416 argument.
7417 * target.c (target_terminal_inferior): Add argument.
7418 (update_current_target): Update.
7419 * remote.c (remote_terminal_inferior): Add 'self' argument.
7420 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
7421 * inflow.c (terminal_inferior): Add 'self' argument.
7422 * inferior.h (terminal_inferior): Add 'self' argument.
7423 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
7424 (go32_terminal_inferior): Add 'self' argument.
7425
7426 2014-02-19 Tom Tromey <tromey@redhat.com>
7427
7428 * target.h (struct target_ops) <to_terminal_init>: Add argument.
7429 (target_terminal_init): Add argument.
7430 * target.c (debug_to_terminal_init): Add argument.
7431 (update_current_target): Update.
7432 * inflow.c (terminal_init_inferior): Add 'self' argument.
7433 * inferior.h (terminal_init_inferior): Add 'self' argument.
7434 * go32-nat.c (go32_terminal_init): Add 'self' argument.
7435 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
7436
7437 2014-02-19 Tom Tromey <tromey@redhat.com>
7438
7439 * target.h (struct target_ops)
7440 <to_can_accel_watchpoint_condition>: Add argument.
7441 (target_can_accel_watchpoint_condition): Add argument.
7442 * target.c (debug_to_can_accel_watchpoint_condition): Add
7443 argument.
7444 (update_current_target): Update.
7445 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
7446 'self' argument.
7447
7448 2014-02-19 Tom Tromey <tromey@redhat.com>
7449
7450 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
7451 Add argument.
7452 (target_region_ok_for_hw_watchpoint): Add argument.
7453 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
7454 (default_region_ok_for_hw_watchpoint): Add argument.
7455 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
7456 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
7457 argument.
7458 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
7459 argument.
7460 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
7461 argument.
7462 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
7463 'self' argument.
7464 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
7465 'self' argument.
7466 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
7467 'self' argument.
7468 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
7469 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
7470 'self' argument.
7471 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
7472 Add 'self' argument.
7473
7474 2014-02-19 Tom Tromey <tromey@redhat.com>
7475
7476 * target.h (struct target_ops) <to_insert_watchpoint>: Add
7477 argument.
7478 (target_insert_watchpoint): Add argument.
7479 * target.c (debug_to_insert_watchpoint): Add argument.
7480 (update_current_target): Update.
7481 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
7482 * remote.c (remote_insert_watchpoint): Add 'self' argument.
7483 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
7484 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
7485 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
7486 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
7487 argument.
7488 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
7489 (procfs_insert_hw_watchpoint): Add 'self' argument.
7490 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
7491 argument.
7492 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
7493 argument.
7494 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
7495 argument.
7496 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
7497 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
7498 argument.
7499 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
7500 'self' argument.
7501
7502 2014-02-19 Tom Tromey <tromey@redhat.com>
7503
7504 * target.h (struct target_ops) <to_remove_watchpoint>: Add
7505 argument.
7506 (target_remove_watchpoint): Add argument.
7507 * target.c (debug_to_remove_watchpoint): Add argument.
7508 (update_current_target): Update.
7509 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
7510 * remote.c (remote_remove_watchpoint): Add 'self' argument.
7511 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
7512 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
7513 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
7514 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
7515 argument.
7516 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
7517 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
7518 argument.
7519 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
7520 argument.
7521 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
7522 argument.
7523 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
7524 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
7525 argument.
7526 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
7527 'self' argument.
7528
7529 2014-02-19 Tom Tromey <tromey@redhat.com>
7530
7531 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
7532 argument.
7533 (target_remove_hw_breakpoint): Add argument.
7534 * target.c (debug_to_remove_hw_breakpoint): Add argument.
7535 (update_current_target): Update.
7536 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
7537 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
7538 argument.
7539 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
7540 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
7541 argument.
7542 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
7543 'self' argument.
7544
7545 2014-02-19 Tom Tromey <tromey@redhat.com>
7546
7547 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
7548 argument.
7549 (target_insert_hw_breakpoint): Add argument.
7550 * target.c (debug_to_insert_hw_breakpoint): Add argument.
7551 (update_current_target): Update.
7552 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
7553 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
7554 argument.
7555 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
7556 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
7557 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
7558 argument.
7559 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
7560 'self' argument.
7561
7562 2014-02-19 Tom Tromey <tromey@redhat.com>
7563
7564 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
7565 argument.
7566 (target_can_use_hardware_watchpoint): Add argument.
7567 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
7568 (update_current_target): Update.
7569 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
7570 argument.
7571 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
7572 argument.
7573 * remote.c (remote_check_watch_resources): Add 'self' argument.
7574 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
7575 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
7576 argument.
7577 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
7578 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
7579 argument.
7580 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
7581 argument.
7582 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
7583 argument.
7584 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
7585 argument.
7586 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
7587 argument.
7588 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
7589 argument.
7590 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
7591 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
7592 argument.
7593 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
7594 'self' argument.
7595
7596 2014-02-19 Tom Tromey <tromey@redhat.com>
7597
7598 * target.h (struct target_ops) <to_post_attach>: Add argument.
7599 (target_post_attach): Add argument.
7600 * target.c (debug_to_post_attach): Add argument.
7601 (update_current_target): Update.
7602 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
7603 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
7604 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
7605 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
7606 * inf-child.c (inf_child_post_attach): Add 'self' argument.
7607
7608 2014-02-19 Tom Tromey <tromey@redhat.com>
7609
7610 * windows-nat.c (windows_close): Add 'self' argument.
7611 * tracepoint.c (tfile_close): Add 'self' argument.
7612 * target.h (struct target_ops) <to_close>: Add argument.
7613 * target.c (target_close): Add argument.
7614 (update_current_target): Update.
7615 * remote.c (remote_close): Add 'self' argument.
7616 * remote-sim.c (gdbsim_close): Add 'self' argument.
7617 * remote-mips.c (mips_close): Add 'self' argument.
7618 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
7619 * record-full.c (record_full_close): Add 'self' argument.
7620 * record-btrace.c (record_btrace_close): Add 'self' argument.
7621 * monitor.h (monitor_close): Add 'self' argument.
7622 * monitor.c (monitor_close): Add 'self' argument.
7623 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
7624 * linux-nat.c (linux_nat_close): Add argument.
7625 * go32-nat.c (go32_close): Add 'self' argument.
7626 * exec.c (exec_close_1): Add 'self' argument.
7627 * ctf.c (ctf_close): Add 'self' argument.
7628 * corelow.c (core_close): Add 'self' argument.
7629 (core_close_cleanup): Update.
7630 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
7631 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
7632
7633 2014-02-19 Tom Tromey <tromey@redhat.com>
7634
7635 * remote.c (remote_load): New function.
7636 (init_remote_ops): Use it.
7637
7638 2014-02-19 Tom Tromey <tromey@redhat.com>
7639
7640 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
7641 argument.
7642 * common/linux-btrace.h (linux_supports_btrace): Update.
7643 * remote.c (remote_supports_btrace): Add "self" argument.
7644 * target-delegates.c: Rebuild.
7645 * target.c (target_supports_btrace): Remove.
7646 * target.h (struct target_ops) <to_supports_btrace>: Add
7647 target_ops argument.
7648 (target_supports_btrace): New define.
7649
7650 2014-02-19 Tom Tromey <tromey@redhat.com>
7651
7652 * record-full.c (record_full_beneath_to_resume_ops)
7653 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
7654 (record_full_beneath_to_wait)
7655 (record_full_beneath_to_store_registers_ops)
7656 (record_full_beneath_to_store_registers)
7657 (record_full_beneath_to_xfer_partial_ops)
7658 (record_full_beneath_to_xfer_partial)
7659 (record_full_beneath_to_insert_breakpoint_ops)
7660 (record_full_beneath_to_insert_breakpoint)
7661 (record_full_beneath_to_remove_breakpoint_ops)
7662 (record_full_beneath_to_remove_breakpoint)
7663 (record_full_beneath_to_stopped_by_watchpoint)
7664 (record_full_beneath_to_stopped_data_address)
7665 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
7666 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
7667 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
7668 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
7669 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
7670 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
7671 (tmp_to_stopped_data_address, tmp_to_async): Remove.
7672 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
7673 (record_full_resume, record_full_wait_1)
7674 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
7675 (record_full_store_registers, record_full_xfer_partial)
7676 (record_full_insert_breakpoint, record_full_remove_breakpoint)
7677 (record_full_async, record_full_core_xfer_partial): Use target
7678 delegation.
7679 * target-delegates.c: Rebuild.
7680 * target.c (current_xfer_partial): Remove.
7681 (update_current_target): Do not INHERIT or de_fault
7682 to_insert_breakpoint, to_remove_breakpoint,
7683 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
7684 to_is_async_p, to_async. Do not set to_xfer_partial field.
7685 (default_xfer_partial): Simplify.
7686 (current_xfer_partial): Remove.
7687 (target_wait, target_resume): Simplify.
7688 (find_default_can_async_p, find_default_is_async_p): Update.
7689 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
7690 to_xfer_partial, to_stopped_by_watchpoint,
7691 to_stopped_data_address.
7692 (target_store_registers): Simplify.
7693 (forward_target_remove_breakpoint)
7694 (forward_target_insert_breakpoint): Remove.
7695 (target_remove_breakpoint, target_insert_breakpoint)
7696 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
7697 * target.h (struct target_ops) <to_resume, to_wait,
7698 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
7699 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
7700 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
7701 markup.
7702 (forward_target_remove_breakpoint)
7703 (forward_target_insert_breakpoint): Remove.
7704 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
7705 directly.
7706 (record_btrace_insert_breakpoint): Delegate directly.
7707
7708 2014-02-19 Tom Tromey <tromey@redhat.com>
7709
7710 PR build/7701:
7711 * target-delegates.c: New file.
7712 * target.c: Include target-delegates.c.
7713 (init_dummy_target): Call install_dummy_methods.
7714 (complete_target_initialization): Call install_delegators.
7715 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
7716 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
7717 * make-target-delegates: New file.
7718
7719 2014-02-19 Tom Tromey <tromey@redhat.com>
7720
7721 * record.c (find_record_target): Use find_target_at.
7722 * target.c (find_target_at): New function.
7723 * target.h (find_target_at): Declare.
7724
7725 2014-02-19 Tom Tromey <tromey@redhat.com>
7726
7727 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
7728 Add 'ops' argument.
7729 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
7730 'ops' argument.
7731 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
7732 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
7733 'ops' argument.
7734 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
7735 argument.
7736 * linux-nat.c (save_sigtrap): Update.
7737 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
7738 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
7739 (linux_nat_close): Update.
7740 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
7741 argument.
7742 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
7743 argument.
7744 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
7745 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
7746 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
7747 (tmp_to_async): Add 'ops' argument.
7748 (record_full_stopped_by_watchpoint, record_full_async)
7749 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
7750 argument.
7751 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
7752 (m32r_stopped_by_watchpoint): Add 'ops' argument.
7753 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
7754 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
7755 (remote_is_async_p, remote_async): Add 'ops' argument.
7756 (remote_stopped_data_address): Update.
7757 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
7758 * target.c (update_current_target)
7759 (find_default_can_async_p, find_default_is_async_p): Update.
7760 (init_dummy_target): Update.
7761 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
7762 * target.h (struct target_ops) <to_stopped_by_watchpoint,
7763 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
7764 (target_can_async_p, target_is_async_p, target_async)
7765 (target_stopped_by_watchpoint): Update.
7766
7767 2014-02-19 Yao Qi <yao@codesourcery.com>
7768
7769 PR gdb/16220
7770 * gdbarch.sh: Remove startup_gdbarch.
7771 * gdbarch.c: Regenerated.
7772 * gdbarch.h: Likewise.
7773
7774 2014-02-17 Kevin Buettner <kevinb@redhat.com>
7775
7776 * rl78-tdep.c (rl78_g10_register_name): New function.
7777 (rl78_return_value): Add g10 support.
7778 (rl78_gdbarch_init): Register rl78_g10_register_name for the
7779 g10.
7780
7781 2014-02-17 Doug Evans <xdje42@gmail.com>
7782
7783 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
7784 (SUBDIR_GUILE_SRCS): Ditto.
7785 (scm-gsmob.o): Ditto.
7786
7787 2014-02-17 Yao Qi <yao@codesourcery.com>
7788
7789 * gnu-nat.c (ILL_RPC): Declare defined function.
7790
7791 2014-02-17 Yao Qi <yao@codesourcery.com>
7792
7793 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
7794 mach_msg_type_number_t.
7795 (gnu_write_inferior): Likewise.
7796
7797 2014-02-17 Yao Qi <yao@codesourcery.com>
7798
7799 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
7800 in format string.
7801 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
7802 (inf_validate_procs, inf_signal): Likewise.
7803 (S_exception_raise_request): Likewise.
7804 (do_mach_notify_dead_name): Likewise.
7805 (steal_exc_port): Likewise.
7806 (gnu_read_inferior): Change 'copy_count''s type to
7807 mach_msg_type_number_t.
7808 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
7809 format string.
7810
7811 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
7812
7813 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
7814 flag. Adjust all users; in particular...
7815 (gnu_wait): ..., don't decrement its value in here...
7816 (gnu_create_inferior): ..., and instead set the flag in here,
7817 around the startup_inferior call, and call that one with
7818 START_INFERIOR_TRAPS_EXPECTED.
7819
7820 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
7821 (ILL_RPC): ... new macro.
7822 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
7823 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
7824 (do_mach_notify_send_once, S_proc_setmsgport_reply)
7825 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
7826 functions with ILL_RPC macro.
7827 (S_proc_pid2task_reply, S_proc_task2pid_reply)
7828 (S_proc_task2proc_reply, S_proc_proc2task_reply)
7829 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
7830 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
7831 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
7832 (S_proc_getlogin_reply, S_proc_getsid_reply)
7833 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
7834 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
7835 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
7836 (S_proc_getnports_reply, S_proc_is_important_reply)
7837 (S_proc_get_code_reply): New stub functions, generated with
7838 ILL_RPC macro.
7839
7840 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
7841 collected the type check structures.
7842
7843 * reply_mig_hack.awk: Don't expect to see the auto keyword.
7844
7845 2014-02-14 Doug Evans <dje@google.com>
7846
7847 * target.c (target_write_partial): Fix result type.
7848
7849 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
7850
7851 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
7852 the proper offsets to access fpregset_t.
7853
7854 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
7855
7856 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
7857 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
7858 * h8300-tdep.c (setmachinelist): Remove global.
7859 * hppa-tdep.c (hppa_sigtramp): Remove global.
7860 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
7861 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
7862 * ravenscar-thread.c (update_target_observer): Remove global.
7863 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
7864
7865 2014-02-12 Tom Tromey <tromey@redhat.com>
7866
7867 * common/rsp-low.c: Update comments.
7868 * common/rsp-low.h: Update comments.
7869
7870 2014-02-12 Tom Tromey <tromey@redhat.com>
7871
7872 * common/rsp-low.c (convert_ascii_to_int): Remove.
7873 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
7874
7875 2014-02-12 Tom Tromey <tromey@redhat.com>
7876
7877 * common/rsp-low.h (unhexify): Don't declare.
7878 * common/rsp-low.c (unhexify): Remove.
7879
7880 2014-02-12 Tom Tromey <tromey@redhat.com>
7881
7882 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
7883 * common/rsp-low.c (convert_int_to_ascii): Remove.
7884
7885 2014-02-12 Tom Tromey <tromey@redhat.com>
7886
7887 * common/rsp-low.h (hexify): Don't declare.
7888 * common/rsp-low.c (hexify): Remove.
7889
7890 2014-02-12 Tom Tromey <tromey@redhat.com>
7891
7892 * common/rsp-low.c (hexify): Never take strlen of argument.
7893
7894 2014-02-12 Tom Tromey <tromey@redhat.com>
7895
7896 * common/rsp-low.c (bin2hex): Never take strlen of argument.
7897 * remote.c (extended_remote_run, remote_rcmd)
7898 (remote_download_trace_state_variable, remote_save_trace_data)
7899 (remote_set_trace_notes): Update.
7900 * tracepoint.c (encode_source_string, tfile_write_status)
7901 (tfile_write_uploaded_tsv): Update.
7902
7903 2014-02-12 Tom Tromey <tromey@redhat.com>
7904
7905 * tracepoint.c: Include rsp-low.h.
7906 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
7907 * remote.c: Include rsp-low.h.
7908 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
7909 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
7910 (remote_unescape_input): Move to common/rsp-low.c.
7911 * common/rsp-low.h: New file.
7912 * common/rsp-low.c: New file.
7913 * Makefile.in (SFILES): Add common/rsp-low.c.
7914 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
7915 (COMMON_OBS): Add rsp-low.o.
7916 (rsp-low.o): New target.
7917
7918 2014-02-12 Tom Tromey <tromey@redhat.com>
7919
7920 * utils.h: Include print-utils.h.
7921 (host_address_to_string, plongest, pulongest, phex, phex_nz)
7922 (int_string, core_addr_to_string, core_addr_to_string_nz)
7923 (hex_string, hex_string_custom): Don't declare.
7924 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
7925 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
7926 (hex_string_custom, int_string, core_addr_to_string)
7927 (core_addr_to_string_nz, host_address_to_string): Move to
7928 common/print-utils.c.
7929 * common/print-utils.h: New file.
7930 * common/print-utils.c: New file
7931 * Makefile.in (SFILES): Add common/print-utils.c.
7932 (HFILES_NO_SRCDIR): Add common/print-utils.h.
7933 (COMMON_OBS): Add print-utils.o.
7934 (print-utils.o): New target.
7935
7936 2014-02-12 Tom Tromey <tromey@redhat.com>
7937
7938 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
7939
7940 2014-02-12 Mark Kettenis <kettenis@gnu.org>
7941
7942 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
7943
7944 2014-02-12 Mark Kettenis <kettenis@gnu.org>
7945
7946 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
7947 if a PT_IO ptrace request returns sucessfully but indicates that 0
7948 bytes were transferred.
7949
7950 2014-02-12 Pedro Alves <palves@redhat.com>
7951 Kevin Buettner <kevinb@redhat.com>
7952
7953 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
7954 TYPE_INSTANCE_FLAG_CODE_SPACE.
7955
7956 2014-02-12 Pedro Alves <palves@redhat.com>
7957
7958 * h8300-tdep.c (pseudo_from_raw_register)
7959 (raw_from_pseudo_register): New functions.
7960 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
7961 them.
7962
7963 2014-02-12 Pedro Alves <palves@redhat.com>
7964
7965 * h8300-tdep.c (h8300_register_sim_regno): New function.
7966 (h8300_gdbarch_init): Install h8300_register_sim_regno as
7967 gdbarch_register_sim_regno hook.
7968
7969 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
7970
7971 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
7972
7973 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
7974
7975 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
7976
7977 2014-02-12 Mark Kettenis <kettenis@gnu.org>
7978
7979 * obsd-tdep.h (obsd_init_abi): New prototype.
7980 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
7981 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
7982 (obsd_init_abi): New functions.
7983 * i386obsd-tdep.c: Include "obsd-tdep.h".
7984 (i386obsd_init_abi): Call obsd_init_abi.
7985 * amd64obsd-tdep.c: Include "obsd-tdep.h".
7986 (amd64obsd_init_abi): Call obsd_init_abi.
7987 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
7988 obsd-tdep.c to gdb_target_obs.
7989
7990 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
7991
7992 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
7993 double float arguments to 16-byte in the argument slots.
7994
7995 2014-02-11 Doug Evans <xdje42@gmail.com>
7996
7997 * configure.ac: Don't crash if pkg-config is not found and guile
7998 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
7999 in guile checks.
8000 * configure: Regenerate.
8001
8002 2014-02-11 Yao Qi <yao@codesourcery.com>
8003
8004 * aix-thread.c (aix_thread_xfer_partial): Update comments.
8005 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
8006 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
8007 * gnu-nat.c (gnu_xfer_memory): Likewise.
8008 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
8009 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8010 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8011 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8012
8013 2014-02-11 Yao Qi <yao@codesourcery.com>
8014
8015 * target.h (enum target_xfer_error): Rename to ...
8016 (enum target_xfer_status): ... it. New. All users updated.
8017 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
8018 New.
8019 (TARGET_XFER_STATUS_ERROR_P): New macro.
8020 (target_xfer_error_to_string): Remove declaration.
8021 (target_xfer_status_to_string): Declare.
8022 (target_xfer_partial_ftype): Adjust it.
8023 (struct target_ops) <to_xfer_partial>: Return
8024 target_xfer_status. Add argument xfered_len. Update
8025 comments.
8026 * target.c (target_xfer_error_to_string): Rename to ...
8027 (target_xfer_status_to_string): ... it. New. All callers
8028 updated.
8029 (target_read_live_memory): Likewise. Call target_xfer_partial
8030 instead of target_read.
8031 (memory_xfer_live_readonly_partial): Return
8032 target_xfer_status. Add argument xfered_len.
8033 (raw_memory_xfer_partial): Likewise.
8034 (memory_xfer_partial_1): Likewise.
8035 (memory_xfer_partial): Likewise.
8036 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
8037 properly. Update debug message.
8038 (default_xfer_partial, current_xfer_partial): Likewise.
8039 (target_write_partial): Likewise.
8040 (target_read_partial): Likewise. All callers updated.
8041 (read_whatever_is_readable): Likewise.
8042 (target_write_with_progress): Likewise.
8043 (target_read_alloc_1): Likewise.
8044
8045 * aix-thread.c (aix_thread_xfer_partial): Likewise.
8046 * auxv.c (procfs_xfer_auxv): Likewise.
8047 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
8048 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8049 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8050 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
8051 * corefile.c (read_memory): Adjust.
8052 * corelow.c (core_xfer_partial): Likewise.
8053 * ctf.c (ctf_xfer_partial): Likewise.
8054 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
8055 updated.
8056 (darwin_xfer_partial): Likewise.
8057 * exec.c (section_table_xfer_memory_partial): Likewise. All
8058 callers updated.
8059 (exec_xfer_partial): Likewise.
8060 * exec.h (section_table_xfer_memory_partial): Update
8061 declaration.
8062 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
8063 negative.
8064 (gnu_xfer_partial): Likewise.
8065 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
8066 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
8067 (ia64_hpux_xfer_solib_got): Likewise.
8068 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
8069 type of 'partial_len' to ULONGEST.
8070 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
8071 * linux-nat.c (linux_xfer_siginfo ): Likewise.
8072 (linux_nat_xfer_partial): Likewise.
8073 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
8074 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
8075 * monitor.c (monitor_xfer_memory): Likewise.
8076 (monitor_xfer_partial): Likewise.
8077 * procfs.c (procfs_xfer_partial): Likewise.
8078 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8079 * record-full.c (record_full_xfer_partial): Likewise.
8080 (record_full_core_xfer_partial): Likewise.
8081 * remote-sim.c (gdbsim_xfer_memory): Likewise.
8082 (gdbsim_xfer_partial): Likewise.
8083 * remote.c (remote_write_bytes_aux): Likewise. All callers
8084 updated.
8085 (remote_write_bytes, remote_read_bytes): Likewise. All
8086 callers updated.
8087 (remote_flash_erase): Likewise. All callers updated.
8088 (remote_write_qxfer): Likewise. All callers updated.
8089 (remote_read_qxfer): Likewise. All callers updated.
8090 (remote_xfer_partial): Likewise.
8091 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8092 (rs6000_xfer_shared_libraries): Likewise.
8093 * sol-thread.c (sol_thread_xfer_partial): Likewise.
8094 (sol_thread_xfer_partial): Likewise.
8095 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8096 (sparc_xfer_partial): Likewise.
8097 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
8098 updated.
8099 (spu_xfer_partial): Likewise.
8100 * spu-multiarch.c (spu_xfer_partial): Likewise.
8101 * tracepoint.c (tfile_xfer_partial): Likewise.
8102 * windows-nat.c (windows_xfer_memory): Likewise.
8103 (windows_xfer_shared_libraries): Likewise.
8104 (windows_xfer_partial): Likewise.
8105 * valprint.c: Replace 'target_xfer_error' with
8106 'target_xfer_status' in comments.
8107
8108 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
8109
8110 Checked in by Joel Brobecker <brobecker@adacore.com>.
8111 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
8112
8113 2014-02-11 Joel Brobecker <brobecker@adacore.com>
8114
8115 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
8116 function parameters.
8117
8118 2014-02-10 Will Newton <will.newton@linaro.org>
8119
8120 * elfread.c (elf_rel_plt_read): Look for a .got section if
8121 looking up .got.plt fails.
8122 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
8123 on address passed to elf_gnu_ifunc_record_cache.
8124 (elf_gnu_ifunc_resolve_addr): Likewise.
8125 (elf_gnu_ifunc_resolver_return_stop): Likewise.
8126
8127 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
8128
8129 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
8130 (X_RETTURN): New macro.
8131 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
8132
8133 * sparc64-tdep.c (sparc64_init_abi): Hook
8134 sparc_in_function_epilogue_p.
8135
8136 2014-02-10 Gary Benson <gbenson@redhat.com>
8137
8138 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8139 Rename name_matcher to symbol_matcher.
8140
8141 2014-02-10 Gary Benson <gbenson@redhat.com>
8142
8143 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8144 Use expand_symtabs_file_matcher_ftype and
8145 expand_symtabs_symbol_matcher_ftype.
8146
8147 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8148
8149 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
8150 (struct ada_symbol_cache): New.
8151 (ada_free_symbol_cache): Forward declare.
8152 (struct ada_pspace_data): New.
8153 (ada_pspace_data_handle): New static global.
8154 (get_ada_pspace_data, ada_pspace_data_cleanup)
8155 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
8156 (cache_space, cache): Delete, now folded inside struct
8157 ada_pspace_data.
8158 (ada_get_symbol_cache): New function.
8159 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
8160 implementation.
8161 (_initialize_ada_language): Remove initialization of cache_space.
8162 Move call to observer_attach_inferior_exit up, grouping it
8163 with the other observer registrations inside this function.
8164 Rename command to be more general. Add call to
8165 register_program_space_data_with_cleanup.
8166
8167 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8168
8169 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
8170 ada_new_objfile_observer.
8171 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
8172 (_initialize_tasks): Update uses of ada_new_objfile_observer
8173 and ada_tasks_normal_stop_observer.
8174
8175 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8176
8177 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
8178 returned by the 'Length attribute to integer.
8179
8180 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8181
8182 * ada-lang.c (_initialize_ada_language): Initialize
8183 cache_space obstack.
8184
8185 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8186
8187 * ada-lang.c (HASH_SIZE): New macro.
8188 (struct cache_entry): New type.
8189 (cache_space, cache): New static globals.
8190 (ada_clear_symbol_cache, find_entry): New functions.
8191 (lookup_cached_symbol, cache_symbol): Implement.
8192 (ada_new_objfile_observer, ada_free_objfile_observer): New.
8193 (_initialize_ada_language): Attach ada_new_objfile_observer
8194 and ada_free_objfile_observer.
8195
8196 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8197
8198 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
8199 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
8200 struct block * parameter.
8201 (ada_lookup_symbol_list_worker): Constify local variable "block".
8202 Remove cast which is no longer necessary.
8203
8204 2014-02-10 Doug Evans <xdje42@gmail.com>
8205
8206 Add Guile as an extension language.
8207 * NEWS: Mention Guile scripting.
8208 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
8209 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
8210 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
8211 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
8212 (CLIBS): Add GUILE_LIBS.
8213 (install-guile): New rule.
8214 (guile.o): New rule.
8215 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
8216 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
8217 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
8218 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
8219 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
8220 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
8221 (scm-type.o, scm-utils.o, scm-value.o): New rules.
8222 * configure.ac: New option --with-guile.
8223 * configure: Regenerate.
8224 * config.in: Regenerate.
8225 * auto-load.c: Remove #include "python/python.h". Add #include
8226 "gdb/section-scripts.h".
8227 (source_section_scripts): Handle Guile scripts.
8228 (_initialize_auto_load): Add name of Guile objfile script to
8229 scripts-directory help text.
8230 * breakpoint.c (condition_command): Tweak comment to include Scheme.
8231 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
8232 (struct breakpoint): New member scm_bp_object.
8233 * defs.h (enum command_control_type): New value guile_control.
8234 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
8235 "extension.h".
8236 (show_user): Update comment.
8237 (_initialize_cli_cmds): Update help text for "show user". Update help
8238 text for max-user-call-depth.
8239 * cli/cli-script.c: Remove #include "python/python.h". Add #include
8240 "extension.h".
8241 (multi_line_command_p): Add guile_control.
8242 (print_command_lines): Handle guile_control.
8243 (execute_control_command, recurse_read_control_structure): Ditto.
8244 (process_next_line): Recognize "guile" commands.
8245 * disasm.c (gdb_disassemble_info): Make non-static.
8246 * disasm.h: #include "dis-asm.h".
8247 (struct gdbarch): Add forward decl.
8248 (gdb_disassemble_info): Declare.
8249 * extension.c: #include "guile/guile.h".
8250 (extension_languages): Add guile.
8251 (get_ext_lang_defn): Handle EXT_LANG_GDB.
8252 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
8253 * gdbtypes.c (get_unsigned_type_max): New function.
8254 (get_signed_type_minmax): New function.
8255 * gdbtypes.h (get_unsigned_type_max): Declare.
8256 (get_signed_type_minmax): Declare.
8257 * guile/README: New file.
8258 * guile/guile-internal.h: New file.
8259 * guile/guile.c: New file.
8260 * guile/guile.h: New file.
8261 * guile/scm-arch.c: New file.
8262 * guile/scm-auto-load.c: New file.
8263 * guile/scm-block.c: New file.
8264 * guile/scm-breakpoint.c: New file.
8265 * guile/scm-disasm.c: New file.
8266 * guile/scm-exception.c: New file.
8267 * guile/scm-frame.c: New file.
8268 * guile/scm-gsmob.c: New file.
8269 * guile/scm-iterator.c: New file.
8270 * guile/scm-lazy-string.c: New file.
8271 * guile/scm-math.c: New file.
8272 * guile/scm-objfile.c: New file.
8273 * guile/scm-ports.c: New file.
8274 * guile/scm-pretty-print.c: New file.
8275 * guile/scm-safe-call.c: New file.
8276 * guile/scm-string.c: New file.
8277 * guile/scm-symbol.c: New file.
8278 * guile/scm-symtab.c: New file.
8279 * guile/scm-type.c: New file.
8280 * guile/scm-utils.c: New file.
8281 * guile/scm-value.c: New file.
8282 * guile/lib/gdb.scm: New file.
8283 * guile/lib/gdb/boot.scm: New file.
8284 * guile/lib/gdb/experimental.scm: New file.
8285 * guile/lib/gdb/init.scm: New file.
8286 * guile/lib/gdb/iterator.scm: New file.
8287 * guile/lib/gdb/printing.scm: New file.
8288 * guile/lib/gdb/types.scm: New file.
8289 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
8290 (VPATH): Add $(GUILE_SRCDIR).
8291 (GUILE_DIR): New variable.
8292 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
8293 (all): Add stamp-guile dependency.
8294 (stamp-guile): New rule.
8295 (clean-guile, install-guile, uninstall-guile): New rules.
8296 (install-only): Add install-guile dependency.
8297 (uninstall): Add uninstall-guile dependency.
8298 (clean): Add clean-guile dependency.
8299
8300 2014-02-09 Doug Evans <xdje42@gmail.com>
8301
8302 Revert this patch (which I approved, mea culpa).
8303
8304 2014-02-08 Mark Kettenis <kettenis@gnu.org>
8305
8306 * Makefile.in (all-lib): Remove.
8307 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8308
8309 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 Fix Python stack corruption.
8312 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
8313 gdb_py_longest.
8314
8315 2014-02-08 Mark Kettenis <kettenis@gnu.org>
8316
8317 * Makefile.in (all-lib): Remove.
8318 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8319
8320 2014-02-07 Doug Evans <dje@google.com>
8321
8322 * extension-priv.h (extension_language_script_ops): Add comment.
8323 (extension_language_ops): Add comment.
8324 (active_ext_lang_state): Fix typo in comment.
8325
8326 2014-02-07 Pedro Alves <palves@redhat.com>
8327
8328 PR breakpoints/16292
8329 * infrun.c (handle_signal_stop) <signal arrives while stepping
8330 over a breakpoint>: Switch back to the stepping thread.
8331
8332 2014-02-07 Yao Qi <yao@codesourcery.com>
8333
8334 * target.c (target_xfer_partial): Return zero if LEN is zero.
8335
8336 2014-02-07 Yao Qi <yao@codesourcery.com>
8337
8338 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
8339 (ld_so_xfer_auxv): Likewise.
8340 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8341 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8342 * corelow.c (core_xfer_partial): Likewise.
8343 * ctf.c (ctf_xfer_partial): Likewise.
8344 * darwin-nat.c (darwin_read_dyld_info): Likewise.
8345 (darwin_xfer_partial): Likewise.
8346 * exec.c (exec_xfer_partial): Likewise.
8347 * gnu-nat.c (gnu_xfer_partial): Likewise.
8348 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
8349 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
8350 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
8351 * linux-nat.c (linux_xfer_siginfo): Likewise.
8352 (linux_proc_xfer_spu): Likewise.
8353 * procfs.c (procfs_xfer_partial): Likewise.
8354 * record-full.c (record_full_xfer_partial): Likewise.
8355 (record_full_core_xfer_partial): Likewise.
8356 * remote-sim.c (gdbsim_xfer_partial): Likewise.
8357 * remote.c (remote_write_qxfer): Likewise.
8358 (remote_write_qxfer, remote_read_qxfer): Likewise.
8359 (remote_xfer_partial): Likewise.
8360 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8361 (rs6000_xfer_shared_libraries): Likewise.
8362 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8363 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8364 (spu_xfer_partial): Likewise.
8365 * target.c (memory_xfer_partial_1): Likewise.
8366 * tracepoint.c (tfile_xfer_partial): Likewise.
8367 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
8368 (windows_xfer_partial): Likewise.
8369
8370 2014-02-07 Yao Qi <yao@codesourcery.com>
8371
8372 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
8373 comments.
8374 (core_xfer_shared_libraries_aix): Likewise.
8375 * gdbarch.c, gdbarch.h: Regenerated.
8376 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
8377 ULONGEST. Change 'len_avail' type to ULONGEST.
8378 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8379 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
8380 declaration.
8381 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
8382
8383 2014-02-07 Yao Qi <yao@codesourcery.com>
8384
8385 * corefile.c (memory_error): Get 'exception' from ERR and pass
8386 'exception' to throw_error.
8387
8388 2014-02-06 Doug Evans <xdje42@gmail.com>
8389
8390 * configure.ac (libpython checking): Remove all but python.o from
8391 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
8392 * configure: Regenerate.
8393
8394 * Makefile.in (SFILES): Add extension.c.
8395 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
8396 (COMMON_OBS): Add extension.o.
8397 * extension.h: New file.
8398 * extension-priv.h: New file.
8399 * extension.c: New file.
8400
8401 * python/python-internal.h: #include "extension.h".
8402 (gdbpy_auto_load_enabled): Declare.
8403 (gdbpy_apply_val_pretty_printer): Declare.
8404 (gdbpy_apply_frame_filter): Declare.
8405 (gdbpy_preserve_values): Declare.
8406 (gdbpy_breakpoint_cond_says_stop): Declare.
8407 (gdbpy_breakpoint_has_cond): Declare.
8408 (void source_python_script_for_objfile): Delete.
8409 * python/python.c: #include "extension-priv.h".
8410 Delete inclusion of "observer.h".
8411 (extension_language_python): Moved here and renamed from
8412 script_language_python in py-auto-load.c.
8413 Redefined to be of type extension_language_defn.
8414 (python_extension_script_ops): New global.
8415 (python_extension_ops): New global.
8416 (struct python_env): New member previous_active.
8417 (restore_python_env): Call restore_active_ext_lang.
8418 (ensure_python_env): Call set_active_ext_lang.
8419 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
8420 New arg extlang.
8421 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
8422 New arg extlang.
8423 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
8424 New arg extlang.
8425 (gdbpy_eval_from_control_command): Renamed from
8426 eval_python_from_control_command, made static. New arg extlang.
8427 (gdbpy_source_script) Renamed from source_python_script, made static.
8428 New arg extlang.
8429 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
8430 result to int. New arg extlang.
8431 (gdbpy_source_objfile_script): Renamed from
8432 source_python_script_for_objfile, made static. New arg extlang.
8433 (gdbpy_start_type_printers): Renamed from start_type_printers, made
8434 static. New args extlang, extlang_printers. Change result type to
8435 "void".
8436 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
8437 static. New arg extlang. Rename arg printers to extlang_printers
8438 and change type to ext_lang_type_printers *.
8439 (gdbpy_free_type_printers): Renamed from free_type_printers, made
8440 static. Replace argument arg with extlang, extlang_printers.
8441 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
8442 (!HAVE_PYTHON, source_python_script): Delete.
8443 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
8444 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
8445 (!HAVE_PYTHON, start_type_printers): Delete.
8446 (!HAVE_PYTHON, apply_type_printers): Delete.
8447 (!HAVE_PYTHON, free_type_printers): Delete.
8448 (_initialize_python): Delete call to observer_attach_before_prompt.
8449 (finalize_python): Set/restore active extension language.
8450 (gdbpy_finish_initialization) Renamed from
8451 finish_python_initialization, made static. New arg extlang.
8452 (gdbpy_initialized): New function.
8453 * python/python.h: #include "extension.h". Delete #include
8454 "value.h", "mi/mi-cmds.h".
8455 (extension_language_python): Declare.
8456 (GDBPY_AUTO_FILE_NAME): Delete.
8457 (enum py_bt_status): Moved to extension.h and renamed to
8458 ext_lang_bt_status.
8459 (enum frame_filter_flags): Moved to extension.h.
8460 (enum py_frame_args): Moved to extension.h and renamed to
8461 ext_lang_frame_args.
8462 (finish_python_initialization): Delete.
8463 (eval_python_from_control_command): Delete.
8464 (source_python_script): Delete.
8465 (apply_val_pretty_printer): Delete.
8466 (apply_frame_filter): Delete.
8467 (preserve_python_values): Delete.
8468 (gdbpy_script_language_defn): Delete.
8469 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
8470 (start_type_printers, apply_type_printers, free_type_printers): Delete.
8471
8472 * auto-load.c: #include "extension.h".
8473 (GDB_AUTO_FILE_NAME): Delete.
8474 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
8475 (script_language_gdb): Delete, moved to extension.c and renamed to
8476 extension_language_gdb.
8477 (source_gdb_script_for_objfile): Delete.
8478 (auto_load_pspace_info): New member unsupported_script_warning_printed.
8479 (loaded_script): Change type of language member to
8480 struct extension_language_defn *.
8481 (init_loaded_scripts_info): Initialize
8482 unsupported_script_warning_printed.
8483 (maybe_add_script): Make static. Change type of language arg to
8484 struct extension_language_defn *.
8485 (clear_section_scripts): Reset unsupported_script_warning_printed.
8486 (auto_load_objfile_script_1): Rewrite to use extension language API.
8487 (auto_load_objfile_script): Make public. Remove support-compiled-in
8488 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
8489 (source_section_scripts): Rewrite to use extension language API.
8490 (load_auto_scripts_for_objfile): Rewrite to use
8491 auto_load_scripts_for_objfile.
8492 (collect_matching_scripts_data): Change type of language member to
8493 struct extension_language_defn *.
8494 (auto_load_info_scripts): Change type of language arg to
8495 struct extension_language_defn *.
8496 (unsupported_script_warning_print): New function.
8497 (script_not_found_warning_print): Make static.
8498 (_initialize_auto_load): Rewrite construction of scripts-directory
8499 help.
8500 * auto-load.h (struct objfile): Add forward decl.
8501 (struct script_language): Delete.
8502 (struct auto_load_pspace_info): Add forward decl.
8503 (struct extension_language_defn): Add forward decl.
8504 (maybe_add_script): Delete.
8505 (auto_load_objfile_script): Declare.
8506 (script_not_found_warning_print): Delete.
8507 (auto_load_info_scripts): Update prototype.
8508 (auto_load_gdb_scripts_enabled): Declare.
8509 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
8510 auto_load_python_scripts_enabled and made public.
8511 (script_language_python): Delete, moved to python.c.
8512 (gdbpy_script_language_defn): Delete.
8513 (info_auto_load_python_scripts): Update to use
8514 extension_language_python.
8515
8516 * breakpoint.c (condition_command): Replace call to
8517 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
8518 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
8519 with call to breakpoint_ext_lang_cond_says_stop.
8520 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
8521 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
8522 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
8523 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
8524 New arg slang.
8525 (local_setattro): Print name of extension language with existing
8526 stop condition.
8527
8528 * valprint.c (val_print, value_print): Update to call
8529 apply_ext_lang_val_pretty_printer.
8530 * cp-valprint.c (cp_print_value): Update call to
8531 apply_ext_lang_val_pretty_printer.
8532 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
8533 (gdbpy_apply_val_pretty_printer): Renamed from
8534 apply_val_pretty_printer. New arg extlang.
8535 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
8536
8537 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
8538 extension language API.
8539 * cli/cli-script.c (execute_control_command): Update to call
8540 eval_ext_lang_from_control_command.
8541
8542 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
8543 enum ext_lang_bt_status values. Update call to
8544 apply_ext_lang_frame_filter.
8545 (mi_cmd_stack_list_locals): Ditto.
8546 (mi_cmd_stack_list_args): Ditto.
8547 (mi_cmd_stack_list_variables): Ditto.
8548 * mi/mi-main.c: Delete #include "python/python-internal.h".
8549 Add #include "extension.h".
8550 (mi_cmd_list_features): Replace reference to python internal variable
8551 gdb_python_initialized with call to ext_lang_initialized_p.
8552
8553 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
8554 Update to use enum ext_lang_frame_args. Update to call
8555 apply_ext_lang_frame_filter.
8556 * python/py-framefilter.c (extract_sym): Update to use enum
8557 ext_lang_bt_status.
8558 (extract_value, py_print_type, py_print_value): Ditto.
8559 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
8560 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
8561 (py_print_frame): Ditto.
8562 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
8563 New arg extlang. Update to use enum ext_lang_bt_status.
8564
8565 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
8566 finish_python_initialization. Replace with call to
8567 finish_ext_lang_initialization.
8568
8569 * typeprint.c (do_free_global_table): Update to call
8570 free_ext_lang_type_printers.
8571 (create_global_typedef_table): Update to call
8572 start_ext_lang_type_printers.
8573 (find_global_typedef): Update to call apply_ext_lang_type_printers.
8574 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
8575 (type_print_options): Change type of global_printers from "void *"
8576 to "struct ext_lang_type_printers *".
8577
8578 * value.c (preserve_values): Update to call preserve_ext_lang_values.
8579 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
8580 (gdbpy_preserve_values): Renamed from preserve_python_values.
8581 New arg extlang.
8582 (!HAVE_PYTHON, preserve_python_values): Delete.
8583
8584 * utils.c (quit_flag): Delete, moved to extension.c.
8585 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
8586 extension.c.
8587
8588 * eval.c: Delete #include "python/python.h".
8589 * main.c: Delete #include "python/python.h".
8590
8591 * defs.h: Update comment.
8592
8593 2014-02-06 Joel Brobecker <brobecker@adacore.com>
8594
8595 GDB 7.7 released.
8596
8597 2014-02-05 Mark Kettenis <kettenis@gnu.org>
8598
8599 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
8600 defined.
8601
8602 2014-02-05 Yao Qi <yao@codesourcery.com>
8603
8604 * remote.c (remote_pass_signals): Remove local 'buf' and use
8605 rs->buf.
8606 (remote_program_signals): Likewise.
8607
8608 2014-02-05 Yao Qi <yao@codesourcery.com>
8609
8610 * ctf.c: Include "inferior.h" and "gdbthread.h".
8611 (CTF_PID): A new macro.
8612 (ctf_open): Call inferior_appeared and add_thread_silent.
8613 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
8614 (ctf_thread_alive): New function.
8615 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
8616
8617 2014-02-05 Yao Qi <yao@codesourcery.com>
8618
8619 Revert this patch:
8620
8621 2013-05-24 Yao Qi <yao@codesourcery.com>
8622
8623 * tracepoint.c (TFILE_PID): Remove.
8624 (tfile_open): Don't add thread and inferior.
8625 (tfile_close): Don't set 'inferior_ptid'. Don't call
8626 exit_inferior_silent.
8627 (tfile_thread_alive): Remove.
8628 (init_tfile_ops): Don't set field 'to_thread_alive' of
8629 tfile_ops.
8630
8631 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
8632
8633 * remote.c (remote_start_remote): Call remote_check_symbols even
8634 if only symbol-file (not file) has been given.
8635
8636 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8637
8638 * gdbarch.sh (skip_entrypoint): New callback.
8639 * gdbarch.c, gdbarch.h: Regenerate.
8640 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
8641 * infrun.c (fill_in_stop_func): Likewise.
8642 * ppc-linux-tdep.c: Include "elf/ppc64.h".
8643 (ppc_elfv2_elf_make_msymbol_special): New function.
8644 (ppc_elfv2_skip_entrypoint): Likewise.
8645 (ppc_linux_init_abi): Install them for ELFv2.
8646
8647 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8648
8649 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
8650 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
8651 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
8652 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
8653 structures returned in GPRs.
8654
8655 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8656
8657 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
8658 offset to the stack parameter list for the ELFv2 ABI.
8659
8660 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8661
8662 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
8663 set_gdbarch_convert_from_func_ptr_addr and
8664 set_gdbarch_elf_make_msymbol_special for ELFv1.
8665 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
8666 function descriptors on ELFv1.
8667 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
8668 set up r12 at function entry.
8669
8670 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8671
8672 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
8673 (struct gdbarch_tdep): New member elf_abi.
8674
8675 * rs6000-tdep.c: Include "elf/ppc64.h".
8676 (rs6000_gdbarch_init): Detect ELF ABI version.
8677
8678 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8679
8680 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
8681 within a register pair holding a DFP 128-bit value on little-endian.
8682 (ppc64_sysv_abi_return_value_base): Likewise.
8683 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
8684 (dfp_pseudo_register_write): Likewise.
8685
8686 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8687
8688 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
8689 offset on little-endian when passing _Decimal32.
8690 (ppc64_sysv_abi_return_value_base): Likewise for return values.
8691
8692 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8693
8694 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
8695 of the overlapped FP register within the VSX register on little-
8696 endian platforms.
8697 (efpr_pseudo_register_write): Likewise.
8698
8699 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8700
8701 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
8702 offset on little-endian when passing small structures.
8703
8704 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8705
8706 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
8707 (struct ppc64_sysv_argpos): New data structure.
8708 (ppc64_sysv_abi_push_float): Remove.
8709 (ppc64_sysv_abi_push_val): New function.
8710 (ppc64_sysv_abi_push_integer): Likewise.
8711 (ppc64_sysv_abi_push_freg): Likewise.
8712 (ppc64_sysv_abi_push_vreg): Likewise.
8713 (ppc64_sysv_abi_push_param): Likewise.
8714 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
8715 (ppc64_sysv_abi_return_value_base): New function.
8716 (ppc64_sysv_abi_return_value): Refactor to use it.
8717
8718 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8719
8720 * NEWS: Document new target powerpc64le-*-linux*.
8721
8722 2014-02-04 Mark Kettenis <kettenis@gnu.org>
8723
8724 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
8725 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
8726 core dumps.
8727 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
8728 register set used in ELF core dumps. Add floating-point register set.
8729
8730 2014-02-03 Kevin Buettner <kevinb@redhat.com>
8731
8732 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
8733 dwarf2_to_gdb[] table using symbolic constants. Adjust
8734 penultimate entry from number representing the PC register
8735 to symbolic constant representing the MDR register. Add
8736 constant for the PC register to the end of the table.
8737
8738 2014-02-03 Mark Kettenis <kettenis@gnu.org>
8739
8740 * bsd-kvm.c: Include <sys/param.h>
8741
8742 2014-02-03 Mark Kettenis <kettenis@gnu.org>
8743
8744 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
8745
8746 2014-01-31 Joel Brobecker <brobecker@adacore.com>
8747
8748 * ada-lang.h (clear_ada_sym_cache): Delete.
8749
8750 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
8751
8752 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
8753
8754 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8755
8756 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
8757 the sigreturn register save area only if the syscall is
8758 sigreturn.
8759
8760 2014-01-29 Joel Brobecker <brobecker@adacore.com>
8761
8762 * valops.c (value_slice): Minor reformatting.
8763
8764 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
8765
8766 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
8767
8768 2014-01-28 Joel Brobecker <brobecker@adacore.com>
8769
8770 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
8771 New static globals.
8772 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
8773 (ada_ignore_descriptive_types_p): New static global.
8774 (find_parallel_type_by_descriptive_type): Return immediately
8775 if ada_ignore_descriptive_types_p is set.
8776 (_initialize_ada_language): Register new commands "maintenance
8777 set ada", "maintenance show ada", "maintenance set ada
8778 ignore-descriptive-types" and "maintenance show ada
8779 ignore-descriptive-types".
8780 * NEWS: Add entry for new "maint ada set/show
8781 ignore-descriptive-types" commands.
8782
8783 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
8784
8785 * record-btrace.c (record_btrace_close): Call btrace_teardown
8786 for all threads.
8787
8788 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8789
8790 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
8791 "ui-out.h".
8792
8793 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8794
8795 * ada-typeprint (type_is_full_subrange_of_target_type):
8796 New function.
8797 (print_range): Add parameter bounds_prefered_p. If not set,
8798 try printing range types using the name of their base type.
8799 (print_range_type): Add parameter bounds_prefered_p.
8800 Use it in call to print_range.
8801 (print_array_type, ada_print_type): Update calls to print_range
8802 and print_range_type.
8803
8804 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8805
8806 * ada-typeprint.c (print_array_type, print_choices, print_range)
8807 (print_range_bound, print_dynamic_range_bound, print_range_type):
8808 Remove declaration.
8809
8810 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8811
8812 * ada-typeprint.c (print_range): Add missing empty line
8813 after local declaration.
8814
8815 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8816
8817 * ada-valprint.c (print_optional_low_bound): Get index_type's
8818 target type for as long as it is a TYPE_CODE_RANGE.
8819
8820 2014-01-27 Joel Brobecker <brobecker@adacore.com>
8821
8822 * procfs.c (procfs_make_note_section): Remove assertion and
8823 associated comment.
8824
8825 2014-01-24 Yao Qi <yao@codesourcery.com>
8826
8827 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
8828 * corelow.c (get_core_siginfo): Likewise.
8829
8830 2014-01-24 Yao Qi <yao@codesourcery.com>
8831
8832 * remote.c (remote_write_bytes_aux): Change type of 'len' to
8833 ULONGEST. Don't check 'len' is negative.
8834 (remote_write_bytes): Change type of 'len' to ULONGEST.
8835
8836 2014-01-23 Tom Tromey <tromey@redhat.com>
8837
8838 PR python/16485:
8839 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
8840 Handle exception from frame.block.
8841 (FrameVars.fetch_frame_locals): Likewise.
8842
8843 2014-01-23 Tom Tromey <tromey@redhat.com>
8844
8845 PR python/16487:
8846 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
8847 on a NULL pointer. Move "goto error" to correct place.
8848
8849 2014-01-23 Tom Tromey <tromey@redhat.com>
8850
8851 PR python/16491:
8852 * python/py-framefilter.c (apply_frame_filter): Call
8853 ensure_python_env after computing gdbarch.
8854
8855 2014-01-23 Yao Qi <yao@codesourcery.com>
8856
8857 * target.c (raw_memory_xfer_partial): Change argument type
8858 from void * to gdb_byte *.
8859 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
8860
8861 2014-01-22 Doug Evans <dje@google.com>
8862
8863 New gdbserver option --debug-format=timestamp.
8864 * NEWS: Mention it.
8865
8866 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8867
8868 * syscalls/s390x-linux.xml: New file.
8869 * syscalls/s390-linux.xml: New file.
8870 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
8871 (XML_SYSCALL_FILENAME_S390X): Likewise.
8872 (op_svc): New enum value for SVC opcode.
8873 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
8874 (s390_linux_get_syscall_number): New function.
8875 (s390_gdbarch_init): Register '*get_syscall_number' and the
8876 syscall xml file name.
8877 * data-directory/Makefile.in (SYSCALLS_FILES): Add
8878 "s390-linux.xml" and "s390x-linux.xml".
8879 * NEWS: Announce new feature.
8880
8881 2014-01-22 Baruch Siach <baruch@tkos.co.il>
8882
8883 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
8884
8885 2014-01-22 Pedro Alves <palves@redhat.com>
8886
8887 * xtensa-config.c: Include defs.h.
8888
8889 2014-01-22 Joel Brobecker <brobecker@adacore.com>
8890
8891 * common/common-utils.h: Add "ARI:" comment beside __func__
8892 reference.
8893
8894 2014-01-22 Joel Brobecker <brobecker@adacore.com>
8895
8896 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
8897 documentation a bit.
8898
8899 2014-01-21 Roland McGrath <mcgrathr@google.com>
8900
8901 * configure.ac: Call AM_PROG_INSTALL_STRIP.
8902 * configure: Regenerate.
8903 * aclocal.m4: Regenerate.
8904 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
8905 New substituted variables.
8906 (install-strip): New target.
8907 (INSTALL_SCRIPT): New substituted variable.
8908 (FLAGS_TO_PASS): Add it.
8909 (install-only): Use $(INSTALL_SCRIPT) rather than
8910 $(INSTALL_PROGRAM) for gcore.
8911
8912 2014-01-20 Tom Tromey <tromey@redhat.com>
8913
8914 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
8915 together.
8916
8917 2014-01-20 Tom Tromey <tromey@redhat.com>
8918
8919 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
8920 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
8921 (deprecated_cmd_warning, complete_on_cmdlist): Update.
8922 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
8923 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
8924 (struct cmd_list_element) <flags>: Remove.
8925 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
8926 doc_allocated>: New fields.
8927 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
8928 bitfields.
8929 * maint.c (maintenance_do_deprecate): Update.
8930 * top.c (execute_command): Update.
8931
8932 2014-01-20 Baruch Siach <baruch@tkos.co.il>
8933
8934 * xtensa-linux-nat.c: Include asm/ptrace.h.
8935
8936 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8937
8938 * Makefile.in (SFILES): Add d-support.c.
8939 (COMMON_OBS): Add d-support.o.
8940 * d-lang.h (d_parse_symbol): Add comment, now defined in
8941 d-support.c.
8942 * d-lang.c (parse_call_convention)
8943 (parse_attributes, parse_function_types)
8944 (parse_function_args, parse_type, parse_identifier)
8945 (call_convention_p, d_parse_symbol): Move functions to ...
8946 * d-support.c: ... New file.
8947
8948 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8949
8950 * d-lang.h (d_parse_symbol): Add declaration.
8951 * d-lang.c (extract_identifiers)
8952 (extract_type_info): Remove functions.
8953 (parse_call_convention, parse_attributes)
8954 (parse_function_types, parse_function_args)
8955 (parse_type, parse_identifier, call_convention_p)
8956 (d_parse_symbol): New functions.
8957 (d_demangle): Use d_parse_symbol to demangle D symbols.
8958
8959 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8960
8961 * d-lang.h (struct builtin_d_type): New data type.
8962 (builtin_d_type): Add declaration.
8963 * d-lang.c (d_language_arch_info, build_d_types)
8964 (builtin_d_type): New functions.
8965 (enum d_primitive_types): New data type.
8966 (d_language_defn): Change c_language_arch_info to
8967 d_language_arch_info.
8968 (d_type_data): New static variable.
8969 (_initialize_d_language): Initialize d_type_data.
8970
8971 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8972
8973 * d-lang.h (d_main_name): Add declaration.
8974 * d-lang.c (d_main_name): New function.
8975 * symtab.c (find_main_name): Add call to d_main_name.
8976
8977 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8978
8979 * d-lang.c (d_language_defn): Change macro_expansion_c to
8980 macro_expansion_no.
8981
8982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8983
8984 * MAINTAINERS: Add myself as a write-after-approval maintainer.
8985
8986 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
8987
8988 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
8989 gdb_exception" declaration.
8990 * remote.c (getpkt_or_notif_sane): Likewise.
8991
8992 2014-01-17 Doug Evans <dje@google.com>
8993
8994 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
8995 function, contents of dirnames_to_char_ptr_vec_append moved here.
8996 (delim_string_to_char_ptr_vec): New function.
8997 (dirnames_to_char_ptr_vec_append): Rewrite.
8998 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
8999
9000 2014-01-17 Doug Evans <dje@google.com>
9001
9002 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
9003 and moved here ...
9004 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
9005 #include "common-utils.h".
9006 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
9007 * common/vec.h (VEC_ASSERT_PASS): Update.
9008 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
9009 (MACH_CHECK_ERROR): Update.
9010
9011 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
9012
9013 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
9014 comments.
9015 * gdbarch.h: Regenerate.
9016
9017 2014-01-16 Tom Tromey <tromey@redhat.com>
9018
9019 * value.c (struct value) <regnum>: Move earlier.
9020
9021 2014-01-16 Tom Tromey <tromey@redhat.com>
9022
9023 * remote.c (extended_remote_create_inferior): Rename from
9024 extended_remote_create_inferior_1. Add "ops" argument. Remove
9025 old implementation.
9026
9027 2014-01-16 Pedro Alves <palves@redhat.com>
9028
9029 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
9030 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
9031 the backchain.
9032
9033 2014-01-16 Doug Evans <dje@google.com>
9034
9035 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
9036
9037 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9038
9039 * btrace.h (btrace_thread_flag): New.
9040 (struct btrace_thread_info) <flags>: New.
9041 * record-btrace.c (record_btrace_resume_thread)
9042 (record_btrace_find_thread_to_move, btrace_step_no_history)
9043 (btrace_step_stopped, record_btrace_start_replaying)
9044 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
9045 (record_btrace_find_resume_thread): New.
9046 (record_btrace_resume, record_btrace_wait): Extend.
9047 (record_btrace_can_execute_reverse): New.
9048 (record_btrace_open): Fail in non-stop mode.
9049 (record_btrace_set_replay): Split into this, ...
9050 (record_btrace_stop_replaying): ... this, ...
9051 (record_btrace_clear_histories): ... and this.
9052 (init_record_btrace_ops): Init to_can_execute_reverse.
9053 * NEWS: Announce it.
9054
9055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9056
9057 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
9058 (forward_target_decr_pc_after_break)
9059 (target_decr_pc_after_break): New.
9060 * target.c (forward_target_decr_pc_after_break)
9061 (target_decr_pc_after_break): New.
9062 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
9063 instead of gdbarch_decr_pc_after_break.
9064 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9065 instead of gdbarch_decr_pc_after_break.
9066 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
9067 instead of gdbarch_decr_pc_after_break.
9068 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9069 instead of gdbarch_decr_pc_after_break.
9070 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
9071 instead of gdbarch_decr_pc_after_break.
9072 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
9073 instead of gdbarch_decr_pc_after_break.
9074
9075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9076
9077 * btrace.c: Include regcache.h.
9078 (btrace_add_pc): New.
9079 (btrace_enable): Call btrace_add_pc.
9080 (btrace_is_empty): New.
9081 * btrace.h (btrace_is_empty): New.
9082 * record-btrace.c (require_btrace, record_btrace_info): Call
9083 btrace_is_empty.
9084
9085 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9086
9087 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
9088 Support delta reads.
9089 (linux_disable_btrace): Change return type.
9090 * common/linux-btrace.h (linux_read_btrace): Change parameters
9091 and return type to allow error reporting. Update users.
9092 (linux_disable_btrace): Change return type. Update users.
9093 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
9094 New.
9095 (btrace_error): New.
9096 (btrace_block) <begin>: Comment on BEGIN == 0.
9097 * btrace.c (btrace_compute_ftrace): Start from the end of
9098 the current trace.
9099 (btrace_stitch_trace, btrace_clear_history): New.
9100 (btrace_fetch): Read delta trace, return if replaying.
9101 (btrace_clear): Move clear history code to btrace_clear_history.
9102 (parse_xml_btrace): Throw an error if parsing failed.
9103 * target.h (struct target_ops) <to_read_btrace>: Change parameters
9104 and return type to allow error reporting.
9105 (target_read_btrace): Change parameters and return type to allow
9106 error reporting.
9107 * target.c (target_read_btrace): Update.
9108 * remote.c (remote_read_btrace): Support delta reads. Pass
9109 errors on.
9110 * NEWS: Announce it.
9111
9112 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9113
9114 * record.h (record_btrace_frame_unwind)
9115 (record_btrace_tailcall_frame_unwind): New declarations.
9116 * dwarf2-frame: Include record.h
9117 (dwarf2_frame_cfa): Throw an error for btrace frames.
9118 * record-btrace.c: Include hashtab.h.
9119 (btrace_get_bfun_name): New.
9120 (btrace_call_history): Call btrace_get_bfun_name.
9121 (struct btrace_frame_cache): New.
9122 (bfcache): New.
9123 (bfcache_hash, bfcache_eq, bfcache_new): New.
9124 (btrace_get_frame_function): New.
9125 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
9126 (record_btrace_frame_this_id): Compute own id.
9127 (record_btrace_frame_prev_register): Provide PC, throw_error
9128 for all other registers.
9129 (record_btrace_frame_sniffer): Detect btrace frames.
9130 (record_btrace_tailcall_frame_sniffer): New.
9131 (record_btrace_frame_dealloc_cache): New.
9132 (record_btrace_frame_unwind): Add new functions.
9133 (record_btrace_tailcall_frame_unwind): New.
9134 (_initialize_record_btrace): Allocate cache.
9135 * btrace.c (btrace_clear): Call reinit_frame_cache.
9136 * NEWS: Announce it.
9137
9138 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9139
9140 * record-btrace.c (record_btrace_set_replay)
9141 (record_btrace_goto_begin, record_btrace_goto_end)
9142 (record_btrace_goto): New.
9143 (init_record_btrace_ops): Initialize them.
9144 * NEWS: Announce it.
9145
9146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9147
9148 * record-btrace.c (record_btrace_find_new_threads)
9149 (record_btrace_thread_alive): New.
9150 (init_record_btrace_ops): Initialize to_find_new_threads and
9151 to_thread_alive.
9152
9153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9154
9155 * record-btrace.c (record_btrace_resume): New.
9156 (record_btrace_wait): New.
9157 (init_record_btrace_ops): Initialize to_wait and to_resume.
9158
9159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9160
9161 * record-btrace.c (record_btrace_xfer_partial)
9162 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
9163 (record_btrace_allow_memory_access): New.
9164 (init_record_btrace_ops): Initialize new methods.
9165 * target.c (raw_memory_xfer_partial): Bail out if target reports
9166 that this memory is not available.
9167
9168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9169
9170 * target.h (target_ops) <to_insert_breakpoint>
9171 <to_remove_breakpoint>: Add target_ops parameter.
9172 (forward_target_insert_breakpoint): New.
9173 (forward_target_remove_breakpoint): New.
9174 (memory_remove_breakpoint, memory_insert_breakpoint):
9175 Add target_ops parameter.
9176 * target.c (target_insert_breakpoint): Split into this and ...
9177 (forward_target_insert_breakpoint): ... this.
9178 (target_remove_breakpoint): Split into this and ...
9179 (forward_target_remove_breakpoint): ... this.
9180 (debug_to_insert_breakpoint): Add target_ops parameter.
9181 Call forward_target_insert_breakpoint.
9182 (debug_to_remove_breakpoint): Add target_ops parameter.
9183 Call forward_target_remove_breakpoint.
9184 (update_current_target): Do not inherit or default to_insert_breakpoint
9185 and to_remove_breakpoint.
9186 * corelow.c (ignore): Add target_ops parameter.
9187 * exec.c (ignore): Add target_ops parameter.
9188 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
9189 Add target_ops parameter.
9190 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
9191 Add target_ops parameter.
9192 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
9193 Add target_ops parameter.
9194 * record-full.c (record_full_beneath_to_insert_breakpoint)
9195 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
9196 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
9197 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
9198 (record_full_core_remove_breakpoint): Add target_ops parameter.
9199 Update users.
9200 (record_full_beneath_to_insert_breakpoint_ops)
9201 (record_full_beneath_to_remove_breakpoint_ops)
9202 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
9203 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
9204 tmp_to_remove_breakpoint_ops,
9205 record_full_beneath_to_insert_breakpoint_ops, and
9206 record_full_beneath_to_remove_breakpoint_ops.
9207 * remote-m32r-sdi.c (m32r_insert_breakpoint)
9208 (m32r_remove_breakpoint): Add target_ops parameter.
9209 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
9210 Add target_ops parameter.
9211 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
9212 Add target_ops parameter.
9213
9214 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9215 Markus Metzger <markus.t.metzger@intel.com>
9216
9217 * record-btrace.c: Include frame-unwind.h.
9218 (record_btrace_frame_unwind_stop_reason)
9219 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
9220 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
9221 New.
9222 (init_record_btrace_ops): Install it.
9223
9224 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9225
9226 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
9227 get_prev_frame_1.
9228
9229 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
9232 earlier.
9233
9234 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9235
9236 * frame-unwind.c: Include target.h.
9237 (frame_unwind_try_unwinder): New function with code from ...
9238 (frame_unwind_find_by_frame): ... here. New variable
9239 unwinder_from_target, call also target_get_unwinder)
9240 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
9241 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
9242 * target.h (struct target_ops): New fields to_get_unwinder and
9243 to_get_tailcall_unwinder.
9244 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
9245
9246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9247
9248 * record-btrace.c (record_btrace_fetch_registers)
9249 (record_btrace_store_registers)
9250 (record_btrace_to_prepare_to_store): New.
9251 (init_record_btrace_ops): Add the above.
9252
9253 2014-01-16 Tom Tromey <tromey@redhat.com>
9254
9255 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
9256 * target.h (struct target_ops) <to_prepare_to_store>: Add
9257 argument.
9258 (target_prepare_to_store): Add argument.
9259 * target.c (debug_to_prepare_to_store): Add argument.
9260 (update_current_target): Update.
9261 * remote.c (remote_prepare_to_store): Add 'self' argument.
9262 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
9263 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
9264 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
9265 * record-full.c (record_full_core_prepare_to_store): Add 'self'
9266 argument.
9267 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
9268 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
9269 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
9270 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
9271 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
9272
9273 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9274
9275 * btrace.h (replay) <replay>: New.
9276 (btrace_is_replaying): New.
9277 * btrace.c (btrace_clear): Free replay iterator.
9278 (btrace_is_replaying): New.
9279 * record-btrace.c (record_btrace_is_replaying): New.
9280 (record_btrace_info): Print insn number if replaying.
9281 (record_btrace_insn_history): Start at replay position.
9282 (record_btrace_call_history): Start at replay position.
9283 (init_record_btrace_ops): Init to_record_is_replaying.
9284
9285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9286
9287 * record-btrace.c (record_btrace_insn_history_range): Include
9288 end.
9289 (record_btrace_insn_history_from): Adjust range.
9290 (record_btrace_call_history_range): Include
9291 end.
9292 (record_btrace_call_history_from): Adjust range.
9293 * NEWS: Announce changes.
9294
9295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9296
9297 * record.h (enum record_print_flag)
9298 <record_print_indent_calls>: New.
9299 * record.c (get_call_history_modifiers): Recognize /c modifier.
9300 (_initialize_record): Document /c modifier.
9301 * record-btrace.c (btrace_call_history): Add btinfo parameter.
9302 Reorder fields. Optionally indent the function name. Update
9303 all users.
9304 * NEWS: Announce changes.
9305
9306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9307
9308 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
9309
9310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * btrace.c (ftrace_new_function): Start counting at one.
9313 * record-btrace.c (record_btrace_info): Adjust number of calls
9314 and insns.
9315 * NEWS: Announce it.
9316
9317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9318
9319 * record-btrace.c (btrace_call_history_insn_range): Print
9320 insn range as [begin, end].
9321
9322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9323
9324 * btrace.h (struct btrace_func_link): New.
9325 (enum btrace_function_flag): New.
9326 (struct btrace_inst): Rename to ...
9327 (struct btrace_insn): ...this. Update all users.
9328 (struct btrace_func) <ibegin, iend>: Remove.
9329 (struct btrace_func_link): New.
9330 (struct btrace_func): Rename to ...
9331 (struct btrace_function): ...this. Update all users.
9332 (struct btrace_function) <segment, flow, up, insn, insn_offset)
9333 (number, level, flags>: New.
9334 (struct btrace_insn_iterator): Rename to ...
9335 (struct btrace_insn_history): ...this.
9336 Update all users.
9337 (struct btrace_insn_iterator, btrace_call_iterator): New.
9338 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
9339 (struct btrace_target_info) <begin, end, level>
9340 <insn_history, call_history>: New.
9341 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
9342 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
9343 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
9344 (btrace_call_number, btrace_call_begin, btrace_call_end)
9345 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
9346 (btrace_find_function_by_number, btrace_set_insn_history)
9347 (btrace_set_call_history): New.
9348 * btrace.c (btrace_init_insn_iterator)
9349 (btrace_init_func_iterator, compute_itrace): Remove.
9350 (ftrace_print_function_name, ftrace_print_filename)
9351 (ftrace_skip_file): Change
9352 parameter to const.
9353 (ftrace_init_func): Remove.
9354 (ftrace_debug): Use new btrace_function fields.
9355 (ftrace_function_switched): Also consider gaining and
9356 losing symbol information).
9357 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
9358 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
9359 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
9360 New.
9361 (ftrace_new_function): Move. Remove debug print.
9362 (ftrace_update_lines, ftrace_update_insns): New.
9363 (ftrace_update_function): Check for call, ret, and jump.
9364 (compute_ftrace): Renamed to ...
9365 (btrace_compute_ftrace): ...this. Rewritten to compute call
9366 stack.
9367 (btrace_fetch, btrace_clear): Updated.
9368 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
9369 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
9370 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
9371 (btrace_call_number, btrace_call_begin, btrace_call_end)
9372 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
9373 (btrace_find_function_by_number, btrace_set_insn_history)
9374 (btrace_set_call_history): New.
9375 * record-btrace.c (require_btrace): Use new btrace thread
9376 info fields.
9377 (record_btrace_info, btrace_insn_history)
9378 (record_btrace_insn_history, record_btrace_insn_history_range):
9379 Use new btrace thread info fields and new iterator.
9380 (btrace_func_history_src_line): Rename to ...
9381 (btrace_call_history_src_line): ...this. Use new btrace
9382 thread info fields.
9383 (btrace_func_history): Rename to ...
9384 (btrace_call_history): ...this. Use new btrace thread info
9385 fields and new iterator.
9386 (record_btrace_call_history, record_btrace_call_history_range):
9387 Use new btrace thread info fields and new iterator.
9388
9389 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9390
9391 * frame.h (frame_id_build_unavailable_stack_special): New.
9392 * frame.c (frame_id_build_unavailable_stack_special): New.
9393
9394 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9395
9396 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
9397 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
9398 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
9399 to gdbarch.
9400 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
9401 (i386_insn_is_jump, i386_jmp_p): New.
9402 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
9403 insn_is_jump to gdbarch.
9404 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
9405 * gdbarch.h: Regenerated.
9406 * gdbarch.c: Regenerated.
9407 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
9408 (default_insn_is_jump): New.
9409 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
9410 (default_insn_is_jump): New.
9411
9412 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9413
9414 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
9415 Change to ...
9416 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
9417 (btrace_read_type) <btrace_read_new>: Change to ...
9418 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
9419
9420 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9421
9422 * common/linux-btrace.c (linux_read_btrace): Free trace from
9423 previous iteration.
9424
9425 2014-01-15 Doug Evans <dje@google.com>
9426
9427 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
9428 uint32_t.
9429
9430 2014-01-15 Tom Tromey <tromey@redhat.com>
9431
9432 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
9433 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
9434 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
9435 (set_objfile_main_name): New function.
9436 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
9437 language_of_main>: New fields.
9438 (set_objfile_main_name): Declare.
9439 * symtab.c (find_main_name): Loop over objfiles to find the main
9440 name and language.
9441 (set_main_name): Now static.
9442 (get_main_info): Add comment.
9443 * symtab.h (set_main_name): Don't declare.
9444
9445 2014-01-15 Tom Tromey <tromey@redhat.com>
9446
9447 * symtab.c (main_progspace_key): New global.
9448 (struct main_info): New.
9449 (name_of_main, language_of_main): Remove.
9450 (get_main_info, main_info_cleanup): New function.
9451 (set_main_name, main_name, main_language): Use get_main_info.
9452 (_initialize_symtab): Initialize main_progspace_key.
9453
9454 2014-01-15 Tom Tromey <tromey@redhat.com>
9455
9456 * dbxread.c (process_one_symbol): Update.
9457 * dwarf2read.c (read_partial_die): Update.
9458 * symfile.c (set_initial_language): Call main_language.
9459 * symtab.c (language_of_main): Now static.
9460 (set_main_name): Add 'lang' parameter.
9461 (find_main_name): Update.
9462 (main_language): New function.
9463 (symtab_observer_executable_changed): Update.
9464 * symtab.h (set_main_name): Update.
9465 (language_of_main): Remove.
9466 (main_language): Declare.
9467
9468 2014-01-15 Tom Tromey <tromey@redhat.com>
9469
9470 * symfile.c (init_entry_point_info): Use new "initialized" field.
9471 Update.
9472 * objfiles.h (struct entry_point) <initialized>: New field.
9473 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
9474 (struct objfile) <ei>: ...here. Remove.
9475 * objfiles.c (entry_point_address_query): Update.
9476
9477 2014-01-15 Tom Tromey <tromey@redhat.com>
9478
9479 * objfiles.c (entry_point_address_query): Relocate entry point
9480 address.
9481 (objfile_relocate1): Do not relocate entry point address.
9482 * objfiles.h (struct entry_info) <entry_point>: Update comment.
9483 <the_bfd_section_index>: New field.
9484 * symfile.c (init_entry_point_info): Find the entry point's
9485 section.
9486
9487 2014-01-15 Tom Tromey <tromey@redhat.com>
9488
9489 * solib-frv.c (enable_break): Use entry_point_address_query.
9490
9491 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9492
9493 * NEWS: Add note on improved process record-replay on
9494 arm*-linux* targets.
9495
9496 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9497
9498 * arm-tdep.c (enum arm_record_result): New enum.
9499 (arm_record_unsupported_insn): New function.
9500 (arm_record_coproc_data_proc): Removed.
9501 (thumb2_record_ld_st_multiple): New function.
9502 (thumb2_record_ld_st_dual_ex_tbb): New function.
9503 (thumb2_record_data_proc_sreg_mimm): New function.
9504 (thumb2_record_ps_dest_generic): New function.
9505 (thumb2_record_branch_misc_cntrl): New function.
9506 (thumb2_record_str_single_data): New function.
9507 (thumb2_record_ld_mem_hints): New function.
9508 (thumb2_record_ld_word): New function.
9509 (thumb2_record_lmul_lmla_div): New function.
9510 (thumb2_record_decode_insn_handler): New function.
9511 (decode_insn): Add thumb32 instruction handlers.
9512
9513 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9514
9515 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
9516 (struct arm_linux_record_tdep): Declare.
9517 (arm_canonicalize_syscall): New function.
9518 (arm_all_but_pc_registers_record): New function.
9519 (arm_linux_syscall_record): New function.
9520 (arm_linux_init_abi): Add syscall recording constructs.
9521 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
9522 decoding. (arm_record_coproc_data_proc): Update arm syscall
9523 decoding.
9524 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
9525 <arm_syscall_record>: New field.
9526 * configure.tgt (arm*-*-linux*): Add linux-record.o to
9527 gdb_target_obs.
9528
9529 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9530
9531 * arm-tdep.c (thumb_record_misc): Update to use sp as base
9532 register for push instruction recording.
9533
9534 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9535
9536 * arm-tdep.c (thumb_record_misc): Update to correct logical
9537 error while recording ldm, ldmia and pop instructions.
9538
9539 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9540
9541 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
9542
9543 2014-01-15 Pedro Alves <palves@redhat.com>
9544
9545 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
9546 (go32_resume, go32_fetch_registers, store_register)
9547 (go32_store_registers, go32_prepare_to_store)
9548 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
9549 (go32_create_inferior, go32_can_run, go32_terminal_init)
9550 (go32_terminal_inferior, go32_terminal_ours): Delete forward
9551 declarations.
9552
9553 2014-01-15 Tom Tromey <tromey@redhat.com>
9554
9555 * target.h (async_callback_ftype): New typedef.
9556 (struct target_ops) <to_async>: Use it.
9557
9558 2014-01-15 Joel Brobecker <brobecker@adacore.com>
9559
9560 * python/py-value.c (get_field_type): Remove unnecessary curly
9561 braces for single-statement if block.
9562
9563 2014-01-15 Joel Brobecker <brobecker@adacore.com>
9564
9565 * python/py-type.c (convert_field): Add missing empty line
9566 after declarations.
9567
9568 2014-01-14 Doug Evans <dje@google.com>
9569
9570 * symfile.h (expand_symtabs_matching): Renamed from
9571 expand_partial_symbol_names. Update prototype.
9572 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
9573 * symfile.c (expand_symtabs_matching): Renamed from
9574 expand_partial_symbol_names. New args file_matcher, kind.
9575 Rename arg fun to symbol_matcher.
9576 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
9577 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
9578 ada_expand_partial_symbol_name.
9579 (ada_make_symbol_completion_list): Update to call
9580 expand_symtabs_matching.
9581 (ada_add_global_exceptions): Call expand_symtabs_matching.
9582 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
9583 call map_symbol_filenames.
9584 * symtab.c (sources_info): Update to call map_symbol_filenames.
9585 (search_symbols): Call expand_symtabs_matching.
9586 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
9587 (default_make_symbol_completion_list_break_on): Update to call
9588 expand_symtabs_matching.
9589 (make_source_files_completion_list): Update to call
9590 map_symbol_filenames.
9591
9592 2014-01-14 Doug Evans <dje@google.com>
9593
9594 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
9595 (expand_symtabs_symbol_matcher_ftype): New typedef.
9596 (quick_symbol_functions.expand_symtabs_matching): Update to use.
9597 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9598 * symfile.c (expand_partial_symbol_names): Update to use
9599 expand_symtabs_symbol_matcher_ftype.
9600 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
9601 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9602 Arg name_matcher renamed to symbol_matcher.
9603 * psymtab.c (recursively_search_psymtabs): Update to use
9604 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
9605 sym_matcher.
9606 (expand_symtabs_matching_via_partial): Update to use
9607 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9608 Arg name_matcher renamed to symbol_matcher.
9609
9610 2014-01-14 Doug Evans <dje@google.com>
9611
9612 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
9613 (map_partial_symbol_filenames): Ditto.
9614 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
9615 (map_partial_symbol_filenames): Ditto.
9616 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
9617 (map_partial_symbol_filenames): Ditto.
9618 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
9619 (map_partial_symbol_filenames): Ditto.
9620 * symtab.c: Delete #include "psymtab.h".
9621
9622 2014-01-14 Pedro Alves <palves@redhat.com>
9623 Tom Tromey <tromey@redhat.com>
9624
9625 * infrun.c (use_displaced_stepping): Use find_record_target
9626 instead of RECORD_IS_USED.
9627 (adjust_pc_after_break): Use record_full_is_used instead of
9628 RECORD_IS_USED.
9629 * record-btrace.c (record_btrace_open): Call record_preopen
9630 instead of checking RECORD_IS_USED.
9631 * record-full.c (record_full_shortname)
9632 (record_full_core_shortname): New globals.
9633 (record_full_is_used): New function.
9634 (find_full_open): Call record_preopen instead of checking
9635 RECORD_IS_USED.
9636 (init_record_full_ops): Set the target's shortname to
9637 record_full_shortname.
9638 (init_record_full_core_ops): Set the target's shortname to
9639 record_full_core_shortname.
9640 * record-full.h (record_full_is_used): Declare.
9641 * record.c (find_record_target): Make extern.
9642 (record_preopen): New function.
9643 * record.h (RECORD_IS_USED): Delete macro.
9644 (find_record_target, record_preopen): Declare functions.
9645
9646 2014-01-14 Yao Qi <yao@codesourcery.com>
9647
9648 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
9649 'len''s type to ULONGEST.
9650 (core_xfer_shared_libraries_aix): Likewise.
9651 * gdbarch.c, gdbarch.h: Regenerated.
9652 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
9653 Change type of 'len' to ULONGEST.
9654 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9655 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
9656
9657 2014-01-14 Yao Qi <yao@codesourcery.com>
9658
9659 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
9660 type of 'len' to ULONGEST.
9661 (linux_xfer_osdata_processgroups): Likewise.
9662 (linux_xfer_osdata_threads): Likewise.
9663 (linux_xfer_osdata_fds): Likewise.
9664 (linux_xfer_osdata_isockets): Likewise.
9665 (linux_xfer_osdata_shm): Likewise.
9666 (linux_xfer_osdata_sem): Likewise.
9667 (linux_xfer_osdata_msg): Likewise.
9668 (linux_common_xfer_osdata): Likewise.
9669 (struct osdata_type) <getter>: Likewise.
9670 * common/linux-osdata.h (linux_common_xfer_osdata): Update
9671 the declaration.
9672
9673 2014-01-14 Yao Qi <yao@codesourcery.com>
9674
9675 * target.h (target_xfer_partial_ftype): Update.
9676 (struct target_ops) <to_xfer_partial>: Change 'len' type to
9677 ULONGEST.
9678 * aix-thread.c (aix_thread_xfer_partial): Change type of
9679 argument 'len' to ULONGEST.
9680 * auxv.c (procfs_xfer_auxv): Likewise.
9681 (ld_so_xfer_auxv): Likewise.
9682 (memory_xfer_auxv): Likewise.
9683 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9684 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9685 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9686 * corelow.c (core_xfer_partial): Likewise.
9687 * ctf.c (ctf_xfer_partial): Likewise.
9688 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
9689 '%u'.
9690 (darwin_read_dyld_info): Likewise.
9691 (darwin_xfer_partial): Likewise.
9692 * exec.c (section_table_xfer_memory_partial): Likewise.
9693 (exec_xfer_partial): Likewise.
9694 * exec.h (section_table_xfer_memory_partial): Update
9695 declaration.
9696 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
9697 instead of plongest.
9698 (gnu_xfer_partial): Likewise.
9699 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
9700 (ia64_hpux_xfer_solib_got): Likewise.
9701 (ia64_hpux_xfer_partial): Likewise.
9702 * ia64-linux-nat.c (ia64_linux_xfer_partial):
9703 * inf-ptrace.c (inf_ptrace_xfer_partial):
9704 * inf-ttrace.c (inf_ttrace_xfer_partial):
9705 * linux-nat.c (linux_xfer_siginfo): Likewise.
9706 (linux_nat_xfer_partial): Likewise.
9707 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
9708 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
9709 * monitor.c (monitor_xfer_memory): Likewise.
9710 (monitor_xfer_partial): Likewise.
9711 * procfs.c (procfs_xfer_partial): Likewise.
9712 * record-full.c (record_full_xfer_partial): Likewise.
9713 (record_full_core_xfer_partial): Likewise.
9714 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
9715 instead of plongest.
9716 (gdbsim_xfer_partial): Likewise.
9717 * remote.c (remote_xfer_partial): Likewise.
9718 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9719 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
9720 declaration.
9721 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9722 (rs6000_xfer_shared_libraries): Likewise.
9723 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9724 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9725 (sparc_xfer_partial): Likewise.
9726 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9727 (spu_xfer_partial): Likewise.
9728 * spu-multiarch.c (spu_xfer_partial): Likewise.
9729 * target.c (target_read_live_memory): Likewise.
9730 (memory_xfer_live_readonly_partial): Likewise.
9731 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
9732 (target_xfer_partial, default_xfer_partial): Likewise.
9733 (current_xfer_partial): Likewise.
9734 * tracepoint.c (tfile_xfer_partial): Likewise.
9735 * windows-nat.c (windows_xfer_memory): Likewise. Call
9736 pulongest instead of plongest.
9737 (windows_xfer_partial): Likewise.
9738 (windows_xfer_shared_libraries): Likewise.
9739
9740 2014-01-14 Yao Qi <yao@codesourcery.com>
9741
9742 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
9743 target_xfer_partial_ftype.
9744
9745 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9746
9747 PR python/15464
9748 PR python/16113
9749 * valops.c (value_struct_elt_bitpos): New function
9750 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
9751 object to 'None' if the field name is an empty string ("").
9752 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
9753 attribute to look for a field when 'name' is 'None'.
9754 (get_field_type): New function
9755
9756 2014-01-13 Doug Evans <dje@google.com>
9757
9758 PR symtab/16426
9759 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
9760 (try_open_dwop_file): Ditto.
9761 * gdb_bfd.c: #include "vec.h".
9762 (bfdp): New typedef.
9763 (struct gdb_bfd_data): New member included_bfds.
9764 (gdb_bfd_unref): Unref all included bfds.
9765 (gdb_bfd_record_inclusion): New function.
9766 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
9767
9768 2014-01-13 Tom Tromey <tromey@redhat.com>
9769
9770 * gdbcore.h (deprecated_core_resize_section_table): Remove.
9771
9772 2014-01-13 Tom Tromey <tromey@redhat.com>
9773
9774 * defs.h (use_windows): Remove.
9775 * gdb.c (main): Update.
9776 * main.c (captured_main, gdb_main): Update.
9777 * main.h (struct captured_main_args) <use_windows>: Remove.
9778 * top.c (use_windows): Remove.
9779
9780 2014-01-13 Tom Tromey <tromey@redhat.com>
9781
9782 * defs.h (deprecated_flush_hook): Remove.
9783
9784 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 PR threads/16216
9787 * linux-thread-db.c (try_thread_db_load): Add parameter
9788 check_auto_load_safe. Move here the file_is_auto_load_safe call.
9789 (try_thread_db_load_from_pdir_1): Move it there from here.
9790 (try_thread_db_load_from_sdir): Update caller.
9791 (try_thread_db_load_from_dir): Move it there from here.
9792
9793 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
9794
9795 * regformats/regdat.sh: Always rewrite the register file.
9796
9797 2014-01-13 Pedro Alves <palves@redhat.com>
9798
9799 * Makefile.in (CHECK_HEADERS): New variable.
9800 (check-headers:): New rule.
9801
9802 2014-01-13 Tom Tromey <tromey@redhat.com>
9803
9804 * cli/cli-setshow.c (do_set_command): Update.
9805 * defs.h (deprecated_set_hook): Remove.
9806 * top.c (deprecated_set_hook): Remove.
9807
9808 2014-01-13 Pedro Alves <palves@redhat.com>
9809
9810 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
9811 the tracepoint if the PC is a pseudo-register.
9812
9813 2014-01-13 Tom Tromey <tromey@redhat.com>
9814
9815 * defs.h (XCALLOC): Remove.
9816 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
9817 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
9818 * dwarf2loc.c (allocate_piece_closure): Likewise.
9819 * elfread.c (elf_symfile_segments): Likewise.
9820 (elf_symfile_segments): Likewise.
9821 * gdbtypes.c (copy_type_recursive): Likewise.
9822 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
9823 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
9824 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
9825 XCALLOC.
9826 * mt-tdep.c (mt_gdbarch_init): Likewise.
9827 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
9828 XCALLOC.
9829 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
9830 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
9831 * registry.c (registry_alloc_data): Likewise.
9832 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
9833 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
9834 * serial.c (serial_fdopen_ops): Likewise.
9835 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
9836 XCALLOC.
9837 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
9838 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
9839 not XCALLOC.
9840
9841 2014-01-13 Tom Tromey <tromey@redhat.com>
9842
9843 * defs.h (XMALLOC): Remove.
9844 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
9845 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
9846 * cli-out.c (struct ui_out *): Likewise.
9847 * cli/cli-dump.c (add_dump_command): Likewise.
9848 (add_dump_command): Likewise.
9849 * complaints.c (get_complaints): Likewise.
9850 (find_complaint): Likewise.
9851 * dwarf2-frame.c (execute_cfa_program): Likewise.
9852 * dwarf2read.c (abbrev_table_read_table): Likewise.
9853 * gdbarch.sh: Likewise.
9854 * gdbarch.c: Rebuild.
9855 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
9856 * interps.c (interp_new): Likewise.
9857 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
9858 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
9859 * mi/mi-console.c (mi_console_file_new): Likewise.
9860 * mi/mi-interp.c (mi_interpreter_init): Likewise.
9861 * mi/mi-out.c (mi_out_new): Likewise.
9862 * mi/mi-parse.c (mi_parse): Likewise.
9863 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
9864 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
9865 * observer.c (xalloc_observer_list_node): Likewise.
9866 * regcache.c (regcache_xmalloc_1): Likewise.
9867 * reggroups.c (reggroup_new): Likewise.
9868 (_initialize_reggroup): Likewise.
9869 * registry.c (register_data_with_cleanup): Likewise.
9870 * remote.c (remote_notif_stop_alloc_reply): Likewise.
9871 * ser-base.c (serial_ttystate): Likewise.
9872 * ser-mingw.c (make_pipe_state): Likewise.
9873 * ser-pipe.c (pipe_open): Likewise.
9874 * serial.c (serial_open): Likewise.
9875 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
9876 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
9877 (tui_alloc_win_info): Likewise.
9878 (tui_add_content_elements): Likewise.
9879 * tui/tui-file.c (tui_file_new): Likewise.
9880 * tui/tui-out.c (tui_out_new): Likewise.
9881 * ui-file.c (mem_file_new): Likewise.
9882 * ui-out.c (push_level): Likewise.
9883 (make_cleanup_ui_out_end): Likewise.
9884 (append_header_to_list): Likewise.
9885 (ui_out_new): Likewise.
9886 * user-regs.c (user_reg_add_builtin): Likewise.
9887
9888 2014-01-13 Tom Tromey <tromey@redhat.com>
9889
9890 * defs.h (XZALLOC): Remove.
9891 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
9892 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
9893 (get_ada_tasks_inferior_data): Likewise.
9894 * auto-load.c (get_auto_load_pspace_data): Likewise.
9895 * auxv.c (get_auxv_inferior_data): Likewise.
9896 * bfd-target.c (target_bfd_reopen): Likewise.
9897 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
9898 (deprecated_insert_raw_breakpoint): Likewise.
9899 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
9900 * corelow.c (core_open): Likewise.
9901 * darwin-nat.c (darwin_check_new_threads): Likewise.
9902 (darwin_attach_pid): Likewise.
9903 * dummy-frame.c (dummy_frame_push): Likewise.
9904 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
9905 * dwarf2loc.c (allocate_piece_closure): Likewise.
9906 * elfread.c (elf_symfile_segments): Likewise.
9907 * eval.c (ptrmath_type_p): Likewise.
9908 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
9909 * gdbtypes.c (alloc_type_arch): Likewise.
9910 (alloc_type_instance): Likewise.
9911 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
9912 * inf-child.c (inf_child_can_use_agent): Likewise.
9913 * inflow.c (get_inflow_inferior_data): Likewise.
9914 * infrun.c (save_infcall_suspend_state): Likewise.
9915 * jit.c (jit_reader_load): Likewise.
9916 (get_jit_objfile_data): Likewise.
9917 (get_jit_program_space_data): Likewise.
9918 (jit_object_open_impl): Likewise.
9919 (jit_symtab_open_impl): Likewise.
9920 (jit_block_open_impl): Likewise.
9921 (jit_frame_sniffer): Likewise.
9922 * linux-fork.c (add_fork): Likewise.
9923 * maint.c (make_command_stats_cleanup): Likewise.
9924 * objfiles.c (get_objfile_pspace_data): Likewise.
9925 * opencl-lang.c (struct lval_closure): Likewise.
9926 * osdata.c (osdata_start_osdata): Likewise.
9927 * progspace.c (new_address_space): Likewise.
9928 (add_program_space): Likewise.
9929 * remote-sim.c (get_sim_inferior_data): Likewise.
9930 * sh-tdep.c (sh_gdbarch_init): Likewise.
9931 * skip.c (Ignore): Likewise.
9932 (skip_delete_command): Likewise.
9933 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
9934 (library_list_start_library): Likewise.
9935 (solib_aix_current_sos): Likewise.
9936 * solib-darwin.c (get_darwin_info): Likewise.
9937 (darwin_current_sos): Likewise.
9938 * solib-dsbt.c (get_dsbt_info): Likewise.
9939 * solib-ia64-hpux.c (new_so_list): Likewise.
9940 (ia64_hpux_get_solib_linkage_addr): Likewise.
9941 * solib-spu.c (append_ocl_sos): Likewise.
9942 (spu_current_sos): Likewise.
9943 * solib-svr4.c (get_svr4_info): Likewise.
9944 (svr4_keep_data_in_core): Likewise.
9945 (library_list_start_library): Likewise.
9946 (svr4_default_sos): Likewise.
9947 (svr4_read_so_list): Likewise.
9948 * solib-target.c (library_list_start_library): Likewise.
9949 (solib_target_current_sos): Likewise.
9950 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
9951 * symfile-debug.c (install_symfile_debug_logging): Likewise.
9952 * symfile.c (default_symfile_segments): Likewise.
9953 * target-descriptions.c (tdesc_data_init): Likewise.
9954 (tdesc_create_reg): Likewise.
9955 (struct tdesc_type *): Likewise.
9956 (tdesc_create_vector): Likewise.
9957 (tdesc_set_struct_size): Likewise.
9958 (struct tdesc_type *): Likewise.
9959 (tdesc_free_feature): Likewise.
9960 (tdesc_create_feature): Likewise.
9961 * windows-nat.c (windows_add_thread): Likewise.
9962 (windows_make_so): Likewise.
9963 * xml-support.c (gdb_xml_body_text): Likewise.
9964 (gdb_xml_create_parser_and_cleanup): Likewise.
9965 (xml_process_xincludes): Likewise.
9966 * xml-syscall.c (allocate_syscalls_info): Likewise.
9967 (syscall_create_syscall_desc): Likewise.
9968
9969 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
9970
9971 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
9972 function, with code from i386_stap_parse_special_token.
9973 (i386_stap_parse_special_token_three_arg_disp): Likewise.
9974 (i386_stap_parse_special_token): Move code to the two functions
9975 above; simplify it.
9976
9977 2014-01-09 Pedro Alves <palves@redhat.com>
9978 Hui Zhu <hui@codesourcery.com>
9979
9980 PR gdb/16101
9981 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
9982 bp_err_string. Don't mark the location shlib_disabled if the
9983 error thrown wasn't a generic or memory error. Catch errors
9984 thrown while inserting breakpoints in overlayed code. Output
9985 error message of software breakpoints.
9986 * remote.c (remote_insert_breakpoint): If this breakpoint has
9987 target-side commands but this stub doesn't support Z0 packets,
9988 throw NOT_SUPPORTED_ERROR error.
9989 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
9990 * target.h (target_insert_breakpoint): Extend comment.
9991 (target_insert_hw_breakpoint): Add comment.
9992
9993 2014-01-08 Pedro Alves <palves@redhat.com>
9994
9995 * remote.c (remote_add_thread): Add threads silently if starting
9996 up.
9997 (remote_notice_new_inferior): If in all-stop, and starting up,
9998 don't call notice_new_inferior.
9999 (get_current_thread): New function, factored out from ...
10000 (add_current_inferior_and_thread): ... this. Adjust.
10001 (remote_start_remote) <all-stop>: Fetch the thread list. If we
10002 found any thread, then select the remote's current thread as GDB's
10003 current thread too.
10004
10005 2014-01-08 Joel Brobecker <brobecker@adacore.com>
10006
10007 * NEWS: Create a new section for the next release branch.
10008 Rename the section of the current branch, now that it has
10009 been cut.
10010
10011 2014-01-08 Joel Brobecker <brobecker@adacore.com>
10012
10013 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
10014 * version.in: Bump version to 7.7.50.DATE-cvs.
10015
10016 2014-01-08 Yao Qi <yao@codesourcery.com>
10017
10018 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
10019 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
10020 (spu_xfer_partial): Cast 'buf' to 'const char *'.
10021
10022 2014-01-08 Yao Qi <yao@codesourcery.com>
10023
10024 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
10025 return value of bfd_get_filename to symbol_file_add_from_bfd.
10026
10027 2014-01-08 Pierre Muller <muller@sourceware.org>
10028
10029 Fix PR16201.
10030 * coff-pe-read.c (struct read_pe_section_data): Add index field.
10031 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
10032 to prim_record_mininal_symbol_and_info.
10033 (add_pe_forwarded_sym): Use known section number of forwarded symbol
10034 in call to prim_record_minimal_symbol_and_info.
10035 (read_pe_exported_syms): Set index field of section_data.
10036
10037 2014-01-07 Andrew Pinski <apinski@cavium.com>
10038
10039 * features/aarch64-core.xml (cpsr): Change to be 64bit.
10040 * features/aarch64.c: Regenerate.
10041
10042 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
10043
10044 * target.c (return_null): Define.
10045 (update_current_target): Use it instead of return_zero for
10046 functions that return a pointer.
10047
10048 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10049
10050 * source.c (add_path): Fix check for duplicated paths in the previously
10051 included paths.
10052
10053 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
10054
10055 * ada-lang.c: Remove duplicated include statements.
10056 * alphabsd-nat.c: Ditto.
10057 * amd64-darwin-tdep.c: Ditto.
10058 * amd64fbsd-nat.c: Ditto.
10059 * auto-load.c: Ditto.
10060 * ax-gdb.c: Ditto.
10061 * breakpoint.c: Ditto.
10062 * dbxread.c: Ditto.
10063 * fork-child.c: Ditto.
10064 * gdb_usleep.c: Ditto.
10065 * i386-darwin-tdep.c: Ditto.
10066 * i386fbsd-nat.c: Ditto.
10067 * infcmd.c: Ditto.
10068 * inferior.c: Ditto.
10069 * jv-lang.c: Ditto.
10070 * linux-nat.c: Ditto.
10071 * linux-tdep.c: Ditto.
10072 * m68kbsd-nat.c: Ditto.
10073 * m68klinux-nat.c: Ditto.
10074 * microblaze-tdep.c: Ditto.
10075 * mips-linux-tdep.c: Ditto.
10076 * mn10300-tdep.c: Ditto.
10077 * nto-tdep.c: Ditto.
10078 * opencl-lang.c: Ditto.
10079 * osdata.c: Ditto.
10080 * printcmd.c: Ditto.
10081 * regcache.c: Ditto.
10082 * remote-m32r-sdi.c: Ditto.
10083 * remote.c: Ditto.
10084 * symfile.c: Ditto.
10085 * symtab.c: Ditto.
10086 * tilegx-linux-nat.c: Ditto.
10087 * tilegx-tdep.c: Ditto.
10088 * tracepoint.c: Ditto.
10089 * valops.c: Ditto.
10090 * vaxbsd-nat.c: Ditto.
10091 * windows-nat.c: Ditto.
10092 * xtensa-tdep.c: Ditto.
10093
10094 2014-01-07 Yao Qi <yao@codesourcery.com>
10095
10096 * spu-linux-nat.c (_initialize_spu_nat): Declare.
10097
10098 2014-01-07 Yao Qi <yao@codesourcery.com>
10099 Joel Brobecker <brobecker@adacore.com>
10100
10101 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
10102 (pdc_write_regs): Likewise.
10103 (fetch_regs_kernel_thread): Likewise.
10104 (store_regs_kernel_thread): Likewise.
10105
10106 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10107
10108 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
10109 tagged type objects to their actual type.
10110
10111 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10112
10113 * ada-valprint.c (print_field_values): Add "language" parameter.
10114 Update calls to print_field_values and print_variant_part.
10115 Pass new parameter "language" in call to val_print instead
10116 of "current_language". Replace call to ada_val_print by call
10117 to val_print.
10118 (print_variant_part): Add "language" parameter.
10119 (ada_val_print_struct_union): Update call to print_field_values.
10120
10121 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10122
10123 * ada-valprint.c (ui_memcpy): Delete.
10124 (ada_print_floating): Update documentation. Add empty line
10125 between between function documentation and implementation.
10126 Delete variable "buffer". Use ui_file_xstrdup in place of
10127 ui_file_put. Minor adjustments following this change.
10128
10129 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10130
10131 * ada-valprint.c (ada_val_print_string): New function,
10132 extracted from ada_val_print_array.
10133 (ada_val_print_array): Replace extracted code by call
10134 to ada_val_print_string followed by a return. Move
10135 "else" branch to the function's top block.
10136
10137 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10138
10139 * ada-valprint.c (ada_val_print_array): Move implementation
10140 down. Rename parameter "offset" and "val" into "offset_aligned"
10141 and "original_value" respectively. Add parameter "offset".
10142
10143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10144
10145 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
10146 re-organizing the code. Change the "???" message printed
10147 when target type is a TYPE_CODE_UNDEF into
10148 "<ref to undefined type>".
10149
10150 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10151
10152 * ada-valprint.c (print_record): Delete, implementation inlined...
10153 (ada_val_print_struct_union): ... here. Remove call to
10154 ada_check_typedef in inlined implementation.
10155
10156 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10157
10158 * ada-valprint.c (ada_val_print_gnat_array): New function,
10159 extracted from ada_val_print_1;
10160 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
10161 (ada_val_print_flt, ada_val_print_struct_union)
10162 (ada_val_print_ref): Likewise.
10163 (ada_val_print_1): Delete variables i and elttype.
10164 Replace extracted-out code by call to corresponding
10165 new functions.
10166
10167 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10168
10169 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
10170
10171 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10172
10173 * ada-valprint.c (ada_val_print_1): Replace calls to
10174 ada_val_print_1 by calls to val_print.
10175
10176 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10177
10178 * ada-valprint.c (ada_val_print_1): Add parameter "language".
10179 Update calls to self accordingly. Replace calls to c_val_print
10180 by calls to val_print.
10181
10182 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10183
10184 * ada-valprint.c (print_record): Delete declaration.
10185 (adjust_type_signedness, ada_val_print_1): Likewise.
10186 (ada_val_print): Move function implementation down.
10187 (print_variant_part, print_field_values, print_record):
10188 Move function implementation up.
10189
10190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10191
10192 * python/py-type.c (typy_get_name): New function.
10193 (type_object_getset): Add entry for attribute "name".
10194 * NEWS: Add entry mentioning this new attribute.
10195
10196 2014-01-07 Yao Qi <yao@codesourcery.com>
10197
10198 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
10199 statement.
10200
10201 2014-01-07 Yao Qi <yao@codesourcery.com>
10202
10203 * gnu-nat.c (info_port_rights): Add qualifier const to
10204 argument args.
10205
10206 2014-01-07 Yao Qi <yao@codesourcery.com>
10207
10208 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
10209
10210 2014-01-07 Yao Qi <yao@codesourcery.com>
10211
10212 * gnu-nat.c (make_inf) Update declaration.
10213 (make_inf): Make it static.
10214 (inf_set_traced): Likewise.
10215 (inf_port_to_thread, inf_task_died_status): Likewise.
10216
10217 2014-01-07 Yao Qi <yao@codesourcery.com>
10218
10219 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
10220
10221 2014-01-07 Yao Qi <yao@codesourcery.com>
10222
10223 * gnu-nat.c (_initialize_gnu_nat): Declare.
10224
10225 2014-01-07 Yao Qi <yao@codesourcery.com>
10226
10227 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
10228 'enum bfd_endian'.
10229 (struct gdbarch_info) <byte_order>: Change type to
10230 'enum bfd_endian'.
10231 <byte_order_for_code>: Likewise.
10232 * gdbarch.c, gdbarch.h: Regenerated.
10233
10234 2014-01-06 Sasha Smundak <asmundak@google.com>
10235
10236 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
10237
10238 2014-01-06 Tom Tromey <tromey@redhat.com>
10239
10240 * doublest.c (convert_doublest_to_floatformat): Use const, not
10241 CONST.
10242 * somread.c (som_symtab_read): Likewise.
10243
10244 2014-01-07 Hui Zhu <hui@codesourcery.com>
10245
10246 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
10247 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
10248 (gdb_bfd_fopen): Ditto.
10249 (gdb_bfd_openr): Ditto.
10250 (gdb_bfd_openw): Ditto.
10251 (gdb_bfd_openr_iovec): Ditto.
10252 (gdb_bfd_fdopenr): Ditto.
10253 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
10254 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
10255 with xstrdup.
10256 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
10257 with xstrdup.
10258 * symfile-mem.c (symbol_file_add_from_memory): Removed
10259 gdb_bfd_stash_filename.
10260
10261 2014-01-03 Doug Evans <dje@google.com>
10262
10263 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
10264 output.
10265
10266 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10267
10268 Update year range in copyright notice of all files.
10269
10270 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10271
10272 * top.c (print_gdb_version): Set copyright year to 2014.
10273
10274 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10275
10276 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
10277
10278 For older changes see ChangeLog-2013.
10279 \f
10280 Local Variables:
10281 mode: change-log
10282 left-margin: 8
10283 fill-column: 74
10284 version-control: never
10285 coding: utf-8
10286 End:
This page took 0.323812 seconds and 5 git commands to generate.