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