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