Ensure unreferenced static symbols aren't omitted by clang (either marking them __att...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
82eacd52
JB
12014-04-24 Joel Brobecker <brobecker@adacore.com>
2
3 * ada-lang.c (standard_exc): Expand introductory comment.
4
01f9f808
MS
52014-04-24 Michael Sturm <michael.sturm@mintel.com>
6 Walfred Tedeschi <walfred.tedeschi@intel.com>
7
8 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
9 AVX512 registers.
10 (amd64_linux_read_description): Add code to handle AVX512 xstate
11 mask and return respective tdesc.
12 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
13 and features/i386/x32-avx512-linux.c.
14 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
15 (amd64_linux_core_read_description): Add code to handle AVX512
16 xstate mask and return respective tdesc.
17 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
18 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
19 calculation.
20 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
21 (tdesc_amd64_avx512_linux): New prototype.
22 (tdesc_x32_avx512_linux): Likewise.
23 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
24 features/i386/x32-avx512.c.
25 (amd64_ymm_avx512_names): New register names for pseudo
26 registers YMM16-31.
27 (amd64_ymmh_avx512_names): New register names for raw registers
28 YMMH16-31.
29 (amd64_k_names): New register names for K registers.
30 (amd64_zmmh_names): New register names for ZMM raw registers.
31 (amd64_zmm_names): New registers names for ZMM pseudo registers.
32 (amd64_xmm_avx512_names): New register names for XMM16-31
33 registers.
34 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
35 registers.
36 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
37 if feature is present.
38 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
39 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
40 (AMD64_NUM_REGS): Adjust to new number of registers.
41 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
42 registers supplied via XSTATE by AVX512 registers.
43 (i386_linux_read_description): Add case for AVX512.
44 * i386-linux-tdep.c: Include i386-avx512-linux.c.
45 (i386_linux_gregset_reg_offset): Add AVX512 registers.
46 (i386_linux_core_read_description): Add case for AVX512.
47 (i386_linux_init_abi): Install supported register note section
48 for AVX512.
49 (_initialize_i386_linux_tdep): Add call to tdesc init function for
50 AVX512.
51 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
52 registers to be number of zmm7h + 1.
53 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
54 * i386-tdep.c: Include features/i386/i386-avx512.c.
55 (i386_zmm_names): Add ZMM pseudo register names array.
56 (i386_zmmh_names): Add ZMM raw register names array.
57 (i386_k_names): Add K raw register names array.
58 (num_lower_zmm_regs): Add constant for the number of lower ZMM
59 registers. AVX512 has 16 more ZMM registers than there are YMM
60 registers.
61 (i386_zmmh_regnum_p): Add function to look up register number of
62 ZMM raw registers.
63 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
64 (i386_k_regnum_p): Likewise for K raw registers.
65 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
66 registers added by AVX512.
67 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
68 registers added by AVX512.
69 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
70 added by AVX512.
71 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
72 (i386_pseudo_register_name): Add ZMM pseudo registers.
73 (i386_zmm_type): Construct and return vector registers type for ZMM
74 registers.
75 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
76 ZMM0-31 pseudo registers and K registers.
77 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
78 and YMM16-31 registers from register cache.
79 (i386_pseudo_register_write): Add code to write K, ZMM and
80 YMM16-31 registers.
81 (i386_register_reggroup_p): Add code to include/exclude AVX512
82 registers in/from respective register groups.
83 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
84 registers if feature is present in xcr0.
85 (i386_gdbarch_init): Add code to initialize AVX512 feature
86 variables in tdep structure, wire in pseudo registers and call
87 initialize_tdesc_i386_avx512.
88 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
89 variables.
90 (i386_regnum): Add AVX512 registers.
91 (I386_SSE_NUM_REGS): New define for number of SSE registers.
92 (I386_AVX_NUM_REGS): Likewise for AVX registers.
93 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
94 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
95 512 bits wide.
96 (i386_xmm_avx512_regnum_p): New prototype for register look up.
97 (i386_ymm_avx512_regnum_p): Likewise.
98 (i386_k_regnum_p): Likewise.
99 (i386_zmm_regnum_p): Likewise.
100 (i386_zmmh_regnum_p): Likewise.
101 * i387-tdep.c : Update year in copyright notice.
102 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
103 XSAVE buffer.
104 (XSAVE_YMM_AVX512_ADDR): New macro.
105 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
106 XSAVE buffer.
107 (XSAVE_XMM_AVX512_ADDR): New macro.
108 (xsave_avx512_k_offset): New table for K register offsets in
109 XSAVE buffer.
110 (XSAVE_AVX512_K_ADDR): New macro.
111 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
112 in XSAVE buffer.
113 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
114 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
115 buffer.
116 (i387_collect_xsave): Add code to collect AVX512 registers from
117 XSAVE buffer.
118 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
119 of XMM16-31 registers.
120 (I387_NUM_K_REGS): New define for number of K registers.
121 (I387_K0_REGNUM): New define for K0 register number.
122 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
123 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
124 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
125 registers.
126 (I387_YMM16H_REGNUM): New define for YMM16H register number.
127 (I387_XMM16_REGNUM): New define for XMM16 register number.
128 (I387_YMM0_REGNUM): New define for YMM0 register number.
129 (I387_KEND_REGNUM): New define for last K register number.
130 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
131 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
132 number.
133 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
134 number.
135 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
136 size.
137 * features/Makefile: Add AVX512 related files.
138 * features/i386/32bit-avx512.xml: New file.
139 * features/i386/64bit-avx512.xml: Likewise.
140 * features/i386/amd64-avx512-linux.c: Likewise.
141 * features/i386/amd64-avx512-linux.xml: Likewise.
142 * features/i386/amd64-avx512.c: Likewise.
143 * features/i386/amd64-avx512.xml: Likewise.
144 * features/i386/i386-avx512-linux.c: Likewise.
145 * features/i386/i386-avx512-linux.xml: Likewise.
146 * features/i386/i386-avx512.c: Likewise.
147 * features/i386/i386-avx512.xml: Likewise.
148 * features/i386/x32-avx512-linux.c: Likewise.
149 * features/i386/x32-avx512-linux.xml: Likewise.
150 * features/i386/x32-avx512.c: Likewise.
151 * features/i386/x32-avx512.xml: Likewise.
152 * regformats/i386/amd64-avx512-linux.dat: New file.
153 * regformats/i386/amd64-avx512.dat: Likewise.
154 * regformats/i386/i386-avx512-linux.dat: Likewise.
155 * regformats/i386/i386-avx512.dat: Likewise.
156 * regformats/i386/x32-avx512-linux.dat: Likewise.
157 * regformats/i386/x32-avx512.dat: Likewise.
158 * NEWS: Add note about new support for AVX512.
159
160
08351840
PA
1612014-04-23 Pedro Alves <palves@redhat.com>
162
163 * breakpoint.c (insert_bp_location): Tolerate errors if the
164 breakpoint is set in a user-loaded objfile.
165 (remove_breakpoint_1): Likewise. Also tolerate errors if the
166 location is marked shlib_disabled. If the breakpoint is set in a
167 user-loaded objfile is a GDB-side memory breakpoint, validate it
168 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
169 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
170 flag.
171 * mem-break.c (memory_validate_breakpoint): New function.
172 * objfiles.c (userloaded_objfile_contains_address_p): New
173 function.
174 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
175 * target.h (memory_validate_breakpoint): New declaration.
176
076855f9
PA
1772014-04-23 Pedro Alves <palves@redhat.com>
178
179 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
180 the breakpoint is set in a shared library, only suppress
181 errors for software breakpoints, not hardware breakpoints.
182
483805cf
PA
1832014-04-22 Pedro Alves <palves@redhat.com>
184
185 * infrun.c (schedlock_applies): New function, factored out from
186 find_thread_needs_step_over.
187 (find_thread_needs_step_over): Use it.
188 (switch_back_to_stepped_thread): Always clear trap_expected if the
189 step over is finished. Return early if scheduler locking applies.
190 Look for the stepping thread and a potential step-over thread with
191 a single loop.
192 (currently_stepping_or_nexting_callback): Delete.
193
a75fef0e
NC
1942014-04-22 Nick Clifton <nickc@redhat.com>
195
196 * NEWS: Mention that ARM sim now supports tracing.
197
48b6e87e
YQ
1982014-04-22 Yao Qi <yao@codesourcery.com>
199
200 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
201 to ...
202 * tracefile.c (tracefile_fetch_registers): ... it. New
203 function.
204 * tracefile.h (tracefile_fetch_registers): Declare.
205 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
206 tracefile_fetch_registers.
207
17617f2d
EZ
2082014-04-19 Eli Zaretskii <eliz@gnu.org>
209
210 PR gdb/14018
211 * windows-nat.c (thread_rec): Don't display a warning when
212 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
213 fails for any reason, set th->suspended to -1, so that we don't
214 try to resume such a thread. Also, don't return NULL in these
215 cases, to avoid completely ruin the session due to "PC register is
216 not available" error.
217 (do_windows_fetch_inferior_registers): Check errors in
218 GetThreadContext call.
219 (windows_continue): Accept an additional argument KILLED; if not
220 zero, ignore errors in the SetThreadContext call, since the
221 inferior was killed and is shutting down.
222 (windows_resume, get_windows_debug_event)
223 (windows_create_inferior, windows_mourn_inferior)
224 (windows_kill_inferior): All callers of windows_continue changed
225 to adjust to its new calling sequence.
226
5723a6fd
YQ
2272014-04-19 Yao Qi <yao@codesourcery.com>
228
229 * ctf.c (ctf_open): Call post_create_inferior.
230
614d5099
YQ
2312014-04-19 Yao Qi <yao@codesourcery.com>
232
233 * ctf.c (handle_id): New static variable.
234 (ctf_open_dir): Get handle_id from bt_context_add_trace return
235 value. Get the declaration of event "register" and get length
236 of field "contents".
237
dac3e710
YQ
2382014-04-19 Yao Qi <yao@codesourcery.com>
239
240 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
241
2bca57ba
SC
2422014-04-18 Siva Chandra Reddy <sivachandra@google.com>
243
244 * valops.c (oload_method_static): Remove unnecessary argument
245 METHOD. Update all callers.
246
51d48146
PA
2472014-04-18 Pedro alves <palves@redhat.com>
248 Tom Tromey <tromey@redhat.com>
249
250 PR backtrace/15558
251 * frame.c (get_prev_frame_1): Rename to ...
252 (get_prev_frame_always): ... this, and make extern. Adjust.
253 (skip_artificial_frames): Use get_prev_frame_always.
254 (frame_unwind_caller_id, frame_pop, get_prev_frame)
255 (get_frame_unwind_stop_reason): Adjust to rename.
256 * frame.h (get_prev_frame_always): Declare.
257 * inline-frame.c: Include frame.h.
258 (inline_frame_this_id): Use get_prev_frame_always.
259
1bdad2e0
TG
2602014-04-18 Tristan Gingold <gingold@adacore.com>
261
262 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
263 code by using bfd_mach_o_get_base_address.
264
7ce16bd4
UW
2652014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
266
267 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
268 (spu_ax_pseudo_register_collect): New function.
269 (spu_ax_pseudo_register_push_stack): Likewise.
270 (spu_dwarf_reg_to_regnum): Likewise.
271 (spu_gdbarch_init): Install them. Append DWARF unwinders.
272
2ed3c037
UW
2732014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
274
275 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
276 Replace FRAME argument with FRAME_ID.
277 * gdbarch.c, gdbarch.h: Regenerate.
278 * findvar.c (default_value_from_register): Add GDBARCH argument;
279 replace FRAME by FRAME_ID. No longer call get_frame_id.
280 (value_from_register): Update call to gdbarch_value_from_register.
281 * value.h (default_value_from_register): Update prototype.
282 * s390-linux-tdep.c (s390_value_from_register): Update interface
283 and call to default_value_from_register.
284 * spu-tdep.c (spu_value_from_register): Likewise.
285
286 * findvar.c (address_from_register): Remove TYPE argument.
287 Do not call value_from_register; use gdbarch_value_from_register
288 with null_frame_id instead.
289 * value.h (address_from_register): Update prototype.
290 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
291 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
292 address_from_register interface change.
293
71e50e83
YQ
2942014-04-17 Yao Qi <yao@codesourcery.com>
295
296 * gdbtypes.h: Update comments to link to types and macros'
297 definitions.
298
7a23c549
SC
2992014-04-16 Siva Chandra Reddy <sivachandra@google.com>
300
301 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
302
22869d73
KS
3032014-04-16 Keith Seitz <keiths@redhat.com>
304
305 PR gdb/15827
306 * dwarf2read.c (skip_one_die): Check that all relative-offset
307 sibling DIEs fall within range of the current reader's buffer.
308 (read_partial_die): Likewise.
309
c4f87ca6
KS
3102014-04-16 Keith Seitz <keiths@redhat.com>
311
312 PR c++/16597
313 * cp-namespace.c (lookup_symbol_file): If the type name of
314 `this' is NULL, return immediately.
315
b50c8614
KS
3162014-04-14 Keith Seitz <keiths@redhat.com>
317
318 PR c++/16253
319 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
320 from symbol_matches_domain in symtab.c. All local callers
321 of symbol_matches_domain updated.
322 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
323 search STRUCT_DOMAIN.
324 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
325 independently. standard_lookup will do that automatically.
326 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
327 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
328 (cp_lookup_symbol_in_namespace): Likewise.
329 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
330 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
331 may return a STRUCT_DOMAIN match.
332 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
333 * cp-support.c: Include language.h.
334 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
335 VAR_DOMAIN.
336 * psymtab.c (match_partial_symbol): Compare the requested
337 domain with the symbol's domain directly.
338 (lookup_partial_symbol): Likewise.
339 * symtab.c (lookup_symbol_in_language): Explain when/why
340 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
341 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
342 appropriate languages.
343 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
344 and moved to ada-lang.c
345 (lookup_block_symbol): Explain that this function only returns
346 symbol matching the requested DOMAIN.
347 Compare the requested domain with the symbol's domain directly.
348 (iterate_over_symbols): Compare the requested domain with the
349 symbol's domain directly.
350 * symtab.h (symbol_matches_domain): Remove.
351
3d567982
TT
3522014-04-14 Tom Tromey <tromey@redhat.com>
353
354 PR c++/15246:
355 * c-exp.y (type_aggregate_p): New function.
356 (qualified_name, classify_inner_name): Use it.
357 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
358 and TYPE_TARGET_TYPE of an enum type.
359 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
360 an enum type.
361 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
362 handle TYPE_DECLARED_CLASS.
363 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
364 types.
365 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
366 * valops.c (enum_constant_from_type): New function.
367 (value_aggregate_elt): Use it.
368 * cp-namespace.c (cp_lookup_nested_symbol): Handle
369 TYPE_CODE_ENUM.
370
c848d642
TT
3712014-04-14 Tom Tromey <tromey@redhat.com>
372
373 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
374 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
375 const.
376 * value.h (value_aggregate_elt): Update.
377
0626fc76
TT
3782014-04-14 Tom Tromey <tromey@redhat.com>
379
380 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
381
5ecaaa66
SA
3822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
383
384 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
385 (evaluate_subexp_standard): Pass noside argument.
386 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
387 if noside equals EVAL_NORMAL. If the subscript yields a vla type
388 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
389 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
390 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
391
1612e0c0
SA
3922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
393
394 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
395 points to a constant blob.
396
c451ebe5
SA
3972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
398
399 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
400 property and store it as the high bound and flag the range accordingly.
401 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
402 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
403 * gdbtypes.h (enum range_flags): New enum.
404 (struct range_bounds): Add flags member.
405
1d42e4c4
SA
4062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
407
408 * c-typeprint.c (c_type_print_varspec_suffix): Added
409 check for not yet resolved high bound. If unresolved, print
410 "variable length" string to the console instead of random
411 length.
412
9f1f738a
SA
4132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
414
415 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
416 value.
417 (ada_template_to_fixed_record_type_1): Likewise.
418 (ada_to_fixed_type_1): Likewise.
419 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
420 (cp_print_value): Likewise.
421 * d-valprint.c (dynamic_array_type): Likewise.
422 * findvar.c (address_of_variable): Likewise.
423 * jv-valprint.c (java_value_print): Likewise.
424 * valops.c (value_ind): Likewise.
425 * value.c (coerce_ref): Likewise.
426
3c8452d4
SA
4272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
428
429 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
430 value and retrieve the dynamic type size.
431
4ad88275
SA
4322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
433
434 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
435 passed to sizeof is dynamic evaluate the argument to compute the length.
436
80180f79
SA
4372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
438 Joel Brobecker <brobecker@adacore.com>
439
440 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
441 (dwarf2_evaluate_property): New function.
442 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
443 * dwarf2read.c (attr_to_dynamic_prop): New function.
444 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
445 attribute.
446 * gdbtypes.c: Include dwarf2loc.h.
447 (is_dynamic_type): New function.
448 (resolve_dynamic_type): New function.
449 (resolve_dynamic_bounds): New function.
450 (get_type_length): New function.
451 (check_typedef): Use get_type_length to compute type length.
452 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
453 (TYPE_LOW_BOUND_KIND): New macro.
454 (is_dynamic_type): New function prototype.
455 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
456 to resolve dynamic properties of the type. Update comment.
457 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
458
a1556843
RH
4592014-04-14 Richard Henderson <rth@redhat.com>
460
461 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
462
0be03e84
DE
4632014-04-12 Siva Chandra Reddy <sivachandra@google.com>
464 Doug Evans <xdje42@gmail.com>
465
466 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
467 dereference TYPE_CODE_REF values.
468
6b662e19
JB
4692014-04-11 Joel Brobecker <brobecker@adacore.com>
470
471 Revert the following changes due to regressions:
472
473 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
474 (dwarf2_evaluate_property): New function.
475 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
476 * dwarf2read.c (attr_to_dynamic_prop): New function.
477 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
478 attribute.
479 * gdbtypes.c: Include dwarf2loc.h.
480 (is_dynamic_type): New function.
481 (resolve_dynamic_type): New function.
482 (resolve_dynamic_bounds): New function.
483 (get_type_length): New function.
484 (check_typedef): Use get_type_length to compute type length.
485 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
486 (TYPE_LOW_BOUND_KIND): New macro.
487 (is_dynamic_type): New function prototype.
488 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
489 to resolve dynamic properties of the type. Update comment.
490 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
491
492 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
493 passed to sizeof is dynamic evaluate the argument to compute the length.
494
495 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
496 value and retrieve the dynamic type size.
497
498 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
499 (ada_template_to_fixed_record_type_1): Likewise.
500 (ada_to_fixed_type_1): Likewise.
501 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
502 (cp_print_value): Likewise.
503 * d-valprint.c (dynamic_array_type): Likewise.
504 * eval.c (evaluate_subexp_with_coercion): Likewise.
505 * findvar.c (address_of_variable): Likewise.
506 * jv-valprint.c (java_value_print): Likewise.
507 * valops.c (value_ind): Likewise.
508 * value.c (coerce_ref): Likewise.
509
510 * c-typeprint.c (c_type_print_varspec_suffix): Added
511 check for not yet resolved high bound. If unresolved, print
512 "variable length" string to the console instead of random
513 length.
514
515 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
516 property and store it as the high bound and flag the range accordingly.
517 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
518 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
519 * gdbtypes.h (enum range_flags): New enum.
520 (struct range_bounds): Add flags member.
521
522 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
523 points to a constant blob.
524
525 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
526 (evaluate_subexp_standard): Pass noside argument.
527 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
528 if noside equals EVAL_NORMAL. If the subscript yields a vla type
529 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
530 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
531 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
532
245a5f0b
KS
5332014-04-11 Keith Seitz <keiths@redhat.com>
534
535 PR c++/16675
536 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
537 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
538 reference types.
539
3bce8237
SA
5402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
541
542 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
543 (evaluate_subexp_standard): Pass noside argument.
544 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
545 if noside equals EVAL_NORMAL. If the subscript yields a vla type
546 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
547 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
548 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
549
92b09522
SA
5502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
551
552 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
553 points to a constant blob.
554
e1969afb
SA
5552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
556
557 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
558 property and store it as the high bound and flag the range accordingly.
559 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
560 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
561 * gdbtypes.h (enum range_flags): New enum.
562 (struct range_bounds): Add flags member.
563
b86138fb
SA
5642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
565
566 * c-typeprint.c (c_type_print_varspec_suffix): Added
567 check for not yet resolved high bound. If unresolved, print
568 "variable length" string to the console instead of random
569 length.
570
bcd629a4
SA
5712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
572
573 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
574 (ada_template_to_fixed_record_type_1): Likewise.
575 (ada_to_fixed_type_1): Likewise.
576 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
577 (cp_print_value): Likewise.
578 * d-valprint.c (dynamic_array_type): Likewise.
579 * eval.c (evaluate_subexp_with_coercion): Likewise.
580 * findvar.c (address_of_variable): Likewise.
581 * jv-valprint.c (java_value_print): Likewise.
582 * valops.c (value_ind): Likewise.
583 * value.c (coerce_ref): Likewise.
584
04b19544
SA
5852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
586
587 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
588 value and retrieve the dynamic type size.
589
26cb189f
SA
5902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
591
592 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
593 passed to sizeof is dynamic evaluate the argument to compute the length.
594
37c1ab67
SA
5952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
596
597 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
598 (dwarf2_evaluate_property): New function.
599 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
600 * dwarf2read.c (attr_to_dynamic_prop): New function.
601 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
602 attribute.
603 * gdbtypes.c: Include dwarf2loc.h.
604 (is_dynamic_type): New function.
605 (resolve_dynamic_type): New function.
606 (resolve_dynamic_bounds): New function.
607 (get_type_length): New function.
608 (check_typedef): Use get_type_length to compute type length.
609 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
610 (TYPE_LOW_BOUND_KIND): New macro.
611 (is_dynamic_type): New function prototype.
612 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
613 to resolve dynamic properties of the type. Update comment.
614 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
615
729efb13
SA
6162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
617
618 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
619 declaring high/low bounds and change uses accordingly. Call
620 create_range_type instead of create_static_range_type.
621 * gdbtypes.c (create_range_type): New function.
622 (create_range_type): Convert bounds into struct bound_prop and pass
623 them to create_range_type.
624 * gdbtypes.h (struct bound_prop): New struct.
625 (create_range_type): New function prototype.
626 (struct range_bounds): Use struct bound_prop instead of LONGEST for
627 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
628 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
629 part of the bound.
630 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
631
0c9c3474
SA
6322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
633
634 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
635 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
636 * ada-lang.c: All uses of create_range_type updated.
637 * coffread.c: All uses of create_range_type updated.
638 * dwarf2read.c: All uses of create_range_type updated.
639 * f-exp.y: All uses of create_range_type updated.
640 * m2-valprint.c: All uses of create_range_type updated.
641 * mdebugread.c: All uses of create_range_type updated.
642 * stabsread.c: All uses of create_range_type updated.
643 * valops.c: All uses of create_range_type updated.
644 * valprint.c: All uses of create_range_type updated.
645
9d497a19
PA
6462014-04-10 Pedro Alves <palves@redhat.com>
647
648 * breakpoint.c (single_step_breakpoints)
649 (single_step_gdbarch): Move up in the file.
650 (one_breakpoint_xfer_memory): New function, factored out from ...
651 (breakpoint_xfer_memory): ... here. Also process single-step
652 breakpoints.
653
15a9128a
TG
6542014-04-09 Tristan Gingold <gingold@adacore.com>
655
656 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
657 comments.
658 (darwin_decode_exception_message): Free port only after use.
659
9c97a070
PL
6602014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
661
662 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
663 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
664 when setting the size of call_length.
665
7af389b8
SC
6662014-04-07 Siva Chandra Reddy <sivachandra@google.com>
667
668 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
669 dereference TYPE_CODE_REF values.
670
86ad98c3
JB
6712014-04-07 Joel Brobecker <brobecker@adacore.com>
672
673 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
674 end of warning message.
675
b0aeadb3
DE
6762014-04-03 Doug Evans <dje@google.com>
677
678 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
679 of stub_comp_unit_die, stub_comp_dir is non-NULL.
680
5979d6b6
AM
6812014-04-02 Alan Modra <amodra@gmail.com>
682
683 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
684 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
685 (struct symbol_file_add_from_memory_args): Add size field.
686 (find_vdso_size): New function.
687 (add_vsyscall_page): Attempt to find vdso size.
688
0d60c288
DE
6892014-04-01 Doug Evans <dje@google.com>
690
691 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
692
a41f2563
TG
6932014-04-01 Tristan Gingold <gingold@adacore.com>
694
695 * darwin-nat.c (darwin_encode_reply): Add prototype.
696 (darwin_decode_exception_message): Reply to unknown inferiors.
697 (darwin_decode_message): Handle message by id. Ignore message
698 to unknown inferior.
699 (darwin_wait): Discard unknown messages, add debug trace.
700
11a865c8
DE
7012014-03-31 Doug Evans <dje@google.com>
702
703 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
704 comp_dir_string.
705
770e7fc7
DE
7062014-03-31 Doug Evans <dje@google.com>
707
708 New option "set print symbol-loading".
709 * NEWS: Mention it.
710 * solib.c (solib_read_symbols): Only print symbol loading messages
711 if requested.
712 (solib_add): If symbol loading is in "brief" mode, notify user
713 symbols are being loaded.
714 (reload_shared_libraries_1): Ditto.
715 * symfile.c (print_symbol_loading_off): New static global.
716 (print_symbol_loading_brief): New static global.
717 (print_symbol_loading_full): New static global.
718 (print_symbol_loading_enums): New static global.
719 (print_symbol_loading): New static global.
720 (print_symbol_loading_p): New function.
721 (symbol_file_add_with_addrs): Only print symbol loading messages
722 if requested.
723 (_initialize_symfile): Register "print symbol-loading" set/show
724 command.
725 * symfile.h (print_symbol_loading_p): Declare.
726
c32c64b7
DE
7272014-03-30 Doug Evans <xdje42@gmail.com>
728
729 * infrun.c (set_last_target_status): New function.
730 (handle_inferior_event): Call it.
731
7c0bc051
DE
7322014-03-30 Doug Evans <xdje42@gmail.com>
733
734 * inferior.h (enum stop_kind): Improve comment.
735
8776cfe9
JB
7362014-03-28 Joel Brobecker <brobecker@adacore.com>
737
738 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
739 a reference, strip the reference layer before calling
740 the lang_ops value_has_mutated callback.
741
410a0ff2
SDJ
7422014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
743
744 Remove some globals from our parser.
745 * language.c (unk_lang_parser): Add "struct parser_state"
746 argument.
747 * language.h (struct language_defn) <la_parser>: Likewise.
748 * parse.c (expout, expout_size, expout_ptr): Remove variables.
749 (initialize_expout): Add "struct parser_state" argument.
750 Rewrite function to use the parser state.
751 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
752 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
753 write_exp_elt_longcst, write_exp_elt_dblcst,
754 write_exp_elt_decfloatcst, write_exp_elt_type,
755 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
756 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
757 write_dollar_variable): Likewise.
758 (parse_exp_in_context_1): Use parser state.
759 (insert_type_address_space): Add "struct parser_state" argument.
760 Use parser state.
761 (increase_expout_size): New function.
762 * parser-defs.h: Forward declare "struct language_defn" and
763 "struct parser_state".
764 (expout, expout_size, expout_ptr): Remove extern declarations.
765 (parse_gdbarch, parse_language): Rewrite macro declarations to
766 accept the parser state.
767 (struct parser_state): New struct.
768 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
769 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
770 write_exp_elt_decfloatcst, write_exp_elt_type,
771 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
772 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
773 write_exp_msymbol, write_dollar_variable,
774 mark_struct_expression, insert_type_address_space): Add "struct
775 parser_state" argument.
776 (increase_expout_size): New function.
777 * utils.c (do_clear_parser_state): New function.
778 (make_cleanup_clear_parser_state): Likewise.
779 * utils.h (make_cleanup_clear_parser_state): New function
780 prototype.
781 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
782 Update calls to write_exp* in order to pass the parser state.
783 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
784 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
785 (i386_stap_parse_special_token_three_arg_disp): Likewise.
786 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
787 * stap-probe.c (stap_parse_register_operand): Likewise.
788 (stap_parse_single_operand): Likewise.
789 (stap_parse_argument_1): Likewise.
790 (stap_parse_argument): Use parser state.
791 * stap-probe.h: Include "parser-defs.h".
792 (struct stap_parse_info) <pstate>: New field.
793 * c-exp.y (parse_type): Rewrite to use parser state.
794 (yyparse): Redefine to c_parse_internal.
795 (pstate): New global variable.
796 (parse_number): Add "struct parser_state" argument.
797 (write_destructor_name): Likewise.
798 (type_exp): Update calls to write_exp* and similars in order to
799 use parser state.
800 (exp1, exp, variable, qualified_name, space_identifier,
801 typename, typebase): Likewise.
802 (write_destructor_name, parse_number, lex_one_token,
803 classify_name, classify_inner_name, c_parse): Add "struct
804 parser_state" argument. Update function to use parser state.
805 * c-lang.h: Forward declare "struct parser_state".
806 (c_parse): Add "struct parser_state" argument.
807 * ada-exp.y (parse_type): Rewrite macro to use parser state.
808 (yyparse): Redefine macro to ada_parse_internal.
809 (pstate): New variable.
810 (write_int, write_object_renaming, write_var_or_type,
811 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
812 type_int, type_long, type_long_long, type_float, type_double,
813 type_long_double, type_char, type_boolean, type_system_address):
814 Add "struct parser_state" argument.
815 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
816 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
817 var_or_type, aggregate, aggregate_component_list,
818 positional_list, others, component_group,
819 component_associations): Update calls to write_exp* and similar
820 functions in order to use parser state.
821 (ada_parse, write_var_from_sym, write_int,
822 write_exp_op_with_string, write_object_renaming,
823 find_primitive_type, write_selectors, write_ambiguous_var,
824 write_var_or_type, write_name_assoc, type_int, type_long,
825 type_long_long, type_float, type_double, type_long_double,
826 type_char, type_boolean, type_system_address): Add "struct
827 parser_state" argument. Adjust function to use parser state.
828 * ada-lang.c (parse): Likewise.
829 * ada-lang.h: Forward declare "struct parser_state".
830 (ada_parse): Add "struct parser_state" argument.
831 * ada-lex.l (processInt, processReal): Likewise. Adjust all
832 calls to both functions.
833 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
834 parser state.
835 (yyparse): Redefine macro to f_parse_internal.
836 (pstate): New variable.
837 (parse_number): Add "struct parser_state" argument.
838 (type_exp, exp, subrange, typebase): Update calls to write_exp*
839 and similars in order to use parser state.
840 (parse_number): Adjust code to use parser state.
841 (yylex): Likewise.
842 (f_parse): New function.
843 * f-lang.h: Forward declare "struct parser_state".
844 (f_parse): Add "struct parser_state" argument.
845 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
846 parser state.
847 (yyparse): Redefine macro for java_parse_internal.
848 (pstate): New variable.
849 (push_expression_name, push_expression_name, insert_exp): Add
850 "struct parser_state" argument.
851 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
852 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
853 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
854 PostIncrementExpression, PostDecrementExpression,
855 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
856 UnaryExpressionNotPlusMinus, CastExpression,
857 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
858 RelationalExpression, EqualityExpression, AndExpression,
859 ExclusiveOrExpression, InclusiveOrExpression,
860 ConditionalAndExpression, ConditionalOrExpression,
861 ConditionalExpression, Assignment, LeftHandSide): Update
862 calls to write_exp* and similars in order to use parser state.
863 (parse_number): Ajust code to use parser state.
864 (yylex): Likewise.
865 (java_parse): New function.
866 (push_variable): Add "struct parser_state" argument. Adjust
867 code to user parser state.
868 (push_fieldnames, push_qualified_expression_name,
869 push_expression_name, insert_exp): Likewise.
870 * jv-lang.h: Forward declare "struct parser_state".
871 (java_parse): Add "struct parser_state" argument.
872 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
873 parser state.
874 (yyparse): Redefine macro to m2_parse_internal.
875 (pstate): New variable.
876 (type_exp, exp, fblock, variable, type): Update calls to
877 write_exp* and similars to use parser state.
878 (yylex): Likewise.
879 (m2_parse): New function.
880 * m2-lang.h: Forward declare "struct parser_state".
881 (m2_parse): Add "struct parser_state" argument.
882 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
883 * objc-lang.h: Forward declare "struct parser_state".
884 (end_msglist): Add "struct parser_state" argument.
885 * p-exp.y (parse_type): Rewrite macro to use parser state.
886 (yyparse): Redefine macro to pascal_parse_internal.
887 (pstate): New variable.
888 (parse_number): Add "struct parser_state" argument.
889 (type_exp, exp1, exp, qualified_name, variable): Update calls to
890 write_exp* and similars in order to use parser state.
891 (parse_number, yylex): Adjust code to use parser state.
892 (pascal_parse): New function.
893 * p-lang.h: Forward declare "struct parser_state".
894 (pascal_parse): Add "struct parser_state" argument.
895 * go-exp.y (parse_type): Rewrite macro to use parser state.
896 (yyparse): Redefine macro to go_parse_internal.
897 (pstate): New variable.
898 (parse_number): Add "struct parser_state" argument.
899 (type_exp, exp1, exp, variable, type): Update calls to
900 write_exp* and similars in order to use parser state.
901 (parse_number, lex_one_token, classify_name, yylex): Adjust code
902 to use parser state.
903 (go_parse): Likewise.
904 * go-lang.h: Forward declare "struct parser_state".
905 (go_parse): Add "struct parser_state" argument.
906
342587c4
DE
9072014-03-27 Doug Evans <dje@google.com>
908
909 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
910
33e80786
DE
9112014-03-27 Doug Evans <dje@google.com>
912
913 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
914 Remove argument abbrev_section. All callers updated.
915
1dbab08b
DE
9162014-03-27 Doug Evans <dje@google.com>
917
918 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
919 addr_base, ranges_base.
920
318d3177
KS
9212014-03-26 Keith Seitz <keiths@redhat.com>
922
923 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
924 types, not VAR_DOMAIN.
925
1e54db15
SL
9262014-03-25 Sandra Loosemore <sandra@codesourcery.com>
927
928 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
929 "ra" registers.
930 * features/nios2-linux.c: Regenerated.
931 * features/nios2.c: Regenerated.
932
d3839ede
PA
9332014-03-25 Pedro Alves <palves@redhat.com>
934
935 * cli/cli-script.c (script_from_file): Force the interpreter to
936 sync mode.
937
7588d2ec
PL
9382014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
939
940 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
941 small stack allocation.
942
a6290449
TG
9432014-03-24 Tristan Gingold <gingold@adacore.com>
944
945 * darwin-nat.c (exc_server): Remove unused prototype.
946 (darwin_dump_message): Correctly display data on x86_64.
947 (darwin_encode_reply): Fix style.
948 Add comments and fix indentation.
949
31ae9d24 9502014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
951
952 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
953
6339bfc4
DE
9542014-03-22 Doug Evans <xdje42@gmail.com>
955
956 * infcmd.c: Whitespace fixes.
957 (interrupt_command): Merge two function comments into one.
958
0a07590b
DE
9592014-03-22 Doug Evans <xdje42@gmail.com>
960
961 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
962 All uses updated.
963
b55fbac4
YQ
9642014-03-22 Yao Qi <yao@codesourcery.com>
965
966 * remote.c (target_read_live_memory): Remove.
967 (memory_xfer_live_readonly_partial): Rename it to
968 remote_xfer_live_readonly_partial. Remove argument 'object'.
969 All callers updated. Call remote_read_bytes_1
970 instead of target_read_live_memory.
971 * tracepoint.c (set_traceframe_number): Remove.
972 (make_cleanup_restore_traceframe_number): Likewise .
973 * tracepoint.h (set_traceframe_number): Remove declaration.
974 (make_cleanup_restore_traceframe_number): Likewise.
975
9217e74e
YQ
9762014-03-22 Yao Qi <yao@codesourcery.com>
977
978 * remote.c (remote_read_bytes): Move code on reading from the
979 remote stub to ...
980 (remote_read_bytes_1): ... here. New function.
981
8acf9577
YQ
9822014-03-22 Yao Qi <yao@codesourcery.com>
983
984 * ctf.c (ctf_xfer_partial): Check the return value of
985 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
986 return TARGET_XFER_UNAVAILABLE.
987 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
988 * target.c (target_read_live_memory): Move it to remote.c.
989 (memory_xfer_live_readonly_partial): Likewise.
990 (memory_xfer_partial_1): Move some code to remote_read_bytes.
991 * remote.c (target_read_live_memory): Moved from target.c.
992 (memory_xfer_live_readonly_partial): Likewise.
993 (remote_read_bytes): Factored out from
994 memory_xfer_partial_1.
995
feef67ab
DE
9962014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
997
998 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
999 NULL pointer.
1000
b65dc60b
PA
10012014-03-21 Pedro Alves <palves@redhat.com>
1002
1003 * infrun.c (normal_stop): Extend comment.
1004
b4ab256d
HZ
10052014-03-21 Hui Zhu <hui@codesourcery.com>
1006 Pedro Alves <palves@redhat.com>
1007
1008 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
1009 static buffer.
1010 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1011 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1012 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1013
deba7593
MR
10142014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
1015
1016 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
1017 `z' formatted output modifier.
1018
1bff71c3
SDJ
10192014-03-20 Tom Tromey <tromey@redhat.com>
1020 Sergio Durigan Junior <sergiodj@redhat.com>
1021
1022 * probe.c (parse_probes): Turn assert into an ordinary error.
1023 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
1024 exceptions when parsing probes. Rearrange the code for clarity.
1025
90e28950
TT
10262014-03-20 Tom Tromey <tromey@redhat.com>
1027
1028 PR gdb/14135
1029 * top.c (execute_command): Only dispatch events if the command
1030 started the target.
1031
beb460e8
PA
10322014-03-20 Tom Tromey <tromey@redhat.com>
1033
1034 PR cli/15718
1035 * infcall.c: Include event-top.h.
1036 (run_inferior_call): Call async_disable_stdin if needed.
1037
99619bea
PA
10382014-03-20 Pedro Alves <palves@redhat.com>
1039
1040 * infrun.c (prepare_to_proceed): Delete.
1041 (thread_still_needs_step_over): New function.
1042 (find_thread_needs_step_over): New function.
1043 (proceed): If the current thread needs a step-over, set its
1044 steping_over_breakpoint flag. Adjust to use
1045 find_thread_needs_step_over instead of prepare_to_proceed.
1046 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
1047 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
1048 breakpoint.
1049 (switch_back_to_stepped_thread): Step over breakpoints of all
1050 threads not the stepping thread, before switching back to the
1051 stepping thread.
1052
2adfaa28
PA
10532014-03-20 Pedro Alves <palves@redhat.com>
1054
1055 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
1056 extern.
1057 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
1058 * infrun.c (saved_singlestep_ptid)
1059 (stepping_past_singlestep_breakpoint): Delete.
1060 (resume): Remove stepping_past_singlestep_breakpoint handling.
1061 (proceed): Store the prev_pc of the stepping thread too.
1062 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
1063 singlestep_pc.
1064 (enum infwait_states): Delete infwait_thread_hop_state.
1065 (struct execution_control_state) <hit_singlestep_breakpoint>: New
1066 field.
1067 (handle_inferior_event): Adjust.
1068 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
1069 handling and the thread-hop code. Before removing single-step
1070 breakpoints, check whether the thread hit a single-step breakpoint
1071 of another thread. If it did, the trap is not a random signal.
1072 (switch_back_to_stepped_thread): If the event thread hit a
1073 single-step breakpoint, unblock it before switching to the
1074 stepping thread. Handle the case of the stepped thread having
1075 advanced already.
1076 (keep_going): Handle the case of the current thread moving past a
1077 single-step breakpoint.
1078
31e77af2
PA
10792014-03-20 Pedro Alves <palves@redhat.com>
1080
1081 PR breakpoints/7143
1082 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
1083 are being stepped over.
1084 (breakpoint_address_match): Make extern.
1085 * breakpoint.h (breakpoint_address_match): New declaration.
1086 * inferior.h (stepping_past_instruction_at): New declaration.
1087 * infrun.c (struct step_over_info): New type.
1088 (step_over_info): New global.
1089 (set_step_over_info, clear_step_over_info)
1090 (stepping_past_instruction_at): New functions.
1091 (handle_inferior_event): Clear the step-over info when
1092 trap_expected is cleared.
1093 (resume): Remove now stale comment.
1094 (clear_proceed_status): Clear step-over info.
1095 (proceed): Adjust step-over handling to set or clear the step-over
1096 info instead of removing all breakpoints.
1097 (handle_signal_stop): When setting up a thread-hop, don't remove
1098 breakpoints here.
1099 (stop_stepping): Clear step-over info.
1100 (keep_going): Adjust step-over handling to set or clear step-over
1101 info and then always inserting breakpoints, instead of removing
1102 all breakpoints when stepping over one.
1103
b9f437de
PA
11042014-03-20 Pedro Alves <palves@redhat.com>
1105
1106 * infrun.c (previous_inferior_ptid): Adjust comment.
1107 (deferred_step_ptid): Delete.
1108 (infrun_thread_ptid_changed, prepare_to_proceed)
1109 (init_wait_for_inferior): Adjust.
1110 (handle_signal_stop): Delete deferred_step_ptid handling.
1111
06c868a8
JK
11122014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1113
1114 PR gdb/15358
1115 * defs.h (sync_quit_force_run): New declaration.
1116 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
1117 * event-top.c (async_sigterm_handler): New declaration.
1118 (async_sigterm_token): New variable.
1119 (async_init_signals): Create also async_sigterm_token.
1120 (async_sigterm_handler): New function.
1121 (sync_quit_force_run): New variable.
1122 (handle_sigterm): Replace quit_force call by other calls.
1123 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
1124
dea80df0
MR
11252014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
1126
1127 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
1128 offset into SPE pseudo registers.
1129
0c7e1a46
PA
11302014-03-18 Pedro Alves <palves@redhat.com>
1131
1132 PR gdb/13860
1133 * inferior.h (print_stop_event): Declare.
1134 * infrun.c (print_stop_event): New, factored out from ...
1135 (normal_stop): ... this.
1136 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
1137 of bpstat_print/print_stack_frame.
1138
9c1fcd01
TT
11392014-03-17 Tom Tromey <tromey@redhat.com>
1140
1141 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
1142
11aa919a
PMR
11432014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
1144
1145 * ada-lang.c (decode_constrained_packed_array): Perform a
1146 minimal coercion for reference with coerce_ref instead of
1147 ada_coerce_ref.
1148
d4ccb5e0
TG
11492014-03-17 Tristan Gingold <gingold@adacore.com>
1150
1151 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
1152 (darwin_solib_create_inferior_hook): Emit a warning if version
1153 is unhandled.
1154
49840f2a
UW
11552014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
1156
1157 * python/py-value.c (get_field_flag): Cast flag_name argument to
1158 PyObject_GetAttrString to support Python 2.4.
1159
ed4123e5
JK
11602014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1161
1162 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
1163 (Global Maintainers): Remove Jan Kratochvil.
1164
d6b64346
PA
11652014-03-14 Pedro Alves <palves@redhat.com>
1166
1167 * inferior.h (terminal_ours_for_output): Rename to ...
1168 (child_terminal_ours_for_output): ... this.
1169 (terminal_save_ours): Rename to ...
1170 (child_terminal_save_ours): ... this.
1171 (terminal_ours): Rename to ...
1172 (child_terminal_ours): ... this.
1173 (terminal_inferior): Rename to ...
1174 (child_terminal_inferior): ... this.
1175 (terminal_init_inferior): Rename to ...
1176 (child_terminal_init_inferior): ... this.
1177 (terminal_init_inferior_with_pgrp): Rename to ...
1178 (child_terminal_init_inferior_with_pgrp): ... this.
1179 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
1180 (child_terminal_init_with_pgrp): ... this.
1181 (terminal_save_ours): Rename to ...
1182 (child_terminal_save_ours): ... this.
1183 (terminal_init_inferior): Rename to ...
1184 (child_terminal_init): ... this. Adjust.
1185 (terminal_inferior): Rename to ...
1186 (child_terminal_inferior): ... this.
1187 (terminal_ours_for_output): Rename to ...
1188 (child_terminal_ours_for_output): ... this. Adjust.
1189 (terminal_ours): Rename to ...
1190 (child_terminal_ours): ... this.
1191 (terminal_ours_1): Rename to ...
1192 (child_terminal_ours_1): ... this. Adjust.
1193 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
1194 * windows-nat.c (do_initial_windows_stuff): Adjust.
1195 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
1196 (gnu_terminal_init): ... this. Adjust.
1197 (gnu_target): Adjust.
1198 * inf-child.c (inf_child_target): Adjust.
1199
5a1e8c7a
DE
12002014-03-13 Doug Evans <xdje42@gmail.com>
1201
1202 PR guile/16612
1203 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
1204 new eq?-hashtab.
1205
350e1a76
DE
12062014-03-13 Doug Evans <xdje42@gmail.com>
1207
1208 * value.c (record_latest_value): Call release_value_or_incref
1209 instead of release_value.
1210
a69900ae
PA
12112014-03-13 Pedro Alves <palves@redhat.com>
1212
1213 * procfs.c (procfs_target): Don't override to_shortname,
1214 to_longname or to_doc.
1215
5db9f0bd
PA
12162014-03-13 Pedro Alves <palves@redhat.com>
1217
1218 * inf-child.c (inf_child_open, inf_child_target): Don't mention
1219 Unix in user visible strings.
1220
5e3a2c38
SS
12212014-03-12 Stan Shebs <stan@codesourcery.com>
1222
1223 * gdbtypes.h: Annotate comments for Doxygen, add a page
1224 block comment with some general info.
1225
8bc2fe48
PA
12262014-03-12 Pedro Alves <palves@redhat.com>
1227
1228 * infcmd.c (prepare_execution_command): New function, factored out
1229 from several execution commands.
1230 (run_command_1, continue_command, step_1, jump_command)
1231 (signal_command, until_command, advance_command, finish_command)
1232 (attach_command): Use prepare_execution_command.
1233
638c5f49
OJ
12342014-03-12 Omair Javaid <omair.javaid@linaro.org>
1235
1236 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
1237 (MAX_BPTS): Define.
1238 (MAX_WPTS): Define.
1239 (struct arm_linux_thread_points): Removed.
1240 (struct arm_linux_process_info): New.
1241 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
1242 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
1243 (arm_linux_find_breakpoints_by_tid): Removed.
1244 (struct arch_lwp_info): New.
1245 (arm_linux_find_process_pid): New functions.
1246 (arm_linux_add_process): New functions.
1247 (arm_linux_process_info_get): New functions.
1248 (arm_linux_forget_process): New function.
1249 (arm_linux_get_debug_reg_state): New function.
1250 (struct update_registers_data): New.
1251 (update_registers_callback): New function.
1252 (arm_linux_insert_hw_breakpoint1): Updated.
1253 (arm_linux_remove_hw_breakpoint1): Updated.
1254 (arm_linux_insert_hw_breakpoint): Updated.
1255 (arm_linux_remove_hw_breakpoint): Updated.
1256 (arm_linux_insert_watchpoint): Updated.
1257 (arm_linux_remove_watchpoint): Updated.
1258 (arm_linux_new_thread): Updated.
1259 (arm_linux_prepare_to_resume): New function.
1260 (arm_linux_new_fork): New function.
1261 (_initialize_arm_linux_nat): Updated.
1262
6d03af93
PA
12632014-03-12 Pedro Alves <palves@redhat.com>
1264
1265 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
1266
b3ccfe11
TT
12672014-03-12 Tom Tromey <tromey@redhat.com>
1268
1269 * inf-child.c (return_zero): New function.
1270 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
1271 * aix-thread.c (aix_thread_inferior_created): New function.
1272 (aix_thread_attach): Remove.
1273 (init_aix_thread_ops): Don't set to_attach.
1274 (_initialize_aix_thread): Register inferior_created observer.
1275 * corelow.c (init_core_ops): Don't set to_attach or
1276 to_create_inferior.
1277 * exec.c (init_exec_ops): Don't set to_attach or
1278 to_create_inferior.
1279 * infcmd.c (run_command_1): Use find_run_target. Make direct
1280 target calls.
1281 (attach_command): Use find_attach_target. Make direct target
1282 calls.
1283 * record-btrace.c (init_record_btrace_ops): Don't set
1284 to_create_inferior.
1285 * record-full.c (record_full_can_async_p, record_full_is_async_p):
1286 Remove.
1287 (init_record_full_ops, init_record_full_core_ops): Update. Don't
1288 set to_create_inferior.
1289 * target.c (complete_target_initialization): Add assertion.
1290 (target_create_inferior): Remove.
1291 (find_default_attach, find_default_create_inferior): Remove.
1292 (find_attach_target, find_run_target): New functions.
1293 (find_default_is_async_p, find_default_can_async_p)
1294 (target_supports_non_stop, target_attach): Remove.
1295 (init_dummy_target): Don't set to_create_inferior or
1296 to_supports_non_stop.
1297 * target.h (struct target_ops) <to_attach>: Add comment. Remove
1298 TARGET_DEFAULT_FUNC.
1299 <to_create_inferior>: Add comment.
1300 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1301 TARGET_DEFAULT_RETURN.
1302 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1303 (find_attach_target, find_run_target): Declare.
1304 (target_create_inferior): Remove.
1305 (target_has_execution_1): Update comment.
1306 (target_supports_non_stop): Remove.
1307 * target-delegates.c: Rebuild.
1308
91f83b02
PA
13092014-03-12 Pedro Alves <palves@redhat.com>
1310
1311 * inf-child.h: Update comment to not mention Unix.
1312
f1aea813
PA
13132014-03-12 Pedro Alves <palves@redhat.com>
1314
1315 * inf-child.c: Update top comment to not mention Unix. Add
1316 generic comment describing how this target is meant to be used.
1317 (inf_child_post_attach, inf_child_post_startup_inferior)
1318 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1319 Unix in comment.
1320
ee8e9165
PA
13212014-03-12 Pedro Alves <palves@redhat.com>
1322
1323 * nto-procfs.c: Include inf-child.h.
1324 (procfs_ops): Delete global.
1325 (procfs_can_run): Delete method.
1326 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1327 target pointer instead of referencing procfs_ops.
1328 (procfs_prepare_to_store): Delete.
1329 (init_procfs_ops): Delete function.
1330 (procfs_target): New function, based on init_procfs_ops, but
1331 inherit inf_child_target.
1332 (_initialize_procfs): Use procfs_target.
1333
51a9c8c5
PA
13342014-03-12 Pedro Alves <palves@redhat.com>
1335
1336 * windows-nat.c: Include inf-child.h.
1337 (windows_ops): Delete global.
1338 (windows_open, windows_prepare_to_store, windows_can_run): Delete
1339 methods.
1340 (init_windows_ops): Delete function.
1341 (windows_target): New function, based on init_windows_ops, but
1342 inherit inf_child_target.
1343 (_initialize_windows_nat): Use windows_target. Install x86
1344 specific target methods here.
1345
c1966e26
DE
13462014-03-10 Doug Evans <xdje42@gmail.com>
1347
1348 * guile/guile.c (call_initialize_gdb_module): New function.
1349 (initialize_guile): Replace call to scm_init_guile with call to
1350 scm_with_guile.
1351
023db19c
JB
13522014-03-10 Joel Brobecker <brobecker@adacore.com>
1353
1354 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1355 in call to TYPE_CODE macro.
1356
5ec18f2b
JG
13572014-03-10 Jerome Guitton <guitton@adacore.com>
1358
8668be63
JB
1359 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1360 Resolve tagged types to full view.
5ec18f2b 1361
7d03f2eb
HZ
13622014-03-10 Hui Zhu <hui@codesourcery.com>
1363
1364 * target.h (target_insert_breakpoint): Remove "hardware" from its
1365 comments.
1366
c5164cbc
DE
13672014-03-07 Doug Evans <dje@google.com>
1368
1369 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1370
c4a3fee2
DE
13712014-03-07 Doug Evans <dje@google.com>
1372
1373 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1374 Remove unused local comp_dir_attr. Assert exactly one of
1375 stub_comp_unit_die, stub_comp_dir is non-NULL.
1376
3156469c
JB
13772014-03-07 Joel Brobecker <brobecker@adacore.com>
1378
1379 * target.h (complete_target_initialization, add_target):
1380 Add comment.
1381
c1a7b7c6
PA
13822014-03-07 Pedro Alves <palves@redhat.com>
1383
1384 * go32-nat.c: Include inf-child.h.
1385 (go32_ops): Delete global.
1386 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1387 Delete methods.
1388 (go32_create_inferior): Push the passed in target pointer instead
1389 of referencing go32_ops.
1390 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
1391 (go32_target): New function, based on init_go32_ops, but inherit
1392 inf_child_target.
1393 (_initialize_go32_nat): Use go32_target. Move parts of
1394 init_go32_ops here.
1395
d3c1a85f
JB
13962014-03-06 Joel Brobecker <brobecker@adacore.com>
1397
1398 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1399 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1400 SYMBOL_VALUE_ADDRESS.
1401 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1402
5fa1d40e
YQ
14032014-03-06 Yao Qi <yao@codesourcery.com>
1404
1405 * breakpoint.c (get_tracepoint_by_number): Remove argument
1406 optional_p. All callers updated. Adjust comments. Update
1407 output message.
1408 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1409
0c13193f
YQ
14102014-03-06 Yao Qi <yao@codesourcery.com>
1411
1412 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1413 early if get_number returns zero. Use 'p' instead of 'args'.
1414
2217da06
YQ
14152014-03-06 Yao Qi <yao@codesourcery.com>
1416
1417 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1418 message.
1419
cc3da688
YQ
14202014-03-06 Yao Qi <yao@codesourcery.com>
1421
1422 PR breakpoints/16508
1423 * tracepoint.c (check_trace_running): New function.
1424 (trace_find_command): Move code to check_trace_running and
1425 call check_trace_running.
1426 (trace_find_pc_command): Likewise.
1427 (trace_find_tracepoint_command): Likewise.
1428 (trace_find_line_command): Likewise.
1429 (trace_find_range_command): Likewise.
1430 * tracepoint.h (check_trace_running): Likewise.
1431 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1432
6a5f844b
YQ
14332014-03-06 Yao Qi <yao@codesourcery.com>
1434
1435 * target.h (struct target_ops) <to_traceframe_info>: Use
1436 TARGET_DEFAULT_NORETURN (tcomplain ()).
1437 * target-delegates.c: Regenerated.
1438
0f26cec1
PA
14392014-03-05 Pedro Alves <palves@redhat.com>
1440
1441 PR gdb/16575
1442 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1443 void. Update comment.
1444 (dcache_xfer_memory): Delete.
1445 (dcache_read_memory_partial): New, based on the read bits of
1446 dcache_xfer_memory.
1447 (dcache_update): Add status parameter. Use ULONGEST for len, and
1448 adjust. Discard cache lines if the reason for the update was
1449 error.
1450 * dcache.h (dcache_xfer_memory): Delete declaration.
1451 (dcache_read_memory_partial): New declaration.
1452 (dcache_update): Update prototype.
1453 * target.c (raw_memory_xfer_partial): Update the dcache here.
1454 (memory_xfer_partial_1): Don't handle dcache writes here.
1455
b2b255bd
MF
14562014-03-05 Mike Frysinger <vapier@gentoo.org>
1457
1458 * remote-sim.c (gdbsim_load): Add const to prog.
1459
5d9cf8a4
TT
14602014-03-03 Tom Tromey <tromey@redhat.com>
1461
1462 * elfread.c (probe_key): Change to bfd_data.
1463 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1464 now per-BFD, not per-objfile.
1465 * stap-probe.c (stap_probe_destroy): Update comment.
1466 (handle_stap_probe): Allocate on the per-BFD obstack.
1467
729662a5
TT
14682014-03-03 Tom Tromey <tromey@redhat.com>
1469
1470 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1471 * breakpoint.c (create_longjmp_master_breakpoint): Use
1472 get_probe_address.
1473 (add_location_to_breakpoint, bkpt_probe_insert_location)
1474 (bkpt_probe_remove_location): Update.
1475 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1476 * elfread.c (elf_symfile_relocate_probe): Remove.
1477 (elf_probe_fns): Update.
1478 (insert_exception_resume_breakpoint): Change type of "probe"
1479 parameter to bound_probe.
1480 (check_exception_resume): Update.
1481 * objfiles.c (objfile_relocate1): Don't relocate probes.
1482 * probe.c (bound_probe_s): New typedef.
1483 (parse_probes): Use get_probe_address. Set sal's objfile.
1484 (find_probe_by_pc): Return a bound_probe.
1485 (collect_probes): Return a VEC(bound_probe_s).
1486 (compare_probes): Update.
1487 (gen_ui_out_table_header_info): Change type of "probes"
1488 parameter. Update.
1489 (info_probes_for_ops): Update.
1490 (get_probe_address): New function.
1491 (probe_safe_evaluate_at_pc): Update.
1492 * probe.h (struct probe_ops) <get_probe_address>: New field.
1493 <set_semaphore, clear_semaphore>: Add objfile parameter.
1494 (struct probe) <objfile>: Remove field.
1495 <arch>: New field.
1496 <address>: Update comment.
1497 (struct bound_probe): New.
1498 (find_probe_by_pc): Return a bound_probe.
1499 (get_probe_address): Declare.
1500 * solib-svr4.c (struct probe_and_action) <address>: New field.
1501 (hash_probe_and_action, equal_probe_and_action): Update.
1502 (register_solib_event_probe): Add address parameter.
1503 (solib_event_probe_at): Update.
1504 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1505 get_probe_address.
1506 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1507 (stap_get_probe_address): New function.
1508 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1509 (compile_probe_arg): Update.
1510 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1511 address.
1512 (handle_stap_probe): Don't relocate the probe.
1513 (stap_relocate): Remove.
1514 (stap_gen_info_probes_table_values): Update.
1515 (stap_probe_ops): Remove stap_relocate.
1516 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1517 (debug_sym_probe_fns): Update.
1518 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1519 * symtab.c (init_sal): Use memset.
1520 * symtab.h (struct symtab_and_line) <objfile>: New field.
1521 * tracepoint.c (start_tracing, stop_tracing): Update.
1522
ff887920
TT
15232014-03-03 Tom Tromey <tromey@redhat.com>
1524
1525 * probe.h (parse_probes, find_probe_by_pc)
1526 (find_probes_in_objfile): Fix comments.
1527
f0407826
DE
15282014-03-02 Doug Evans <xdje42@gmail.com>
1529
1530 * infrun.c (handle_signal_stop): Replace test for
1531 TARGET_WAITKIND_STOPPED with an assert.
1532
35e6a711
DE
15332014-03-02 Doug Evans <xdje42@gmail.com>
1534
1535 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1536
667f9d0b
DE
15372014-03-02 Doug Evans <xdje42@gmail.com>
1538
1539 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1540
dc92ace0
MK
15412014-03-01 Mark Kettenis <kettenis@gnu.org>
1542
1543 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1544
a900370f
MK
15452014-03-01 Mark Kettenis <kettenis@gnu.org>
1546
1547 * i386obsd-nat.c: Include "obsd-nat.h".
1548 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1549 add_target.
1550 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1551
b72a7981
MK
15522014-03-01 Mark Kettenis <kettenis@gnu.org>
1553
1554 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1555
96c70aba
MK
15562014-03-01 Mark Kettenis <kettenis@gnu.org>
1557
1558 * mips64obsd-nat.c: Include "obsd-nath".
1559 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1560 add_target
1561 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1562
874a80af
MK
15632014-03-01 Mark Kettenis <kettenis@gnu.org>
1564
8fd408f1
MK
1565 * amd64obsd-nat.c: Include "obsd-nat,h.
1566 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1567 add_target.
874a80af
MK
1568 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1569
9cf95373
SC
15702014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1571
1572 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1573 (find_overload_match): Update call to find_oload_champ.
1574 (find_oload_champ_namespace_loop): Likewise
1575
863e4da4
MK
15762014-02-28 Mark Kettenis <kettenis@gnu.org>
1577
025cac40
MK
1578 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1579
1ed586ce
MK
1580 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1581 * config/sparc/obsd64.mh: New file.
1582 * sparc64obsd-nat.c: New file.
1583
863e4da4
MK
1584 * obsd-nat.h: New file.
1585 * obsd-nat.c: New file.
1586 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1587 (ALLDEPFILES): Add obsd-nat.c.
1588
89de4da4
TT
15892014-02-28 Tom Tromey <tromey@redhat.com>
1590
1591 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1592 * cli-out.h (cli_ui_out_impl): Now const.
1593 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1594 * ui-out.c (struct ui_out) <impl>: Now const.
1595 (default_ui_out_impl): Now const.
1596 (ui_out_new): Make 'impl' parameter const.
1597 * ui-out.h (ui_out_new): Update.
1598
c725e7b6
MK
15992014-02-27 Mark Kettenis <kettenis@gnu.org>
1600
1601 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1602
670b46b3
MK
16032014-02-27 Mark Kettenis <kettenis@gnu.org>
1604
1605 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1606
c91550fc
JK
16072014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1608
1609 Additional PR 8882 fix.
1610 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1611
2fa0369e
PA
16122014-02-27 Pedro Alves <palves@redhat.com>
1613
1614 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1615 isn't set.
1616
d632a097
PA
16172014-02-27 Pedro Alves <palves@redhat.com>
1618
1619 PR 12702
1620 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1621 * nat/linux-waitpid.c: Include string.h.
1622 (status_to_str): Moved here and made extern.
1623 * nat/linux-waitpid.h (status_to_str): New declaration.
1624
2ebd5a35
HZ
16252014-02-27 Hui Zhu <hui@codesourcery.com>
1626
1627 PR 12702
1628 * infrun.c (ptid_match): Move ...
1629 * common/ptid.c (ptid_match): ... here.
1630 * inferior.h (ptid_match): Move ...
1631 * common/ptid.h (ptid_match): ... here.
1632
3cdd631f
MK
16332014-02-27 Mark Kettenis <kettenis@gnu.org>
1634
1635 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1636 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1637 gdb_target_obs.
1638
bee30a64
MK
16392014-02-27 Mark Kettenis <kettenis@gnu.org>
1640
1641 * obsd-tdep.c (obsd_auxv_parse): New function.
1642 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
1643
1644 * gdbarch.sh (auxv_parse): New.
1645 * gdbarch.h: Regenerated.
1646 * gdbarch.c: Regenerated.
1647 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1648
7a5a839f
LC
16492014-02-26 Ludovic Courtès <ludo@gnu.org>
1650
1651 * guile/scm-value.c (gdbscm_history_append_x): New function.
1652 (value_functions): Add it.
1653
31aa7e4e
JB
16542014-02-27 Joel Brobecker <brobecker@adacore.com>
1655
1656 * dwarf2read.c (attr_value_as_address): New function.
1657 (dwarf2_find_base_address, read_call_site_scope): Use
1658 attr_value_as_address in place of DW_ADDR.
1659 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1660 the low and high addresses. Slight rework of the handling
1661 of the high pc being a constant form, and limit it to
1662 DWARF verson 4 or higher.
1663 (dwarf2_record_block_ranges): Likewise.
1664 (read_partial_die): Likewise.
1665 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1666
9b333ba3
TT
16672014-02-26 Tom Tromey <tromey@redhat.com>
1668
1669 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1670
5f6cac40
TT
16712014-02-26 Tom Tromey <tromey@redhat.com>
1672
1673 * elfread.c (elf_read_minimal_symbols): Return early if
1674 minimal symbols have already been read. Add "ei" parameter.
1675 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1676 * minsyms.c (prim_record_minimal_symbol_full): Update.
1677 * objfiles.h (struct objstats) <n_minsyms>: Move...
1678 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1679 * symmisc.c (print_objfile_statistics): Update.
1680
2750ef27
TT
16812014-02-26 Tom Tromey <tromey@redhat.com>
1682
1683 * elfread.c (elf_read_minimal_symbols): New function, from
1684 elf_symfile_read.
1685 (elf_symfile_read): Call it.
1686
34643a32
TT
16872014-02-26 Tom Tromey <tromey@redhat.com>
1688
1689 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1690 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1691 (lookup_minimal_symbol_solib_trampoline)
1692 (lookup_minimal_symbol_by_pc_section_1)
1693 (lookup_minimal_symbol_and_objfile): Update.
1694 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1695 Don't allocate a minimal symbol if minsyms have already been read.
1696 (build_minimal_symbol_hash_tables): Update.
1697 (install_minimal_symbols): Do nothing if minsyms already read.
1698 Use the per-BFD obstack.
1699 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1700 * objfiles.c (allocate_objfile): Call
1701 terminate_minimal_symbol_table later.
1702 (have_minimal_symbols): Update.
1703 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1704 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1705 Move from struct objfile.
1706 <minsyms_read>: New field.
1707 (struct objfile) <msymbols, minimal_symbol_count,
1708 msymbol_hash, msymbol_demangled_hash>: Move.
1709 (ALL_OBJFILE_MSYMBOLS): Update.
1710 * symfile.c (read_symbols): Set minsyms_read.
1711 (reread_symbols): Update.
1712 * symmisc.c (dump_objfile, dump_msymbols): Update.
1713
2273f0ac
TT
17142014-02-26 Tom Tromey <tromey@redhat.com>
1715
1716 * minsyms.c (msymbols_sort): Remove.
1717 * minsyms.h (msymbols_sort): Remove.
1718 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1719 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1720 * elfread.c (elf_symtab_read): Don't add section offsets.
1721 * xcoffread.c (record_minimal_symbol): Don't add section offset
1722 to minimal symbol address.
1723 * somread.c (text_offset, data_offset): Remove.
1724 (som_symtab_read): Don't add section offsets to minimal symbol
1725 addresses.
1726 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1727 Don't add section offsets to minimal symbols.
1728 * coffread.c (coff_symtab_read): Don't add section offsets
1729 to minimal symbol addresses.
1730 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1731 to minimal symbol addresses.
1732 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1733 section offset to minimal symbol addresses.
1734 * mdebugread.c (parse_partial_symbols): Don't add section
1735 offset to minimal symbol addresses.
1736 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1737 offset to minimal symbol addresses.
1738
77e371c0
TT
17392014-02-26 Tom Tromey <tromey@redhat.com>
1740
1741 * ada-lang.c (ada_main_name): Update.
1742 (ada_add_standard_exceptions): Update.
1743 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1744 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1745 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1746 * auxv.c (ld_so_xfer_auxv): Update.
1747 * avr-tdep.c (avr_scan_prologue): Update.
1748 * ax-gdb.c (gen_var_ref): Update.
1749 * blockframe.c (get_pc_function_start)
1750 (find_pc_partial_function_gnu_ifunc): Update.
1751 * breakpoint.c (create_overlay_event_breakpoint)
1752 (create_longjmp_master_breakpoint)
1753 (create_std_terminate_master_breakpoint)
1754 (create_exception_master_breakpoint): Update.
1755 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1756 * c-valprint.c (c_val_print): Update.
1757 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1758 * common/agent.c (agent_look_up_symbols): Update.
1759 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1760 * dwarf2loc.c (call_site_to_target_addr): Update.
1761 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1762 * elfread.c (elf_gnu_ifunc_record_cache)
1763 (elf_gnu_ifunc_resolve_by_got): Update.
1764 * findvar.c (default_read_var_value): Update.
1765 * frame.c (inside_main_func): Update.
1766 * frv-tdep.c (frv_frame_this_id): Update.
1767 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1768 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1769 Update.
1770 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1771 (hppa_hpux_find_dummy_bpaddr): Update.
1772 * hppa-tdep.c (hppa_symbol_address): Update.
1773 * infcmd.c (until_next_command): Update.
1774 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1775 Update.
1776 * linespec.c (minsym_found, add_minsym): Update.
1777 * linux-nat.c (get_signo): Update.
1778 * linux-thread-db.c (inferior_has_bug): Update.
1779 * m32c-tdep.c (m32c_return_value)
1780 (m32c_m16c_address_to_pointer): Update.
1781 * m32r-tdep.c (m32r_frame_this_id): Update.
1782 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1783 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1784 * maint.c (maintenance_translate_address): Update.
1785 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1786 (frob_address): New function.
1787 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1788 frob_address. Rename parameter to "pc_in".
1789 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1790 addresses.
1791 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1792 Update.
1793 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1794 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1795 * objc-lang.c (find_objc_msgsend): Update.
1796 * objfiles.c (objfile_relocate1): Update.
1797 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1798 * p-valprint.c (pascal_val_print): Update.
1799 * parse.c (write_exp_msymbol): Update.
1800 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1801 (ppc_elfv2_skip_entrypoint): Update.
1802 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1803 * printcmd.c (build_address_symbolic, msym_info)
1804 (address_info): Update.
1805 * proc-service.c (ps_pglobal_lookup): Update.
1806 * psymtab.c (find_pc_sect_psymtab_closer)
1807 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1808 Change msymbol parameter to bound_minimal_symbol.
1809 * ravenscar-thread.c (get_running_thread_id): Update.
1810 * remote.c (remote_check_symbols): Update.
1811 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1812 address.
1813 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1814 * solib-dsbt.c (lm_base): Update.
1815 * solib-frv.c (lm_base, main_got): Update.
1816 * solib-irix.c (locate_base): Update.
1817 * solib-som.c (som_solib_create_inferior_hook)
1818 (link_map_start): Update.
1819 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1820 * solib-svr4.c (elf_locate_base, enable_break): Update.
1821 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1822 (flush_ea_cache): Update.
1823 * stabsread.c (define_symbol, scan_file_globals): Update.
1824 * stack.c (find_frame_funname): Update.
1825 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1826 (debug_qf_find_pc_sect_symtab): Update.
1827 * symfile.c (simple_read_overlay_table)
1828 (simple_overlay_update): Update.
1829 * symfile.h (struct quick_symbol_functions)
1830 <find_pc_sect_symtab>: Change type of msymbol to
1831 bound_minimal_symbol.
1832 * symmisc.c (dump_msymbols): Update.
1833 * symtab.c (find_pc_sect_symtab_via_partial)
1834 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1835 (search_symbols, print_msymbol_info): Update.
1836 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1837 (MSYMBOL_VALUE_ADDRESS): Redefine.
1838 (BMSYMBOL_VALUE_ADDRESS): New macro.
1839 * tracepoint.c (scope_info): Update.
1840 * tui/tui-disasm.c (tui_find_disassembly_address)
1841 (tui_get_begin_asm_address): Update.
1842 * valops.c (find_function_in_inferior): Update.
1843 * value.c (value_static_field, value_fn_field): Update.
1844
3b7344d5
TT
18452014-02-26 Tom Tromey <tromey@redhat.com>
1846
1847 * ada-lang.c (ada_update_initial_language): Update.
1848 (ada_main_name, ada_has_this_exception_support): Update.
1849 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1850 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1851 * arm-tdep.c (arm_skip_stub): Update.
1852 * auxv.c (ld_so_xfer_auxv): Update.
1853 * avr-tdep.c (avr_scan_prologue): Update.
1854 * ax-gdb.c (gen_var_ref): Update.
1855 * breakpoint.c (struct breakpoint_objfile_data)
1856 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1857 type to bound_minimal_symbol.
1858 (create_overlay_event_breakpoint)
1859 (create_longjmp_master_breakpoint)
1860 (create_std_terminate_master_breakpoint)
1861 (create_exception_master_breakpoint): Update.
1862 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1863 * c-exp.y (classify_name): Update.
1864 * coffread.c (coff_symfile_read): Update.
1865 * common/agent.c (agent_look_up_symbols): Update.
1866 * d-lang.c (d_main_name): Update.
1867 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1868 * dec-thread.c (enable_dec_thread): Update.
1869 * dwarf2loc.c (call_site_to_target_addr): Update.
1870 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1871 * eval.c (evaluate_subexp_standard): Update.
1872 * findvar.c (struct minsym_lookup_data) <result>: Change type
1873 to bound_minimal_symbol.
1874 <objfile>: Remove.
1875 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1876 * frame.c (inside_main_func): Update.
1877 * frv-tdep.c (frv_frame_this_id): Update.
1878 * gcore.c (call_target_sbrk): Update.
1879 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1880 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1881 Update.
1882 * go-lang.c (go_main_name): Update.
1883 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1884 (hppa_hpux_find_import_stub_for_addr): Update.
1885 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1886 Update. Change return type.
1887 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1888 type.
1889 * jit.c (jit_breakpoint_re_set_internal): Update.
1890 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1891 Update.
1892 * linux-nat.c (get_signo): Update.
1893 * linux-thread-db.c (inferior_has_bug): Update
1894 * m32c-tdep.c (m32c_return_value)
1895 (m32c_m16c_address_to_pointer): Update.
1896 * m32r-tdep.c (m32r_frame_this_id): Update.
1897 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1898 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1899 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1900 lookup_minimal_symbol. Change return type.
1901 (lookup_minimal_symbol): Remove.
1902 (lookup_bound_minimal_symbol): Update.
1903 (lookup_minimal_symbol_text): Change return type.
1904 (lookup_minimal_symbol_solib_trampoline): Change return type.
1905 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1906 (lookup_minimal_symbol_solib_trampoline): Change return type.
1907 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1908 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1909 (value_nsstring, find_imps): Update.
1910 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1911 * p-lang.c (pascal_main_name): Update.
1912 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1913 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1914 * proc-service.c (ps_pglobal_lookup): Update.
1915 * ravenscar-thread.c (get_running_thread_msymbol): Change
1916 return type.
1917 (has_ravenscar_runtime, get_running_thread_id): Update.
1918 * remote.c (remote_check_symbols): Update.
1919 * sol-thread.c (ps_pglobal_lookup): Update.
1920 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1921 * solib-dsbt.c (lm_base): Update.
1922 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1923 Update.
1924 * solib-irix.c (locate_base): Update.
1925 * solib-som.c (som_solib_create_inferior_hook)
1926 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1927 Update.
1928 * solib-spu.c (spu_enable_break): Update.
1929 * solib-svr4.c (elf_locate_base, enable_break): Update.
1930 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1931 (flush_ea_cache): Update.
1932 * stabsread.c (define_symbol): Update.
1933 * symfile.c (simple_read_overlay_table): Update.
1934 * symtab.c (find_pc_sect_line): Update.
1935 * tracepoint.c (scope_info): Update.
1936 * tui-disasm.c (tui_get_begin_asm_address): Update.
1937 * value.c (value_static_field): Update.
1938
40c1a007
TT
19392014-02-26 Tom Tromey <tromey@redhat.com>
1940
1941 * minsyms.c (prim_record_minimal_symbol_full): Use
1942 SET_MSYMBOL_VALUE_ADDRESS.
1943 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1944 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1945 SET_MSYMBOL_VALUE_ADDRESS.
1946 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1947 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1948
efd66ac6
TT
19492014-02-26 Tom Tromey <tromey@redhat.com>
1950
1951 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1952 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1953 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1954 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1955 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1956 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1957 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1958 * ada-lang.c (ada_main_name): Update.
1959 (ada_lookup_simple_minsym): Update.
1960 (ada_make_symbol_completion_list): Update.
1961 (ada_add_standard_exceptions): Update.
1962 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1963 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1964 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1965 * arm-tdep.c (skip_prologue_function): Update.
1966 (arm_skip_stack_protector, arm_skip_stub): Update.
1967 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1968 (arm_wince_skip_main_prologue): Update.
1969 * auxv.c (ld_so_xfer_auxv): Update.
1970 * avr-tdep.c (avr_scan_prologue): Update.
1971 * ax-gdb.c (gen_var_ref): Update.
1972 * block.c (call_site_for_pc): Update.
1973 * blockframe.c (get_pc_function_start): Update.
1974 (find_pc_partial_function_gnu_ifunc): Update.
1975 * breakpoint.c (create_overlay_event_breakpoint): Update.
1976 (create_longjmp_master_breakpoint): Update.
1977 (create_std_terminate_master_breakpoint): Update.
1978 (create_exception_master_breakpoint): Update.
1979 (resolve_sal_pc): Update.
1980 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1981 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1982 Update.
1983 * c-valprint.c (c_val_print): Update.
1984 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1985 * coffread.c (coff_symfile_read): Update.
1986 * common/agent.c (agent_look_up_symbols): Update.
1987 * dbxread.c (find_stab_function_addr): Update.
1988 (end_psymtab): Update.
1989 * dwarf2loc.c (call_site_to_target_addr): Update.
1990 (func_verify_no_selftailcall): Update.
1991 (tailcall_dump): Update.
1992 (call_site_find_chain_1): Update.
1993 (dwarf_expr_reg_to_entry_parameter): Update.
1994 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1995 (elf_gnu_ifunc_resolve_by_got): Update.
1996 * f-valprint.c (info_common_command): Update.
1997 * findvar.c (read_var_value): Update.
1998 * frame.c (get_prev_frame_1): Update.
1999 (inside_main_func): Update.
2000 * frv-tdep.c (frv_skip_main_prologue): Update.
2001 (frv_frame_this_id): Update.
2002 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2003 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
2004 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
2005 (gnuv3_skip_trampoline): Update.
2006 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
2007 (hppa64_hpux_in_solib_call_trampoline): Update.
2008 (hppa_hpux_skip_trampoline_code): Update.
2009 (hppa64_hpux_search_dummy_call_sequence): Update.
2010 (hppa_hpux_find_import_stub_for_addr): Update.
2011 (hppa_hpux_find_dummy_bpaddr): Update.
2012 * hppa-tdep.c (hppa_symbol_address)
2013 (hppa_lookup_stub_minimal_symbol): Update.
2014 * i386-tdep.c (i386_skip_main_prologue): Update.
2015 (i386_pe_skip_trampoline_code): Update.
2016 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
2017 * infcall.c (get_function_name): Update.
2018 * infcmd.c (until_next_command): Update.
2019 * jit.c (jit_breakpoint_re_set_internal): Update.
2020 (jit_inferior_init): Update.
2021 * linespec.c (minsym_found): Update.
2022 (add_minsym): Update.
2023 * linux-fork.c (info_checkpoints_command): Update.
2024 * linux-nat.c (get_signo): Update.
2025 * linux-thread-db.c (inferior_has_bug): Update.
2026 * m32c-tdep.c (m32c_return_value): Update.
2027 (m32c_m16c_address_to_pointer): Update.
2028 (m32c_m16c_pointer_to_address): Update.
2029 * m32r-tdep.c (m32r_frame_this_id): Update.
2030 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2031 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2032 * maint.c (maintenance_translate_address): Update.
2033 * minsyms.c (add_minsym_to_hash_table): Update.
2034 (add_minsym_to_demangled_hash_table): Update.
2035 (msymbol_objfile): Update.
2036 (lookup_minimal_symbol): Update.
2037 (iterate_over_minimal_symbols): Update.
2038 (lookup_minimal_symbol_text): Update.
2039 (lookup_minimal_symbol_by_pc_name): Update.
2040 (lookup_minimal_symbol_solib_trampoline): Update.
2041 (lookup_minimal_symbol_by_pc_section_1): Update.
2042 (lookup_minimal_symbol_and_objfile): Update.
2043 (prim_record_minimal_symbol_full): Update.
2044 (compare_minimal_symbols): Update.
2045 (compact_minimal_symbols): Update.
2046 (build_minimal_symbol_hash_tables): Update.
2047 (install_minimal_symbols): Update.
2048 (terminate_minimal_symbol_table): Update.
2049 (find_solib_trampoline_target): Update.
2050 (minimal_symbol_upper_bound): Update.
2051 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2052 * mips-tdep.c (mips_stub_frame_sniffer): Update.
2053 (mips_skip_pic_trampoline_code): Update.
2054 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
2055 * objc-lang.c (selectors_info): Update.
2056 (classes_info): Update.
2057 (find_methods): Update.
2058 (find_imps): Update.
2059 (find_objc_msgsend): Update.
2060 * objfiles.c (objfile_relocate1): Update.
2061 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
2062 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2063 * p-valprint.c (pascal_val_print): Update.
2064 * parse.c (write_exp_msymbol): Update.
2065 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
2066 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
2067 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2068 * printcmd.c (build_address_symbolic): Update.
2069 (sym_info): Update.
2070 (address_info): Update.
2071 * proc-service.c (ps_pglobal_lookup): Update.
2072 * psymtab.c (find_pc_sect_psymtab_closer): Update.
2073 (find_pc_sect_psymtab): Update.
2074 * python/py-framefilter.c (py_print_frame): Update.
2075 * ravenscar-thread.c (get_running_thread_id): Update.
2076 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
2077 Update.
2078 * remote.c (remote_check_symbols): Update.
2079 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
2080 (rs6000_skip_trampoline_code): Update.
2081 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
2082 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2083 * solib-dsbt.c (lm_base): Update.
2084 * solib-frv.c (lm_base): Update.
2085 (main_got): Update.
2086 * solib-irix.c (locate_base): Update.
2087 * solib-som.c (som_solib_create_inferior_hook): Update.
2088 (som_solib_desire_dynamic_linker_symbols): Update.
2089 (link_map_start): Update.
2090 * solib-spu.c (spu_enable_break): Update.
2091 (ocl_enable_break): Update.
2092 * solib-svr4.c (elf_locate_base): Update.
2093 (enable_break): Update.
2094 * spu-tdep.c (spu_get_overlay_table): Update.
2095 (spu_catch_start): Update.
2096 (flush_ea_cache): Update.
2097 * stabsread.c (define_symbol): Update.
2098 (scan_file_globals): Update.
2099 * stack.c (find_frame_funname): Update.
2100 (frame_info): Update.
2101 * symfile.c (simple_read_overlay_table): Update.
2102 (simple_overlay_update): Update.
2103 * symmisc.c (dump_msymbols): Update.
2104 * symtab.c (fixup_section): Update.
2105 (find_pc_sect_line): Update.
2106 (skip_prologue_sal): Update.
2107 (search_symbols): Update.
2108 (print_msymbol_info): Update.
2109 (rbreak_command): Update.
2110 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
2111 (completion_list_objc_symbol): Update.
2112 (default_make_symbol_completion_list_break_on): Update.
2113 * tracepoint.c (scope_info): Update.
2114 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
2115 (tui_get_begin_asm_address): Update.
2116 * valops.c (find_function_in_inferior): Update.
2117 * value.c (value_static_field): Update.
2118 (value_fn_field): Update.
2119
50e65b17
TT
21202014-02-26 Tom Tromey <tromey@redhat.com>
2121
2122 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
2123 bound minimal symbols. Move code that knows about minsym
2124 table layout...
2125 * minsyms.c (minimal_symbol_upper_bound): ... here. New
2126 function.
2127 * minsyms.h (minimal_symbol_upper_bound): Declare.
2128 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
2129 minimal_symbol_upper_bound.
2130
1b588015
JB
21312014-02-27 Joel Brobecker <brobecker@adacore.com>
2132
2133 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
2134 Use the type's name if its basic type does not have a tag.
2135
dbb9c2b1
JB
21362014-02-27 Joel Brobecker <brobecker@adacore.com>
2137
2138 * dwarf2read.c (read_subrange_type): Add comment.
2139
55426c9d
JB
21402014-02-27 Joel Brobecker <brobecker@adacore.com>
2141
2142 * dwarf2read.c (update_enumeration_type_from_children): New
2143 function, mostly extracted from process_structure_scope.
2144 (read_enumeration_type): Call update_enumeration_type_from_children.
2145 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
2146 and flag_flag_enum fields.
2147
f2fce0ca
PA
21482014-02-26 Pedro Alves <palves@redhat.com>
2149
2150 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
2151 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
2152 to_xfer_partial method.
2153
7a44e40e
PA
21542014-02-26 Pedro Alves <palves@redhat.com>
2155
2156 * target.c (complete_target_initialization): Don't install
2157 default_xfer_partial as to_xfer_partial hook.
2158 (nomemory): Delete.
2159 (update_current_target): Don't INHERIT nor de_fault
2160 deprecated_xfer_memory. Delete de_fault macro.
2161 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
2162 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
2163 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
2164 field.
2165
bd265cd0
PA
21662014-02-26 Pedro Alves <palves@redhat.com>
2167
2168 * go32-nat.c (my_write_child): New function.
2169 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
2170 (go32_xfer_partial): New function.
2171 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
2172 Instead install a to_xfer_partial hook.
2173
9d46c4e5
PA
21742014-02-26 Pedro Alves <palves@redhat.com>
2175
2176 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
2177 to_xfer_partial helper. Rewrite.
2178 (procfs_xfer_partial): New function.
2179 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
2180 Install a to_xfer_partial hook.
2181
a1583b1f
PA
21822014-02-26 Pedro Alves <palves@redhat.com>
2183
2184 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
2185 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
2186 (m32r_xfer_partial): New function.
2187 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
2188 Install a to_xfer_partial hook.
2189
6df1b29f
PA
21902014-02-26 Pedro Alves <palves@redhat.com>
2191
2192 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
2193 helper.
2194 (mips_xfer_partial): New function.
2195 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
2196 hook. Install a to_xfer_partial hook.
2197
dc53a7ad
JB
21982014-02-26 Joel Brobecker <brobecker@adacore.com>
2199
2200 * gdbtypes.h (create_array_type_with_stride): Add declaration.
2201 * gdbtypes.c (create_array_type_with_stride): New function,
2202 renaming create_array_type, but with an added parameter
2203 called "bit_stride".
2204 (create_array_type): Re-implement using
2205 create_array_type_with_stride.
2206 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
2207 and DW_AT_bit_stride attributes.
2208
12ab52e9
PA
22092014-02-26 Pedro Alves <palves@redhat.com>
2210
2211 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
2212 task-specific breakpoints.
2213
d16461ae
PA
22142014-02-25 Pedro Alves <palves@redhat.com>
2215
2216 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
2217 handling of object == TARGET_OBJECT_UNWIND_TABLE.
2218
a8b16220
SS
22192014-02-25 Stan Shebs <stan@codesourcery.com>
2220
2221 * defs.h: Annotate comments for Doxygen.
2222
b9e795ee
TT
22232014-02-25 Tom Tromey <tromey@redhat.com>
2224
2225 * target.h (target_ignore): Don't declare.
2226 * target.c (target_ignore): Remove.
2227
849c862e
JK
22282014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 PR gdb/16626
2231 * auto-load.c (auto_load_objfile_script_1): Change filename to
2232 debugfile.
2233
475109d8
JB
22342014-02-25 Joel Brobecker <brobecker@adacore.com>
2235
2236 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
2237 documentation. Adjust prototype to match the target_ops
2238 to_xfer_partial method. Adjust implementation accordingly.
2239
e186c3bd
HZ
22402014-02-25 Hui Zhu <hui@codesourcery.com>
2241
2242 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
2243 to_traceframe_info.
2244
6d451942
KB
22452014-02-25 Kevin Buettner <kevinb@redhat.com>
2246
041ab8b4 2247 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
2248 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
2249 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
2250 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
2251 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
2252 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
2253 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
2254 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
2255 New constants.
2256 (rl78_register_type): Use a data pointer type for SP and
2257 new pseudo registers mentioned above. Use a 16 bit integer
2258 type for all other register pairs.
2259 (rl78_register_name, rl78_g10_register_name): Update for
2260 new pseudo registers.
2261 (rl78_pseudo_register_read): Likewise.
2262 (rl78_pseudo_register_write): Likewise.
2263 (rl78_dwarf_reg_to_regnum): Return register numbers representing
2264 to the newly added pseudo registers.
2265
eddf0bae
DE
22662014-02-24 Doug Evans <dje@google.com>
2267
2268 * value.c (record_latest_value): Fix comment.
2269 * printcmd.c (print_command_1): Remove code to handle -1 return from
2270 record_latest_value.
2271
e96027e0
PA
22722014-02-24 Pedro Alves <palves@redhat.com>
2273
2274 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2275 deprecated_xfer_memory hook.
2276 (procfs_xfer_partial): Call procfs_xfer_memory instead
2277 of the deprecated_xfer_memory target hook.
2278 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2279 helper.
2280
0837c976
YZ
22812014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
2282
2283 * windows-nat.c (windows_xfer_shared_libraries): Return
2284 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2285 requested object is TARGET_OBJECT_LIBRARIES.
2286
bc113b4e
YQ
22872014-02-24 Yao Qi <yao@codesourcery.com>
2288
2289 * target.h (enum target_xfer_status)
2290 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2291 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2292 explicitly. New.
2293 * corefile.c (memory_error_message): User updated.
2294 * exec.c (section_table_read_available_memory): Likewise.
2295 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2296 * target.c (target_xfer_status_to_string): Likewise.
2297 (raw_memory_xfer_partial): Likewise.
2298 (memory_xfer_partial_1, target_xfer_partial): Likewise.
2299 * valops.c (read_value_memory): Likewise.
2300 * exec.h: Update comments.
2301
01cb8804
YQ
23022014-02-24 Yao Qi <yao@codesourcery.com>
2303
2304 * target.c (target_xfer_status_to_string): Rename argument err
2305 to status.
2306 * target.h (target_xfer_status_to_string): Update declaration.
2307 Replace target_xfer_error_to_string with
2308 target_xfer_status_to_string in comment.
2309
93063aa6
YQ
23102014-02-24 Yao Qi <yao@codesourcery.com>
2311
2312 * mips-linux-nat.c (super_close): Update its type.
2313 (mips_linux_close): Pass 'self' to super_close.
2314
5c328c05
YQ
23152014-02-24 Yao Qi <yao@codesourcery.com>
2316
2317 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2318 * corefile.c (read_memory): Adjusted.
2319 * target.c (target_write_with_progress): Adjusted.
2320
f73023dd
YQ
23212014-02-23 Yao Qi <yao@codesourcery.com>
2322
2323 Revert two patches:
2324
2325 2013-10-25 Yao Qi <yao@codesourcery.com>
2326
2327 * remote.c (remote_traceframe_info): Return early if
2328 traceframe is not selected.
2329
2330 2013-07-19 Yao Qi <yao@codesourcery.com>
2331
2332 * target.c (update_current_target): Change the default action
2333 of 'to_traceframe_info' from tcomplain to return_zero.
2334 * target.h (struct target_ops) <to_traceframe_info>: Add more
2335 comments.
2336
5a2eb0ef
YQ
23372014-02-23 Yao Qi <yao@codesourcery.com>
2338
2339 * valops.c (read_value_memory): Rewrite it. Call
2340 target_xfer_partial in a loop.
2341 * exec.h (section_table_available_memory): Remove declaration.
2342 Move comments to ...
2343 * exec.c (section_table_available_memory): ... here. Make it
2344 static.
2345
1ee79381
YQ
23462014-02-23 Yao Qi <yao@codesourcery.com>
2347
2348 * exec.c (section_table_read_available_memory): New function.
2349 * exec.h (section_table_read_available_memory): Declare.
2350 * ctf.c (ctf_xfer_partial): Call
2351 section_table_read_available_memory.
2352 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2353
1ca49d37
YQ
23542014-02-23 Yao Qi <yao@codesourcery.com>
2355
2356 * ctf.c (ctf_xfer_partial): Move code to ...
2357 * exec.c (exec_read_partial_read_only): ... it. New function.
2358 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2359 * tracefile.c: Include "exec.h".
2360 * exec.h (exec_read_partial_read_only): Declare.
2361
a283690e
YQ
23622014-02-23 Yao Qi <yao@codesourcery.com>
2363
2364 * tracefile-tfile.c (tfile_has_all_memory): Remove.
2365 (tfile_has_memory): Remove.
2366 (init_tfile_ops): Don't set fields to_has_all_memory and
2367 to_has_memory of tfile_ops.
2368 * tracefile.c (tracefile_has_all_memory): New function.
2369 (tracefile_has_memory): New function.
2370 (init_tracefile_ops): Initialize fields to_has_all_memory and
2371 to_has_memory of 'ops'.
2372
12e03cd0
YQ
23732014-02-23 Yao Qi <yao@codesourcery.com>
2374
2375 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2376 (ctf_thread_alive, ctf_get_trace_status): Remove.
2377 (init_ctf_ops): Don't set some fields of ctf_ops. Call
2378 init_tracefile_ops.
2379 * tracefile-tfile.c (tfile_get_trace_status): Remove.
2380 (tfile_has_stack, tfile_has_registers): Remove.
2381 (tfile_thread_alive): Remove.
2382 (init_tfile_ops): Don't set some fields of tfile_ops. Call
2383 init_tracefile_ops.
2384 * tracefile.c (tracefile_has_stack): New function.
2385 (tracefile_has_registers): New function.
2386 (tracefile_thread_alive): New function.
2387 (tracefile_get_trace_status): New function.
2388 (init_tracefile_ops): New function.
2389 * tracefile.h (init_tracefile_ops): Declare.
2390
11395323
YQ
23912014-02-23 Yao Qi <yao@codesourcery.com>
2392
2393 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2394 (O_LARGEFILE): Likewise.
2395 (tfile_ops): Likewise.
2396 (TRACE_HEADER_SIZE): Likewise.
2397 (trace_fd, trace_frames_offset, cur_offset): Likewise.
2398 (cur_data_size): Likewise.
2399 (tfile_read, tfile_open, tfile_interp_line): Likewise.
2400 (tfile_close, tfile_files_info): Likewise.
2401 (tfile_get_trace_status): Likewise.
2402 (tfile_get_tracepoint_status): Likewise.
2403 (tfile_get_traceframe_address): Likewise.
2404 (tfile_trace_find, match_blocktype): Likewise.
2405 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2406 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2407 (tfile_get_trace_state_variable_value): Likewise.
2408 (tfile_has_all_memory, tfile_has_memory): Likewise.
2409 (tfile_has_stack, tfile_has_registers): Likewise.
2410 (tfile_thread_alive, build_traceframe_info): Likewise.
2411 (tfile_traceframe_info, init_tfile_ops): Likewise.
2412 (_initialize_tracepoint): Don't call init_tfile_ops
2413 and add_target_with_completer.
2414 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2415 exec.h, completer.h and filenames.h.
2416 (_initialize_tracefile_tfile): New function.
2417
7951c4eb
YQ
24182014-02-23 Yao Qi <yao@codesourcery.com>
2419
2420 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2421 tracefile-tfile.o.
2422 (HFILES_NO_SRCDIR): Add tracefile.h.
2423 * ctf.c: Include "tracefile.h".
2424 * tracefile.h: New file.
2425 * tracefile.c: New file
2426 * tracefile-tfile.c: New file.
2427 * tracepoint.c: Include "tracefile.h".
2428 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2429 (stop_reason_names): Add const.
2430 (trace_file_writer_xfree): Move it to tracefile.c.
2431 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2432 (trace_save_ctf): Likewise.
2433 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2434 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2435 (tfile_write_header, tfile_write_regblock_type): Likewise.
2436 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2437 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2438 (tfile_write_raw_data, tfile_end): Likewise.
2439 (tfile_trace_file_writer_new): Likewise.
2440 (free_uploaded_tp): Make it extern.
2441 (free_uploaded_tsv): Make it extern.
2442 (_initialize_tracepoint): Move code to register command 'tsave'
2443 to tracefile.c.
2444 * tracepoint.h (stop_reason_names): Declare.
2445 (struct trace_frame_write_ops): Move it to tracefile.h.
2446 (struct trace_file_write_ops): Likewise.
2447 (struct trace_file_writer): Likewise.
2448 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2449
184cd072
JK
24502014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2451
2452 PR gdb/16594
2453 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2454 process name.
2455 (get_cores_used_by_process): New parameter num_cores, use it.
2456 (linux_xfer_osdata_processes): Pass num_cores to it.
2457 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2458 process name.
2459
c63528fc
AK
24602014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2461
2462 * target.c (memory_xfer_partial): Fix length arg in call to
2463 breakpoint_xfer_memory.
2464
d7b30f67
SDJ
24652014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2466
2467 PR tdep/16397
2468 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2469 number comes after the + or - signs. Adjust length of register
2470 name to be extracted.
2471
8838afaf
TT
24722014-02-20 Tom Tromey <tromey@redhat.com>
2473
2474 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2475 (ada_varobj_ops): Mark "extern".
2476
05227d14
TT
24772014-02-20 Tom Tromey <tromey@redhat.com>
2478
2479 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2480
1254eefc
DE
24812014-02-20 Doug Evans <xdje42@gmail.com>
2482
2483 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2484 All callers updated.
2485 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2486 All callers updated.
2487 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2488 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2489
adde2bff
DE
24902014-02-20 lin zuojian <manjian2006@gmail.com>
2491 Joel Brobecker <brobecker@adacore.com>
2492 Doug Evans <xdje42@gmail.com>
2493
2494 PR symtab/16581
2495 * dwarf2read.c (struct die_info): New member in_process.
2496 (reset_die_in_process): New function.
2497 (process_die): Set it at the start, reset when returning.
2498 (inherit_abstract_dies): Only call process_die if origin_child_die
2499 not already being processed.
2500
3be75f87
JB
25012014-02-20 Joel Brobecker <brobecker@adacore.com>
2502
2503 * windows-nat.c (handle_unload_dll): Add function documentation.
2504 (do_initial_windows_stuff): Add comment explaining why we wait
2505 until after inferior initialization has finished before
2506 processing all DLLs.
2507
47f7ffdb
JB
25082014-02-20 Joel Brobecker <brobecker@adacore.com>
2509
2510 * windows-nat.c (get_module_name): Delete.
2511 (windows_get_exec_module_filename): New function, mostly
2512 inspired from get_module_name.
2513 (windows_pid_to_exec_file): Replace call to get_module_name
2514 by call to windows_get_exec_module_filename.
2515
1cd9feab
JB
25162014-02-20 Joel Brobecker <brobecker@adacore.com>
2517
2518 * windows-nat.c (handle_load_dll): Rewrite this function's
2519 introductory comment. Remove code using get_module_name
2520 to get the DLL's name.
2521
ea39ad35
JB
25222014-02-20 Joel Brobecker <brobecker@adacore.com>
2523
2524 * windows-nat.c (get_windows_debug_event): Ignore
2525 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2526 if windows_initialization_done == 0.
2527 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2528 Adjust implementation to always load all DLLs.
2529 (do_initial_windows_stuff): Replace call to
2530 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2531
95060284
JB
25322014-02-20 Joel Brobecker <brobecker@adacore.com>
2533
2534 * windows-nat.c (_initialize_windows_nat): Deprecate the
2535 "dll-symbols" command. Turn the "add-shared-symbol-files"
2536 and "assf" aliases into commands, and deprecate them as well.
2537 * NEWS: Add entry explaining that "dll-symbols" and its two
2538 aliases are now deprecated.
2539
8d4fdb12
JB
25402014-02-20 Joel Brobecker <brobecker@adacore.com>
2541
2542 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2543 new-line in debug string. Remove trailing spaces.
2544
1b281443
SS
25452014-02-19 Stan Shebs <stan@codesourcery.com>
2546
2547 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2548
f7bd0f78
SC
25492014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2550
2551 * NEWS: Add entry for the new feature
2552 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2553 and class values.
2554
399ebc3d
SS
25552014-02-19 Stan Shebs <stan@codesourcery.com>
2556
2557 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2558
c658158d
PA
25592014-02-19 Pedro Alves <palves@redhat.com>
2560
2561 * common/ptid.h (struct ptid): Mention that process_stratum
2562 targets should prefer ptid.lwp.
2563
ba348170
PA
25642014-02-19 Pedro Alves <palves@redhat.com>
2565
2566 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2567 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2568 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2569 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2570 store remote thread ids rather than ptid.tid.
2571 (_initialize_remote): Adjust.
2572
ac01945b
TT
25732014-02-19 Tom Tromey <tromey@redhat.com>
2574
2575 * target.c (target_get_unwinder): Rewrite.
2576 (target_get_tailcall_unwinder): Rewrite.
2577 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2578 (record_btrace_to_get_tailcall_unwinder): New function.
2579 (init_record_btrace_ops): Update.
2580 * target.h (struct target_ops) <to_get_unwinder,
2581 to_get_tailcall_unwinder>: Now function pointers. Use
2582 TARGET_DEFAULT_RETURN.
2583
8476dc92
TT
25842014-02-19 Tom Tromey <tromey@redhat.com>
2585
2586 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2587 argument.
2588 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2589
c0eca49f
TT
25902014-02-19 Tom Tromey <tromey@redhat.com>
2591
2592 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2593 directly.
2594 * target-delegates.c: Rebuild.
2595 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2596 TARGET_DEFAULT_FUNC.
2597 * target.c (default_target_decr_pc_after_break): Rename from
2598 forward_target_decr_pc_after_break. Simplify.
2599 (target_decr_pc_after_break): Rely on delegation.
2600
596b6b39
TT
26012014-02-19 Tom Tromey <tromey@redhat.com>
2602
2603 * target.c (update_current_target): Do not INHERIT to_doc or
2604 to_magic. Do not de_fault to_open or to_close.
2605
b427c1bc
TT
26062014-02-19 Tom Tromey <tromey@redhat.com>
2607
2608 * gcore.h (objfile_find_memory_regions): Declare.
2609 * gcore.c (objfile_find_memory_regions): No longer static. Add
2610 "self" argument.
2611 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2612 * exec.c: Include gcore.h.
2613 (exec_set_find_memory_regions): Remove.
2614 (exec_find_memory_regions): Remove.
2615 (exec_do_find_memory_regions): Remove.
2616 (init_exec_ops): Update.
2617 * defs.h (exec_set_find_memory_regions): Remove.
2618
9b144037
TT
26192014-02-19 Tom Tromey <tromey@redhat.com>
2620
2621 * target-delegates.c: Rebuild.
2622 * target.h (struct target_ops) <to_extra_thread_info,
2623 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2624 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2625 not 0, in TARGET_DEFAULT_RETURN.
2626
555bbdeb
TT
26272014-02-19 Tom Tromey <tromey@redhat.com>
2628
2629 * target.c (complete_target_initialization): Remove casts. Use
2630 return_zero_has_execution.
2631 (return_zero): Add "ignore" argument.
2632 (return_zero_has_execution): New function.
2633 (init_dummy_target): Remove casts. Use
2634 return_zero_has_execution.
2635
be4ddd36
TT
26362014-02-19 Tom Tromey <tromey@redhat.com>
2637
2638 * target.c (update_current_target): Update comments. Do not
2639 INHERIT to_stratum.
2640
2117c711
TT
26412014-02-19 Tom Tromey <tromey@redhat.com>
2642
2643 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2644 needed.
2645 * corelow.c (core_read_description): Delegate when needed.
2646 * remote.c (remote_read_description): Delegate when needed.
2647 * target-delegates.c: Rebuild.
2648 * target.c (target_read_description): Rewrite.
2649 * target.h (struct target_ops) <to_read_description>: Update
2650 comment. Use TARGET_DEFAULT_RETURN.
2651
e88ef65c
TT
26522014-02-19 Tom Tromey <tromey@redhat.com>
2653
2654 * target-delegates.c: Rebuild.
2655 * target.c (update_current_target): Don't inherit or default
2656 to_can_run.
2657 (find_default_run_target): Check against delegate_can_run.
2658 * target.h (struct target_ops) <to_can_run>: Use
2659 TARGET_DEFAULT_RETURN.
2660
86a0854a
TT
26612014-02-19 Tom Tromey <tromey@redhat.com>
2662
2663 * target-delegates.c: Rebuild.
2664 * target.c (target_disconnect): Unconditionally delegate.
2665 * target.h (struct target_ops) <to_disconnect>: Use
2666 TARGET_DEFAULT_NORETURN.
2667
ee97f592
TT
26682014-02-19 Tom Tromey <tromey@redhat.com>
2669
2670 * record.c (record_stop): Unconditionally delegate.
2671 * target-delegates.c: Rebuild.
2672 * target.c (target_stop_recording): Unconditionally delegate.
2673 * target.h (struct target_ops) <to_stop_recording>: Use
2674 TARGET_DEFAULT_IGNORE.
2675
6dc7fcf4
TT
26762014-02-19 Tom Tromey <tromey@redhat.com>
2677
2678 * target-delegates.c: Rebuild.
2679 * target.c (target_enable_btrace): Unconditionally delegate.
2680 * target.h (struct target_ops) <to_enable_btrace>: Use
2681 TARGET_DEFAULT_NORETURN.
2682
eb5b20d4
TT
26832014-02-19 Tom Tromey <tromey@redhat.com>
2684
2685 * target-delegates.c: Rebuild.
2686 * target.c (target_read_btrace): Unconditionally delegate.
2687 * target.h (struct target_ops) <to_read_btrace>: Use
2688 TARGET_DEFAULT_NORETURN.
2689
9ace480d
TT
26902014-02-19 Tom Tromey <tromey@redhat.com>
2691
2692 * target-delegates.c: Rebuild.
2693 * target.c (target_teardown_btrace): Unconditionally delegate.
2694 * target.h (struct target_ops) <to_teardown_btrace>: Use
2695 TARGET_DEFAULT_NORETURN.
2696
8dc292d3
TT
26972014-02-19 Tom Tromey <tromey@redhat.com>
2698
2699 * target-delegates.c: Rebuild.
2700 * target.c (target_disable_btrace): Unconditionally delegate.
2701 * target.h (struct target_ops) <to_disable_btrace>: Use
2702 TARGET_DEFAULT_NORETURN.
2703
58a5184e
TT
27042014-02-19 Tom Tromey <tromey@redhat.com>
2705
2706 * target-delegates.c: Rebuild.
2707 * target.c (default_search_memory): New function.
2708 (simple_search_memory): Update comment.
2709 (target_search_memory): Unconditionally delegate.
2710 * target.h (struct target_ops) <to_search_memory>: Use
2711 TARGET_DEFAULT_FUNC.
2712
8de71aab
TT
27132014-02-19 Tom Tromey <tromey@redhat.com>
2714
2715 * auxv.c (default_auxv_parse): No longer static.
2716 (target_auxv_parse): Unconditionally delegate.
2717 * auxv.h (default_auxv_parse): Declare.
2718 * target-delegates.c: Rebuild.
2719 * target.c: Include auxv.h.
2720 * target.h (struct target_ops) <to_auxv_parse>: Use
2721 TARGET_DEFAULT_FUNC.
2722
6b2c5a57
TT
27232014-02-19 Tom Tromey <tromey@redhat.com>
2724
2725 * target-delegates.c: Rebuild.
2726 * target.c (target_memory_map): Unconditionally delegate.
2727 * target.h (struct target_ops) <to_memory_map>: Use
2728 TARGET_DEFAULT_RETURN.
2729
cbffc065
TT
27302014-02-19 Tom Tromey <tromey@redhat.com>
2731
2732 * target-delegates.c: Rebuild.
2733 * target.c (target_thread_alive): Unconditionally delegate.
2734 * target.h (struct target_ops) <to_thread_alive>: Use
2735 TARGET_DEFAULT_RETURN.
2736
f09e2107
TT
27372014-02-19 Tom Tromey <tromey@redhat.com>
2738
2739 * target-delegates.c: Rebuild.
2740 * target.c (target_save_record): Unconditionally delegate.
2741 * target.h (struct target_ops) <to_save_record>: Use
2742 TARGET_DEFAULT_NORETURN.
2743
07366925
TT
27442014-02-19 Tom Tromey <tromey@redhat.com>
2745
2746 * target-delegates.c: Rebuild.
2747 * target.c (target_delete_record): Unconditionally delegate.
2748 * target.h (struct target_ops) <to_delete_record>: Use
2749 TARGET_DEFAULT_NORETURN.
2750
dd2e9d25
TT
27512014-02-19 Tom Tromey <tromey@redhat.com>
2752
2753 * target-delegates.c: Rebuild.
2754 * target.c (target_record_is_replaying): Unconditionally
2755 delegate.
2756 * target.h (struct target_ops) <to_record_is_replaying>: Use
2757 TARGET_DEFAULT_RETURN.
2758
671e76cc
TT
27592014-02-19 Tom Tromey <tromey@redhat.com>
2760
2761 * target-delegates.c: Rebuild.
2762 * target.c (target_goto_record_begin): Unconditionally delegate.
2763 * target.h (struct target_ops) <to_goto_record_begin>: Use
2764 TARGET_DEFAULT_NORETURN.
2765
e9179bb3
TT
27662014-02-19 Tom Tromey <tromey@redhat.com>
2767
2768 * target-delegates.c: Rebuild.
2769 * target.c (target_goto_record_end): Unconditionally delegate.
2770 * target.h (struct target_ops) <to_goto_record_end>: Use
2771 TARGET_DEFAULT_NORETURN.
2772
05969c84
TT
27732014-02-19 Tom Tromey <tromey@redhat.com>
2774
2775 * target-delegates.c: Rebuild.
2776 * target.c (target_goto_record): Unconditionally delegate.
2777 * target.h (struct target_ops) <to_goto_record>: Use
2778 TARGET_DEFAULT_NORETURN.
2779
3679abfa
TT
27802014-02-19 Tom Tromey <tromey@redhat.com>
2781
2782 * target-delegates.c: Rebuild.
2783 * target.c (target_insn_history): Unconditionally delegate.
2784 * target.h (struct target_ops) <to_insn_history>: Use
2785 TARGET_DEFAULT_NORETURN.
2786
8444ab58
TT
27872014-02-19 Tom Tromey <tromey@redhat.com>
2788
2789 * target-delegates.c: Rebuild.
2790 * target.c (target_insn_history_from): Unconditionally delegate.
2791 * target.h (struct target_ops) <to_insn_history_from>: Use
2792 TARGET_DEFAULT_NORETURN.
2793
c29302cc
TT
27942014-02-19 Tom Tromey <tromey@redhat.com>
2795
2796 * target-delegates.c: Rebuild.
2797 * target.c (target_insn_history_range): Unconditionally delegate.
2798 * target.h (struct target_ops) <to_insn_history_range>: Use
2799 TARGET_DEFAULT_NORETURN.
2800
170049d4
TT
28012014-02-19 Tom Tromey <tromey@redhat.com>
2802
2803 * target-delegates.c: Rebuild.
2804 * target.c (target_call_history): Unconditionally delegate.
2805 * target.h (struct target_ops) <to_call_history>: Use
2806 TARGET_DEFAULT_NORETURN.
2807
16fc27d6
TT
28082014-02-19 Tom Tromey <tromey@redhat.com>
2809
2810 * target-delegates.c: Rebuild.
2811 * target.c (target_call_history_from): Unconditionally delegate.
2812 * target.h (struct target_ops) <to_call_history_from>: Use
2813 TARGET_DEFAULT_NORETURN.
2814
115d9817
TT
28152014-02-19 Tom Tromey <tromey@redhat.com>
2816
2817 * target-delegates.c: Rebuild.
2818 * target.c (target_call_history_range): Unconditionally delegate.
2819 * target.h (struct target_ops) <to_call_history_range>: Use
2820 TARGET_DEFAULT_NORETURN.
2821
eb276a6b
TT
28222014-02-19 Tom Tromey <tromey@redhat.com>
2823
2824 * target-delegates.c: Rebuild.
2825 * target.c (target_verify_memory): Unconditionally delegate.
2826 * target.h (struct target_ops) <to_verify_memory>: Use
2827 TARGET_DEFAULT_NORETURN.
2828
9e538d0d
TT
28292014-02-19 Tom Tromey <tromey@redhat.com>
2830
2831 * target-delegates.c: Rebuild.
2832 * target.c (target_core_of_thread): Unconditionally delegate.
2833 * target.h (struct target_ops) <to_core_of_thread>: Use
2834 TARGET_DEFAULT_RETURN.
2835
f6fb2925
TT
28362014-02-19 Tom Tromey <tromey@redhat.com>
2837
2838 * target-delegates.c: Rebuild.
2839 * target.c (target_flash_done): Unconditionally delegate.
2840 * target.h (struct target_ops) <to_flash_done>: Use
2841 TARGET_DEFAULT_NORETURN.
2842
e8a6c6ac
TT
28432014-02-19 Tom Tromey <tromey@redhat.com>
2844
2845 * target-delegates.c: Rebuild.
2846 * target.c (target_flash_erase): Unconditionally delegate.
2847 * target.h (struct target_ops) <to_flash_erase>: Use
2848 TARGET_DEFAULT_NORETURN.
2849
7e35c012
TT
28502014-02-19 Tom Tromey <tromey@redhat.com>
2851
2852 * target-delegates.c: Rebuild.
2853 * target.c (target_get_section_table): Unconditionally delegate.
2854 * target.h (struct target_ops) <to_get_section_table>: Use
2855 TARGET_DEFAULT_RETURN.
2856
770234d3
TT
28572014-02-19 Tom Tromey <tromey@redhat.com>
2858
2859 * target-delegates.c: Rebuild.
2860 * target.c (target_pid_to_str): Unconditionally delegate.
2861 (init_dummy_target): Don't initialize to_pid_to_str.
2862 (default_pid_to_str): Rename from dummy_pid_to_str.
2863 * target.h (struct target_ops) <to_pid_to_str>: Use
2864 TARGET_DEFAULT_FUNC.
2865
09b0dc2b
TT
28662014-02-19 Tom Tromey <tromey@redhat.com>
2867
2868 * target-delegates.c: Rebuild.
2869 * target.c (target_find_new_threads): Unconditionally delegate.
2870 * target.h (struct target_ops) <to_find_new_threads>: Use
2871 TARGET_DEFAULT_RETURN.
2872
7d4f8efa
TT
28732014-02-19 Tom Tromey <tromey@redhat.com>
2874
2875 * target-delegates.c: Rebuild.
2876 * target.c (target_program_signals): Unconditionally delegate.
2877 * target.h (struct target_ops) <to_program_signals>: Use
2878 TARGET_DEFAULT_IGNORE.
2879
035cad7f
TT
28802014-02-19 Tom Tromey <tromey@redhat.com>
2881
2882 * target-delegates.c: Rebuild.
2883 * target.c (target_pass_signals): Unconditionally delegate.
2884 * target.h (struct target_ops) <to_pass_signals>: Use
2885 TARGET_DEFAULT_IGNORE.
2886
8d657035
TT
28872014-02-19 Tom Tromey <tromey@redhat.com>
2888
2889 * target-delegates.c: Rebuild.
2890 * target.c (default_mourn_inferior): New function.
2891 (target_mourn_inferior): Unconditionally delegate.
2892 * target.h (struct target_ops) <to_mourn_inferior>: Use
2893 TARGET_DEFAULT_FUNC.
2894
098dba18
TT
28952014-02-19 Tom Tromey <tromey@redhat.com>
2896
2897 * target-delegates.c: Rebuild.
2898 * target.c (default_follow_fork): New function.
2899 (target_follow_fork): Unconditionally delegate.
2900 * target.h (struct target_ops) <to_follow_fork>: Use
2901 TARGET_DEFAULT_FUNC.
2902
423a4807
TT
29032014-02-19 Tom Tromey <tromey@redhat.com>
2904
2905 * target-delegates.c: Rebuild.
2906 * target.c (target_kill): Unconditionally delegate.
2907 * target.h (struct target_ops) <to_kill>: Use
2908 TARGET_DEFAULT_NORETURN.
2909
6c7e5e5c
TT
29102014-02-19 Tom Tromey <tromey@redhat.com>
2911
2912 * target-delegates.c: Rebuild.
2913 * target.c (target_masked_watch_num_registers): Unconditionally
2914 delegate.
2915 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2916 Use TARGET_DEFAULT_RETURN.
2917
8b1c364c
TT
29182014-02-19 Tom Tromey <tromey@redhat.com>
2919
2920 * target-delegates.c: Rebuild.
2921 * target.c (target_remove_mask_watchpoint): Unconditionally
2922 delegate.
2923 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2924 TARGET_DEFAULT_RETURN.
2925
cd4ae029
TT
29262014-02-19 Tom Tromey <tromey@redhat.com>
2927
2928 * target-delegates.c: Rebuild.
2929 * target.c (target_insert_mask_watchpoint): Unconditionally
2930 delegate.
2931 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2932 TARGET_DEFAULT_RETURN.
2933
a134316b
TT
29342014-02-19 Tom Tromey <tromey@redhat.com>
2935
2936 * target-delegates.c: Rebuild.
2937 * target.c (target_ranged_break_num_registers): Unconditionally
2938 delegate.
2939 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2940 Use TARGET_DEFAULT_RETURN.
2941
ad5989bd
TT
29422014-02-19 Tom Tromey <tromey@redhat.com>
2943
2944 * target-delegates.c: Rebuild.
2945 * target.c (target_fetch_registers): Unconditionally delegate.
2946 * target.h (struct target_ops) <to_fetch_registers>: Use
2947 TARGET_DEFAULT_NORETURN.
2948
46ee7e8d
TT
29492014-02-19 Tom Tromey <tromey@redhat.com>
2950
2951 * target-delegates.c: Rebuild.
2952 * target.c (update_current_target): Don't inherit or default
2953 to_stop.
2954 * target.h (struct target_ops) <to_stop>: Use
2955 TARGET_DEFAULT_IGNORE.
2956
843f59ed
TT
29572014-02-19 Tom Tromey <tromey@redhat.com>
2958
2959 * target-delegates.c: Rebuild.
2960 * target.c (update_current_target): Don't inherit or default
2961 to_can_run_breakpoint_commands.
2962 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2963 Use TARGET_DEFAULT_RETURN.
2964
ccfde2a0
TT
29652014-02-19 Tom Tromey <tromey@redhat.com>
2966
2967 * target-delegates.c: Rebuild.
2968 * target.c (update_current_target): Don't inherit or default
2969 to_supports_evaluation_of_breakpoint_conditions.
2970 * target.h (struct target_ops)
2971 <to_supports_evaluation_of_breakpoint_conditions>: Use
2972 TARGET_DEFAULT_RETURN.
2973
0de91722
TT
29742014-02-19 Tom Tromey <tromey@redhat.com>
2975
2976 * target-delegates.c: Rebuild.
2977 * target.c (update_current_target): Don't inherit or default
2978 to_augmented_libraries_svr4_read.
2979 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2980 Use TARGET_DEFAULT_RETURN.
2981
9a7d8b48
TT
29822014-02-19 Tom Tromey <tromey@redhat.com>
2983
2984 * target-delegates.c: Rebuild.
2985 * target.c (update_current_target): Don't inherit or default
2986 to_can_use_agent.
2987 * target.h (struct target_ops) <to_can_use_agent>: Use
2988 TARGET_DEFAULT_RETURN.
2989
d9db5b21
TT
29902014-02-19 Tom Tromey <tromey@redhat.com>
2991
2992 * target-delegates.c: Rebuild.
2993 * target.c (update_current_target): Don't inherit or default
2994 to_use_agent.
2995 * target.h (struct target_ops) <to_use_agent>: Use
2996 TARGET_DEFAULT_NORETURN.
2997
92155eeb
TT
29982014-02-19 Tom Tromey <tromey@redhat.com>
2999
3000 * target-delegates.c: Rebuild.
3001 * target.c (update_current_target): Don't inherit or default
3002 to_traceframe_info.
3003 (return_null): Remove.
3004 * target.h (struct target_ops) <to_traceframe_info>: Use
3005 TARGET_DEFAULT_RETURN.
3006
d6522a22
TT
30072014-02-19 Tom Tromey <tromey@redhat.com>
3008
3009 * target-delegates.c: Rebuild.
3010 * target.c (update_current_target): Don't inherit or default
3011 to_static_tracepoint_markers_by_strid.
3012 * target.h (struct target_ops)
3013 <to_static_tracepoint_markers_by_strid>: Use
3014 TARGET_DEFAULT_NORETURN.
3015
4c3e4425
TT
30162014-02-19 Tom Tromey <tromey@redhat.com>
3017
3018 * target-delegates.c: Rebuild.
3019 * target.c (update_current_target): Don't inherit or default
3020 to_static_tracepoint_marker_at.
3021 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3022 Use TARGET_DEFAULT_RETURN.
3023
dcd6917f
TT
30242014-02-19 Tom Tromey <tromey@redhat.com>
3025
3026 * target-delegates.c: Rebuild.
3027 * target.c (update_current_target): Don't inherit or default
3028 to_set_permissions.
3029 * target.h (struct target_ops) <to_set_permissions>: Use
3030 TARGET_DEFAULT_IGNORE.
3031
22bcceee
TT
30322014-02-19 Tom Tromey <tromey@redhat.com>
3033
3034 * target-delegates.c: Rebuild.
3035 * target.c (update_current_target): Don't inherit or default
3036 to_get_tib_address.
3037 * target.h (struct target_ops) <to_get_tib_address>: Use
3038 TARGET_DEFAULT_NORETURN.
3039
8586ccaa
TT
30402014-02-19 Tom Tromey <tromey@redhat.com>
3041
3042 * target-delegates.c: Rebuild.
3043 * target.c (update_current_target): Don't inherit or default
3044 to_set_trace_notes.
3045 * target.h (struct target_ops) <to_set_trace_notes>: Use
3046 TARGET_DEFAULT_RETURN.
3047
91df8d1d
TT
30482014-02-19 Tom Tromey <tromey@redhat.com>
3049
3050 * target-delegates.c: Rebuild.
3051 * target.c (update_current_target): Don't initialize
3052 to_set_trace_buffer_size.
3053 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
3054 TARGET_DEFAULT_IGNORE.
3055
8d526939
TT
30562014-02-19 Tom Tromey <tromey@redhat.com>
3057
3058 * target-delegates.c: Rebuild.
3059 * target.c (update_current_target): Don't inherit or default
3060 to_set_circular_trace_buffer.
3061 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
3062 TARGET_DEFAULT_IGNORE.
3063
0bcfeddf
TT
30642014-02-19 Tom Tromey <tromey@redhat.com>
3065
3066 * target-delegates.c: Rebuild.
3067 * target.c (update_current_target): Don't inherit or default
3068 to_set_disconnected_tracing.
3069 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
3070 TARGET_DEFAULT_IGNORE.
3071
9249843f
TT
30722014-02-19 Tom Tromey <tromey@redhat.com>
3073
3074 * target-delegates.c: Rebuild.
3075 * target.c (update_current_target): Don't inherit or default
3076 to_get_min_fast_tracepoint_insn_len.
3077 (return_minus_one): Remove.
3078 * target.h (struct target_ops)
3079 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
3080
ace92e7d
TT
30812014-02-19 Tom Tromey <tromey@redhat.com>
3082
3083 * target-delegates.c: Rebuild.
3084 * target.c (update_current_target): Don't inherit or default
3085 to_get_raw_trace_data.
3086 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
3087 TARGET_DEFAULT_NORETURN.
3088
08120467
TT
30892014-02-19 Tom Tromey <tromey@redhat.com>
3090
3091 * target-delegates.c: Rebuild.
3092 * target.c (update_current_target): Don't inherit or default
3093 to_upload_trace_state_variables.
3094 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3095 Use TARGET_DEFAULT_RETURN.
3096
1e949b00
TT
30972014-02-19 Tom Tromey <tromey@redhat.com>
3098
3099 * target-delegates.c: Rebuild.
3100 * target.c (update_current_target): Don't inherit or default
3101 to_upload_tracepoints.
3102 * target.h (struct target_ops) <to_upload_tracepoints>: Use
3103 TARGET_DEFAULT_RETURN.
3104
a2e6c147
TT
31052014-02-19 Tom Tromey <tromey@redhat.com>
3106
3107 * target-delegates.c: Rebuild.
3108 * target.c (update_current_target): Don't inherit or default
3109 to_save_trace_data.
3110 * target.h (struct target_ops) <to_save_trace_data>: Use
3111 TARGET_DEFAULT_NORETURN.
3112
959bcd0b
TT
31132014-02-19 Tom Tromey <tromey@redhat.com>
3114
3115 * target-delegates.c: Rebuild.
3116 * target.c (update_current_target): Don't inherit or default
3117 to_get_trace_state_variable_value.
3118 * target.h (struct target_ops)
3119 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
3120
afc94e66
TT
31212014-02-19 Tom Tromey <tromey@redhat.com>
3122
3123 * target-delegates.c: Rebuild.
3124 * target.c (update_current_target): Don't inherit or default
3125 to_trace_find.
3126 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
3127
e51c07ea
TT
31282014-02-19 Tom Tromey <tromey@redhat.com>
3129
3130 * target-delegates.c: Rebuild.
3131 * target.c (update_current_target): Don't inherit or default
3132 to_trace_stop.
3133 * target.h (struct target_ops) <to_trace_stop>: Use
3134 TARGET_DEFAULT_NORETURN.
3135
6fea14cd
TT
31362014-02-19 Tom Tromey <tromey@redhat.com>
3137
3138 * target-delegates.c: Rebuild.
3139 * target.c (update_current_target): Don't inherit or default
3140 to_get_tracepoint_status.
3141 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
3142 TARGET_DEFAULT_NORETURN.
3143
4072d4ff
TT
31442014-02-19 Tom Tromey <tromey@redhat.com>
3145
3146 * target-delegates.c: Rebuild.
3147 * target.c (update_current_target): Don't inherit or default
3148 to_get_trace_status.
3149 * target.h (struct target_ops) <to_get_trace_status>: Use
3150 TARGET_DEFAULT_RETURN.
3151
25da2e80
TT
31522014-02-19 Tom Tromey <tromey@redhat.com>
3153
3154 * target-delegates.c: Rebuild.
3155 * target.c (update_current_target): Don't inherit or default
3156 to_trace_start.
3157 * target.h (struct target_ops) <to_trace_start>: Use
3158 TARGET_DEFAULT_NORETURN.
3159
86dd181d
TT
31602014-02-19 Tom Tromey <tromey@redhat.com>
3161
3162 * target-delegates.c: Rebuild.
3163 * target.c (update_current_target): Don't inherit or default
3164 to_trace_set_readonly_regions.
3165 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3166 Use TARGET_DEFAULT_NORETURN.
3167
05c41993
TT
31682014-02-19 Tom Tromey <tromey@redhat.com>
3169
3170 * target-delegates.c: Rebuild.
3171 * target.c (update_current_target): Don't inherit or default
3172 to_disable_tracepoint.
3173 * target.h (struct target_ops) <to_disable_tracepoint>: Use
3174 TARGET_DEFAULT_NORETURN.
3175
151f70f1
TT
31762014-02-19 Tom Tromey <tromey@redhat.com>
3177
3178 * target-delegates.c: Rebuild.
3179 * target.c (update_current_target): Don't inherit or default
3180 to_enable_tracepoint.
3181 * target.h (struct target_ops) <to_enable_tracepoint>: Use
3182 TARGET_DEFAULT_NORETURN.
3183
94eb98b9
TT
31842014-02-19 Tom Tromey <tromey@redhat.com>
3185
3186 * target-delegates.c: Rebuild.
3187 * target.c (update_current_target): Don't inherit or default
3188 to_download_trace_state_variable.
3189 * target.h (struct target_ops) <to_download_trace_state_variable>:
3190 Use TARGET_DEFAULT_NORETURN.
3191
719acc4a
TT
31922014-02-19 Tom Tromey <tromey@redhat.com>
3193
3194 * target-delegates.c: Rebuild.
3195 * target.c (update_current_target): Don't inherit or default
3196 to_can_download_tracepoint.
3197 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
3198 TARGET_DEFAULT_RETURN.
3199
9a980a22
TT
32002014-02-19 Tom Tromey <tromey@redhat.com>
3201
3202 * target-delegates.c: Rebuild.
3203 * target.c (update_current_target): Don't inherit or default
3204 to_download_tracepoint.
3205 * target.h (struct target_ops) <to_download_tracepoint>: Use
3206 TARGET_DEFAULT_NORETURN.
3207
5536135b
TT
32082014-02-19 Tom Tromey <tromey@redhat.com>
3209
3210 * target-delegates.c: Rebuild.
3211 * target.c (update_current_target): Don't inherit or default
3212 to_trace_init.
3213 * target.h (struct target_ops) <to_trace_init>: Use
3214 TARGET_DEFAULT_RETURN.
3215
9409d39e
TT
32162014-02-19 Tom Tromey <tromey@redhat.com>
3217
3218 * target-delegates.c: Rebuild.
3219 * target.c (update_current_target): Don't inherit or default
3220 to_supports_string_tracing.
3221 * target.h (struct target_ops) <to_supports_string_tracing>: Use
3222 TARGET_DEFAULT_RETURN.
3223
aab1b22d
TT
32242014-02-19 Tom Tromey <tromey@redhat.com>
3225
3226 * target-delegates.c: Rebuild.
3227 * target.c (update_current_target): Don't inherit or default
3228 to_supports_enable_disable_tracepoint.
3229 * target.h (struct target_ops)
3230 <to_supports_enable_disable_tracepoint>: Use
3231 TARGET_DEFAULT_RETURN.
3232
a7304748
TT
32332014-02-19 Tom Tromey <tromey@redhat.com>
3234
3235 * target-delegates.c: Rebuild.
3236 * target.c (update_current_target): Don't inherit or default
3237 to_supports_multi_process.
3238 * target.h (struct target_ops) <to_supports_multi_process>: Use
3239 TARGET_DEFAULT_RETURN.
3240
4229b31d
TT
32412014-02-19 Tom Tromey <tromey@redhat.com>
3242
3243 * target-delegates.c: Rebuild.
3244 * target.c (update_current_target): Don't inherit or default
3245 to_get_ada_task_ptid.
3246 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
3247 TARGET_DEFAULT_FUNC.
3248
43eba180
TT
32492014-02-19 Tom Tromey <tromey@redhat.com>
3250
3251 * target-delegates.c: Rebuild.
3252 * target.c (update_current_target): Don't inherit or default
3253 to_thread_architecture.
3254 * target.h (struct target_ops) <to_thread_architecture>: Use
3255 TARGET_DEFAULT_FUNC.
3256
fe31bf5b
TT
32572014-02-19 Tom Tromey <tromey@redhat.com>
3258
3259 * target-delegates.c: Rebuild.
3260 * target.c (update_current_target): Don't inherit or default
3261 to_execution_direction.
3262 * target.h (struct target_ops) <to_execution_direction>: Use
3263 TARGET_DEFAULT_FUNC.
3264
53e1cfc7
TT
32652014-02-19 Tom Tromey <tromey@redhat.com>
3266
3267 * target-delegates.c: Rebuild.
3268 * target.c (update_current_target): Don't inherit or default
3269 to_can_execute_reverse.
3270 * target.h (struct target_ops) <to_can_execute_reverse>: Use
3271 TARGET_DEFAULT_RETURN.
3272 (target_can_execute_reverse): Unconditionally delegate.
3273
9bb9d61d
TT
32742014-02-19 Tom Tromey <tromey@redhat.com>
3275
3276 * target-delegates.c: Rebuild.
3277 * target.c (update_current_target): Don't inherit or default
3278 to_goto_bookmark.
3279 (dummy_goto_bookmark): Remove.
3280 (init_dummy_target): Don't inherit or default to_goto_bookmark.
3281 * target.h (struct target_ops) <to_goto_bookmark>: Use
3282 TARGET_DEFAULT_NORETURN.
3283
3dbafbbb
TT
32842014-02-19 Tom Tromey <tromey@redhat.com>
3285
3286 * target-delegates.c: Rebuild.
3287 * target.c (update_current_target): Don't inherit or default
3288 to_get_bookmark.
3289 (dummy_get_bookmark): Remove.
3290 (init_dummy_target): Don't inherit or default to_get_bookmark.
3291 * target.h (struct target_ops) <to_get_bookmark>: Use
3292 TARGET_DEFAULT_NORETURN
3293
16f796b1
TT
32942014-02-19 Tom Tromey <tromey@redhat.com>
3295
3296 * target-delegates.c: Rebuild.
3297 * target.c (update_current_target): Don't inherit or default
3298 to_make_corefile_notes.
3299 (init_dummy_target): Don't initialize to_make_corefile_notes.
3300 * target.h (struct target_ops) <to_make_corefile_notes>: Use
3301 TARGET_DEFAULT_FUNC.
3302
0b5a2719
TT
33032014-02-19 Tom Tromey <tromey@redhat.com>
3304
3305 * target-delegates.c: Rebuild.
3306 * target.c (update_current_target): Don't inherit or default
3307 to_find_memory_regions.
3308 (init_dummy_target): Don't initialize to_find_memory_regions.
3309 * target.h (struct target_ops) <to_find_memory_regions>: Use
3310 TARGET_DEFAULT_FUNC.
3311
d9cb0195
TT
33122014-02-19 Tom Tromey <tromey@redhat.com>
3313
3314 * target-delegates.c: Rebuild.
3315 * target.c (update_current_target): Don't inherit or default
3316 to_log_command.
3317 * target.h (struct target_ops) <to_log_command>: Use
3318 TARGET_DEFAULT_IGNORE.
3319 (target_log_command): Unconditionally delegate.
3320
830ca330
TT
33212014-02-19 Tom Tromey <tromey@redhat.com>
3322
3323 * target-delegates.c: Rebuild.
3324 * target.c (update_current_target): Don't inherit or default
3325 to_pid_to_exec_file.
3326 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3327 TARGET_DEFAULT_RETURN.
3328
825828fc
TT
33292014-02-19 Tom Tromey <tromey@redhat.com>
3330
3331 * target-delegates.c: Rebuild.
3332 * target.c (update_current_target): Don't inherit or default
3333 to_thread_name.
3334 (target_thread_name): Unconditionally delegate.
3335 * target.h (struct target_ops) <to_thread_name>: Use
3336 TARGET_DEFAULT_RETURN.
3337
4a7e6dda
TT
33382014-02-19 Tom Tromey <tromey@redhat.com>
3339
3340 * target-delegates.c: Rebuild.
3341 * target.c (update_current_target): Don't inherit or default
3342 to_extra_thread_info.
3343 * target.h (struct target_ops) <to_extra_thread_info>: Use
3344 TARGET_DEFAULT_RETURN.
3345
0db88c1d
TT
33462014-02-19 Tom Tromey <tromey@redhat.com>
3347
3348 * target-delegates.c: Rebuild.
3349 * target.c (update_current_target): Don't inherit or default
3350 to_has_exited.
3351 * target.h (struct target_ops) <to_has_exited>: Use
3352 TARGET_DEFAULT_RETURN..
3353
6a9fa051
TT
33542014-02-19 Tom Tromey <tromey@redhat.com>
3355
3356 * target-delegates.c: Rebuild.
3357 * target.c (update_current_target): Don't inherit or default
3358 to_set_syscall_catchpoint.
3359 (return_one): Remove.
3360 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3361 TARGET_DEFAULT_RETURN.
3362
62f64d7a
TT
33632014-02-19 Tom Tromey <tromey@redhat.com>
3364
3365 * target-delegates.c: Rebuild.
3366 * target.c (update_current_target): Don't inherit or default
3367 to_insert_exec_catchpoint.
3368 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3369 TARGET_DEFAULT_RETURN.
3370
cda0f38c
TT
33712014-01-08 Tom Tromey <tromey@redhat.com>
3372
3373 * target-delegates.c: Rebuild.
3374 * target.c (update_current_target): Don't inherit or default
3375 to_insert_exec_catchpoint.
3376 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3377 TARGET_DEFAULT_RETURN.
3378
95c3375e
TT
33792014-02-19 Tom Tromey <tromey@redhat.com>
3380
3381 * target-delegates.c: Rebuild.
3382 * target.c (update_current_target): Don't inherit or default
3383 to_remove_vfork_catchpoint.
3384 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
3385 TARGET_DEFAULT_RETURN.
3386
7e18a8dc
TT
33872014-02-19 Tom Tromey <tromey@redhat.com>
3388
3389 * target-delegates.c: Rebuild.
3390 * target.c (update_current_target): Don't inherit or default
3391 to_insert_vfork_catchpoint.
3392 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
3393 TARGET_DEFAULT_RETURN.
3394
e1a21fb7
TT
33952014-02-19 Tom Tromey <tromey@redhat.com>
3396
3397 * target-delegates.c: Rebuild.
3398 * target.c (update_current_target): Don't inherit or default
3399 to_remove_fork_catchpoint.
3400 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
3401 TARGET_DEFAULT_RETURN.
3402
5958ebeb
TT
34032014-02-19 Tom Tromey <tromey@redhat.com>
3404
3405 * target-delegates.c: Rebuild.
3406 * target.c (update_current_target): Don't inherit or default
3407 to_insert_fork_catchpoint.
3408 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3409 TARGET_DEFAULT_RETURN.
3410
340ba4bf
TT
34112014-02-19 Tom Tromey <tromey@redhat.com>
3412
3413 * target-delegates.c: Rebuild.
3414 * target.c (update_current_target): Don't inherit or default
3415 to_post_startup_inferior.
3416 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3417 TARGET_DEFAULT_IGNORE.
3418
7634da87
TT
34192014-02-19 Tom Tromey <tromey@redhat.com>
3420
3421 * target-delegates.c: Rebuild.
3422 * target.c (update_current_target): Don't inherit or default
3423 to_load.
3424 * target.h (struct target_ops) <to_load>: Use
3425 TARGET_DEFAULT_NORETURN.
3426
e19e919f
TT
34272014-02-19 Tom Tromey <tromey@redhat.com>
3428
3429 * target-delegates.c: Rebuild.
3430 * target.c (update_current_target): Don't inherit or default
3431 to_terminal_info.
3432 * target.h (struct target_ops) <to_terminal_info>: Use
3433 TARGET_DEFAULT_FUNC.
3434
c6ea8f79
TT
34352014-02-19 Tom Tromey <tromey@redhat.com>
3436
3437 * target-delegates.c: Rebuild.
3438 * target.c (update_current_target): Don't inherit or default
3439 to_terminal_save_ours.
3440 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3441 TARGET_DEFAULT_IGNORE.
3442
e4a733f1
TT
34432014-02-19 Tom Tromey <tromey@redhat.com>
3444
3445 * target-delegates.c: Rebuild.
3446 * target.c (update_current_target): Don't inherit or default
3447 to_terminal_ours.
3448 * target.h (struct target_ops) <to_terminal_ours>: Use
3449 TARGET_DEFAULT_IGNORE.
3450
74fcbef9
TT
34512014-02-19 Tom Tromey <tromey@redhat.com>
3452
3453 * target-delegates.c: Rebuild.
3454 * target.c (update_current_target): Don't inherit or default
3455 to_terminal_ours_for_output.
3456 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3457 TARGET_DEFAULT_IGNORE.
3458
ddeaacc9
TT
34592014-02-19 Tom Tromey <tromey@redhat.com>
3460
3461 * target-delegates.c: Rebuild.
3462 * target.c (update_current_target): Don't inherit or default
3463 to_terminal_inferior.
3464 * target.h (struct target_ops) <to_terminal_inferior>: Use
3465 TARGET_DEFAULT_IGNORE.
3466
0343661d
TT
34672014-02-19 Tom Tromey <tromey@redhat.com>
3468
3469 * target-delegates.c: Rebuild.
3470 * target.c (update_current_target): Don't inherit or default
3471 to_terminal_init.
3472 * target.h (struct target_ops) <to_terminal_init>: Use
3473 TARGET_DEFAULT_IGNORE.
3474
77cdffe9
TT
34752014-02-19 Tom Tromey <tromey@redhat.com>
3476
3477 * target-delegates.c: Rebuild.
3478 * target.c (update_current_target): Don't inherit or default
3479 to_can_accel_watchpoint_condition.
3480 * target.h (struct target_ops)
3481 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3482
d03655e4
TT
34832014-02-19 Tom Tromey <tromey@redhat.com>
3484
3485 * target-delegates.c: Rebuild.
3486 * target.c (update_current_target): Don't inherit or default
3487 to_region_ok_for_hw_watchpoint.
3488 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3489 Use TARGET_DEFAULT_FUNC.
3490
65f160a9
TT
34912014-02-19 Tom Tromey <tromey@redhat.com>
3492
3493 * target-delegates.c: Rebuild.
3494 * target.c (update_current_target): Don't inherit or default
3495 to_watchpoint_addr_within_range.
3496 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3497 Use TARGET_DEFAULT_FUNC.
3498
61dd109f
TT
34992014-02-19 Tom Tromey <tromey@redhat.com>
3500
3501 * target-delegates.c: Rebuild.
3502 * target.c (update_current_target): Don't inherit or default
3503 to_remove_watchpoint.
3504 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3505 TARGET_DEFAULT_NORETURN.
3506
016facd4
TT
35072014-02-19 Tom Tromey <tromey@redhat.com>
3508
3509 * target-delegates.c: Rebuild.
3510 * target.c (update_current_target): Don't inherit or default
3511 to_insert_watchpoint.
3512 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3513 TARGET_DEFAULT_RETURN.
3514
418dabac
TT
35152014-02-19 Tom Tromey <tromey@redhat.com>
3516
3517 * target-delegates.c: Rebuild.
3518 * target.c (update_current_target): Don't inherit or default
3519 to_remove_hw_breakpoint.
3520 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3521 TARGET_DEFAULT_RETURN.
3522
61b371f9
TT
35232014-02-19 Tom Tromey <tromey@redhat.com>
3524
3525 * target-delegates.c: Rebuild.
3526 * target.c (update_current_target): Don't inherit or default
3527 to_insert_hw_breakpoint.
3528 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3529 TARGET_DEFAULT_RETURN.
3530
52b51d06
TT
35312014-02-19 Tom Tromey <tromey@redhat.com>
3532
3533 * target-delegates.c: Rebuild.
3534 * target.c (update_current_target): Don't inherit or default
3535 to_can_use_hw_breakpoint.
3536 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3537 TARGET_DEFAULT_RETURN.
3538
f86e59b2
TT
35392014-02-19 Tom Tromey <tromey@redhat.com>
3540
3541 * target-delegates.c: Rebuild.
3542 * target.c (update_current_target): Don't inherit or default
3543 to_files_info.
3544 * target.h (struct target_ops) <to_files_info>: Use
3545 TARGET_DEFAULT_IGNORE.
3546
6c628163
TT
35472014-02-19 Tom Tromey <tromey@redhat.com>
3548
3549 * target-delegates.c: Rebuild.
3550 * target.c (update_current_target): Don't inherit or default
3551 to_store.
3552 * target.h (struct target_ops) <to_store>: Use
3553 TARGET_DEFAULT_NORETURN.
3554
bebd3233
TT
35552014-02-19 Tom Tromey <tromey@redhat.com>
3556
3557 * target-delegates.c: Rebuild.
3558 * target.c (update_current_target): Don't inherit or default
3559 to_post_attach.
3560 * target.h (struct target_ops) <to_post_attach>: Use
3561 TARGET_DEFAULT_IGNORE.
3562
a53f3625
TT
35632014-02-19 Tom Tromey <tromey@redhat.com>
3564
3565 * target-delegates.c: Rebuild.
3566 * target.c (update_current_target): Don't inherit or default
3567 to_rcmd.
3568 (default_rcmd): New function.
3569 (do_monitor_command): Unconditionally delegate.
3570 * target.h (struct target_ops) <to_rmcd>: Use
3571 TARGET_DEFAULT_FUNC.
3572
e9a29200
TT
35732014-02-19 Tom Tromey <tromey@redhat.com>
3574
3575 * target-delegates.c: Rebuild.
3576 * target.c (init_dummy_target): Don't initialize to_attach.
3577 (target_attach): Unconditionally delegate.
3578 * target.h (struct target_ops) <to_attach>: Use
3579 TARGET_DEFAULT_FUNC.
3580
09da0d0a
TT
35812014-02-19 Tom Tromey <tromey@redhat.com>
3582
3583 * target-delegates.c: Rebuild.
3584 * target.c (target_detach): Unconditionally delegate.
3585 (init_dummy_target): Don't initialize to_detach.
3586 * target.h (struct target_ops) <to_detach>: Use
3587 TARGET_DEFAULT_IGNORE.
3588
5436ff03
TT
35892014-02-19 Tom Tromey <tromey@redhat.com>
3590
3591 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3592 Add argument.
3593 (target_augmented_libraries_svr4_read): Add argument.
3594 * target.c (update_current_target): Update.
3595 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3596 argument.
3597
f0d960ea
TT
35982014-02-19 Tom Tromey <tromey@redhat.com>
3599
3600 * target.h (struct target_ops) <to_call_history_range>: Add
3601 argument.
3602 * target.c (target_call_history_range): Add argument.
3603 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3604 argument.
3605 (record_btrace_call_history_from): Update.
3606
ec0aea04
TT
36072014-02-19 Tom Tromey <tromey@redhat.com>
3608
3609 * target.h (struct target_ops) <to_call_history_from>: Add
3610 argument.
3611 * target.c (target_call_history_from): Add argument.
3612 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3613 argument.
3614
5df2fcba
TT
36152014-02-19 Tom Tromey <tromey@redhat.com>
3616
3617 * target.h (struct target_ops) <to_call_history>: Add argument.
3618 * target.c (target_call_history): Add argument.
3619 * record-btrace.c (record_btrace_call_history): Add 'self'
3620 argument.
3621
4e99c6b7
TT
36222014-02-19 Tom Tromey <tromey@redhat.com>
3623
3624 * target.h (struct target_ops) <to_insn_history_range>: Add
3625 argument.
3626 * target.c (target_insn_history_range): Add argument.
3627 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3628 argument.
3629 (record_btrace_insn_history_from): Update.
3630
9abc3ff3
TT
36312014-02-19 Tom Tromey <tromey@redhat.com>
3632
3633 * target.h (struct target_ops) <to_insn_history_from>: Add
3634 argument.
3635 * target.c (target_insn_history_from): Add argument.
3636 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3637 argument.
3638
7a6c5609
TT
36392014-02-19 Tom Tromey <tromey@redhat.com>
3640
3641 * target.h (struct target_ops) <to_insn_history>: Add argument.
3642 * target.c (target_insn_history): Add argument.
3643 * record-btrace.c (record_btrace_insn_history): Add 'self'
3644 argument.
3645
606183ac
TT
36462014-02-19 Tom Tromey <tromey@redhat.com>
3647
3648 * target.h (struct target_ops) <to_goto_record>: Add argument.
3649 * target.c (target_goto_record): Add argument.
3650 * record-full.c (record_full_goto): Add 'self' argument.
3651 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3652
307a1b91
TT
36532014-02-19 Tom Tromey <tromey@redhat.com>
3654
3655 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3656 * target.c (target_goto_record_end): Add argument.
3657 * record-full.c (record_full_goto_end): Add 'self' argument.
3658 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3659
08475817
TT
36602014-02-19 Tom Tromey <tromey@redhat.com>
3661
3662 * target.h (struct target_ops) <to_goto_record_begin>: Add
3663 argument.
3664 * target.c (target_goto_record_begin): Add argument.
3665 * record-full.c (record_full_goto_begin): Add 'self' argument.
3666 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3667 argument.
3668
1c63c994
TT
36692014-02-19 Tom Tromey <tromey@redhat.com>
3670
3671 * target.h (struct target_ops) <to_record_is_replaying>: Add
3672 argument.
3673 * target.c (target_record_is_replaying): Add argument.
3674 * record-full.c (record_full_is_replaying): Add 'self' argument.
3675 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3676 argument.
3677 (record_btrace_xfer_partial, record_btrace_store_registers)
3678 (record_btrace_prepare_to_store, record_btrace_resume)
3679 (record_btrace_wait, record_btrace_decr_pc_after_break)
3680 (record_btrace_find_new_threads, record_btrace_thread_alive):
3681 Update.
3682
d1b55219
TT
36832014-02-19 Tom Tromey <tromey@redhat.com>
3684
3685 * target.h (struct target_ops) <to_delete_record>: Add argument.
3686 * target.c (target_delete_record): Add argument.
3687 * record-full.c (record_full_delete): Add 'self' argument.
3688
1390f529
TT
36892014-02-19 Tom Tromey <tromey@redhat.com>
3690
3691 * target.h (struct target_ops) <to_save_record>: Add argument.
3692 * target.c (target_save_record): Add argument.
3693 * record-full.c (record_full_save): Add 'self' argument.
3694 (record_full_save): Add 'self' argument.
3695
630d6a4a
TT
36962014-02-19 Tom Tromey <tromey@redhat.com>
3697
3698 * target.h (struct target_ops) <to_info_record>: Add argument.
3699 * target.c (target_info_record): Add argument.
3700 * record.c (info_record_command): Add argument.
3701 * record-full.c (record_full_info): Add 'self' argument.
3702 * record-btrace.c (record_btrace_info): Add 'self' argument.
3703
c6cd7c02
TT
37042014-02-19 Tom Tromey <tromey@redhat.com>
3705
3706 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3707 * target.c (target_stop_recording): Add argument.
3708 * record.c (record_stop): Add argument.
3709 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3710 argument.
3711
39c49f83
TT
37122014-02-19 Tom Tromey <tromey@redhat.com>
3713
3714 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3715 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3716 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3717 argument.
3718 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3719 (_initialize_amd64_linux_nat): Use it.
3720 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3721 (_initialize_i386_linux_nat): Use it.
3722
1777056d
TT
37232014-02-19 Tom Tromey <tromey@redhat.com>
3724
3725 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3726 * target.c (target_teardown_btrace): Add argument.
3727 * remote.c (remote_teardown_btrace): Add 'self' argument.
3728 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3729 argument.
3730 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3731 argument.
3732
25e95349
TT
37332014-02-19 Tom Tromey <tromey@redhat.com>
3734
3735 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3736 * target.c (target_disable_btrace): Add argument.
3737 * remote.c (remote_disable_btrace): Add 'self' argument.
3738 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3739 argument.
3740 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3741 argument.
3742
e3c49f88
TT
37432014-02-19 Tom Tromey <tromey@redhat.com>
3744
3745 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3746 * target.c (target_enable_btrace): Add argument.
3747 * remote.c (remote_enable_btrace): Add 'self' argument.
3748 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3749 argument.
3750 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3751 argument.
3752
fe38f897
TT
37532014-02-19 Tom Tromey <tromey@redhat.com>
3754
3755 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3756 (target_can_use_agent): Add argument.
3757 * target.c (update_current_target): Update.
3758 * remote.c (remote_can_use_agent): Add 'self' argument.
3759 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3760
2c152180
TT
37612014-02-19 Tom Tromey <tromey@redhat.com>
3762
3763 * target.h (struct target_ops) <to_use_agent>: Add argument.
3764 (target_use_agent): Add argument.
3765 * target.c (update_current_target): Update.
3766 * remote.c (remote_use_agent): Add 'self' argument.
3767 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3768
a893e81f
TT
37692014-02-19 Tom Tromey <tromey@redhat.com>
3770
3771 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3772 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3773 (target_traceframe_info): Add argument.
3774 * target.c (update_current_target): Update.
3775 * remote.c (remote_traceframe_info): Add 'self' argument.
3776 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3777
c686c57f
TT
37782014-02-19 Tom Tromey <tromey@redhat.com>
3779
3780 * target.h (target_static_tracepoint_markers_by_strid): Add
3781 argument.
3782 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3783 'self' argument.
3784 * target.c (update_current_target): Update.
3785 * remote.c (struct target_ops)
3786 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3787 * linux-nat.c (struct target_ops)
3788 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3789
61fc905d
TT
37902014-02-19 Tom Tromey <tromey@redhat.com>
3791
3792 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3793 Add argument.
3794 (target_static_tracepoint_marker_at): Add argument.
3795 * target.c (update_current_target): Update.
3796 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3797 argument.
3798
c378d69d
TT
37992014-02-19 Tom Tromey <tromey@redhat.com>
3800
3801 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3802 (target_set_permissions): Add argument.
3803 * target.c (update_current_target): Update.
3804 * remote.c (remote_set_permissions): Add 'self' argument.
3805 (remote_start_remote): Update.
3806
bd7ae0f5
TT
38072014-02-19 Tom Tromey <tromey@redhat.com>
3808
3809 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3810 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3811 (target_get_tib_address): Add argument.
3812 * target.c (update_current_target): Update.
3813 * remote.c (remote_get_tib_address): Add 'self' argument.
3814
d9e68a2c
TT
38152014-02-19 Tom Tromey <tromey@redhat.com>
3816
3817 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3818 (target_set_trace_notes): Add argument.
3819 * target.c (update_current_target): Update.
3820 * remote.c (remote_set_trace_notes): Add 'self' argument.
3821
4da384be
TT
38222014-02-19 Tom Tromey <tromey@redhat.com>
3823
3824 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3825 argument.
3826 (target_set_trace_buffer_size): Add argument.
3827 * target.c (update_current_target): Update.
3828 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3829
736d5b1f
TT
38302014-02-19 Tom Tromey <tromey@redhat.com>
3831
3832 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3833 argument.
3834 (target_set_circular_trace_buffer): Add argument.
3835 * target.c (update_current_target): Update.
3836 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3837 argument.
3838
37b25738
TT
38392014-02-19 Tom Tromey <tromey@redhat.com>
3840
3841 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3842 argument.
3843 (target_set_disconnected_tracing): Add argument.
3844 * target.c (update_current_target): Update.
3845 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3846
0e67620a
TT
38472014-02-19 Tom Tromey <tromey@redhat.com>
3848
3849 * target.h (struct target_ops)
3850 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3851 (target_get_min_fast_tracepoint_insn_len): Add argument.
3852 * target.c (update_current_target): Update.
3853 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3854 argument.
3855
88ee6f45
TT
38562014-02-19 Tom Tromey <tromey@redhat.com>
3857
3858 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3859 argument.
3860 (target_get_raw_trace_data): Add argument.
3861 * target.c (update_current_target): Update.
3862 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3863
181e3713
TT
38642014-02-19 Tom Tromey <tromey@redhat.com>
3865
3866 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3867 Add argument.
3868 (target_upload_trace_state_variables): Add argument.
3869 * target.c (update_current_target): Update.
3870 * remote.c (remote_upload_trace_state_variables): Add 'self'
3871 argument.
3872 (remote_start_remote): Update.
3873
ab6617cc
TT
38742014-02-19 Tom Tromey <tromey@redhat.com>
3875
3876 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3877 argument.
3878 (target_upload_tracepoints): Add argument.
3879 * target.c (update_current_target): Update.
3880 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3881 (remote_start_remote): Update.
3882
dc3decaf
TT
38832014-02-19 Tom Tromey <tromey@redhat.com>
3884
3885 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3886 (target_save_trace_data): Add argument.
3887 * target.c (update_current_target): Update.
3888 * remote.c (remote_save_trace_data): Add 'self' argument.
3889
4011015b
TT
38902014-02-19 Tom Tromey <tromey@redhat.com>
3891
3892 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3893 argument.
3894 * target.h (struct target_ops)
3895 <to_get_trace_state_variable_value>: Add argument.
3896 (target_get_trace_state_variable_value): Add argument.
3897 * target.c (update_current_target): Update.
3898 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3899 argument.
3900 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3901
bd4c6793
TT
39022014-02-19 Tom Tromey <tromey@redhat.com>
3903
3904 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3905 * target.h (struct target_ops) <to_trace_find>: Add argument.
3906 (target_trace_find): Add argument.
3907 * target.c (update_current_target): Update.
3908 * remote.c (remote_trace_find): Add 'self' argument.
3909 * ctf.c (ctf_trace_find): Add 'self' argument.
3910
74499f1b
TT
39112014-02-19 Tom Tromey <tromey@redhat.com>
3912
3913 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3914 (target_trace_stop): Add argument.
3915 * target.c (update_current_target): Update.
3916 * remote.c (remote_trace_stop): Add 'self' argument.
3917
db90e85c
TT
39182014-02-19 Tom Tromey <tromey@redhat.com>
3919
3920 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3921 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3922 argument.
3923 (target_get_tracepoint_status): Add argument.
3924 * target.c (update_current_target): Update.
3925 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3926
8bd200f1
TT
39272014-02-19 Tom Tromey <tromey@redhat.com>
3928
3929 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3930 * target.h (struct target_ops) <to_get_trace_status>: Add
3931 argument.
3932 (target_get_trace_status): Add argument.
3933 * target.c (update_current_target): Update.
3934 * remote.c (remote_get_trace_status): Add 'self' argument.
3935 (remote_start_remote, remote_can_download_tracepoint): Update.
3936 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3937
e2d1aae3
TT
39382014-02-19 Tom Tromey <tromey@redhat.com>
3939
3940 * target.h (struct target_ops) <to_trace_start>: Add argument.
3941 (target_trace_start): Add argument.
3942 * target.c (update_current_target): Update.
3943 * remote.c (remote_trace_start): Add 'self' argument.
3944
583f9a86
TT
39452014-02-19 Tom Tromey <tromey@redhat.com>
3946
3947 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3948 Add argument.
3949 (target_trace_set_readonly_regions): Add argument.
3950 * target.c (update_current_target): Update.
3951 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3952 argument.
3953
780b049c
TT
39542014-02-19 Tom Tromey <tromey@redhat.com>
3955
3956 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3957 argument.
3958 (target_disable_tracepoint): Add argument.
3959 * target.c (update_current_target): Update.
3960 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3961
46670d57
TT
39622014-02-19 Tom Tromey <tromey@redhat.com>
3963
3964 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3965 argument.
3966 (target_enable_tracepoint): Add argument.
3967 * target.c (update_current_target): Update.
3968 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3969
559d2b81
TT
39702014-02-19 Tom Tromey <tromey@redhat.com>
3971
3972 * target.h (struct target_ops) <to_download_trace_state_variable>:
3973 Add argument.
3974 (target_download_trace_state_variable): Add argument.
3975 * target.c (update_current_target): Update.
3976 * remote.c (remote_download_trace_state_variable): Add 'self'
3977 argument.
3978
a52a8357
TT
39792014-02-19 Tom Tromey <tromey@redhat.com>
3980
3981 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3982 argument.
3983 (target_can_download_tracepoint): Add argument.
3984 * target.c (update_current_target): Update.
3985 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3986
548f7808
TT
39872014-02-19 Tom Tromey <tromey@redhat.com>
3988
3989 * target.h (struct target_ops) <to_download_tracepoint>: Add
3990 argument.
3991 (target_download_tracepoint): Add argument.
3992 * target.c (update_current_target): Update.
3993 * remote.c (remote_download_tracepoint): Add 'self' argument.
3994
ecae04e1
TT
39952014-02-19 Tom Tromey <tromey@redhat.com>
3996
3997 * target.h (struct target_ops) <to_trace_init>: Add argument.
3998 (target_trace_init): Add argument.
3999 * target.c (update_current_target): Update.
4000 * remote.c (remote_trace_init): Add 'self' argument.
4001
fab5aa7c
TT
40022014-02-19 Tom Tromey <tromey@redhat.com>
4003
4004 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
4005 * target.c (target_fileio_readlink): Add argument.
4006 * remote.c (remote_hostio_readlink): Add 'self' argument.
4007 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
4008
dbbca37d
TT
40092014-02-19 Tom Tromey <tromey@redhat.com>
4010
4011 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
4012 * target.c (target_fileio_unlink): Add argument.
4013 * remote.c (remote_hostio_unlink): Add 'self' argument.
4014 (remote_file_delete): Update.
4015 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
4016
df39ea25
TT
40172014-02-19 Tom Tromey <tromey@redhat.com>
4018
4019 * target.h (struct target_ops) <to_fileio_close>: Add argument.
4020 * target.c (target_fileio_close): Add argument.
4021 * remote.c (remote_hostio_close): Add 'self' argument.
4022 (remote_hostio_close_cleanup): Update.
4023 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
4024 Update.
4025 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
4026
a3be983c
TT
40272014-02-19 Tom Tromey <tromey@redhat.com>
4028
4029 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
4030 * target.c (target_fileio_pread): Add argument.
4031 * remote.c (remote_hostio_pread): Add 'self' argument.
4032 (remote_bfd_iovec_pread, remote_file_get): Update.
4033 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
4034
0d866f62
TT
40352014-02-19 Tom Tromey <tromey@redhat.com>
4036
4037 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
4038 * target.c (target_fileio_pwrite): Add argument.
4039 * remote.c (remote_hostio_pwrite): Add 'self' argument.
4040 (remote_file_put): Update.
4041 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
4042
cd897586
TT
40432014-02-19 Tom Tromey <tromey@redhat.com>
4044
4045 * target.h (struct target_ops) <to_fileio_open>: Add argument.
4046 * target.c (target_fileio_open): Add argument.
4047 * remote.c (remote_hostio_open): Add 'self' argument.
4048 (remote_bfd_iovec_open): Add 'self' argument.
4049 (remote_file_put): Add 'self' argument.
4050 (remote_file_get): Add 'self' argument.
4051 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
4052
78eff0ec
TT
40532014-02-19 Tom Tromey <tromey@redhat.com>
4054
4055 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4056 Add argument.
4057 (target_can_run_breakpoint_commands): Add argument.
4058 * target.c (update_current_target): Update.
4059 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
4060 argument.
4061 (remote_insert_breakpoint): Add 'self' argument.
4062 (remote_insert_hw_breakpoint): Add 'self' argument.
4063 (remote_can_run_breakpoint_commands): Add 'self' argument.
4064
efcc2da7
TT
40652014-02-19 Tom Tromey <tromey@redhat.com>
4066
4067 * target.h (struct target_ops)
4068 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
4069 (target_supports_evaluation_of_breakpoint_conditions): Add
4070 argument.
4071 * target.c (update_current_target): Update.
4072 * remote.c (remote_supports_cond_breakpoints): Add 'self'
4073 argument.
4074 (remote_insert_breakpoint): Add 'self' argument.
4075 (remote_insert_hw_breakpoint): Add 'self' argument.
4076 (remote_supports_cond_breakpoints): Add 'self' argument.
4077
6de37a3a
TT
40782014-02-19 Tom Tromey <tromey@redhat.com>
4079
4080 * target.h (struct target_ops) <to_supports_string_tracing>: Add
4081 argument.
4082 (target_supports_string_tracing): Add argument.
4083 * target.c (update_current_target): Update.
4084 * remote.c (remote_supports_string_tracing): Add 'self' argument.
4085
2bfc0540
TT
40862014-02-19 Tom Tromey <tromey@redhat.com>
4087
4088 * target.h (struct target_ops)
4089 <to_supports_disable_randomization>: Add argument.
4090 * target.c (find_default_supports_disable_randomization): Add
4091 argument.
4092 (target_supports_disable_randomization): Add argument.
4093 (find_default_supports_disable_randomization): Add 'self'
4094 argument.
4095 * remote.c (extended_remote_supports_disable_randomization): Add
4096 'self' argument.
4097 (remote_supports_disable_randomization): Add 'self' argument.
4098 (extended_remote_create_inferior): Update.
4099 * linux-nat.c (linux_nat_supports_disable_randomization): Add
4100 'self' argument.
4101
7d178d6a
TT
41022014-02-19 Tom Tromey <tromey@redhat.com>
4103
4104 * target.h (struct target_ops)
4105 <to_supports_enable_disable_tracepoint>: Add argument.
4106 (target_supports_enable_disable_tracepoint): Add argument.
4107 * target.c (update_current_target): Update.
4108 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
4109 argument.
4110
86ce2668
TT
41112014-02-19 Tom Tromey <tromey@redhat.com>
4112
4113 * target.h (struct target_ops) <to_supports_multi_process>: Add
4114 argument.
4115 (target_supports_multi_process): Add argument.
4116 * target.c (update_current_target): Update.
4117 * remote.c (remote_supports_multi_process): Add 'self' argument.
4118 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
4119 argument.
4120 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
4121 argument.
4122
4c612759
TT
41232014-02-19 Tom Tromey <tromey@redhat.com>
4124
4125 * target.h (struct target_ops) <to_execution_direction>: Add
4126 argument.
4127 (target_execution_direction): Add argument.
4128 * target.c (default_execution_direction): Add 'self' argument.
4129 * record-full.c (record_full_execution_direction): Add 'self'
4130 argument.
4131
19db3e69
TT
41322014-02-19 Tom Tromey <tromey@redhat.com>
4133
4134 * target.h (struct target_ops) <to_can_execute_reverse>: Add
4135 argument.
4136 (target_can_execute_reverse): Add argument.
4137 * remote.c (remote_can_execute_reverse): Add 'self' argument.
4138 * record-full.c (record_full_can_execute_reverse): Add 'self'
4139 argument.
4140 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
4141 argument.
4142
1e6b91a4
TT
41432014-02-19 Tom Tromey <tromey@redhat.com>
4144
4145 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
4146 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
4147 argument.
4148 (target_get_ada_task_ptid): Add argument.
4149 * target.c (update_current_target): Update.
4150 (default_get_ada_task_ptid): Add 'self' argument.
4151 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
4152 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
4153 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
4154 argument.
4155 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
4156 argument.
4157 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
4158 argument.
4159 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
4160 argument.
4161 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
4162 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
4163 argument.
4164
3c80fb48
TT
41652014-02-19 Tom Tromey <tromey@redhat.com>
4166
4167 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
4168 (target_goto_bookmark): Add argument.
4169 * target.c (dummy_goto_bookmark): Add 'self' argument.
4170 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
4171
dd0e2830
TT
41722014-02-19 Tom Tromey <tromey@redhat.com>
4173
4174 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
4175 (target_get_bookmark): Add argument.
4176 * target.c (dummy_get_bookmark): Add 'self' argument.
4177 * record-full.c (record_full_get_bookmark): Add 'self' argument.
4178
fc6691b2
TT
41792014-02-19 Tom Tromey <tromey@redhat.com>
4180
4181 * target.h (struct target_ops) <to_make_corefile_notes>: Add
4182 argument.
4183 (target_make_corefile_notes): Add argument.
4184 * target.c (dummy_make_corefile_notes): Add 'self' argument.
4185 * procfs.c (procfs_make_note_section): Add 'self' argument.
4186 (procfs_make_note_section): Add 'self' argument.
4187 (procfs_make_note_section): Add 'self' argument.
4188 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
4189 argument.
4190 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
4191 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
4192 * exec.c (exec_make_note_section): Add 'self' argument.
4193 (exec_make_note_section): Add 'self' argument.
4194
2e73927c
TT
41952014-02-19 Tom Tromey <tromey@redhat.com>
4196
4197 * target.h (struct target_ops) <to_find_memory_regions>: Add
4198 argument.
4199 (target_find_memory_regions): Add argument.
4200 * target.c (dummy_find_memory_regions): Add 'self' argument.
4201 * procfs.c (proc_find_memory_regions): Add 'self' argument.
4202 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
4203 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
4204 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
4205 * exec. (exec_do_find_memory_regions): New global.
4206 (exec_set_find_memory_regions): Rewrite.
4207 (exec_find_memory_regions): New function.
4208 (init_exec_ops): Use exec_find_memory_regions.
4209
2a9a2795
TT
42102014-02-19 Tom Tromey <tromey@redhat.com>
4211
4212 * target.h (struct target_ops) <to_supports_non_stop>: Add
4213 argument.
4214 * target.c (find_default_supports_non_stop): Add argument.
4215 (target_supports_non_stop): Add argument.
4216 (find_default_supports_non_stop): Add 'self' argument.
4217 * remote.c (remote_supports_non_stop): Add 'self' argument.
4218 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
4219
4ab76ea3
TT
42202014-02-19 Tom Tromey <tromey@redhat.com>
4221
4222 * target.h (struct target_ops) <to_log_command>: Add argument.
4223 (target_log_command): Add argument.
4224 * serial.h (serial_log_command): Add 'self' argument.
4225 * serial.c (serial_log_command): Add 'self' argument.
4226
8dd27370
TT
42272014-02-19 Tom Tromey <tromey@redhat.com>
4228
4229 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
4230 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
4231 argument.
4232 (target_pid_to_exec_file): Add argument.
4233 * target.c (debug_to_pid_to_exec_file): Add argument.
4234 (update_current_target): Update.
4235 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
4236 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
4237 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
4238 (linux_handle_extended_wait): Update.
4239 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
4240 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
4241 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
4242 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
4243
1aac633b
TT
42442014-02-19 Tom Tromey <tromey@redhat.com>
4245
4246 * target.h (struct target_ops) <to_rcmd>: Add argument.
4247 (target_rcmd): Add argument.
4248 * target.c (debug_to_rcmd): Add argument.
4249 (update_current_target, do_monitor_command): Update.
4250 * remote.c (remote_rcmd): Add 'self' argument.
4251 * monitor.c (monitor_rcmd): Add 'self' argument.
4252
1eab8a48
TT
42532014-02-19 Tom Tromey <tromey@redhat.com>
4254
4255 * windows-nat.c (windows_stop): Add 'self' argument.
4256 * target.h (struct target_ops) <to_stop>: Add argument.
4257 * target.c (target_stop): Add argument.
4258 (debug_to_stop): Add argument.
4259 (update_current_target): Update.
4260 * remote.c (remote_stop): Add 'self' argument.
4261 * remote-sim.c (gdbsim_stop): Add 'self' argument.
4262 (gdbsim_cntrl_c): Update.
4263 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
4264 * procfs.c (procfs_stop): Add 'self' argument.
4265 * nto-procfs.c (procfs_stop): Add 'self' argument.
4266 * monitor.c (monitor_stop): Add 'self' argument.
4267 (monitor_open): Update.
4268 * linux-nat.c (linux_nat_stop): Add argument.
4269 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
4270 * gnu-nat.c (gnu_stop): Add 'self' argument.
4271 * darwin-nat.c (darwin_stop): Add 'self' argument.
4272
503a628d
TT
42732014-02-19 Tom Tromey <tromey@redhat.com>
4274
4275 * target.h (struct target_ops) <to_thread_name>: Add argument.
4276 * target.c (target_thread_name): Add argument.
4277 (update_current_target): Update.
4278 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4279
c15906d8
TT
42802014-02-19 Tom Tromey <tromey@redhat.com>
4281
4282 * target.h (struct target_ops) <to_extra_thread_info>: Add
4283 argument.
4284 (target_extra_thread_info): Add argument.
4285 * target.c (update_current_target): Update.
4286 * remote.c (remote_threads_extra_info): Add 'self' argument.
4287 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4288 argument.
4289 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4290 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4291 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4292 argument.
4293 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4294 argument.
4295 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4296 argument.
4297 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4298 argument.
4299
daf5e9b6
TT
43002014-02-19 Tom Tromey <tromey@redhat.com>
4301
4302 * target.h (struct target_ops) <to_program_signals>: Add argument.
4303 * target.c (target_program_signals): Add argument.
4304 * remote.c (remote_program_signals): Add 'self' argument.
4305
94bedb42
TT
43062014-02-19 Tom Tromey <tromey@redhat.com>
4307
4308 * target.h (struct target_ops) <to_pass_signals>: Add argument.
4309 * target.c (target_pass_signals): Add argument.
4310 * remote.c (remote_pass_signals): Add 'self' argument.
4311 (remote_start_remote): Update.
4312 * procfs.c (procfs_pass_signals): Add 'self' argument.
4313 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4314 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4315 (linux_nat_create_inferior, linux_nat_attach): Update.
4316
da82bd6b
TT
43172014-02-19 Tom Tromey <tromey@redhat.com>
4318
4319 * windows-nat.c (windows_can_run): Add 'self' argument.
4320 * target.h (struct target_ops) <to_can_run>: Add argument.
4321 (target_can_run): Add argument.
4322 * target.c (debug_to_can_run): Add argument.
4323 (update_current_target): Update.
4324 * nto-procfs.c (procfs_can_run): Add 'self' argument.
4325 * inf-child.c (inf_child_can_run): Add 'self' argument.
4326 * go32-nat.c (go32_can_run): Add 'self' argument.
4327
d796e1d6
TT
43282014-02-19 Tom Tromey <tromey@redhat.com>
4329
4330 * target.h (struct target_ops) <to_has_exited>: Add argument.
4331 (target_has_exited): Add argument.
4332 * target.c (debug_to_has_exited): Add argument.
4333 (update_current_target): Update.
4334
ff214e67
TT
43352014-02-19 Tom Tromey <tromey@redhat.com>
4336
4337 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4338 argument.
4339 (target_set_syscall_catchpoint): Add argument.
4340 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4341 argument.
4342 * target.c (update_current_target): Update.
4343
758e29d2
TT
43442014-02-19 Tom Tromey <tromey@redhat.com>
4345
4346 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4347 argument.
4348 (target_remove_exec_catchpoint): Add argument.
4349 * target.c (debug_to_remove_exec_catchpoint): Add argument.
4350 (update_current_target): Update.
4351 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4352 argument.
4353
ba025e51
TT
43542014-02-19 Tom Tromey <tromey@redhat.com>
4355
4356 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4357 argument.
4358 (target_insert_exec_catchpoint): Add argument.
4359 * target.c (debug_to_insert_exec_catchpoint): Add argument.
4360 (update_current_target): Update.
4361 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4362 argument.
4363
e98cf0cd
TT
43642014-02-19 Tom Tromey <tromey@redhat.com>
4365
4366 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4367 argument.
4368 (target_remove_vfork_catchpoint): Add argument.
4369 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4370 (update_current_target): Update.
4371 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4372 argument.
4373
3ecc7da0
TT
43742014-02-19 Tom Tromey <tromey@redhat.com>
4375
4376 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4377 argument.
4378 (target_insert_vfork_catchpoint): Add argument.
4379 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4380 (update_current_target): Update.
4381 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4382 argument.
4383
973fc227
TT
43842014-02-19 Tom Tromey <tromey@redhat.com>
4385
4386 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4387 argument.
4388 (target_remove_fork_catchpoint): Add argument.
4389 * target.c (debug_to_remove_fork_catchpoint): Add argument.
4390 (update_current_target): Update.
4391 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4392 argument.
4393
a863b201
TT
43942014-02-19 Tom Tromey <tromey@redhat.com>
4395
4396 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4397 argument.
4398 (target_insert_fork_catchpoint): Add argument.
4399 * target.c (debug_to_insert_fork_catchpoint): Add argument.
4400 (update_current_target): Update.
4401 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4402 argument.
4403
2e97a79e
TT
44042014-02-19 Tom Tromey <tromey@redhat.com>
4405
4406 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4407 argument.
4408 (target_post_startup_inferior): Add argument.
4409 * target.c (debug_to_post_startup_inferior): Add argument.
4410 (update_current_target): Update.
4411 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4412 argument.
4413 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4414 argument.
4415 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4416 argument.
4417 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4418 argument.
4419 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4420 'self' argument.
4421 (super_post_startup_inferior): Likewise.
4422 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4423 'self' argument.
4424 (super_post_startup_inferior): Likewise.
4425 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4426 Add 'self' argument.
4427 (super_post_startup_inferior): Likewise.
4428
71a9f134
TT
44292014-02-19 Tom Tromey <tromey@redhat.com>
4430
4431 * target.h (struct target_ops) <to_load>: Add argument.
4432 * target.c (target_load): Add argument.
4433 (debug_to_load): Add argument.
4434 (update_current_target): Update.
4435 * remote.c (remote_load): Add 'self' argument.
4436 * remote-sim.c (gdbsim_load): Add 'self' argument.
4437 * remote-mips.c (mips_load): Add 'self' argument.
4438 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4439 * monitor.c (monitor_load): Add 'self' argument.
4440 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4441
0a4f40a2
TT
44422014-02-19 Tom Tromey <tromey@redhat.com>
4443
4444 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4445 (target_terminal_info): Add argument.
4446 * target.c (debug_to_terminal_info): Add argument.
4447 (default_terminal_info): Likewise.
4448 * inflow.c (child_terminal_info): Add 'self' argument.
4449 * inferior.h (child_terminal_info): Add 'self' argument.
4450 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4451
ae3bd431
TT
44522014-02-19 Tom Tromey <tromey@redhat.com>
4453
4454 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4455 argument.
4456 (target_terminal_save_ours): Add argument.
4457 * target.c (debug_to_terminal_save_ours): Add argument.
4458 (update_current_target): Update.
4459 * inflow.c (terminal_save_ours): Add 'self' argument.
4460 * inferior.h (terminal_save_ours): Add 'self' argument.
4461
e3594fd1
TT
44622014-02-19 Tom Tromey <tromey@redhat.com>
4463
4464 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4465 (target_terminal_ours): Add argument.
4466 * target.c (debug_to_terminal_ours): Add argument.
4467 (update_current_target): Update.
4468 * remote.c (remote_terminal_ours): Add 'self' argument.
4469 (remote_close): Update.
4470 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4471 * inflow.c (terminal_ours): Add 'self' argument.
4472 * inferior.h (terminal_ours): Add 'self' argument.
4473 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4474
2e1e1a19
TT
44752014-02-19 Pedro Alves <palves@redhat.com>
4476 Tom Tromey <tromey@redhat.com>
4477
4478 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4479 argument.
4480 (target_terminal_ours_for_output): Add argument.
4481 * target.c (debug_to_terminal_ours_for_output): Add argument.
4482 (update_current_target): Update.
4483 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4484 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4485 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4486
d2f640d4
TT
44872014-02-19 Tom Tromey <tromey@redhat.com>
4488
4489 * target.h (struct target_ops) <to_terminal_inferior>: Add
4490 argument.
4491 * target.c (target_terminal_inferior): Add argument.
4492 (update_current_target): Update.
4493 * remote.c (remote_terminal_inferior): Add 'self' argument.
4494 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4495 * inflow.c (terminal_inferior): Add 'self' argument.
4496 * inferior.h (terminal_inferior): Add 'self' argument.
4497 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4498 (go32_terminal_inferior): Add 'self' argument.
4499
c42bf286
TT
45002014-02-19 Tom Tromey <tromey@redhat.com>
4501
4502 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4503 (target_terminal_init): Add argument.
4504 * target.c (debug_to_terminal_init): Add argument.
4505 (update_current_target): Update.
4506 * inflow.c (terminal_init_inferior): Add 'self' argument.
4507 * inferior.h (terminal_init_inferior): Add 'self' argument.
4508 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4509 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4510
c3a5ff89
TT
45112014-02-19 Tom Tromey <tromey@redhat.com>
4512
4513 * target.h (struct target_ops)
4514 <to_can_accel_watchpoint_condition>: Add argument.
4515 (target_can_accel_watchpoint_condition): Add argument.
4516 * target.c (debug_to_can_accel_watchpoint_condition): Add
4517 argument.
4518 (update_current_target): Update.
4519 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4520 'self' argument.
4521
31568a15
TT
45222014-02-19 Tom Tromey <tromey@redhat.com>
4523
4524 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4525 Add argument.
4526 (target_region_ok_for_hw_watchpoint): Add argument.
4527 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4528 (default_region_ok_for_hw_watchpoint): Add argument.
4529 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4530 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4531 argument.
4532 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4533 argument.
4534 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4535 argument.
4536 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4537 'self' argument.
4538 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4539 'self' argument.
4540 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4541 'self' argument.
4542 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4543 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4544 'self' argument.
4545 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4546 Add 'self' argument.
4547
7bb99c53
TT
45482014-02-19 Tom Tromey <tromey@redhat.com>
4549
4550 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4551 argument.
4552 (target_insert_watchpoint): Add argument.
4553 * target.c (debug_to_insert_watchpoint): Add argument.
4554 (update_current_target): Update.
4555 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4556 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4557 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4558 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4559 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4560 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4561 argument.
4562 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4563 (procfs_insert_hw_watchpoint): Add 'self' argument.
4564 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4565 argument.
4566 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4567 argument.
4568 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4569 argument.
4570 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4571 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4572 argument.
4573 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4574 'self' argument.
4575
11b5219a
TT
45762014-02-19 Tom Tromey <tromey@redhat.com>
4577
4578 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4579 argument.
4580 (target_remove_watchpoint): Add argument.
4581 * target.c (debug_to_remove_watchpoint): Add argument.
4582 (update_current_target): Update.
4583 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4584 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4585 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4586 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4587 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4588 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4589 argument.
4590 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4591 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4592 argument.
4593 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4594 argument.
4595 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4596 argument.
4597 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4598 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4599 argument.
4600 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4601 'self' argument.
4602
a64dc96c
TT
46032014-02-19 Tom Tromey <tromey@redhat.com>
4604
4605 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4606 argument.
4607 (target_remove_hw_breakpoint): Add argument.
4608 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4609 (update_current_target): Update.
4610 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4611 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4612 argument.
4613 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4614 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4615 argument.
4616 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4617 'self' argument.
4618
23a26771
TT
46192014-02-19 Tom Tromey <tromey@redhat.com>
4620
4621 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4622 argument.
4623 (target_insert_hw_breakpoint): Add argument.
4624 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4625 (update_current_target): Update.
4626 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4627 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4628 argument.
4629 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4630 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4631 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4632 argument.
4633 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4634 'self' argument.
4635
5461485a
TT
46362014-02-19 Tom Tromey <tromey@redhat.com>
4637
4638 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4639 argument.
4640 (target_can_use_hardware_watchpoint): Add argument.
4641 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4642 (update_current_target): Update.
4643 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4644 argument.
4645 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4646 argument.
4647 * remote.c (remote_check_watch_resources): Add 'self' argument.
4648 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4649 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4650 argument.
4651 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4652 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4653 argument.
4654 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4655 argument.
4656 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4657 argument.
4658 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4659 argument.
4660 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4661 argument.
4662 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4663 argument.
4664 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4665 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4666 argument.
4667 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4668 'self' argument.
4669
f045800c
TT
46702014-02-19 Tom Tromey <tromey@redhat.com>
4671
4672 * target.h (struct target_ops) <to_post_attach>: Add argument.
4673 (target_post_attach): Add argument.
4674 * target.c (debug_to_post_attach): Add argument.
4675 (update_current_target): Update.
4676 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4677 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4678 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4679 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4680 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4681
de90e03d
TT
46822014-02-19 Tom Tromey <tromey@redhat.com>
4683
4684 * windows-nat.c (windows_close): Add 'self' argument.
4685 * tracepoint.c (tfile_close): Add 'self' argument.
4686 * target.h (struct target_ops) <to_close>: Add argument.
4687 * target.c (target_close): Add argument.
4688 (update_current_target): Update.
4689 * remote.c (remote_close): Add 'self' argument.
4690 * remote-sim.c (gdbsim_close): Add 'self' argument.
4691 * remote-mips.c (mips_close): Add 'self' argument.
4692 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4693 * record-full.c (record_full_close): Add 'self' argument.
4694 * record-btrace.c (record_btrace_close): Add 'self' argument.
4695 * monitor.h (monitor_close): Add 'self' argument.
4696 * monitor.c (monitor_close): Add 'self' argument.
4697 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4698 * linux-nat.c (linux_nat_close): Add argument.
4699 * go32-nat.c (go32_close): Add 'self' argument.
4700 * exec.c (exec_close_1): Add 'self' argument.
4701 * ctf.c (ctf_close): Add 'self' argument.
4702 * corelow.c (core_close): Add 'self' argument.
4703 (core_close_cleanup): Update.
4704 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4705 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4706
9dd130a0
TT
47072014-02-19 Tom Tromey <tromey@redhat.com>
4708
4709 * remote.c (remote_load): New function.
4710 (init_remote_ops): Use it.
4711
46917d26
TT
47122014-02-19 Tom Tromey <tromey@redhat.com>
4713
4714 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4715 argument.
4716 * common/linux-btrace.h (linux_supports_btrace): Update.
4717 * remote.c (remote_supports_btrace): Add "self" argument.
4718 * target-delegates.c: Rebuild.
4719 * target.c (target_supports_btrace): Remove.
4720 * target.h (struct target_ops) <to_supports_btrace>: Add
4721 target_ops argument.
4722 (target_supports_btrace): New define.
4723
6b84065d
TT
47242014-02-19 Tom Tromey <tromey@redhat.com>
4725
4726 * record-full.c (record_full_beneath_to_resume_ops)
4727 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4728 (record_full_beneath_to_wait)
4729 (record_full_beneath_to_store_registers_ops)
4730 (record_full_beneath_to_store_registers)
4731 (record_full_beneath_to_xfer_partial_ops)
4732 (record_full_beneath_to_xfer_partial)
4733 (record_full_beneath_to_insert_breakpoint_ops)
4734 (record_full_beneath_to_insert_breakpoint)
4735 (record_full_beneath_to_remove_breakpoint_ops)
4736 (record_full_beneath_to_remove_breakpoint)
4737 (record_full_beneath_to_stopped_by_watchpoint)
4738 (record_full_beneath_to_stopped_data_address)
4739 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4740 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4741 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4742 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4743 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4744 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4745 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4746 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4747 (record_full_resume, record_full_wait_1)
4748 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4749 (record_full_store_registers, record_full_xfer_partial)
4750 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4751 (record_full_async, record_full_core_xfer_partial): Use target
4752 delegation.
4753 * target-delegates.c: Rebuild.
4754 * target.c (current_xfer_partial): Remove.
4755 (update_current_target): Do not INHERIT or de_fault
4756 to_insert_breakpoint, to_remove_breakpoint,
4757 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4758 to_is_async_p, to_async. Do not set to_xfer_partial field.
4759 (default_xfer_partial): Simplify.
4760 (current_xfer_partial): Remove.
4761 (target_wait, target_resume): Simplify.
4762 (find_default_can_async_p, find_default_is_async_p): Update.
4763 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4764 to_xfer_partial, to_stopped_by_watchpoint,
4765 to_stopped_data_address.
4766 (target_store_registers): Simplify.
4767 (forward_target_remove_breakpoint)
4768 (forward_target_insert_breakpoint): Remove.
4769 (target_remove_breakpoint, target_insert_breakpoint)
4770 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4771 * target.h (struct target_ops) <to_resume, to_wait,
4772 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4773 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4774 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4775 markup.
4776 (forward_target_remove_breakpoint)
4777 (forward_target_insert_breakpoint): Remove.
4778 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4779 directly.
4780 (record_btrace_insert_breakpoint): Delegate directly.
4781
1101cb7b
TT
47822014-02-19 Tom Tromey <tromey@redhat.com>
4783
4784 PR build/7701:
4785 * target-delegates.c: New file.
4786 * target.c: Include target-delegates.c.
4787 (init_dummy_target): Call install_dummy_methods.
4788 (complete_target_initialization): Call install_delegators.
4789 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4790 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4791 * make-target-delegates: New file.
4792
8b06beed
TT
47932014-02-19 Tom Tromey <tromey@redhat.com>
4794
4795 * record.c (find_record_target): Use find_target_at.
4796 * target.c (find_target_at): New function.
4797 * target.h (find_target_at): Declare.
4798
6a109b6b
TT
47992014-02-19 Tom Tromey <tromey@redhat.com>
4800
4801 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4802 Add 'ops' argument.
4803 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4804 'ops' argument.
4805 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4806 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4807 'ops' argument.
4808 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4809 argument.
4810 * linux-nat.c (save_sigtrap): Update.
4811 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4812 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4813 (linux_nat_close): Update.
4814 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4815 argument.
4816 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4817 argument.
4818 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4819 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4820 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4821 (tmp_to_async): Add 'ops' argument.
4822 (record_full_stopped_by_watchpoint, record_full_async)
4823 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4824 argument.
4825 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4826 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4827 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4828 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4829 (remote_is_async_p, remote_async): Add 'ops' argument.
4830 (remote_stopped_data_address): Update.
4831 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4832 * target.c (update_current_target)
4833 (find_default_can_async_p, find_default_is_async_p): Update.
4834 (init_dummy_target): Update.
4835 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4836 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4837 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4838 (target_can_async_p, target_is_async_p, target_async)
4839 (target_stopped_by_watchpoint): Update.
4840
e095146b
YQ
48412014-02-19 Yao Qi <yao@codesourcery.com>
4842
4843 PR gdb/16220
4844 * gdbarch.sh: Remove startup_gdbarch.
4845 * gdbarch.c: Regenerated.
4846 * gdbarch.h: Likewise.
4847
bc3c6b36
KB
48482014-02-17 Kevin Buettner <kevinb@redhat.com>
4849
4850 * rl78-tdep.c (rl78_g10_register_name): New function.
4851 (rl78_return_value): Add g10 support.
4852 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4853 g10.
4854
98dc0167 48552014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
4856
4857 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4858 (SUBDIR_GUILE_SRCS): Ditto.
4859 (scm-gsmob.o): Ditto.
4860
842c05cd
YQ
48612014-02-17 Yao Qi <yao@codesourcery.com>
4862
4863 * gnu-nat.c (ILL_RPC): Declare defined function.
4864
25c0bd04
YQ
48652014-02-17 Yao Qi <yao@codesourcery.com>
4866
4867 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4868 mach_msg_type_number_t.
4869 (gnu_write_inferior): Likewise.
4870
a9a758e3
YQ
48712014-02-17 Yao Qi <yao@codesourcery.com>
4872
4873 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4874 in format string.
4875 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4876 (inf_validate_procs, inf_signal): Likewise.
4877 (S_exception_raise_request): Likewise.
4878 (do_mach_notify_dead_name): Likewise.
4879 (steal_exc_port): Likewise.
4880 (gnu_read_inferior): Change 'copy_count''s type to
4881 mach_msg_type_number_t.
4882 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4883 format string.
4884
bae8023e
TS
48852014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4886
c82f56d9
TS
4887 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4888 flag. Adjust all users; in particular...
4889 (gnu_wait): ..., don't decrement its value in here...
4890 (gnu_create_inferior): ..., and instead set the flag in here,
4891 around the startup_inferior call, and call that one with
4892 START_INFERIOR_TRAPS_EXPECTED.
4893
3398af6a
TS
4894 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4895 (ILL_RPC): ... new macro.
4896 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4897 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4898 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4899 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4900 functions with ILL_RPC macro.
4901 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4902 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4903 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4904 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4905 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4906 (S_proc_getlogin_reply, S_proc_getsid_reply)
4907 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4908 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4909 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4910 (S_proc_getnports_reply, S_proc_is_important_reply)
4911 (S_proc_get_code_reply): New stub functions, generated with
4912 ILL_RPC macro.
4913
d47642c9
TS
4914 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4915 collected the type check structures.
4916
bae8023e
TS
4917 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4918
8a55ffb0
DE
49192014-02-14 Doug Evans <dje@google.com>
4920
4921 * target.c (target_write_partial): Fix result type.
4922
c2853f3d
JM
49232014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4924
4925 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4926 the proper offsets to access fpregset_t.
4927
ac61d2db
SA
49282014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4929
4930 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4931 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4932 * h8300-tdep.c (setmachinelist): Remove global.
4933 * hppa-tdep.c (hppa_sigtramp): Remove global.
4934 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4935 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4936 * ravenscar-thread.c (update_target_observer): Remove global.
4937 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4938
9d2d0b8b
TT
49392014-02-12 Tom Tromey <tromey@redhat.com>
4940
4941 * common/rsp-low.c: Update comments.
4942 * common/rsp-low.h: Update comments.
4943
a7191e8b
TT
49442014-02-12 Tom Tromey <tromey@redhat.com>
4945
4946 * common/rsp-low.c (convert_ascii_to_int): Remove.
4947 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4948
ff0e980e
TT
49492014-02-12 Tom Tromey <tromey@redhat.com>
4950
4951 * common/rsp-low.h (unhexify): Don't declare.
4952 * common/rsp-low.c (unhexify): Remove.
4953
e9371aff
TT
49542014-02-12 Tom Tromey <tromey@redhat.com>
4955
4956 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4957 * common/rsp-low.c (convert_int_to_ascii): Remove.
4958
971dc0b8
TT
49592014-02-12 Tom Tromey <tromey@redhat.com>
4960
4961 * common/rsp-low.h (hexify): Don't declare.
4962 * common/rsp-low.c (hexify): Remove.
4963
0a822afb
TT
49642014-02-12 Tom Tromey <tromey@redhat.com>
4965
4966 * common/rsp-low.c (hexify): Never take strlen of argument.
4967
9f1b45b0
TT
49682014-02-12 Tom Tromey <tromey@redhat.com>
4969
4970 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4971 * remote.c (extended_remote_run, remote_rcmd)
4972 (remote_download_trace_state_variable, remote_save_trace_data)
4973 (remote_set_trace_notes): Update.
4974 * tracepoint.c (encode_source_string, tfile_write_status)
4975 (tfile_write_uploaded_tsv): Update.
4976
9c3d6531
TT
49772014-02-12 Tom Tromey <tromey@redhat.com>
4978
4979 * tracepoint.c: Include rsp-low.h.
4980 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4981 * remote.c: Include rsp-low.h.
4982 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4983 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4984 (remote_unescape_input): Move to common/rsp-low.c.
4985 * common/rsp-low.h: New file.
4986 * common/rsp-low.c: New file.
4987 * Makefile.in (SFILES): Add common/rsp-low.c.
4988 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4989 (COMMON_OBS): Add rsp-low.o.
4990 (rsp-low.o): New target.
4991
01fd3ea5
TT
49922014-02-12 Tom Tromey <tromey@redhat.com>
4993
4994 * utils.h: Include print-utils.h.
4995 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4996 (int_string, core_addr_to_string, core_addr_to_string_nz)
4997 (hex_string, hex_string_custom): Don't declare.
4998 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4999 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
5000 (hex_string_custom, int_string, core_addr_to_string)
5001 (core_addr_to_string_nz, host_address_to_string): Move to
5002 common/print-utils.c.
5003 * common/print-utils.h: New file.
5004 * common/print-utils.c: New file
5005 * Makefile.in (SFILES): Add common/print-utils.c.
5006 (HFILES_NO_SRCDIR): Add common/print-utils.h.
5007 (COMMON_OBS): Add print-utils.o.
5008 (print-utils.o): New target.
5009
9fb50108
TT
50102014-02-12 Tom Tromey <tromey@redhat.com>
5011
5012 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
5013
0548b5db
MK
50142014-02-12 Mark Kettenis <kettenis@gnu.org>
5015
5016 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
5017
493443a4
MK
50182014-02-12 Mark Kettenis <kettenis@gnu.org>
5019
5020 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
5021 if a PT_IO ptrace request returns sucessfully but indicates that 0
5022 bytes were transferred.
5023
706d0883
PA
50242014-02-12 Pedro Alves <palves@redhat.com>
5025 Kevin Buettner <kevinb@redhat.com>
5026
5027 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
5028 TYPE_INSTANCE_FLAG_CODE_SPACE.
5029
5caa2f0b
PA
50302014-02-12 Pedro Alves <palves@redhat.com>
5031
5032 * h8300-tdep.c (pseudo_from_raw_register)
5033 (raw_from_pseudo_register): New functions.
5034 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
5035 them.
5036
76fd5f74
PA
50372014-02-12 Pedro Alves <palves@redhat.com>
5038
5039 * h8300-tdep.c (h8300_register_sim_regno): New function.
5040 (h8300_gdbarch_init): Install h8300_register_sim_regno as
5041 gdbarch_register_sim_regno hook.
5042
8f008406
SA
50432014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5044
5045 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
5046
195abc10
SA
50472014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5048
5049 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
5050
93ffa5b9
MK
50512014-02-12 Mark Kettenis <kettenis@gnu.org>
5052
5053 * obsd-tdep.h (obsd_init_abi): New prototype.
5054 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
5055 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
5056 (obsd_init_abi): New functions.
5057 * i386obsd-tdep.c: Include "obsd-tdep.h".
5058 (i386obsd_init_abi): Call obsd_init_abi.
5059 * amd64obsd-tdep.c: Include "obsd-tdep.h".
5060 (amd64obsd_init_abi): Call obsd_init_abi.
5061 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
5062 obsd-tdep.c to gdb_target_obs.
5063
49caec94
JM
50642014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
5065
5066 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
5067 double float arguments to 16-byte in the argument slots.
5068
e1402065
DE
50692014-02-11 Doug Evans <xdje42@gmail.com>
5070
5071 * configure.ac: Don't crash if pkg-config is not found and guile
5072 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
5073 in guile checks.
5074 * configure: Regenerate.
5075
edcc890f
YQ
50762014-02-11 Yao Qi <yao@codesourcery.com>
5077
5078 * aix-thread.c (aix_thread_xfer_partial): Update comments.
5079 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
5080 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5081 * gnu-nat.c (gnu_xfer_memory): Likewise.
5082 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5083 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5084 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5085 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5086
9b409511
YQ
50872014-02-11 Yao Qi <yao@codesourcery.com>
5088
5089 * target.h (enum target_xfer_error): Rename to ...
5090 (enum target_xfer_status): ... it. New. All users updated.
5091 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
5092 New.
5093 (TARGET_XFER_STATUS_ERROR_P): New macro.
5094 (target_xfer_error_to_string): Remove declaration.
5095 (target_xfer_status_to_string): Declare.
5096 (target_xfer_partial_ftype): Adjust it.
5097 (struct target_ops) <to_xfer_partial>: Return
5098 target_xfer_status. Add argument xfered_len. Update
5099 comments.
5100 * target.c (target_xfer_error_to_string): Rename to ...
5101 (target_xfer_status_to_string): ... it. New. All callers
5102 updated.
5103 (target_read_live_memory): Likewise. Call target_xfer_partial
5104 instead of target_read.
5105 (memory_xfer_live_readonly_partial): Return
5106 target_xfer_status. Add argument xfered_len.
5107 (raw_memory_xfer_partial): Likewise.
5108 (memory_xfer_partial_1): Likewise.
5109 (memory_xfer_partial): Likewise.
5110 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
5111 properly. Update debug message.
5112 (default_xfer_partial, current_xfer_partial): Likewise.
5113 (target_write_partial): Likewise.
5114 (target_read_partial): Likewise. All callers updated.
5115 (read_whatever_is_readable): Likewise.
5116 (target_write_with_progress): Likewise.
5117 (target_read_alloc_1): Likewise.
5118
5119 * aix-thread.c (aix_thread_xfer_partial): Likewise.
5120 * auxv.c (procfs_xfer_auxv): Likewise.
5121 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
5122 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5123 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5124 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
5125 * corefile.c (read_memory): Adjust.
5126 * corelow.c (core_xfer_partial): Likewise.
5127 * ctf.c (ctf_xfer_partial): Likewise.
5128 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
5129 updated.
5130 (darwin_xfer_partial): Likewise.
5131 * exec.c (section_table_xfer_memory_partial): Likewise. All
5132 callers updated.
5133 (exec_xfer_partial): Likewise.
5134 * exec.h (section_table_xfer_memory_partial): Update
5135 declaration.
5136 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
5137 negative.
5138 (gnu_xfer_partial): Likewise.
5139 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
5140 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
5141 (ia64_hpux_xfer_solib_got): Likewise.
5142 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
5143 type of 'partial_len' to ULONGEST.
5144 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5145 * linux-nat.c (linux_xfer_siginfo ): Likewise.
5146 (linux_nat_xfer_partial): Likewise.
5147 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
5148 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
5149 * monitor.c (monitor_xfer_memory): Likewise.
5150 (monitor_xfer_partial): Likewise.
5151 * procfs.c (procfs_xfer_partial): Likewise.
5152 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5153 * record-full.c (record_full_xfer_partial): Likewise.
5154 (record_full_core_xfer_partial): Likewise.
5155 * remote-sim.c (gdbsim_xfer_memory): Likewise.
5156 (gdbsim_xfer_partial): Likewise.
5157 * remote.c (remote_write_bytes_aux): Likewise. All callers
5158 updated.
5159 (remote_write_bytes, remote_read_bytes): Likewise. All
5160 callers updated.
5161 (remote_flash_erase): Likewise. All callers updated.
5162 (remote_write_qxfer): Likewise. All callers updated.
5163 (remote_read_qxfer): Likewise. All callers updated.
5164 (remote_xfer_partial): Likewise.
5165 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5166 (rs6000_xfer_shared_libraries): Likewise.
5167 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5168 (sol_thread_xfer_partial): Likewise.
5169 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5170 (sparc_xfer_partial): Likewise.
5171 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
5172 updated.
5173 (spu_xfer_partial): Likewise.
5174 * spu-multiarch.c (spu_xfer_partial): Likewise.
5175 * tracepoint.c (tfile_xfer_partial): Likewise.
5176 * windows-nat.c (windows_xfer_memory): Likewise.
5177 (windows_xfer_shared_libraries): Likewise.
5178 (windows_xfer_partial): Likewise.
5179 * valprint.c: Replace 'target_xfer_error' with
5180 'target_xfer_status' in comments.
5181
a8e63083
JB
51822014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
5183
5184 Checked in by Joel Brobecker <brobecker@adacore.com>.
5185 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
5186
e86b67d3
JB
51872014-02-11 Joel Brobecker <brobecker@adacore.com>
5188
5189 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
5190 function parameters.
5191
4b7d1f7f
WN
51922014-02-10 Will Newton <will.newton@linaro.org>
5193
5194 * elfread.c (elf_rel_plt_read): Look for a .got section if
5195 looking up .got.plt fails.
5196 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
5197 on address passed to elf_gnu_ifunc_record_cache.
5198 (elf_gnu_ifunc_resolve_addr): Likewise.
5199 (elf_gnu_ifunc_resolver_return_stop): Likewise.
5200
961842b2
JM
52012014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
5202
5203 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
5204 (X_RETTURN): New macro.
5205 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
5206
5207 * sparc64-tdep.c (sparc64_init_abi): Hook
5208 sparc_in_function_epilogue_p.
5209
3f03e7b1
GB
52102014-02-10 Gary Benson <gbenson@redhat.com>
5211
5212 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5213 Rename name_matcher to symbol_matcher.
5214
96f861ef
GB
52152014-02-10 Gary Benson <gbenson@redhat.com>
5216
5217 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5218 Use expand_symtabs_file_matcher_ftype and
5219 expand_symtabs_symbol_matcher_ftype.
5220
ee01b665
JB
52212014-02-10 Joel Brobecker <brobecker@adacore.com>
5222
5223 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
5224 (struct ada_symbol_cache): New.
5225 (ada_free_symbol_cache): Forward declare.
5226 (struct ada_pspace_data): New.
5227 (ada_pspace_data_handle): New static global.
5228 (get_ada_pspace_data, ada_pspace_data_cleanup)
5229 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
5230 (cache_space, cache): Delete, now folded inside struct
5231 ada_pspace_data.
5232 (ada_get_symbol_cache): New function.
5233 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
5234 implementation.
5235 (_initialize_ada_language): Remove initialization of cache_space.
5236 Move call to observer_attach_inferior_exit up, grouping it
5237 with the other observer registrations inside this function.
5238 Rename command to be more general. Add call to
5239 register_program_space_data_with_cleanup.
5240
143adbbf
JB
52412014-02-10 Joel Brobecker <brobecker@adacore.com>
5242
5243 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
5244 ada_new_objfile_observer.
5245 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
5246 (_initialize_tasks): Update uses of ada_new_objfile_observer
5247 and ada_tasks_normal_stop_observer.
5248
aa4fb036
JB
52492014-02-10 Joel Brobecker <brobecker@adacore.com>
5250
5251 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
5252 returned by the 'Length attribute to integer.
5253
9dee8cc6
JB
52542014-02-10 Joel Brobecker <brobecker@adacore.com>
5255
5256 * ada-lang.c (_initialize_ada_language): Initialize
5257 cache_space obstack.
5258
3d9434b5
JB
52592014-02-10 Joel Brobecker <brobecker@adacore.com>
5260
5261 * ada-lang.c (HASH_SIZE): New macro.
5262 (struct cache_entry): New type.
5263 (cache_space, cache): New static globals.
5264 (ada_clear_symbol_cache, find_entry): New functions.
5265 (lookup_cached_symbol, cache_symbol): Implement.
5266 (ada_new_objfile_observer, ada_free_objfile_observer): New.
5267 (_initialize_ada_language): Attach ada_new_objfile_observer
5268 and ada_free_objfile_observer.
5269
f0c5f9b2
JB
52702014-02-10 Joel Brobecker <brobecker@adacore.com>
5271
5272 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5273 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5274 struct block * parameter.
5275 (ada_lookup_symbol_list_worker): Constify local variable "block".
5276 Remove cast which is no longer necessary.
5277
ed3ef339
DE
52782014-02-10 Doug Evans <xdje42@gmail.com>
5279
5280 Add Guile as an extension language.
5281 * NEWS: Mention Guile scripting.
5282 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5283 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5284 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5285 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5286 (CLIBS): Add GUILE_LIBS.
5287 (install-guile): New rule.
5288 (guile.o): New rule.
5289 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5290 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5291 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5292 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5293 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5294 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5295 (scm-type.o, scm-utils.o, scm-value.o): New rules.
5296 * configure.ac: New option --with-guile.
5297 * configure: Regenerate.
5298 * config.in: Regenerate.
5299 * auto-load.c: Remove #include "python/python.h". Add #include
5300 "gdb/section-scripts.h".
5301 (source_section_scripts): Handle Guile scripts.
5302 (_initialize_auto_load): Add name of Guile objfile script to
5303 scripts-directory help text.
5304 * breakpoint.c (condition_command): Tweak comment to include Scheme.
5305 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5306 (struct breakpoint): New member scm_bp_object.
5307 * defs.h (enum command_control_type): New value guile_control.
5308 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
5309 "extension.h".
5310 (show_user): Update comment.
5311 (_initialize_cli_cmds): Update help text for "show user". Update help
5312 text for max-user-call-depth.
5313 * cli/cli-script.c: Remove #include "python/python.h". Add #include
5314 "extension.h".
5315 (multi_line_command_p): Add guile_control.
5316 (print_command_lines): Handle guile_control.
5317 (execute_control_command, recurse_read_control_structure): Ditto.
5318 (process_next_line): Recognize "guile" commands.
5319 * disasm.c (gdb_disassemble_info): Make non-static.
5320 * disasm.h: #include "dis-asm.h".
5321 (struct gdbarch): Add forward decl.
5322 (gdb_disassemble_info): Declare.
5323 * extension.c: #include "guile/guile.h".
5324 (extension_languages): Add guile.
5325 (get_ext_lang_defn): Handle EXT_LANG_GDB.
5326 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5327 * gdbtypes.c (get_unsigned_type_max): New function.
5328 (get_signed_type_minmax): New function.
5329 * gdbtypes.h (get_unsigned_type_max): Declare.
5330 (get_signed_type_minmax): Declare.
5331 * guile/README: New file.
5332 * guile/guile-internal.h: New file.
5333 * guile/guile.c: New file.
5334 * guile/guile.h: New file.
5335 * guile/scm-arch.c: New file.
5336 * guile/scm-auto-load.c: New file.
5337 * guile/scm-block.c: New file.
5338 * guile/scm-breakpoint.c: New file.
5339 * guile/scm-disasm.c: New file.
5340 * guile/scm-exception.c: New file.
5341 * guile/scm-frame.c: New file.
5342 * guile/scm-gsmob.c: New file.
5343 * guile/scm-iterator.c: New file.
5344 * guile/scm-lazy-string.c: New file.
5345 * guile/scm-math.c: New file.
5346 * guile/scm-objfile.c: New file.
5347 * guile/scm-ports.c: New file.
5348 * guile/scm-pretty-print.c: New file.
5349 * guile/scm-safe-call.c: New file.
5350 * guile/scm-string.c: New file.
5351 * guile/scm-symbol.c: New file.
5352 * guile/scm-symtab.c: New file.
5353 * guile/scm-type.c: New file.
5354 * guile/scm-utils.c: New file.
5355 * guile/scm-value.c: New file.
5356 * guile/lib/gdb.scm: New file.
5357 * guile/lib/gdb/boot.scm: New file.
5358 * guile/lib/gdb/experimental.scm: New file.
5359 * guile/lib/gdb/init.scm: New file.
5360 * guile/lib/gdb/iterator.scm: New file.
5361 * guile/lib/gdb/printing.scm: New file.
5362 * guile/lib/gdb/types.scm: New file.
5363 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5364 (VPATH): Add $(GUILE_SRCDIR).
5365 (GUILE_DIR): New variable.
5366 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5367 (all): Add stamp-guile dependency.
5368 (stamp-guile): New rule.
5369 (clean-guile, install-guile, uninstall-guile): New rules.
5370 (install-only): Add install-guile dependency.
5371 (uninstall): Add uninstall-guile dependency.
5372 (clean): Add clean-guile dependency.
5373
ac020ec5
DE
53742014-02-09 Doug Evans <xdje42@gmail.com>
5375
5376 Revert this patch (which I approved, mea culpa).
5377
5378 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5379
5380 * Makefile.in (all-lib): Remove.
5381 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5382
2a081c59
JK
53832014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5384
5385 Fix Python stack corruption.
5386 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5387 gdb_py_longest.
5388
0a6bd22d
MK
53892014-02-08 Mark Kettenis <kettenis@gnu.org>
5390
5391 * Makefile.in (all-lib): Remove.
5392 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5393
1a860409
DE
53942014-02-07 Doug Evans <dje@google.com>
5395
5396 * extension-priv.h (extension_language_script_ops): Add comment.
5397 (extension_language_ops): Add comment.
caf5a491 5398 (active_ext_lang_state): Fix typo in comment.
1a860409 5399
d137e6dc
PA
54002014-02-07 Pedro Alves <palves@redhat.com>
5401
0dcb32c3 5402 PR breakpoints/16292
d137e6dc
PA
5403 * infrun.c (handle_signal_stop) <signal arrives while stepping
5404 over a breakpoint>: Switch back to the stepping thread.
5405
ce6d0892
YQ
54062014-02-07 Yao Qi <yao@codesourcery.com>
5407
5408 * target.c (target_xfer_partial): Return zero if LEN is zero.
5409
2ed4b548
YQ
54102014-02-07 Yao Qi <yao@codesourcery.com>
5411
5412 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5413 (ld_so_xfer_auxv): Likewise.
5414 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5415 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5416 * corelow.c (core_xfer_partial): Likewise.
5417 * ctf.c (ctf_xfer_partial): Likewise.
5418 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5419 (darwin_xfer_partial): Likewise.
5420 * exec.c (exec_xfer_partial): Likewise.
5421 * gnu-nat.c (gnu_xfer_partial): Likewise.
5422 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5423 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5424 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5425 * linux-nat.c (linux_xfer_siginfo): Likewise.
5426 (linux_proc_xfer_spu): Likewise.
5427 * procfs.c (procfs_xfer_partial): Likewise.
5428 * record-full.c (record_full_xfer_partial): Likewise.
5429 (record_full_core_xfer_partial): Likewise.
5430 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5431 * remote.c (remote_write_qxfer): Likewise.
5432 (remote_write_qxfer, remote_read_qxfer): Likewise.
5433 (remote_xfer_partial): Likewise.
5434 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5435 (rs6000_xfer_shared_libraries): Likewise.
5436 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5437 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5438 (spu_xfer_partial): Likewise.
5439 * target.c (memory_xfer_partial_1): Likewise.
5440 * tracepoint.c (tfile_xfer_partial): Likewise.
5441 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5442 (windows_xfer_partial): Likewise.
5443
c09f20e4
YQ
54442014-02-07 Yao Qi <yao@codesourcery.com>
5445
5446 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5447 comments.
5448 (core_xfer_shared_libraries_aix): Likewise.
5449 * gdbarch.c, gdbarch.h: Regenerated.
5450 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5451 ULONGEST. Change 'len_avail' type to ULONGEST.
5452 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5453 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5454 declaration.
5455 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5456
8635b3bf
YQ
54572014-02-07 Yao Qi <yao@codesourcery.com>
5458
5459 * corefile.c (memory_error): Get 'exception' from ERR and pass
5460 'exception' to throw_error.
5461
6dddc817
DE
54622014-02-06 Doug Evans <xdje42@gmail.com>
5463
5464 * configure.ac (libpython checking): Remove all but python.o from
5465 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5466 * configure: Regenerate.
5467
5468 * Makefile.in (SFILES): Add extension.c.
5469 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5470 (COMMON_OBS): Add extension.o.
5471 * extension.h: New file.
5472 * extension-priv.h: New file.
5473 * extension.c: New file.
5474
5475 * python/python-internal.h: #include "extension.h".
5476 (gdbpy_auto_load_enabled): Declare.
5477 (gdbpy_apply_val_pretty_printer): Declare.
5478 (gdbpy_apply_frame_filter): Declare.
5479 (gdbpy_preserve_values): Declare.
5480 (gdbpy_breakpoint_cond_says_stop): Declare.
5481 (gdbpy_breakpoint_has_cond): Declare.
5482 (void source_python_script_for_objfile): Delete.
5483 * python/python.c: #include "extension-priv.h".
5484 Delete inclusion of "observer.h".
5485 (extension_language_python): Moved here and renamed from
5486 script_language_python in py-auto-load.c.
5487 Redefined to be of type extension_language_defn.
5488 (python_extension_script_ops): New global.
5489 (python_extension_ops): New global.
5490 (struct python_env): New member previous_active.
5491 (restore_python_env): Call restore_active_ext_lang.
5492 (ensure_python_env): Call set_active_ext_lang.
5493 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5494 New arg extlang.
5495 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5496 New arg extlang.
5497 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5498 New arg extlang.
5499 (gdbpy_eval_from_control_command): Renamed from
5500 eval_python_from_control_command, made static. New arg extlang.
5501 (gdbpy_source_script) Renamed from source_python_script, made static.
5502 New arg extlang.
5503 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5504 result to int. New arg extlang.
5505 (gdbpy_source_objfile_script): Renamed from
5506 source_python_script_for_objfile, made static. New arg extlang.
5507 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5508 static. New args extlang, extlang_printers. Change result type to
5509 "void".
5510 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5511 static. New arg extlang. Rename arg printers to extlang_printers
5512 and change type to ext_lang_type_printers *.
5513 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5514 static. Replace argument arg with extlang, extlang_printers.
5515 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5516 (!HAVE_PYTHON, source_python_script): Delete.
5517 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5518 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5519 (!HAVE_PYTHON, start_type_printers): Delete.
5520 (!HAVE_PYTHON, apply_type_printers): Delete.
5521 (!HAVE_PYTHON, free_type_printers): Delete.
5522 (_initialize_python): Delete call to observer_attach_before_prompt.
5523 (finalize_python): Set/restore active extension language.
5524 (gdbpy_finish_initialization) Renamed from
5525 finish_python_initialization, made static. New arg extlang.
5526 (gdbpy_initialized): New function.
5527 * python/python.h: #include "extension.h". Delete #include
5528 "value.h", "mi/mi-cmds.h".
5529 (extension_language_python): Declare.
5530 (GDBPY_AUTO_FILE_NAME): Delete.
5531 (enum py_bt_status): Moved to extension.h and renamed to
5532 ext_lang_bt_status.
5533 (enum frame_filter_flags): Moved to extension.h.
5534 (enum py_frame_args): Moved to extension.h and renamed to
5535 ext_lang_frame_args.
5536 (finish_python_initialization): Delete.
5537 (eval_python_from_control_command): Delete.
5538 (source_python_script): Delete.
5539 (apply_val_pretty_printer): Delete.
5540 (apply_frame_filter): Delete.
5541 (preserve_python_values): Delete.
5542 (gdbpy_script_language_defn): Delete.
5543 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5544 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5545
5546 * auto-load.c: #include "extension.h".
5547 (GDB_AUTO_FILE_NAME): Delete.
5548 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5549 (script_language_gdb): Delete, moved to extension.c and renamed to
5550 extension_language_gdb.
5551 (source_gdb_script_for_objfile): Delete.
5552 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5553 (loaded_script): Change type of language member to
5554 struct extension_language_defn *.
5555 (init_loaded_scripts_info): Initialize
5556 unsupported_script_warning_printed.
5557 (maybe_add_script): Make static. Change type of language arg to
5558 struct extension_language_defn *.
5559 (clear_section_scripts): Reset unsupported_script_warning_printed.
5560 (auto_load_objfile_script_1): Rewrite to use extension language API.
5561 (auto_load_objfile_script): Make public. Remove support-compiled-in
5562 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5563 (source_section_scripts): Rewrite to use extension language API.
5564 (load_auto_scripts_for_objfile): Rewrite to use
5565 auto_load_scripts_for_objfile.
5566 (collect_matching_scripts_data): Change type of language member to
5567 struct extension_language_defn *.
5568 (auto_load_info_scripts): Change type of language arg to
5569 struct extension_language_defn *.
5570 (unsupported_script_warning_print): New function.
5571 (script_not_found_warning_print): Make static.
5572 (_initialize_auto_load): Rewrite construction of scripts-directory
5573 help.
5574 * auto-load.h (struct objfile): Add forward decl.
5575 (struct script_language): Delete.
5576 (struct auto_load_pspace_info): Add forward decl.
5577 (struct extension_language_defn): Add forward decl.
5578 (maybe_add_script): Delete.
5579 (auto_load_objfile_script): Declare.
5580 (script_not_found_warning_print): Delete.
5581 (auto_load_info_scripts): Update prototype.
5582 (auto_load_gdb_scripts_enabled): Declare.
5583 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5584 auto_load_python_scripts_enabled and made public.
5585 (script_language_python): Delete, moved to python.c.
5586 (gdbpy_script_language_defn): Delete.
5587 (info_auto_load_python_scripts): Update to use
5588 extension_language_python.
5589
5590 * breakpoint.c (condition_command): Replace call to
5591 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5592 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5593 with call to breakpoint_ext_lang_cond_says_stop.
5594 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5595 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5596 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5597 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5598 New arg slang.
5599 (local_setattro): Print name of extension language with existing
5600 stop condition.
5601
5602 * valprint.c (val_print, value_print): Update to call
5603 apply_ext_lang_val_pretty_printer.
5604 * cp-valprint.c (cp_print_value): Update call to
5605 apply_ext_lang_val_pretty_printer.
5606 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5607 (gdbpy_apply_val_pretty_printer): Renamed from
5608 apply_val_pretty_printer. New arg extlang.
5609 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5610
5611 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5612 extension language API.
5613 * cli/cli-script.c (execute_control_command): Update to call
5614 eval_ext_lang_from_control_command.
5615
5616 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5617 enum ext_lang_bt_status values. Update call to
5618 apply_ext_lang_frame_filter.
5619 (mi_cmd_stack_list_locals): Ditto.
5620 (mi_cmd_stack_list_args): Ditto.
5621 (mi_cmd_stack_list_variables): Ditto.
5622 * mi/mi-main.c: Delete #include "python/python-internal.h".
5623 Add #include "extension.h".
5624 (mi_cmd_list_features): Replace reference to python internal variable
5625 gdb_python_initialized with call to ext_lang_initialized_p.
5626
5627 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5628 Update to use enum ext_lang_frame_args. Update to call
5629 apply_ext_lang_frame_filter.
5630 * python/py-framefilter.c (extract_sym): Update to use enum
5631 ext_lang_bt_status.
5632 (extract_value, py_print_type, py_print_value): Ditto.
5633 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5634 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5635 (py_print_frame): Ditto.
5636 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5637 New arg extlang. Update to use enum ext_lang_bt_status.
5638
5639 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5640 finish_python_initialization. Replace with call to
5641 finish_ext_lang_initialization.
5642
5643 * typeprint.c (do_free_global_table): Update to call
5644 free_ext_lang_type_printers.
5645 (create_global_typedef_table): Update to call
5646 start_ext_lang_type_printers.
5647 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5648 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5649 (type_print_options): Change type of global_printers from "void *"
5650 to "struct ext_lang_type_printers *".
5651
5652 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5653 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5654 (gdbpy_preserve_values): Renamed from preserve_python_values.
5655 New arg extlang.
5656 (!HAVE_PYTHON, preserve_python_values): Delete.
5657
5658 * utils.c (quit_flag): Delete, moved to extension.c.
5659 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5660 extension.c.
5661
5662 * eval.c: Delete #include "python/python.h".
5663 * main.c: Delete #include "python/python.h".
5664
5665 * defs.h: Update comment.
5666
6af79985
JB
56672014-02-06 Joel Brobecker <brobecker@adacore.com>
5668
5669 GDB 7.7 released.
5670
12c5175d
MK
56712014-02-05 Mark Kettenis <kettenis@gnu.org>
5672
5673 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5674 defined.
5675
8dc5b319
YQ
56762014-02-05 Yao Qi <yao@codesourcery.com>
5677
5678 * remote.c (remote_pass_signals): Remove local 'buf' and use
5679 rs->buf.
5680 (remote_program_signals): Likewise.
5681
de7b2893
YQ
56822014-02-05 Yao Qi <yao@codesourcery.com>
5683
5684 * ctf.c: Include "inferior.h" and "gdbthread.h".
5685 (CTF_PID): A new macro.
5686 (ctf_open): Call inferior_appeared and add_thread_silent.
5687 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5688 (ctf_thread_alive): New function.
5689 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5690
66d032ac
YQ
56912014-02-05 Yao Qi <yao@codesourcery.com>
5692
5693 Revert this patch:
5694
5695 2013-05-24 Yao Qi <yao@codesourcery.com>
5696
5697 * tracepoint.c (TFILE_PID): Remove.
5698 (tfile_open): Don't add thread and inferior.
5699 (tfile_close): Don't set 'inferior_ptid'. Don't call
5700 exit_inferior_silent.
5701 (tfile_thread_alive): Remove.
5702 (init_tfile_ops): Don't set field 'to_thread_alive' of
5703 tfile_ops.
5704
f4ccffad
CE
57052014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5706
5707 * remote.c (remote_start_remote): Call remote_check_symbols even
5708 if only symbol-file (not file) has been given.
5709
591a12a1
UW
57102014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5711
5712 * gdbarch.sh (skip_entrypoint): New callback.
5713 * gdbarch.c, gdbarch.h: Regenerate.
5714 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5715 * infrun.c (fill_in_stop_func): Likewise.
5716 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5717 (ppc_elfv2_elf_make_msymbol_special): New function.
5718 (ppc_elfv2_skip_entrypoint): Likewise.
5719 (ppc_linux_init_abi): Install them for ELFv2.
5720
cc0e89c5
UW
57212014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5722
5723 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5724 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5725 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5726 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5727 structures returned in GPRs.
5728
52f548e4
UW
57292014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5730
5731 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5732 offset to the stack parameter list for the ELFv2 ABI.
5733
d4094b6a
UW
57342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5735
5736 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5737 set_gdbarch_convert_from_func_ptr_addr and
5738 set_gdbarch_elf_make_msymbol_special for ELFv1.
5739 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5740 function descriptors on ELFv1.
5741 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5742 set up r12 at function entry.
5743
cd453cd0
UW
57442014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5745
5746 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5747 (struct gdbarch_tdep): New member elf_abi.
5748
5749 * rs6000-tdep.c: Include "elf/ppc64.h".
5750 (rs6000_gdbarch_init): Detect ELF ABI version.
5751
0ff3e01f
UW
57522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5753
5754 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5755 within a register pair holding a DFP 128-bit value on little-endian.
5756 (ppc64_sysv_abi_return_value_base): Likewise.
5757 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5758 (dfp_pseudo_register_write): Likewise.
5759
5b757e5d
UW
57602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5761
5762 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5763 offset on little-endian when passing _Decimal32.
5764 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5765
084ee545
UW
57662014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5767
5768 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5769 of the overlapped FP register within the VSX register on little-
5770 endian platforms.
5771 (efpr_pseudo_register_write): Likewise.
5772
d63167af
UW
57732014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5774
5775 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5776 offset on little-endian when passing small structures.
5777
e765b44c
UW
57782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5779
5780 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5781 (struct ppc64_sysv_argpos): New data structure.
5782 (ppc64_sysv_abi_push_float): Remove.
5783 (ppc64_sysv_abi_push_val): New function.
5784 (ppc64_sysv_abi_push_integer): Likewise.
5785 (ppc64_sysv_abi_push_freg): Likewise.
5786 (ppc64_sysv_abi_push_vreg): Likewise.
5787 (ppc64_sysv_abi_push_param): Likewise.
5788 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5789 (ppc64_sysv_abi_return_value_base): New function.
5790 (ppc64_sysv_abi_return_value): Refactor to use it.
5791
36c24d95
UW
57922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
5793
5794 * NEWS: Document new target powerpc64le-*-linux*.
5795
26fd9228
MK
57962014-02-04 Mark Kettenis <kettenis@gnu.org>
5797
5798 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5799 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5800 core dumps.
5801 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5802 register set used in ELF core dumps. Add floating-point register set.
5803
c5bb7362
KB
58042014-02-03 Kevin Buettner <kevinb@redhat.com>
5805
5806 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5807 dwarf2_to_gdb[] table using symbolic constants. Adjust
5808 penultimate entry from number representing the PC register
5809 to symbolic constant representing the MDR register. Add
5810 constant for the PC register to the end of the table.
5811
af09351e
MK
58122014-02-03 Mark Kettenis <kettenis@gnu.org>
5813
5814 * bsd-kvm.c: Include <sys/param.h>
5815
8507e05d
MK
58162014-02-03 Mark Kettenis <kettenis@gnu.org>
5817
5818 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5819
ae56bfb8
JB
58202014-01-31 Joel Brobecker <brobecker@adacore.com>
5821
5822 * ada-lang.h (clear_ada_sym_cache): Delete.
5823
718ee4dc
UW
58242014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
5825
5826 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5827
401e27fd
JM
58282014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5829
5830 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5831 the sigreturn register save area only if the syscall is
5832 sigreturn.
5833
a7c88acd
JB
58342014-01-29 Joel Brobecker <brobecker@adacore.com>
5835
5836 * valops.c (value_slice): Minor reformatting.
5837
fa0079ea
UW
58382014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
5839
5840 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5841
c6044dd1
JB
58422014-01-28 Joel Brobecker <brobecker@adacore.com>
5843
5844 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5845 New static globals.
5846 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5847 (ada_ignore_descriptive_types_p): New static global.
5848 (find_parallel_type_by_descriptive_type): Return immediately
5849 if ada_ignore_descriptive_types_p is set.
5850 (_initialize_ada_language): Register new commands "maintenance
5851 set ada", "maintenance show ada", "maintenance set ada
5852 ignore-descriptive-types" and "maintenance show ada
5853 ignore-descriptive-types".
5854 * NEWS: Add entry for new "maint ada set/show
5855 ignore-descriptive-types" commands.
5856
568e808b
MM
58572014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5858
5859 * record-btrace.c (record_btrace_close): Call btrace_teardown
5860 for all threads.
5861
467d141b
JB
58622014-01-27 Joel Brobecker <brobecker@adacore.com>
5863
5864 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5865 "ui-out.h".
5866
fb151210
JB
58672014-01-27 Joel Brobecker <brobecker@adacore.com>
5868
5869 * ada-typeprint (type_is_full_subrange_of_target_type):
5870 New function.
5871 (print_range): Add parameter bounds_prefered_p. If not set,
5872 try printing range types using the name of their base type.
5873 (print_range_type): Add parameter bounds_prefered_p.
5874 Use it in call to print_range.
5875 (print_array_type, ada_print_type): Update calls to print_range
5876 and print_range_type.
5877
aba02109
JB
58782014-01-27 Joel Brobecker <brobecker@adacore.com>
5879
5880 * ada-typeprint.c (print_array_type, print_choices, print_range)
5881 (print_range_bound, print_dynamic_range_bound, print_range_type):
5882 Remove declaration.
5883
e62e21fd
JB
58842014-01-27 Joel Brobecker <brobecker@adacore.com>
5885
5886 * ada-typeprint.c (print_range): Add missing empty line
5887 after local declaration.
5888
859cf5d1
JB
58892014-01-27 Joel Brobecker <brobecker@adacore.com>
5890
5891 * ada-valprint.c (print_optional_low_bound): Get index_type's
5892 target type for as long as it is a TYPE_CODE_RANGE.
5893
25790f6f
JB
58942014-01-27 Joel Brobecker <brobecker@adacore.com>
5895
5896 * procfs.c (procfs_make_note_section): Remove assertion and
5897 associated comment.
5898
6b6aa828
YQ
58992014-01-24 Yao Qi <yao@codesourcery.com>
5900
5901 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5902 * corelow.c (get_core_siginfo): Likewise.
5903
5d6df423
YQ
59042014-01-24 Yao Qi <yao@codesourcery.com>
5905
5906 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5907 ULONGEST. Don't check 'len' is negative.
5908 (remote_write_bytes): Change type of 'len' to ULONGEST.
5909
83b645b8
TT
59102014-01-23 Tom Tromey <tromey@redhat.com>
5911
5912 PR python/16485:
5913 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5914 Handle exception from frame.block.
5915 (FrameVars.fetch_frame_locals): Likewise.
5916
0740f8d8
TT
59172014-01-23 Tom Tromey <tromey@redhat.com>
5918
5919 PR python/16487:
5920 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5921 on a NULL pointer. Move "goto error" to correct place.
5922
21909fa1
TT
59232014-01-23 Tom Tromey <tromey@redhat.com>
5924
5925 PR python/16491:
5926 * python/py-framefilter.c (apply_frame_filter): Call
5927 ensure_python_env after computing gdbarch.
5928
17fde6d0
YQ
59292014-01-23 Yao Qi <yao@codesourcery.com>
5930
5931 * target.c (raw_memory_xfer_partial): Change argument type
5932 from void * to gdb_byte *.
5933 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5934
87ce2a04
DE
59352014-01-22 Doug Evans <dje@google.com>
5936
5937 New gdbserver option --debug-format=timestamp.
5938 * NEWS: Mention it.
5939
237b092b
AA
59402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5941
5942 * syscalls/s390x-linux.xml: New file.
5943 * syscalls/s390-linux.xml: New file.
5944 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5945 (XML_SYSCALL_FILENAME_S390X): Likewise.
5946 (op_svc): New enum value for SVC opcode.
5947 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5948 (s390_linux_get_syscall_number): New function.
5949 (s390_gdbarch_init): Register '*get_syscall_number' and the
5950 syscall xml file name.
5951 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5952 "s390-linux.xml" and "s390x-linux.xml".
5953 * NEWS: Announce new feature.
5954
54bff650
BS
59552014-01-22 Baruch Siach <baruch@tkos.co.il>
5956
5957 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5958
14e361d7
PA
59592014-01-22 Pedro Alves <palves@redhat.com>
5960
5961 * xtensa-config.c: Include defs.h.
5962
46bbb3ed
JB
59632014-01-22 Joel Brobecker <brobecker@adacore.com>
5964
5965 * common/common-utils.h: Add "ARI:" comment beside __func__
5966 reference.
5967
3a80edfc
JB
59682014-01-22 Joel Brobecker <brobecker@adacore.com>
5969
5970 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5971 documentation a bit.
5972
4869db5e
RM
59732014-01-21 Roland McGrath <mcgrathr@google.com>
5974
5975 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5976 * configure: Regenerate.
5977 * aclocal.m4: Regenerate.
5978 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5979 New substituted variables.
5980 (install-strip): New target.
5981 (INSTALL_SCRIPT): New substituted variable.
5982 (FLAGS_TO_PASS): Add it.
5983 (install-only): Use $(INSTALL_SCRIPT) rather than
5984 $(INSTALL_PROGRAM) for gcore.
5985
9ea4267d
TT
59862014-01-20 Tom Tromey <tromey@redhat.com>
5987
5988 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5989 together.
5990
1f2bdf09
TT
59912014-01-20 Tom Tromey <tromey@redhat.com>
5992
5993 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5994 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5995 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5996 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5997 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5998 (struct cmd_list_element) <flags>: Remove.
5999 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
6000 doc_allocated>: New fields.
6001 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
6002 bitfields.
6003 * maint.c (maintenance_do_deprecate): Update.
6004 * top.c (execute_command): Update.
6005
e671835b
BS
60062014-01-20 Baruch Siach <baruch@tkos.co.il>
6007
6008 * xtensa-linux-nat.c: Include asm/ptrace.h.
6009
50367cd2
IB
60102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6011
6012 * Makefile.in (SFILES): Add d-support.c.
6013 (COMMON_OBS): Add d-support.o.
6014 * d-lang.h (d_parse_symbol): Add comment, now defined in
6015 d-support.c.
6016 * d-lang.c (parse_call_convention)
6017 (parse_attributes, parse_function_types)
6018 (parse_function_args, parse_type, parse_identifier)
6019 (call_convention_p, d_parse_symbol): Move functions to ...
6020 * d-support.c: ... New file.
6021
ec9f644a
IB
60222014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6023
6024 * d-lang.h (d_parse_symbol): Add declaration.
6025 * d-lang.c (extract_identifiers)
6026 (extract_type_info): Remove functions.
6027 (parse_call_convention, parse_attributes)
6028 (parse_function_types, parse_function_args)
6029 (parse_type, parse_identifier, call_convention_p)
6030 (d_parse_symbol): New functions.
6031 (d_demangle): Use d_parse_symbol to demangle D symbols.
6032
94b1b47e
IB
60332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6034
6035 * d-lang.h (struct builtin_d_type): New data type.
6036 (builtin_d_type): Add declaration.
6037 * d-lang.c (d_language_arch_info, build_d_types)
6038 (builtin_d_type): New functions.
6039 (enum d_primitive_types): New data type.
6040 (d_language_defn): Change c_language_arch_info to
6041 d_language_arch_info.
6042 (d_type_data): New static variable.
6043 (_initialize_d_language): Initialize d_type_data.
6044
63778547
IB
60452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6046
6047 * d-lang.h (d_main_name): Add declaration.
6048 * d-lang.c (d_main_name): New function.
6049 * symtab.c (find_main_name): Add call to d_main_name.
6050
3271ba66
IB
60512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6052
6053 * d-lang.c (d_language_defn): Change macro_expansion_c to
6054 macro_expansion_no.
6055
d36b3012
IB
60562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6057
6058 * MAINTAINERS: Add myself as a write-after-approval maintainer.
6059
c90a6fb7
SDJ
60602014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
6061
6062 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
6063 gdb_exception" declaration.
6064 * remote.c (getpkt_or_notif_sane): Likewise.
6065
749234e5
DE
60662014-01-17 Doug Evans <dje@google.com>
6067
6068 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
6069 function, contents of dirnames_to_char_ptr_vec_append moved here.
6070 (delim_string_to_char_ptr_vec): New function.
6071 (dirnames_to_char_ptr_vec_append): Rewrite.
6072 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
6073
df049a58
DE
60742014-01-17 Doug Evans <dje@google.com>
6075
6076 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
6077 and moved here ...
6078 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
6079 #include "common-utils.h".
6080 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
6081 * common/vec.h (VEC_ASSERT_PASS): Update.
6082 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
6083 (MACH_CHECK_ERROR): Update.
6084
69f97648
SM
60852014-01-17 Simon Marchi <simon.marchi@ericsson.com>
6086
6087 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
6088 comments.
6089 * gdbarch.h: Regenerate.
6090
98b1cfdc
TT
60912014-01-16 Tom Tromey <tromey@redhat.com>
6092
6093 * value.c (struct value) <regnum>: Move earlier.
6094
77a19445
TT
60952014-01-16 Tom Tromey <tromey@redhat.com>
6096
6097 * remote.c (extended_remote_create_inferior): Rename from
6098 extended_remote_create_inferior_1. Add "ops" argument. Remove
6099 old implementation.
6100
62261490
PA
61012014-01-16 Pedro Alves <palves@redhat.com>
6102
6103 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
6104 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
6105 the backchain.
6106
4d65956b
DE
61072014-01-16 Doug Evans <dje@google.com>
6108
6109 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
6110
52834460
MM
61112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6112
6113 * btrace.h (btrace_thread_flag): New.
6114 (struct btrace_thread_info) <flags>: New.
6115 * record-btrace.c (record_btrace_resume_thread)
6116 (record_btrace_find_thread_to_move, btrace_step_no_history)
6117 (btrace_step_stopped, record_btrace_start_replaying)
6118 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
6119 (record_btrace_find_resume_thread): New.
6120 (record_btrace_resume, record_btrace_wait): Extend.
6121 (record_btrace_can_execute_reverse): New.
6122 (record_btrace_open): Fail in non-stop mode.
6123 (record_btrace_set_replay): Split into this, ...
6124 (record_btrace_stop_replaying): ... this, ...
6125 (record_btrace_clear_histories): ... and this.
6126 (init_record_btrace_ops): Init to_can_execute_reverse.
6127 * NEWS: Announce it.
6128
118e6252
MM
61292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6130
6131 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
6132 (forward_target_decr_pc_after_break)
6133 (target_decr_pc_after_break): New.
6134 * target.c (forward_target_decr_pc_after_break)
6135 (target_decr_pc_after_break): New.
6136 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
6137 instead of gdbarch_decr_pc_after_break.
6138 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6139 instead of gdbarch_decr_pc_after_break.
6140 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
6141 instead of gdbarch_decr_pc_after_break.
6142 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6143 instead of gdbarch_decr_pc_after_break.
6144 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
6145 instead of gdbarch_decr_pc_after_break.
6146 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
6147 instead of gdbarch_decr_pc_after_break.
6148
6e07b1d2
MM
61492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6150
6151 * btrace.c: Include regcache.h.
6152 (btrace_add_pc): New.
6153 (btrace_enable): Call btrace_add_pc.
6154 (btrace_is_empty): New.
6155 * btrace.h (btrace_is_empty): New.
6156 * record-btrace.c (require_btrace, record_btrace_info): Call
6157 btrace_is_empty.
6158
969c39fb
MM
61592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6160
6161 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
6162 Support delta reads.
6163 (linux_disable_btrace): Change return type.
6164 * common/linux-btrace.h (linux_read_btrace): Change parameters
6165 and return type to allow error reporting. Update users.
6166 (linux_disable_btrace): Change return type. Update users.
6167 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
6168 New.
6169 (btrace_error): New.
6170 (btrace_block) <begin>: Comment on BEGIN == 0.
6171 * btrace.c (btrace_compute_ftrace): Start from the end of
6172 the current trace.
6173 (btrace_stitch_trace, btrace_clear_history): New.
6174 (btrace_fetch): Read delta trace, return if replaying.
6175 (btrace_clear): Move clear history code to btrace_clear_history.
6176 (parse_xml_btrace): Throw an error if parsing failed.
6177 * target.h (struct target_ops) <to_read_btrace>: Change parameters
6178 and return type to allow error reporting.
6179 (target_read_btrace): Change parameters and return type to allow
6180 error reporting.
6181 * target.c (target_read_btrace): Update.
6182 * remote.c (remote_read_btrace): Support delta reads. Pass
6183 errors on.
6184 * NEWS: Announce it.
6185
0b722aec
MM
61862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6187
6188 * record.h (record_btrace_frame_unwind)
6189 (record_btrace_tailcall_frame_unwind): New declarations.
6190 * dwarf2-frame: Include record.h
6191 (dwarf2_frame_cfa): Throw an error for btrace frames.
6192 * record-btrace.c: Include hashtab.h.
6193 (btrace_get_bfun_name): New.
6194 (btrace_call_history): Call btrace_get_bfun_name.
6195 (struct btrace_frame_cache): New.
6196 (bfcache): New.
6197 (bfcache_hash, bfcache_eq, bfcache_new): New.
6198 (btrace_get_frame_function): New.
6199 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
6200 (record_btrace_frame_this_id): Compute own id.
6201 (record_btrace_frame_prev_register): Provide PC, throw_error
6202 for all other registers.
6203 (record_btrace_frame_sniffer): Detect btrace frames.
6204 (record_btrace_tailcall_frame_sniffer): New.
6205 (record_btrace_frame_dealloc_cache): New.
6206 (record_btrace_frame_unwind): Add new functions.
6207 (record_btrace_tailcall_frame_unwind): New.
6208 (_initialize_record_btrace): Allocate cache.
6209 * btrace.c (btrace_clear): Call reinit_frame_cache.
6210 * NEWS: Announce it.
6211
066ce621
MM
62122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6213
6214 * record-btrace.c (record_btrace_set_replay)
6215 (record_btrace_goto_begin, record_btrace_goto_end)
6216 (record_btrace_goto): New.
6217 (init_record_btrace_ops): Initialize them.
6218 * NEWS: Announce it.
6219
e2887aa3
MM
62202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6221
6222 * record-btrace.c (record_btrace_find_new_threads)
6223 (record_btrace_thread_alive): New.
6224 (init_record_btrace_ops): Initialize to_find_new_threads and
6225 to_thread_alive.
6226
b2f4cfde
MM
62272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6228
6229 * record-btrace.c (record_btrace_resume): New.
6230 (record_btrace_wait): New.
6231 (init_record_btrace_ops): Initialize to_wait and to_resume.
6232
633785ff
MM
62332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6234
6235 * record-btrace.c (record_btrace_xfer_partial)
6236 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
6237 (record_btrace_allow_memory_access): New.
6238 (init_record_btrace_ops): Initialize new methods.
6239 * target.c (raw_memory_xfer_partial): Bail out if target reports
6240 that this memory is not available.
6241
3db08215
MM
62422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6243
6244 * target.h (target_ops) <to_insert_breakpoint>
6245 <to_remove_breakpoint>: Add target_ops parameter.
6246 (forward_target_insert_breakpoint): New.
6247 (forward_target_remove_breakpoint): New.
6248 (memory_remove_breakpoint, memory_insert_breakpoint):
6249 Add target_ops parameter.
6250 * target.c (target_insert_breakpoint): Split into this and ...
6251 (forward_target_insert_breakpoint): ... this.
6252 (target_remove_breakpoint): Split into this and ...
6253 (forward_target_remove_breakpoint): ... this.
6254 (debug_to_insert_breakpoint): Add target_ops parameter.
6255 Call forward_target_insert_breakpoint.
6256 (debug_to_remove_breakpoint): Add target_ops parameter.
6257 Call forward_target_remove_breakpoint.
6258 (update_current_target): Do not inherit or default to_insert_breakpoint
6259 and to_remove_breakpoint.
6260 * corelow.c (ignore): Add target_ops parameter.
6261 * exec.c (ignore): Add target_ops parameter.
6262 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
6263 Add target_ops parameter.
6264 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
6265 Add target_ops parameter.
6266 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
6267 Add target_ops parameter.
6268 * record-full.c (record_full_beneath_to_insert_breakpoint)
6269 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
6270 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
6271 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6272 (record_full_core_remove_breakpoint): Add target_ops parameter.
6273 Update users.
6274 (record_full_beneath_to_insert_breakpoint_ops)
6275 (record_full_beneath_to_remove_breakpoint_ops)
6276 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6277 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6278 tmp_to_remove_breakpoint_ops,
6279 record_full_beneath_to_insert_breakpoint_ops, and
6280 record_full_beneath_to_remove_breakpoint_ops.
6281 * remote-m32r-sdi.c (m32r_insert_breakpoint)
6282 (m32r_remove_breakpoint): Add target_ops parameter.
6283 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6284 Add target_ops parameter.
6285 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6286 Add target_ops parameter.
6287
cecac1ab
MM
62882014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6289 Markus Metzger <markus.t.metzger@intel.com>
6290
6291 * record-btrace.c: Include frame-unwind.h.
6292 (record_btrace_frame_unwind_stop_reason)
6293 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6294 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6295 New.
6296 (init_record_btrace_ops): Install it.
6297
824344ca
MM
62982014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6301 get_prev_frame_1.
6302
32261e52
MM
63032014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6304
6305 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6306 earlier.
6307
ea001bdc
MM
63082014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6309
6310 * frame-unwind.c: Include target.h.
6311 (frame_unwind_try_unwinder): New function with code from ...
6312 (frame_unwind_find_by_frame): ... here. New variable
6313 unwinder_from_target, call also target_get_unwinder)
6314 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6315 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6316 * target.h (struct target_ops): New fields to_get_unwinder and
6317 to_get_tailcall_unwinder.
6318 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6319
1f3ef581
MM
63202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6321
6322 * record-btrace.c (record_btrace_fetch_registers)
6323 (record_btrace_store_registers)
6324 (record_btrace_to_prepare_to_store): New.
6325 (init_record_btrace_ops): Add the above.
6326
f32dbf8c
MM
63272014-01-16 Tom Tromey <tromey@redhat.com>
6328
6329 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6330 * target.h (struct target_ops) <to_prepare_to_store>: Add
6331 argument.
6332 (target_prepare_to_store): Add argument.
6333 * target.c (debug_to_prepare_to_store): Add argument.
6334 (update_current_target): Update.
6335 * remote.c (remote_prepare_to_store): Add 'self' argument.
6336 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6337 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6338 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6339 * record-full.c (record_full_core_prepare_to_store): Add 'self'
6340 argument.
6341 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6342 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6343 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6344 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6345 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6346
07bbe694
MM
63472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6348
6349 * btrace.h (replay) <replay>: New.
6350 (btrace_is_replaying): New.
6351 * btrace.c (btrace_clear): Free replay iterator.
6352 (btrace_is_replaying): New.
6353 * record-btrace.c (record_btrace_is_replaying): New.
6354 (record_btrace_info): Print insn number if replaying.
6355 (record_btrace_insn_history): Start at replay position.
6356 (record_btrace_call_history): Start at replay position.
6357 (init_record_btrace_ops): Init to_record_is_replaying.
6358
0688d04e
MM
63592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6360
6361 * record-btrace.c (record_btrace_insn_history_range): Include
6362 end.
6363 (record_btrace_insn_history_from): Adjust range.
6364 (record_btrace_call_history_range): Include
6365 end.
6366 (record_btrace_call_history_from): Adjust range.
6367 * NEWS: Announce changes.
6368
8710b709
MM
63692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6370
6371 * record.h (enum record_print_flag)
6372 <record_print_indent_calls>: New.
6373 * record.c (get_call_history_modifiers): Recognize /c modifier.
6374 (_initialize_record): Document /c modifier.
6375 * record-btrace.c (btrace_call_history): Add btinfo parameter.
6376 Reorder fields. Optionally indent the function name. Update
6377 all users.
6378 * NEWS: Announce changes.
6379
d0fa7535
MM
63802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6381
6382 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6383
5de9129b
MM
63842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6385
6386 * btrace.c (ftrace_new_function): Start counting at one.
6387 * record-btrace.c (record_btrace_info): Adjust number of calls
6388 and insns.
6389 * NEWS: Announce it.
6390
7acbe133
MM
63912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6392
6393 * record-btrace.c (btrace_call_history_insn_range): Print
6394 insn range as [begin, end].
6395
23a7fe75
MM
63962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6397
6398 * btrace.h (struct btrace_func_link): New.
6399 (enum btrace_function_flag): New.
6400 (struct btrace_inst): Rename to ...
6401 (struct btrace_insn): ...this. Update all users.
6402 (struct btrace_func) <ibegin, iend>: Remove.
6403 (struct btrace_func_link): New.
6404 (struct btrace_func): Rename to ...
6405 (struct btrace_function): ...this. Update all users.
6406 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6407 (number, level, flags>: New.
6408 (struct btrace_insn_iterator): Rename to ...
6409 (struct btrace_insn_history): ...this.
6410 Update all users.
6411 (struct btrace_insn_iterator, btrace_call_iterator): New.
6412 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6413 (struct btrace_target_info) <begin, end, level>
6414 <insn_history, call_history>: New.
6415 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6416 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6417 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6418 (btrace_call_number, btrace_call_begin, btrace_call_end)
6419 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6420 (btrace_find_function_by_number, btrace_set_insn_history)
6421 (btrace_set_call_history): New.
6422 * btrace.c (btrace_init_insn_iterator)
6423 (btrace_init_func_iterator, compute_itrace): Remove.
6424 (ftrace_print_function_name, ftrace_print_filename)
6425 (ftrace_skip_file): Change
6426 parameter to const.
6427 (ftrace_init_func): Remove.
6428 (ftrace_debug): Use new btrace_function fields.
6429 (ftrace_function_switched): Also consider gaining and
6430 losing symbol information).
6431 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6432 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6433 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6434 New.
6435 (ftrace_new_function): Move. Remove debug print.
6436 (ftrace_update_lines, ftrace_update_insns): New.
6437 (ftrace_update_function): Check for call, ret, and jump.
6438 (compute_ftrace): Renamed to ...
6439 (btrace_compute_ftrace): ...this. Rewritten to compute call
6440 stack.
6441 (btrace_fetch, btrace_clear): Updated.
6442 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6443 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6444 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6445 (btrace_call_number, btrace_call_begin, btrace_call_end)
6446 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6447 (btrace_find_function_by_number, btrace_set_insn_history)
6448 (btrace_set_call_history): New.
6449 * record-btrace.c (require_btrace): Use new btrace thread
6450 info fields.
6451 (record_btrace_info, btrace_insn_history)
6452 (record_btrace_insn_history, record_btrace_insn_history_range):
6453 Use new btrace thread info fields and new iterator.
6454 (btrace_func_history_src_line): Rename to ...
6455 (btrace_call_history_src_line): ...this. Use new btrace
6456 thread info fields.
6457 (btrace_func_history): Rename to ...
6458 (btrace_call_history): ...this. Use new btrace thread info
6459 fields and new iterator.
6460 (record_btrace_call_history, record_btrace_call_history_range):
6461 Use new btrace thread info fields and new iterator.
6462
8372a7cb
MM
64632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6464
6465 * frame.h (frame_id_build_unavailable_stack_special): New.
6466 * frame.c (frame_id_build_unavailable_stack_special): New.
6467
c2170eef
MM
64682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6469
6470 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6471 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6472 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6473 to gdbarch.
6474 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6475 (i386_insn_is_jump, i386_jmp_p): New.
6476 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6477 insn_is_jump to gdbarch.
6478 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6479 * gdbarch.h: Regenerated.
6480 * gdbarch.c: Regenerated.
6481 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6482 (default_insn_is_jump): New.
6483 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6484 (default_insn_is_jump): New.
6485
864089d2
MM
64862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6487
6488 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6489 Change to ...
6490 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6491 (btrace_read_type) <btrace_read_new>: Change to ...
6492 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6493
ed9edfb5
MM
64942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6495
6496 * common/linux-btrace.c (linux_read_btrace): Free trace from
6497 previous iteration.
6498
fbcbc3fd
DE
64992014-01-15 Doug Evans <dje@google.com>
6500
6501 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6502 uint32_t.
6503
3d548a53
TT
65042014-01-15 Tom Tromey <tromey@redhat.com>
6505
6506 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6507 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6508 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6509 (set_objfile_main_name): New function.
6510 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6511 language_of_main>: New fields.
6512 (set_objfile_main_name): Declare.
6513 * symtab.c (find_main_name): Loop over objfiles to find the main
6514 name and language.
6515 (set_main_name): Now static.
6516 (get_main_info): Add comment.
6517 * symtab.h (set_main_name): Don't declare.
6518
32ac0d11
TT
65192014-01-15 Tom Tromey <tromey@redhat.com>
6520
6521 * symtab.c (main_progspace_key): New global.
6522 (struct main_info): New.
6523 (name_of_main, language_of_main): Remove.
6524 (get_main_info, main_info_cleanup): New function.
6525 (set_main_name, main_name, main_language): Use get_main_info.
6526 (_initialize_symtab): Initialize main_progspace_key.
6527
9e6c82ad
TT
65282014-01-15 Tom Tromey <tromey@redhat.com>
6529
6530 * dbxread.c (process_one_symbol): Update.
6531 * dwarf2read.c (read_partial_die): Update.
6532 * symfile.c (set_initial_language): Call main_language.
6533 * symtab.c (language_of_main): Now static.
6534 (set_main_name): Add 'lang' parameter.
6535 (find_main_name): Update.
6536 (main_language): New function.
6537 (symtab_observer_executable_changed): Update.
6538 * symtab.h (set_main_name): Update.
6539 (language_of_main): Remove.
6540 (main_language): Declare.
6541
6ef55de7
TT
65422014-01-15 Tom Tromey <tromey@redhat.com>
6543
6544 * symfile.c (init_entry_point_info): Use new "initialized" field.
6545 Update.
6546 * objfiles.h (struct entry_point) <initialized>: New field.
6547 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6548 (struct objfile) <ei>: ...here. Remove.
6549 * objfiles.c (entry_point_address_query): Update.
6550
53eddfa6
TT
65512014-01-15 Tom Tromey <tromey@redhat.com>
6552
6553 * objfiles.c (entry_point_address_query): Relocate entry point
6554 address.
6555 (objfile_relocate1): Do not relocate entry point address.
6556 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6557 <the_bfd_section_index>: New field.
6558 * symfile.c (init_entry_point_info): Find the entry point's
6559 section.
6560
d56e56aa
TT
65612014-01-15 Tom Tromey <tromey@redhat.com>
6562
6563 * solib-frv.c (enable_break): Use entry_point_address_query.
6564
33a97bbe
OJ
65652014-01-15 Omair Javaid <omair.javaid@linaro.org>
6566
6567 * NEWS: Add note on improved process record-replay on
6568 arm*-linux* targets.
6569
c6ec2b30
OJ
65702014-01-15 Omair Javaid <omair.javaid@linaro.org>
6571
6572 * arm-tdep.c (enum arm_record_result): New enum.
6573 (arm_record_unsupported_insn): New function.
6574 (arm_record_coproc_data_proc): Removed.
6575 (thumb2_record_ld_st_multiple): New function.
6576 (thumb2_record_ld_st_dual_ex_tbb): New function.
6577 (thumb2_record_data_proc_sreg_mimm): New function.
6578 (thumb2_record_ps_dest_generic): New function.
6579 (thumb2_record_branch_misc_cntrl): New function.
6580 (thumb2_record_str_single_data): New function.
6581 (thumb2_record_ld_mem_hints): New function.
6582 (thumb2_record_ld_word): New function.
6583 (thumb2_record_lmul_lmla_div): New function.
6584 (thumb2_record_decode_insn_handler): New function.
6585 (decode_insn): Add thumb32 instruction handlers.
6586
97dfe206
OJ
65872014-01-15 Omair Javaid <omair.javaid@linaro.org>
6588
6589 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6590 (struct arm_linux_record_tdep): Declare.
6591 (arm_canonicalize_syscall): New function.
6592 (arm_all_but_pc_registers_record): New function.
6593 (arm_linux_syscall_record): New function.
6594 (arm_linux_init_abi): Add syscall recording constructs.
6595 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6596 decoding. (arm_record_coproc_data_proc): Update arm syscall
6597 decoding.
6598 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6599 <arm_syscall_record>: New field.
6600 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6601 gdb_target_obs.
6602
9904a494
OJ
66032014-01-15 Omair Javaid <omair.javaid@linaro.org>
6604
6605 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6606 register for push instruction recording.
6607
f969241e
OJ
66082014-01-15 Omair Javaid <omair.javaid@linaro.org>
6609
6610 * arm-tdep.c (thumb_record_misc): Update to correct logical
6611 error while recording ldm, ldmia and pop instructions.
6612
bfbbec00
OJ
66132014-01-15 Omair Javaid <omair.javaid@linaro.org>
6614
6615 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6616
e40adcc9
PA
66172014-01-15 Pedro Alves <palves@redhat.com>
6618
6619 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6620 (go32_resume, go32_fetch_registers, store_register)
6621 (go32_store_registers, go32_prepare_to_store)
6622 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6623 (go32_create_inferior, go32_can_run, go32_terminal_init)
6624 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6625 declarations.
6626
b0a16e66
TT
66272014-01-15 Tom Tromey <tromey@redhat.com>
6628
6629 * target.h (async_callback_ftype): New typedef.
6630 (struct target_ops) <to_async>: Use it.
6631
bf7105a4
JB
66322014-01-15 Joel Brobecker <brobecker@adacore.com>
6633
6634 * python/py-value.c (get_field_type): Remove unnecessary curly
6635 braces for single-statement if block.
6636
a8f35c2e
JB
66372014-01-15 Joel Brobecker <brobecker@adacore.com>
6638
6639 * python/py-type.c (convert_field): Add missing empty line
6640 after declarations.
6641
bb4142cf
DE
66422014-01-14 Doug Evans <dje@google.com>
6643
6644 * symfile.h (expand_symtabs_matching): Renamed from
6645 expand_partial_symbol_names. Update prototype.
6646 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6647 * symfile.c (expand_symtabs_matching): Renamed from
6648 expand_partial_symbol_names. New args file_matcher, kind.
6649 Rename arg fun to symbol_matcher.
6650 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6651 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6652 ada_expand_partial_symbol_name.
6653 (ada_make_symbol_completion_list): Update to call
6654 expand_symtabs_matching.
6655 (ada_add_global_exceptions): Call expand_symtabs_matching.
6656 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6657 call map_symbol_filenames.
6658 * symtab.c (sources_info): Update to call map_symbol_filenames.
6659 (search_symbols): Call expand_symtabs_matching.
6660 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6661 (default_make_symbol_completion_list_break_on): Update to call
6662 expand_symtabs_matching.
6663 (make_source_files_completion_list): Update to call
6664 map_symbol_filenames.
6665
206f2a57
DE
66662014-01-14 Doug Evans <dje@google.com>
6667
6668 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6669 (expand_symtabs_symbol_matcher_ftype): New typedef.
6670 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6671 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6672 * symfile.c (expand_partial_symbol_names): Update to use
6673 expand_symtabs_symbol_matcher_ftype.
6674 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6675 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6676 Arg name_matcher renamed to symbol_matcher.
6677 * psymtab.c (recursively_search_psymtabs): Update to use
6678 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6679 sym_matcher.
6680 (expand_symtabs_matching_via_partial): Update to use
6681 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6682 Arg name_matcher renamed to symbol_matcher.
6683
540c2971
DE
66842014-01-14 Doug Evans <dje@google.com>
6685
6686 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6687 (map_partial_symbol_filenames): Ditto.
6688 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6689 (map_partial_symbol_filenames): Ditto.
6690 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6691 (map_partial_symbol_filenames): Ditto.
6692 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6693 (map_partial_symbol_filenames): Ditto.
6694 * symtab.c: Delete #include "psymtab.h".
6695
8213266a
PA
66962014-01-14 Pedro Alves <palves@redhat.com>
6697 Tom Tromey <tromey@redhat.com>
6698
6699 * infrun.c (use_displaced_stepping): Use find_record_target
6700 instead of RECORD_IS_USED.
6701 (adjust_pc_after_break): Use record_full_is_used instead of
6702 RECORD_IS_USED.
6703 * record-btrace.c (record_btrace_open): Call record_preopen
6704 instead of checking RECORD_IS_USED.
6705 * record-full.c (record_full_shortname)
6706 (record_full_core_shortname): New globals.
6707 (record_full_is_used): New function.
6708 (find_full_open): Call record_preopen instead of checking
6709 RECORD_IS_USED.
6710 (init_record_full_ops): Set the target's shortname to
6711 record_full_shortname.
6712 (init_record_full_core_ops): Set the target's shortname to
6713 record_full_core_shortname.
6714 * record-full.h (record_full_is_used): Declare.
6715 * record.c (find_record_target): Make extern.
6716 (record_preopen): New function.
6717 * record.h (RECORD_IS_USED): Delete macro.
6718 (find_record_target, record_preopen): Declare functions.
6719
7ec1862d
YQ
67202014-01-14 Yao Qi <yao@codesourcery.com>
6721
6722 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6723 'len''s type to ULONGEST.
6724 (core_xfer_shared_libraries_aix): Likewise.
6725 * gdbarch.c, gdbarch.h: Regenerated.
6726 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6727 Change type of 'len' to ULONGEST.
6728 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6729 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6730
dea80a27
YQ
67312014-01-14 Yao Qi <yao@codesourcery.com>
6732
6733 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6734 type of 'len' to ULONGEST.
6735 (linux_xfer_osdata_processgroups): Likewise.
6736 (linux_xfer_osdata_threads): Likewise.
6737 (linux_xfer_osdata_fds): Likewise.
6738 (linux_xfer_osdata_isockets): Likewise.
6739 (linux_xfer_osdata_shm): Likewise.
6740 (linux_xfer_osdata_sem): Likewise.
6741 (linux_xfer_osdata_msg): Likewise.
6742 (linux_common_xfer_osdata): Likewise.
6743 (struct osdata_type) <getter>: Likewise.
6744 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6745 the declaration.
6746
b55e14c7
YQ
67472014-01-14 Yao Qi <yao@codesourcery.com>
6748
6749 * target.h (target_xfer_partial_ftype): Update.
6750 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6751 ULONGEST.
6752 * aix-thread.c (aix_thread_xfer_partial): Change type of
6753 argument 'len' to ULONGEST.
6754 * auxv.c (procfs_xfer_auxv): Likewise.
6755 (ld_so_xfer_auxv): Likewise.
6756 (memory_xfer_auxv): Likewise.
6757 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6758 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6759 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6760 * corelow.c (core_xfer_partial): Likewise.
6761 * ctf.c (ctf_xfer_partial): Likewise.
6762 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6763 '%u'.
6764 (darwin_read_dyld_info): Likewise.
6765 (darwin_xfer_partial): Likewise.
6766 * exec.c (section_table_xfer_memory_partial): Likewise.
6767 (exec_xfer_partial): Likewise.
6768 * exec.h (section_table_xfer_memory_partial): Update
6769 declaration.
6770 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6771 instead of plongest.
6772 (gnu_xfer_partial): Likewise.
6773 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6774 (ia64_hpux_xfer_solib_got): Likewise.
6775 (ia64_hpux_xfer_partial): Likewise.
6776 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6777 * inf-ptrace.c (inf_ptrace_xfer_partial):
6778 * inf-ttrace.c (inf_ttrace_xfer_partial):
6779 * linux-nat.c (linux_xfer_siginfo): Likewise.
6780 (linux_nat_xfer_partial): Likewise.
6781 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6782 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6783 * monitor.c (monitor_xfer_memory): Likewise.
6784 (monitor_xfer_partial): Likewise.
6785 * procfs.c (procfs_xfer_partial): Likewise.
6786 * record-full.c (record_full_xfer_partial): Likewise.
6787 (record_full_core_xfer_partial): Likewise.
6788 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6789 instead of plongest.
6790 (gdbsim_xfer_partial): Likewise.
6791 * remote.c (remote_xfer_partial): Likewise.
6792 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6793 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6794 declaration.
6795 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6796 (rs6000_xfer_shared_libraries): Likewise.
6797 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6798 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6799 (sparc_xfer_partial): Likewise.
6800 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6801 (spu_xfer_partial): Likewise.
6802 * spu-multiarch.c (spu_xfer_partial): Likewise.
6803 * target.c (target_read_live_memory): Likewise.
6804 (memory_xfer_live_readonly_partial): Likewise.
6805 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6806 (target_xfer_partial, default_xfer_partial): Likewise.
6807 (current_xfer_partial): Likewise.
6808 * tracepoint.c (tfile_xfer_partial): Likewise.
6809 * windows-nat.c (windows_xfer_memory): Likewise. Call
6810 pulongest instead of plongest.
6811 (windows_xfer_partial): Likewise.
6812 (windows_xfer_shared_libraries): Likewise.
6813
05804640
YQ
68142014-01-14 Yao Qi <yao@codesourcery.com>
6815
6816 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6817 target_xfer_partial_ftype.
6818
b5b08fb4
SC
68192014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6820
6821 PR python/15464
6822 PR python/16113
6823 * valops.c (value_struct_elt_bitpos): New function
6824 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6825 object to 'None' if the field name is an empty string ("").
6826 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6827 attribute to look for a field when 'name' is 'None'.
6828 (get_field_type): New function
6829
13aaf454
DE
68302014-01-13 Doug Evans <dje@google.com>
6831
6832 PR symtab/16426
6833 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6834 (try_open_dwop_file): Ditto.
6835 * gdb_bfd.c: #include "vec.h".
6836 (bfdp): New typedef.
6837 (struct gdb_bfd_data): New member included_bfds.
6838 (gdb_bfd_unref): Unref all included bfds.
6839 (gdb_bfd_record_inclusion): New function.
6840 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6841
c2cec97c
TT
68422014-01-13 Tom Tromey <tromey@redhat.com>
6843
6844 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6845
78e5999d
TT
68462014-01-13 Tom Tromey <tromey@redhat.com>
6847
6848 * defs.h (use_windows): Remove.
6849 * gdb.c (main): Update.
6850 * main.c (captured_main, gdb_main): Update.
6851 * main.h (struct captured_main_args) <use_windows>: Remove.
6852 * top.c (use_windows): Remove.
6853
f2052bbe
TT
68542014-01-13 Tom Tromey <tromey@redhat.com>
6855
6856 * defs.h (deprecated_flush_hook): Remove.
6857
fde4f8ed
JK
68582014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6859
6860 PR threads/16216
6861 * linux-thread-db.c (try_thread_db_load): Add parameter
6862 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6863 (try_thread_db_load_from_pdir_1): Move it there from here.
6864 (try_thread_db_load_from_sdir): Update caller.
6865 (try_thread_db_load_from_dir): Move it there from here.
6866
bdf61915
PP
68672014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6868
6869 * regformats/regdat.sh: Always rewrite the register file.
6870
f71e1a8d
PA
68712014-01-13 Pedro Alves <palves@redhat.com>
6872
6873 * Makefile.in (CHECK_HEADERS): New variable.
6874 (check-headers:): New rule.
6875
42c85435
TT
68762014-01-13 Tom Tromey <tromey@redhat.com>
6877
6878 * cli/cli-setshow.c (do_set_command): Update.
6879 * defs.h (deprecated_set_hook): Remove.
6880 * top.c (deprecated_set_hook): Remove.
6881
f8de5129
PA
68822014-01-13 Pedro Alves <palves@redhat.com>
6883
6884 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6885 the tracepoint if the PC is a pseudo-register.
6886
fc270c35
TT
68872014-01-13 Tom Tromey <tromey@redhat.com>
6888
6889 * defs.h (XCALLOC): Remove.
6890 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6891 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6892 * dwarf2loc.c (allocate_piece_closure): Likewise.
6893 * elfread.c (elf_symfile_segments): Likewise.
6894 (elf_symfile_segments): Likewise.
6895 * gdbtypes.c (copy_type_recursive): Likewise.
6896 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6897 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6898 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6899 XCALLOC.
6900 * mt-tdep.c (mt_gdbarch_init): Likewise.
6901 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6902 XCALLOC.
6903 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6904 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6905 * registry.c (registry_alloc_data): Likewise.
6906 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6907 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6908 * serial.c (serial_fdopen_ops): Likewise.
6909 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6910 XCALLOC.
6911 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6912 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6913 not XCALLOC.
6914
70ba0933
TT
69152014-01-13 Tom Tromey <tromey@redhat.com>
6916
6917 * defs.h (XMALLOC): Remove.
6918 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6919 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6920 * cli-out.c (struct ui_out *): Likewise.
6921 * cli/cli-dump.c (add_dump_command): Likewise.
6922 (add_dump_command): Likewise.
6923 * complaints.c (get_complaints): Likewise.
6924 (find_complaint): Likewise.
6925 * dwarf2-frame.c (execute_cfa_program): Likewise.
6926 * dwarf2read.c (abbrev_table_read_table): Likewise.
6927 * gdbarch.sh: Likewise.
6928 * gdbarch.c: Rebuild.
6929 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6930 * interps.c (interp_new): Likewise.
6931 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6932 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6933 * mi/mi-console.c (mi_console_file_new): Likewise.
6934 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6935 * mi/mi-out.c (mi_out_new): Likewise.
6936 * mi/mi-parse.c (mi_parse): Likewise.
6937 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6938 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6939 * observer.c (xalloc_observer_list_node): Likewise.
6940 * regcache.c (regcache_xmalloc_1): Likewise.
6941 * reggroups.c (reggroup_new): Likewise.
6942 (_initialize_reggroup): Likewise.
6943 * registry.c (register_data_with_cleanup): Likewise.
6944 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6945 * ser-base.c (serial_ttystate): Likewise.
6946 * ser-mingw.c (make_pipe_state): Likewise.
6947 * ser-pipe.c (pipe_open): Likewise.
6948 * serial.c (serial_open): Likewise.
6949 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6950 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6951 (tui_alloc_win_info): Likewise.
6952 (tui_add_content_elements): Likewise.
6953 * tui/tui-file.c (tui_file_new): Likewise.
6954 * tui/tui-out.c (tui_out_new): Likewise.
6955 * ui-file.c (mem_file_new): Likewise.
6956 * ui-out.c (push_level): Likewise.
6957 (make_cleanup_ui_out_end): Likewise.
6958 (append_header_to_list): Likewise.
6959 (ui_out_new): Likewise.
6960 * user-regs.c (user_reg_add_builtin): Likewise.
6961
41bf6aca
TT
69622014-01-13 Tom Tromey <tromey@redhat.com>
6963
6964 * defs.h (XZALLOC): Remove.
6965 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6966 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6967 (get_ada_tasks_inferior_data): Likewise.
6968 * auto-load.c (get_auto_load_pspace_data): Likewise.
6969 * auxv.c (get_auxv_inferior_data): Likewise.
6970 * bfd-target.c (target_bfd_reopen): Likewise.
6971 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6972 (deprecated_insert_raw_breakpoint): Likewise.
6973 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6974 * corelow.c (core_open): Likewise.
6975 * darwin-nat.c (darwin_check_new_threads): Likewise.
6976 (darwin_attach_pid): Likewise.
6977 * dummy-frame.c (dummy_frame_push): Likewise.
6978 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6979 * dwarf2loc.c (allocate_piece_closure): Likewise.
6980 * elfread.c (elf_symfile_segments): Likewise.
6981 * eval.c (ptrmath_type_p): Likewise.
6982 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6983 * gdbtypes.c (alloc_type_arch): Likewise.
6984 (alloc_type_instance): Likewise.
6985 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6986 * inf-child.c (inf_child_can_use_agent): Likewise.
6987 * inflow.c (get_inflow_inferior_data): Likewise.
6988 * infrun.c (save_infcall_suspend_state): Likewise.
6989 * jit.c (jit_reader_load): Likewise.
6990 (get_jit_objfile_data): Likewise.
6991 (get_jit_program_space_data): Likewise.
6992 (jit_object_open_impl): Likewise.
6993 (jit_symtab_open_impl): Likewise.
6994 (jit_block_open_impl): Likewise.
6995 (jit_frame_sniffer): Likewise.
6996 * linux-fork.c (add_fork): Likewise.
6997 * maint.c (make_command_stats_cleanup): Likewise.
6998 * objfiles.c (get_objfile_pspace_data): Likewise.
6999 * opencl-lang.c (struct lval_closure): Likewise.
7000 * osdata.c (osdata_start_osdata): Likewise.
7001 * progspace.c (new_address_space): Likewise.
7002 (add_program_space): Likewise.
7003 * remote-sim.c (get_sim_inferior_data): Likewise.
7004 * sh-tdep.c (sh_gdbarch_init): Likewise.
7005 * skip.c (Ignore): Likewise.
7006 (skip_delete_command): Likewise.
7007 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
7008 (library_list_start_library): Likewise.
7009 (solib_aix_current_sos): Likewise.
7010 * solib-darwin.c (get_darwin_info): Likewise.
7011 (darwin_current_sos): Likewise.
7012 * solib-dsbt.c (get_dsbt_info): Likewise.
7013 * solib-ia64-hpux.c (new_so_list): Likewise.
7014 (ia64_hpux_get_solib_linkage_addr): Likewise.
7015 * solib-spu.c (append_ocl_sos): Likewise.
7016 (spu_current_sos): Likewise.
7017 * solib-svr4.c (get_svr4_info): Likewise.
7018 (svr4_keep_data_in_core): Likewise.
7019 (library_list_start_library): Likewise.
7020 (svr4_default_sos): Likewise.
7021 (svr4_read_so_list): Likewise.
7022 * solib-target.c (library_list_start_library): Likewise.
7023 (solib_target_current_sos): Likewise.
7024 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
7025 * symfile-debug.c (install_symfile_debug_logging): Likewise.
7026 * symfile.c (default_symfile_segments): Likewise.
7027 * target-descriptions.c (tdesc_data_init): Likewise.
7028 (tdesc_create_reg): Likewise.
7029 (struct tdesc_type *): Likewise.
7030 (tdesc_create_vector): Likewise.
7031 (tdesc_set_struct_size): Likewise.
7032 (struct tdesc_type *): Likewise.
7033 (tdesc_free_feature): Likewise.
7034 (tdesc_create_feature): Likewise.
7035 * windows-nat.c (windows_add_thread): Likewise.
7036 (windows_make_so): Likewise.
7037 * xml-support.c (gdb_xml_body_text): Likewise.
7038 (gdb_xml_create_parser_and_cleanup): Likewise.
7039 (xml_process_xincludes): Likewise.
7040 * xml-syscall.c (allocate_syscalls_info): Likewise.
7041 (syscall_create_syscall_desc): Likewise.
7042
5acfdbae
SDJ
70432014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
7044
7045 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
7046 function, with code from i386_stap_parse_special_token.
7047 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7048 (i386_stap_parse_special_token): Move code to the two functions
7049 above; simplify it.
7050
0000e5cc
PA
70512014-01-09 Pedro Alves <palves@redhat.com>
7052 Hui Zhu <hui@codesourcery.com>
7053
7054 PR gdb/16101
7055 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
7056 bp_err_string. Don't mark the location shlib_disabled if the
7057 error thrown wasn't a generic or memory error. Catch errors
7058 thrown while inserting breakpoints in overlayed code. Output
7059 error message of software breakpoints.
7060 * remote.c (remote_insert_breakpoint): If this breakpoint has
7061 target-side commands but this stub doesn't support Z0 packets,
7062 throw NOT_SUPPORTED_ERROR error.
7063 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
7064 * target.h (target_insert_breakpoint): Extend comment.
7065 (target_insert_hw_breakpoint): Add comment.
7066
b7ea362b
PA
70672014-01-08 Pedro Alves <palves@redhat.com>
7068
7069 * remote.c (remote_add_thread): Add threads silently if starting
7070 up.
7071 (remote_notice_new_inferior): If in all-stop, and starting up,
7072 don't call notice_new_inferior.
7073 (get_current_thread): New function, factored out from ...
7074 (add_current_inferior_and_thread): ... this. Adjust.
7075 (remote_start_remote) <all-stop>: Fetch the thread list. If we
7076 found any thread, then select the remote's current thread as GDB's
7077 current thread too.
7078
b7bba001
JB
70792014-01-08 Joel Brobecker <brobecker@adacore.com>
7080
7081 * NEWS: Create a new section for the next release branch.
7082 Rename the section of the current branch, now that it has
7083 been cut.
7084
16dfbded
JB
70852014-01-08 Joel Brobecker <brobecker@adacore.com>
7086
7087 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
7088 * version.in: Bump version to 7.7.50.DATE-cvs.
7089
22c90ac1
YQ
70902014-01-08 Yao Qi <yao@codesourcery.com>
7091
7092 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
7093 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
7094 (spu_xfer_partial): Cast 'buf' to 'const char *'.
7095
d64ad97c
YQ
70962014-01-08 Yao Qi <yao@codesourcery.com>
7097
7098 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
7099 return value of bfd_get_filename to symbol_file_add_from_bfd.
7100
f93ba80c
PM
71012014-01-08 Pierre Muller <muller@sourceware.org>
7102
7103 Fix PR16201.
7104 * coff-pe-read.c (struct read_pe_section_data): Add index field.
7105 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
7106 to prim_record_mininal_symbol_and_info.
7107 (add_pe_forwarded_sym): Use known section number of forwarded symbol
7108 in call to prim_record_minimal_symbol_and_info.
7109 (read_pe_exported_syms): Set index field of section_data.
7110
a4d9ba85
AP
71112014-01-07 Andrew Pinski <apinski@cavium.com>
7112
7113 * features/aarch64-core.xml (cpsr): Change to be 64bit.
7114 * features/aarch64.c: Regenerate.
7115
1b67eb02
AS
71162014-01-07 Andreas Schwab <schwab@linux-m68k.org>
7117
7118 * target.c (return_null): Define.
7119 (update_current_target): Use it instead of return_zero for
7120 functions that return a pointer.
7121
5e3f4fab
EBM
71222014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7123
7124 * source.c (add_path): Fix check for duplicated paths in the previously
7125 included paths.
7126
e2616788
HK
71272014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
7128
7129 * ada-lang.c: Remove duplicated include statements.
7130 * alphabsd-nat.c: Ditto.
7131 * amd64-darwin-tdep.c: Ditto.
7132 * amd64fbsd-nat.c: Ditto.
7133 * auto-load.c: Ditto.
7134 * ax-gdb.c: Ditto.
7135 * breakpoint.c: Ditto.
7136 * dbxread.c: Ditto.
7137 * fork-child.c: Ditto.
7138 * gdb_usleep.c: Ditto.
7139 * i386-darwin-tdep.c: Ditto.
7140 * i386fbsd-nat.c: Ditto.
7141 * infcmd.c: Ditto.
7142 * inferior.c: Ditto.
7143 * jv-lang.c: Ditto.
7144 * linux-nat.c: Ditto.
7145 * linux-tdep.c: Ditto.
7146 * m68kbsd-nat.c: Ditto.
7147 * m68klinux-nat.c: Ditto.
7148 * microblaze-tdep.c: Ditto.
7149 * mips-linux-tdep.c: Ditto.
7150 * mn10300-tdep.c: Ditto.
7151 * nto-tdep.c: Ditto.
7152 * opencl-lang.c: Ditto.
7153 * osdata.c: Ditto.
7154 * printcmd.c: Ditto.
7155 * regcache.c: Ditto.
7156 * remote-m32r-sdi.c: Ditto.
7157 * remote.c: Ditto.
7158 * symfile.c: Ditto.
7159 * symtab.c: Ditto.
7160 * tilegx-linux-nat.c: Ditto.
7161 * tilegx-tdep.c: Ditto.
7162 * tracepoint.c: Ditto.
7163 * valops.c: Ditto.
7164 * vaxbsd-nat.c: Ditto.
7165 * windows-nat.c: Ditto.
7166 * xtensa-tdep.c: Ditto.
7167
bd1f7788
YQ
71682014-01-07 Yao Qi <yao@codesourcery.com>
7169
7170 * spu-linux-nat.c (_initialize_spu_nat): Declare.
7171
79301218
JB
71722014-01-07 Yao Qi <yao@codesourcery.com>
7173 Joel Brobecker <brobecker@adacore.com>
7174
7175 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
7176 (pdc_write_regs): Likewise.
7177 (fetch_regs_kernel_thread): Likewise.
7178 (store_regs_kernel_thread): Likewise.
7179
71802014-01-07 Joel Brobecker <brobecker@adacore.com>
7181
7182 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
7183 tagged type objects to their actual type.
7184
8e355c5d
JB
71852014-01-07 Joel Brobecker <brobecker@adacore.com>
7186
7187 * ada-valprint.c (print_field_values): Add "language" parameter.
7188 Update calls to print_field_values and print_variant_part.
7189 Pass new parameter "language" in call to val_print instead
7190 of "current_language". Replace call to ada_val_print by call
7191 to val_print.
7192 (print_variant_part): Add "language" parameter.
7193 (ada_val_print_struct_union): Update call to print_field_values.
7194
4fbf5aa5
JB
71952014-01-07 Joel Brobecker <brobecker@adacore.com>
7196
7197 * ada-valprint.c (ui_memcpy): Delete.
7198 (ada_print_floating): Update documentation. Add empty line
7199 between between function documentation and implementation.
7200 Delete variable "buffer". Use ui_file_xstrdup in place of
7201 ui_file_put. Minor adjustments following this change.
7202
71855601
JB
72032014-01-07 Joel Brobecker <brobecker@adacore.com>
7204
7205 * ada-valprint.c (ada_val_print_string): New function,
7206 extracted from ada_val_print_array.
7207 (ada_val_print_array): Replace extracted code by call
7208 to ada_val_print_string followed by a return. Move
7209 "else" branch to the function's top block.
7210
4eb27a30
JB
72112014-01-07 Joel Brobecker <brobecker@adacore.com>
7212
7213 * ada-valprint.c (ada_val_print_array): Move implementation
7214 down. Rename parameter "offset" and "val" into "offset_aligned"
7215 and "original_value" respectively. Add parameter "offset".
7216
34b27950
JB
72172014-01-07 Joel Brobecker <brobecker@adacore.com>
7218
7219 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
7220 re-organizing the code. Change the "???" message printed
7221 when target type is a TYPE_CODE_UNDEF into
7222 "<ref to undefined type>".
7223
079e4591
JB
72242014-01-07 Joel Brobecker <brobecker@adacore.com>
7225
7226 * ada-valprint.c (print_record): Delete, implementation inlined...
7227 (ada_val_print_struct_union): ... here. Remove call to
7228 ada_check_typedef in inlined implementation.
7229
8004dfd1
JB
72302014-01-07 Joel Brobecker <brobecker@adacore.com>
7231
7232 * ada-valprint.c (ada_val_print_gnat_array): New function,
7233 extracted from ada_val_print_1;
7234 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
7235 (ada_val_print_flt, ada_val_print_struct_union)
7236 (ada_val_print_ref): Likewise.
7237 (ada_val_print_1): Delete variables i and elttype.
7238 Replace extracted-out code by call to corresponding
7239 new functions.
7240
760a2db0
JB
72412014-01-07 Joel Brobecker <brobecker@adacore.com>
7242
7243 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
7244
3a92c861
JB
72452014-01-07 Joel Brobecker <brobecker@adacore.com>
7246
7247 * ada-valprint.c (ada_val_print_1): Replace calls to
7248 ada_val_print_1 by calls to val_print.
7249
cd1630f9
JB
72502014-01-07 Joel Brobecker <brobecker@adacore.com>
7251
7252 * ada-valprint.c (ada_val_print_1): Add parameter "language".
7253 Update calls to self accordingly. Replace calls to c_val_print
7254 by calls to val_print.
7255
bdf779a0
JB
72562014-01-07 Joel Brobecker <brobecker@adacore.com>
7257
7258 * ada-valprint.c (print_record): Delete declaration.
7259 (adjust_type_signedness, ada_val_print_1): Likewise.
7260 (ada_val_print): Move function implementation down.
7261 (print_variant_part, print_field_values, print_record):
7262 Move function implementation up.
7263
c0d48811
JB
72642014-01-07 Joel Brobecker <brobecker@adacore.com>
7265
7266 * python/py-type.c (typy_get_name): New function.
7267 (type_object_getset): Add entry for attribute "name".
7268 * NEWS: Add entry mentioning this new attribute.
7269
c26e9cbb
YQ
72702014-01-07 Yao Qi <yao@codesourcery.com>
7271
7272 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7273 statement.
7274
0cc6f43d
YQ
72752014-01-07 Yao Qi <yao@codesourcery.com>
7276
7277 * gnu-nat.c (info_port_rights): Add qualifier const to
7278 argument args.
7279
eec03155
YQ
72802014-01-07 Yao Qi <yao@codesourcery.com>
7281
7282 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7283
f04a82ef
YQ
72842014-01-07 Yao Qi <yao@codesourcery.com>
7285
7286 * gnu-nat.c (make_inf) Update declaration.
7287 (make_inf): Make it static.
7288 (inf_set_traced): Likewise.
7289 (inf_port_to_thread, inf_task_died_status): Likewise.
7290
d57dda0a
YQ
72912014-01-07 Yao Qi <yao@codesourcery.com>
7292
7293 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7294
3aa8c969
YQ
72952014-01-07 Yao Qi <yao@codesourcery.com>
7296
7297 * gnu-nat.c (_initialize_gnu_nat): Declare.
7298
94123b4f
YQ
72992014-01-07 Yao Qi <yao@codesourcery.com>
7300
7301 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7302 'enum bfd_endian'.
7303 (struct gdbarch_info) <byte_order>: Change type to
7304 'enum bfd_endian'.
7305 <byte_order_for_code>: Likewise.
7306 * gdbarch.c, gdbarch.h: Regenerated.
7307
dc81d70a
TT
73082014-01-06 Sasha Smundak <asmundak@google.com>
7309
7310 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7311
cc2f3c35
TT
73122014-01-06 Tom Tromey <tromey@redhat.com>
7313
7314 * doublest.c (convert_doublest_to_floatformat): Use const, not
7315 CONST.
7316 * somread.c (som_symtab_read): Likewise.
7317
adcf2eed
HZ
73182014-01-07 Hui Zhu <hui@codesourcery.com>
7319
7320 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7321 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7322 (gdb_bfd_fopen): Ditto.
7323 (gdb_bfd_openr): Ditto.
7324 (gdb_bfd_openw): Ditto.
7325 (gdb_bfd_openr_iovec): Ditto.
7326 (gdb_bfd_fdopenr): Ditto.
7327 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7328 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7329 with xstrdup.
7330 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7331 with xstrdup.
7332 * symfile-mem.c (symbol_file_add_from_memory): Removed
7333 gdb_bfd_stash_filename.
7334
50722198
DE
73352014-01-03 Doug Evans <dje@google.com>
7336
7337 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7338 output.
7339
2fa4b862
JB
73402014-01-01 Joel Brobecker <brobecker@adacore.com>
7341
7342 Update year range in copyright notice of all files.
7343
28498c42
JB
73442014-01-01 Joel Brobecker <brobecker@adacore.com>
7345
7346 * top.c (print_gdb_version): Set copyright year to 2014.
7347
7b6e1046
JB
73482014-01-01 Joel Brobecker <brobecker@adacore.com>
7349
7350 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7351
df96af55 7352For older changes see ChangeLog-2013.
c906108c
SS
7353\f
7354Local Variables:
7355mode: change-log
7356left-margin: 8
7357fill-column: 74
7358version-control: never
57da7796 7359coding: utf-8
c906108c 7360End:
This page took 2.586788 seconds and 4 git commands to generate.