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