daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9b94fcf1
DE
12014-09-02 Doug Evans <dje@google.com>
2
3 * typeprint.c (find_global_typedef): Fix comment.
4
df7e5265
GB
52014-09-02 Gary Benson <gbenson@redhat.com>
6
7 * i386-nat.h: Renamed as...
8 * x86-nat.h: New file. All type, function and variable name
9 prefixes changed from "i386_" to "x86_". All references updated.
10 * i386-nat.c: Renamed as...
11 * x86-nat.c: New file. All type, function and variable name
12 prefixes changed from "i386_" to "x86_". All references updated.
13 * common/i386-xstate.h: Renamed as...
14 * common/x86-xstate.h: New file. All type, function and variable
15 name prefixes changed from "i386_" to "x86_". All references
16 updated.
17 * nat/i386-cpuid.h: Renamed as...
18 * nat/x86-cpuid.h: New file. All type, function and variable name
19 prefixes changed from "i386_" to "x86_". All references updated.
20 * nat/i386-gcc-cpuid.h: Renamed as...
21 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
22 name prefixes changed from "i386_" to "x86_". All references
23 updated.
24 * nat/i386-dregs.h: Renamed as...
25 * nat/x86-dregs.h: New file. All type, function and variable name
26 prefixes changed from "i386_" to "x86_". All references updated.
27 * nat/i386-dregs.c: Renamed as...
28 * nat/x86-dregs.c: New file. All type, function and variable name
29 prefixes changed from "i386_" to "x86_". All references updated.
30
1c3569d4
MR
312014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
32
33 * varobj.c (_initialize_varobj): Move to the end of file.
34
ff55e1b5
GB
352014-08-29 Gary Benson <gbenson@redhat.com>
36
37 * common/common-exceptions.h: New file.
38 * common/common-exceptions.c: Likewise.
39 * Makefile.in (SFILES): Add common/common-exceptions.c.
40 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
41 (COMMON_OBS): Add common-exceptions.o.
42 (common-exceptions.o): New rule.
43 * exceptions.h (common-exceptions.h): Include.
44 (gdb_setjmp.h): Do not include.
45 (return_reason): Moved to common-exceptions.h.
46 (enum return_reason): Likewise.
47 (RETURN_MASK): Likewise.
48 (typedef return_mask): Likewise.
49 (enum errors): Likewise.
50 (struct gdb_exception): Likewise.
51 (exceptions_state_mc_init): Likewise.
52 (exceptions_state_mc_action_iter): Likewise.
53 (exceptions_state_mc_action_iter_1): Likewise.
54 (TRY_CATCH): Likewise.
55 (throw_exception): Likewise.
56 (throw_verror): Likewise.
57 (throw_vquit): Likewise.
58 (throw_error): Likewise.
59 (throw_quit): Likewise.
60 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
61 (enum catcher_action): Likewise.
62 (struct catcher): Likewise.
63 (current_catcher): Likewise.
64 (catcher_list_size): Likewise.
65 (exceptions_state_mc_init): Likewise.
66 (catcher_pop): Likewise.
67 (exceptions_state_mc): Likewise.
68 (exceptions_state_mc_action_iter): Likewise.
69 (exceptions_state_mc_action_iter_1): Likewise.
70 (throw_exception): Likewise.
71 (exception_messages): Likewise.
72 (exception_messages_size): Likewise.
73 (throw_it): Likewise.
74 (throw_verror): Likewise.
75 (throw_vquit): Likewise.
76 (throw_error): Likewise.
77 (throw_quit): Likewise.
78 (prepare_to_throw_exception): New function.
79
e9bcb658
GB
802014-08-29 Gary Benson <gbenson@redhat.com>
81
82 * common/gdb_setjmp.h: New file.
83 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
84 * configure.ac: Move sigsetjmp check...
85 * common/common.m4: ...here.
86 * configure: Regenerate.
87 * cp-support.c (SIGJMP_BUF): Delete.
88 (SIGSETJMP): Likewise.
89 (SIGLONGJMP): Likewise.
90 * exceptions.h (gdb_setjmp.h): Include.
91 (setjmp.h): Do not include.
92 (EXCEPTIONS_SIGJMP_BUF): Delete.
93 (EXCEPTIONS_SIGSETJMP): Likewise.
94 (EXCEPTIONS_SIGLONGJMP): Likewise.
95 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
96 from gdb_setjmp.h.
97 * exceptions.c: Likewise.
98
e3180625
GB
992014-08-29 Gary Benson <gbenson@redhat.com>
100
101 * cleanups.h: Moved to...
102 * common/cleanups.h: New file.
103 * cleanups.c: Moved to...
104 * common/cleanups.c: New file. Include common-defs.h and
105 cleanups.h. Do not include defs.h.
106 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
107 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
108 (cleanups.o): New rule.
109
e3d6ba5d
GB
1102014-08-29 Gary Benson <gbenson@redhat.com>
111
112 * common/errors.h (internal_warning): New declaration.
113 (internal_vwarning): Likewise.
114 * common/errors.c (internal_warning): New function.
115 * utils.h (internal_warning): Don't declare.
116 (internal_vwarning): Likewise.
117 * utils.c (internal_warning): Removed.
118
075c7033
GB
1192014-08-29 Gary Benson <gbenson@redhat.com>
120
121 * main.c (captured_main): Use warning during startup.
122 Prefix startup warning messages with command name.
123
91b35fd0
GB
1242014-08-29 Gary Benson <gbenson@redhat.com>
125
126 * main.c (captured_main): Handle usage errors with error.
127
b1ec390e
GB
1282014-08-29 Gary Benson <gbenson@redhat.com>
129
130 * go32-nat.c (go32_create_inferior): Replace a fprintf/
131 exit pair with a call to error. Wrap the message with _().
132
fd0ef3dd
GB
1332014-08-29 Gary Benson <gbenson@redhat.com>
134
135 * main.c (captured_main): Replace a fprintf/exit
136 pair with a call to error. Wrap the message with _().
137
e0e6bcab
GB
1382014-08-29 Gary Benson <gbenson@redhat.com>
139
140 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
141 pairs with calls to error. Wrap the message with _().
142
0d2f5c07
GB
1432014-08-29 Gary Benson <gbenson@redhat.com>
144
145 * utils.c (vwarning): Protect calls to target_terminal_ours
146 and wrap_here.
147
5df43998
GB
1482014-08-29 Gary Benson <gbenson@redhat.com>
149
150 * exceptions.c (print_flush): Protect calls to
151 target_terminal_ours and wrap_here.
152
2437fd32
GB
1532014-08-29 Gary Benson <gbenson@redhat.com>
154
155 * utils.h (filtered_printing_initialized): New declaration.
156 * utils.c (abort_with_message): New function.
157 (internal_vproblem): Use abort_with_message for first level
158 recursive internal problems, and if gdb_stderr is not set up.
159 Protect calls to target_terminal_ours, begin_line and query.
160
f1f58506
DE
1612014-08-28 Doug Evans <dje@google.com>
162
163 * symtab.c (in_prologue): Move definition to better spot.
164 (skip_prologue_using_sal): Ditto.
165
aab2f208
DE
1662014-08-28 Doug Evans <dje@google.com>
167
168 * symtab.c (find_function_start_sal): Move definition to better spot.
169
6b65d1b6
YQ
1702014-08-28 Yao Qi <yao@codesourcery.com>
171
172 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
173 found_stack_adjust in forward scan. Remove condition check
174 on found_stack_adjust which is always true. Indent the code.
175
a1b34d15
YQ
1762014-08-28 Yao Qi <yao@codesourcery.com>
177
178 * dwarf2read.c (dwarf_decode_lines): Update declaration.
179 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
180 (dwarf_decode_lines): Remove argument
181 want_line_info. Remove condition check on want_line_info.
182 Callers update.
183
d5962de5
DE
1842014-08-27 Doug Evans <dje@google.com>
185
186 * dwarf2read.c (dwarf_record_line): Fix typo.
187
9b139002
SDJ
1882014-08-27 Patrick Palka <patrick@parcs.ath.cx>
189
190 * target.h (struct target_ops::to_terminal_save_ours): Remove
191 declaration.
192 (target_terminal_save_ours): Remove macro.
193 * target-delegates.c: Regenerate.
194 * inf-child.c (inf_child_target): Don't set the nonexistent
195 field to_terminal_save_ours.
196 * inferior.h (child_terminal_save_ours): Remove declaration.
197 * terminal.h (gdb_save_tty_state): New declaration.
198 * inflow.c (child_terminal_save_ours): Rename to ...
199 (gdb_save_tty_state): ... this.
200 * tui/tui.c: Include terminal.h.
201 (tui_enable): Use gdb_save_tty_state instead of
202 target_terminal_save_ours.
203 (tui_disable): Likewise.
204
9debeba0
DE
2052014-08-25 Doug Evans <dje@google.com>
206
207 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
208 Pass NULL instead of 0 for context pointer.
209
428fc5fc
YQ
2102014-08-25 Yao Qi <yao@codesourcery.com>
211
212 * dwarf2read.c: Fix grammatical error.
213
cdc07690
YQ
2142014-08-24 Yao Qi <yao@codesourcery.com>
215
216 * dwarf2read.c (scan_partial_symbols): Update comments.
217 Rename argument 'need_pc' with 'set_addrmap'.
218 (add_partial_namespace): Rename argument 'need_pc' with
219 'set_addrmap'.
220 (add_partial_module): Likewise.
221 (add_partial_subprogram): Likewise. Update comments.
222 (dwarf2_name): Fix typo.
223
a05a36a5
DE
2242014-08-22 Doug Evans <dje@google.com>
225
226 PR 17276
227 * dwarf2read.c (dwarf_record_line_p): New function.
228 (dwarf_decode_lines_1): Ignore subsequent line number entries
229 for the same line if any entry had a non-zero discriminator.
230
252a6764
DE
2312014-08-22 Doug Evans <dje@google.com>
232
233 * buildsym.h (record_line_ftype): New typedef.
234 (record_line): Use it.
235 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
236 (dwarf_decode_lines_1): Call them.
237
510db052
YQ
2382014-08-22 Yao Qi <yao@codesourcery.com>
239
240 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
241 (ctf_end): Remove code.
242
22fd09ae
JK
2432014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
244
245 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
246 (linux_make_corefile_notes): call update_thread_list, protected against
247 exceptions.
248
656e8868
PA
2492014-08-21 Pedro Alves <palves@redhat.com>
250
251 * infcmd.c (attach_command): Remove comment.
252
de589d04
WN
2532014-08-21 Bin Cheng <bin.cheng@arm.com>
254
255 * aarch64-linux-nat.c (dr_changed_t): Change the type from
256 unsigned LONGEST to ULONGEST.
257
2a31c623
PA
2582014-08-20 Pedro Alves <palves@redhat.com>
259
260 * Makefile.in (check-read1): New rule.
261
d36430db
JB
2622014-08-20 Joel Brobecker <brobecker@adacore.com>
263
264 * value.c (value_from_contents_and_address): Strip resolved_type's
265 typedef layers before checking its TYPE_DATA_LOCATION.
266
000339af
PA
2672014-08-20 Pedro Alves <palves@redhat.com>
268
269 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
270
5f52445b
YQ
2712014-08-20 Yao Qi <yao@codesourcery.com>
272
273 * amd64-tdep.c (amd64_classify): Add a blank line after the
274 example. Move "*/" to a new line.
275 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
276 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
277 * dwarf2read.c (psymtab_include_file_name): Likewise.
278
9a0dc9e3
PA
2792014-08-19 Andrew Burgess <aburgess@broadcom.com>
280 Pedro Alves <palves@redhat.com>
281
282 PR symtab/14604
283 PR symtab/14605
284 * ada-lang.c (coerce_unspec_val_to_type): Use
285 value_contents_copy_raw.
286 * ada-valprint.c (val_print_packed_array_elements): Adjust.
287 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
288 * cp-valprint.c (cp_print_value_fields): Let the common printing
289 code handle optimized out values.
290 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
291 * d-valprint.c (dynamic_array_type): Use
292 value_bits_any_optimized_out.
293 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
294 check_any_valid fields.
295 (check_pieced_value_bits): Delete and inline ...
296 (check_pieced_synthetic_pointer): ... here.
297 (check_pieced_value_validity): Delete.
298 (check_pieced_value_invalid): Delete.
299 (pieced_value_funcs): Remove check_validity and check_any_valid
300 fields.
301 (read_pieced_value): Use mark_value_bits_optimized_out.
302 (write_pieced_value): Switch to use
303 mark_value_bytes_optimized_out.
304 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
305 of assuming the whole value is optimized out.
306 * findvar.c (read_frame_register_value): Remove special handling
307 of optimized out registers.
308 (value_from_register): Use mark_value_bytes_optimized_out.
309 * frame-unwind.c (frame_unwind_got_optimized): Use
310 mark_value_bytes_optimized_out.
311 * jv-valprint.c (java_value_print): Adjust.
312 (java_print_value_fields): Let the common printing code handle
313 optimized out values.
314 * mips-tdep.c (mips_print_register): Remove special handling of
315 optimized out registers.
316 * opencl-lang.c (lval_func_check_validity): Delete.
317 (lval_func_check_any_valid): Delete.
318 (opencl_value_funcs): Remove check_validity and check_any_valid
319 fields.
320 * p-valprint.c (pascal_object_print_value_fields): Let the common
321 printing code handle optimized out values.
322 * stack.c (read_frame_arg): Remove special handling of optimized
323 out values. Fetch both VAL and ENTRYVAL before comparing
324 contents. Adjust to value_available_contents_eq rename.
325 * valprint.c (valprint_check_validity)
326 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
327 (val_print_array_elements): Adjust.
328 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
329 (value_bits_any_optimized_out): New function.
330 (value_entirely_covered_by_range_vector): New function, factored
331 out from value_entirely_unavailable.
332 (value_entirely_unavailable): Reimplement.
333 (value_entirely_optimized_out): New function.
334 (insert_into_bit_range_vector): New function, factored out from
335 mark_value_bits_unavailable.
336 (mark_value_bits_unavailable): Reimplement.
337 (struct ranges_and_idx): New struct.
338 (find_first_range_overlap_and_match): New function, factored out
339 from value_available_contents_bits_eq.
340 (value_available_contents_bits_eq): Rename to ...
341 (value_contents_bits_eq): ... this. Check both unavailable
342 contents and optimized out contents.
343 (value_available_contents_eq): Rename to ...
344 (value_contents_eq): ... this.
345 (allocate_value_lazy): Remove reference to the old optimized_out
346 boolean.
347 (allocate_optimized_out_value): Use
348 mark_value_bytes_optimized_out.
349 (require_not_optimized_out): Adjust to check whether the
350 optimized_out vec is empty.
351 (ranges_copy_adjusted): New function, factored out from
352 value_contents_copy_raw.
353 (value_contents_copy_raw): Also copy the optimized out ranges.
354 Assert the destination ranges aren't optimized out.
355 (value_contents_copy): Update comment, remove call to
356 require_not_optimized_out.
357 (value_contents_equal): Adjust to check whether the optimized_out
358 vec is empty.
359 (set_value_optimized_out, value_optimized_out_const): Delete.
360 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
361 New functions.
362 (value_entirely_optimized_out, value_bits_valid): Delete.
363 (value_copy): Take a VEC copy of the 'optimized_out' field.
364 (value_primitive_field): Remove special handling of optimized out.
365 (value_fetch_lazy): Assert that lazy values have no unavailable
366 regions. Use value_bits_any_optimized_out. Remove some special
367 handling for optimized out values.
368 * value.h: Add intro comment about <optimized out> and
369 <unavailable>.
370 (struct lval_funcs): Remove check_validity and check_any_valid
371 fields.
372 (set_value_optimized_out, value_optimized_out_const): Remove.
373 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
374 New declarations.
375 (value_bits_any_optimized_out): New declaration.
376 (value_bits_valid): Delete declaration.
377 (value_available_contents_eq): Rename to ...
378 (value_contents_eq): ... this, and extend comments.
379
6694c411
JK
3802014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
381
382 Fix -fsanitize=address on unreadable inferior strings.
383 * valprint.c (val_print_string): Fix access before BUFFER.
384
89a1c21a
SM
3852014-08-19 Simon Marchi <simon.marchi@ericsson.com>
386
387 * target.c (target_struct_size): Remove.
388 (target_struct_allocsize): Remove.
389 (DEFAULT_ALLOCSIZE): Remove.
390 (target_ops_p): New typedef.
391 (DEF_VEC_P (target_ops_p)): New vector type.
392 (target_structs): Change type to VEC (target_ops_p).
393 (add_target_with_completer): Replace "push" code by VEC_safe_push.
394 (find_default_run_target): Rewrite for loop following changes to
395 target_structs.
396
cb417230
JB
3972014-08-19 Joel Brobecker <brobecker@adacore.com>
398
399 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
400 Adjust code accordingly. Adjust function description comment.
401
817e0957
YQ
4022014-08-19 Yao Qi <yao@codesourcery.com>
403
404 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
405 types.
406
2974be62
AM
4072014-08-19 Alan Modra <amodra@gmail.com>
408
409 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
410 * config.in: Regenerate.
411 * configure: Regenerate.
412
34abf635
GB
4132014-08-19 Tom Tromey <tromey@redhat.com>
414 Gary Benson <gbenson@redhat.com>
415
416 * common/common-debug.h: New file.
417 * common/common-debug.c: Likewise.
418 * debug.c: Likewise.
419 * Makefile.in (SFILES): Add common/common-debug.c.
420 (HFILES_NO_SRCDIR): Add common/common-debug.h.
421 (COMMON_OBS): Add common-debug.o and debug.o.
422 (common-debug.o): New rule.
423 * common/common-defs.h: Include common-debug.h.
424 * common/agent.c (debug_agent_printf): New function.
425 (DEBUG_AGENT): Redefine.
426 * nat/i386-dregs.c (debug_printf): Undefine.
427
f6e94d78
GB
4282014-08-19 Gary Benson <gbenson@redhat.com>
429
430 * common/common-defs.h: Include print-utils.h.
431 * utils.h: Do not include print-utils.h.
432
9239eeab
GB
4332014-08-19 Tom Tromey <tromey@redhat.com>
434 Gary Benson <gbenson@redhat.com>
435
436 * common/common-types.h: New file.
437 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
438 * common/common-defs.h: Include common-types.h.
439 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
440 (ULONGEST): Remove.
441
ef87c8bb
GB
4422014-08-19 Tom Tromey <tromey@redhat.com>
443 Gary Benson <gbenson@redhat.com>
444
445 * common/errors.h: New file.
446 * common/errors.c: Likewise.
447 * Makefile.in (SFILES): Add common/errors.c.
448 (HFILES_NO_SRCDIR): Add common/errors.h.
449 (COMMON_OBS): Add errors.o.
450 (errors.o): New rule.
451 * common/common-defs.h: Include errors.h.
452 * utils.h (perror_with_name, error, verror, warning, vwarning):
453 Don't declare.
454 * common/common-utils.h: (malloc_failure, internal_error):
455 Likewise.
456
196a707b
GB
4572014-08-19 Gary Benson <gbenson@redhat.com>
458
459 * utils.c (internal_vproblem): Always print the message.
460
ded4fc8f
DE
4612014-08-18 Doug Evans <dje@google.com>
462
463 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
464
950c97d8
JB
4652014-08-18 Joel Brobecker <brobecker@adacore.com>
466
467 * ada-typeprint.c (type_is_full_subrange_of_target_type):
468 Return 0 if TYPE is dynamic.
469 (print_range): Add handling of dynamic ranges.
470
3cdcd0ce
JB
4712014-08-18 Keven Boell <keven.boell@intel.com>
472 Joel Brobecker <brobecker@adacore.com>
473
474 * gdbtypes.h (struct main_type): Add field "data_location".
475 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
476 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
477 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
478 a dynamic data location.
479 (resolve_dynamic_type): Add DW_AT_data_location handling.
480 (copy_recursive, copy_type): Copy the data_location information
481 when present.
482 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
483 * value.c (value_from_contents_and_address): Add
484 DW_AT_data_location handling.
485
08412b07
JB
4862014-08-18 Keven Boell <keven.boell@intel.com>
487 Joel Brobecker <brobecker@adacore.com>
488
489 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
490 field "get_object_address".
491 * dwarf2expr.c (execute_stack_op): Add handling for
492 DW_OP_push_object_address.
493 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
494 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
495 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
496 (dwarf_expr_get_obj_addr): New function.
497 (dwarf_expr_ctx_funcs): Add get_object_address field.
498 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
499 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
500 (dwarf2_evaluate_property): Add parameter "address". Use it.
501 (needs_get_obj_addr): New function.
502 (needs_frame_ctx_funcs): Add get_object_address field.
503 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
504 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
505 (resolve_dynamic_array): Likewise.
506
84754697
JB
5072014-08-18 Joel Brobecker <brobecker@adacore.com>
508
509 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
510 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
511 fixed value for records and unions for which some GNAT encodings
512 are present.
513
da5c522f
JB
5142014-08-18 Joel Brobecker <brobecker@adacore.com>
515
516 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
517 rewrite to avoid "else if" and "else" constructs. Should be
518 a no-op in practice.
519
0d72a7c3
JB
5202014-08-18 Joel Brobecker <brobecker@adacore.com>
521
522 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
523 of lexical block.
524
e66d4446
SC
5252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
526
527 PR c++/17132
528 * eval.c: Update all calls to find_overload_match.
529 * valarith.c: Likewise.
530 (value_user_defined_cpp_op, value_user_defined_op): New
531 argument NOSIDE. Update all callers.
532 * valops.c (find_overload_match): New argument NOSIDE.
533 * value.h (find_overload_match): Update signature.
534
940df408
SC
5352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
536
537 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
538 'items' methods instead of 'iteritems' method on dictionaries.
539
699ca60a
DE
5402014-08-15 Doug Evans <dje@google.com>
541
542 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
543 closer to use.
544
37780ee5
DE
5452014-08-15 Doug Evans <dje@google.com>
546
547 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
548
0ad93d4f
DE
5492014-08-15 Doug Evans <dje@google.com>
550
551 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
552
20d8c372
DE
5532014-08-15 Doug Evans <dje@google.com>
554
555 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
556 unused.
557
cb039ba4
EZ
5582014-08-15 Eli Zaretskii <eliz@gnu.org>
559
560 * dcache.h: Include target.h, to avoid compile time warnings.
561
eb7a547a
JB
5622014-08-15 Joel Brobecker <brobecker@adacore.com>
563
564 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
565 frame_info" partial declaration.
566 * gdbarch.h: Regenerate.
567
783cecc8
YQ
5682014-08-15 Yao Qi <yao@codesourcery.com>
569
570 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
571 Add parameter 'decode_for_pst_p'. Callers update.
572
65c749e7
YQ
5732014-08-13 Yao Qi <yao@codesourcery.com>
574
575 PR build/17104
576 * configure.ac: Use local variable 'pos'.
577 * configure: Regenerated.
578
d769e349
DE
5792014-08-11 Doug Evans <dje@google.com>
580
581 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
582 message, it is redundant with "Reading symbols from ..." message.
583
24f1235e
DE
5842014-08-10 Doug Evans <xdje42@gmail.com>
585
586 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
587
dcd2e6ef
YQ
5882014-08-09 Yao Qi <yao@codesourcery.com>
589
590 PR remote/9053
591 * remote.c (remote_xfer_partial): Remove dead code.
592
070bdf0b
AA
5932014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
594
595 * ia64-linux-tdep.c: Include "regset.h".
596 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
597 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
598 (ia64_linux_supply_fpregset): New function.
599 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
600 (ia64_linux_regset_from_core_section): New function.
601 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
602 method.
603
08f9f542
AA
6042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
605
606 * m68klinux-tdep.c: Include "regset.h".
607 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
608 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
609 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
610 (m68k_linux_regset_from_core_section): New function.
611 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
612 method.
613
8f1cee41
AA
6142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
615
616 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
617 function. Move logic to...
618 (tilegx_linux_regmap): ... this new register map.
619 (tilegx_linux_regset): Refer to register map, replace supply
620 method by regcache_supply_regset, and add collect method.
621 * tilegx-tdep.h (enum tilegx_regnum): New enum value
622 TILEGX_FIRST_EASY_REGNUM.
623
c5741217
AA
6242014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
625
626 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
627 that calls regcache_supply_regset and handles the EPC register
628 separately. Move main logic to...
629 (score7_linux_gregmap): ... this new register map.
630 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
631 (score7_linux_gregset): Refer to register map. Add collect method.
632 (score7_linux_regset_from_core_section): Replace
633 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
634 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
635 (struct regset): Delete unused forward declaraction.
636 (struct pt_regs): Delete structure definition.
637 (elf_gregset_t): Delete typedef.
638
81580573
AA
6392014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
640
641 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
642 (nios2_core_regset): Add collect method.
643
ba199d7d
AA
6442014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
645
646 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
647 platform-independent and don't write to read-only input buffer.
648 (m32r_linux_collect_gregset): New function.
649 (m32r_linux_gregset): Add collect method.
650
0006a9da
AA
6512014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
652
653 * hppa-linux-tdep.c (greg_map): Rename to...
654 (hppa_linux_gregmap): ... this. Also convert to
655 regcache_map_entry format.
656 (hppa_linux_supply_regset): Delete function.
657 (hppa_linux_supply_fpregset): Delete function. Move logic to...
658 (hppa_linux_fpregmap): ... this new register map.
659 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
660 register map, replace supply method by regcache_supply_regset, and
661 add collect method regcache_collect_regset.
662
901e1b23
AA
6632014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
664
665 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
666 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
667 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
668 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
669 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
670 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
671 (frv_linux_supply_gregset): Replace main logic by call to
672 regcache_supply_regset, but keep clearing gr32-gr63.
673 (frv_linux_supply_fpregset): Delete function.
674 (frv_linux_gregset): Refer to appropriate register map and add
675 regcache_collect_regset as the collect method.
676 (frv_linux_fpregset): Likewise. Also exchange the supply method
677 by regcache_supply_regset.
678
1d6e7555
AA
6792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
680
681 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
682 by call to alpha_supply_int_regs.
683 (alpha_linux_collect_gregset): New function.
684 (alpha_linux_supply_fpregset): Replace logic by call to
685 alpha_supply_fp_regs.
686 (alpha_linux_collect_fpregset): New function.
687 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
688
d4d793bf
AA
6892014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
690
691 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
692 by call to regcache_collect_regset.
693 (supply_gregset, supply_fpregset): Call regcache_supply_regset
694 instead of aarch64_linux_supply_gregset/_fpregset.
695 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
696 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
697 header file instead.
698 (aarch64_linux_supply_gregset, supply_gregset_from_core)
699 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
700 functions. Move logic to ...
701 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
702 register maps.
703 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
704 refer to new register maps, replace *_regset_from_core by
705 regcache_supply_regset, and also use regcache_collect_regset.
706 * aarch64-linux-tdep.h: Include "regset.h".
707 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
708 Delete prototypes.
709 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
710 macros, moved from C source file.
711 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
712 variable declarations.
713
99b7da5d
AA
7142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
715
716 * s390-linux-nat.c: Include "regset.h".
717 (regmap_gregset): Delete macro.
718 (s390_64_regmap_gregset): New register map for
719 regcache_supply/_collect_regset.
720 (s390_64_gregset): New regset.
721 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
722 (regmap_fpregset): Delete macro.
723 (s390_native_supply, s390_native_collect): Delete functions.
724 (supply_gregset, fill_gregset): Replace s390-specific regmap
725 handling by a call to regcache_supply/_collect_regset.
726 (supply_fpregset, fill_fpregset): Call regcache_supply/
727 _collect_regset instead of s390_native_supply/_collect.
728 (fetch_regset, store_regset): Likewise. Also change the last
729 parameter to a regset instead of a regmap.
730 (s390_linux_fetch_inferior_registers)
731 (390_linux_store_inferior_registers): Adjust last parameter in
732 calls to fetch_regset and store_regset.
733 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
734 (s390_gregmap): ... this. Also make static const and convert to
735 regcache_map_entry format.
736 (s390x_regmap_gregset): Delete.
737 (s390_regmap_fpregset): Rename to...
738 (s390_fpregmap): ... this. Make static const and convert to
739 regcache_map_entry format.
740 (s390_regmap_upper, s390_regmap_last_break)
741 (s390x_regmap_last_break, s390_regmap_system_call)
742 (s390_regmap_tdb): Likewise.
743 (s390_supply_regset, s390_collect_regset): Remove functions.
744 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
745 s390_supply_regset.
746 (s390_gregset, s390_fpregset, s390_upper_regset)
747 (s390_last_break_regset, s390x_last_break_regset)
748 (s390_system_call_regset, s390_tdb_regset): Make global and
749 replace s390_supply/_collect_regset by regcache_supply/
750 _collect_regset.
751 (s390x_gregset): Delete.
752 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
753 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
754 (s390_regmap_fpregset, s390_regmap_last_break)
755 (s390x_regmap_last_break, s390_regmap_system_call)
756 (s390_regmap_tdb): Delete global variable declarations.
757 (s390_gregset, s390_fpregset, s390_last_break_regset)
758 (s390x_last_break_regset, s390_system_call_regset)
759 (s390_tdb_regset): New global variable declarations.
760
0b309272
AA
7612014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
762
763 * regcache.c: Include "regset.h".
764 (regcache_transfer_regset): New local function.
765 (regcache_supply_regset, regcache_collect_regset): New functions.
766 * regcache.h (struct regcache_map_entry): New structure.
767 (REGCACHE_MAP_SKIP): New enum value.
768 (regcache_supply_regset, regcache_collect_regset): New prototypes.
769
7fefa8d7
AA
7702014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
771
772 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
773 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
774 (ppc_linux_collect_gregset ): Likewise.
775 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
776 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
777 (ppc_collect_vrregset): Likewise.
778 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
779 Likewise.
780
96c4f946
YQ
7812014-08-07 Yao Qi <yao@codesourcery.com>
782
783 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
784 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
785 * remote.c (remote_read_bytes): Likewise.
786
fffbe6a8
YQ
7872014-08-07 Yao Qi <yao@codesourcery.com>
788
789 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
790
5ee8a82c
YQ
7912014-08-07 Yao Qi <yao@codesourcery.com>
792
793 PR remote/17230
794 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
795 TARGET_XFER_OK instead of 0.
796
bb974a24
GB
7972014-08-07 Gary Benson <gbenson@redhat.com>
798
799 * common/common-defs.h: Include errno.h.
800 * defs.h: Do not include errno.h.
801 * ada-typeprint.c: Likewise.
802 * c-typeprint.c: Likewise.
803 * core-regset.c: Likewise.
804 * corefile.c: Likewise.
805 * corelow.c: Likewise.
806 * event-loop.c: Likewise.
807 * f-typeprint.c: Likewise.
808 * gnu-nat.c: Likewise.
809 * go32-nat.c: Likewise.
810 * i386gnu-nat.c: Likewise.
811 * m2-typeprint.c: Likewise.
812 * nat/linux-btrace.c: Likewise.
813 * p-typeprint.c: Likewise.
814 * procfs.c: Likewise.
815 * remote-sim.c: Likewise.
816 * rs6000-nat.c: Likewise.
817 * target.c: Likewise.
818 * typeprint.c: Likewise.
819 * ui-file.c: Likewise.
820 * valops.c: Likewise.
821 * valprint.c: Likewise.
822
6d3d12eb
GB
8232014-08-07 Gary Benson <gbenson@redhat.com>
824
825 * common/common-defs.h: Include string.h.
826 * aarch64-tdep.c: Do not include string.h.
827 * ada-exp.y: Likewise.
828 * ada-lang.c: Likewise.
829 * ada-lex.l: Likewise.
830 * ada-typeprint.c: Likewise.
831 * ada-valprint.c: Likewise.
832 * aix-thread.c: Likewise.
833 * alpha-linux-tdep.c: Likewise.
834 * alpha-mdebug-tdep.c: Likewise.
835 * alpha-nat.c: Likewise.
836 * alpha-osf1-tdep.c: Likewise.
837 * alpha-tdep.c: Likewise.
838 * alphanbsd-tdep.c: Likewise.
839 * amd64-dicos-tdep.c: Likewise.
840 * amd64-linux-tdep.c: Likewise.
841 * amd64-nat.c: Likewise.
842 * amd64-sol2-tdep.c: Likewise.
843 * amd64fbsd-tdep.c: Likewise.
844 * amd64obsd-tdep.c: Likewise.
845 * arch-utils.c: Likewise.
846 * arm-linux-nat.c: Likewise.
847 * arm-linux-tdep.c: Likewise.
848 * arm-tdep.c: Likewise.
849 * arm-wince-tdep.c: Likewise.
850 * armbsd-tdep.c: Likewise.
851 * armnbsd-nat.c: Likewise.
852 * armnbsd-tdep.c: Likewise.
853 * armobsd-tdep.c: Likewise.
854 * avr-tdep.c: Likewise.
855 * ax-gdb.c: Likewise.
856 * ax-general.c: Likewise.
857 * bcache.c: Likewise.
858 * bfin-tdep.c: Likewise.
859 * breakpoint.c: Likewise.
860 * build-id.c: Likewise.
861 * buildsym.c: Likewise.
862 * c-exp.y: Likewise.
863 * c-lang.c: Likewise.
864 * c-typeprint.c: Likewise.
865 * c-valprint.c: Likewise.
866 * charset.c: Likewise.
867 * cli-out.c: Likewise.
868 * cli/cli-cmds.c: Likewise.
869 * cli/cli-decode.c: Likewise.
870 * cli/cli-dump.c: Likewise.
871 * cli/cli-interp.c: Likewise.
872 * cli/cli-logging.c: Likewise.
873 * cli/cli-script.c: Likewise.
874 * cli/cli-setshow.c: Likewise.
875 * cli/cli-utils.c: Likewise.
876 * coffread.c: Likewise.
877 * common/agent.c: Likewise.
878 * common/buffer.c: Likewise.
879 * common/buffer.h: Likewise.
880 * common/common-utils.c: Likewise.
881 * common/filestuff.c: Likewise.
882 * common/filestuff.c: Likewise.
883 * common/format.c: Likewise.
884 * common/print-utils.c: Likewise.
885 * common/rsp-low.c: Likewise.
886 * common/signals.c: Likewise.
887 * common/vec.h: Likewise.
888 * common/xml-utils.c: Likewise.
889 * core-regset.c: Likewise.
890 * corefile.c: Likewise.
891 * corelow.c: Likewise.
892 * cp-abi.c: Likewise.
893 * cp-name-parser.y: Likewise.
894 * cp-support.c: Likewise.
895 * cp-valprint.c: Likewise.
896 * cris-tdep.c: Likewise.
897 * d-exp.y: Likewise.
898 * darwin-nat.c: Likewise.
899 * dbxread.c: Likewise.
900 * dcache.c: Likewise.
901 * demangle.c: Likewise.
902 * dicos-tdep.c: Likewise.
903 * disasm.c: Likewise.
904 * doublest.c: Likewise.
905 * dsrec.c: Likewise.
906 * dummy-frame.c: Likewise.
907 * dwarf2-frame.c: Likewise.
908 * dwarf2loc.c: Likewise.
909 * dwarf2read.c: Likewise.
910 * elfread.c: Likewise.
911 * environ.c: Likewise.
912 * eval.c: Likewise.
913 * event-loop.c: Likewise.
914 * exceptions.c: Likewise.
915 * exec.c: Likewise.
916 * expprint.c: Likewise.
917 * f-exp.y: Likewise.
918 * f-lang.c: Likewise.
919 * f-typeprint.c: Likewise.
920 * f-valprint.c: Likewise.
921 * fbsd-nat.c: Likewise.
922 * findcmd.c: Likewise.
923 * findvar.c: Likewise.
924 * fork-child.c: Likewise.
925 * frame.c: Likewise.
926 * frv-linux-tdep.c: Likewise.
927 * frv-tdep.c: Likewise.
928 * gdb.c: Likewise.
929 * gdb_bfd.c: Likewise.
930 * gdbarch.c: Likewise.
931 * gdbarch.sh: Likewise.
932 * gdbtypes.c: Likewise.
933 * gnu-nat.c: Likewise.
934 * gnu-v2-abi.c: Likewise.
935 * gnu-v3-abi.c: Likewise.
936 * go-exp.y: Likewise.
937 * go-lang.c: Likewise.
938 * go32-nat.c: Likewise.
939 * guile/guile.c: Likewise.
940 * guile/scm-auto-load.c: Likewise.
941 * hppa-hpux-tdep.c: Likewise.
942 * hppa-linux-nat.c: Likewise.
943 * hppanbsd-tdep.c: Likewise.
944 * hppaobsd-tdep.c: Likewise.
945 * i386-cygwin-tdep.c: Likewise.
946 * i386-dicos-tdep.c: Likewise.
947 * i386-linux-tdep.c: Likewise.
948 * i386-nto-tdep.c: Likewise.
949 * i386-sol2-tdep.c: Likewise.
950 * i386-tdep.c: Likewise.
951 * i386bsd-tdep.c: Likewise.
952 * i386gnu-nat.c: Likewise.
953 * i386nbsd-tdep.c: Likewise.
954 * i386obsd-tdep.c: Likewise.
955 * i387-tdep.c: Likewise.
956 * ia64-libunwind-tdep.c: Likewise.
957 * ia64-linux-nat.c: Likewise.
958 * inf-child.c: Likewise.
959 * inf-ptrace.c: Likewise.
960 * inf-ttrace.c: Likewise.
961 * infcall.c: Likewise.
962 * infcmd.c: Likewise.
963 * inflow.c: Likewise.
964 * infrun.c: Likewise.
965 * interps.c: Likewise.
966 * iq2000-tdep.c: Likewise.
967 * irix5-nat.c: Likewise.
968 * jv-exp.y: Likewise.
969 * jv-lang.c: Likewise.
970 * jv-typeprint.c: Likewise.
971 * jv-valprint.c: Likewise.
972 * language.c: Likewise.
973 * linux-fork.c: Likewise.
974 * linux-nat.c: Likewise.
975 * lm32-tdep.c: Likewise.
976 * m2-exp.y: Likewise.
977 * m2-typeprint.c: Likewise.
978 * m32c-tdep.c: Likewise.
979 * m32r-linux-nat.c: Likewise.
980 * m32r-linux-tdep.c: Likewise.
981 * m32r-rom.c: Likewise.
982 * m32r-tdep.c: Likewise.
983 * m68hc11-tdep.c: Likewise.
984 * m68k-tdep.c: Likewise.
985 * m68kbsd-tdep.c: Likewise.
986 * m68klinux-nat.c: Likewise.
987 * m68klinux-tdep.c: Likewise.
988 * m88k-tdep.c: Likewise.
989 * machoread.c: Likewise.
990 * macrocmd.c: Likewise.
991 * main.c: Likewise.
992 * mdebugread.c: Likewise.
993 * mem-break.c: Likewise.
994 * memattr.c: Likewise.
995 * memory-map.c: Likewise.
996 * mep-tdep.c: Likewise.
997 * mi/mi-cmd-break.c: Likewise.
998 * mi/mi-cmd-disas.c: Likewise.
999 * mi/mi-cmd-env.c: Likewise.
1000 * mi/mi-cmd-stack.c: Likewise.
1001 * mi/mi-cmd-var.c: Likewise.
1002 * mi/mi-cmds.c: Likewise.
1003 * mi/mi-console.c: Likewise.
1004 * mi/mi-getopt.c: Likewise.
1005 * mi/mi-interp.c: Likewise.
1006 * mi/mi-main.c: Likewise.
1007 * mi/mi-parse.c: Likewise.
1008 * microblaze-rom.c: Likewise.
1009 * microblaze-tdep.c: Likewise.
1010 * mingw-hdep.c: Likewise.
1011 * minidebug.c: Likewise.
1012 * minsyms.c: Likewise.
1013 * mips-irix-tdep.c: Likewise.
1014 * mips-linux-tdep.c: Likewise.
1015 * mips-tdep.c: Likewise.
1016 * mips64obsd-tdep.c: Likewise.
1017 * mipsnbsd-tdep.c: Likewise.
1018 * mipsread.c: Likewise.
1019 * mn10300-linux-tdep.c: Likewise.
1020 * mn10300-tdep.c: Likewise.
1021 * monitor.c: Likewise.
1022 * moxie-tdep.c: Likewise.
1023 * mt-tdep.c: Likewise.
1024 * nat/linux-btrace.c: Likewise.
1025 * nat/linux-osdata.c: Likewise.
1026 * nat/linux-procfs.c: Likewise.
1027 * nat/linux-ptrace.c: Likewise.
1028 * nat/linux-waitpid.c: Likewise.
1029 * nbsd-tdep.c: Likewise.
1030 * nios2-linux-tdep.c: Likewise.
1031 * nto-procfs.c: Likewise.
1032 * nto-tdep.c: Likewise.
1033 * objc-lang.c: Likewise.
1034 * objfiles.c: Likewise.
1035 * opencl-lang.c: Likewise.
1036 * osabi.c: Likewise.
1037 * osdata.c: Likewise.
1038 * p-exp.y: Likewise.
1039 * p-lang.c: Likewise.
1040 * p-typeprint.c: Likewise.
1041 * parse.c: Likewise.
1042 * posix-hdep.c: Likewise.
1043 * ppc-linux-nat.c: Likewise.
1044 * ppc-sysv-tdep.c: Likewise.
1045 * ppcfbsd-tdep.c: Likewise.
1046 * ppcnbsd-tdep.c: Likewise.
1047 * ppcobsd-tdep.c: Likewise.
1048 * printcmd.c: Likewise.
1049 * procfs.c: Likewise.
1050 * prologue-value.c: Likewise.
1051 * python/py-auto-load.c: Likewise.
1052 * python/py-gdb-readline.c: Likewise.
1053 * ravenscar-thread.c: Likewise.
1054 * regcache.c: Likewise.
1055 * registry.c: Likewise.
1056 * remote-fileio.c: Likewise.
1057 * remote-m32r-sdi.c: Likewise.
1058 * remote-mips.c: Likewise.
1059 * remote-notif.c: Likewise.
1060 * remote-sim.c: Likewise.
1061 * remote.c: Likewise.
1062 * reverse.c: Likewise.
1063 * rs6000-aix-tdep.c: Likewise.
1064 * ser-base.c: Likewise.
1065 * ser-go32.c: Likewise.
1066 * ser-mingw.c: Likewise.
1067 * ser-pipe.c: Likewise.
1068 * ser-tcp.c: Likewise.
1069 * ser-unix.c: Likewise.
1070 * serial.c: Likewise.
1071 * sh-tdep.c: Likewise.
1072 * sh64-tdep.c: Likewise.
1073 * shnbsd-tdep.c: Likewise.
1074 * skip.c: Likewise.
1075 * sol-thread.c: Likewise.
1076 * solib-dsbt.c: Likewise.
1077 * solib-frv.c: Likewise.
1078 * solib-osf.c: Likewise.
1079 * solib-som.c: Likewise.
1080 * solib-spu.c: Likewise.
1081 * solib-target.c: Likewise.
1082 * solib.c: Likewise.
1083 * somread.c: Likewise.
1084 * source.c: Likewise.
1085 * sparc-nat.c: Likewise.
1086 * sparc-sol2-tdep.c: Likewise.
1087 * sparc-tdep.c: Likewise.
1088 * sparc64-tdep.c: Likewise.
1089 * sparc64fbsd-tdep.c: Likewise.
1090 * sparc64nbsd-tdep.c: Likewise.
1091 * sparcnbsd-tdep.c: Likewise.
1092 * spu-linux-nat.c: Likewise.
1093 * spu-multiarch.c: Likewise.
1094 * spu-tdep.c: Likewise.
1095 * stabsread.c: Likewise.
1096 * stack.c: Likewise.
1097 * std-regs.c: Likewise.
1098 * symfile.c: Likewise.
1099 * symmisc.c: Likewise.
1100 * symtab.c: Likewise.
1101 * target.c: Likewise.
1102 * thread.c: Likewise.
1103 * tilegx-linux-nat.c: Likewise.
1104 * tilegx-tdep.c: Likewise.
1105 * top.c: Likewise.
1106 * tracepoint.c: Likewise.
1107 * tui/tui-command.c: Likewise.
1108 * tui/tui-data.c: Likewise.
1109 * tui/tui-disasm.c: Likewise.
1110 * tui/tui-file.c: Likewise.
1111 * tui/tui-layout.c: Likewise.
1112 * tui/tui-out.c: Likewise.
1113 * tui/tui-regs.c: Likewise.
1114 * tui/tui-source.c: Likewise.
1115 * tui/tui-stack.c: Likewise.
1116 * tui/tui-win.c: Likewise.
1117 * tui/tui-windata.c: Likewise.
1118 * tui/tui-winsource.c: Likewise.
1119 * typeprint.c: Likewise.
1120 * ui-file.c: Likewise.
1121 * ui-out.c: Likewise.
1122 * user-regs.c: Likewise.
1123 * utils.c: Likewise.
1124 * v850-tdep.c: Likewise.
1125 * valarith.c: Likewise.
1126 * valops.c: Likewise.
1127 * valprint.c: Likewise.
1128 * value.c: Likewise.
1129 * varobj.c: Likewise.
1130 * vax-tdep.c: Likewise.
1131 * vaxnbsd-tdep.c: Likewise.
1132 * vaxobsd-tdep.c: Likewise.
1133 * windows-nat.c: Likewise.
1134 * xcoffread.c: Likewise.
1135 * xml-support.c: Likewise.
1136 * xstormy16-tdep.c: Likewise.
1137 * xtensa-linux-nat.c: Likewise.
1138
dccbb609
GB
11392014-08-07 Gary Benson <gbenson@redhat.com>
1140
1141 * common/common-defs.h: Include gdb_assert.h.
1142 * aarch64-tdep.c: Do not include gdb_assert.h.
1143 * addrmap.c: Likewise.
1144 * aix-thread.c: Likewise.
1145 * alpha-linux-tdep.c: Likewise.
1146 * alpha-mdebug-tdep.c: Likewise.
1147 * alphanbsd-tdep.c: Likewise.
1148 * amd64-nat.c: Likewise.
1149 * amd64-tdep.c: Likewise.
1150 * amd64bsd-nat.c: Likewise.
1151 * amd64fbsd-nat.c: Likewise.
1152 * amd64fbsd-tdep.c: Likewise.
1153 * amd64nbsd-nat.c: Likewise.
1154 * amd64nbsd-tdep.c: Likewise.
1155 * amd64obsd-nat.c: Likewise.
1156 * amd64obsd-tdep.c: Likewise.
1157 * arch-utils.c: Likewise.
1158 * arm-tdep.c: Likewise.
1159 * armbsd-tdep.c: Likewise.
1160 * auxv.c: Likewise.
1161 * bcache.c: Likewise.
1162 * bfin-tdep.c: Likewise.
1163 * blockframe.c: Likewise.
1164 * breakpoint.c: Likewise.
1165 * bsd-kvm.c: Likewise.
1166 * bsd-uthread.c: Likewise.
1167 * buildsym.c: Likewise.
1168 * c-exp.y: Likewise.
1169 * c-lang.c: Likewise.
1170 * charset.c: Likewise.
1171 * cleanups.c: Likewise.
1172 * cli-out.c: Likewise.
1173 * cli/cli-decode.c: Likewise.
1174 * cli/cli-dump.c: Likewise.
1175 * cli/cli-logging.c: Likewise.
1176 * cli/cli-script.c: Likewise.
1177 * cli/cli-utils.c: Likewise.
1178 * coffread.c: Likewise.
1179 * common/common-utils.c: Likewise.
1180 * common/queue.h: Likewise.
1181 * common/signals.c: Likewise.
1182 * common/vec.h: Likewise.
1183 * complaints.c: Likewise.
1184 * completer.c: Likewise.
1185 * corelow.c: Likewise.
1186 * cp-abi.c: Likewise.
1187 * cp-name-parser.y: Likewise.
1188 * cp-namespace.c: Likewise.
1189 * cp-support.c: Likewise.
1190 * cris-tdep.c: Likewise.
1191 * dbxread.c: Likewise.
1192 * dictionary.c: Likewise.
1193 * doublest.c: Likewise.
1194 * dsrec.c: Likewise.
1195 * dummy-frame.c: Likewise.
1196 * dwarf2-frame-tailcall.c: Likewise.
1197 * dwarf2-frame.c: Likewise.
1198 * dwarf2expr.c: Likewise.
1199 * dwarf2loc.c: Likewise.
1200 * dwarf2read.c: Likewise.
1201 * eval.c: Likewise.
1202 * event-loop.c: Likewise.
1203 * exceptions.c: Likewise.
1204 * expprint.c: Likewise.
1205 * f-valprint.c: Likewise.
1206 * fbsd-nat.c: Likewise.
1207 * findvar.c: Likewise.
1208 * frame-unwind.c: Likewise.
1209 * frame.c: Likewise.
1210 * frv-tdep.c: Likewise.
1211 * gcore.c: Likewise.
1212 * gdb-dlfcn.c: Likewise.
1213 * gdb_bfd.c: Likewise.
1214 * gdbarch.c: Likewise.
1215 * gdbarch.sh: Likewise.
1216 * gdbtypes.c: Likewise.
1217 * gnu-nat.c: Likewise.
1218 * gnu-v3-abi.c: Likewise.
1219 * go-lang.c: Likewise.
1220 * guile/scm-exception.c: Likewise.
1221 * guile/scm-gsmob.c: Likewise.
1222 * guile/scm-lazy-string.c: Likewise.
1223 * guile/scm-math.c: Likewise.
1224 * guile/scm-pretty-print.c: Likewise.
1225 * guile/scm-safe-call.c: Likewise.
1226 * guile/scm-utils.c: Likewise.
1227 * guile/scm-value.c: Likewise.
1228 * h8300-tdep.c: Likewise.
1229 * hppa-hpux-nat.c: Likewise.
1230 * hppa-tdep.c: Likewise.
1231 * hppanbsd-tdep.c: Likewise.
1232 * hppaobsd-tdep.c: Likewise.
1233 * i386-darwin-nat.c: Likewise.
1234 * i386-darwin-tdep.c: Likewise.
1235 * i386-nto-tdep.c: Likewise.
1236 * i386-tdep.c: Likewise.
1237 * i386bsd-nat.c: Likewise.
1238 * i386fbsd-tdep.c: Likewise.
1239 * i386gnu-nat.c: Likewise.
1240 * i386nbsd-tdep.c: Likewise.
1241 * i386obsd-tdep.c: Likewise.
1242 * i387-tdep.c: Likewise.
1243 * ia64-libunwind-tdep.c: Likewise.
1244 * ia64-tdep.c: Likewise.
1245 * inf-ptrace.c: Likewise.
1246 * inf-ttrace.c: Likewise.
1247 * infcall.c: Likewise.
1248 * infcmd.c: Likewise.
1249 * infrun.c: Likewise.
1250 * inline-frame.c: Likewise.
1251 * interps.c: Likewise.
1252 * jv-lang.c: Likewise.
1253 * jv-typeprint.c: Likewise.
1254 * linux-fork.c: Likewise.
1255 * linux-nat.c: Likewise.
1256 * linux-thread-db.c: Likewise.
1257 * m32c-tdep.c: Likewise.
1258 * m32r-linux-nat.c: Likewise.
1259 * m32r-tdep.c: Likewise.
1260 * m68k-tdep.c: Likewise.
1261 * m68kbsd-nat.c: Likewise.
1262 * m68kbsd-tdep.c: Likewise.
1263 * m88k-tdep.c: Likewise.
1264 * machoread.c: Likewise.
1265 * macroexp.c: Likewise.
1266 * macrotab.c: Likewise.
1267 * maint.c: Likewise.
1268 * mdebugread.c: Likewise.
1269 * memory-map.c: Likewise.
1270 * mep-tdep.c: Likewise.
1271 * mi/mi-common.c: Likewise.
1272 * microblaze-tdep.c: Likewise.
1273 * mingw-hdep.c: Likewise.
1274 * mips-linux-nat.c: Likewise.
1275 * mips-linux-tdep.c: Likewise.
1276 * mips-tdep.c: Likewise.
1277 * mips64obsd-tdep.c: Likewise.
1278 * mipsnbsd-tdep.c: Likewise.
1279 * mn10300-linux-tdep.c: Likewise.
1280 * mn10300-tdep.c: Likewise.
1281 * moxie-tdep.c: Likewise.
1282 * mt-tdep.c: Likewise.
1283 * nat/linux-btrace.c: Likewise.
1284 * nat/linux-osdata.c: Likewise.
1285 * nat/linux-ptrace.c: Likewise.
1286 * nat/mips-linux-watch.c: Likewise.
1287 * nios2-linux-tdep.c: Likewise.
1288 * nios2-tdep.c: Likewise.
1289 * objc-lang.c: Likewise.
1290 * objfiles.c: Likewise.
1291 * obsd-nat.c: Likewise.
1292 * opencl-lang.c: Likewise.
1293 * osabi.c: Likewise.
1294 * parse.c: Likewise.
1295 * ppc-linux-nat.c: Likewise.
1296 * ppc-sysv-tdep.c: Likewise.
1297 * ppcfbsd-nat.c: Likewise.
1298 * ppcfbsd-tdep.c: Likewise.
1299 * ppcnbsd-nat.c: Likewise.
1300 * ppcnbsd-tdep.c: Likewise.
1301 * ppcobsd-nat.c: Likewise.
1302 * ppcobsd-tdep.c: Likewise.
1303 * printcmd.c: Likewise.
1304 * procfs.c: Likewise.
1305 * prologue-value.c: Likewise.
1306 * psymtab.c: Likewise.
1307 * python/py-lazy-string.c: Likewise.
1308 * python/py-value.c: Likewise.
1309 * regcache.c: Likewise.
1310 * reggroups.c: Likewise.
1311 * registry.c: Likewise.
1312 * remote-sim.c: Likewise.
1313 * remote.c: Likewise.
1314 * rs6000-aix-tdep.c: Likewise.
1315 * rs6000-tdep.c: Likewise.
1316 * s390-linux-tdep.c: Likewise.
1317 * score-tdep.c: Likewise.
1318 * ser-base.c: Likewise.
1319 * ser-mingw.c: Likewise.
1320 * sh-tdep.c: Likewise.
1321 * sh64-tdep.c: Likewise.
1322 * solib-darwin.c: Likewise.
1323 * solib-spu.c: Likewise.
1324 * solib-svr4.c: Likewise.
1325 * source.c: Likewise.
1326 * sparc-nat.c: Likewise.
1327 * sparc-sol2-tdep.c: Likewise.
1328 * sparc-tdep.c: Likewise.
1329 * sparc64-sol2-tdep.c: Likewise.
1330 * sparc64-tdep.c: Likewise.
1331 * sparc64fbsd-tdep.c: Likewise.
1332 * sparc64nbsd-tdep.c: Likewise.
1333 * sparc64obsd-tdep.c: Likewise.
1334 * sparcnbsd-tdep.c: Likewise.
1335 * sparcobsd-tdep.c: Likewise.
1336 * spu-multiarch.c: Likewise.
1337 * spu-tdep.c: Likewise.
1338 * stabsread.c: Likewise.
1339 * stack.c: Likewise.
1340 * symfile.c: Likewise.
1341 * symtab.c: Likewise.
1342 * target-descriptions.c: Likewise.
1343 * target-memory.c: Likewise.
1344 * target.c: Likewise.
1345 * tic6x-linux-tdep.c: Likewise.
1346 * tic6x-tdep.c: Likewise.
1347 * tilegx-linux-nat.c: Likewise.
1348 * tilegx-tdep.c: Likewise.
1349 * top.c: Likewise.
1350 * tramp-frame.c: Likewise.
1351 * tui/tui-out.c: Likewise.
1352 * tui/tui-winsource.c: Likewise.
1353 * ui-out.c: Likewise.
1354 * user-regs.c: Likewise.
1355 * utils.c: Likewise.
1356 * v850-tdep.c: Likewise.
1357 * valops.c: Likewise.
1358 * value.c: Likewise.
1359 * varobj.c: Likewise.
1360 * vax-nat.c: Likewise.
1361 * xml-syscall.c: Likewise.
1362 * xml-tdesc.c: Likewise.
1363 * xstormy16-tdep.c: Likewise.
1364 * xtensa-linux-nat.c: Likewise.
1365 * xtensa-tdep.c: Likewise.
1366
e76df0d0
GB
13672014-08-07 Gary Benson <gbenson@redhat.com>
1368
1369 * common/common-defs.h: Include common-utils.h.
1370 * defs.h: Do not include common-utils.h.
1371 * common/gdb_assert.h: Likewise.
1372 * darwin-nat.h: Likewise.
1373 * nat/linux-btrace.c: Likewise.
1374 * target/waitstatus.h: Likewise.
1375
4cb9c816
GB
13762014-08-07 Gary Benson <gbenson@redhat.com>
1377
1378 * common/common-defs.h: Include ptid.h.
1379 * defs.h: Do not include ptid.h.
1380 * inferior.h: Likewise.
1381 * infrun.h: Likewise.
1382 * nat/linux-btrace.h: Likewise.
1383 * nat/linux-osdata.h: Likewise.
1384 * target/waitstatus.h: Likewise.
1385
3995eeee
GB
13862014-08-07 Gary Benson <gbenson@redhat.com>
1387
1388 * common/common-defs.h: Include gdb_locale.h.
1389 * defs.h: Do not include gdb_locale.h.
1390
cb9f1a9b
GB
13912014-08-07 Gary Benson <gbenson@redhat.com>
1392
1393 * common/common-defs.h: Include gdb/signals.h.
1394 * defs.h: Do not include gdb/signals.h.
1395
a5fceff8
GB
13962014-08-07 Gary Benson <gbenson@redhat.com>
1397
1398 * common/common-defs.h: Include pathmax.h.
1399 * defs.h: Do not include pathmax.h.
1400
b9391142
GB
14012014-08-07 Gary Benson <gbenson@redhat.com>
1402
1403 * common/common-defs.h: Include libiberty.h.
1404 * defs.h: Do not include libiberty.h.
1405 * common/queue.h: Likewise.
1406 * cp-name-parser.y: Likewise.
1407 * mi/mi-cmd-catch.c: Likewise.
1408 * python/python.c: Likewise.
1409
0e443c87
GB
14102014-08-07 Gary Benson <gbenson@redhat.com>
1411
1412 * common/common-defs.h: Include ansidecl.h.
1413 * defs.h: Do not include ansidecl.h.
1414 * common/buffer.h: Likewise.
1415 * common/common-utils.h: Likewise.
1416
8ebb3f56
GB
14172014-08-07 Gary Benson <gbenson@redhat.com>
1418
1419 * common/common-defs.h: Include stddef.h.
1420 * defs.h: Do not include stddef.h.
1421 * common/common-utils.h: Likewise.
1422 * amd64fbsd-nat.c: Likewise.
1423 * bcache.c: Likewise.
1424 * charset.c: Likewise.
1425 * common/buffer.h: Likewise.
1426 * common/vec.h: Likewise.
1427 * i386bsd-nat.c: Likewise.
1428 * nat/linux-btrace.h: Likewise.
1429 * ppcfbsd-nat.c: Likewise.
1430 * ppcnbsd-tdep.h: Likewise.
1431 * ppcobsd-nat.c: Likewise.
1432 * ppcobsd-tdep.h: Likewise.
1433 * python/py-gdb-readline.c: Likewise.
1434
8980bdf6
GB
14352014-08-07 Gary Benson <gbenson@redhat.com>
1436
1437 * common/common-defs.h: Include stdarg.h.
1438 * defs.h: Do not include stdarg.h.
1439 * ada-lang.c: Likewise.
1440 * common/common-utils.h: Likewise.
1441 * guile/scm-string.c: Likewise.
1442 * guile/scm-utils.c: Likewise.
1443 * m32c-tdep.c: Likewise.
1444
d7096f71
GB
14452014-08-07 Gary Benson <gbenson@redhat.com>
1446
1447 * common/common-defs.h: Include stdlib.h.
1448 * defs.h: Do not include stdlib.h.
1449 * addrmap.c: Likewise.
1450 * bcache.c: Likewise.
1451 * common/buffer.c: Likewise.
1452 * common/common-utils.c: Likewise.
1453 * cp-name-parser.y: Likewise.
1454 * go32-nat.c: Likewise.
1455 * mn10300-linux-tdep.c: Likewise.
1456 * nat/linux-osdata.c: Likewise.
1457 * tui/tui.c: Likewise.
1458 * windows-nat.c: Likewise.
1459
d02f550d
GB
14602014-08-07 Gary Benson <gbenson@redhat.com>
1461
1462 * common/common-defs.h: Include stdio.h.
1463 * defs.h: Do not include stdio.h.
1464 * ada-lang.c: Likewise.
1465 * common/buffer.c: Likewise.
1466 * common/common-utils.c: Likewise.
1467 * cp-name-parser.y: Likewise.
1468 * gnu-nat.c: Likewise.
1469 * go32-nat.c: Likewise.
1470 * i386gnu-nat.c: Likewise.
1471 * proc-api.c: Likewise.
1472 * proc-events.c: Likewise.
1473 * proc-flags.c: Likewise.
1474 * proc-why.c: Likewise.
1475 * python/python-internal.h: Likewise.
1476 * target-memory.c: Likewise.
1477 * tui/tui-io.c: Likewise.
1478 * tui/tui.c: Likewise.
1479
b6d7a4bf
SM
14802014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1481
1482 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1483 (scan_dyntag_auxv): Same.
1484
af19829b
YQ
14852014-08-06 Yao Qi <yao@codesourcery.com>
1486
1487 * amd64-linux-nat.c: Remove duplicated include
1488 "x86-linux-nat.h".
1489 * i386-linux-nat.c: Likewise.
1490
8e07a239
YQ
14912014-08-06 Yao Qi <yao@codesourcery.com>
1492
1493 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1494 operand" with "Special opcode" in comments.
1495
7bfe8241
GB
14962014-08-05 Gary Benson <gbenson@redhat.com>
1497
1498 * interps.c (initialize_interps): Remove prototype.
1499 (interpreter_initialized): Remove static global.
1500 (interp_add): Do not call initialize_interps.
1501 (initialize_interps): Remove function.
1502
d6c95504
GB
15032014-08-05 Gary Benson <gbenson@redhat.com>
1504
1505 * utils.c (vwarning): Remove spurious va_end.
1506
241fd515
AM
15072014-08-05 Alan Modra <amodra@gmail.com>
1508
1509 * charset.c (convert_between_encodings): Cast result of obstack_base.
1510 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1511 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1512 (read_unwind_info): Use size_t for some locals.
1513 * jit.c (finalize_symtab): Likewise.
1514 * utils.c (hashtab_obstack_allocate): Likewise.
1515 * symmisc.c (print_objfile_statistics): Update format strings.
1516
dc304a94
JK
15172014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1518
1519 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1520 (Changes in GDB 7.8): ... here.
1521
3cecbbbe
TT
15222014-08-04 Tom Tromey <tromey@redhat.com>
1523
1524 * target.c (set_targetdebug): New function.
1525 (initialize_targets): Pass set_targetdebug when creating "set
1526 debug target".
1527
6908c509
JB
15282014-08-01 Joel Brobecker <brobecker@adacore.com>
1529
1530 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1531 if detecting a variable-sized field that is not the last field.
1532 Fix struct type length computation.
1533
53e8f97d
JB
15342014-08-01 Joel Brobecker <brobecker@adacore.com>
1535
1536 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1537 Add debug trace.
1538
e068c55d
JB
15392014-08-01 Joel Brobecker <brobecker@adacore.com>
1540
1541 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1542 Remove "+ 8" offset in computation of CHAIN_VMA.
1543
4d4ca2a1
DE
15442014-07-31 Doug Evans <dje@google.com>
1545
1546 * inflow.c (child_terminal_inferior): Add comment.
1547 (child_terminal_ours_for_output): Add comment.
1548 (child_terminal_ours): Add comment.
1549 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1550 (linux_nat_terminal_ours): Add comment.
1551
462f517e
GB
15522014-07-31 Gary Benson <gbenson@redhat.com>
1553
1554 * common/btrace-common.h: Do not include defs.h or server.h.
1555 * nat/mips-linux-watch.h: Likewise.
1556 * gdb-dlfcn.h: Do not include defs.h.
1557 * tracefile.h: Likewise.
1558
74228e77
RM
15592014-07-30 Roland McGrath <mcgrathr@google.com>
1560
1561 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1562
014f9477
TT
15632014-07-30 Tom Tromey <tromey@redhat.com>
1564
1565 * bsd-kvm.c (bsd_kvm_open): Constify.
1566 * corelow.c (core_open): Constify.
1567 * ctf.c (ctf_open): Constify.
1568 * dbug-rom.c (dbug_open): Constify.
1569 * exec.c (exec_open): Constify.
1570 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1571 * microblaze-rom.c (picobug_open): Constify.
1572 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1573 Constify.
1574 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1575 * record-btrace.c (record_btrace_open): Constify.
1576 * record-full.c (record_full_core_open_1, record_full_open_1)
1577 (record_full_open): Constify.
1578 * remote-m32r-sdi.c (m32r_open): Constify.
1579 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1580 (rockhopper_open, lsi_open): Constify.
1581 * remote-sim.c (gdbsim_open): Constify.
1582 * remote.c (remote_open, extended_remote_open, remote_open_1):
1583 Constify.
1584 * target.h (struct target_ops) <to_open>: Make "arg" const.
1585 * tracefile-tfile.c (tfile_open): Constify.
1586
e799154c
TT
15872014-07-30 Tom Tromey <tromey@redhat.com>
1588
1589 * breakpoint.c (map_breakpoint_numbers): Update.
1590 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1591 (get_number_const): New function.
1592 (get_number): Rewrite using get_number_const.
1593 (init_number_or_range): Make "string" const.
1594 (number_is_in_list): Make "list" const.
1595 * cli/cli-utils.h (get_number_const): Declare.
1596 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1597 (init_number_or_range, number_is_in_list): Update.
1598 * printcmd.c (map_display_numbers): Update.
1599 * value.c (value_from_history_ref): Constify.
1600 * value.h (value_from_history_ref): Update.
1601
5f08566b
TT
16022014-07-30 Tom Tromey <tromey@redhat.com>
1603
1604 * corefile.c (hook_type, call_extra_exec_file_hooks)
1605 (specify_exec_file_hook): Constify.
1606 * exec.c (exec_file_attach): Make "filename" const.
1607 * gdbcore.h (deprecated_exec_file_display_hook)
1608 (specify_exec_file_hook, exec_file_attach): Constify.
1609 * main.c (captured_main): Use catch_command_errors_const.
1610
8981c758
TT
16112014-07-30 Tom Tromey <tromey@redhat.com>
1612
1613 * target.c (open_target): New function.
1614 (add_target_with_completer, add_deprecated_target_alias): Use
1615 set_cmd_sfunc, set_cmd_context.
1616 (debug_to_open): Remove.
1617 (setup_target_debug): Update.
1618
a1c7835a
YQ
16192014-07-30 Yao Qi <yao@codesourcery.com>
1620
1621 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1622 comments.
1623 * parse.c (exp_iterate): Update comments.
1624
976411d6
GB
16252014-07-30 Gary Benson <gbenson@redhat.com>
1626
1627 * common/common-defs.h: New file.
1628 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1629 * defs.h: Include common-defs.h.
1630 Do not include config.h or build-gnulib/config.h.
1631
5d4848a4
GB
16322014-07-30 Gary Benson <gbenson@redhat.com>
1633
1634 * common/common-utils.h: Do not include config.h.
1635 * nat/linux-btrace.h: Likewise.
1636
d41f6d8e
GB
16372014-07-30 Gary Benson <gbenson@redhat.com>
1638
1639 * btrace.c: Include defs.h.
1640 * common/ptid.c: Include defs.h or server.h as appropriate.
1641 * nat/mips-linux-watch.c: Likewise.
1642
84202f9c
TT
16432014-07-29 Tom Tromey <tromey@redhat.com>
1644
1645 * target.c (target_is_pushed): Simplify.
1646
2530441c
JB
16472014-07-29 Joel Brobecker <brobecker@adacore.com>
1648
1649 GDB 7.8 released.
1650
7e09a223
YQ
16512014-07-29 Yao Qi <yao@codesourcery.com>
1652
1653 PR gdb/17206
1654 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1655
7ebdbe92
DE
16562014-07-28 Doug Evans <xdje42@gmail.com>
1657
1658 PR guile/17203
1659 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1660 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1661 parameters.
1662
f347ffc9
WN
16632014-07-28 Will Newton <will.newton@linaro.org>
1664
1665 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1666 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1667 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1668 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1669 (THUMB2_EABI_SYSCALL): Likewise.
1670 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1671 struct tramp_frame.
1672 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1673 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1674
37c5f1f7
DE
16752014-07-27 Doug Evans <xdje42@gmail.com>
1676
1677 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1678
0c3abbc7
DE
16792014-07-27 Doug Evans <xdje42@gmail.com>
1680
1681 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1682
e76c5d17
DE
16832014-07-26 Ludovic Courtès <ludo@gnu.org>
1684 Doug Evans <xdje42@gmail.com>
1685
1686 PR guile/17146
1687 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1688 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1689 * configure.ac: Try to use guild to compile an scm file, if it fails
1690 then disable guile support.
1691 * configure: Regenerate.
1692 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1693 GUILE_FILE_LIST.
1694 (GUILE_COMPILED_FILES): New variable.
1695 (GUILE_FILES) Update.
1696 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1697 (stamp-guile): Compile scm files.
1698 * guile/guile.c (boot_guile_support): New function.
1699 (standard_throw_args_p): New function.
1700 (print_standard_throw_error, print_throw_error): New functions.
1701 (handle_boot_error): New function.
1702 (initialize_scheme_side): Rewrite to call boot_guile_support.
1703 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1704 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1705
186fcde0
DE
17062014-07-26 Ludovic Courtès <ludo@gnu.org>
1707 Doug Evans <xdje42@gmail.com>
1708
1709 PR guile/17146
1710 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1711 * guile/lib/gdb/support.scm: New file.
1712 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1713 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1714 All uses updated.
1715 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1716 All uses updated.
1717 (%assert-type): Ditto, and renamed to assert-type.
1718 (%exception-print-style): Delete.
1719
4df42755
DE
17202014-07-26 Doug Evans <xdje42@gmail.com>
1721
1722 PR build/17105
1723 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1724 * configure: Regenerate.
1725 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1726 PYTHON_FILES.
1727 (PYTHON_FILES): New variable.
1728 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1729 (GUILE_FILES): New variable.
1730 (stamp-python, install-python, uninstall-python): Handle empty
1731 file list.
1732 (stamp-guile, install-guile, uninstall-guile): Ditto.
1733
ee7333ae
DE
17342014-07-26 Doug Evans <xdje42@gmail.com>
1735
1736 PR guile/17177
1737 * guile/lib/gdb.scm (pretty-printers): Export.
1738 (set-pretty-printers!): Export.
1739 * guile/lib/gdb/printing.scm (gdb module): Update.
1740 (prepend-pretty-printer!, append-pretty-printer!): Update.
1741 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1742 (pretty_printer_list_var): Delete.
1743 (pretty_printer_list): New static global.
1744 (gdbscm_pretty_printers): New function.
1745 (gdbscm_set_pretty_printers_x): New function.
1746 (ppscm_find_pretty_printer_from_gdb): Update.
1747 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1748 (gdbscm_initialize_pretty_printers): Update.
1749
74edf516
DE
17502014-07-26 Doug Evans <xdje42@gmail.com>
1751
1752 PR 17185
1753 * configure.ac: Add check for header gc/gc.h.
1754 Add check for function setenv.
1755 * configure: Regenerate.
1756 * config.in: Regenerate.
1757 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1758
d54398a7
MR
17592014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1760
1761 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1762 variation in gdbarch matching.
1763
ab16fce8
TT
17642014-07-25 Tom Tromey <tromey@redhat.com>
1765
1766 * exec.c (using_exec_ops): Remove.
1767 (exec_close_1): Update. Remove extraneous block, reindent.
1768 (add_target_sections): Use target_is_pushed.
1769
88056fbb
PA
17702014-07-25 Pedro Alves <palves@redhat.com>
1771
1772 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1773 * monitor.c (monitor_create_inferior): Likewise.
1774 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1775 * remote-sim.c (gdbsim_create_inferior): Likewise.
1776 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1777 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1778 * windows-nat.c (do_initial_windows_stuff): Likewise.
1779
70509625
PA
17802014-07-25 Pedro Alves <palves@redhat.com>
1781
1782 * NEWS: Mention signal passing and "signal" command changes.
1783 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1784 comment.
1785 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1786 call.
1787 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1788 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1789 (jump_command): Adjust clear_proceed_status call.
1790 (signal_command): Warn if other thread that are resumed have
1791 signals that will be delivered. Adjust clear_proceed_status call.
1792 (until_next_command, finish_command)
1793 (proceed_after_attach_callback, attach_command_post_wait)
1794 (attach_command): Adjust clear_proceed_status call.
1795 * infrun.c (proceed_after_vfork_done): Likewise.
1796 (proceed_after_attach_callback): Adjust comment.
1797 (clear_proceed_status_thread): Clear stop_signal if not in pass
1798 state.
1799 (clear_proceed_status_callback): Delete.
1800 (clear_proceed_status): New 'step' parameter. Only clear the
1801 proceed status of threads the command being prepared is about to
1802 resume.
1803 (proceed): If passed in an explicit signal, override stop_signal
1804 with it. Don't pass the last stop signal to the thread we're
1805 resuming.
1806 (init_wait_for_inferior): Adjust clear_proceed_status call.
1807 (switch_back_to_stepped_thread): Clear the signal if it should not
1808 be passed.
1809 * infrun.h (clear_proceed_status): New 'step' parameter.
1810 (user_visible_resume_ptid): Add comment.
1811 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1812 signal is in pass state.
1813 * remote.c (append_pending_thread_resumptions): Likewise.
1814 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1815
d8be2939
TT
18162014-07-25 Tom Tromey <tromey@redhat.com>
1817
1818 * target.h (target_stopped_data_address)
1819 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1820 parentheses.
1821
7d0d9d2b
PL
18222014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1823
1824 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1825 comments.
1826 (avr_pointer_to_address): Likewise.
1827
e9e7f724
TT
18282014-07-24 Tom Tromey <tromey@redhat.com>
1829
1830 * monitor.c (compile_pattern): Update.
1831 * target.h (struct target_ops) <to_shortname, to_longname,
1832 to_doc>: Now const.
1833
1947513d
TT
18342014-07-24 Tom Tromey <tromey@redhat.com>
1835
1836 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1837 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1838 (add_info_alias, add_com): Make "doc" const.
1839 (print_doc_line): Make "str" const.
1840 (delete_cmd): Update.
1841 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1842 (print_doc_line): Update.
1843 * cli/cli-script.c (document_command): Update.
1844 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1845 (add_com, add_info, add_info_alias): Update.
1846 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1847 * python/py-cmd.c (cmdpy_destroyer): Update.
1848
64e61d29
TT
18492014-07-24 Tom Tromey <tromey@redhat.com>
1850
1851 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1852 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1853 (help_cmd_list): Constify.
1854 (lookup_cmd): Update.
1855 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1856 const.
1857 (help_cmd_list, apropos_cmd): Update.
1858 * cli/cli-script.c (show_user): Update.
1859 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1860 * cli/cli-setshow.h (cmd_show_list): Update.
1861 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1862 (cmd_show_list): Update.
1863 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1864 * python/py-cmd.c (cmdpy_destroyer): Update.
1865
429e55ea
TT
18662014-07-24 Tom Tromey <tromey@redhat.com>
1867
1868 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1869 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1870 const.
1871 * command.h (deprecate_cmd): Update.
1872 * maint.c (maintenance_do_deprecate): Add casts.
1873
64669f3b
TT
18742014-07-24 Tom Tromey <tromey@redhat.com>
1875
1876 * cli/cli-decode.c (help_cmd): Make parameter "const".
1877 * cli/cli-decode.h (help_cmd): Update.
1878
d3d3328b
TT
18792014-07-24 Tom Tromey <tromey@redhat.com>
1880
1881 * stack.c (up_silently_base, down_silently_base): Make argument
1882 const.
1883
414842dc
TT
18842014-07-24 Tom Tromey <tromey@redhat.com>
1885
1886 * solib.c (solib_add): Make "pattern" const.
1887 * solib.h (solib_add): Update.
1888
baa336ce
TT
18892014-07-24 Tom Tromey <tromey@redhat.com>
1890
1891 * remote.c (remote_serial_open, print_packet, putpkt)
1892 (putpkt_binary): Constify.
1893 * remote.h (putpkt): Update.
1894
5a19e2d0
TT
18952014-07-24 Tom Tromey <tromey@redhat.com>
1896
1897 * monitor.c (monitor_open): Make "args" const.
1898 * monitor.h (monitor_open): Update.
1899
fc4baa5e
TT
19002014-07-24 Tom Tromey <tromey@redhat.com>
1901
1902 * maint.c (match_bfd_flags): Make "string" const.
1903 (print_bfd_section_info): Remove casts.
1904 (print_objfile_section_info): Make "string" const.
1905
0d5f0dbe
TT
19062014-07-24 Tom Tromey <tromey@redhat.com>
1907
1908 * inf-child.c (inf_child_open_target): Make "arg" const.
1909 * inf-child.h (inf_child_open_target): Update.
1910
41c77899
TT
19112014-07-24 Tom Tromey <tromey@redhat.com>
1912
1913 * environ.c (unset_in_environ): Make "var" const.
1914 * environ.h (unset_in_environ): Update.
1915
93db0d79
TT
19162014-07-24 Tom Tromey <tromey@redhat.com>
1917
1918 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1919 Make "cmd" const.
1920 (scan_filename_with_cleanup): Likewise.
1921 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1922 Make arguments const.
1923 (restore_command): Update.
1924
36d6eb95
PA
19252014-07-24 Pedro Alves <palves@redhat.com>
1926
1927 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1928
8009206a
TT
19292014-07-24 Tom Tromey <tromey@redhat.com>
1930 Gary Benson <gbenson@redhat.com>
1931
1932 * nat/linux-ptrace.c (additional_flags): New global.
1933 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1934 additional_flags; don't check GDBSERVER.
1935 (linux_ptrace_set_additional_flags): New function.
1936 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1937 Declare.
1938 * linux-nat.c (_initialize_linux_nat): Call
1939 linux_ptrace_set_additional_flags.
1940
a7068b60
TT
19412014-07-24 Tom Tromey <tromey@redhat.com>
1942
1943 * make-target-delegates (munge_type, write_debugmethod): New
1944 functions.
1945 (debug_names): New global.
1946 ($TARGET_DEBUG_PRINTER): New global.
1947 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1948 name.
1949 Write debug methods. Generate init_debug_target.
1950 * target-debug.h: New file.
1951 * target-delegates.c: Rebuild.
1952 * target.c: Include target-debug.h.
1953 (debug_target): Hoist definition.
1954 (target_kill, target_get_section_table, target_memory_map)
1955 (target_flash_erase, target_flash_done, target_detach)
1956 (target_disconnect, target_wait, target_resume)
1957 (target_pass_signals, target_program_signals, target_follow_fork)
1958 (target_mourn_inferior, target_search_memory)
1959 (target_thread_address_space, target_close)
1960 (target_find_new_threads, target_core_of_thread)
1961 (target_verify_memory, target_insert_mask_watchpoint)
1962 (target_remove_mask_watchpoint): Remove targetdebug code.
1963 (debug_to_post_attach, debug_to_prepare_to_store)
1964 (debug_to_files_info, debug_to_insert_breakpoint)
1965 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1966 (debug_to_region_ok_for_hw_watchpoint)
1967 (debug_to_can_accel_watchpoint_condition)
1968 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1969 (debug_to_watchpoint_addr_within_range)
1970 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1971 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1972 (debug_to_terminal_init, debug_to_terminal_inferior)
1973 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1974 (debug_to_terminal_save_ours, debug_to_terminal_info)
1975 (debug_to_load, debug_to_post_startup_inferior)
1976 (debug_to_insert_fork_catchpoint)
1977 (debug_to_remove_fork_catchpoint)
1978 (debug_to_insert_vfork_catchpoint)
1979 (debug_to_remove_vfork_catchpoint)
1980 (debug_to_insert_exec_catchpoint)
1981 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1982 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1983 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1984 (setup_target_debug): Call init_debug_target.
1985 * target.h (TARGET_DEBUG_PRINTER): New macro.
1986 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1987 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1988
2c51604d
GB
19892014-07-24 Gary Benson <gbenson@redhat.com>
1990
1991 * exceptions.h (throw_vfatal): Renamed to...
1992 (throw_vquit): New declaration.
1993 (throw_quit): Likewise.
1994 * exceptions.c (throw_vfatal): Renamed to...
1995 (throw_vquit): New function.
1996 (throw_quit): Likewise.
1997 (throw_error): Call throw_verror rather than throw_it.
1998 * utils.h (vfatal): Removed.
1999 (fatal): Likewise.
2000 * utils.c (vfatal): Removed.
2001 (fatal): Likewise.
2002 (internal_verror): Replaced call to fatal with call to throw_quit.
2003 (quit): Replaced calls to fatal with calls to throw_quit.
2004
34211963
ME
20052014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2006
2007 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2008 target_read_code.
2009
a52b4d3e
ME
20102014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2011
2012 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2013 less than zero in conditional expression.
2014
a8bdc56b
TT
20152014-07-23 Tom Tromey <tromey@redhat.com>
2016
2017 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2018 ($INTRO_PART): Don't match whitespace.
2019 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2020 argument matching.
2021 ($METHOD): Add $METHOD_TRAILER.
2022 (trim): Rewrite.
2023 (scan_target_h): New sub.
2024 Change main loop not to collect state.
2025 * target-delegates.c: Rebuild.
2026
91b52240
GB
20272014-07-23 Gary Benson <gbenson@redhat.com>
2028
2029 * cp-support.c (gdb_demangle): Fix build on systems without
2030 sigaltstack.
2031
45326f6f
JK
20322014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2033
2034 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2035 for reference entry value target data value.
2036
e214cf6c
JK
20372014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2038
2039 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2040 value_available_contents_eq.
2041
bddbbedd
PA
20422014-07-22 Pedro Alves <palves@redhat.com>
2043
2044 * value.c (allocate_optimized_out_value): Don't mark value as
2045 non-lazy.
2046
45c71484
JW
20472014-07-22 Jiong Wang <jiong.wang@arm.com>
2048
2049 * MAINTAINERS (Write After Approval): Update my email address.
2050
9597b22a
DE
20512014-07-20 Doug Evans <dje@google.com>
2052
2053 PR server/17147
2054 * remote.c (putpkt_binary): Add text to error message.
2055
91101fe5
YQ
20562014-07-20 Yao Qi <yao@codesourcery.com>
2057
2058 * eval.c: Remove "Chill" from comments.
2059 * gdbtypes.h: Likewise.
2060 * symtab.h: Likewise.
2061
c9402c95
YQ
20622014-07-20 Yao Qi <yao@codesourcery.com>
2063
2064 * std-operator.def: Update comments to TERNOP_SLICE.
2065
ae8fddda
YQ
20662014-07-20 Yao Qi <yao@codesourcery.com>
2067
2068 * std-operator.def: Remove BINOP_RANGE.
2069 * breakpoint.c (watchpoint_exp_is_const): Update.
2070 * expprint.c (dump_subexp_body_standard): Likewise.
2071 * eval.c (init_array_element): Remove dead code.
2072 (evaluate_subexp_standard): Likewise.
2073
9c816640
YQ
20742014-07-20 Yao Qi <yao@codesourcery.com>
2075
2076 * std-operator.def: Remove BINOP_IN.
2077 * breakpoint.c (watchpoint_exp_is_const): Update.
2078 * eval.c (evaluate_subexp_standard): Likewise.
2079 * expprint.c (dump_subexp_body_standard): Likewise.
2080
164224e9
ME
20812014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2082
2083 * microblaze-tdep.c (microblaze_register_names): Add
2084 the rshr and rslr register names.
2085 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2086 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2087 Use of tdesc_numbered_register. Use of
2088 microblaze_register_g_packet_guesses. Use of
2089 tdesc_use_registers. Use of set_gdbarch_register_type.
2090 (microblaze_register_g_packet_guesses): New.
2091 * microblaze-tdep.h (microblaze_reg_num): Add
2092 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2093 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2094 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2095 * features/microblaze-core.xml: New file.
2096 * features/microblaze-stack-protect.xml: New file.
2097 * features/microblaze-with-stack-protect.c: New file.
2098 * features/microblaze-with-stack-protect.xml: New file.
2099 * features/microblaze.xml: New file.
2100 * features/microblaze.c: New file.
2101 * features/Makefile (microblaze-with-stack-protect): Add
2102 microblaze-with-stack-protect microblaze and microblaze-expedite.
2103 * regformats/microblaze-with-stack-protect.dat: New file.
2104 * regformats/microblaze.dat: New file.
2105 * doc/gdb.texinfo (MicroBlaze Features): Added.
2106
e8b2341c
TT
21072014-07-18 Tom Tromey <tromey@redhat.com>
2108
2109 * exec.c (exec_ops): Now static.
2110 * exec.h (exec_ops): Don't declare.
2111
44e89118
TT
21122014-07-18 Tom Tromey <tromey@redhat.com>
2113
2114 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2115 to find_target_beneath.
2116 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2117 find_target_beneath.
2118 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2119
b0ed115f
TT
21202014-07-18 Tom Tromey <tromey@redhat.com>
2121
2122 PR gdb/17130:
2123 * utils.c (quit): Use target_supports_terminal_ours.
2124 * target.h (target_supports_terminal_ours): Declare.
2125 * target.c (target_supports_delete_record): Don't check
2126 to_delete_record against NULL.
2127 (target_supports_terminal_ours): New function.
2128
e75fdfca
TT
21292014-07-18 Tom Tromey <tromey@redhat.com>
2130
2131 PR gdb/17130:
2132 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2133 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2134 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2135 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2136 * windows-nat.c (windows_xfer_partial): Always delegate.
2137 * record-btrace.c (record_btrace_xfer_partial): Simplify
2138 delegation.
2139 (record_btrace_fetch_registers, record_btrace_store_registers)
2140 (record_btrace_prepare_to_store, record_btrace_resume)
2141 (record_btrace_wait, record_btrace_find_new_threads)
2142 (record_btrace_thread_alive): Likewise.
2143 * procfs.c (procfs_xfer_partial): Always delegate.
2144 * corelow.c (core_xfer_partial): Always delegate.
2145 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2146
83814951
TT
21472014-07-18 Tom Tromey <tromey@redhat.com>
2148
2149 * exec.c (exec_make_note_section): Move earlier.
2150
b8b8facf
DE
21512014-07-17 Doug Evans <dje@google.com>
2152
74b49205 2153 PR gdb/17170
b8b8facf
DE
2154 * maint.c (count_symtabs_and_blocks): Handle NULL
2155 current_program_space.
2156 (report_command_stats): Check global enabled flag in addition to
2157 recorded enabled flag.
2158 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2159
69ff6be5
PA
21602014-07-16 Pedro Alves <palves@redhat.com>
2161
2162 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2163
252db1b5
TT
21642014-07-16 Tom Tromey <tromey@redhat.com>
2165
2166 * target.h (struct target_ops) <to_delete_record>: Reformat
2167 comment.
2168
a432721e
TT
21692014-07-16 Tom Tromey <tromey@redhat.com>
2170
2171 * target-delegates.c: Rebuild.
2172
487d9753
PL
21732014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2174
2175 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2176 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2177 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2178 (avr_pointer_to_address): Likewise.
2179 (avr_address_class_type_flags): New function.
2180 (avr_address_class_type_flags_to_name): Likewise.
2181 (avr_address_class_name_to_type_flags): Likewise.
2182 (avr_gdbarch_init): Set address_class_type_flags,
2183 address_class_type_flags_to_name and
2184 address_class_name_to_type_flags.
2185
57745c90
PA
21862014-07-15 Pedro Alves <palves@redhat.com>
2187
2188 * linux-nat.c (kill_callback): Save errno and work with saved
2189 copy.
2190
2d40be18
SM
21912014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2192
2193 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2194
572f6555
EBM
21952014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2196
2197 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2198 breakpoint support correctly.
2199
cc1c52ad
PA
22002014-07-14 Pedro Alves <palves@redhat.com>
2201
2202 * utils.c (prompt_for_continue): Call target_terminal_ours.
2203
1e973570
PA
22042014-07-14 Pedro Alves <palves@redhat.com>
2205
2206 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2207 catch_errors. Don't re-enable stdin or notify observers where,
2208 and rethrow error.
2209 (fetch_inferior_event_wrapper): Delete.
2210
93d6eb10
PA
22112014-07-14 Pedro Alves <palves@redhat.com>
2212
2213 PR gdb/17072
2214 * top.c: Include "inf-loop.h".
2215 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2216 field.
2217 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2218 was async before.
2219 (gdb_readline_wrapper): Store whether the target is async, and
2220 make it sync.
2221
0017922d
PA
22222014-07-14 Pedro Alves <palves@redhat.com>
2223
2224 PR gdb/17072
2225 * top.c (gdb_readline_wrapper_line): Tweak comment.
2226 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2227 the input handler callback.
2228
94696ad3
PA
22292014-07-14 Pedro Alves <palves@redhat.com>
2230
2231 PR gdb/17072
2232 * main.c: Include event-top.h.
2233 (handle_command_errors): New function.
2234 (catch_command_errors, catch_command_errors_const): Use it.
2235
9d1e69a2
PA
22362014-07-14 Pedro Alves <palves@redhat.com>
2237
2238 * exceptions.c (catch_command_errors, catch_command_errors_const):
2239 Moved to main.c.
2240 * exceptions.h (catch_command_errors_ftype)
2241 (catch_command_errors_const_ftype): Moved to main.c.
2242 (catch_command_errors, catch_command_errors_const): Delete
2243 declarations.
2244 * main.c (catch_command_errors_ftype)
2245 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2246 (catch_command_errors, catch_command_errors_const)): Moved here
2247 from exceptions.c and make static.
2248
feefc97b
PA
22492014-07-14 Pedro Alves <palves@redhat.com>
2250
2251 * exceptions.c (print_any_exception): Delete.
2252 (catch_exceptions_with_msg): Use exception_print instead of
2253 print_any_exception.
2254 (catch_errors): Use exception_fprintf instead of
2255 print_any_exception.
2256 (catch_command_errors, catch_command_errors_const): Use
2257 exception_print instead of print_any_exception.
2258
c933f875
PA
22592014-07-14 Pedro Alves <palves@redhat.com>
2260
2261 * infcall.c (run_inferior_call): Set 'sync_execution' while
2262 running the inferior call.
2263
feb6f816
PA
22642014-07-14 Pedro Alves <palves@redhat.com>
2265
2266 * value.c (value_contents_equal): Delete function.
2267 * value.h (value_contents_equal): Delete declaration.
2268
d98b7a16
TT
22692014-07-14 Tom Tromey <tromey@redhat.com>
2270
2271 PR exp/17106:
2272 * gdbtypes.c (is_dynamic_type_internal): New function, from
2273 is_dynamic_type.
2274 (is_dynamic_type): Rewrite.
2275 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2276 (resolve_dynamic_struct): Likewise.
2277 (resolve_dynamic_type_internal): New function, from
2278 resolve_dynamic_type.
2279 (resolve_dynamic_type): Rewrite.
2280
548740d6
TT
22812014-07-14 Tom Tromey <tromey@redhat.com>
2282
2283 * target.c (target_require_runnable): Also check record_stratum.
2284 Update comment.
2285
808f7ab1
YQ
22862014-07-11 Yao Qi <yao@codesourcery.com>
2287
2288 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2289 thumb_instruction_restores_sp return true.
2290
540314bd
YQ
22912014-07-11 Yao Qi <yao@codesourcery.com>
2292
2293 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2294 (thumb_in_function_epilogue_p): Call
2295 thumb_instruction_restores_sp.
2296
1db01f22
YQ
22972014-07-11 Yao Qi <yao@codesourcery.com>
2298
2299 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2300 'add sp, #imm'.
2301 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2302
3116063b
GB
23032014-07-11 Gary Benson <gbenson@redhat.com>
2304
2305 * amd64-linux-nat.c (gdbcore.h): Remove include.
2306 (regset.h): Likewise.
2307 (nat/linux-btrace.h): Likewise.
2308 (btrace.h): Likewise.
2309 (gdb_assert.h): Likewise.
2310 (string.h): Likewise.
2311 (sys/uio.h): Likewise.
2312 (sys/debugreg.h): Likewise.
2313 (sys/syscall.h): Likewise.
2314 (sys/procfs.h): Likewise.
2315 (sys/user.h): Likewise.
2316 (asm/ptrace.h): Likewise.
2317 (i386-nat.h): Likewise.
2318 * i386-linux-nat.c (i386-nat.h): Likewise.
2319 (regset.h): Likewise.
2320 (target.h): Likewise.
2321 (linux-nat.h): Likewise.
2322 (nat/linux-btrace.h): Likewise.
2323 (btrace.h): Likewise.
2324 (gdb_assert.h): Likewise.
2325 (string.h): Likewise.
2326 (sys/uio.h): Likewise.
2327 (sys/user.h): Likewise.
2328 (sys/procfs.h): Likewise.
2329 (sys/reg.h): Likewise.
2330 (sys/debugreg.h): Likewise.
2331 (ORIG_EAX): Remove definition.
2332
040baaf6
GB
23332014-07-11 Gary Benson <gbenson@redhat.com>
2334
2335 * i386-linux-nat.h: New file.
2336 * x86-linux-nat.h: Likewise.
2337 * x86-linux-nat.c: Likewise.
2338 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2339 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2340 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2341 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2342 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2343 (PTRACE_SETREGSET): Likewise.
2344 (arch_lwp_info): Now in x86-linux-nat.c.
2345 (have_ptrace_getregset): Now in x86-linux-nat.h.
2346 (x86_linux_dr_get): Now in x86-linux-nat.c.
2347 (x86_linux_dr_set): Likewise.
2348 (x86_linux_dr_get_addr): Likewise.
2349 (x86_linux_dr_get_control): Likewise.
2350 (x86_linux_dr_get_status): Likewise.
2351 (update_debug_registers_callback): Likewise.
2352 (x86_linux_dr_set_control): Likewise.
2353 (x86_linux_dr_set_addr): Likewise.
2354 (x86_linux_prepare_to_resume): Likewise.
2355 (x86_linux_new_thread): Likewise.
2356 (x86_linux_new_fork): Likewise.
2357 (x86_linux_get_thread_area): Likewise.
2358 (super_post_startup_inferior): Likewise.
2359 (x86_linux_child_post_startup_inferior): Likewise.
2360 (AMD64_LINUX_USER64_CS): Likewise.
2361 (AMD64_LINUX_X32_DS): Likewise.
2362 (x86_linux_read_description): Likewise.
2363 (x86_linux_enable_btrace): Likewise.
2364 (x86_linux_disable_btrace): Likewise.
2365 (x86_linux_teardown_btrace): Likewise.
2366 (x86_linux_read_btrace): Likewise.
2367 (x86_linux_create_target): Likewise.
2368 (x86_linux_add_target): Likewise.
2369 * i386-linux-nat.c (x86-linux-nat.h): New include.
2370 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2371 (PTRACE_SETREGSET): Likewise.
2372 (arch_lwp_info): Now in x86-linux-nat.c.
2373 (have_ptrace_getregset): Now in x86-linux-nat.h.
2374 (x86_linux_dr_get): Now in x86-linux-nat.c.
2375 (x86_linux_dr_set): Likewise.
2376 (x86_linux_dr_get_addr): Likewise.
2377 (x86_linux_dr_get_control): Likewise.
2378 (x86_linux_dr_get_status): Likewise.
2379 (update_debug_registers_callback): Likewise.
2380 (x86_linux_dr_set_control): Likewise.
2381 (x86_linux_dr_set_addr): Likewise.
2382 (x86_linux_prepare_to_resume): Likewise.
2383 (x86_linux_new_thread): Likewise.
2384 (x86_linux_new_fork): Likewise.
2385 (x86_linux_get_thread_area): Likewise.
2386 (super_post_startup_inferior): Likewise.
2387 (x86_linux_child_post_startup_inferior): Likewise.
2388 (AMD64_LINUX_USER64_CS): Likewise.
2389 (AMD64_LINUX_X32_DS): Likewise.
2390 (x86_linux_read_description): Likewise.
2391 (x86_linux_enable_btrace): Likewise.
2392 (x86_linux_disable_btrace): Likewise.
2393 (x86_linux_teardown_btrace): Likewise.
2394 (x86_linux_read_btrace): Likewise.
2395 (x86_linux_create_target): Likewise.
2396 (x86_linux_add_target): Likewise.
2397
1aa7e42c
GB
23982014-07-11 Gary Benson <gbenson@redhat.com>
2399
2400 * amd64-linux-nat.c: Comment and whitespace changes.
2401 * i386-linux-nat.c: Comment and whitespace changes.
2402
c1e246a0
GB
24032014-07-11 Gary Benson <gbenson@redhat.com>
2404
2405 * amd64-linux-nat.c (x86_linux_create_target): New function.
2406 (x86_linux_add_target): Likewise.
2407 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2408 * i386-linux-nat.c (x86_linux_create_target): New function.
2409 (x86_linux_add_target): Likewise.
2410 (_initialize_i386_linux_nat): Delegate to the above new functions.
2411
8c420b8d
GB
24122014-07-11 Gary Benson <gbenson@redhat.com>
2413
2414 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2415 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2416 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2417 (ps_get_thread_area): Delegate to the above.
2418
cb1da100
GB
24192014-07-11 Gary Benson <gbenson@redhat.com>
2420
2421 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2422 x86_linux_read_description. All uses updated. amd64-specific
2423 code conditionalized. Conditionalized i386-specific code added.
2424 Redundant cast removed.
2425 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2426 x86_linux_read_description. All uses updated. i386-specific
2427 code conditionalized. Conditionalized amd64-specific code added.
2428 One sizeof replaced with the actual type it is describing.
2429
2acf3cd0
GB
24302014-07-11 Gary Benson <gbenson@redhat.com>
2431
2432 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2433 x86_linux_dr_get. All uses updated.
2434 (amd64_linux_dr_set): Renamed to
2435 x86_linux_dr_set. All uses updated.
2436 (amd64_linux_dr_get_addr): Renamed to
2437 x86_linux_dr_get_addr. All uses updated.
2438 (amd64_linux_dr_get_control): Renamed to
2439 x86_linux_dr_get_control. All uses updated.
2440 (amd64_linux_dr_get_status): Renamed to
2441 x86_linux_dr_get_status. All uses updated.
2442 (amd64_linux_dr_set_control): Renamed to
2443 x86_linux_dr_set_control. All uses updated.
2444 (amd64_linux_dr_set_addr): Renamed to
2445 x86_linux_dr_set_addr. All uses updated.
2446 (amd64_linux_prepare_to_resume): Renamed to
2447 x86_linux_prepare_to_resume. All uses updated.
2448 (amd64_linux_new_thread): Renamed to
2449 x86_linux_new_thread. All uses updated.
2450 (amd64_linux_new_fork): Renamed to
2451 x86_linux_new_fork. All uses updated.
2452 (amd64_linux_child_post_startup_inferior): Renamed to
2453 x86_linux_child_post_startup_inferior. All uses updated.
2454 (amd64_linux_enable_btrace): Renamed to
2455 x86_linux_enable_btrace. All uses updated.
2456 (amd64_linux_disable_btrace): Renamed to
2457 x86_linux_disable_btrace. All uses updated.
2458 (amd64_linux_teardown_btrace): Renamed to
2459 x86_linux_teardown_btrace. All uses updated.
2460 (amd64_linux_read_btrace): Renamed to
2461 x86_linux_read_btrace. All uses updated.
2462 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2463 x86_linux_dr_get. All uses updated.
2464 (i386_linux_dr_set): Renamed to
2465 x86_linux_dr_set. All uses updated.
2466 (i386_linux_dr_get_addr): Renamed to
2467 x86_linux_dr_get_addr. All uses updated.
2468 (i386_linux_dr_get_control): Renamed to
2469 x86_linux_dr_get_control. All uses updated.
2470 (i386_linux_dr_get_status): Renamed to
2471 x86_linux_dr_get_status. All uses updated.
2472 (i386_linux_dr_set_control): Renamed to
2473 x86_linux_dr_set_control. All uses updated.
2474 (i386_linux_dr_set_addr): Renamed to
2475 x86_linux_dr_set_addr. All uses updated.
2476 (i386_linux_prepare_to_resume): Renamed to
2477 x86_linux_prepare_to_resume. All uses updated.
2478 (i386_linux_new_thread): Renamed to
2479 x86_linux_new_thread. All uses updated.
2480 (i386_linux_new_fork): Renamed to
2481 x86_linux_new_fork. All uses updated.
2482 (i386_linux_child_post_startup_inferior): Renamed to
2483 x86_linux_child_post_startup_inferior. All uses updated.
2484 (i386_linux_enable_btrace): Renamed to
2485 x86_linux_enable_btrace. All uses updated.
2486 (i386_linux_disable_btrace): Renamed to
2487 x86_linux_disable_btrace. All uses updated.
2488 (i386_linux_teardown_btrace): Renamed to
2489 x86_linux_teardown_btrace. All uses updated.
2490 (i386_linux_read_btrace): Renamed to
2491 x86_linux_read_btrace. All uses updated.
2492
b9c1d481
AS
24932014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2494
2495 * remote.c (extended_remote_post_attach): New function.
2496 (init_extended_remote_ops): Install it as to_post_attach method.
2497
7180e04a
PA
24982014-07-09 Pedro Alves <palves@redhat.com>
2499
2500 * infcmd.c (attach_command_post_wait): Don't call
2501 target_terminal_inferior here.
2502 (attach_command): Call it here instead.
2503
9a9a7608
AB
25042014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2505
2506 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2507 field.
2508 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2509 from varobj.c, with additional checks.
2510 (c_varobj_ops): Fill in is_path_expr_parent field.
2511 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2512 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2513 field.
2514 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2515 ops method.
2516 (varobj_default_is_path_expr_parent): New function.
2517 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2518 (varobj_default_is_path_expr_parent): Declare new function.
2519
1f267ae3
MM
25202014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2521
2522 * infcmd.c (finish_backward): Turn internal error into normal error.
2523
b2ee242b
PA
25242014-07-07 Pedro Alves <palves@redhat.com>
2525
8a869bca 2526 PR gdb/17096
b2ee242b
PA
2527 * remote.c (async_handle_remote_sigint)
2528 (async_handle_remote_sigint_twice): Call
2529 gdb_call_async_signal_handler instead of
2530 mark_async_signal_handler.
2531
38e229b2
TT
25322014-07-07 Tom Tromey <tromey@redhat.com>
2533
2534 * target-delegates.c: Rebuild.
2535 * target.c (target_info_record): Remove.
2536 * record.c (info_record_command): Unconditionally call
2537 to_info_record.
2538 * target.h (struct target_ops) <to_info_record>: Use
2539 TARGET_DEFAULT_IGNORE.
2540 (target_info_record): Remove.
2541
f0f9ff95
TT
25422014-07-07 Tom Tromey <tromey@redhat.com>
2543
2544 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2545 TARGET_DEFAULT_NORETURN.
2546 * target.c (generic_tls_error): New function.
2547 (target_translate_tls_address): Don't search target stack.
2548 * target-delegates.c: Rebuild.
2549 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2550 stack.
2551 * linux-thread-db.c (thread_db_get_thread_local_address):
2552 Unconditionally call beneath target.
2553
4a5be5ee
MK
25542014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2555
2556 * cli/cli-logging.c (pop_output_files): Assign targerr to
2557 gdb_stdtargerr.
2558
92c3b204
AB
25592014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * MAINTAINERS (Write After Approval): Update my email address.
2562
9b11e3a7
GB
25632014-07-02 Gary Benson <gbenson@redhat.com>
2564
2565 * proc-service.c (ps_xfer_memory): Update comment.
2566 (ps_pstop): Remove unused function.
2567 (ps_pcontinue): Likewise.
2568 (ps_lstop): Likewise.
2569 (ps_lcontinue): Likewise.
2570 (ps_lgetxregsize): Likewise.
2571 (ps_lgetxregs): Likewise.
2572 (ps_lsetxregs): Likewise.
2573 (ps_plog): Likewise.
2574 (ps_ptread): Likewise.
2575 (ps_ptwrite): Likewise.
2576
cf363f18
MW
25772014-07-01 Mark Wielaard <mjw@redhat.com>
2578
2579 * dwarf2read.c (add_array_cv_type): New function.
2580 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2581 (read_tag_volatile_type): Likewise.
2582
82ae6c8d
TT
25832014-07-01 Tom Tromey <tromey@redhat.com>
2584
2585 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2586 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2587 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2588 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2589 * command.h (cmd_cfunc_ftype): Move earlier.
2590 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2591 (add_com, add_info): Use cmd_cfunc_ftype.
2592
96142726
TT
25932014-06-30 Tom Tromey <tromey@redhat.com>
2594
2595 * symtab.c (operator_chars): Make parameters and return type
2596 const.
2597 (file_matches): Make "files" const.
2598 (struct search_symbols_data) <files>: Now const.
2599 (search_symbols): Make "regexp" and "files" parameters const.
2600 Update.
2601 (symtab_symbol_info): Remove cast.
2602 (rbreak_command): Update.
2603 * symtab.h (search_symbols): Update.
2604
b67a2c6f
YQ
26052014-06-27 Yao Qi <yao@codesourcery.com>
2606
2607 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2608 Change parameter type to 'struct thread_info *'. Caller
2609 updated.
2610 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2611 Update declaration.
2612 * dummy-frame.c (struct dummy_frame_id): New.
2613 (dummy_frame_id_eq): New function.
2614 (struct dummy_frame) <id>: Change its type to 'struct
2615 dummy_frame_id'.
2616 (dummy_frame_push): Add parameter ptid and save it in
2617 dummy_frame_id.
2618 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2619 inferior_ptid.
2620 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2621 to inferior_ptid.
2622 (lookup_dummy_frame): Change parameter type to 'struct
2623 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2624 instead of frame_id_eq.
2625 (dummy_frame_pop): Add parameter ptid. Callers updated.
2626 Update comments. Compose dummy_frame_id and pass it to
2627 lookup_dummy_frame.
2628 (dummy_frame_discard): Add parameter ptid.
2629 (dummy_frame_sniffer): Compose dummy_frame_id and call
2630 dummy_frame_id_eq instead of frame_id_eq.
2631 (fprint_dummy_frames): Print ptid.
2632 * dummy-frame.h: Remove comments.
2633 (dummy_frame_push): Add ptid in declaration.
2634 (dummy_frame_pop, dummy_frame_discard): Likewise.
2635
5b10184c
TT
26362014-06-26 Tom Tromey <tromey@redhat.com>
2637
2638 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2639 * command.h (error_no_arg): Update.
2640
06900326
TT
26412014-06-26 Tom Tromey <tromey@redhat.com>
2642
2643 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2644 (do_show_command): Make "arg" const.
2645 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2646
c2bcbb1d
TT
26472014-06-26 Tom Tromey <tromey@redhat.com>
2648
2649 * record-full.c (record_full_get_bookmark): Make "args" const.
2650 (record_full_goto_bookmark): Make "raw_bookmark" const.
2651 * record.c (record_goto): New function.
2652 (cmd_record_goto): Use it. Now static.
2653 * record.h (record_goto): Declare.
2654 (cmd_record_goto): Remove declaration.
2655 * target-delegates.c: Rebuild.
2656 * target.h (struct target_ops) <to_get_bookmark,
2657 to_goto_bookmark>: Make parameter const.
2658
9cbe5fff
TT
26592014-06-26 Tom Tromey <tromey@redhat.com>
2660
2661 * defs.h (generic_load): Update.
2662 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2663 * monitor.c (monitor_load): Make "args" const.
2664 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2665 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2666 const.
2667 (mips_load): Make "file" const.
2668 * remote-sim.c (gdbsim_load): Make "args" const.
2669 * remote.c (remote_load): Make "name" const.
2670 * symfile.c (generic_load): Make "args" const.
2671 * target-delegates.c: Rebuild.
2672 * target.c (target_load): Make "arg" const.
2673 (debug_to_load): Make "args" const.
2674 * target.h (struct target_ops) <to_load>: Make parameter const.
2675 (target_load): Update.
2676
34a68019
TT
26772014-06-26 Tom Tromey <tromey@redhat.com>
2678
2679 PR symtab/16902:
2680 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2681 (dwarf2_physname, read_partial_die)
2682 (guess_partial_die_structure_name, fixup_partial_die)
2683 (guess_full_die_structure_name, anonymous_struct_prefix)
2684 (dwarf2_name): Use per-BFD obstack.
2685
efc889c1
YQ
26862014-06-26 Yao Qi <yao@codesourcery.com>
2687
2688 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2689 dummyframe and this_id into inner block below.
2690
4395285e
YQ
26912014-06-26 Yao Qi <yao@codesourcery.com>
2692
2693 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2694 with "signal_pass[0]" in the initialization of signal_pass.
2695
aef92902
MM
26962014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2697
2698 * record-btrace.c (record_btrace_generating_corefile)
2699 (record_btrace_prepare_to_generate_core)
2700 (record_btrace_done_generating_core): New.
2701 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2702 (record_btrace_store_registers, record_btrace_prepare_to_store):
2703 Forward request when generating a core file.
2704 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2705 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2706 to_done_generating_core.
2707
5fff78c4
MM
27082014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2709
2710 * target.h (target_ops) <to_prepare_to_generate_core>
2711 <to_done_generating_core>: New.
2712 (target_prepare_to_generate_core, target_done_generating_core): New.
2713 * target.c (target_prepare_to_generate_core)
2714 (target_done_generating_core): New.
2715 * target-delegates.c: Regenerate.
2716 * gcore.c: (write_gcore_file): Rename to ...
2717 (write_gcore_file_1): ...this.
2718 (write_gcore_file): Call target_prepare_to_generate_core
2719 and target_done_generating_core.
2720
1d1f1ccb
MM
27212014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2722
2723 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2724 * gcore.c (write_gcore_file): Free memory returned from
2725 make_corefile_notes.
2726 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2727 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2728
3343ef86
YQ
27292014-06-24 Yao Qi <yao@codesourcery.com>
2730
2731 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2732 (arm_linux_init_abi): Set skip_trampoline_code with
2733 gdbarch_skip_trampoline_code instead of
2734 find_solib_trampoline_target.
2735
18d18ac8
YQ
27362014-06-24 Yao Qi <yao@codesourcery.com>
2737
2738 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2739 arm_skip_bx_reg returns non-zero.
2740
80d8d390
YQ
27412014-06-24 Yao Qi <yao@codesourcery.com>
2742
2743 * arm-tdep.c (arm_skip_bx_reg): New function.
2744 (arm_skip_stub): Call arm_skip_bx_reg.
2745
6a18a01c
DB
27462014-06-23 Don Breazeal <donb@codesourcery.com>
2747
2748 * MAINTAINERS: Add myself as write-after-approval maintainer.
2749
8e9db26e
PA
27502014-06-23 Pedro Alves <palves@redhat.com>
2751
2752 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2753 DR_CONTROL before setting DR0..DR3.
2754 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2755 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2756 bits of DR_CONTROL related to the debug register slot being
2757 disabled. If all slots are vacant, clear local slowdown as well,
2758 and assert DR_CONTROL is 0.
2759
70afc5b7
SC
27602014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2761
2762 * python/lib/gdb/command/xmethods.py
2763 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2764 current progspace only if the string "progspace" matches LOCUS_RE.
2765
840ed64d
JK
27662014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2767
2768 Fix --with-system-readline with readline-6.3 patch 5.
2769 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2770 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2771 types.
2772
26f2dc30
TT
27732014-06-20 Tom Tromey <tromey@redhat.com>
2774
2775 * dwarf2read.c (dw2_get_real_path): Use correct type in
2776 OBSTACK_CALLOC.
2777 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2778
125f8a3d
GB
27792014-06-20 Gary Benson <gbenson@redhat.com>
2780
2781 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2782 * common/glibc_thread_db.h: Likewise.
2783 * common/i386-cpuid.h: Likewise.
2784 * common/i386-gcc-cpuid.h: Likewise.
2785 * common/linux-btrace.h: Likewise.
2786 * common/linux-osdata.h: Likewise.
2787 * common/linux-procfs.h: Likewise.
2788 * common/linux-ptrace.h: Likewise.
2789 * common/mips-linux-watch.h: Likewise.
2790 * common/linux-btrace.c: Moved to nat.
2791 * common/linux-osdata.c: Likewise.
2792 * common/linux-procfs.c: Likewise.
2793 * common/linux-ptrace.c: Likewise.
2794 * common/mips-linux-watch.c: Likewise.
2795 * nat/gdb_thread_db.h: Moved from common.
2796 * nat/glibc_thread_db.h: Likewise.
2797 * nat/i386-cpuid.h: Likewise.
2798 * nat/i386-gcc-cpuid.h: Likewise.
2799 * nat/linux-btrace.c: Likewise.
2800 * nat/linux-btrace.h: Likewise.
2801 * nat/linux-osdata.c: Likewise.
2802 * nat/linux-osdata.h: Likewise.
2803 * nat/linux-procfs.c: Likewise.
2804 * nat/linux-procfs.h: Likewise.
2805 * nat/linux-ptrace.c: Likewise.
2806 * nat/linux-ptrace.h: Likewise.
2807 * nat/mips-linux-watch.c: Likewise.
2808 * nat/mips-linux-watch.h: Likewise.
2809 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2810 (object file files): Reordered.
2811 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2812 of glibc_thread_db.h.
2813
42995dbd
GB
28142014-06-20 Gary Benson <gbenson@redhat.com>
2815
2816 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2817 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2818 (i386_dr_low): Likewise.
2819 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2820 (i386_dr_low_set_addr): Likewise.
2821 (i386_dr_low_get_addr): Likewise.
2822 (i386_dr_low_can_set_control): Likewise.
2823 (i386_dr_low_set_control): Likewise.
2824 (i386_dr_low_get_control): Likewise.
2825 (i386_dr_low_get_status): Likewise.
2826 (i386_get_debug_register_length): Likewise.
2827 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2828 (i386_dr_low): Likewise.
2829 * nat/i386-dregs.c (i386-low.h): Remove include.
2830 (i386-nat.h): Likewise.
2831 (nat/i386-dregs.h): New include.
2832 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2833 (i386_dr_low_set_addr): Likewise.
2834 (i386_dr_low_get_addr): Likewise.
2835 (i386_dr_low_can_set_control): Likewise.
2836 (i386_dr_low_set_control): Likewise.
2837 (i386_dr_low_get_control): Likewise.
2838 (i386_dr_low_get_status): Likewise.
2839 (i386_get_debug_register_length): Likewise.
2840 (debug_hw_points): Likewise.
2841
3ed9baed
IB
28422014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2843
2844 * Makefile.in (SFILES): Add d-exp.y.
2845 (YYFILES): Add d-exp.c.
2846 (YYOBJ): Add d-exp.o.
2847 (local-maintainer-clean): Delete d-exp.c.
2848 * d-exp.y: New file.
2849 * d-lang.h (d_parse): New declaration.
2850 (d_error): New declaration.
2851 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2852 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2853 PREC_ORDER operators.
2854 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2855
78c164b0
YQ
28562014-06-19 Yao Qi <yao@codesourcery.com>
2857
2858 * gdbthread.h (any_running): Remove the declaration.
2859 * thread.c (any_running): Remove.
2860
f6e29b6e
YQ
28612014-06-19 Yao Qi <yao@codesourcery.com>
2862
2863 * gdbthread.h (struct thread_info) <state>: Change its type to
2864 'enum thread_state'. Update comments.
2865
034f788c
PA
28662014-06-19 Pedro Alves <palves@redhat.com>
2867
2868 * gdbthread.h (ALL_THREADS): Delete.
2869 (ALL_NON_EXITED_THREADS): New macro.
2870 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2871 instead of ALL_THREADS.
2872 * infrun.c (find_thread_needs_step_over)
2873 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2874 instead of ALL_THREADS.
2875 * record-btrace.c (record_btrace_open)
2876 (record_btrace_stop_recording, record_btrace_close)
2877 (record_btrace_is_replaying, record_btrace_resume)
2878 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2879 * remote.c (append_pending_thread_resumptions): Likewise.
2880 * thread.c (thread_apply_all_command): Likewise.
2881
46e33252
GB
28822014-06-19 Gary Benson <gbenson@redhat.com>
2883
2884 * i386-nat.c (i386_stopped_by_watchpoint):
2885 Use i386_dr_stopped_by_watchpoint.
2886 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2887 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2888
3a8ee006
GB
28892014-06-19 Gary Benson <gbenson@redhat.com>
2890
2891 * nat/i386-dregs.c: New file.
2892 * Makefile.in (i386-dregs.o): New rule.
2893 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2894 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2895 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2896 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2897 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2898 * config/i386/go32.mh (NATDEPFILES): Likewise.
2899 * config/i386/linux.mh (NATDEPFILES): Likewise.
2900 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2901 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2902 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2903 * i386-nat.h (debug_hw_points): New declaration.
2904 * i386-nat.c (breakpoint.h): Remove include.
2905 (command.h): Likewise.
2906 (target.h): Likewise.
2907 (gdb_assert.h): Likewise.
2908 (debug_hw_points): Made nonstatic.
2909 (debug_printf): Now in i386-dregs.c.
2910 (TARGET_HAS_DR_LEN_8): Likewise.
2911 (DR_CONTROL_SHIFT): Likewise.
2912 (DR_CONTROL_SIZE): Likewise.
2913 (DR_RW_EXECUTE): Likewise.
2914 (DR_RW_WRITE): Likewise.
2915 (DR_RW_READ): Likewise.
2916 (DR_RW_IORW): Likewise.
2917 (DR_LEN_1): Likewise.
2918 (DR_LEN_2): Likewise.
2919 (DR_LEN_4): Likewise.
2920 (DR_LEN_8): Likewise.
2921 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2922 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2923 (DR_ENABLE_SIZE): Likewise.
2924 (DR_LOCAL_SLOWDOWN): Likewise.
2925 (DR_GLOBAL_SLOWDOWN): Likewise.
2926 (DR_CONTROL_RESERVED): Likewise.
2927 (I386_DR_CONTROL_MASK): Likewise.
2928 (I386_DR_VACANT): Likewise.
2929 (I386_DR_LOCAL_ENABLE): Likewise.
2930 (I386_DR_GLOBAL_ENABLE): Likewise.
2931 (I386_DR_DISABLE): Likewise.
2932 (I386_DR_SET_RW_LEN): Likewise.
2933 (I386_DR_GET_RW_LEN): Likewise.
2934 (I386_DR_WATCH_HIT): Likewise.
2935 (i386_wp_op_t): Likewise.
2936 (i386_show_dr): Likewise.
2937 (i386_length_and_rw_bits): Likewise.
2938 (i386_insert_aligned_watchpoint): Likewise.
2939 (i386_remove_aligned_watchpoint): Likewise.
2940 (i386_handle_nonaligned_watchpoint): Likewise.
2941 (i386_update_inferior_debug_regs): Likewise.
2942 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2943 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2944 (i386_region_ok_for_watchpoint):
2945 Use i386_dr_region_ok_for_watchpoint.
2946 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2947
322a8e06
GB
29482014-06-19 Gary Benson <gbenson@redhat.com>
2949
2950 * i386-nat.c (i386_insert_hw_breakpoint): Use
2951 i386_insert_watchpoint.
2952 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2953
8f26655c
GB
29542014-06-19 Gary Benson <gbenson@redhat.com>
2955
2956 * i386-nat.c (i386_dr_show): Renamed to
2957 i386_show_dr and made static. All uses updated.
2958 (i386_dr_length_and_rw_bits): Renamed to
2959 i386_length_and_rw_bits and made static.
2960 All uses updated.
2961 (i386_dr_insert_aligned_watchpoint): Renamed to
2962 i386_insert_aligned_watchpoint and made static.
2963 All uses updated.
2964 (i386_dr_remove_aligned_watchpoint): Renamed to
2965 i386_remove_aligned_watchpoint and made static.
2966 All uses updated.
2967 (i386_dr_update_inferior_debug_regs): Renamed to
2968 i386_update_inferior_debug_regs and made static.
2969 All uses updated.
2970 * nat/i386-dregs.h (i386_dr_show): Removed.
2971 (i386_dr_length_and_rw_bits): Likewise.
2972 (i386_dr_insert_aligned_watchpoint): Likewise.
2973 (i386_dr_remove_aligned_watchpoint): Likewise.
2974 (i386_dr_update_inferior_debug_regs): Likewise.
2975
992c7d70
GB
29762014-06-19 Gary Benson <gbenson@redhat.com>
2977
2978 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2979 * configure: Regenerate.
2980 * config.in: Likewise.
2981 * main.c (signal.h): New include.
2982 (setup_alternate_signal_stack): New function.
2983 (captured_main): Call the above.
2984 * cp-support.c (signal.h): New include.
2985 (catch_demangler_crashes): New flag.
2986 (SIGJMP_BUF): New define.
2987 (SIGSETJMP): Likewise.
2988 (SIGLONGJMP): Likewise.
2989 (gdb_demangle_jmp_buf): New static global.
2990 (gdb_demangle_attempt_core_dump): Likewise.
2991 (gdb_demangle_signal_handler): New function.
2992 (gdb_demangle): If catch_demangler_crashes is set, install the
2993 above signal handler before calling bfd_demangle, and restore
2994 the original signal handler afterwards. Display the offending
2995 symbol and call demangler_warning the first time a segmentation
2996 fault is caught.
2997 (_initialize_cp_support): New maint set/show command.
2998
eae7090b
GB
29992014-06-19 Gary Benson <gbenson@redhat.com>
3000
3001 * utils.h (resource_limit_kind): New enum.
3002 (can_dump_core): New declaration.
3003 (warn_cant_dump_core): Likewise.
3004 (dump_core): Likewise.
3005 * utils.c (dump_core): Made nonstatic. Added new
3006 parameter "limit_kind".
3007 (can_dump_core): Made nonstatic. Moved printing code to...
3008 (warn_cant_dump_core): New function.
3009 (can_dump_core_warn): Likewise.
3010 (internal_vproblem): Replace calls to can_dump_core with
3011 calls to can_dump_core_warn. Supply new argument to each.
3012
57fcfb1b
GB
30132014-06-19 Gary Benson <gbenson@redhat.com>
3014
3015 * utils.h (demangler_vwarning): New declaration.
3016 (demangler_warning): Likewise.
3017 * utils.c (struct internal_problem)
3018 <user_settable_should_quit>: New field.
3019 <user_settable_should_dump_core>: Likewise
3020 (internal_error_problem): Add values for above new fields.
3021 (internal_warning_problem): Likewise.
3022 (demangler_warning_problem): New static global.
3023 (demangler_vwarning): New function.
3024 (demangler_warning): Likewise.
3025 (add_internal_problem_command): Selectively add commands.
3026 (_initialize_utils): New internal problem command.
3027 * maint.c (maintenance_demangler_warning): New function.
3028 (_initialize_maint_cmds): New command.
3029
17a40b44
TT
30302014-06-18 Tom Tromey <tromey@redhat.com>
3031
3032 * f-valprint.c (info_common_command_for_block): Update.
3033 * symtab.h (struct general_symbol_info) <common_block>: Now
3034 const.
3035
346d1dfe
TT
30362014-06-18 Tom Tromey <tromey@redhat.com>
3037
3038 * symtab.h (struct symtab) <blockvector>: Now const.
3039 * ada-lang.c (ada_add_global_exceptions): Update.
3040 * buildsym.c (augment_type_symtab): Update.
3041 * dwarf2read.c (dw2_lookup_symbol): Update.
3042 * jit.c (finalize_symtab): Update.
3043 * jv-lang.c (add_class_symtab_symbol): Update.
3044 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3045 Update.
3046 * objfiles.c (objfile_relocate1): Update.
3047 * psymtab.c (lookup_symbol_aux_psymtabs)
3048 (maintenance_check_psymtabs): Update.
3049 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3050 Update.
3051 * spu-tdep.c (spu_catch_start): Update.
3052 * symmisc.c (dump_symtab_1): Update.
3053 * symtab.c (lookup_global_symbol_from_objfile)
3054 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3055 (basic_lookup_transparent_type_quick)
3056 (basic_lookup_transparent_type, find_pc_sect_symtab)
3057 (find_pc_sect_line, search_symbols): Update.
3058 * block.c (find_block_in_blockvector): Make "bl" const.
3059 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3060 const.
3061 (blockvector_contains_pc): Make "bv" const.
3062 (block_for_pc_sect): Update.
3063 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3064 (blockvector_contains_pc): Update.
3065 * breakpoint.c (resolve_sal_pc): Update.
3066 * inline-frame.c (block_starting_point_at): Update.
3067
1834676b
TT
30682014-06-18 Tom Tromey <tromey@redhat.com>
3069
3070 * completer.c (complete_line): Make "line_buffer" const.
3071 * completer.h (complete_line): Update.
3072
ac1a991b
TT
30732014-06-18 Tom Tromey <tromey@redhat.com>
3074
3075 * symtab.c (add_macro_name): Remove unneeded cast.
3076
5bc98e52
TT
30772014-06-18 Tom Tromey <tromey@redhat.com>
3078
3079 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3080 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3081
8236def8
TT
30822014-06-18 Tom Tromey <tromey@redhat.com>
3083
3084 * probe.c (info_probes_for_ops): Make "arg" const.
3085 * probe.h (info_probes_for_ops): Update.
3086
3977b71f
TT
30872014-06-18 Tom Tromey <tromey@redhat.com>
3088
3089 * varobj.c (varobj_create): Update.
3090 * valops.c (value_of_this): Update.
3091 * tracepoint.c (add_local_symbols, scope_info): Update.
3092 * symtab.h (struct general_symbol_info) <block>: Now const.
3093 * symtab.c (skip_prologue_sal)
3094 (default_make_symbol_completion_list_break_on)
3095 (skip_prologue_using_sal): Update.
3096 * stack.h (iterate_over_block_locals)
3097 (iterate_over_block_local_vars): Update.
3098 * stack.c (print_frame_args): Update.
3099 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3100 parameter const.
3101 (get_selected_block): Make return type const.
3102 * python/py-frame.c (frapy_block): Update.
3103 * python/py-block.c (gdbpy_block_for_pc): Update.
3104 * p-exp.y (%union) <bval>: Now const.
3105 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3106 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3107 * m2-exp.y (%union) <bval>: Now const.
3108 * linespec.c (get_current_search_block): Make return type const.
3109 (create_sals_line_offset, find_label_symbols): Update.
3110 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3111 Update.
3112 (block_starting_point_at): Make "block" const.
3113 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3114 (check_exception_resume): Update.
3115 * guile/scm-frame.c (gdbscm_frame_block): Update.
3116 * guile/scm-block.c (gdbscm_lookup_block): Update.
3117 * frame.h (get_frame_block): Update.
3118 (get_selected_block): Make return type const.
3119 * frame.c (frame_id_inner): Update.
3120 * f-valprint.c (info_common_command_for_block)
3121 (info_common_command): Update.
3122 * dwarf2loc.c (dwarf2_find_location_expression)
3123 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3124 (locexpr_describe_location_piece): Update.
3125 * c-exp.y (%union) <bval>: Now const.
3126 * breakpoint.c (resolve_sal_pc): Update.
3127 * blockframe.c (get_frame_block):Make return type const.
3128 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3129 (block_innermost_frame): Update.
3130 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3131 (block_for_pc, block_for_pc_sect): Update.
3132 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3133 'pblock' const.
3134 (block_for_pc_sect, block_for_pc): Make return type const.
3135 * ax-gdb.c (gen_expr): Update.
3136 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3137 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3138 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3139 (ada_read_var_value): Update.
3140 * ada-exp.y (struct name_info) <block>: Now const.
3141 (%union): Likewise.
3142 (block_lookup): Constify.
3143
b9228891
GB
31442014-06-18 Gary Benson <gbenson@redhat.com>
3145
3146 * nat/i386-dregs.h: New file.
3147 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3148 * i386-nat.h (i386-dregs.h): New include.
3149 (DR_FIRSTADDR): Now in i386-dregs.h.
3150 (DR_LASTADDR): Likewise.
3151 (DR_NADDR): Likewise.
3152 (DR_STATUS): Likewise.
3153 (DR_CONTROL): Likewise.
3154 (i386_debug_reg_state): Likewise.
3155 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3156
a1aa2221
LM
31572014-06-18 Don Breazeal <donb@codesourcery.com>
3158
3159 * breakpoint.c (set_longjmp_breakpoint): Call
3160 momentary_breakpoint_from_master with additional argument.
3161 (set_longjmp_breakpoint_for_call_dummy): Call
3162 momentary_breakpoint_from_master with additional argument.
3163 (set_std_terminate_breakpoint): Call
3164 momentary_breakpoint_from_master with additional argument.
3165 (momentary_breakpoint_from_master): Add argument to function
3166 definition and use it to initialize structure member flag.
74228e77 3167 (clone_momentary_breakpoint): Call
a1aa2221
LM
3168 momentary_breakpoint_from_master with additional argument.
3169 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3170 member flags set in momentary_breakpoint_from_master.
3171
4be83cc2
GB
31722014-06-18 Gary Benson <gbenson@redhat.com>
3173
3174 * i386-nat.c (i386_show_dr): Renamed to
3175 i386_dr_show and made nonstatic. All uses updated.
3176 (i386_length_and_rw_bits): Renamed to
3177 i386_dr_length_and_rw_bits and made nonstatic.
3178 All uses updated.
3179 (i386_insert_aligned_watchpoint): Renamed to
3180 i386_dr_insert_aligned_watchpoint and made nonstatic.
3181 All uses updated.
3182 (i386_remove_aligned_watchpoint): Renamed to
3183 i386_dr_remove_aligned_watchpoint and made nonstatic.
3184 All uses updated.
3185 (i386_update_inferior_debug_regs): Renamed to
3186 i386_dr_update_inferior_debug_regs and made nonstatic.
3187 All uses updated.
3188
131aa0d4
GB
31892014-06-18 Gary Benson <gbenson@redhat.com>
3190
3191 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3192 (i386_dr_low_can_set_control): Likewise.
3193 (i386_dr_low_set_addr): Likewise.
3194 (i386_dr_low_set_control): Likewise.
3195 (i386_dr_low_get_addr): Likewise.
3196 (i386_dr_low_get_status): Likewise.
3197 (i386_dr_low_get_control): Likewise.
3198 (i386_insert_aligned_watchpoint): Use new macros.
3199 (i386_update_inferior_debug_regs): Likewise.
3200 (i386_stopped_data_address): Likewise.
3201
d9305f7f
GB
32022014-06-18 Gary Benson <gbenson@redhat.com>
3203
3204 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3205 New parameter. All uses updated.
3206
ea008da4
GB
32072014-06-18 Gary Benson <gbenson@redhat.com>
3208
3209 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3210 All uses updated.
3211
1b6d4134
GB
32122014-06-18 Gary Benson <gbenson@redhat.com>
3213
3214 * i386-nat.c (debug_printf): New macro.
3215 (i386_get_debug_register_length): Likewise.
3216 (TARGET_HAS_DR_LEN_8): Use above macro.
3217 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3218 and printf_unfiltered. Use phex to format values.
3219
9b4550ef
GB
32202014-06-18 Gary Benson <gbenson@redhat.com>
3221
3222 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3223 Make const.
3224
6e62758f
GB
32252014-06-18 Gary Benson <gbenson@redhat.com>
3226
3227 * i386-nat.c: Comment changes.
3228
51c79e94
GB
32292014-06-18 Gary Benson <gbenson@redhat.com>
3230
3231 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3232
3e11889a
GB
32332014-06-18 Gary Benson <gbenson@redhat.com>
3234
3235 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3236 (i386_insert_aligned_watchpoint): Likewise.
3237 (i386_remove_aligned_watchpoint): Likewise.
3238 (i386_handle_nonaligned_watchpoint): Likewise.
3239
fc6e2f03
GB
32402014-06-18 Gary Benson <gbenson@redhat.com>
3241
3242 * i386-nat.c: Whitespace changes.
3243
2afe7d50
SB
32442014-06-17 Samuel Bronson <naesten@gmail.com>
3245
3246 * MAINTAINERS: Update Roland McGrath's email address.
3247 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3248 Red Hat a while ago, and giving me a current address.
2afe7d50 3249
3bca49ee
TT
32502014-06-17 Tom Tromey <tromey@redhat.com>
3251
3252 * utils.h (savestring): Remove declaration.
3253
6e366df1
TT
32542014-06-17 Tom Tromey <tromey@redhat.com>
3255
3256 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3257
6be47f0c
KS
32582014-06-16 Keith Seitz <keiths@redhat.com>
3259
3260 PR mi/15863
3261 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3262 to update the varobj if inferior_ptid is null_ptid.
3263
7bc112c1
TT
32642014-06-16 Tom Tromey <tromey@redhat.com>
3265
3266 * target.h (struct target_ops) <to_info_proc>: Make parameter
3267 const.
3268 (target_info_proc): Update.
3269 * target.c (target_info_proc): Make "args" const.
3270 * procfs.c (procfs_info_proc): Update.
3271 * linux-tdep.c (linux_info_proc): Update.
3272 (linux_core_info_proc_mappings): Make "args" const.
3273 (linux_core_info_proc): Update.
3274 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3275 * gdbarch.c: Rebuild.
3276 * gdbarch.h: Rebuild.
3277 * corelow.c (core_info_proc): Update.
3278
fee354ee
TT
32792014-06-16 Tom Tromey <tromey@redhat.com>
3280
3281 * target.h (struct target_ops) <to_disconnect>: Make parameter
3282 const.
3283 (target_disconnect): Update.
3284 * target.c (target_disconnect): Make "args" const.
3285 * target-delegates.c: Rebuild.
3286 * remote.c (remote_disconnect): Update.
3287 * record.h (record_disconnect): Update.
3288 * record.c (record_disconnect): Update.
3289 * inf-child.c (inf_child_disconnect): Update.
3290
a30bf1f1
TT
32912014-06-16 Tom Tromey <tromey@redhat.com>
3292
3293 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3294 * target.c (debug_to_rcmd, default_rcmd): Update.
3295 * target-delegates.c: Rebuild.
3296 * remote.c (remote_rcmd): Update.
3297 * monitor.c (monitor_rcmd): Update.
3298
d03de421
PA
32992014-06-16 Pedro Alves <palves@redhat.com>
3300
3301 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3302 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3303 have OBJF_SHARED set.
3304 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3305 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3306 instead of OBJF_USERLOADED.
3307 * objfiles.h (OBJF_SHARED): Update comment.
3308 (userloaded_objfile_contains_address_p): Rename to ...
3309 (shared_objfile_contains_address_p): ... this, and update
3310 comments.
3311 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3312 new objfile.
3313 (remove_symbol_file_command): Skip objfiles that don't have
3314 OBJF_SHARED set.
3315
99f4262f
TT
33162014-06-16 Tom Tromey <tromey@redhat.com>
3317
3318 * minsyms.h (prim_record_minimal_symbol)
3319 (prim_record_minimal_symbol_and_info): Update comments.
3320
97d66cc6
EZ
33212014-06-14 Eli Zaretskii <eliz@gnu.org>
3322
3323 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3324 or --without-guile, according to how GDB was built.
3325
635c7e8a
TT
33262014-06-13 Tom Tromey <tromey@redhat.com>
3327
3328 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3329 to help_list.
3330 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3331 to help_list.
3332 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3333 help_list.
3334 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3335 help_list.Pass all_commands, not -1, to help_list.
3336 * cli/cli-dump.c (dump_command, append_command)
3337 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3338 (binary_dump_command, binary_append_command): Pass all_commands,
3339 not -1, to help_list.
3340 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3341 -1, to help_list.
3342 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3343 -1, to help_list.
3344 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3345 help_list.
3346 * top.c (set_history): Pass all_commands, not -1, to help_list.
3347 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3348 all_commands, not -1, to help_list.
3349 * symfile.c (overlay_command): Pass all_commands, not -1, to
3350 help_list.
3351 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3352 help_list.
3353 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3354 help_list.
3355 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3356 -1, to help_list.
3357 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3358 not -1, to help_list.
3359 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3360 not -1, to help_list.
3361 * maint.c (maintenance_command, maintenance_info_command)
3362 (maintenance_print_command, maintenance_set_cmd): Pass
3363 all_commands, not -1, to help_list.
3364 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3365 help_list.
3366 * language.c (set_check): Pass all_commands, not -1, to help_list.
3367 * infcmd.c (unset_command): Pass all_commands, not -1, to
3368 help_list.
3369 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3370 help_list.
3371 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3372 help_list.
3373 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3374 help_list.
3375 * breakpoint.c (save_command): Pass all_commands, not -1, to
3376 help_list.
3377 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3378 all_commands, not -1, to help_list.
3379
b94ade42
PL
33802014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3381
3382 * regcache.c (struct register_to_invalidate): New structure.
3383 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3384 functions.
3385 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3386
31f628ae
YQ
33872014-06-12 Yao Qi <yao@codesourcery.com>
3388
3389 * varobj.c (varobj_get_num_children): Call
3390 varobj_is_dynamic_p.
3391 (varobj_list_children): Likewise.
3392 (varobj_update): Likewise. Update comments.
3393
cde5ef40
YQ
33942014-06-12 Yao Qi <yao@codesourcery.com>
3395
3396 * varobj.c (varobj_pretty_printed_p): Rename to ...
3397 (varobj_is_dynamic_p): ... this. New function.
3398 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3399 (varobj_is_dynamic_p): Declare.
3400 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3401 (mi_print_value_p, varobj_update_one): Likewise.
3402
576ea091
YQ
34032014-06-12 Pedro Alves <pedro@codesourcery.com>
3404 Yao Qi <yao@codesourcery.com>
3405
3406 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3407 (varobj_get_iterator): Wrap up code for pretty-printer by
3408 "#if HAVE_PYTHON" and "#endif".
3409 (update_dynamic_varobj_children): Likewise.
3410
827f100c
YQ
34112014-06-12 Pedro Alves <pedro@codesourcery.com>
3412 Yao Qi <yao@codesourcery.com>
3413
3414 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3415 gdb_python_initialized is false. Move some code from varobj.c.
3416 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3417 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3418 (struct varobj_item): Moved to varobj-iter.h".
3419 (varobj_clear_saved_item): New function.
3420 (update_dynamic_varobj_children): Move python-related code to
3421 py-varobj.c.
3422 (free_variable): Call varobj_clear_saved_item and
3423 varobj_iter_delete.
3424
e5250216
YQ
34252014-06-12 Pedro Alves <pedro@codesourcery.com>
3426 Yao Qi <yao@codesourcery.com>
3427
3428 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3429 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3430 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3431 (py-varobj.o): New rule.
3432 * python/py-varobj.c: New file.
3433 * python/python-internal.h (py_varobj_get_iterator): Declare.
3434 * varobj-iter.h: New file.
3435 * varobj.c: Include "varobj-iter.h"
3436 (struct varobj) <child_iter>: Change its type from "PyObject *"
3437 to "struct varobj_iter *".
3438 <saved_item>: Likewise.
3439 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3440 [HAVE_PYTHON] (varobj_get_iterator): New function.
3441 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3442 python-specific code to python/py-varobj.c.
3443 (install_visualizer): Call varobj_iter_delete instead of
3444 Py_XDECREF.
3445 * varobj.h (varobj_ensure_python_env): Declare.
3446
5a2e0d6e
YQ
34472014-06-12 Yao Qi <yao@codesourcery.com>
3448
3449 * varobj.c (struct varobj_item): New structure.
3450 (create_child_with_value): Update declaration.
3451 (varobj_add_child): Replace arguments 'name' and 'value' with
3452 'item'. All callers updated.
3453 (install_dynamic_child): Likewise.
3454 (update_dynamic_varobj_children): Likewise.
3455 (varobj_add_child): Likewise.
3456 (create_child_with_value): Likewise.
3457
919b9a93
JB
34582014-06-11 Joel Brobecker <brobecker@adacore.com>
3459
3460 * NEWS: Create a new section for the next release branch.
3461 Rename the section of the current branch, now that it has
3462 been cut.
3463
71a55bdf
JB
34642014-06-11 Joel Brobecker <brobecker@adacore.com>
3465
3466 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3467 * version.in: Bump version to 7.8.50.DATE-cvs.
3468
364fe1f7
PA
34692014-06-11 Pedro Alves <palves@redhat.com>
3470
3471 PR remote/17028
3472 * ser-mingw.c (net_windows_socket_check_pending): New function.
3473 (net_windows_select_thread): Ignore spurious wakeups. Use
3474 net_windows_socket_check_pending.
3475 (net_windows_wait_handle): Check for pending events with
3476 ioctlsocket, through net_windows_socket_check_pending, instead of
3477 checking the socket's event.
3478
5a6c7709
SC
34792014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3480
3481 * python/python-internal.h (gdb_PyObject_GetAttrString)
3482 (gdb_PyObject_HasAttrString): New inline function definitions.
3483 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3484 char * of the second argument to PyObject_GetAttrString.
74228e77 3485
0e58ee40
JB
34862014-06-10 Joel Brobecker <brobecker@adacore.com>
3487
3488 * serial.c (serial_write): Fix index of character to be printed
3489 in call to serial_logchar when serial debug traces are enabled.
3490
d190df30
JB
34912014-06-10 Joel Brobecker <brobecker@adacore.com>
3492
3493 * gdbtypes (resolve_dynamic_range): Add function description.
3494
b4b01d36
PA
34952014-06-09 Pedro Alves <palves@redhat.com>
3496
3497 * linux-nat.c (linux_child_follow_fork): Initialize status with
3498 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3499 inner block. Only pass the signal to PTRACE_DETACH if in pass
3500 state.
3501
3657956b
GB
35022014-06-09 Gary Benson <gbenson@redhat.com>
3503
3504 * common/signals.c (gdb_signal_from_host): Reorder to separate
3505 the always-available ANSI-standard signals from the signals that
3506 require checking.
3507 (do_gdb_signal_to_host): Likewise.
3508 * proc-events.c (signal_table): Likewise.
3509
c077881a
HZ
35102014-06-08 Hui Zhu <hui@codesourcery.com>
3511
3512 * common/linux-ptrace.c (linux_disable_event_reporting): New
3513 function.
3514 * common/linux-ptrace.h (linux_disable_event_reporting): New
3515 declaration.
3516 * linux-nat.c (linux_child_follow_fork): Do a single step before
3517 detach.
3518
4186eb54
KS
35192014-06-07 Keith Seitz <keiths@redhat.com>
3520
3521 Revert:
3522 PR c++/16253
3523 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3524 from symbol_matches_domain in symtab.c. All local callers
3525 of symbol_matches_domain updated.
3526 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3527 search STRUCT_DOMAIN.
3528 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3529 independently. standard_lookup will do that automatically.
3530 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3531 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3532 (cp_lookup_symbol_in_namespace): Likewise.
3533 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3534 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3535 may return a STRUCT_DOMAIN match.
3536 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3537 * cp-support.c: Include language.h.
3538 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3539 VAR_DOMAIN.
3540 * psymtab.c (match_partial_symbol): Compare the requested
3541 domain with the symbol's domain directly.
3542 (lookup_partial_symbol): Likewise.
3543 * symtab.c (lookup_symbol_in_language): Explain when/why
3544 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3545 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3546 appropriate languages.
3547 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3548 and moved to ada-lang.c
3549 (lookup_block_symbol): Explain that this function only returns
3550 symbol matching the requested DOMAIN.
3551 Compare the requested domain with the symbol's domain directly.
3552 (iterate_over_symbols): Compare the requested domain with the
3553 symbol's domain directly.
3554 * symtab.h (symbol_matches_domain): Remove.
3555
25326a28 35562014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3557
3558 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3559 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3560 (gdbscm_guile_version_is_at_least): Declare.
3561 (gdbscm_scm_string_to_int): Declare.
3562 * guile/guile.c (gdbscm_guile_major_version): New global.
3563 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3564 (guile_datadir): New static global.
3565 (gdbscm_guile_data_directory): New function.
3566 (initialize_scheme_side): Update.
3567 (misc_guile_functions): Add guile-data-directory.
3568 (initialize_gdb_module): Fetch guile version number.
3569 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3570 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3571 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3572 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3573 comments.
3574 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3575 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3576 * guile/scm-value.c (gdbscm_value_to_string): Only call
3577 scm_port_conversion_strategy if Guile version >= 2.0.6.
3578
0a770bb2 35792014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3580
3581 * main.c (print_gdb_help): Add -q and --silent.
3582
73ba372c
GB
35832014-06-06 Gary Benson <gbenson@redhat.com>
3584
3585 * common/signals.c: Remove preprocessor conditionals for
3586 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3587 SIGSEGV and SIGTERM.
3588 * proc-events.c: Likewise.
3589
c33b2f12
MM
35902014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3591
3592 * symfile.c (symfile_free_objfile): Remove restriction to
3593 OBJF_USERLOADED.
3594 * symfile-mem.c (symbol_file_add_from_memory): Call
3595 add_target_sections_of_objfile.
3596
fb934770
LC
35972014-06-05 Ludovic Courtès <ludo@gnu.org>
3598
3599 * guile/scm-value.c (gdbscm_history_append_x): Use
3600 'vlscm_get_value_smob_arg_unsafe' instead of
3601 'vlscm_scm_to_value'.
3602
6ef284bd
SM
36032014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3604
3605 PR mi/15806
3606 * utils.c (printchar): Don't escape at all if quoter is NUL.
3607 Update function documentation to clarify effect of parameter
3608 QUOTER.
3609 * remote.c (escape_buffer): Pass '\\' as the quoter to
3610 fputstrn_unfiltered.
3611 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3612 generate the output.
3613 (mi_solib_unloaded): Same.
3614
270c9937
JB
36152014-06-05 Joel Brobecker <brobecker@adacore.com>
3616
3617 * development.sh: Delete.
3618 * Makefile.in (config.status): Adjust dependency on development.sh.
3619 * configure.ac: Adjust development.sh source call.
3620 * configure: Regenerate.
3621
16f691fb
DE
36222014-06-04 Doug Evans <xdje42@gmail.com>
3623
3624 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3625 is_scheme_bkpt, spec.
3626 (bpscm_make_breakpoint_smob): Initialize new members.
3627 (gdbscm_create_breakpoint_x): Split into two ...
3628 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3629 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3630 (scheme_function breakpoint_functions): Update.
3631 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3632 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3633 register-breakpoint!.
3634
ef7cab6b
JB
36352014-06-04 Joel Brobecker <brobecker@adacorer.com>
3636
3637 PR server/17023
3638 * mem-break.c (z_type_supported): Return zero if
3639 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3640
012370f6
TT
36412014-06-04 Tom Tromey <tromey@redhat.com>
3642
3643 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3644 value_from_contents_and_address_unresolved.
3645 (ada_template_to_fixed_record_type_1): Likewise.
3646 (ada_which_variant_applies): Likewise.
3647 * value.h (value_from_contents_and_address_unresolved): Declare.
3648 * value.c (value_from_contents_and_address_unresolved): New
3649 function.
3650 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3651 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3652 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3653
92e2a17f
TT
36542014-06-04 Tom Tromey <tromey@redhat.com>
3655
3656 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3657
c0939df1
TT
36582014-06-04 Tom Tromey <tromey@redhat.com>
3659
3660 * procfs.c (procfs_attach): Make "args" const.
3661 * windows-nat.c (windows_attach): Make "args" const.
3662 * nto-procfs.c (procfs_attach): Make "args" const.
3663 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3664 * go32-nat.c (go32_attach): Make "args" const.
3665 * gnu-nat.c (gnu_attach): Make "args" const.
3666 * darwin-nat.c (darwin_attach): Make "args" const.
3667 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3668 * linux-nat.c (linux_nat_attach): Make "args" const.
3669 * remote.c (extended_remote_attach_1, extended_remote_attach):
3670 Make "args" const.
3671 * target.h (struct target_ops) <to_attach>: Make "args" const.
3672 (find_default_attach): Likewise.
3673 * utils.c (parse_pid_to_attach): Make "args" const.
3674 * utils.h (parse_pid_to_attach): Update.
3675
8eaff7cd
TT
36762014-06-04 Tom Tromey <tromey@redhat.com>
3677
3678 * target-delegates.c: Rebuild.
3679 * target.c (default_thread_address_space): New function.
3680 (target_thread_address_space): Simplify.
3681 * target.h (struct target_ops) <to_thread_address_space>: Add
3682 TARGET_DEFAULT_FUNC.
3683
1913f160
DE
36842014-06-04 Doug Evans <xdje42@gmail.com>
3685
3686 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3687
70ad5bff
MM
36882014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3689
3690 * record-btrace.c: Include event-loop.h and inf-loop.h.
3691 (record_btrace_resume_exec_dir)
3692 (record_btrace_async_inferior_event_handler)
3693 (record_btrace_handle_async_inferior_event): New.
3694 (record_btrace_open): Create async event handler.
3695 (record_btrace_close): Delete async event handler.
3696 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3697 Mark async event handler.
3698 (record_btrace_execution_direction): New.
3699 (init_record_btrace_ops): Initialize to_execution_direction.
3700
b6210538
DE
37012014-06-03 Doug Evans <xdje42@gmail.com>
3702
3703 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3704 (gdbscm_make_parameter): Ditto.
3705
a5b1fd27
DE
37062014-06-03 Doug Evans <dje@google.com>
3707
3708 * exec.c (exec_close_1): Call clear_section_table instead of
3709 resize_section_table.
3710 (clear_section_table): New function.
3711 (resize_section_table): Make static. Rename arg num_added to
3712 adjustment.
3713 * exec.h (clear_section_table): Declare.
3714 (resize_section_table): Delete.
3715 * progspace.c (release_program_space): Call clear_section_table
3716 instead of resize_section_table.
3717
0c6e92a5
SC
37182014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3719
3720 * NEWS (Python Scripting): Add entry about the new xmethods
3721 feature.
3722
883964a7
SC
37232014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3724
3725 * python/py-xmethods.c: New file.
3726 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3727 (objfpy_dealloc): XDECREF on the new xmethods field.
3728 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3729 field.
3730 (objfpy_get_xmethods): New function.
3731 (objfile_getset): New entry 'xmethods'.
3732 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3733 (pspy_dealloc): XDECREF on the new xmethods field.
3734 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3735 field.
3736 (pspy_get_xmethods): New function.
3737 (pspace_getset): New entry 'xmethods'.
3738 * python/python-internal.h: Add declarations for new functions.
3739 * python/python.c (_initialize_python): Invoke
3740 gdbpy_initialize_xmethods.
3741 * python/lib/gdb/__init__.py (xmethods): New
3742 attribute.
3743 * python/lib/gdb/xmethod.py: New file.
3744 * python/lib/gdb/command/xmethods.py: New file.
3745
58992dc5
SC
37462014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3747
3748 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3749 best match method returned by find_overload_match is an xmethod.
3750 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3751 the best matching operator returned by find_overload_match is an
3752 xmethod.
3753 * valops.c: #include "extension.h".
3754 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3755 Return void. The list of matching source methods is returned in
3756 "fn_list" and a vector of matching debug method workers is
3757 returned in "xm_worker_vec". Update all callers.
3758 (value_find_oload_method_list): Likewise.
3759 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3760 non-NULL, then the index of the best matching method in this
3761 vector is returned. Update all callers.
3762 (find_overload_match): Include xmethods while performing overload
3763 resolution.
3764
e81e7f5e
SC
37652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3766
3767 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3768 * extension-priv.h (struct extension_language_ops): Add the
3769 xmethod interface.
3770 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3771 get_matching_xmethod_workers, get_xmethod_argtypes,
3772 invoke_xmethod, free_xmethod_worker,
3773 free_xmethod_worker_vec): New functions.
3774 * extension.h: #include "common/vec.h".
3775 New function declarations.
3776 (struct xmethod_worker): New struct.
3777 (VEC (xmethod_worker_ptr)): New vector type.
3778 (xmethod_worker_ptr): New typedef.
3779 (xmethod_worker_vec): Likewise.
3780 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3781 builtin_type.
3782 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3783 (struct builtin_type): New field "xmethod".
3784 * valarith.c (value_ptradd): Assert that the value argument is not
3785 lval_xcallable.
3786 * valops.c (value_must_coerce_to_target): Return 0 for
3787 lval_xcallable values.
3788 * value.c (struct value): New field XM_WORKER in the field
3789 LOCATION.
3790 (value_address, value_raw_address): Return 0 for lval_xcallable
3791 values.
3792 (set_value_address): Assert that the value is not an
3793 lval_xcallable.
3794 (value_free): Free the associated xmethod worker when freeing
3795 lval_xcallable values.
3796 (set_value_component_location): Assert that the WHOLE value is not
3797 lval_xcallable.
3798 (value_of_xmethod, call_xmethod): New functions.
3799 * value.h: Declare "struct xmethod_worker".
3800 Declare new functions value_of_xmethod, call_xmethod.
3801
ef370185
JB
38022014-06-03 Joel Brobecker <brobecker@adacore.com>
3803 Pedro Alves <palves@redhat.com>
3804
3805 PR breakpoints/17000
3806 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3807 New function, extracted from software_breakpoint_inserted_here_p.
3808 (software_breakpoint_inserted_here_p): Replace factored out code
3809 by call to find_non_raw_software_breakpoint_inserted_here.
3810 (bp_target_info_copy_insertion_state): New function.
3811 (bkpt_insert_location): Handle the case of a single-step
3812 breakpoint already inserted at the same address.
3813 (bkpt_remove_location): Handle the case of a single-step
3814 breakpoint still inserted at the same address.
3815 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3816 breakpoint already inserted at the same address.
3817 (deprecated_remove_raw_breakpoint): Handle the case of a
3818 non-raw breakpoint still inserted at the same address.
3819 (find_single_step_breakpoint): New function, extracted from
3820 single_step_breakpoint_inserted_here_p.
3821 (find_single_step_breakpoint): New function,
3822 factored out from single_step_breakpoint_inserted_here_p.
3823 (single_step_breakpoint_inserted_here_p): Reimplement.
3824
1e2ccb61
BM
38252014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3826
3827 Pushed by Joel Brobecker <brobecker@adacore.com>
3828 * source.c (show_substitute_path_command): Fix display of matching
3829 substitution rules.
3830
d3448d85
GB
38312014-06-03 Gary Benson <gbenson@redhat.com>
3832
3833 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3834
06eb1586
DE
38352014-06-02 Doug Evans <xdje42@gmail.com>
3836
3837 Add parameter support for Guile.
3838 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3839 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3840 (scm-param.o): New rule.
3841 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3842 (gdbscm_misc_error): Declare.
3843 (gdbscm_canonicalize_command_name): Declare.
3844 (gdbscm_scm_to_host_string): Declare.
3845 (gdbscm_scm_from_host_string): Declare.
3846 (gdbscm_initialize_parameters): Declare.
3847 * guile/guile.c (initialize_gdb_module): Call
3848 gdbscm_initialize_parameters.
3849 * guile/lib/gdb.scm: Export parameter symbols.
3850 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3851 cmdscm_canonicalize_name and made public. All callers updated.
3852 * guile/scm-exception.c (gdbscm_misc_error): New function.
3853 * guile/scm-param.c: New file.
3854 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3855 (gdbscm_scm_to_host_string): New function.
3856 (gdbscm_scm_from_host_string): New function.
3857 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3858
e698b8c4
DE
38592014-06-02 Doug Evans <xdje42@gmail.com>
3860
3861 Add command support for Guile.
3862 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3863 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3864 (scm-cmd.o): New rule.
3865 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3866 (gdbscm_user_error_p): Declare.
3867 (gdbscm_parse_command_name): Declare.
3868 (gdbscm_valid_command_class_p): Declare.
3869 (gdbscm_initialize_commands): Declare.
3870 * guile/guile.c (initialize_gdb_module): Call
3871 gdbscm_initialize_commands.
3872 * guile/lib/gdb.scm: Export command symbols.
3873 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3874 (throw-user-error): New function.
3875 * guile/scm-cmd.c: New file.
3876 * guile/scm-exception.c (user_error_symbol): New static global.
3877 (gdbscm_user_error_p): New function.
3878 (gdbscm_initialize_exceptions): Set user_error_symbol.
3879 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3880
fb1f94b0
PM
38812014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3882
3883 * top.c (command_loop): Handle comments here...
3884 (command_line_input): ... not here.
3885
ded03782
DE
38862014-06-02 Doug Evans <xdje42@gmail.com>
3887
3888 Add progspace support for Guile.
3889 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3890 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3891 (scm-progspace.o): New rule.
3892 * guile/guile-internal.h (pspace_smob): New typedef.
3893 (psscm_pspace_smob_pretty_printers): Declare.
3894 (psscm_pspace_smob_from_pspace): Declare.
3895 (psscm_scm_from_pspace): Declare.
3896 * guile/guile.c (initialize_gdb_module): Call
3897 gdbscm_initialize_pspaces.
3898 * guile/lib/gdb.scm: Export progspace symbols.
3899 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3900 support.
3901 (append-pretty-printer!): Ditto.
3902 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3903 Implement.
3904 * guile/scm-progspace.c: New file.
3905
397998fc
AM
39062014-06-03 Alan Modra <amodra@gmail.com>
3907
3908 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3909 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3910
6aa5f3a6
DE
39112014-06-02 Doug Evans <dje@google.com>
3912
3913 Add support for skeletonless type units.
3914 * dwarf2read.c (struct dwarf2_per_objfile): New member
3915 n_allocated_type_units.
3916 (struct dwarf2_per_objfile) <tu_stats>: New member
3917 nr_all_type_units_reallocs.
3918 (create_signatured_type_table_from_index): Initialize
3919 n_allocated_type_units
3920 (create_all_type_units): Ditto.
3921 (add_type_unit): Move up in file. New arg slot.
3922 All callers updated. Increase space for all_type_units more
3923 efficiently.
3924 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3925 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3926 (lookup_dwp_signatured_type): Ditto.
3927 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3928 All callers updated.
3929 (build_type_psymtabs_1): Leave type_unit_groups as
3930 NULL if no TUs present.
3931 (print_tu_stats): New function.
3932 (process_skeletonless_type_unit): New function.
3933 (process_dwo_file_for_skeletonless_type_units): New
3934 function.
3935 (process_skeletonless_type_units): New function.
3936 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3937 Call print tu_stats if debugging enabled.
3938
41fac0cf
PA
39392014-06-02 Pedro Alves <palves@redhat.com>
3940
3941 * breakpoint.c (build_target_command_list): Don't build a command
3942 list if we have any duplicate location that isn't a dprintf.
3943
cd1608cc
PA
39442014-06-02 Pedro Alves <palves@redhat.com>
3945
3946 * breakpoint.c (dprintf_breakpoint_hit): New function.
3947 (initialize_breakpoint_ops): Install it as dprintf's
3948 breakpoint_hit method.
3949
486ef3b9
JB
39502014-06-02 Joel Brobecker <brobecker@adacore.com>
3951
3952 * source.c (substitute_path_rule_matches): Simplify using
3953 filename_ncmp instead of FILENAME_CMP.
3954
230cd560
JB
39552014-06-02 Joel Brobecker <brobecker@adacore.com>
3956
3957 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3958
16954d5d
LC
39592014-06-01 Ludovic Courtès <ludo@gnu.org>
3960
3961 * configure.ac: When Guile is available, check for the
3962 availability of 'scm_new_smob'.
3963 * configure, config.h.in: Regenerate.
3964 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3965 function.
3966
53e8a631
AB
39672014-05-30 Andrew Burgess <aburgess@broadcom.com>
3968
3969 * frame.c (struct frame_info): Add stop_string field.
3970 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3971 (get_prev_frame_always): Old content moved into
3972 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3973 TRY_CATCH, handle MEMORY_ERROR exceptions.
3974 (frame_stop_reason_string): New function definition.
3975 * frame.h (unwind_stop_reason_to_string): Extend comment to
3976 mention frame_stop_reason_string.
3977 (frame_stop_reason_string): New function declaration.
3978 * stack.c (frame_info): Switch to frame_stop_reason_string.
3979 (backtrace_command_1): Switch to frame_stop_reason_string.
3980 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3981 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3982 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3983
70e38b8e
AB
39842014-05-30 Andrew Burgess <aburgess@broadcom.com>
3985
3986 * frame.c (frame_stop_reason_string): Rename to ...
3987 (unwind_stop_reason_to_string): this.
3988 * frame.h (frame_stop_reason_string): Rename to ...
3989 (unwind_stop_reason_to_string): this.
3990 * stack.c (frame_info): Update call to frame_stop_reason_string.
3991 (backtrace_command_1): Likewise.
3992 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3993 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3994
938f0e2f
AB
39952014-05-30 Andrew Burgess <aburgess@broadcom.com>
3996
3997 * frame.c (remove_prev_frame): New function.
3998 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3999 remove_prev_frame.
4000
a09dd441
PA
40012014-05-29 Pedro Alves <palves@redhat.com>
4002
4003 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4004 and make it const. When a single-step decays to a continue,
4005 clear 'step', not 'hw_step'. Pass whether the caller wanted
4006 to step to user_visible_resume_ptid, not what we ask the
4007 target to do.
4008
bdc36728
PA
40092014-05-29 Pedro Alves <palves@redhat.com>
4010
4011 * infrun.c (process_event_stop_test, handle_step_into_function)
4012 (handle_step_into_function_backward): Adjust.
4013 Don't set the even thread's stop_step and call stop_waiting before
4014 calling end_stepping_range. Instead do that ...
4015 (end_stepping_range): ... here. Take an ecs pointer parameter.
4016
22bcd14b
PA
40172014-05-29 Pedro Alves <palves@redhat.com>
4018
4019 * infrun.c (stop_stepping): Rename to ...
4020 (stop_waiting): ... this.
4021 (proceed): Update comment.
4022 (process_event_stop_test, handle_inferior_event)
4023 (handle_signal_stop, handle_step_into_function)
4024 (handle_step_into_function_backward): Update.
4025
4ae57c05
PA
40262014-05-29 Pedro Alves <palves@redhat.com>
4027
4028 * infcall.c (run_inferior_call): Don't check whether the current
4029 thread is running after the proceed call.
4030
329ea579
PA
40312014-05-29 Pedro Alves <palves@redhat.com>
4032 Tom Tromey <tromey@redhat.com>
4033
4034 * NEWS: Mention "maint set target-async", "set mi-async", and that
4035 background execution commands are now always available.
4036 * target.h (target_async_permitted): Update comment.
4037 * target.c (target_async_permitted, target_async_permitted_1):
4038 Default to 1.
4039 (set_target_async_command): Rename to ...
4040 (maint_set_target_async_command): ... this.
4041 (show_target_async_command): Rename to ...
4042 (maint_show_target_async_command): ... this.
4043 (_initialize_target): Adjust.
4044 * infcmd.c (prepare_execution_command): Make extern.
4045 * inferior.h (prepare_execution_command): Declare.
4046 * infrun.c (set_observer_mode): Leave target async alone.
4047 * mi/mi-interp.c (mi_interpreter_init): Install
4048 mi_on_sync_execution_done as sync_execution_done observer.
4049 (mi_on_sync_execution_done): New function.
4050 (mi_execute_command_input_handler): Don't print the prompt if we
4051 just started a synchronous command with an async target.
4052 (mi_on_resume): Check sync_execution before printing prompt.
4053 * mi/mi-main.h (mi_async_p): Declare.
4054 * mi/mi-main.c: Include gdbcmd.h.
4055 (mi_async_p): New function.
4056 (mi_async, mi_async_1): New globals.
4057 (set_mi_async_command, show_mi_async_command, mi_async): New
4058 functions.
4059 (exec_continue): Call prepare_execution_command.
4060 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4061 (mi_execute_async_cli_command): Use mi_async_p.
4062 (_initialize_mi_main): Install "set mi-async". Make
4063 "target-async" a deprecated alias.
4064
92bcb5f9
PA
40652014-05-29 Pedro Alves <palves@redhat.com>
4066
4067 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4068 (_initialize_cli_interp): Adjust.
4069 * event-loop.c: Include "observer.h".
4070 (start_event_loop): Notify 'command_error' observers instead of
4071 calling display_gdb_prompt. Remove FIXME comment.
4072 * event-top.c (display_gdb_prompt): Remove call into the
4073 interpreters.
4074 * inf-loop.c: Include "observer.h".
4075 (inferior_event_handler): Notify 'command_error' observers instead
4076 of calling display_gdb_prompt.
4077 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4078 observers instead of calling display_gdb_prompt.
4079 * interps.c (interp_set): Don't call display_gdb_prompt.
4080 (current_interp_display_prompt_p): Delete.
4081 * interps.h (interp_prompt_p): Delete declaration.
4082 (interp_prompt_p_ftype): Delete.
4083 (struct interp_procs) <prompt_proc_p>: Delete field.
4084 (current_interp_display_prompt_p): Delete declaration.
4085 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4086 (_initialize_mi_interp): Adjust.
4087 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4088 'command_error' observers.
4089 (tui_on_sync_execution_done, tui_on_command_error): New
4090 functions.
4091 (tui_display_prompt_p): Delete.
4092 (_initialize_tui_interp): Adjust.
4093
fd664c91
PA
40942014-05-29 Pedro Alves <palves@redhat.com>
4095
4096 PR gdb/13860
4097 * cli/cli-interp.c: Include infrun.h and observer.h.
4098 (cli_uiout, cli_interp): New globals.
4099 (cli_on_signal_received, cli_on_end_stepping_range)
4100 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4101 functions.
4102 (cli_interpreter_init): Install them as 'end_stepping_range',
4103 'signal_received' 'signal_exited', 'exited' and 'no_history'
4104 observers.
4105 (_initialize_cli_interp): Remove cli_interp local.
4106 * infrun.c (handle_inferior_event): Call the several stop reason
4107 observers instead of printing the stop reason directly.
4108 (end_stepping_range): New function.
4109 (print_end_stepping_range_reason, print_signal_exited_reason)
4110 (print_exited_reason, print_signal_received_reason)
4111 (print_no_history_reason): Make static, and add an uiout
4112 parameter. Print to that instead of to CURRENT_UIOUT.
4113 * infrun.h (print_end_stepping_range_reason)
4114 (print_signal_exited_reason, print_exited_reason)
4115 (print_signal_received_reason print_no_history_reason): New
4116 declarations.
4117 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4118 'mi_uiout'.
4119 <cli_uiout>: New field.
4120 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4121 uiout for CLI output. Install 'signal_received',
4122 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4123 observers.
4124 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4125 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4126 (mi_on_no_history): New functions.
4127 (ui_out_free_cleanup): Delete function.
4128 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4129 instead use the one already stored in the MI interpreter data.
4130 (mi_ui_out): Adjust.
4131 * tui/tui-interp.c: Include infrun.h and observer.h.
4132 (tui_interp): New global.
4133 (tui_on_signal_received, tui_on_end_stepping_range)
4134 (tui_on_signal_exited, tui_on_exited)
4135 (tui_on_no_history): New functions.
4136 (tui_init): Install them as 'end_stepping_range',
4137 'signal_received' 'signal_exited', 'exited' and 'no_history'
4138 observers.
4139 (_initialize_tui_interp): Delete tui_interp local.
4140
8817a6f2
PA
41412014-05-29 Pedro Alves <palves@redhat.com>
4142
4143 PR gdb/15713
4144 * linux-nat.c (linux_nat_resume_callback): Rename the second
4145 parameter to 'except'. Skip LP if it points to EXCEPT.
4146 (linux_nat_resume): Don't mark the event lwp as not stopped
4147 before resuming sibling lwps. Instead ask
4148 linux_nat_resume_callback to skip the event lwp. Mark it as not
4149 stopped after actually resuming it.
4150 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4151 resuming it.
4152 (wait_lwp): Mark the lwp as stopped here.
4153 (stop_wait_callback): Mark the lwp as not stopped right after
4154 resuming it. Don't mark lwps as stopped here.
4155 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4156 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4157
251bde03
PA
41582014-05-29 Pedro Alves <palves@redhat.com>
4159
4160 PR PR15693
4161 * infrun.c (resume): Determine how much to resume depending on
4162 whether the caller wanted a step, not whether we can hardware step
4163 the target. Mark all threads that we intend to run as running,
4164 unless we're calling an inferior function.
4165 (normal_stop): If the thread is running an infcall, don't finish
4166 thread state.
4167 * target.c (target_resume): Don't mark threads as running here.
4168
7f3c0343
JB
41692014-05-28 Joel Brobecker <brobecker@adacore.com>
4170
4171 * serial.c (_initialize_serial): Remove support for
4172 the "set remotebaud" and "show remotebaud" commands.
4173 * NEWS: Add entry documenting the removal of that command.
4174
ee34b3f9
YQ
41752014-05-28 Yao Qi <yao@codesourcery.com>
4176
4177 * charset.c: Fix typo in comments.
4178
add6c04d
GB
41792014-05-27 Gary Benson <gbenson@redhat.com>
4180
4181 * utils.c (internal_vproblem): Prompt for a bug report.
4182
92c48fc5
AW
41832014-05-26 Andy Wingo <wingo@igalia.com>
4184
4185 * guile/scm-arch.c (arscm_mark_arch_smob):
4186 * guile/scm-block.c (bkscm_mark_block_smob)
4187 (bkscm_mark_block_syms_progress_smob):
4188 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4189 * guile/scm-exception.c (exscm_mark_exception_smob):
4190 * guile/scm-frame.c (frscm_mark_frame_smob):
4191 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4192 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4193 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4194 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4195 (ppscm_mark_pretty_printer_worker_smob):
4196 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4197 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4198 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4199 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4200 mark functions.
4201 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4202 function.
4203
b2715b27
AW
42042014-05-26 Andy Wingo <wingo@igalia.com>
4205 Doug Evans <xdje42@gmail.com>
4206
4207 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4208 empty_base_class. All uses updated.
4209 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4210 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4211 Adapt all callers.
4212 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4213 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4214 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4215 (gdbscm_gsmob_has_property_p, add_property_name)
4216 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4217 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4218 (gdb-object-has-property?, gdb-object-properties): Remove.
4219 (gdb-object-kind): Renamed from gsmob-kind.
4220
214ab2da
AW
42212014-05-26 Andy Wingo <wingo@igalia.com>
4222
4223 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4224 * configure: Regenerate.
4225
589fdceb
MM
42262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4227
4228 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4229
67b5c0c1
MM
42302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4231
4232 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4233 (replay_memory_access_read_only, replay_memory_access_read_write)
4234 (replay_memory_access_types, replay_memory_access)
4235 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4236 (cmd_set_record_btrace, cmd_show_record_btrace)
4237 (cmd_show_replay_memory_access): New.
4238 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4239 (record_btrace_remove_breakpoint): Replace
4240 record_btrace_allow_memory_access with replay_memory_access.
4241 (_initialize_record_btrace): Add commands.
4242 * NEWS: Announce it.
4243
036cd381
RR
42442014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4245
4246 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4247
c77c1e42
RR
42482014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4249
4250 * MAINTAINERS (Write After Approval): Move self back from
4251 paper trail.
4252
45741a9c
PA
42532014-05-22 Pedro Alves <palves@redhat.com>
4254
4255 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4256 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4257 (disable_randomization, enum exec_direction_kind)
4258 (execution_direction, stop_registers, start_remote)
4259 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4260 (wait_for_inferior, normal_stop, get_last_target_status)
4261 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4262 (insert_step_resume_breakpoint_at_sal)
4263 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4264 (set_step_info, print_stop_event, signal_stop_state)
4265 (signal_print_state, signal_pass_state, signal_stop_update)
4266 (signal_print_update, signal_pass_update)
4267 (update_signals_program_target, clear_exit_convenience_vars)
4268 (displaced_step_dump_bytes, update_observer_mode)
4269 (signal_catch_update, gdb_signal_from_command): Move
4270 declarations ...
4271 * infrun.h: ... to this new file.
4272 * amd64-tdep.c: Include infrun.h.
4273 * annotate.c: Include infrun.h.
4274 * arch-utils.c: Include infrun.h.
4275 * arm-linux-tdep.c: Include infrun.h.
4276 * arm-tdep.c: Include infrun.h.
4277 * break-catch-sig.c: Include infrun.h.
4278 * breakpoint.c: Include infrun.h.
4279 * common/agent.c: Include infrun.h instead of inferior.h.
4280 * corelow.c: Include infrun.h.
4281 * event-top.c: Include infrun.h.
4282 * go32-nat.c: Include infrun.h.
4283 * i386-tdep.c: Include infrun.h.
4284 * inf-loop.c: Include infrun.h.
4285 * infcall.c: Include infrun.h.
4286 * infcmd.c: Include infrun.h.
4287 * infrun.c: Include infrun.h.
4288 * linux-fork.c: Include infrun.h.
4289 * linux-nat.c: Include infrun.h.
4290 * linux-thread-db.c: Include infrun.h.
4291 * monitor.c: Include infrun.h.
4292 * nto-tdep.c: Include infrun.h.
4293 * procfs.c: Include infrun.h.
4294 * record-btrace.c: Include infrun.h.
4295 * record-full.c: Include infrun.h.
4296 * remote-m32r-sdi.c: Include infrun.h.
4297 * remote-mips.c: Include infrun.h.
4298 * remote-notif.c: Include infrun.h.
4299 * remote-sim.c: Include infrun.h.
4300 * remote.c: Include infrun.h.
4301 * reverse.c: Include infrun.h.
4302 * rs6000-tdep.c: Include infrun.h.
4303 * s390-linux-tdep.c: Include infrun.h.
4304 * solib-irix.c: Include infrun.h.
4305 * solib-osf.c: Include infrun.h.
4306 * solib-svr4.c: Include infrun.h.
4307 * target.c: Include infrun.h.
4308 * top.c: Include infrun.h.
4309 * windows-nat.c: Include infrun.h.
4310 * mi/mi-interp.c: Include infrun.h.
4311 * mi/mi-main.c: Include infrun.h.
4312 * python/py-threadevent.c: Include infrun.h.
4313
98eb56a4
PA
43142014-05-22 Pedro Alves <palves@redhat.com>
4315
4316 * infrun.c (handle_inferior_event): Store the exit code for
4317 --return-child-result here, instead of ...
4318 (print_exited_reason): ... here.
4319
17b2616c
PA
43202014-05-21 Pedro Alves <palves@redhat.com>
4321
4322 PR gdb/13860
4323 * gdbthread.h (struct thread_control_state): New field
4324 `command_interp'.
4325 * infrun.c (follow_fork): Copy the new thread control field to the
4326 child fork thread.
4327 (clear_proceed_status_thread): Clear the new thread control field.
4328 (proceed): Set the new thread control field.
4329 * interps.h (command_interp): Declare.
4330 * interps.c (command_interpreter): New global.
4331 (command_interp): New function.
4332 (interp_exec): Set `command_interpreter' while here.
4333 * cli-out.c (cli_uiout_dtor): New function.
4334 (cli_ui_out_impl): Install it.
4335 * mi/mi-interp.c: Include cli-out.h.
4336 (mi_cmd_interpreter_exec): Add comment.
4337 (restore_current_uiout_cleanup): New function.
4338 (ui_out_free_cleanup): New function.
4339 (mi_on_normal_stop): If finishing an execution command started by
4340 a CLI command, or any kind of breakpoint-like event triggered,
4341 print the stop event to the output (CLI) stream.
4342 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4343
5166082f
PA
43442014-05-21 Pedro Alves <palves@redhat.com>
4345
4346 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4347 current source line having changed.
4348 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4349 * infrun.c (normal_stop): Adjust call to
4350 set_current_sal_from_frame.
4351 * source.c (clear_lines_listed_range): New function.
4352 (set_current_source_symtab_and_line, identify_source_line): Clear
4353 the lines listed range.
4354 (line_info): Handle the first "info line" after the current source
4355 line having changed.
4356 * stack.c (print_stack_frame): Remove center handling.
4357 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4358 center sal.line.
4359
c1ee2fb3
PA
43602014-05-21 Pedro Alves <palves@redhat.com>
4361
4362 * inf-child.c (inf_child_mourn_inferior): New function.
4363 * inf-child.h (inf_child_mourn_inferior): New declaration.
4364 * darwin-nat.c (darwin_mourn_inferior): Use
4365 inf_child_mourn_inferior.
4366 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4367 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4368 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4369 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4370 * windows-nat.c (windows_mourn_inferior): Likewise.
4371
5c6d4fb2
DE
43722014-05-21 Doug Evans <xdje42@gmail.com>
4373
250748cb 4374 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4375
4a2722c5
DE
43762014-05-21 Doug Evans <xdje42@gmail.com>
4377
17292b30 4378 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4379 (gdbscm_out_of_range_error): Ditto.
4380 (gdbscm_memory_error): Ditto.
250748cb
DE
4381 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4382 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4383 (gdbscm_out_of_range_error): Update.
4384 (gdbscm_memory_error): Update.
4385 (gdbscm_scm_to_target_string_unsafe): Delete.
4386
6a3cb8e8
PA
43872014-05-21 Pedro Alves <palves@redhat.com>
4388
4389 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4390 globals.
4391 (inf_child_open_target): New function.
4392 (inf_child_open): Use inf_child_open_target to push the target
4393 instead of erroring out.
4394 (inf_child_disconnect, inf_child_close)
4395 (inf_child_maybe_unpush_target): New functions.
4396 (inf_child_target): Install inf_child_disconnect and
4397 inf_child_close. Store a pointer to the returned object.
4398 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4399 declarations.
4400 * target.c (auto_connect_native_target): New global.
4401 (show_default_run_target): New function.
4402 (find_default_run_target): Return NULL if automatically connecting
4403 to the native target is disabled.
4404 (_initialize_target): Install set/show auto-connect-native-target.
4405 * NEWS: Mention "set auto-connect-native-target", and "target
4406 native".
4407 * linux-nat.c (super_close): New global.
4408 (linux_nat_close): Call super_close.
4409 (linux_nat_add_target): Store a pointer to the base class's
4410 to_close method.
4411 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4412 inf_child_maybe_unpush.
4413 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4414 already pushed.
4415 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4416 the inferior. Use inf_child_maybe_unpush_target.
4417 (inf_ttrace_attach): Don't push the target if it is already
4418 pushed.
4419 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4420 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4421 after mourning the inferior. Use inf_child_maybe_unpush_target.
4422 (darwin_attach_pid): Don't push the target if it is already
4423 pushed.
4424 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4425 mourning the inferior. Use inf_child_maybe_unpush_target.
4426 (gnu_detach): Use inf_child_maybe_unpush_target.
4427 * go32-nat.c (go32_create_inferior): Don't push the target if it
4428 is already pushed.
4429 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4430 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4431 (procfs_open): Rename to ...
4432 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4433 comments. Can target_preopen before changing node. Call
4434 inf_child_open_target to push the target explicitly.
4435 (procfs_attach): Don't push the target if it is already pushed.
4436 (procfs_detach): Use inf_child_maybe_unpush_target.
4437 (procfs_create_inferior): Don't push the target if it is already
4438 pushed.
4439 (nto_native_ops): New global.
4440 (procfs_open): Reimplement.
4441 (procfs_native_open): New function.
4442 (init_procfs_targets): Install procfs_native_open as to_open of
4443 "target native". Store a pointer to the "native" target in
4444 nto_native_ops.
4445 * procfs.c (procfs_attach): Don't push the target if it is already
4446 pushed.
4447 (procfs_detach): Use inf_child_maybe_unpush_target.
4448 (procfs_mourn_inferior): Only unpush the target after mourning the
4449 inferior. Use inf_child_maybe_unpush_target.
4450 (procfs_init_inferior): Don't push the target if it is already
4451 pushed.
4452 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4453 if it is already pushed.
4454
930ee1b1
PA
44552014-05-21 Pedro Alves <palves@redhat.com>
4456
4457 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4458 and "procfs" targets are now called "native" instead.
4459
1f5d1b13
PA
44602014-05-21 Pedro Alves <palves@redhat.com>
4461
4462 * go32-nat.c (go32_open): Delete.
4463 (go32_target): Don't override the to_open method.
4464
132f8e03
PA
44652014-05-21 Pedro Alves <palves@redhat.com>
4466
4467 * nto-procfs.c (procfs_can_run): New function.
4468 (nto_procfs_ops): New global.
4469 (init_procfs_targets): New, based on procfs_target. Install
4470 "target native" in addition to "target procfs".
4471 (_initialize_procfs): Call init_procfs_targets instead of adding
4472 the target here.
4473
03c136c3
PA
44742014-05-21 Pedro Alves <palves@redhat.com>
4475
4476 * windows-nat.c (windows_target): Don't override to_shortname,
4477 to_longname or to_doc.
4478
a635d0f3
PA
44792014-05-21 Pedro Alves <palves@redhat.com>
4480
4481 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4482 to_doc.
4483
4f9b5133
PA
44842014-05-21 Pedro Alves <palves@redhat.com>
4485
4486 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4487 to_shortname, to_longname or to_doc.
4488
bc85afde
PA
44892014-05-21 Pedro Alves <palves@redhat.com>
4490
4491 * go32-nat.c (go32_target): Don't override to_shortname,
4492 to_longname or to_doc.
4493
4ebfc96e
PA
44942014-05-21 Pedro Alves <palves@redhat.com>
4495
4496 * inf-child.c (inf_child_open): Remove mention of "child".
4497 (inf_child_target): Rename target to "native" instead of "child".
4498
2648dfed
AA
44992014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4500
4501 * Makefile.in (SFILES): Delete "regset.c".
4502 (COMMON_OBS): Delete "regset.o".
4503 * regset.c: Remove.
4504 * regset.h (regset_alloc): Delete prototype.
4505
b13feb94
AA
45062014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4507
4508 * sparc-linux-tdep.c (sparc32_linux_gregset)
4509 (sparc32_linux_fpregset): New static regset structures.
4510 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4511 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4512 'fpregset' fields.
4513 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4514 (sparc64_linux_fpregset): New static regset structures.
4515 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4516 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4517 New static regset structures.
4518 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4519 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4520 New static regset structures.
4521 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4522 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4523 New static regset structures.
4524 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4525 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4526 New static regset structures.
4527 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4528
b4fd25c9
AA
45292014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4530
4531 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4532 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4533 register maps ("regmaps") from "*regset" to "*regmap". Do this
4534 for all regmap types and variables.
4535 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4536 (sparc32_linux_supply_core_gregset)
4537 (sparc32_linux_collect_core_gregset)
4538 (sparc32_linux_supply_core_fpregset)
4539 (sparc32_linux_collect_core_fpregset): Likewise.
4540 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4541 (sparc_gregmap, sparc_fpregmap): ... these.
4542 (sparc_supply_gregset, sparc_collect_gregset)
4543 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4544 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4545 (_initialize_sparc_nat): Rename regmaps.
4546 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4547 (sparc_gregmap, sparc_fpregmap): ... these.
4548 (sparc_supply_gregset, sparc_collect_gregset)
4549 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4550 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4551 Rename macros to...
4552 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4553 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4554 Likewise.
4555 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4556 Rename to...
4557 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4558 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4559 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4560 regmaps.
4561 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4562 (sparc32_bsd_fpregset): Rename to...
4563 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4564 (sparc32_bsd_fpregmap): ... these.
4565 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4566 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4567 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4568 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4569 (struct sparc_gregmap, struct sparc_fpregmap)
4570 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4571 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4572 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4573 (sparc32_supply_regset, sparc32_collect_gregset)
4574 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4575 prototypes.
4576 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4577 (sparc64_linux_ptrace_gregmap): ... this.
4578 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4579 (_initialize_sparc64_linux_nat): Rename regmaps.
4580 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4581 (sparc64_linux_core_gregmap): ... this.
4582 (sparc64_linux_supply_core_gregset)
4583 (sparc64_linux_collect_core_gregset)
4584 (sparc64_linux_supply_core_fpregset)
4585 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4586 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4587 (sparc64_sol2_fpregset): Rename to...
4588 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4589 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4590 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4591 regmaps.
4592 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4593 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4594 (sparc64_bsd_fpregset): Rename to...
4595 (struct sparc_gregmap, sparc64_sol2_gregmap)
4596 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4597 (sparc64_bsd_fpregmap): ... these.
4598 (sparc64_supply_gregset, sparc64_collect_gregset)
4599 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4600 prototypes.
4601 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4602 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4603 (sparc64fbsd_gregmap): ... this.
4604 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4605 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4606 Rename regmaps.
4607 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4608 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4609 (sparc64nbsd_collect_fpregset): Likewise.
4610 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4611 (sparc64nbsd_gregmap): ... this.
4612 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4613 regmaps.
4614 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4615 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4616 (sparc64obsd_gregmap): ... this.
4617 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4618 regmaps.
4619 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4620 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4621 (sparc32nbsd_gregmap): ... this.
4622 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4623 regmaps.
4624
8fea3224
AA
46252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626
4627 * score-tdep.c (score7_linux_gregset): New static regset
4628 structure.
4629 (score7_linux_regset_from_core_section): Remove dynamic regset
4630 allocation.
4631 (score_gdbarch_init): Drop allocation of tdep structure.
4632 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4633
24534243
AA
46342014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4635
4636 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4637 regset structures.
4638 (am33_regset_from_core_section): Remove dynamic regset
4639 allocations.
4640
b7195f27
AA
46412014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642
4643 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4644 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4645 structures.
4646 (mips_linux_regset_from_core_section): Remove dynamic regset
4647 allocations.
4648 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4649 'gregset64', 'fpregset', and 'fpregset64'.
4650 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4651 deleted tdep fields.
4652
ecc37a5a
AA
46532014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4654
4655 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4656 regset structures.
4657 (amd64_regset_from_core_section): Remove dynamic regset
4658 allocations.
4659 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4660 structure.
4661 (amd64obsd_regset_from_core_section): Remove dynamic regset
4662 allocation.
4663 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4664 Likewise.
4665 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4666 x86-common regset supply function.
4667 * i386-tdep.c (i386_collect_gregset): Make static.
4668 (i386_gregset): New global regset structure.
4669 (i386_fpregset, i386_xstateregset): New static regset structures.
4670 (i386_regset_from_core_section): Remove dynamic regset
4671 allocations.
4672 (i386_gdbarch_init): Remove initialization of tdep fields
4673 'gregset', 'fpregset', and 'xstateregset'.
4674 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4675 'fpregset', and 'xstateregset'.
4676 (i386_collect_gregset): Remove prototype.
4677 (i386_gregset): New declaration.
4678 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4679 structure.
4680 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4681 allocation.
4682
b7611c43
AA
46832014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4684
4685 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4686 (arm_linux_vfpregset): New static regset structures.
4687 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4688 regset structures.
4689 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4690 and 'vfpregset' fields.
4691
a069a2bd
AA
46922014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4693
4694 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4695 (aarch64_linux_fpregset): New static regset structures.
4696 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4697 of regset structures.
4698 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4699 'fpregset' fields.
4700
09424cff
AA
47012014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4702
4703 * regset.h (struct regset): Remove gdbarch field.
4704 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4705 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4706 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4707 Likewise.
4708 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4709 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4710 (ppc32_linux_vsxregset): Likewise.
4711 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4712 via the regcache instead of the regset.
4713 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4714 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4715 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4716 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4717 Likewise.
4718
3ca7dae4
AA
47192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4720
4721 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4722 Constify structures.
4723 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4724 (alphanbsd_aout_gregset): Likewise.
4725 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4726 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4727 Likewise.
4728 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4729 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4730 Likewise.
4731 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4732 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4733 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4734 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4735 * m88k-tdep.c (m88k_gregset): Likewise.
4736 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4737 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4738 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4739 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4740 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4741 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4742 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4743 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4744 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4745 Likewise.
4746 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4747 * sh-tdep.h (sh_corefile_gregset): Likewise.
4748 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4749 * vax-tdep.c (vax_gregset): Likewise.
4750
5876f503
JK
47512014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4752
4753 Fix TLS access for -static -pthread.
4754 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4755 (try_thread_db_load_1): Initialize it.
4756 (thread_db_get_thread_local_address): Call it if LM is zero.
4757 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4758 * target.h (struct target_ops) (to_get_thread_local_address): Add
4759 load_module_addr comment.
4760
0256a6ac
PA
47612014-05-21 Pedro Alves <palves@redhat.com>
4762
4763 * dcache.c (dcache_read_memory_partial): If reading the cache line
4764 fails, fallback to reading just the memory the caller wanted.
4765
227533ac
DE
47662014-05-20 Doug Evans <dje@google.com>
4767
4768 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4769 instead of get_current_arch.
4770
936d2992
PA
47712014-05-20 Pedro Alves <palves@redhat.com>
4772
4773 * NEWS: Mention that compare-sections now works with all targets.
4774
4775 * remote.c (PACKET_qCRC): New enum value.
4776 (remote_verify_memory): Don't send qCRC if the target has no
4777 execution. Use packet_support/packet_ok. If the target doesn't
4778 support the qCRC packet, fallback to a deep memory copy.
4779 (compare_sections_command): Say "target image" instead of "remote
4780 executable".
4781 (_initialize_remote): Add PACKET_qCRC to the list of config
4782 packets that have no associated command. Extend comment.
4783 * target.c (simple_verify_memory, default_verify_memory): New
4784 function.
4785 * target.h (struct target_ops) <to_verify_memory>: Default to
4786 default_verify_memory.
4787 (simple_verify_memory): New declaration.
4788 * target-delegates.c: Regenerate.
4789
e59fa00f
MM
47902014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4791
4792 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4793
f2205de0
HZ
47942014-05-20 Hui Zhu <hui@codesourcery.com>
4795 Yao Qi <yao@codesourcery.com>
4796
4797 PR backtrace/16558
4798 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4799 and change address of sp and pc.
4800
c4e54771
TT
48012014-05-19 Tom Tromey <tromey@redhat.com>
4802
4803 * gdbtypes.c (rank_function): Use XNEWVEC.
4804 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4805
73051182
DE
48062014-05-19 Doug Evans <dje@google.com>
4807
4808 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4809 build_type_unit_groups and moved closer to only caller. Remove
4810 arguments. All references updated. Remove outdated .gdb_index
4811 comment.
4812 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4813 build_type_psymtabs_1.
4814
8832e7e3
DE
48152014-05-19 Doug Evans <dje@google.com>
4816
4817 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4818 n_type_unit_groups, all_type_unit_groups. All uses removed.
4819 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4820 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4821 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4822 (add_type_unit_group_to_table): Delete.
4823
cd8ae15e
DE
48242014-05-19 Doug Evans <dje@google.com>
4825
4826 * eval.c (evaluate_subexp_standard): Add some comments.
4827
08f4850b
DE
48282014-05-17 Doug Evans <xdje42@gmail.com>
4829
4830 * progspace.c (remove_program_space): Delete, unused.
4831 * progspace.h (remove_program_space): Ditto.
4832
bed8455c
DE
48332014-05-17 Doug Evans <xdje42@gmail.com>
4834
4835 * inferior.c (prune_inferiors): Fix comment.
4836 (remove_inferior_command): Call prune_program_spaces.
4837
8d551b02
DE
48382014-05-16 Doug Evans <dje@google.com>
4839
4840 New command line option -D.
4841 * NEWS: Mention it.
4842 * main.c (set_gdb_data_directory): New function.
4843 (captured_main): Recognize -D. Flag error for --data-directory "".
4844 Call set_gdb_data_directory.
4845 (print_gdb_help): Print --data-directory, -D.
4846 * main.h (set_gdb_data_directory): Declare.
4847 * top.c (staged_gdb_datadir): New static global.
4848 (set_gdb_datadir): Call set_gdb_data_directory
4849 (show_gdb_datadir): New function.
4850 (init_main): Update init of data-directory parameter.
4851
18848e28
GF
48522014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4853
4854 Import the "dirfd" gnulib module.
4855 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4856 * gnulib/aclocal.m4: Update.
4857 * gnulib/config.in: Update.
4858 * gnulib/configure: Update.
4859 * gnulib/import/Makefile.am: Update.
4860 * gnulib/import/Makefile.in: Update.
4861 * gnulib/import/dirfd.c: New.
4862 * gnulib/import/m4/dirfd.m4: New.
4863 * gnulib/import/m4/gnulib-cache.m4: Update.
4864 * gnulib/import/m4/gnulib-comp.m4: Update.
4865
95c64f92
YQ
48662014-05-16 Pierre Muller <muller@sourceware.org>
4867 Yao Qi <yao@codesourcery.com>
4868
4869 * valprint.c (print_wchar): Move the code on checking whether
4870 W is a printable wide char to the default branch of switch
4871 statement below. Call wchar_printable instead of gdb_iswprint.
4872
cac395ea
TM
48732014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4874
19679eca 4875 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4876 ldr.w and ldrd instructions.
4877
83655187
DE
48782014-05-15 Doug Evans <dje@google.com>
4879
4880 * dwarf2read.c (read_structure_type): Delete outdated comments.
4881
dd756689
TT
48822014-05-14 Tom Tromey <tromey@redhat.com>
4883
4884 * macrocmd.c (print_macro_definition): Reindent.
4885
75ddda77
DE
48862014-05-13 Doug Evans <xdje42@gmail.com>
4887
4888 * python/py-cmd.c (cmdpy_completer): Add comment.
4889 (completers): Make const.
4890
b0f16a3e
SM
48912014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4892
4893 * infrun.c (resume): Remove should_resume (unused). Move up
4894 declaration of resume_ptid.
4895
033c3379
TT
48962014-05-13 Tom Tromey <tromey@redhat.com>
4897
4898 * language.h (unop_type_check): Remove.
4899 (binop_type_check): Don't declare.
4900
9b44a3a5
AA
49012014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4902
4903 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4904 call to regcache_raw_collect.
4905
303a33fa
SM
49062014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4907
4908 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4909 mi_console->quote as the quoting character.
4910
196100a0
SM
49112014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4912
4913 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4914
f989a1c8
TT
49152014-04-29 Tom Tromey <tromey@redhat.com>
4916
4917 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4918 "show debug varobj".
4919
9404b58f
KM
49202014-05-07 Kyle McMartin <kyle@redhat.com>
4921
4922 Pushed by Joel Brobecker <brobecker@adacore.com>.
4923 * aarch64-tdep.c (aarch64_software_single_step): New function.
4924 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4925 with aarch64_software_single_step.
4926
5e49ba57
JB
49272014-05-05 Joel Brobecker <brobecker@adacore.com>
4928
4929 GDB 7.7.1 released.
4930
c888a17d
KS
49312014-05-05 Keith Seitz <keiths@redhat.com>
4932
4933 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4934 variable or history value is successfully parsed.
4935
290a839c
YQ
49362014-05-05 Yao Qi <yao@codesourcery.com>
4937 Pedro Alves <palves@redhat.com>
4938
4939 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4940 address of blocks that intersects the requested range. Trim
4941 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4942 sections.
4943 * ctf.c (ctf_xfer_partial): Likewise.
4944
91256dc2
YQ
49452014-05-05 Yao Qi <yao@codesourcery.com>
4946
4947 * printcmd.c (display_command): Remove the check to
4948 target_has_execution.
4949
07284463
MK
49502014-05-03 Mark Kettenis <kettenis@gnu.org>
4951
4952 * ppcobsd-nat.c: Include "obsd-nat.h".
4953 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4954 add_target.
4955 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4956
30a1e6cc
SDJ
49572014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4958
4959 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4960 and 16-bit signed and unsigned arguments. Update comment.
4961 (stap_parse_probe_arguments): Extend code to handle such
4962 arguments. Use warning instead of complaint to notify about
4963 unrecognized bitness.
4964
f33da99a
SDJ
49652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4966
4967 PR breakpoints/16889
4968 * stap-probe.c (stap_parse_probe_arguments): Simplify
4969 check for non-prefixed probes (i.e., probes whose
4970 arguments do not start with "N@"). Always set the
4971 argument type to a sane value.
4972
95cf3b38
DT
49732014-05-01 David Taylor <dtaylor@emc.com>
4974
4975 * remote.c (compare_sections_command): Add -r option to compare
4976 all loadable read-only sections.
4977
1cfdf534
SC
49782014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4979
4980 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4981 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4982 Update all callers.
4983 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4984 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4985 Remove unused CORE_ADDR argument. Update all callers.
4986
ca4f7f8b
PA
49872014-04-29 Pedro Alves <palves@redhat.com>
4988
4989 * remote.c (struct packet_config) <detect>: Extend comment.
4990 (add_packet_config_cmd): Don't set the config's detect or support
4991 fields here.
4992 (init_all_packet_configs): Also initialize the config's 'detect'
4993 field.
4994 (reset_all_packet_configs_support): New function.
4995 (remote_open_1): Call reset_all_packet_configs_support instead of
4996 init_all_packet_configs.
4997 (_initialize_remote): Initialize all packet configs. Assert that
4998 all packets have an associated command, except a few known
4999 outliers.
5000
11c1ba78
JB
50012014-04-28 Joel Brobecker <brobecker@adacore.com>
5002
5003 * dwarf2read.c (read_subrange_type): Handle dynamic
5004 DW_AT_lower_bound attributes.
5005
8739bc53
JB
50062014-04-28 Joel Brobecker <brobecker@adacore.com>
5007
5008 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5009 dynamic bounds before computing its upper bound.
5010 (ada_discrete_type_low_bound): Same as above with the lower bound.
5011
6f8a3220
JB
50122014-04-28 Joel Brobecker <brobecker@adacore.com>
5013
5014 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5015 range types. Adjust the array handling implementation to
5016 take advantage of this change.
5017 (resolve_dynamic_range): New function, mostly extracted from
5018 resolve_dynamic_bounds.
5019 (resolve_dynamic_array): New function, mostly extracted from
5020 resolve_dynamic_bounds.
5021 (resolve_dynamic_bounds): Delete.
5022 (resolve_dynamic_type): Reimplement. Add handling of
5023 TYPE_CODE_RANGE types.
5024
4d072ce4
JB
50252014-04-28 Joel Brobecker <brobecker@adacore.com>
5026
5027 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5028 handling of parallel ___XA types.
5029
52865325
JB
50302014-04-28 Joel Brobecker <brobecker@adacore.com>
5031
5032 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5033 unnecessary second call to static_unwrap_type.
5034
433e77fa
HZ
50352014-04-27 Hui Zhu <hui@codesourcery.com>
5036
5037 * stack.c (print_frame_info): Call do_gdb_disassembly with
5038 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5039
b51a69ee
DE
50402014-04-26 Doug Evans <xdje42@gmail.com>
5041
5042 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5043
7ae1a6a6
PA
50442014-04-25 Pedro Alves <palves@redhat.com>
5045
5046 PR server/16255
5047 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5048 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5049 and newline from built string.
5050 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5051 (linux_ptrace_attach_fail_reason): ... this.
5052 * linux-nat.c (linux_nat_attach): Adjust to use
5053 linux_ptrace_attach_fail_reason.
5054
4082afcc
PA
50552014-04-25 Pedro Alves <palves@redhat.com>
5056
5057 * remote.c (struct remote_state): Remove multi_process_aware,
5058 non_stop_aware, cond_tracepoints, cond_breakpoints,
5059 breakpoint_commands, fast_tracepoints, static_tracepoints,
5060 install_in_trace, disconnected_tracing,
5061 enable_disable_tracepoints, string_tracing, and
5062 augmented_libraries_svr4_read fields.
5063 (remote_multi_process_p): Move further below in the file.
5064 (struct packet_config): Add comments.
5065 (update_packet_config): Delete function.
5066 (show_packet_config_cmd): Use packet_config_support.
5067 (add_packet_config_cmd): Use NULL as set callback.
5068 (packet_ok): "set remote foo-packet"-style commands no longer
5069 change config->supported -- adjust.
5070 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5071 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5072 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5073 (PACKET_QNonStop, PACKET_multiprocess_feature)
5074 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5075 (PACKET_DisconnectedTracing_feature)
5076 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5077 (set_remote_protocol_packet_cmd): Delete function.
5078 (packet_config_support, packet_support): New functions.
5079 (set_remote_protocol_Z_packet_cmd): Don't call
5080 update_packet_config.
5081 (remote_query_attached, remote_pass_signals)
5082 (remote_program_signals, remote_threads_info)
5083 (remote_threads_extra_info, remote_start_remote): Use
5084 packet_support.
5085 (remote_start_remote): Use packet_config_support and
5086 packet_support.
5087 (init_all_packet_configs): Set all packets to unknown support,
5088 instead of calling update_packet_config.
5089 (remote_check_symbols): Use packet_support.
5090 (remote_supported_packet): Unconditionally set the packet config's
5091 support status.
5092 (remote_multi_process_feature, remote_non_stop_feature)
5093 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5094 (remote_breakpoint_commands_feature)
5095 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5096 (remote_install_in_trace_feature)
5097 (remote_disconnected_tracing_feature)
5098 (remote_enable_disable_tracepoint_feature)
5099 (remote_string_tracing_feature)
5100 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5101 (remote_protocol_features): Adjust to use remote_supported_packet
5102 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5103 "ConditionalTracepoints", "ConditionalBreakpoints",
5104 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5105 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5106 "EnableDisableTracepoints", and "tracenz".
5107 (remote_query_supported): Use packet_support.
5108 (remote_open_1): Adjust.
5109 (extended_remote_attach_1): Use packet_support. Switch on the
5110 result of packet_ok instead of checking whether the packet ended
5111 up disabled.
5112 (remote_vcont_resume): Use packet_support.
5113 (remote_resume, remote_stop_ns, fetch_register_using_p)
5114 (remote_prepare_to_store, store_register_using_P)
5115 (check_binary_download, remote_write_bytes): Use packet_support.
5116 (remote_vkill): Use packet_support. Switch on the result of
5117 packet_ok instead of checking whether the packet ended up
5118 disabled.
5119 (extended_remote_supports_disable_randomization): Use
5120 packet_support.
5121 (extended_remote_run): Switch on the result of packet_ok instead
5122 of checking whether the packet ended up disabled.
5123 (remote_insert_breakpoint, remote_remove_breakpoint)
5124 (remote_insert_watchpoint, remote_remove_watchpoint)
5125 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5126 packet_support.
5127 (remote_search_memory): Use packet_config_support.
5128 (remote_get_thread_local_address, remote_get_tib_address)
5129 (remote_hostio_send_command, remote_can_execute_reverse): Use
5130 packet_support.
5131 (remote_supports_cond_tracepoints)
5132 (remote_supports_cond_breakpoints)
5133 (remote_supports_fast_tracepoints)
5134 (remote_supports_static_tracepoints)
5135 (remote_supports_install_in_trace)
5136 (remote_supports_enable_disable_tracepoint)
5137 (remote_supports_string_tracing)
5138 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5139 the packet config says the feature is enabled or disabled.
5140 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5141 (remote_get_trace_status): Use packet_support.
5142 (remote_set_disconnected_tracing): Adjust to check whether the
5143 feature is enabled with packet_support.
5144 (remote_set_trace_buffer_size, remote_use_agent)
5145 (remote_can_use_agent, remote_supports_btrace): Use
5146 packet_support.
5147 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5148 Use packet_config_support.
5149 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5150 the packet config says the feature is enabled or disabled.
5151 (set_range_stepping): Use packet_support.
5152
bdb52a22
TT
51532014-04-25 Tom Tromey <tromey@redhat.com>
5154
5155 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5156 argument.
5157
e9475ead
SA
51582014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5159
5160 * NEWS: Mention support for C99 variable length arrays.
5161
82eacd52
JB
51622014-04-24 Joel Brobecker <brobecker@adacore.com>
5163
5164 * ada-lang.c (standard_exc): Expand introductory comment.
5165
01f9f808
MS
51662014-04-24 Michael Sturm <michael.sturm@mintel.com>
5167 Walfred Tedeschi <walfred.tedeschi@intel.com>
5168
5169 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5170 AVX512 registers.
5171 (amd64_linux_read_description): Add code to handle AVX512 xstate
5172 mask and return respective tdesc.
5173 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5174 and features/i386/x32-avx512-linux.c.
5175 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5176 (amd64_linux_core_read_description): Add code to handle AVX512
5177 xstate mask and return respective tdesc.
5178 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5179 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5180 calculation.
5181 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5182 (tdesc_amd64_avx512_linux): New prototype.
5183 (tdesc_x32_avx512_linux): Likewise.
5184 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5185 features/i386/x32-avx512.c.
5186 (amd64_ymm_avx512_names): New register names for pseudo
5187 registers YMM16-31.
5188 (amd64_ymmh_avx512_names): New register names for raw registers
5189 YMMH16-31.
5190 (amd64_k_names): New register names for K registers.
5191 (amd64_zmmh_names): New register names for ZMM raw registers.
5192 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5193 (amd64_xmm_avx512_names): New register names for XMM16-31
5194 registers.
5195 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5196 registers.
5197 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5198 if feature is present.
5199 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5200 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5201 (AMD64_NUM_REGS): Adjust to new number of registers.
5202 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5203 registers supplied via XSTATE by AVX512 registers.
5204 (i386_linux_read_description): Add case for AVX512.
5205 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5206 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5207 (i386_linux_core_read_description): Add case for AVX512.
5208 (i386_linux_init_abi): Install supported register note section
5209 for AVX512.
5210 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5211 AVX512.
5212 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5213 registers to be number of zmm7h + 1.
5214 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5215 * i386-tdep.c: Include features/i386/i386-avx512.c.
5216 (i386_zmm_names): Add ZMM pseudo register names array.
5217 (i386_zmmh_names): Add ZMM raw register names array.
5218 (i386_k_names): Add K raw register names array.
5219 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5220 registers. AVX512 has 16 more ZMM registers than there are YMM
5221 registers.
5222 (i386_zmmh_regnum_p): Add function to look up register number of
5223 ZMM raw registers.
5224 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5225 (i386_k_regnum_p): Likewise for K raw registers.
5226 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5227 registers added by AVX512.
5228 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5229 registers added by AVX512.
5230 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5231 added by AVX512.
5232 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5233 (i386_pseudo_register_name): Add ZMM pseudo registers.
5234 (i386_zmm_type): Construct and return vector registers type for ZMM
5235 registers.
5236 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5237 ZMM0-31 pseudo registers and K registers.
5238 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5239 and YMM16-31 registers from register cache.
5240 (i386_pseudo_register_write): Add code to write K, ZMM and
5241 YMM16-31 registers.
5242 (i386_register_reggroup_p): Add code to include/exclude AVX512
5243 registers in/from respective register groups.
5244 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5245 registers if feature is present in xcr0.
5246 (i386_gdbarch_init): Add code to initialize AVX512 feature
5247 variables in tdep structure, wire in pseudo registers and call
5248 initialize_tdesc_i386_avx512.
5249 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5250 variables.
5251 (i386_regnum): Add AVX512 registers.
5252 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5253 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5254 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5255 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5256 512 bits wide.
5257 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5258 (i386_ymm_avx512_regnum_p): Likewise.
5259 (i386_k_regnum_p): Likewise.
5260 (i386_zmm_regnum_p): Likewise.
5261 (i386_zmmh_regnum_p): Likewise.
5262 * i387-tdep.c : Update year in copyright notice.
5263 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5264 XSAVE buffer.
5265 (XSAVE_YMM_AVX512_ADDR): New macro.
5266 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5267 XSAVE buffer.
5268 (XSAVE_XMM_AVX512_ADDR): New macro.
5269 (xsave_avx512_k_offset): New table for K register offsets in
5270 XSAVE buffer.
5271 (XSAVE_AVX512_K_ADDR): New macro.
5272 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5273 in XSAVE buffer.
5274 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5275 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5276 buffer.
5277 (i387_collect_xsave): Add code to collect AVX512 registers from
5278 XSAVE buffer.
5279 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5280 of XMM16-31 registers.
5281 (I387_NUM_K_REGS): New define for number of K registers.
5282 (I387_K0_REGNUM): New define for K0 register number.
5283 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5284 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5285 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5286 registers.
5287 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5288 (I387_XMM16_REGNUM): New define for XMM16 register number.
5289 (I387_YMM0_REGNUM): New define for YMM0 register number.
5290 (I387_KEND_REGNUM): New define for last K register number.
5291 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5292 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5293 number.
5294 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5295 number.
5296 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5297 size.
5298 * features/Makefile: Add AVX512 related files.
5299 * features/i386/32bit-avx512.xml: New file.
5300 * features/i386/64bit-avx512.xml: Likewise.
5301 * features/i386/amd64-avx512-linux.c: Likewise.
5302 * features/i386/amd64-avx512-linux.xml: Likewise.
5303 * features/i386/amd64-avx512.c: Likewise.
5304 * features/i386/amd64-avx512.xml: Likewise.
5305 * features/i386/i386-avx512-linux.c: Likewise.
5306 * features/i386/i386-avx512-linux.xml: Likewise.
5307 * features/i386/i386-avx512.c: Likewise.
5308 * features/i386/i386-avx512.xml: Likewise.
5309 * features/i386/x32-avx512-linux.c: Likewise.
5310 * features/i386/x32-avx512-linux.xml: Likewise.
5311 * features/i386/x32-avx512.c: Likewise.
5312 * features/i386/x32-avx512.xml: Likewise.
5313 * regformats/i386/amd64-avx512-linux.dat: New file.
5314 * regformats/i386/amd64-avx512.dat: Likewise.
5315 * regformats/i386/i386-avx512-linux.dat: Likewise.
5316 * regformats/i386/i386-avx512.dat: Likewise.
5317 * regformats/i386/x32-avx512-linux.dat: Likewise.
5318 * regformats/i386/x32-avx512.dat: Likewise.
5319 * NEWS: Add note about new support for AVX512.
5320
5321
08351840
PA
53222014-04-23 Pedro Alves <palves@redhat.com>
5323
5324 * breakpoint.c (insert_bp_location): Tolerate errors if the
5325 breakpoint is set in a user-loaded objfile.
5326 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5327 location is marked shlib_disabled. If the breakpoint is set in a
5328 user-loaded objfile is a GDB-side memory breakpoint, validate it
5329 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5330 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5331 flag.
5332 * mem-break.c (memory_validate_breakpoint): New function.
5333 * objfiles.c (userloaded_objfile_contains_address_p): New
5334 function.
5335 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5336 * target.h (memory_validate_breakpoint): New declaration.
5337
076855f9
PA
53382014-04-23 Pedro Alves <palves@redhat.com>
5339
5340 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5341 the breakpoint is set in a shared library, only suppress
5342 errors for software breakpoints, not hardware breakpoints.
5343
483805cf
PA
53442014-04-22 Pedro Alves <palves@redhat.com>
5345
5346 * infrun.c (schedlock_applies): New function, factored out from
5347 find_thread_needs_step_over.
5348 (find_thread_needs_step_over): Use it.
5349 (switch_back_to_stepped_thread): Always clear trap_expected if the
5350 step over is finished. Return early if scheduler locking applies.
5351 Look for the stepping thread and a potential step-over thread with
5352 a single loop.
5353 (currently_stepping_or_nexting_callback): Delete.
5354
a75fef0e
NC
53552014-04-22 Nick Clifton <nickc@redhat.com>
5356
5357 * NEWS: Mention that ARM sim now supports tracing.
5358
48b6e87e
YQ
53592014-04-22 Yao Qi <yao@codesourcery.com>
5360
5361 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5362 to ...
5363 * tracefile.c (tracefile_fetch_registers): ... it. New
5364 function.
5365 * tracefile.h (tracefile_fetch_registers): Declare.
5366 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5367 tracefile_fetch_registers.
5368
17617f2d
EZ
53692014-04-19 Eli Zaretskii <eliz@gnu.org>
5370
5371 PR gdb/14018
5372 * windows-nat.c (thread_rec): Don't display a warning when
5373 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5374 fails for any reason, set th->suspended to -1, so that we don't
5375 try to resume such a thread. Also, don't return NULL in these
5376 cases, to avoid completely ruin the session due to "PC register is
5377 not available" error.
5378 (do_windows_fetch_inferior_registers): Check errors in
5379 GetThreadContext call.
5380 (windows_continue): Accept an additional argument KILLED; if not
5381 zero, ignore errors in the SetThreadContext call, since the
5382 inferior was killed and is shutting down.
5383 (windows_resume, get_windows_debug_event)
5384 (windows_create_inferior, windows_mourn_inferior)
5385 (windows_kill_inferior): All callers of windows_continue changed
5386 to adjust to its new calling sequence.
5387
5723a6fd
YQ
53882014-04-19 Yao Qi <yao@codesourcery.com>
5389
5390 * ctf.c (ctf_open): Call post_create_inferior.
5391
614d5099
YQ
53922014-04-19 Yao Qi <yao@codesourcery.com>
5393
5394 * ctf.c (handle_id): New static variable.
5395 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5396 value. Get the declaration of event "register" and get length
5397 of field "contents".
5398
dac3e710
YQ
53992014-04-19 Yao Qi <yao@codesourcery.com>
5400
5401 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5402
2bca57ba
SC
54032014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5404
5405 * valops.c (oload_method_static): Remove unnecessary argument
5406 METHOD. Update all callers.
5407
51d48146
PA
54082014-04-18 Pedro alves <palves@redhat.com>
5409 Tom Tromey <tromey@redhat.com>
5410
5411 PR backtrace/15558
5412 * frame.c (get_prev_frame_1): Rename to ...
5413 (get_prev_frame_always): ... this, and make extern. Adjust.
5414 (skip_artificial_frames): Use get_prev_frame_always.
5415 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5416 (get_frame_unwind_stop_reason): Adjust to rename.
5417 * frame.h (get_prev_frame_always): Declare.
5418 * inline-frame.c: Include frame.h.
5419 (inline_frame_this_id): Use get_prev_frame_always.
5420
1bdad2e0
TG
54212014-04-18 Tristan Gingold <gingold@adacore.com>
5422
5423 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5424 code by using bfd_mach_o_get_base_address.
5425
7ce16bd4
UW
54262014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5427
5428 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5429 (spu_ax_pseudo_register_collect): New function.
5430 (spu_ax_pseudo_register_push_stack): Likewise.
5431 (spu_dwarf_reg_to_regnum): Likewise.
5432 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5433
2ed3c037
UW
54342014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5435
5436 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5437 Replace FRAME argument with FRAME_ID.
5438 * gdbarch.c, gdbarch.h: Regenerate.
5439 * findvar.c (default_value_from_register): Add GDBARCH argument;
5440 replace FRAME by FRAME_ID. No longer call get_frame_id.
5441 (value_from_register): Update call to gdbarch_value_from_register.
5442 * value.h (default_value_from_register): Update prototype.
5443 * s390-linux-tdep.c (s390_value_from_register): Update interface
5444 and call to default_value_from_register.
5445 * spu-tdep.c (spu_value_from_register): Likewise.
5446
5447 * findvar.c (address_from_register): Remove TYPE argument.
5448 Do not call value_from_register; use gdbarch_value_from_register
5449 with null_frame_id instead.
5450 * value.h (address_from_register): Update prototype.
5451 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5452 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5453 address_from_register interface change.
5454
71e50e83
YQ
54552014-04-17 Yao Qi <yao@codesourcery.com>
5456
5457 * gdbtypes.h: Update comments to link to types and macros'
5458 definitions.
5459
7a23c549
SC
54602014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5461
5462 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5463
22869d73
KS
54642014-04-16 Keith Seitz <keiths@redhat.com>
5465
5466 PR gdb/15827
5467 * dwarf2read.c (skip_one_die): Check that all relative-offset
5468 sibling DIEs fall within range of the current reader's buffer.
5469 (read_partial_die): Likewise.
5470
c4f87ca6
KS
54712014-04-16 Keith Seitz <keiths@redhat.com>
5472
5473 PR c++/16597
5474 * cp-namespace.c (lookup_symbol_file): If the type name of
5475 `this' is NULL, return immediately.
5476
b50c8614
KS
54772014-04-14 Keith Seitz <keiths@redhat.com>
5478
5479 PR c++/16253
5480 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5481 from symbol_matches_domain in symtab.c. All local callers
5482 of symbol_matches_domain updated.
5483 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5484 search STRUCT_DOMAIN.
5485 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5486 independently. standard_lookup will do that automatically.
5487 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5488 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5489 (cp_lookup_symbol_in_namespace): Likewise.
5490 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5491 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5492 may return a STRUCT_DOMAIN match.
5493 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5494 * cp-support.c: Include language.h.
5495 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5496 VAR_DOMAIN.
5497 * psymtab.c (match_partial_symbol): Compare the requested
5498 domain with the symbol's domain directly.
5499 (lookup_partial_symbol): Likewise.
5500 * symtab.c (lookup_symbol_in_language): Explain when/why
5501 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5502 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5503 appropriate languages.
5504 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5505 and moved to ada-lang.c
5506 (lookup_block_symbol): Explain that this function only returns
5507 symbol matching the requested DOMAIN.
5508 Compare the requested domain with the symbol's domain directly.
5509 (iterate_over_symbols): Compare the requested domain with the
5510 symbol's domain directly.
5511 * symtab.h (symbol_matches_domain): Remove.
5512
3d567982
TT
55132014-04-14 Tom Tromey <tromey@redhat.com>
5514
5515 PR c++/15246:
5516 * c-exp.y (type_aggregate_p): New function.
5517 (qualified_name, classify_inner_name): Use it.
5518 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5519 and TYPE_TARGET_TYPE of an enum type.
5520 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5521 an enum type.
5522 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5523 handle TYPE_DECLARED_CLASS.
5524 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5525 types.
5526 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5527 * valops.c (enum_constant_from_type): New function.
5528 (value_aggregate_elt): Use it.
5529 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5530 TYPE_CODE_ENUM.
5531
c848d642
TT
55322014-04-14 Tom Tromey <tromey@redhat.com>
5533
5534 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5535 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5536 const.
5537 * value.h (value_aggregate_elt): Update.
5538
0626fc76
TT
55392014-04-14 Tom Tromey <tromey@redhat.com>
5540
5541 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5542
5ecaaa66
SA
55432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5544
5545 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5546 (evaluate_subexp_standard): Pass noside argument.
5547 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5548 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5549 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5550 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5551 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5552
1612e0c0
SA
55532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5554
5555 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5556 points to a constant blob.
5557
c451ebe5
SA
55582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5559
5560 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5561 property and store it as the high bound and flag the range accordingly.
5562 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5563 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5564 * gdbtypes.h (enum range_flags): New enum.
5565 (struct range_bounds): Add flags member.
5566
1d42e4c4
SA
55672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5568
5569 * c-typeprint.c (c_type_print_varspec_suffix): Added
5570 check for not yet resolved high bound. If unresolved, print
5571 "variable length" string to the console instead of random
5572 length.
5573
9f1f738a
SA
55742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5575
5576 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5577 value.
5578 (ada_template_to_fixed_record_type_1): Likewise.
5579 (ada_to_fixed_type_1): Likewise.
5580 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5581 (cp_print_value): Likewise.
5582 * d-valprint.c (dynamic_array_type): Likewise.
5583 * findvar.c (address_of_variable): Likewise.
5584 * jv-valprint.c (java_value_print): Likewise.
5585 * valops.c (value_ind): Likewise.
5586 * value.c (coerce_ref): Likewise.
5587
3c8452d4
SA
55882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5589
5590 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5591 value and retrieve the dynamic type size.
5592
4ad88275
SA
55932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5594
5595 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5596 passed to sizeof is dynamic evaluate the argument to compute the length.
5597
80180f79
SA
55982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5599 Joel Brobecker <brobecker@adacore.com>
5600
5601 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5602 (dwarf2_evaluate_property): New function.
5603 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5604 * dwarf2read.c (attr_to_dynamic_prop): New function.
5605 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5606 attribute.
5607 * gdbtypes.c: Include dwarf2loc.h.
5608 (is_dynamic_type): New function.
5609 (resolve_dynamic_type): New function.
5610 (resolve_dynamic_bounds): New function.
5611 (get_type_length): New function.
5612 (check_typedef): Use get_type_length to compute type length.
5613 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5614 (TYPE_LOW_BOUND_KIND): New macro.
5615 (is_dynamic_type): New function prototype.
5616 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5617 to resolve dynamic properties of the type. Update comment.
5618 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5619
a1556843
RH
56202014-04-14 Richard Henderson <rth@redhat.com>
5621
5622 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5623
0be03e84
DE
56242014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5625 Doug Evans <xdje42@gmail.com>
5626
5627 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5628 dereference TYPE_CODE_REF values.
5629
6b662e19
JB
56302014-04-11 Joel Brobecker <brobecker@adacore.com>
5631
5632 Revert the following changes due to regressions:
5633
5634 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5635 (dwarf2_evaluate_property): New function.
5636 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5637 * dwarf2read.c (attr_to_dynamic_prop): New function.
5638 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5639 attribute.
5640 * gdbtypes.c: Include dwarf2loc.h.
5641 (is_dynamic_type): New function.
5642 (resolve_dynamic_type): New function.
5643 (resolve_dynamic_bounds): New function.
5644 (get_type_length): New function.
5645 (check_typedef): Use get_type_length to compute type length.
5646 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5647 (TYPE_LOW_BOUND_KIND): New macro.
5648 (is_dynamic_type): New function prototype.
5649 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5650 to resolve dynamic properties of the type. Update comment.
5651 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5652
5653 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5654 passed to sizeof is dynamic evaluate the argument to compute the length.
5655
5656 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5657 value and retrieve the dynamic type size.
5658
5659 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5660 (ada_template_to_fixed_record_type_1): Likewise.
5661 (ada_to_fixed_type_1): Likewise.
5662 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5663 (cp_print_value): Likewise.
5664 * d-valprint.c (dynamic_array_type): Likewise.
5665 * eval.c (evaluate_subexp_with_coercion): Likewise.
5666 * findvar.c (address_of_variable): Likewise.
5667 * jv-valprint.c (java_value_print): Likewise.
5668 * valops.c (value_ind): Likewise.
5669 * value.c (coerce_ref): Likewise.
5670
5671 * c-typeprint.c (c_type_print_varspec_suffix): Added
5672 check for not yet resolved high bound. If unresolved, print
5673 "variable length" string to the console instead of random
5674 length.
5675
5676 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5677 property and store it as the high bound and flag the range accordingly.
5678 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5679 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5680 * gdbtypes.h (enum range_flags): New enum.
5681 (struct range_bounds): Add flags member.
5682
5683 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5684 points to a constant blob.
5685
5686 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5687 (evaluate_subexp_standard): Pass noside argument.
5688 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5689 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5690 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5691 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5692 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5693
245a5f0b
KS
56942014-04-11 Keith Seitz <keiths@redhat.com>
5695
5696 PR c++/16675
5697 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5698 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5699 reference types.
5700
3bce8237
SA
57012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5702
5703 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5704 (evaluate_subexp_standard): Pass noside argument.
5705 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5706 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5707 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5708 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5709 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5710
92b09522
SA
57112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5712
5713 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5714 points to a constant blob.
5715
e1969afb
SA
57162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5717
5718 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5719 property and store it as the high bound and flag the range accordingly.
5720 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5721 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5722 * gdbtypes.h (enum range_flags): New enum.
5723 (struct range_bounds): Add flags member.
5724
b86138fb
SA
57252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5726
5727 * c-typeprint.c (c_type_print_varspec_suffix): Added
5728 check for not yet resolved high bound. If unresolved, print
5729 "variable length" string to the console instead of random
5730 length.
5731
bcd629a4
SA
57322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5733
5734 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5735 (ada_template_to_fixed_record_type_1): Likewise.
5736 (ada_to_fixed_type_1): Likewise.
5737 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5738 (cp_print_value): Likewise.
5739 * d-valprint.c (dynamic_array_type): Likewise.
5740 * eval.c (evaluate_subexp_with_coercion): Likewise.
5741 * findvar.c (address_of_variable): Likewise.
5742 * jv-valprint.c (java_value_print): Likewise.
5743 * valops.c (value_ind): Likewise.
5744 * value.c (coerce_ref): Likewise.
5745
04b19544
SA
57462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5747
5748 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5749 value and retrieve the dynamic type size.
5750
26cb189f
SA
57512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5752
5753 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5754 passed to sizeof is dynamic evaluate the argument to compute the length.
5755
37c1ab67
SA
57562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5757
5758 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5759 (dwarf2_evaluate_property): New function.
5760 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5761 * dwarf2read.c (attr_to_dynamic_prop): New function.
5762 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5763 attribute.
5764 * gdbtypes.c: Include dwarf2loc.h.
5765 (is_dynamic_type): New function.
5766 (resolve_dynamic_type): New function.
5767 (resolve_dynamic_bounds): New function.
5768 (get_type_length): New function.
5769 (check_typedef): Use get_type_length to compute type length.
5770 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5771 (TYPE_LOW_BOUND_KIND): New macro.
5772 (is_dynamic_type): New function prototype.
5773 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5774 to resolve dynamic properties of the type. Update comment.
5775 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5776
729efb13
SA
57772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5778
5779 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5780 declaring high/low bounds and change uses accordingly. Call
5781 create_range_type instead of create_static_range_type.
5782 * gdbtypes.c (create_range_type): New function.
5783 (create_range_type): Convert bounds into struct bound_prop and pass
5784 them to create_range_type.
5785 * gdbtypes.h (struct bound_prop): New struct.
5786 (create_range_type): New function prototype.
5787 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5788 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5789 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5790 part of the bound.
5791 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5792
0c9c3474
SA
57932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5794
5795 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5796 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5797 * ada-lang.c: All uses of create_range_type updated.
5798 * coffread.c: All uses of create_range_type updated.
5799 * dwarf2read.c: All uses of create_range_type updated.
5800 * f-exp.y: All uses of create_range_type updated.
5801 * m2-valprint.c: All uses of create_range_type updated.
5802 * mdebugread.c: All uses of create_range_type updated.
5803 * stabsread.c: All uses of create_range_type updated.
5804 * valops.c: All uses of create_range_type updated.
5805 * valprint.c: All uses of create_range_type updated.
5806
9d497a19
PA
58072014-04-10 Pedro Alves <palves@redhat.com>
5808
5809 * breakpoint.c (single_step_breakpoints)
5810 (single_step_gdbarch): Move up in the file.
5811 (one_breakpoint_xfer_memory): New function, factored out from ...
5812 (breakpoint_xfer_memory): ... here. Also process single-step
5813 breakpoints.
5814
15a9128a
TG
58152014-04-09 Tristan Gingold <gingold@adacore.com>
5816
5817 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5818 comments.
5819 (darwin_decode_exception_message): Free port only after use.
5820
9c97a070
PL
58212014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5822
5823 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5824 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5825 when setting the size of call_length.
5826
7af389b8
SC
58272014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5828
5829 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5830 dereference TYPE_CODE_REF values.
5831
86ad98c3
JB
58322014-04-07 Joel Brobecker <brobecker@adacore.com>
5833
5834 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5835 end of warning message.
5836
b0aeadb3
DE
58372014-04-03 Doug Evans <dje@google.com>
5838
5839 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5840 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5841
5979d6b6
AM
58422014-04-02 Alan Modra <amodra@gmail.com>
5843
5844 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5845 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5846 (struct symbol_file_add_from_memory_args): Add size field.
5847 (find_vdso_size): New function.
5848 (add_vsyscall_page): Attempt to find vdso size.
5849
0d60c288
DE
58502014-04-01 Doug Evans <dje@google.com>
5851
5852 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5853
a41f2563
TG
58542014-04-01 Tristan Gingold <gingold@adacore.com>
5855
5856 * darwin-nat.c (darwin_encode_reply): Add prototype.
5857 (darwin_decode_exception_message): Reply to unknown inferiors.
5858 (darwin_decode_message): Handle message by id. Ignore message
5859 to unknown inferior.
5860 (darwin_wait): Discard unknown messages, add debug trace.
5861
11a865c8
DE
58622014-03-31 Doug Evans <dje@google.com>
5863
5864 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5865 comp_dir_string.
5866
770e7fc7
DE
58672014-03-31 Doug Evans <dje@google.com>
5868
5869 New option "set print symbol-loading".
5870 * NEWS: Mention it.
5871 * solib.c (solib_read_symbols): Only print symbol loading messages
5872 if requested.
5873 (solib_add): If symbol loading is in "brief" mode, notify user
5874 symbols are being loaded.
5875 (reload_shared_libraries_1): Ditto.
5876 * symfile.c (print_symbol_loading_off): New static global.
5877 (print_symbol_loading_brief): New static global.
5878 (print_symbol_loading_full): New static global.
5879 (print_symbol_loading_enums): New static global.
5880 (print_symbol_loading): New static global.
5881 (print_symbol_loading_p): New function.
5882 (symbol_file_add_with_addrs): Only print symbol loading messages
5883 if requested.
5884 (_initialize_symfile): Register "print symbol-loading" set/show
5885 command.
5886 * symfile.h (print_symbol_loading_p): Declare.
5887
c32c64b7
DE
58882014-03-30 Doug Evans <xdje42@gmail.com>
5889
5890 * infrun.c (set_last_target_status): New function.
5891 (handle_inferior_event): Call it.
5892
7c0bc051
DE
58932014-03-30 Doug Evans <xdje42@gmail.com>
5894
5895 * inferior.h (enum stop_kind): Improve comment.
5896
8776cfe9
JB
58972014-03-28 Joel Brobecker <brobecker@adacore.com>
5898
5899 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5900 a reference, strip the reference layer before calling
5901 the lang_ops value_has_mutated callback.
5902
410a0ff2
SDJ
59032014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5904
5905 Remove some globals from our parser.
5906 * language.c (unk_lang_parser): Add "struct parser_state"
5907 argument.
5908 * language.h (struct language_defn) <la_parser>: Likewise.
5909 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5910 (initialize_expout): Add "struct parser_state" argument.
5911 Rewrite function to use the parser state.
5912 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5913 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5914 write_exp_elt_longcst, write_exp_elt_dblcst,
5915 write_exp_elt_decfloatcst, write_exp_elt_type,
5916 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5917 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5918 write_dollar_variable): Likewise.
5919 (parse_exp_in_context_1): Use parser state.
5920 (insert_type_address_space): Add "struct parser_state" argument.
5921 Use parser state.
5922 (increase_expout_size): New function.
5923 * parser-defs.h: Forward declare "struct language_defn" and
5924 "struct parser_state".
5925 (expout, expout_size, expout_ptr): Remove extern declarations.
5926 (parse_gdbarch, parse_language): Rewrite macro declarations to
5927 accept the parser state.
5928 (struct parser_state): New struct.
5929 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5930 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5931 write_exp_elt_decfloatcst, write_exp_elt_type,
5932 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5933 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5934 write_exp_msymbol, write_dollar_variable,
5935 mark_struct_expression, insert_type_address_space): Add "struct
5936 parser_state" argument.
5937 (increase_expout_size): New function.
5938 * utils.c (do_clear_parser_state): New function.
5939 (make_cleanup_clear_parser_state): Likewise.
5940 * utils.h (make_cleanup_clear_parser_state): New function
5941 prototype.
5942 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5943 Update calls to write_exp* in order to pass the parser state.
5944 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5945 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5946 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5947 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5948 * stap-probe.c (stap_parse_register_operand): Likewise.
5949 (stap_parse_single_operand): Likewise.
5950 (stap_parse_argument_1): Likewise.
5951 (stap_parse_argument): Use parser state.
5952 * stap-probe.h: Include "parser-defs.h".
5953 (struct stap_parse_info) <pstate>: New field.
5954 * c-exp.y (parse_type): Rewrite to use parser state.
5955 (yyparse): Redefine to c_parse_internal.
5956 (pstate): New global variable.
5957 (parse_number): Add "struct parser_state" argument.
5958 (write_destructor_name): Likewise.
5959 (type_exp): Update calls to write_exp* and similars in order to
5960 use parser state.
5961 (exp1, exp, variable, qualified_name, space_identifier,
5962 typename, typebase): Likewise.
5963 (write_destructor_name, parse_number, lex_one_token,
5964 classify_name, classify_inner_name, c_parse): Add "struct
5965 parser_state" argument. Update function to use parser state.
5966 * c-lang.h: Forward declare "struct parser_state".
5967 (c_parse): Add "struct parser_state" argument.
5968 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5969 (yyparse): Redefine macro to ada_parse_internal.
5970 (pstate): New variable.
5971 (write_int, write_object_renaming, write_var_or_type,
5972 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5973 type_int, type_long, type_long_long, type_float, type_double,
5974 type_long_double, type_char, type_boolean, type_system_address):
5975 Add "struct parser_state" argument.
5976 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5977 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5978 var_or_type, aggregate, aggregate_component_list,
5979 positional_list, others, component_group,
5980 component_associations): Update calls to write_exp* and similar
5981 functions in order to use parser state.
5982 (ada_parse, write_var_from_sym, write_int,
5983 write_exp_op_with_string, write_object_renaming,
5984 find_primitive_type, write_selectors, write_ambiguous_var,
5985 write_var_or_type, write_name_assoc, type_int, type_long,
5986 type_long_long, type_float, type_double, type_long_double,
5987 type_char, type_boolean, type_system_address): Add "struct
5988 parser_state" argument. Adjust function to use parser state.
5989 * ada-lang.c (parse): Likewise.
5990 * ada-lang.h: Forward declare "struct parser_state".
5991 (ada_parse): Add "struct parser_state" argument.
5992 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5993 calls to both functions.
5994 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5995 parser state.
5996 (yyparse): Redefine macro to f_parse_internal.
5997 (pstate): New variable.
5998 (parse_number): Add "struct parser_state" argument.
5999 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6000 and similars in order to use parser state.
6001 (parse_number): Adjust code to use parser state.
6002 (yylex): Likewise.
6003 (f_parse): New function.
6004 * f-lang.h: Forward declare "struct parser_state".
6005 (f_parse): Add "struct parser_state" argument.
6006 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6007 parser state.
6008 (yyparse): Redefine macro for java_parse_internal.
6009 (pstate): New variable.
6010 (push_expression_name, push_expression_name, insert_exp): Add
6011 "struct parser_state" argument.
6012 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6013 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6014 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6015 PostIncrementExpression, PostDecrementExpression,
6016 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6017 UnaryExpressionNotPlusMinus, CastExpression,
6018 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6019 RelationalExpression, EqualityExpression, AndExpression,
6020 ExclusiveOrExpression, InclusiveOrExpression,
6021 ConditionalAndExpression, ConditionalOrExpression,
6022 ConditionalExpression, Assignment, LeftHandSide): Update
6023 calls to write_exp* and similars in order to use parser state.
6024 (parse_number): Ajust code to use parser state.
6025 (yylex): Likewise.
6026 (java_parse): New function.
6027 (push_variable): Add "struct parser_state" argument. Adjust
6028 code to user parser state.
6029 (push_fieldnames, push_qualified_expression_name,
6030 push_expression_name, insert_exp): Likewise.
6031 * jv-lang.h: Forward declare "struct parser_state".
6032 (java_parse): Add "struct parser_state" argument.
6033 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6034 parser state.
6035 (yyparse): Redefine macro to m2_parse_internal.
6036 (pstate): New variable.
6037 (type_exp, exp, fblock, variable, type): Update calls to
6038 write_exp* and similars to use parser state.
6039 (yylex): Likewise.
6040 (m2_parse): New function.
6041 * m2-lang.h: Forward declare "struct parser_state".
6042 (m2_parse): Add "struct parser_state" argument.
6043 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6044 * objc-lang.h: Forward declare "struct parser_state".
6045 (end_msglist): Add "struct parser_state" argument.
6046 * p-exp.y (parse_type): Rewrite macro to use parser state.
6047 (yyparse): Redefine macro to pascal_parse_internal.
6048 (pstate): New variable.
6049 (parse_number): Add "struct parser_state" argument.
6050 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6051 write_exp* and similars in order to use parser state.
6052 (parse_number, yylex): Adjust code to use parser state.
6053 (pascal_parse): New function.
6054 * p-lang.h: Forward declare "struct parser_state".
6055 (pascal_parse): Add "struct parser_state" argument.
6056 * go-exp.y (parse_type): Rewrite macro to use parser state.
6057 (yyparse): Redefine macro to go_parse_internal.
6058 (pstate): New variable.
6059 (parse_number): Add "struct parser_state" argument.
6060 (type_exp, exp1, exp, variable, type): Update calls to
6061 write_exp* and similars in order to use parser state.
6062 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6063 to use parser state.
6064 (go_parse): Likewise.
6065 * go-lang.h: Forward declare "struct parser_state".
6066 (go_parse): Add "struct parser_state" argument.
6067
342587c4
DE
60682014-03-27 Doug Evans <dje@google.com>
6069
6070 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6071
33e80786
DE
60722014-03-27 Doug Evans <dje@google.com>
6073
6074 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6075 Remove argument abbrev_section. All callers updated.
6076
1dbab08b
DE
60772014-03-27 Doug Evans <dje@google.com>
6078
6079 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6080 addr_base, ranges_base.
6081
318d3177
KS
60822014-03-26 Keith Seitz <keiths@redhat.com>
6083
6084 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6085 types, not VAR_DOMAIN.
6086
1e54db15
SL
60872014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6088
6089 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6090 "ra" registers.
6091 * features/nios2-linux.c: Regenerated.
6092 * features/nios2.c: Regenerated.
6093
d3839ede
PA
60942014-03-25 Pedro Alves <palves@redhat.com>
6095
6096 * cli/cli-script.c (script_from_file): Force the interpreter to
6097 sync mode.
6098
7588d2ec
PL
60992014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6100
6101 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6102 small stack allocation.
6103
a6290449
TG
61042014-03-24 Tristan Gingold <gingold@adacore.com>
6105
6106 * darwin-nat.c (exc_server): Remove unused prototype.
6107 (darwin_dump_message): Correctly display data on x86_64.
6108 (darwin_encode_reply): Fix style.
6109 Add comments and fix indentation.
6110
31ae9d24 61112014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6112
6113 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6114
6339bfc4
DE
61152014-03-22 Doug Evans <xdje42@gmail.com>
6116
6117 * infcmd.c: Whitespace fixes.
6118 (interrupt_command): Merge two function comments into one.
6119
0a07590b
DE
61202014-03-22 Doug Evans <xdje42@gmail.com>
6121
6122 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6123 All uses updated.
6124
b55fbac4
YQ
61252014-03-22 Yao Qi <yao@codesourcery.com>
6126
6127 * remote.c (target_read_live_memory): Remove.
6128 (memory_xfer_live_readonly_partial): Rename it to
6129 remote_xfer_live_readonly_partial. Remove argument 'object'.
6130 All callers updated. Call remote_read_bytes_1
6131 instead of target_read_live_memory.
6132 * tracepoint.c (set_traceframe_number): Remove.
6133 (make_cleanup_restore_traceframe_number): Likewise .
6134 * tracepoint.h (set_traceframe_number): Remove declaration.
6135 (make_cleanup_restore_traceframe_number): Likewise.
6136
9217e74e
YQ
61372014-03-22 Yao Qi <yao@codesourcery.com>
6138
6139 * remote.c (remote_read_bytes): Move code on reading from the
6140 remote stub to ...
6141 (remote_read_bytes_1): ... here. New function.
6142
8acf9577
YQ
61432014-03-22 Yao Qi <yao@codesourcery.com>
6144
6145 * ctf.c (ctf_xfer_partial): Check the return value of
6146 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6147 return TARGET_XFER_UNAVAILABLE.
6148 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6149 * target.c (target_read_live_memory): Move it to remote.c.
6150 (memory_xfer_live_readonly_partial): Likewise.
6151 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6152 * remote.c (target_read_live_memory): Moved from target.c.
6153 (memory_xfer_live_readonly_partial): Likewise.
6154 (remote_read_bytes): Factored out from
6155 memory_xfer_partial_1.
6156
feef67ab
DE
61572014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6158
6159 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6160 NULL pointer.
6161
b65dc60b
PA
61622014-03-21 Pedro Alves <palves@redhat.com>
6163
6164 * infrun.c (normal_stop): Extend comment.
6165
b4ab256d
HZ
61662014-03-21 Hui Zhu <hui@codesourcery.com>
6167 Pedro Alves <palves@redhat.com>
6168
6169 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6170 static buffer.
6171 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6172 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6173 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6174
deba7593
MR
61752014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6176
6177 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6178 `z' formatted output modifier.
6179
1bff71c3
SDJ
61802014-03-20 Tom Tromey <tromey@redhat.com>
6181 Sergio Durigan Junior <sergiodj@redhat.com>
6182
6183 * probe.c (parse_probes): Turn assert into an ordinary error.
6184 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6185 exceptions when parsing probes. Rearrange the code for clarity.
6186
90e28950
TT
61872014-03-20 Tom Tromey <tromey@redhat.com>
6188
6189 PR gdb/14135
6190 * top.c (execute_command): Only dispatch events if the command
6191 started the target.
6192
beb460e8
PA
61932014-03-20 Tom Tromey <tromey@redhat.com>
6194
6195 PR cli/15718
6196 * infcall.c: Include event-top.h.
6197 (run_inferior_call): Call async_disable_stdin if needed.
6198
99619bea
PA
61992014-03-20 Pedro Alves <palves@redhat.com>
6200
6201 * infrun.c (prepare_to_proceed): Delete.
6202 (thread_still_needs_step_over): New function.
6203 (find_thread_needs_step_over): New function.
6204 (proceed): If the current thread needs a step-over, set its
6205 steping_over_breakpoint flag. Adjust to use
6206 find_thread_needs_step_over instead of prepare_to_proceed.
6207 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6208 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6209 breakpoint.
6210 (switch_back_to_stepped_thread): Step over breakpoints of all
6211 threads not the stepping thread, before switching back to the
6212 stepping thread.
6213
2adfaa28
PA
62142014-03-20 Pedro Alves <palves@redhat.com>
6215
6216 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6217 extern.
6218 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6219 * infrun.c (saved_singlestep_ptid)
6220 (stepping_past_singlestep_breakpoint): Delete.
6221 (resume): Remove stepping_past_singlestep_breakpoint handling.
6222 (proceed): Store the prev_pc of the stepping thread too.
6223 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6224 singlestep_pc.
6225 (enum infwait_states): Delete infwait_thread_hop_state.
6226 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6227 field.
6228 (handle_inferior_event): Adjust.
6229 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6230 handling and the thread-hop code. Before removing single-step
6231 breakpoints, check whether the thread hit a single-step breakpoint
6232 of another thread. If it did, the trap is not a random signal.
6233 (switch_back_to_stepped_thread): If the event thread hit a
6234 single-step breakpoint, unblock it before switching to the
6235 stepping thread. Handle the case of the stepped thread having
6236 advanced already.
6237 (keep_going): Handle the case of the current thread moving past a
6238 single-step breakpoint.
6239
31e77af2
PA
62402014-03-20 Pedro Alves <palves@redhat.com>
6241
6242 PR breakpoints/7143
6243 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6244 are being stepped over.
6245 (breakpoint_address_match): Make extern.
6246 * breakpoint.h (breakpoint_address_match): New declaration.
6247 * inferior.h (stepping_past_instruction_at): New declaration.
6248 * infrun.c (struct step_over_info): New type.
6249 (step_over_info): New global.
6250 (set_step_over_info, clear_step_over_info)
6251 (stepping_past_instruction_at): New functions.
6252 (handle_inferior_event): Clear the step-over info when
6253 trap_expected is cleared.
6254 (resume): Remove now stale comment.
6255 (clear_proceed_status): Clear step-over info.
6256 (proceed): Adjust step-over handling to set or clear the step-over
6257 info instead of removing all breakpoints.
6258 (handle_signal_stop): When setting up a thread-hop, don't remove
6259 breakpoints here.
6260 (stop_stepping): Clear step-over info.
6261 (keep_going): Adjust step-over handling to set or clear step-over
6262 info and then always inserting breakpoints, instead of removing
6263 all breakpoints when stepping over one.
6264
b9f437de
PA
62652014-03-20 Pedro Alves <palves@redhat.com>
6266
6267 * infrun.c (previous_inferior_ptid): Adjust comment.
6268 (deferred_step_ptid): Delete.
6269 (infrun_thread_ptid_changed, prepare_to_proceed)
6270 (init_wait_for_inferior): Adjust.
6271 (handle_signal_stop): Delete deferred_step_ptid handling.
6272
06c868a8
JK
62732014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 PR gdb/15358
6276 * defs.h (sync_quit_force_run): New declaration.
6277 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6278 * event-top.c (async_sigterm_handler): New declaration.
6279 (async_sigterm_token): New variable.
6280 (async_init_signals): Create also async_sigterm_token.
6281 (async_sigterm_handler): New function.
6282 (sync_quit_force_run): New variable.
6283 (handle_sigterm): Replace quit_force call by other calls.
6284 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6285
dea80df0
MR
62862014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6287
6288 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6289 offset into SPE pseudo registers.
6290
0c7e1a46
PA
62912014-03-18 Pedro Alves <palves@redhat.com>
6292
6293 PR gdb/13860
6294 * inferior.h (print_stop_event): Declare.
6295 * infrun.c (print_stop_event): New, factored out from ...
6296 (normal_stop): ... this.
6297 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6298 of bpstat_print/print_stack_frame.
6299
9c1fcd01
TT
63002014-03-17 Tom Tromey <tromey@redhat.com>
6301
6302 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6303
11aa919a
PMR
63042014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6305
6306 * ada-lang.c (decode_constrained_packed_array): Perform a
6307 minimal coercion for reference with coerce_ref instead of
6308 ada_coerce_ref.
6309
d4ccb5e0
TG
63102014-03-17 Tristan Gingold <gingold@adacore.com>
6311
6312 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6313 (darwin_solib_create_inferior_hook): Emit a warning if version
6314 is unhandled.
6315
49840f2a
UW
63162014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6317
6318 * python/py-value.c (get_field_flag): Cast flag_name argument to
6319 PyObject_GetAttrString to support Python 2.4.
6320
ed4123e5
JK
63212014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6322
6323 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6324 (Global Maintainers): Remove Jan Kratochvil.
6325
d6b64346
PA
63262014-03-14 Pedro Alves <palves@redhat.com>
6327
6328 * inferior.h (terminal_ours_for_output): Rename to ...
6329 (child_terminal_ours_for_output): ... this.
6330 (terminal_save_ours): Rename to ...
6331 (child_terminal_save_ours): ... this.
6332 (terminal_ours): Rename to ...
6333 (child_terminal_ours): ... this.
6334 (terminal_inferior): Rename to ...
6335 (child_terminal_inferior): ... this.
6336 (terminal_init_inferior): Rename to ...
6337 (child_terminal_init_inferior): ... this.
6338 (terminal_init_inferior_with_pgrp): Rename to ...
6339 (child_terminal_init_inferior_with_pgrp): ... this.
6340 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6341 (child_terminal_init_with_pgrp): ... this.
6342 (terminal_save_ours): Rename to ...
6343 (child_terminal_save_ours): ... this.
6344 (terminal_init_inferior): Rename to ...
6345 (child_terminal_init): ... this. Adjust.
6346 (terminal_inferior): Rename to ...
6347 (child_terminal_inferior): ... this.
6348 (terminal_ours_for_output): Rename to ...
6349 (child_terminal_ours_for_output): ... this. Adjust.
6350 (terminal_ours): Rename to ...
6351 (child_terminal_ours): ... this.
6352 (terminal_ours_1): Rename to ...
6353 (child_terminal_ours_1): ... this. Adjust.
6354 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6355 * windows-nat.c (do_initial_windows_stuff): Adjust.
6356 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6357 (gnu_terminal_init): ... this. Adjust.
6358 (gnu_target): Adjust.
6359 * inf-child.c (inf_child_target): Adjust.
6360
5a1e8c7a
DE
63612014-03-13 Doug Evans <xdje42@gmail.com>
6362
6363 PR guile/16612
6364 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6365 new eq?-hashtab.
6366
350e1a76
DE
63672014-03-13 Doug Evans <xdje42@gmail.com>
6368
6369 * value.c (record_latest_value): Call release_value_or_incref
6370 instead of release_value.
6371
a69900ae
PA
63722014-03-13 Pedro Alves <palves@redhat.com>
6373
6374 * procfs.c (procfs_target): Don't override to_shortname,
6375 to_longname or to_doc.
6376
5db9f0bd
PA
63772014-03-13 Pedro Alves <palves@redhat.com>
6378
6379 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6380 Unix in user visible strings.
6381
5e3a2c38
SS
63822014-03-12 Stan Shebs <stan@codesourcery.com>
6383
6384 * gdbtypes.h: Annotate comments for Doxygen, add a page
6385 block comment with some general info.
6386
8bc2fe48
PA
63872014-03-12 Pedro Alves <palves@redhat.com>
6388
6389 * infcmd.c (prepare_execution_command): New function, factored out
6390 from several execution commands.
6391 (run_command_1, continue_command, step_1, jump_command)
6392 (signal_command, until_command, advance_command, finish_command)
6393 (attach_command): Use prepare_execution_command.
6394
638c5f49
OJ
63952014-03-12 Omair Javaid <omair.javaid@linaro.org>
6396
6397 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6398 (MAX_BPTS): Define.
6399 (MAX_WPTS): Define.
6400 (struct arm_linux_thread_points): Removed.
6401 (struct arm_linux_process_info): New.
6402 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6403 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6404 (arm_linux_find_breakpoints_by_tid): Removed.
6405 (struct arch_lwp_info): New.
6406 (arm_linux_find_process_pid): New functions.
6407 (arm_linux_add_process): New functions.
6408 (arm_linux_process_info_get): New functions.
6409 (arm_linux_forget_process): New function.
6410 (arm_linux_get_debug_reg_state): New function.
6411 (struct update_registers_data): New.
6412 (update_registers_callback): New function.
6413 (arm_linux_insert_hw_breakpoint1): Updated.
6414 (arm_linux_remove_hw_breakpoint1): Updated.
6415 (arm_linux_insert_hw_breakpoint): Updated.
6416 (arm_linux_remove_hw_breakpoint): Updated.
6417 (arm_linux_insert_watchpoint): Updated.
6418 (arm_linux_remove_watchpoint): Updated.
6419 (arm_linux_new_thread): Updated.
6420 (arm_linux_prepare_to_resume): New function.
6421 (arm_linux_new_fork): New function.
6422 (_initialize_arm_linux_nat): Updated.
6423
6d03af93
PA
64242014-03-12 Pedro Alves <palves@redhat.com>
6425
6426 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6427
b3ccfe11
TT
64282014-03-12 Tom Tromey <tromey@redhat.com>
6429
6430 * inf-child.c (return_zero): New function.
6431 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6432 * aix-thread.c (aix_thread_inferior_created): New function.
6433 (aix_thread_attach): Remove.
6434 (init_aix_thread_ops): Don't set to_attach.
6435 (_initialize_aix_thread): Register inferior_created observer.
6436 * corelow.c (init_core_ops): Don't set to_attach or
6437 to_create_inferior.
6438 * exec.c (init_exec_ops): Don't set to_attach or
6439 to_create_inferior.
6440 * infcmd.c (run_command_1): Use find_run_target. Make direct
6441 target calls.
6442 (attach_command): Use find_attach_target. Make direct target
6443 calls.
6444 * record-btrace.c (init_record_btrace_ops): Don't set
6445 to_create_inferior.
6446 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6447 Remove.
6448 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6449 set to_create_inferior.
6450 * target.c (complete_target_initialization): Add assertion.
6451 (target_create_inferior): Remove.
6452 (find_default_attach, find_default_create_inferior): Remove.
6453 (find_attach_target, find_run_target): New functions.
6454 (find_default_is_async_p, find_default_can_async_p)
6455 (target_supports_non_stop, target_attach): Remove.
6456 (init_dummy_target): Don't set to_create_inferior or
6457 to_supports_non_stop.
6458 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6459 TARGET_DEFAULT_FUNC.
6460 <to_create_inferior>: Add comment.
6461 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6462 TARGET_DEFAULT_RETURN.
6463 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6464 (find_attach_target, find_run_target): Declare.
6465 (target_create_inferior): Remove.
6466 (target_has_execution_1): Update comment.
6467 (target_supports_non_stop): Remove.
6468 * target-delegates.c: Rebuild.
6469
91f83b02
PA
64702014-03-12 Pedro Alves <palves@redhat.com>
6471
6472 * inf-child.h: Update comment to not mention Unix.
6473
f1aea813
PA
64742014-03-12 Pedro Alves <palves@redhat.com>
6475
6476 * inf-child.c: Update top comment to not mention Unix. Add
6477 generic comment describing how this target is meant to be used.
6478 (inf_child_post_attach, inf_child_post_startup_inferior)
6479 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6480 Unix in comment.
6481
ee8e9165
PA
64822014-03-12 Pedro Alves <palves@redhat.com>
6483
6484 * nto-procfs.c: Include inf-child.h.
6485 (procfs_ops): Delete global.
6486 (procfs_can_run): Delete method.
6487 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6488 target pointer instead of referencing procfs_ops.
6489 (procfs_prepare_to_store): Delete.
6490 (init_procfs_ops): Delete function.
6491 (procfs_target): New function, based on init_procfs_ops, but
6492 inherit inf_child_target.
6493 (_initialize_procfs): Use procfs_target.
6494
51a9c8c5
PA
64952014-03-12 Pedro Alves <palves@redhat.com>
6496
6497 * windows-nat.c: Include inf-child.h.
6498 (windows_ops): Delete global.
6499 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6500 methods.
6501 (init_windows_ops): Delete function.
6502 (windows_target): New function, based on init_windows_ops, but
6503 inherit inf_child_target.
6504 (_initialize_windows_nat): Use windows_target. Install x86
6505 specific target methods here.
6506
c1966e26
DE
65072014-03-10 Doug Evans <xdje42@gmail.com>
6508
6509 * guile/guile.c (call_initialize_gdb_module): New function.
6510 (initialize_guile): Replace call to scm_init_guile with call to
6511 scm_with_guile.
6512
023db19c
JB
65132014-03-10 Joel Brobecker <brobecker@adacore.com>
6514
6515 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6516 in call to TYPE_CODE macro.
6517
5ec18f2b
JG
65182014-03-10 Jerome Guitton <guitton@adacore.com>
6519
8668be63
JB
6520 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6521 Resolve tagged types to full view.
5ec18f2b 6522
7d03f2eb
HZ
65232014-03-10 Hui Zhu <hui@codesourcery.com>
6524
6525 * target.h (target_insert_breakpoint): Remove "hardware" from its
6526 comments.
6527
c5164cbc
DE
65282014-03-07 Doug Evans <dje@google.com>
6529
6530 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6531
c4a3fee2
DE
65322014-03-07 Doug Evans <dje@google.com>
6533
6534 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6535 Remove unused local comp_dir_attr. Assert exactly one of
6536 stub_comp_unit_die, stub_comp_dir is non-NULL.
6537
3156469c
JB
65382014-03-07 Joel Brobecker <brobecker@adacore.com>
6539
6540 * target.h (complete_target_initialization, add_target):
6541 Add comment.
6542
c1a7b7c6
PA
65432014-03-07 Pedro Alves <palves@redhat.com>
6544
6545 * go32-nat.c: Include inf-child.h.
6546 (go32_ops): Delete global.
6547 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6548 Delete methods.
6549 (go32_create_inferior): Push the passed in target pointer instead
6550 of referencing go32_ops.
6551 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6552 (go32_target): New function, based on init_go32_ops, but inherit
6553 inf_child_target.
6554 (_initialize_go32_nat): Use go32_target. Move parts of
6555 init_go32_ops here.
6556
d3c1a85f
JB
65572014-03-06 Joel Brobecker <brobecker@adacore.com>
6558
6559 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6560 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6561 SYMBOL_VALUE_ADDRESS.
6562 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6563
5fa1d40e
YQ
65642014-03-06 Yao Qi <yao@codesourcery.com>
6565
6566 * breakpoint.c (get_tracepoint_by_number): Remove argument
6567 optional_p. All callers updated. Adjust comments. Update
6568 output message.
6569 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6570
0c13193f
YQ
65712014-03-06 Yao Qi <yao@codesourcery.com>
6572
6573 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6574 early if get_number returns zero. Use 'p' instead of 'args'.
6575
2217da06
YQ
65762014-03-06 Yao Qi <yao@codesourcery.com>
6577
6578 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6579 message.
6580
cc3da688
YQ
65812014-03-06 Yao Qi <yao@codesourcery.com>
6582
6583 PR breakpoints/16508
6584 * tracepoint.c (check_trace_running): New function.
6585 (trace_find_command): Move code to check_trace_running and
6586 call check_trace_running.
6587 (trace_find_pc_command): Likewise.
6588 (trace_find_tracepoint_command): Likewise.
6589 (trace_find_line_command): Likewise.
6590 (trace_find_range_command): Likewise.
6591 * tracepoint.h (check_trace_running): Likewise.
6592 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6593
6a5f844b
YQ
65942014-03-06 Yao Qi <yao@codesourcery.com>
6595
6596 * target.h (struct target_ops) <to_traceframe_info>: Use
6597 TARGET_DEFAULT_NORETURN (tcomplain ()).
6598 * target-delegates.c: Regenerated.
6599
0f26cec1
PA
66002014-03-05 Pedro Alves <palves@redhat.com>
6601
6602 PR gdb/16575
6603 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6604 void. Update comment.
6605 (dcache_xfer_memory): Delete.
6606 (dcache_read_memory_partial): New, based on the read bits of
6607 dcache_xfer_memory.
6608 (dcache_update): Add status parameter. Use ULONGEST for len, and
6609 adjust. Discard cache lines if the reason for the update was
6610 error.
6611 * dcache.h (dcache_xfer_memory): Delete declaration.
6612 (dcache_read_memory_partial): New declaration.
6613 (dcache_update): Update prototype.
6614 * target.c (raw_memory_xfer_partial): Update the dcache here.
6615 (memory_xfer_partial_1): Don't handle dcache writes here.
6616
b2b255bd
MF
66172014-03-05 Mike Frysinger <vapier@gentoo.org>
6618
6619 * remote-sim.c (gdbsim_load): Add const to prog.
6620
5d9cf8a4
TT
66212014-03-03 Tom Tromey <tromey@redhat.com>
6622
6623 * elfread.c (probe_key): Change to bfd_data.
6624 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6625 now per-BFD, not per-objfile.
6626 * stap-probe.c (stap_probe_destroy): Update comment.
6627 (handle_stap_probe): Allocate on the per-BFD obstack.
6628
729662a5
TT
66292014-03-03 Tom Tromey <tromey@redhat.com>
6630
6631 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6632 * breakpoint.c (create_longjmp_master_breakpoint): Use
6633 get_probe_address.
6634 (add_location_to_breakpoint, bkpt_probe_insert_location)
6635 (bkpt_probe_remove_location): Update.
6636 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6637 * elfread.c (elf_symfile_relocate_probe): Remove.
6638 (elf_probe_fns): Update.
6639 (insert_exception_resume_breakpoint): Change type of "probe"
6640 parameter to bound_probe.
6641 (check_exception_resume): Update.
6642 * objfiles.c (objfile_relocate1): Don't relocate probes.
6643 * probe.c (bound_probe_s): New typedef.
6644 (parse_probes): Use get_probe_address. Set sal's objfile.
6645 (find_probe_by_pc): Return a bound_probe.
6646 (collect_probes): Return a VEC(bound_probe_s).
6647 (compare_probes): Update.
6648 (gen_ui_out_table_header_info): Change type of "probes"
6649 parameter. Update.
6650 (info_probes_for_ops): Update.
6651 (get_probe_address): New function.
6652 (probe_safe_evaluate_at_pc): Update.
6653 * probe.h (struct probe_ops) <get_probe_address>: New field.
6654 <set_semaphore, clear_semaphore>: Add objfile parameter.
6655 (struct probe) <objfile>: Remove field.
6656 <arch>: New field.
6657 <address>: Update comment.
6658 (struct bound_probe): New.
6659 (find_probe_by_pc): Return a bound_probe.
6660 (get_probe_address): Declare.
6661 * solib-svr4.c (struct probe_and_action) <address>: New field.
6662 (hash_probe_and_action, equal_probe_and_action): Update.
6663 (register_solib_event_probe): Add address parameter.
6664 (solib_event_probe_at): Update.
6665 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6666 get_probe_address.
6667 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6668 (stap_get_probe_address): New function.
6669 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6670 (compile_probe_arg): Update.
6671 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6672 address.
6673 (handle_stap_probe): Don't relocate the probe.
6674 (stap_relocate): Remove.
6675 (stap_gen_info_probes_table_values): Update.
6676 (stap_probe_ops): Remove stap_relocate.
6677 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6678 (debug_sym_probe_fns): Update.
6679 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6680 * symtab.c (init_sal): Use memset.
6681 * symtab.h (struct symtab_and_line) <objfile>: New field.
6682 * tracepoint.c (start_tracing, stop_tracing): Update.
6683
ff887920
TT
66842014-03-03 Tom Tromey <tromey@redhat.com>
6685
6686 * probe.h (parse_probes, find_probe_by_pc)
6687 (find_probes_in_objfile): Fix comments.
6688
f0407826
DE
66892014-03-02 Doug Evans <xdje42@gmail.com>
6690
6691 * infrun.c (handle_signal_stop): Replace test for
6692 TARGET_WAITKIND_STOPPED with an assert.
6693
35e6a711
DE
66942014-03-02 Doug Evans <xdje42@gmail.com>
6695
6696 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6697
667f9d0b
DE
66982014-03-02 Doug Evans <xdje42@gmail.com>
6699
6700 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6701
dc92ace0
MK
67022014-03-01 Mark Kettenis <kettenis@gnu.org>
6703
6704 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6705
a900370f
MK
67062014-03-01 Mark Kettenis <kettenis@gnu.org>
6707
6708 * i386obsd-nat.c: Include "obsd-nat.h".
6709 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6710 add_target.
6711 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6712
b72a7981
MK
67132014-03-01 Mark Kettenis <kettenis@gnu.org>
6714
6715 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6716
96c70aba
MK
67172014-03-01 Mark Kettenis <kettenis@gnu.org>
6718
6719 * mips64obsd-nat.c: Include "obsd-nath".
6720 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6721 add_target
6722 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6723
874a80af
MK
67242014-03-01 Mark Kettenis <kettenis@gnu.org>
6725
8fd408f1
MK
6726 * amd64obsd-nat.c: Include "obsd-nat,h.
6727 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6728 add_target.
874a80af
MK
6729 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6730
9cf95373
SC
67312014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6732
6733 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6734 (find_overload_match): Update call to find_oload_champ.
6735 (find_oload_champ_namespace_loop): Likewise
6736
863e4da4
MK
67372014-02-28 Mark Kettenis <kettenis@gnu.org>
6738
025cac40
MK
6739 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6740
1ed586ce
MK
6741 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6742 * config/sparc/obsd64.mh: New file.
6743 * sparc64obsd-nat.c: New file.
6744
863e4da4
MK
6745 * obsd-nat.h: New file.
6746 * obsd-nat.c: New file.
6747 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6748 (ALLDEPFILES): Add obsd-nat.c.
6749
89de4da4
TT
67502014-02-28 Tom Tromey <tromey@redhat.com>
6751
6752 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6753 * cli-out.h (cli_ui_out_impl): Now const.
6754 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6755 * ui-out.c (struct ui_out) <impl>: Now const.
6756 (default_ui_out_impl): Now const.
6757 (ui_out_new): Make 'impl' parameter const.
6758 * ui-out.h (ui_out_new): Update.
6759
c725e7b6
MK
67602014-02-27 Mark Kettenis <kettenis@gnu.org>
6761
6762 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6763
670b46b3
MK
67642014-02-27 Mark Kettenis <kettenis@gnu.org>
6765
6766 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6767
c91550fc
JK
67682014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6769
6770 Additional PR 8882 fix.
6771 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6772
2fa0369e
PA
67732014-02-27 Pedro Alves <palves@redhat.com>
6774
6775 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6776 isn't set.
6777
d632a097
PA
67782014-02-27 Pedro Alves <palves@redhat.com>
6779
6780 PR 12702
6781 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6782 * nat/linux-waitpid.c: Include string.h.
6783 (status_to_str): Moved here and made extern.
6784 * nat/linux-waitpid.h (status_to_str): New declaration.
6785
2ebd5a35
HZ
67862014-02-27 Hui Zhu <hui@codesourcery.com>
6787
6788 PR 12702
6789 * infrun.c (ptid_match): Move ...
6790 * common/ptid.c (ptid_match): ... here.
6791 * inferior.h (ptid_match): Move ...
6792 * common/ptid.h (ptid_match): ... here.
6793
3cdd631f
MK
67942014-02-27 Mark Kettenis <kettenis@gnu.org>
6795
6796 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6797 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6798 gdb_target_obs.
6799
bee30a64
MK
68002014-02-27 Mark Kettenis <kettenis@gnu.org>
6801
6802 * obsd-tdep.c (obsd_auxv_parse): New function.
6803 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6804
6805 * gdbarch.sh (auxv_parse): New.
6806 * gdbarch.h: Regenerated.
6807 * gdbarch.c: Regenerated.
6808 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6809
7a5a839f
LC
68102014-02-26 Ludovic Courtès <ludo@gnu.org>
6811
6812 * guile/scm-value.c (gdbscm_history_append_x): New function.
6813 (value_functions): Add it.
6814
31aa7e4e
JB
68152014-02-27 Joel Brobecker <brobecker@adacore.com>
6816
6817 * dwarf2read.c (attr_value_as_address): New function.
6818 (dwarf2_find_base_address, read_call_site_scope): Use
6819 attr_value_as_address in place of DW_ADDR.
6820 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6821 the low and high addresses. Slight rework of the handling
6822 of the high pc being a constant form, and limit it to
6823 DWARF verson 4 or higher.
6824 (dwarf2_record_block_ranges): Likewise.
6825 (read_partial_die): Likewise.
6826 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6827
9b333ba3
TT
68282014-02-26 Tom Tromey <tromey@redhat.com>
6829
6830 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6831
5f6cac40
TT
68322014-02-26 Tom Tromey <tromey@redhat.com>
6833
6834 * elfread.c (elf_read_minimal_symbols): Return early if
6835 minimal symbols have already been read. Add "ei" parameter.
6836 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6837 * minsyms.c (prim_record_minimal_symbol_full): Update.
6838 * objfiles.h (struct objstats) <n_minsyms>: Move...
6839 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6840 * symmisc.c (print_objfile_statistics): Update.
6841
2750ef27
TT
68422014-02-26 Tom Tromey <tromey@redhat.com>
6843
6844 * elfread.c (elf_read_minimal_symbols): New function, from
6845 elf_symfile_read.
6846 (elf_symfile_read): Call it.
6847
34643a32
TT
68482014-02-26 Tom Tromey <tromey@redhat.com>
6849
6850 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6851 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6852 (lookup_minimal_symbol_solib_trampoline)
6853 (lookup_minimal_symbol_by_pc_section_1)
6854 (lookup_minimal_symbol_and_objfile): Update.
6855 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6856 Don't allocate a minimal symbol if minsyms have already been read.
6857 (build_minimal_symbol_hash_tables): Update.
6858 (install_minimal_symbols): Do nothing if minsyms already read.
6859 Use the per-BFD obstack.
6860 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6861 * objfiles.c (allocate_objfile): Call
6862 terminate_minimal_symbol_table later.
6863 (have_minimal_symbols): Update.
6864 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6865 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6866 Move from struct objfile.
6867 <minsyms_read>: New field.
6868 (struct objfile) <msymbols, minimal_symbol_count,
6869 msymbol_hash, msymbol_demangled_hash>: Move.
6870 (ALL_OBJFILE_MSYMBOLS): Update.
6871 * symfile.c (read_symbols): Set minsyms_read.
6872 (reread_symbols): Update.
6873 * symmisc.c (dump_objfile, dump_msymbols): Update.
6874
2273f0ac
TT
68752014-02-26 Tom Tromey <tromey@redhat.com>
6876
6877 * minsyms.c (msymbols_sort): Remove.
6878 * minsyms.h (msymbols_sort): Remove.
6879 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6880 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6881 * elfread.c (elf_symtab_read): Don't add section offsets.
6882 * xcoffread.c (record_minimal_symbol): Don't add section offset
6883 to minimal symbol address.
6884 * somread.c (text_offset, data_offset): Remove.
6885 (som_symtab_read): Don't add section offsets to minimal symbol
6886 addresses.
6887 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6888 Don't add section offsets to minimal symbols.
6889 * coffread.c (coff_symtab_read): Don't add section offsets
6890 to minimal symbol addresses.
6891 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6892 to minimal symbol addresses.
6893 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6894 section offset to minimal symbol addresses.
6895 * mdebugread.c (parse_partial_symbols): Don't add section
6896 offset to minimal symbol addresses.
6897 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6898 offset to minimal symbol addresses.
6899
77e371c0
TT
69002014-02-26 Tom Tromey <tromey@redhat.com>
6901
6902 * ada-lang.c (ada_main_name): Update.
6903 (ada_add_standard_exceptions): Update.
6904 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6905 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6906 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6907 * auxv.c (ld_so_xfer_auxv): Update.
6908 * avr-tdep.c (avr_scan_prologue): Update.
6909 * ax-gdb.c (gen_var_ref): Update.
6910 * blockframe.c (get_pc_function_start)
6911 (find_pc_partial_function_gnu_ifunc): Update.
6912 * breakpoint.c (create_overlay_event_breakpoint)
6913 (create_longjmp_master_breakpoint)
6914 (create_std_terminate_master_breakpoint)
6915 (create_exception_master_breakpoint): Update.
6916 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6917 * c-valprint.c (c_val_print): Update.
6918 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6919 * common/agent.c (agent_look_up_symbols): Update.
6920 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6921 * dwarf2loc.c (call_site_to_target_addr): Update.
6922 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6923 * elfread.c (elf_gnu_ifunc_record_cache)
6924 (elf_gnu_ifunc_resolve_by_got): Update.
6925 * findvar.c (default_read_var_value): Update.
6926 * frame.c (inside_main_func): Update.
6927 * frv-tdep.c (frv_frame_this_id): Update.
6928 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6929 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6930 Update.
6931 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6932 (hppa_hpux_find_dummy_bpaddr): Update.
6933 * hppa-tdep.c (hppa_symbol_address): Update.
6934 * infcmd.c (until_next_command): Update.
6935 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6936 Update.
6937 * linespec.c (minsym_found, add_minsym): Update.
6938 * linux-nat.c (get_signo): Update.
6939 * linux-thread-db.c (inferior_has_bug): Update.
6940 * m32c-tdep.c (m32c_return_value)
6941 (m32c_m16c_address_to_pointer): Update.
6942 * m32r-tdep.c (m32r_frame_this_id): Update.
6943 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6944 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6945 * maint.c (maintenance_translate_address): Update.
6946 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6947 (frob_address): New function.
6948 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6949 frob_address. Rename parameter to "pc_in".
6950 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6951 addresses.
6952 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6953 Update.
6954 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6955 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6956 * objc-lang.c (find_objc_msgsend): Update.
6957 * objfiles.c (objfile_relocate1): Update.
6958 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6959 * p-valprint.c (pascal_val_print): Update.
6960 * parse.c (write_exp_msymbol): Update.
6961 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6962 (ppc_elfv2_skip_entrypoint): Update.
6963 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6964 * printcmd.c (build_address_symbolic, msym_info)
6965 (address_info): Update.
6966 * proc-service.c (ps_pglobal_lookup): Update.
6967 * psymtab.c (find_pc_sect_psymtab_closer)
6968 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6969 Change msymbol parameter to bound_minimal_symbol.
6970 * ravenscar-thread.c (get_running_thread_id): Update.
6971 * remote.c (remote_check_symbols): Update.
6972 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6973 address.
6974 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6975 * solib-dsbt.c (lm_base): Update.
6976 * solib-frv.c (lm_base, main_got): Update.
6977 * solib-irix.c (locate_base): Update.
6978 * solib-som.c (som_solib_create_inferior_hook)
6979 (link_map_start): Update.
6980 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6981 * solib-svr4.c (elf_locate_base, enable_break): Update.
6982 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6983 (flush_ea_cache): Update.
6984 * stabsread.c (define_symbol, scan_file_globals): Update.
6985 * stack.c (find_frame_funname): Update.
6986 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6987 (debug_qf_find_pc_sect_symtab): Update.
6988 * symfile.c (simple_read_overlay_table)
6989 (simple_overlay_update): Update.
6990 * symfile.h (struct quick_symbol_functions)
6991 <find_pc_sect_symtab>: Change type of msymbol to
6992 bound_minimal_symbol.
6993 * symmisc.c (dump_msymbols): Update.
6994 * symtab.c (find_pc_sect_symtab_via_partial)
6995 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6996 (search_symbols, print_msymbol_info): Update.
6997 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6998 (MSYMBOL_VALUE_ADDRESS): Redefine.
6999 (BMSYMBOL_VALUE_ADDRESS): New macro.
7000 * tracepoint.c (scope_info): Update.
7001 * tui/tui-disasm.c (tui_find_disassembly_address)
7002 (tui_get_begin_asm_address): Update.
7003 * valops.c (find_function_in_inferior): Update.
7004 * value.c (value_static_field, value_fn_field): Update.
7005
3b7344d5
TT
70062014-02-26 Tom Tromey <tromey@redhat.com>
7007
7008 * ada-lang.c (ada_update_initial_language): Update.
7009 (ada_main_name, ada_has_this_exception_support): Update.
7010 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7011 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7012 * arm-tdep.c (arm_skip_stub): Update.
7013 * auxv.c (ld_so_xfer_auxv): Update.
7014 * avr-tdep.c (avr_scan_prologue): Update.
7015 * ax-gdb.c (gen_var_ref): Update.
7016 * breakpoint.c (struct breakpoint_objfile_data)
7017 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7018 type to bound_minimal_symbol.
7019 (create_overlay_event_breakpoint)
7020 (create_longjmp_master_breakpoint)
7021 (create_std_terminate_master_breakpoint)
7022 (create_exception_master_breakpoint): Update.
7023 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7024 * c-exp.y (classify_name): Update.
7025 * coffread.c (coff_symfile_read): Update.
7026 * common/agent.c (agent_look_up_symbols): Update.
7027 * d-lang.c (d_main_name): Update.
7028 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7029 * dec-thread.c (enable_dec_thread): Update.
7030 * dwarf2loc.c (call_site_to_target_addr): Update.
7031 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7032 * eval.c (evaluate_subexp_standard): Update.
7033 * findvar.c (struct minsym_lookup_data) <result>: Change type
7034 to bound_minimal_symbol.
7035 <objfile>: Remove.
7036 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7037 * frame.c (inside_main_func): Update.
7038 * frv-tdep.c (frv_frame_this_id): Update.
7039 * gcore.c (call_target_sbrk): Update.
7040 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7041 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7042 Update.
7043 * go-lang.c (go_main_name): Update.
7044 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7045 (hppa_hpux_find_import_stub_for_addr): Update.
7046 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7047 Update. Change return type.
7048 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7049 type.
7050 * jit.c (jit_breakpoint_re_set_internal): Update.
7051 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7052 Update.
7053 * linux-nat.c (get_signo): Update.
7054 * linux-thread-db.c (inferior_has_bug): Update
7055 * m32c-tdep.c (m32c_return_value)
7056 (m32c_m16c_address_to_pointer): Update.
7057 * m32r-tdep.c (m32r_frame_this_id): Update.
7058 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7059 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7060 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7061 lookup_minimal_symbol. Change return type.
7062 (lookup_minimal_symbol): Remove.
7063 (lookup_bound_minimal_symbol): Update.
7064 (lookup_minimal_symbol_text): Change return type.
7065 (lookup_minimal_symbol_solib_trampoline): Change return type.
7066 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7067 (lookup_minimal_symbol_solib_trampoline): Change return type.
7068 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7069 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7070 (value_nsstring, find_imps): Update.
7071 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7072 * p-lang.c (pascal_main_name): Update.
7073 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7074 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7075 * proc-service.c (ps_pglobal_lookup): Update.
7076 * ravenscar-thread.c (get_running_thread_msymbol): Change
7077 return type.
7078 (has_ravenscar_runtime, get_running_thread_id): Update.
7079 * remote.c (remote_check_symbols): Update.
7080 * sol-thread.c (ps_pglobal_lookup): Update.
7081 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7082 * solib-dsbt.c (lm_base): Update.
7083 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7084 Update.
7085 * solib-irix.c (locate_base): Update.
7086 * solib-som.c (som_solib_create_inferior_hook)
7087 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7088 Update.
7089 * solib-spu.c (spu_enable_break): Update.
7090 * solib-svr4.c (elf_locate_base, enable_break): Update.
7091 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7092 (flush_ea_cache): Update.
7093 * stabsread.c (define_symbol): Update.
7094 * symfile.c (simple_read_overlay_table): Update.
7095 * symtab.c (find_pc_sect_line): Update.
7096 * tracepoint.c (scope_info): Update.
7097 * tui-disasm.c (tui_get_begin_asm_address): Update.
7098 * value.c (value_static_field): Update.
7099
40c1a007
TT
71002014-02-26 Tom Tromey <tromey@redhat.com>
7101
7102 * minsyms.c (prim_record_minimal_symbol_full): Use
7103 SET_MSYMBOL_VALUE_ADDRESS.
7104 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7105 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7106 SET_MSYMBOL_VALUE_ADDRESS.
7107 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7108 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7109
efd66ac6
TT
71102014-02-26 Tom Tromey <tromey@redhat.com>
7111
7112 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7113 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7114 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7115 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7116 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7117 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7118 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7119 * ada-lang.c (ada_main_name): Update.
7120 (ada_lookup_simple_minsym): Update.
7121 (ada_make_symbol_completion_list): Update.
7122 (ada_add_standard_exceptions): Update.
7123 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7124 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7125 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7126 * arm-tdep.c (skip_prologue_function): Update.
7127 (arm_skip_stack_protector, arm_skip_stub): Update.
7128 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7129 (arm_wince_skip_main_prologue): Update.
7130 * auxv.c (ld_so_xfer_auxv): Update.
7131 * avr-tdep.c (avr_scan_prologue): Update.
7132 * ax-gdb.c (gen_var_ref): Update.
7133 * block.c (call_site_for_pc): Update.
7134 * blockframe.c (get_pc_function_start): Update.
7135 (find_pc_partial_function_gnu_ifunc): Update.
7136 * breakpoint.c (create_overlay_event_breakpoint): Update.
7137 (create_longjmp_master_breakpoint): Update.
7138 (create_std_terminate_master_breakpoint): Update.
7139 (create_exception_master_breakpoint): Update.
7140 (resolve_sal_pc): Update.
7141 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7142 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7143 Update.
7144 * c-valprint.c (c_val_print): Update.
7145 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7146 * coffread.c (coff_symfile_read): Update.
7147 * common/agent.c (agent_look_up_symbols): Update.
7148 * dbxread.c (find_stab_function_addr): Update.
7149 (end_psymtab): Update.
7150 * dwarf2loc.c (call_site_to_target_addr): Update.
7151 (func_verify_no_selftailcall): Update.
7152 (tailcall_dump): Update.
7153 (call_site_find_chain_1): Update.
7154 (dwarf_expr_reg_to_entry_parameter): Update.
7155 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7156 (elf_gnu_ifunc_resolve_by_got): Update.
7157 * f-valprint.c (info_common_command): Update.
7158 * findvar.c (read_var_value): Update.
7159 * frame.c (get_prev_frame_1): Update.
7160 (inside_main_func): Update.
7161 * frv-tdep.c (frv_skip_main_prologue): Update.
7162 (frv_frame_this_id): Update.
7163 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7164 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7165 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7166 (gnuv3_skip_trampoline): Update.
7167 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7168 (hppa64_hpux_in_solib_call_trampoline): Update.
7169 (hppa_hpux_skip_trampoline_code): Update.
7170 (hppa64_hpux_search_dummy_call_sequence): Update.
7171 (hppa_hpux_find_import_stub_for_addr): Update.
7172 (hppa_hpux_find_dummy_bpaddr): Update.
7173 * hppa-tdep.c (hppa_symbol_address)
7174 (hppa_lookup_stub_minimal_symbol): Update.
7175 * i386-tdep.c (i386_skip_main_prologue): Update.
7176 (i386_pe_skip_trampoline_code): Update.
7177 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7178 * infcall.c (get_function_name): Update.
7179 * infcmd.c (until_next_command): Update.
7180 * jit.c (jit_breakpoint_re_set_internal): Update.
7181 (jit_inferior_init): Update.
7182 * linespec.c (minsym_found): Update.
7183 (add_minsym): Update.
7184 * linux-fork.c (info_checkpoints_command): Update.
7185 * linux-nat.c (get_signo): Update.
7186 * linux-thread-db.c (inferior_has_bug): Update.
7187 * m32c-tdep.c (m32c_return_value): Update.
7188 (m32c_m16c_address_to_pointer): Update.
7189 (m32c_m16c_pointer_to_address): Update.
7190 * m32r-tdep.c (m32r_frame_this_id): Update.
7191 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7192 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7193 * maint.c (maintenance_translate_address): Update.
7194 * minsyms.c (add_minsym_to_hash_table): Update.
7195 (add_minsym_to_demangled_hash_table): Update.
7196 (msymbol_objfile): Update.
7197 (lookup_minimal_symbol): Update.
7198 (iterate_over_minimal_symbols): Update.
7199 (lookup_minimal_symbol_text): Update.
7200 (lookup_minimal_symbol_by_pc_name): Update.
7201 (lookup_minimal_symbol_solib_trampoline): Update.
7202 (lookup_minimal_symbol_by_pc_section_1): Update.
7203 (lookup_minimal_symbol_and_objfile): Update.
7204 (prim_record_minimal_symbol_full): Update.
7205 (compare_minimal_symbols): Update.
7206 (compact_minimal_symbols): Update.
7207 (build_minimal_symbol_hash_tables): Update.
7208 (install_minimal_symbols): Update.
7209 (terminate_minimal_symbol_table): Update.
7210 (find_solib_trampoline_target): Update.
7211 (minimal_symbol_upper_bound): Update.
7212 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7213 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7214 (mips_skip_pic_trampoline_code): Update.
7215 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7216 * objc-lang.c (selectors_info): Update.
7217 (classes_info): Update.
7218 (find_methods): Update.
7219 (find_imps): Update.
7220 (find_objc_msgsend): Update.
7221 * objfiles.c (objfile_relocate1): Update.
7222 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7223 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7224 * p-valprint.c (pascal_val_print): Update.
7225 * parse.c (write_exp_msymbol): Update.
7226 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7227 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7228 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7229 * printcmd.c (build_address_symbolic): Update.
7230 (sym_info): Update.
7231 (address_info): Update.
7232 * proc-service.c (ps_pglobal_lookup): Update.
7233 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7234 (find_pc_sect_psymtab): Update.
7235 * python/py-framefilter.c (py_print_frame): Update.
7236 * ravenscar-thread.c (get_running_thread_id): Update.
7237 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7238 Update.
7239 * remote.c (remote_check_symbols): Update.
7240 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7241 (rs6000_skip_trampoline_code): Update.
7242 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7243 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7244 * solib-dsbt.c (lm_base): Update.
7245 * solib-frv.c (lm_base): Update.
7246 (main_got): Update.
7247 * solib-irix.c (locate_base): Update.
7248 * solib-som.c (som_solib_create_inferior_hook): Update.
7249 (som_solib_desire_dynamic_linker_symbols): Update.
7250 (link_map_start): Update.
7251 * solib-spu.c (spu_enable_break): Update.
7252 (ocl_enable_break): Update.
7253 * solib-svr4.c (elf_locate_base): Update.
7254 (enable_break): Update.
7255 * spu-tdep.c (spu_get_overlay_table): Update.
7256 (spu_catch_start): Update.
7257 (flush_ea_cache): Update.
7258 * stabsread.c (define_symbol): Update.
7259 (scan_file_globals): Update.
7260 * stack.c (find_frame_funname): Update.
7261 (frame_info): Update.
7262 * symfile.c (simple_read_overlay_table): Update.
7263 (simple_overlay_update): Update.
7264 * symmisc.c (dump_msymbols): Update.
7265 * symtab.c (fixup_section): Update.
7266 (find_pc_sect_line): Update.
7267 (skip_prologue_sal): Update.
7268 (search_symbols): Update.
7269 (print_msymbol_info): Update.
7270 (rbreak_command): Update.
7271 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7272 (completion_list_objc_symbol): Update.
7273 (default_make_symbol_completion_list_break_on): Update.
7274 * tracepoint.c (scope_info): Update.
7275 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7276 (tui_get_begin_asm_address): Update.
7277 * valops.c (find_function_in_inferior): Update.
7278 * value.c (value_static_field): Update.
7279 (value_fn_field): Update.
7280
50e65b17
TT
72812014-02-26 Tom Tromey <tromey@redhat.com>
7282
7283 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7284 bound minimal symbols. Move code that knows about minsym
7285 table layout...
7286 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7287 function.
7288 * minsyms.h (minimal_symbol_upper_bound): Declare.
7289 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7290 minimal_symbol_upper_bound.
7291
1b588015
JB
72922014-02-27 Joel Brobecker <brobecker@adacore.com>
7293
7294 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7295 Use the type's name if its basic type does not have a tag.
7296
dbb9c2b1
JB
72972014-02-27 Joel Brobecker <brobecker@adacore.com>
7298
7299 * dwarf2read.c (read_subrange_type): Add comment.
7300
55426c9d
JB
73012014-02-27 Joel Brobecker <brobecker@adacore.com>
7302
7303 * dwarf2read.c (update_enumeration_type_from_children): New
7304 function, mostly extracted from process_structure_scope.
7305 (read_enumeration_type): Call update_enumeration_type_from_children.
7306 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7307 and flag_flag_enum fields.
7308
f2fce0ca
PA
73092014-02-26 Pedro Alves <palves@redhat.com>
7310
7311 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7312 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7313 to_xfer_partial method.
7314
7a44e40e
PA
73152014-02-26 Pedro Alves <palves@redhat.com>
7316
7317 * target.c (complete_target_initialization): Don't install
7318 default_xfer_partial as to_xfer_partial hook.
7319 (nomemory): Delete.
7320 (update_current_target): Don't INHERIT nor de_fault
7321 deprecated_xfer_memory. Delete de_fault macro.
7322 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7323 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7324 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7325 field.
7326
bd265cd0
PA
73272014-02-26 Pedro Alves <palves@redhat.com>
7328
7329 * go32-nat.c (my_write_child): New function.
7330 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7331 (go32_xfer_partial): New function.
7332 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7333 Instead install a to_xfer_partial hook.
7334
9d46c4e5
PA
73352014-02-26 Pedro Alves <palves@redhat.com>
7336
7337 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7338 to_xfer_partial helper. Rewrite.
7339 (procfs_xfer_partial): New function.
7340 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7341 Install a to_xfer_partial hook.
7342
a1583b1f
PA
73432014-02-26 Pedro Alves <palves@redhat.com>
7344
7345 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7346 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7347 (m32r_xfer_partial): New function.
7348 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7349 Install a to_xfer_partial hook.
7350
6df1b29f
PA
73512014-02-26 Pedro Alves <palves@redhat.com>
7352
7353 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7354 helper.
7355 (mips_xfer_partial): New function.
7356 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7357 hook. Install a to_xfer_partial hook.
7358
dc53a7ad
JB
73592014-02-26 Joel Brobecker <brobecker@adacore.com>
7360
7361 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7362 * gdbtypes.c (create_array_type_with_stride): New function,
7363 renaming create_array_type, but with an added parameter
7364 called "bit_stride".
7365 (create_array_type): Re-implement using
7366 create_array_type_with_stride.
7367 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7368 and DW_AT_bit_stride attributes.
7369
12ab52e9
PA
73702014-02-26 Pedro Alves <palves@redhat.com>
7371
7372 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7373 task-specific breakpoints.
7374
d16461ae
PA
73752014-02-25 Pedro Alves <palves@redhat.com>
7376
7377 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7378 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7379
a8b16220
SS
73802014-02-25 Stan Shebs <stan@codesourcery.com>
7381
7382 * defs.h: Annotate comments for Doxygen.
7383
b9e795ee
TT
73842014-02-25 Tom Tromey <tromey@redhat.com>
7385
7386 * target.h (target_ignore): Don't declare.
7387 * target.c (target_ignore): Remove.
7388
849c862e
JK
73892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7390
7391 PR gdb/16626
7392 * auto-load.c (auto_load_objfile_script_1): Change filename to
7393 debugfile.
7394
475109d8
JB
73952014-02-25 Joel Brobecker <brobecker@adacore.com>
7396
7397 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7398 documentation. Adjust prototype to match the target_ops
7399 to_xfer_partial method. Adjust implementation accordingly.
7400
e186c3bd
HZ
74012014-02-25 Hui Zhu <hui@codesourcery.com>
7402
7403 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7404 to_traceframe_info.
7405
6d451942
KB
74062014-02-25 Kevin Buettner <kevinb@redhat.com>
7407
041ab8b4 7408 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7409 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7410 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7411 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7412 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7413 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7414 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7415 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7416 New constants.
7417 (rl78_register_type): Use a data pointer type for SP and
7418 new pseudo registers mentioned above. Use a 16 bit integer
7419 type for all other register pairs.
7420 (rl78_register_name, rl78_g10_register_name): Update for
7421 new pseudo registers.
7422 (rl78_pseudo_register_read): Likewise.
7423 (rl78_pseudo_register_write): Likewise.
7424 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7425 to the newly added pseudo registers.
7426
eddf0bae
DE
74272014-02-24 Doug Evans <dje@google.com>
7428
7429 * value.c (record_latest_value): Fix comment.
7430 * printcmd.c (print_command_1): Remove code to handle -1 return from
7431 record_latest_value.
7432
e96027e0
PA
74332014-02-24 Pedro Alves <palves@redhat.com>
7434
7435 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7436 deprecated_xfer_memory hook.
7437 (procfs_xfer_partial): Call procfs_xfer_memory instead
7438 of the deprecated_xfer_memory target hook.
7439 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7440 helper.
7441
0837c976
YZ
74422014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7443
7444 * windows-nat.c (windows_xfer_shared_libraries): Return
7445 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7446 requested object is TARGET_OBJECT_LIBRARIES.
7447
bc113b4e
YQ
74482014-02-24 Yao Qi <yao@codesourcery.com>
7449
7450 * target.h (enum target_xfer_status)
7451 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7452 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7453 explicitly. New.
7454 * corefile.c (memory_error_message): User updated.
7455 * exec.c (section_table_read_available_memory): Likewise.
7456 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7457 * target.c (target_xfer_status_to_string): Likewise.
7458 (raw_memory_xfer_partial): Likewise.
7459 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7460 * valops.c (read_value_memory): Likewise.
7461 * exec.h: Update comments.
7462
01cb8804
YQ
74632014-02-24 Yao Qi <yao@codesourcery.com>
7464
7465 * target.c (target_xfer_status_to_string): Rename argument err
7466 to status.
7467 * target.h (target_xfer_status_to_string): Update declaration.
7468 Replace target_xfer_error_to_string with
7469 target_xfer_status_to_string in comment.
7470
93063aa6
YQ
74712014-02-24 Yao Qi <yao@codesourcery.com>
7472
7473 * mips-linux-nat.c (super_close): Update its type.
7474 (mips_linux_close): Pass 'self' to super_close.
7475
5c328c05
YQ
74762014-02-24 Yao Qi <yao@codesourcery.com>
7477
7478 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7479 * corefile.c (read_memory): Adjusted.
7480 * target.c (target_write_with_progress): Adjusted.
7481
f73023dd
YQ
74822014-02-23 Yao Qi <yao@codesourcery.com>
7483
7484 Revert two patches:
7485
7486 2013-10-25 Yao Qi <yao@codesourcery.com>
7487
7488 * remote.c (remote_traceframe_info): Return early if
7489 traceframe is not selected.
7490
7491 2013-07-19 Yao Qi <yao@codesourcery.com>
7492
7493 * target.c (update_current_target): Change the default action
7494 of 'to_traceframe_info' from tcomplain to return_zero.
7495 * target.h (struct target_ops) <to_traceframe_info>: Add more
7496 comments.
7497
5a2eb0ef
YQ
74982014-02-23 Yao Qi <yao@codesourcery.com>
7499
7500 * valops.c (read_value_memory): Rewrite it. Call
7501 target_xfer_partial in a loop.
7502 * exec.h (section_table_available_memory): Remove declaration.
7503 Move comments to ...
7504 * exec.c (section_table_available_memory): ... here. Make it
7505 static.
7506
1ee79381
YQ
75072014-02-23 Yao Qi <yao@codesourcery.com>
7508
7509 * exec.c (section_table_read_available_memory): New function.
7510 * exec.h (section_table_read_available_memory): Declare.
7511 * ctf.c (ctf_xfer_partial): Call
7512 section_table_read_available_memory.
7513 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7514
1ca49d37
YQ
75152014-02-23 Yao Qi <yao@codesourcery.com>
7516
7517 * ctf.c (ctf_xfer_partial): Move code to ...
7518 * exec.c (exec_read_partial_read_only): ... it. New function.
7519 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7520 * tracefile.c: Include "exec.h".
7521 * exec.h (exec_read_partial_read_only): Declare.
7522
a283690e
YQ
75232014-02-23 Yao Qi <yao@codesourcery.com>
7524
7525 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7526 (tfile_has_memory): Remove.
7527 (init_tfile_ops): Don't set fields to_has_all_memory and
7528 to_has_memory of tfile_ops.
7529 * tracefile.c (tracefile_has_all_memory): New function.
7530 (tracefile_has_memory): New function.
7531 (init_tracefile_ops): Initialize fields to_has_all_memory and
7532 to_has_memory of 'ops'.
7533
12e03cd0
YQ
75342014-02-23 Yao Qi <yao@codesourcery.com>
7535
7536 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7537 (ctf_thread_alive, ctf_get_trace_status): Remove.
7538 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7539 init_tracefile_ops.
7540 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7541 (tfile_has_stack, tfile_has_registers): Remove.
7542 (tfile_thread_alive): Remove.
7543 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7544 init_tracefile_ops.
7545 * tracefile.c (tracefile_has_stack): New function.
7546 (tracefile_has_registers): New function.
7547 (tracefile_thread_alive): New function.
7548 (tracefile_get_trace_status): New function.
7549 (init_tracefile_ops): New function.
7550 * tracefile.h (init_tracefile_ops): Declare.
7551
11395323
YQ
75522014-02-23 Yao Qi <yao@codesourcery.com>
7553
7554 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7555 (O_LARGEFILE): Likewise.
7556 (tfile_ops): Likewise.
7557 (TRACE_HEADER_SIZE): Likewise.
7558 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7559 (cur_data_size): Likewise.
7560 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7561 (tfile_close, tfile_files_info): Likewise.
7562 (tfile_get_trace_status): Likewise.
7563 (tfile_get_tracepoint_status): Likewise.
7564 (tfile_get_traceframe_address): Likewise.
7565 (tfile_trace_find, match_blocktype): Likewise.
7566 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7567 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7568 (tfile_get_trace_state_variable_value): Likewise.
7569 (tfile_has_all_memory, tfile_has_memory): Likewise.
7570 (tfile_has_stack, tfile_has_registers): Likewise.
7571 (tfile_thread_alive, build_traceframe_info): Likewise.
7572 (tfile_traceframe_info, init_tfile_ops): Likewise.
7573 (_initialize_tracepoint): Don't call init_tfile_ops
7574 and add_target_with_completer.
7575 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7576 exec.h, completer.h and filenames.h.
7577 (_initialize_tracefile_tfile): New function.
7578
7951c4eb
YQ
75792014-02-23 Yao Qi <yao@codesourcery.com>
7580
7581 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7582 tracefile-tfile.o.
7583 (HFILES_NO_SRCDIR): Add tracefile.h.
7584 * ctf.c: Include "tracefile.h".
7585 * tracefile.h: New file.
7586 * tracefile.c: New file
7587 * tracefile-tfile.c: New file.
7588 * tracepoint.c: Include "tracefile.h".
7589 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7590 (stop_reason_names): Add const.
7591 (trace_file_writer_xfree): Move it to tracefile.c.
7592 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7593 (trace_save_ctf): Likewise.
7594 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7595 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7596 (tfile_write_header, tfile_write_regblock_type): Likewise.
7597 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7598 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7599 (tfile_write_raw_data, tfile_end): Likewise.
7600 (tfile_trace_file_writer_new): Likewise.
7601 (free_uploaded_tp): Make it extern.
7602 (free_uploaded_tsv): Make it extern.
7603 (_initialize_tracepoint): Move code to register command 'tsave'
7604 to tracefile.c.
7605 * tracepoint.h (stop_reason_names): Declare.
7606 (struct trace_frame_write_ops): Move it to tracefile.h.
7607 (struct trace_file_write_ops): Likewise.
7608 (struct trace_file_writer): Likewise.
7609 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7610
184cd072
JK
76112014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7612
7613 PR gdb/16594
7614 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7615 process name.
7616 (get_cores_used_by_process): New parameter num_cores, use it.
7617 (linux_xfer_osdata_processes): Pass num_cores to it.
7618 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7619 process name.
7620
c63528fc
AK
76212014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7622
7623 * target.c (memory_xfer_partial): Fix length arg in call to
7624 breakpoint_xfer_memory.
7625
d7b30f67
SDJ
76262014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7627
7628 PR tdep/16397
7629 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7630 number comes after the + or - signs. Adjust length of register
7631 name to be extracted.
7632
8838afaf
TT
76332014-02-20 Tom Tromey <tromey@redhat.com>
7634
7635 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7636 (ada_varobj_ops): Mark "extern".
7637
05227d14
TT
76382014-02-20 Tom Tromey <tromey@redhat.com>
7639
7640 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7641
1254eefc
DE
76422014-02-20 Doug Evans <xdje42@gmail.com>
7643
7644 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7645 All callers updated.
7646 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7647 All callers updated.
7648 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7649 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7650
adde2bff
DE
76512014-02-20 lin zuojian <manjian2006@gmail.com>
7652 Joel Brobecker <brobecker@adacore.com>
7653 Doug Evans <xdje42@gmail.com>
7654
7655 PR symtab/16581
7656 * dwarf2read.c (struct die_info): New member in_process.
7657 (reset_die_in_process): New function.
7658 (process_die): Set it at the start, reset when returning.
7659 (inherit_abstract_dies): Only call process_die if origin_child_die
7660 not already being processed.
7661
3be75f87
JB
76622014-02-20 Joel Brobecker <brobecker@adacore.com>
7663
7664 * windows-nat.c (handle_unload_dll): Add function documentation.
7665 (do_initial_windows_stuff): Add comment explaining why we wait
7666 until after inferior initialization has finished before
7667 processing all DLLs.
7668
47f7ffdb
JB
76692014-02-20 Joel Brobecker <brobecker@adacore.com>
7670
7671 * windows-nat.c (get_module_name): Delete.
7672 (windows_get_exec_module_filename): New function, mostly
7673 inspired from get_module_name.
7674 (windows_pid_to_exec_file): Replace call to get_module_name
7675 by call to windows_get_exec_module_filename.
7676
1cd9feab
JB
76772014-02-20 Joel Brobecker <brobecker@adacore.com>
7678
7679 * windows-nat.c (handle_load_dll): Rewrite this function's
7680 introductory comment. Remove code using get_module_name
7681 to get the DLL's name.
7682
ea39ad35
JB
76832014-02-20 Joel Brobecker <brobecker@adacore.com>
7684
7685 * windows-nat.c (get_windows_debug_event): Ignore
7686 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7687 if windows_initialization_done == 0.
7688 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7689 Adjust implementation to always load all DLLs.
7690 (do_initial_windows_stuff): Replace call to
7691 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7692
95060284
JB
76932014-02-20 Joel Brobecker <brobecker@adacore.com>
7694
7695 * windows-nat.c (_initialize_windows_nat): Deprecate the
7696 "dll-symbols" command. Turn the "add-shared-symbol-files"
7697 and "assf" aliases into commands, and deprecate them as well.
7698 * NEWS: Add entry explaining that "dll-symbols" and its two
7699 aliases are now deprecated.
7700
8d4fdb12
JB
77012014-02-20 Joel Brobecker <brobecker@adacore.com>
7702
7703 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7704 new-line in debug string. Remove trailing spaces.
7705
1b281443
SS
77062014-02-19 Stan Shebs <stan@codesourcery.com>
7707
7708 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7709
f7bd0f78
SC
77102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7711
7712 * NEWS: Add entry for the new feature
7713 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7714 and class values.
7715
399ebc3d
SS
77162014-02-19 Stan Shebs <stan@codesourcery.com>
7717
7718 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7719
c658158d
PA
77202014-02-19 Pedro Alves <palves@redhat.com>
7721
7722 * common/ptid.h (struct ptid): Mention that process_stratum
7723 targets should prefer ptid.lwp.
7724
ba348170
PA
77252014-02-19 Pedro Alves <palves@redhat.com>
7726
7727 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7728 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7729 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7730 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7731 store remote thread ids rather than ptid.tid.
7732 (_initialize_remote): Adjust.
7733
ac01945b
TT
77342014-02-19 Tom Tromey <tromey@redhat.com>
7735
7736 * target.c (target_get_unwinder): Rewrite.
7737 (target_get_tailcall_unwinder): Rewrite.
7738 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7739 (record_btrace_to_get_tailcall_unwinder): New function.
7740 (init_record_btrace_ops): Update.
7741 * target.h (struct target_ops) <to_get_unwinder,
7742 to_get_tailcall_unwinder>: Now function pointers. Use
7743 TARGET_DEFAULT_RETURN.
7744
8476dc92
TT
77452014-02-19 Tom Tromey <tromey@redhat.com>
7746
7747 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7748 argument.
7749 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7750
c0eca49f
TT
77512014-02-19 Tom Tromey <tromey@redhat.com>
7752
7753 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7754 directly.
7755 * target-delegates.c: Rebuild.
7756 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7757 TARGET_DEFAULT_FUNC.
7758 * target.c (default_target_decr_pc_after_break): Rename from
7759 forward_target_decr_pc_after_break. Simplify.
7760 (target_decr_pc_after_break): Rely on delegation.
7761
596b6b39
TT
77622014-02-19 Tom Tromey <tromey@redhat.com>
7763
7764 * target.c (update_current_target): Do not INHERIT to_doc or
7765 to_magic. Do not de_fault to_open or to_close.
7766
b427c1bc
TT
77672014-02-19 Tom Tromey <tromey@redhat.com>
7768
7769 * gcore.h (objfile_find_memory_regions): Declare.
7770 * gcore.c (objfile_find_memory_regions): No longer static. Add
7771 "self" argument.
7772 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7773 * exec.c: Include gcore.h.
7774 (exec_set_find_memory_regions): Remove.
7775 (exec_find_memory_regions): Remove.
7776 (exec_do_find_memory_regions): Remove.
7777 (init_exec_ops): Update.
7778 * defs.h (exec_set_find_memory_regions): Remove.
7779
9b144037
TT
77802014-02-19 Tom Tromey <tromey@redhat.com>
7781
7782 * target-delegates.c: Rebuild.
7783 * target.h (struct target_ops) <to_extra_thread_info,
7784 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7785 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7786 not 0, in TARGET_DEFAULT_RETURN.
7787
555bbdeb
TT
77882014-02-19 Tom Tromey <tromey@redhat.com>
7789
7790 * target.c (complete_target_initialization): Remove casts. Use
7791 return_zero_has_execution.
7792 (return_zero): Add "ignore" argument.
7793 (return_zero_has_execution): New function.
7794 (init_dummy_target): Remove casts. Use
7795 return_zero_has_execution.
7796
be4ddd36
TT
77972014-02-19 Tom Tromey <tromey@redhat.com>
7798
7799 * target.c (update_current_target): Update comments. Do not
7800 INHERIT to_stratum.
7801
2117c711
TT
78022014-02-19 Tom Tromey <tromey@redhat.com>
7803
7804 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7805 needed.
7806 * corelow.c (core_read_description): Delegate when needed.
7807 * remote.c (remote_read_description): Delegate when needed.
7808 * target-delegates.c: Rebuild.
7809 * target.c (target_read_description): Rewrite.
7810 * target.h (struct target_ops) <to_read_description>: Update
7811 comment. Use TARGET_DEFAULT_RETURN.
7812
e88ef65c
TT
78132014-02-19 Tom Tromey <tromey@redhat.com>
7814
7815 * target-delegates.c: Rebuild.
7816 * target.c (update_current_target): Don't inherit or default
7817 to_can_run.
7818 (find_default_run_target): Check against delegate_can_run.
7819 * target.h (struct target_ops) <to_can_run>: Use
7820 TARGET_DEFAULT_RETURN.
7821
86a0854a
TT
78222014-02-19 Tom Tromey <tromey@redhat.com>
7823
7824 * target-delegates.c: Rebuild.
7825 * target.c (target_disconnect): Unconditionally delegate.
7826 * target.h (struct target_ops) <to_disconnect>: Use
7827 TARGET_DEFAULT_NORETURN.
7828
ee97f592
TT
78292014-02-19 Tom Tromey <tromey@redhat.com>
7830
7831 * record.c (record_stop): Unconditionally delegate.
7832 * target-delegates.c: Rebuild.
7833 * target.c (target_stop_recording): Unconditionally delegate.
7834 * target.h (struct target_ops) <to_stop_recording>: Use
7835 TARGET_DEFAULT_IGNORE.
7836
6dc7fcf4
TT
78372014-02-19 Tom Tromey <tromey@redhat.com>
7838
7839 * target-delegates.c: Rebuild.
7840 * target.c (target_enable_btrace): Unconditionally delegate.
7841 * target.h (struct target_ops) <to_enable_btrace>: Use
7842 TARGET_DEFAULT_NORETURN.
7843
eb5b20d4
TT
78442014-02-19 Tom Tromey <tromey@redhat.com>
7845
7846 * target-delegates.c: Rebuild.
7847 * target.c (target_read_btrace): Unconditionally delegate.
7848 * target.h (struct target_ops) <to_read_btrace>: Use
7849 TARGET_DEFAULT_NORETURN.
7850
9ace480d
TT
78512014-02-19 Tom Tromey <tromey@redhat.com>
7852
7853 * target-delegates.c: Rebuild.
7854 * target.c (target_teardown_btrace): Unconditionally delegate.
7855 * target.h (struct target_ops) <to_teardown_btrace>: Use
7856 TARGET_DEFAULT_NORETURN.
7857
8dc292d3
TT
78582014-02-19 Tom Tromey <tromey@redhat.com>
7859
7860 * target-delegates.c: Rebuild.
7861 * target.c (target_disable_btrace): Unconditionally delegate.
7862 * target.h (struct target_ops) <to_disable_btrace>: Use
7863 TARGET_DEFAULT_NORETURN.
7864
58a5184e
TT
78652014-02-19 Tom Tromey <tromey@redhat.com>
7866
7867 * target-delegates.c: Rebuild.
7868 * target.c (default_search_memory): New function.
7869 (simple_search_memory): Update comment.
7870 (target_search_memory): Unconditionally delegate.
7871 * target.h (struct target_ops) <to_search_memory>: Use
7872 TARGET_DEFAULT_FUNC.
7873
8de71aab
TT
78742014-02-19 Tom Tromey <tromey@redhat.com>
7875
7876 * auxv.c (default_auxv_parse): No longer static.
7877 (target_auxv_parse): Unconditionally delegate.
7878 * auxv.h (default_auxv_parse): Declare.
7879 * target-delegates.c: Rebuild.
7880 * target.c: Include auxv.h.
7881 * target.h (struct target_ops) <to_auxv_parse>: Use
7882 TARGET_DEFAULT_FUNC.
7883
6b2c5a57
TT
78842014-02-19 Tom Tromey <tromey@redhat.com>
7885
7886 * target-delegates.c: Rebuild.
7887 * target.c (target_memory_map): Unconditionally delegate.
7888 * target.h (struct target_ops) <to_memory_map>: Use
7889 TARGET_DEFAULT_RETURN.
7890
cbffc065
TT
78912014-02-19 Tom Tromey <tromey@redhat.com>
7892
7893 * target-delegates.c: Rebuild.
7894 * target.c (target_thread_alive): Unconditionally delegate.
7895 * target.h (struct target_ops) <to_thread_alive>: Use
7896 TARGET_DEFAULT_RETURN.
7897
f09e2107
TT
78982014-02-19 Tom Tromey <tromey@redhat.com>
7899
7900 * target-delegates.c: Rebuild.
7901 * target.c (target_save_record): Unconditionally delegate.
7902 * target.h (struct target_ops) <to_save_record>: Use
7903 TARGET_DEFAULT_NORETURN.
7904
07366925
TT
79052014-02-19 Tom Tromey <tromey@redhat.com>
7906
7907 * target-delegates.c: Rebuild.
7908 * target.c (target_delete_record): Unconditionally delegate.
7909 * target.h (struct target_ops) <to_delete_record>: Use
7910 TARGET_DEFAULT_NORETURN.
7911
dd2e9d25
TT
79122014-02-19 Tom Tromey <tromey@redhat.com>
7913
7914 * target-delegates.c: Rebuild.
7915 * target.c (target_record_is_replaying): Unconditionally
7916 delegate.
7917 * target.h (struct target_ops) <to_record_is_replaying>: Use
7918 TARGET_DEFAULT_RETURN.
7919
671e76cc
TT
79202014-02-19 Tom Tromey <tromey@redhat.com>
7921
7922 * target-delegates.c: Rebuild.
7923 * target.c (target_goto_record_begin): Unconditionally delegate.
7924 * target.h (struct target_ops) <to_goto_record_begin>: Use
7925 TARGET_DEFAULT_NORETURN.
7926
e9179bb3
TT
79272014-02-19 Tom Tromey <tromey@redhat.com>
7928
7929 * target-delegates.c: Rebuild.
7930 * target.c (target_goto_record_end): Unconditionally delegate.
7931 * target.h (struct target_ops) <to_goto_record_end>: Use
7932 TARGET_DEFAULT_NORETURN.
7933
05969c84
TT
79342014-02-19 Tom Tromey <tromey@redhat.com>
7935
7936 * target-delegates.c: Rebuild.
7937 * target.c (target_goto_record): Unconditionally delegate.
7938 * target.h (struct target_ops) <to_goto_record>: Use
7939 TARGET_DEFAULT_NORETURN.
7940
3679abfa
TT
79412014-02-19 Tom Tromey <tromey@redhat.com>
7942
7943 * target-delegates.c: Rebuild.
7944 * target.c (target_insn_history): Unconditionally delegate.
7945 * target.h (struct target_ops) <to_insn_history>: Use
7946 TARGET_DEFAULT_NORETURN.
7947
8444ab58
TT
79482014-02-19 Tom Tromey <tromey@redhat.com>
7949
7950 * target-delegates.c: Rebuild.
7951 * target.c (target_insn_history_from): Unconditionally delegate.
7952 * target.h (struct target_ops) <to_insn_history_from>: Use
7953 TARGET_DEFAULT_NORETURN.
7954
c29302cc
TT
79552014-02-19 Tom Tromey <tromey@redhat.com>
7956
7957 * target-delegates.c: Rebuild.
7958 * target.c (target_insn_history_range): Unconditionally delegate.
7959 * target.h (struct target_ops) <to_insn_history_range>: Use
7960 TARGET_DEFAULT_NORETURN.
7961
170049d4
TT
79622014-02-19 Tom Tromey <tromey@redhat.com>
7963
7964 * target-delegates.c: Rebuild.
7965 * target.c (target_call_history): Unconditionally delegate.
7966 * target.h (struct target_ops) <to_call_history>: Use
7967 TARGET_DEFAULT_NORETURN.
7968
16fc27d6
TT
79692014-02-19 Tom Tromey <tromey@redhat.com>
7970
7971 * target-delegates.c: Rebuild.
7972 * target.c (target_call_history_from): Unconditionally delegate.
7973 * target.h (struct target_ops) <to_call_history_from>: Use
7974 TARGET_DEFAULT_NORETURN.
7975
115d9817
TT
79762014-02-19 Tom Tromey <tromey@redhat.com>
7977
7978 * target-delegates.c: Rebuild.
7979 * target.c (target_call_history_range): Unconditionally delegate.
7980 * target.h (struct target_ops) <to_call_history_range>: Use
7981 TARGET_DEFAULT_NORETURN.
7982
eb276a6b
TT
79832014-02-19 Tom Tromey <tromey@redhat.com>
7984
7985 * target-delegates.c: Rebuild.
7986 * target.c (target_verify_memory): Unconditionally delegate.
7987 * target.h (struct target_ops) <to_verify_memory>: Use
7988 TARGET_DEFAULT_NORETURN.
7989
9e538d0d
TT
79902014-02-19 Tom Tromey <tromey@redhat.com>
7991
7992 * target-delegates.c: Rebuild.
7993 * target.c (target_core_of_thread): Unconditionally delegate.
7994 * target.h (struct target_ops) <to_core_of_thread>: Use
7995 TARGET_DEFAULT_RETURN.
7996
f6fb2925
TT
79972014-02-19 Tom Tromey <tromey@redhat.com>
7998
7999 * target-delegates.c: Rebuild.
8000 * target.c (target_flash_done): Unconditionally delegate.
8001 * target.h (struct target_ops) <to_flash_done>: Use
8002 TARGET_DEFAULT_NORETURN.
8003
e8a6c6ac
TT
80042014-02-19 Tom Tromey <tromey@redhat.com>
8005
8006 * target-delegates.c: Rebuild.
8007 * target.c (target_flash_erase): Unconditionally delegate.
8008 * target.h (struct target_ops) <to_flash_erase>: Use
8009 TARGET_DEFAULT_NORETURN.
8010
7e35c012
TT
80112014-02-19 Tom Tromey <tromey@redhat.com>
8012
8013 * target-delegates.c: Rebuild.
8014 * target.c (target_get_section_table): Unconditionally delegate.
8015 * target.h (struct target_ops) <to_get_section_table>: Use
8016 TARGET_DEFAULT_RETURN.
8017
770234d3
TT
80182014-02-19 Tom Tromey <tromey@redhat.com>
8019
8020 * target-delegates.c: Rebuild.
8021 * target.c (target_pid_to_str): Unconditionally delegate.
8022 (init_dummy_target): Don't initialize to_pid_to_str.
8023 (default_pid_to_str): Rename from dummy_pid_to_str.
8024 * target.h (struct target_ops) <to_pid_to_str>: Use
8025 TARGET_DEFAULT_FUNC.
8026
09b0dc2b
TT
80272014-02-19 Tom Tromey <tromey@redhat.com>
8028
8029 * target-delegates.c: Rebuild.
8030 * target.c (target_find_new_threads): Unconditionally delegate.
8031 * target.h (struct target_ops) <to_find_new_threads>: Use
8032 TARGET_DEFAULT_RETURN.
8033
7d4f8efa
TT
80342014-02-19 Tom Tromey <tromey@redhat.com>
8035
8036 * target-delegates.c: Rebuild.
8037 * target.c (target_program_signals): Unconditionally delegate.
8038 * target.h (struct target_ops) <to_program_signals>: Use
8039 TARGET_DEFAULT_IGNORE.
8040
035cad7f
TT
80412014-02-19 Tom Tromey <tromey@redhat.com>
8042
8043 * target-delegates.c: Rebuild.
8044 * target.c (target_pass_signals): Unconditionally delegate.
8045 * target.h (struct target_ops) <to_pass_signals>: Use
8046 TARGET_DEFAULT_IGNORE.
8047
8d657035
TT
80482014-02-19 Tom Tromey <tromey@redhat.com>
8049
8050 * target-delegates.c: Rebuild.
8051 * target.c (default_mourn_inferior): New function.
8052 (target_mourn_inferior): Unconditionally delegate.
8053 * target.h (struct target_ops) <to_mourn_inferior>: Use
8054 TARGET_DEFAULT_FUNC.
8055
098dba18
TT
80562014-02-19 Tom Tromey <tromey@redhat.com>
8057
8058 * target-delegates.c: Rebuild.
8059 * target.c (default_follow_fork): New function.
8060 (target_follow_fork): Unconditionally delegate.
8061 * target.h (struct target_ops) <to_follow_fork>: Use
8062 TARGET_DEFAULT_FUNC.
8063
423a4807
TT
80642014-02-19 Tom Tromey <tromey@redhat.com>
8065
8066 * target-delegates.c: Rebuild.
8067 * target.c (target_kill): Unconditionally delegate.
8068 * target.h (struct target_ops) <to_kill>: Use
8069 TARGET_DEFAULT_NORETURN.
8070
6c7e5e5c
TT
80712014-02-19 Tom Tromey <tromey@redhat.com>
8072
8073 * target-delegates.c: Rebuild.
8074 * target.c (target_masked_watch_num_registers): Unconditionally
8075 delegate.
8076 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8077 Use TARGET_DEFAULT_RETURN.
8078
8b1c364c
TT
80792014-02-19 Tom Tromey <tromey@redhat.com>
8080
8081 * target-delegates.c: Rebuild.
8082 * target.c (target_remove_mask_watchpoint): Unconditionally
8083 delegate.
8084 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8085 TARGET_DEFAULT_RETURN.
8086
cd4ae029
TT
80872014-02-19 Tom Tromey <tromey@redhat.com>
8088
8089 * target-delegates.c: Rebuild.
8090 * target.c (target_insert_mask_watchpoint): Unconditionally
8091 delegate.
8092 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8093 TARGET_DEFAULT_RETURN.
8094
a134316b
TT
80952014-02-19 Tom Tromey <tromey@redhat.com>
8096
8097 * target-delegates.c: Rebuild.
8098 * target.c (target_ranged_break_num_registers): Unconditionally
8099 delegate.
8100 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8101 Use TARGET_DEFAULT_RETURN.
8102
ad5989bd
TT
81032014-02-19 Tom Tromey <tromey@redhat.com>
8104
8105 * target-delegates.c: Rebuild.
8106 * target.c (target_fetch_registers): Unconditionally delegate.
8107 * target.h (struct target_ops) <to_fetch_registers>: Use
8108 TARGET_DEFAULT_NORETURN.
8109
46ee7e8d
TT
81102014-02-19 Tom Tromey <tromey@redhat.com>
8111
8112 * target-delegates.c: Rebuild.
8113 * target.c (update_current_target): Don't inherit or default
8114 to_stop.
8115 * target.h (struct target_ops) <to_stop>: Use
8116 TARGET_DEFAULT_IGNORE.
8117
843f59ed
TT
81182014-02-19 Tom Tromey <tromey@redhat.com>
8119
8120 * target-delegates.c: Rebuild.
8121 * target.c (update_current_target): Don't inherit or default
8122 to_can_run_breakpoint_commands.
8123 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8124 Use TARGET_DEFAULT_RETURN.
8125
ccfde2a0
TT
81262014-02-19 Tom Tromey <tromey@redhat.com>
8127
8128 * target-delegates.c: Rebuild.
8129 * target.c (update_current_target): Don't inherit or default
8130 to_supports_evaluation_of_breakpoint_conditions.
8131 * target.h (struct target_ops)
8132 <to_supports_evaluation_of_breakpoint_conditions>: Use
8133 TARGET_DEFAULT_RETURN.
8134
0de91722
TT
81352014-02-19 Tom Tromey <tromey@redhat.com>
8136
8137 * target-delegates.c: Rebuild.
8138 * target.c (update_current_target): Don't inherit or default
8139 to_augmented_libraries_svr4_read.
8140 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8141 Use TARGET_DEFAULT_RETURN.
8142
9a7d8b48
TT
81432014-02-19 Tom Tromey <tromey@redhat.com>
8144
8145 * target-delegates.c: Rebuild.
8146 * target.c (update_current_target): Don't inherit or default
8147 to_can_use_agent.
8148 * target.h (struct target_ops) <to_can_use_agent>: Use
8149 TARGET_DEFAULT_RETURN.
8150
d9db5b21
TT
81512014-02-19 Tom Tromey <tromey@redhat.com>
8152
8153 * target-delegates.c: Rebuild.
8154 * target.c (update_current_target): Don't inherit or default
8155 to_use_agent.
8156 * target.h (struct target_ops) <to_use_agent>: Use
8157 TARGET_DEFAULT_NORETURN.
8158
92155eeb
TT
81592014-02-19 Tom Tromey <tromey@redhat.com>
8160
8161 * target-delegates.c: Rebuild.
8162 * target.c (update_current_target): Don't inherit or default
8163 to_traceframe_info.
8164 (return_null): Remove.
8165 * target.h (struct target_ops) <to_traceframe_info>: Use
8166 TARGET_DEFAULT_RETURN.
8167
d6522a22
TT
81682014-02-19 Tom Tromey <tromey@redhat.com>
8169
8170 * target-delegates.c: Rebuild.
8171 * target.c (update_current_target): Don't inherit or default
8172 to_static_tracepoint_markers_by_strid.
8173 * target.h (struct target_ops)
8174 <to_static_tracepoint_markers_by_strid>: Use
8175 TARGET_DEFAULT_NORETURN.
8176
4c3e4425
TT
81772014-02-19 Tom Tromey <tromey@redhat.com>
8178
8179 * target-delegates.c: Rebuild.
8180 * target.c (update_current_target): Don't inherit or default
8181 to_static_tracepoint_marker_at.
8182 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8183 Use TARGET_DEFAULT_RETURN.
8184
dcd6917f
TT
81852014-02-19 Tom Tromey <tromey@redhat.com>
8186
8187 * target-delegates.c: Rebuild.
8188 * target.c (update_current_target): Don't inherit or default
8189 to_set_permissions.
8190 * target.h (struct target_ops) <to_set_permissions>: Use
8191 TARGET_DEFAULT_IGNORE.
8192
22bcceee
TT
81932014-02-19 Tom Tromey <tromey@redhat.com>
8194
8195 * target-delegates.c: Rebuild.
8196 * target.c (update_current_target): Don't inherit or default
8197 to_get_tib_address.
8198 * target.h (struct target_ops) <to_get_tib_address>: Use
8199 TARGET_DEFAULT_NORETURN.
8200
8586ccaa
TT
82012014-02-19 Tom Tromey <tromey@redhat.com>
8202
8203 * target-delegates.c: Rebuild.
8204 * target.c (update_current_target): Don't inherit or default
8205 to_set_trace_notes.
8206 * target.h (struct target_ops) <to_set_trace_notes>: Use
8207 TARGET_DEFAULT_RETURN.
8208
91df8d1d
TT
82092014-02-19 Tom Tromey <tromey@redhat.com>
8210
8211 * target-delegates.c: Rebuild.
8212 * target.c (update_current_target): Don't initialize
8213 to_set_trace_buffer_size.
8214 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8215 TARGET_DEFAULT_IGNORE.
8216
8d526939
TT
82172014-02-19 Tom Tromey <tromey@redhat.com>
8218
8219 * target-delegates.c: Rebuild.
8220 * target.c (update_current_target): Don't inherit or default
8221 to_set_circular_trace_buffer.
8222 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8223 TARGET_DEFAULT_IGNORE.
8224
0bcfeddf
TT
82252014-02-19 Tom Tromey <tromey@redhat.com>
8226
8227 * target-delegates.c: Rebuild.
8228 * target.c (update_current_target): Don't inherit or default
8229 to_set_disconnected_tracing.
8230 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8231 TARGET_DEFAULT_IGNORE.
8232
9249843f
TT
82332014-02-19 Tom Tromey <tromey@redhat.com>
8234
8235 * target-delegates.c: Rebuild.
8236 * target.c (update_current_target): Don't inherit or default
8237 to_get_min_fast_tracepoint_insn_len.
8238 (return_minus_one): Remove.
8239 * target.h (struct target_ops)
8240 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8241
ace92e7d
TT
82422014-02-19 Tom Tromey <tromey@redhat.com>
8243
8244 * target-delegates.c: Rebuild.
8245 * target.c (update_current_target): Don't inherit or default
8246 to_get_raw_trace_data.
8247 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8248 TARGET_DEFAULT_NORETURN.
8249
08120467
TT
82502014-02-19 Tom Tromey <tromey@redhat.com>
8251
8252 * target-delegates.c: Rebuild.
8253 * target.c (update_current_target): Don't inherit or default
8254 to_upload_trace_state_variables.
8255 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8256 Use TARGET_DEFAULT_RETURN.
8257
1e949b00
TT
82582014-02-19 Tom Tromey <tromey@redhat.com>
8259
8260 * target-delegates.c: Rebuild.
8261 * target.c (update_current_target): Don't inherit or default
8262 to_upload_tracepoints.
8263 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8264 TARGET_DEFAULT_RETURN.
8265
a2e6c147
TT
82662014-02-19 Tom Tromey <tromey@redhat.com>
8267
8268 * target-delegates.c: Rebuild.
8269 * target.c (update_current_target): Don't inherit or default
8270 to_save_trace_data.
8271 * target.h (struct target_ops) <to_save_trace_data>: Use
8272 TARGET_DEFAULT_NORETURN.
8273
959bcd0b
TT
82742014-02-19 Tom Tromey <tromey@redhat.com>
8275
8276 * target-delegates.c: Rebuild.
8277 * target.c (update_current_target): Don't inherit or default
8278 to_get_trace_state_variable_value.
8279 * target.h (struct target_ops)
8280 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8281
afc94e66
TT
82822014-02-19 Tom Tromey <tromey@redhat.com>
8283
8284 * target-delegates.c: Rebuild.
8285 * target.c (update_current_target): Don't inherit or default
8286 to_trace_find.
8287 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8288
e51c07ea
TT
82892014-02-19 Tom Tromey <tromey@redhat.com>
8290
8291 * target-delegates.c: Rebuild.
8292 * target.c (update_current_target): Don't inherit or default
8293 to_trace_stop.
8294 * target.h (struct target_ops) <to_trace_stop>: Use
8295 TARGET_DEFAULT_NORETURN.
8296
6fea14cd
TT
82972014-02-19 Tom Tromey <tromey@redhat.com>
8298
8299 * target-delegates.c: Rebuild.
8300 * target.c (update_current_target): Don't inherit or default
8301 to_get_tracepoint_status.
8302 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8303 TARGET_DEFAULT_NORETURN.
8304
4072d4ff
TT
83052014-02-19 Tom Tromey <tromey@redhat.com>
8306
8307 * target-delegates.c: Rebuild.
8308 * target.c (update_current_target): Don't inherit or default
8309 to_get_trace_status.
8310 * target.h (struct target_ops) <to_get_trace_status>: Use
8311 TARGET_DEFAULT_RETURN.
8312
25da2e80
TT
83132014-02-19 Tom Tromey <tromey@redhat.com>
8314
8315 * target-delegates.c: Rebuild.
8316 * target.c (update_current_target): Don't inherit or default
8317 to_trace_start.
8318 * target.h (struct target_ops) <to_trace_start>: Use
8319 TARGET_DEFAULT_NORETURN.
8320
86dd181d
TT
83212014-02-19 Tom Tromey <tromey@redhat.com>
8322
8323 * target-delegates.c: Rebuild.
8324 * target.c (update_current_target): Don't inherit or default
8325 to_trace_set_readonly_regions.
8326 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8327 Use TARGET_DEFAULT_NORETURN.
8328
05c41993
TT
83292014-02-19 Tom Tromey <tromey@redhat.com>
8330
8331 * target-delegates.c: Rebuild.
8332 * target.c (update_current_target): Don't inherit or default
8333 to_disable_tracepoint.
8334 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8335 TARGET_DEFAULT_NORETURN.
8336
151f70f1
TT
83372014-02-19 Tom Tromey <tromey@redhat.com>
8338
8339 * target-delegates.c: Rebuild.
8340 * target.c (update_current_target): Don't inherit or default
8341 to_enable_tracepoint.
8342 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8343 TARGET_DEFAULT_NORETURN.
8344
94eb98b9
TT
83452014-02-19 Tom Tromey <tromey@redhat.com>
8346
8347 * target-delegates.c: Rebuild.
8348 * target.c (update_current_target): Don't inherit or default
8349 to_download_trace_state_variable.
8350 * target.h (struct target_ops) <to_download_trace_state_variable>:
8351 Use TARGET_DEFAULT_NORETURN.
8352
719acc4a
TT
83532014-02-19 Tom Tromey <tromey@redhat.com>
8354
8355 * target-delegates.c: Rebuild.
8356 * target.c (update_current_target): Don't inherit or default
8357 to_can_download_tracepoint.
8358 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8359 TARGET_DEFAULT_RETURN.
8360
9a980a22
TT
83612014-02-19 Tom Tromey <tromey@redhat.com>
8362
8363 * target-delegates.c: Rebuild.
8364 * target.c (update_current_target): Don't inherit or default
8365 to_download_tracepoint.
8366 * target.h (struct target_ops) <to_download_tracepoint>: Use
8367 TARGET_DEFAULT_NORETURN.
8368
5536135b
TT
83692014-02-19 Tom Tromey <tromey@redhat.com>
8370
8371 * target-delegates.c: Rebuild.
8372 * target.c (update_current_target): Don't inherit or default
8373 to_trace_init.
8374 * target.h (struct target_ops) <to_trace_init>: Use
8375 TARGET_DEFAULT_RETURN.
8376
9409d39e
TT
83772014-02-19 Tom Tromey <tromey@redhat.com>
8378
8379 * target-delegates.c: Rebuild.
8380 * target.c (update_current_target): Don't inherit or default
8381 to_supports_string_tracing.
8382 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8383 TARGET_DEFAULT_RETURN.
8384
aab1b22d
TT
83852014-02-19 Tom Tromey <tromey@redhat.com>
8386
8387 * target-delegates.c: Rebuild.
8388 * target.c (update_current_target): Don't inherit or default
8389 to_supports_enable_disable_tracepoint.
8390 * target.h (struct target_ops)
8391 <to_supports_enable_disable_tracepoint>: Use
8392 TARGET_DEFAULT_RETURN.
8393
a7304748
TT
83942014-02-19 Tom Tromey <tromey@redhat.com>
8395
8396 * target-delegates.c: Rebuild.
8397 * target.c (update_current_target): Don't inherit or default
8398 to_supports_multi_process.
8399 * target.h (struct target_ops) <to_supports_multi_process>: Use
8400 TARGET_DEFAULT_RETURN.
8401
4229b31d
TT
84022014-02-19 Tom Tromey <tromey@redhat.com>
8403
8404 * target-delegates.c: Rebuild.
8405 * target.c (update_current_target): Don't inherit or default
8406 to_get_ada_task_ptid.
8407 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8408 TARGET_DEFAULT_FUNC.
8409
43eba180
TT
84102014-02-19 Tom Tromey <tromey@redhat.com>
8411
8412 * target-delegates.c: Rebuild.
8413 * target.c (update_current_target): Don't inherit or default
8414 to_thread_architecture.
8415 * target.h (struct target_ops) <to_thread_architecture>: Use
8416 TARGET_DEFAULT_FUNC.
8417
fe31bf5b
TT
84182014-02-19 Tom Tromey <tromey@redhat.com>
8419
8420 * target-delegates.c: Rebuild.
8421 * target.c (update_current_target): Don't inherit or default
8422 to_execution_direction.
8423 * target.h (struct target_ops) <to_execution_direction>: Use
8424 TARGET_DEFAULT_FUNC.
8425
53e1cfc7
TT
84262014-02-19 Tom Tromey <tromey@redhat.com>
8427
8428 * target-delegates.c: Rebuild.
8429 * target.c (update_current_target): Don't inherit or default
8430 to_can_execute_reverse.
8431 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8432 TARGET_DEFAULT_RETURN.
8433 (target_can_execute_reverse): Unconditionally delegate.
8434
9bb9d61d
TT
84352014-02-19 Tom Tromey <tromey@redhat.com>
8436
8437 * target-delegates.c: Rebuild.
8438 * target.c (update_current_target): Don't inherit or default
8439 to_goto_bookmark.
8440 (dummy_goto_bookmark): Remove.
8441 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8442 * target.h (struct target_ops) <to_goto_bookmark>: Use
8443 TARGET_DEFAULT_NORETURN.
8444
3dbafbbb
TT
84452014-02-19 Tom Tromey <tromey@redhat.com>
8446
8447 * target-delegates.c: Rebuild.
8448 * target.c (update_current_target): Don't inherit or default
8449 to_get_bookmark.
8450 (dummy_get_bookmark): Remove.
8451 (init_dummy_target): Don't inherit or default to_get_bookmark.
8452 * target.h (struct target_ops) <to_get_bookmark>: Use
8453 TARGET_DEFAULT_NORETURN
8454
16f796b1
TT
84552014-02-19 Tom Tromey <tromey@redhat.com>
8456
8457 * target-delegates.c: Rebuild.
8458 * target.c (update_current_target): Don't inherit or default
8459 to_make_corefile_notes.
8460 (init_dummy_target): Don't initialize to_make_corefile_notes.
8461 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8462 TARGET_DEFAULT_FUNC.
8463
0b5a2719
TT
84642014-02-19 Tom Tromey <tromey@redhat.com>
8465
8466 * target-delegates.c: Rebuild.
8467 * target.c (update_current_target): Don't inherit or default
8468 to_find_memory_regions.
8469 (init_dummy_target): Don't initialize to_find_memory_regions.
8470 * target.h (struct target_ops) <to_find_memory_regions>: Use
8471 TARGET_DEFAULT_FUNC.
8472
d9cb0195
TT
84732014-02-19 Tom Tromey <tromey@redhat.com>
8474
8475 * target-delegates.c: Rebuild.
8476 * target.c (update_current_target): Don't inherit or default
8477 to_log_command.
8478 * target.h (struct target_ops) <to_log_command>: Use
8479 TARGET_DEFAULT_IGNORE.
8480 (target_log_command): Unconditionally delegate.
8481
830ca330
TT
84822014-02-19 Tom Tromey <tromey@redhat.com>
8483
8484 * target-delegates.c: Rebuild.
8485 * target.c (update_current_target): Don't inherit or default
8486 to_pid_to_exec_file.
8487 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8488 TARGET_DEFAULT_RETURN.
8489
825828fc
TT
84902014-02-19 Tom Tromey <tromey@redhat.com>
8491
8492 * target-delegates.c: Rebuild.
8493 * target.c (update_current_target): Don't inherit or default
8494 to_thread_name.
8495 (target_thread_name): Unconditionally delegate.
8496 * target.h (struct target_ops) <to_thread_name>: Use
8497 TARGET_DEFAULT_RETURN.
8498
4a7e6dda
TT
84992014-02-19 Tom Tromey <tromey@redhat.com>
8500
8501 * target-delegates.c: Rebuild.
8502 * target.c (update_current_target): Don't inherit or default
8503 to_extra_thread_info.
8504 * target.h (struct target_ops) <to_extra_thread_info>: Use
8505 TARGET_DEFAULT_RETURN.
8506
0db88c1d
TT
85072014-02-19 Tom Tromey <tromey@redhat.com>
8508
8509 * target-delegates.c: Rebuild.
8510 * target.c (update_current_target): Don't inherit or default
8511 to_has_exited.
8512 * target.h (struct target_ops) <to_has_exited>: Use
8513 TARGET_DEFAULT_RETURN..
8514
6a9fa051
TT
85152014-02-19 Tom Tromey <tromey@redhat.com>
8516
8517 * target-delegates.c: Rebuild.
8518 * target.c (update_current_target): Don't inherit or default
8519 to_set_syscall_catchpoint.
8520 (return_one): Remove.
8521 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8522 TARGET_DEFAULT_RETURN.
8523
62f64d7a
TT
85242014-02-19 Tom Tromey <tromey@redhat.com>
8525
8526 * target-delegates.c: Rebuild.
8527 * target.c (update_current_target): Don't inherit or default
8528 to_insert_exec_catchpoint.
8529 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8530 TARGET_DEFAULT_RETURN.
8531
cda0f38c
TT
85322014-01-08 Tom Tromey <tromey@redhat.com>
8533
8534 * target-delegates.c: Rebuild.
8535 * target.c (update_current_target): Don't inherit or default
8536 to_insert_exec_catchpoint.
8537 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8538 TARGET_DEFAULT_RETURN.
8539
95c3375e
TT
85402014-02-19 Tom Tromey <tromey@redhat.com>
8541
8542 * target-delegates.c: Rebuild.
8543 * target.c (update_current_target): Don't inherit or default
8544 to_remove_vfork_catchpoint.
8545 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8546 TARGET_DEFAULT_RETURN.
8547
7e18a8dc
TT
85482014-02-19 Tom Tromey <tromey@redhat.com>
8549
8550 * target-delegates.c: Rebuild.
8551 * target.c (update_current_target): Don't inherit or default
8552 to_insert_vfork_catchpoint.
8553 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8554 TARGET_DEFAULT_RETURN.
8555
e1a21fb7
TT
85562014-02-19 Tom Tromey <tromey@redhat.com>
8557
8558 * target-delegates.c: Rebuild.
8559 * target.c (update_current_target): Don't inherit or default
8560 to_remove_fork_catchpoint.
8561 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8562 TARGET_DEFAULT_RETURN.
8563
5958ebeb
TT
85642014-02-19 Tom Tromey <tromey@redhat.com>
8565
8566 * target-delegates.c: Rebuild.
8567 * target.c (update_current_target): Don't inherit or default
8568 to_insert_fork_catchpoint.
8569 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8570 TARGET_DEFAULT_RETURN.
8571
340ba4bf
TT
85722014-02-19 Tom Tromey <tromey@redhat.com>
8573
8574 * target-delegates.c: Rebuild.
8575 * target.c (update_current_target): Don't inherit or default
8576 to_post_startup_inferior.
8577 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8578 TARGET_DEFAULT_IGNORE.
8579
7634da87
TT
85802014-02-19 Tom Tromey <tromey@redhat.com>
8581
8582 * target-delegates.c: Rebuild.
8583 * target.c (update_current_target): Don't inherit or default
8584 to_load.
8585 * target.h (struct target_ops) <to_load>: Use
8586 TARGET_DEFAULT_NORETURN.
8587
e19e919f
TT
85882014-02-19 Tom Tromey <tromey@redhat.com>
8589
8590 * target-delegates.c: Rebuild.
8591 * target.c (update_current_target): Don't inherit or default
8592 to_terminal_info.
8593 * target.h (struct target_ops) <to_terminal_info>: Use
8594 TARGET_DEFAULT_FUNC.
8595
c6ea8f79
TT
85962014-02-19 Tom Tromey <tromey@redhat.com>
8597
8598 * target-delegates.c: Rebuild.
8599 * target.c (update_current_target): Don't inherit or default
8600 to_terminal_save_ours.
8601 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8602 TARGET_DEFAULT_IGNORE.
8603
e4a733f1
TT
86042014-02-19 Tom Tromey <tromey@redhat.com>
8605
8606 * target-delegates.c: Rebuild.
8607 * target.c (update_current_target): Don't inherit or default
8608 to_terminal_ours.
8609 * target.h (struct target_ops) <to_terminal_ours>: Use
8610 TARGET_DEFAULT_IGNORE.
8611
74fcbef9
TT
86122014-02-19 Tom Tromey <tromey@redhat.com>
8613
8614 * target-delegates.c: Rebuild.
8615 * target.c (update_current_target): Don't inherit or default
8616 to_terminal_ours_for_output.
8617 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8618 TARGET_DEFAULT_IGNORE.
8619
ddeaacc9
TT
86202014-02-19 Tom Tromey <tromey@redhat.com>
8621
8622 * target-delegates.c: Rebuild.
8623 * target.c (update_current_target): Don't inherit or default
8624 to_terminal_inferior.
8625 * target.h (struct target_ops) <to_terminal_inferior>: Use
8626 TARGET_DEFAULT_IGNORE.
8627
0343661d
TT
86282014-02-19 Tom Tromey <tromey@redhat.com>
8629
8630 * target-delegates.c: Rebuild.
8631 * target.c (update_current_target): Don't inherit or default
8632 to_terminal_init.
8633 * target.h (struct target_ops) <to_terminal_init>: Use
8634 TARGET_DEFAULT_IGNORE.
8635
77cdffe9
TT
86362014-02-19 Tom Tromey <tromey@redhat.com>
8637
8638 * target-delegates.c: Rebuild.
8639 * target.c (update_current_target): Don't inherit or default
8640 to_can_accel_watchpoint_condition.
8641 * target.h (struct target_ops)
8642 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8643
d03655e4
TT
86442014-02-19 Tom Tromey <tromey@redhat.com>
8645
8646 * target-delegates.c: Rebuild.
8647 * target.c (update_current_target): Don't inherit or default
8648 to_region_ok_for_hw_watchpoint.
8649 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8650 Use TARGET_DEFAULT_FUNC.
8651
65f160a9
TT
86522014-02-19 Tom Tromey <tromey@redhat.com>
8653
8654 * target-delegates.c: Rebuild.
8655 * target.c (update_current_target): Don't inherit or default
8656 to_watchpoint_addr_within_range.
8657 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8658 Use TARGET_DEFAULT_FUNC.
8659
61dd109f
TT
86602014-02-19 Tom Tromey <tromey@redhat.com>
8661
8662 * target-delegates.c: Rebuild.
8663 * target.c (update_current_target): Don't inherit or default
8664 to_remove_watchpoint.
8665 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8666 TARGET_DEFAULT_NORETURN.
8667
016facd4
TT
86682014-02-19 Tom Tromey <tromey@redhat.com>
8669
8670 * target-delegates.c: Rebuild.
8671 * target.c (update_current_target): Don't inherit or default
8672 to_insert_watchpoint.
8673 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8674 TARGET_DEFAULT_RETURN.
8675
418dabac
TT
86762014-02-19 Tom Tromey <tromey@redhat.com>
8677
8678 * target-delegates.c: Rebuild.
8679 * target.c (update_current_target): Don't inherit or default
8680 to_remove_hw_breakpoint.
8681 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8682 TARGET_DEFAULT_RETURN.
8683
61b371f9
TT
86842014-02-19 Tom Tromey <tromey@redhat.com>
8685
8686 * target-delegates.c: Rebuild.
8687 * target.c (update_current_target): Don't inherit or default
8688 to_insert_hw_breakpoint.
8689 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8690 TARGET_DEFAULT_RETURN.
8691
52b51d06
TT
86922014-02-19 Tom Tromey <tromey@redhat.com>
8693
8694 * target-delegates.c: Rebuild.
8695 * target.c (update_current_target): Don't inherit or default
8696 to_can_use_hw_breakpoint.
8697 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8698 TARGET_DEFAULT_RETURN.
8699
f86e59b2
TT
87002014-02-19 Tom Tromey <tromey@redhat.com>
8701
8702 * target-delegates.c: Rebuild.
8703 * target.c (update_current_target): Don't inherit or default
8704 to_files_info.
8705 * target.h (struct target_ops) <to_files_info>: Use
8706 TARGET_DEFAULT_IGNORE.
8707
6c628163
TT
87082014-02-19 Tom Tromey <tromey@redhat.com>
8709
8710 * target-delegates.c: Rebuild.
8711 * target.c (update_current_target): Don't inherit or default
8712 to_store.
8713 * target.h (struct target_ops) <to_store>: Use
8714 TARGET_DEFAULT_NORETURN.
8715
bebd3233
TT
87162014-02-19 Tom Tromey <tromey@redhat.com>
8717
8718 * target-delegates.c: Rebuild.
8719 * target.c (update_current_target): Don't inherit or default
8720 to_post_attach.
8721 * target.h (struct target_ops) <to_post_attach>: Use
8722 TARGET_DEFAULT_IGNORE.
8723
a53f3625
TT
87242014-02-19 Tom Tromey <tromey@redhat.com>
8725
8726 * target-delegates.c: Rebuild.
8727 * target.c (update_current_target): Don't inherit or default
8728 to_rcmd.
8729 (default_rcmd): New function.
8730 (do_monitor_command): Unconditionally delegate.
8731 * target.h (struct target_ops) <to_rmcd>: Use
8732 TARGET_DEFAULT_FUNC.
8733
e9a29200
TT
87342014-02-19 Tom Tromey <tromey@redhat.com>
8735
8736 * target-delegates.c: Rebuild.
8737 * target.c (init_dummy_target): Don't initialize to_attach.
8738 (target_attach): Unconditionally delegate.
8739 * target.h (struct target_ops) <to_attach>: Use
8740 TARGET_DEFAULT_FUNC.
8741
09da0d0a
TT
87422014-02-19 Tom Tromey <tromey@redhat.com>
8743
8744 * target-delegates.c: Rebuild.
8745 * target.c (target_detach): Unconditionally delegate.
8746 (init_dummy_target): Don't initialize to_detach.
8747 * target.h (struct target_ops) <to_detach>: Use
8748 TARGET_DEFAULT_IGNORE.
8749
5436ff03
TT
87502014-02-19 Tom Tromey <tromey@redhat.com>
8751
8752 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8753 Add argument.
8754 (target_augmented_libraries_svr4_read): Add argument.
8755 * target.c (update_current_target): Update.
8756 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8757 argument.
8758
f0d960ea
TT
87592014-02-19 Tom Tromey <tromey@redhat.com>
8760
8761 * target.h (struct target_ops) <to_call_history_range>: Add
8762 argument.
8763 * target.c (target_call_history_range): Add argument.
8764 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8765 argument.
8766 (record_btrace_call_history_from): Update.
8767
ec0aea04
TT
87682014-02-19 Tom Tromey <tromey@redhat.com>
8769
8770 * target.h (struct target_ops) <to_call_history_from>: Add
8771 argument.
8772 * target.c (target_call_history_from): Add argument.
8773 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8774 argument.
8775
5df2fcba
TT
87762014-02-19 Tom Tromey <tromey@redhat.com>
8777
8778 * target.h (struct target_ops) <to_call_history>: Add argument.
8779 * target.c (target_call_history): Add argument.
8780 * record-btrace.c (record_btrace_call_history): Add 'self'
8781 argument.
8782
4e99c6b7
TT
87832014-02-19 Tom Tromey <tromey@redhat.com>
8784
8785 * target.h (struct target_ops) <to_insn_history_range>: Add
8786 argument.
8787 * target.c (target_insn_history_range): Add argument.
8788 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8789 argument.
8790 (record_btrace_insn_history_from): Update.
8791
9abc3ff3
TT
87922014-02-19 Tom Tromey <tromey@redhat.com>
8793
8794 * target.h (struct target_ops) <to_insn_history_from>: Add
8795 argument.
8796 * target.c (target_insn_history_from): Add argument.
8797 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8798 argument.
8799
7a6c5609
TT
88002014-02-19 Tom Tromey <tromey@redhat.com>
8801
8802 * target.h (struct target_ops) <to_insn_history>: Add argument.
8803 * target.c (target_insn_history): Add argument.
8804 * record-btrace.c (record_btrace_insn_history): Add 'self'
8805 argument.
8806
606183ac
TT
88072014-02-19 Tom Tromey <tromey@redhat.com>
8808
8809 * target.h (struct target_ops) <to_goto_record>: Add argument.
8810 * target.c (target_goto_record): Add argument.
8811 * record-full.c (record_full_goto): Add 'self' argument.
8812 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8813
307a1b91
TT
88142014-02-19 Tom Tromey <tromey@redhat.com>
8815
8816 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8817 * target.c (target_goto_record_end): Add argument.
8818 * record-full.c (record_full_goto_end): Add 'self' argument.
8819 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8820
08475817
TT
88212014-02-19 Tom Tromey <tromey@redhat.com>
8822
8823 * target.h (struct target_ops) <to_goto_record_begin>: Add
8824 argument.
8825 * target.c (target_goto_record_begin): Add argument.
8826 * record-full.c (record_full_goto_begin): Add 'self' argument.
8827 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8828 argument.
8829
1c63c994
TT
88302014-02-19 Tom Tromey <tromey@redhat.com>
8831
8832 * target.h (struct target_ops) <to_record_is_replaying>: Add
8833 argument.
8834 * target.c (target_record_is_replaying): Add argument.
8835 * record-full.c (record_full_is_replaying): Add 'self' argument.
8836 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8837 argument.
8838 (record_btrace_xfer_partial, record_btrace_store_registers)
8839 (record_btrace_prepare_to_store, record_btrace_resume)
8840 (record_btrace_wait, record_btrace_decr_pc_after_break)
8841 (record_btrace_find_new_threads, record_btrace_thread_alive):
8842 Update.
8843
d1b55219
TT
88442014-02-19 Tom Tromey <tromey@redhat.com>
8845
8846 * target.h (struct target_ops) <to_delete_record>: Add argument.
8847 * target.c (target_delete_record): Add argument.
8848 * record-full.c (record_full_delete): Add 'self' argument.
8849
1390f529
TT
88502014-02-19 Tom Tromey <tromey@redhat.com>
8851
8852 * target.h (struct target_ops) <to_save_record>: Add argument.
8853 * target.c (target_save_record): Add argument.
8854 * record-full.c (record_full_save): Add 'self' argument.
8855 (record_full_save): Add 'self' argument.
8856
630d6a4a
TT
88572014-02-19 Tom Tromey <tromey@redhat.com>
8858
8859 * target.h (struct target_ops) <to_info_record>: Add argument.
8860 * target.c (target_info_record): Add argument.
8861 * record.c (info_record_command): Add argument.
8862 * record-full.c (record_full_info): Add 'self' argument.
8863 * record-btrace.c (record_btrace_info): Add 'self' argument.
8864
c6cd7c02
TT
88652014-02-19 Tom Tromey <tromey@redhat.com>
8866
8867 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8868 * target.c (target_stop_recording): Add argument.
8869 * record.c (record_stop): Add argument.
8870 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8871 argument.
8872
39c49f83
TT
88732014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8876 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8877 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8878 argument.
8879 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8880 (_initialize_amd64_linux_nat): Use it.
8881 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8882 (_initialize_i386_linux_nat): Use it.
8883
1777056d
TT
88842014-02-19 Tom Tromey <tromey@redhat.com>
8885
8886 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8887 * target.c (target_teardown_btrace): Add argument.
8888 * remote.c (remote_teardown_btrace): Add 'self' argument.
8889 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8890 argument.
8891 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8892 argument.
8893
25e95349
TT
88942014-02-19 Tom Tromey <tromey@redhat.com>
8895
8896 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8897 * target.c (target_disable_btrace): Add argument.
8898 * remote.c (remote_disable_btrace): Add 'self' argument.
8899 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8900 argument.
8901 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8902 argument.
8903
e3c49f88
TT
89042014-02-19 Tom Tromey <tromey@redhat.com>
8905
8906 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8907 * target.c (target_enable_btrace): Add argument.
8908 * remote.c (remote_enable_btrace): Add 'self' argument.
8909 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8910 argument.
8911 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8912 argument.
8913
fe38f897
TT
89142014-02-19 Tom Tromey <tromey@redhat.com>
8915
8916 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8917 (target_can_use_agent): Add argument.
8918 * target.c (update_current_target): Update.
8919 * remote.c (remote_can_use_agent): Add 'self' argument.
8920 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8921
2c152180
TT
89222014-02-19 Tom Tromey <tromey@redhat.com>
8923
8924 * target.h (struct target_ops) <to_use_agent>: Add argument.
8925 (target_use_agent): Add argument.
8926 * target.c (update_current_target): Update.
8927 * remote.c (remote_use_agent): Add 'self' argument.
8928 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8929
a893e81f
TT
89302014-02-19 Tom Tromey <tromey@redhat.com>
8931
8932 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8933 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8934 (target_traceframe_info): Add argument.
8935 * target.c (update_current_target): Update.
8936 * remote.c (remote_traceframe_info): Add 'self' argument.
8937 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8938
c686c57f
TT
89392014-02-19 Tom Tromey <tromey@redhat.com>
8940
8941 * target.h (target_static_tracepoint_markers_by_strid): Add
8942 argument.
8943 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8944 'self' argument.
8945 * target.c (update_current_target): Update.
8946 * remote.c (struct target_ops)
8947 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8948 * linux-nat.c (struct target_ops)
8949 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8950
61fc905d
TT
89512014-02-19 Tom Tromey <tromey@redhat.com>
8952
8953 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8954 Add argument.
8955 (target_static_tracepoint_marker_at): Add argument.
8956 * target.c (update_current_target): Update.
8957 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8958 argument.
8959
c378d69d
TT
89602014-02-19 Tom Tromey <tromey@redhat.com>
8961
8962 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8963 (target_set_permissions): Add argument.
8964 * target.c (update_current_target): Update.
8965 * remote.c (remote_set_permissions): Add 'self' argument.
8966 (remote_start_remote): Update.
8967
bd7ae0f5
TT
89682014-02-19 Tom Tromey <tromey@redhat.com>
8969
8970 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8971 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8972 (target_get_tib_address): Add argument.
8973 * target.c (update_current_target): Update.
8974 * remote.c (remote_get_tib_address): Add 'self' argument.
8975
d9e68a2c
TT
89762014-02-19 Tom Tromey <tromey@redhat.com>
8977
8978 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8979 (target_set_trace_notes): Add argument.
8980 * target.c (update_current_target): Update.
8981 * remote.c (remote_set_trace_notes): Add 'self' argument.
8982
4da384be
TT
89832014-02-19 Tom Tromey <tromey@redhat.com>
8984
8985 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8986 argument.
8987 (target_set_trace_buffer_size): Add argument.
8988 * target.c (update_current_target): Update.
8989 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8990
736d5b1f
TT
89912014-02-19 Tom Tromey <tromey@redhat.com>
8992
8993 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8994 argument.
8995 (target_set_circular_trace_buffer): Add argument.
8996 * target.c (update_current_target): Update.
8997 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8998 argument.
8999
37b25738
TT
90002014-02-19 Tom Tromey <tromey@redhat.com>
9001
9002 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9003 argument.
9004 (target_set_disconnected_tracing): Add argument.
9005 * target.c (update_current_target): Update.
9006 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9007
0e67620a
TT
90082014-02-19 Tom Tromey <tromey@redhat.com>
9009
9010 * target.h (struct target_ops)
9011 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9012 (target_get_min_fast_tracepoint_insn_len): Add argument.
9013 * target.c (update_current_target): Update.
9014 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9015 argument.
9016
88ee6f45
TT
90172014-02-19 Tom Tromey <tromey@redhat.com>
9018
9019 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9020 argument.
9021 (target_get_raw_trace_data): Add argument.
9022 * target.c (update_current_target): Update.
9023 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9024
181e3713
TT
90252014-02-19 Tom Tromey <tromey@redhat.com>
9026
9027 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9028 Add argument.
9029 (target_upload_trace_state_variables): Add argument.
9030 * target.c (update_current_target): Update.
9031 * remote.c (remote_upload_trace_state_variables): Add 'self'
9032 argument.
9033 (remote_start_remote): Update.
9034
ab6617cc
TT
90352014-02-19 Tom Tromey <tromey@redhat.com>
9036
9037 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9038 argument.
9039 (target_upload_tracepoints): Add argument.
9040 * target.c (update_current_target): Update.
9041 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9042 (remote_start_remote): Update.
9043
dc3decaf
TT
90442014-02-19 Tom Tromey <tromey@redhat.com>
9045
9046 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9047 (target_save_trace_data): Add argument.
9048 * target.c (update_current_target): Update.
9049 * remote.c (remote_save_trace_data): Add 'self' argument.
9050
4011015b
TT
90512014-02-19 Tom Tromey <tromey@redhat.com>
9052
9053 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9054 argument.
9055 * target.h (struct target_ops)
9056 <to_get_trace_state_variable_value>: Add argument.
9057 (target_get_trace_state_variable_value): Add argument.
9058 * target.c (update_current_target): Update.
9059 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9060 argument.
9061 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9062
bd4c6793
TT
90632014-02-19 Tom Tromey <tromey@redhat.com>
9064
9065 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9066 * target.h (struct target_ops) <to_trace_find>: Add argument.
9067 (target_trace_find): Add argument.
9068 * target.c (update_current_target): Update.
9069 * remote.c (remote_trace_find): Add 'self' argument.
9070 * ctf.c (ctf_trace_find): Add 'self' argument.
9071
74499f1b
TT
90722014-02-19 Tom Tromey <tromey@redhat.com>
9073
9074 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9075 (target_trace_stop): Add argument.
9076 * target.c (update_current_target): Update.
9077 * remote.c (remote_trace_stop): Add 'self' argument.
9078
db90e85c
TT
90792014-02-19 Tom Tromey <tromey@redhat.com>
9080
9081 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9082 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9083 argument.
9084 (target_get_tracepoint_status): Add argument.
9085 * target.c (update_current_target): Update.
9086 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9087
8bd200f1
TT
90882014-02-19 Tom Tromey <tromey@redhat.com>
9089
9090 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9091 * target.h (struct target_ops) <to_get_trace_status>: Add
9092 argument.
9093 (target_get_trace_status): Add argument.
9094 * target.c (update_current_target): Update.
9095 * remote.c (remote_get_trace_status): Add 'self' argument.
9096 (remote_start_remote, remote_can_download_tracepoint): Update.
9097 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9098
e2d1aae3
TT
90992014-02-19 Tom Tromey <tromey@redhat.com>
9100
9101 * target.h (struct target_ops) <to_trace_start>: Add argument.
9102 (target_trace_start): Add argument.
9103 * target.c (update_current_target): Update.
9104 * remote.c (remote_trace_start): Add 'self' argument.
9105
583f9a86
TT
91062014-02-19 Tom Tromey <tromey@redhat.com>
9107
9108 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9109 Add argument.
9110 (target_trace_set_readonly_regions): Add argument.
9111 * target.c (update_current_target): Update.
9112 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9113 argument.
9114
780b049c
TT
91152014-02-19 Tom Tromey <tromey@redhat.com>
9116
9117 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9118 argument.
9119 (target_disable_tracepoint): Add argument.
9120 * target.c (update_current_target): Update.
9121 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9122
46670d57
TT
91232014-02-19 Tom Tromey <tromey@redhat.com>
9124
9125 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9126 argument.
9127 (target_enable_tracepoint): Add argument.
9128 * target.c (update_current_target): Update.
9129 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9130
559d2b81
TT
91312014-02-19 Tom Tromey <tromey@redhat.com>
9132
9133 * target.h (struct target_ops) <to_download_trace_state_variable>:
9134 Add argument.
9135 (target_download_trace_state_variable): Add argument.
9136 * target.c (update_current_target): Update.
9137 * remote.c (remote_download_trace_state_variable): Add 'self'
9138 argument.
9139
a52a8357
TT
91402014-02-19 Tom Tromey <tromey@redhat.com>
9141
9142 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9143 argument.
9144 (target_can_download_tracepoint): Add argument.
9145 * target.c (update_current_target): Update.
9146 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9147
548f7808
TT
91482014-02-19 Tom Tromey <tromey@redhat.com>
9149
9150 * target.h (struct target_ops) <to_download_tracepoint>: Add
9151 argument.
9152 (target_download_tracepoint): Add argument.
9153 * target.c (update_current_target): Update.
9154 * remote.c (remote_download_tracepoint): Add 'self' argument.
9155
ecae04e1
TT
91562014-02-19 Tom Tromey <tromey@redhat.com>
9157
9158 * target.h (struct target_ops) <to_trace_init>: Add argument.
9159 (target_trace_init): Add argument.
9160 * target.c (update_current_target): Update.
9161 * remote.c (remote_trace_init): Add 'self' argument.
9162
fab5aa7c
TT
91632014-02-19 Tom Tromey <tromey@redhat.com>
9164
9165 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9166 * target.c (target_fileio_readlink): Add argument.
9167 * remote.c (remote_hostio_readlink): Add 'self' argument.
9168 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9169
dbbca37d
TT
91702014-02-19 Tom Tromey <tromey@redhat.com>
9171
9172 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9173 * target.c (target_fileio_unlink): Add argument.
9174 * remote.c (remote_hostio_unlink): Add 'self' argument.
9175 (remote_file_delete): Update.
9176 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9177
df39ea25
TT
91782014-02-19 Tom Tromey <tromey@redhat.com>
9179
9180 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9181 * target.c (target_fileio_close): Add argument.
9182 * remote.c (remote_hostio_close): Add 'self' argument.
9183 (remote_hostio_close_cleanup): Update.
9184 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9185 Update.
9186 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9187
a3be983c
TT
91882014-02-19 Tom Tromey <tromey@redhat.com>
9189
9190 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9191 * target.c (target_fileio_pread): Add argument.
9192 * remote.c (remote_hostio_pread): Add 'self' argument.
9193 (remote_bfd_iovec_pread, remote_file_get): Update.
9194 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9195
0d866f62
TT
91962014-02-19 Tom Tromey <tromey@redhat.com>
9197
9198 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9199 * target.c (target_fileio_pwrite): Add argument.
9200 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9201 (remote_file_put): Update.
9202 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9203
cd897586
TT
92042014-02-19 Tom Tromey <tromey@redhat.com>
9205
9206 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9207 * target.c (target_fileio_open): Add argument.
9208 * remote.c (remote_hostio_open): Add 'self' argument.
9209 (remote_bfd_iovec_open): Add 'self' argument.
9210 (remote_file_put): Add 'self' argument.
9211 (remote_file_get): Add 'self' argument.
9212 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9213
78eff0ec
TT
92142014-02-19 Tom Tromey <tromey@redhat.com>
9215
9216 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9217 Add argument.
9218 (target_can_run_breakpoint_commands): Add argument.
9219 * target.c (update_current_target): Update.
9220 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9221 argument.
9222 (remote_insert_breakpoint): Add 'self' argument.
9223 (remote_insert_hw_breakpoint): Add 'self' argument.
9224 (remote_can_run_breakpoint_commands): Add 'self' argument.
9225
efcc2da7
TT
92262014-02-19 Tom Tromey <tromey@redhat.com>
9227
9228 * target.h (struct target_ops)
9229 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9230 (target_supports_evaluation_of_breakpoint_conditions): Add
9231 argument.
9232 * target.c (update_current_target): Update.
9233 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9234 argument.
9235 (remote_insert_breakpoint): Add 'self' argument.
9236 (remote_insert_hw_breakpoint): Add 'self' argument.
9237 (remote_supports_cond_breakpoints): Add 'self' argument.
9238
6de37a3a
TT
92392014-02-19 Tom Tromey <tromey@redhat.com>
9240
9241 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9242 argument.
9243 (target_supports_string_tracing): Add argument.
9244 * target.c (update_current_target): Update.
9245 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9246
2bfc0540
TT
92472014-02-19 Tom Tromey <tromey@redhat.com>
9248
9249 * target.h (struct target_ops)
9250 <to_supports_disable_randomization>: Add argument.
9251 * target.c (find_default_supports_disable_randomization): Add
9252 argument.
9253 (target_supports_disable_randomization): Add argument.
9254 (find_default_supports_disable_randomization): Add 'self'
9255 argument.
9256 * remote.c (extended_remote_supports_disable_randomization): Add
9257 'self' argument.
9258 (remote_supports_disable_randomization): Add 'self' argument.
9259 (extended_remote_create_inferior): Update.
9260 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9261 'self' argument.
9262
7d178d6a
TT
92632014-02-19 Tom Tromey <tromey@redhat.com>
9264
9265 * target.h (struct target_ops)
9266 <to_supports_enable_disable_tracepoint>: Add argument.
9267 (target_supports_enable_disable_tracepoint): Add argument.
9268 * target.c (update_current_target): Update.
9269 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9270 argument.
9271
86ce2668
TT
92722014-02-19 Tom Tromey <tromey@redhat.com>
9273
9274 * target.h (struct target_ops) <to_supports_multi_process>: Add
9275 argument.
9276 (target_supports_multi_process): Add argument.
9277 * target.c (update_current_target): Update.
9278 * remote.c (remote_supports_multi_process): Add 'self' argument.
9279 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9280 argument.
9281 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9282 argument.
9283
4c612759
TT
92842014-02-19 Tom Tromey <tromey@redhat.com>
9285
9286 * target.h (struct target_ops) <to_execution_direction>: Add
9287 argument.
9288 (target_execution_direction): Add argument.
9289 * target.c (default_execution_direction): Add 'self' argument.
9290 * record-full.c (record_full_execution_direction): Add 'self'
9291 argument.
9292
19db3e69
TT
92932014-02-19 Tom Tromey <tromey@redhat.com>
9294
9295 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9296 argument.
9297 (target_can_execute_reverse): Add argument.
9298 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9299 * record-full.c (record_full_can_execute_reverse): Add 'self'
9300 argument.
9301 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9302 argument.
9303
1e6b91a4
TT
93042014-02-19 Tom Tromey <tromey@redhat.com>
9305
9306 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9307 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9308 argument.
9309 (target_get_ada_task_ptid): Add argument.
9310 * target.c (update_current_target): Update.
9311 (default_get_ada_task_ptid): Add 'self' argument.
9312 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9313 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9314 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9315 argument.
9316 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9317 argument.
9318 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9319 argument.
9320 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9321 argument.
9322 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9323 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9324 argument.
9325
3c80fb48
TT
93262014-02-19 Tom Tromey <tromey@redhat.com>
9327
9328 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9329 (target_goto_bookmark): Add argument.
9330 * target.c (dummy_goto_bookmark): Add 'self' argument.
9331 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9332
dd0e2830
TT
93332014-02-19 Tom Tromey <tromey@redhat.com>
9334
9335 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9336 (target_get_bookmark): Add argument.
9337 * target.c (dummy_get_bookmark): Add 'self' argument.
9338 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9339
fc6691b2
TT
93402014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9343 argument.
9344 (target_make_corefile_notes): Add argument.
9345 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9346 * procfs.c (procfs_make_note_section): Add 'self' argument.
9347 (procfs_make_note_section): Add 'self' argument.
9348 (procfs_make_note_section): Add 'self' argument.
9349 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9350 argument.
9351 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9352 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9353 * exec.c (exec_make_note_section): Add 'self' argument.
9354 (exec_make_note_section): Add 'self' argument.
9355
2e73927c
TT
93562014-02-19 Tom Tromey <tromey@redhat.com>
9357
9358 * target.h (struct target_ops) <to_find_memory_regions>: Add
9359 argument.
9360 (target_find_memory_regions): Add argument.
9361 * target.c (dummy_find_memory_regions): Add 'self' argument.
9362 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9363 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9364 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9365 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9366 * exec. (exec_do_find_memory_regions): New global.
9367 (exec_set_find_memory_regions): Rewrite.
9368 (exec_find_memory_regions): New function.
9369 (init_exec_ops): Use exec_find_memory_regions.
9370
2a9a2795
TT
93712014-02-19 Tom Tromey <tromey@redhat.com>
9372
9373 * target.h (struct target_ops) <to_supports_non_stop>: Add
9374 argument.
9375 * target.c (find_default_supports_non_stop): Add argument.
9376 (target_supports_non_stop): Add argument.
9377 (find_default_supports_non_stop): Add 'self' argument.
9378 * remote.c (remote_supports_non_stop): Add 'self' argument.
9379 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9380
4ab76ea3
TT
93812014-02-19 Tom Tromey <tromey@redhat.com>
9382
9383 * target.h (struct target_ops) <to_log_command>: Add argument.
9384 (target_log_command): Add argument.
9385 * serial.h (serial_log_command): Add 'self' argument.
9386 * serial.c (serial_log_command): Add 'self' argument.
9387
8dd27370
TT
93882014-02-19 Tom Tromey <tromey@redhat.com>
9389
9390 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9391 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9392 argument.
9393 (target_pid_to_exec_file): Add argument.
9394 * target.c (debug_to_pid_to_exec_file): Add argument.
9395 (update_current_target): Update.
9396 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9397 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9398 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9399 (linux_handle_extended_wait): Update.
9400 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9401 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9402 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9403 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9404
1aac633b
TT
94052014-02-19 Tom Tromey <tromey@redhat.com>
9406
9407 * target.h (struct target_ops) <to_rcmd>: Add argument.
9408 (target_rcmd): Add argument.
9409 * target.c (debug_to_rcmd): Add argument.
9410 (update_current_target, do_monitor_command): Update.
9411 * remote.c (remote_rcmd): Add 'self' argument.
9412 * monitor.c (monitor_rcmd): Add 'self' argument.
9413
1eab8a48
TT
94142014-02-19 Tom Tromey <tromey@redhat.com>
9415
9416 * windows-nat.c (windows_stop): Add 'self' argument.
9417 * target.h (struct target_ops) <to_stop>: Add argument.
9418 * target.c (target_stop): Add argument.
9419 (debug_to_stop): Add argument.
9420 (update_current_target): Update.
9421 * remote.c (remote_stop): Add 'self' argument.
9422 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9423 (gdbsim_cntrl_c): Update.
9424 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9425 * procfs.c (procfs_stop): Add 'self' argument.
9426 * nto-procfs.c (procfs_stop): Add 'self' argument.
9427 * monitor.c (monitor_stop): Add 'self' argument.
9428 (monitor_open): Update.
9429 * linux-nat.c (linux_nat_stop): Add argument.
9430 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9431 * gnu-nat.c (gnu_stop): Add 'self' argument.
9432 * darwin-nat.c (darwin_stop): Add 'self' argument.
9433
503a628d
TT
94342014-02-19 Tom Tromey <tromey@redhat.com>
9435
9436 * target.h (struct target_ops) <to_thread_name>: Add argument.
9437 * target.c (target_thread_name): Add argument.
9438 (update_current_target): Update.
9439 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9440
c15906d8
TT
94412014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * target.h (struct target_ops) <to_extra_thread_info>: Add
9444 argument.
9445 (target_extra_thread_info): Add argument.
9446 * target.c (update_current_target): Update.
9447 * remote.c (remote_threads_extra_info): Add 'self' argument.
9448 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9449 argument.
9450 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9451 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9452 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9453 argument.
9454 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9455 argument.
9456 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9457 argument.
9458 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9459 argument.
9460
daf5e9b6
TT
94612014-02-19 Tom Tromey <tromey@redhat.com>
9462
9463 * target.h (struct target_ops) <to_program_signals>: Add argument.
9464 * target.c (target_program_signals): Add argument.
9465 * remote.c (remote_program_signals): Add 'self' argument.
9466
94bedb42
TT
94672014-02-19 Tom Tromey <tromey@redhat.com>
9468
9469 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9470 * target.c (target_pass_signals): Add argument.
9471 * remote.c (remote_pass_signals): Add 'self' argument.
9472 (remote_start_remote): Update.
9473 * procfs.c (procfs_pass_signals): Add 'self' argument.
9474 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9475 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9476 (linux_nat_create_inferior, linux_nat_attach): Update.
9477
da82bd6b
TT
94782014-02-19 Tom Tromey <tromey@redhat.com>
9479
9480 * windows-nat.c (windows_can_run): Add 'self' argument.
9481 * target.h (struct target_ops) <to_can_run>: Add argument.
9482 (target_can_run): Add argument.
9483 * target.c (debug_to_can_run): Add argument.
9484 (update_current_target): Update.
9485 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9486 * inf-child.c (inf_child_can_run): Add 'self' argument.
9487 * go32-nat.c (go32_can_run): Add 'self' argument.
9488
d796e1d6
TT
94892014-02-19 Tom Tromey <tromey@redhat.com>
9490
9491 * target.h (struct target_ops) <to_has_exited>: Add argument.
9492 (target_has_exited): Add argument.
9493 * target.c (debug_to_has_exited): Add argument.
9494 (update_current_target): Update.
9495
ff214e67
TT
94962014-02-19 Tom Tromey <tromey@redhat.com>
9497
9498 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9499 argument.
9500 (target_set_syscall_catchpoint): Add argument.
9501 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9502 argument.
9503 * target.c (update_current_target): Update.
9504
758e29d2
TT
95052014-02-19 Tom Tromey <tromey@redhat.com>
9506
9507 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9508 argument.
9509 (target_remove_exec_catchpoint): Add argument.
9510 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9511 (update_current_target): Update.
9512 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9513 argument.
9514
ba025e51
TT
95152014-02-19 Tom Tromey <tromey@redhat.com>
9516
9517 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9518 argument.
9519 (target_insert_exec_catchpoint): Add argument.
9520 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9521 (update_current_target): Update.
9522 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9523 argument.
9524
e98cf0cd
TT
95252014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9528 argument.
9529 (target_remove_vfork_catchpoint): Add argument.
9530 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9531 (update_current_target): Update.
9532 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9533 argument.
9534
3ecc7da0
TT
95352014-02-19 Tom Tromey <tromey@redhat.com>
9536
9537 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9538 argument.
9539 (target_insert_vfork_catchpoint): Add argument.
9540 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9541 (update_current_target): Update.
9542 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9543 argument.
9544
973fc227
TT
95452014-02-19 Tom Tromey <tromey@redhat.com>
9546
9547 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9548 argument.
9549 (target_remove_fork_catchpoint): Add argument.
9550 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9551 (update_current_target): Update.
9552 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9553 argument.
9554
a863b201
TT
95552014-02-19 Tom Tromey <tromey@redhat.com>
9556
9557 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9558 argument.
9559 (target_insert_fork_catchpoint): Add argument.
9560 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9561 (update_current_target): Update.
9562 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9563 argument.
9564
2e97a79e
TT
95652014-02-19 Tom Tromey <tromey@redhat.com>
9566
9567 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9568 argument.
9569 (target_post_startup_inferior): Add argument.
9570 * target.c (debug_to_post_startup_inferior): Add argument.
9571 (update_current_target): Update.
9572 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9573 argument.
9574 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9575 argument.
9576 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9577 argument.
9578 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9579 argument.
9580 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9581 'self' argument.
9582 (super_post_startup_inferior): Likewise.
9583 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9584 'self' argument.
9585 (super_post_startup_inferior): Likewise.
9586 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9587 Add 'self' argument.
9588 (super_post_startup_inferior): Likewise.
9589
71a9f134
TT
95902014-02-19 Tom Tromey <tromey@redhat.com>
9591
9592 * target.h (struct target_ops) <to_load>: Add argument.
9593 * target.c (target_load): Add argument.
9594 (debug_to_load): Add argument.
9595 (update_current_target): Update.
9596 * remote.c (remote_load): Add 'self' argument.
9597 * remote-sim.c (gdbsim_load): Add 'self' argument.
9598 * remote-mips.c (mips_load): Add 'self' argument.
9599 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9600 * monitor.c (monitor_load): Add 'self' argument.
9601 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9602
0a4f40a2
TT
96032014-02-19 Tom Tromey <tromey@redhat.com>
9604
9605 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9606 (target_terminal_info): Add argument.
9607 * target.c (debug_to_terminal_info): Add argument.
9608 (default_terminal_info): Likewise.
9609 * inflow.c (child_terminal_info): Add 'self' argument.
9610 * inferior.h (child_terminal_info): Add 'self' argument.
9611 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9612
ae3bd431
TT
96132014-02-19 Tom Tromey <tromey@redhat.com>
9614
9615 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9616 argument.
9617 (target_terminal_save_ours): Add argument.
9618 * target.c (debug_to_terminal_save_ours): Add argument.
9619 (update_current_target): Update.
9620 * inflow.c (terminal_save_ours): Add 'self' argument.
9621 * inferior.h (terminal_save_ours): Add 'self' argument.
9622
e3594fd1
TT
96232014-02-19 Tom Tromey <tromey@redhat.com>
9624
9625 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9626 (target_terminal_ours): Add argument.
9627 * target.c (debug_to_terminal_ours): Add argument.
9628 (update_current_target): Update.
9629 * remote.c (remote_terminal_ours): Add 'self' argument.
9630 (remote_close): Update.
9631 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9632 * inflow.c (terminal_ours): Add 'self' argument.
9633 * inferior.h (terminal_ours): Add 'self' argument.
9634 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9635
2e1e1a19
TT
96362014-02-19 Pedro Alves <palves@redhat.com>
9637 Tom Tromey <tromey@redhat.com>
9638
9639 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9640 argument.
9641 (target_terminal_ours_for_output): Add argument.
9642 * target.c (debug_to_terminal_ours_for_output): Add argument.
9643 (update_current_target): Update.
9644 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9645 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9646 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9647
d2f640d4
TT
96482014-02-19 Tom Tromey <tromey@redhat.com>
9649
9650 * target.h (struct target_ops) <to_terminal_inferior>: Add
9651 argument.
9652 * target.c (target_terminal_inferior): Add argument.
9653 (update_current_target): Update.
9654 * remote.c (remote_terminal_inferior): Add 'self' argument.
9655 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9656 * inflow.c (terminal_inferior): Add 'self' argument.
9657 * inferior.h (terminal_inferior): Add 'self' argument.
9658 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9659 (go32_terminal_inferior): Add 'self' argument.
9660
c42bf286
TT
96612014-02-19 Tom Tromey <tromey@redhat.com>
9662
9663 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9664 (target_terminal_init): Add argument.
9665 * target.c (debug_to_terminal_init): Add argument.
9666 (update_current_target): Update.
9667 * inflow.c (terminal_init_inferior): Add 'self' argument.
9668 * inferior.h (terminal_init_inferior): Add 'self' argument.
9669 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9670 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9671
c3a5ff89
TT
96722014-02-19 Tom Tromey <tromey@redhat.com>
9673
9674 * target.h (struct target_ops)
9675 <to_can_accel_watchpoint_condition>: Add argument.
9676 (target_can_accel_watchpoint_condition): Add argument.
9677 * target.c (debug_to_can_accel_watchpoint_condition): Add
9678 argument.
9679 (update_current_target): Update.
9680 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9681 'self' argument.
9682
31568a15
TT
96832014-02-19 Tom Tromey <tromey@redhat.com>
9684
9685 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9686 Add argument.
9687 (target_region_ok_for_hw_watchpoint): Add argument.
9688 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9689 (default_region_ok_for_hw_watchpoint): Add argument.
9690 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9691 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9692 argument.
9693 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9694 argument.
9695 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9696 argument.
9697 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9698 'self' argument.
9699 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9700 'self' argument.
9701 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9702 'self' argument.
9703 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9704 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9705 'self' argument.
9706 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9707 Add 'self' argument.
9708
7bb99c53
TT
97092014-02-19 Tom Tromey <tromey@redhat.com>
9710
9711 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9712 argument.
9713 (target_insert_watchpoint): Add argument.
9714 * target.c (debug_to_insert_watchpoint): Add argument.
9715 (update_current_target): Update.
9716 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9717 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9718 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9719 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9720 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9721 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9722 argument.
9723 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9724 (procfs_insert_hw_watchpoint): Add 'self' argument.
9725 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9726 argument.
9727 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9728 argument.
9729 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9730 argument.
9731 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9732 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9733 argument.
9734 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9735 'self' argument.
9736
11b5219a
TT
97372014-02-19 Tom Tromey <tromey@redhat.com>
9738
9739 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9740 argument.
9741 (target_remove_watchpoint): Add argument.
9742 * target.c (debug_to_remove_watchpoint): Add argument.
9743 (update_current_target): Update.
9744 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9745 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9746 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9747 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9748 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9749 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9750 argument.
9751 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9752 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9753 argument.
9754 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9755 argument.
9756 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9757 argument.
9758 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9759 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9760 argument.
9761 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9762 'self' argument.
9763
a64dc96c
TT
97642014-02-19 Tom Tromey <tromey@redhat.com>
9765
9766 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9767 argument.
9768 (target_remove_hw_breakpoint): Add argument.
9769 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9770 (update_current_target): Update.
9771 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9772 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9773 argument.
9774 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9775 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9776 argument.
9777 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9778 'self' argument.
9779
23a26771
TT
97802014-02-19 Tom Tromey <tromey@redhat.com>
9781
9782 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9783 argument.
9784 (target_insert_hw_breakpoint): Add argument.
9785 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9786 (update_current_target): Update.
9787 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9788 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9789 argument.
9790 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9791 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9792 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9793 argument.
9794 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9795 'self' argument.
9796
5461485a
TT
97972014-02-19 Tom Tromey <tromey@redhat.com>
9798
9799 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9800 argument.
9801 (target_can_use_hardware_watchpoint): Add argument.
9802 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9803 (update_current_target): Update.
9804 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9805 argument.
9806 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9807 argument.
9808 * remote.c (remote_check_watch_resources): Add 'self' argument.
9809 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9810 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9811 argument.
9812 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9813 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9814 argument.
9815 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9816 argument.
9817 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9818 argument.
9819 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9820 argument.
9821 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9822 argument.
9823 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9824 argument.
9825 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9826 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9827 argument.
9828 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9829 'self' argument.
9830
f045800c
TT
98312014-02-19 Tom Tromey <tromey@redhat.com>
9832
9833 * target.h (struct target_ops) <to_post_attach>: Add argument.
9834 (target_post_attach): Add argument.
9835 * target.c (debug_to_post_attach): Add argument.
9836 (update_current_target): Update.
9837 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9838 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9839 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9840 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9841 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9842
de90e03d
TT
98432014-02-19 Tom Tromey <tromey@redhat.com>
9844
9845 * windows-nat.c (windows_close): Add 'self' argument.
9846 * tracepoint.c (tfile_close): Add 'self' argument.
9847 * target.h (struct target_ops) <to_close>: Add argument.
9848 * target.c (target_close): Add argument.
9849 (update_current_target): Update.
9850 * remote.c (remote_close): Add 'self' argument.
9851 * remote-sim.c (gdbsim_close): Add 'self' argument.
9852 * remote-mips.c (mips_close): Add 'self' argument.
9853 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9854 * record-full.c (record_full_close): Add 'self' argument.
9855 * record-btrace.c (record_btrace_close): Add 'self' argument.
9856 * monitor.h (monitor_close): Add 'self' argument.
9857 * monitor.c (monitor_close): Add 'self' argument.
9858 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9859 * linux-nat.c (linux_nat_close): Add argument.
9860 * go32-nat.c (go32_close): Add 'self' argument.
9861 * exec.c (exec_close_1): Add 'self' argument.
9862 * ctf.c (ctf_close): Add 'self' argument.
9863 * corelow.c (core_close): Add 'self' argument.
9864 (core_close_cleanup): Update.
9865 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9866 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9867
9dd130a0
TT
98682014-02-19 Tom Tromey <tromey@redhat.com>
9869
9870 * remote.c (remote_load): New function.
9871 (init_remote_ops): Use it.
9872
46917d26
TT
98732014-02-19 Tom Tromey <tromey@redhat.com>
9874
9875 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9876 argument.
9877 * common/linux-btrace.h (linux_supports_btrace): Update.
9878 * remote.c (remote_supports_btrace): Add "self" argument.
9879 * target-delegates.c: Rebuild.
9880 * target.c (target_supports_btrace): Remove.
9881 * target.h (struct target_ops) <to_supports_btrace>: Add
9882 target_ops argument.
9883 (target_supports_btrace): New define.
9884
6b84065d
TT
98852014-02-19 Tom Tromey <tromey@redhat.com>
9886
9887 * record-full.c (record_full_beneath_to_resume_ops)
9888 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9889 (record_full_beneath_to_wait)
9890 (record_full_beneath_to_store_registers_ops)
9891 (record_full_beneath_to_store_registers)
9892 (record_full_beneath_to_xfer_partial_ops)
9893 (record_full_beneath_to_xfer_partial)
9894 (record_full_beneath_to_insert_breakpoint_ops)
9895 (record_full_beneath_to_insert_breakpoint)
9896 (record_full_beneath_to_remove_breakpoint_ops)
9897 (record_full_beneath_to_remove_breakpoint)
9898 (record_full_beneath_to_stopped_by_watchpoint)
9899 (record_full_beneath_to_stopped_data_address)
9900 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9901 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9902 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9903 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9904 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9905 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9906 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9907 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9908 (record_full_resume, record_full_wait_1)
9909 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9910 (record_full_store_registers, record_full_xfer_partial)
9911 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9912 (record_full_async, record_full_core_xfer_partial): Use target
9913 delegation.
9914 * target-delegates.c: Rebuild.
9915 * target.c (current_xfer_partial): Remove.
9916 (update_current_target): Do not INHERIT or de_fault
9917 to_insert_breakpoint, to_remove_breakpoint,
9918 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9919 to_is_async_p, to_async. Do not set to_xfer_partial field.
9920 (default_xfer_partial): Simplify.
9921 (current_xfer_partial): Remove.
9922 (target_wait, target_resume): Simplify.
9923 (find_default_can_async_p, find_default_is_async_p): Update.
9924 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9925 to_xfer_partial, to_stopped_by_watchpoint,
9926 to_stopped_data_address.
9927 (target_store_registers): Simplify.
9928 (forward_target_remove_breakpoint)
9929 (forward_target_insert_breakpoint): Remove.
9930 (target_remove_breakpoint, target_insert_breakpoint)
9931 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9932 * target.h (struct target_ops) <to_resume, to_wait,
9933 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9934 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9935 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9936 markup.
9937 (forward_target_remove_breakpoint)
9938 (forward_target_insert_breakpoint): Remove.
9939 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9940 directly.
9941 (record_btrace_insert_breakpoint): Delegate directly.
9942
1101cb7b
TT
99432014-02-19 Tom Tromey <tromey@redhat.com>
9944
9945 PR build/7701:
9946 * target-delegates.c: New file.
9947 * target.c: Include target-delegates.c.
9948 (init_dummy_target): Call install_dummy_methods.
9949 (complete_target_initialization): Call install_delegators.
9950 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9951 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9952 * make-target-delegates: New file.
9953
8b06beed
TT
99542014-02-19 Tom Tromey <tromey@redhat.com>
9955
9956 * record.c (find_record_target): Use find_target_at.
9957 * target.c (find_target_at): New function.
9958 * target.h (find_target_at): Declare.
9959
6a109b6b
TT
99602014-02-19 Tom Tromey <tromey@redhat.com>
9961
9962 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9963 Add 'ops' argument.
9964 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9965 'ops' argument.
9966 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9967 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9968 'ops' argument.
9969 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9970 argument.
9971 * linux-nat.c (save_sigtrap): Update.
9972 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9973 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9974 (linux_nat_close): Update.
9975 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9976 argument.
9977 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9978 argument.
9979 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9980 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9981 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9982 (tmp_to_async): Add 'ops' argument.
9983 (record_full_stopped_by_watchpoint, record_full_async)
9984 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9985 argument.
9986 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9987 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9988 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9989 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9990 (remote_is_async_p, remote_async): Add 'ops' argument.
9991 (remote_stopped_data_address): Update.
9992 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9993 * target.c (update_current_target)
9994 (find_default_can_async_p, find_default_is_async_p): Update.
9995 (init_dummy_target): Update.
9996 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9997 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9998 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9999 (target_can_async_p, target_is_async_p, target_async)
10000 (target_stopped_by_watchpoint): Update.
10001
e095146b
YQ
100022014-02-19 Yao Qi <yao@codesourcery.com>
10003
10004 PR gdb/16220
10005 * gdbarch.sh: Remove startup_gdbarch.
10006 * gdbarch.c: Regenerated.
10007 * gdbarch.h: Likewise.
10008
bc3c6b36
KB
100092014-02-17 Kevin Buettner <kevinb@redhat.com>
10010
10011 * rl78-tdep.c (rl78_g10_register_name): New function.
10012 (rl78_return_value): Add g10 support.
10013 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10014 g10.
10015
98dc0167 100162014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10017
10018 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10019 (SUBDIR_GUILE_SRCS): Ditto.
10020 (scm-gsmob.o): Ditto.
10021
842c05cd
YQ
100222014-02-17 Yao Qi <yao@codesourcery.com>
10023
10024 * gnu-nat.c (ILL_RPC): Declare defined function.
10025
25c0bd04
YQ
100262014-02-17 Yao Qi <yao@codesourcery.com>
10027
10028 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10029 mach_msg_type_number_t.
10030 (gnu_write_inferior): Likewise.
10031
a9a758e3
YQ
100322014-02-17 Yao Qi <yao@codesourcery.com>
10033
10034 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10035 in format string.
10036 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10037 (inf_validate_procs, inf_signal): Likewise.
10038 (S_exception_raise_request): Likewise.
10039 (do_mach_notify_dead_name): Likewise.
10040 (steal_exc_port): Likewise.
10041 (gnu_read_inferior): Change 'copy_count''s type to
10042 mach_msg_type_number_t.
10043 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10044 format string.
10045
bae8023e
TS
100462014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10047
c82f56d9
TS
10048 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10049 flag. Adjust all users; in particular...
10050 (gnu_wait): ..., don't decrement its value in here...
10051 (gnu_create_inferior): ..., and instead set the flag in here,
10052 around the startup_inferior call, and call that one with
10053 START_INFERIOR_TRAPS_EXPECTED.
10054
3398af6a
TS
10055 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10056 (ILL_RPC): ... new macro.
10057 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10058 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10059 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10060 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10061 functions with ILL_RPC macro.
10062 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10063 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10064 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10065 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10066 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10067 (S_proc_getlogin_reply, S_proc_getsid_reply)
10068 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10069 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10070 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10071 (S_proc_getnports_reply, S_proc_is_important_reply)
10072 (S_proc_get_code_reply): New stub functions, generated with
10073 ILL_RPC macro.
10074
d47642c9
TS
10075 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10076 collected the type check structures.
10077
bae8023e
TS
10078 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10079
8a55ffb0
DE
100802014-02-14 Doug Evans <dje@google.com>
10081
10082 * target.c (target_write_partial): Fix result type.
10083
c2853f3d
JM
100842014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10085
10086 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10087 the proper offsets to access fpregset_t.
10088
ac61d2db
SA
100892014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10090
10091 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10092 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10093 * h8300-tdep.c (setmachinelist): Remove global.
10094 * hppa-tdep.c (hppa_sigtramp): Remove global.
10095 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10096 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10097 * ravenscar-thread.c (update_target_observer): Remove global.
10098 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10099
9d2d0b8b
TT
101002014-02-12 Tom Tromey <tromey@redhat.com>
10101
10102 * common/rsp-low.c: Update comments.
10103 * common/rsp-low.h: Update comments.
10104
a7191e8b
TT
101052014-02-12 Tom Tromey <tromey@redhat.com>
10106
10107 * common/rsp-low.c (convert_ascii_to_int): Remove.
10108 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10109
ff0e980e
TT
101102014-02-12 Tom Tromey <tromey@redhat.com>
10111
10112 * common/rsp-low.h (unhexify): Don't declare.
10113 * common/rsp-low.c (unhexify): Remove.
10114
e9371aff
TT
101152014-02-12 Tom Tromey <tromey@redhat.com>
10116
10117 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10118 * common/rsp-low.c (convert_int_to_ascii): Remove.
10119
971dc0b8
TT
101202014-02-12 Tom Tromey <tromey@redhat.com>
10121
10122 * common/rsp-low.h (hexify): Don't declare.
10123 * common/rsp-low.c (hexify): Remove.
10124
0a822afb
TT
101252014-02-12 Tom Tromey <tromey@redhat.com>
10126
10127 * common/rsp-low.c (hexify): Never take strlen of argument.
10128
9f1b45b0
TT
101292014-02-12 Tom Tromey <tromey@redhat.com>
10130
10131 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10132 * remote.c (extended_remote_run, remote_rcmd)
10133 (remote_download_trace_state_variable, remote_save_trace_data)
10134 (remote_set_trace_notes): Update.
10135 * tracepoint.c (encode_source_string, tfile_write_status)
10136 (tfile_write_uploaded_tsv): Update.
10137
9c3d6531
TT
101382014-02-12 Tom Tromey <tromey@redhat.com>
10139
10140 * tracepoint.c: Include rsp-low.h.
10141 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10142 * remote.c: Include rsp-low.h.
10143 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10144 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10145 (remote_unescape_input): Move to common/rsp-low.c.
10146 * common/rsp-low.h: New file.
10147 * common/rsp-low.c: New file.
10148 * Makefile.in (SFILES): Add common/rsp-low.c.
10149 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10150 (COMMON_OBS): Add rsp-low.o.
10151 (rsp-low.o): New target.
10152
01fd3ea5
TT
101532014-02-12 Tom Tromey <tromey@redhat.com>
10154
10155 * utils.h: Include print-utils.h.
10156 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10157 (int_string, core_addr_to_string, core_addr_to_string_nz)
10158 (hex_string, hex_string_custom): Don't declare.
10159 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10160 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10161 (hex_string_custom, int_string, core_addr_to_string)
10162 (core_addr_to_string_nz, host_address_to_string): Move to
10163 common/print-utils.c.
10164 * common/print-utils.h: New file.
10165 * common/print-utils.c: New file
10166 * Makefile.in (SFILES): Add common/print-utils.c.
10167 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10168 (COMMON_OBS): Add print-utils.o.
10169 (print-utils.o): New target.
10170
9fb50108
TT
101712014-02-12 Tom Tromey <tromey@redhat.com>
10172
10173 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10174
0548b5db
MK
101752014-02-12 Mark Kettenis <kettenis@gnu.org>
10176
10177 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10178
493443a4
MK
101792014-02-12 Mark Kettenis <kettenis@gnu.org>
10180
10181 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10182 if a PT_IO ptrace request returns sucessfully but indicates that 0
10183 bytes were transferred.
10184
706d0883
PA
101852014-02-12 Pedro Alves <palves@redhat.com>
10186 Kevin Buettner <kevinb@redhat.com>
10187
10188 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10189 TYPE_INSTANCE_FLAG_CODE_SPACE.
10190
5caa2f0b
PA
101912014-02-12 Pedro Alves <palves@redhat.com>
10192
10193 * h8300-tdep.c (pseudo_from_raw_register)
10194 (raw_from_pseudo_register): New functions.
10195 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10196 them.
10197
76fd5f74
PA
101982014-02-12 Pedro Alves <palves@redhat.com>
10199
10200 * h8300-tdep.c (h8300_register_sim_regno): New function.
10201 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10202 gdbarch_register_sim_regno hook.
10203
8f008406
SA
102042014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10205
10206 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10207
195abc10
SA
102082014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10209
10210 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10211
93ffa5b9
MK
102122014-02-12 Mark Kettenis <kettenis@gnu.org>
10213
10214 * obsd-tdep.h (obsd_init_abi): New prototype.
10215 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10216 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10217 (obsd_init_abi): New functions.
10218 * i386obsd-tdep.c: Include "obsd-tdep.h".
10219 (i386obsd_init_abi): Call obsd_init_abi.
10220 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10221 (amd64obsd_init_abi): Call obsd_init_abi.
10222 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10223 obsd-tdep.c to gdb_target_obs.
10224
49caec94
JM
102252014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10226
10227 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10228 double float arguments to 16-byte in the argument slots.
10229
e1402065
DE
102302014-02-11 Doug Evans <xdje42@gmail.com>
10231
10232 * configure.ac: Don't crash if pkg-config is not found and guile
10233 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10234 in guile checks.
10235 * configure: Regenerate.
10236
edcc890f
YQ
102372014-02-11 Yao Qi <yao@codesourcery.com>
10238
10239 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10240 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10241 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10242 * gnu-nat.c (gnu_xfer_memory): Likewise.
10243 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10244 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10245 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10246 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10247
9b409511
YQ
102482014-02-11 Yao Qi <yao@codesourcery.com>
10249
10250 * target.h (enum target_xfer_error): Rename to ...
10251 (enum target_xfer_status): ... it. New. All users updated.
10252 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10253 New.
10254 (TARGET_XFER_STATUS_ERROR_P): New macro.
10255 (target_xfer_error_to_string): Remove declaration.
10256 (target_xfer_status_to_string): Declare.
10257 (target_xfer_partial_ftype): Adjust it.
10258 (struct target_ops) <to_xfer_partial>: Return
10259 target_xfer_status. Add argument xfered_len. Update
10260 comments.
10261 * target.c (target_xfer_error_to_string): Rename to ...
10262 (target_xfer_status_to_string): ... it. New. All callers
10263 updated.
10264 (target_read_live_memory): Likewise. Call target_xfer_partial
10265 instead of target_read.
10266 (memory_xfer_live_readonly_partial): Return
10267 target_xfer_status. Add argument xfered_len.
10268 (raw_memory_xfer_partial): Likewise.
10269 (memory_xfer_partial_1): Likewise.
10270 (memory_xfer_partial): Likewise.
10271 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10272 properly. Update debug message.
10273 (default_xfer_partial, current_xfer_partial): Likewise.
10274 (target_write_partial): Likewise.
10275 (target_read_partial): Likewise. All callers updated.
10276 (read_whatever_is_readable): Likewise.
10277 (target_write_with_progress): Likewise.
10278 (target_read_alloc_1): Likewise.
10279
10280 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10281 * auxv.c (procfs_xfer_auxv): Likewise.
10282 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10283 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10284 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10285 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10286 * corefile.c (read_memory): Adjust.
10287 * corelow.c (core_xfer_partial): Likewise.
10288 * ctf.c (ctf_xfer_partial): Likewise.
10289 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10290 updated.
10291 (darwin_xfer_partial): Likewise.
10292 * exec.c (section_table_xfer_memory_partial): Likewise. All
10293 callers updated.
10294 (exec_xfer_partial): Likewise.
10295 * exec.h (section_table_xfer_memory_partial): Update
10296 declaration.
10297 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10298 negative.
10299 (gnu_xfer_partial): Likewise.
10300 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10301 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10302 (ia64_hpux_xfer_solib_got): Likewise.
10303 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10304 type of 'partial_len' to ULONGEST.
10305 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10306 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10307 (linux_nat_xfer_partial): Likewise.
10308 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10309 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10310 * monitor.c (monitor_xfer_memory): Likewise.
10311 (monitor_xfer_partial): Likewise.
10312 * procfs.c (procfs_xfer_partial): Likewise.
10313 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10314 * record-full.c (record_full_xfer_partial): Likewise.
10315 (record_full_core_xfer_partial): Likewise.
10316 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10317 (gdbsim_xfer_partial): Likewise.
10318 * remote.c (remote_write_bytes_aux): Likewise. All callers
10319 updated.
10320 (remote_write_bytes, remote_read_bytes): Likewise. All
10321 callers updated.
10322 (remote_flash_erase): Likewise. All callers updated.
10323 (remote_write_qxfer): Likewise. All callers updated.
10324 (remote_read_qxfer): Likewise. All callers updated.
10325 (remote_xfer_partial): Likewise.
10326 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10327 (rs6000_xfer_shared_libraries): Likewise.
10328 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10329 (sol_thread_xfer_partial): Likewise.
10330 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10331 (sparc_xfer_partial): Likewise.
10332 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10333 updated.
10334 (spu_xfer_partial): Likewise.
10335 * spu-multiarch.c (spu_xfer_partial): Likewise.
10336 * tracepoint.c (tfile_xfer_partial): Likewise.
10337 * windows-nat.c (windows_xfer_memory): Likewise.
10338 (windows_xfer_shared_libraries): Likewise.
10339 (windows_xfer_partial): Likewise.
10340 * valprint.c: Replace 'target_xfer_error' with
10341 'target_xfer_status' in comments.
10342
a8e63083
JB
103432014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10344
10345 Checked in by Joel Brobecker <brobecker@adacore.com>.
10346 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10347
e86b67d3
JB
103482014-02-11 Joel Brobecker <brobecker@adacore.com>
10349
10350 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10351 function parameters.
10352
4b7d1f7f
WN
103532014-02-10 Will Newton <will.newton@linaro.org>
10354
10355 * elfread.c (elf_rel_plt_read): Look for a .got section if
10356 looking up .got.plt fails.
10357 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10358 on address passed to elf_gnu_ifunc_record_cache.
10359 (elf_gnu_ifunc_resolve_addr): Likewise.
10360 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10361
961842b2
JM
103622014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10363
10364 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10365 (X_RETTURN): New macro.
10366 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10367
10368 * sparc64-tdep.c (sparc64_init_abi): Hook
10369 sparc_in_function_epilogue_p.
10370
3f03e7b1
GB
103712014-02-10 Gary Benson <gbenson@redhat.com>
10372
10373 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10374 Rename name_matcher to symbol_matcher.
10375
96f861ef
GB
103762014-02-10 Gary Benson <gbenson@redhat.com>
10377
10378 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10379 Use expand_symtabs_file_matcher_ftype and
10380 expand_symtabs_symbol_matcher_ftype.
10381
ee01b665
JB
103822014-02-10 Joel Brobecker <brobecker@adacore.com>
10383
10384 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10385 (struct ada_symbol_cache): New.
10386 (ada_free_symbol_cache): Forward declare.
10387 (struct ada_pspace_data): New.
10388 (ada_pspace_data_handle): New static global.
10389 (get_ada_pspace_data, ada_pspace_data_cleanup)
10390 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10391 (cache_space, cache): Delete, now folded inside struct
10392 ada_pspace_data.
10393 (ada_get_symbol_cache): New function.
10394 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10395 implementation.
10396 (_initialize_ada_language): Remove initialization of cache_space.
10397 Move call to observer_attach_inferior_exit up, grouping it
10398 with the other observer registrations inside this function.
10399 Rename command to be more general. Add call to
10400 register_program_space_data_with_cleanup.
10401
143adbbf
JB
104022014-02-10 Joel Brobecker <brobecker@adacore.com>
10403
10404 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10405 ada_new_objfile_observer.
10406 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10407 (_initialize_tasks): Update uses of ada_new_objfile_observer
10408 and ada_tasks_normal_stop_observer.
10409
aa4fb036
JB
104102014-02-10 Joel Brobecker <brobecker@adacore.com>
10411
10412 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10413 returned by the 'Length attribute to integer.
10414
9dee8cc6
JB
104152014-02-10 Joel Brobecker <brobecker@adacore.com>
10416
10417 * ada-lang.c (_initialize_ada_language): Initialize
10418 cache_space obstack.
10419
3d9434b5
JB
104202014-02-10 Joel Brobecker <brobecker@adacore.com>
10421
10422 * ada-lang.c (HASH_SIZE): New macro.
10423 (struct cache_entry): New type.
10424 (cache_space, cache): New static globals.
10425 (ada_clear_symbol_cache, find_entry): New functions.
10426 (lookup_cached_symbol, cache_symbol): Implement.
10427 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10428 (_initialize_ada_language): Attach ada_new_objfile_observer
10429 and ada_free_objfile_observer.
10430
f0c5f9b2
JB
104312014-02-10 Joel Brobecker <brobecker@adacore.com>
10432
10433 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10434 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10435 struct block * parameter.
10436 (ada_lookup_symbol_list_worker): Constify local variable "block".
10437 Remove cast which is no longer necessary.
10438
ed3ef339
DE
104392014-02-10 Doug Evans <xdje42@gmail.com>
10440
10441 Add Guile as an extension language.
10442 * NEWS: Mention Guile scripting.
10443 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10444 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10445 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10446 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10447 (CLIBS): Add GUILE_LIBS.
10448 (install-guile): New rule.
10449 (guile.o): New rule.
10450 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10451 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10452 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10453 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10454 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10455 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10456 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10457 * configure.ac: New option --with-guile.
10458 * configure: Regenerate.
10459 * config.in: Regenerate.
10460 * auto-load.c: Remove #include "python/python.h". Add #include
10461 "gdb/section-scripts.h".
10462 (source_section_scripts): Handle Guile scripts.
10463 (_initialize_auto_load): Add name of Guile objfile script to
10464 scripts-directory help text.
10465 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10466 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10467 (struct breakpoint): New member scm_bp_object.
10468 * defs.h (enum command_control_type): New value guile_control.
10469 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10470 "extension.h".
10471 (show_user): Update comment.
10472 (_initialize_cli_cmds): Update help text for "show user". Update help
10473 text for max-user-call-depth.
10474 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10475 "extension.h".
10476 (multi_line_command_p): Add guile_control.
10477 (print_command_lines): Handle guile_control.
10478 (execute_control_command, recurse_read_control_structure): Ditto.
10479 (process_next_line): Recognize "guile" commands.
10480 * disasm.c (gdb_disassemble_info): Make non-static.
10481 * disasm.h: #include "dis-asm.h".
10482 (struct gdbarch): Add forward decl.
10483 (gdb_disassemble_info): Declare.
10484 * extension.c: #include "guile/guile.h".
10485 (extension_languages): Add guile.
10486 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10487 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10488 * gdbtypes.c (get_unsigned_type_max): New function.
10489 (get_signed_type_minmax): New function.
10490 * gdbtypes.h (get_unsigned_type_max): Declare.
10491 (get_signed_type_minmax): Declare.
10492 * guile/README: New file.
10493 * guile/guile-internal.h: New file.
10494 * guile/guile.c: New file.
10495 * guile/guile.h: New file.
10496 * guile/scm-arch.c: New file.
10497 * guile/scm-auto-load.c: New file.
10498 * guile/scm-block.c: New file.
10499 * guile/scm-breakpoint.c: New file.
10500 * guile/scm-disasm.c: New file.
10501 * guile/scm-exception.c: New file.
10502 * guile/scm-frame.c: New file.
10503 * guile/scm-gsmob.c: New file.
10504 * guile/scm-iterator.c: New file.
10505 * guile/scm-lazy-string.c: New file.
10506 * guile/scm-math.c: New file.
10507 * guile/scm-objfile.c: New file.
10508 * guile/scm-ports.c: New file.
10509 * guile/scm-pretty-print.c: New file.
10510 * guile/scm-safe-call.c: New file.
10511 * guile/scm-string.c: New file.
10512 * guile/scm-symbol.c: New file.
10513 * guile/scm-symtab.c: New file.
10514 * guile/scm-type.c: New file.
10515 * guile/scm-utils.c: New file.
10516 * guile/scm-value.c: New file.
10517 * guile/lib/gdb.scm: New file.
10518 * guile/lib/gdb/boot.scm: New file.
10519 * guile/lib/gdb/experimental.scm: New file.
10520 * guile/lib/gdb/init.scm: New file.
10521 * guile/lib/gdb/iterator.scm: New file.
10522 * guile/lib/gdb/printing.scm: New file.
10523 * guile/lib/gdb/types.scm: New file.
10524 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10525 (VPATH): Add $(GUILE_SRCDIR).
10526 (GUILE_DIR): New variable.
10527 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10528 (all): Add stamp-guile dependency.
10529 (stamp-guile): New rule.
10530 (clean-guile, install-guile, uninstall-guile): New rules.
10531 (install-only): Add install-guile dependency.
10532 (uninstall): Add uninstall-guile dependency.
10533 (clean): Add clean-guile dependency.
10534
ac020ec5
DE
105352014-02-09 Doug Evans <xdje42@gmail.com>
10536
10537 Revert this patch (which I approved, mea culpa).
10538
10539 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10540
10541 * Makefile.in (all-lib): Remove.
10542 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10543
2a081c59
JK
105442014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10545
10546 Fix Python stack corruption.
10547 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10548 gdb_py_longest.
10549
0a6bd22d
MK
105502014-02-08 Mark Kettenis <kettenis@gnu.org>
10551
10552 * Makefile.in (all-lib): Remove.
10553 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10554
1a860409
DE
105552014-02-07 Doug Evans <dje@google.com>
10556
10557 * extension-priv.h (extension_language_script_ops): Add comment.
10558 (extension_language_ops): Add comment.
caf5a491 10559 (active_ext_lang_state): Fix typo in comment.
1a860409 10560
d137e6dc
PA
105612014-02-07 Pedro Alves <palves@redhat.com>
10562
0dcb32c3 10563 PR breakpoints/16292
d137e6dc
PA
10564 * infrun.c (handle_signal_stop) <signal arrives while stepping
10565 over a breakpoint>: Switch back to the stepping thread.
10566
ce6d0892
YQ
105672014-02-07 Yao Qi <yao@codesourcery.com>
10568
10569 * target.c (target_xfer_partial): Return zero if LEN is zero.
10570
2ed4b548
YQ
105712014-02-07 Yao Qi <yao@codesourcery.com>
10572
10573 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10574 (ld_so_xfer_auxv): Likewise.
10575 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10576 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10577 * corelow.c (core_xfer_partial): Likewise.
10578 * ctf.c (ctf_xfer_partial): Likewise.
10579 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10580 (darwin_xfer_partial): Likewise.
10581 * exec.c (exec_xfer_partial): Likewise.
10582 * gnu-nat.c (gnu_xfer_partial): Likewise.
10583 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10584 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10585 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10586 * linux-nat.c (linux_xfer_siginfo): Likewise.
10587 (linux_proc_xfer_spu): Likewise.
10588 * procfs.c (procfs_xfer_partial): Likewise.
10589 * record-full.c (record_full_xfer_partial): Likewise.
10590 (record_full_core_xfer_partial): Likewise.
10591 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10592 * remote.c (remote_write_qxfer): Likewise.
10593 (remote_write_qxfer, remote_read_qxfer): Likewise.
10594 (remote_xfer_partial): Likewise.
10595 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10596 (rs6000_xfer_shared_libraries): Likewise.
10597 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10598 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10599 (spu_xfer_partial): Likewise.
10600 * target.c (memory_xfer_partial_1): Likewise.
10601 * tracepoint.c (tfile_xfer_partial): Likewise.
10602 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10603 (windows_xfer_partial): Likewise.
10604
c09f20e4
YQ
106052014-02-07 Yao Qi <yao@codesourcery.com>
10606
10607 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10608 comments.
10609 (core_xfer_shared_libraries_aix): Likewise.
10610 * gdbarch.c, gdbarch.h: Regenerated.
10611 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10612 ULONGEST. Change 'len_avail' type to ULONGEST.
10613 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10614 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10615 declaration.
10616 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10617
8635b3bf
YQ
106182014-02-07 Yao Qi <yao@codesourcery.com>
10619
10620 * corefile.c (memory_error): Get 'exception' from ERR and pass
10621 'exception' to throw_error.
10622
6dddc817
DE
106232014-02-06 Doug Evans <xdje42@gmail.com>
10624
10625 * configure.ac (libpython checking): Remove all but python.o from
10626 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10627 * configure: Regenerate.
10628
10629 * Makefile.in (SFILES): Add extension.c.
10630 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10631 (COMMON_OBS): Add extension.o.
10632 * extension.h: New file.
10633 * extension-priv.h: New file.
10634 * extension.c: New file.
10635
10636 * python/python-internal.h: #include "extension.h".
10637 (gdbpy_auto_load_enabled): Declare.
10638 (gdbpy_apply_val_pretty_printer): Declare.
10639 (gdbpy_apply_frame_filter): Declare.
10640 (gdbpy_preserve_values): Declare.
10641 (gdbpy_breakpoint_cond_says_stop): Declare.
10642 (gdbpy_breakpoint_has_cond): Declare.
10643 (void source_python_script_for_objfile): Delete.
10644 * python/python.c: #include "extension-priv.h".
10645 Delete inclusion of "observer.h".
10646 (extension_language_python): Moved here and renamed from
10647 script_language_python in py-auto-load.c.
10648 Redefined to be of type extension_language_defn.
10649 (python_extension_script_ops): New global.
10650 (python_extension_ops): New global.
10651 (struct python_env): New member previous_active.
10652 (restore_python_env): Call restore_active_ext_lang.
10653 (ensure_python_env): Call set_active_ext_lang.
10654 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10655 New arg extlang.
10656 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10657 New arg extlang.
10658 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10659 New arg extlang.
10660 (gdbpy_eval_from_control_command): Renamed from
10661 eval_python_from_control_command, made static. New arg extlang.
10662 (gdbpy_source_script) Renamed from source_python_script, made static.
10663 New arg extlang.
10664 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10665 result to int. New arg extlang.
10666 (gdbpy_source_objfile_script): Renamed from
10667 source_python_script_for_objfile, made static. New arg extlang.
10668 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10669 static. New args extlang, extlang_printers. Change result type to
10670 "void".
10671 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10672 static. New arg extlang. Rename arg printers to extlang_printers
10673 and change type to ext_lang_type_printers *.
10674 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10675 static. Replace argument arg with extlang, extlang_printers.
10676 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10677 (!HAVE_PYTHON, source_python_script): Delete.
10678 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10679 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10680 (!HAVE_PYTHON, start_type_printers): Delete.
10681 (!HAVE_PYTHON, apply_type_printers): Delete.
10682 (!HAVE_PYTHON, free_type_printers): Delete.
10683 (_initialize_python): Delete call to observer_attach_before_prompt.
10684 (finalize_python): Set/restore active extension language.
10685 (gdbpy_finish_initialization) Renamed from
10686 finish_python_initialization, made static. New arg extlang.
10687 (gdbpy_initialized): New function.
10688 * python/python.h: #include "extension.h". Delete #include
10689 "value.h", "mi/mi-cmds.h".
10690 (extension_language_python): Declare.
10691 (GDBPY_AUTO_FILE_NAME): Delete.
10692 (enum py_bt_status): Moved to extension.h and renamed to
10693 ext_lang_bt_status.
10694 (enum frame_filter_flags): Moved to extension.h.
10695 (enum py_frame_args): Moved to extension.h and renamed to
10696 ext_lang_frame_args.
10697 (finish_python_initialization): Delete.
10698 (eval_python_from_control_command): Delete.
10699 (source_python_script): Delete.
10700 (apply_val_pretty_printer): Delete.
10701 (apply_frame_filter): Delete.
10702 (preserve_python_values): Delete.
10703 (gdbpy_script_language_defn): Delete.
10704 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10705 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10706
10707 * auto-load.c: #include "extension.h".
10708 (GDB_AUTO_FILE_NAME): Delete.
10709 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10710 (script_language_gdb): Delete, moved to extension.c and renamed to
10711 extension_language_gdb.
10712 (source_gdb_script_for_objfile): Delete.
10713 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10714 (loaded_script): Change type of language member to
10715 struct extension_language_defn *.
10716 (init_loaded_scripts_info): Initialize
10717 unsupported_script_warning_printed.
10718 (maybe_add_script): Make static. Change type of language arg to
10719 struct extension_language_defn *.
10720 (clear_section_scripts): Reset unsupported_script_warning_printed.
10721 (auto_load_objfile_script_1): Rewrite to use extension language API.
10722 (auto_load_objfile_script): Make public. Remove support-compiled-in
10723 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10724 (source_section_scripts): Rewrite to use extension language API.
10725 (load_auto_scripts_for_objfile): Rewrite to use
10726 auto_load_scripts_for_objfile.
10727 (collect_matching_scripts_data): Change type of language member to
10728 struct extension_language_defn *.
10729 (auto_load_info_scripts): Change type of language arg to
10730 struct extension_language_defn *.
10731 (unsupported_script_warning_print): New function.
10732 (script_not_found_warning_print): Make static.
10733 (_initialize_auto_load): Rewrite construction of scripts-directory
10734 help.
10735 * auto-load.h (struct objfile): Add forward decl.
10736 (struct script_language): Delete.
10737 (struct auto_load_pspace_info): Add forward decl.
10738 (struct extension_language_defn): Add forward decl.
10739 (maybe_add_script): Delete.
10740 (auto_load_objfile_script): Declare.
10741 (script_not_found_warning_print): Delete.
10742 (auto_load_info_scripts): Update prototype.
10743 (auto_load_gdb_scripts_enabled): Declare.
10744 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10745 auto_load_python_scripts_enabled and made public.
10746 (script_language_python): Delete, moved to python.c.
10747 (gdbpy_script_language_defn): Delete.
10748 (info_auto_load_python_scripts): Update to use
10749 extension_language_python.
10750
10751 * breakpoint.c (condition_command): Replace call to
10752 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10753 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10754 with call to breakpoint_ext_lang_cond_says_stop.
10755 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10756 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10757 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10758 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10759 New arg slang.
10760 (local_setattro): Print name of extension language with existing
10761 stop condition.
10762
10763 * valprint.c (val_print, value_print): Update to call
10764 apply_ext_lang_val_pretty_printer.
10765 * cp-valprint.c (cp_print_value): Update call to
10766 apply_ext_lang_val_pretty_printer.
10767 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10768 (gdbpy_apply_val_pretty_printer): Renamed from
10769 apply_val_pretty_printer. New arg extlang.
10770 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10771
10772 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10773 extension language API.
10774 * cli/cli-script.c (execute_control_command): Update to call
10775 eval_ext_lang_from_control_command.
10776
10777 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10778 enum ext_lang_bt_status values. Update call to
10779 apply_ext_lang_frame_filter.
10780 (mi_cmd_stack_list_locals): Ditto.
10781 (mi_cmd_stack_list_args): Ditto.
10782 (mi_cmd_stack_list_variables): Ditto.
10783 * mi/mi-main.c: Delete #include "python/python-internal.h".
10784 Add #include "extension.h".
10785 (mi_cmd_list_features): Replace reference to python internal variable
10786 gdb_python_initialized with call to ext_lang_initialized_p.
10787
10788 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10789 Update to use enum ext_lang_frame_args. Update to call
10790 apply_ext_lang_frame_filter.
10791 * python/py-framefilter.c (extract_sym): Update to use enum
10792 ext_lang_bt_status.
10793 (extract_value, py_print_type, py_print_value): Ditto.
10794 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10795 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10796 (py_print_frame): Ditto.
10797 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10798 New arg extlang. Update to use enum ext_lang_bt_status.
10799
10800 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10801 finish_python_initialization. Replace with call to
10802 finish_ext_lang_initialization.
10803
10804 * typeprint.c (do_free_global_table): Update to call
10805 free_ext_lang_type_printers.
10806 (create_global_typedef_table): Update to call
10807 start_ext_lang_type_printers.
10808 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10809 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10810 (type_print_options): Change type of global_printers from "void *"
10811 to "struct ext_lang_type_printers *".
10812
10813 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10814 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10815 (gdbpy_preserve_values): Renamed from preserve_python_values.
10816 New arg extlang.
10817 (!HAVE_PYTHON, preserve_python_values): Delete.
10818
10819 * utils.c (quit_flag): Delete, moved to extension.c.
10820 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10821 extension.c.
10822
10823 * eval.c: Delete #include "python/python.h".
10824 * main.c: Delete #include "python/python.h".
10825
10826 * defs.h: Update comment.
10827
6af79985
JB
108282014-02-06 Joel Brobecker <brobecker@adacore.com>
10829
10830 GDB 7.7 released.
10831
12c5175d
MK
108322014-02-05 Mark Kettenis <kettenis@gnu.org>
10833
10834 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10835 defined.
10836
8dc5b319
YQ
108372014-02-05 Yao Qi <yao@codesourcery.com>
10838
10839 * remote.c (remote_pass_signals): Remove local 'buf' and use
10840 rs->buf.
10841 (remote_program_signals): Likewise.
10842
de7b2893
YQ
108432014-02-05 Yao Qi <yao@codesourcery.com>
10844
10845 * ctf.c: Include "inferior.h" and "gdbthread.h".
10846 (CTF_PID): A new macro.
10847 (ctf_open): Call inferior_appeared and add_thread_silent.
10848 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10849 (ctf_thread_alive): New function.
10850 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10851
66d032ac
YQ
108522014-02-05 Yao Qi <yao@codesourcery.com>
10853
10854 Revert this patch:
10855
10856 2013-05-24 Yao Qi <yao@codesourcery.com>
10857
10858 * tracepoint.c (TFILE_PID): Remove.
10859 (tfile_open): Don't add thread and inferior.
10860 (tfile_close): Don't set 'inferior_ptid'. Don't call
10861 exit_inferior_silent.
10862 (tfile_thread_alive): Remove.
10863 (init_tfile_ops): Don't set field 'to_thread_alive' of
10864 tfile_ops.
10865
f4ccffad
CE
108662014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10867
10868 * remote.c (remote_start_remote): Call remote_check_symbols even
10869 if only symbol-file (not file) has been given.
10870
591a12a1
UW
108712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10872
10873 * gdbarch.sh (skip_entrypoint): New callback.
10874 * gdbarch.c, gdbarch.h: Regenerate.
10875 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10876 * infrun.c (fill_in_stop_func): Likewise.
10877 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10878 (ppc_elfv2_elf_make_msymbol_special): New function.
10879 (ppc_elfv2_skip_entrypoint): Likewise.
10880 (ppc_linux_init_abi): Install them for ELFv2.
10881
cc0e89c5
UW
108822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10883
10884 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10885 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10886 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10887 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10888 structures returned in GPRs.
10889
52f548e4
UW
108902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10891
10892 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10893 offset to the stack parameter list for the ELFv2 ABI.
10894
d4094b6a
UW
108952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10896
10897 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10898 set_gdbarch_convert_from_func_ptr_addr and
10899 set_gdbarch_elf_make_msymbol_special for ELFv1.
10900 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10901 function descriptors on ELFv1.
10902 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10903 set up r12 at function entry.
10904
cd453cd0
UW
109052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10906
10907 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10908 (struct gdbarch_tdep): New member elf_abi.
10909
10910 * rs6000-tdep.c: Include "elf/ppc64.h".
10911 (rs6000_gdbarch_init): Detect ELF ABI version.
10912
0ff3e01f
UW
109132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10914
10915 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10916 within a register pair holding a DFP 128-bit value on little-endian.
10917 (ppc64_sysv_abi_return_value_base): Likewise.
10918 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10919 (dfp_pseudo_register_write): Likewise.
10920
5b757e5d
UW
109212014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10922
10923 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10924 offset on little-endian when passing _Decimal32.
10925 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10926
084ee545
UW
109272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10928
10929 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10930 of the overlapped FP register within the VSX register on little-
10931 endian platforms.
10932 (efpr_pseudo_register_write): Likewise.
10933
d63167af
UW
109342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10935
10936 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10937 offset on little-endian when passing small structures.
10938
e765b44c
UW
109392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10940
10941 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10942 (struct ppc64_sysv_argpos): New data structure.
10943 (ppc64_sysv_abi_push_float): Remove.
10944 (ppc64_sysv_abi_push_val): New function.
10945 (ppc64_sysv_abi_push_integer): Likewise.
10946 (ppc64_sysv_abi_push_freg): Likewise.
10947 (ppc64_sysv_abi_push_vreg): Likewise.
10948 (ppc64_sysv_abi_push_param): Likewise.
10949 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10950 (ppc64_sysv_abi_return_value_base): New function.
10951 (ppc64_sysv_abi_return_value): Refactor to use it.
10952
36c24d95
UW
109532014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10954
10955 * NEWS: Document new target powerpc64le-*-linux*.
10956
26fd9228
MK
109572014-02-04 Mark Kettenis <kettenis@gnu.org>
10958
10959 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10960 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10961 core dumps.
10962 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10963 register set used in ELF core dumps. Add floating-point register set.
10964
c5bb7362
KB
109652014-02-03 Kevin Buettner <kevinb@redhat.com>
10966
74228e77 10967 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10968 dwarf2_to_gdb[] table using symbolic constants. Adjust
10969 penultimate entry from number representing the PC register
10970 to symbolic constant representing the MDR register. Add
10971 constant for the PC register to the end of the table.
10972
af09351e
MK
109732014-02-03 Mark Kettenis <kettenis@gnu.org>
10974
10975 * bsd-kvm.c: Include <sys/param.h>
10976
8507e05d
MK
109772014-02-03 Mark Kettenis <kettenis@gnu.org>
10978
10979 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10980
ae56bfb8
JB
109812014-01-31 Joel Brobecker <brobecker@adacore.com>
10982
10983 * ada-lang.h (clear_ada_sym_cache): Delete.
10984
718ee4dc
UW
109852014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10986
10987 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10988
401e27fd
JM
109892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10990
10991 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10992 the sigreturn register save area only if the syscall is
10993 sigreturn.
10994
a7c88acd
JB
109952014-01-29 Joel Brobecker <brobecker@adacore.com>
10996
10997 * valops.c (value_slice): Minor reformatting.
10998
fa0079ea
UW
109992014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11000
11001 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11002
c6044dd1
JB
110032014-01-28 Joel Brobecker <brobecker@adacore.com>
11004
11005 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11006 New static globals.
11007 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11008 (ada_ignore_descriptive_types_p): New static global.
11009 (find_parallel_type_by_descriptive_type): Return immediately
11010 if ada_ignore_descriptive_types_p is set.
11011 (_initialize_ada_language): Register new commands "maintenance
11012 set ada", "maintenance show ada", "maintenance set ada
11013 ignore-descriptive-types" and "maintenance show ada
11014 ignore-descriptive-types".
11015 * NEWS: Add entry for new "maint ada set/show
11016 ignore-descriptive-types" commands.
11017
568e808b
MM
110182014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11019
11020 * record-btrace.c (record_btrace_close): Call btrace_teardown
11021 for all threads.
11022
467d141b
JB
110232014-01-27 Joel Brobecker <brobecker@adacore.com>
11024
11025 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11026 "ui-out.h".
11027
fb151210
JB
110282014-01-27 Joel Brobecker <brobecker@adacore.com>
11029
11030 * ada-typeprint (type_is_full_subrange_of_target_type):
11031 New function.
11032 (print_range): Add parameter bounds_prefered_p. If not set,
11033 try printing range types using the name of their base type.
11034 (print_range_type): Add parameter bounds_prefered_p.
11035 Use it in call to print_range.
11036 (print_array_type, ada_print_type): Update calls to print_range
11037 and print_range_type.
11038
aba02109
JB
110392014-01-27 Joel Brobecker <brobecker@adacore.com>
11040
11041 * ada-typeprint.c (print_array_type, print_choices, print_range)
11042 (print_range_bound, print_dynamic_range_bound, print_range_type):
11043 Remove declaration.
11044
e62e21fd
JB
110452014-01-27 Joel Brobecker <brobecker@adacore.com>
11046
11047 * ada-typeprint.c (print_range): Add missing empty line
11048 after local declaration.
11049
859cf5d1
JB
110502014-01-27 Joel Brobecker <brobecker@adacore.com>
11051
11052 * ada-valprint.c (print_optional_low_bound): Get index_type's
11053 target type for as long as it is a TYPE_CODE_RANGE.
11054
25790f6f
JB
110552014-01-27 Joel Brobecker <brobecker@adacore.com>
11056
11057 * procfs.c (procfs_make_note_section): Remove assertion and
11058 associated comment.
11059
6b6aa828
YQ
110602014-01-24 Yao Qi <yao@codesourcery.com>
11061
11062 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11063 * corelow.c (get_core_siginfo): Likewise.
11064
5d6df423
YQ
110652014-01-24 Yao Qi <yao@codesourcery.com>
11066
11067 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11068 ULONGEST. Don't check 'len' is negative.
11069 (remote_write_bytes): Change type of 'len' to ULONGEST.
11070
83b645b8
TT
110712014-01-23 Tom Tromey <tromey@redhat.com>
11072
11073 PR python/16485:
11074 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11075 Handle exception from frame.block.
11076 (FrameVars.fetch_frame_locals): Likewise.
11077
0740f8d8
TT
110782014-01-23 Tom Tromey <tromey@redhat.com>
11079
11080 PR python/16487:
11081 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11082 on a NULL pointer. Move "goto error" to correct place.
11083
21909fa1
TT
110842014-01-23 Tom Tromey <tromey@redhat.com>
11085
11086 PR python/16491:
11087 * python/py-framefilter.c (apply_frame_filter): Call
11088 ensure_python_env after computing gdbarch.
11089
17fde6d0
YQ
110902014-01-23 Yao Qi <yao@codesourcery.com>
11091
11092 * target.c (raw_memory_xfer_partial): Change argument type
11093 from void * to gdb_byte *.
11094 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11095
87ce2a04
DE
110962014-01-22 Doug Evans <dje@google.com>
11097
11098 New gdbserver option --debug-format=timestamp.
11099 * NEWS: Mention it.
11100
237b092b
AA
111012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11102
11103 * syscalls/s390x-linux.xml: New file.
11104 * syscalls/s390-linux.xml: New file.
11105 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11106 (XML_SYSCALL_FILENAME_S390X): Likewise.
11107 (op_svc): New enum value for SVC opcode.
11108 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11109 (s390_linux_get_syscall_number): New function.
11110 (s390_gdbarch_init): Register '*get_syscall_number' and the
11111 syscall xml file name.
11112 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11113 "s390-linux.xml" and "s390x-linux.xml".
11114 * NEWS: Announce new feature.
11115
54bff650
BS
111162014-01-22 Baruch Siach <baruch@tkos.co.il>
11117
11118 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11119
14e361d7
PA
111202014-01-22 Pedro Alves <palves@redhat.com>
11121
11122 * xtensa-config.c: Include defs.h.
11123
46bbb3ed
JB
111242014-01-22 Joel Brobecker <brobecker@adacore.com>
11125
11126 * common/common-utils.h: Add "ARI:" comment beside __func__
11127 reference.
11128
3a80edfc
JB
111292014-01-22 Joel Brobecker <brobecker@adacore.com>
11130
11131 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11132 documentation a bit.
11133
4869db5e
RM
111342014-01-21 Roland McGrath <mcgrathr@google.com>
11135
11136 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11137 * configure: Regenerate.
11138 * aclocal.m4: Regenerate.
11139 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11140 New substituted variables.
11141 (install-strip): New target.
11142 (INSTALL_SCRIPT): New substituted variable.
11143 (FLAGS_TO_PASS): Add it.
11144 (install-only): Use $(INSTALL_SCRIPT) rather than
11145 $(INSTALL_PROGRAM) for gcore.
11146
9ea4267d
TT
111472014-01-20 Tom Tromey <tromey@redhat.com>
11148
11149 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11150 together.
11151
1f2bdf09
TT
111522014-01-20 Tom Tromey <tromey@redhat.com>
11153
11154 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11155 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11156 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11157 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11158 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11159 (struct cmd_list_element) <flags>: Remove.
11160 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11161 doc_allocated>: New fields.
11162 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11163 bitfields.
11164 * maint.c (maintenance_do_deprecate): Update.
11165 * top.c (execute_command): Update.
11166
e671835b
BS
111672014-01-20 Baruch Siach <baruch@tkos.co.il>
11168
11169 * xtensa-linux-nat.c: Include asm/ptrace.h.
11170
50367cd2
IB
111712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11172
11173 * Makefile.in (SFILES): Add d-support.c.
11174 (COMMON_OBS): Add d-support.o.
11175 * d-lang.h (d_parse_symbol): Add comment, now defined in
11176 d-support.c.
11177 * d-lang.c (parse_call_convention)
11178 (parse_attributes, parse_function_types)
11179 (parse_function_args, parse_type, parse_identifier)
11180 (call_convention_p, d_parse_symbol): Move functions to ...
11181 * d-support.c: ... New file.
11182
ec9f644a
IB
111832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11184
11185 * d-lang.h (d_parse_symbol): Add declaration.
11186 * d-lang.c (extract_identifiers)
11187 (extract_type_info): Remove functions.
11188 (parse_call_convention, parse_attributes)
11189 (parse_function_types, parse_function_args)
11190 (parse_type, parse_identifier, call_convention_p)
11191 (d_parse_symbol): New functions.
11192 (d_demangle): Use d_parse_symbol to demangle D symbols.
11193
94b1b47e
IB
111942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11195
11196 * d-lang.h (struct builtin_d_type): New data type.
11197 (builtin_d_type): Add declaration.
11198 * d-lang.c (d_language_arch_info, build_d_types)
11199 (builtin_d_type): New functions.
11200 (enum d_primitive_types): New data type.
11201 (d_language_defn): Change c_language_arch_info to
11202 d_language_arch_info.
11203 (d_type_data): New static variable.
11204 (_initialize_d_language): Initialize d_type_data.
11205
63778547
IB
112062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11207
11208 * d-lang.h (d_main_name): Add declaration.
11209 * d-lang.c (d_main_name): New function.
11210 * symtab.c (find_main_name): Add call to d_main_name.
11211
3271ba66
IB
112122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11213
11214 * d-lang.c (d_language_defn): Change macro_expansion_c to
11215 macro_expansion_no.
11216
d36b3012
IB
112172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11218
11219 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11220
c90a6fb7
SDJ
112212014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11222
11223 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11224 gdb_exception" declaration.
11225 * remote.c (getpkt_or_notif_sane): Likewise.
11226
749234e5
DE
112272014-01-17 Doug Evans <dje@google.com>
11228
11229 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11230 function, contents of dirnames_to_char_ptr_vec_append moved here.
11231 (delim_string_to_char_ptr_vec): New function.
11232 (dirnames_to_char_ptr_vec_append): Rewrite.
11233 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11234
df049a58
DE
112352014-01-17 Doug Evans <dje@google.com>
11236
11237 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11238 and moved here ...
11239 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11240 #include "common-utils.h".
11241 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11242 * common/vec.h (VEC_ASSERT_PASS): Update.
11243 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11244 (MACH_CHECK_ERROR): Update.
11245
69f97648
SM
112462014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11247
11248 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11249 comments.
11250 * gdbarch.h: Regenerate.
11251
98b1cfdc
TT
112522014-01-16 Tom Tromey <tromey@redhat.com>
11253
11254 * value.c (struct value) <regnum>: Move earlier.
11255
77a19445
TT
112562014-01-16 Tom Tromey <tromey@redhat.com>
11257
11258 * remote.c (extended_remote_create_inferior): Rename from
11259 extended_remote_create_inferior_1. Add "ops" argument. Remove
11260 old implementation.
11261
62261490
PA
112622014-01-16 Pedro Alves <palves@redhat.com>
11263
11264 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11265 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11266 the backchain.
11267
4d65956b
DE
112682014-01-16 Doug Evans <dje@google.com>
11269
11270 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11271
52834460
MM
112722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11273
11274 * btrace.h (btrace_thread_flag): New.
11275 (struct btrace_thread_info) <flags>: New.
11276 * record-btrace.c (record_btrace_resume_thread)
11277 (record_btrace_find_thread_to_move, btrace_step_no_history)
11278 (btrace_step_stopped, record_btrace_start_replaying)
11279 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11280 (record_btrace_find_resume_thread): New.
11281 (record_btrace_resume, record_btrace_wait): Extend.
11282 (record_btrace_can_execute_reverse): New.
11283 (record_btrace_open): Fail in non-stop mode.
11284 (record_btrace_set_replay): Split into this, ...
11285 (record_btrace_stop_replaying): ... this, ...
11286 (record_btrace_clear_histories): ... and this.
11287 (init_record_btrace_ops): Init to_can_execute_reverse.
11288 * NEWS: Announce it.
11289
118e6252
MM
112902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11291
11292 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11293 (forward_target_decr_pc_after_break)
11294 (target_decr_pc_after_break): New.
11295 * target.c (forward_target_decr_pc_after_break)
11296 (target_decr_pc_after_break): New.
11297 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11298 instead of gdbarch_decr_pc_after_break.
11299 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11300 instead of gdbarch_decr_pc_after_break.
11301 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11302 instead of gdbarch_decr_pc_after_break.
11303 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11304 instead of gdbarch_decr_pc_after_break.
11305 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11306 instead of gdbarch_decr_pc_after_break.
11307 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11308 instead of gdbarch_decr_pc_after_break.
11309
6e07b1d2
MM
113102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11311
11312 * btrace.c: Include regcache.h.
11313 (btrace_add_pc): New.
11314 (btrace_enable): Call btrace_add_pc.
11315 (btrace_is_empty): New.
11316 * btrace.h (btrace_is_empty): New.
11317 * record-btrace.c (require_btrace, record_btrace_info): Call
11318 btrace_is_empty.
11319
969c39fb
MM
113202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11321
11322 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11323 Support delta reads.
11324 (linux_disable_btrace): Change return type.
11325 * common/linux-btrace.h (linux_read_btrace): Change parameters
11326 and return type to allow error reporting. Update users.
11327 (linux_disable_btrace): Change return type. Update users.
11328 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11329 New.
11330 (btrace_error): New.
11331 (btrace_block) <begin>: Comment on BEGIN == 0.
11332 * btrace.c (btrace_compute_ftrace): Start from the end of
11333 the current trace.
11334 (btrace_stitch_trace, btrace_clear_history): New.
11335 (btrace_fetch): Read delta trace, return if replaying.
11336 (btrace_clear): Move clear history code to btrace_clear_history.
11337 (parse_xml_btrace): Throw an error if parsing failed.
11338 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11339 and return type to allow error reporting.
11340 (target_read_btrace): Change parameters and return type to allow
11341 error reporting.
11342 * target.c (target_read_btrace): Update.
11343 * remote.c (remote_read_btrace): Support delta reads. Pass
11344 errors on.
11345 * NEWS: Announce it.
11346
0b722aec
MM
113472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11348
11349 * record.h (record_btrace_frame_unwind)
11350 (record_btrace_tailcall_frame_unwind): New declarations.
11351 * dwarf2-frame: Include record.h
11352 (dwarf2_frame_cfa): Throw an error for btrace frames.
11353 * record-btrace.c: Include hashtab.h.
11354 (btrace_get_bfun_name): New.
11355 (btrace_call_history): Call btrace_get_bfun_name.
11356 (struct btrace_frame_cache): New.
11357 (bfcache): New.
11358 (bfcache_hash, bfcache_eq, bfcache_new): New.
11359 (btrace_get_frame_function): New.
11360 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11361 (record_btrace_frame_this_id): Compute own id.
11362 (record_btrace_frame_prev_register): Provide PC, throw_error
11363 for all other registers.
11364 (record_btrace_frame_sniffer): Detect btrace frames.
11365 (record_btrace_tailcall_frame_sniffer): New.
11366 (record_btrace_frame_dealloc_cache): New.
11367 (record_btrace_frame_unwind): Add new functions.
11368 (record_btrace_tailcall_frame_unwind): New.
11369 (_initialize_record_btrace): Allocate cache.
11370 * btrace.c (btrace_clear): Call reinit_frame_cache.
11371 * NEWS: Announce it.
11372
066ce621
MM
113732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11374
11375 * record-btrace.c (record_btrace_set_replay)
11376 (record_btrace_goto_begin, record_btrace_goto_end)
11377 (record_btrace_goto): New.
11378 (init_record_btrace_ops): Initialize them.
11379 * NEWS: Announce it.
11380
e2887aa3
MM
113812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11382
11383 * record-btrace.c (record_btrace_find_new_threads)
11384 (record_btrace_thread_alive): New.
11385 (init_record_btrace_ops): Initialize to_find_new_threads and
11386 to_thread_alive.
11387
b2f4cfde
MM
113882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11389
11390 * record-btrace.c (record_btrace_resume): New.
11391 (record_btrace_wait): New.
11392 (init_record_btrace_ops): Initialize to_wait and to_resume.
11393
633785ff
MM
113942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11395
11396 * record-btrace.c (record_btrace_xfer_partial)
11397 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11398 (record_btrace_allow_memory_access): New.
11399 (init_record_btrace_ops): Initialize new methods.
11400 * target.c (raw_memory_xfer_partial): Bail out if target reports
11401 that this memory is not available.
11402
3db08215
MM
114032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11404
11405 * target.h (target_ops) <to_insert_breakpoint>
11406 <to_remove_breakpoint>: Add target_ops parameter.
11407 (forward_target_insert_breakpoint): New.
11408 (forward_target_remove_breakpoint): New.
11409 (memory_remove_breakpoint, memory_insert_breakpoint):
11410 Add target_ops parameter.
11411 * target.c (target_insert_breakpoint): Split into this and ...
11412 (forward_target_insert_breakpoint): ... this.
11413 (target_remove_breakpoint): Split into this and ...
11414 (forward_target_remove_breakpoint): ... this.
11415 (debug_to_insert_breakpoint): Add target_ops parameter.
11416 Call forward_target_insert_breakpoint.
11417 (debug_to_remove_breakpoint): Add target_ops parameter.
11418 Call forward_target_remove_breakpoint.
11419 (update_current_target): Do not inherit or default to_insert_breakpoint
11420 and to_remove_breakpoint.
11421 * corelow.c (ignore): Add target_ops parameter.
11422 * exec.c (ignore): Add target_ops parameter.
11423 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11424 Add target_ops parameter.
11425 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11426 Add target_ops parameter.
11427 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11428 Add target_ops parameter.
11429 * record-full.c (record_full_beneath_to_insert_breakpoint)
11430 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11431 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11432 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11433 (record_full_core_remove_breakpoint): Add target_ops parameter.
11434 Update users.
11435 (record_full_beneath_to_insert_breakpoint_ops)
11436 (record_full_beneath_to_remove_breakpoint_ops)
11437 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11438 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11439 tmp_to_remove_breakpoint_ops,
11440 record_full_beneath_to_insert_breakpoint_ops, and
11441 record_full_beneath_to_remove_breakpoint_ops.
11442 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11443 (m32r_remove_breakpoint): Add target_ops parameter.
11444 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11445 Add target_ops parameter.
11446 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11447 Add target_ops parameter.
11448
cecac1ab
MM
114492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11450 Markus Metzger <markus.t.metzger@intel.com>
11451
11452 * record-btrace.c: Include frame-unwind.h.
11453 (record_btrace_frame_unwind_stop_reason)
11454 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11455 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11456 New.
11457 (init_record_btrace_ops): Install it.
11458
824344ca
MM
114592014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11460
11461 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11462 get_prev_frame_1.
11463
32261e52
MM
114642014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11465
11466 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11467 earlier.
11468
ea001bdc
MM
114692014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11470
11471 * frame-unwind.c: Include target.h.
11472 (frame_unwind_try_unwinder): New function with code from ...
11473 (frame_unwind_find_by_frame): ... here. New variable
11474 unwinder_from_target, call also target_get_unwinder)
11475 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11476 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11477 * target.h (struct target_ops): New fields to_get_unwinder and
11478 to_get_tailcall_unwinder.
11479 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11480
1f3ef581
MM
114812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11482
11483 * record-btrace.c (record_btrace_fetch_registers)
11484 (record_btrace_store_registers)
11485 (record_btrace_to_prepare_to_store): New.
11486 (init_record_btrace_ops): Add the above.
11487
f32dbf8c
MM
114882014-01-16 Tom Tromey <tromey@redhat.com>
11489
11490 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11491 * target.h (struct target_ops) <to_prepare_to_store>: Add
11492 argument.
11493 (target_prepare_to_store): Add argument.
11494 * target.c (debug_to_prepare_to_store): Add argument.
11495 (update_current_target): Update.
11496 * remote.c (remote_prepare_to_store): Add 'self' argument.
11497 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11498 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11499 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11500 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11501 argument.
11502 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11503 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11504 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11505 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11506 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11507
07bbe694
MM
115082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11509
11510 * btrace.h (replay) <replay>: New.
11511 (btrace_is_replaying): New.
11512 * btrace.c (btrace_clear): Free replay iterator.
11513 (btrace_is_replaying): New.
11514 * record-btrace.c (record_btrace_is_replaying): New.
11515 (record_btrace_info): Print insn number if replaying.
11516 (record_btrace_insn_history): Start at replay position.
11517 (record_btrace_call_history): Start at replay position.
11518 (init_record_btrace_ops): Init to_record_is_replaying.
11519
0688d04e
MM
115202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11521
11522 * record-btrace.c (record_btrace_insn_history_range): Include
11523 end.
11524 (record_btrace_insn_history_from): Adjust range.
11525 (record_btrace_call_history_range): Include
11526 end.
11527 (record_btrace_call_history_from): Adjust range.
11528 * NEWS: Announce changes.
11529
8710b709
MM
115302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11531
11532 * record.h (enum record_print_flag)
11533 <record_print_indent_calls>: New.
11534 * record.c (get_call_history_modifiers): Recognize /c modifier.
11535 (_initialize_record): Document /c modifier.
11536 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11537 Reorder fields. Optionally indent the function name. Update
11538 all users.
11539 * NEWS: Announce changes.
11540
d0fa7535
MM
115412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11542
11543 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11544
5de9129b
MM
115452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11546
11547 * btrace.c (ftrace_new_function): Start counting at one.
11548 * record-btrace.c (record_btrace_info): Adjust number of calls
11549 and insns.
11550 * NEWS: Announce it.
11551
7acbe133
MM
115522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11553
11554 * record-btrace.c (btrace_call_history_insn_range): Print
11555 insn range as [begin, end].
11556
23a7fe75
MM
115572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11558
11559 * btrace.h (struct btrace_func_link): New.
11560 (enum btrace_function_flag): New.
11561 (struct btrace_inst): Rename to ...
11562 (struct btrace_insn): ...this. Update all users.
11563 (struct btrace_func) <ibegin, iend>: Remove.
11564 (struct btrace_func_link): New.
11565 (struct btrace_func): Rename to ...
11566 (struct btrace_function): ...this. Update all users.
11567 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11568 (number, level, flags>: New.
11569 (struct btrace_insn_iterator): Rename to ...
11570 (struct btrace_insn_history): ...this.
11571 Update all users.
11572 (struct btrace_insn_iterator, btrace_call_iterator): New.
11573 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11574 (struct btrace_target_info) <begin, end, level>
11575 <insn_history, call_history>: New.
11576 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11577 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11578 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11579 (btrace_call_number, btrace_call_begin, btrace_call_end)
11580 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11581 (btrace_find_function_by_number, btrace_set_insn_history)
11582 (btrace_set_call_history): New.
11583 * btrace.c (btrace_init_insn_iterator)
11584 (btrace_init_func_iterator, compute_itrace): Remove.
11585 (ftrace_print_function_name, ftrace_print_filename)
11586 (ftrace_skip_file): Change
11587 parameter to const.
11588 (ftrace_init_func): Remove.
11589 (ftrace_debug): Use new btrace_function fields.
11590 (ftrace_function_switched): Also consider gaining and
11591 losing symbol information).
11592 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11593 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11594 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11595 New.
11596 (ftrace_new_function): Move. Remove debug print.
11597 (ftrace_update_lines, ftrace_update_insns): New.
11598 (ftrace_update_function): Check for call, ret, and jump.
11599 (compute_ftrace): Renamed to ...
11600 (btrace_compute_ftrace): ...this. Rewritten to compute call
11601 stack.
11602 (btrace_fetch, btrace_clear): Updated.
11603 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11604 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11605 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11606 (btrace_call_number, btrace_call_begin, btrace_call_end)
11607 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11608 (btrace_find_function_by_number, btrace_set_insn_history)
11609 (btrace_set_call_history): New.
11610 * record-btrace.c (require_btrace): Use new btrace thread
11611 info fields.
11612 (record_btrace_info, btrace_insn_history)
11613 (record_btrace_insn_history, record_btrace_insn_history_range):
11614 Use new btrace thread info fields and new iterator.
11615 (btrace_func_history_src_line): Rename to ...
11616 (btrace_call_history_src_line): ...this. Use new btrace
11617 thread info fields.
11618 (btrace_func_history): Rename to ...
11619 (btrace_call_history): ...this. Use new btrace thread info
11620 fields and new iterator.
11621 (record_btrace_call_history, record_btrace_call_history_range):
11622 Use new btrace thread info fields and new iterator.
11623
8372a7cb
MM
116242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11625
11626 * frame.h (frame_id_build_unavailable_stack_special): New.
11627 * frame.c (frame_id_build_unavailable_stack_special): New.
11628
c2170eef
MM
116292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11630
11631 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11632 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11633 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11634 to gdbarch.
11635 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11636 (i386_insn_is_jump, i386_jmp_p): New.
11637 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11638 insn_is_jump to gdbarch.
11639 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11640 * gdbarch.h: Regenerated.
11641 * gdbarch.c: Regenerated.
11642 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11643 (default_insn_is_jump): New.
11644 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11645 (default_insn_is_jump): New.
11646
864089d2
MM
116472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11648
11649 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11650 Change to ...
11651 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11652 (btrace_read_type) <btrace_read_new>: Change to ...
11653 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11654
ed9edfb5
MM
116552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11656
11657 * common/linux-btrace.c (linux_read_btrace): Free trace from
11658 previous iteration.
11659
fbcbc3fd
DE
116602014-01-15 Doug Evans <dje@google.com>
11661
11662 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11663 uint32_t.
11664
3d548a53
TT
116652014-01-15 Tom Tromey <tromey@redhat.com>
11666
11667 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11668 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11669 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11670 (set_objfile_main_name): New function.
11671 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11672 language_of_main>: New fields.
11673 (set_objfile_main_name): Declare.
11674 * symtab.c (find_main_name): Loop over objfiles to find the main
11675 name and language.
11676 (set_main_name): Now static.
11677 (get_main_info): Add comment.
11678 * symtab.h (set_main_name): Don't declare.
11679
32ac0d11
TT
116802014-01-15 Tom Tromey <tromey@redhat.com>
11681
11682 * symtab.c (main_progspace_key): New global.
11683 (struct main_info): New.
11684 (name_of_main, language_of_main): Remove.
11685 (get_main_info, main_info_cleanup): New function.
11686 (set_main_name, main_name, main_language): Use get_main_info.
11687 (_initialize_symtab): Initialize main_progspace_key.
11688
9e6c82ad
TT
116892014-01-15 Tom Tromey <tromey@redhat.com>
11690
11691 * dbxread.c (process_one_symbol): Update.
11692 * dwarf2read.c (read_partial_die): Update.
11693 * symfile.c (set_initial_language): Call main_language.
11694 * symtab.c (language_of_main): Now static.
11695 (set_main_name): Add 'lang' parameter.
11696 (find_main_name): Update.
11697 (main_language): New function.
11698 (symtab_observer_executable_changed): Update.
11699 * symtab.h (set_main_name): Update.
11700 (language_of_main): Remove.
11701 (main_language): Declare.
11702
6ef55de7
TT
117032014-01-15 Tom Tromey <tromey@redhat.com>
11704
11705 * symfile.c (init_entry_point_info): Use new "initialized" field.
11706 Update.
11707 * objfiles.h (struct entry_point) <initialized>: New field.
11708 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11709 (struct objfile) <ei>: ...here. Remove.
11710 * objfiles.c (entry_point_address_query): Update.
11711
53eddfa6
TT
117122014-01-15 Tom Tromey <tromey@redhat.com>
11713
11714 * objfiles.c (entry_point_address_query): Relocate entry point
11715 address.
11716 (objfile_relocate1): Do not relocate entry point address.
11717 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11718 <the_bfd_section_index>: New field.
11719 * symfile.c (init_entry_point_info): Find the entry point's
11720 section.
11721
d56e56aa
TT
117222014-01-15 Tom Tromey <tromey@redhat.com>
11723
11724 * solib-frv.c (enable_break): Use entry_point_address_query.
11725
33a97bbe
OJ
117262014-01-15 Omair Javaid <omair.javaid@linaro.org>
11727
11728 * NEWS: Add note on improved process record-replay on
11729 arm*-linux* targets.
11730
c6ec2b30
OJ
117312014-01-15 Omair Javaid <omair.javaid@linaro.org>
11732
11733 * arm-tdep.c (enum arm_record_result): New enum.
11734 (arm_record_unsupported_insn): New function.
11735 (arm_record_coproc_data_proc): Removed.
11736 (thumb2_record_ld_st_multiple): New function.
11737 (thumb2_record_ld_st_dual_ex_tbb): New function.
11738 (thumb2_record_data_proc_sreg_mimm): New function.
11739 (thumb2_record_ps_dest_generic): New function.
11740 (thumb2_record_branch_misc_cntrl): New function.
11741 (thumb2_record_str_single_data): New function.
11742 (thumb2_record_ld_mem_hints): New function.
11743 (thumb2_record_ld_word): New function.
11744 (thumb2_record_lmul_lmla_div): New function.
11745 (thumb2_record_decode_insn_handler): New function.
11746 (decode_insn): Add thumb32 instruction handlers.
11747
97dfe206
OJ
117482014-01-15 Omair Javaid <omair.javaid@linaro.org>
11749
11750 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11751 (struct arm_linux_record_tdep): Declare.
11752 (arm_canonicalize_syscall): New function.
11753 (arm_all_but_pc_registers_record): New function.
11754 (arm_linux_syscall_record): New function.
11755 (arm_linux_init_abi): Add syscall recording constructs.
11756 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11757 decoding. (arm_record_coproc_data_proc): Update arm syscall
11758 decoding.
11759 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11760 <arm_syscall_record>: New field.
11761 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11762 gdb_target_obs.
11763
9904a494
OJ
117642014-01-15 Omair Javaid <omair.javaid@linaro.org>
11765
11766 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11767 register for push instruction recording.
11768
f969241e
OJ
117692014-01-15 Omair Javaid <omair.javaid@linaro.org>
11770
11771 * arm-tdep.c (thumb_record_misc): Update to correct logical
11772 error while recording ldm, ldmia and pop instructions.
11773
bfbbec00
OJ
117742014-01-15 Omair Javaid <omair.javaid@linaro.org>
11775
11776 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11777
e40adcc9
PA
117782014-01-15 Pedro Alves <palves@redhat.com>
11779
11780 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11781 (go32_resume, go32_fetch_registers, store_register)
11782 (go32_store_registers, go32_prepare_to_store)
11783 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11784 (go32_create_inferior, go32_can_run, go32_terminal_init)
11785 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11786 declarations.
11787
b0a16e66
TT
117882014-01-15 Tom Tromey <tromey@redhat.com>
11789
11790 * target.h (async_callback_ftype): New typedef.
11791 (struct target_ops) <to_async>: Use it.
11792
bf7105a4
JB
117932014-01-15 Joel Brobecker <brobecker@adacore.com>
11794
11795 * python/py-value.c (get_field_type): Remove unnecessary curly
11796 braces for single-statement if block.
11797
a8f35c2e
JB
117982014-01-15 Joel Brobecker <brobecker@adacore.com>
11799
11800 * python/py-type.c (convert_field): Add missing empty line
11801 after declarations.
11802
bb4142cf
DE
118032014-01-14 Doug Evans <dje@google.com>
11804
11805 * symfile.h (expand_symtabs_matching): Renamed from
11806 expand_partial_symbol_names. Update prototype.
11807 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11808 * symfile.c (expand_symtabs_matching): Renamed from
11809 expand_partial_symbol_names. New args file_matcher, kind.
11810 Rename arg fun to symbol_matcher.
11811 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11812 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11813 ada_expand_partial_symbol_name.
11814 (ada_make_symbol_completion_list): Update to call
11815 expand_symtabs_matching.
11816 (ada_add_global_exceptions): Call expand_symtabs_matching.
11817 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11818 call map_symbol_filenames.
11819 * symtab.c (sources_info): Update to call map_symbol_filenames.
11820 (search_symbols): Call expand_symtabs_matching.
11821 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11822 (default_make_symbol_completion_list_break_on): Update to call
11823 expand_symtabs_matching.
11824 (make_source_files_completion_list): Update to call
11825 map_symbol_filenames.
11826
206f2a57
DE
118272014-01-14 Doug Evans <dje@google.com>
11828
11829 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11830 (expand_symtabs_symbol_matcher_ftype): New typedef.
11831 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11832 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11833 * symfile.c (expand_partial_symbol_names): Update to use
11834 expand_symtabs_symbol_matcher_ftype.
11835 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11836 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11837 Arg name_matcher renamed to symbol_matcher.
11838 * psymtab.c (recursively_search_psymtabs): Update to use
11839 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11840 sym_matcher.
11841 (expand_symtabs_matching_via_partial): Update to use
11842 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11843 Arg name_matcher renamed to symbol_matcher.
11844
540c2971
DE
118452014-01-14 Doug Evans <dje@google.com>
11846
11847 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11848 (map_partial_symbol_filenames): Ditto.
11849 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11850 (map_partial_symbol_filenames): Ditto.
11851 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11852 (map_partial_symbol_filenames): Ditto.
11853 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11854 (map_partial_symbol_filenames): Ditto.
11855 * symtab.c: Delete #include "psymtab.h".
11856
8213266a
PA
118572014-01-14 Pedro Alves <palves@redhat.com>
11858 Tom Tromey <tromey@redhat.com>
11859
11860 * infrun.c (use_displaced_stepping): Use find_record_target
11861 instead of RECORD_IS_USED.
11862 (adjust_pc_after_break): Use record_full_is_used instead of
11863 RECORD_IS_USED.
11864 * record-btrace.c (record_btrace_open): Call record_preopen
11865 instead of checking RECORD_IS_USED.
11866 * record-full.c (record_full_shortname)
11867 (record_full_core_shortname): New globals.
11868 (record_full_is_used): New function.
11869 (find_full_open): Call record_preopen instead of checking
11870 RECORD_IS_USED.
11871 (init_record_full_ops): Set the target's shortname to
11872 record_full_shortname.
11873 (init_record_full_core_ops): Set the target's shortname to
11874 record_full_core_shortname.
11875 * record-full.h (record_full_is_used): Declare.
11876 * record.c (find_record_target): Make extern.
11877 (record_preopen): New function.
11878 * record.h (RECORD_IS_USED): Delete macro.
11879 (find_record_target, record_preopen): Declare functions.
11880
7ec1862d
YQ
118812014-01-14 Yao Qi <yao@codesourcery.com>
11882
11883 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11884 'len''s type to ULONGEST.
11885 (core_xfer_shared_libraries_aix): Likewise.
11886 * gdbarch.c, gdbarch.h: Regenerated.
11887 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11888 Change type of 'len' to ULONGEST.
11889 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11890 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11891
dea80a27
YQ
118922014-01-14 Yao Qi <yao@codesourcery.com>
11893
11894 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11895 type of 'len' to ULONGEST.
11896 (linux_xfer_osdata_processgroups): Likewise.
11897 (linux_xfer_osdata_threads): Likewise.
11898 (linux_xfer_osdata_fds): Likewise.
11899 (linux_xfer_osdata_isockets): Likewise.
11900 (linux_xfer_osdata_shm): Likewise.
11901 (linux_xfer_osdata_sem): Likewise.
11902 (linux_xfer_osdata_msg): Likewise.
11903 (linux_common_xfer_osdata): Likewise.
11904 (struct osdata_type) <getter>: Likewise.
11905 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11906 the declaration.
11907
b55e14c7
YQ
119082014-01-14 Yao Qi <yao@codesourcery.com>
11909
11910 * target.h (target_xfer_partial_ftype): Update.
11911 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11912 ULONGEST.
11913 * aix-thread.c (aix_thread_xfer_partial): Change type of
11914 argument 'len' to ULONGEST.
11915 * auxv.c (procfs_xfer_auxv): Likewise.
11916 (ld_so_xfer_auxv): Likewise.
11917 (memory_xfer_auxv): Likewise.
11918 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11919 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11920 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11921 * corelow.c (core_xfer_partial): Likewise.
11922 * ctf.c (ctf_xfer_partial): Likewise.
11923 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11924 '%u'.
11925 (darwin_read_dyld_info): Likewise.
11926 (darwin_xfer_partial): Likewise.
11927 * exec.c (section_table_xfer_memory_partial): Likewise.
11928 (exec_xfer_partial): Likewise.
11929 * exec.h (section_table_xfer_memory_partial): Update
11930 declaration.
11931 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11932 instead of plongest.
11933 (gnu_xfer_partial): Likewise.
11934 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11935 (ia64_hpux_xfer_solib_got): Likewise.
11936 (ia64_hpux_xfer_partial): Likewise.
11937 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11938 * inf-ptrace.c (inf_ptrace_xfer_partial):
11939 * inf-ttrace.c (inf_ttrace_xfer_partial):
11940 * linux-nat.c (linux_xfer_siginfo): Likewise.
11941 (linux_nat_xfer_partial): Likewise.
11942 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11943 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11944 * monitor.c (monitor_xfer_memory): Likewise.
11945 (monitor_xfer_partial): Likewise.
11946 * procfs.c (procfs_xfer_partial): Likewise.
11947 * record-full.c (record_full_xfer_partial): Likewise.
11948 (record_full_core_xfer_partial): Likewise.
11949 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11950 instead of plongest.
11951 (gdbsim_xfer_partial): Likewise.
11952 * remote.c (remote_xfer_partial): Likewise.
11953 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11954 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11955 declaration.
11956 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11957 (rs6000_xfer_shared_libraries): Likewise.
11958 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11959 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11960 (sparc_xfer_partial): Likewise.
11961 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11962 (spu_xfer_partial): Likewise.
11963 * spu-multiarch.c (spu_xfer_partial): Likewise.
11964 * target.c (target_read_live_memory): Likewise.
11965 (memory_xfer_live_readonly_partial): Likewise.
11966 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11967 (target_xfer_partial, default_xfer_partial): Likewise.
11968 (current_xfer_partial): Likewise.
11969 * tracepoint.c (tfile_xfer_partial): Likewise.
11970 * windows-nat.c (windows_xfer_memory): Likewise. Call
11971 pulongest instead of plongest.
11972 (windows_xfer_partial): Likewise.
11973 (windows_xfer_shared_libraries): Likewise.
11974
05804640
YQ
119752014-01-14 Yao Qi <yao@codesourcery.com>
11976
11977 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11978 target_xfer_partial_ftype.
11979
b5b08fb4
SC
119802014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11981
11982 PR python/15464
11983 PR python/16113
11984 * valops.c (value_struct_elt_bitpos): New function
11985 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11986 object to 'None' if the field name is an empty string ("").
11987 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11988 attribute to look for a field when 'name' is 'None'.
11989 (get_field_type): New function
11990
13aaf454
DE
119912014-01-13 Doug Evans <dje@google.com>
11992
11993 PR symtab/16426
11994 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11995 (try_open_dwop_file): Ditto.
11996 * gdb_bfd.c: #include "vec.h".
11997 (bfdp): New typedef.
11998 (struct gdb_bfd_data): New member included_bfds.
11999 (gdb_bfd_unref): Unref all included bfds.
12000 (gdb_bfd_record_inclusion): New function.
12001 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12002
c2cec97c
TT
120032014-01-13 Tom Tromey <tromey@redhat.com>
12004
12005 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12006
78e5999d
TT
120072014-01-13 Tom Tromey <tromey@redhat.com>
12008
12009 * defs.h (use_windows): Remove.
12010 * gdb.c (main): Update.
12011 * main.c (captured_main, gdb_main): Update.
12012 * main.h (struct captured_main_args) <use_windows>: Remove.
12013 * top.c (use_windows): Remove.
12014
f2052bbe
TT
120152014-01-13 Tom Tromey <tromey@redhat.com>
12016
12017 * defs.h (deprecated_flush_hook): Remove.
12018
fde4f8ed
JK
120192014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12020
12021 PR threads/16216
12022 * linux-thread-db.c (try_thread_db_load): Add parameter
12023 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12024 (try_thread_db_load_from_pdir_1): Move it there from here.
12025 (try_thread_db_load_from_sdir): Update caller.
12026 (try_thread_db_load_from_dir): Move it there from here.
12027
bdf61915
PP
120282014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12029
12030 * regformats/regdat.sh: Always rewrite the register file.
12031
f71e1a8d
PA
120322014-01-13 Pedro Alves <palves@redhat.com>
12033
12034 * Makefile.in (CHECK_HEADERS): New variable.
12035 (check-headers:): New rule.
12036
42c85435
TT
120372014-01-13 Tom Tromey <tromey@redhat.com>
12038
12039 * cli/cli-setshow.c (do_set_command): Update.
12040 * defs.h (deprecated_set_hook): Remove.
12041 * top.c (deprecated_set_hook): Remove.
12042
f8de5129
PA
120432014-01-13 Pedro Alves <palves@redhat.com>
12044
12045 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12046 the tracepoint if the PC is a pseudo-register.
12047
fc270c35
TT
120482014-01-13 Tom Tromey <tromey@redhat.com>
12049
12050 * defs.h (XCALLOC): Remove.
12051 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12052 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12053 * dwarf2loc.c (allocate_piece_closure): Likewise.
12054 * elfread.c (elf_symfile_segments): Likewise.
12055 (elf_symfile_segments): Likewise.
12056 * gdbtypes.c (copy_type_recursive): Likewise.
12057 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12058 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12059 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12060 XCALLOC.
12061 * mt-tdep.c (mt_gdbarch_init): Likewise.
12062 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12063 XCALLOC.
12064 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12065 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12066 * registry.c (registry_alloc_data): Likewise.
12067 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12068 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12069 * serial.c (serial_fdopen_ops): Likewise.
12070 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12071 XCALLOC.
12072 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12073 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12074 not XCALLOC.
12075
70ba0933
TT
120762014-01-13 Tom Tromey <tromey@redhat.com>
12077
12078 * defs.h (XMALLOC): Remove.
12079 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12080 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12081 * cli-out.c (struct ui_out *): Likewise.
12082 * cli/cli-dump.c (add_dump_command): Likewise.
12083 (add_dump_command): Likewise.
12084 * complaints.c (get_complaints): Likewise.
12085 (find_complaint): Likewise.
12086 * dwarf2-frame.c (execute_cfa_program): Likewise.
12087 * dwarf2read.c (abbrev_table_read_table): Likewise.
12088 * gdbarch.sh: Likewise.
12089 * gdbarch.c: Rebuild.
12090 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12091 * interps.c (interp_new): Likewise.
12092 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12093 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12094 * mi/mi-console.c (mi_console_file_new): Likewise.
12095 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12096 * mi/mi-out.c (mi_out_new): Likewise.
12097 * mi/mi-parse.c (mi_parse): Likewise.
12098 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12099 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12100 * observer.c (xalloc_observer_list_node): Likewise.
12101 * regcache.c (regcache_xmalloc_1): Likewise.
12102 * reggroups.c (reggroup_new): Likewise.
12103 (_initialize_reggroup): Likewise.
12104 * registry.c (register_data_with_cleanup): Likewise.
12105 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12106 * ser-base.c (serial_ttystate): Likewise.
12107 * ser-mingw.c (make_pipe_state): Likewise.
12108 * ser-pipe.c (pipe_open): Likewise.
12109 * serial.c (serial_open): Likewise.
12110 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12111 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12112 (tui_alloc_win_info): Likewise.
12113 (tui_add_content_elements): Likewise.
12114 * tui/tui-file.c (tui_file_new): Likewise.
12115 * tui/tui-out.c (tui_out_new): Likewise.
12116 * ui-file.c (mem_file_new): Likewise.
12117 * ui-out.c (push_level): Likewise.
12118 (make_cleanup_ui_out_end): Likewise.
12119 (append_header_to_list): Likewise.
12120 (ui_out_new): Likewise.
12121 * user-regs.c (user_reg_add_builtin): Likewise.
12122
41bf6aca
TT
121232014-01-13 Tom Tromey <tromey@redhat.com>
12124
12125 * defs.h (XZALLOC): Remove.
12126 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12127 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12128 (get_ada_tasks_inferior_data): Likewise.
12129 * auto-load.c (get_auto_load_pspace_data): Likewise.
12130 * auxv.c (get_auxv_inferior_data): Likewise.
12131 * bfd-target.c (target_bfd_reopen): Likewise.
12132 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12133 (deprecated_insert_raw_breakpoint): Likewise.
12134 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12135 * corelow.c (core_open): Likewise.
12136 * darwin-nat.c (darwin_check_new_threads): Likewise.
12137 (darwin_attach_pid): Likewise.
12138 * dummy-frame.c (dummy_frame_push): Likewise.
12139 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12140 * dwarf2loc.c (allocate_piece_closure): Likewise.
12141 * elfread.c (elf_symfile_segments): Likewise.
12142 * eval.c (ptrmath_type_p): Likewise.
12143 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12144 * gdbtypes.c (alloc_type_arch): Likewise.
12145 (alloc_type_instance): Likewise.
12146 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12147 * inf-child.c (inf_child_can_use_agent): Likewise.
12148 * inflow.c (get_inflow_inferior_data): Likewise.
12149 * infrun.c (save_infcall_suspend_state): Likewise.
12150 * jit.c (jit_reader_load): Likewise.
12151 (get_jit_objfile_data): Likewise.
12152 (get_jit_program_space_data): Likewise.
12153 (jit_object_open_impl): Likewise.
12154 (jit_symtab_open_impl): Likewise.
12155 (jit_block_open_impl): Likewise.
12156 (jit_frame_sniffer): Likewise.
12157 * linux-fork.c (add_fork): Likewise.
12158 * maint.c (make_command_stats_cleanup): Likewise.
12159 * objfiles.c (get_objfile_pspace_data): Likewise.
12160 * opencl-lang.c (struct lval_closure): Likewise.
12161 * osdata.c (osdata_start_osdata): Likewise.
12162 * progspace.c (new_address_space): Likewise.
12163 (add_program_space): Likewise.
12164 * remote-sim.c (get_sim_inferior_data): Likewise.
12165 * sh-tdep.c (sh_gdbarch_init): Likewise.
12166 * skip.c (Ignore): Likewise.
12167 (skip_delete_command): Likewise.
12168 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12169 (library_list_start_library): Likewise.
12170 (solib_aix_current_sos): Likewise.
12171 * solib-darwin.c (get_darwin_info): Likewise.
12172 (darwin_current_sos): Likewise.
12173 * solib-dsbt.c (get_dsbt_info): Likewise.
12174 * solib-ia64-hpux.c (new_so_list): Likewise.
12175 (ia64_hpux_get_solib_linkage_addr): Likewise.
12176 * solib-spu.c (append_ocl_sos): Likewise.
12177 (spu_current_sos): Likewise.
12178 * solib-svr4.c (get_svr4_info): Likewise.
12179 (svr4_keep_data_in_core): Likewise.
12180 (library_list_start_library): Likewise.
12181 (svr4_default_sos): Likewise.
12182 (svr4_read_so_list): Likewise.
12183 * solib-target.c (library_list_start_library): Likewise.
12184 (solib_target_current_sos): Likewise.
12185 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12186 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12187 * symfile.c (default_symfile_segments): Likewise.
12188 * target-descriptions.c (tdesc_data_init): Likewise.
12189 (tdesc_create_reg): Likewise.
12190 (struct tdesc_type *): Likewise.
12191 (tdesc_create_vector): Likewise.
12192 (tdesc_set_struct_size): Likewise.
12193 (struct tdesc_type *): Likewise.
12194 (tdesc_free_feature): Likewise.
12195 (tdesc_create_feature): Likewise.
12196 * windows-nat.c (windows_add_thread): Likewise.
12197 (windows_make_so): Likewise.
12198 * xml-support.c (gdb_xml_body_text): Likewise.
12199 (gdb_xml_create_parser_and_cleanup): Likewise.
12200 (xml_process_xincludes): Likewise.
12201 * xml-syscall.c (allocate_syscalls_info): Likewise.
12202 (syscall_create_syscall_desc): Likewise.
12203
5acfdbae
SDJ
122042014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12205
12206 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12207 function, with code from i386_stap_parse_special_token.
12208 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12209 (i386_stap_parse_special_token): Move code to the two functions
12210 above; simplify it.
12211
0000e5cc
PA
122122014-01-09 Pedro Alves <palves@redhat.com>
12213 Hui Zhu <hui@codesourcery.com>
12214
12215 PR gdb/16101
12216 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12217 bp_err_string. Don't mark the location shlib_disabled if the
12218 error thrown wasn't a generic or memory error. Catch errors
12219 thrown while inserting breakpoints in overlayed code. Output
12220 error message of software breakpoints.
12221 * remote.c (remote_insert_breakpoint): If this breakpoint has
12222 target-side commands but this stub doesn't support Z0 packets,
12223 throw NOT_SUPPORTED_ERROR error.
12224 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12225 * target.h (target_insert_breakpoint): Extend comment.
12226 (target_insert_hw_breakpoint): Add comment.
12227
b7ea362b
PA
122282014-01-08 Pedro Alves <palves@redhat.com>
12229
12230 * remote.c (remote_add_thread): Add threads silently if starting
12231 up.
12232 (remote_notice_new_inferior): If in all-stop, and starting up,
12233 don't call notice_new_inferior.
12234 (get_current_thread): New function, factored out from ...
12235 (add_current_inferior_and_thread): ... this. Adjust.
12236 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12237 found any thread, then select the remote's current thread as GDB's
12238 current thread too.
12239
b7bba001
JB
122402014-01-08 Joel Brobecker <brobecker@adacore.com>
12241
12242 * NEWS: Create a new section for the next release branch.
12243 Rename the section of the current branch, now that it has
12244 been cut.
12245
16dfbded
JB
122462014-01-08 Joel Brobecker <brobecker@adacore.com>
12247
12248 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12249 * version.in: Bump version to 7.7.50.DATE-cvs.
12250
22c90ac1
YQ
122512014-01-08 Yao Qi <yao@codesourcery.com>
12252
12253 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12254 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12255 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12256
d64ad97c
YQ
122572014-01-08 Yao Qi <yao@codesourcery.com>
12258
12259 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12260 return value of bfd_get_filename to symbol_file_add_from_bfd.
12261
f93ba80c
PM
122622014-01-08 Pierre Muller <muller@sourceware.org>
12263
12264 Fix PR16201.
12265 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12266 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12267 to prim_record_mininal_symbol_and_info.
12268 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12269 in call to prim_record_minimal_symbol_and_info.
12270 (read_pe_exported_syms): Set index field of section_data.
12271
a4d9ba85
AP
122722014-01-07 Andrew Pinski <apinski@cavium.com>
12273
12274 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12275 * features/aarch64.c: Regenerate.
12276
1b67eb02
AS
122772014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12278
12279 * target.c (return_null): Define.
12280 (update_current_target): Use it instead of return_zero for
12281 functions that return a pointer.
12282
5e3f4fab
EBM
122832014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12284
12285 * source.c (add_path): Fix check for duplicated paths in the previously
12286 included paths.
12287
e2616788
HK
122882014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12289
12290 * ada-lang.c: Remove duplicated include statements.
12291 * alphabsd-nat.c: Ditto.
12292 * amd64-darwin-tdep.c: Ditto.
12293 * amd64fbsd-nat.c: Ditto.
12294 * auto-load.c: Ditto.
12295 * ax-gdb.c: Ditto.
12296 * breakpoint.c: Ditto.
12297 * dbxread.c: Ditto.
12298 * fork-child.c: Ditto.
12299 * gdb_usleep.c: Ditto.
12300 * i386-darwin-tdep.c: Ditto.
12301 * i386fbsd-nat.c: Ditto.
12302 * infcmd.c: Ditto.
12303 * inferior.c: Ditto.
12304 * jv-lang.c: Ditto.
12305 * linux-nat.c: Ditto.
12306 * linux-tdep.c: Ditto.
12307 * m68kbsd-nat.c: Ditto.
12308 * m68klinux-nat.c: Ditto.
12309 * microblaze-tdep.c: Ditto.
12310 * mips-linux-tdep.c: Ditto.
12311 * mn10300-tdep.c: Ditto.
12312 * nto-tdep.c: Ditto.
12313 * opencl-lang.c: Ditto.
12314 * osdata.c: Ditto.
12315 * printcmd.c: Ditto.
12316 * regcache.c: Ditto.
12317 * remote-m32r-sdi.c: Ditto.
12318 * remote.c: Ditto.
12319 * symfile.c: Ditto.
12320 * symtab.c: Ditto.
12321 * tilegx-linux-nat.c: Ditto.
12322 * tilegx-tdep.c: Ditto.
12323 * tracepoint.c: Ditto.
12324 * valops.c: Ditto.
12325 * vaxbsd-nat.c: Ditto.
12326 * windows-nat.c: Ditto.
12327 * xtensa-tdep.c: Ditto.
12328
bd1f7788
YQ
123292014-01-07 Yao Qi <yao@codesourcery.com>
12330
12331 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12332
79301218
JB
123332014-01-07 Yao Qi <yao@codesourcery.com>
12334 Joel Brobecker <brobecker@adacore.com>
12335
12336 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12337 (pdc_write_regs): Likewise.
12338 (fetch_regs_kernel_thread): Likewise.
12339 (store_regs_kernel_thread): Likewise.
12340
123412014-01-07 Joel Brobecker <brobecker@adacore.com>
12342
12343 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12344 tagged type objects to their actual type.
12345
8e355c5d
JB
123462014-01-07 Joel Brobecker <brobecker@adacore.com>
12347
12348 * ada-valprint.c (print_field_values): Add "language" parameter.
12349 Update calls to print_field_values and print_variant_part.
12350 Pass new parameter "language" in call to val_print instead
12351 of "current_language". Replace call to ada_val_print by call
12352 to val_print.
12353 (print_variant_part): Add "language" parameter.
12354 (ada_val_print_struct_union): Update call to print_field_values.
12355
4fbf5aa5
JB
123562014-01-07 Joel Brobecker <brobecker@adacore.com>
12357
12358 * ada-valprint.c (ui_memcpy): Delete.
12359 (ada_print_floating): Update documentation. Add empty line
12360 between between function documentation and implementation.
12361 Delete variable "buffer". Use ui_file_xstrdup in place of
12362 ui_file_put. Minor adjustments following this change.
12363
71855601
JB
123642014-01-07 Joel Brobecker <brobecker@adacore.com>
12365
12366 * ada-valprint.c (ada_val_print_string): New function,
12367 extracted from ada_val_print_array.
12368 (ada_val_print_array): Replace extracted code by call
12369 to ada_val_print_string followed by a return. Move
12370 "else" branch to the function's top block.
12371
4eb27a30
JB
123722014-01-07 Joel Brobecker <brobecker@adacore.com>
12373
12374 * ada-valprint.c (ada_val_print_array): Move implementation
12375 down. Rename parameter "offset" and "val" into "offset_aligned"
12376 and "original_value" respectively. Add parameter "offset".
12377
34b27950
JB
123782014-01-07 Joel Brobecker <brobecker@adacore.com>
12379
12380 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12381 re-organizing the code. Change the "???" message printed
12382 when target type is a TYPE_CODE_UNDEF into
12383 "<ref to undefined type>".
12384
079e4591
JB
123852014-01-07 Joel Brobecker <brobecker@adacore.com>
12386
12387 * ada-valprint.c (print_record): Delete, implementation inlined...
12388 (ada_val_print_struct_union): ... here. Remove call to
12389 ada_check_typedef in inlined implementation.
12390
8004dfd1
JB
123912014-01-07 Joel Brobecker <brobecker@adacore.com>
12392
12393 * ada-valprint.c (ada_val_print_gnat_array): New function,
12394 extracted from ada_val_print_1;
12395 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12396 (ada_val_print_flt, ada_val_print_struct_union)
12397 (ada_val_print_ref): Likewise.
12398 (ada_val_print_1): Delete variables i and elttype.
12399 Replace extracted-out code by call to corresponding
12400 new functions.
12401
760a2db0
JB
124022014-01-07 Joel Brobecker <brobecker@adacore.com>
12403
12404 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12405
3a92c861
JB
124062014-01-07 Joel Brobecker <brobecker@adacore.com>
12407
12408 * ada-valprint.c (ada_val_print_1): Replace calls to
12409 ada_val_print_1 by calls to val_print.
12410
cd1630f9
JB
124112014-01-07 Joel Brobecker <brobecker@adacore.com>
12412
12413 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12414 Update calls to self accordingly. Replace calls to c_val_print
12415 by calls to val_print.
12416
bdf779a0
JB
124172014-01-07 Joel Brobecker <brobecker@adacore.com>
12418
12419 * ada-valprint.c (print_record): Delete declaration.
12420 (adjust_type_signedness, ada_val_print_1): Likewise.
12421 (ada_val_print): Move function implementation down.
12422 (print_variant_part, print_field_values, print_record):
12423 Move function implementation up.
12424
c0d48811
JB
124252014-01-07 Joel Brobecker <brobecker@adacore.com>
12426
12427 * python/py-type.c (typy_get_name): New function.
12428 (type_object_getset): Add entry for attribute "name".
12429 * NEWS: Add entry mentioning this new attribute.
12430
c26e9cbb
YQ
124312014-01-07 Yao Qi <yao@codesourcery.com>
12432
12433 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12434 statement.
12435
0cc6f43d
YQ
124362014-01-07 Yao Qi <yao@codesourcery.com>
12437
12438 * gnu-nat.c (info_port_rights): Add qualifier const to
12439 argument args.
12440
eec03155
YQ
124412014-01-07 Yao Qi <yao@codesourcery.com>
12442
12443 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12444
f04a82ef
YQ
124452014-01-07 Yao Qi <yao@codesourcery.com>
12446
12447 * gnu-nat.c (make_inf) Update declaration.
12448 (make_inf): Make it static.
12449 (inf_set_traced): Likewise.
12450 (inf_port_to_thread, inf_task_died_status): Likewise.
12451
d57dda0a
YQ
124522014-01-07 Yao Qi <yao@codesourcery.com>
12453
12454 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12455
3aa8c969
YQ
124562014-01-07 Yao Qi <yao@codesourcery.com>
12457
12458 * gnu-nat.c (_initialize_gnu_nat): Declare.
12459
94123b4f
YQ
124602014-01-07 Yao Qi <yao@codesourcery.com>
12461
12462 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12463 'enum bfd_endian'.
12464 (struct gdbarch_info) <byte_order>: Change type to
12465 'enum bfd_endian'.
12466 <byte_order_for_code>: Likewise.
12467 * gdbarch.c, gdbarch.h: Regenerated.
12468
dc81d70a
TT
124692014-01-06 Sasha Smundak <asmundak@google.com>
12470
12471 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12472
cc2f3c35
TT
124732014-01-06 Tom Tromey <tromey@redhat.com>
12474
12475 * doublest.c (convert_doublest_to_floatformat): Use const, not
12476 CONST.
12477 * somread.c (som_symtab_read): Likewise.
12478
adcf2eed
HZ
124792014-01-07 Hui Zhu <hui@codesourcery.com>
12480
12481 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12482 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12483 (gdb_bfd_fopen): Ditto.
12484 (gdb_bfd_openr): Ditto.
12485 (gdb_bfd_openw): Ditto.
12486 (gdb_bfd_openr_iovec): Ditto.
12487 (gdb_bfd_fdopenr): Ditto.
12488 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12489 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12490 with xstrdup.
12491 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12492 with xstrdup.
12493 * symfile-mem.c (symbol_file_add_from_memory): Removed
12494 gdb_bfd_stash_filename.
12495
50722198
DE
124962014-01-03 Doug Evans <dje@google.com>
12497
12498 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12499 output.
12500
2fa4b862
JB
125012014-01-01 Joel Brobecker <brobecker@adacore.com>
12502
12503 Update year range in copyright notice of all files.
12504
28498c42
JB
125052014-01-01 Joel Brobecker <brobecker@adacore.com>
12506
12507 * top.c (print_gdb_version): Set copyright year to 2014.
12508
7b6e1046
JB
125092014-01-01 Joel Brobecker <brobecker@adacore.com>
12510
12511 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12512
df96af55 12513For older changes see ChangeLog-2013.
c906108c
SS
12514\f
12515Local Variables:
12516mode: change-log
12517left-margin: 8
12518fill-column: 74
12519version-control: never
57da7796 12520coding: utf-8
c906108c 12521End:
This page took 2.170199 seconds and 4 git commands to generate.