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