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