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