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