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