Rename 32- and 64-bit Intel files from "i386" to "x86"
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
df7e5265
GB
12014-09-02 Gary Benson <gbenson@redhat.com>
2
3 * i386-nat.h: Renamed as...
4 * x86-nat.h: New file. All type, function and variable name
5 prefixes changed from "i386_" to "x86_". All references updated.
6 * i386-nat.c: Renamed as...
7 * x86-nat.c: New file. All type, function and variable name
8 prefixes changed from "i386_" to "x86_". All references updated.
9 * common/i386-xstate.h: Renamed as...
10 * common/x86-xstate.h: New file. All type, function and variable
11 name prefixes changed from "i386_" to "x86_". All references
12 updated.
13 * nat/i386-cpuid.h: Renamed as...
14 * nat/x86-cpuid.h: New file. All type, function and variable name
15 prefixes changed from "i386_" to "x86_". All references updated.
16 * nat/i386-gcc-cpuid.h: Renamed as...
17 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
18 name prefixes changed from "i386_" to "x86_". All references
19 updated.
20 * nat/i386-dregs.h: Renamed as...
21 * nat/x86-dregs.h: New file. All type, function and variable name
22 prefixes changed from "i386_" to "x86_". All references updated.
23 * nat/i386-dregs.c: Renamed as...
24 * nat/x86-dregs.c: New file. All type, function and variable name
25 prefixes changed from "i386_" to "x86_". All references updated.
26
1c3569d4
MR
272014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
28
29 * varobj.c (_initialize_varobj): Move to the end of file.
30
ff55e1b5
GB
312014-08-29 Gary Benson <gbenson@redhat.com>
32
33 * common/common-exceptions.h: New file.
34 * common/common-exceptions.c: Likewise.
35 * Makefile.in (SFILES): Add common/common-exceptions.c.
36 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
37 (COMMON_OBS): Add common-exceptions.o.
38 (common-exceptions.o): New rule.
39 * exceptions.h (common-exceptions.h): Include.
40 (gdb_setjmp.h): Do not include.
41 (return_reason): Moved to common-exceptions.h.
42 (enum return_reason): Likewise.
43 (RETURN_MASK): Likewise.
44 (typedef return_mask): Likewise.
45 (enum errors): Likewise.
46 (struct gdb_exception): Likewise.
47 (exceptions_state_mc_init): Likewise.
48 (exceptions_state_mc_action_iter): Likewise.
49 (exceptions_state_mc_action_iter_1): Likewise.
50 (TRY_CATCH): Likewise.
51 (throw_exception): Likewise.
52 (throw_verror): Likewise.
53 (throw_vquit): Likewise.
54 (throw_error): Likewise.
55 (throw_quit): Likewise.
56 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
57 (enum catcher_action): Likewise.
58 (struct catcher): Likewise.
59 (current_catcher): Likewise.
60 (catcher_list_size): Likewise.
61 (exceptions_state_mc_init): Likewise.
62 (catcher_pop): Likewise.
63 (exceptions_state_mc): Likewise.
64 (exceptions_state_mc_action_iter): Likewise.
65 (exceptions_state_mc_action_iter_1): Likewise.
66 (throw_exception): Likewise.
67 (exception_messages): Likewise.
68 (exception_messages_size): Likewise.
69 (throw_it): Likewise.
70 (throw_verror): Likewise.
71 (throw_vquit): Likewise.
72 (throw_error): Likewise.
73 (throw_quit): Likewise.
74 (prepare_to_throw_exception): New function.
75
e9bcb658
GB
762014-08-29 Gary Benson <gbenson@redhat.com>
77
78 * common/gdb_setjmp.h: New file.
79 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
80 * configure.ac: Move sigsetjmp check...
81 * common/common.m4: ...here.
82 * configure: Regenerate.
83 * cp-support.c (SIGJMP_BUF): Delete.
84 (SIGSETJMP): Likewise.
85 (SIGLONGJMP): Likewise.
86 * exceptions.h (gdb_setjmp.h): Include.
87 (setjmp.h): Do not include.
88 (EXCEPTIONS_SIGJMP_BUF): Delete.
89 (EXCEPTIONS_SIGSETJMP): Likewise.
90 (EXCEPTIONS_SIGLONGJMP): Likewise.
91 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
92 from gdb_setjmp.h.
93 * exceptions.c: Likewise.
94
e3180625
GB
952014-08-29 Gary Benson <gbenson@redhat.com>
96
97 * cleanups.h: Moved to...
98 * common/cleanups.h: New file.
99 * cleanups.c: Moved to...
100 * common/cleanups.c: New file. Include common-defs.h and
101 cleanups.h. Do not include defs.h.
102 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
103 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
104 (cleanups.o): New rule.
105
e3d6ba5d
GB
1062014-08-29 Gary Benson <gbenson@redhat.com>
107
108 * common/errors.h (internal_warning): New declaration.
109 (internal_vwarning): Likewise.
110 * common/errors.c (internal_warning): New function.
111 * utils.h (internal_warning): Don't declare.
112 (internal_vwarning): Likewise.
113 * utils.c (internal_warning): Removed.
114
075c7033
GB
1152014-08-29 Gary Benson <gbenson@redhat.com>
116
117 * main.c (captured_main): Use warning during startup.
118 Prefix startup warning messages with command name.
119
91b35fd0
GB
1202014-08-29 Gary Benson <gbenson@redhat.com>
121
122 * main.c (captured_main): Handle usage errors with error.
123
b1ec390e
GB
1242014-08-29 Gary Benson <gbenson@redhat.com>
125
126 * go32-nat.c (go32_create_inferior): Replace a fprintf/
127 exit pair with a call to error. Wrap the message with _().
128
fd0ef3dd
GB
1292014-08-29 Gary Benson <gbenson@redhat.com>
130
131 * main.c (captured_main): Replace a fprintf/exit
132 pair with a call to error. Wrap the message with _().
133
e0e6bcab
GB
1342014-08-29 Gary Benson <gbenson@redhat.com>
135
136 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
137 pairs with calls to error. Wrap the message with _().
138
0d2f5c07
GB
1392014-08-29 Gary Benson <gbenson@redhat.com>
140
141 * utils.c (vwarning): Protect calls to target_terminal_ours
142 and wrap_here.
143
5df43998
GB
1442014-08-29 Gary Benson <gbenson@redhat.com>
145
146 * exceptions.c (print_flush): Protect calls to
147 target_terminal_ours and wrap_here.
148
2437fd32
GB
1492014-08-29 Gary Benson <gbenson@redhat.com>
150
151 * utils.h (filtered_printing_initialized): New declaration.
152 * utils.c (abort_with_message): New function.
153 (internal_vproblem): Use abort_with_message for first level
154 recursive internal problems, and if gdb_stderr is not set up.
155 Protect calls to target_terminal_ours, begin_line and query.
156
f1f58506
DE
1572014-08-28 Doug Evans <dje@google.com>
158
159 * symtab.c (in_prologue): Move definition to better spot.
160 (skip_prologue_using_sal): Ditto.
161
aab2f208
DE
1622014-08-28 Doug Evans <dje@google.com>
163
164 * symtab.c (find_function_start_sal): Move definition to better spot.
165
6b65d1b6
YQ
1662014-08-28 Yao Qi <yao@codesourcery.com>
167
168 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
169 found_stack_adjust in forward scan. Remove condition check
170 on found_stack_adjust which is always true. Indent the code.
171
a1b34d15
YQ
1722014-08-28 Yao Qi <yao@codesourcery.com>
173
174 * dwarf2read.c (dwarf_decode_lines): Update declaration.
175 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
176 (dwarf_decode_lines): Remove argument
177 want_line_info. Remove condition check on want_line_info.
178 Callers update.
179
d5962de5
DE
1802014-08-27 Doug Evans <dje@google.com>
181
182 * dwarf2read.c (dwarf_record_line): Fix typo.
183
9b139002
SDJ
1842014-08-27 Patrick Palka <patrick@parcs.ath.cx>
185
186 * target.h (struct target_ops::to_terminal_save_ours): Remove
187 declaration.
188 (target_terminal_save_ours): Remove macro.
189 * target-delegates.c: Regenerate.
190 * inf-child.c (inf_child_target): Don't set the nonexistent
191 field to_terminal_save_ours.
192 * inferior.h (child_terminal_save_ours): Remove declaration.
193 * terminal.h (gdb_save_tty_state): New declaration.
194 * inflow.c (child_terminal_save_ours): Rename to ...
195 (gdb_save_tty_state): ... this.
196 * tui/tui.c: Include terminal.h.
197 (tui_enable): Use gdb_save_tty_state instead of
198 target_terminal_save_ours.
199 (tui_disable): Likewise.
200
9debeba0
DE
2012014-08-25 Doug Evans <dje@google.com>
202
203 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
204 Pass NULL instead of 0 for context pointer.
205
428fc5fc
YQ
2062014-08-25 Yao Qi <yao@codesourcery.com>
207
208 * dwarf2read.c: Fix grammatical error.
209
cdc07690
YQ
2102014-08-24 Yao Qi <yao@codesourcery.com>
211
212 * dwarf2read.c (scan_partial_symbols): Update comments.
213 Rename argument 'need_pc' with 'set_addrmap'.
214 (add_partial_namespace): Rename argument 'need_pc' with
215 'set_addrmap'.
216 (add_partial_module): Likewise.
217 (add_partial_subprogram): Likewise. Update comments.
218 (dwarf2_name): Fix typo.
219
a05a36a5
DE
2202014-08-22 Doug Evans <dje@google.com>
221
222 PR 17276
223 * dwarf2read.c (dwarf_record_line_p): New function.
224 (dwarf_decode_lines_1): Ignore subsequent line number entries
225 for the same line if any entry had a non-zero discriminator.
226
252a6764
DE
2272014-08-22 Doug Evans <dje@google.com>
228
229 * buildsym.h (record_line_ftype): New typedef.
230 (record_line): Use it.
231 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
232 (dwarf_decode_lines_1): Call them.
233
510db052
YQ
2342014-08-22 Yao Qi <yao@codesourcery.com>
235
236 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
237 (ctf_end): Remove code.
238
22fd09ae
JK
2392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
242 (linux_make_corefile_notes): call update_thread_list, protected against
243 exceptions.
244
656e8868
PA
2452014-08-21 Pedro Alves <palves@redhat.com>
246
247 * infcmd.c (attach_command): Remove comment.
248
de589d04
WN
2492014-08-21 Bin Cheng <bin.cheng@arm.com>
250
251 * aarch64-linux-nat.c (dr_changed_t): Change the type from
252 unsigned LONGEST to ULONGEST.
253
2a31c623
PA
2542014-08-20 Pedro Alves <palves@redhat.com>
255
256 * Makefile.in (check-read1): New rule.
257
d36430db
JB
2582014-08-20 Joel Brobecker <brobecker@adacore.com>
259
260 * value.c (value_from_contents_and_address): Strip resolved_type's
261 typedef layers before checking its TYPE_DATA_LOCATION.
262
000339af
PA
2632014-08-20 Pedro Alves <palves@redhat.com>
264
265 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
266
5f52445b
YQ
2672014-08-20 Yao Qi <yao@codesourcery.com>
268
269 * amd64-tdep.c (amd64_classify): Add a blank line after the
270 example. Move "*/" to a new line.
271 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
272 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
273 * dwarf2read.c (psymtab_include_file_name): Likewise.
274
9a0dc9e3
PA
2752014-08-19 Andrew Burgess <aburgess@broadcom.com>
276 Pedro Alves <palves@redhat.com>
277
278 PR symtab/14604
279 PR symtab/14605
280 * ada-lang.c (coerce_unspec_val_to_type): Use
281 value_contents_copy_raw.
282 * ada-valprint.c (val_print_packed_array_elements): Adjust.
283 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
284 * cp-valprint.c (cp_print_value_fields): Let the common printing
285 code handle optimized out values.
286 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
287 * d-valprint.c (dynamic_array_type): Use
288 value_bits_any_optimized_out.
289 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
290 check_any_valid fields.
291 (check_pieced_value_bits): Delete and inline ...
292 (check_pieced_synthetic_pointer): ... here.
293 (check_pieced_value_validity): Delete.
294 (check_pieced_value_invalid): Delete.
295 (pieced_value_funcs): Remove check_validity and check_any_valid
296 fields.
297 (read_pieced_value): Use mark_value_bits_optimized_out.
298 (write_pieced_value): Switch to use
299 mark_value_bytes_optimized_out.
300 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
301 of assuming the whole value is optimized out.
302 * findvar.c (read_frame_register_value): Remove special handling
303 of optimized out registers.
304 (value_from_register): Use mark_value_bytes_optimized_out.
305 * frame-unwind.c (frame_unwind_got_optimized): Use
306 mark_value_bytes_optimized_out.
307 * jv-valprint.c (java_value_print): Adjust.
308 (java_print_value_fields): Let the common printing code handle
309 optimized out values.
310 * mips-tdep.c (mips_print_register): Remove special handling of
311 optimized out registers.
312 * opencl-lang.c (lval_func_check_validity): Delete.
313 (lval_func_check_any_valid): Delete.
314 (opencl_value_funcs): Remove check_validity and check_any_valid
315 fields.
316 * p-valprint.c (pascal_object_print_value_fields): Let the common
317 printing code handle optimized out values.
318 * stack.c (read_frame_arg): Remove special handling of optimized
319 out values. Fetch both VAL and ENTRYVAL before comparing
320 contents. Adjust to value_available_contents_eq rename.
321 * valprint.c (valprint_check_validity)
322 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
323 (val_print_array_elements): Adjust.
324 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
325 (value_bits_any_optimized_out): New function.
326 (value_entirely_covered_by_range_vector): New function, factored
327 out from value_entirely_unavailable.
328 (value_entirely_unavailable): Reimplement.
329 (value_entirely_optimized_out): New function.
330 (insert_into_bit_range_vector): New function, factored out from
331 mark_value_bits_unavailable.
332 (mark_value_bits_unavailable): Reimplement.
333 (struct ranges_and_idx): New struct.
334 (find_first_range_overlap_and_match): New function, factored out
335 from value_available_contents_bits_eq.
336 (value_available_contents_bits_eq): Rename to ...
337 (value_contents_bits_eq): ... this. Check both unavailable
338 contents and optimized out contents.
339 (value_available_contents_eq): Rename to ...
340 (value_contents_eq): ... this.
341 (allocate_value_lazy): Remove reference to the old optimized_out
342 boolean.
343 (allocate_optimized_out_value): Use
344 mark_value_bytes_optimized_out.
345 (require_not_optimized_out): Adjust to check whether the
346 optimized_out vec is empty.
347 (ranges_copy_adjusted): New function, factored out from
348 value_contents_copy_raw.
349 (value_contents_copy_raw): Also copy the optimized out ranges.
350 Assert the destination ranges aren't optimized out.
351 (value_contents_copy): Update comment, remove call to
352 require_not_optimized_out.
353 (value_contents_equal): Adjust to check whether the optimized_out
354 vec is empty.
355 (set_value_optimized_out, value_optimized_out_const): Delete.
356 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
357 New functions.
358 (value_entirely_optimized_out, value_bits_valid): Delete.
359 (value_copy): Take a VEC copy of the 'optimized_out' field.
360 (value_primitive_field): Remove special handling of optimized out.
361 (value_fetch_lazy): Assert that lazy values have no unavailable
362 regions. Use value_bits_any_optimized_out. Remove some special
363 handling for optimized out values.
364 * value.h: Add intro comment about <optimized out> and
365 <unavailable>.
366 (struct lval_funcs): Remove check_validity and check_any_valid
367 fields.
368 (set_value_optimized_out, value_optimized_out_const): Remove.
369 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
370 New declarations.
371 (value_bits_any_optimized_out): New declaration.
372 (value_bits_valid): Delete declaration.
373 (value_available_contents_eq): Rename to ...
374 (value_contents_eq): ... this, and extend comments.
375
6694c411
JK
3762014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
377
378 Fix -fsanitize=address on unreadable inferior strings.
379 * valprint.c (val_print_string): Fix access before BUFFER.
380
89a1c21a
SM
3812014-08-19 Simon Marchi <simon.marchi@ericsson.com>
382
383 * target.c (target_struct_size): Remove.
384 (target_struct_allocsize): Remove.
385 (DEFAULT_ALLOCSIZE): Remove.
386 (target_ops_p): New typedef.
387 (DEF_VEC_P (target_ops_p)): New vector type.
388 (target_structs): Change type to VEC (target_ops_p).
389 (add_target_with_completer): Replace "push" code by VEC_safe_push.
390 (find_default_run_target): Rewrite for loop following changes to
391 target_structs.
392
cb417230
JB
3932014-08-19 Joel Brobecker <brobecker@adacore.com>
394
395 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
396 Adjust code accordingly. Adjust function description comment.
397
817e0957
YQ
3982014-08-19 Yao Qi <yao@codesourcery.com>
399
400 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
401 types.
402
2974be62
AM
4032014-08-19 Alan Modra <amodra@gmail.com>
404
405 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
406 * config.in: Regenerate.
407 * configure: Regenerate.
408
34abf635
GB
4092014-08-19 Tom Tromey <tromey@redhat.com>
410 Gary Benson <gbenson@redhat.com>
411
412 * common/common-debug.h: New file.
413 * common/common-debug.c: Likewise.
414 * debug.c: Likewise.
415 * Makefile.in (SFILES): Add common/common-debug.c.
416 (HFILES_NO_SRCDIR): Add common/common-debug.h.
417 (COMMON_OBS): Add common-debug.o and debug.o.
418 (common-debug.o): New rule.
419 * common/common-defs.h: Include common-debug.h.
420 * common/agent.c (debug_agent_printf): New function.
421 (DEBUG_AGENT): Redefine.
422 * nat/i386-dregs.c (debug_printf): Undefine.
423
f6e94d78
GB
4242014-08-19 Gary Benson <gbenson@redhat.com>
425
426 * common/common-defs.h: Include print-utils.h.
427 * utils.h: Do not include print-utils.h.
428
9239eeab
GB
4292014-08-19 Tom Tromey <tromey@redhat.com>
430 Gary Benson <gbenson@redhat.com>
431
432 * common/common-types.h: New file.
433 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
434 * common/common-defs.h: Include common-types.h.
435 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
436 (ULONGEST): Remove.
437
ef87c8bb
GB
4382014-08-19 Tom Tromey <tromey@redhat.com>
439 Gary Benson <gbenson@redhat.com>
440
441 * common/errors.h: New file.
442 * common/errors.c: Likewise.
443 * Makefile.in (SFILES): Add common/errors.c.
444 (HFILES_NO_SRCDIR): Add common/errors.h.
445 (COMMON_OBS): Add errors.o.
446 (errors.o): New rule.
447 * common/common-defs.h: Include errors.h.
448 * utils.h (perror_with_name, error, verror, warning, vwarning):
449 Don't declare.
450 * common/common-utils.h: (malloc_failure, internal_error):
451 Likewise.
452
196a707b
GB
4532014-08-19 Gary Benson <gbenson@redhat.com>
454
455 * utils.c (internal_vproblem): Always print the message.
456
ded4fc8f
DE
4572014-08-18 Doug Evans <dje@google.com>
458
459 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
460
950c97d8
JB
4612014-08-18 Joel Brobecker <brobecker@adacore.com>
462
463 * ada-typeprint.c (type_is_full_subrange_of_target_type):
464 Return 0 if TYPE is dynamic.
465 (print_range): Add handling of dynamic ranges.
466
3cdcd0ce
JB
4672014-08-18 Keven Boell <keven.boell@intel.com>
468 Joel Brobecker <brobecker@adacore.com>
469
470 * gdbtypes.h (struct main_type): Add field "data_location".
471 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
472 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
473 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
474 a dynamic data location.
475 (resolve_dynamic_type): Add DW_AT_data_location handling.
476 (copy_recursive, copy_type): Copy the data_location information
477 when present.
478 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
479 * value.c (value_from_contents_and_address): Add
480 DW_AT_data_location handling.
481
08412b07
JB
4822014-08-18 Keven Boell <keven.boell@intel.com>
483 Joel Brobecker <brobecker@adacore.com>
484
485 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
486 field "get_object_address".
487 * dwarf2expr.c (execute_stack_op): Add handling for
488 DW_OP_push_object_address.
489 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
490 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
491 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
492 (dwarf_expr_get_obj_addr): New function.
493 (dwarf_expr_ctx_funcs): Add get_object_address field.
494 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
495 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
496 (dwarf2_evaluate_property): Add parameter "address". Use it.
497 (needs_get_obj_addr): New function.
498 (needs_frame_ctx_funcs): Add get_object_address field.
499 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
500 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
501 (resolve_dynamic_array): Likewise.
502
84754697
JB
5032014-08-18 Joel Brobecker <brobecker@adacore.com>
504
505 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
506 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
507 fixed value for records and unions for which some GNAT encodings
508 are present.
509
da5c522f
JB
5102014-08-18 Joel Brobecker <brobecker@adacore.com>
511
512 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
513 rewrite to avoid "else if" and "else" constructs. Should be
514 a no-op in practice.
515
0d72a7c3
JB
5162014-08-18 Joel Brobecker <brobecker@adacore.com>
517
518 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
519 of lexical block.
520
e66d4446
SC
5212014-08-15 Siva Chandra Reddy <sivachandra@google.com>
522
523 PR c++/17132
524 * eval.c: Update all calls to find_overload_match.
525 * valarith.c: Likewise.
526 (value_user_defined_cpp_op, value_user_defined_op): New
527 argument NOSIDE. Update all callers.
528 * valops.c (find_overload_match): New argument NOSIDE.
529 * value.h (find_overload_match): Update signature.
530
940df408
SC
5312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
532
533 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
534 'items' methods instead of 'iteritems' method on dictionaries.
535
699ca60a
DE
5362014-08-15 Doug Evans <dje@google.com>
537
538 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
539 closer to use.
540
37780ee5
DE
5412014-08-15 Doug Evans <dje@google.com>
542
543 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
544
0ad93d4f
DE
5452014-08-15 Doug Evans <dje@google.com>
546
547 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
548
20d8c372
DE
5492014-08-15 Doug Evans <dje@google.com>
550
551 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
552 unused.
553
cb039ba4
EZ
5542014-08-15 Eli Zaretskii <eliz@gnu.org>
555
556 * dcache.h: Include target.h, to avoid compile time warnings.
557
eb7a547a
JB
5582014-08-15 Joel Brobecker <brobecker@adacore.com>
559
560 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
561 frame_info" partial declaration.
562 * gdbarch.h: Regenerate.
563
783cecc8
YQ
5642014-08-15 Yao Qi <yao@codesourcery.com>
565
566 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
567 Add parameter 'decode_for_pst_p'. Callers update.
568
65c749e7
YQ
5692014-08-13 Yao Qi <yao@codesourcery.com>
570
571 PR build/17104
572 * configure.ac: Use local variable 'pos'.
573 * configure: Regenerated.
574
d769e349
DE
5752014-08-11 Doug Evans <dje@google.com>
576
577 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
578 message, it is redundant with "Reading symbols from ..." message.
579
24f1235e
DE
5802014-08-10 Doug Evans <xdje42@gmail.com>
581
582 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
583
dcd2e6ef
YQ
5842014-08-09 Yao Qi <yao@codesourcery.com>
585
586 PR remote/9053
587 * remote.c (remote_xfer_partial): Remove dead code.
588
070bdf0b
AA
5892014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
590
591 * ia64-linux-tdep.c: Include "regset.h".
592 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
593 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
594 (ia64_linux_supply_fpregset): New function.
595 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
596 (ia64_linux_regset_from_core_section): New function.
597 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
598 method.
599
08f9f542
AA
6002014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
601
602 * m68klinux-tdep.c: Include "regset.h".
603 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
604 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
605 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
606 (m68k_linux_regset_from_core_section): New function.
607 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
608 method.
609
8f1cee41
AA
6102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
611
612 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
613 function. Move logic to...
614 (tilegx_linux_regmap): ... this new register map.
615 (tilegx_linux_regset): Refer to register map, replace supply
616 method by regcache_supply_regset, and add collect method.
617 * tilegx-tdep.h (enum tilegx_regnum): New enum value
618 TILEGX_FIRST_EASY_REGNUM.
619
c5741217
AA
6202014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
621
622 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
623 that calls regcache_supply_regset and handles the EPC register
624 separately. Move main logic to...
625 (score7_linux_gregmap): ... this new register map.
626 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
627 (score7_linux_gregset): Refer to register map. Add collect method.
628 (score7_linux_regset_from_core_section): Replace
629 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
630 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
631 (struct regset): Delete unused forward declaraction.
632 (struct pt_regs): Delete structure definition.
633 (elf_gregset_t): Delete typedef.
634
81580573
AA
6352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
636
637 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
638 (nios2_core_regset): Add collect method.
639
ba199d7d
AA
6402014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
641
642 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
643 platform-independent and don't write to read-only input buffer.
644 (m32r_linux_collect_gregset): New function.
645 (m32r_linux_gregset): Add collect method.
646
0006a9da
AA
6472014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
648
649 * hppa-linux-tdep.c (greg_map): Rename to...
650 (hppa_linux_gregmap): ... this. Also convert to
651 regcache_map_entry format.
652 (hppa_linux_supply_regset): Delete function.
653 (hppa_linux_supply_fpregset): Delete function. Move logic to...
654 (hppa_linux_fpregmap): ... this new register map.
655 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
656 register map, replace supply method by regcache_supply_regset, and
657 add collect method regcache_collect_regset.
658
901e1b23
AA
6592014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
660
661 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
662 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
663 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
664 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
665 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
666 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
667 (frv_linux_supply_gregset): Replace main logic by call to
668 regcache_supply_regset, but keep clearing gr32-gr63.
669 (frv_linux_supply_fpregset): Delete function.
670 (frv_linux_gregset): Refer to appropriate register map and add
671 regcache_collect_regset as the collect method.
672 (frv_linux_fpregset): Likewise. Also exchange the supply method
673 by regcache_supply_regset.
674
1d6e7555
AA
6752014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
676
677 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
678 by call to alpha_supply_int_regs.
679 (alpha_linux_collect_gregset): New function.
680 (alpha_linux_supply_fpregset): Replace logic by call to
681 alpha_supply_fp_regs.
682 (alpha_linux_collect_fpregset): New function.
683 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
684
d4d793bf
AA
6852014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
686
687 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
688 by call to regcache_collect_regset.
689 (supply_gregset, supply_fpregset): Call regcache_supply_regset
690 instead of aarch64_linux_supply_gregset/_fpregset.
691 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
692 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
693 header file instead.
694 (aarch64_linux_supply_gregset, supply_gregset_from_core)
695 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
696 functions. Move logic to ...
697 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
698 register maps.
699 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
700 refer to new register maps, replace *_regset_from_core by
701 regcache_supply_regset, and also use regcache_collect_regset.
702 * aarch64-linux-tdep.h: Include "regset.h".
703 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
704 Delete prototypes.
705 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
706 macros, moved from C source file.
707 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
708 variable declarations.
709
99b7da5d
AA
7102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
711
712 * s390-linux-nat.c: Include "regset.h".
713 (regmap_gregset): Delete macro.
714 (s390_64_regmap_gregset): New register map for
715 regcache_supply/_collect_regset.
716 (s390_64_gregset): New regset.
717 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
718 (regmap_fpregset): Delete macro.
719 (s390_native_supply, s390_native_collect): Delete functions.
720 (supply_gregset, fill_gregset): Replace s390-specific regmap
721 handling by a call to regcache_supply/_collect_regset.
722 (supply_fpregset, fill_fpregset): Call regcache_supply/
723 _collect_regset instead of s390_native_supply/_collect.
724 (fetch_regset, store_regset): Likewise. Also change the last
725 parameter to a regset instead of a regmap.
726 (s390_linux_fetch_inferior_registers)
727 (390_linux_store_inferior_registers): Adjust last parameter in
728 calls to fetch_regset and store_regset.
729 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
730 (s390_gregmap): ... this. Also make static const and convert to
731 regcache_map_entry format.
732 (s390x_regmap_gregset): Delete.
733 (s390_regmap_fpregset): Rename to...
734 (s390_fpregmap): ... this. Make static const and convert to
735 regcache_map_entry format.
736 (s390_regmap_upper, s390_regmap_last_break)
737 (s390x_regmap_last_break, s390_regmap_system_call)
738 (s390_regmap_tdb): Likewise.
739 (s390_supply_regset, s390_collect_regset): Remove functions.
740 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
741 s390_supply_regset.
742 (s390_gregset, s390_fpregset, s390_upper_regset)
743 (s390_last_break_regset, s390x_last_break_regset)
744 (s390_system_call_regset, s390_tdb_regset): Make global and
745 replace s390_supply/_collect_regset by regcache_supply/
746 _collect_regset.
747 (s390x_gregset): Delete.
748 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
749 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
750 (s390_regmap_fpregset, s390_regmap_last_break)
751 (s390x_regmap_last_break, s390_regmap_system_call)
752 (s390_regmap_tdb): Delete global variable declarations.
753 (s390_gregset, s390_fpregset, s390_last_break_regset)
754 (s390x_last_break_regset, s390_system_call_regset)
755 (s390_tdb_regset): New global variable declarations.
756
0b309272
AA
7572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
758
759 * regcache.c: Include "regset.h".
760 (regcache_transfer_regset): New local function.
761 (regcache_supply_regset, regcache_collect_regset): New functions.
762 * regcache.h (struct regcache_map_entry): New structure.
763 (REGCACHE_MAP_SKIP): New enum value.
764 (regcache_supply_regset, regcache_collect_regset): New prototypes.
765
7fefa8d7
AA
7662014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
767
768 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
769 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
770 (ppc_linux_collect_gregset ): Likewise.
771 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
772 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
773 (ppc_collect_vrregset): Likewise.
774 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
775 Likewise.
776
96c4f946
YQ
7772014-08-07 Yao Qi <yao@codesourcery.com>
778
779 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
780 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
781 * remote.c (remote_read_bytes): Likewise.
782
fffbe6a8
YQ
7832014-08-07 Yao Qi <yao@codesourcery.com>
784
785 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
786
5ee8a82c
YQ
7872014-08-07 Yao Qi <yao@codesourcery.com>
788
789 PR remote/17230
790 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
791 TARGET_XFER_OK instead of 0.
792
bb974a24
GB
7932014-08-07 Gary Benson <gbenson@redhat.com>
794
795 * common/common-defs.h: Include errno.h.
796 * defs.h: Do not include errno.h.
797 * ada-typeprint.c: Likewise.
798 * c-typeprint.c: Likewise.
799 * core-regset.c: Likewise.
800 * corefile.c: Likewise.
801 * corelow.c: Likewise.
802 * event-loop.c: Likewise.
803 * f-typeprint.c: Likewise.
804 * gnu-nat.c: Likewise.
805 * go32-nat.c: Likewise.
806 * i386gnu-nat.c: Likewise.
807 * m2-typeprint.c: Likewise.
808 * nat/linux-btrace.c: Likewise.
809 * p-typeprint.c: Likewise.
810 * procfs.c: Likewise.
811 * remote-sim.c: Likewise.
812 * rs6000-nat.c: Likewise.
813 * target.c: Likewise.
814 * typeprint.c: Likewise.
815 * ui-file.c: Likewise.
816 * valops.c: Likewise.
817 * valprint.c: Likewise.
818
6d3d12eb
GB
8192014-08-07 Gary Benson <gbenson@redhat.com>
820
821 * common/common-defs.h: Include string.h.
822 * aarch64-tdep.c: Do not include string.h.
823 * ada-exp.y: Likewise.
824 * ada-lang.c: Likewise.
825 * ada-lex.l: Likewise.
826 * ada-typeprint.c: Likewise.
827 * ada-valprint.c: Likewise.
828 * aix-thread.c: Likewise.
829 * alpha-linux-tdep.c: Likewise.
830 * alpha-mdebug-tdep.c: Likewise.
831 * alpha-nat.c: Likewise.
832 * alpha-osf1-tdep.c: Likewise.
833 * alpha-tdep.c: Likewise.
834 * alphanbsd-tdep.c: Likewise.
835 * amd64-dicos-tdep.c: Likewise.
836 * amd64-linux-tdep.c: Likewise.
837 * amd64-nat.c: Likewise.
838 * amd64-sol2-tdep.c: Likewise.
839 * amd64fbsd-tdep.c: Likewise.
840 * amd64obsd-tdep.c: Likewise.
841 * arch-utils.c: Likewise.
842 * arm-linux-nat.c: Likewise.
843 * arm-linux-tdep.c: Likewise.
844 * arm-tdep.c: Likewise.
845 * arm-wince-tdep.c: Likewise.
846 * armbsd-tdep.c: Likewise.
847 * armnbsd-nat.c: Likewise.
848 * armnbsd-tdep.c: Likewise.
849 * armobsd-tdep.c: Likewise.
850 * avr-tdep.c: Likewise.
851 * ax-gdb.c: Likewise.
852 * ax-general.c: Likewise.
853 * bcache.c: Likewise.
854 * bfin-tdep.c: Likewise.
855 * breakpoint.c: Likewise.
856 * build-id.c: Likewise.
857 * buildsym.c: Likewise.
858 * c-exp.y: Likewise.
859 * c-lang.c: Likewise.
860 * c-typeprint.c: Likewise.
861 * c-valprint.c: Likewise.
862 * charset.c: Likewise.
863 * cli-out.c: Likewise.
864 * cli/cli-cmds.c: Likewise.
865 * cli/cli-decode.c: Likewise.
866 * cli/cli-dump.c: Likewise.
867 * cli/cli-interp.c: Likewise.
868 * cli/cli-logging.c: Likewise.
869 * cli/cli-script.c: Likewise.
870 * cli/cli-setshow.c: Likewise.
871 * cli/cli-utils.c: Likewise.
872 * coffread.c: Likewise.
873 * common/agent.c: Likewise.
874 * common/buffer.c: Likewise.
875 * common/buffer.h: Likewise.
876 * common/common-utils.c: Likewise.
877 * common/filestuff.c: Likewise.
878 * common/filestuff.c: Likewise.
879 * common/format.c: Likewise.
880 * common/print-utils.c: Likewise.
881 * common/rsp-low.c: Likewise.
882 * common/signals.c: Likewise.
883 * common/vec.h: Likewise.
884 * common/xml-utils.c: Likewise.
885 * core-regset.c: Likewise.
886 * corefile.c: Likewise.
887 * corelow.c: Likewise.
888 * cp-abi.c: Likewise.
889 * cp-name-parser.y: Likewise.
890 * cp-support.c: Likewise.
891 * cp-valprint.c: Likewise.
892 * cris-tdep.c: Likewise.
893 * d-exp.y: Likewise.
894 * darwin-nat.c: Likewise.
895 * dbxread.c: Likewise.
896 * dcache.c: Likewise.
897 * demangle.c: Likewise.
898 * dicos-tdep.c: Likewise.
899 * disasm.c: Likewise.
900 * doublest.c: Likewise.
901 * dsrec.c: Likewise.
902 * dummy-frame.c: Likewise.
903 * dwarf2-frame.c: Likewise.
904 * dwarf2loc.c: Likewise.
905 * dwarf2read.c: Likewise.
906 * elfread.c: Likewise.
907 * environ.c: Likewise.
908 * eval.c: Likewise.
909 * event-loop.c: Likewise.
910 * exceptions.c: Likewise.
911 * exec.c: Likewise.
912 * expprint.c: Likewise.
913 * f-exp.y: Likewise.
914 * f-lang.c: Likewise.
915 * f-typeprint.c: Likewise.
916 * f-valprint.c: Likewise.
917 * fbsd-nat.c: Likewise.
918 * findcmd.c: Likewise.
919 * findvar.c: Likewise.
920 * fork-child.c: Likewise.
921 * frame.c: Likewise.
922 * frv-linux-tdep.c: Likewise.
923 * frv-tdep.c: Likewise.
924 * gdb.c: Likewise.
925 * gdb_bfd.c: Likewise.
926 * gdbarch.c: Likewise.
927 * gdbarch.sh: Likewise.
928 * gdbtypes.c: Likewise.
929 * gnu-nat.c: Likewise.
930 * gnu-v2-abi.c: Likewise.
931 * gnu-v3-abi.c: Likewise.
932 * go-exp.y: Likewise.
933 * go-lang.c: Likewise.
934 * go32-nat.c: Likewise.
935 * guile/guile.c: Likewise.
936 * guile/scm-auto-load.c: Likewise.
937 * hppa-hpux-tdep.c: Likewise.
938 * hppa-linux-nat.c: Likewise.
939 * hppanbsd-tdep.c: Likewise.
940 * hppaobsd-tdep.c: Likewise.
941 * i386-cygwin-tdep.c: Likewise.
942 * i386-dicos-tdep.c: Likewise.
943 * i386-linux-tdep.c: Likewise.
944 * i386-nto-tdep.c: Likewise.
945 * i386-sol2-tdep.c: Likewise.
946 * i386-tdep.c: Likewise.
947 * i386bsd-tdep.c: Likewise.
948 * i386gnu-nat.c: Likewise.
949 * i386nbsd-tdep.c: Likewise.
950 * i386obsd-tdep.c: Likewise.
951 * i387-tdep.c: Likewise.
952 * ia64-libunwind-tdep.c: Likewise.
953 * ia64-linux-nat.c: Likewise.
954 * inf-child.c: Likewise.
955 * inf-ptrace.c: Likewise.
956 * inf-ttrace.c: Likewise.
957 * infcall.c: Likewise.
958 * infcmd.c: Likewise.
959 * inflow.c: Likewise.
960 * infrun.c: Likewise.
961 * interps.c: Likewise.
962 * iq2000-tdep.c: Likewise.
963 * irix5-nat.c: Likewise.
964 * jv-exp.y: Likewise.
965 * jv-lang.c: Likewise.
966 * jv-typeprint.c: Likewise.
967 * jv-valprint.c: Likewise.
968 * language.c: Likewise.
969 * linux-fork.c: Likewise.
970 * linux-nat.c: Likewise.
971 * lm32-tdep.c: Likewise.
972 * m2-exp.y: Likewise.
973 * m2-typeprint.c: Likewise.
974 * m32c-tdep.c: Likewise.
975 * m32r-linux-nat.c: Likewise.
976 * m32r-linux-tdep.c: Likewise.
977 * m32r-rom.c: Likewise.
978 * m32r-tdep.c: Likewise.
979 * m68hc11-tdep.c: Likewise.
980 * m68k-tdep.c: Likewise.
981 * m68kbsd-tdep.c: Likewise.
982 * m68klinux-nat.c: Likewise.
983 * m68klinux-tdep.c: Likewise.
984 * m88k-tdep.c: Likewise.
985 * machoread.c: Likewise.
986 * macrocmd.c: Likewise.
987 * main.c: Likewise.
988 * mdebugread.c: Likewise.
989 * mem-break.c: Likewise.
990 * memattr.c: Likewise.
991 * memory-map.c: Likewise.
992 * mep-tdep.c: Likewise.
993 * mi/mi-cmd-break.c: Likewise.
994 * mi/mi-cmd-disas.c: Likewise.
995 * mi/mi-cmd-env.c: Likewise.
996 * mi/mi-cmd-stack.c: Likewise.
997 * mi/mi-cmd-var.c: Likewise.
998 * mi/mi-cmds.c: Likewise.
999 * mi/mi-console.c: Likewise.
1000 * mi/mi-getopt.c: Likewise.
1001 * mi/mi-interp.c: Likewise.
1002 * mi/mi-main.c: Likewise.
1003 * mi/mi-parse.c: Likewise.
1004 * microblaze-rom.c: Likewise.
1005 * microblaze-tdep.c: Likewise.
1006 * mingw-hdep.c: Likewise.
1007 * minidebug.c: Likewise.
1008 * minsyms.c: Likewise.
1009 * mips-irix-tdep.c: Likewise.
1010 * mips-linux-tdep.c: Likewise.
1011 * mips-tdep.c: Likewise.
1012 * mips64obsd-tdep.c: Likewise.
1013 * mipsnbsd-tdep.c: Likewise.
1014 * mipsread.c: Likewise.
1015 * mn10300-linux-tdep.c: Likewise.
1016 * mn10300-tdep.c: Likewise.
1017 * monitor.c: Likewise.
1018 * moxie-tdep.c: Likewise.
1019 * mt-tdep.c: Likewise.
1020 * nat/linux-btrace.c: Likewise.
1021 * nat/linux-osdata.c: Likewise.
1022 * nat/linux-procfs.c: Likewise.
1023 * nat/linux-ptrace.c: Likewise.
1024 * nat/linux-waitpid.c: Likewise.
1025 * nbsd-tdep.c: Likewise.
1026 * nios2-linux-tdep.c: Likewise.
1027 * nto-procfs.c: Likewise.
1028 * nto-tdep.c: Likewise.
1029 * objc-lang.c: Likewise.
1030 * objfiles.c: Likewise.
1031 * opencl-lang.c: Likewise.
1032 * osabi.c: Likewise.
1033 * osdata.c: Likewise.
1034 * p-exp.y: Likewise.
1035 * p-lang.c: Likewise.
1036 * p-typeprint.c: Likewise.
1037 * parse.c: Likewise.
1038 * posix-hdep.c: Likewise.
1039 * ppc-linux-nat.c: Likewise.
1040 * ppc-sysv-tdep.c: Likewise.
1041 * ppcfbsd-tdep.c: Likewise.
1042 * ppcnbsd-tdep.c: Likewise.
1043 * ppcobsd-tdep.c: Likewise.
1044 * printcmd.c: Likewise.
1045 * procfs.c: Likewise.
1046 * prologue-value.c: Likewise.
1047 * python/py-auto-load.c: Likewise.
1048 * python/py-gdb-readline.c: Likewise.
1049 * ravenscar-thread.c: Likewise.
1050 * regcache.c: Likewise.
1051 * registry.c: Likewise.
1052 * remote-fileio.c: Likewise.
1053 * remote-m32r-sdi.c: Likewise.
1054 * remote-mips.c: Likewise.
1055 * remote-notif.c: Likewise.
1056 * remote-sim.c: Likewise.
1057 * remote.c: Likewise.
1058 * reverse.c: Likewise.
1059 * rs6000-aix-tdep.c: Likewise.
1060 * ser-base.c: Likewise.
1061 * ser-go32.c: Likewise.
1062 * ser-mingw.c: Likewise.
1063 * ser-pipe.c: Likewise.
1064 * ser-tcp.c: Likewise.
1065 * ser-unix.c: Likewise.
1066 * serial.c: Likewise.
1067 * sh-tdep.c: Likewise.
1068 * sh64-tdep.c: Likewise.
1069 * shnbsd-tdep.c: Likewise.
1070 * skip.c: Likewise.
1071 * sol-thread.c: Likewise.
1072 * solib-dsbt.c: Likewise.
1073 * solib-frv.c: Likewise.
1074 * solib-osf.c: Likewise.
1075 * solib-som.c: Likewise.
1076 * solib-spu.c: Likewise.
1077 * solib-target.c: Likewise.
1078 * solib.c: Likewise.
1079 * somread.c: Likewise.
1080 * source.c: Likewise.
1081 * sparc-nat.c: Likewise.
1082 * sparc-sol2-tdep.c: Likewise.
1083 * sparc-tdep.c: Likewise.
1084 * sparc64-tdep.c: Likewise.
1085 * sparc64fbsd-tdep.c: Likewise.
1086 * sparc64nbsd-tdep.c: Likewise.
1087 * sparcnbsd-tdep.c: Likewise.
1088 * spu-linux-nat.c: Likewise.
1089 * spu-multiarch.c: Likewise.
1090 * spu-tdep.c: Likewise.
1091 * stabsread.c: Likewise.
1092 * stack.c: Likewise.
1093 * std-regs.c: Likewise.
1094 * symfile.c: Likewise.
1095 * symmisc.c: Likewise.
1096 * symtab.c: Likewise.
1097 * target.c: Likewise.
1098 * thread.c: Likewise.
1099 * tilegx-linux-nat.c: Likewise.
1100 * tilegx-tdep.c: Likewise.
1101 * top.c: Likewise.
1102 * tracepoint.c: Likewise.
1103 * tui/tui-command.c: Likewise.
1104 * tui/tui-data.c: Likewise.
1105 * tui/tui-disasm.c: Likewise.
1106 * tui/tui-file.c: Likewise.
1107 * tui/tui-layout.c: Likewise.
1108 * tui/tui-out.c: Likewise.
1109 * tui/tui-regs.c: Likewise.
1110 * tui/tui-source.c: Likewise.
1111 * tui/tui-stack.c: Likewise.
1112 * tui/tui-win.c: Likewise.
1113 * tui/tui-windata.c: Likewise.
1114 * tui/tui-winsource.c: Likewise.
1115 * typeprint.c: Likewise.
1116 * ui-file.c: Likewise.
1117 * ui-out.c: Likewise.
1118 * user-regs.c: Likewise.
1119 * utils.c: Likewise.
1120 * v850-tdep.c: Likewise.
1121 * valarith.c: Likewise.
1122 * valops.c: Likewise.
1123 * valprint.c: Likewise.
1124 * value.c: Likewise.
1125 * varobj.c: Likewise.
1126 * vax-tdep.c: Likewise.
1127 * vaxnbsd-tdep.c: Likewise.
1128 * vaxobsd-tdep.c: Likewise.
1129 * windows-nat.c: Likewise.
1130 * xcoffread.c: Likewise.
1131 * xml-support.c: Likewise.
1132 * xstormy16-tdep.c: Likewise.
1133 * xtensa-linux-nat.c: Likewise.
1134
dccbb609
GB
11352014-08-07 Gary Benson <gbenson@redhat.com>
1136
1137 * common/common-defs.h: Include gdb_assert.h.
1138 * aarch64-tdep.c: Do not include gdb_assert.h.
1139 * addrmap.c: Likewise.
1140 * aix-thread.c: Likewise.
1141 * alpha-linux-tdep.c: Likewise.
1142 * alpha-mdebug-tdep.c: Likewise.
1143 * alphanbsd-tdep.c: Likewise.
1144 * amd64-nat.c: Likewise.
1145 * amd64-tdep.c: Likewise.
1146 * amd64bsd-nat.c: Likewise.
1147 * amd64fbsd-nat.c: Likewise.
1148 * amd64fbsd-tdep.c: Likewise.
1149 * amd64nbsd-nat.c: Likewise.
1150 * amd64nbsd-tdep.c: Likewise.
1151 * amd64obsd-nat.c: Likewise.
1152 * amd64obsd-tdep.c: Likewise.
1153 * arch-utils.c: Likewise.
1154 * arm-tdep.c: Likewise.
1155 * armbsd-tdep.c: Likewise.
1156 * auxv.c: Likewise.
1157 * bcache.c: Likewise.
1158 * bfin-tdep.c: Likewise.
1159 * blockframe.c: Likewise.
1160 * breakpoint.c: Likewise.
1161 * bsd-kvm.c: Likewise.
1162 * bsd-uthread.c: Likewise.
1163 * buildsym.c: Likewise.
1164 * c-exp.y: Likewise.
1165 * c-lang.c: Likewise.
1166 * charset.c: Likewise.
1167 * cleanups.c: Likewise.
1168 * cli-out.c: Likewise.
1169 * cli/cli-decode.c: Likewise.
1170 * cli/cli-dump.c: Likewise.
1171 * cli/cli-logging.c: Likewise.
1172 * cli/cli-script.c: Likewise.
1173 * cli/cli-utils.c: Likewise.
1174 * coffread.c: Likewise.
1175 * common/common-utils.c: Likewise.
1176 * common/queue.h: Likewise.
1177 * common/signals.c: Likewise.
1178 * common/vec.h: Likewise.
1179 * complaints.c: Likewise.
1180 * completer.c: Likewise.
1181 * corelow.c: Likewise.
1182 * cp-abi.c: Likewise.
1183 * cp-name-parser.y: Likewise.
1184 * cp-namespace.c: Likewise.
1185 * cp-support.c: Likewise.
1186 * cris-tdep.c: Likewise.
1187 * dbxread.c: Likewise.
1188 * dictionary.c: Likewise.
1189 * doublest.c: Likewise.
1190 * dsrec.c: Likewise.
1191 * dummy-frame.c: Likewise.
1192 * dwarf2-frame-tailcall.c: Likewise.
1193 * dwarf2-frame.c: Likewise.
1194 * dwarf2expr.c: Likewise.
1195 * dwarf2loc.c: Likewise.
1196 * dwarf2read.c: Likewise.
1197 * eval.c: Likewise.
1198 * event-loop.c: Likewise.
1199 * exceptions.c: Likewise.
1200 * expprint.c: Likewise.
1201 * f-valprint.c: Likewise.
1202 * fbsd-nat.c: Likewise.
1203 * findvar.c: Likewise.
1204 * frame-unwind.c: Likewise.
1205 * frame.c: Likewise.
1206 * frv-tdep.c: Likewise.
1207 * gcore.c: Likewise.
1208 * gdb-dlfcn.c: Likewise.
1209 * gdb_bfd.c: Likewise.
1210 * gdbarch.c: Likewise.
1211 * gdbarch.sh: Likewise.
1212 * gdbtypes.c: Likewise.
1213 * gnu-nat.c: Likewise.
1214 * gnu-v3-abi.c: Likewise.
1215 * go-lang.c: Likewise.
1216 * guile/scm-exception.c: Likewise.
1217 * guile/scm-gsmob.c: Likewise.
1218 * guile/scm-lazy-string.c: Likewise.
1219 * guile/scm-math.c: Likewise.
1220 * guile/scm-pretty-print.c: Likewise.
1221 * guile/scm-safe-call.c: Likewise.
1222 * guile/scm-utils.c: Likewise.
1223 * guile/scm-value.c: Likewise.
1224 * h8300-tdep.c: Likewise.
1225 * hppa-hpux-nat.c: Likewise.
1226 * hppa-tdep.c: Likewise.
1227 * hppanbsd-tdep.c: Likewise.
1228 * hppaobsd-tdep.c: Likewise.
1229 * i386-darwin-nat.c: Likewise.
1230 * i386-darwin-tdep.c: Likewise.
1231 * i386-nto-tdep.c: Likewise.
1232 * i386-tdep.c: Likewise.
1233 * i386bsd-nat.c: Likewise.
1234 * i386fbsd-tdep.c: Likewise.
1235 * i386gnu-nat.c: Likewise.
1236 * i386nbsd-tdep.c: Likewise.
1237 * i386obsd-tdep.c: Likewise.
1238 * i387-tdep.c: Likewise.
1239 * ia64-libunwind-tdep.c: Likewise.
1240 * ia64-tdep.c: Likewise.
1241 * inf-ptrace.c: Likewise.
1242 * inf-ttrace.c: Likewise.
1243 * infcall.c: Likewise.
1244 * infcmd.c: Likewise.
1245 * infrun.c: Likewise.
1246 * inline-frame.c: Likewise.
1247 * interps.c: Likewise.
1248 * jv-lang.c: Likewise.
1249 * jv-typeprint.c: Likewise.
1250 * linux-fork.c: Likewise.
1251 * linux-nat.c: Likewise.
1252 * linux-thread-db.c: Likewise.
1253 * m32c-tdep.c: Likewise.
1254 * m32r-linux-nat.c: Likewise.
1255 * m32r-tdep.c: Likewise.
1256 * m68k-tdep.c: Likewise.
1257 * m68kbsd-nat.c: Likewise.
1258 * m68kbsd-tdep.c: Likewise.
1259 * m88k-tdep.c: Likewise.
1260 * machoread.c: Likewise.
1261 * macroexp.c: Likewise.
1262 * macrotab.c: Likewise.
1263 * maint.c: Likewise.
1264 * mdebugread.c: Likewise.
1265 * memory-map.c: Likewise.
1266 * mep-tdep.c: Likewise.
1267 * mi/mi-common.c: Likewise.
1268 * microblaze-tdep.c: Likewise.
1269 * mingw-hdep.c: Likewise.
1270 * mips-linux-nat.c: Likewise.
1271 * mips-linux-tdep.c: Likewise.
1272 * mips-tdep.c: Likewise.
1273 * mips64obsd-tdep.c: Likewise.
1274 * mipsnbsd-tdep.c: Likewise.
1275 * mn10300-linux-tdep.c: Likewise.
1276 * mn10300-tdep.c: Likewise.
1277 * moxie-tdep.c: Likewise.
1278 * mt-tdep.c: Likewise.
1279 * nat/linux-btrace.c: Likewise.
1280 * nat/linux-osdata.c: Likewise.
1281 * nat/linux-ptrace.c: Likewise.
1282 * nat/mips-linux-watch.c: Likewise.
1283 * nios2-linux-tdep.c: Likewise.
1284 * nios2-tdep.c: Likewise.
1285 * objc-lang.c: Likewise.
1286 * objfiles.c: Likewise.
1287 * obsd-nat.c: Likewise.
1288 * opencl-lang.c: Likewise.
1289 * osabi.c: Likewise.
1290 * parse.c: Likewise.
1291 * ppc-linux-nat.c: Likewise.
1292 * ppc-sysv-tdep.c: Likewise.
1293 * ppcfbsd-nat.c: Likewise.
1294 * ppcfbsd-tdep.c: Likewise.
1295 * ppcnbsd-nat.c: Likewise.
1296 * ppcnbsd-tdep.c: Likewise.
1297 * ppcobsd-nat.c: Likewise.
1298 * ppcobsd-tdep.c: Likewise.
1299 * printcmd.c: Likewise.
1300 * procfs.c: Likewise.
1301 * prologue-value.c: Likewise.
1302 * psymtab.c: Likewise.
1303 * python/py-lazy-string.c: Likewise.
1304 * python/py-value.c: Likewise.
1305 * regcache.c: Likewise.
1306 * reggroups.c: Likewise.
1307 * registry.c: Likewise.
1308 * remote-sim.c: Likewise.
1309 * remote.c: Likewise.
1310 * rs6000-aix-tdep.c: Likewise.
1311 * rs6000-tdep.c: Likewise.
1312 * s390-linux-tdep.c: Likewise.
1313 * score-tdep.c: Likewise.
1314 * ser-base.c: Likewise.
1315 * ser-mingw.c: Likewise.
1316 * sh-tdep.c: Likewise.
1317 * sh64-tdep.c: Likewise.
1318 * solib-darwin.c: Likewise.
1319 * solib-spu.c: Likewise.
1320 * solib-svr4.c: Likewise.
1321 * source.c: Likewise.
1322 * sparc-nat.c: Likewise.
1323 * sparc-sol2-tdep.c: Likewise.
1324 * sparc-tdep.c: Likewise.
1325 * sparc64-sol2-tdep.c: Likewise.
1326 * sparc64-tdep.c: Likewise.
1327 * sparc64fbsd-tdep.c: Likewise.
1328 * sparc64nbsd-tdep.c: Likewise.
1329 * sparc64obsd-tdep.c: Likewise.
1330 * sparcnbsd-tdep.c: Likewise.
1331 * sparcobsd-tdep.c: Likewise.
1332 * spu-multiarch.c: Likewise.
1333 * spu-tdep.c: Likewise.
1334 * stabsread.c: Likewise.
1335 * stack.c: Likewise.
1336 * symfile.c: Likewise.
1337 * symtab.c: Likewise.
1338 * target-descriptions.c: Likewise.
1339 * target-memory.c: Likewise.
1340 * target.c: Likewise.
1341 * tic6x-linux-tdep.c: Likewise.
1342 * tic6x-tdep.c: Likewise.
1343 * tilegx-linux-nat.c: Likewise.
1344 * tilegx-tdep.c: Likewise.
1345 * top.c: Likewise.
1346 * tramp-frame.c: Likewise.
1347 * tui/tui-out.c: Likewise.
1348 * tui/tui-winsource.c: Likewise.
1349 * ui-out.c: Likewise.
1350 * user-regs.c: Likewise.
1351 * utils.c: Likewise.
1352 * v850-tdep.c: Likewise.
1353 * valops.c: Likewise.
1354 * value.c: Likewise.
1355 * varobj.c: Likewise.
1356 * vax-nat.c: Likewise.
1357 * xml-syscall.c: Likewise.
1358 * xml-tdesc.c: Likewise.
1359 * xstormy16-tdep.c: Likewise.
1360 * xtensa-linux-nat.c: Likewise.
1361 * xtensa-tdep.c: Likewise.
1362
e76df0d0
GB
13632014-08-07 Gary Benson <gbenson@redhat.com>
1364
1365 * common/common-defs.h: Include common-utils.h.
1366 * defs.h: Do not include common-utils.h.
1367 * common/gdb_assert.h: Likewise.
1368 * darwin-nat.h: Likewise.
1369 * nat/linux-btrace.c: Likewise.
1370 * target/waitstatus.h: Likewise.
1371
4cb9c816
GB
13722014-08-07 Gary Benson <gbenson@redhat.com>
1373
1374 * common/common-defs.h: Include ptid.h.
1375 * defs.h: Do not include ptid.h.
1376 * inferior.h: Likewise.
1377 * infrun.h: Likewise.
1378 * nat/linux-btrace.h: Likewise.
1379 * nat/linux-osdata.h: Likewise.
1380 * target/waitstatus.h: Likewise.
1381
3995eeee
GB
13822014-08-07 Gary Benson <gbenson@redhat.com>
1383
1384 * common/common-defs.h: Include gdb_locale.h.
1385 * defs.h: Do not include gdb_locale.h.
1386
cb9f1a9b
GB
13872014-08-07 Gary Benson <gbenson@redhat.com>
1388
1389 * common/common-defs.h: Include gdb/signals.h.
1390 * defs.h: Do not include gdb/signals.h.
1391
a5fceff8
GB
13922014-08-07 Gary Benson <gbenson@redhat.com>
1393
1394 * common/common-defs.h: Include pathmax.h.
1395 * defs.h: Do not include pathmax.h.
1396
b9391142
GB
13972014-08-07 Gary Benson <gbenson@redhat.com>
1398
1399 * common/common-defs.h: Include libiberty.h.
1400 * defs.h: Do not include libiberty.h.
1401 * common/queue.h: Likewise.
1402 * cp-name-parser.y: Likewise.
1403 * mi/mi-cmd-catch.c: Likewise.
1404 * python/python.c: Likewise.
1405
0e443c87
GB
14062014-08-07 Gary Benson <gbenson@redhat.com>
1407
1408 * common/common-defs.h: Include ansidecl.h.
1409 * defs.h: Do not include ansidecl.h.
1410 * common/buffer.h: Likewise.
1411 * common/common-utils.h: Likewise.
1412
8ebb3f56
GB
14132014-08-07 Gary Benson <gbenson@redhat.com>
1414
1415 * common/common-defs.h: Include stddef.h.
1416 * defs.h: Do not include stddef.h.
1417 * common/common-utils.h: Likewise.
1418 * amd64fbsd-nat.c: Likewise.
1419 * bcache.c: Likewise.
1420 * charset.c: Likewise.
1421 * common/buffer.h: Likewise.
1422 * common/vec.h: Likewise.
1423 * i386bsd-nat.c: Likewise.
1424 * nat/linux-btrace.h: Likewise.
1425 * ppcfbsd-nat.c: Likewise.
1426 * ppcnbsd-tdep.h: Likewise.
1427 * ppcobsd-nat.c: Likewise.
1428 * ppcobsd-tdep.h: Likewise.
1429 * python/py-gdb-readline.c: Likewise.
1430
8980bdf6
GB
14312014-08-07 Gary Benson <gbenson@redhat.com>
1432
1433 * common/common-defs.h: Include stdarg.h.
1434 * defs.h: Do not include stdarg.h.
1435 * ada-lang.c: Likewise.
1436 * common/common-utils.h: Likewise.
1437 * guile/scm-string.c: Likewise.
1438 * guile/scm-utils.c: Likewise.
1439 * m32c-tdep.c: Likewise.
1440
d7096f71
GB
14412014-08-07 Gary Benson <gbenson@redhat.com>
1442
1443 * common/common-defs.h: Include stdlib.h.
1444 * defs.h: Do not include stdlib.h.
1445 * addrmap.c: Likewise.
1446 * bcache.c: Likewise.
1447 * common/buffer.c: Likewise.
1448 * common/common-utils.c: Likewise.
1449 * cp-name-parser.y: Likewise.
1450 * go32-nat.c: Likewise.
1451 * mn10300-linux-tdep.c: Likewise.
1452 * nat/linux-osdata.c: Likewise.
1453 * tui/tui.c: Likewise.
1454 * windows-nat.c: Likewise.
1455
d02f550d
GB
14562014-08-07 Gary Benson <gbenson@redhat.com>
1457
1458 * common/common-defs.h: Include stdio.h.
1459 * defs.h: Do not include stdio.h.
1460 * ada-lang.c: Likewise.
1461 * common/buffer.c: Likewise.
1462 * common/common-utils.c: Likewise.
1463 * cp-name-parser.y: Likewise.
1464 * gnu-nat.c: Likewise.
1465 * go32-nat.c: Likewise.
1466 * i386gnu-nat.c: Likewise.
1467 * proc-api.c: Likewise.
1468 * proc-events.c: Likewise.
1469 * proc-flags.c: Likewise.
1470 * proc-why.c: Likewise.
1471 * python/python-internal.h: Likewise.
1472 * target-memory.c: Likewise.
1473 * tui/tui-io.c: Likewise.
1474 * tui/tui.c: Likewise.
1475
b6d7a4bf
SM
14762014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1477
1478 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1479 (scan_dyntag_auxv): Same.
1480
af19829b
YQ
14812014-08-06 Yao Qi <yao@codesourcery.com>
1482
1483 * amd64-linux-nat.c: Remove duplicated include
1484 "x86-linux-nat.h".
1485 * i386-linux-nat.c: Likewise.
1486
8e07a239
YQ
14872014-08-06 Yao Qi <yao@codesourcery.com>
1488
1489 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1490 operand" with "Special opcode" in comments.
1491
7bfe8241
GB
14922014-08-05 Gary Benson <gbenson@redhat.com>
1493
1494 * interps.c (initialize_interps): Remove prototype.
1495 (interpreter_initialized): Remove static global.
1496 (interp_add): Do not call initialize_interps.
1497 (initialize_interps): Remove function.
1498
d6c95504
GB
14992014-08-05 Gary Benson <gbenson@redhat.com>
1500
1501 * utils.c (vwarning): Remove spurious va_end.
1502
241fd515
AM
15032014-08-05 Alan Modra <amodra@gmail.com>
1504
1505 * charset.c (convert_between_encodings): Cast result of obstack_base.
1506 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1507 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1508 (read_unwind_info): Use size_t for some locals.
1509 * jit.c (finalize_symtab): Likewise.
1510 * utils.c (hashtab_obstack_allocate): Likewise.
1511 * symmisc.c (print_objfile_statistics): Update format strings.
1512
dc304a94
JK
15132014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1514
1515 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1516 (Changes in GDB 7.8): ... here.
1517
3cecbbbe
TT
15182014-08-04 Tom Tromey <tromey@redhat.com>
1519
1520 * target.c (set_targetdebug): New function.
1521 (initialize_targets): Pass set_targetdebug when creating "set
1522 debug target".
1523
6908c509
JB
15242014-08-01 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1527 if detecting a variable-sized field that is not the last field.
1528 Fix struct type length computation.
1529
53e8f97d
JB
15302014-08-01 Joel Brobecker <brobecker@adacore.com>
1531
1532 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1533 Add debug trace.
1534
e068c55d
JB
15352014-08-01 Joel Brobecker <brobecker@adacore.com>
1536
1537 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1538 Remove "+ 8" offset in computation of CHAIN_VMA.
1539
4d4ca2a1
DE
15402014-07-31 Doug Evans <dje@google.com>
1541
1542 * inflow.c (child_terminal_inferior): Add comment.
1543 (child_terminal_ours_for_output): Add comment.
1544 (child_terminal_ours): Add comment.
1545 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1546 (linux_nat_terminal_ours): Add comment.
1547
462f517e
GB
15482014-07-31 Gary Benson <gbenson@redhat.com>
1549
1550 * common/btrace-common.h: Do not include defs.h or server.h.
1551 * nat/mips-linux-watch.h: Likewise.
1552 * gdb-dlfcn.h: Do not include defs.h.
1553 * tracefile.h: Likewise.
1554
74228e77
RM
15552014-07-30 Roland McGrath <mcgrathr@google.com>
1556
1557 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1558
014f9477
TT
15592014-07-30 Tom Tromey <tromey@redhat.com>
1560
1561 * bsd-kvm.c (bsd_kvm_open): Constify.
1562 * corelow.c (core_open): Constify.
1563 * ctf.c (ctf_open): Constify.
1564 * dbug-rom.c (dbug_open): Constify.
1565 * exec.c (exec_open): Constify.
1566 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1567 * microblaze-rom.c (picobug_open): Constify.
1568 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1569 Constify.
1570 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1571 * record-btrace.c (record_btrace_open): Constify.
1572 * record-full.c (record_full_core_open_1, record_full_open_1)
1573 (record_full_open): Constify.
1574 * remote-m32r-sdi.c (m32r_open): Constify.
1575 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1576 (rockhopper_open, lsi_open): Constify.
1577 * remote-sim.c (gdbsim_open): Constify.
1578 * remote.c (remote_open, extended_remote_open, remote_open_1):
1579 Constify.
1580 * target.h (struct target_ops) <to_open>: Make "arg" const.
1581 * tracefile-tfile.c (tfile_open): Constify.
1582
e799154c
TT
15832014-07-30 Tom Tromey <tromey@redhat.com>
1584
1585 * breakpoint.c (map_breakpoint_numbers): Update.
1586 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1587 (get_number_const): New function.
1588 (get_number): Rewrite using get_number_const.
1589 (init_number_or_range): Make "string" const.
1590 (number_is_in_list): Make "list" const.
1591 * cli/cli-utils.h (get_number_const): Declare.
1592 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1593 (init_number_or_range, number_is_in_list): Update.
1594 * printcmd.c (map_display_numbers): Update.
1595 * value.c (value_from_history_ref): Constify.
1596 * value.h (value_from_history_ref): Update.
1597
5f08566b
TT
15982014-07-30 Tom Tromey <tromey@redhat.com>
1599
1600 * corefile.c (hook_type, call_extra_exec_file_hooks)
1601 (specify_exec_file_hook): Constify.
1602 * exec.c (exec_file_attach): Make "filename" const.
1603 * gdbcore.h (deprecated_exec_file_display_hook)
1604 (specify_exec_file_hook, exec_file_attach): Constify.
1605 * main.c (captured_main): Use catch_command_errors_const.
1606
8981c758
TT
16072014-07-30 Tom Tromey <tromey@redhat.com>
1608
1609 * target.c (open_target): New function.
1610 (add_target_with_completer, add_deprecated_target_alias): Use
1611 set_cmd_sfunc, set_cmd_context.
1612 (debug_to_open): Remove.
1613 (setup_target_debug): Update.
1614
a1c7835a
YQ
16152014-07-30 Yao Qi <yao@codesourcery.com>
1616
1617 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1618 comments.
1619 * parse.c (exp_iterate): Update comments.
1620
976411d6
GB
16212014-07-30 Gary Benson <gbenson@redhat.com>
1622
1623 * common/common-defs.h: New file.
1624 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1625 * defs.h: Include common-defs.h.
1626 Do not include config.h or build-gnulib/config.h.
1627
5d4848a4
GB
16282014-07-30 Gary Benson <gbenson@redhat.com>
1629
1630 * common/common-utils.h: Do not include config.h.
1631 * nat/linux-btrace.h: Likewise.
1632
d41f6d8e
GB
16332014-07-30 Gary Benson <gbenson@redhat.com>
1634
1635 * btrace.c: Include defs.h.
1636 * common/ptid.c: Include defs.h or server.h as appropriate.
1637 * nat/mips-linux-watch.c: Likewise.
1638
84202f9c
TT
16392014-07-29 Tom Tromey <tromey@redhat.com>
1640
1641 * target.c (target_is_pushed): Simplify.
1642
2530441c
JB
16432014-07-29 Joel Brobecker <brobecker@adacore.com>
1644
1645 GDB 7.8 released.
1646
7e09a223
YQ
16472014-07-29 Yao Qi <yao@codesourcery.com>
1648
1649 PR gdb/17206
1650 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1651
7ebdbe92
DE
16522014-07-28 Doug Evans <xdje42@gmail.com>
1653
1654 PR guile/17203
1655 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1656 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1657 parameters.
1658
f347ffc9
WN
16592014-07-28 Will Newton <will.newton@linaro.org>
1660
1661 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1662 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1663 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1664 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1665 (THUMB2_EABI_SYSCALL): Likewise.
1666 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1667 struct tramp_frame.
1668 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1669 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1670
37c5f1f7
DE
16712014-07-27 Doug Evans <xdje42@gmail.com>
1672
1673 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1674
0c3abbc7
DE
16752014-07-27 Doug Evans <xdje42@gmail.com>
1676
1677 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1678
e76c5d17
DE
16792014-07-26 Ludovic Courtès <ludo@gnu.org>
1680 Doug Evans <xdje42@gmail.com>
1681
1682 PR guile/17146
1683 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1684 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1685 * configure.ac: Try to use guild to compile an scm file, if it fails
1686 then disable guile support.
1687 * configure: Regenerate.
1688 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1689 GUILE_FILE_LIST.
1690 (GUILE_COMPILED_FILES): New variable.
1691 (GUILE_FILES) Update.
1692 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1693 (stamp-guile): Compile scm files.
1694 * guile/guile.c (boot_guile_support): New function.
1695 (standard_throw_args_p): New function.
1696 (print_standard_throw_error, print_throw_error): New functions.
1697 (handle_boot_error): New function.
1698 (initialize_scheme_side): Rewrite to call boot_guile_support.
1699 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1700 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1701
186fcde0
DE
17022014-07-26 Ludovic Courtès <ludo@gnu.org>
1703 Doug Evans <xdje42@gmail.com>
1704
1705 PR guile/17146
1706 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1707 * guile/lib/gdb/support.scm: New file.
1708 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1709 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1710 All uses updated.
1711 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1712 All uses updated.
1713 (%assert-type): Ditto, and renamed to assert-type.
1714 (%exception-print-style): Delete.
1715
4df42755
DE
17162014-07-26 Doug Evans <xdje42@gmail.com>
1717
1718 PR build/17105
1719 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1720 * configure: Regenerate.
1721 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1722 PYTHON_FILES.
1723 (PYTHON_FILES): New variable.
1724 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1725 (GUILE_FILES): New variable.
1726 (stamp-python, install-python, uninstall-python): Handle empty
1727 file list.
1728 (stamp-guile, install-guile, uninstall-guile): Ditto.
1729
ee7333ae
DE
17302014-07-26 Doug Evans <xdje42@gmail.com>
1731
1732 PR guile/17177
1733 * guile/lib/gdb.scm (pretty-printers): Export.
1734 (set-pretty-printers!): Export.
1735 * guile/lib/gdb/printing.scm (gdb module): Update.
1736 (prepend-pretty-printer!, append-pretty-printer!): Update.
1737 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1738 (pretty_printer_list_var): Delete.
1739 (pretty_printer_list): New static global.
1740 (gdbscm_pretty_printers): New function.
1741 (gdbscm_set_pretty_printers_x): New function.
1742 (ppscm_find_pretty_printer_from_gdb): Update.
1743 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1744 (gdbscm_initialize_pretty_printers): Update.
1745
74edf516
DE
17462014-07-26 Doug Evans <xdje42@gmail.com>
1747
1748 PR 17185
1749 * configure.ac: Add check for header gc/gc.h.
1750 Add check for function setenv.
1751 * configure: Regenerate.
1752 * config.in: Regenerate.
1753 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1754
d54398a7
MR
17552014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1756
1757 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1758 variation in gdbarch matching.
1759
ab16fce8
TT
17602014-07-25 Tom Tromey <tromey@redhat.com>
1761
1762 * exec.c (using_exec_ops): Remove.
1763 (exec_close_1): Update. Remove extraneous block, reindent.
1764 (add_target_sections): Use target_is_pushed.
1765
88056fbb
PA
17662014-07-25 Pedro Alves <palves@redhat.com>
1767
1768 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1769 * monitor.c (monitor_create_inferior): Likewise.
1770 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1771 * remote-sim.c (gdbsim_create_inferior): Likewise.
1772 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1773 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1774 * windows-nat.c (do_initial_windows_stuff): Likewise.
1775
70509625
PA
17762014-07-25 Pedro Alves <palves@redhat.com>
1777
1778 * NEWS: Mention signal passing and "signal" command changes.
1779 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1780 comment.
1781 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1782 call.
1783 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1784 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1785 (jump_command): Adjust clear_proceed_status call.
1786 (signal_command): Warn if other thread that are resumed have
1787 signals that will be delivered. Adjust clear_proceed_status call.
1788 (until_next_command, finish_command)
1789 (proceed_after_attach_callback, attach_command_post_wait)
1790 (attach_command): Adjust clear_proceed_status call.
1791 * infrun.c (proceed_after_vfork_done): Likewise.
1792 (proceed_after_attach_callback): Adjust comment.
1793 (clear_proceed_status_thread): Clear stop_signal if not in pass
1794 state.
1795 (clear_proceed_status_callback): Delete.
1796 (clear_proceed_status): New 'step' parameter. Only clear the
1797 proceed status of threads the command being prepared is about to
1798 resume.
1799 (proceed): If passed in an explicit signal, override stop_signal
1800 with it. Don't pass the last stop signal to the thread we're
1801 resuming.
1802 (init_wait_for_inferior): Adjust clear_proceed_status call.
1803 (switch_back_to_stepped_thread): Clear the signal if it should not
1804 be passed.
1805 * infrun.h (clear_proceed_status): New 'step' parameter.
1806 (user_visible_resume_ptid): Add comment.
1807 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1808 signal is in pass state.
1809 * remote.c (append_pending_thread_resumptions): Likewise.
1810 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1811
d8be2939
TT
18122014-07-25 Tom Tromey <tromey@redhat.com>
1813
1814 * target.h (target_stopped_data_address)
1815 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1816 parentheses.
1817
7d0d9d2b
PL
18182014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1819
1820 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1821 comments.
1822 (avr_pointer_to_address): Likewise.
1823
e9e7f724
TT
18242014-07-24 Tom Tromey <tromey@redhat.com>
1825
1826 * monitor.c (compile_pattern): Update.
1827 * target.h (struct target_ops) <to_shortname, to_longname,
1828 to_doc>: Now const.
1829
1947513d
TT
18302014-07-24 Tom Tromey <tromey@redhat.com>
1831
1832 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1833 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1834 (add_info_alias, add_com): Make "doc" const.
1835 (print_doc_line): Make "str" const.
1836 (delete_cmd): Update.
1837 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1838 (print_doc_line): Update.
1839 * cli/cli-script.c (document_command): Update.
1840 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1841 (add_com, add_info, add_info_alias): Update.
1842 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1843 * python/py-cmd.c (cmdpy_destroyer): Update.
1844
64e61d29
TT
18452014-07-24 Tom Tromey <tromey@redhat.com>
1846
1847 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1848 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1849 (help_cmd_list): Constify.
1850 (lookup_cmd): Update.
1851 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1852 const.
1853 (help_cmd_list, apropos_cmd): Update.
1854 * cli/cli-script.c (show_user): Update.
1855 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1856 * cli/cli-setshow.h (cmd_show_list): Update.
1857 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1858 (cmd_show_list): Update.
1859 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1860 * python/py-cmd.c (cmdpy_destroyer): Update.
1861
429e55ea
TT
18622014-07-24 Tom Tromey <tromey@redhat.com>
1863
1864 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1865 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1866 const.
1867 * command.h (deprecate_cmd): Update.
1868 * maint.c (maintenance_do_deprecate): Add casts.
1869
64669f3b
TT
18702014-07-24 Tom Tromey <tromey@redhat.com>
1871
1872 * cli/cli-decode.c (help_cmd): Make parameter "const".
1873 * cli/cli-decode.h (help_cmd): Update.
1874
d3d3328b
TT
18752014-07-24 Tom Tromey <tromey@redhat.com>
1876
1877 * stack.c (up_silently_base, down_silently_base): Make argument
1878 const.
1879
414842dc
TT
18802014-07-24 Tom Tromey <tromey@redhat.com>
1881
1882 * solib.c (solib_add): Make "pattern" const.
1883 * solib.h (solib_add): Update.
1884
baa336ce
TT
18852014-07-24 Tom Tromey <tromey@redhat.com>
1886
1887 * remote.c (remote_serial_open, print_packet, putpkt)
1888 (putpkt_binary): Constify.
1889 * remote.h (putpkt): Update.
1890
5a19e2d0
TT
18912014-07-24 Tom Tromey <tromey@redhat.com>
1892
1893 * monitor.c (monitor_open): Make "args" const.
1894 * monitor.h (monitor_open): Update.
1895
fc4baa5e
TT
18962014-07-24 Tom Tromey <tromey@redhat.com>
1897
1898 * maint.c (match_bfd_flags): Make "string" const.
1899 (print_bfd_section_info): Remove casts.
1900 (print_objfile_section_info): Make "string" const.
1901
0d5f0dbe
TT
19022014-07-24 Tom Tromey <tromey@redhat.com>
1903
1904 * inf-child.c (inf_child_open_target): Make "arg" const.
1905 * inf-child.h (inf_child_open_target): Update.
1906
41c77899
TT
19072014-07-24 Tom Tromey <tromey@redhat.com>
1908
1909 * environ.c (unset_in_environ): Make "var" const.
1910 * environ.h (unset_in_environ): Update.
1911
93db0d79
TT
19122014-07-24 Tom Tromey <tromey@redhat.com>
1913
1914 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1915 Make "cmd" const.
1916 (scan_filename_with_cleanup): Likewise.
1917 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1918 Make arguments const.
1919 (restore_command): Update.
1920
36d6eb95
PA
19212014-07-24 Pedro Alves <palves@redhat.com>
1922
1923 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1924
8009206a
TT
19252014-07-24 Tom Tromey <tromey@redhat.com>
1926 Gary Benson <gbenson@redhat.com>
1927
1928 * nat/linux-ptrace.c (additional_flags): New global.
1929 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1930 additional_flags; don't check GDBSERVER.
1931 (linux_ptrace_set_additional_flags): New function.
1932 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1933 Declare.
1934 * linux-nat.c (_initialize_linux_nat): Call
1935 linux_ptrace_set_additional_flags.
1936
a7068b60
TT
19372014-07-24 Tom Tromey <tromey@redhat.com>
1938
1939 * make-target-delegates (munge_type, write_debugmethod): New
1940 functions.
1941 (debug_names): New global.
1942 ($TARGET_DEBUG_PRINTER): New global.
1943 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1944 name.
1945 Write debug methods. Generate init_debug_target.
1946 * target-debug.h: New file.
1947 * target-delegates.c: Rebuild.
1948 * target.c: Include target-debug.h.
1949 (debug_target): Hoist definition.
1950 (target_kill, target_get_section_table, target_memory_map)
1951 (target_flash_erase, target_flash_done, target_detach)
1952 (target_disconnect, target_wait, target_resume)
1953 (target_pass_signals, target_program_signals, target_follow_fork)
1954 (target_mourn_inferior, target_search_memory)
1955 (target_thread_address_space, target_close)
1956 (target_find_new_threads, target_core_of_thread)
1957 (target_verify_memory, target_insert_mask_watchpoint)
1958 (target_remove_mask_watchpoint): Remove targetdebug code.
1959 (debug_to_post_attach, debug_to_prepare_to_store)
1960 (debug_to_files_info, debug_to_insert_breakpoint)
1961 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1962 (debug_to_region_ok_for_hw_watchpoint)
1963 (debug_to_can_accel_watchpoint_condition)
1964 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1965 (debug_to_watchpoint_addr_within_range)
1966 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1967 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1968 (debug_to_terminal_init, debug_to_terminal_inferior)
1969 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1970 (debug_to_terminal_save_ours, debug_to_terminal_info)
1971 (debug_to_load, debug_to_post_startup_inferior)
1972 (debug_to_insert_fork_catchpoint)
1973 (debug_to_remove_fork_catchpoint)
1974 (debug_to_insert_vfork_catchpoint)
1975 (debug_to_remove_vfork_catchpoint)
1976 (debug_to_insert_exec_catchpoint)
1977 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1978 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1979 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1980 (setup_target_debug): Call init_debug_target.
1981 * target.h (TARGET_DEBUG_PRINTER): New macro.
1982 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1983 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1984
2c51604d
GB
19852014-07-24 Gary Benson <gbenson@redhat.com>
1986
1987 * exceptions.h (throw_vfatal): Renamed to...
1988 (throw_vquit): New declaration.
1989 (throw_quit): Likewise.
1990 * exceptions.c (throw_vfatal): Renamed to...
1991 (throw_vquit): New function.
1992 (throw_quit): Likewise.
1993 (throw_error): Call throw_verror rather than throw_it.
1994 * utils.h (vfatal): Removed.
1995 (fatal): Likewise.
1996 * utils.c (vfatal): Removed.
1997 (fatal): Likewise.
1998 (internal_verror): Replaced call to fatal with call to throw_quit.
1999 (quit): Replaced calls to fatal with calls to throw_quit.
2000
34211963
ME
20012014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2002
2003 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2004 target_read_code.
2005
a52b4d3e
ME
20062014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2007
2008 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2009 less than zero in conditional expression.
2010
a8bdc56b
TT
20112014-07-23 Tom Tromey <tromey@redhat.com>
2012
2013 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2014 ($INTRO_PART): Don't match whitespace.
2015 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2016 argument matching.
2017 ($METHOD): Add $METHOD_TRAILER.
2018 (trim): Rewrite.
2019 (scan_target_h): New sub.
2020 Change main loop not to collect state.
2021 * target-delegates.c: Rebuild.
2022
91b52240
GB
20232014-07-23 Gary Benson <gbenson@redhat.com>
2024
2025 * cp-support.c (gdb_demangle): Fix build on systems without
2026 sigaltstack.
2027
45326f6f
JK
20282014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2031 for reference entry value target data value.
2032
e214cf6c
JK
20332014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2036 value_available_contents_eq.
2037
bddbbedd
PA
20382014-07-22 Pedro Alves <palves@redhat.com>
2039
2040 * value.c (allocate_optimized_out_value): Don't mark value as
2041 non-lazy.
2042
45c71484
JW
20432014-07-22 Jiong Wang <jiong.wang@arm.com>
2044
2045 * MAINTAINERS (Write After Approval): Update my email address.
2046
9597b22a
DE
20472014-07-20 Doug Evans <dje@google.com>
2048
2049 PR server/17147
2050 * remote.c (putpkt_binary): Add text to error message.
2051
91101fe5
YQ
20522014-07-20 Yao Qi <yao@codesourcery.com>
2053
2054 * eval.c: Remove "Chill" from comments.
2055 * gdbtypes.h: Likewise.
2056 * symtab.h: Likewise.
2057
c9402c95
YQ
20582014-07-20 Yao Qi <yao@codesourcery.com>
2059
2060 * std-operator.def: Update comments to TERNOP_SLICE.
2061
ae8fddda
YQ
20622014-07-20 Yao Qi <yao@codesourcery.com>
2063
2064 * std-operator.def: Remove BINOP_RANGE.
2065 * breakpoint.c (watchpoint_exp_is_const): Update.
2066 * expprint.c (dump_subexp_body_standard): Likewise.
2067 * eval.c (init_array_element): Remove dead code.
2068 (evaluate_subexp_standard): Likewise.
2069
9c816640
YQ
20702014-07-20 Yao Qi <yao@codesourcery.com>
2071
2072 * std-operator.def: Remove BINOP_IN.
2073 * breakpoint.c (watchpoint_exp_is_const): Update.
2074 * eval.c (evaluate_subexp_standard): Likewise.
2075 * expprint.c (dump_subexp_body_standard): Likewise.
2076
164224e9
ME
20772014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2078
2079 * microblaze-tdep.c (microblaze_register_names): Add
2080 the rshr and rslr register names.
2081 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2082 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2083 Use of tdesc_numbered_register. Use of
2084 microblaze_register_g_packet_guesses. Use of
2085 tdesc_use_registers. Use of set_gdbarch_register_type.
2086 (microblaze_register_g_packet_guesses): New.
2087 * microblaze-tdep.h (microblaze_reg_num): Add
2088 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2089 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2090 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2091 * features/microblaze-core.xml: New file.
2092 * features/microblaze-stack-protect.xml: New file.
2093 * features/microblaze-with-stack-protect.c: New file.
2094 * features/microblaze-with-stack-protect.xml: New file.
2095 * features/microblaze.xml: New file.
2096 * features/microblaze.c: New file.
2097 * features/Makefile (microblaze-with-stack-protect): Add
2098 microblaze-with-stack-protect microblaze and microblaze-expedite.
2099 * regformats/microblaze-with-stack-protect.dat: New file.
2100 * regformats/microblaze.dat: New file.
2101 * doc/gdb.texinfo (MicroBlaze Features): Added.
2102
e8b2341c
TT
21032014-07-18 Tom Tromey <tromey@redhat.com>
2104
2105 * exec.c (exec_ops): Now static.
2106 * exec.h (exec_ops): Don't declare.
2107
44e89118
TT
21082014-07-18 Tom Tromey <tromey@redhat.com>
2109
2110 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2111 to find_target_beneath.
2112 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2113 find_target_beneath.
2114 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2115
b0ed115f
TT
21162014-07-18 Tom Tromey <tromey@redhat.com>
2117
2118 PR gdb/17130:
2119 * utils.c (quit): Use target_supports_terminal_ours.
2120 * target.h (target_supports_terminal_ours): Declare.
2121 * target.c (target_supports_delete_record): Don't check
2122 to_delete_record against NULL.
2123 (target_supports_terminal_ours): New function.
2124
e75fdfca
TT
21252014-07-18 Tom Tromey <tromey@redhat.com>
2126
2127 PR gdb/17130:
2128 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2129 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2130 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2131 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2132 * windows-nat.c (windows_xfer_partial): Always delegate.
2133 * record-btrace.c (record_btrace_xfer_partial): Simplify
2134 delegation.
2135 (record_btrace_fetch_registers, record_btrace_store_registers)
2136 (record_btrace_prepare_to_store, record_btrace_resume)
2137 (record_btrace_wait, record_btrace_find_new_threads)
2138 (record_btrace_thread_alive): Likewise.
2139 * procfs.c (procfs_xfer_partial): Always delegate.
2140 * corelow.c (core_xfer_partial): Always delegate.
2141 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2142
83814951
TT
21432014-07-18 Tom Tromey <tromey@redhat.com>
2144
2145 * exec.c (exec_make_note_section): Move earlier.
2146
b8b8facf
DE
21472014-07-17 Doug Evans <dje@google.com>
2148
74b49205 2149 PR gdb/17170
b8b8facf
DE
2150 * maint.c (count_symtabs_and_blocks): Handle NULL
2151 current_program_space.
2152 (report_command_stats): Check global enabled flag in addition to
2153 recorded enabled flag.
2154 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2155
69ff6be5
PA
21562014-07-16 Pedro Alves <palves@redhat.com>
2157
2158 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2159
252db1b5
TT
21602014-07-16 Tom Tromey <tromey@redhat.com>
2161
2162 * target.h (struct target_ops) <to_delete_record>: Reformat
2163 comment.
2164
a432721e
TT
21652014-07-16 Tom Tromey <tromey@redhat.com>
2166
2167 * target-delegates.c: Rebuild.
2168
487d9753
PL
21692014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2170
2171 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2172 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2173 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2174 (avr_pointer_to_address): Likewise.
2175 (avr_address_class_type_flags): New function.
2176 (avr_address_class_type_flags_to_name): Likewise.
2177 (avr_address_class_name_to_type_flags): Likewise.
2178 (avr_gdbarch_init): Set address_class_type_flags,
2179 address_class_type_flags_to_name and
2180 address_class_name_to_type_flags.
2181
57745c90
PA
21822014-07-15 Pedro Alves <palves@redhat.com>
2183
2184 * linux-nat.c (kill_callback): Save errno and work with saved
2185 copy.
2186
2d40be18
SM
21872014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2188
2189 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2190
572f6555
EBM
21912014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2192
2193 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2194 breakpoint support correctly.
2195
cc1c52ad
PA
21962014-07-14 Pedro Alves <palves@redhat.com>
2197
2198 * utils.c (prompt_for_continue): Call target_terminal_ours.
2199
1e973570
PA
22002014-07-14 Pedro Alves <palves@redhat.com>
2201
2202 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2203 catch_errors. Don't re-enable stdin or notify observers where,
2204 and rethrow error.
2205 (fetch_inferior_event_wrapper): Delete.
2206
93d6eb10
PA
22072014-07-14 Pedro Alves <palves@redhat.com>
2208
2209 PR gdb/17072
2210 * top.c: Include "inf-loop.h".
2211 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2212 field.
2213 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2214 was async before.
2215 (gdb_readline_wrapper): Store whether the target is async, and
2216 make it sync.
2217
0017922d
PA
22182014-07-14 Pedro Alves <palves@redhat.com>
2219
2220 PR gdb/17072
2221 * top.c (gdb_readline_wrapper_line): Tweak comment.
2222 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2223 the input handler callback.
2224
94696ad3
PA
22252014-07-14 Pedro Alves <palves@redhat.com>
2226
2227 PR gdb/17072
2228 * main.c: Include event-top.h.
2229 (handle_command_errors): New function.
2230 (catch_command_errors, catch_command_errors_const): Use it.
2231
9d1e69a2
PA
22322014-07-14 Pedro Alves <palves@redhat.com>
2233
2234 * exceptions.c (catch_command_errors, catch_command_errors_const):
2235 Moved to main.c.
2236 * exceptions.h (catch_command_errors_ftype)
2237 (catch_command_errors_const_ftype): Moved to main.c.
2238 (catch_command_errors, catch_command_errors_const): Delete
2239 declarations.
2240 * main.c (catch_command_errors_ftype)
2241 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2242 (catch_command_errors, catch_command_errors_const)): Moved here
2243 from exceptions.c and make static.
2244
feefc97b
PA
22452014-07-14 Pedro Alves <palves@redhat.com>
2246
2247 * exceptions.c (print_any_exception): Delete.
2248 (catch_exceptions_with_msg): Use exception_print instead of
2249 print_any_exception.
2250 (catch_errors): Use exception_fprintf instead of
2251 print_any_exception.
2252 (catch_command_errors, catch_command_errors_const): Use
2253 exception_print instead of print_any_exception.
2254
c933f875
PA
22552014-07-14 Pedro Alves <palves@redhat.com>
2256
2257 * infcall.c (run_inferior_call): Set 'sync_execution' while
2258 running the inferior call.
2259
feb6f816
PA
22602014-07-14 Pedro Alves <palves@redhat.com>
2261
2262 * value.c (value_contents_equal): Delete function.
2263 * value.h (value_contents_equal): Delete declaration.
2264
d98b7a16
TT
22652014-07-14 Tom Tromey <tromey@redhat.com>
2266
2267 PR exp/17106:
2268 * gdbtypes.c (is_dynamic_type_internal): New function, from
2269 is_dynamic_type.
2270 (is_dynamic_type): Rewrite.
2271 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2272 (resolve_dynamic_struct): Likewise.
2273 (resolve_dynamic_type_internal): New function, from
2274 resolve_dynamic_type.
2275 (resolve_dynamic_type): Rewrite.
2276
548740d6
TT
22772014-07-14 Tom Tromey <tromey@redhat.com>
2278
2279 * target.c (target_require_runnable): Also check record_stratum.
2280 Update comment.
2281
808f7ab1
YQ
22822014-07-11 Yao Qi <yao@codesourcery.com>
2283
2284 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2285 thumb_instruction_restores_sp return true.
2286
540314bd
YQ
22872014-07-11 Yao Qi <yao@codesourcery.com>
2288
2289 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2290 (thumb_in_function_epilogue_p): Call
2291 thumb_instruction_restores_sp.
2292
1db01f22
YQ
22932014-07-11 Yao Qi <yao@codesourcery.com>
2294
2295 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2296 'add sp, #imm'.
2297 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2298
3116063b
GB
22992014-07-11 Gary Benson <gbenson@redhat.com>
2300
2301 * amd64-linux-nat.c (gdbcore.h): Remove include.
2302 (regset.h): Likewise.
2303 (nat/linux-btrace.h): Likewise.
2304 (btrace.h): Likewise.
2305 (gdb_assert.h): Likewise.
2306 (string.h): Likewise.
2307 (sys/uio.h): Likewise.
2308 (sys/debugreg.h): Likewise.
2309 (sys/syscall.h): Likewise.
2310 (sys/procfs.h): Likewise.
2311 (sys/user.h): Likewise.
2312 (asm/ptrace.h): Likewise.
2313 (i386-nat.h): Likewise.
2314 * i386-linux-nat.c (i386-nat.h): Likewise.
2315 (regset.h): Likewise.
2316 (target.h): Likewise.
2317 (linux-nat.h): Likewise.
2318 (nat/linux-btrace.h): Likewise.
2319 (btrace.h): Likewise.
2320 (gdb_assert.h): Likewise.
2321 (string.h): Likewise.
2322 (sys/uio.h): Likewise.
2323 (sys/user.h): Likewise.
2324 (sys/procfs.h): Likewise.
2325 (sys/reg.h): Likewise.
2326 (sys/debugreg.h): Likewise.
2327 (ORIG_EAX): Remove definition.
2328
040baaf6
GB
23292014-07-11 Gary Benson <gbenson@redhat.com>
2330
2331 * i386-linux-nat.h: New file.
2332 * x86-linux-nat.h: Likewise.
2333 * x86-linux-nat.c: Likewise.
2334 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2335 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2336 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2337 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2338 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2339 (PTRACE_SETREGSET): Likewise.
2340 (arch_lwp_info): Now in x86-linux-nat.c.
2341 (have_ptrace_getregset): Now in x86-linux-nat.h.
2342 (x86_linux_dr_get): Now in x86-linux-nat.c.
2343 (x86_linux_dr_set): Likewise.
2344 (x86_linux_dr_get_addr): Likewise.
2345 (x86_linux_dr_get_control): Likewise.
2346 (x86_linux_dr_get_status): Likewise.
2347 (update_debug_registers_callback): Likewise.
2348 (x86_linux_dr_set_control): Likewise.
2349 (x86_linux_dr_set_addr): Likewise.
2350 (x86_linux_prepare_to_resume): Likewise.
2351 (x86_linux_new_thread): Likewise.
2352 (x86_linux_new_fork): Likewise.
2353 (x86_linux_get_thread_area): Likewise.
2354 (super_post_startup_inferior): Likewise.
2355 (x86_linux_child_post_startup_inferior): Likewise.
2356 (AMD64_LINUX_USER64_CS): Likewise.
2357 (AMD64_LINUX_X32_DS): Likewise.
2358 (x86_linux_read_description): Likewise.
2359 (x86_linux_enable_btrace): Likewise.
2360 (x86_linux_disable_btrace): Likewise.
2361 (x86_linux_teardown_btrace): Likewise.
2362 (x86_linux_read_btrace): Likewise.
2363 (x86_linux_create_target): Likewise.
2364 (x86_linux_add_target): Likewise.
2365 * i386-linux-nat.c (x86-linux-nat.h): New include.
2366 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2367 (PTRACE_SETREGSET): Likewise.
2368 (arch_lwp_info): Now in x86-linux-nat.c.
2369 (have_ptrace_getregset): Now in x86-linux-nat.h.
2370 (x86_linux_dr_get): Now in x86-linux-nat.c.
2371 (x86_linux_dr_set): Likewise.
2372 (x86_linux_dr_get_addr): Likewise.
2373 (x86_linux_dr_get_control): Likewise.
2374 (x86_linux_dr_get_status): Likewise.
2375 (update_debug_registers_callback): Likewise.
2376 (x86_linux_dr_set_control): Likewise.
2377 (x86_linux_dr_set_addr): Likewise.
2378 (x86_linux_prepare_to_resume): Likewise.
2379 (x86_linux_new_thread): Likewise.
2380 (x86_linux_new_fork): Likewise.
2381 (x86_linux_get_thread_area): Likewise.
2382 (super_post_startup_inferior): Likewise.
2383 (x86_linux_child_post_startup_inferior): Likewise.
2384 (AMD64_LINUX_USER64_CS): Likewise.
2385 (AMD64_LINUX_X32_DS): Likewise.
2386 (x86_linux_read_description): Likewise.
2387 (x86_linux_enable_btrace): Likewise.
2388 (x86_linux_disable_btrace): Likewise.
2389 (x86_linux_teardown_btrace): Likewise.
2390 (x86_linux_read_btrace): Likewise.
2391 (x86_linux_create_target): Likewise.
2392 (x86_linux_add_target): Likewise.
2393
1aa7e42c
GB
23942014-07-11 Gary Benson <gbenson@redhat.com>
2395
2396 * amd64-linux-nat.c: Comment and whitespace changes.
2397 * i386-linux-nat.c: Comment and whitespace changes.
2398
c1e246a0
GB
23992014-07-11 Gary Benson <gbenson@redhat.com>
2400
2401 * amd64-linux-nat.c (x86_linux_create_target): New function.
2402 (x86_linux_add_target): Likewise.
2403 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2404 * i386-linux-nat.c (x86_linux_create_target): New function.
2405 (x86_linux_add_target): Likewise.
2406 (_initialize_i386_linux_nat): Delegate to the above new functions.
2407
8c420b8d
GB
24082014-07-11 Gary Benson <gbenson@redhat.com>
2409
2410 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2411 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2412 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2413 (ps_get_thread_area): Delegate to the above.
2414
cb1da100
GB
24152014-07-11 Gary Benson <gbenson@redhat.com>
2416
2417 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2418 x86_linux_read_description. All uses updated. amd64-specific
2419 code conditionalized. Conditionalized i386-specific code added.
2420 Redundant cast removed.
2421 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2422 x86_linux_read_description. All uses updated. i386-specific
2423 code conditionalized. Conditionalized amd64-specific code added.
2424 One sizeof replaced with the actual type it is describing.
2425
2acf3cd0
GB
24262014-07-11 Gary Benson <gbenson@redhat.com>
2427
2428 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2429 x86_linux_dr_get. All uses updated.
2430 (amd64_linux_dr_set): Renamed to
2431 x86_linux_dr_set. All uses updated.
2432 (amd64_linux_dr_get_addr): Renamed to
2433 x86_linux_dr_get_addr. All uses updated.
2434 (amd64_linux_dr_get_control): Renamed to
2435 x86_linux_dr_get_control. All uses updated.
2436 (amd64_linux_dr_get_status): Renamed to
2437 x86_linux_dr_get_status. All uses updated.
2438 (amd64_linux_dr_set_control): Renamed to
2439 x86_linux_dr_set_control. All uses updated.
2440 (amd64_linux_dr_set_addr): Renamed to
2441 x86_linux_dr_set_addr. All uses updated.
2442 (amd64_linux_prepare_to_resume): Renamed to
2443 x86_linux_prepare_to_resume. All uses updated.
2444 (amd64_linux_new_thread): Renamed to
2445 x86_linux_new_thread. All uses updated.
2446 (amd64_linux_new_fork): Renamed to
2447 x86_linux_new_fork. All uses updated.
2448 (amd64_linux_child_post_startup_inferior): Renamed to
2449 x86_linux_child_post_startup_inferior. All uses updated.
2450 (amd64_linux_enable_btrace): Renamed to
2451 x86_linux_enable_btrace. All uses updated.
2452 (amd64_linux_disable_btrace): Renamed to
2453 x86_linux_disable_btrace. All uses updated.
2454 (amd64_linux_teardown_btrace): Renamed to
2455 x86_linux_teardown_btrace. All uses updated.
2456 (amd64_linux_read_btrace): Renamed to
2457 x86_linux_read_btrace. All uses updated.
2458 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2459 x86_linux_dr_get. All uses updated.
2460 (i386_linux_dr_set): Renamed to
2461 x86_linux_dr_set. All uses updated.
2462 (i386_linux_dr_get_addr): Renamed to
2463 x86_linux_dr_get_addr. All uses updated.
2464 (i386_linux_dr_get_control): Renamed to
2465 x86_linux_dr_get_control. All uses updated.
2466 (i386_linux_dr_get_status): Renamed to
2467 x86_linux_dr_get_status. All uses updated.
2468 (i386_linux_dr_set_control): Renamed to
2469 x86_linux_dr_set_control. All uses updated.
2470 (i386_linux_dr_set_addr): Renamed to
2471 x86_linux_dr_set_addr. All uses updated.
2472 (i386_linux_prepare_to_resume): Renamed to
2473 x86_linux_prepare_to_resume. All uses updated.
2474 (i386_linux_new_thread): Renamed to
2475 x86_linux_new_thread. All uses updated.
2476 (i386_linux_new_fork): Renamed to
2477 x86_linux_new_fork. All uses updated.
2478 (i386_linux_child_post_startup_inferior): Renamed to
2479 x86_linux_child_post_startup_inferior. All uses updated.
2480 (i386_linux_enable_btrace): Renamed to
2481 x86_linux_enable_btrace. All uses updated.
2482 (i386_linux_disable_btrace): Renamed to
2483 x86_linux_disable_btrace. All uses updated.
2484 (i386_linux_teardown_btrace): Renamed to
2485 x86_linux_teardown_btrace. All uses updated.
2486 (i386_linux_read_btrace): Renamed to
2487 x86_linux_read_btrace. All uses updated.
2488
b9c1d481
AS
24892014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2490
2491 * remote.c (extended_remote_post_attach): New function.
2492 (init_extended_remote_ops): Install it as to_post_attach method.
2493
7180e04a
PA
24942014-07-09 Pedro Alves <palves@redhat.com>
2495
2496 * infcmd.c (attach_command_post_wait): Don't call
2497 target_terminal_inferior here.
2498 (attach_command): Call it here instead.
2499
9a9a7608
AB
25002014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2501
2502 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2503 field.
2504 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2505 from varobj.c, with additional checks.
2506 (c_varobj_ops): Fill in is_path_expr_parent field.
2507 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2508 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2509 field.
2510 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2511 ops method.
2512 (varobj_default_is_path_expr_parent): New function.
2513 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2514 (varobj_default_is_path_expr_parent): Declare new function.
2515
1f267ae3
MM
25162014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2517
2518 * infcmd.c (finish_backward): Turn internal error into normal error.
2519
b2ee242b
PA
25202014-07-07 Pedro Alves <palves@redhat.com>
2521
8a869bca 2522 PR gdb/17096
b2ee242b
PA
2523 * remote.c (async_handle_remote_sigint)
2524 (async_handle_remote_sigint_twice): Call
2525 gdb_call_async_signal_handler instead of
2526 mark_async_signal_handler.
2527
38e229b2
TT
25282014-07-07 Tom Tromey <tromey@redhat.com>
2529
2530 * target-delegates.c: Rebuild.
2531 * target.c (target_info_record): Remove.
2532 * record.c (info_record_command): Unconditionally call
2533 to_info_record.
2534 * target.h (struct target_ops) <to_info_record>: Use
2535 TARGET_DEFAULT_IGNORE.
2536 (target_info_record): Remove.
2537
f0f9ff95
TT
25382014-07-07 Tom Tromey <tromey@redhat.com>
2539
2540 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2541 TARGET_DEFAULT_NORETURN.
2542 * target.c (generic_tls_error): New function.
2543 (target_translate_tls_address): Don't search target stack.
2544 * target-delegates.c: Rebuild.
2545 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2546 stack.
2547 * linux-thread-db.c (thread_db_get_thread_local_address):
2548 Unconditionally call beneath target.
2549
4a5be5ee
MK
25502014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2551
2552 * cli/cli-logging.c (pop_output_files): Assign targerr to
2553 gdb_stdtargerr.
2554
92c3b204
AB
25552014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2556
2557 * MAINTAINERS (Write After Approval): Update my email address.
2558
9b11e3a7
GB
25592014-07-02 Gary Benson <gbenson@redhat.com>
2560
2561 * proc-service.c (ps_xfer_memory): Update comment.
2562 (ps_pstop): Remove unused function.
2563 (ps_pcontinue): Likewise.
2564 (ps_lstop): Likewise.
2565 (ps_lcontinue): Likewise.
2566 (ps_lgetxregsize): Likewise.
2567 (ps_lgetxregs): Likewise.
2568 (ps_lsetxregs): Likewise.
2569 (ps_plog): Likewise.
2570 (ps_ptread): Likewise.
2571 (ps_ptwrite): Likewise.
2572
cf363f18
MW
25732014-07-01 Mark Wielaard <mjw@redhat.com>
2574
2575 * dwarf2read.c (add_array_cv_type): New function.
2576 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2577 (read_tag_volatile_type): Likewise.
2578
82ae6c8d
TT
25792014-07-01 Tom Tromey <tromey@redhat.com>
2580
2581 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2582 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2583 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2584 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2585 * command.h (cmd_cfunc_ftype): Move earlier.
2586 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2587 (add_com, add_info): Use cmd_cfunc_ftype.
2588
96142726
TT
25892014-06-30 Tom Tromey <tromey@redhat.com>
2590
2591 * symtab.c (operator_chars): Make parameters and return type
2592 const.
2593 (file_matches): Make "files" const.
2594 (struct search_symbols_data) <files>: Now const.
2595 (search_symbols): Make "regexp" and "files" parameters const.
2596 Update.
2597 (symtab_symbol_info): Remove cast.
2598 (rbreak_command): Update.
2599 * symtab.h (search_symbols): Update.
2600
b67a2c6f
YQ
26012014-06-27 Yao Qi <yao@codesourcery.com>
2602
2603 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2604 Change parameter type to 'struct thread_info *'. Caller
2605 updated.
2606 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2607 Update declaration.
2608 * dummy-frame.c (struct dummy_frame_id): New.
2609 (dummy_frame_id_eq): New function.
2610 (struct dummy_frame) <id>: Change its type to 'struct
2611 dummy_frame_id'.
2612 (dummy_frame_push): Add parameter ptid and save it in
2613 dummy_frame_id.
2614 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2615 inferior_ptid.
2616 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2617 to inferior_ptid.
2618 (lookup_dummy_frame): Change parameter type to 'struct
2619 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2620 instead of frame_id_eq.
2621 (dummy_frame_pop): Add parameter ptid. Callers updated.
2622 Update comments. Compose dummy_frame_id and pass it to
2623 lookup_dummy_frame.
2624 (dummy_frame_discard): Add parameter ptid.
2625 (dummy_frame_sniffer): Compose dummy_frame_id and call
2626 dummy_frame_id_eq instead of frame_id_eq.
2627 (fprint_dummy_frames): Print ptid.
2628 * dummy-frame.h: Remove comments.
2629 (dummy_frame_push): Add ptid in declaration.
2630 (dummy_frame_pop, dummy_frame_discard): Likewise.
2631
5b10184c
TT
26322014-06-26 Tom Tromey <tromey@redhat.com>
2633
2634 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2635 * command.h (error_no_arg): Update.
2636
06900326
TT
26372014-06-26 Tom Tromey <tromey@redhat.com>
2638
2639 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2640 (do_show_command): Make "arg" const.
2641 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2642
c2bcbb1d
TT
26432014-06-26 Tom Tromey <tromey@redhat.com>
2644
2645 * record-full.c (record_full_get_bookmark): Make "args" const.
2646 (record_full_goto_bookmark): Make "raw_bookmark" const.
2647 * record.c (record_goto): New function.
2648 (cmd_record_goto): Use it. Now static.
2649 * record.h (record_goto): Declare.
2650 (cmd_record_goto): Remove declaration.
2651 * target-delegates.c: Rebuild.
2652 * target.h (struct target_ops) <to_get_bookmark,
2653 to_goto_bookmark>: Make parameter const.
2654
9cbe5fff
TT
26552014-06-26 Tom Tromey <tromey@redhat.com>
2656
2657 * defs.h (generic_load): Update.
2658 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2659 * monitor.c (monitor_load): Make "args" const.
2660 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2661 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2662 const.
2663 (mips_load): Make "file" const.
2664 * remote-sim.c (gdbsim_load): Make "args" const.
2665 * remote.c (remote_load): Make "name" const.
2666 * symfile.c (generic_load): Make "args" const.
2667 * target-delegates.c: Rebuild.
2668 * target.c (target_load): Make "arg" const.
2669 (debug_to_load): Make "args" const.
2670 * target.h (struct target_ops) <to_load>: Make parameter const.
2671 (target_load): Update.
2672
34a68019
TT
26732014-06-26 Tom Tromey <tromey@redhat.com>
2674
2675 PR symtab/16902:
2676 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2677 (dwarf2_physname, read_partial_die)
2678 (guess_partial_die_structure_name, fixup_partial_die)
2679 (guess_full_die_structure_name, anonymous_struct_prefix)
2680 (dwarf2_name): Use per-BFD obstack.
2681
efc889c1
YQ
26822014-06-26 Yao Qi <yao@codesourcery.com>
2683
2684 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2685 dummyframe and this_id into inner block below.
2686
4395285e
YQ
26872014-06-26 Yao Qi <yao@codesourcery.com>
2688
2689 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2690 with "signal_pass[0]" in the initialization of signal_pass.
2691
aef92902
MM
26922014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2693
2694 * record-btrace.c (record_btrace_generating_corefile)
2695 (record_btrace_prepare_to_generate_core)
2696 (record_btrace_done_generating_core): New.
2697 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2698 (record_btrace_store_registers, record_btrace_prepare_to_store):
2699 Forward request when generating a core file.
2700 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2701 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2702 to_done_generating_core.
2703
5fff78c4
MM
27042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2705
2706 * target.h (target_ops) <to_prepare_to_generate_core>
2707 <to_done_generating_core>: New.
2708 (target_prepare_to_generate_core, target_done_generating_core): New.
2709 * target.c (target_prepare_to_generate_core)
2710 (target_done_generating_core): New.
2711 * target-delegates.c: Regenerate.
2712 * gcore.c: (write_gcore_file): Rename to ...
2713 (write_gcore_file_1): ...this.
2714 (write_gcore_file): Call target_prepare_to_generate_core
2715 and target_done_generating_core.
2716
1d1f1ccb
MM
27172014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2718
2719 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2720 * gcore.c (write_gcore_file): Free memory returned from
2721 make_corefile_notes.
2722 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2723 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2724
3343ef86
YQ
27252014-06-24 Yao Qi <yao@codesourcery.com>
2726
2727 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2728 (arm_linux_init_abi): Set skip_trampoline_code with
2729 gdbarch_skip_trampoline_code instead of
2730 find_solib_trampoline_target.
2731
18d18ac8
YQ
27322014-06-24 Yao Qi <yao@codesourcery.com>
2733
2734 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2735 arm_skip_bx_reg returns non-zero.
2736
80d8d390
YQ
27372014-06-24 Yao Qi <yao@codesourcery.com>
2738
2739 * arm-tdep.c (arm_skip_bx_reg): New function.
2740 (arm_skip_stub): Call arm_skip_bx_reg.
2741
6a18a01c
DB
27422014-06-23 Don Breazeal <donb@codesourcery.com>
2743
2744 * MAINTAINERS: Add myself as write-after-approval maintainer.
2745
8e9db26e
PA
27462014-06-23 Pedro Alves <palves@redhat.com>
2747
2748 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2749 DR_CONTROL before setting DR0..DR3.
2750 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2751 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2752 bits of DR_CONTROL related to the debug register slot being
2753 disabled. If all slots are vacant, clear local slowdown as well,
2754 and assert DR_CONTROL is 0.
2755
70afc5b7
SC
27562014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2757
2758 * python/lib/gdb/command/xmethods.py
2759 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2760 current progspace only if the string "progspace" matches LOCUS_RE.
2761
840ed64d
JK
27622014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2763
2764 Fix --with-system-readline with readline-6.3 patch 5.
2765 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2766 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2767 types.
2768
26f2dc30
TT
27692014-06-20 Tom Tromey <tromey@redhat.com>
2770
2771 * dwarf2read.c (dw2_get_real_path): Use correct type in
2772 OBSTACK_CALLOC.
2773 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2774
125f8a3d
GB
27752014-06-20 Gary Benson <gbenson@redhat.com>
2776
2777 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2778 * common/glibc_thread_db.h: Likewise.
2779 * common/i386-cpuid.h: Likewise.
2780 * common/i386-gcc-cpuid.h: Likewise.
2781 * common/linux-btrace.h: Likewise.
2782 * common/linux-osdata.h: Likewise.
2783 * common/linux-procfs.h: Likewise.
2784 * common/linux-ptrace.h: Likewise.
2785 * common/mips-linux-watch.h: Likewise.
2786 * common/linux-btrace.c: Moved to nat.
2787 * common/linux-osdata.c: Likewise.
2788 * common/linux-procfs.c: Likewise.
2789 * common/linux-ptrace.c: Likewise.
2790 * common/mips-linux-watch.c: Likewise.
2791 * nat/gdb_thread_db.h: Moved from common.
2792 * nat/glibc_thread_db.h: Likewise.
2793 * nat/i386-cpuid.h: Likewise.
2794 * nat/i386-gcc-cpuid.h: Likewise.
2795 * nat/linux-btrace.c: Likewise.
2796 * nat/linux-btrace.h: Likewise.
2797 * nat/linux-osdata.c: Likewise.
2798 * nat/linux-osdata.h: Likewise.
2799 * nat/linux-procfs.c: Likewise.
2800 * nat/linux-procfs.h: Likewise.
2801 * nat/linux-ptrace.c: Likewise.
2802 * nat/linux-ptrace.h: Likewise.
2803 * nat/mips-linux-watch.c: Likewise.
2804 * nat/mips-linux-watch.h: Likewise.
2805 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2806 (object file files): Reordered.
2807 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2808 of glibc_thread_db.h.
2809
42995dbd
GB
28102014-06-20 Gary Benson <gbenson@redhat.com>
2811
2812 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2813 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2814 (i386_dr_low): Likewise.
2815 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2816 (i386_dr_low_set_addr): Likewise.
2817 (i386_dr_low_get_addr): Likewise.
2818 (i386_dr_low_can_set_control): Likewise.
2819 (i386_dr_low_set_control): Likewise.
2820 (i386_dr_low_get_control): Likewise.
2821 (i386_dr_low_get_status): Likewise.
2822 (i386_get_debug_register_length): Likewise.
2823 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2824 (i386_dr_low): Likewise.
2825 * nat/i386-dregs.c (i386-low.h): Remove include.
2826 (i386-nat.h): Likewise.
2827 (nat/i386-dregs.h): New include.
2828 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2829 (i386_dr_low_set_addr): Likewise.
2830 (i386_dr_low_get_addr): Likewise.
2831 (i386_dr_low_can_set_control): Likewise.
2832 (i386_dr_low_set_control): Likewise.
2833 (i386_dr_low_get_control): Likewise.
2834 (i386_dr_low_get_status): Likewise.
2835 (i386_get_debug_register_length): Likewise.
2836 (debug_hw_points): Likewise.
2837
3ed9baed
IB
28382014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2839
2840 * Makefile.in (SFILES): Add d-exp.y.
2841 (YYFILES): Add d-exp.c.
2842 (YYOBJ): Add d-exp.o.
2843 (local-maintainer-clean): Delete d-exp.c.
2844 * d-exp.y: New file.
2845 * d-lang.h (d_parse): New declaration.
2846 (d_error): New declaration.
2847 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2848 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2849 PREC_ORDER operators.
2850 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2851
78c164b0
YQ
28522014-06-19 Yao Qi <yao@codesourcery.com>
2853
2854 * gdbthread.h (any_running): Remove the declaration.
2855 * thread.c (any_running): Remove.
2856
f6e29b6e
YQ
28572014-06-19 Yao Qi <yao@codesourcery.com>
2858
2859 * gdbthread.h (struct thread_info) <state>: Change its type to
2860 'enum thread_state'. Update comments.
2861
034f788c
PA
28622014-06-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdbthread.h (ALL_THREADS): Delete.
2865 (ALL_NON_EXITED_THREADS): New macro.
2866 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2867 instead of ALL_THREADS.
2868 * infrun.c (find_thread_needs_step_over)
2869 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2870 instead of ALL_THREADS.
2871 * record-btrace.c (record_btrace_open)
2872 (record_btrace_stop_recording, record_btrace_close)
2873 (record_btrace_is_replaying, record_btrace_resume)
2874 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2875 * remote.c (append_pending_thread_resumptions): Likewise.
2876 * thread.c (thread_apply_all_command): Likewise.
2877
46e33252
GB
28782014-06-19 Gary Benson <gbenson@redhat.com>
2879
2880 * i386-nat.c (i386_stopped_by_watchpoint):
2881 Use i386_dr_stopped_by_watchpoint.
2882 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2883 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2884
3a8ee006
GB
28852014-06-19 Gary Benson <gbenson@redhat.com>
2886
2887 * nat/i386-dregs.c: New file.
2888 * Makefile.in (i386-dregs.o): New rule.
2889 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2890 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2891 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2892 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2893 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2894 * config/i386/go32.mh (NATDEPFILES): Likewise.
2895 * config/i386/linux.mh (NATDEPFILES): Likewise.
2896 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2897 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2898 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2899 * i386-nat.h (debug_hw_points): New declaration.
2900 * i386-nat.c (breakpoint.h): Remove include.
2901 (command.h): Likewise.
2902 (target.h): Likewise.
2903 (gdb_assert.h): Likewise.
2904 (debug_hw_points): Made nonstatic.
2905 (debug_printf): Now in i386-dregs.c.
2906 (TARGET_HAS_DR_LEN_8): Likewise.
2907 (DR_CONTROL_SHIFT): Likewise.
2908 (DR_CONTROL_SIZE): Likewise.
2909 (DR_RW_EXECUTE): Likewise.
2910 (DR_RW_WRITE): Likewise.
2911 (DR_RW_READ): Likewise.
2912 (DR_RW_IORW): Likewise.
2913 (DR_LEN_1): Likewise.
2914 (DR_LEN_2): Likewise.
2915 (DR_LEN_4): Likewise.
2916 (DR_LEN_8): Likewise.
2917 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2918 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2919 (DR_ENABLE_SIZE): Likewise.
2920 (DR_LOCAL_SLOWDOWN): Likewise.
2921 (DR_GLOBAL_SLOWDOWN): Likewise.
2922 (DR_CONTROL_RESERVED): Likewise.
2923 (I386_DR_CONTROL_MASK): Likewise.
2924 (I386_DR_VACANT): Likewise.
2925 (I386_DR_LOCAL_ENABLE): Likewise.
2926 (I386_DR_GLOBAL_ENABLE): Likewise.
2927 (I386_DR_DISABLE): Likewise.
2928 (I386_DR_SET_RW_LEN): Likewise.
2929 (I386_DR_GET_RW_LEN): Likewise.
2930 (I386_DR_WATCH_HIT): Likewise.
2931 (i386_wp_op_t): Likewise.
2932 (i386_show_dr): Likewise.
2933 (i386_length_and_rw_bits): Likewise.
2934 (i386_insert_aligned_watchpoint): Likewise.
2935 (i386_remove_aligned_watchpoint): Likewise.
2936 (i386_handle_nonaligned_watchpoint): Likewise.
2937 (i386_update_inferior_debug_regs): Likewise.
2938 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2939 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2940 (i386_region_ok_for_watchpoint):
2941 Use i386_dr_region_ok_for_watchpoint.
2942 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2943
322a8e06
GB
29442014-06-19 Gary Benson <gbenson@redhat.com>
2945
2946 * i386-nat.c (i386_insert_hw_breakpoint): Use
2947 i386_insert_watchpoint.
2948 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2949
8f26655c
GB
29502014-06-19 Gary Benson <gbenson@redhat.com>
2951
2952 * i386-nat.c (i386_dr_show): Renamed to
2953 i386_show_dr and made static. All uses updated.
2954 (i386_dr_length_and_rw_bits): Renamed to
2955 i386_length_and_rw_bits and made static.
2956 All uses updated.
2957 (i386_dr_insert_aligned_watchpoint): Renamed to
2958 i386_insert_aligned_watchpoint and made static.
2959 All uses updated.
2960 (i386_dr_remove_aligned_watchpoint): Renamed to
2961 i386_remove_aligned_watchpoint and made static.
2962 All uses updated.
2963 (i386_dr_update_inferior_debug_regs): Renamed to
2964 i386_update_inferior_debug_regs and made static.
2965 All uses updated.
2966 * nat/i386-dregs.h (i386_dr_show): Removed.
2967 (i386_dr_length_and_rw_bits): Likewise.
2968 (i386_dr_insert_aligned_watchpoint): Likewise.
2969 (i386_dr_remove_aligned_watchpoint): Likewise.
2970 (i386_dr_update_inferior_debug_regs): Likewise.
2971
992c7d70
GB
29722014-06-19 Gary Benson <gbenson@redhat.com>
2973
2974 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2975 * configure: Regenerate.
2976 * config.in: Likewise.
2977 * main.c (signal.h): New include.
2978 (setup_alternate_signal_stack): New function.
2979 (captured_main): Call the above.
2980 * cp-support.c (signal.h): New include.
2981 (catch_demangler_crashes): New flag.
2982 (SIGJMP_BUF): New define.
2983 (SIGSETJMP): Likewise.
2984 (SIGLONGJMP): Likewise.
2985 (gdb_demangle_jmp_buf): New static global.
2986 (gdb_demangle_attempt_core_dump): Likewise.
2987 (gdb_demangle_signal_handler): New function.
2988 (gdb_demangle): If catch_demangler_crashes is set, install the
2989 above signal handler before calling bfd_demangle, and restore
2990 the original signal handler afterwards. Display the offending
2991 symbol and call demangler_warning the first time a segmentation
2992 fault is caught.
2993 (_initialize_cp_support): New maint set/show command.
2994
eae7090b
GB
29952014-06-19 Gary Benson <gbenson@redhat.com>
2996
2997 * utils.h (resource_limit_kind): New enum.
2998 (can_dump_core): New declaration.
2999 (warn_cant_dump_core): Likewise.
3000 (dump_core): Likewise.
3001 * utils.c (dump_core): Made nonstatic. Added new
3002 parameter "limit_kind".
3003 (can_dump_core): Made nonstatic. Moved printing code to...
3004 (warn_cant_dump_core): New function.
3005 (can_dump_core_warn): Likewise.
3006 (internal_vproblem): Replace calls to can_dump_core with
3007 calls to can_dump_core_warn. Supply new argument to each.
3008
57fcfb1b
GB
30092014-06-19 Gary Benson <gbenson@redhat.com>
3010
3011 * utils.h (demangler_vwarning): New declaration.
3012 (demangler_warning): Likewise.
3013 * utils.c (struct internal_problem)
3014 <user_settable_should_quit>: New field.
3015 <user_settable_should_dump_core>: Likewise
3016 (internal_error_problem): Add values for above new fields.
3017 (internal_warning_problem): Likewise.
3018 (demangler_warning_problem): New static global.
3019 (demangler_vwarning): New function.
3020 (demangler_warning): Likewise.
3021 (add_internal_problem_command): Selectively add commands.
3022 (_initialize_utils): New internal problem command.
3023 * maint.c (maintenance_demangler_warning): New function.
3024 (_initialize_maint_cmds): New command.
3025
17a40b44
TT
30262014-06-18 Tom Tromey <tromey@redhat.com>
3027
3028 * f-valprint.c (info_common_command_for_block): Update.
3029 * symtab.h (struct general_symbol_info) <common_block>: Now
3030 const.
3031
346d1dfe
TT
30322014-06-18 Tom Tromey <tromey@redhat.com>
3033
3034 * symtab.h (struct symtab) <blockvector>: Now const.
3035 * ada-lang.c (ada_add_global_exceptions): Update.
3036 * buildsym.c (augment_type_symtab): Update.
3037 * dwarf2read.c (dw2_lookup_symbol): Update.
3038 * jit.c (finalize_symtab): Update.
3039 * jv-lang.c (add_class_symtab_symbol): Update.
3040 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3041 Update.
3042 * objfiles.c (objfile_relocate1): Update.
3043 * psymtab.c (lookup_symbol_aux_psymtabs)
3044 (maintenance_check_psymtabs): Update.
3045 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3046 Update.
3047 * spu-tdep.c (spu_catch_start): Update.
3048 * symmisc.c (dump_symtab_1): Update.
3049 * symtab.c (lookup_global_symbol_from_objfile)
3050 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3051 (basic_lookup_transparent_type_quick)
3052 (basic_lookup_transparent_type, find_pc_sect_symtab)
3053 (find_pc_sect_line, search_symbols): Update.
3054 * block.c (find_block_in_blockvector): Make "bl" const.
3055 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3056 const.
3057 (blockvector_contains_pc): Make "bv" const.
3058 (block_for_pc_sect): Update.
3059 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3060 (blockvector_contains_pc): Update.
3061 * breakpoint.c (resolve_sal_pc): Update.
3062 * inline-frame.c (block_starting_point_at): Update.
3063
1834676b
TT
30642014-06-18 Tom Tromey <tromey@redhat.com>
3065
3066 * completer.c (complete_line): Make "line_buffer" const.
3067 * completer.h (complete_line): Update.
3068
ac1a991b
TT
30692014-06-18 Tom Tromey <tromey@redhat.com>
3070
3071 * symtab.c (add_macro_name): Remove unneeded cast.
3072
5bc98e52
TT
30732014-06-18 Tom Tromey <tromey@redhat.com>
3074
3075 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3076 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3077
8236def8
TT
30782014-06-18 Tom Tromey <tromey@redhat.com>
3079
3080 * probe.c (info_probes_for_ops): Make "arg" const.
3081 * probe.h (info_probes_for_ops): Update.
3082
3977b71f
TT
30832014-06-18 Tom Tromey <tromey@redhat.com>
3084
3085 * varobj.c (varobj_create): Update.
3086 * valops.c (value_of_this): Update.
3087 * tracepoint.c (add_local_symbols, scope_info): Update.
3088 * symtab.h (struct general_symbol_info) <block>: Now const.
3089 * symtab.c (skip_prologue_sal)
3090 (default_make_symbol_completion_list_break_on)
3091 (skip_prologue_using_sal): Update.
3092 * stack.h (iterate_over_block_locals)
3093 (iterate_over_block_local_vars): Update.
3094 * stack.c (print_frame_args): Update.
3095 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3096 parameter const.
3097 (get_selected_block): Make return type const.
3098 * python/py-frame.c (frapy_block): Update.
3099 * python/py-block.c (gdbpy_block_for_pc): Update.
3100 * p-exp.y (%union) <bval>: Now const.
3101 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3102 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3103 * m2-exp.y (%union) <bval>: Now const.
3104 * linespec.c (get_current_search_block): Make return type const.
3105 (create_sals_line_offset, find_label_symbols): Update.
3106 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3107 Update.
3108 (block_starting_point_at): Make "block" const.
3109 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3110 (check_exception_resume): Update.
3111 * guile/scm-frame.c (gdbscm_frame_block): Update.
3112 * guile/scm-block.c (gdbscm_lookup_block): Update.
3113 * frame.h (get_frame_block): Update.
3114 (get_selected_block): Make return type const.
3115 * frame.c (frame_id_inner): Update.
3116 * f-valprint.c (info_common_command_for_block)
3117 (info_common_command): Update.
3118 * dwarf2loc.c (dwarf2_find_location_expression)
3119 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3120 (locexpr_describe_location_piece): Update.
3121 * c-exp.y (%union) <bval>: Now const.
3122 * breakpoint.c (resolve_sal_pc): Update.
3123 * blockframe.c (get_frame_block):Make return type const.
3124 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3125 (block_innermost_frame): Update.
3126 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3127 (block_for_pc, block_for_pc_sect): Update.
3128 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3129 'pblock' const.
3130 (block_for_pc_sect, block_for_pc): Make return type const.
3131 * ax-gdb.c (gen_expr): Update.
3132 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3133 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3134 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3135 (ada_read_var_value): Update.
3136 * ada-exp.y (struct name_info) <block>: Now const.
3137 (%union): Likewise.
3138 (block_lookup): Constify.
3139
b9228891
GB
31402014-06-18 Gary Benson <gbenson@redhat.com>
3141
3142 * nat/i386-dregs.h: New file.
3143 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3144 * i386-nat.h (i386-dregs.h): New include.
3145 (DR_FIRSTADDR): Now in i386-dregs.h.
3146 (DR_LASTADDR): Likewise.
3147 (DR_NADDR): Likewise.
3148 (DR_STATUS): Likewise.
3149 (DR_CONTROL): Likewise.
3150 (i386_debug_reg_state): Likewise.
3151 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3152
a1aa2221
LM
31532014-06-18 Don Breazeal <donb@codesourcery.com>
3154
3155 * breakpoint.c (set_longjmp_breakpoint): Call
3156 momentary_breakpoint_from_master with additional argument.
3157 (set_longjmp_breakpoint_for_call_dummy): Call
3158 momentary_breakpoint_from_master with additional argument.
3159 (set_std_terminate_breakpoint): Call
3160 momentary_breakpoint_from_master with additional argument.
3161 (momentary_breakpoint_from_master): Add argument to function
3162 definition and use it to initialize structure member flag.
74228e77 3163 (clone_momentary_breakpoint): Call
a1aa2221
LM
3164 momentary_breakpoint_from_master with additional argument.
3165 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3166 member flags set in momentary_breakpoint_from_master.
3167
4be83cc2
GB
31682014-06-18 Gary Benson <gbenson@redhat.com>
3169
3170 * i386-nat.c (i386_show_dr): Renamed to
3171 i386_dr_show and made nonstatic. All uses updated.
3172 (i386_length_and_rw_bits): Renamed to
3173 i386_dr_length_and_rw_bits and made nonstatic.
3174 All uses updated.
3175 (i386_insert_aligned_watchpoint): Renamed to
3176 i386_dr_insert_aligned_watchpoint and made nonstatic.
3177 All uses updated.
3178 (i386_remove_aligned_watchpoint): Renamed to
3179 i386_dr_remove_aligned_watchpoint and made nonstatic.
3180 All uses updated.
3181 (i386_update_inferior_debug_regs): Renamed to
3182 i386_dr_update_inferior_debug_regs and made nonstatic.
3183 All uses updated.
3184
131aa0d4
GB
31852014-06-18 Gary Benson <gbenson@redhat.com>
3186
3187 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3188 (i386_dr_low_can_set_control): Likewise.
3189 (i386_dr_low_set_addr): Likewise.
3190 (i386_dr_low_set_control): Likewise.
3191 (i386_dr_low_get_addr): Likewise.
3192 (i386_dr_low_get_status): Likewise.
3193 (i386_dr_low_get_control): Likewise.
3194 (i386_insert_aligned_watchpoint): Use new macros.
3195 (i386_update_inferior_debug_regs): Likewise.
3196 (i386_stopped_data_address): Likewise.
3197
d9305f7f
GB
31982014-06-18 Gary Benson <gbenson@redhat.com>
3199
3200 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3201 New parameter. All uses updated.
3202
ea008da4
GB
32032014-06-18 Gary Benson <gbenson@redhat.com>
3204
3205 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3206 All uses updated.
3207
1b6d4134
GB
32082014-06-18 Gary Benson <gbenson@redhat.com>
3209
3210 * i386-nat.c (debug_printf): New macro.
3211 (i386_get_debug_register_length): Likewise.
3212 (TARGET_HAS_DR_LEN_8): Use above macro.
3213 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3214 and printf_unfiltered. Use phex to format values.
3215
9b4550ef
GB
32162014-06-18 Gary Benson <gbenson@redhat.com>
3217
3218 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3219 Make const.
3220
6e62758f
GB
32212014-06-18 Gary Benson <gbenson@redhat.com>
3222
3223 * i386-nat.c: Comment changes.
3224
51c79e94
GB
32252014-06-18 Gary Benson <gbenson@redhat.com>
3226
3227 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3228
3e11889a
GB
32292014-06-18 Gary Benson <gbenson@redhat.com>
3230
3231 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3232 (i386_insert_aligned_watchpoint): Likewise.
3233 (i386_remove_aligned_watchpoint): Likewise.
3234 (i386_handle_nonaligned_watchpoint): Likewise.
3235
fc6e2f03
GB
32362014-06-18 Gary Benson <gbenson@redhat.com>
3237
3238 * i386-nat.c: Whitespace changes.
3239
2afe7d50
SB
32402014-06-17 Samuel Bronson <naesten@gmail.com>
3241
3242 * MAINTAINERS: Update Roland McGrath's email address.
3243 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3244 Red Hat a while ago, and giving me a current address.
2afe7d50 3245
3bca49ee
TT
32462014-06-17 Tom Tromey <tromey@redhat.com>
3247
3248 * utils.h (savestring): Remove declaration.
3249
6e366df1
TT
32502014-06-17 Tom Tromey <tromey@redhat.com>
3251
3252 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3253
6be47f0c
KS
32542014-06-16 Keith Seitz <keiths@redhat.com>
3255
3256 PR mi/15863
3257 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3258 to update the varobj if inferior_ptid is null_ptid.
3259
7bc112c1
TT
32602014-06-16 Tom Tromey <tromey@redhat.com>
3261
3262 * target.h (struct target_ops) <to_info_proc>: Make parameter
3263 const.
3264 (target_info_proc): Update.
3265 * target.c (target_info_proc): Make "args" const.
3266 * procfs.c (procfs_info_proc): Update.
3267 * linux-tdep.c (linux_info_proc): Update.
3268 (linux_core_info_proc_mappings): Make "args" const.
3269 (linux_core_info_proc): Update.
3270 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3271 * gdbarch.c: Rebuild.
3272 * gdbarch.h: Rebuild.
3273 * corelow.c (core_info_proc): Update.
3274
fee354ee
TT
32752014-06-16 Tom Tromey <tromey@redhat.com>
3276
3277 * target.h (struct target_ops) <to_disconnect>: Make parameter
3278 const.
3279 (target_disconnect): Update.
3280 * target.c (target_disconnect): Make "args" const.
3281 * target-delegates.c: Rebuild.
3282 * remote.c (remote_disconnect): Update.
3283 * record.h (record_disconnect): Update.
3284 * record.c (record_disconnect): Update.
3285 * inf-child.c (inf_child_disconnect): Update.
3286
a30bf1f1
TT
32872014-06-16 Tom Tromey <tromey@redhat.com>
3288
3289 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3290 * target.c (debug_to_rcmd, default_rcmd): Update.
3291 * target-delegates.c: Rebuild.
3292 * remote.c (remote_rcmd): Update.
3293 * monitor.c (monitor_rcmd): Update.
3294
d03de421
PA
32952014-06-16 Pedro Alves <palves@redhat.com>
3296
3297 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3298 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3299 have OBJF_SHARED set.
3300 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3301 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3302 instead of OBJF_USERLOADED.
3303 * objfiles.h (OBJF_SHARED): Update comment.
3304 (userloaded_objfile_contains_address_p): Rename to ...
3305 (shared_objfile_contains_address_p): ... this, and update
3306 comments.
3307 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3308 new objfile.
3309 (remove_symbol_file_command): Skip objfiles that don't have
3310 OBJF_SHARED set.
3311
99f4262f
TT
33122014-06-16 Tom Tromey <tromey@redhat.com>
3313
3314 * minsyms.h (prim_record_minimal_symbol)
3315 (prim_record_minimal_symbol_and_info): Update comments.
3316
97d66cc6
EZ
33172014-06-14 Eli Zaretskii <eliz@gnu.org>
3318
3319 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3320 or --without-guile, according to how GDB was built.
3321
635c7e8a
TT
33222014-06-13 Tom Tromey <tromey@redhat.com>
3323
3324 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3325 to help_list.
3326 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3327 to help_list.
3328 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3329 help_list.
3330 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3331 help_list.Pass all_commands, not -1, to help_list.
3332 * cli/cli-dump.c (dump_command, append_command)
3333 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3334 (binary_dump_command, binary_append_command): Pass all_commands,
3335 not -1, to help_list.
3336 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3337 -1, to help_list.
3338 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3339 -1, to help_list.
3340 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3341 help_list.
3342 * top.c (set_history): Pass all_commands, not -1, to help_list.
3343 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3344 all_commands, not -1, to help_list.
3345 * symfile.c (overlay_command): Pass all_commands, not -1, to
3346 help_list.
3347 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3348 help_list.
3349 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3350 help_list.
3351 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3352 -1, to help_list.
3353 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3354 not -1, to help_list.
3355 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3356 not -1, to help_list.
3357 * maint.c (maintenance_command, maintenance_info_command)
3358 (maintenance_print_command, maintenance_set_cmd): Pass
3359 all_commands, not -1, to help_list.
3360 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3361 help_list.
3362 * language.c (set_check): Pass all_commands, not -1, to help_list.
3363 * infcmd.c (unset_command): Pass all_commands, not -1, to
3364 help_list.
3365 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3366 help_list.
3367 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3368 help_list.
3369 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3370 help_list.
3371 * breakpoint.c (save_command): Pass all_commands, not -1, to
3372 help_list.
3373 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3374 all_commands, not -1, to help_list.
3375
b94ade42
PL
33762014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3377
3378 * regcache.c (struct register_to_invalidate): New structure.
3379 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3380 functions.
3381 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3382
31f628ae
YQ
33832014-06-12 Yao Qi <yao@codesourcery.com>
3384
3385 * varobj.c (varobj_get_num_children): Call
3386 varobj_is_dynamic_p.
3387 (varobj_list_children): Likewise.
3388 (varobj_update): Likewise. Update comments.
3389
cde5ef40
YQ
33902014-06-12 Yao Qi <yao@codesourcery.com>
3391
3392 * varobj.c (varobj_pretty_printed_p): Rename to ...
3393 (varobj_is_dynamic_p): ... this. New function.
3394 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3395 (varobj_is_dynamic_p): Declare.
3396 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3397 (mi_print_value_p, varobj_update_one): Likewise.
3398
576ea091
YQ
33992014-06-12 Pedro Alves <pedro@codesourcery.com>
3400 Yao Qi <yao@codesourcery.com>
3401
3402 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3403 (varobj_get_iterator): Wrap up code for pretty-printer by
3404 "#if HAVE_PYTHON" and "#endif".
3405 (update_dynamic_varobj_children): Likewise.
3406
827f100c
YQ
34072014-06-12 Pedro Alves <pedro@codesourcery.com>
3408 Yao Qi <yao@codesourcery.com>
3409
3410 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3411 gdb_python_initialized is false. Move some code from varobj.c.
3412 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3413 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3414 (struct varobj_item): Moved to varobj-iter.h".
3415 (varobj_clear_saved_item): New function.
3416 (update_dynamic_varobj_children): Move python-related code to
3417 py-varobj.c.
3418 (free_variable): Call varobj_clear_saved_item and
3419 varobj_iter_delete.
3420
e5250216
YQ
34212014-06-12 Pedro Alves <pedro@codesourcery.com>
3422 Yao Qi <yao@codesourcery.com>
3423
3424 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3425 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3426 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3427 (py-varobj.o): New rule.
3428 * python/py-varobj.c: New file.
3429 * python/python-internal.h (py_varobj_get_iterator): Declare.
3430 * varobj-iter.h: New file.
3431 * varobj.c: Include "varobj-iter.h"
3432 (struct varobj) <child_iter>: Change its type from "PyObject *"
3433 to "struct varobj_iter *".
3434 <saved_item>: Likewise.
3435 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3436 [HAVE_PYTHON] (varobj_get_iterator): New function.
3437 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3438 python-specific code to python/py-varobj.c.
3439 (install_visualizer): Call varobj_iter_delete instead of
3440 Py_XDECREF.
3441 * varobj.h (varobj_ensure_python_env): Declare.
3442
5a2e0d6e
YQ
34432014-06-12 Yao Qi <yao@codesourcery.com>
3444
3445 * varobj.c (struct varobj_item): New structure.
3446 (create_child_with_value): Update declaration.
3447 (varobj_add_child): Replace arguments 'name' and 'value' with
3448 'item'. All callers updated.
3449 (install_dynamic_child): Likewise.
3450 (update_dynamic_varobj_children): Likewise.
3451 (varobj_add_child): Likewise.
3452 (create_child_with_value): Likewise.
3453
919b9a93
JB
34542014-06-11 Joel Brobecker <brobecker@adacore.com>
3455
3456 * NEWS: Create a new section for the next release branch.
3457 Rename the section of the current branch, now that it has
3458 been cut.
3459
71a55bdf
JB
34602014-06-11 Joel Brobecker <brobecker@adacore.com>
3461
3462 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3463 * version.in: Bump version to 7.8.50.DATE-cvs.
3464
364fe1f7
PA
34652014-06-11 Pedro Alves <palves@redhat.com>
3466
3467 PR remote/17028
3468 * ser-mingw.c (net_windows_socket_check_pending): New function.
3469 (net_windows_select_thread): Ignore spurious wakeups. Use
3470 net_windows_socket_check_pending.
3471 (net_windows_wait_handle): Check for pending events with
3472 ioctlsocket, through net_windows_socket_check_pending, instead of
3473 checking the socket's event.
3474
5a6c7709
SC
34752014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3476
3477 * python/python-internal.h (gdb_PyObject_GetAttrString)
3478 (gdb_PyObject_HasAttrString): New inline function definitions.
3479 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3480 char * of the second argument to PyObject_GetAttrString.
74228e77 3481
0e58ee40
JB
34822014-06-10 Joel Brobecker <brobecker@adacore.com>
3483
3484 * serial.c (serial_write): Fix index of character to be printed
3485 in call to serial_logchar when serial debug traces are enabled.
3486
d190df30
JB
34872014-06-10 Joel Brobecker <brobecker@adacore.com>
3488
3489 * gdbtypes (resolve_dynamic_range): Add function description.
3490
b4b01d36
PA
34912014-06-09 Pedro Alves <palves@redhat.com>
3492
3493 * linux-nat.c (linux_child_follow_fork): Initialize status with
3494 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3495 inner block. Only pass the signal to PTRACE_DETACH if in pass
3496 state.
3497
3657956b
GB
34982014-06-09 Gary Benson <gbenson@redhat.com>
3499
3500 * common/signals.c (gdb_signal_from_host): Reorder to separate
3501 the always-available ANSI-standard signals from the signals that
3502 require checking.
3503 (do_gdb_signal_to_host): Likewise.
3504 * proc-events.c (signal_table): Likewise.
3505
c077881a
HZ
35062014-06-08 Hui Zhu <hui@codesourcery.com>
3507
3508 * common/linux-ptrace.c (linux_disable_event_reporting): New
3509 function.
3510 * common/linux-ptrace.h (linux_disable_event_reporting): New
3511 declaration.
3512 * linux-nat.c (linux_child_follow_fork): Do a single step before
3513 detach.
3514
4186eb54
KS
35152014-06-07 Keith Seitz <keiths@redhat.com>
3516
3517 Revert:
3518 PR c++/16253
3519 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3520 from symbol_matches_domain in symtab.c. All local callers
3521 of symbol_matches_domain updated.
3522 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3523 search STRUCT_DOMAIN.
3524 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3525 independently. standard_lookup will do that automatically.
3526 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3527 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3528 (cp_lookup_symbol_in_namespace): Likewise.
3529 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3530 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3531 may return a STRUCT_DOMAIN match.
3532 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3533 * cp-support.c: Include language.h.
3534 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3535 VAR_DOMAIN.
3536 * psymtab.c (match_partial_symbol): Compare the requested
3537 domain with the symbol's domain directly.
3538 (lookup_partial_symbol): Likewise.
3539 * symtab.c (lookup_symbol_in_language): Explain when/why
3540 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3541 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3542 appropriate languages.
3543 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3544 and moved to ada-lang.c
3545 (lookup_block_symbol): Explain that this function only returns
3546 symbol matching the requested DOMAIN.
3547 Compare the requested domain with the symbol's domain directly.
3548 (iterate_over_symbols): Compare the requested domain with the
3549 symbol's domain directly.
3550 * symtab.h (symbol_matches_domain): Remove.
3551
25326a28 35522014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3553
3554 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3555 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3556 (gdbscm_guile_version_is_at_least): Declare.
3557 (gdbscm_scm_string_to_int): Declare.
3558 * guile/guile.c (gdbscm_guile_major_version): New global.
3559 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3560 (guile_datadir): New static global.
3561 (gdbscm_guile_data_directory): New function.
3562 (initialize_scheme_side): Update.
3563 (misc_guile_functions): Add guile-data-directory.
3564 (initialize_gdb_module): Fetch guile version number.
3565 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3566 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3567 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3568 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3569 comments.
3570 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3571 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3572 * guile/scm-value.c (gdbscm_value_to_string): Only call
3573 scm_port_conversion_strategy if Guile version >= 2.0.6.
3574
0a770bb2 35752014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3576
3577 * main.c (print_gdb_help): Add -q and --silent.
3578
73ba372c
GB
35792014-06-06 Gary Benson <gbenson@redhat.com>
3580
3581 * common/signals.c: Remove preprocessor conditionals for
3582 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3583 SIGSEGV and SIGTERM.
3584 * proc-events.c: Likewise.
3585
c33b2f12
MM
35862014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3587
3588 * symfile.c (symfile_free_objfile): Remove restriction to
3589 OBJF_USERLOADED.
3590 * symfile-mem.c (symbol_file_add_from_memory): Call
3591 add_target_sections_of_objfile.
3592
fb934770
LC
35932014-06-05 Ludovic Courtès <ludo@gnu.org>
3594
3595 * guile/scm-value.c (gdbscm_history_append_x): Use
3596 'vlscm_get_value_smob_arg_unsafe' instead of
3597 'vlscm_scm_to_value'.
3598
6ef284bd
SM
35992014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3600
3601 PR mi/15806
3602 * utils.c (printchar): Don't escape at all if quoter is NUL.
3603 Update function documentation to clarify effect of parameter
3604 QUOTER.
3605 * remote.c (escape_buffer): Pass '\\' as the quoter to
3606 fputstrn_unfiltered.
3607 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3608 generate the output.
3609 (mi_solib_unloaded): Same.
3610
270c9937
JB
36112014-06-05 Joel Brobecker <brobecker@adacore.com>
3612
3613 * development.sh: Delete.
3614 * Makefile.in (config.status): Adjust dependency on development.sh.
3615 * configure.ac: Adjust development.sh source call.
3616 * configure: Regenerate.
3617
16f691fb
DE
36182014-06-04 Doug Evans <xdje42@gmail.com>
3619
3620 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3621 is_scheme_bkpt, spec.
3622 (bpscm_make_breakpoint_smob): Initialize new members.
3623 (gdbscm_create_breakpoint_x): Split into two ...
3624 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3625 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3626 (scheme_function breakpoint_functions): Update.
3627 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3628 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3629 register-breakpoint!.
3630
ef7cab6b
JB
36312014-06-04 Joel Brobecker <brobecker@adacorer.com>
3632
3633 PR server/17023
3634 * mem-break.c (z_type_supported): Return zero if
3635 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3636
012370f6
TT
36372014-06-04 Tom Tromey <tromey@redhat.com>
3638
3639 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3640 value_from_contents_and_address_unresolved.
3641 (ada_template_to_fixed_record_type_1): Likewise.
3642 (ada_which_variant_applies): Likewise.
3643 * value.h (value_from_contents_and_address_unresolved): Declare.
3644 * value.c (value_from_contents_and_address_unresolved): New
3645 function.
3646 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3647 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3648 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3649
92e2a17f
TT
36502014-06-04 Tom Tromey <tromey@redhat.com>
3651
3652 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3653
c0939df1
TT
36542014-06-04 Tom Tromey <tromey@redhat.com>
3655
3656 * procfs.c (procfs_attach): Make "args" const.
3657 * windows-nat.c (windows_attach): Make "args" const.
3658 * nto-procfs.c (procfs_attach): Make "args" const.
3659 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3660 * go32-nat.c (go32_attach): Make "args" const.
3661 * gnu-nat.c (gnu_attach): Make "args" const.
3662 * darwin-nat.c (darwin_attach): Make "args" const.
3663 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3664 * linux-nat.c (linux_nat_attach): Make "args" const.
3665 * remote.c (extended_remote_attach_1, extended_remote_attach):
3666 Make "args" const.
3667 * target.h (struct target_ops) <to_attach>: Make "args" const.
3668 (find_default_attach): Likewise.
3669 * utils.c (parse_pid_to_attach): Make "args" const.
3670 * utils.h (parse_pid_to_attach): Update.
3671
8eaff7cd
TT
36722014-06-04 Tom Tromey <tromey@redhat.com>
3673
3674 * target-delegates.c: Rebuild.
3675 * target.c (default_thread_address_space): New function.
3676 (target_thread_address_space): Simplify.
3677 * target.h (struct target_ops) <to_thread_address_space>: Add
3678 TARGET_DEFAULT_FUNC.
3679
1913f160
DE
36802014-06-04 Doug Evans <xdje42@gmail.com>
3681
3682 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3683
70ad5bff
MM
36842014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3685
3686 * record-btrace.c: Include event-loop.h and inf-loop.h.
3687 (record_btrace_resume_exec_dir)
3688 (record_btrace_async_inferior_event_handler)
3689 (record_btrace_handle_async_inferior_event): New.
3690 (record_btrace_open): Create async event handler.
3691 (record_btrace_close): Delete async event handler.
3692 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3693 Mark async event handler.
3694 (record_btrace_execution_direction): New.
3695 (init_record_btrace_ops): Initialize to_execution_direction.
3696
b6210538
DE
36972014-06-03 Doug Evans <xdje42@gmail.com>
3698
3699 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3700 (gdbscm_make_parameter): Ditto.
3701
a5b1fd27
DE
37022014-06-03 Doug Evans <dje@google.com>
3703
3704 * exec.c (exec_close_1): Call clear_section_table instead of
3705 resize_section_table.
3706 (clear_section_table): New function.
3707 (resize_section_table): Make static. Rename arg num_added to
3708 adjustment.
3709 * exec.h (clear_section_table): Declare.
3710 (resize_section_table): Delete.
3711 * progspace.c (release_program_space): Call clear_section_table
3712 instead of resize_section_table.
3713
0c6e92a5
SC
37142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3715
3716 * NEWS (Python Scripting): Add entry about the new xmethods
3717 feature.
3718
883964a7
SC
37192014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3720
3721 * python/py-xmethods.c: New file.
3722 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3723 (objfpy_dealloc): XDECREF on the new xmethods field.
3724 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3725 field.
3726 (objfpy_get_xmethods): New function.
3727 (objfile_getset): New entry 'xmethods'.
3728 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3729 (pspy_dealloc): XDECREF on the new xmethods field.
3730 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3731 field.
3732 (pspy_get_xmethods): New function.
3733 (pspace_getset): New entry 'xmethods'.
3734 * python/python-internal.h: Add declarations for new functions.
3735 * python/python.c (_initialize_python): Invoke
3736 gdbpy_initialize_xmethods.
3737 * python/lib/gdb/__init__.py (xmethods): New
3738 attribute.
3739 * python/lib/gdb/xmethod.py: New file.
3740 * python/lib/gdb/command/xmethods.py: New file.
3741
58992dc5
SC
37422014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3743
3744 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3745 best match method returned by find_overload_match is an xmethod.
3746 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3747 the best matching operator returned by find_overload_match is an
3748 xmethod.
3749 * valops.c: #include "extension.h".
3750 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3751 Return void. The list of matching source methods is returned in
3752 "fn_list" and a vector of matching debug method workers is
3753 returned in "xm_worker_vec". Update all callers.
3754 (value_find_oload_method_list): Likewise.
3755 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3756 non-NULL, then the index of the best matching method in this
3757 vector is returned. Update all callers.
3758 (find_overload_match): Include xmethods while performing overload
3759 resolution.
3760
e81e7f5e
SC
37612014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3762
3763 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3764 * extension-priv.h (struct extension_language_ops): Add the
3765 xmethod interface.
3766 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3767 get_matching_xmethod_workers, get_xmethod_argtypes,
3768 invoke_xmethod, free_xmethod_worker,
3769 free_xmethod_worker_vec): New functions.
3770 * extension.h: #include "common/vec.h".
3771 New function declarations.
3772 (struct xmethod_worker): New struct.
3773 (VEC (xmethod_worker_ptr)): New vector type.
3774 (xmethod_worker_ptr): New typedef.
3775 (xmethod_worker_vec): Likewise.
3776 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3777 builtin_type.
3778 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3779 (struct builtin_type): New field "xmethod".
3780 * valarith.c (value_ptradd): Assert that the value argument is not
3781 lval_xcallable.
3782 * valops.c (value_must_coerce_to_target): Return 0 for
3783 lval_xcallable values.
3784 * value.c (struct value): New field XM_WORKER in the field
3785 LOCATION.
3786 (value_address, value_raw_address): Return 0 for lval_xcallable
3787 values.
3788 (set_value_address): Assert that the value is not an
3789 lval_xcallable.
3790 (value_free): Free the associated xmethod worker when freeing
3791 lval_xcallable values.
3792 (set_value_component_location): Assert that the WHOLE value is not
3793 lval_xcallable.
3794 (value_of_xmethod, call_xmethod): New functions.
3795 * value.h: Declare "struct xmethod_worker".
3796 Declare new functions value_of_xmethod, call_xmethod.
3797
ef370185
JB
37982014-06-03 Joel Brobecker <brobecker@adacore.com>
3799 Pedro Alves <palves@redhat.com>
3800
3801 PR breakpoints/17000
3802 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3803 New function, extracted from software_breakpoint_inserted_here_p.
3804 (software_breakpoint_inserted_here_p): Replace factored out code
3805 by call to find_non_raw_software_breakpoint_inserted_here.
3806 (bp_target_info_copy_insertion_state): New function.
3807 (bkpt_insert_location): Handle the case of a single-step
3808 breakpoint already inserted at the same address.
3809 (bkpt_remove_location): Handle the case of a single-step
3810 breakpoint still inserted at the same address.
3811 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3812 breakpoint already inserted at the same address.
3813 (deprecated_remove_raw_breakpoint): Handle the case of a
3814 non-raw breakpoint still inserted at the same address.
3815 (find_single_step_breakpoint): New function, extracted from
3816 single_step_breakpoint_inserted_here_p.
3817 (find_single_step_breakpoint): New function,
3818 factored out from single_step_breakpoint_inserted_here_p.
3819 (single_step_breakpoint_inserted_here_p): Reimplement.
3820
1e2ccb61
BM
38212014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3822
3823 Pushed by Joel Brobecker <brobecker@adacore.com>
3824 * source.c (show_substitute_path_command): Fix display of matching
3825 substitution rules.
3826
d3448d85
GB
38272014-06-03 Gary Benson <gbenson@redhat.com>
3828
3829 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3830
06eb1586
DE
38312014-06-02 Doug Evans <xdje42@gmail.com>
3832
3833 Add parameter support for Guile.
3834 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3835 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3836 (scm-param.o): New rule.
3837 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3838 (gdbscm_misc_error): Declare.
3839 (gdbscm_canonicalize_command_name): Declare.
3840 (gdbscm_scm_to_host_string): Declare.
3841 (gdbscm_scm_from_host_string): Declare.
3842 (gdbscm_initialize_parameters): Declare.
3843 * guile/guile.c (initialize_gdb_module): Call
3844 gdbscm_initialize_parameters.
3845 * guile/lib/gdb.scm: Export parameter symbols.
3846 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3847 cmdscm_canonicalize_name and made public. All callers updated.
3848 * guile/scm-exception.c (gdbscm_misc_error): New function.
3849 * guile/scm-param.c: New file.
3850 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3851 (gdbscm_scm_to_host_string): New function.
3852 (gdbscm_scm_from_host_string): New function.
3853 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3854
e698b8c4
DE
38552014-06-02 Doug Evans <xdje42@gmail.com>
3856
3857 Add command support for Guile.
3858 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3859 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3860 (scm-cmd.o): New rule.
3861 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3862 (gdbscm_user_error_p): Declare.
3863 (gdbscm_parse_command_name): Declare.
3864 (gdbscm_valid_command_class_p): Declare.
3865 (gdbscm_initialize_commands): Declare.
3866 * guile/guile.c (initialize_gdb_module): Call
3867 gdbscm_initialize_commands.
3868 * guile/lib/gdb.scm: Export command symbols.
3869 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3870 (throw-user-error): New function.
3871 * guile/scm-cmd.c: New file.
3872 * guile/scm-exception.c (user_error_symbol): New static global.
3873 (gdbscm_user_error_p): New function.
3874 (gdbscm_initialize_exceptions): Set user_error_symbol.
3875 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3876
fb1f94b0
PM
38772014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3878
3879 * top.c (command_loop): Handle comments here...
3880 (command_line_input): ... not here.
3881
ded03782
DE
38822014-06-02 Doug Evans <xdje42@gmail.com>
3883
3884 Add progspace support for Guile.
3885 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3886 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3887 (scm-progspace.o): New rule.
3888 * guile/guile-internal.h (pspace_smob): New typedef.
3889 (psscm_pspace_smob_pretty_printers): Declare.
3890 (psscm_pspace_smob_from_pspace): Declare.
3891 (psscm_scm_from_pspace): Declare.
3892 * guile/guile.c (initialize_gdb_module): Call
3893 gdbscm_initialize_pspaces.
3894 * guile/lib/gdb.scm: Export progspace symbols.
3895 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3896 support.
3897 (append-pretty-printer!): Ditto.
3898 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3899 Implement.
3900 * guile/scm-progspace.c: New file.
3901
397998fc
AM
39022014-06-03 Alan Modra <amodra@gmail.com>
3903
3904 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3905 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3906
6aa5f3a6
DE
39072014-06-02 Doug Evans <dje@google.com>
3908
3909 Add support for skeletonless type units.
3910 * dwarf2read.c (struct dwarf2_per_objfile): New member
3911 n_allocated_type_units.
3912 (struct dwarf2_per_objfile) <tu_stats>: New member
3913 nr_all_type_units_reallocs.
3914 (create_signatured_type_table_from_index): Initialize
3915 n_allocated_type_units
3916 (create_all_type_units): Ditto.
3917 (add_type_unit): Move up in file. New arg slot.
3918 All callers updated. Increase space for all_type_units more
3919 efficiently.
3920 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3921 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3922 (lookup_dwp_signatured_type): Ditto.
3923 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3924 All callers updated.
3925 (build_type_psymtabs_1): Leave type_unit_groups as
3926 NULL if no TUs present.
3927 (print_tu_stats): New function.
3928 (process_skeletonless_type_unit): New function.
3929 (process_dwo_file_for_skeletonless_type_units): New
3930 function.
3931 (process_skeletonless_type_units): New function.
3932 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3933 Call print tu_stats if debugging enabled.
3934
41fac0cf
PA
39352014-06-02 Pedro Alves <palves@redhat.com>
3936
3937 * breakpoint.c (build_target_command_list): Don't build a command
3938 list if we have any duplicate location that isn't a dprintf.
3939
cd1608cc
PA
39402014-06-02 Pedro Alves <palves@redhat.com>
3941
3942 * breakpoint.c (dprintf_breakpoint_hit): New function.
3943 (initialize_breakpoint_ops): Install it as dprintf's
3944 breakpoint_hit method.
3945
486ef3b9
JB
39462014-06-02 Joel Brobecker <brobecker@adacore.com>
3947
3948 * source.c (substitute_path_rule_matches): Simplify using
3949 filename_ncmp instead of FILENAME_CMP.
3950
230cd560
JB
39512014-06-02 Joel Brobecker <brobecker@adacore.com>
3952
3953 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3954
16954d5d
LC
39552014-06-01 Ludovic Courtès <ludo@gnu.org>
3956
3957 * configure.ac: When Guile is available, check for the
3958 availability of 'scm_new_smob'.
3959 * configure, config.h.in: Regenerate.
3960 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3961 function.
3962
53e8a631
AB
39632014-05-30 Andrew Burgess <aburgess@broadcom.com>
3964
3965 * frame.c (struct frame_info): Add stop_string field.
3966 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3967 (get_prev_frame_always): Old content moved into
3968 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3969 TRY_CATCH, handle MEMORY_ERROR exceptions.
3970 (frame_stop_reason_string): New function definition.
3971 * frame.h (unwind_stop_reason_to_string): Extend comment to
3972 mention frame_stop_reason_string.
3973 (frame_stop_reason_string): New function declaration.
3974 * stack.c (frame_info): Switch to frame_stop_reason_string.
3975 (backtrace_command_1): Switch to frame_stop_reason_string.
3976 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3977 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3978 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3979
70e38b8e
AB
39802014-05-30 Andrew Burgess <aburgess@broadcom.com>
3981
3982 * frame.c (frame_stop_reason_string): Rename to ...
3983 (unwind_stop_reason_to_string): this.
3984 * frame.h (frame_stop_reason_string): Rename to ...
3985 (unwind_stop_reason_to_string): this.
3986 * stack.c (frame_info): Update call to frame_stop_reason_string.
3987 (backtrace_command_1): Likewise.
3988 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3989 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3990
938f0e2f
AB
39912014-05-30 Andrew Burgess <aburgess@broadcom.com>
3992
3993 * frame.c (remove_prev_frame): New function.
3994 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3995 remove_prev_frame.
3996
a09dd441
PA
39972014-05-29 Pedro Alves <palves@redhat.com>
3998
3999 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4000 and make it const. When a single-step decays to a continue,
4001 clear 'step', not 'hw_step'. Pass whether the caller wanted
4002 to step to user_visible_resume_ptid, not what we ask the
4003 target to do.
4004
bdc36728
PA
40052014-05-29 Pedro Alves <palves@redhat.com>
4006
4007 * infrun.c (process_event_stop_test, handle_step_into_function)
4008 (handle_step_into_function_backward): Adjust.
4009 Don't set the even thread's stop_step and call stop_waiting before
4010 calling end_stepping_range. Instead do that ...
4011 (end_stepping_range): ... here. Take an ecs pointer parameter.
4012
22bcd14b
PA
40132014-05-29 Pedro Alves <palves@redhat.com>
4014
4015 * infrun.c (stop_stepping): Rename to ...
4016 (stop_waiting): ... this.
4017 (proceed): Update comment.
4018 (process_event_stop_test, handle_inferior_event)
4019 (handle_signal_stop, handle_step_into_function)
4020 (handle_step_into_function_backward): Update.
4021
4ae57c05
PA
40222014-05-29 Pedro Alves <palves@redhat.com>
4023
4024 * infcall.c (run_inferior_call): Don't check whether the current
4025 thread is running after the proceed call.
4026
329ea579
PA
40272014-05-29 Pedro Alves <palves@redhat.com>
4028 Tom Tromey <tromey@redhat.com>
4029
4030 * NEWS: Mention "maint set target-async", "set mi-async", and that
4031 background execution commands are now always available.
4032 * target.h (target_async_permitted): Update comment.
4033 * target.c (target_async_permitted, target_async_permitted_1):
4034 Default to 1.
4035 (set_target_async_command): Rename to ...
4036 (maint_set_target_async_command): ... this.
4037 (show_target_async_command): Rename to ...
4038 (maint_show_target_async_command): ... this.
4039 (_initialize_target): Adjust.
4040 * infcmd.c (prepare_execution_command): Make extern.
4041 * inferior.h (prepare_execution_command): Declare.
4042 * infrun.c (set_observer_mode): Leave target async alone.
4043 * mi/mi-interp.c (mi_interpreter_init): Install
4044 mi_on_sync_execution_done as sync_execution_done observer.
4045 (mi_on_sync_execution_done): New function.
4046 (mi_execute_command_input_handler): Don't print the prompt if we
4047 just started a synchronous command with an async target.
4048 (mi_on_resume): Check sync_execution before printing prompt.
4049 * mi/mi-main.h (mi_async_p): Declare.
4050 * mi/mi-main.c: Include gdbcmd.h.
4051 (mi_async_p): New function.
4052 (mi_async, mi_async_1): New globals.
4053 (set_mi_async_command, show_mi_async_command, mi_async): New
4054 functions.
4055 (exec_continue): Call prepare_execution_command.
4056 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4057 (mi_execute_async_cli_command): Use mi_async_p.
4058 (_initialize_mi_main): Install "set mi-async". Make
4059 "target-async" a deprecated alias.
4060
92bcb5f9
PA
40612014-05-29 Pedro Alves <palves@redhat.com>
4062
4063 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4064 (_initialize_cli_interp): Adjust.
4065 * event-loop.c: Include "observer.h".
4066 (start_event_loop): Notify 'command_error' observers instead of
4067 calling display_gdb_prompt. Remove FIXME comment.
4068 * event-top.c (display_gdb_prompt): Remove call into the
4069 interpreters.
4070 * inf-loop.c: Include "observer.h".
4071 (inferior_event_handler): Notify 'command_error' observers instead
4072 of calling display_gdb_prompt.
4073 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4074 observers instead of calling display_gdb_prompt.
4075 * interps.c (interp_set): Don't call display_gdb_prompt.
4076 (current_interp_display_prompt_p): Delete.
4077 * interps.h (interp_prompt_p): Delete declaration.
4078 (interp_prompt_p_ftype): Delete.
4079 (struct interp_procs) <prompt_proc_p>: Delete field.
4080 (current_interp_display_prompt_p): Delete declaration.
4081 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4082 (_initialize_mi_interp): Adjust.
4083 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4084 'command_error' observers.
4085 (tui_on_sync_execution_done, tui_on_command_error): New
4086 functions.
4087 (tui_display_prompt_p): Delete.
4088 (_initialize_tui_interp): Adjust.
4089
fd664c91
PA
40902014-05-29 Pedro Alves <palves@redhat.com>
4091
4092 PR gdb/13860
4093 * cli/cli-interp.c: Include infrun.h and observer.h.
4094 (cli_uiout, cli_interp): New globals.
4095 (cli_on_signal_received, cli_on_end_stepping_range)
4096 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4097 functions.
4098 (cli_interpreter_init): Install them as 'end_stepping_range',
4099 'signal_received' 'signal_exited', 'exited' and 'no_history'
4100 observers.
4101 (_initialize_cli_interp): Remove cli_interp local.
4102 * infrun.c (handle_inferior_event): Call the several stop reason
4103 observers instead of printing the stop reason directly.
4104 (end_stepping_range): New function.
4105 (print_end_stepping_range_reason, print_signal_exited_reason)
4106 (print_exited_reason, print_signal_received_reason)
4107 (print_no_history_reason): Make static, and add an uiout
4108 parameter. Print to that instead of to CURRENT_UIOUT.
4109 * infrun.h (print_end_stepping_range_reason)
4110 (print_signal_exited_reason, print_exited_reason)
4111 (print_signal_received_reason print_no_history_reason): New
4112 declarations.
4113 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4114 'mi_uiout'.
4115 <cli_uiout>: New field.
4116 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4117 uiout for CLI output. Install 'signal_received',
4118 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4119 observers.
4120 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4121 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4122 (mi_on_no_history): New functions.
4123 (ui_out_free_cleanup): Delete function.
4124 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4125 instead use the one already stored in the MI interpreter data.
4126 (mi_ui_out): Adjust.
4127 * tui/tui-interp.c: Include infrun.h and observer.h.
4128 (tui_interp): New global.
4129 (tui_on_signal_received, tui_on_end_stepping_range)
4130 (tui_on_signal_exited, tui_on_exited)
4131 (tui_on_no_history): New functions.
4132 (tui_init): Install them as 'end_stepping_range',
4133 'signal_received' 'signal_exited', 'exited' and 'no_history'
4134 observers.
4135 (_initialize_tui_interp): Delete tui_interp local.
4136
8817a6f2
PA
41372014-05-29 Pedro Alves <palves@redhat.com>
4138
4139 PR gdb/15713
4140 * linux-nat.c (linux_nat_resume_callback): Rename the second
4141 parameter to 'except'. Skip LP if it points to EXCEPT.
4142 (linux_nat_resume): Don't mark the event lwp as not stopped
4143 before resuming sibling lwps. Instead ask
4144 linux_nat_resume_callback to skip the event lwp. Mark it as not
4145 stopped after actually resuming it.
4146 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4147 resuming it.
4148 (wait_lwp): Mark the lwp as stopped here.
4149 (stop_wait_callback): Mark the lwp as not stopped right after
4150 resuming it. Don't mark lwps as stopped here.
4151 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4152 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4153
251bde03
PA
41542014-05-29 Pedro Alves <palves@redhat.com>
4155
4156 PR PR15693
4157 * infrun.c (resume): Determine how much to resume depending on
4158 whether the caller wanted a step, not whether we can hardware step
4159 the target. Mark all threads that we intend to run as running,
4160 unless we're calling an inferior function.
4161 (normal_stop): If the thread is running an infcall, don't finish
4162 thread state.
4163 * target.c (target_resume): Don't mark threads as running here.
4164
7f3c0343
JB
41652014-05-28 Joel Brobecker <brobecker@adacore.com>
4166
4167 * serial.c (_initialize_serial): Remove support for
4168 the "set remotebaud" and "show remotebaud" commands.
4169 * NEWS: Add entry documenting the removal of that command.
4170
ee34b3f9
YQ
41712014-05-28 Yao Qi <yao@codesourcery.com>
4172
4173 * charset.c: Fix typo in comments.
4174
add6c04d
GB
41752014-05-27 Gary Benson <gbenson@redhat.com>
4176
4177 * utils.c (internal_vproblem): Prompt for a bug report.
4178
92c48fc5
AW
41792014-05-26 Andy Wingo <wingo@igalia.com>
4180
4181 * guile/scm-arch.c (arscm_mark_arch_smob):
4182 * guile/scm-block.c (bkscm_mark_block_smob)
4183 (bkscm_mark_block_syms_progress_smob):
4184 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4185 * guile/scm-exception.c (exscm_mark_exception_smob):
4186 * guile/scm-frame.c (frscm_mark_frame_smob):
4187 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4188 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4189 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4190 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4191 (ppscm_mark_pretty_printer_worker_smob):
4192 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4193 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4194 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4195 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4196 mark functions.
4197 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4198 function.
4199
b2715b27
AW
42002014-05-26 Andy Wingo <wingo@igalia.com>
4201 Doug Evans <xdje42@gmail.com>
4202
4203 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4204 empty_base_class. All uses updated.
4205 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4206 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4207 Adapt all callers.
4208 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4209 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4210 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4211 (gdbscm_gsmob_has_property_p, add_property_name)
4212 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4213 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4214 (gdb-object-has-property?, gdb-object-properties): Remove.
4215 (gdb-object-kind): Renamed from gsmob-kind.
4216
214ab2da
AW
42172014-05-26 Andy Wingo <wingo@igalia.com>
4218
4219 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4220 * configure: Regenerate.
4221
589fdceb
MM
42222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4223
4224 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4225
67b5c0c1
MM
42262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4227
4228 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4229 (replay_memory_access_read_only, replay_memory_access_read_write)
4230 (replay_memory_access_types, replay_memory_access)
4231 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4232 (cmd_set_record_btrace, cmd_show_record_btrace)
4233 (cmd_show_replay_memory_access): New.
4234 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4235 (record_btrace_remove_breakpoint): Replace
4236 record_btrace_allow_memory_access with replay_memory_access.
4237 (_initialize_record_btrace): Add commands.
4238 * NEWS: Announce it.
4239
036cd381
RR
42402014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4241
4242 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4243
c77c1e42
RR
42442014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4245
4246 * MAINTAINERS (Write After Approval): Move self back from
4247 paper trail.
4248
45741a9c
PA
42492014-05-22 Pedro Alves <palves@redhat.com>
4250
4251 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4252 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4253 (disable_randomization, enum exec_direction_kind)
4254 (execution_direction, stop_registers, start_remote)
4255 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4256 (wait_for_inferior, normal_stop, get_last_target_status)
4257 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4258 (insert_step_resume_breakpoint_at_sal)
4259 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4260 (set_step_info, print_stop_event, signal_stop_state)
4261 (signal_print_state, signal_pass_state, signal_stop_update)
4262 (signal_print_update, signal_pass_update)
4263 (update_signals_program_target, clear_exit_convenience_vars)
4264 (displaced_step_dump_bytes, update_observer_mode)
4265 (signal_catch_update, gdb_signal_from_command): Move
4266 declarations ...
4267 * infrun.h: ... to this new file.
4268 * amd64-tdep.c: Include infrun.h.
4269 * annotate.c: Include infrun.h.
4270 * arch-utils.c: Include infrun.h.
4271 * arm-linux-tdep.c: Include infrun.h.
4272 * arm-tdep.c: Include infrun.h.
4273 * break-catch-sig.c: Include infrun.h.
4274 * breakpoint.c: Include infrun.h.
4275 * common/agent.c: Include infrun.h instead of inferior.h.
4276 * corelow.c: Include infrun.h.
4277 * event-top.c: Include infrun.h.
4278 * go32-nat.c: Include infrun.h.
4279 * i386-tdep.c: Include infrun.h.
4280 * inf-loop.c: Include infrun.h.
4281 * infcall.c: Include infrun.h.
4282 * infcmd.c: Include infrun.h.
4283 * infrun.c: Include infrun.h.
4284 * linux-fork.c: Include infrun.h.
4285 * linux-nat.c: Include infrun.h.
4286 * linux-thread-db.c: Include infrun.h.
4287 * monitor.c: Include infrun.h.
4288 * nto-tdep.c: Include infrun.h.
4289 * procfs.c: Include infrun.h.
4290 * record-btrace.c: Include infrun.h.
4291 * record-full.c: Include infrun.h.
4292 * remote-m32r-sdi.c: Include infrun.h.
4293 * remote-mips.c: Include infrun.h.
4294 * remote-notif.c: Include infrun.h.
4295 * remote-sim.c: Include infrun.h.
4296 * remote.c: Include infrun.h.
4297 * reverse.c: Include infrun.h.
4298 * rs6000-tdep.c: Include infrun.h.
4299 * s390-linux-tdep.c: Include infrun.h.
4300 * solib-irix.c: Include infrun.h.
4301 * solib-osf.c: Include infrun.h.
4302 * solib-svr4.c: Include infrun.h.
4303 * target.c: Include infrun.h.
4304 * top.c: Include infrun.h.
4305 * windows-nat.c: Include infrun.h.
4306 * mi/mi-interp.c: Include infrun.h.
4307 * mi/mi-main.c: Include infrun.h.
4308 * python/py-threadevent.c: Include infrun.h.
4309
98eb56a4
PA
43102014-05-22 Pedro Alves <palves@redhat.com>
4311
4312 * infrun.c (handle_inferior_event): Store the exit code for
4313 --return-child-result here, instead of ...
4314 (print_exited_reason): ... here.
4315
17b2616c
PA
43162014-05-21 Pedro Alves <palves@redhat.com>
4317
4318 PR gdb/13860
4319 * gdbthread.h (struct thread_control_state): New field
4320 `command_interp'.
4321 * infrun.c (follow_fork): Copy the new thread control field to the
4322 child fork thread.
4323 (clear_proceed_status_thread): Clear the new thread control field.
4324 (proceed): Set the new thread control field.
4325 * interps.h (command_interp): Declare.
4326 * interps.c (command_interpreter): New global.
4327 (command_interp): New function.
4328 (interp_exec): Set `command_interpreter' while here.
4329 * cli-out.c (cli_uiout_dtor): New function.
4330 (cli_ui_out_impl): Install it.
4331 * mi/mi-interp.c: Include cli-out.h.
4332 (mi_cmd_interpreter_exec): Add comment.
4333 (restore_current_uiout_cleanup): New function.
4334 (ui_out_free_cleanup): New function.
4335 (mi_on_normal_stop): If finishing an execution command started by
4336 a CLI command, or any kind of breakpoint-like event triggered,
4337 print the stop event to the output (CLI) stream.
4338 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4339
5166082f
PA
43402014-05-21 Pedro Alves <palves@redhat.com>
4341
4342 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4343 current source line having changed.
4344 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4345 * infrun.c (normal_stop): Adjust call to
4346 set_current_sal_from_frame.
4347 * source.c (clear_lines_listed_range): New function.
4348 (set_current_source_symtab_and_line, identify_source_line): Clear
4349 the lines listed range.
4350 (line_info): Handle the first "info line" after the current source
4351 line having changed.
4352 * stack.c (print_stack_frame): Remove center handling.
4353 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4354 center sal.line.
4355
c1ee2fb3
PA
43562014-05-21 Pedro Alves <palves@redhat.com>
4357
4358 * inf-child.c (inf_child_mourn_inferior): New function.
4359 * inf-child.h (inf_child_mourn_inferior): New declaration.
4360 * darwin-nat.c (darwin_mourn_inferior): Use
4361 inf_child_mourn_inferior.
4362 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4363 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4364 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4365 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4366 * windows-nat.c (windows_mourn_inferior): Likewise.
4367
5c6d4fb2
DE
43682014-05-21 Doug Evans <xdje42@gmail.com>
4369
250748cb 4370 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4371
4a2722c5
DE
43722014-05-21 Doug Evans <xdje42@gmail.com>
4373
17292b30 4374 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4375 (gdbscm_out_of_range_error): Ditto.
4376 (gdbscm_memory_error): Ditto.
250748cb
DE
4377 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4378 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4379 (gdbscm_out_of_range_error): Update.
4380 (gdbscm_memory_error): Update.
4381 (gdbscm_scm_to_target_string_unsafe): Delete.
4382
6a3cb8e8
PA
43832014-05-21 Pedro Alves <palves@redhat.com>
4384
4385 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4386 globals.
4387 (inf_child_open_target): New function.
4388 (inf_child_open): Use inf_child_open_target to push the target
4389 instead of erroring out.
4390 (inf_child_disconnect, inf_child_close)
4391 (inf_child_maybe_unpush_target): New functions.
4392 (inf_child_target): Install inf_child_disconnect and
4393 inf_child_close. Store a pointer to the returned object.
4394 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4395 declarations.
4396 * target.c (auto_connect_native_target): New global.
4397 (show_default_run_target): New function.
4398 (find_default_run_target): Return NULL if automatically connecting
4399 to the native target is disabled.
4400 (_initialize_target): Install set/show auto-connect-native-target.
4401 * NEWS: Mention "set auto-connect-native-target", and "target
4402 native".
4403 * linux-nat.c (super_close): New global.
4404 (linux_nat_close): Call super_close.
4405 (linux_nat_add_target): Store a pointer to the base class's
4406 to_close method.
4407 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4408 inf_child_maybe_unpush.
4409 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4410 already pushed.
4411 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4412 the inferior. Use inf_child_maybe_unpush_target.
4413 (inf_ttrace_attach): Don't push the target if it is already
4414 pushed.
4415 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4416 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4417 after mourning the inferior. Use inf_child_maybe_unpush_target.
4418 (darwin_attach_pid): Don't push the target if it is already
4419 pushed.
4420 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4421 mourning the inferior. Use inf_child_maybe_unpush_target.
4422 (gnu_detach): Use inf_child_maybe_unpush_target.
4423 * go32-nat.c (go32_create_inferior): Don't push the target if it
4424 is already pushed.
4425 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4426 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4427 (procfs_open): Rename to ...
4428 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4429 comments. Can target_preopen before changing node. Call
4430 inf_child_open_target to push the target explicitly.
4431 (procfs_attach): Don't push the target if it is already pushed.
4432 (procfs_detach): Use inf_child_maybe_unpush_target.
4433 (procfs_create_inferior): Don't push the target if it is already
4434 pushed.
4435 (nto_native_ops): New global.
4436 (procfs_open): Reimplement.
4437 (procfs_native_open): New function.
4438 (init_procfs_targets): Install procfs_native_open as to_open of
4439 "target native". Store a pointer to the "native" target in
4440 nto_native_ops.
4441 * procfs.c (procfs_attach): Don't push the target if it is already
4442 pushed.
4443 (procfs_detach): Use inf_child_maybe_unpush_target.
4444 (procfs_mourn_inferior): Only unpush the target after mourning the
4445 inferior. Use inf_child_maybe_unpush_target.
4446 (procfs_init_inferior): Don't push the target if it is already
4447 pushed.
4448 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4449 if it is already pushed.
4450
930ee1b1
PA
44512014-05-21 Pedro Alves <palves@redhat.com>
4452
4453 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4454 and "procfs" targets are now called "native" instead.
4455
1f5d1b13
PA
44562014-05-21 Pedro Alves <palves@redhat.com>
4457
4458 * go32-nat.c (go32_open): Delete.
4459 (go32_target): Don't override the to_open method.
4460
132f8e03
PA
44612014-05-21 Pedro Alves <palves@redhat.com>
4462
4463 * nto-procfs.c (procfs_can_run): New function.
4464 (nto_procfs_ops): New global.
4465 (init_procfs_targets): New, based on procfs_target. Install
4466 "target native" in addition to "target procfs".
4467 (_initialize_procfs): Call init_procfs_targets instead of adding
4468 the target here.
4469
03c136c3
PA
44702014-05-21 Pedro Alves <palves@redhat.com>
4471
4472 * windows-nat.c (windows_target): Don't override to_shortname,
4473 to_longname or to_doc.
4474
a635d0f3
PA
44752014-05-21 Pedro Alves <palves@redhat.com>
4476
4477 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4478 to_doc.
4479
4f9b5133
PA
44802014-05-21 Pedro Alves <palves@redhat.com>
4481
4482 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4483 to_shortname, to_longname or to_doc.
4484
bc85afde
PA
44852014-05-21 Pedro Alves <palves@redhat.com>
4486
4487 * go32-nat.c (go32_target): Don't override to_shortname,
4488 to_longname or to_doc.
4489
4ebfc96e
PA
44902014-05-21 Pedro Alves <palves@redhat.com>
4491
4492 * inf-child.c (inf_child_open): Remove mention of "child".
4493 (inf_child_target): Rename target to "native" instead of "child".
4494
2648dfed
AA
44952014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4496
4497 * Makefile.in (SFILES): Delete "regset.c".
4498 (COMMON_OBS): Delete "regset.o".
4499 * regset.c: Remove.
4500 * regset.h (regset_alloc): Delete prototype.
4501
b13feb94
AA
45022014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4503
4504 * sparc-linux-tdep.c (sparc32_linux_gregset)
4505 (sparc32_linux_fpregset): New static regset structures.
4506 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4507 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4508 'fpregset' fields.
4509 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4510 (sparc64_linux_fpregset): New static regset structures.
4511 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4512 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4513 New static regset structures.
4514 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4515 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4516 New static regset structures.
4517 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4518 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4519 New static regset structures.
4520 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4521 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4522 New static regset structures.
4523 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4524
b4fd25c9
AA
45252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4526
4527 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4528 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4529 register maps ("regmaps") from "*regset" to "*regmap". Do this
4530 for all regmap types and variables.
4531 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4532 (sparc32_linux_supply_core_gregset)
4533 (sparc32_linux_collect_core_gregset)
4534 (sparc32_linux_supply_core_fpregset)
4535 (sparc32_linux_collect_core_fpregset): Likewise.
4536 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4537 (sparc_gregmap, sparc_fpregmap): ... these.
4538 (sparc_supply_gregset, sparc_collect_gregset)
4539 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4540 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4541 (_initialize_sparc_nat): Rename regmaps.
4542 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4543 (sparc_gregmap, sparc_fpregmap): ... these.
4544 (sparc_supply_gregset, sparc_collect_gregset)
4545 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4546 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4547 Rename macros to...
4548 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4549 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4550 Likewise.
4551 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4552 Rename to...
4553 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4554 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4555 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4556 regmaps.
4557 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4558 (sparc32_bsd_fpregset): Rename to...
4559 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4560 (sparc32_bsd_fpregmap): ... these.
4561 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4562 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4563 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4564 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4565 (struct sparc_gregmap, struct sparc_fpregmap)
4566 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4567 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4568 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4569 (sparc32_supply_regset, sparc32_collect_gregset)
4570 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4571 prototypes.
4572 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4573 (sparc64_linux_ptrace_gregmap): ... this.
4574 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4575 (_initialize_sparc64_linux_nat): Rename regmaps.
4576 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4577 (sparc64_linux_core_gregmap): ... this.
4578 (sparc64_linux_supply_core_gregset)
4579 (sparc64_linux_collect_core_gregset)
4580 (sparc64_linux_supply_core_fpregset)
4581 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4582 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4583 (sparc64_sol2_fpregset): Rename to...
4584 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4585 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4586 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4587 regmaps.
4588 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4589 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4590 (sparc64_bsd_fpregset): Rename to...
4591 (struct sparc_gregmap, sparc64_sol2_gregmap)
4592 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4593 (sparc64_bsd_fpregmap): ... these.
4594 (sparc64_supply_gregset, sparc64_collect_gregset)
4595 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4596 prototypes.
4597 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4598 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4599 (sparc64fbsd_gregmap): ... this.
4600 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4601 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4602 Rename regmaps.
4603 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4604 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4605 (sparc64nbsd_collect_fpregset): Likewise.
4606 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4607 (sparc64nbsd_gregmap): ... this.
4608 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4609 regmaps.
4610 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4611 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4612 (sparc64obsd_gregmap): ... this.
4613 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4614 regmaps.
4615 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4616 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4617 (sparc32nbsd_gregmap): ... this.
4618 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4619 regmaps.
4620
8fea3224
AA
46212014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4622
4623 * score-tdep.c (score7_linux_gregset): New static regset
4624 structure.
4625 (score7_linux_regset_from_core_section): Remove dynamic regset
4626 allocation.
4627 (score_gdbarch_init): Drop allocation of tdep structure.
4628 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4629
24534243
AA
46302014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4631
4632 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4633 regset structures.
4634 (am33_regset_from_core_section): Remove dynamic regset
4635 allocations.
4636
b7195f27
AA
46372014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4638
4639 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4640 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4641 structures.
4642 (mips_linux_regset_from_core_section): Remove dynamic regset
4643 allocations.
4644 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4645 'gregset64', 'fpregset', and 'fpregset64'.
4646 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4647 deleted tdep fields.
4648
ecc37a5a
AA
46492014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4650
4651 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4652 regset structures.
4653 (amd64_regset_from_core_section): Remove dynamic regset
4654 allocations.
4655 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4656 structure.
4657 (amd64obsd_regset_from_core_section): Remove dynamic regset
4658 allocation.
4659 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4660 Likewise.
4661 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4662 x86-common regset supply function.
4663 * i386-tdep.c (i386_collect_gregset): Make static.
4664 (i386_gregset): New global regset structure.
4665 (i386_fpregset, i386_xstateregset): New static regset structures.
4666 (i386_regset_from_core_section): Remove dynamic regset
4667 allocations.
4668 (i386_gdbarch_init): Remove initialization of tdep fields
4669 'gregset', 'fpregset', and 'xstateregset'.
4670 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4671 'fpregset', and 'xstateregset'.
4672 (i386_collect_gregset): Remove prototype.
4673 (i386_gregset): New declaration.
4674 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4675 structure.
4676 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4677 allocation.
4678
b7611c43
AA
46792014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4680
4681 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4682 (arm_linux_vfpregset): New static regset structures.
4683 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4684 regset structures.
4685 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4686 and 'vfpregset' fields.
4687
a069a2bd
AA
46882014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4689
4690 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4691 (aarch64_linux_fpregset): New static regset structures.
4692 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4693 of regset structures.
4694 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4695 'fpregset' fields.
4696
09424cff
AA
46972014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4698
4699 * regset.h (struct regset): Remove gdbarch field.
4700 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4701 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4702 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4703 Likewise.
4704 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4705 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4706 (ppc32_linux_vsxregset): Likewise.
4707 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4708 via the regcache instead of the regset.
4709 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4710 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4711 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4712 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4713 Likewise.
4714
3ca7dae4
AA
47152014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4716
4717 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4718 Constify structures.
4719 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4720 (alphanbsd_aout_gregset): Likewise.
4721 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4722 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4723 Likewise.
4724 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4725 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4726 Likewise.
4727 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4728 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4729 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4730 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4731 * m88k-tdep.c (m88k_gregset): Likewise.
4732 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4733 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4734 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4735 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4736 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4737 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4738 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4739 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4740 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4741 Likewise.
4742 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4743 * sh-tdep.h (sh_corefile_gregset): Likewise.
4744 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4745 * vax-tdep.c (vax_gregset): Likewise.
4746
5876f503
JK
47472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4748
4749 Fix TLS access for -static -pthread.
4750 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4751 (try_thread_db_load_1): Initialize it.
4752 (thread_db_get_thread_local_address): Call it if LM is zero.
4753 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4754 * target.h (struct target_ops) (to_get_thread_local_address): Add
4755 load_module_addr comment.
4756
0256a6ac
PA
47572014-05-21 Pedro Alves <palves@redhat.com>
4758
4759 * dcache.c (dcache_read_memory_partial): If reading the cache line
4760 fails, fallback to reading just the memory the caller wanted.
4761
227533ac
DE
47622014-05-20 Doug Evans <dje@google.com>
4763
4764 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4765 instead of get_current_arch.
4766
936d2992
PA
47672014-05-20 Pedro Alves <palves@redhat.com>
4768
4769 * NEWS: Mention that compare-sections now works with all targets.
4770
4771 * remote.c (PACKET_qCRC): New enum value.
4772 (remote_verify_memory): Don't send qCRC if the target has no
4773 execution. Use packet_support/packet_ok. If the target doesn't
4774 support the qCRC packet, fallback to a deep memory copy.
4775 (compare_sections_command): Say "target image" instead of "remote
4776 executable".
4777 (_initialize_remote): Add PACKET_qCRC to the list of config
4778 packets that have no associated command. Extend comment.
4779 * target.c (simple_verify_memory, default_verify_memory): New
4780 function.
4781 * target.h (struct target_ops) <to_verify_memory>: Default to
4782 default_verify_memory.
4783 (simple_verify_memory): New declaration.
4784 * target-delegates.c: Regenerate.
4785
e59fa00f
MM
47862014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4787
4788 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4789
f2205de0
HZ
47902014-05-20 Hui Zhu <hui@codesourcery.com>
4791 Yao Qi <yao@codesourcery.com>
4792
4793 PR backtrace/16558
4794 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4795 and change address of sp and pc.
4796
c4e54771
TT
47972014-05-19 Tom Tromey <tromey@redhat.com>
4798
4799 * gdbtypes.c (rank_function): Use XNEWVEC.
4800 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4801
73051182
DE
48022014-05-19 Doug Evans <dje@google.com>
4803
4804 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4805 build_type_unit_groups and moved closer to only caller. Remove
4806 arguments. All references updated. Remove outdated .gdb_index
4807 comment.
4808 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4809 build_type_psymtabs_1.
4810
8832e7e3
DE
48112014-05-19 Doug Evans <dje@google.com>
4812
4813 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4814 n_type_unit_groups, all_type_unit_groups. All uses removed.
4815 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4816 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4817 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4818 (add_type_unit_group_to_table): Delete.
4819
cd8ae15e
DE
48202014-05-19 Doug Evans <dje@google.com>
4821
4822 * eval.c (evaluate_subexp_standard): Add some comments.
4823
08f4850b
DE
48242014-05-17 Doug Evans <xdje42@gmail.com>
4825
4826 * progspace.c (remove_program_space): Delete, unused.
4827 * progspace.h (remove_program_space): Ditto.
4828
bed8455c
DE
48292014-05-17 Doug Evans <xdje42@gmail.com>
4830
4831 * inferior.c (prune_inferiors): Fix comment.
4832 (remove_inferior_command): Call prune_program_spaces.
4833
8d551b02
DE
48342014-05-16 Doug Evans <dje@google.com>
4835
4836 New command line option -D.
4837 * NEWS: Mention it.
4838 * main.c (set_gdb_data_directory): New function.
4839 (captured_main): Recognize -D. Flag error for --data-directory "".
4840 Call set_gdb_data_directory.
4841 (print_gdb_help): Print --data-directory, -D.
4842 * main.h (set_gdb_data_directory): Declare.
4843 * top.c (staged_gdb_datadir): New static global.
4844 (set_gdb_datadir): Call set_gdb_data_directory
4845 (show_gdb_datadir): New function.
4846 (init_main): Update init of data-directory parameter.
4847
18848e28
GF
48482014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4849
4850 Import the "dirfd" gnulib module.
4851 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4852 * gnulib/aclocal.m4: Update.
4853 * gnulib/config.in: Update.
4854 * gnulib/configure: Update.
4855 * gnulib/import/Makefile.am: Update.
4856 * gnulib/import/Makefile.in: Update.
4857 * gnulib/import/dirfd.c: New.
4858 * gnulib/import/m4/dirfd.m4: New.
4859 * gnulib/import/m4/gnulib-cache.m4: Update.
4860 * gnulib/import/m4/gnulib-comp.m4: Update.
4861
95c64f92
YQ
48622014-05-16 Pierre Muller <muller@sourceware.org>
4863 Yao Qi <yao@codesourcery.com>
4864
4865 * valprint.c (print_wchar): Move the code on checking whether
4866 W is a printable wide char to the default branch of switch
4867 statement below. Call wchar_printable instead of gdb_iswprint.
4868
cac395ea
TM
48692014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4870
19679eca 4871 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4872 ldr.w and ldrd instructions.
4873
83655187
DE
48742014-05-15 Doug Evans <dje@google.com>
4875
4876 * dwarf2read.c (read_structure_type): Delete outdated comments.
4877
dd756689
TT
48782014-05-14 Tom Tromey <tromey@redhat.com>
4879
4880 * macrocmd.c (print_macro_definition): Reindent.
4881
75ddda77
DE
48822014-05-13 Doug Evans <xdje42@gmail.com>
4883
4884 * python/py-cmd.c (cmdpy_completer): Add comment.
4885 (completers): Make const.
4886
b0f16a3e
SM
48872014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4888
4889 * infrun.c (resume): Remove should_resume (unused). Move up
4890 declaration of resume_ptid.
4891
033c3379
TT
48922014-05-13 Tom Tromey <tromey@redhat.com>
4893
4894 * language.h (unop_type_check): Remove.
4895 (binop_type_check): Don't declare.
4896
9b44a3a5
AA
48972014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4898
4899 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4900 call to regcache_raw_collect.
4901
303a33fa
SM
49022014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4903
4904 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4905 mi_console->quote as the quoting character.
4906
196100a0
SM
49072014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4908
4909 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4910
f989a1c8
TT
49112014-04-29 Tom Tromey <tromey@redhat.com>
4912
4913 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4914 "show debug varobj".
4915
9404b58f
KM
49162014-05-07 Kyle McMartin <kyle@redhat.com>
4917
4918 Pushed by Joel Brobecker <brobecker@adacore.com>.
4919 * aarch64-tdep.c (aarch64_software_single_step): New function.
4920 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4921 with aarch64_software_single_step.
4922
5e49ba57
JB
49232014-05-05 Joel Brobecker <brobecker@adacore.com>
4924
4925 GDB 7.7.1 released.
4926
c888a17d
KS
49272014-05-05 Keith Seitz <keiths@redhat.com>
4928
4929 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4930 variable or history value is successfully parsed.
4931
290a839c
YQ
49322014-05-05 Yao Qi <yao@codesourcery.com>
4933 Pedro Alves <palves@redhat.com>
4934
4935 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4936 address of blocks that intersects the requested range. Trim
4937 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4938 sections.
4939 * ctf.c (ctf_xfer_partial): Likewise.
4940
91256dc2
YQ
49412014-05-05 Yao Qi <yao@codesourcery.com>
4942
4943 * printcmd.c (display_command): Remove the check to
4944 target_has_execution.
4945
07284463
MK
49462014-05-03 Mark Kettenis <kettenis@gnu.org>
4947
4948 * ppcobsd-nat.c: Include "obsd-nat.h".
4949 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4950 add_target.
4951 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4952
30a1e6cc
SDJ
49532014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4954
4955 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4956 and 16-bit signed and unsigned arguments. Update comment.
4957 (stap_parse_probe_arguments): Extend code to handle such
4958 arguments. Use warning instead of complaint to notify about
4959 unrecognized bitness.
4960
f33da99a
SDJ
49612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4962
4963 PR breakpoints/16889
4964 * stap-probe.c (stap_parse_probe_arguments): Simplify
4965 check for non-prefixed probes (i.e., probes whose
4966 arguments do not start with "N@"). Always set the
4967 argument type to a sane value.
4968
95cf3b38
DT
49692014-05-01 David Taylor <dtaylor@emc.com>
4970
4971 * remote.c (compare_sections_command): Add -r option to compare
4972 all loadable read-only sections.
4973
1cfdf534
SC
49742014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4975
4976 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4977 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4978 Update all callers.
4979 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4980 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4981 Remove unused CORE_ADDR argument. Update all callers.
4982
ca4f7f8b
PA
49832014-04-29 Pedro Alves <palves@redhat.com>
4984
4985 * remote.c (struct packet_config) <detect>: Extend comment.
4986 (add_packet_config_cmd): Don't set the config's detect or support
4987 fields here.
4988 (init_all_packet_configs): Also initialize the config's 'detect'
4989 field.
4990 (reset_all_packet_configs_support): New function.
4991 (remote_open_1): Call reset_all_packet_configs_support instead of
4992 init_all_packet_configs.
4993 (_initialize_remote): Initialize all packet configs. Assert that
4994 all packets have an associated command, except a few known
4995 outliers.
4996
11c1ba78
JB
49972014-04-28 Joel Brobecker <brobecker@adacore.com>
4998
4999 * dwarf2read.c (read_subrange_type): Handle dynamic
5000 DW_AT_lower_bound attributes.
5001
8739bc53
JB
50022014-04-28 Joel Brobecker <brobecker@adacore.com>
5003
5004 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5005 dynamic bounds before computing its upper bound.
5006 (ada_discrete_type_low_bound): Same as above with the lower bound.
5007
6f8a3220
JB
50082014-04-28 Joel Brobecker <brobecker@adacore.com>
5009
5010 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5011 range types. Adjust the array handling implementation to
5012 take advantage of this change.
5013 (resolve_dynamic_range): New function, mostly extracted from
5014 resolve_dynamic_bounds.
5015 (resolve_dynamic_array): New function, mostly extracted from
5016 resolve_dynamic_bounds.
5017 (resolve_dynamic_bounds): Delete.
5018 (resolve_dynamic_type): Reimplement. Add handling of
5019 TYPE_CODE_RANGE types.
5020
4d072ce4
JB
50212014-04-28 Joel Brobecker <brobecker@adacore.com>
5022
5023 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5024 handling of parallel ___XA types.
5025
52865325
JB
50262014-04-28 Joel Brobecker <brobecker@adacore.com>
5027
5028 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5029 unnecessary second call to static_unwrap_type.
5030
433e77fa
HZ
50312014-04-27 Hui Zhu <hui@codesourcery.com>
5032
5033 * stack.c (print_frame_info): Call do_gdb_disassembly with
5034 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5035
b51a69ee
DE
50362014-04-26 Doug Evans <xdje42@gmail.com>
5037
5038 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5039
7ae1a6a6
PA
50402014-04-25 Pedro Alves <palves@redhat.com>
5041
5042 PR server/16255
5043 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5044 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5045 and newline from built string.
5046 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5047 (linux_ptrace_attach_fail_reason): ... this.
5048 * linux-nat.c (linux_nat_attach): Adjust to use
5049 linux_ptrace_attach_fail_reason.
5050
4082afcc
PA
50512014-04-25 Pedro Alves <palves@redhat.com>
5052
5053 * remote.c (struct remote_state): Remove multi_process_aware,
5054 non_stop_aware, cond_tracepoints, cond_breakpoints,
5055 breakpoint_commands, fast_tracepoints, static_tracepoints,
5056 install_in_trace, disconnected_tracing,
5057 enable_disable_tracepoints, string_tracing, and
5058 augmented_libraries_svr4_read fields.
5059 (remote_multi_process_p): Move further below in the file.
5060 (struct packet_config): Add comments.
5061 (update_packet_config): Delete function.
5062 (show_packet_config_cmd): Use packet_config_support.
5063 (add_packet_config_cmd): Use NULL as set callback.
5064 (packet_ok): "set remote foo-packet"-style commands no longer
5065 change config->supported -- adjust.
5066 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5067 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5068 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5069 (PACKET_QNonStop, PACKET_multiprocess_feature)
5070 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5071 (PACKET_DisconnectedTracing_feature)
5072 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5073 (set_remote_protocol_packet_cmd): Delete function.
5074 (packet_config_support, packet_support): New functions.
5075 (set_remote_protocol_Z_packet_cmd): Don't call
5076 update_packet_config.
5077 (remote_query_attached, remote_pass_signals)
5078 (remote_program_signals, remote_threads_info)
5079 (remote_threads_extra_info, remote_start_remote): Use
5080 packet_support.
5081 (remote_start_remote): Use packet_config_support and
5082 packet_support.
5083 (init_all_packet_configs): Set all packets to unknown support,
5084 instead of calling update_packet_config.
5085 (remote_check_symbols): Use packet_support.
5086 (remote_supported_packet): Unconditionally set the packet config's
5087 support status.
5088 (remote_multi_process_feature, remote_non_stop_feature)
5089 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5090 (remote_breakpoint_commands_feature)
5091 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5092 (remote_install_in_trace_feature)
5093 (remote_disconnected_tracing_feature)
5094 (remote_enable_disable_tracepoint_feature)
5095 (remote_string_tracing_feature)
5096 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5097 (remote_protocol_features): Adjust to use remote_supported_packet
5098 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5099 "ConditionalTracepoints", "ConditionalBreakpoints",
5100 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5101 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5102 "EnableDisableTracepoints", and "tracenz".
5103 (remote_query_supported): Use packet_support.
5104 (remote_open_1): Adjust.
5105 (extended_remote_attach_1): Use packet_support. Switch on the
5106 result of packet_ok instead of checking whether the packet ended
5107 up disabled.
5108 (remote_vcont_resume): Use packet_support.
5109 (remote_resume, remote_stop_ns, fetch_register_using_p)
5110 (remote_prepare_to_store, store_register_using_P)
5111 (check_binary_download, remote_write_bytes): Use packet_support.
5112 (remote_vkill): Use packet_support. Switch on the result of
5113 packet_ok instead of checking whether the packet ended up
5114 disabled.
5115 (extended_remote_supports_disable_randomization): Use
5116 packet_support.
5117 (extended_remote_run): Switch on the result of packet_ok instead
5118 of checking whether the packet ended up disabled.
5119 (remote_insert_breakpoint, remote_remove_breakpoint)
5120 (remote_insert_watchpoint, remote_remove_watchpoint)
5121 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5122 packet_support.
5123 (remote_search_memory): Use packet_config_support.
5124 (remote_get_thread_local_address, remote_get_tib_address)
5125 (remote_hostio_send_command, remote_can_execute_reverse): Use
5126 packet_support.
5127 (remote_supports_cond_tracepoints)
5128 (remote_supports_cond_breakpoints)
5129 (remote_supports_fast_tracepoints)
5130 (remote_supports_static_tracepoints)
5131 (remote_supports_install_in_trace)
5132 (remote_supports_enable_disable_tracepoint)
5133 (remote_supports_string_tracing)
5134 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5135 the packet config says the feature is enabled or disabled.
5136 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5137 (remote_get_trace_status): Use packet_support.
5138 (remote_set_disconnected_tracing): Adjust to check whether the
5139 feature is enabled with packet_support.
5140 (remote_set_trace_buffer_size, remote_use_agent)
5141 (remote_can_use_agent, remote_supports_btrace): Use
5142 packet_support.
5143 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5144 Use packet_config_support.
5145 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5146 the packet config says the feature is enabled or disabled.
5147 (set_range_stepping): Use packet_support.
5148
bdb52a22
TT
51492014-04-25 Tom Tromey <tromey@redhat.com>
5150
5151 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5152 argument.
5153
e9475ead
SA
51542014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5155
5156 * NEWS: Mention support for C99 variable length arrays.
5157
82eacd52
JB
51582014-04-24 Joel Brobecker <brobecker@adacore.com>
5159
5160 * ada-lang.c (standard_exc): Expand introductory comment.
5161
01f9f808
MS
51622014-04-24 Michael Sturm <michael.sturm@mintel.com>
5163 Walfred Tedeschi <walfred.tedeschi@intel.com>
5164
5165 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5166 AVX512 registers.
5167 (amd64_linux_read_description): Add code to handle AVX512 xstate
5168 mask and return respective tdesc.
5169 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5170 and features/i386/x32-avx512-linux.c.
5171 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5172 (amd64_linux_core_read_description): Add code to handle AVX512
5173 xstate mask and return respective tdesc.
5174 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5175 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5176 calculation.
5177 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5178 (tdesc_amd64_avx512_linux): New prototype.
5179 (tdesc_x32_avx512_linux): Likewise.
5180 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5181 features/i386/x32-avx512.c.
5182 (amd64_ymm_avx512_names): New register names for pseudo
5183 registers YMM16-31.
5184 (amd64_ymmh_avx512_names): New register names for raw registers
5185 YMMH16-31.
5186 (amd64_k_names): New register names for K registers.
5187 (amd64_zmmh_names): New register names for ZMM raw registers.
5188 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5189 (amd64_xmm_avx512_names): New register names for XMM16-31
5190 registers.
5191 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5192 registers.
5193 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5194 if feature is present.
5195 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5196 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5197 (AMD64_NUM_REGS): Adjust to new number of registers.
5198 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5199 registers supplied via XSTATE by AVX512 registers.
5200 (i386_linux_read_description): Add case for AVX512.
5201 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5202 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5203 (i386_linux_core_read_description): Add case for AVX512.
5204 (i386_linux_init_abi): Install supported register note section
5205 for AVX512.
5206 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5207 AVX512.
5208 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5209 registers to be number of zmm7h + 1.
5210 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5211 * i386-tdep.c: Include features/i386/i386-avx512.c.
5212 (i386_zmm_names): Add ZMM pseudo register names array.
5213 (i386_zmmh_names): Add ZMM raw register names array.
5214 (i386_k_names): Add K raw register names array.
5215 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5216 registers. AVX512 has 16 more ZMM registers than there are YMM
5217 registers.
5218 (i386_zmmh_regnum_p): Add function to look up register number of
5219 ZMM raw registers.
5220 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5221 (i386_k_regnum_p): Likewise for K raw registers.
5222 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5223 registers added by AVX512.
5224 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5225 registers added by AVX512.
5226 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5227 added by AVX512.
5228 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5229 (i386_pseudo_register_name): Add ZMM pseudo registers.
5230 (i386_zmm_type): Construct and return vector registers type for ZMM
5231 registers.
5232 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5233 ZMM0-31 pseudo registers and K registers.
5234 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5235 and YMM16-31 registers from register cache.
5236 (i386_pseudo_register_write): Add code to write K, ZMM and
5237 YMM16-31 registers.
5238 (i386_register_reggroup_p): Add code to include/exclude AVX512
5239 registers in/from respective register groups.
5240 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5241 registers if feature is present in xcr0.
5242 (i386_gdbarch_init): Add code to initialize AVX512 feature
5243 variables in tdep structure, wire in pseudo registers and call
5244 initialize_tdesc_i386_avx512.
5245 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5246 variables.
5247 (i386_regnum): Add AVX512 registers.
5248 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5249 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5250 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5251 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5252 512 bits wide.
5253 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5254 (i386_ymm_avx512_regnum_p): Likewise.
5255 (i386_k_regnum_p): Likewise.
5256 (i386_zmm_regnum_p): Likewise.
5257 (i386_zmmh_regnum_p): Likewise.
5258 * i387-tdep.c : Update year in copyright notice.
5259 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5260 XSAVE buffer.
5261 (XSAVE_YMM_AVX512_ADDR): New macro.
5262 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5263 XSAVE buffer.
5264 (XSAVE_XMM_AVX512_ADDR): New macro.
5265 (xsave_avx512_k_offset): New table for K register offsets in
5266 XSAVE buffer.
5267 (XSAVE_AVX512_K_ADDR): New macro.
5268 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5269 in XSAVE buffer.
5270 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5271 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5272 buffer.
5273 (i387_collect_xsave): Add code to collect AVX512 registers from
5274 XSAVE buffer.
5275 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5276 of XMM16-31 registers.
5277 (I387_NUM_K_REGS): New define for number of K registers.
5278 (I387_K0_REGNUM): New define for K0 register number.
5279 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5280 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5281 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5282 registers.
5283 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5284 (I387_XMM16_REGNUM): New define for XMM16 register number.
5285 (I387_YMM0_REGNUM): New define for YMM0 register number.
5286 (I387_KEND_REGNUM): New define for last K register number.
5287 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5288 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5289 number.
5290 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5291 number.
5292 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5293 size.
5294 * features/Makefile: Add AVX512 related files.
5295 * features/i386/32bit-avx512.xml: New file.
5296 * features/i386/64bit-avx512.xml: Likewise.
5297 * features/i386/amd64-avx512-linux.c: Likewise.
5298 * features/i386/amd64-avx512-linux.xml: Likewise.
5299 * features/i386/amd64-avx512.c: Likewise.
5300 * features/i386/amd64-avx512.xml: Likewise.
5301 * features/i386/i386-avx512-linux.c: Likewise.
5302 * features/i386/i386-avx512-linux.xml: Likewise.
5303 * features/i386/i386-avx512.c: Likewise.
5304 * features/i386/i386-avx512.xml: Likewise.
5305 * features/i386/x32-avx512-linux.c: Likewise.
5306 * features/i386/x32-avx512-linux.xml: Likewise.
5307 * features/i386/x32-avx512.c: Likewise.
5308 * features/i386/x32-avx512.xml: Likewise.
5309 * regformats/i386/amd64-avx512-linux.dat: New file.
5310 * regformats/i386/amd64-avx512.dat: Likewise.
5311 * regformats/i386/i386-avx512-linux.dat: Likewise.
5312 * regformats/i386/i386-avx512.dat: Likewise.
5313 * regformats/i386/x32-avx512-linux.dat: Likewise.
5314 * regformats/i386/x32-avx512.dat: Likewise.
5315 * NEWS: Add note about new support for AVX512.
5316
5317
08351840
PA
53182014-04-23 Pedro Alves <palves@redhat.com>
5319
5320 * breakpoint.c (insert_bp_location): Tolerate errors if the
5321 breakpoint is set in a user-loaded objfile.
5322 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5323 location is marked shlib_disabled. If the breakpoint is set in a
5324 user-loaded objfile is a GDB-side memory breakpoint, validate it
5325 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5326 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5327 flag.
5328 * mem-break.c (memory_validate_breakpoint): New function.
5329 * objfiles.c (userloaded_objfile_contains_address_p): New
5330 function.
5331 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5332 * target.h (memory_validate_breakpoint): New declaration.
5333
076855f9
PA
53342014-04-23 Pedro Alves <palves@redhat.com>
5335
5336 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5337 the breakpoint is set in a shared library, only suppress
5338 errors for software breakpoints, not hardware breakpoints.
5339
483805cf
PA
53402014-04-22 Pedro Alves <palves@redhat.com>
5341
5342 * infrun.c (schedlock_applies): New function, factored out from
5343 find_thread_needs_step_over.
5344 (find_thread_needs_step_over): Use it.
5345 (switch_back_to_stepped_thread): Always clear trap_expected if the
5346 step over is finished. Return early if scheduler locking applies.
5347 Look for the stepping thread and a potential step-over thread with
5348 a single loop.
5349 (currently_stepping_or_nexting_callback): Delete.
5350
a75fef0e
NC
53512014-04-22 Nick Clifton <nickc@redhat.com>
5352
5353 * NEWS: Mention that ARM sim now supports tracing.
5354
48b6e87e
YQ
53552014-04-22 Yao Qi <yao@codesourcery.com>
5356
5357 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5358 to ...
5359 * tracefile.c (tracefile_fetch_registers): ... it. New
5360 function.
5361 * tracefile.h (tracefile_fetch_registers): Declare.
5362 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5363 tracefile_fetch_registers.
5364
17617f2d
EZ
53652014-04-19 Eli Zaretskii <eliz@gnu.org>
5366
5367 PR gdb/14018
5368 * windows-nat.c (thread_rec): Don't display a warning when
5369 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5370 fails for any reason, set th->suspended to -1, so that we don't
5371 try to resume such a thread. Also, don't return NULL in these
5372 cases, to avoid completely ruin the session due to "PC register is
5373 not available" error.
5374 (do_windows_fetch_inferior_registers): Check errors in
5375 GetThreadContext call.
5376 (windows_continue): Accept an additional argument KILLED; if not
5377 zero, ignore errors in the SetThreadContext call, since the
5378 inferior was killed and is shutting down.
5379 (windows_resume, get_windows_debug_event)
5380 (windows_create_inferior, windows_mourn_inferior)
5381 (windows_kill_inferior): All callers of windows_continue changed
5382 to adjust to its new calling sequence.
5383
5723a6fd
YQ
53842014-04-19 Yao Qi <yao@codesourcery.com>
5385
5386 * ctf.c (ctf_open): Call post_create_inferior.
5387
614d5099
YQ
53882014-04-19 Yao Qi <yao@codesourcery.com>
5389
5390 * ctf.c (handle_id): New static variable.
5391 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5392 value. Get the declaration of event "register" and get length
5393 of field "contents".
5394
dac3e710
YQ
53952014-04-19 Yao Qi <yao@codesourcery.com>
5396
5397 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5398
2bca57ba
SC
53992014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5400
5401 * valops.c (oload_method_static): Remove unnecessary argument
5402 METHOD. Update all callers.
5403
51d48146
PA
54042014-04-18 Pedro alves <palves@redhat.com>
5405 Tom Tromey <tromey@redhat.com>
5406
5407 PR backtrace/15558
5408 * frame.c (get_prev_frame_1): Rename to ...
5409 (get_prev_frame_always): ... this, and make extern. Adjust.
5410 (skip_artificial_frames): Use get_prev_frame_always.
5411 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5412 (get_frame_unwind_stop_reason): Adjust to rename.
5413 * frame.h (get_prev_frame_always): Declare.
5414 * inline-frame.c: Include frame.h.
5415 (inline_frame_this_id): Use get_prev_frame_always.
5416
1bdad2e0
TG
54172014-04-18 Tristan Gingold <gingold@adacore.com>
5418
5419 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5420 code by using bfd_mach_o_get_base_address.
5421
7ce16bd4
UW
54222014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5423
5424 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5425 (spu_ax_pseudo_register_collect): New function.
5426 (spu_ax_pseudo_register_push_stack): Likewise.
5427 (spu_dwarf_reg_to_regnum): Likewise.
5428 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5429
2ed3c037
UW
54302014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5431
5432 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5433 Replace FRAME argument with FRAME_ID.
5434 * gdbarch.c, gdbarch.h: Regenerate.
5435 * findvar.c (default_value_from_register): Add GDBARCH argument;
5436 replace FRAME by FRAME_ID. No longer call get_frame_id.
5437 (value_from_register): Update call to gdbarch_value_from_register.
5438 * value.h (default_value_from_register): Update prototype.
5439 * s390-linux-tdep.c (s390_value_from_register): Update interface
5440 and call to default_value_from_register.
5441 * spu-tdep.c (spu_value_from_register): Likewise.
5442
5443 * findvar.c (address_from_register): Remove TYPE argument.
5444 Do not call value_from_register; use gdbarch_value_from_register
5445 with null_frame_id instead.
5446 * value.h (address_from_register): Update prototype.
5447 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5448 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5449 address_from_register interface change.
5450
71e50e83
YQ
54512014-04-17 Yao Qi <yao@codesourcery.com>
5452
5453 * gdbtypes.h: Update comments to link to types and macros'
5454 definitions.
5455
7a23c549
SC
54562014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5457
5458 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5459
22869d73
KS
54602014-04-16 Keith Seitz <keiths@redhat.com>
5461
5462 PR gdb/15827
5463 * dwarf2read.c (skip_one_die): Check that all relative-offset
5464 sibling DIEs fall within range of the current reader's buffer.
5465 (read_partial_die): Likewise.
5466
c4f87ca6
KS
54672014-04-16 Keith Seitz <keiths@redhat.com>
5468
5469 PR c++/16597
5470 * cp-namespace.c (lookup_symbol_file): If the type name of
5471 `this' is NULL, return immediately.
5472
b50c8614
KS
54732014-04-14 Keith Seitz <keiths@redhat.com>
5474
5475 PR c++/16253
5476 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5477 from symbol_matches_domain in symtab.c. All local callers
5478 of symbol_matches_domain updated.
5479 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5480 search STRUCT_DOMAIN.
5481 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5482 independently. standard_lookup will do that automatically.
5483 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5484 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5485 (cp_lookup_symbol_in_namespace): Likewise.
5486 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5487 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5488 may return a STRUCT_DOMAIN match.
5489 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5490 * cp-support.c: Include language.h.
5491 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5492 VAR_DOMAIN.
5493 * psymtab.c (match_partial_symbol): Compare the requested
5494 domain with the symbol's domain directly.
5495 (lookup_partial_symbol): Likewise.
5496 * symtab.c (lookup_symbol_in_language): Explain when/why
5497 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5498 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5499 appropriate languages.
5500 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5501 and moved to ada-lang.c
5502 (lookup_block_symbol): Explain that this function only returns
5503 symbol matching the requested DOMAIN.
5504 Compare the requested domain with the symbol's domain directly.
5505 (iterate_over_symbols): Compare the requested domain with the
5506 symbol's domain directly.
5507 * symtab.h (symbol_matches_domain): Remove.
5508
3d567982
TT
55092014-04-14 Tom Tromey <tromey@redhat.com>
5510
5511 PR c++/15246:
5512 * c-exp.y (type_aggregate_p): New function.
5513 (qualified_name, classify_inner_name): Use it.
5514 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5515 and TYPE_TARGET_TYPE of an enum type.
5516 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5517 an enum type.
5518 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5519 handle TYPE_DECLARED_CLASS.
5520 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5521 types.
5522 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5523 * valops.c (enum_constant_from_type): New function.
5524 (value_aggregate_elt): Use it.
5525 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5526 TYPE_CODE_ENUM.
5527
c848d642
TT
55282014-04-14 Tom Tromey <tromey@redhat.com>
5529
5530 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5531 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5532 const.
5533 * value.h (value_aggregate_elt): Update.
5534
0626fc76
TT
55352014-04-14 Tom Tromey <tromey@redhat.com>
5536
5537 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5538
5ecaaa66
SA
55392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5540
5541 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5542 (evaluate_subexp_standard): Pass noside argument.
5543 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5544 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5545 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5546 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5547 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5548
1612e0c0
SA
55492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5550
5551 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5552 points to a constant blob.
5553
c451ebe5
SA
55542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5555
5556 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5557 property and store it as the high bound and flag the range accordingly.
5558 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5559 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5560 * gdbtypes.h (enum range_flags): New enum.
5561 (struct range_bounds): Add flags member.
5562
1d42e4c4
SA
55632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5564
5565 * c-typeprint.c (c_type_print_varspec_suffix): Added
5566 check for not yet resolved high bound. If unresolved, print
5567 "variable length" string to the console instead of random
5568 length.
5569
9f1f738a
SA
55702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5571
5572 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5573 value.
5574 (ada_template_to_fixed_record_type_1): Likewise.
5575 (ada_to_fixed_type_1): Likewise.
5576 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5577 (cp_print_value): Likewise.
5578 * d-valprint.c (dynamic_array_type): Likewise.
5579 * findvar.c (address_of_variable): Likewise.
5580 * jv-valprint.c (java_value_print): Likewise.
5581 * valops.c (value_ind): Likewise.
5582 * value.c (coerce_ref): Likewise.
5583
3c8452d4
SA
55842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5585
5586 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5587 value and retrieve the dynamic type size.
5588
4ad88275
SA
55892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5590
5591 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5592 passed to sizeof is dynamic evaluate the argument to compute the length.
5593
80180f79
SA
55942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5595 Joel Brobecker <brobecker@adacore.com>
5596
5597 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5598 (dwarf2_evaluate_property): New function.
5599 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5600 * dwarf2read.c (attr_to_dynamic_prop): New function.
5601 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5602 attribute.
5603 * gdbtypes.c: Include dwarf2loc.h.
5604 (is_dynamic_type): New function.
5605 (resolve_dynamic_type): New function.
5606 (resolve_dynamic_bounds): New function.
5607 (get_type_length): New function.
5608 (check_typedef): Use get_type_length to compute type length.
5609 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5610 (TYPE_LOW_BOUND_KIND): New macro.
5611 (is_dynamic_type): New function prototype.
5612 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5613 to resolve dynamic properties of the type. Update comment.
5614 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5615
a1556843
RH
56162014-04-14 Richard Henderson <rth@redhat.com>
5617
5618 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5619
0be03e84
DE
56202014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5621 Doug Evans <xdje42@gmail.com>
5622
5623 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5624 dereference TYPE_CODE_REF values.
5625
6b662e19
JB
56262014-04-11 Joel Brobecker <brobecker@adacore.com>
5627
5628 Revert the following changes due to regressions:
5629
5630 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5631 (dwarf2_evaluate_property): New function.
5632 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5633 * dwarf2read.c (attr_to_dynamic_prop): New function.
5634 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5635 attribute.
5636 * gdbtypes.c: Include dwarf2loc.h.
5637 (is_dynamic_type): New function.
5638 (resolve_dynamic_type): New function.
5639 (resolve_dynamic_bounds): New function.
5640 (get_type_length): New function.
5641 (check_typedef): Use get_type_length to compute type length.
5642 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5643 (TYPE_LOW_BOUND_KIND): New macro.
5644 (is_dynamic_type): New function prototype.
5645 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5646 to resolve dynamic properties of the type. Update comment.
5647 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5648
5649 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5650 passed to sizeof is dynamic evaluate the argument to compute the length.
5651
5652 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5653 value and retrieve the dynamic type size.
5654
5655 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5656 (ada_template_to_fixed_record_type_1): Likewise.
5657 (ada_to_fixed_type_1): Likewise.
5658 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5659 (cp_print_value): Likewise.
5660 * d-valprint.c (dynamic_array_type): Likewise.
5661 * eval.c (evaluate_subexp_with_coercion): Likewise.
5662 * findvar.c (address_of_variable): Likewise.
5663 * jv-valprint.c (java_value_print): Likewise.
5664 * valops.c (value_ind): Likewise.
5665 * value.c (coerce_ref): Likewise.
5666
5667 * c-typeprint.c (c_type_print_varspec_suffix): Added
5668 check for not yet resolved high bound. If unresolved, print
5669 "variable length" string to the console instead of random
5670 length.
5671
5672 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5673 property and store it as the high bound and flag the range accordingly.
5674 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5675 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5676 * gdbtypes.h (enum range_flags): New enum.
5677 (struct range_bounds): Add flags member.
5678
5679 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5680 points to a constant blob.
5681
5682 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5683 (evaluate_subexp_standard): Pass noside argument.
5684 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5685 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5686 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5687 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5688 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5689
245a5f0b
KS
56902014-04-11 Keith Seitz <keiths@redhat.com>
5691
5692 PR c++/16675
5693 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5694 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5695 reference types.
5696
3bce8237
SA
56972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5698
5699 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5700 (evaluate_subexp_standard): Pass noside argument.
5701 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5702 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5703 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5704 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5705 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5706
92b09522
SA
57072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5708
5709 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5710 points to a constant blob.
5711
e1969afb
SA
57122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5713
5714 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5715 property and store it as the high bound and flag the range accordingly.
5716 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5717 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5718 * gdbtypes.h (enum range_flags): New enum.
5719 (struct range_bounds): Add flags member.
5720
b86138fb
SA
57212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5722
5723 * c-typeprint.c (c_type_print_varspec_suffix): Added
5724 check for not yet resolved high bound. If unresolved, print
5725 "variable length" string to the console instead of random
5726 length.
5727
bcd629a4
SA
57282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5729
5730 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5731 (ada_template_to_fixed_record_type_1): Likewise.
5732 (ada_to_fixed_type_1): Likewise.
5733 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5734 (cp_print_value): Likewise.
5735 * d-valprint.c (dynamic_array_type): Likewise.
5736 * eval.c (evaluate_subexp_with_coercion): Likewise.
5737 * findvar.c (address_of_variable): Likewise.
5738 * jv-valprint.c (java_value_print): Likewise.
5739 * valops.c (value_ind): Likewise.
5740 * value.c (coerce_ref): Likewise.
5741
04b19544
SA
57422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5743
5744 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5745 value and retrieve the dynamic type size.
5746
26cb189f
SA
57472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5748
5749 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5750 passed to sizeof is dynamic evaluate the argument to compute the length.
5751
37c1ab67
SA
57522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5753
5754 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5755 (dwarf2_evaluate_property): New function.
5756 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5757 * dwarf2read.c (attr_to_dynamic_prop): New function.
5758 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5759 attribute.
5760 * gdbtypes.c: Include dwarf2loc.h.
5761 (is_dynamic_type): New function.
5762 (resolve_dynamic_type): New function.
5763 (resolve_dynamic_bounds): New function.
5764 (get_type_length): New function.
5765 (check_typedef): Use get_type_length to compute type length.
5766 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5767 (TYPE_LOW_BOUND_KIND): New macro.
5768 (is_dynamic_type): New function prototype.
5769 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5770 to resolve dynamic properties of the type. Update comment.
5771 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5772
729efb13
SA
57732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5774
5775 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5776 declaring high/low bounds and change uses accordingly. Call
5777 create_range_type instead of create_static_range_type.
5778 * gdbtypes.c (create_range_type): New function.
5779 (create_range_type): Convert bounds into struct bound_prop and pass
5780 them to create_range_type.
5781 * gdbtypes.h (struct bound_prop): New struct.
5782 (create_range_type): New function prototype.
5783 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5784 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5785 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5786 part of the bound.
5787 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5788
0c9c3474
SA
57892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5790
5791 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5792 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5793 * ada-lang.c: All uses of create_range_type updated.
5794 * coffread.c: All uses of create_range_type updated.
5795 * dwarf2read.c: All uses of create_range_type updated.
5796 * f-exp.y: All uses of create_range_type updated.
5797 * m2-valprint.c: All uses of create_range_type updated.
5798 * mdebugread.c: All uses of create_range_type updated.
5799 * stabsread.c: All uses of create_range_type updated.
5800 * valops.c: All uses of create_range_type updated.
5801 * valprint.c: All uses of create_range_type updated.
5802
9d497a19
PA
58032014-04-10 Pedro Alves <palves@redhat.com>
5804
5805 * breakpoint.c (single_step_breakpoints)
5806 (single_step_gdbarch): Move up in the file.
5807 (one_breakpoint_xfer_memory): New function, factored out from ...
5808 (breakpoint_xfer_memory): ... here. Also process single-step
5809 breakpoints.
5810
15a9128a
TG
58112014-04-09 Tristan Gingold <gingold@adacore.com>
5812
5813 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5814 comments.
5815 (darwin_decode_exception_message): Free port only after use.
5816
9c97a070
PL
58172014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5818
5819 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5820 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5821 when setting the size of call_length.
5822
7af389b8
SC
58232014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5824
5825 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5826 dereference TYPE_CODE_REF values.
5827
86ad98c3
JB
58282014-04-07 Joel Brobecker <brobecker@adacore.com>
5829
5830 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5831 end of warning message.
5832
b0aeadb3
DE
58332014-04-03 Doug Evans <dje@google.com>
5834
5835 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5836 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5837
5979d6b6
AM
58382014-04-02 Alan Modra <amodra@gmail.com>
5839
5840 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5841 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5842 (struct symbol_file_add_from_memory_args): Add size field.
5843 (find_vdso_size): New function.
5844 (add_vsyscall_page): Attempt to find vdso size.
5845
0d60c288
DE
58462014-04-01 Doug Evans <dje@google.com>
5847
5848 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5849
a41f2563
TG
58502014-04-01 Tristan Gingold <gingold@adacore.com>
5851
5852 * darwin-nat.c (darwin_encode_reply): Add prototype.
5853 (darwin_decode_exception_message): Reply to unknown inferiors.
5854 (darwin_decode_message): Handle message by id. Ignore message
5855 to unknown inferior.
5856 (darwin_wait): Discard unknown messages, add debug trace.
5857
11a865c8
DE
58582014-03-31 Doug Evans <dje@google.com>
5859
5860 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5861 comp_dir_string.
5862
770e7fc7
DE
58632014-03-31 Doug Evans <dje@google.com>
5864
5865 New option "set print symbol-loading".
5866 * NEWS: Mention it.
5867 * solib.c (solib_read_symbols): Only print symbol loading messages
5868 if requested.
5869 (solib_add): If symbol loading is in "brief" mode, notify user
5870 symbols are being loaded.
5871 (reload_shared_libraries_1): Ditto.
5872 * symfile.c (print_symbol_loading_off): New static global.
5873 (print_symbol_loading_brief): New static global.
5874 (print_symbol_loading_full): New static global.
5875 (print_symbol_loading_enums): New static global.
5876 (print_symbol_loading): New static global.
5877 (print_symbol_loading_p): New function.
5878 (symbol_file_add_with_addrs): Only print symbol loading messages
5879 if requested.
5880 (_initialize_symfile): Register "print symbol-loading" set/show
5881 command.
5882 * symfile.h (print_symbol_loading_p): Declare.
5883
c32c64b7
DE
58842014-03-30 Doug Evans <xdje42@gmail.com>
5885
5886 * infrun.c (set_last_target_status): New function.
5887 (handle_inferior_event): Call it.
5888
7c0bc051
DE
58892014-03-30 Doug Evans <xdje42@gmail.com>
5890
5891 * inferior.h (enum stop_kind): Improve comment.
5892
8776cfe9
JB
58932014-03-28 Joel Brobecker <brobecker@adacore.com>
5894
5895 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5896 a reference, strip the reference layer before calling
5897 the lang_ops value_has_mutated callback.
5898
410a0ff2
SDJ
58992014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5900
5901 Remove some globals from our parser.
5902 * language.c (unk_lang_parser): Add "struct parser_state"
5903 argument.
5904 * language.h (struct language_defn) <la_parser>: Likewise.
5905 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5906 (initialize_expout): Add "struct parser_state" argument.
5907 Rewrite function to use the parser state.
5908 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5909 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5910 write_exp_elt_longcst, write_exp_elt_dblcst,
5911 write_exp_elt_decfloatcst, write_exp_elt_type,
5912 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5913 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5914 write_dollar_variable): Likewise.
5915 (parse_exp_in_context_1): Use parser state.
5916 (insert_type_address_space): Add "struct parser_state" argument.
5917 Use parser state.
5918 (increase_expout_size): New function.
5919 * parser-defs.h: Forward declare "struct language_defn" and
5920 "struct parser_state".
5921 (expout, expout_size, expout_ptr): Remove extern declarations.
5922 (parse_gdbarch, parse_language): Rewrite macro declarations to
5923 accept the parser state.
5924 (struct parser_state): New struct.
5925 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5926 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5927 write_exp_elt_decfloatcst, write_exp_elt_type,
5928 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5929 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5930 write_exp_msymbol, write_dollar_variable,
5931 mark_struct_expression, insert_type_address_space): Add "struct
5932 parser_state" argument.
5933 (increase_expout_size): New function.
5934 * utils.c (do_clear_parser_state): New function.
5935 (make_cleanup_clear_parser_state): Likewise.
5936 * utils.h (make_cleanup_clear_parser_state): New function
5937 prototype.
5938 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5939 Update calls to write_exp* in order to pass the parser state.
5940 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5941 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5942 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5943 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5944 * stap-probe.c (stap_parse_register_operand): Likewise.
5945 (stap_parse_single_operand): Likewise.
5946 (stap_parse_argument_1): Likewise.
5947 (stap_parse_argument): Use parser state.
5948 * stap-probe.h: Include "parser-defs.h".
5949 (struct stap_parse_info) <pstate>: New field.
5950 * c-exp.y (parse_type): Rewrite to use parser state.
5951 (yyparse): Redefine to c_parse_internal.
5952 (pstate): New global variable.
5953 (parse_number): Add "struct parser_state" argument.
5954 (write_destructor_name): Likewise.
5955 (type_exp): Update calls to write_exp* and similars in order to
5956 use parser state.
5957 (exp1, exp, variable, qualified_name, space_identifier,
5958 typename, typebase): Likewise.
5959 (write_destructor_name, parse_number, lex_one_token,
5960 classify_name, classify_inner_name, c_parse): Add "struct
5961 parser_state" argument. Update function to use parser state.
5962 * c-lang.h: Forward declare "struct parser_state".
5963 (c_parse): Add "struct parser_state" argument.
5964 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5965 (yyparse): Redefine macro to ada_parse_internal.
5966 (pstate): New variable.
5967 (write_int, write_object_renaming, write_var_or_type,
5968 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5969 type_int, type_long, type_long_long, type_float, type_double,
5970 type_long_double, type_char, type_boolean, type_system_address):
5971 Add "struct parser_state" argument.
5972 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5973 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5974 var_or_type, aggregate, aggregate_component_list,
5975 positional_list, others, component_group,
5976 component_associations): Update calls to write_exp* and similar
5977 functions in order to use parser state.
5978 (ada_parse, write_var_from_sym, write_int,
5979 write_exp_op_with_string, write_object_renaming,
5980 find_primitive_type, write_selectors, write_ambiguous_var,
5981 write_var_or_type, write_name_assoc, type_int, type_long,
5982 type_long_long, type_float, type_double, type_long_double,
5983 type_char, type_boolean, type_system_address): Add "struct
5984 parser_state" argument. Adjust function to use parser state.
5985 * ada-lang.c (parse): Likewise.
5986 * ada-lang.h: Forward declare "struct parser_state".
5987 (ada_parse): Add "struct parser_state" argument.
5988 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5989 calls to both functions.
5990 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5991 parser state.
5992 (yyparse): Redefine macro to f_parse_internal.
5993 (pstate): New variable.
5994 (parse_number): Add "struct parser_state" argument.
5995 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5996 and similars in order to use parser state.
5997 (parse_number): Adjust code to use parser state.
5998 (yylex): Likewise.
5999 (f_parse): New function.
6000 * f-lang.h: Forward declare "struct parser_state".
6001 (f_parse): Add "struct parser_state" argument.
6002 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6003 parser state.
6004 (yyparse): Redefine macro for java_parse_internal.
6005 (pstate): New variable.
6006 (push_expression_name, push_expression_name, insert_exp): Add
6007 "struct parser_state" argument.
6008 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6009 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6010 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6011 PostIncrementExpression, PostDecrementExpression,
6012 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6013 UnaryExpressionNotPlusMinus, CastExpression,
6014 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6015 RelationalExpression, EqualityExpression, AndExpression,
6016 ExclusiveOrExpression, InclusiveOrExpression,
6017 ConditionalAndExpression, ConditionalOrExpression,
6018 ConditionalExpression, Assignment, LeftHandSide): Update
6019 calls to write_exp* and similars in order to use parser state.
6020 (parse_number): Ajust code to use parser state.
6021 (yylex): Likewise.
6022 (java_parse): New function.
6023 (push_variable): Add "struct parser_state" argument. Adjust
6024 code to user parser state.
6025 (push_fieldnames, push_qualified_expression_name,
6026 push_expression_name, insert_exp): Likewise.
6027 * jv-lang.h: Forward declare "struct parser_state".
6028 (java_parse): Add "struct parser_state" argument.
6029 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6030 parser state.
6031 (yyparse): Redefine macro to m2_parse_internal.
6032 (pstate): New variable.
6033 (type_exp, exp, fblock, variable, type): Update calls to
6034 write_exp* and similars to use parser state.
6035 (yylex): Likewise.
6036 (m2_parse): New function.
6037 * m2-lang.h: Forward declare "struct parser_state".
6038 (m2_parse): Add "struct parser_state" argument.
6039 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6040 * objc-lang.h: Forward declare "struct parser_state".
6041 (end_msglist): Add "struct parser_state" argument.
6042 * p-exp.y (parse_type): Rewrite macro to use parser state.
6043 (yyparse): Redefine macro to pascal_parse_internal.
6044 (pstate): New variable.
6045 (parse_number): Add "struct parser_state" argument.
6046 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6047 write_exp* and similars in order to use parser state.
6048 (parse_number, yylex): Adjust code to use parser state.
6049 (pascal_parse): New function.
6050 * p-lang.h: Forward declare "struct parser_state".
6051 (pascal_parse): Add "struct parser_state" argument.
6052 * go-exp.y (parse_type): Rewrite macro to use parser state.
6053 (yyparse): Redefine macro to go_parse_internal.
6054 (pstate): New variable.
6055 (parse_number): Add "struct parser_state" argument.
6056 (type_exp, exp1, exp, variable, type): Update calls to
6057 write_exp* and similars in order to use parser state.
6058 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6059 to use parser state.
6060 (go_parse): Likewise.
6061 * go-lang.h: Forward declare "struct parser_state".
6062 (go_parse): Add "struct parser_state" argument.
6063
342587c4
DE
60642014-03-27 Doug Evans <dje@google.com>
6065
6066 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6067
33e80786
DE
60682014-03-27 Doug Evans <dje@google.com>
6069
6070 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6071 Remove argument abbrev_section. All callers updated.
6072
1dbab08b
DE
60732014-03-27 Doug Evans <dje@google.com>
6074
6075 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6076 addr_base, ranges_base.
6077
318d3177
KS
60782014-03-26 Keith Seitz <keiths@redhat.com>
6079
6080 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6081 types, not VAR_DOMAIN.
6082
1e54db15
SL
60832014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6084
6085 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6086 "ra" registers.
6087 * features/nios2-linux.c: Regenerated.
6088 * features/nios2.c: Regenerated.
6089
d3839ede
PA
60902014-03-25 Pedro Alves <palves@redhat.com>
6091
6092 * cli/cli-script.c (script_from_file): Force the interpreter to
6093 sync mode.
6094
7588d2ec
PL
60952014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6096
6097 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6098 small stack allocation.
6099
a6290449
TG
61002014-03-24 Tristan Gingold <gingold@adacore.com>
6101
6102 * darwin-nat.c (exc_server): Remove unused prototype.
6103 (darwin_dump_message): Correctly display data on x86_64.
6104 (darwin_encode_reply): Fix style.
6105 Add comments and fix indentation.
6106
31ae9d24 61072014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6108
6109 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6110
6339bfc4
DE
61112014-03-22 Doug Evans <xdje42@gmail.com>
6112
6113 * infcmd.c: Whitespace fixes.
6114 (interrupt_command): Merge two function comments into one.
6115
0a07590b
DE
61162014-03-22 Doug Evans <xdje42@gmail.com>
6117
6118 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6119 All uses updated.
6120
b55fbac4
YQ
61212014-03-22 Yao Qi <yao@codesourcery.com>
6122
6123 * remote.c (target_read_live_memory): Remove.
6124 (memory_xfer_live_readonly_partial): Rename it to
6125 remote_xfer_live_readonly_partial. Remove argument 'object'.
6126 All callers updated. Call remote_read_bytes_1
6127 instead of target_read_live_memory.
6128 * tracepoint.c (set_traceframe_number): Remove.
6129 (make_cleanup_restore_traceframe_number): Likewise .
6130 * tracepoint.h (set_traceframe_number): Remove declaration.
6131 (make_cleanup_restore_traceframe_number): Likewise.
6132
9217e74e
YQ
61332014-03-22 Yao Qi <yao@codesourcery.com>
6134
6135 * remote.c (remote_read_bytes): Move code on reading from the
6136 remote stub to ...
6137 (remote_read_bytes_1): ... here. New function.
6138
8acf9577
YQ
61392014-03-22 Yao Qi <yao@codesourcery.com>
6140
6141 * ctf.c (ctf_xfer_partial): Check the return value of
6142 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6143 return TARGET_XFER_UNAVAILABLE.
6144 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6145 * target.c (target_read_live_memory): Move it to remote.c.
6146 (memory_xfer_live_readonly_partial): Likewise.
6147 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6148 * remote.c (target_read_live_memory): Moved from target.c.
6149 (memory_xfer_live_readonly_partial): Likewise.
6150 (remote_read_bytes): Factored out from
6151 memory_xfer_partial_1.
6152
feef67ab
DE
61532014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6154
6155 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6156 NULL pointer.
6157
b65dc60b
PA
61582014-03-21 Pedro Alves <palves@redhat.com>
6159
6160 * infrun.c (normal_stop): Extend comment.
6161
b4ab256d
HZ
61622014-03-21 Hui Zhu <hui@codesourcery.com>
6163 Pedro Alves <palves@redhat.com>
6164
6165 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6166 static buffer.
6167 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6168 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6169 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6170
deba7593
MR
61712014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6172
6173 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6174 `z' formatted output modifier.
6175
1bff71c3
SDJ
61762014-03-20 Tom Tromey <tromey@redhat.com>
6177 Sergio Durigan Junior <sergiodj@redhat.com>
6178
6179 * probe.c (parse_probes): Turn assert into an ordinary error.
6180 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6181 exceptions when parsing probes. Rearrange the code for clarity.
6182
90e28950
TT
61832014-03-20 Tom Tromey <tromey@redhat.com>
6184
6185 PR gdb/14135
6186 * top.c (execute_command): Only dispatch events if the command
6187 started the target.
6188
beb460e8
PA
61892014-03-20 Tom Tromey <tromey@redhat.com>
6190
6191 PR cli/15718
6192 * infcall.c: Include event-top.h.
6193 (run_inferior_call): Call async_disable_stdin if needed.
6194
99619bea
PA
61952014-03-20 Pedro Alves <palves@redhat.com>
6196
6197 * infrun.c (prepare_to_proceed): Delete.
6198 (thread_still_needs_step_over): New function.
6199 (find_thread_needs_step_over): New function.
6200 (proceed): If the current thread needs a step-over, set its
6201 steping_over_breakpoint flag. Adjust to use
6202 find_thread_needs_step_over instead of prepare_to_proceed.
6203 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6204 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6205 breakpoint.
6206 (switch_back_to_stepped_thread): Step over breakpoints of all
6207 threads not the stepping thread, before switching back to the
6208 stepping thread.
6209
2adfaa28
PA
62102014-03-20 Pedro Alves <palves@redhat.com>
6211
6212 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6213 extern.
6214 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6215 * infrun.c (saved_singlestep_ptid)
6216 (stepping_past_singlestep_breakpoint): Delete.
6217 (resume): Remove stepping_past_singlestep_breakpoint handling.
6218 (proceed): Store the prev_pc of the stepping thread too.
6219 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6220 singlestep_pc.
6221 (enum infwait_states): Delete infwait_thread_hop_state.
6222 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6223 field.
6224 (handle_inferior_event): Adjust.
6225 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6226 handling and the thread-hop code. Before removing single-step
6227 breakpoints, check whether the thread hit a single-step breakpoint
6228 of another thread. If it did, the trap is not a random signal.
6229 (switch_back_to_stepped_thread): If the event thread hit a
6230 single-step breakpoint, unblock it before switching to the
6231 stepping thread. Handle the case of the stepped thread having
6232 advanced already.
6233 (keep_going): Handle the case of the current thread moving past a
6234 single-step breakpoint.
6235
31e77af2
PA
62362014-03-20 Pedro Alves <palves@redhat.com>
6237
6238 PR breakpoints/7143
6239 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6240 are being stepped over.
6241 (breakpoint_address_match): Make extern.
6242 * breakpoint.h (breakpoint_address_match): New declaration.
6243 * inferior.h (stepping_past_instruction_at): New declaration.
6244 * infrun.c (struct step_over_info): New type.
6245 (step_over_info): New global.
6246 (set_step_over_info, clear_step_over_info)
6247 (stepping_past_instruction_at): New functions.
6248 (handle_inferior_event): Clear the step-over info when
6249 trap_expected is cleared.
6250 (resume): Remove now stale comment.
6251 (clear_proceed_status): Clear step-over info.
6252 (proceed): Adjust step-over handling to set or clear the step-over
6253 info instead of removing all breakpoints.
6254 (handle_signal_stop): When setting up a thread-hop, don't remove
6255 breakpoints here.
6256 (stop_stepping): Clear step-over info.
6257 (keep_going): Adjust step-over handling to set or clear step-over
6258 info and then always inserting breakpoints, instead of removing
6259 all breakpoints when stepping over one.
6260
b9f437de
PA
62612014-03-20 Pedro Alves <palves@redhat.com>
6262
6263 * infrun.c (previous_inferior_ptid): Adjust comment.
6264 (deferred_step_ptid): Delete.
6265 (infrun_thread_ptid_changed, prepare_to_proceed)
6266 (init_wait_for_inferior): Adjust.
6267 (handle_signal_stop): Delete deferred_step_ptid handling.
6268
06c868a8
JK
62692014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6270
6271 PR gdb/15358
6272 * defs.h (sync_quit_force_run): New declaration.
6273 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6274 * event-top.c (async_sigterm_handler): New declaration.
6275 (async_sigterm_token): New variable.
6276 (async_init_signals): Create also async_sigterm_token.
6277 (async_sigterm_handler): New function.
6278 (sync_quit_force_run): New variable.
6279 (handle_sigterm): Replace quit_force call by other calls.
6280 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6281
dea80df0
MR
62822014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6283
6284 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6285 offset into SPE pseudo registers.
6286
0c7e1a46
PA
62872014-03-18 Pedro Alves <palves@redhat.com>
6288
6289 PR gdb/13860
6290 * inferior.h (print_stop_event): Declare.
6291 * infrun.c (print_stop_event): New, factored out from ...
6292 (normal_stop): ... this.
6293 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6294 of bpstat_print/print_stack_frame.
6295
9c1fcd01
TT
62962014-03-17 Tom Tromey <tromey@redhat.com>
6297
6298 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6299
11aa919a
PMR
63002014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6301
6302 * ada-lang.c (decode_constrained_packed_array): Perform a
6303 minimal coercion for reference with coerce_ref instead of
6304 ada_coerce_ref.
6305
d4ccb5e0
TG
63062014-03-17 Tristan Gingold <gingold@adacore.com>
6307
6308 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6309 (darwin_solib_create_inferior_hook): Emit a warning if version
6310 is unhandled.
6311
49840f2a
UW
63122014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6313
6314 * python/py-value.c (get_field_flag): Cast flag_name argument to
6315 PyObject_GetAttrString to support Python 2.4.
6316
ed4123e5
JK
63172014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6318
6319 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6320 (Global Maintainers): Remove Jan Kratochvil.
6321
d6b64346
PA
63222014-03-14 Pedro Alves <palves@redhat.com>
6323
6324 * inferior.h (terminal_ours_for_output): Rename to ...
6325 (child_terminal_ours_for_output): ... this.
6326 (terminal_save_ours): Rename to ...
6327 (child_terminal_save_ours): ... this.
6328 (terminal_ours): Rename to ...
6329 (child_terminal_ours): ... this.
6330 (terminal_inferior): Rename to ...
6331 (child_terminal_inferior): ... this.
6332 (terminal_init_inferior): Rename to ...
6333 (child_terminal_init_inferior): ... this.
6334 (terminal_init_inferior_with_pgrp): Rename to ...
6335 (child_terminal_init_inferior_with_pgrp): ... this.
6336 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6337 (child_terminal_init_with_pgrp): ... this.
6338 (terminal_save_ours): Rename to ...
6339 (child_terminal_save_ours): ... this.
6340 (terminal_init_inferior): Rename to ...
6341 (child_terminal_init): ... this. Adjust.
6342 (terminal_inferior): Rename to ...
6343 (child_terminal_inferior): ... this.
6344 (terminal_ours_for_output): Rename to ...
6345 (child_terminal_ours_for_output): ... this. Adjust.
6346 (terminal_ours): Rename to ...
6347 (child_terminal_ours): ... this.
6348 (terminal_ours_1): Rename to ...
6349 (child_terminal_ours_1): ... this. Adjust.
6350 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6351 * windows-nat.c (do_initial_windows_stuff): Adjust.
6352 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6353 (gnu_terminal_init): ... this. Adjust.
6354 (gnu_target): Adjust.
6355 * inf-child.c (inf_child_target): Adjust.
6356
5a1e8c7a
DE
63572014-03-13 Doug Evans <xdje42@gmail.com>
6358
6359 PR guile/16612
6360 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6361 new eq?-hashtab.
6362
350e1a76
DE
63632014-03-13 Doug Evans <xdje42@gmail.com>
6364
6365 * value.c (record_latest_value): Call release_value_or_incref
6366 instead of release_value.
6367
a69900ae
PA
63682014-03-13 Pedro Alves <palves@redhat.com>
6369
6370 * procfs.c (procfs_target): Don't override to_shortname,
6371 to_longname or to_doc.
6372
5db9f0bd
PA
63732014-03-13 Pedro Alves <palves@redhat.com>
6374
6375 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6376 Unix in user visible strings.
6377
5e3a2c38
SS
63782014-03-12 Stan Shebs <stan@codesourcery.com>
6379
6380 * gdbtypes.h: Annotate comments for Doxygen, add a page
6381 block comment with some general info.
6382
8bc2fe48
PA
63832014-03-12 Pedro Alves <palves@redhat.com>
6384
6385 * infcmd.c (prepare_execution_command): New function, factored out
6386 from several execution commands.
6387 (run_command_1, continue_command, step_1, jump_command)
6388 (signal_command, until_command, advance_command, finish_command)
6389 (attach_command): Use prepare_execution_command.
6390
638c5f49
OJ
63912014-03-12 Omair Javaid <omair.javaid@linaro.org>
6392
6393 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6394 (MAX_BPTS): Define.
6395 (MAX_WPTS): Define.
6396 (struct arm_linux_thread_points): Removed.
6397 (struct arm_linux_process_info): New.
6398 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6399 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6400 (arm_linux_find_breakpoints_by_tid): Removed.
6401 (struct arch_lwp_info): New.
6402 (arm_linux_find_process_pid): New functions.
6403 (arm_linux_add_process): New functions.
6404 (arm_linux_process_info_get): New functions.
6405 (arm_linux_forget_process): New function.
6406 (arm_linux_get_debug_reg_state): New function.
6407 (struct update_registers_data): New.
6408 (update_registers_callback): New function.
6409 (arm_linux_insert_hw_breakpoint1): Updated.
6410 (arm_linux_remove_hw_breakpoint1): Updated.
6411 (arm_linux_insert_hw_breakpoint): Updated.
6412 (arm_linux_remove_hw_breakpoint): Updated.
6413 (arm_linux_insert_watchpoint): Updated.
6414 (arm_linux_remove_watchpoint): Updated.
6415 (arm_linux_new_thread): Updated.
6416 (arm_linux_prepare_to_resume): New function.
6417 (arm_linux_new_fork): New function.
6418 (_initialize_arm_linux_nat): Updated.
6419
6d03af93
PA
64202014-03-12 Pedro Alves <palves@redhat.com>
6421
6422 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6423
b3ccfe11
TT
64242014-03-12 Tom Tromey <tromey@redhat.com>
6425
6426 * inf-child.c (return_zero): New function.
6427 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6428 * aix-thread.c (aix_thread_inferior_created): New function.
6429 (aix_thread_attach): Remove.
6430 (init_aix_thread_ops): Don't set to_attach.
6431 (_initialize_aix_thread): Register inferior_created observer.
6432 * corelow.c (init_core_ops): Don't set to_attach or
6433 to_create_inferior.
6434 * exec.c (init_exec_ops): Don't set to_attach or
6435 to_create_inferior.
6436 * infcmd.c (run_command_1): Use find_run_target. Make direct
6437 target calls.
6438 (attach_command): Use find_attach_target. Make direct target
6439 calls.
6440 * record-btrace.c (init_record_btrace_ops): Don't set
6441 to_create_inferior.
6442 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6443 Remove.
6444 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6445 set to_create_inferior.
6446 * target.c (complete_target_initialization): Add assertion.
6447 (target_create_inferior): Remove.
6448 (find_default_attach, find_default_create_inferior): Remove.
6449 (find_attach_target, find_run_target): New functions.
6450 (find_default_is_async_p, find_default_can_async_p)
6451 (target_supports_non_stop, target_attach): Remove.
6452 (init_dummy_target): Don't set to_create_inferior or
6453 to_supports_non_stop.
6454 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6455 TARGET_DEFAULT_FUNC.
6456 <to_create_inferior>: Add comment.
6457 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6458 TARGET_DEFAULT_RETURN.
6459 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6460 (find_attach_target, find_run_target): Declare.
6461 (target_create_inferior): Remove.
6462 (target_has_execution_1): Update comment.
6463 (target_supports_non_stop): Remove.
6464 * target-delegates.c: Rebuild.
6465
91f83b02
PA
64662014-03-12 Pedro Alves <palves@redhat.com>
6467
6468 * inf-child.h: Update comment to not mention Unix.
6469
f1aea813
PA
64702014-03-12 Pedro Alves <palves@redhat.com>
6471
6472 * inf-child.c: Update top comment to not mention Unix. Add
6473 generic comment describing how this target is meant to be used.
6474 (inf_child_post_attach, inf_child_post_startup_inferior)
6475 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6476 Unix in comment.
6477
ee8e9165
PA
64782014-03-12 Pedro Alves <palves@redhat.com>
6479
6480 * nto-procfs.c: Include inf-child.h.
6481 (procfs_ops): Delete global.
6482 (procfs_can_run): Delete method.
6483 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6484 target pointer instead of referencing procfs_ops.
6485 (procfs_prepare_to_store): Delete.
6486 (init_procfs_ops): Delete function.
6487 (procfs_target): New function, based on init_procfs_ops, but
6488 inherit inf_child_target.
6489 (_initialize_procfs): Use procfs_target.
6490
51a9c8c5
PA
64912014-03-12 Pedro Alves <palves@redhat.com>
6492
6493 * windows-nat.c: Include inf-child.h.
6494 (windows_ops): Delete global.
6495 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6496 methods.
6497 (init_windows_ops): Delete function.
6498 (windows_target): New function, based on init_windows_ops, but
6499 inherit inf_child_target.
6500 (_initialize_windows_nat): Use windows_target. Install x86
6501 specific target methods here.
6502
c1966e26
DE
65032014-03-10 Doug Evans <xdje42@gmail.com>
6504
6505 * guile/guile.c (call_initialize_gdb_module): New function.
6506 (initialize_guile): Replace call to scm_init_guile with call to
6507 scm_with_guile.
6508
023db19c
JB
65092014-03-10 Joel Brobecker <brobecker@adacore.com>
6510
6511 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6512 in call to TYPE_CODE macro.
6513
5ec18f2b
JG
65142014-03-10 Jerome Guitton <guitton@adacore.com>
6515
8668be63
JB
6516 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6517 Resolve tagged types to full view.
5ec18f2b 6518
7d03f2eb
HZ
65192014-03-10 Hui Zhu <hui@codesourcery.com>
6520
6521 * target.h (target_insert_breakpoint): Remove "hardware" from its
6522 comments.
6523
c5164cbc
DE
65242014-03-07 Doug Evans <dje@google.com>
6525
6526 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6527
c4a3fee2
DE
65282014-03-07 Doug Evans <dje@google.com>
6529
6530 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6531 Remove unused local comp_dir_attr. Assert exactly one of
6532 stub_comp_unit_die, stub_comp_dir is non-NULL.
6533
3156469c
JB
65342014-03-07 Joel Brobecker <brobecker@adacore.com>
6535
6536 * target.h (complete_target_initialization, add_target):
6537 Add comment.
6538
c1a7b7c6
PA
65392014-03-07 Pedro Alves <palves@redhat.com>
6540
6541 * go32-nat.c: Include inf-child.h.
6542 (go32_ops): Delete global.
6543 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6544 Delete methods.
6545 (go32_create_inferior): Push the passed in target pointer instead
6546 of referencing go32_ops.
6547 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6548 (go32_target): New function, based on init_go32_ops, but inherit
6549 inf_child_target.
6550 (_initialize_go32_nat): Use go32_target. Move parts of
6551 init_go32_ops here.
6552
d3c1a85f
JB
65532014-03-06 Joel Brobecker <brobecker@adacore.com>
6554
6555 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6556 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6557 SYMBOL_VALUE_ADDRESS.
6558 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6559
5fa1d40e
YQ
65602014-03-06 Yao Qi <yao@codesourcery.com>
6561
6562 * breakpoint.c (get_tracepoint_by_number): Remove argument
6563 optional_p. All callers updated. Adjust comments. Update
6564 output message.
6565 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6566
0c13193f
YQ
65672014-03-06 Yao Qi <yao@codesourcery.com>
6568
6569 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6570 early if get_number returns zero. Use 'p' instead of 'args'.
6571
2217da06
YQ
65722014-03-06 Yao Qi <yao@codesourcery.com>
6573
6574 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6575 message.
6576
cc3da688
YQ
65772014-03-06 Yao Qi <yao@codesourcery.com>
6578
6579 PR breakpoints/16508
6580 * tracepoint.c (check_trace_running): New function.
6581 (trace_find_command): Move code to check_trace_running and
6582 call check_trace_running.
6583 (trace_find_pc_command): Likewise.
6584 (trace_find_tracepoint_command): Likewise.
6585 (trace_find_line_command): Likewise.
6586 (trace_find_range_command): Likewise.
6587 * tracepoint.h (check_trace_running): Likewise.
6588 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6589
6a5f844b
YQ
65902014-03-06 Yao Qi <yao@codesourcery.com>
6591
6592 * target.h (struct target_ops) <to_traceframe_info>: Use
6593 TARGET_DEFAULT_NORETURN (tcomplain ()).
6594 * target-delegates.c: Regenerated.
6595
0f26cec1
PA
65962014-03-05 Pedro Alves <palves@redhat.com>
6597
6598 PR gdb/16575
6599 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6600 void. Update comment.
6601 (dcache_xfer_memory): Delete.
6602 (dcache_read_memory_partial): New, based on the read bits of
6603 dcache_xfer_memory.
6604 (dcache_update): Add status parameter. Use ULONGEST for len, and
6605 adjust. Discard cache lines if the reason for the update was
6606 error.
6607 * dcache.h (dcache_xfer_memory): Delete declaration.
6608 (dcache_read_memory_partial): New declaration.
6609 (dcache_update): Update prototype.
6610 * target.c (raw_memory_xfer_partial): Update the dcache here.
6611 (memory_xfer_partial_1): Don't handle dcache writes here.
6612
b2b255bd
MF
66132014-03-05 Mike Frysinger <vapier@gentoo.org>
6614
6615 * remote-sim.c (gdbsim_load): Add const to prog.
6616
5d9cf8a4
TT
66172014-03-03 Tom Tromey <tromey@redhat.com>
6618
6619 * elfread.c (probe_key): Change to bfd_data.
6620 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6621 now per-BFD, not per-objfile.
6622 * stap-probe.c (stap_probe_destroy): Update comment.
6623 (handle_stap_probe): Allocate on the per-BFD obstack.
6624
729662a5
TT
66252014-03-03 Tom Tromey <tromey@redhat.com>
6626
6627 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6628 * breakpoint.c (create_longjmp_master_breakpoint): Use
6629 get_probe_address.
6630 (add_location_to_breakpoint, bkpt_probe_insert_location)
6631 (bkpt_probe_remove_location): Update.
6632 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6633 * elfread.c (elf_symfile_relocate_probe): Remove.
6634 (elf_probe_fns): Update.
6635 (insert_exception_resume_breakpoint): Change type of "probe"
6636 parameter to bound_probe.
6637 (check_exception_resume): Update.
6638 * objfiles.c (objfile_relocate1): Don't relocate probes.
6639 * probe.c (bound_probe_s): New typedef.
6640 (parse_probes): Use get_probe_address. Set sal's objfile.
6641 (find_probe_by_pc): Return a bound_probe.
6642 (collect_probes): Return a VEC(bound_probe_s).
6643 (compare_probes): Update.
6644 (gen_ui_out_table_header_info): Change type of "probes"
6645 parameter. Update.
6646 (info_probes_for_ops): Update.
6647 (get_probe_address): New function.
6648 (probe_safe_evaluate_at_pc): Update.
6649 * probe.h (struct probe_ops) <get_probe_address>: New field.
6650 <set_semaphore, clear_semaphore>: Add objfile parameter.
6651 (struct probe) <objfile>: Remove field.
6652 <arch>: New field.
6653 <address>: Update comment.
6654 (struct bound_probe): New.
6655 (find_probe_by_pc): Return a bound_probe.
6656 (get_probe_address): Declare.
6657 * solib-svr4.c (struct probe_and_action) <address>: New field.
6658 (hash_probe_and_action, equal_probe_and_action): Update.
6659 (register_solib_event_probe): Add address parameter.
6660 (solib_event_probe_at): Update.
6661 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6662 get_probe_address.
6663 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6664 (stap_get_probe_address): New function.
6665 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6666 (compile_probe_arg): Update.
6667 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6668 address.
6669 (handle_stap_probe): Don't relocate the probe.
6670 (stap_relocate): Remove.
6671 (stap_gen_info_probes_table_values): Update.
6672 (stap_probe_ops): Remove stap_relocate.
6673 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6674 (debug_sym_probe_fns): Update.
6675 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6676 * symtab.c (init_sal): Use memset.
6677 * symtab.h (struct symtab_and_line) <objfile>: New field.
6678 * tracepoint.c (start_tracing, stop_tracing): Update.
6679
ff887920
TT
66802014-03-03 Tom Tromey <tromey@redhat.com>
6681
6682 * probe.h (parse_probes, find_probe_by_pc)
6683 (find_probes_in_objfile): Fix comments.
6684
f0407826
DE
66852014-03-02 Doug Evans <xdje42@gmail.com>
6686
6687 * infrun.c (handle_signal_stop): Replace test for
6688 TARGET_WAITKIND_STOPPED with an assert.
6689
35e6a711
DE
66902014-03-02 Doug Evans <xdje42@gmail.com>
6691
6692 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6693
667f9d0b
DE
66942014-03-02 Doug Evans <xdje42@gmail.com>
6695
6696 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6697
dc92ace0
MK
66982014-03-01 Mark Kettenis <kettenis@gnu.org>
6699
6700 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6701
a900370f
MK
67022014-03-01 Mark Kettenis <kettenis@gnu.org>
6703
6704 * i386obsd-nat.c: Include "obsd-nat.h".
6705 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6706 add_target.
6707 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6708
b72a7981
MK
67092014-03-01 Mark Kettenis <kettenis@gnu.org>
6710
6711 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6712
96c70aba
MK
67132014-03-01 Mark Kettenis <kettenis@gnu.org>
6714
6715 * mips64obsd-nat.c: Include "obsd-nath".
6716 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6717 add_target
6718 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6719
874a80af
MK
67202014-03-01 Mark Kettenis <kettenis@gnu.org>
6721
8fd408f1
MK
6722 * amd64obsd-nat.c: Include "obsd-nat,h.
6723 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6724 add_target.
874a80af
MK
6725 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6726
9cf95373
SC
67272014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6728
6729 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6730 (find_overload_match): Update call to find_oload_champ.
6731 (find_oload_champ_namespace_loop): Likewise
6732
863e4da4
MK
67332014-02-28 Mark Kettenis <kettenis@gnu.org>
6734
025cac40
MK
6735 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6736
1ed586ce
MK
6737 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6738 * config/sparc/obsd64.mh: New file.
6739 * sparc64obsd-nat.c: New file.
6740
863e4da4
MK
6741 * obsd-nat.h: New file.
6742 * obsd-nat.c: New file.
6743 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6744 (ALLDEPFILES): Add obsd-nat.c.
6745
89de4da4
TT
67462014-02-28 Tom Tromey <tromey@redhat.com>
6747
6748 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6749 * cli-out.h (cli_ui_out_impl): Now const.
6750 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6751 * ui-out.c (struct ui_out) <impl>: Now const.
6752 (default_ui_out_impl): Now const.
6753 (ui_out_new): Make 'impl' parameter const.
6754 * ui-out.h (ui_out_new): Update.
6755
c725e7b6
MK
67562014-02-27 Mark Kettenis <kettenis@gnu.org>
6757
6758 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6759
670b46b3
MK
67602014-02-27 Mark Kettenis <kettenis@gnu.org>
6761
6762 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6763
c91550fc
JK
67642014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 Additional PR 8882 fix.
6767 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6768
2fa0369e
PA
67692014-02-27 Pedro Alves <palves@redhat.com>
6770
6771 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6772 isn't set.
6773
d632a097
PA
67742014-02-27 Pedro Alves <palves@redhat.com>
6775
6776 PR 12702
6777 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6778 * nat/linux-waitpid.c: Include string.h.
6779 (status_to_str): Moved here and made extern.
6780 * nat/linux-waitpid.h (status_to_str): New declaration.
6781
2ebd5a35
HZ
67822014-02-27 Hui Zhu <hui@codesourcery.com>
6783
6784 PR 12702
6785 * infrun.c (ptid_match): Move ...
6786 * common/ptid.c (ptid_match): ... here.
6787 * inferior.h (ptid_match): Move ...
6788 * common/ptid.h (ptid_match): ... here.
6789
3cdd631f
MK
67902014-02-27 Mark Kettenis <kettenis@gnu.org>
6791
6792 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6793 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6794 gdb_target_obs.
6795
bee30a64
MK
67962014-02-27 Mark Kettenis <kettenis@gnu.org>
6797
6798 * obsd-tdep.c (obsd_auxv_parse): New function.
6799 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6800
6801 * gdbarch.sh (auxv_parse): New.
6802 * gdbarch.h: Regenerated.
6803 * gdbarch.c: Regenerated.
6804 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6805
7a5a839f
LC
68062014-02-26 Ludovic Courtès <ludo@gnu.org>
6807
6808 * guile/scm-value.c (gdbscm_history_append_x): New function.
6809 (value_functions): Add it.
6810
31aa7e4e
JB
68112014-02-27 Joel Brobecker <brobecker@adacore.com>
6812
6813 * dwarf2read.c (attr_value_as_address): New function.
6814 (dwarf2_find_base_address, read_call_site_scope): Use
6815 attr_value_as_address in place of DW_ADDR.
6816 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6817 the low and high addresses. Slight rework of the handling
6818 of the high pc being a constant form, and limit it to
6819 DWARF verson 4 or higher.
6820 (dwarf2_record_block_ranges): Likewise.
6821 (read_partial_die): Likewise.
6822 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6823
9b333ba3
TT
68242014-02-26 Tom Tromey <tromey@redhat.com>
6825
6826 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6827
5f6cac40
TT
68282014-02-26 Tom Tromey <tromey@redhat.com>
6829
6830 * elfread.c (elf_read_minimal_symbols): Return early if
6831 minimal symbols have already been read. Add "ei" parameter.
6832 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6833 * minsyms.c (prim_record_minimal_symbol_full): Update.
6834 * objfiles.h (struct objstats) <n_minsyms>: Move...
6835 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6836 * symmisc.c (print_objfile_statistics): Update.
6837
2750ef27
TT
68382014-02-26 Tom Tromey <tromey@redhat.com>
6839
6840 * elfread.c (elf_read_minimal_symbols): New function, from
6841 elf_symfile_read.
6842 (elf_symfile_read): Call it.
6843
34643a32
TT
68442014-02-26 Tom Tromey <tromey@redhat.com>
6845
6846 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6847 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6848 (lookup_minimal_symbol_solib_trampoline)
6849 (lookup_minimal_symbol_by_pc_section_1)
6850 (lookup_minimal_symbol_and_objfile): Update.
6851 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6852 Don't allocate a minimal symbol if minsyms have already been read.
6853 (build_minimal_symbol_hash_tables): Update.
6854 (install_minimal_symbols): Do nothing if minsyms already read.
6855 Use the per-BFD obstack.
6856 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6857 * objfiles.c (allocate_objfile): Call
6858 terminate_minimal_symbol_table later.
6859 (have_minimal_symbols): Update.
6860 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6861 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6862 Move from struct objfile.
6863 <minsyms_read>: New field.
6864 (struct objfile) <msymbols, minimal_symbol_count,
6865 msymbol_hash, msymbol_demangled_hash>: Move.
6866 (ALL_OBJFILE_MSYMBOLS): Update.
6867 * symfile.c (read_symbols): Set minsyms_read.
6868 (reread_symbols): Update.
6869 * symmisc.c (dump_objfile, dump_msymbols): Update.
6870
2273f0ac
TT
68712014-02-26 Tom Tromey <tromey@redhat.com>
6872
6873 * minsyms.c (msymbols_sort): Remove.
6874 * minsyms.h (msymbols_sort): Remove.
6875 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6876 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6877 * elfread.c (elf_symtab_read): Don't add section offsets.
6878 * xcoffread.c (record_minimal_symbol): Don't add section offset
6879 to minimal symbol address.
6880 * somread.c (text_offset, data_offset): Remove.
6881 (som_symtab_read): Don't add section offsets to minimal symbol
6882 addresses.
6883 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6884 Don't add section offsets to minimal symbols.
6885 * coffread.c (coff_symtab_read): Don't add section offsets
6886 to minimal symbol addresses.
6887 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6888 to minimal symbol addresses.
6889 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6890 section offset to minimal symbol addresses.
6891 * mdebugread.c (parse_partial_symbols): Don't add section
6892 offset to minimal symbol addresses.
6893 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6894 offset to minimal symbol addresses.
6895
77e371c0
TT
68962014-02-26 Tom Tromey <tromey@redhat.com>
6897
6898 * ada-lang.c (ada_main_name): Update.
6899 (ada_add_standard_exceptions): Update.
6900 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6901 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6902 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6903 * auxv.c (ld_so_xfer_auxv): Update.
6904 * avr-tdep.c (avr_scan_prologue): Update.
6905 * ax-gdb.c (gen_var_ref): Update.
6906 * blockframe.c (get_pc_function_start)
6907 (find_pc_partial_function_gnu_ifunc): Update.
6908 * breakpoint.c (create_overlay_event_breakpoint)
6909 (create_longjmp_master_breakpoint)
6910 (create_std_terminate_master_breakpoint)
6911 (create_exception_master_breakpoint): Update.
6912 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6913 * c-valprint.c (c_val_print): Update.
6914 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6915 * common/agent.c (agent_look_up_symbols): Update.
6916 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6917 * dwarf2loc.c (call_site_to_target_addr): Update.
6918 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6919 * elfread.c (elf_gnu_ifunc_record_cache)
6920 (elf_gnu_ifunc_resolve_by_got): Update.
6921 * findvar.c (default_read_var_value): Update.
6922 * frame.c (inside_main_func): Update.
6923 * frv-tdep.c (frv_frame_this_id): Update.
6924 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6925 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6926 Update.
6927 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6928 (hppa_hpux_find_dummy_bpaddr): Update.
6929 * hppa-tdep.c (hppa_symbol_address): Update.
6930 * infcmd.c (until_next_command): Update.
6931 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6932 Update.
6933 * linespec.c (minsym_found, add_minsym): Update.
6934 * linux-nat.c (get_signo): Update.
6935 * linux-thread-db.c (inferior_has_bug): Update.
6936 * m32c-tdep.c (m32c_return_value)
6937 (m32c_m16c_address_to_pointer): Update.
6938 * m32r-tdep.c (m32r_frame_this_id): Update.
6939 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6940 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6941 * maint.c (maintenance_translate_address): Update.
6942 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6943 (frob_address): New function.
6944 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6945 frob_address. Rename parameter to "pc_in".
6946 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6947 addresses.
6948 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6949 Update.
6950 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6951 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6952 * objc-lang.c (find_objc_msgsend): Update.
6953 * objfiles.c (objfile_relocate1): Update.
6954 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6955 * p-valprint.c (pascal_val_print): Update.
6956 * parse.c (write_exp_msymbol): Update.
6957 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6958 (ppc_elfv2_skip_entrypoint): Update.
6959 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6960 * printcmd.c (build_address_symbolic, msym_info)
6961 (address_info): Update.
6962 * proc-service.c (ps_pglobal_lookup): Update.
6963 * psymtab.c (find_pc_sect_psymtab_closer)
6964 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6965 Change msymbol parameter to bound_minimal_symbol.
6966 * ravenscar-thread.c (get_running_thread_id): Update.
6967 * remote.c (remote_check_symbols): Update.
6968 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6969 address.
6970 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6971 * solib-dsbt.c (lm_base): Update.
6972 * solib-frv.c (lm_base, main_got): Update.
6973 * solib-irix.c (locate_base): Update.
6974 * solib-som.c (som_solib_create_inferior_hook)
6975 (link_map_start): Update.
6976 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6977 * solib-svr4.c (elf_locate_base, enable_break): Update.
6978 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6979 (flush_ea_cache): Update.
6980 * stabsread.c (define_symbol, scan_file_globals): Update.
6981 * stack.c (find_frame_funname): Update.
6982 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6983 (debug_qf_find_pc_sect_symtab): Update.
6984 * symfile.c (simple_read_overlay_table)
6985 (simple_overlay_update): Update.
6986 * symfile.h (struct quick_symbol_functions)
6987 <find_pc_sect_symtab>: Change type of msymbol to
6988 bound_minimal_symbol.
6989 * symmisc.c (dump_msymbols): Update.
6990 * symtab.c (find_pc_sect_symtab_via_partial)
6991 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6992 (search_symbols, print_msymbol_info): Update.
6993 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6994 (MSYMBOL_VALUE_ADDRESS): Redefine.
6995 (BMSYMBOL_VALUE_ADDRESS): New macro.
6996 * tracepoint.c (scope_info): Update.
6997 * tui/tui-disasm.c (tui_find_disassembly_address)
6998 (tui_get_begin_asm_address): Update.
6999 * valops.c (find_function_in_inferior): Update.
7000 * value.c (value_static_field, value_fn_field): Update.
7001
3b7344d5
TT
70022014-02-26 Tom Tromey <tromey@redhat.com>
7003
7004 * ada-lang.c (ada_update_initial_language): Update.
7005 (ada_main_name, ada_has_this_exception_support): Update.
7006 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7007 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7008 * arm-tdep.c (arm_skip_stub): Update.
7009 * auxv.c (ld_so_xfer_auxv): Update.
7010 * avr-tdep.c (avr_scan_prologue): Update.
7011 * ax-gdb.c (gen_var_ref): Update.
7012 * breakpoint.c (struct breakpoint_objfile_data)
7013 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7014 type to bound_minimal_symbol.
7015 (create_overlay_event_breakpoint)
7016 (create_longjmp_master_breakpoint)
7017 (create_std_terminate_master_breakpoint)
7018 (create_exception_master_breakpoint): Update.
7019 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7020 * c-exp.y (classify_name): Update.
7021 * coffread.c (coff_symfile_read): Update.
7022 * common/agent.c (agent_look_up_symbols): Update.
7023 * d-lang.c (d_main_name): Update.
7024 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7025 * dec-thread.c (enable_dec_thread): Update.
7026 * dwarf2loc.c (call_site_to_target_addr): Update.
7027 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7028 * eval.c (evaluate_subexp_standard): Update.
7029 * findvar.c (struct minsym_lookup_data) <result>: Change type
7030 to bound_minimal_symbol.
7031 <objfile>: Remove.
7032 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7033 * frame.c (inside_main_func): Update.
7034 * frv-tdep.c (frv_frame_this_id): Update.
7035 * gcore.c (call_target_sbrk): Update.
7036 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7037 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7038 Update.
7039 * go-lang.c (go_main_name): Update.
7040 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7041 (hppa_hpux_find_import_stub_for_addr): Update.
7042 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7043 Update. Change return type.
7044 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7045 type.
7046 * jit.c (jit_breakpoint_re_set_internal): Update.
7047 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7048 Update.
7049 * linux-nat.c (get_signo): Update.
7050 * linux-thread-db.c (inferior_has_bug): Update
7051 * m32c-tdep.c (m32c_return_value)
7052 (m32c_m16c_address_to_pointer): Update.
7053 * m32r-tdep.c (m32r_frame_this_id): Update.
7054 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7055 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7056 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7057 lookup_minimal_symbol. Change return type.
7058 (lookup_minimal_symbol): Remove.
7059 (lookup_bound_minimal_symbol): Update.
7060 (lookup_minimal_symbol_text): Change return type.
7061 (lookup_minimal_symbol_solib_trampoline): Change return type.
7062 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7063 (lookup_minimal_symbol_solib_trampoline): Change return type.
7064 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7065 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7066 (value_nsstring, find_imps): Update.
7067 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7068 * p-lang.c (pascal_main_name): Update.
7069 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7070 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7071 * proc-service.c (ps_pglobal_lookup): Update.
7072 * ravenscar-thread.c (get_running_thread_msymbol): Change
7073 return type.
7074 (has_ravenscar_runtime, get_running_thread_id): Update.
7075 * remote.c (remote_check_symbols): Update.
7076 * sol-thread.c (ps_pglobal_lookup): Update.
7077 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7078 * solib-dsbt.c (lm_base): Update.
7079 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7080 Update.
7081 * solib-irix.c (locate_base): Update.
7082 * solib-som.c (som_solib_create_inferior_hook)
7083 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7084 Update.
7085 * solib-spu.c (spu_enable_break): Update.
7086 * solib-svr4.c (elf_locate_base, enable_break): Update.
7087 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7088 (flush_ea_cache): Update.
7089 * stabsread.c (define_symbol): Update.
7090 * symfile.c (simple_read_overlay_table): Update.
7091 * symtab.c (find_pc_sect_line): Update.
7092 * tracepoint.c (scope_info): Update.
7093 * tui-disasm.c (tui_get_begin_asm_address): Update.
7094 * value.c (value_static_field): Update.
7095
40c1a007
TT
70962014-02-26 Tom Tromey <tromey@redhat.com>
7097
7098 * minsyms.c (prim_record_minimal_symbol_full): Use
7099 SET_MSYMBOL_VALUE_ADDRESS.
7100 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7101 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7102 SET_MSYMBOL_VALUE_ADDRESS.
7103 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7104 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7105
efd66ac6
TT
71062014-02-26 Tom Tromey <tromey@redhat.com>
7107
7108 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7109 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7110 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7111 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7112 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7113 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7114 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7115 * ada-lang.c (ada_main_name): Update.
7116 (ada_lookup_simple_minsym): Update.
7117 (ada_make_symbol_completion_list): Update.
7118 (ada_add_standard_exceptions): Update.
7119 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7120 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7121 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7122 * arm-tdep.c (skip_prologue_function): Update.
7123 (arm_skip_stack_protector, arm_skip_stub): Update.
7124 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7125 (arm_wince_skip_main_prologue): Update.
7126 * auxv.c (ld_so_xfer_auxv): Update.
7127 * avr-tdep.c (avr_scan_prologue): Update.
7128 * ax-gdb.c (gen_var_ref): Update.
7129 * block.c (call_site_for_pc): Update.
7130 * blockframe.c (get_pc_function_start): Update.
7131 (find_pc_partial_function_gnu_ifunc): Update.
7132 * breakpoint.c (create_overlay_event_breakpoint): Update.
7133 (create_longjmp_master_breakpoint): Update.
7134 (create_std_terminate_master_breakpoint): Update.
7135 (create_exception_master_breakpoint): Update.
7136 (resolve_sal_pc): Update.
7137 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7138 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7139 Update.
7140 * c-valprint.c (c_val_print): Update.
7141 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7142 * coffread.c (coff_symfile_read): Update.
7143 * common/agent.c (agent_look_up_symbols): Update.
7144 * dbxread.c (find_stab_function_addr): Update.
7145 (end_psymtab): Update.
7146 * dwarf2loc.c (call_site_to_target_addr): Update.
7147 (func_verify_no_selftailcall): Update.
7148 (tailcall_dump): Update.
7149 (call_site_find_chain_1): Update.
7150 (dwarf_expr_reg_to_entry_parameter): Update.
7151 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7152 (elf_gnu_ifunc_resolve_by_got): Update.
7153 * f-valprint.c (info_common_command): Update.
7154 * findvar.c (read_var_value): Update.
7155 * frame.c (get_prev_frame_1): Update.
7156 (inside_main_func): Update.
7157 * frv-tdep.c (frv_skip_main_prologue): Update.
7158 (frv_frame_this_id): Update.
7159 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7160 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7161 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7162 (gnuv3_skip_trampoline): Update.
7163 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7164 (hppa64_hpux_in_solib_call_trampoline): Update.
7165 (hppa_hpux_skip_trampoline_code): Update.
7166 (hppa64_hpux_search_dummy_call_sequence): Update.
7167 (hppa_hpux_find_import_stub_for_addr): Update.
7168 (hppa_hpux_find_dummy_bpaddr): Update.
7169 * hppa-tdep.c (hppa_symbol_address)
7170 (hppa_lookup_stub_minimal_symbol): Update.
7171 * i386-tdep.c (i386_skip_main_prologue): Update.
7172 (i386_pe_skip_trampoline_code): Update.
7173 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7174 * infcall.c (get_function_name): Update.
7175 * infcmd.c (until_next_command): Update.
7176 * jit.c (jit_breakpoint_re_set_internal): Update.
7177 (jit_inferior_init): Update.
7178 * linespec.c (minsym_found): Update.
7179 (add_minsym): Update.
7180 * linux-fork.c (info_checkpoints_command): Update.
7181 * linux-nat.c (get_signo): Update.
7182 * linux-thread-db.c (inferior_has_bug): Update.
7183 * m32c-tdep.c (m32c_return_value): Update.
7184 (m32c_m16c_address_to_pointer): Update.
7185 (m32c_m16c_pointer_to_address): Update.
7186 * m32r-tdep.c (m32r_frame_this_id): Update.
7187 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7188 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7189 * maint.c (maintenance_translate_address): Update.
7190 * minsyms.c (add_minsym_to_hash_table): Update.
7191 (add_minsym_to_demangled_hash_table): Update.
7192 (msymbol_objfile): Update.
7193 (lookup_minimal_symbol): Update.
7194 (iterate_over_minimal_symbols): Update.
7195 (lookup_minimal_symbol_text): Update.
7196 (lookup_minimal_symbol_by_pc_name): Update.
7197 (lookup_minimal_symbol_solib_trampoline): Update.
7198 (lookup_minimal_symbol_by_pc_section_1): Update.
7199 (lookup_minimal_symbol_and_objfile): Update.
7200 (prim_record_minimal_symbol_full): Update.
7201 (compare_minimal_symbols): Update.
7202 (compact_minimal_symbols): Update.
7203 (build_minimal_symbol_hash_tables): Update.
7204 (install_minimal_symbols): Update.
7205 (terminate_minimal_symbol_table): Update.
7206 (find_solib_trampoline_target): Update.
7207 (minimal_symbol_upper_bound): Update.
7208 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7209 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7210 (mips_skip_pic_trampoline_code): Update.
7211 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7212 * objc-lang.c (selectors_info): Update.
7213 (classes_info): Update.
7214 (find_methods): Update.
7215 (find_imps): Update.
7216 (find_objc_msgsend): Update.
7217 * objfiles.c (objfile_relocate1): Update.
7218 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7219 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7220 * p-valprint.c (pascal_val_print): Update.
7221 * parse.c (write_exp_msymbol): Update.
7222 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7223 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7224 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7225 * printcmd.c (build_address_symbolic): Update.
7226 (sym_info): Update.
7227 (address_info): Update.
7228 * proc-service.c (ps_pglobal_lookup): Update.
7229 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7230 (find_pc_sect_psymtab): Update.
7231 * python/py-framefilter.c (py_print_frame): Update.
7232 * ravenscar-thread.c (get_running_thread_id): Update.
7233 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7234 Update.
7235 * remote.c (remote_check_symbols): Update.
7236 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7237 (rs6000_skip_trampoline_code): Update.
7238 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7239 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7240 * solib-dsbt.c (lm_base): Update.
7241 * solib-frv.c (lm_base): Update.
7242 (main_got): Update.
7243 * solib-irix.c (locate_base): Update.
7244 * solib-som.c (som_solib_create_inferior_hook): Update.
7245 (som_solib_desire_dynamic_linker_symbols): Update.
7246 (link_map_start): Update.
7247 * solib-spu.c (spu_enable_break): Update.
7248 (ocl_enable_break): Update.
7249 * solib-svr4.c (elf_locate_base): Update.
7250 (enable_break): Update.
7251 * spu-tdep.c (spu_get_overlay_table): Update.
7252 (spu_catch_start): Update.
7253 (flush_ea_cache): Update.
7254 * stabsread.c (define_symbol): Update.
7255 (scan_file_globals): Update.
7256 * stack.c (find_frame_funname): Update.
7257 (frame_info): Update.
7258 * symfile.c (simple_read_overlay_table): Update.
7259 (simple_overlay_update): Update.
7260 * symmisc.c (dump_msymbols): Update.
7261 * symtab.c (fixup_section): Update.
7262 (find_pc_sect_line): Update.
7263 (skip_prologue_sal): Update.
7264 (search_symbols): Update.
7265 (print_msymbol_info): Update.
7266 (rbreak_command): Update.
7267 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7268 (completion_list_objc_symbol): Update.
7269 (default_make_symbol_completion_list_break_on): Update.
7270 * tracepoint.c (scope_info): Update.
7271 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7272 (tui_get_begin_asm_address): Update.
7273 * valops.c (find_function_in_inferior): Update.
7274 * value.c (value_static_field): Update.
7275 (value_fn_field): Update.
7276
50e65b17
TT
72772014-02-26 Tom Tromey <tromey@redhat.com>
7278
7279 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7280 bound minimal symbols. Move code that knows about minsym
7281 table layout...
7282 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7283 function.
7284 * minsyms.h (minimal_symbol_upper_bound): Declare.
7285 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7286 minimal_symbol_upper_bound.
7287
1b588015
JB
72882014-02-27 Joel Brobecker <brobecker@adacore.com>
7289
7290 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7291 Use the type's name if its basic type does not have a tag.
7292
dbb9c2b1
JB
72932014-02-27 Joel Brobecker <brobecker@adacore.com>
7294
7295 * dwarf2read.c (read_subrange_type): Add comment.
7296
55426c9d
JB
72972014-02-27 Joel Brobecker <brobecker@adacore.com>
7298
7299 * dwarf2read.c (update_enumeration_type_from_children): New
7300 function, mostly extracted from process_structure_scope.
7301 (read_enumeration_type): Call update_enumeration_type_from_children.
7302 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7303 and flag_flag_enum fields.
7304
f2fce0ca
PA
73052014-02-26 Pedro Alves <palves@redhat.com>
7306
7307 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7308 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7309 to_xfer_partial method.
7310
7a44e40e
PA
73112014-02-26 Pedro Alves <palves@redhat.com>
7312
7313 * target.c (complete_target_initialization): Don't install
7314 default_xfer_partial as to_xfer_partial hook.
7315 (nomemory): Delete.
7316 (update_current_target): Don't INHERIT nor de_fault
7317 deprecated_xfer_memory. Delete de_fault macro.
7318 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7319 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7320 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7321 field.
7322
bd265cd0
PA
73232014-02-26 Pedro Alves <palves@redhat.com>
7324
7325 * go32-nat.c (my_write_child): New function.
7326 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7327 (go32_xfer_partial): New function.
7328 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7329 Instead install a to_xfer_partial hook.
7330
9d46c4e5
PA
73312014-02-26 Pedro Alves <palves@redhat.com>
7332
7333 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7334 to_xfer_partial helper. Rewrite.
7335 (procfs_xfer_partial): New function.
7336 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7337 Install a to_xfer_partial hook.
7338
a1583b1f
PA
73392014-02-26 Pedro Alves <palves@redhat.com>
7340
7341 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7342 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7343 (m32r_xfer_partial): New function.
7344 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7345 Install a to_xfer_partial hook.
7346
6df1b29f
PA
73472014-02-26 Pedro Alves <palves@redhat.com>
7348
7349 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7350 helper.
7351 (mips_xfer_partial): New function.
7352 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7353 hook. Install a to_xfer_partial hook.
7354
dc53a7ad
JB
73552014-02-26 Joel Brobecker <brobecker@adacore.com>
7356
7357 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7358 * gdbtypes.c (create_array_type_with_stride): New function,
7359 renaming create_array_type, but with an added parameter
7360 called "bit_stride".
7361 (create_array_type): Re-implement using
7362 create_array_type_with_stride.
7363 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7364 and DW_AT_bit_stride attributes.
7365
12ab52e9
PA
73662014-02-26 Pedro Alves <palves@redhat.com>
7367
7368 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7369 task-specific breakpoints.
7370
d16461ae
PA
73712014-02-25 Pedro Alves <palves@redhat.com>
7372
7373 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7374 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7375
a8b16220
SS
73762014-02-25 Stan Shebs <stan@codesourcery.com>
7377
7378 * defs.h: Annotate comments for Doxygen.
7379
b9e795ee
TT
73802014-02-25 Tom Tromey <tromey@redhat.com>
7381
7382 * target.h (target_ignore): Don't declare.
7383 * target.c (target_ignore): Remove.
7384
849c862e
JK
73852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7386
7387 PR gdb/16626
7388 * auto-load.c (auto_load_objfile_script_1): Change filename to
7389 debugfile.
7390
475109d8
JB
73912014-02-25 Joel Brobecker <brobecker@adacore.com>
7392
7393 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7394 documentation. Adjust prototype to match the target_ops
7395 to_xfer_partial method. Adjust implementation accordingly.
7396
e186c3bd
HZ
73972014-02-25 Hui Zhu <hui@codesourcery.com>
7398
7399 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7400 to_traceframe_info.
7401
6d451942
KB
74022014-02-25 Kevin Buettner <kevinb@redhat.com>
7403
041ab8b4 7404 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7405 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7406 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7407 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7408 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7409 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7410 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7411 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7412 New constants.
7413 (rl78_register_type): Use a data pointer type for SP and
7414 new pseudo registers mentioned above. Use a 16 bit integer
7415 type for all other register pairs.
7416 (rl78_register_name, rl78_g10_register_name): Update for
7417 new pseudo registers.
7418 (rl78_pseudo_register_read): Likewise.
7419 (rl78_pseudo_register_write): Likewise.
7420 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7421 to the newly added pseudo registers.
7422
eddf0bae
DE
74232014-02-24 Doug Evans <dje@google.com>
7424
7425 * value.c (record_latest_value): Fix comment.
7426 * printcmd.c (print_command_1): Remove code to handle -1 return from
7427 record_latest_value.
7428
e96027e0
PA
74292014-02-24 Pedro Alves <palves@redhat.com>
7430
7431 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7432 deprecated_xfer_memory hook.
7433 (procfs_xfer_partial): Call procfs_xfer_memory instead
7434 of the deprecated_xfer_memory target hook.
7435 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7436 helper.
7437
0837c976
YZ
74382014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7439
7440 * windows-nat.c (windows_xfer_shared_libraries): Return
7441 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7442 requested object is TARGET_OBJECT_LIBRARIES.
7443
bc113b4e
YQ
74442014-02-24 Yao Qi <yao@codesourcery.com>
7445
7446 * target.h (enum target_xfer_status)
7447 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7448 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7449 explicitly. New.
7450 * corefile.c (memory_error_message): User updated.
7451 * exec.c (section_table_read_available_memory): Likewise.
7452 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7453 * target.c (target_xfer_status_to_string): Likewise.
7454 (raw_memory_xfer_partial): Likewise.
7455 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7456 * valops.c (read_value_memory): Likewise.
7457 * exec.h: Update comments.
7458
01cb8804
YQ
74592014-02-24 Yao Qi <yao@codesourcery.com>
7460
7461 * target.c (target_xfer_status_to_string): Rename argument err
7462 to status.
7463 * target.h (target_xfer_status_to_string): Update declaration.
7464 Replace target_xfer_error_to_string with
7465 target_xfer_status_to_string in comment.
7466
93063aa6
YQ
74672014-02-24 Yao Qi <yao@codesourcery.com>
7468
7469 * mips-linux-nat.c (super_close): Update its type.
7470 (mips_linux_close): Pass 'self' to super_close.
7471
5c328c05
YQ
74722014-02-24 Yao Qi <yao@codesourcery.com>
7473
7474 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7475 * corefile.c (read_memory): Adjusted.
7476 * target.c (target_write_with_progress): Adjusted.
7477
f73023dd
YQ
74782014-02-23 Yao Qi <yao@codesourcery.com>
7479
7480 Revert two patches:
7481
7482 2013-10-25 Yao Qi <yao@codesourcery.com>
7483
7484 * remote.c (remote_traceframe_info): Return early if
7485 traceframe is not selected.
7486
7487 2013-07-19 Yao Qi <yao@codesourcery.com>
7488
7489 * target.c (update_current_target): Change the default action
7490 of 'to_traceframe_info' from tcomplain to return_zero.
7491 * target.h (struct target_ops) <to_traceframe_info>: Add more
7492 comments.
7493
5a2eb0ef
YQ
74942014-02-23 Yao Qi <yao@codesourcery.com>
7495
7496 * valops.c (read_value_memory): Rewrite it. Call
7497 target_xfer_partial in a loop.
7498 * exec.h (section_table_available_memory): Remove declaration.
7499 Move comments to ...
7500 * exec.c (section_table_available_memory): ... here. Make it
7501 static.
7502
1ee79381
YQ
75032014-02-23 Yao Qi <yao@codesourcery.com>
7504
7505 * exec.c (section_table_read_available_memory): New function.
7506 * exec.h (section_table_read_available_memory): Declare.
7507 * ctf.c (ctf_xfer_partial): Call
7508 section_table_read_available_memory.
7509 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7510
1ca49d37
YQ
75112014-02-23 Yao Qi <yao@codesourcery.com>
7512
7513 * ctf.c (ctf_xfer_partial): Move code to ...
7514 * exec.c (exec_read_partial_read_only): ... it. New function.
7515 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7516 * tracefile.c: Include "exec.h".
7517 * exec.h (exec_read_partial_read_only): Declare.
7518
a283690e
YQ
75192014-02-23 Yao Qi <yao@codesourcery.com>
7520
7521 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7522 (tfile_has_memory): Remove.
7523 (init_tfile_ops): Don't set fields to_has_all_memory and
7524 to_has_memory of tfile_ops.
7525 * tracefile.c (tracefile_has_all_memory): New function.
7526 (tracefile_has_memory): New function.
7527 (init_tracefile_ops): Initialize fields to_has_all_memory and
7528 to_has_memory of 'ops'.
7529
12e03cd0
YQ
75302014-02-23 Yao Qi <yao@codesourcery.com>
7531
7532 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7533 (ctf_thread_alive, ctf_get_trace_status): Remove.
7534 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7535 init_tracefile_ops.
7536 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7537 (tfile_has_stack, tfile_has_registers): Remove.
7538 (tfile_thread_alive): Remove.
7539 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7540 init_tracefile_ops.
7541 * tracefile.c (tracefile_has_stack): New function.
7542 (tracefile_has_registers): New function.
7543 (tracefile_thread_alive): New function.
7544 (tracefile_get_trace_status): New function.
7545 (init_tracefile_ops): New function.
7546 * tracefile.h (init_tracefile_ops): Declare.
7547
11395323
YQ
75482014-02-23 Yao Qi <yao@codesourcery.com>
7549
7550 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7551 (O_LARGEFILE): Likewise.
7552 (tfile_ops): Likewise.
7553 (TRACE_HEADER_SIZE): Likewise.
7554 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7555 (cur_data_size): Likewise.
7556 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7557 (tfile_close, tfile_files_info): Likewise.
7558 (tfile_get_trace_status): Likewise.
7559 (tfile_get_tracepoint_status): Likewise.
7560 (tfile_get_traceframe_address): Likewise.
7561 (tfile_trace_find, match_blocktype): Likewise.
7562 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7563 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7564 (tfile_get_trace_state_variable_value): Likewise.
7565 (tfile_has_all_memory, tfile_has_memory): Likewise.
7566 (tfile_has_stack, tfile_has_registers): Likewise.
7567 (tfile_thread_alive, build_traceframe_info): Likewise.
7568 (tfile_traceframe_info, init_tfile_ops): Likewise.
7569 (_initialize_tracepoint): Don't call init_tfile_ops
7570 and add_target_with_completer.
7571 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7572 exec.h, completer.h and filenames.h.
7573 (_initialize_tracefile_tfile): New function.
7574
7951c4eb
YQ
75752014-02-23 Yao Qi <yao@codesourcery.com>
7576
7577 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7578 tracefile-tfile.o.
7579 (HFILES_NO_SRCDIR): Add tracefile.h.
7580 * ctf.c: Include "tracefile.h".
7581 * tracefile.h: New file.
7582 * tracefile.c: New file
7583 * tracefile-tfile.c: New file.
7584 * tracepoint.c: Include "tracefile.h".
7585 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7586 (stop_reason_names): Add const.
7587 (trace_file_writer_xfree): Move it to tracefile.c.
7588 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7589 (trace_save_ctf): Likewise.
7590 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7591 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7592 (tfile_write_header, tfile_write_regblock_type): Likewise.
7593 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7594 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7595 (tfile_write_raw_data, tfile_end): Likewise.
7596 (tfile_trace_file_writer_new): Likewise.
7597 (free_uploaded_tp): Make it extern.
7598 (free_uploaded_tsv): Make it extern.
7599 (_initialize_tracepoint): Move code to register command 'tsave'
7600 to tracefile.c.
7601 * tracepoint.h (stop_reason_names): Declare.
7602 (struct trace_frame_write_ops): Move it to tracefile.h.
7603 (struct trace_file_write_ops): Likewise.
7604 (struct trace_file_writer): Likewise.
7605 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7606
184cd072
JK
76072014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7608
7609 PR gdb/16594
7610 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7611 process name.
7612 (get_cores_used_by_process): New parameter num_cores, use it.
7613 (linux_xfer_osdata_processes): Pass num_cores to it.
7614 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7615 process name.
7616
c63528fc
AK
76172014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7618
7619 * target.c (memory_xfer_partial): Fix length arg in call to
7620 breakpoint_xfer_memory.
7621
d7b30f67
SDJ
76222014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7623
7624 PR tdep/16397
7625 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7626 number comes after the + or - signs. Adjust length of register
7627 name to be extracted.
7628
8838afaf
TT
76292014-02-20 Tom Tromey <tromey@redhat.com>
7630
7631 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7632 (ada_varobj_ops): Mark "extern".
7633
05227d14
TT
76342014-02-20 Tom Tromey <tromey@redhat.com>
7635
7636 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7637
1254eefc
DE
76382014-02-20 Doug Evans <xdje42@gmail.com>
7639
7640 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7641 All callers updated.
7642 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7643 All callers updated.
7644 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7645 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7646
adde2bff
DE
76472014-02-20 lin zuojian <manjian2006@gmail.com>
7648 Joel Brobecker <brobecker@adacore.com>
7649 Doug Evans <xdje42@gmail.com>
7650
7651 PR symtab/16581
7652 * dwarf2read.c (struct die_info): New member in_process.
7653 (reset_die_in_process): New function.
7654 (process_die): Set it at the start, reset when returning.
7655 (inherit_abstract_dies): Only call process_die if origin_child_die
7656 not already being processed.
7657
3be75f87
JB
76582014-02-20 Joel Brobecker <brobecker@adacore.com>
7659
7660 * windows-nat.c (handle_unload_dll): Add function documentation.
7661 (do_initial_windows_stuff): Add comment explaining why we wait
7662 until after inferior initialization has finished before
7663 processing all DLLs.
7664
47f7ffdb
JB
76652014-02-20 Joel Brobecker <brobecker@adacore.com>
7666
7667 * windows-nat.c (get_module_name): Delete.
7668 (windows_get_exec_module_filename): New function, mostly
7669 inspired from get_module_name.
7670 (windows_pid_to_exec_file): Replace call to get_module_name
7671 by call to windows_get_exec_module_filename.
7672
1cd9feab
JB
76732014-02-20 Joel Brobecker <brobecker@adacore.com>
7674
7675 * windows-nat.c (handle_load_dll): Rewrite this function's
7676 introductory comment. Remove code using get_module_name
7677 to get the DLL's name.
7678
ea39ad35
JB
76792014-02-20 Joel Brobecker <brobecker@adacore.com>
7680
7681 * windows-nat.c (get_windows_debug_event): Ignore
7682 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7683 if windows_initialization_done == 0.
7684 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7685 Adjust implementation to always load all DLLs.
7686 (do_initial_windows_stuff): Replace call to
7687 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7688
95060284
JB
76892014-02-20 Joel Brobecker <brobecker@adacore.com>
7690
7691 * windows-nat.c (_initialize_windows_nat): Deprecate the
7692 "dll-symbols" command. Turn the "add-shared-symbol-files"
7693 and "assf" aliases into commands, and deprecate them as well.
7694 * NEWS: Add entry explaining that "dll-symbols" and its two
7695 aliases are now deprecated.
7696
8d4fdb12
JB
76972014-02-20 Joel Brobecker <brobecker@adacore.com>
7698
7699 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7700 new-line in debug string. Remove trailing spaces.
7701
1b281443
SS
77022014-02-19 Stan Shebs <stan@codesourcery.com>
7703
7704 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7705
f7bd0f78
SC
77062014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7707
7708 * NEWS: Add entry for the new feature
7709 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7710 and class values.
7711
399ebc3d
SS
77122014-02-19 Stan Shebs <stan@codesourcery.com>
7713
7714 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7715
c658158d
PA
77162014-02-19 Pedro Alves <palves@redhat.com>
7717
7718 * common/ptid.h (struct ptid): Mention that process_stratum
7719 targets should prefer ptid.lwp.
7720
ba348170
PA
77212014-02-19 Pedro Alves <palves@redhat.com>
7722
7723 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7724 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7725 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7726 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7727 store remote thread ids rather than ptid.tid.
7728 (_initialize_remote): Adjust.
7729
ac01945b
TT
77302014-02-19 Tom Tromey <tromey@redhat.com>
7731
7732 * target.c (target_get_unwinder): Rewrite.
7733 (target_get_tailcall_unwinder): Rewrite.
7734 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7735 (record_btrace_to_get_tailcall_unwinder): New function.
7736 (init_record_btrace_ops): Update.
7737 * target.h (struct target_ops) <to_get_unwinder,
7738 to_get_tailcall_unwinder>: Now function pointers. Use
7739 TARGET_DEFAULT_RETURN.
7740
8476dc92
TT
77412014-02-19 Tom Tromey <tromey@redhat.com>
7742
7743 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7744 argument.
7745 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7746
c0eca49f
TT
77472014-02-19 Tom Tromey <tromey@redhat.com>
7748
7749 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7750 directly.
7751 * target-delegates.c: Rebuild.
7752 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7753 TARGET_DEFAULT_FUNC.
7754 * target.c (default_target_decr_pc_after_break): Rename from
7755 forward_target_decr_pc_after_break. Simplify.
7756 (target_decr_pc_after_break): Rely on delegation.
7757
596b6b39
TT
77582014-02-19 Tom Tromey <tromey@redhat.com>
7759
7760 * target.c (update_current_target): Do not INHERIT to_doc or
7761 to_magic. Do not de_fault to_open or to_close.
7762
b427c1bc
TT
77632014-02-19 Tom Tromey <tromey@redhat.com>
7764
7765 * gcore.h (objfile_find_memory_regions): Declare.
7766 * gcore.c (objfile_find_memory_regions): No longer static. Add
7767 "self" argument.
7768 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7769 * exec.c: Include gcore.h.
7770 (exec_set_find_memory_regions): Remove.
7771 (exec_find_memory_regions): Remove.
7772 (exec_do_find_memory_regions): Remove.
7773 (init_exec_ops): Update.
7774 * defs.h (exec_set_find_memory_regions): Remove.
7775
9b144037
TT
77762014-02-19 Tom Tromey <tromey@redhat.com>
7777
7778 * target-delegates.c: Rebuild.
7779 * target.h (struct target_ops) <to_extra_thread_info,
7780 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7781 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7782 not 0, in TARGET_DEFAULT_RETURN.
7783
555bbdeb
TT
77842014-02-19 Tom Tromey <tromey@redhat.com>
7785
7786 * target.c (complete_target_initialization): Remove casts. Use
7787 return_zero_has_execution.
7788 (return_zero): Add "ignore" argument.
7789 (return_zero_has_execution): New function.
7790 (init_dummy_target): Remove casts. Use
7791 return_zero_has_execution.
7792
be4ddd36
TT
77932014-02-19 Tom Tromey <tromey@redhat.com>
7794
7795 * target.c (update_current_target): Update comments. Do not
7796 INHERIT to_stratum.
7797
2117c711
TT
77982014-02-19 Tom Tromey <tromey@redhat.com>
7799
7800 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7801 needed.
7802 * corelow.c (core_read_description): Delegate when needed.
7803 * remote.c (remote_read_description): Delegate when needed.
7804 * target-delegates.c: Rebuild.
7805 * target.c (target_read_description): Rewrite.
7806 * target.h (struct target_ops) <to_read_description>: Update
7807 comment. Use TARGET_DEFAULT_RETURN.
7808
e88ef65c
TT
78092014-02-19 Tom Tromey <tromey@redhat.com>
7810
7811 * target-delegates.c: Rebuild.
7812 * target.c (update_current_target): Don't inherit or default
7813 to_can_run.
7814 (find_default_run_target): Check against delegate_can_run.
7815 * target.h (struct target_ops) <to_can_run>: Use
7816 TARGET_DEFAULT_RETURN.
7817
86a0854a
TT
78182014-02-19 Tom Tromey <tromey@redhat.com>
7819
7820 * target-delegates.c: Rebuild.
7821 * target.c (target_disconnect): Unconditionally delegate.
7822 * target.h (struct target_ops) <to_disconnect>: Use
7823 TARGET_DEFAULT_NORETURN.
7824
ee97f592
TT
78252014-02-19 Tom Tromey <tromey@redhat.com>
7826
7827 * record.c (record_stop): Unconditionally delegate.
7828 * target-delegates.c: Rebuild.
7829 * target.c (target_stop_recording): Unconditionally delegate.
7830 * target.h (struct target_ops) <to_stop_recording>: Use
7831 TARGET_DEFAULT_IGNORE.
7832
6dc7fcf4
TT
78332014-02-19 Tom Tromey <tromey@redhat.com>
7834
7835 * target-delegates.c: Rebuild.
7836 * target.c (target_enable_btrace): Unconditionally delegate.
7837 * target.h (struct target_ops) <to_enable_btrace>: Use
7838 TARGET_DEFAULT_NORETURN.
7839
eb5b20d4
TT
78402014-02-19 Tom Tromey <tromey@redhat.com>
7841
7842 * target-delegates.c: Rebuild.
7843 * target.c (target_read_btrace): Unconditionally delegate.
7844 * target.h (struct target_ops) <to_read_btrace>: Use
7845 TARGET_DEFAULT_NORETURN.
7846
9ace480d
TT
78472014-02-19 Tom Tromey <tromey@redhat.com>
7848
7849 * target-delegates.c: Rebuild.
7850 * target.c (target_teardown_btrace): Unconditionally delegate.
7851 * target.h (struct target_ops) <to_teardown_btrace>: Use
7852 TARGET_DEFAULT_NORETURN.
7853
8dc292d3
TT
78542014-02-19 Tom Tromey <tromey@redhat.com>
7855
7856 * target-delegates.c: Rebuild.
7857 * target.c (target_disable_btrace): Unconditionally delegate.
7858 * target.h (struct target_ops) <to_disable_btrace>: Use
7859 TARGET_DEFAULT_NORETURN.
7860
58a5184e
TT
78612014-02-19 Tom Tromey <tromey@redhat.com>
7862
7863 * target-delegates.c: Rebuild.
7864 * target.c (default_search_memory): New function.
7865 (simple_search_memory): Update comment.
7866 (target_search_memory): Unconditionally delegate.
7867 * target.h (struct target_ops) <to_search_memory>: Use
7868 TARGET_DEFAULT_FUNC.
7869
8de71aab
TT
78702014-02-19 Tom Tromey <tromey@redhat.com>
7871
7872 * auxv.c (default_auxv_parse): No longer static.
7873 (target_auxv_parse): Unconditionally delegate.
7874 * auxv.h (default_auxv_parse): Declare.
7875 * target-delegates.c: Rebuild.
7876 * target.c: Include auxv.h.
7877 * target.h (struct target_ops) <to_auxv_parse>: Use
7878 TARGET_DEFAULT_FUNC.
7879
6b2c5a57
TT
78802014-02-19 Tom Tromey <tromey@redhat.com>
7881
7882 * target-delegates.c: Rebuild.
7883 * target.c (target_memory_map): Unconditionally delegate.
7884 * target.h (struct target_ops) <to_memory_map>: Use
7885 TARGET_DEFAULT_RETURN.
7886
cbffc065
TT
78872014-02-19 Tom Tromey <tromey@redhat.com>
7888
7889 * target-delegates.c: Rebuild.
7890 * target.c (target_thread_alive): Unconditionally delegate.
7891 * target.h (struct target_ops) <to_thread_alive>: Use
7892 TARGET_DEFAULT_RETURN.
7893
f09e2107
TT
78942014-02-19 Tom Tromey <tromey@redhat.com>
7895
7896 * target-delegates.c: Rebuild.
7897 * target.c (target_save_record): Unconditionally delegate.
7898 * target.h (struct target_ops) <to_save_record>: Use
7899 TARGET_DEFAULT_NORETURN.
7900
07366925
TT
79012014-02-19 Tom Tromey <tromey@redhat.com>
7902
7903 * target-delegates.c: Rebuild.
7904 * target.c (target_delete_record): Unconditionally delegate.
7905 * target.h (struct target_ops) <to_delete_record>: Use
7906 TARGET_DEFAULT_NORETURN.
7907
dd2e9d25
TT
79082014-02-19 Tom Tromey <tromey@redhat.com>
7909
7910 * target-delegates.c: Rebuild.
7911 * target.c (target_record_is_replaying): Unconditionally
7912 delegate.
7913 * target.h (struct target_ops) <to_record_is_replaying>: Use
7914 TARGET_DEFAULT_RETURN.
7915
671e76cc
TT
79162014-02-19 Tom Tromey <tromey@redhat.com>
7917
7918 * target-delegates.c: Rebuild.
7919 * target.c (target_goto_record_begin): Unconditionally delegate.
7920 * target.h (struct target_ops) <to_goto_record_begin>: Use
7921 TARGET_DEFAULT_NORETURN.
7922
e9179bb3
TT
79232014-02-19 Tom Tromey <tromey@redhat.com>
7924
7925 * target-delegates.c: Rebuild.
7926 * target.c (target_goto_record_end): Unconditionally delegate.
7927 * target.h (struct target_ops) <to_goto_record_end>: Use
7928 TARGET_DEFAULT_NORETURN.
7929
05969c84
TT
79302014-02-19 Tom Tromey <tromey@redhat.com>
7931
7932 * target-delegates.c: Rebuild.
7933 * target.c (target_goto_record): Unconditionally delegate.
7934 * target.h (struct target_ops) <to_goto_record>: Use
7935 TARGET_DEFAULT_NORETURN.
7936
3679abfa
TT
79372014-02-19 Tom Tromey <tromey@redhat.com>
7938
7939 * target-delegates.c: Rebuild.
7940 * target.c (target_insn_history): Unconditionally delegate.
7941 * target.h (struct target_ops) <to_insn_history>: Use
7942 TARGET_DEFAULT_NORETURN.
7943
8444ab58
TT
79442014-02-19 Tom Tromey <tromey@redhat.com>
7945
7946 * target-delegates.c: Rebuild.
7947 * target.c (target_insn_history_from): Unconditionally delegate.
7948 * target.h (struct target_ops) <to_insn_history_from>: Use
7949 TARGET_DEFAULT_NORETURN.
7950
c29302cc
TT
79512014-02-19 Tom Tromey <tromey@redhat.com>
7952
7953 * target-delegates.c: Rebuild.
7954 * target.c (target_insn_history_range): Unconditionally delegate.
7955 * target.h (struct target_ops) <to_insn_history_range>: Use
7956 TARGET_DEFAULT_NORETURN.
7957
170049d4
TT
79582014-02-19 Tom Tromey <tromey@redhat.com>
7959
7960 * target-delegates.c: Rebuild.
7961 * target.c (target_call_history): Unconditionally delegate.
7962 * target.h (struct target_ops) <to_call_history>: Use
7963 TARGET_DEFAULT_NORETURN.
7964
16fc27d6
TT
79652014-02-19 Tom Tromey <tromey@redhat.com>
7966
7967 * target-delegates.c: Rebuild.
7968 * target.c (target_call_history_from): Unconditionally delegate.
7969 * target.h (struct target_ops) <to_call_history_from>: Use
7970 TARGET_DEFAULT_NORETURN.
7971
115d9817
TT
79722014-02-19 Tom Tromey <tromey@redhat.com>
7973
7974 * target-delegates.c: Rebuild.
7975 * target.c (target_call_history_range): Unconditionally delegate.
7976 * target.h (struct target_ops) <to_call_history_range>: Use
7977 TARGET_DEFAULT_NORETURN.
7978
eb276a6b
TT
79792014-02-19 Tom Tromey <tromey@redhat.com>
7980
7981 * target-delegates.c: Rebuild.
7982 * target.c (target_verify_memory): Unconditionally delegate.
7983 * target.h (struct target_ops) <to_verify_memory>: Use
7984 TARGET_DEFAULT_NORETURN.
7985
9e538d0d
TT
79862014-02-19 Tom Tromey <tromey@redhat.com>
7987
7988 * target-delegates.c: Rebuild.
7989 * target.c (target_core_of_thread): Unconditionally delegate.
7990 * target.h (struct target_ops) <to_core_of_thread>: Use
7991 TARGET_DEFAULT_RETURN.
7992
f6fb2925
TT
79932014-02-19 Tom Tromey <tromey@redhat.com>
7994
7995 * target-delegates.c: Rebuild.
7996 * target.c (target_flash_done): Unconditionally delegate.
7997 * target.h (struct target_ops) <to_flash_done>: Use
7998 TARGET_DEFAULT_NORETURN.
7999
e8a6c6ac
TT
80002014-02-19 Tom Tromey <tromey@redhat.com>
8001
8002 * target-delegates.c: Rebuild.
8003 * target.c (target_flash_erase): Unconditionally delegate.
8004 * target.h (struct target_ops) <to_flash_erase>: Use
8005 TARGET_DEFAULT_NORETURN.
8006
7e35c012
TT
80072014-02-19 Tom Tromey <tromey@redhat.com>
8008
8009 * target-delegates.c: Rebuild.
8010 * target.c (target_get_section_table): Unconditionally delegate.
8011 * target.h (struct target_ops) <to_get_section_table>: Use
8012 TARGET_DEFAULT_RETURN.
8013
770234d3
TT
80142014-02-19 Tom Tromey <tromey@redhat.com>
8015
8016 * target-delegates.c: Rebuild.
8017 * target.c (target_pid_to_str): Unconditionally delegate.
8018 (init_dummy_target): Don't initialize to_pid_to_str.
8019 (default_pid_to_str): Rename from dummy_pid_to_str.
8020 * target.h (struct target_ops) <to_pid_to_str>: Use
8021 TARGET_DEFAULT_FUNC.
8022
09b0dc2b
TT
80232014-02-19 Tom Tromey <tromey@redhat.com>
8024
8025 * target-delegates.c: Rebuild.
8026 * target.c (target_find_new_threads): Unconditionally delegate.
8027 * target.h (struct target_ops) <to_find_new_threads>: Use
8028 TARGET_DEFAULT_RETURN.
8029
7d4f8efa
TT
80302014-02-19 Tom Tromey <tromey@redhat.com>
8031
8032 * target-delegates.c: Rebuild.
8033 * target.c (target_program_signals): Unconditionally delegate.
8034 * target.h (struct target_ops) <to_program_signals>: Use
8035 TARGET_DEFAULT_IGNORE.
8036
035cad7f
TT
80372014-02-19 Tom Tromey <tromey@redhat.com>
8038
8039 * target-delegates.c: Rebuild.
8040 * target.c (target_pass_signals): Unconditionally delegate.
8041 * target.h (struct target_ops) <to_pass_signals>: Use
8042 TARGET_DEFAULT_IGNORE.
8043
8d657035
TT
80442014-02-19 Tom Tromey <tromey@redhat.com>
8045
8046 * target-delegates.c: Rebuild.
8047 * target.c (default_mourn_inferior): New function.
8048 (target_mourn_inferior): Unconditionally delegate.
8049 * target.h (struct target_ops) <to_mourn_inferior>: Use
8050 TARGET_DEFAULT_FUNC.
8051
098dba18
TT
80522014-02-19 Tom Tromey <tromey@redhat.com>
8053
8054 * target-delegates.c: Rebuild.
8055 * target.c (default_follow_fork): New function.
8056 (target_follow_fork): Unconditionally delegate.
8057 * target.h (struct target_ops) <to_follow_fork>: Use
8058 TARGET_DEFAULT_FUNC.
8059
423a4807
TT
80602014-02-19 Tom Tromey <tromey@redhat.com>
8061
8062 * target-delegates.c: Rebuild.
8063 * target.c (target_kill): Unconditionally delegate.
8064 * target.h (struct target_ops) <to_kill>: Use
8065 TARGET_DEFAULT_NORETURN.
8066
6c7e5e5c
TT
80672014-02-19 Tom Tromey <tromey@redhat.com>
8068
8069 * target-delegates.c: Rebuild.
8070 * target.c (target_masked_watch_num_registers): Unconditionally
8071 delegate.
8072 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8073 Use TARGET_DEFAULT_RETURN.
8074
8b1c364c
TT
80752014-02-19 Tom Tromey <tromey@redhat.com>
8076
8077 * target-delegates.c: Rebuild.
8078 * target.c (target_remove_mask_watchpoint): Unconditionally
8079 delegate.
8080 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8081 TARGET_DEFAULT_RETURN.
8082
cd4ae029
TT
80832014-02-19 Tom Tromey <tromey@redhat.com>
8084
8085 * target-delegates.c: Rebuild.
8086 * target.c (target_insert_mask_watchpoint): Unconditionally
8087 delegate.
8088 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8089 TARGET_DEFAULT_RETURN.
8090
a134316b
TT
80912014-02-19 Tom Tromey <tromey@redhat.com>
8092
8093 * target-delegates.c: Rebuild.
8094 * target.c (target_ranged_break_num_registers): Unconditionally
8095 delegate.
8096 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8097 Use TARGET_DEFAULT_RETURN.
8098
ad5989bd
TT
80992014-02-19 Tom Tromey <tromey@redhat.com>
8100
8101 * target-delegates.c: Rebuild.
8102 * target.c (target_fetch_registers): Unconditionally delegate.
8103 * target.h (struct target_ops) <to_fetch_registers>: Use
8104 TARGET_DEFAULT_NORETURN.
8105
46ee7e8d
TT
81062014-02-19 Tom Tromey <tromey@redhat.com>
8107
8108 * target-delegates.c: Rebuild.
8109 * target.c (update_current_target): Don't inherit or default
8110 to_stop.
8111 * target.h (struct target_ops) <to_stop>: Use
8112 TARGET_DEFAULT_IGNORE.
8113
843f59ed
TT
81142014-02-19 Tom Tromey <tromey@redhat.com>
8115
8116 * target-delegates.c: Rebuild.
8117 * target.c (update_current_target): Don't inherit or default
8118 to_can_run_breakpoint_commands.
8119 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8120 Use TARGET_DEFAULT_RETURN.
8121
ccfde2a0
TT
81222014-02-19 Tom Tromey <tromey@redhat.com>
8123
8124 * target-delegates.c: Rebuild.
8125 * target.c (update_current_target): Don't inherit or default
8126 to_supports_evaluation_of_breakpoint_conditions.
8127 * target.h (struct target_ops)
8128 <to_supports_evaluation_of_breakpoint_conditions>: Use
8129 TARGET_DEFAULT_RETURN.
8130
0de91722
TT
81312014-02-19 Tom Tromey <tromey@redhat.com>
8132
8133 * target-delegates.c: Rebuild.
8134 * target.c (update_current_target): Don't inherit or default
8135 to_augmented_libraries_svr4_read.
8136 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8137 Use TARGET_DEFAULT_RETURN.
8138
9a7d8b48
TT
81392014-02-19 Tom Tromey <tromey@redhat.com>
8140
8141 * target-delegates.c: Rebuild.
8142 * target.c (update_current_target): Don't inherit or default
8143 to_can_use_agent.
8144 * target.h (struct target_ops) <to_can_use_agent>: Use
8145 TARGET_DEFAULT_RETURN.
8146
d9db5b21
TT
81472014-02-19 Tom Tromey <tromey@redhat.com>
8148
8149 * target-delegates.c: Rebuild.
8150 * target.c (update_current_target): Don't inherit or default
8151 to_use_agent.
8152 * target.h (struct target_ops) <to_use_agent>: Use
8153 TARGET_DEFAULT_NORETURN.
8154
92155eeb
TT
81552014-02-19 Tom Tromey <tromey@redhat.com>
8156
8157 * target-delegates.c: Rebuild.
8158 * target.c (update_current_target): Don't inherit or default
8159 to_traceframe_info.
8160 (return_null): Remove.
8161 * target.h (struct target_ops) <to_traceframe_info>: Use
8162 TARGET_DEFAULT_RETURN.
8163
d6522a22
TT
81642014-02-19 Tom Tromey <tromey@redhat.com>
8165
8166 * target-delegates.c: Rebuild.
8167 * target.c (update_current_target): Don't inherit or default
8168 to_static_tracepoint_markers_by_strid.
8169 * target.h (struct target_ops)
8170 <to_static_tracepoint_markers_by_strid>: Use
8171 TARGET_DEFAULT_NORETURN.
8172
4c3e4425
TT
81732014-02-19 Tom Tromey <tromey@redhat.com>
8174
8175 * target-delegates.c: Rebuild.
8176 * target.c (update_current_target): Don't inherit or default
8177 to_static_tracepoint_marker_at.
8178 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8179 Use TARGET_DEFAULT_RETURN.
8180
dcd6917f
TT
81812014-02-19 Tom Tromey <tromey@redhat.com>
8182
8183 * target-delegates.c: Rebuild.
8184 * target.c (update_current_target): Don't inherit or default
8185 to_set_permissions.
8186 * target.h (struct target_ops) <to_set_permissions>: Use
8187 TARGET_DEFAULT_IGNORE.
8188
22bcceee
TT
81892014-02-19 Tom Tromey <tromey@redhat.com>
8190
8191 * target-delegates.c: Rebuild.
8192 * target.c (update_current_target): Don't inherit or default
8193 to_get_tib_address.
8194 * target.h (struct target_ops) <to_get_tib_address>: Use
8195 TARGET_DEFAULT_NORETURN.
8196
8586ccaa
TT
81972014-02-19 Tom Tromey <tromey@redhat.com>
8198
8199 * target-delegates.c: Rebuild.
8200 * target.c (update_current_target): Don't inherit or default
8201 to_set_trace_notes.
8202 * target.h (struct target_ops) <to_set_trace_notes>: Use
8203 TARGET_DEFAULT_RETURN.
8204
91df8d1d
TT
82052014-02-19 Tom Tromey <tromey@redhat.com>
8206
8207 * target-delegates.c: Rebuild.
8208 * target.c (update_current_target): Don't initialize
8209 to_set_trace_buffer_size.
8210 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8211 TARGET_DEFAULT_IGNORE.
8212
8d526939
TT
82132014-02-19 Tom Tromey <tromey@redhat.com>
8214
8215 * target-delegates.c: Rebuild.
8216 * target.c (update_current_target): Don't inherit or default
8217 to_set_circular_trace_buffer.
8218 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8219 TARGET_DEFAULT_IGNORE.
8220
0bcfeddf
TT
82212014-02-19 Tom Tromey <tromey@redhat.com>
8222
8223 * target-delegates.c: Rebuild.
8224 * target.c (update_current_target): Don't inherit or default
8225 to_set_disconnected_tracing.
8226 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8227 TARGET_DEFAULT_IGNORE.
8228
9249843f
TT
82292014-02-19 Tom Tromey <tromey@redhat.com>
8230
8231 * target-delegates.c: Rebuild.
8232 * target.c (update_current_target): Don't inherit or default
8233 to_get_min_fast_tracepoint_insn_len.
8234 (return_minus_one): Remove.
8235 * target.h (struct target_ops)
8236 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8237
ace92e7d
TT
82382014-02-19 Tom Tromey <tromey@redhat.com>
8239
8240 * target-delegates.c: Rebuild.
8241 * target.c (update_current_target): Don't inherit or default
8242 to_get_raw_trace_data.
8243 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8244 TARGET_DEFAULT_NORETURN.
8245
08120467
TT
82462014-02-19 Tom Tromey <tromey@redhat.com>
8247
8248 * target-delegates.c: Rebuild.
8249 * target.c (update_current_target): Don't inherit or default
8250 to_upload_trace_state_variables.
8251 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8252 Use TARGET_DEFAULT_RETURN.
8253
1e949b00
TT
82542014-02-19 Tom Tromey <tromey@redhat.com>
8255
8256 * target-delegates.c: Rebuild.
8257 * target.c (update_current_target): Don't inherit or default
8258 to_upload_tracepoints.
8259 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8260 TARGET_DEFAULT_RETURN.
8261
a2e6c147
TT
82622014-02-19 Tom Tromey <tromey@redhat.com>
8263
8264 * target-delegates.c: Rebuild.
8265 * target.c (update_current_target): Don't inherit or default
8266 to_save_trace_data.
8267 * target.h (struct target_ops) <to_save_trace_data>: Use
8268 TARGET_DEFAULT_NORETURN.
8269
959bcd0b
TT
82702014-02-19 Tom Tromey <tromey@redhat.com>
8271
8272 * target-delegates.c: Rebuild.
8273 * target.c (update_current_target): Don't inherit or default
8274 to_get_trace_state_variable_value.
8275 * target.h (struct target_ops)
8276 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8277
afc94e66
TT
82782014-02-19 Tom Tromey <tromey@redhat.com>
8279
8280 * target-delegates.c: Rebuild.
8281 * target.c (update_current_target): Don't inherit or default
8282 to_trace_find.
8283 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8284
e51c07ea
TT
82852014-02-19 Tom Tromey <tromey@redhat.com>
8286
8287 * target-delegates.c: Rebuild.
8288 * target.c (update_current_target): Don't inherit or default
8289 to_trace_stop.
8290 * target.h (struct target_ops) <to_trace_stop>: Use
8291 TARGET_DEFAULT_NORETURN.
8292
6fea14cd
TT
82932014-02-19 Tom Tromey <tromey@redhat.com>
8294
8295 * target-delegates.c: Rebuild.
8296 * target.c (update_current_target): Don't inherit or default
8297 to_get_tracepoint_status.
8298 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8299 TARGET_DEFAULT_NORETURN.
8300
4072d4ff
TT
83012014-02-19 Tom Tromey <tromey@redhat.com>
8302
8303 * target-delegates.c: Rebuild.
8304 * target.c (update_current_target): Don't inherit or default
8305 to_get_trace_status.
8306 * target.h (struct target_ops) <to_get_trace_status>: Use
8307 TARGET_DEFAULT_RETURN.
8308
25da2e80
TT
83092014-02-19 Tom Tromey <tromey@redhat.com>
8310
8311 * target-delegates.c: Rebuild.
8312 * target.c (update_current_target): Don't inherit or default
8313 to_trace_start.
8314 * target.h (struct target_ops) <to_trace_start>: Use
8315 TARGET_DEFAULT_NORETURN.
8316
86dd181d
TT
83172014-02-19 Tom Tromey <tromey@redhat.com>
8318
8319 * target-delegates.c: Rebuild.
8320 * target.c (update_current_target): Don't inherit or default
8321 to_trace_set_readonly_regions.
8322 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8323 Use TARGET_DEFAULT_NORETURN.
8324
05c41993
TT
83252014-02-19 Tom Tromey <tromey@redhat.com>
8326
8327 * target-delegates.c: Rebuild.
8328 * target.c (update_current_target): Don't inherit or default
8329 to_disable_tracepoint.
8330 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8331 TARGET_DEFAULT_NORETURN.
8332
151f70f1
TT
83332014-02-19 Tom Tromey <tromey@redhat.com>
8334
8335 * target-delegates.c: Rebuild.
8336 * target.c (update_current_target): Don't inherit or default
8337 to_enable_tracepoint.
8338 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8339 TARGET_DEFAULT_NORETURN.
8340
94eb98b9
TT
83412014-02-19 Tom Tromey <tromey@redhat.com>
8342
8343 * target-delegates.c: Rebuild.
8344 * target.c (update_current_target): Don't inherit or default
8345 to_download_trace_state_variable.
8346 * target.h (struct target_ops) <to_download_trace_state_variable>:
8347 Use TARGET_DEFAULT_NORETURN.
8348
719acc4a
TT
83492014-02-19 Tom Tromey <tromey@redhat.com>
8350
8351 * target-delegates.c: Rebuild.
8352 * target.c (update_current_target): Don't inherit or default
8353 to_can_download_tracepoint.
8354 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8355 TARGET_DEFAULT_RETURN.
8356
9a980a22
TT
83572014-02-19 Tom Tromey <tromey@redhat.com>
8358
8359 * target-delegates.c: Rebuild.
8360 * target.c (update_current_target): Don't inherit or default
8361 to_download_tracepoint.
8362 * target.h (struct target_ops) <to_download_tracepoint>: Use
8363 TARGET_DEFAULT_NORETURN.
8364
5536135b
TT
83652014-02-19 Tom Tromey <tromey@redhat.com>
8366
8367 * target-delegates.c: Rebuild.
8368 * target.c (update_current_target): Don't inherit or default
8369 to_trace_init.
8370 * target.h (struct target_ops) <to_trace_init>: Use
8371 TARGET_DEFAULT_RETURN.
8372
9409d39e
TT
83732014-02-19 Tom Tromey <tromey@redhat.com>
8374
8375 * target-delegates.c: Rebuild.
8376 * target.c (update_current_target): Don't inherit or default
8377 to_supports_string_tracing.
8378 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8379 TARGET_DEFAULT_RETURN.
8380
aab1b22d
TT
83812014-02-19 Tom Tromey <tromey@redhat.com>
8382
8383 * target-delegates.c: Rebuild.
8384 * target.c (update_current_target): Don't inherit or default
8385 to_supports_enable_disable_tracepoint.
8386 * target.h (struct target_ops)
8387 <to_supports_enable_disable_tracepoint>: Use
8388 TARGET_DEFAULT_RETURN.
8389
a7304748
TT
83902014-02-19 Tom Tromey <tromey@redhat.com>
8391
8392 * target-delegates.c: Rebuild.
8393 * target.c (update_current_target): Don't inherit or default
8394 to_supports_multi_process.
8395 * target.h (struct target_ops) <to_supports_multi_process>: Use
8396 TARGET_DEFAULT_RETURN.
8397
4229b31d
TT
83982014-02-19 Tom Tromey <tromey@redhat.com>
8399
8400 * target-delegates.c: Rebuild.
8401 * target.c (update_current_target): Don't inherit or default
8402 to_get_ada_task_ptid.
8403 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8404 TARGET_DEFAULT_FUNC.
8405
43eba180
TT
84062014-02-19 Tom Tromey <tromey@redhat.com>
8407
8408 * target-delegates.c: Rebuild.
8409 * target.c (update_current_target): Don't inherit or default
8410 to_thread_architecture.
8411 * target.h (struct target_ops) <to_thread_architecture>: Use
8412 TARGET_DEFAULT_FUNC.
8413
fe31bf5b
TT
84142014-02-19 Tom Tromey <tromey@redhat.com>
8415
8416 * target-delegates.c: Rebuild.
8417 * target.c (update_current_target): Don't inherit or default
8418 to_execution_direction.
8419 * target.h (struct target_ops) <to_execution_direction>: Use
8420 TARGET_DEFAULT_FUNC.
8421
53e1cfc7
TT
84222014-02-19 Tom Tromey <tromey@redhat.com>
8423
8424 * target-delegates.c: Rebuild.
8425 * target.c (update_current_target): Don't inherit or default
8426 to_can_execute_reverse.
8427 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8428 TARGET_DEFAULT_RETURN.
8429 (target_can_execute_reverse): Unconditionally delegate.
8430
9bb9d61d
TT
84312014-02-19 Tom Tromey <tromey@redhat.com>
8432
8433 * target-delegates.c: Rebuild.
8434 * target.c (update_current_target): Don't inherit or default
8435 to_goto_bookmark.
8436 (dummy_goto_bookmark): Remove.
8437 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8438 * target.h (struct target_ops) <to_goto_bookmark>: Use
8439 TARGET_DEFAULT_NORETURN.
8440
3dbafbbb
TT
84412014-02-19 Tom Tromey <tromey@redhat.com>
8442
8443 * target-delegates.c: Rebuild.
8444 * target.c (update_current_target): Don't inherit or default
8445 to_get_bookmark.
8446 (dummy_get_bookmark): Remove.
8447 (init_dummy_target): Don't inherit or default to_get_bookmark.
8448 * target.h (struct target_ops) <to_get_bookmark>: Use
8449 TARGET_DEFAULT_NORETURN
8450
16f796b1
TT
84512014-02-19 Tom Tromey <tromey@redhat.com>
8452
8453 * target-delegates.c: Rebuild.
8454 * target.c (update_current_target): Don't inherit or default
8455 to_make_corefile_notes.
8456 (init_dummy_target): Don't initialize to_make_corefile_notes.
8457 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8458 TARGET_DEFAULT_FUNC.
8459
0b5a2719
TT
84602014-02-19 Tom Tromey <tromey@redhat.com>
8461
8462 * target-delegates.c: Rebuild.
8463 * target.c (update_current_target): Don't inherit or default
8464 to_find_memory_regions.
8465 (init_dummy_target): Don't initialize to_find_memory_regions.
8466 * target.h (struct target_ops) <to_find_memory_regions>: Use
8467 TARGET_DEFAULT_FUNC.
8468
d9cb0195
TT
84692014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (update_current_target): Don't inherit or default
8473 to_log_command.
8474 * target.h (struct target_ops) <to_log_command>: Use
8475 TARGET_DEFAULT_IGNORE.
8476 (target_log_command): Unconditionally delegate.
8477
830ca330
TT
84782014-02-19 Tom Tromey <tromey@redhat.com>
8479
8480 * target-delegates.c: Rebuild.
8481 * target.c (update_current_target): Don't inherit or default
8482 to_pid_to_exec_file.
8483 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8484 TARGET_DEFAULT_RETURN.
8485
825828fc
TT
84862014-02-19 Tom Tromey <tromey@redhat.com>
8487
8488 * target-delegates.c: Rebuild.
8489 * target.c (update_current_target): Don't inherit or default
8490 to_thread_name.
8491 (target_thread_name): Unconditionally delegate.
8492 * target.h (struct target_ops) <to_thread_name>: Use
8493 TARGET_DEFAULT_RETURN.
8494
4a7e6dda
TT
84952014-02-19 Tom Tromey <tromey@redhat.com>
8496
8497 * target-delegates.c: Rebuild.
8498 * target.c (update_current_target): Don't inherit or default
8499 to_extra_thread_info.
8500 * target.h (struct target_ops) <to_extra_thread_info>: Use
8501 TARGET_DEFAULT_RETURN.
8502
0db88c1d
TT
85032014-02-19 Tom Tromey <tromey@redhat.com>
8504
8505 * target-delegates.c: Rebuild.
8506 * target.c (update_current_target): Don't inherit or default
8507 to_has_exited.
8508 * target.h (struct target_ops) <to_has_exited>: Use
8509 TARGET_DEFAULT_RETURN..
8510
6a9fa051
TT
85112014-02-19 Tom Tromey <tromey@redhat.com>
8512
8513 * target-delegates.c: Rebuild.
8514 * target.c (update_current_target): Don't inherit or default
8515 to_set_syscall_catchpoint.
8516 (return_one): Remove.
8517 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8518 TARGET_DEFAULT_RETURN.
8519
62f64d7a
TT
85202014-02-19 Tom Tromey <tromey@redhat.com>
8521
8522 * target-delegates.c: Rebuild.
8523 * target.c (update_current_target): Don't inherit or default
8524 to_insert_exec_catchpoint.
8525 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8526 TARGET_DEFAULT_RETURN.
8527
cda0f38c
TT
85282014-01-08 Tom Tromey <tromey@redhat.com>
8529
8530 * target-delegates.c: Rebuild.
8531 * target.c (update_current_target): Don't inherit or default
8532 to_insert_exec_catchpoint.
8533 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8534 TARGET_DEFAULT_RETURN.
8535
95c3375e
TT
85362014-02-19 Tom Tromey <tromey@redhat.com>
8537
8538 * target-delegates.c: Rebuild.
8539 * target.c (update_current_target): Don't inherit or default
8540 to_remove_vfork_catchpoint.
8541 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8542 TARGET_DEFAULT_RETURN.
8543
7e18a8dc
TT
85442014-02-19 Tom Tromey <tromey@redhat.com>
8545
8546 * target-delegates.c: Rebuild.
8547 * target.c (update_current_target): Don't inherit or default
8548 to_insert_vfork_catchpoint.
8549 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8550 TARGET_DEFAULT_RETURN.
8551
e1a21fb7
TT
85522014-02-19 Tom Tromey <tromey@redhat.com>
8553
8554 * target-delegates.c: Rebuild.
8555 * target.c (update_current_target): Don't inherit or default
8556 to_remove_fork_catchpoint.
8557 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8558 TARGET_DEFAULT_RETURN.
8559
5958ebeb
TT
85602014-02-19 Tom Tromey <tromey@redhat.com>
8561
8562 * target-delegates.c: Rebuild.
8563 * target.c (update_current_target): Don't inherit or default
8564 to_insert_fork_catchpoint.
8565 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8566 TARGET_DEFAULT_RETURN.
8567
340ba4bf
TT
85682014-02-19 Tom Tromey <tromey@redhat.com>
8569
8570 * target-delegates.c: Rebuild.
8571 * target.c (update_current_target): Don't inherit or default
8572 to_post_startup_inferior.
8573 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8574 TARGET_DEFAULT_IGNORE.
8575
7634da87
TT
85762014-02-19 Tom Tromey <tromey@redhat.com>
8577
8578 * target-delegates.c: Rebuild.
8579 * target.c (update_current_target): Don't inherit or default
8580 to_load.
8581 * target.h (struct target_ops) <to_load>: Use
8582 TARGET_DEFAULT_NORETURN.
8583
e19e919f
TT
85842014-02-19 Tom Tromey <tromey@redhat.com>
8585
8586 * target-delegates.c: Rebuild.
8587 * target.c (update_current_target): Don't inherit or default
8588 to_terminal_info.
8589 * target.h (struct target_ops) <to_terminal_info>: Use
8590 TARGET_DEFAULT_FUNC.
8591
c6ea8f79
TT
85922014-02-19 Tom Tromey <tromey@redhat.com>
8593
8594 * target-delegates.c: Rebuild.
8595 * target.c (update_current_target): Don't inherit or default
8596 to_terminal_save_ours.
8597 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8598 TARGET_DEFAULT_IGNORE.
8599
e4a733f1
TT
86002014-02-19 Tom Tromey <tromey@redhat.com>
8601
8602 * target-delegates.c: Rebuild.
8603 * target.c (update_current_target): Don't inherit or default
8604 to_terminal_ours.
8605 * target.h (struct target_ops) <to_terminal_ours>: Use
8606 TARGET_DEFAULT_IGNORE.
8607
74fcbef9
TT
86082014-02-19 Tom Tromey <tromey@redhat.com>
8609
8610 * target-delegates.c: Rebuild.
8611 * target.c (update_current_target): Don't inherit or default
8612 to_terminal_ours_for_output.
8613 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8614 TARGET_DEFAULT_IGNORE.
8615
ddeaacc9
TT
86162014-02-19 Tom Tromey <tromey@redhat.com>
8617
8618 * target-delegates.c: Rebuild.
8619 * target.c (update_current_target): Don't inherit or default
8620 to_terminal_inferior.
8621 * target.h (struct target_ops) <to_terminal_inferior>: Use
8622 TARGET_DEFAULT_IGNORE.
8623
0343661d
TT
86242014-02-19 Tom Tromey <tromey@redhat.com>
8625
8626 * target-delegates.c: Rebuild.
8627 * target.c (update_current_target): Don't inherit or default
8628 to_terminal_init.
8629 * target.h (struct target_ops) <to_terminal_init>: Use
8630 TARGET_DEFAULT_IGNORE.
8631
77cdffe9
TT
86322014-02-19 Tom Tromey <tromey@redhat.com>
8633
8634 * target-delegates.c: Rebuild.
8635 * target.c (update_current_target): Don't inherit or default
8636 to_can_accel_watchpoint_condition.
8637 * target.h (struct target_ops)
8638 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8639
d03655e4
TT
86402014-02-19 Tom Tromey <tromey@redhat.com>
8641
8642 * target-delegates.c: Rebuild.
8643 * target.c (update_current_target): Don't inherit or default
8644 to_region_ok_for_hw_watchpoint.
8645 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8646 Use TARGET_DEFAULT_FUNC.
8647
65f160a9
TT
86482014-02-19 Tom Tromey <tromey@redhat.com>
8649
8650 * target-delegates.c: Rebuild.
8651 * target.c (update_current_target): Don't inherit or default
8652 to_watchpoint_addr_within_range.
8653 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8654 Use TARGET_DEFAULT_FUNC.
8655
61dd109f
TT
86562014-02-19 Tom Tromey <tromey@redhat.com>
8657
8658 * target-delegates.c: Rebuild.
8659 * target.c (update_current_target): Don't inherit or default
8660 to_remove_watchpoint.
8661 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8662 TARGET_DEFAULT_NORETURN.
8663
016facd4
TT
86642014-02-19 Tom Tromey <tromey@redhat.com>
8665
8666 * target-delegates.c: Rebuild.
8667 * target.c (update_current_target): Don't inherit or default
8668 to_insert_watchpoint.
8669 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8670 TARGET_DEFAULT_RETURN.
8671
418dabac
TT
86722014-02-19 Tom Tromey <tromey@redhat.com>
8673
8674 * target-delegates.c: Rebuild.
8675 * target.c (update_current_target): Don't inherit or default
8676 to_remove_hw_breakpoint.
8677 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8678 TARGET_DEFAULT_RETURN.
8679
61b371f9
TT
86802014-02-19 Tom Tromey <tromey@redhat.com>
8681
8682 * target-delegates.c: Rebuild.
8683 * target.c (update_current_target): Don't inherit or default
8684 to_insert_hw_breakpoint.
8685 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8686 TARGET_DEFAULT_RETURN.
8687
52b51d06
TT
86882014-02-19 Tom Tromey <tromey@redhat.com>
8689
8690 * target-delegates.c: Rebuild.
8691 * target.c (update_current_target): Don't inherit or default
8692 to_can_use_hw_breakpoint.
8693 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8694 TARGET_DEFAULT_RETURN.
8695
f86e59b2
TT
86962014-02-19 Tom Tromey <tromey@redhat.com>
8697
8698 * target-delegates.c: Rebuild.
8699 * target.c (update_current_target): Don't inherit or default
8700 to_files_info.
8701 * target.h (struct target_ops) <to_files_info>: Use
8702 TARGET_DEFAULT_IGNORE.
8703
6c628163
TT
87042014-02-19 Tom Tromey <tromey@redhat.com>
8705
8706 * target-delegates.c: Rebuild.
8707 * target.c (update_current_target): Don't inherit or default
8708 to_store.
8709 * target.h (struct target_ops) <to_store>: Use
8710 TARGET_DEFAULT_NORETURN.
8711
bebd3233
TT
87122014-02-19 Tom Tromey <tromey@redhat.com>
8713
8714 * target-delegates.c: Rebuild.
8715 * target.c (update_current_target): Don't inherit or default
8716 to_post_attach.
8717 * target.h (struct target_ops) <to_post_attach>: Use
8718 TARGET_DEFAULT_IGNORE.
8719
a53f3625
TT
87202014-02-19 Tom Tromey <tromey@redhat.com>
8721
8722 * target-delegates.c: Rebuild.
8723 * target.c (update_current_target): Don't inherit or default
8724 to_rcmd.
8725 (default_rcmd): New function.
8726 (do_monitor_command): Unconditionally delegate.
8727 * target.h (struct target_ops) <to_rmcd>: Use
8728 TARGET_DEFAULT_FUNC.
8729
e9a29200
TT
87302014-02-19 Tom Tromey <tromey@redhat.com>
8731
8732 * target-delegates.c: Rebuild.
8733 * target.c (init_dummy_target): Don't initialize to_attach.
8734 (target_attach): Unconditionally delegate.
8735 * target.h (struct target_ops) <to_attach>: Use
8736 TARGET_DEFAULT_FUNC.
8737
09da0d0a
TT
87382014-02-19 Tom Tromey <tromey@redhat.com>
8739
8740 * target-delegates.c: Rebuild.
8741 * target.c (target_detach): Unconditionally delegate.
8742 (init_dummy_target): Don't initialize to_detach.
8743 * target.h (struct target_ops) <to_detach>: Use
8744 TARGET_DEFAULT_IGNORE.
8745
5436ff03
TT
87462014-02-19 Tom Tromey <tromey@redhat.com>
8747
8748 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8749 Add argument.
8750 (target_augmented_libraries_svr4_read): Add argument.
8751 * target.c (update_current_target): Update.
8752 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8753 argument.
8754
f0d960ea
TT
87552014-02-19 Tom Tromey <tromey@redhat.com>
8756
8757 * target.h (struct target_ops) <to_call_history_range>: Add
8758 argument.
8759 * target.c (target_call_history_range): Add argument.
8760 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8761 argument.
8762 (record_btrace_call_history_from): Update.
8763
ec0aea04
TT
87642014-02-19 Tom Tromey <tromey@redhat.com>
8765
8766 * target.h (struct target_ops) <to_call_history_from>: Add
8767 argument.
8768 * target.c (target_call_history_from): Add argument.
8769 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8770 argument.
8771
5df2fcba
TT
87722014-02-19 Tom Tromey <tromey@redhat.com>
8773
8774 * target.h (struct target_ops) <to_call_history>: Add argument.
8775 * target.c (target_call_history): Add argument.
8776 * record-btrace.c (record_btrace_call_history): Add 'self'
8777 argument.
8778
4e99c6b7
TT
87792014-02-19 Tom Tromey <tromey@redhat.com>
8780
8781 * target.h (struct target_ops) <to_insn_history_range>: Add
8782 argument.
8783 * target.c (target_insn_history_range): Add argument.
8784 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8785 argument.
8786 (record_btrace_insn_history_from): Update.
8787
9abc3ff3
TT
87882014-02-19 Tom Tromey <tromey@redhat.com>
8789
8790 * target.h (struct target_ops) <to_insn_history_from>: Add
8791 argument.
8792 * target.c (target_insn_history_from): Add argument.
8793 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8794 argument.
8795
7a6c5609
TT
87962014-02-19 Tom Tromey <tromey@redhat.com>
8797
8798 * target.h (struct target_ops) <to_insn_history>: Add argument.
8799 * target.c (target_insn_history): Add argument.
8800 * record-btrace.c (record_btrace_insn_history): Add 'self'
8801 argument.
8802
606183ac
TT
88032014-02-19 Tom Tromey <tromey@redhat.com>
8804
8805 * target.h (struct target_ops) <to_goto_record>: Add argument.
8806 * target.c (target_goto_record): Add argument.
8807 * record-full.c (record_full_goto): Add 'self' argument.
8808 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8809
307a1b91
TT
88102014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8813 * target.c (target_goto_record_end): Add argument.
8814 * record-full.c (record_full_goto_end): Add 'self' argument.
8815 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8816
08475817
TT
88172014-02-19 Tom Tromey <tromey@redhat.com>
8818
8819 * target.h (struct target_ops) <to_goto_record_begin>: Add
8820 argument.
8821 * target.c (target_goto_record_begin): Add argument.
8822 * record-full.c (record_full_goto_begin): Add 'self' argument.
8823 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8824 argument.
8825
1c63c994
TT
88262014-02-19 Tom Tromey <tromey@redhat.com>
8827
8828 * target.h (struct target_ops) <to_record_is_replaying>: Add
8829 argument.
8830 * target.c (target_record_is_replaying): Add argument.
8831 * record-full.c (record_full_is_replaying): Add 'self' argument.
8832 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8833 argument.
8834 (record_btrace_xfer_partial, record_btrace_store_registers)
8835 (record_btrace_prepare_to_store, record_btrace_resume)
8836 (record_btrace_wait, record_btrace_decr_pc_after_break)
8837 (record_btrace_find_new_threads, record_btrace_thread_alive):
8838 Update.
8839
d1b55219
TT
88402014-02-19 Tom Tromey <tromey@redhat.com>
8841
8842 * target.h (struct target_ops) <to_delete_record>: Add argument.
8843 * target.c (target_delete_record): Add argument.
8844 * record-full.c (record_full_delete): Add 'self' argument.
8845
1390f529
TT
88462014-02-19 Tom Tromey <tromey@redhat.com>
8847
8848 * target.h (struct target_ops) <to_save_record>: Add argument.
8849 * target.c (target_save_record): Add argument.
8850 * record-full.c (record_full_save): Add 'self' argument.
8851 (record_full_save): Add 'self' argument.
8852
630d6a4a
TT
88532014-02-19 Tom Tromey <tromey@redhat.com>
8854
8855 * target.h (struct target_ops) <to_info_record>: Add argument.
8856 * target.c (target_info_record): Add argument.
8857 * record.c (info_record_command): Add argument.
8858 * record-full.c (record_full_info): Add 'self' argument.
8859 * record-btrace.c (record_btrace_info): Add 'self' argument.
8860
c6cd7c02
TT
88612014-02-19 Tom Tromey <tromey@redhat.com>
8862
8863 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8864 * target.c (target_stop_recording): Add argument.
8865 * record.c (record_stop): Add argument.
8866 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8867 argument.
8868
39c49f83
TT
88692014-02-19 Tom Tromey <tromey@redhat.com>
8870
8871 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8872 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8873 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8874 argument.
8875 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8876 (_initialize_amd64_linux_nat): Use it.
8877 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8878 (_initialize_i386_linux_nat): Use it.
8879
1777056d
TT
88802014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8883 * target.c (target_teardown_btrace): Add argument.
8884 * remote.c (remote_teardown_btrace): Add 'self' argument.
8885 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8886 argument.
8887 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8888 argument.
8889
25e95349
TT
88902014-02-19 Tom Tromey <tromey@redhat.com>
8891
8892 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8893 * target.c (target_disable_btrace): Add argument.
8894 * remote.c (remote_disable_btrace): Add 'self' argument.
8895 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8896 argument.
8897 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8898 argument.
8899
e3c49f88
TT
89002014-02-19 Tom Tromey <tromey@redhat.com>
8901
8902 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8903 * target.c (target_enable_btrace): Add argument.
8904 * remote.c (remote_enable_btrace): Add 'self' argument.
8905 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8906 argument.
8907 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8908 argument.
8909
fe38f897
TT
89102014-02-19 Tom Tromey <tromey@redhat.com>
8911
8912 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8913 (target_can_use_agent): Add argument.
8914 * target.c (update_current_target): Update.
8915 * remote.c (remote_can_use_agent): Add 'self' argument.
8916 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8917
2c152180
TT
89182014-02-19 Tom Tromey <tromey@redhat.com>
8919
8920 * target.h (struct target_ops) <to_use_agent>: Add argument.
8921 (target_use_agent): Add argument.
8922 * target.c (update_current_target): Update.
8923 * remote.c (remote_use_agent): Add 'self' argument.
8924 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8925
a893e81f
TT
89262014-02-19 Tom Tromey <tromey@redhat.com>
8927
8928 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8929 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8930 (target_traceframe_info): Add argument.
8931 * target.c (update_current_target): Update.
8932 * remote.c (remote_traceframe_info): Add 'self' argument.
8933 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8934
c686c57f
TT
89352014-02-19 Tom Tromey <tromey@redhat.com>
8936
8937 * target.h (target_static_tracepoint_markers_by_strid): Add
8938 argument.
8939 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8940 'self' argument.
8941 * target.c (update_current_target): Update.
8942 * remote.c (struct target_ops)
8943 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8944 * linux-nat.c (struct target_ops)
8945 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8946
61fc905d
TT
89472014-02-19 Tom Tromey <tromey@redhat.com>
8948
8949 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8950 Add argument.
8951 (target_static_tracepoint_marker_at): Add argument.
8952 * target.c (update_current_target): Update.
8953 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8954 argument.
8955
c378d69d
TT
89562014-02-19 Tom Tromey <tromey@redhat.com>
8957
8958 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8959 (target_set_permissions): Add argument.
8960 * target.c (update_current_target): Update.
8961 * remote.c (remote_set_permissions): Add 'self' argument.
8962 (remote_start_remote): Update.
8963
bd7ae0f5
TT
89642014-02-19 Tom Tromey <tromey@redhat.com>
8965
8966 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8967 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8968 (target_get_tib_address): Add argument.
8969 * target.c (update_current_target): Update.
8970 * remote.c (remote_get_tib_address): Add 'self' argument.
8971
d9e68a2c
TT
89722014-02-19 Tom Tromey <tromey@redhat.com>
8973
8974 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8975 (target_set_trace_notes): Add argument.
8976 * target.c (update_current_target): Update.
8977 * remote.c (remote_set_trace_notes): Add 'self' argument.
8978
4da384be
TT
89792014-02-19 Tom Tromey <tromey@redhat.com>
8980
8981 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8982 argument.
8983 (target_set_trace_buffer_size): Add argument.
8984 * target.c (update_current_target): Update.
8985 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8986
736d5b1f
TT
89872014-02-19 Tom Tromey <tromey@redhat.com>
8988
8989 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8990 argument.
8991 (target_set_circular_trace_buffer): Add argument.
8992 * target.c (update_current_target): Update.
8993 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8994 argument.
8995
37b25738
TT
89962014-02-19 Tom Tromey <tromey@redhat.com>
8997
8998 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8999 argument.
9000 (target_set_disconnected_tracing): Add argument.
9001 * target.c (update_current_target): Update.
9002 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9003
0e67620a
TT
90042014-02-19 Tom Tromey <tromey@redhat.com>
9005
9006 * target.h (struct target_ops)
9007 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9008 (target_get_min_fast_tracepoint_insn_len): Add argument.
9009 * target.c (update_current_target): Update.
9010 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9011 argument.
9012
88ee6f45
TT
90132014-02-19 Tom Tromey <tromey@redhat.com>
9014
9015 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9016 argument.
9017 (target_get_raw_trace_data): Add argument.
9018 * target.c (update_current_target): Update.
9019 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9020
181e3713
TT
90212014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9024 Add argument.
9025 (target_upload_trace_state_variables): Add argument.
9026 * target.c (update_current_target): Update.
9027 * remote.c (remote_upload_trace_state_variables): Add 'self'
9028 argument.
9029 (remote_start_remote): Update.
9030
ab6617cc
TT
90312014-02-19 Tom Tromey <tromey@redhat.com>
9032
9033 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9034 argument.
9035 (target_upload_tracepoints): Add argument.
9036 * target.c (update_current_target): Update.
9037 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9038 (remote_start_remote): Update.
9039
dc3decaf
TT
90402014-02-19 Tom Tromey <tromey@redhat.com>
9041
9042 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9043 (target_save_trace_data): Add argument.
9044 * target.c (update_current_target): Update.
9045 * remote.c (remote_save_trace_data): Add 'self' argument.
9046
4011015b
TT
90472014-02-19 Tom Tromey <tromey@redhat.com>
9048
9049 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9050 argument.
9051 * target.h (struct target_ops)
9052 <to_get_trace_state_variable_value>: Add argument.
9053 (target_get_trace_state_variable_value): Add argument.
9054 * target.c (update_current_target): Update.
9055 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9056 argument.
9057 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9058
bd4c6793
TT
90592014-02-19 Tom Tromey <tromey@redhat.com>
9060
9061 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9062 * target.h (struct target_ops) <to_trace_find>: Add argument.
9063 (target_trace_find): Add argument.
9064 * target.c (update_current_target): Update.
9065 * remote.c (remote_trace_find): Add 'self' argument.
9066 * ctf.c (ctf_trace_find): Add 'self' argument.
9067
74499f1b
TT
90682014-02-19 Tom Tromey <tromey@redhat.com>
9069
9070 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9071 (target_trace_stop): Add argument.
9072 * target.c (update_current_target): Update.
9073 * remote.c (remote_trace_stop): Add 'self' argument.
9074
db90e85c
TT
90752014-02-19 Tom Tromey <tromey@redhat.com>
9076
9077 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9078 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9079 argument.
9080 (target_get_tracepoint_status): Add argument.
9081 * target.c (update_current_target): Update.
9082 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9083
8bd200f1
TT
90842014-02-19 Tom Tromey <tromey@redhat.com>
9085
9086 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9087 * target.h (struct target_ops) <to_get_trace_status>: Add
9088 argument.
9089 (target_get_trace_status): Add argument.
9090 * target.c (update_current_target): Update.
9091 * remote.c (remote_get_trace_status): Add 'self' argument.
9092 (remote_start_remote, remote_can_download_tracepoint): Update.
9093 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9094
e2d1aae3
TT
90952014-02-19 Tom Tromey <tromey@redhat.com>
9096
9097 * target.h (struct target_ops) <to_trace_start>: Add argument.
9098 (target_trace_start): Add argument.
9099 * target.c (update_current_target): Update.
9100 * remote.c (remote_trace_start): Add 'self' argument.
9101
583f9a86
TT
91022014-02-19 Tom Tromey <tromey@redhat.com>
9103
9104 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9105 Add argument.
9106 (target_trace_set_readonly_regions): Add argument.
9107 * target.c (update_current_target): Update.
9108 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9109 argument.
9110
780b049c
TT
91112014-02-19 Tom Tromey <tromey@redhat.com>
9112
9113 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9114 argument.
9115 (target_disable_tracepoint): Add argument.
9116 * target.c (update_current_target): Update.
9117 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9118
46670d57
TT
91192014-02-19 Tom Tromey <tromey@redhat.com>
9120
9121 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9122 argument.
9123 (target_enable_tracepoint): Add argument.
9124 * target.c (update_current_target): Update.
9125 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9126
559d2b81
TT
91272014-02-19 Tom Tromey <tromey@redhat.com>
9128
9129 * target.h (struct target_ops) <to_download_trace_state_variable>:
9130 Add argument.
9131 (target_download_trace_state_variable): Add argument.
9132 * target.c (update_current_target): Update.
9133 * remote.c (remote_download_trace_state_variable): Add 'self'
9134 argument.
9135
a52a8357
TT
91362014-02-19 Tom Tromey <tromey@redhat.com>
9137
9138 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9139 argument.
9140 (target_can_download_tracepoint): Add argument.
9141 * target.c (update_current_target): Update.
9142 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9143
548f7808
TT
91442014-02-19 Tom Tromey <tromey@redhat.com>
9145
9146 * target.h (struct target_ops) <to_download_tracepoint>: Add
9147 argument.
9148 (target_download_tracepoint): Add argument.
9149 * target.c (update_current_target): Update.
9150 * remote.c (remote_download_tracepoint): Add 'self' argument.
9151
ecae04e1
TT
91522014-02-19 Tom Tromey <tromey@redhat.com>
9153
9154 * target.h (struct target_ops) <to_trace_init>: Add argument.
9155 (target_trace_init): Add argument.
9156 * target.c (update_current_target): Update.
9157 * remote.c (remote_trace_init): Add 'self' argument.
9158
fab5aa7c
TT
91592014-02-19 Tom Tromey <tromey@redhat.com>
9160
9161 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9162 * target.c (target_fileio_readlink): Add argument.
9163 * remote.c (remote_hostio_readlink): Add 'self' argument.
9164 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9165
dbbca37d
TT
91662014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9169 * target.c (target_fileio_unlink): Add argument.
9170 * remote.c (remote_hostio_unlink): Add 'self' argument.
9171 (remote_file_delete): Update.
9172 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9173
df39ea25
TT
91742014-02-19 Tom Tromey <tromey@redhat.com>
9175
9176 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9177 * target.c (target_fileio_close): Add argument.
9178 * remote.c (remote_hostio_close): Add 'self' argument.
9179 (remote_hostio_close_cleanup): Update.
9180 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9181 Update.
9182 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9183
a3be983c
TT
91842014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9187 * target.c (target_fileio_pread): Add argument.
9188 * remote.c (remote_hostio_pread): Add 'self' argument.
9189 (remote_bfd_iovec_pread, remote_file_get): Update.
9190 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9191
0d866f62
TT
91922014-02-19 Tom Tromey <tromey@redhat.com>
9193
9194 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9195 * target.c (target_fileio_pwrite): Add argument.
9196 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9197 (remote_file_put): Update.
9198 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9199
cd897586
TT
92002014-02-19 Tom Tromey <tromey@redhat.com>
9201
9202 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9203 * target.c (target_fileio_open): Add argument.
9204 * remote.c (remote_hostio_open): Add 'self' argument.
9205 (remote_bfd_iovec_open): Add 'self' argument.
9206 (remote_file_put): Add 'self' argument.
9207 (remote_file_get): Add 'self' argument.
9208 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9209
78eff0ec
TT
92102014-02-19 Tom Tromey <tromey@redhat.com>
9211
9212 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9213 Add argument.
9214 (target_can_run_breakpoint_commands): Add argument.
9215 * target.c (update_current_target): Update.
9216 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9217 argument.
9218 (remote_insert_breakpoint): Add 'self' argument.
9219 (remote_insert_hw_breakpoint): Add 'self' argument.
9220 (remote_can_run_breakpoint_commands): Add 'self' argument.
9221
efcc2da7
TT
92222014-02-19 Tom Tromey <tromey@redhat.com>
9223
9224 * target.h (struct target_ops)
9225 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9226 (target_supports_evaluation_of_breakpoint_conditions): Add
9227 argument.
9228 * target.c (update_current_target): Update.
9229 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9230 argument.
9231 (remote_insert_breakpoint): Add 'self' argument.
9232 (remote_insert_hw_breakpoint): Add 'self' argument.
9233 (remote_supports_cond_breakpoints): Add 'self' argument.
9234
6de37a3a
TT
92352014-02-19 Tom Tromey <tromey@redhat.com>
9236
9237 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9238 argument.
9239 (target_supports_string_tracing): Add argument.
9240 * target.c (update_current_target): Update.
9241 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9242
2bfc0540
TT
92432014-02-19 Tom Tromey <tromey@redhat.com>
9244
9245 * target.h (struct target_ops)
9246 <to_supports_disable_randomization>: Add argument.
9247 * target.c (find_default_supports_disable_randomization): Add
9248 argument.
9249 (target_supports_disable_randomization): Add argument.
9250 (find_default_supports_disable_randomization): Add 'self'
9251 argument.
9252 * remote.c (extended_remote_supports_disable_randomization): Add
9253 'self' argument.
9254 (remote_supports_disable_randomization): Add 'self' argument.
9255 (extended_remote_create_inferior): Update.
9256 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9257 'self' argument.
9258
7d178d6a
TT
92592014-02-19 Tom Tromey <tromey@redhat.com>
9260
9261 * target.h (struct target_ops)
9262 <to_supports_enable_disable_tracepoint>: Add argument.
9263 (target_supports_enable_disable_tracepoint): Add argument.
9264 * target.c (update_current_target): Update.
9265 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9266 argument.
9267
86ce2668
TT
92682014-02-19 Tom Tromey <tromey@redhat.com>
9269
9270 * target.h (struct target_ops) <to_supports_multi_process>: Add
9271 argument.
9272 (target_supports_multi_process): Add argument.
9273 * target.c (update_current_target): Update.
9274 * remote.c (remote_supports_multi_process): Add 'self' argument.
9275 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9276 argument.
9277 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9278 argument.
9279
4c612759
TT
92802014-02-19 Tom Tromey <tromey@redhat.com>
9281
9282 * target.h (struct target_ops) <to_execution_direction>: Add
9283 argument.
9284 (target_execution_direction): Add argument.
9285 * target.c (default_execution_direction): Add 'self' argument.
9286 * record-full.c (record_full_execution_direction): Add 'self'
9287 argument.
9288
19db3e69
TT
92892014-02-19 Tom Tromey <tromey@redhat.com>
9290
9291 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9292 argument.
9293 (target_can_execute_reverse): Add argument.
9294 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9295 * record-full.c (record_full_can_execute_reverse): Add 'self'
9296 argument.
9297 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9298 argument.
9299
1e6b91a4
TT
93002014-02-19 Tom Tromey <tromey@redhat.com>
9301
9302 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9303 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9304 argument.
9305 (target_get_ada_task_ptid): Add argument.
9306 * target.c (update_current_target): Update.
9307 (default_get_ada_task_ptid): Add 'self' argument.
9308 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9309 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9310 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9311 argument.
9312 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9313 argument.
9314 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9315 argument.
9316 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9317 argument.
9318 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9319 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9320 argument.
9321
3c80fb48
TT
93222014-02-19 Tom Tromey <tromey@redhat.com>
9323
9324 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9325 (target_goto_bookmark): Add argument.
9326 * target.c (dummy_goto_bookmark): Add 'self' argument.
9327 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9328
dd0e2830
TT
93292014-02-19 Tom Tromey <tromey@redhat.com>
9330
9331 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9332 (target_get_bookmark): Add argument.
9333 * target.c (dummy_get_bookmark): Add 'self' argument.
9334 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9335
fc6691b2
TT
93362014-02-19 Tom Tromey <tromey@redhat.com>
9337
9338 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9339 argument.
9340 (target_make_corefile_notes): Add argument.
9341 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9342 * procfs.c (procfs_make_note_section): Add 'self' argument.
9343 (procfs_make_note_section): Add 'self' argument.
9344 (procfs_make_note_section): Add 'self' argument.
9345 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9346 argument.
9347 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9348 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9349 * exec.c (exec_make_note_section): Add 'self' argument.
9350 (exec_make_note_section): Add 'self' argument.
9351
2e73927c
TT
93522014-02-19 Tom Tromey <tromey@redhat.com>
9353
9354 * target.h (struct target_ops) <to_find_memory_regions>: Add
9355 argument.
9356 (target_find_memory_regions): Add argument.
9357 * target.c (dummy_find_memory_regions): Add 'self' argument.
9358 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9359 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9360 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9361 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9362 * exec. (exec_do_find_memory_regions): New global.
9363 (exec_set_find_memory_regions): Rewrite.
9364 (exec_find_memory_regions): New function.
9365 (init_exec_ops): Use exec_find_memory_regions.
9366
2a9a2795
TT
93672014-02-19 Tom Tromey <tromey@redhat.com>
9368
9369 * target.h (struct target_ops) <to_supports_non_stop>: Add
9370 argument.
9371 * target.c (find_default_supports_non_stop): Add argument.
9372 (target_supports_non_stop): Add argument.
9373 (find_default_supports_non_stop): Add 'self' argument.
9374 * remote.c (remote_supports_non_stop): Add 'self' argument.
9375 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9376
4ab76ea3
TT
93772014-02-19 Tom Tromey <tromey@redhat.com>
9378
9379 * target.h (struct target_ops) <to_log_command>: Add argument.
9380 (target_log_command): Add argument.
9381 * serial.h (serial_log_command): Add 'self' argument.
9382 * serial.c (serial_log_command): Add 'self' argument.
9383
8dd27370
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9387 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9388 argument.
9389 (target_pid_to_exec_file): Add argument.
9390 * target.c (debug_to_pid_to_exec_file): Add argument.
9391 (update_current_target): Update.
9392 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9393 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9394 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9395 (linux_handle_extended_wait): Update.
9396 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9397 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9398 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9399 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9400
1aac633b
TT
94012014-02-19 Tom Tromey <tromey@redhat.com>
9402
9403 * target.h (struct target_ops) <to_rcmd>: Add argument.
9404 (target_rcmd): Add argument.
9405 * target.c (debug_to_rcmd): Add argument.
9406 (update_current_target, do_monitor_command): Update.
9407 * remote.c (remote_rcmd): Add 'self' argument.
9408 * monitor.c (monitor_rcmd): Add 'self' argument.
9409
1eab8a48
TT
94102014-02-19 Tom Tromey <tromey@redhat.com>
9411
9412 * windows-nat.c (windows_stop): Add 'self' argument.
9413 * target.h (struct target_ops) <to_stop>: Add argument.
9414 * target.c (target_stop): Add argument.
9415 (debug_to_stop): Add argument.
9416 (update_current_target): Update.
9417 * remote.c (remote_stop): Add 'self' argument.
9418 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9419 (gdbsim_cntrl_c): Update.
9420 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9421 * procfs.c (procfs_stop): Add 'self' argument.
9422 * nto-procfs.c (procfs_stop): Add 'self' argument.
9423 * monitor.c (monitor_stop): Add 'self' argument.
9424 (monitor_open): Update.
9425 * linux-nat.c (linux_nat_stop): Add argument.
9426 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9427 * gnu-nat.c (gnu_stop): Add 'self' argument.
9428 * darwin-nat.c (darwin_stop): Add 'self' argument.
9429
503a628d
TT
94302014-02-19 Tom Tromey <tromey@redhat.com>
9431
9432 * target.h (struct target_ops) <to_thread_name>: Add argument.
9433 * target.c (target_thread_name): Add argument.
9434 (update_current_target): Update.
9435 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9436
c15906d8
TT
94372014-02-19 Tom Tromey <tromey@redhat.com>
9438
9439 * target.h (struct target_ops) <to_extra_thread_info>: Add
9440 argument.
9441 (target_extra_thread_info): Add argument.
9442 * target.c (update_current_target): Update.
9443 * remote.c (remote_threads_extra_info): Add 'self' argument.
9444 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9445 argument.
9446 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9447 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9448 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9449 argument.
9450 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9451 argument.
9452 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9453 argument.
9454 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9455 argument.
9456
daf5e9b6
TT
94572014-02-19 Tom Tromey <tromey@redhat.com>
9458
9459 * target.h (struct target_ops) <to_program_signals>: Add argument.
9460 * target.c (target_program_signals): Add argument.
9461 * remote.c (remote_program_signals): Add 'self' argument.
9462
94bedb42
TT
94632014-02-19 Tom Tromey <tromey@redhat.com>
9464
9465 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9466 * target.c (target_pass_signals): Add argument.
9467 * remote.c (remote_pass_signals): Add 'self' argument.
9468 (remote_start_remote): Update.
9469 * procfs.c (procfs_pass_signals): Add 'self' argument.
9470 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9471 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9472 (linux_nat_create_inferior, linux_nat_attach): Update.
9473
da82bd6b
TT
94742014-02-19 Tom Tromey <tromey@redhat.com>
9475
9476 * windows-nat.c (windows_can_run): Add 'self' argument.
9477 * target.h (struct target_ops) <to_can_run>: Add argument.
9478 (target_can_run): Add argument.
9479 * target.c (debug_to_can_run): Add argument.
9480 (update_current_target): Update.
9481 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9482 * inf-child.c (inf_child_can_run): Add 'self' argument.
9483 * go32-nat.c (go32_can_run): Add 'self' argument.
9484
d796e1d6
TT
94852014-02-19 Tom Tromey <tromey@redhat.com>
9486
9487 * target.h (struct target_ops) <to_has_exited>: Add argument.
9488 (target_has_exited): Add argument.
9489 * target.c (debug_to_has_exited): Add argument.
9490 (update_current_target): Update.
9491
ff214e67
TT
94922014-02-19 Tom Tromey <tromey@redhat.com>
9493
9494 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9495 argument.
9496 (target_set_syscall_catchpoint): Add argument.
9497 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9498 argument.
9499 * target.c (update_current_target): Update.
9500
758e29d2
TT
95012014-02-19 Tom Tromey <tromey@redhat.com>
9502
9503 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9504 argument.
9505 (target_remove_exec_catchpoint): Add argument.
9506 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9507 (update_current_target): Update.
9508 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9509 argument.
9510
ba025e51
TT
95112014-02-19 Tom Tromey <tromey@redhat.com>
9512
9513 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9514 argument.
9515 (target_insert_exec_catchpoint): Add argument.
9516 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9517 (update_current_target): Update.
9518 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9519 argument.
9520
e98cf0cd
TT
95212014-02-19 Tom Tromey <tromey@redhat.com>
9522
9523 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9524 argument.
9525 (target_remove_vfork_catchpoint): Add argument.
9526 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9527 (update_current_target): Update.
9528 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9529 argument.
9530
3ecc7da0
TT
95312014-02-19 Tom Tromey <tromey@redhat.com>
9532
9533 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9534 argument.
9535 (target_insert_vfork_catchpoint): Add argument.
9536 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9537 (update_current_target): Update.
9538 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9539 argument.
9540
973fc227
TT
95412014-02-19 Tom Tromey <tromey@redhat.com>
9542
9543 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9544 argument.
9545 (target_remove_fork_catchpoint): Add argument.
9546 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9547 (update_current_target): Update.
9548 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9549 argument.
9550
a863b201
TT
95512014-02-19 Tom Tromey <tromey@redhat.com>
9552
9553 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9554 argument.
9555 (target_insert_fork_catchpoint): Add argument.
9556 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9557 (update_current_target): Update.
9558 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9559 argument.
9560
2e97a79e
TT
95612014-02-19 Tom Tromey <tromey@redhat.com>
9562
9563 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9564 argument.
9565 (target_post_startup_inferior): Add argument.
9566 * target.c (debug_to_post_startup_inferior): Add argument.
9567 (update_current_target): Update.
9568 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9569 argument.
9570 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9571 argument.
9572 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9573 argument.
9574 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9575 argument.
9576 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9577 'self' argument.
9578 (super_post_startup_inferior): Likewise.
9579 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9580 'self' argument.
9581 (super_post_startup_inferior): Likewise.
9582 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9583 Add 'self' argument.
9584 (super_post_startup_inferior): Likewise.
9585
71a9f134
TT
95862014-02-19 Tom Tromey <tromey@redhat.com>
9587
9588 * target.h (struct target_ops) <to_load>: Add argument.
9589 * target.c (target_load): Add argument.
9590 (debug_to_load): Add argument.
9591 (update_current_target): Update.
9592 * remote.c (remote_load): Add 'self' argument.
9593 * remote-sim.c (gdbsim_load): Add 'self' argument.
9594 * remote-mips.c (mips_load): Add 'self' argument.
9595 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9596 * monitor.c (monitor_load): Add 'self' argument.
9597 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9598
0a4f40a2
TT
95992014-02-19 Tom Tromey <tromey@redhat.com>
9600
9601 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9602 (target_terminal_info): Add argument.
9603 * target.c (debug_to_terminal_info): Add argument.
9604 (default_terminal_info): Likewise.
9605 * inflow.c (child_terminal_info): Add 'self' argument.
9606 * inferior.h (child_terminal_info): Add 'self' argument.
9607 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9608
ae3bd431
TT
96092014-02-19 Tom Tromey <tromey@redhat.com>
9610
9611 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9612 argument.
9613 (target_terminal_save_ours): Add argument.
9614 * target.c (debug_to_terminal_save_ours): Add argument.
9615 (update_current_target): Update.
9616 * inflow.c (terminal_save_ours): Add 'self' argument.
9617 * inferior.h (terminal_save_ours): Add 'self' argument.
9618
e3594fd1
TT
96192014-02-19 Tom Tromey <tromey@redhat.com>
9620
9621 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9622 (target_terminal_ours): Add argument.
9623 * target.c (debug_to_terminal_ours): Add argument.
9624 (update_current_target): Update.
9625 * remote.c (remote_terminal_ours): Add 'self' argument.
9626 (remote_close): Update.
9627 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9628 * inflow.c (terminal_ours): Add 'self' argument.
9629 * inferior.h (terminal_ours): Add 'self' argument.
9630 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9631
2e1e1a19
TT
96322014-02-19 Pedro Alves <palves@redhat.com>
9633 Tom Tromey <tromey@redhat.com>
9634
9635 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9636 argument.
9637 (target_terminal_ours_for_output): Add argument.
9638 * target.c (debug_to_terminal_ours_for_output): Add argument.
9639 (update_current_target): Update.
9640 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9641 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9642 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9643
d2f640d4
TT
96442014-02-19 Tom Tromey <tromey@redhat.com>
9645
9646 * target.h (struct target_ops) <to_terminal_inferior>: Add
9647 argument.
9648 * target.c (target_terminal_inferior): Add argument.
9649 (update_current_target): Update.
9650 * remote.c (remote_terminal_inferior): Add 'self' argument.
9651 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9652 * inflow.c (terminal_inferior): Add 'self' argument.
9653 * inferior.h (terminal_inferior): Add 'self' argument.
9654 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9655 (go32_terminal_inferior): Add 'self' argument.
9656
c42bf286
TT
96572014-02-19 Tom Tromey <tromey@redhat.com>
9658
9659 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9660 (target_terminal_init): Add argument.
9661 * target.c (debug_to_terminal_init): Add argument.
9662 (update_current_target): Update.
9663 * inflow.c (terminal_init_inferior): Add 'self' argument.
9664 * inferior.h (terminal_init_inferior): Add 'self' argument.
9665 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9666 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9667
c3a5ff89
TT
96682014-02-19 Tom Tromey <tromey@redhat.com>
9669
9670 * target.h (struct target_ops)
9671 <to_can_accel_watchpoint_condition>: Add argument.
9672 (target_can_accel_watchpoint_condition): Add argument.
9673 * target.c (debug_to_can_accel_watchpoint_condition): Add
9674 argument.
9675 (update_current_target): Update.
9676 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9677 'self' argument.
9678
31568a15
TT
96792014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9682 Add argument.
9683 (target_region_ok_for_hw_watchpoint): Add argument.
9684 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9685 (default_region_ok_for_hw_watchpoint): Add argument.
9686 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9687 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9688 argument.
9689 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9690 argument.
9691 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9692 argument.
9693 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9694 'self' argument.
9695 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9696 'self' argument.
9697 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9698 'self' argument.
9699 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9700 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9701 'self' argument.
9702 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9703 Add 'self' argument.
9704
7bb99c53
TT
97052014-02-19 Tom Tromey <tromey@redhat.com>
9706
9707 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9708 argument.
9709 (target_insert_watchpoint): Add argument.
9710 * target.c (debug_to_insert_watchpoint): Add argument.
9711 (update_current_target): Update.
9712 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9713 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9714 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9715 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9716 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9717 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9718 argument.
9719 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9720 (procfs_insert_hw_watchpoint): Add 'self' argument.
9721 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9722 argument.
9723 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9724 argument.
9725 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9726 argument.
9727 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9728 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9729 argument.
9730 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9731 'self' argument.
9732
11b5219a
TT
97332014-02-19 Tom Tromey <tromey@redhat.com>
9734
9735 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9736 argument.
9737 (target_remove_watchpoint): Add argument.
9738 * target.c (debug_to_remove_watchpoint): Add argument.
9739 (update_current_target): Update.
9740 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9741 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9742 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9743 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9744 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9745 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9746 argument.
9747 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9748 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9749 argument.
9750 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9751 argument.
9752 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9753 argument.
9754 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9755 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9756 argument.
9757 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9758 'self' argument.
9759
a64dc96c
TT
97602014-02-19 Tom Tromey <tromey@redhat.com>
9761
9762 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9763 argument.
9764 (target_remove_hw_breakpoint): Add argument.
9765 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9766 (update_current_target): Update.
9767 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9768 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9769 argument.
9770 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9771 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9772 argument.
9773 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9774 'self' argument.
9775
23a26771
TT
97762014-02-19 Tom Tromey <tromey@redhat.com>
9777
9778 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9779 argument.
9780 (target_insert_hw_breakpoint): Add argument.
9781 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9782 (update_current_target): Update.
9783 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9784 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9785 argument.
9786 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9787 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9788 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9789 argument.
9790 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9791 'self' argument.
9792
5461485a
TT
97932014-02-19 Tom Tromey <tromey@redhat.com>
9794
9795 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9796 argument.
9797 (target_can_use_hardware_watchpoint): Add argument.
9798 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9799 (update_current_target): Update.
9800 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9801 argument.
9802 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9803 argument.
9804 * remote.c (remote_check_watch_resources): Add 'self' argument.
9805 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9806 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9807 argument.
9808 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9809 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9810 argument.
9811 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9812 argument.
9813 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9814 argument.
9815 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9816 argument.
9817 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9818 argument.
9819 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9820 argument.
9821 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9822 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9823 argument.
9824 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9825 'self' argument.
9826
f045800c
TT
98272014-02-19 Tom Tromey <tromey@redhat.com>
9828
9829 * target.h (struct target_ops) <to_post_attach>: Add argument.
9830 (target_post_attach): Add argument.
9831 * target.c (debug_to_post_attach): Add argument.
9832 (update_current_target): Update.
9833 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9834 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9835 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9836 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9837 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9838
de90e03d
TT
98392014-02-19 Tom Tromey <tromey@redhat.com>
9840
9841 * windows-nat.c (windows_close): Add 'self' argument.
9842 * tracepoint.c (tfile_close): Add 'self' argument.
9843 * target.h (struct target_ops) <to_close>: Add argument.
9844 * target.c (target_close): Add argument.
9845 (update_current_target): Update.
9846 * remote.c (remote_close): Add 'self' argument.
9847 * remote-sim.c (gdbsim_close): Add 'self' argument.
9848 * remote-mips.c (mips_close): Add 'self' argument.
9849 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9850 * record-full.c (record_full_close): Add 'self' argument.
9851 * record-btrace.c (record_btrace_close): Add 'self' argument.
9852 * monitor.h (monitor_close): Add 'self' argument.
9853 * monitor.c (monitor_close): Add 'self' argument.
9854 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9855 * linux-nat.c (linux_nat_close): Add argument.
9856 * go32-nat.c (go32_close): Add 'self' argument.
9857 * exec.c (exec_close_1): Add 'self' argument.
9858 * ctf.c (ctf_close): Add 'self' argument.
9859 * corelow.c (core_close): Add 'self' argument.
9860 (core_close_cleanup): Update.
9861 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9862 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9863
9dd130a0
TT
98642014-02-19 Tom Tromey <tromey@redhat.com>
9865
9866 * remote.c (remote_load): New function.
9867 (init_remote_ops): Use it.
9868
46917d26
TT
98692014-02-19 Tom Tromey <tromey@redhat.com>
9870
9871 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9872 argument.
9873 * common/linux-btrace.h (linux_supports_btrace): Update.
9874 * remote.c (remote_supports_btrace): Add "self" argument.
9875 * target-delegates.c: Rebuild.
9876 * target.c (target_supports_btrace): Remove.
9877 * target.h (struct target_ops) <to_supports_btrace>: Add
9878 target_ops argument.
9879 (target_supports_btrace): New define.
9880
6b84065d
TT
98812014-02-19 Tom Tromey <tromey@redhat.com>
9882
9883 * record-full.c (record_full_beneath_to_resume_ops)
9884 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9885 (record_full_beneath_to_wait)
9886 (record_full_beneath_to_store_registers_ops)
9887 (record_full_beneath_to_store_registers)
9888 (record_full_beneath_to_xfer_partial_ops)
9889 (record_full_beneath_to_xfer_partial)
9890 (record_full_beneath_to_insert_breakpoint_ops)
9891 (record_full_beneath_to_insert_breakpoint)
9892 (record_full_beneath_to_remove_breakpoint_ops)
9893 (record_full_beneath_to_remove_breakpoint)
9894 (record_full_beneath_to_stopped_by_watchpoint)
9895 (record_full_beneath_to_stopped_data_address)
9896 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9897 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9898 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9899 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9900 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9901 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9902 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9903 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9904 (record_full_resume, record_full_wait_1)
9905 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9906 (record_full_store_registers, record_full_xfer_partial)
9907 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9908 (record_full_async, record_full_core_xfer_partial): Use target
9909 delegation.
9910 * target-delegates.c: Rebuild.
9911 * target.c (current_xfer_partial): Remove.
9912 (update_current_target): Do not INHERIT or de_fault
9913 to_insert_breakpoint, to_remove_breakpoint,
9914 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9915 to_is_async_p, to_async. Do not set to_xfer_partial field.
9916 (default_xfer_partial): Simplify.
9917 (current_xfer_partial): Remove.
9918 (target_wait, target_resume): Simplify.
9919 (find_default_can_async_p, find_default_is_async_p): Update.
9920 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9921 to_xfer_partial, to_stopped_by_watchpoint,
9922 to_stopped_data_address.
9923 (target_store_registers): Simplify.
9924 (forward_target_remove_breakpoint)
9925 (forward_target_insert_breakpoint): Remove.
9926 (target_remove_breakpoint, target_insert_breakpoint)
9927 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9928 * target.h (struct target_ops) <to_resume, to_wait,
9929 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9930 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9931 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9932 markup.
9933 (forward_target_remove_breakpoint)
9934 (forward_target_insert_breakpoint): Remove.
9935 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9936 directly.
9937 (record_btrace_insert_breakpoint): Delegate directly.
9938
1101cb7b
TT
99392014-02-19 Tom Tromey <tromey@redhat.com>
9940
9941 PR build/7701:
9942 * target-delegates.c: New file.
9943 * target.c: Include target-delegates.c.
9944 (init_dummy_target): Call install_dummy_methods.
9945 (complete_target_initialization): Call install_delegators.
9946 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9947 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9948 * make-target-delegates: New file.
9949
8b06beed
TT
99502014-02-19 Tom Tromey <tromey@redhat.com>
9951
9952 * record.c (find_record_target): Use find_target_at.
9953 * target.c (find_target_at): New function.
9954 * target.h (find_target_at): Declare.
9955
6a109b6b
TT
99562014-02-19 Tom Tromey <tromey@redhat.com>
9957
9958 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9959 Add 'ops' argument.
9960 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9961 'ops' argument.
9962 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9963 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9964 'ops' argument.
9965 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9966 argument.
9967 * linux-nat.c (save_sigtrap): Update.
9968 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9969 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9970 (linux_nat_close): Update.
9971 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9972 argument.
9973 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9974 argument.
9975 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9976 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9977 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9978 (tmp_to_async): Add 'ops' argument.
9979 (record_full_stopped_by_watchpoint, record_full_async)
9980 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9981 argument.
9982 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9983 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9984 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9985 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9986 (remote_is_async_p, remote_async): Add 'ops' argument.
9987 (remote_stopped_data_address): Update.
9988 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9989 * target.c (update_current_target)
9990 (find_default_can_async_p, find_default_is_async_p): Update.
9991 (init_dummy_target): Update.
9992 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9993 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9994 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9995 (target_can_async_p, target_is_async_p, target_async)
9996 (target_stopped_by_watchpoint): Update.
9997
e095146b
YQ
99982014-02-19 Yao Qi <yao@codesourcery.com>
9999
10000 PR gdb/16220
10001 * gdbarch.sh: Remove startup_gdbarch.
10002 * gdbarch.c: Regenerated.
10003 * gdbarch.h: Likewise.
10004
bc3c6b36
KB
100052014-02-17 Kevin Buettner <kevinb@redhat.com>
10006
10007 * rl78-tdep.c (rl78_g10_register_name): New function.
10008 (rl78_return_value): Add g10 support.
10009 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10010 g10.
10011
98dc0167 100122014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10013
10014 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10015 (SUBDIR_GUILE_SRCS): Ditto.
10016 (scm-gsmob.o): Ditto.
10017
842c05cd
YQ
100182014-02-17 Yao Qi <yao@codesourcery.com>
10019
10020 * gnu-nat.c (ILL_RPC): Declare defined function.
10021
25c0bd04
YQ
100222014-02-17 Yao Qi <yao@codesourcery.com>
10023
10024 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10025 mach_msg_type_number_t.
10026 (gnu_write_inferior): Likewise.
10027
a9a758e3
YQ
100282014-02-17 Yao Qi <yao@codesourcery.com>
10029
10030 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10031 in format string.
10032 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10033 (inf_validate_procs, inf_signal): Likewise.
10034 (S_exception_raise_request): Likewise.
10035 (do_mach_notify_dead_name): Likewise.
10036 (steal_exc_port): Likewise.
10037 (gnu_read_inferior): Change 'copy_count''s type to
10038 mach_msg_type_number_t.
10039 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10040 format string.
10041
bae8023e
TS
100422014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10043
c82f56d9
TS
10044 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10045 flag. Adjust all users; in particular...
10046 (gnu_wait): ..., don't decrement its value in here...
10047 (gnu_create_inferior): ..., and instead set the flag in here,
10048 around the startup_inferior call, and call that one with
10049 START_INFERIOR_TRAPS_EXPECTED.
10050
3398af6a
TS
10051 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10052 (ILL_RPC): ... new macro.
10053 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10054 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10055 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10056 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10057 functions with ILL_RPC macro.
10058 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10059 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10060 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10061 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10062 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10063 (S_proc_getlogin_reply, S_proc_getsid_reply)
10064 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10065 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10066 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10067 (S_proc_getnports_reply, S_proc_is_important_reply)
10068 (S_proc_get_code_reply): New stub functions, generated with
10069 ILL_RPC macro.
10070
d47642c9
TS
10071 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10072 collected the type check structures.
10073
bae8023e
TS
10074 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10075
8a55ffb0
DE
100762014-02-14 Doug Evans <dje@google.com>
10077
10078 * target.c (target_write_partial): Fix result type.
10079
c2853f3d
JM
100802014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10081
10082 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10083 the proper offsets to access fpregset_t.
10084
ac61d2db
SA
100852014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10086
10087 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10088 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10089 * h8300-tdep.c (setmachinelist): Remove global.
10090 * hppa-tdep.c (hppa_sigtramp): Remove global.
10091 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10092 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10093 * ravenscar-thread.c (update_target_observer): Remove global.
10094 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10095
9d2d0b8b
TT
100962014-02-12 Tom Tromey <tromey@redhat.com>
10097
10098 * common/rsp-low.c: Update comments.
10099 * common/rsp-low.h: Update comments.
10100
a7191e8b
TT
101012014-02-12 Tom Tromey <tromey@redhat.com>
10102
10103 * common/rsp-low.c (convert_ascii_to_int): Remove.
10104 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10105
ff0e980e
TT
101062014-02-12 Tom Tromey <tromey@redhat.com>
10107
10108 * common/rsp-low.h (unhexify): Don't declare.
10109 * common/rsp-low.c (unhexify): Remove.
10110
e9371aff
TT
101112014-02-12 Tom Tromey <tromey@redhat.com>
10112
10113 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10114 * common/rsp-low.c (convert_int_to_ascii): Remove.
10115
971dc0b8
TT
101162014-02-12 Tom Tromey <tromey@redhat.com>
10117
10118 * common/rsp-low.h (hexify): Don't declare.
10119 * common/rsp-low.c (hexify): Remove.
10120
0a822afb
TT
101212014-02-12 Tom Tromey <tromey@redhat.com>
10122
10123 * common/rsp-low.c (hexify): Never take strlen of argument.
10124
9f1b45b0
TT
101252014-02-12 Tom Tromey <tromey@redhat.com>
10126
10127 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10128 * remote.c (extended_remote_run, remote_rcmd)
10129 (remote_download_trace_state_variable, remote_save_trace_data)
10130 (remote_set_trace_notes): Update.
10131 * tracepoint.c (encode_source_string, tfile_write_status)
10132 (tfile_write_uploaded_tsv): Update.
10133
9c3d6531
TT
101342014-02-12 Tom Tromey <tromey@redhat.com>
10135
10136 * tracepoint.c: Include rsp-low.h.
10137 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10138 * remote.c: Include rsp-low.h.
10139 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10140 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10141 (remote_unescape_input): Move to common/rsp-low.c.
10142 * common/rsp-low.h: New file.
10143 * common/rsp-low.c: New file.
10144 * Makefile.in (SFILES): Add common/rsp-low.c.
10145 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10146 (COMMON_OBS): Add rsp-low.o.
10147 (rsp-low.o): New target.
10148
01fd3ea5
TT
101492014-02-12 Tom Tromey <tromey@redhat.com>
10150
10151 * utils.h: Include print-utils.h.
10152 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10153 (int_string, core_addr_to_string, core_addr_to_string_nz)
10154 (hex_string, hex_string_custom): Don't declare.
10155 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10156 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10157 (hex_string_custom, int_string, core_addr_to_string)
10158 (core_addr_to_string_nz, host_address_to_string): Move to
10159 common/print-utils.c.
10160 * common/print-utils.h: New file.
10161 * common/print-utils.c: New file
10162 * Makefile.in (SFILES): Add common/print-utils.c.
10163 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10164 (COMMON_OBS): Add print-utils.o.
10165 (print-utils.o): New target.
10166
9fb50108
TT
101672014-02-12 Tom Tromey <tromey@redhat.com>
10168
10169 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10170
0548b5db
MK
101712014-02-12 Mark Kettenis <kettenis@gnu.org>
10172
10173 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10174
493443a4
MK
101752014-02-12 Mark Kettenis <kettenis@gnu.org>
10176
10177 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10178 if a PT_IO ptrace request returns sucessfully but indicates that 0
10179 bytes were transferred.
10180
706d0883
PA
101812014-02-12 Pedro Alves <palves@redhat.com>
10182 Kevin Buettner <kevinb@redhat.com>
10183
10184 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10185 TYPE_INSTANCE_FLAG_CODE_SPACE.
10186
5caa2f0b
PA
101872014-02-12 Pedro Alves <palves@redhat.com>
10188
10189 * h8300-tdep.c (pseudo_from_raw_register)
10190 (raw_from_pseudo_register): New functions.
10191 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10192 them.
10193
76fd5f74
PA
101942014-02-12 Pedro Alves <palves@redhat.com>
10195
10196 * h8300-tdep.c (h8300_register_sim_regno): New function.
10197 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10198 gdbarch_register_sim_regno hook.
10199
8f008406
SA
102002014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10201
10202 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10203
195abc10
SA
102042014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10205
10206 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10207
93ffa5b9
MK
102082014-02-12 Mark Kettenis <kettenis@gnu.org>
10209
10210 * obsd-tdep.h (obsd_init_abi): New prototype.
10211 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10212 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10213 (obsd_init_abi): New functions.
10214 * i386obsd-tdep.c: Include "obsd-tdep.h".
10215 (i386obsd_init_abi): Call obsd_init_abi.
10216 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10217 (amd64obsd_init_abi): Call obsd_init_abi.
10218 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10219 obsd-tdep.c to gdb_target_obs.
10220
49caec94
JM
102212014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10222
10223 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10224 double float arguments to 16-byte in the argument slots.
10225
e1402065
DE
102262014-02-11 Doug Evans <xdje42@gmail.com>
10227
10228 * configure.ac: Don't crash if pkg-config is not found and guile
10229 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10230 in guile checks.
10231 * configure: Regenerate.
10232
edcc890f
YQ
102332014-02-11 Yao Qi <yao@codesourcery.com>
10234
10235 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10236 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10237 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10238 * gnu-nat.c (gnu_xfer_memory): Likewise.
10239 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10240 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10241 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10242 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10243
9b409511
YQ
102442014-02-11 Yao Qi <yao@codesourcery.com>
10245
10246 * target.h (enum target_xfer_error): Rename to ...
10247 (enum target_xfer_status): ... it. New. All users updated.
10248 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10249 New.
10250 (TARGET_XFER_STATUS_ERROR_P): New macro.
10251 (target_xfer_error_to_string): Remove declaration.
10252 (target_xfer_status_to_string): Declare.
10253 (target_xfer_partial_ftype): Adjust it.
10254 (struct target_ops) <to_xfer_partial>: Return
10255 target_xfer_status. Add argument xfered_len. Update
10256 comments.
10257 * target.c (target_xfer_error_to_string): Rename to ...
10258 (target_xfer_status_to_string): ... it. New. All callers
10259 updated.
10260 (target_read_live_memory): Likewise. Call target_xfer_partial
10261 instead of target_read.
10262 (memory_xfer_live_readonly_partial): Return
10263 target_xfer_status. Add argument xfered_len.
10264 (raw_memory_xfer_partial): Likewise.
10265 (memory_xfer_partial_1): Likewise.
10266 (memory_xfer_partial): Likewise.
10267 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10268 properly. Update debug message.
10269 (default_xfer_partial, current_xfer_partial): Likewise.
10270 (target_write_partial): Likewise.
10271 (target_read_partial): Likewise. All callers updated.
10272 (read_whatever_is_readable): Likewise.
10273 (target_write_with_progress): Likewise.
10274 (target_read_alloc_1): Likewise.
10275
10276 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10277 * auxv.c (procfs_xfer_auxv): Likewise.
10278 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10279 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10280 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10281 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10282 * corefile.c (read_memory): Adjust.
10283 * corelow.c (core_xfer_partial): Likewise.
10284 * ctf.c (ctf_xfer_partial): Likewise.
10285 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10286 updated.
10287 (darwin_xfer_partial): Likewise.
10288 * exec.c (section_table_xfer_memory_partial): Likewise. All
10289 callers updated.
10290 (exec_xfer_partial): Likewise.
10291 * exec.h (section_table_xfer_memory_partial): Update
10292 declaration.
10293 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10294 negative.
10295 (gnu_xfer_partial): Likewise.
10296 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10297 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10298 (ia64_hpux_xfer_solib_got): Likewise.
10299 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10300 type of 'partial_len' to ULONGEST.
10301 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10302 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10303 (linux_nat_xfer_partial): Likewise.
10304 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10305 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10306 * monitor.c (monitor_xfer_memory): Likewise.
10307 (monitor_xfer_partial): Likewise.
10308 * procfs.c (procfs_xfer_partial): Likewise.
10309 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10310 * record-full.c (record_full_xfer_partial): Likewise.
10311 (record_full_core_xfer_partial): Likewise.
10312 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10313 (gdbsim_xfer_partial): Likewise.
10314 * remote.c (remote_write_bytes_aux): Likewise. All callers
10315 updated.
10316 (remote_write_bytes, remote_read_bytes): Likewise. All
10317 callers updated.
10318 (remote_flash_erase): Likewise. All callers updated.
10319 (remote_write_qxfer): Likewise. All callers updated.
10320 (remote_read_qxfer): Likewise. All callers updated.
10321 (remote_xfer_partial): Likewise.
10322 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10323 (rs6000_xfer_shared_libraries): Likewise.
10324 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10325 (sol_thread_xfer_partial): Likewise.
10326 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10327 (sparc_xfer_partial): Likewise.
10328 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10329 updated.
10330 (spu_xfer_partial): Likewise.
10331 * spu-multiarch.c (spu_xfer_partial): Likewise.
10332 * tracepoint.c (tfile_xfer_partial): Likewise.
10333 * windows-nat.c (windows_xfer_memory): Likewise.
10334 (windows_xfer_shared_libraries): Likewise.
10335 (windows_xfer_partial): Likewise.
10336 * valprint.c: Replace 'target_xfer_error' with
10337 'target_xfer_status' in comments.
10338
a8e63083
JB
103392014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10340
10341 Checked in by Joel Brobecker <brobecker@adacore.com>.
10342 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10343
e86b67d3
JB
103442014-02-11 Joel Brobecker <brobecker@adacore.com>
10345
10346 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10347 function parameters.
10348
4b7d1f7f
WN
103492014-02-10 Will Newton <will.newton@linaro.org>
10350
10351 * elfread.c (elf_rel_plt_read): Look for a .got section if
10352 looking up .got.plt fails.
10353 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10354 on address passed to elf_gnu_ifunc_record_cache.
10355 (elf_gnu_ifunc_resolve_addr): Likewise.
10356 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10357
961842b2
JM
103582014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10359
10360 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10361 (X_RETTURN): New macro.
10362 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10363
10364 * sparc64-tdep.c (sparc64_init_abi): Hook
10365 sparc_in_function_epilogue_p.
10366
3f03e7b1
GB
103672014-02-10 Gary Benson <gbenson@redhat.com>
10368
10369 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10370 Rename name_matcher to symbol_matcher.
10371
96f861ef
GB
103722014-02-10 Gary Benson <gbenson@redhat.com>
10373
10374 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10375 Use expand_symtabs_file_matcher_ftype and
10376 expand_symtabs_symbol_matcher_ftype.
10377
ee01b665
JB
103782014-02-10 Joel Brobecker <brobecker@adacore.com>
10379
10380 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10381 (struct ada_symbol_cache): New.
10382 (ada_free_symbol_cache): Forward declare.
10383 (struct ada_pspace_data): New.
10384 (ada_pspace_data_handle): New static global.
10385 (get_ada_pspace_data, ada_pspace_data_cleanup)
10386 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10387 (cache_space, cache): Delete, now folded inside struct
10388 ada_pspace_data.
10389 (ada_get_symbol_cache): New function.
10390 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10391 implementation.
10392 (_initialize_ada_language): Remove initialization of cache_space.
10393 Move call to observer_attach_inferior_exit up, grouping it
10394 with the other observer registrations inside this function.
10395 Rename command to be more general. Add call to
10396 register_program_space_data_with_cleanup.
10397
143adbbf
JB
103982014-02-10 Joel Brobecker <brobecker@adacore.com>
10399
10400 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10401 ada_new_objfile_observer.
10402 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10403 (_initialize_tasks): Update uses of ada_new_objfile_observer
10404 and ada_tasks_normal_stop_observer.
10405
aa4fb036
JB
104062014-02-10 Joel Brobecker <brobecker@adacore.com>
10407
10408 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10409 returned by the 'Length attribute to integer.
10410
9dee8cc6
JB
104112014-02-10 Joel Brobecker <brobecker@adacore.com>
10412
10413 * ada-lang.c (_initialize_ada_language): Initialize
10414 cache_space obstack.
10415
3d9434b5
JB
104162014-02-10 Joel Brobecker <brobecker@adacore.com>
10417
10418 * ada-lang.c (HASH_SIZE): New macro.
10419 (struct cache_entry): New type.
10420 (cache_space, cache): New static globals.
10421 (ada_clear_symbol_cache, find_entry): New functions.
10422 (lookup_cached_symbol, cache_symbol): Implement.
10423 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10424 (_initialize_ada_language): Attach ada_new_objfile_observer
10425 and ada_free_objfile_observer.
10426
f0c5f9b2
JB
104272014-02-10 Joel Brobecker <brobecker@adacore.com>
10428
10429 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10430 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10431 struct block * parameter.
10432 (ada_lookup_symbol_list_worker): Constify local variable "block".
10433 Remove cast which is no longer necessary.
10434
ed3ef339
DE
104352014-02-10 Doug Evans <xdje42@gmail.com>
10436
10437 Add Guile as an extension language.
10438 * NEWS: Mention Guile scripting.
10439 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10440 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10441 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10442 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10443 (CLIBS): Add GUILE_LIBS.
10444 (install-guile): New rule.
10445 (guile.o): New rule.
10446 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10447 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10448 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10449 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10450 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10451 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10452 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10453 * configure.ac: New option --with-guile.
10454 * configure: Regenerate.
10455 * config.in: Regenerate.
10456 * auto-load.c: Remove #include "python/python.h". Add #include
10457 "gdb/section-scripts.h".
10458 (source_section_scripts): Handle Guile scripts.
10459 (_initialize_auto_load): Add name of Guile objfile script to
10460 scripts-directory help text.
10461 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10462 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10463 (struct breakpoint): New member scm_bp_object.
10464 * defs.h (enum command_control_type): New value guile_control.
10465 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10466 "extension.h".
10467 (show_user): Update comment.
10468 (_initialize_cli_cmds): Update help text for "show user". Update help
10469 text for max-user-call-depth.
10470 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10471 "extension.h".
10472 (multi_line_command_p): Add guile_control.
10473 (print_command_lines): Handle guile_control.
10474 (execute_control_command, recurse_read_control_structure): Ditto.
10475 (process_next_line): Recognize "guile" commands.
10476 * disasm.c (gdb_disassemble_info): Make non-static.
10477 * disasm.h: #include "dis-asm.h".
10478 (struct gdbarch): Add forward decl.
10479 (gdb_disassemble_info): Declare.
10480 * extension.c: #include "guile/guile.h".
10481 (extension_languages): Add guile.
10482 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10483 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10484 * gdbtypes.c (get_unsigned_type_max): New function.
10485 (get_signed_type_minmax): New function.
10486 * gdbtypes.h (get_unsigned_type_max): Declare.
10487 (get_signed_type_minmax): Declare.
10488 * guile/README: New file.
10489 * guile/guile-internal.h: New file.
10490 * guile/guile.c: New file.
10491 * guile/guile.h: New file.
10492 * guile/scm-arch.c: New file.
10493 * guile/scm-auto-load.c: New file.
10494 * guile/scm-block.c: New file.
10495 * guile/scm-breakpoint.c: New file.
10496 * guile/scm-disasm.c: New file.
10497 * guile/scm-exception.c: New file.
10498 * guile/scm-frame.c: New file.
10499 * guile/scm-gsmob.c: New file.
10500 * guile/scm-iterator.c: New file.
10501 * guile/scm-lazy-string.c: New file.
10502 * guile/scm-math.c: New file.
10503 * guile/scm-objfile.c: New file.
10504 * guile/scm-ports.c: New file.
10505 * guile/scm-pretty-print.c: New file.
10506 * guile/scm-safe-call.c: New file.
10507 * guile/scm-string.c: New file.
10508 * guile/scm-symbol.c: New file.
10509 * guile/scm-symtab.c: New file.
10510 * guile/scm-type.c: New file.
10511 * guile/scm-utils.c: New file.
10512 * guile/scm-value.c: New file.
10513 * guile/lib/gdb.scm: New file.
10514 * guile/lib/gdb/boot.scm: New file.
10515 * guile/lib/gdb/experimental.scm: New file.
10516 * guile/lib/gdb/init.scm: New file.
10517 * guile/lib/gdb/iterator.scm: New file.
10518 * guile/lib/gdb/printing.scm: New file.
10519 * guile/lib/gdb/types.scm: New file.
10520 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10521 (VPATH): Add $(GUILE_SRCDIR).
10522 (GUILE_DIR): New variable.
10523 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10524 (all): Add stamp-guile dependency.
10525 (stamp-guile): New rule.
10526 (clean-guile, install-guile, uninstall-guile): New rules.
10527 (install-only): Add install-guile dependency.
10528 (uninstall): Add uninstall-guile dependency.
10529 (clean): Add clean-guile dependency.
10530
ac020ec5
DE
105312014-02-09 Doug Evans <xdje42@gmail.com>
10532
10533 Revert this patch (which I approved, mea culpa).
10534
10535 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10536
10537 * Makefile.in (all-lib): Remove.
10538 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10539
2a081c59
JK
105402014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 Fix Python stack corruption.
10543 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10544 gdb_py_longest.
10545
0a6bd22d
MK
105462014-02-08 Mark Kettenis <kettenis@gnu.org>
10547
10548 * Makefile.in (all-lib): Remove.
10549 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10550
1a860409
DE
105512014-02-07 Doug Evans <dje@google.com>
10552
10553 * extension-priv.h (extension_language_script_ops): Add comment.
10554 (extension_language_ops): Add comment.
caf5a491 10555 (active_ext_lang_state): Fix typo in comment.
1a860409 10556
d137e6dc
PA
105572014-02-07 Pedro Alves <palves@redhat.com>
10558
0dcb32c3 10559 PR breakpoints/16292
d137e6dc
PA
10560 * infrun.c (handle_signal_stop) <signal arrives while stepping
10561 over a breakpoint>: Switch back to the stepping thread.
10562
ce6d0892
YQ
105632014-02-07 Yao Qi <yao@codesourcery.com>
10564
10565 * target.c (target_xfer_partial): Return zero if LEN is zero.
10566
2ed4b548
YQ
105672014-02-07 Yao Qi <yao@codesourcery.com>
10568
10569 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10570 (ld_so_xfer_auxv): Likewise.
10571 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10572 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10573 * corelow.c (core_xfer_partial): Likewise.
10574 * ctf.c (ctf_xfer_partial): Likewise.
10575 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10576 (darwin_xfer_partial): Likewise.
10577 * exec.c (exec_xfer_partial): Likewise.
10578 * gnu-nat.c (gnu_xfer_partial): Likewise.
10579 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10580 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10581 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10582 * linux-nat.c (linux_xfer_siginfo): Likewise.
10583 (linux_proc_xfer_spu): Likewise.
10584 * procfs.c (procfs_xfer_partial): Likewise.
10585 * record-full.c (record_full_xfer_partial): Likewise.
10586 (record_full_core_xfer_partial): Likewise.
10587 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10588 * remote.c (remote_write_qxfer): Likewise.
10589 (remote_write_qxfer, remote_read_qxfer): Likewise.
10590 (remote_xfer_partial): Likewise.
10591 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10592 (rs6000_xfer_shared_libraries): Likewise.
10593 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10594 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10595 (spu_xfer_partial): Likewise.
10596 * target.c (memory_xfer_partial_1): Likewise.
10597 * tracepoint.c (tfile_xfer_partial): Likewise.
10598 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10599 (windows_xfer_partial): Likewise.
10600
c09f20e4
YQ
106012014-02-07 Yao Qi <yao@codesourcery.com>
10602
10603 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10604 comments.
10605 (core_xfer_shared_libraries_aix): Likewise.
10606 * gdbarch.c, gdbarch.h: Regenerated.
10607 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10608 ULONGEST. Change 'len_avail' type to ULONGEST.
10609 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10610 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10611 declaration.
10612 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10613
8635b3bf
YQ
106142014-02-07 Yao Qi <yao@codesourcery.com>
10615
10616 * corefile.c (memory_error): Get 'exception' from ERR and pass
10617 'exception' to throw_error.
10618
6dddc817
DE
106192014-02-06 Doug Evans <xdje42@gmail.com>
10620
10621 * configure.ac (libpython checking): Remove all but python.o from
10622 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10623 * configure: Regenerate.
10624
10625 * Makefile.in (SFILES): Add extension.c.
10626 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10627 (COMMON_OBS): Add extension.o.
10628 * extension.h: New file.
10629 * extension-priv.h: New file.
10630 * extension.c: New file.
10631
10632 * python/python-internal.h: #include "extension.h".
10633 (gdbpy_auto_load_enabled): Declare.
10634 (gdbpy_apply_val_pretty_printer): Declare.
10635 (gdbpy_apply_frame_filter): Declare.
10636 (gdbpy_preserve_values): Declare.
10637 (gdbpy_breakpoint_cond_says_stop): Declare.
10638 (gdbpy_breakpoint_has_cond): Declare.
10639 (void source_python_script_for_objfile): Delete.
10640 * python/python.c: #include "extension-priv.h".
10641 Delete inclusion of "observer.h".
10642 (extension_language_python): Moved here and renamed from
10643 script_language_python in py-auto-load.c.
10644 Redefined to be of type extension_language_defn.
10645 (python_extension_script_ops): New global.
10646 (python_extension_ops): New global.
10647 (struct python_env): New member previous_active.
10648 (restore_python_env): Call restore_active_ext_lang.
10649 (ensure_python_env): Call set_active_ext_lang.
10650 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10651 New arg extlang.
10652 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10653 New arg extlang.
10654 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10655 New arg extlang.
10656 (gdbpy_eval_from_control_command): Renamed from
10657 eval_python_from_control_command, made static. New arg extlang.
10658 (gdbpy_source_script) Renamed from source_python_script, made static.
10659 New arg extlang.
10660 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10661 result to int. New arg extlang.
10662 (gdbpy_source_objfile_script): Renamed from
10663 source_python_script_for_objfile, made static. New arg extlang.
10664 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10665 static. New args extlang, extlang_printers. Change result type to
10666 "void".
10667 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10668 static. New arg extlang. Rename arg printers to extlang_printers
10669 and change type to ext_lang_type_printers *.
10670 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10671 static. Replace argument arg with extlang, extlang_printers.
10672 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10673 (!HAVE_PYTHON, source_python_script): Delete.
10674 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10675 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10676 (!HAVE_PYTHON, start_type_printers): Delete.
10677 (!HAVE_PYTHON, apply_type_printers): Delete.
10678 (!HAVE_PYTHON, free_type_printers): Delete.
10679 (_initialize_python): Delete call to observer_attach_before_prompt.
10680 (finalize_python): Set/restore active extension language.
10681 (gdbpy_finish_initialization) Renamed from
10682 finish_python_initialization, made static. New arg extlang.
10683 (gdbpy_initialized): New function.
10684 * python/python.h: #include "extension.h". Delete #include
10685 "value.h", "mi/mi-cmds.h".
10686 (extension_language_python): Declare.
10687 (GDBPY_AUTO_FILE_NAME): Delete.
10688 (enum py_bt_status): Moved to extension.h and renamed to
10689 ext_lang_bt_status.
10690 (enum frame_filter_flags): Moved to extension.h.
10691 (enum py_frame_args): Moved to extension.h and renamed to
10692 ext_lang_frame_args.
10693 (finish_python_initialization): Delete.
10694 (eval_python_from_control_command): Delete.
10695 (source_python_script): Delete.
10696 (apply_val_pretty_printer): Delete.
10697 (apply_frame_filter): Delete.
10698 (preserve_python_values): Delete.
10699 (gdbpy_script_language_defn): Delete.
10700 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10701 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10702
10703 * auto-load.c: #include "extension.h".
10704 (GDB_AUTO_FILE_NAME): Delete.
10705 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10706 (script_language_gdb): Delete, moved to extension.c and renamed to
10707 extension_language_gdb.
10708 (source_gdb_script_for_objfile): Delete.
10709 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10710 (loaded_script): Change type of language member to
10711 struct extension_language_defn *.
10712 (init_loaded_scripts_info): Initialize
10713 unsupported_script_warning_printed.
10714 (maybe_add_script): Make static. Change type of language arg to
10715 struct extension_language_defn *.
10716 (clear_section_scripts): Reset unsupported_script_warning_printed.
10717 (auto_load_objfile_script_1): Rewrite to use extension language API.
10718 (auto_load_objfile_script): Make public. Remove support-compiled-in
10719 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10720 (source_section_scripts): Rewrite to use extension language API.
10721 (load_auto_scripts_for_objfile): Rewrite to use
10722 auto_load_scripts_for_objfile.
10723 (collect_matching_scripts_data): Change type of language member to
10724 struct extension_language_defn *.
10725 (auto_load_info_scripts): Change type of language arg to
10726 struct extension_language_defn *.
10727 (unsupported_script_warning_print): New function.
10728 (script_not_found_warning_print): Make static.
10729 (_initialize_auto_load): Rewrite construction of scripts-directory
10730 help.
10731 * auto-load.h (struct objfile): Add forward decl.
10732 (struct script_language): Delete.
10733 (struct auto_load_pspace_info): Add forward decl.
10734 (struct extension_language_defn): Add forward decl.
10735 (maybe_add_script): Delete.
10736 (auto_load_objfile_script): Declare.
10737 (script_not_found_warning_print): Delete.
10738 (auto_load_info_scripts): Update prototype.
10739 (auto_load_gdb_scripts_enabled): Declare.
10740 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10741 auto_load_python_scripts_enabled and made public.
10742 (script_language_python): Delete, moved to python.c.
10743 (gdbpy_script_language_defn): Delete.
10744 (info_auto_load_python_scripts): Update to use
10745 extension_language_python.
10746
10747 * breakpoint.c (condition_command): Replace call to
10748 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10749 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10750 with call to breakpoint_ext_lang_cond_says_stop.
10751 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10752 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10753 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10754 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10755 New arg slang.
10756 (local_setattro): Print name of extension language with existing
10757 stop condition.
10758
10759 * valprint.c (val_print, value_print): Update to call
10760 apply_ext_lang_val_pretty_printer.
10761 * cp-valprint.c (cp_print_value): Update call to
10762 apply_ext_lang_val_pretty_printer.
10763 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10764 (gdbpy_apply_val_pretty_printer): Renamed from
10765 apply_val_pretty_printer. New arg extlang.
10766 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10767
10768 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10769 extension language API.
10770 * cli/cli-script.c (execute_control_command): Update to call
10771 eval_ext_lang_from_control_command.
10772
10773 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10774 enum ext_lang_bt_status values. Update call to
10775 apply_ext_lang_frame_filter.
10776 (mi_cmd_stack_list_locals): Ditto.
10777 (mi_cmd_stack_list_args): Ditto.
10778 (mi_cmd_stack_list_variables): Ditto.
10779 * mi/mi-main.c: Delete #include "python/python-internal.h".
10780 Add #include "extension.h".
10781 (mi_cmd_list_features): Replace reference to python internal variable
10782 gdb_python_initialized with call to ext_lang_initialized_p.
10783
10784 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10785 Update to use enum ext_lang_frame_args. Update to call
10786 apply_ext_lang_frame_filter.
10787 * python/py-framefilter.c (extract_sym): Update to use enum
10788 ext_lang_bt_status.
10789 (extract_value, py_print_type, py_print_value): Ditto.
10790 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10791 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10792 (py_print_frame): Ditto.
10793 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10794 New arg extlang. Update to use enum ext_lang_bt_status.
10795
10796 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10797 finish_python_initialization. Replace with call to
10798 finish_ext_lang_initialization.
10799
10800 * typeprint.c (do_free_global_table): Update to call
10801 free_ext_lang_type_printers.
10802 (create_global_typedef_table): Update to call
10803 start_ext_lang_type_printers.
10804 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10805 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10806 (type_print_options): Change type of global_printers from "void *"
10807 to "struct ext_lang_type_printers *".
10808
10809 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10810 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10811 (gdbpy_preserve_values): Renamed from preserve_python_values.
10812 New arg extlang.
10813 (!HAVE_PYTHON, preserve_python_values): Delete.
10814
10815 * utils.c (quit_flag): Delete, moved to extension.c.
10816 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10817 extension.c.
10818
10819 * eval.c: Delete #include "python/python.h".
10820 * main.c: Delete #include "python/python.h".
10821
10822 * defs.h: Update comment.
10823
6af79985
JB
108242014-02-06 Joel Brobecker <brobecker@adacore.com>
10825
10826 GDB 7.7 released.
10827
12c5175d
MK
108282014-02-05 Mark Kettenis <kettenis@gnu.org>
10829
10830 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10831 defined.
10832
8dc5b319
YQ
108332014-02-05 Yao Qi <yao@codesourcery.com>
10834
10835 * remote.c (remote_pass_signals): Remove local 'buf' and use
10836 rs->buf.
10837 (remote_program_signals): Likewise.
10838
de7b2893
YQ
108392014-02-05 Yao Qi <yao@codesourcery.com>
10840
10841 * ctf.c: Include "inferior.h" and "gdbthread.h".
10842 (CTF_PID): A new macro.
10843 (ctf_open): Call inferior_appeared and add_thread_silent.
10844 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10845 (ctf_thread_alive): New function.
10846 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10847
66d032ac
YQ
108482014-02-05 Yao Qi <yao@codesourcery.com>
10849
10850 Revert this patch:
10851
10852 2013-05-24 Yao Qi <yao@codesourcery.com>
10853
10854 * tracepoint.c (TFILE_PID): Remove.
10855 (tfile_open): Don't add thread and inferior.
10856 (tfile_close): Don't set 'inferior_ptid'. Don't call
10857 exit_inferior_silent.
10858 (tfile_thread_alive): Remove.
10859 (init_tfile_ops): Don't set field 'to_thread_alive' of
10860 tfile_ops.
10861
f4ccffad
CE
108622014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10863
10864 * remote.c (remote_start_remote): Call remote_check_symbols even
10865 if only symbol-file (not file) has been given.
10866
591a12a1
UW
108672014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10868
10869 * gdbarch.sh (skip_entrypoint): New callback.
10870 * gdbarch.c, gdbarch.h: Regenerate.
10871 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10872 * infrun.c (fill_in_stop_func): Likewise.
10873 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10874 (ppc_elfv2_elf_make_msymbol_special): New function.
10875 (ppc_elfv2_skip_entrypoint): Likewise.
10876 (ppc_linux_init_abi): Install them for ELFv2.
10877
cc0e89c5
UW
108782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10879
10880 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10881 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10882 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10883 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10884 structures returned in GPRs.
10885
52f548e4
UW
108862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10887
10888 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10889 offset to the stack parameter list for the ELFv2 ABI.
10890
d4094b6a
UW
108912014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10892
10893 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10894 set_gdbarch_convert_from_func_ptr_addr and
10895 set_gdbarch_elf_make_msymbol_special for ELFv1.
10896 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10897 function descriptors on ELFv1.
10898 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10899 set up r12 at function entry.
10900
cd453cd0
UW
109012014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10902
10903 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10904 (struct gdbarch_tdep): New member elf_abi.
10905
10906 * rs6000-tdep.c: Include "elf/ppc64.h".
10907 (rs6000_gdbarch_init): Detect ELF ABI version.
10908
0ff3e01f
UW
109092014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10910
10911 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10912 within a register pair holding a DFP 128-bit value on little-endian.
10913 (ppc64_sysv_abi_return_value_base): Likewise.
10914 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10915 (dfp_pseudo_register_write): Likewise.
10916
5b757e5d
UW
109172014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10918
10919 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10920 offset on little-endian when passing _Decimal32.
10921 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10922
084ee545
UW
109232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10924
10925 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10926 of the overlapped FP register within the VSX register on little-
10927 endian platforms.
10928 (efpr_pseudo_register_write): Likewise.
10929
d63167af
UW
109302014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10931
10932 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10933 offset on little-endian when passing small structures.
10934
e765b44c
UW
109352014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10936
10937 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10938 (struct ppc64_sysv_argpos): New data structure.
10939 (ppc64_sysv_abi_push_float): Remove.
10940 (ppc64_sysv_abi_push_val): New function.
10941 (ppc64_sysv_abi_push_integer): Likewise.
10942 (ppc64_sysv_abi_push_freg): Likewise.
10943 (ppc64_sysv_abi_push_vreg): Likewise.
10944 (ppc64_sysv_abi_push_param): Likewise.
10945 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10946 (ppc64_sysv_abi_return_value_base): New function.
10947 (ppc64_sysv_abi_return_value): Refactor to use it.
10948
36c24d95
UW
109492014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10950
10951 * NEWS: Document new target powerpc64le-*-linux*.
10952
26fd9228
MK
109532014-02-04 Mark Kettenis <kettenis@gnu.org>
10954
10955 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10956 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10957 core dumps.
10958 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10959 register set used in ELF core dumps. Add floating-point register set.
10960
c5bb7362
KB
109612014-02-03 Kevin Buettner <kevinb@redhat.com>
10962
74228e77 10963 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10964 dwarf2_to_gdb[] table using symbolic constants. Adjust
10965 penultimate entry from number representing the PC register
10966 to symbolic constant representing the MDR register. Add
10967 constant for the PC register to the end of the table.
10968
af09351e
MK
109692014-02-03 Mark Kettenis <kettenis@gnu.org>
10970
10971 * bsd-kvm.c: Include <sys/param.h>
10972
8507e05d
MK
109732014-02-03 Mark Kettenis <kettenis@gnu.org>
10974
10975 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10976
ae56bfb8
JB
109772014-01-31 Joel Brobecker <brobecker@adacore.com>
10978
10979 * ada-lang.h (clear_ada_sym_cache): Delete.
10980
718ee4dc
UW
109812014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10982
10983 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10984
401e27fd
JM
109852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10986
10987 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10988 the sigreturn register save area only if the syscall is
10989 sigreturn.
10990
a7c88acd
JB
109912014-01-29 Joel Brobecker <brobecker@adacore.com>
10992
10993 * valops.c (value_slice): Minor reformatting.
10994
fa0079ea
UW
109952014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10996
10997 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10998
c6044dd1
JB
109992014-01-28 Joel Brobecker <brobecker@adacore.com>
11000
11001 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11002 New static globals.
11003 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11004 (ada_ignore_descriptive_types_p): New static global.
11005 (find_parallel_type_by_descriptive_type): Return immediately
11006 if ada_ignore_descriptive_types_p is set.
11007 (_initialize_ada_language): Register new commands "maintenance
11008 set ada", "maintenance show ada", "maintenance set ada
11009 ignore-descriptive-types" and "maintenance show ada
11010 ignore-descriptive-types".
11011 * NEWS: Add entry for new "maint ada set/show
11012 ignore-descriptive-types" commands.
11013
568e808b
MM
110142014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11015
11016 * record-btrace.c (record_btrace_close): Call btrace_teardown
11017 for all threads.
11018
467d141b
JB
110192014-01-27 Joel Brobecker <brobecker@adacore.com>
11020
11021 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11022 "ui-out.h".
11023
fb151210
JB
110242014-01-27 Joel Brobecker <brobecker@adacore.com>
11025
11026 * ada-typeprint (type_is_full_subrange_of_target_type):
11027 New function.
11028 (print_range): Add parameter bounds_prefered_p. If not set,
11029 try printing range types using the name of their base type.
11030 (print_range_type): Add parameter bounds_prefered_p.
11031 Use it in call to print_range.
11032 (print_array_type, ada_print_type): Update calls to print_range
11033 and print_range_type.
11034
aba02109
JB
110352014-01-27 Joel Brobecker <brobecker@adacore.com>
11036
11037 * ada-typeprint.c (print_array_type, print_choices, print_range)
11038 (print_range_bound, print_dynamic_range_bound, print_range_type):
11039 Remove declaration.
11040
e62e21fd
JB
110412014-01-27 Joel Brobecker <brobecker@adacore.com>
11042
11043 * ada-typeprint.c (print_range): Add missing empty line
11044 after local declaration.
11045
859cf5d1
JB
110462014-01-27 Joel Brobecker <brobecker@adacore.com>
11047
11048 * ada-valprint.c (print_optional_low_bound): Get index_type's
11049 target type for as long as it is a TYPE_CODE_RANGE.
11050
25790f6f
JB
110512014-01-27 Joel Brobecker <brobecker@adacore.com>
11052
11053 * procfs.c (procfs_make_note_section): Remove assertion and
11054 associated comment.
11055
6b6aa828
YQ
110562014-01-24 Yao Qi <yao@codesourcery.com>
11057
11058 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11059 * corelow.c (get_core_siginfo): Likewise.
11060
5d6df423
YQ
110612014-01-24 Yao Qi <yao@codesourcery.com>
11062
11063 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11064 ULONGEST. Don't check 'len' is negative.
11065 (remote_write_bytes): Change type of 'len' to ULONGEST.
11066
83b645b8
TT
110672014-01-23 Tom Tromey <tromey@redhat.com>
11068
11069 PR python/16485:
11070 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11071 Handle exception from frame.block.
11072 (FrameVars.fetch_frame_locals): Likewise.
11073
0740f8d8
TT
110742014-01-23 Tom Tromey <tromey@redhat.com>
11075
11076 PR python/16487:
11077 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11078 on a NULL pointer. Move "goto error" to correct place.
11079
21909fa1
TT
110802014-01-23 Tom Tromey <tromey@redhat.com>
11081
11082 PR python/16491:
11083 * python/py-framefilter.c (apply_frame_filter): Call
11084 ensure_python_env after computing gdbarch.
11085
17fde6d0
YQ
110862014-01-23 Yao Qi <yao@codesourcery.com>
11087
11088 * target.c (raw_memory_xfer_partial): Change argument type
11089 from void * to gdb_byte *.
11090 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11091
87ce2a04
DE
110922014-01-22 Doug Evans <dje@google.com>
11093
11094 New gdbserver option --debug-format=timestamp.
11095 * NEWS: Mention it.
11096
237b092b
AA
110972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11098
11099 * syscalls/s390x-linux.xml: New file.
11100 * syscalls/s390-linux.xml: New file.
11101 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11102 (XML_SYSCALL_FILENAME_S390X): Likewise.
11103 (op_svc): New enum value for SVC opcode.
11104 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11105 (s390_linux_get_syscall_number): New function.
11106 (s390_gdbarch_init): Register '*get_syscall_number' and the
11107 syscall xml file name.
11108 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11109 "s390-linux.xml" and "s390x-linux.xml".
11110 * NEWS: Announce new feature.
11111
54bff650
BS
111122014-01-22 Baruch Siach <baruch@tkos.co.il>
11113
11114 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11115
14e361d7
PA
111162014-01-22 Pedro Alves <palves@redhat.com>
11117
11118 * xtensa-config.c: Include defs.h.
11119
46bbb3ed
JB
111202014-01-22 Joel Brobecker <brobecker@adacore.com>
11121
11122 * common/common-utils.h: Add "ARI:" comment beside __func__
11123 reference.
11124
3a80edfc
JB
111252014-01-22 Joel Brobecker <brobecker@adacore.com>
11126
11127 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11128 documentation a bit.
11129
4869db5e
RM
111302014-01-21 Roland McGrath <mcgrathr@google.com>
11131
11132 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11133 * configure: Regenerate.
11134 * aclocal.m4: Regenerate.
11135 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11136 New substituted variables.
11137 (install-strip): New target.
11138 (INSTALL_SCRIPT): New substituted variable.
11139 (FLAGS_TO_PASS): Add it.
11140 (install-only): Use $(INSTALL_SCRIPT) rather than
11141 $(INSTALL_PROGRAM) for gcore.
11142
9ea4267d
TT
111432014-01-20 Tom Tromey <tromey@redhat.com>
11144
11145 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11146 together.
11147
1f2bdf09
TT
111482014-01-20 Tom Tromey <tromey@redhat.com>
11149
11150 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11151 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11152 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11153 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11154 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11155 (struct cmd_list_element) <flags>: Remove.
11156 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11157 doc_allocated>: New fields.
11158 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11159 bitfields.
11160 * maint.c (maintenance_do_deprecate): Update.
11161 * top.c (execute_command): Update.
11162
e671835b
BS
111632014-01-20 Baruch Siach <baruch@tkos.co.il>
11164
11165 * xtensa-linux-nat.c: Include asm/ptrace.h.
11166
50367cd2
IB
111672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11168
11169 * Makefile.in (SFILES): Add d-support.c.
11170 (COMMON_OBS): Add d-support.o.
11171 * d-lang.h (d_parse_symbol): Add comment, now defined in
11172 d-support.c.
11173 * d-lang.c (parse_call_convention)
11174 (parse_attributes, parse_function_types)
11175 (parse_function_args, parse_type, parse_identifier)
11176 (call_convention_p, d_parse_symbol): Move functions to ...
11177 * d-support.c: ... New file.
11178
ec9f644a
IB
111792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11180
11181 * d-lang.h (d_parse_symbol): Add declaration.
11182 * d-lang.c (extract_identifiers)
11183 (extract_type_info): Remove functions.
11184 (parse_call_convention, parse_attributes)
11185 (parse_function_types, parse_function_args)
11186 (parse_type, parse_identifier, call_convention_p)
11187 (d_parse_symbol): New functions.
11188 (d_demangle): Use d_parse_symbol to demangle D symbols.
11189
94b1b47e
IB
111902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11191
11192 * d-lang.h (struct builtin_d_type): New data type.
11193 (builtin_d_type): Add declaration.
11194 * d-lang.c (d_language_arch_info, build_d_types)
11195 (builtin_d_type): New functions.
11196 (enum d_primitive_types): New data type.
11197 (d_language_defn): Change c_language_arch_info to
11198 d_language_arch_info.
11199 (d_type_data): New static variable.
11200 (_initialize_d_language): Initialize d_type_data.
11201
63778547
IB
112022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11203
11204 * d-lang.h (d_main_name): Add declaration.
11205 * d-lang.c (d_main_name): New function.
11206 * symtab.c (find_main_name): Add call to d_main_name.
11207
3271ba66
IB
112082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11209
11210 * d-lang.c (d_language_defn): Change macro_expansion_c to
11211 macro_expansion_no.
11212
d36b3012
IB
112132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11214
11215 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11216
c90a6fb7
SDJ
112172014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11218
11219 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11220 gdb_exception" declaration.
11221 * remote.c (getpkt_or_notif_sane): Likewise.
11222
749234e5
DE
112232014-01-17 Doug Evans <dje@google.com>
11224
11225 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11226 function, contents of dirnames_to_char_ptr_vec_append moved here.
11227 (delim_string_to_char_ptr_vec): New function.
11228 (dirnames_to_char_ptr_vec_append): Rewrite.
11229 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11230
df049a58
DE
112312014-01-17 Doug Evans <dje@google.com>
11232
11233 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11234 and moved here ...
11235 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11236 #include "common-utils.h".
11237 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11238 * common/vec.h (VEC_ASSERT_PASS): Update.
11239 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11240 (MACH_CHECK_ERROR): Update.
11241
69f97648
SM
112422014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11243
11244 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11245 comments.
11246 * gdbarch.h: Regenerate.
11247
98b1cfdc
TT
112482014-01-16 Tom Tromey <tromey@redhat.com>
11249
11250 * value.c (struct value) <regnum>: Move earlier.
11251
77a19445
TT
112522014-01-16 Tom Tromey <tromey@redhat.com>
11253
11254 * remote.c (extended_remote_create_inferior): Rename from
11255 extended_remote_create_inferior_1. Add "ops" argument. Remove
11256 old implementation.
11257
62261490
PA
112582014-01-16 Pedro Alves <palves@redhat.com>
11259
11260 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11261 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11262 the backchain.
11263
4d65956b
DE
112642014-01-16 Doug Evans <dje@google.com>
11265
11266 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11267
52834460
MM
112682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11269
11270 * btrace.h (btrace_thread_flag): New.
11271 (struct btrace_thread_info) <flags>: New.
11272 * record-btrace.c (record_btrace_resume_thread)
11273 (record_btrace_find_thread_to_move, btrace_step_no_history)
11274 (btrace_step_stopped, record_btrace_start_replaying)
11275 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11276 (record_btrace_find_resume_thread): New.
11277 (record_btrace_resume, record_btrace_wait): Extend.
11278 (record_btrace_can_execute_reverse): New.
11279 (record_btrace_open): Fail in non-stop mode.
11280 (record_btrace_set_replay): Split into this, ...
11281 (record_btrace_stop_replaying): ... this, ...
11282 (record_btrace_clear_histories): ... and this.
11283 (init_record_btrace_ops): Init to_can_execute_reverse.
11284 * NEWS: Announce it.
11285
118e6252
MM
112862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11287
11288 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11289 (forward_target_decr_pc_after_break)
11290 (target_decr_pc_after_break): New.
11291 * target.c (forward_target_decr_pc_after_break)
11292 (target_decr_pc_after_break): New.
11293 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11294 instead of gdbarch_decr_pc_after_break.
11295 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11296 instead of gdbarch_decr_pc_after_break.
11297 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11298 instead of gdbarch_decr_pc_after_break.
11299 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11300 instead of gdbarch_decr_pc_after_break.
11301 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11302 instead of gdbarch_decr_pc_after_break.
11303 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11304 instead of gdbarch_decr_pc_after_break.
11305
6e07b1d2
MM
113062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11307
11308 * btrace.c: Include regcache.h.
11309 (btrace_add_pc): New.
11310 (btrace_enable): Call btrace_add_pc.
11311 (btrace_is_empty): New.
11312 * btrace.h (btrace_is_empty): New.
11313 * record-btrace.c (require_btrace, record_btrace_info): Call
11314 btrace_is_empty.
11315
969c39fb
MM
113162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11317
11318 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11319 Support delta reads.
11320 (linux_disable_btrace): Change return type.
11321 * common/linux-btrace.h (linux_read_btrace): Change parameters
11322 and return type to allow error reporting. Update users.
11323 (linux_disable_btrace): Change return type. Update users.
11324 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11325 New.
11326 (btrace_error): New.
11327 (btrace_block) <begin>: Comment on BEGIN == 0.
11328 * btrace.c (btrace_compute_ftrace): Start from the end of
11329 the current trace.
11330 (btrace_stitch_trace, btrace_clear_history): New.
11331 (btrace_fetch): Read delta trace, return if replaying.
11332 (btrace_clear): Move clear history code to btrace_clear_history.
11333 (parse_xml_btrace): Throw an error if parsing failed.
11334 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11335 and return type to allow error reporting.
11336 (target_read_btrace): Change parameters and return type to allow
11337 error reporting.
11338 * target.c (target_read_btrace): Update.
11339 * remote.c (remote_read_btrace): Support delta reads. Pass
11340 errors on.
11341 * NEWS: Announce it.
11342
0b722aec
MM
113432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11344
11345 * record.h (record_btrace_frame_unwind)
11346 (record_btrace_tailcall_frame_unwind): New declarations.
11347 * dwarf2-frame: Include record.h
11348 (dwarf2_frame_cfa): Throw an error for btrace frames.
11349 * record-btrace.c: Include hashtab.h.
11350 (btrace_get_bfun_name): New.
11351 (btrace_call_history): Call btrace_get_bfun_name.
11352 (struct btrace_frame_cache): New.
11353 (bfcache): New.
11354 (bfcache_hash, bfcache_eq, bfcache_new): New.
11355 (btrace_get_frame_function): New.
11356 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11357 (record_btrace_frame_this_id): Compute own id.
11358 (record_btrace_frame_prev_register): Provide PC, throw_error
11359 for all other registers.
11360 (record_btrace_frame_sniffer): Detect btrace frames.
11361 (record_btrace_tailcall_frame_sniffer): New.
11362 (record_btrace_frame_dealloc_cache): New.
11363 (record_btrace_frame_unwind): Add new functions.
11364 (record_btrace_tailcall_frame_unwind): New.
11365 (_initialize_record_btrace): Allocate cache.
11366 * btrace.c (btrace_clear): Call reinit_frame_cache.
11367 * NEWS: Announce it.
11368
066ce621
MM
113692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11370
11371 * record-btrace.c (record_btrace_set_replay)
11372 (record_btrace_goto_begin, record_btrace_goto_end)
11373 (record_btrace_goto): New.
11374 (init_record_btrace_ops): Initialize them.
11375 * NEWS: Announce it.
11376
e2887aa3
MM
113772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11378
11379 * record-btrace.c (record_btrace_find_new_threads)
11380 (record_btrace_thread_alive): New.
11381 (init_record_btrace_ops): Initialize to_find_new_threads and
11382 to_thread_alive.
11383
b2f4cfde
MM
113842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11385
11386 * record-btrace.c (record_btrace_resume): New.
11387 (record_btrace_wait): New.
11388 (init_record_btrace_ops): Initialize to_wait and to_resume.
11389
633785ff
MM
113902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11391
11392 * record-btrace.c (record_btrace_xfer_partial)
11393 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11394 (record_btrace_allow_memory_access): New.
11395 (init_record_btrace_ops): Initialize new methods.
11396 * target.c (raw_memory_xfer_partial): Bail out if target reports
11397 that this memory is not available.
11398
3db08215
MM
113992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11400
11401 * target.h (target_ops) <to_insert_breakpoint>
11402 <to_remove_breakpoint>: Add target_ops parameter.
11403 (forward_target_insert_breakpoint): New.
11404 (forward_target_remove_breakpoint): New.
11405 (memory_remove_breakpoint, memory_insert_breakpoint):
11406 Add target_ops parameter.
11407 * target.c (target_insert_breakpoint): Split into this and ...
11408 (forward_target_insert_breakpoint): ... this.
11409 (target_remove_breakpoint): Split into this and ...
11410 (forward_target_remove_breakpoint): ... this.
11411 (debug_to_insert_breakpoint): Add target_ops parameter.
11412 Call forward_target_insert_breakpoint.
11413 (debug_to_remove_breakpoint): Add target_ops parameter.
11414 Call forward_target_remove_breakpoint.
11415 (update_current_target): Do not inherit or default to_insert_breakpoint
11416 and to_remove_breakpoint.
11417 * corelow.c (ignore): Add target_ops parameter.
11418 * exec.c (ignore): Add target_ops parameter.
11419 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11420 Add target_ops parameter.
11421 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11422 Add target_ops parameter.
11423 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11424 Add target_ops parameter.
11425 * record-full.c (record_full_beneath_to_insert_breakpoint)
11426 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11427 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11428 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11429 (record_full_core_remove_breakpoint): Add target_ops parameter.
11430 Update users.
11431 (record_full_beneath_to_insert_breakpoint_ops)
11432 (record_full_beneath_to_remove_breakpoint_ops)
11433 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11434 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11435 tmp_to_remove_breakpoint_ops,
11436 record_full_beneath_to_insert_breakpoint_ops, and
11437 record_full_beneath_to_remove_breakpoint_ops.
11438 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11439 (m32r_remove_breakpoint): Add target_ops parameter.
11440 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11441 Add target_ops parameter.
11442 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11443 Add target_ops parameter.
11444
cecac1ab
MM
114452014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11446 Markus Metzger <markus.t.metzger@intel.com>
11447
11448 * record-btrace.c: Include frame-unwind.h.
11449 (record_btrace_frame_unwind_stop_reason)
11450 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11451 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11452 New.
11453 (init_record_btrace_ops): Install it.
11454
824344ca
MM
114552014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11456
11457 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11458 get_prev_frame_1.
11459
32261e52
MM
114602014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11463 earlier.
11464
ea001bdc
MM
114652014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11466
11467 * frame-unwind.c: Include target.h.
11468 (frame_unwind_try_unwinder): New function with code from ...
11469 (frame_unwind_find_by_frame): ... here. New variable
11470 unwinder_from_target, call also target_get_unwinder)
11471 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11472 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11473 * target.h (struct target_ops): New fields to_get_unwinder and
11474 to_get_tailcall_unwinder.
11475 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11476
1f3ef581
MM
114772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11478
11479 * record-btrace.c (record_btrace_fetch_registers)
11480 (record_btrace_store_registers)
11481 (record_btrace_to_prepare_to_store): New.
11482 (init_record_btrace_ops): Add the above.
11483
f32dbf8c
MM
114842014-01-16 Tom Tromey <tromey@redhat.com>
11485
11486 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11487 * target.h (struct target_ops) <to_prepare_to_store>: Add
11488 argument.
11489 (target_prepare_to_store): Add argument.
11490 * target.c (debug_to_prepare_to_store): Add argument.
11491 (update_current_target): Update.
11492 * remote.c (remote_prepare_to_store): Add 'self' argument.
11493 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11494 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11495 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11496 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11497 argument.
11498 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11499 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11500 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11501 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11502 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11503
07bbe694
MM
115042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11505
11506 * btrace.h (replay) <replay>: New.
11507 (btrace_is_replaying): New.
11508 * btrace.c (btrace_clear): Free replay iterator.
11509 (btrace_is_replaying): New.
11510 * record-btrace.c (record_btrace_is_replaying): New.
11511 (record_btrace_info): Print insn number if replaying.
11512 (record_btrace_insn_history): Start at replay position.
11513 (record_btrace_call_history): Start at replay position.
11514 (init_record_btrace_ops): Init to_record_is_replaying.
11515
0688d04e
MM
115162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11517
11518 * record-btrace.c (record_btrace_insn_history_range): Include
11519 end.
11520 (record_btrace_insn_history_from): Adjust range.
11521 (record_btrace_call_history_range): Include
11522 end.
11523 (record_btrace_call_history_from): Adjust range.
11524 * NEWS: Announce changes.
11525
8710b709
MM
115262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11527
11528 * record.h (enum record_print_flag)
11529 <record_print_indent_calls>: New.
11530 * record.c (get_call_history_modifiers): Recognize /c modifier.
11531 (_initialize_record): Document /c modifier.
11532 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11533 Reorder fields. Optionally indent the function name. Update
11534 all users.
11535 * NEWS: Announce changes.
11536
d0fa7535
MM
115372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11538
11539 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11540
5de9129b
MM
115412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11542
11543 * btrace.c (ftrace_new_function): Start counting at one.
11544 * record-btrace.c (record_btrace_info): Adjust number of calls
11545 and insns.
11546 * NEWS: Announce it.
11547
7acbe133
MM
115482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11549
11550 * record-btrace.c (btrace_call_history_insn_range): Print
11551 insn range as [begin, end].
11552
23a7fe75
MM
115532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11554
11555 * btrace.h (struct btrace_func_link): New.
11556 (enum btrace_function_flag): New.
11557 (struct btrace_inst): Rename to ...
11558 (struct btrace_insn): ...this. Update all users.
11559 (struct btrace_func) <ibegin, iend>: Remove.
11560 (struct btrace_func_link): New.
11561 (struct btrace_func): Rename to ...
11562 (struct btrace_function): ...this. Update all users.
11563 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11564 (number, level, flags>: New.
11565 (struct btrace_insn_iterator): Rename to ...
11566 (struct btrace_insn_history): ...this.
11567 Update all users.
11568 (struct btrace_insn_iterator, btrace_call_iterator): New.
11569 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11570 (struct btrace_target_info) <begin, end, level>
11571 <insn_history, call_history>: New.
11572 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11573 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11574 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11575 (btrace_call_number, btrace_call_begin, btrace_call_end)
11576 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11577 (btrace_find_function_by_number, btrace_set_insn_history)
11578 (btrace_set_call_history): New.
11579 * btrace.c (btrace_init_insn_iterator)
11580 (btrace_init_func_iterator, compute_itrace): Remove.
11581 (ftrace_print_function_name, ftrace_print_filename)
11582 (ftrace_skip_file): Change
11583 parameter to const.
11584 (ftrace_init_func): Remove.
11585 (ftrace_debug): Use new btrace_function fields.
11586 (ftrace_function_switched): Also consider gaining and
11587 losing symbol information).
11588 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11589 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11590 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11591 New.
11592 (ftrace_new_function): Move. Remove debug print.
11593 (ftrace_update_lines, ftrace_update_insns): New.
11594 (ftrace_update_function): Check for call, ret, and jump.
11595 (compute_ftrace): Renamed to ...
11596 (btrace_compute_ftrace): ...this. Rewritten to compute call
11597 stack.
11598 (btrace_fetch, btrace_clear): Updated.
11599 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11600 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11601 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11602 (btrace_call_number, btrace_call_begin, btrace_call_end)
11603 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11604 (btrace_find_function_by_number, btrace_set_insn_history)
11605 (btrace_set_call_history): New.
11606 * record-btrace.c (require_btrace): Use new btrace thread
11607 info fields.
11608 (record_btrace_info, btrace_insn_history)
11609 (record_btrace_insn_history, record_btrace_insn_history_range):
11610 Use new btrace thread info fields and new iterator.
11611 (btrace_func_history_src_line): Rename to ...
11612 (btrace_call_history_src_line): ...this. Use new btrace
11613 thread info fields.
11614 (btrace_func_history): Rename to ...
11615 (btrace_call_history): ...this. Use new btrace thread info
11616 fields and new iterator.
11617 (record_btrace_call_history, record_btrace_call_history_range):
11618 Use new btrace thread info fields and new iterator.
11619
8372a7cb
MM
116202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11621
11622 * frame.h (frame_id_build_unavailable_stack_special): New.
11623 * frame.c (frame_id_build_unavailable_stack_special): New.
11624
c2170eef
MM
116252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11626
11627 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11628 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11629 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11630 to gdbarch.
11631 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11632 (i386_insn_is_jump, i386_jmp_p): New.
11633 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11634 insn_is_jump to gdbarch.
11635 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11636 * gdbarch.h: Regenerated.
11637 * gdbarch.c: Regenerated.
11638 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11639 (default_insn_is_jump): New.
11640 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11641 (default_insn_is_jump): New.
11642
864089d2
MM
116432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11644
11645 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11646 Change to ...
11647 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11648 (btrace_read_type) <btrace_read_new>: Change to ...
11649 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11650
ed9edfb5
MM
116512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11652
11653 * common/linux-btrace.c (linux_read_btrace): Free trace from
11654 previous iteration.
11655
fbcbc3fd
DE
116562014-01-15 Doug Evans <dje@google.com>
11657
11658 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11659 uint32_t.
11660
3d548a53
TT
116612014-01-15 Tom Tromey <tromey@redhat.com>
11662
11663 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11664 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11665 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11666 (set_objfile_main_name): New function.
11667 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11668 language_of_main>: New fields.
11669 (set_objfile_main_name): Declare.
11670 * symtab.c (find_main_name): Loop over objfiles to find the main
11671 name and language.
11672 (set_main_name): Now static.
11673 (get_main_info): Add comment.
11674 * symtab.h (set_main_name): Don't declare.
11675
32ac0d11
TT
116762014-01-15 Tom Tromey <tromey@redhat.com>
11677
11678 * symtab.c (main_progspace_key): New global.
11679 (struct main_info): New.
11680 (name_of_main, language_of_main): Remove.
11681 (get_main_info, main_info_cleanup): New function.
11682 (set_main_name, main_name, main_language): Use get_main_info.
11683 (_initialize_symtab): Initialize main_progspace_key.
11684
9e6c82ad
TT
116852014-01-15 Tom Tromey <tromey@redhat.com>
11686
11687 * dbxread.c (process_one_symbol): Update.
11688 * dwarf2read.c (read_partial_die): Update.
11689 * symfile.c (set_initial_language): Call main_language.
11690 * symtab.c (language_of_main): Now static.
11691 (set_main_name): Add 'lang' parameter.
11692 (find_main_name): Update.
11693 (main_language): New function.
11694 (symtab_observer_executable_changed): Update.
11695 * symtab.h (set_main_name): Update.
11696 (language_of_main): Remove.
11697 (main_language): Declare.
11698
6ef55de7
TT
116992014-01-15 Tom Tromey <tromey@redhat.com>
11700
11701 * symfile.c (init_entry_point_info): Use new "initialized" field.
11702 Update.
11703 * objfiles.h (struct entry_point) <initialized>: New field.
11704 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11705 (struct objfile) <ei>: ...here. Remove.
11706 * objfiles.c (entry_point_address_query): Update.
11707
53eddfa6
TT
117082014-01-15 Tom Tromey <tromey@redhat.com>
11709
11710 * objfiles.c (entry_point_address_query): Relocate entry point
11711 address.
11712 (objfile_relocate1): Do not relocate entry point address.
11713 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11714 <the_bfd_section_index>: New field.
11715 * symfile.c (init_entry_point_info): Find the entry point's
11716 section.
11717
d56e56aa
TT
117182014-01-15 Tom Tromey <tromey@redhat.com>
11719
11720 * solib-frv.c (enable_break): Use entry_point_address_query.
11721
33a97bbe
OJ
117222014-01-15 Omair Javaid <omair.javaid@linaro.org>
11723
11724 * NEWS: Add note on improved process record-replay on
11725 arm*-linux* targets.
11726
c6ec2b30
OJ
117272014-01-15 Omair Javaid <omair.javaid@linaro.org>
11728
11729 * arm-tdep.c (enum arm_record_result): New enum.
11730 (arm_record_unsupported_insn): New function.
11731 (arm_record_coproc_data_proc): Removed.
11732 (thumb2_record_ld_st_multiple): New function.
11733 (thumb2_record_ld_st_dual_ex_tbb): New function.
11734 (thumb2_record_data_proc_sreg_mimm): New function.
11735 (thumb2_record_ps_dest_generic): New function.
11736 (thumb2_record_branch_misc_cntrl): New function.
11737 (thumb2_record_str_single_data): New function.
11738 (thumb2_record_ld_mem_hints): New function.
11739 (thumb2_record_ld_word): New function.
11740 (thumb2_record_lmul_lmla_div): New function.
11741 (thumb2_record_decode_insn_handler): New function.
11742 (decode_insn): Add thumb32 instruction handlers.
11743
97dfe206
OJ
117442014-01-15 Omair Javaid <omair.javaid@linaro.org>
11745
11746 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11747 (struct arm_linux_record_tdep): Declare.
11748 (arm_canonicalize_syscall): New function.
11749 (arm_all_but_pc_registers_record): New function.
11750 (arm_linux_syscall_record): New function.
11751 (arm_linux_init_abi): Add syscall recording constructs.
11752 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11753 decoding. (arm_record_coproc_data_proc): Update arm syscall
11754 decoding.
11755 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11756 <arm_syscall_record>: New field.
11757 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11758 gdb_target_obs.
11759
9904a494
OJ
117602014-01-15 Omair Javaid <omair.javaid@linaro.org>
11761
11762 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11763 register for push instruction recording.
11764
f969241e
OJ
117652014-01-15 Omair Javaid <omair.javaid@linaro.org>
11766
11767 * arm-tdep.c (thumb_record_misc): Update to correct logical
11768 error while recording ldm, ldmia and pop instructions.
11769
bfbbec00
OJ
117702014-01-15 Omair Javaid <omair.javaid@linaro.org>
11771
11772 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11773
e40adcc9
PA
117742014-01-15 Pedro Alves <palves@redhat.com>
11775
11776 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11777 (go32_resume, go32_fetch_registers, store_register)
11778 (go32_store_registers, go32_prepare_to_store)
11779 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11780 (go32_create_inferior, go32_can_run, go32_terminal_init)
11781 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11782 declarations.
11783
b0a16e66
TT
117842014-01-15 Tom Tromey <tromey@redhat.com>
11785
11786 * target.h (async_callback_ftype): New typedef.
11787 (struct target_ops) <to_async>: Use it.
11788
bf7105a4
JB
117892014-01-15 Joel Brobecker <brobecker@adacore.com>
11790
11791 * python/py-value.c (get_field_type): Remove unnecessary curly
11792 braces for single-statement if block.
11793
a8f35c2e
JB
117942014-01-15 Joel Brobecker <brobecker@adacore.com>
11795
11796 * python/py-type.c (convert_field): Add missing empty line
11797 after declarations.
11798
bb4142cf
DE
117992014-01-14 Doug Evans <dje@google.com>
11800
11801 * symfile.h (expand_symtabs_matching): Renamed from
11802 expand_partial_symbol_names. Update prototype.
11803 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11804 * symfile.c (expand_symtabs_matching): Renamed from
11805 expand_partial_symbol_names. New args file_matcher, kind.
11806 Rename arg fun to symbol_matcher.
11807 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11808 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11809 ada_expand_partial_symbol_name.
11810 (ada_make_symbol_completion_list): Update to call
11811 expand_symtabs_matching.
11812 (ada_add_global_exceptions): Call expand_symtabs_matching.
11813 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11814 call map_symbol_filenames.
11815 * symtab.c (sources_info): Update to call map_symbol_filenames.
11816 (search_symbols): Call expand_symtabs_matching.
11817 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11818 (default_make_symbol_completion_list_break_on): Update to call
11819 expand_symtabs_matching.
11820 (make_source_files_completion_list): Update to call
11821 map_symbol_filenames.
11822
206f2a57
DE
118232014-01-14 Doug Evans <dje@google.com>
11824
11825 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11826 (expand_symtabs_symbol_matcher_ftype): New typedef.
11827 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11828 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11829 * symfile.c (expand_partial_symbol_names): Update to use
11830 expand_symtabs_symbol_matcher_ftype.
11831 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11832 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11833 Arg name_matcher renamed to symbol_matcher.
11834 * psymtab.c (recursively_search_psymtabs): Update to use
11835 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11836 sym_matcher.
11837 (expand_symtabs_matching_via_partial): Update to use
11838 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11839 Arg name_matcher renamed to symbol_matcher.
11840
540c2971
DE
118412014-01-14 Doug Evans <dje@google.com>
11842
11843 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11844 (map_partial_symbol_filenames): Ditto.
11845 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11846 (map_partial_symbol_filenames): Ditto.
11847 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11848 (map_partial_symbol_filenames): Ditto.
11849 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11850 (map_partial_symbol_filenames): Ditto.
11851 * symtab.c: Delete #include "psymtab.h".
11852
8213266a
PA
118532014-01-14 Pedro Alves <palves@redhat.com>
11854 Tom Tromey <tromey@redhat.com>
11855
11856 * infrun.c (use_displaced_stepping): Use find_record_target
11857 instead of RECORD_IS_USED.
11858 (adjust_pc_after_break): Use record_full_is_used instead of
11859 RECORD_IS_USED.
11860 * record-btrace.c (record_btrace_open): Call record_preopen
11861 instead of checking RECORD_IS_USED.
11862 * record-full.c (record_full_shortname)
11863 (record_full_core_shortname): New globals.
11864 (record_full_is_used): New function.
11865 (find_full_open): Call record_preopen instead of checking
11866 RECORD_IS_USED.
11867 (init_record_full_ops): Set the target's shortname to
11868 record_full_shortname.
11869 (init_record_full_core_ops): Set the target's shortname to
11870 record_full_core_shortname.
11871 * record-full.h (record_full_is_used): Declare.
11872 * record.c (find_record_target): Make extern.
11873 (record_preopen): New function.
11874 * record.h (RECORD_IS_USED): Delete macro.
11875 (find_record_target, record_preopen): Declare functions.
11876
7ec1862d
YQ
118772014-01-14 Yao Qi <yao@codesourcery.com>
11878
11879 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11880 'len''s type to ULONGEST.
11881 (core_xfer_shared_libraries_aix): Likewise.
11882 * gdbarch.c, gdbarch.h: Regenerated.
11883 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11884 Change type of 'len' to ULONGEST.
11885 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11886 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11887
dea80a27
YQ
118882014-01-14 Yao Qi <yao@codesourcery.com>
11889
11890 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11891 type of 'len' to ULONGEST.
11892 (linux_xfer_osdata_processgroups): Likewise.
11893 (linux_xfer_osdata_threads): Likewise.
11894 (linux_xfer_osdata_fds): Likewise.
11895 (linux_xfer_osdata_isockets): Likewise.
11896 (linux_xfer_osdata_shm): Likewise.
11897 (linux_xfer_osdata_sem): Likewise.
11898 (linux_xfer_osdata_msg): Likewise.
11899 (linux_common_xfer_osdata): Likewise.
11900 (struct osdata_type) <getter>: Likewise.
11901 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11902 the declaration.
11903
b55e14c7
YQ
119042014-01-14 Yao Qi <yao@codesourcery.com>
11905
11906 * target.h (target_xfer_partial_ftype): Update.
11907 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11908 ULONGEST.
11909 * aix-thread.c (aix_thread_xfer_partial): Change type of
11910 argument 'len' to ULONGEST.
11911 * auxv.c (procfs_xfer_auxv): Likewise.
11912 (ld_so_xfer_auxv): Likewise.
11913 (memory_xfer_auxv): Likewise.
11914 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11915 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11916 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11917 * corelow.c (core_xfer_partial): Likewise.
11918 * ctf.c (ctf_xfer_partial): Likewise.
11919 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11920 '%u'.
11921 (darwin_read_dyld_info): Likewise.
11922 (darwin_xfer_partial): Likewise.
11923 * exec.c (section_table_xfer_memory_partial): Likewise.
11924 (exec_xfer_partial): Likewise.
11925 * exec.h (section_table_xfer_memory_partial): Update
11926 declaration.
11927 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11928 instead of plongest.
11929 (gnu_xfer_partial): Likewise.
11930 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11931 (ia64_hpux_xfer_solib_got): Likewise.
11932 (ia64_hpux_xfer_partial): Likewise.
11933 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11934 * inf-ptrace.c (inf_ptrace_xfer_partial):
11935 * inf-ttrace.c (inf_ttrace_xfer_partial):
11936 * linux-nat.c (linux_xfer_siginfo): Likewise.
11937 (linux_nat_xfer_partial): Likewise.
11938 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11939 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11940 * monitor.c (monitor_xfer_memory): Likewise.
11941 (monitor_xfer_partial): Likewise.
11942 * procfs.c (procfs_xfer_partial): Likewise.
11943 * record-full.c (record_full_xfer_partial): Likewise.
11944 (record_full_core_xfer_partial): Likewise.
11945 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11946 instead of plongest.
11947 (gdbsim_xfer_partial): Likewise.
11948 * remote.c (remote_xfer_partial): Likewise.
11949 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11950 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11951 declaration.
11952 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11953 (rs6000_xfer_shared_libraries): Likewise.
11954 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11955 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11956 (sparc_xfer_partial): Likewise.
11957 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11958 (spu_xfer_partial): Likewise.
11959 * spu-multiarch.c (spu_xfer_partial): Likewise.
11960 * target.c (target_read_live_memory): Likewise.
11961 (memory_xfer_live_readonly_partial): Likewise.
11962 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11963 (target_xfer_partial, default_xfer_partial): Likewise.
11964 (current_xfer_partial): Likewise.
11965 * tracepoint.c (tfile_xfer_partial): Likewise.
11966 * windows-nat.c (windows_xfer_memory): Likewise. Call
11967 pulongest instead of plongest.
11968 (windows_xfer_partial): Likewise.
11969 (windows_xfer_shared_libraries): Likewise.
11970
05804640
YQ
119712014-01-14 Yao Qi <yao@codesourcery.com>
11972
11973 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11974 target_xfer_partial_ftype.
11975
b5b08fb4
SC
119762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11977
11978 PR python/15464
11979 PR python/16113
11980 * valops.c (value_struct_elt_bitpos): New function
11981 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11982 object to 'None' if the field name is an empty string ("").
11983 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11984 attribute to look for a field when 'name' is 'None'.
11985 (get_field_type): New function
11986
13aaf454
DE
119872014-01-13 Doug Evans <dje@google.com>
11988
11989 PR symtab/16426
11990 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11991 (try_open_dwop_file): Ditto.
11992 * gdb_bfd.c: #include "vec.h".
11993 (bfdp): New typedef.
11994 (struct gdb_bfd_data): New member included_bfds.
11995 (gdb_bfd_unref): Unref all included bfds.
11996 (gdb_bfd_record_inclusion): New function.
11997 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11998
c2cec97c
TT
119992014-01-13 Tom Tromey <tromey@redhat.com>
12000
12001 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12002
78e5999d
TT
120032014-01-13 Tom Tromey <tromey@redhat.com>
12004
12005 * defs.h (use_windows): Remove.
12006 * gdb.c (main): Update.
12007 * main.c (captured_main, gdb_main): Update.
12008 * main.h (struct captured_main_args) <use_windows>: Remove.
12009 * top.c (use_windows): Remove.
12010
f2052bbe
TT
120112014-01-13 Tom Tromey <tromey@redhat.com>
12012
12013 * defs.h (deprecated_flush_hook): Remove.
12014
fde4f8ed
JK
120152014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12016
12017 PR threads/16216
12018 * linux-thread-db.c (try_thread_db_load): Add parameter
12019 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12020 (try_thread_db_load_from_pdir_1): Move it there from here.
12021 (try_thread_db_load_from_sdir): Update caller.
12022 (try_thread_db_load_from_dir): Move it there from here.
12023
bdf61915
PP
120242014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12025
12026 * regformats/regdat.sh: Always rewrite the register file.
12027
f71e1a8d
PA
120282014-01-13 Pedro Alves <palves@redhat.com>
12029
12030 * Makefile.in (CHECK_HEADERS): New variable.
12031 (check-headers:): New rule.
12032
42c85435
TT
120332014-01-13 Tom Tromey <tromey@redhat.com>
12034
12035 * cli/cli-setshow.c (do_set_command): Update.
12036 * defs.h (deprecated_set_hook): Remove.
12037 * top.c (deprecated_set_hook): Remove.
12038
f8de5129
PA
120392014-01-13 Pedro Alves <palves@redhat.com>
12040
12041 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12042 the tracepoint if the PC is a pseudo-register.
12043
fc270c35
TT
120442014-01-13 Tom Tromey <tromey@redhat.com>
12045
12046 * defs.h (XCALLOC): Remove.
12047 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12048 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12049 * dwarf2loc.c (allocate_piece_closure): Likewise.
12050 * elfread.c (elf_symfile_segments): Likewise.
12051 (elf_symfile_segments): Likewise.
12052 * gdbtypes.c (copy_type_recursive): Likewise.
12053 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12054 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12055 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12056 XCALLOC.
12057 * mt-tdep.c (mt_gdbarch_init): Likewise.
12058 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12059 XCALLOC.
12060 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12061 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12062 * registry.c (registry_alloc_data): Likewise.
12063 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12064 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12065 * serial.c (serial_fdopen_ops): Likewise.
12066 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12067 XCALLOC.
12068 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12069 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12070 not XCALLOC.
12071
70ba0933
TT
120722014-01-13 Tom Tromey <tromey@redhat.com>
12073
12074 * defs.h (XMALLOC): Remove.
12075 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12076 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12077 * cli-out.c (struct ui_out *): Likewise.
12078 * cli/cli-dump.c (add_dump_command): Likewise.
12079 (add_dump_command): Likewise.
12080 * complaints.c (get_complaints): Likewise.
12081 (find_complaint): Likewise.
12082 * dwarf2-frame.c (execute_cfa_program): Likewise.
12083 * dwarf2read.c (abbrev_table_read_table): Likewise.
12084 * gdbarch.sh: Likewise.
12085 * gdbarch.c: Rebuild.
12086 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12087 * interps.c (interp_new): Likewise.
12088 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12089 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12090 * mi/mi-console.c (mi_console_file_new): Likewise.
12091 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12092 * mi/mi-out.c (mi_out_new): Likewise.
12093 * mi/mi-parse.c (mi_parse): Likewise.
12094 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12095 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12096 * observer.c (xalloc_observer_list_node): Likewise.
12097 * regcache.c (regcache_xmalloc_1): Likewise.
12098 * reggroups.c (reggroup_new): Likewise.
12099 (_initialize_reggroup): Likewise.
12100 * registry.c (register_data_with_cleanup): Likewise.
12101 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12102 * ser-base.c (serial_ttystate): Likewise.
12103 * ser-mingw.c (make_pipe_state): Likewise.
12104 * ser-pipe.c (pipe_open): Likewise.
12105 * serial.c (serial_open): Likewise.
12106 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12107 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12108 (tui_alloc_win_info): Likewise.
12109 (tui_add_content_elements): Likewise.
12110 * tui/tui-file.c (tui_file_new): Likewise.
12111 * tui/tui-out.c (tui_out_new): Likewise.
12112 * ui-file.c (mem_file_new): Likewise.
12113 * ui-out.c (push_level): Likewise.
12114 (make_cleanup_ui_out_end): Likewise.
12115 (append_header_to_list): Likewise.
12116 (ui_out_new): Likewise.
12117 * user-regs.c (user_reg_add_builtin): Likewise.
12118
41bf6aca
TT
121192014-01-13 Tom Tromey <tromey@redhat.com>
12120
12121 * defs.h (XZALLOC): Remove.
12122 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12123 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12124 (get_ada_tasks_inferior_data): Likewise.
12125 * auto-load.c (get_auto_load_pspace_data): Likewise.
12126 * auxv.c (get_auxv_inferior_data): Likewise.
12127 * bfd-target.c (target_bfd_reopen): Likewise.
12128 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12129 (deprecated_insert_raw_breakpoint): Likewise.
12130 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12131 * corelow.c (core_open): Likewise.
12132 * darwin-nat.c (darwin_check_new_threads): Likewise.
12133 (darwin_attach_pid): Likewise.
12134 * dummy-frame.c (dummy_frame_push): Likewise.
12135 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12136 * dwarf2loc.c (allocate_piece_closure): Likewise.
12137 * elfread.c (elf_symfile_segments): Likewise.
12138 * eval.c (ptrmath_type_p): Likewise.
12139 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12140 * gdbtypes.c (alloc_type_arch): Likewise.
12141 (alloc_type_instance): Likewise.
12142 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12143 * inf-child.c (inf_child_can_use_agent): Likewise.
12144 * inflow.c (get_inflow_inferior_data): Likewise.
12145 * infrun.c (save_infcall_suspend_state): Likewise.
12146 * jit.c (jit_reader_load): Likewise.
12147 (get_jit_objfile_data): Likewise.
12148 (get_jit_program_space_data): Likewise.
12149 (jit_object_open_impl): Likewise.
12150 (jit_symtab_open_impl): Likewise.
12151 (jit_block_open_impl): Likewise.
12152 (jit_frame_sniffer): Likewise.
12153 * linux-fork.c (add_fork): Likewise.
12154 * maint.c (make_command_stats_cleanup): Likewise.
12155 * objfiles.c (get_objfile_pspace_data): Likewise.
12156 * opencl-lang.c (struct lval_closure): Likewise.
12157 * osdata.c (osdata_start_osdata): Likewise.
12158 * progspace.c (new_address_space): Likewise.
12159 (add_program_space): Likewise.
12160 * remote-sim.c (get_sim_inferior_data): Likewise.
12161 * sh-tdep.c (sh_gdbarch_init): Likewise.
12162 * skip.c (Ignore): Likewise.
12163 (skip_delete_command): Likewise.
12164 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12165 (library_list_start_library): Likewise.
12166 (solib_aix_current_sos): Likewise.
12167 * solib-darwin.c (get_darwin_info): Likewise.
12168 (darwin_current_sos): Likewise.
12169 * solib-dsbt.c (get_dsbt_info): Likewise.
12170 * solib-ia64-hpux.c (new_so_list): Likewise.
12171 (ia64_hpux_get_solib_linkage_addr): Likewise.
12172 * solib-spu.c (append_ocl_sos): Likewise.
12173 (spu_current_sos): Likewise.
12174 * solib-svr4.c (get_svr4_info): Likewise.
12175 (svr4_keep_data_in_core): Likewise.
12176 (library_list_start_library): Likewise.
12177 (svr4_default_sos): Likewise.
12178 (svr4_read_so_list): Likewise.
12179 * solib-target.c (library_list_start_library): Likewise.
12180 (solib_target_current_sos): Likewise.
12181 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12182 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12183 * symfile.c (default_symfile_segments): Likewise.
12184 * target-descriptions.c (tdesc_data_init): Likewise.
12185 (tdesc_create_reg): Likewise.
12186 (struct tdesc_type *): Likewise.
12187 (tdesc_create_vector): Likewise.
12188 (tdesc_set_struct_size): Likewise.
12189 (struct tdesc_type *): Likewise.
12190 (tdesc_free_feature): Likewise.
12191 (tdesc_create_feature): Likewise.
12192 * windows-nat.c (windows_add_thread): Likewise.
12193 (windows_make_so): Likewise.
12194 * xml-support.c (gdb_xml_body_text): Likewise.
12195 (gdb_xml_create_parser_and_cleanup): Likewise.
12196 (xml_process_xincludes): Likewise.
12197 * xml-syscall.c (allocate_syscalls_info): Likewise.
12198 (syscall_create_syscall_desc): Likewise.
12199
5acfdbae
SDJ
122002014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12201
12202 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12203 function, with code from i386_stap_parse_special_token.
12204 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12205 (i386_stap_parse_special_token): Move code to the two functions
12206 above; simplify it.
12207
0000e5cc
PA
122082014-01-09 Pedro Alves <palves@redhat.com>
12209 Hui Zhu <hui@codesourcery.com>
12210
12211 PR gdb/16101
12212 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12213 bp_err_string. Don't mark the location shlib_disabled if the
12214 error thrown wasn't a generic or memory error. Catch errors
12215 thrown while inserting breakpoints in overlayed code. Output
12216 error message of software breakpoints.
12217 * remote.c (remote_insert_breakpoint): If this breakpoint has
12218 target-side commands but this stub doesn't support Z0 packets,
12219 throw NOT_SUPPORTED_ERROR error.
12220 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12221 * target.h (target_insert_breakpoint): Extend comment.
12222 (target_insert_hw_breakpoint): Add comment.
12223
b7ea362b
PA
122242014-01-08 Pedro Alves <palves@redhat.com>
12225
12226 * remote.c (remote_add_thread): Add threads silently if starting
12227 up.
12228 (remote_notice_new_inferior): If in all-stop, and starting up,
12229 don't call notice_new_inferior.
12230 (get_current_thread): New function, factored out from ...
12231 (add_current_inferior_and_thread): ... this. Adjust.
12232 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12233 found any thread, then select the remote's current thread as GDB's
12234 current thread too.
12235
b7bba001
JB
122362014-01-08 Joel Brobecker <brobecker@adacore.com>
12237
12238 * NEWS: Create a new section for the next release branch.
12239 Rename the section of the current branch, now that it has
12240 been cut.
12241
16dfbded
JB
122422014-01-08 Joel Brobecker <brobecker@adacore.com>
12243
12244 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12245 * version.in: Bump version to 7.7.50.DATE-cvs.
12246
22c90ac1
YQ
122472014-01-08 Yao Qi <yao@codesourcery.com>
12248
12249 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12250 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12251 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12252
d64ad97c
YQ
122532014-01-08 Yao Qi <yao@codesourcery.com>
12254
12255 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12256 return value of bfd_get_filename to symbol_file_add_from_bfd.
12257
f93ba80c
PM
122582014-01-08 Pierre Muller <muller@sourceware.org>
12259
12260 Fix PR16201.
12261 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12262 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12263 to prim_record_mininal_symbol_and_info.
12264 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12265 in call to prim_record_minimal_symbol_and_info.
12266 (read_pe_exported_syms): Set index field of section_data.
12267
a4d9ba85
AP
122682014-01-07 Andrew Pinski <apinski@cavium.com>
12269
12270 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12271 * features/aarch64.c: Regenerate.
12272
1b67eb02
AS
122732014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12274
12275 * target.c (return_null): Define.
12276 (update_current_target): Use it instead of return_zero for
12277 functions that return a pointer.
12278
5e3f4fab
EBM
122792014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12280
12281 * source.c (add_path): Fix check for duplicated paths in the previously
12282 included paths.
12283
e2616788
HK
122842014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12285
12286 * ada-lang.c: Remove duplicated include statements.
12287 * alphabsd-nat.c: Ditto.
12288 * amd64-darwin-tdep.c: Ditto.
12289 * amd64fbsd-nat.c: Ditto.
12290 * auto-load.c: Ditto.
12291 * ax-gdb.c: Ditto.
12292 * breakpoint.c: Ditto.
12293 * dbxread.c: Ditto.
12294 * fork-child.c: Ditto.
12295 * gdb_usleep.c: Ditto.
12296 * i386-darwin-tdep.c: Ditto.
12297 * i386fbsd-nat.c: Ditto.
12298 * infcmd.c: Ditto.
12299 * inferior.c: Ditto.
12300 * jv-lang.c: Ditto.
12301 * linux-nat.c: Ditto.
12302 * linux-tdep.c: Ditto.
12303 * m68kbsd-nat.c: Ditto.
12304 * m68klinux-nat.c: Ditto.
12305 * microblaze-tdep.c: Ditto.
12306 * mips-linux-tdep.c: Ditto.
12307 * mn10300-tdep.c: Ditto.
12308 * nto-tdep.c: Ditto.
12309 * opencl-lang.c: Ditto.
12310 * osdata.c: Ditto.
12311 * printcmd.c: Ditto.
12312 * regcache.c: Ditto.
12313 * remote-m32r-sdi.c: Ditto.
12314 * remote.c: Ditto.
12315 * symfile.c: Ditto.
12316 * symtab.c: Ditto.
12317 * tilegx-linux-nat.c: Ditto.
12318 * tilegx-tdep.c: Ditto.
12319 * tracepoint.c: Ditto.
12320 * valops.c: Ditto.
12321 * vaxbsd-nat.c: Ditto.
12322 * windows-nat.c: Ditto.
12323 * xtensa-tdep.c: Ditto.
12324
bd1f7788
YQ
123252014-01-07 Yao Qi <yao@codesourcery.com>
12326
12327 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12328
79301218
JB
123292014-01-07 Yao Qi <yao@codesourcery.com>
12330 Joel Brobecker <brobecker@adacore.com>
12331
12332 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12333 (pdc_write_regs): Likewise.
12334 (fetch_regs_kernel_thread): Likewise.
12335 (store_regs_kernel_thread): Likewise.
12336
123372014-01-07 Joel Brobecker <brobecker@adacore.com>
12338
12339 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12340 tagged type objects to their actual type.
12341
8e355c5d
JB
123422014-01-07 Joel Brobecker <brobecker@adacore.com>
12343
12344 * ada-valprint.c (print_field_values): Add "language" parameter.
12345 Update calls to print_field_values and print_variant_part.
12346 Pass new parameter "language" in call to val_print instead
12347 of "current_language". Replace call to ada_val_print by call
12348 to val_print.
12349 (print_variant_part): Add "language" parameter.
12350 (ada_val_print_struct_union): Update call to print_field_values.
12351
4fbf5aa5
JB
123522014-01-07 Joel Brobecker <brobecker@adacore.com>
12353
12354 * ada-valprint.c (ui_memcpy): Delete.
12355 (ada_print_floating): Update documentation. Add empty line
12356 between between function documentation and implementation.
12357 Delete variable "buffer". Use ui_file_xstrdup in place of
12358 ui_file_put. Minor adjustments following this change.
12359
71855601
JB
123602014-01-07 Joel Brobecker <brobecker@adacore.com>
12361
12362 * ada-valprint.c (ada_val_print_string): New function,
12363 extracted from ada_val_print_array.
12364 (ada_val_print_array): Replace extracted code by call
12365 to ada_val_print_string followed by a return. Move
12366 "else" branch to the function's top block.
12367
4eb27a30
JB
123682014-01-07 Joel Brobecker <brobecker@adacore.com>
12369
12370 * ada-valprint.c (ada_val_print_array): Move implementation
12371 down. Rename parameter "offset" and "val" into "offset_aligned"
12372 and "original_value" respectively. Add parameter "offset".
12373
34b27950
JB
123742014-01-07 Joel Brobecker <brobecker@adacore.com>
12375
12376 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12377 re-organizing the code. Change the "???" message printed
12378 when target type is a TYPE_CODE_UNDEF into
12379 "<ref to undefined type>".
12380
079e4591
JB
123812014-01-07 Joel Brobecker <brobecker@adacore.com>
12382
12383 * ada-valprint.c (print_record): Delete, implementation inlined...
12384 (ada_val_print_struct_union): ... here. Remove call to
12385 ada_check_typedef in inlined implementation.
12386
8004dfd1
JB
123872014-01-07 Joel Brobecker <brobecker@adacore.com>
12388
12389 * ada-valprint.c (ada_val_print_gnat_array): New function,
12390 extracted from ada_val_print_1;
12391 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12392 (ada_val_print_flt, ada_val_print_struct_union)
12393 (ada_val_print_ref): Likewise.
12394 (ada_val_print_1): Delete variables i and elttype.
12395 Replace extracted-out code by call to corresponding
12396 new functions.
12397
760a2db0
JB
123982014-01-07 Joel Brobecker <brobecker@adacore.com>
12399
12400 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12401
3a92c861
JB
124022014-01-07 Joel Brobecker <brobecker@adacore.com>
12403
12404 * ada-valprint.c (ada_val_print_1): Replace calls to
12405 ada_val_print_1 by calls to val_print.
12406
cd1630f9
JB
124072014-01-07 Joel Brobecker <brobecker@adacore.com>
12408
12409 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12410 Update calls to self accordingly. Replace calls to c_val_print
12411 by calls to val_print.
12412
bdf779a0
JB
124132014-01-07 Joel Brobecker <brobecker@adacore.com>
12414
12415 * ada-valprint.c (print_record): Delete declaration.
12416 (adjust_type_signedness, ada_val_print_1): Likewise.
12417 (ada_val_print): Move function implementation down.
12418 (print_variant_part, print_field_values, print_record):
12419 Move function implementation up.
12420
c0d48811
JB
124212014-01-07 Joel Brobecker <brobecker@adacore.com>
12422
12423 * python/py-type.c (typy_get_name): New function.
12424 (type_object_getset): Add entry for attribute "name".
12425 * NEWS: Add entry mentioning this new attribute.
12426
c26e9cbb
YQ
124272014-01-07 Yao Qi <yao@codesourcery.com>
12428
12429 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12430 statement.
12431
0cc6f43d
YQ
124322014-01-07 Yao Qi <yao@codesourcery.com>
12433
12434 * gnu-nat.c (info_port_rights): Add qualifier const to
12435 argument args.
12436
eec03155
YQ
124372014-01-07 Yao Qi <yao@codesourcery.com>
12438
12439 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12440
f04a82ef
YQ
124412014-01-07 Yao Qi <yao@codesourcery.com>
12442
12443 * gnu-nat.c (make_inf) Update declaration.
12444 (make_inf): Make it static.
12445 (inf_set_traced): Likewise.
12446 (inf_port_to_thread, inf_task_died_status): Likewise.
12447
d57dda0a
YQ
124482014-01-07 Yao Qi <yao@codesourcery.com>
12449
12450 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12451
3aa8c969
YQ
124522014-01-07 Yao Qi <yao@codesourcery.com>
12453
12454 * gnu-nat.c (_initialize_gnu_nat): Declare.
12455
94123b4f
YQ
124562014-01-07 Yao Qi <yao@codesourcery.com>
12457
12458 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12459 'enum bfd_endian'.
12460 (struct gdbarch_info) <byte_order>: Change type to
12461 'enum bfd_endian'.
12462 <byte_order_for_code>: Likewise.
12463 * gdbarch.c, gdbarch.h: Regenerated.
12464
dc81d70a
TT
124652014-01-06 Sasha Smundak <asmundak@google.com>
12466
12467 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12468
cc2f3c35
TT
124692014-01-06 Tom Tromey <tromey@redhat.com>
12470
12471 * doublest.c (convert_doublest_to_floatformat): Use const, not
12472 CONST.
12473 * somread.c (som_symtab_read): Likewise.
12474
adcf2eed
HZ
124752014-01-07 Hui Zhu <hui@codesourcery.com>
12476
12477 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12478 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12479 (gdb_bfd_fopen): Ditto.
12480 (gdb_bfd_openr): Ditto.
12481 (gdb_bfd_openw): Ditto.
12482 (gdb_bfd_openr_iovec): Ditto.
12483 (gdb_bfd_fdopenr): Ditto.
12484 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12485 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12486 with xstrdup.
12487 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12488 with xstrdup.
12489 * symfile-mem.c (symbol_file_add_from_memory): Removed
12490 gdb_bfd_stash_filename.
12491
50722198
DE
124922014-01-03 Doug Evans <dje@google.com>
12493
12494 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12495 output.
12496
2fa4b862
JB
124972014-01-01 Joel Brobecker <brobecker@adacore.com>
12498
12499 Update year range in copyright notice of all files.
12500
28498c42
JB
125012014-01-01 Joel Brobecker <brobecker@adacore.com>
12502
12503 * top.c (print_gdb_version): Set copyright year to 2014.
12504
7b6e1046
JB
125052014-01-01 Joel Brobecker <brobecker@adacore.com>
12506
12507 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12508
df96af55 12509For older changes see ChangeLog-2013.
c906108c
SS
12510\f
12511Local Variables:
12512mode: change-log
12513left-margin: 8
12514fill-column: 74
12515version-control: never
57da7796 12516coding: utf-8
c906108c 12517End:
This page took 2.248041 seconds and 4 git commands to generate.