d4166233495dc2bc592fa14d2e1b3f9a5f0df9bb
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 PR python/16699
4 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
5 function.
6 (add_cmd): Set "completer_handle_brkchars" to NULL.
7 * cli/cli-decode.h (struct cmd_list_element)
8 <completer_handle_brkchars>: New field.
9 * command.h (completer_ftype_void): New typedef.
10 (set_cmd_completer_handle_brkchars): New prototype.
11 * completer.c (set_gdb_completion_word_break_characters): New
12 function.
13 (complete_line_internal): Call "completer_handle_brkchars"
14 callback from command.
15 * completer.h: Include "command.h".
16 (set_gdb_completion_word_break_characters): New prototype.
17 * python/py-cmd.c (cmdpy_completer_helper): New function.
18 (cmdpy_completer_handle_brkchars): New function.
19 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
20 (cmdpy_init): Set completer_handle_brkchars to
21 cmdpy_completer_handle_brkchars.
22
23 2014-09-03 Gary Benson <gbenson@redhat.com>
24
25 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
26 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
27 Loop conditions changed to equivalent form.
28 (struct x86_debug_reg_state): Updated dr_ref_count comment.
29 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
30 ALL_DEBUG_ADDRESS_REGISTERS.
31
32 2014-09-03 Joel Brobecker <brobecker@adacore.com>
33
34 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
35 description fix.
36
37 2014-09-02 Doug Evans <dje@google.com>
38
39 * typeprint.c (find_global_typedef): Fix comment.
40
41 2014-09-02 Gary Benson <gbenson@redhat.com>
42
43 * i386-nat.h: Renamed as...
44 * x86-nat.h: New file. All type, function and variable name
45 prefixes changed from "i386_" to "x86_". All references updated.
46 * i386-nat.c: Renamed as...
47 * x86-nat.c: New file. All type, function and variable name
48 prefixes changed from "i386_" to "x86_". All references updated.
49 * common/i386-xstate.h: Renamed as...
50 * common/x86-xstate.h: New file. All type, function and variable
51 name prefixes changed from "i386_" to "x86_". All references
52 updated.
53 * nat/i386-cpuid.h: Renamed as...
54 * nat/x86-cpuid.h: New file. All type, function and variable name
55 prefixes changed from "i386_" to "x86_". All references updated.
56 * nat/i386-gcc-cpuid.h: Renamed as...
57 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
58 name prefixes changed from "i386_" to "x86_". All references
59 updated.
60 * nat/i386-dregs.h: Renamed as...
61 * nat/x86-dregs.h: New file. All type, function and variable name
62 prefixes changed from "i386_" to "x86_". All references updated.
63 * nat/i386-dregs.c: Renamed as...
64 * nat/x86-dregs.c: New file. All type, function and variable name
65 prefixes changed from "i386_" to "x86_". All references updated.
66
67 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
68
69 * varobj.c (_initialize_varobj): Move to the end of file.
70
71 2014-08-29 Gary Benson <gbenson@redhat.com>
72
73 * common/common-exceptions.h: New file.
74 * common/common-exceptions.c: Likewise.
75 * Makefile.in (SFILES): Add common/common-exceptions.c.
76 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
77 (COMMON_OBS): Add common-exceptions.o.
78 (common-exceptions.o): New rule.
79 * exceptions.h (common-exceptions.h): Include.
80 (gdb_setjmp.h): Do not include.
81 (return_reason): Moved to common-exceptions.h.
82 (enum return_reason): Likewise.
83 (RETURN_MASK): Likewise.
84 (typedef return_mask): Likewise.
85 (enum errors): Likewise.
86 (struct gdb_exception): Likewise.
87 (exceptions_state_mc_init): Likewise.
88 (exceptions_state_mc_action_iter): Likewise.
89 (exceptions_state_mc_action_iter_1): Likewise.
90 (TRY_CATCH): Likewise.
91 (throw_exception): Likewise.
92 (throw_verror): Likewise.
93 (throw_vquit): Likewise.
94 (throw_error): Likewise.
95 (throw_quit): Likewise.
96 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
97 (enum catcher_action): Likewise.
98 (struct catcher): Likewise.
99 (current_catcher): Likewise.
100 (catcher_list_size): Likewise.
101 (exceptions_state_mc_init): Likewise.
102 (catcher_pop): Likewise.
103 (exceptions_state_mc): Likewise.
104 (exceptions_state_mc_action_iter): Likewise.
105 (exceptions_state_mc_action_iter_1): Likewise.
106 (throw_exception): Likewise.
107 (exception_messages): Likewise.
108 (exception_messages_size): Likewise.
109 (throw_it): Likewise.
110 (throw_verror): Likewise.
111 (throw_vquit): Likewise.
112 (throw_error): Likewise.
113 (throw_quit): Likewise.
114 (prepare_to_throw_exception): New function.
115
116 2014-08-29 Gary Benson <gbenson@redhat.com>
117
118 * common/gdb_setjmp.h: New file.
119 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
120 * configure.ac: Move sigsetjmp check...
121 * common/common.m4: ...here.
122 * configure: Regenerate.
123 * cp-support.c (SIGJMP_BUF): Delete.
124 (SIGSETJMP): Likewise.
125 (SIGLONGJMP): Likewise.
126 * exceptions.h (gdb_setjmp.h): Include.
127 (setjmp.h): Do not include.
128 (EXCEPTIONS_SIGJMP_BUF): Delete.
129 (EXCEPTIONS_SIGSETJMP): Likewise.
130 (EXCEPTIONS_SIGLONGJMP): Likewise.
131 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
132 from gdb_setjmp.h.
133 * exceptions.c: Likewise.
134
135 2014-08-29 Gary Benson <gbenson@redhat.com>
136
137 * cleanups.h: Moved to...
138 * common/cleanups.h: New file.
139 * cleanups.c: Moved to...
140 * common/cleanups.c: New file. Include common-defs.h and
141 cleanups.h. Do not include defs.h.
142 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
143 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
144 (cleanups.o): New rule.
145
146 2014-08-29 Gary Benson <gbenson@redhat.com>
147
148 * common/errors.h (internal_warning): New declaration.
149 (internal_vwarning): Likewise.
150 * common/errors.c (internal_warning): New function.
151 * utils.h (internal_warning): Don't declare.
152 (internal_vwarning): Likewise.
153 * utils.c (internal_warning): Removed.
154
155 2014-08-29 Gary Benson <gbenson@redhat.com>
156
157 * main.c (captured_main): Use warning during startup.
158 Prefix startup warning messages with command name.
159
160 2014-08-29 Gary Benson <gbenson@redhat.com>
161
162 * main.c (captured_main): Handle usage errors with error.
163
164 2014-08-29 Gary Benson <gbenson@redhat.com>
165
166 * go32-nat.c (go32_create_inferior): Replace a fprintf/
167 exit pair with a call to error. Wrap the message with _().
168
169 2014-08-29 Gary Benson <gbenson@redhat.com>
170
171 * main.c (captured_main): Replace a fprintf/exit
172 pair with a call to error. Wrap the message with _().
173
174 2014-08-29 Gary Benson <gbenson@redhat.com>
175
176 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
177 pairs with calls to error. Wrap the message with _().
178
179 2014-08-29 Gary Benson <gbenson@redhat.com>
180
181 * utils.c (vwarning): Protect calls to target_terminal_ours
182 and wrap_here.
183
184 2014-08-29 Gary Benson <gbenson@redhat.com>
185
186 * exceptions.c (print_flush): Protect calls to
187 target_terminal_ours and wrap_here.
188
189 2014-08-29 Gary Benson <gbenson@redhat.com>
190
191 * utils.h (filtered_printing_initialized): New declaration.
192 * utils.c (abort_with_message): New function.
193 (internal_vproblem): Use abort_with_message for first level
194 recursive internal problems, and if gdb_stderr is not set up.
195 Protect calls to target_terminal_ours, begin_line and query.
196
197 2014-08-28 Doug Evans <dje@google.com>
198
199 * symtab.c (in_prologue): Move definition to better spot.
200 (skip_prologue_using_sal): Ditto.
201
202 2014-08-28 Doug Evans <dje@google.com>
203
204 * symtab.c (find_function_start_sal): Move definition to better spot.
205
206 2014-08-28 Yao Qi <yao@codesourcery.com>
207
208 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
209 found_stack_adjust in forward scan. Remove condition check
210 on found_stack_adjust which is always true. Indent the code.
211
212 2014-08-28 Yao Qi <yao@codesourcery.com>
213
214 * dwarf2read.c (dwarf_decode_lines): Update declaration.
215 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
216 (dwarf_decode_lines): Remove argument
217 want_line_info. Remove condition check on want_line_info.
218 Callers update.
219
220 2014-08-27 Doug Evans <dje@google.com>
221
222 * dwarf2read.c (dwarf_record_line): Fix typo.
223
224 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
225
226 * target.h (struct target_ops::to_terminal_save_ours): Remove
227 declaration.
228 (target_terminal_save_ours): Remove macro.
229 * target-delegates.c: Regenerate.
230 * inf-child.c (inf_child_target): Don't set the nonexistent
231 field to_terminal_save_ours.
232 * inferior.h (child_terminal_save_ours): Remove declaration.
233 * terminal.h (gdb_save_tty_state): New declaration.
234 * inflow.c (child_terminal_save_ours): Rename to ...
235 (gdb_save_tty_state): ... this.
236 * tui/tui.c: Include terminal.h.
237 (tui_enable): Use gdb_save_tty_state instead of
238 target_terminal_save_ours.
239 (tui_disable): Likewise.
240
241 2014-08-25 Doug Evans <dje@google.com>
242
243 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
244 Pass NULL instead of 0 for context pointer.
245
246 2014-08-25 Yao Qi <yao@codesourcery.com>
247
248 * dwarf2read.c: Fix grammatical error.
249
250 2014-08-24 Yao Qi <yao@codesourcery.com>
251
252 * dwarf2read.c (scan_partial_symbols): Update comments.
253 Rename argument 'need_pc' with 'set_addrmap'.
254 (add_partial_namespace): Rename argument 'need_pc' with
255 'set_addrmap'.
256 (add_partial_module): Likewise.
257 (add_partial_subprogram): Likewise. Update comments.
258 (dwarf2_name): Fix typo.
259
260 2014-08-22 Doug Evans <dje@google.com>
261
262 PR 17276
263 * dwarf2read.c (dwarf_record_line_p): New function.
264 (dwarf_decode_lines_1): Ignore subsequent line number entries
265 for the same line if any entry had a non-zero discriminator.
266
267 2014-08-22 Doug Evans <dje@google.com>
268
269 * buildsym.h (record_line_ftype): New typedef.
270 (record_line): Use it.
271 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
272 (dwarf_decode_lines_1): Call them.
273
274 2014-08-22 Yao Qi <yao@codesourcery.com>
275
276 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
277 (ctf_end): Remove code.
278
279 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
280
281 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
282 (linux_make_corefile_notes): call update_thread_list, protected against
283 exceptions.
284
285 2014-08-21 Pedro Alves <palves@redhat.com>
286
287 * infcmd.c (attach_command): Remove comment.
288
289 2014-08-21 Bin Cheng <bin.cheng@arm.com>
290
291 * aarch64-linux-nat.c (dr_changed_t): Change the type from
292 unsigned LONGEST to ULONGEST.
293
294 2014-08-20 Pedro Alves <palves@redhat.com>
295
296 * Makefile.in (check-read1): New rule.
297
298 2014-08-20 Joel Brobecker <brobecker@adacore.com>
299
300 * value.c (value_from_contents_and_address): Strip resolved_type's
301 typedef layers before checking its TYPE_DATA_LOCATION.
302
303 2014-08-20 Pedro Alves <palves@redhat.com>
304
305 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
306
307 2014-08-20 Yao Qi <yao@codesourcery.com>
308
309 * amd64-tdep.c (amd64_classify): Add a blank line after the
310 example. Move "*/" to a new line.
311 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
312 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
313 * dwarf2read.c (psymtab_include_file_name): Likewise.
314
315 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
316 Pedro Alves <palves@redhat.com>
317
318 PR symtab/14604
319 PR symtab/14605
320 * ada-lang.c (coerce_unspec_val_to_type): Use
321 value_contents_copy_raw.
322 * ada-valprint.c (val_print_packed_array_elements): Adjust.
323 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
324 * cp-valprint.c (cp_print_value_fields): Let the common printing
325 code handle optimized out values.
326 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
327 * d-valprint.c (dynamic_array_type): Use
328 value_bits_any_optimized_out.
329 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
330 check_any_valid fields.
331 (check_pieced_value_bits): Delete and inline ...
332 (check_pieced_synthetic_pointer): ... here.
333 (check_pieced_value_validity): Delete.
334 (check_pieced_value_invalid): Delete.
335 (pieced_value_funcs): Remove check_validity and check_any_valid
336 fields.
337 (read_pieced_value): Use mark_value_bits_optimized_out.
338 (write_pieced_value): Switch to use
339 mark_value_bytes_optimized_out.
340 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
341 of assuming the whole value is optimized out.
342 * findvar.c (read_frame_register_value): Remove special handling
343 of optimized out registers.
344 (value_from_register): Use mark_value_bytes_optimized_out.
345 * frame-unwind.c (frame_unwind_got_optimized): Use
346 mark_value_bytes_optimized_out.
347 * jv-valprint.c (java_value_print): Adjust.
348 (java_print_value_fields): Let the common printing code handle
349 optimized out values.
350 * mips-tdep.c (mips_print_register): Remove special handling of
351 optimized out registers.
352 * opencl-lang.c (lval_func_check_validity): Delete.
353 (lval_func_check_any_valid): Delete.
354 (opencl_value_funcs): Remove check_validity and check_any_valid
355 fields.
356 * p-valprint.c (pascal_object_print_value_fields): Let the common
357 printing code handle optimized out values.
358 * stack.c (read_frame_arg): Remove special handling of optimized
359 out values. Fetch both VAL and ENTRYVAL before comparing
360 contents. Adjust to value_available_contents_eq rename.
361 * valprint.c (valprint_check_validity)
362 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
363 (val_print_array_elements): Adjust.
364 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
365 (value_bits_any_optimized_out): New function.
366 (value_entirely_covered_by_range_vector): New function, factored
367 out from value_entirely_unavailable.
368 (value_entirely_unavailable): Reimplement.
369 (value_entirely_optimized_out): New function.
370 (insert_into_bit_range_vector): New function, factored out from
371 mark_value_bits_unavailable.
372 (mark_value_bits_unavailable): Reimplement.
373 (struct ranges_and_idx): New struct.
374 (find_first_range_overlap_and_match): New function, factored out
375 from value_available_contents_bits_eq.
376 (value_available_contents_bits_eq): Rename to ...
377 (value_contents_bits_eq): ... this. Check both unavailable
378 contents and optimized out contents.
379 (value_available_contents_eq): Rename to ...
380 (value_contents_eq): ... this.
381 (allocate_value_lazy): Remove reference to the old optimized_out
382 boolean.
383 (allocate_optimized_out_value): Use
384 mark_value_bytes_optimized_out.
385 (require_not_optimized_out): Adjust to check whether the
386 optimized_out vec is empty.
387 (ranges_copy_adjusted): New function, factored out from
388 value_contents_copy_raw.
389 (value_contents_copy_raw): Also copy the optimized out ranges.
390 Assert the destination ranges aren't optimized out.
391 (value_contents_copy): Update comment, remove call to
392 require_not_optimized_out.
393 (value_contents_equal): Adjust to check whether the optimized_out
394 vec is empty.
395 (set_value_optimized_out, value_optimized_out_const): Delete.
396 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
397 New functions.
398 (value_entirely_optimized_out, value_bits_valid): Delete.
399 (value_copy): Take a VEC copy of the 'optimized_out' field.
400 (value_primitive_field): Remove special handling of optimized out.
401 (value_fetch_lazy): Assert that lazy values have no unavailable
402 regions. Use value_bits_any_optimized_out. Remove some special
403 handling for optimized out values.
404 * value.h: Add intro comment about <optimized out> and
405 <unavailable>.
406 (struct lval_funcs): Remove check_validity and check_any_valid
407 fields.
408 (set_value_optimized_out, value_optimized_out_const): Remove.
409 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
410 New declarations.
411 (value_bits_any_optimized_out): New declaration.
412 (value_bits_valid): Delete declaration.
413 (value_available_contents_eq): Rename to ...
414 (value_contents_eq): ... this, and extend comments.
415
416 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
417
418 Fix -fsanitize=address on unreadable inferior strings.
419 * valprint.c (val_print_string): Fix access before BUFFER.
420
421 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
422
423 * target.c (target_struct_size): Remove.
424 (target_struct_allocsize): Remove.
425 (DEFAULT_ALLOCSIZE): Remove.
426 (target_ops_p): New typedef.
427 (DEF_VEC_P (target_ops_p)): New vector type.
428 (target_structs): Change type to VEC (target_ops_p).
429 (add_target_with_completer): Replace "push" code by VEC_safe_push.
430 (find_default_run_target): Rewrite for loop following changes to
431 target_structs.
432
433 2014-08-19 Joel Brobecker <brobecker@adacore.com>
434
435 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
436 Adjust code accordingly. Adjust function description comment.
437
438 2014-08-19 Yao Qi <yao@codesourcery.com>
439
440 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
441 types.
442
443 2014-08-19 Alan Modra <amodra@gmail.com>
444
445 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
446 * config.in: Regenerate.
447 * configure: Regenerate.
448
449 2014-08-19 Tom Tromey <tromey@redhat.com>
450 Gary Benson <gbenson@redhat.com>
451
452 * common/common-debug.h: New file.
453 * common/common-debug.c: Likewise.
454 * debug.c: Likewise.
455 * Makefile.in (SFILES): Add common/common-debug.c.
456 (HFILES_NO_SRCDIR): Add common/common-debug.h.
457 (COMMON_OBS): Add common-debug.o and debug.o.
458 (common-debug.o): New rule.
459 * common/common-defs.h: Include common-debug.h.
460 * common/agent.c (debug_agent_printf): New function.
461 (DEBUG_AGENT): Redefine.
462 * nat/i386-dregs.c (debug_printf): Undefine.
463
464 2014-08-19 Gary Benson <gbenson@redhat.com>
465
466 * common/common-defs.h: Include print-utils.h.
467 * utils.h: Do not include print-utils.h.
468
469 2014-08-19 Tom Tromey <tromey@redhat.com>
470 Gary Benson <gbenson@redhat.com>
471
472 * common/common-types.h: New file.
473 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
474 * common/common-defs.h: Include common-types.h.
475 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
476 (ULONGEST): Remove.
477
478 2014-08-19 Tom Tromey <tromey@redhat.com>
479 Gary Benson <gbenson@redhat.com>
480
481 * common/errors.h: New file.
482 * common/errors.c: Likewise.
483 * Makefile.in (SFILES): Add common/errors.c.
484 (HFILES_NO_SRCDIR): Add common/errors.h.
485 (COMMON_OBS): Add errors.o.
486 (errors.o): New rule.
487 * common/common-defs.h: Include errors.h.
488 * utils.h (perror_with_name, error, verror, warning, vwarning):
489 Don't declare.
490 * common/common-utils.h: (malloc_failure, internal_error):
491 Likewise.
492
493 2014-08-19 Gary Benson <gbenson@redhat.com>
494
495 * utils.c (internal_vproblem): Always print the message.
496
497 2014-08-18 Doug Evans <dje@google.com>
498
499 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
500
501 2014-08-18 Joel Brobecker <brobecker@adacore.com>
502
503 * ada-typeprint.c (type_is_full_subrange_of_target_type):
504 Return 0 if TYPE is dynamic.
505 (print_range): Add handling of dynamic ranges.
506
507 2014-08-18 Keven Boell <keven.boell@intel.com>
508 Joel Brobecker <brobecker@adacore.com>
509
510 * gdbtypes.h (struct main_type): Add field "data_location".
511 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
512 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
513 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
514 a dynamic data location.
515 (resolve_dynamic_type): Add DW_AT_data_location handling.
516 (copy_recursive, copy_type): Copy the data_location information
517 when present.
518 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
519 * value.c (value_from_contents_and_address): Add
520 DW_AT_data_location handling.
521
522 2014-08-18 Keven Boell <keven.boell@intel.com>
523 Joel Brobecker <brobecker@adacore.com>
524
525 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
526 field "get_object_address".
527 * dwarf2expr.c (execute_stack_op): Add handling for
528 DW_OP_push_object_address.
529 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
530 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
531 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
532 (dwarf_expr_get_obj_addr): New function.
533 (dwarf_expr_ctx_funcs): Add get_object_address field.
534 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
535 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
536 (dwarf2_evaluate_property): Add parameter "address". Use it.
537 (needs_get_obj_addr): New function.
538 (needs_frame_ctx_funcs): Add get_object_address field.
539 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
540 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
541 (resolve_dynamic_array): Likewise.
542
543 2014-08-18 Joel Brobecker <brobecker@adacore.com>
544
545 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
546 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
547 fixed value for records and unions for which some GNAT encodings
548 are present.
549
550 2014-08-18 Joel Brobecker <brobecker@adacore.com>
551
552 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
553 rewrite to avoid "else if" and "else" constructs. Should be
554 a no-op in practice.
555
556 2014-08-18 Joel Brobecker <brobecker@adacore.com>
557
558 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
559 of lexical block.
560
561 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
562
563 PR c++/17132
564 * eval.c: Update all calls to find_overload_match.
565 * valarith.c: Likewise.
566 (value_user_defined_cpp_op, value_user_defined_op): New
567 argument NOSIDE. Update all callers.
568 * valops.c (find_overload_match): New argument NOSIDE.
569 * value.h (find_overload_match): Update signature.
570
571 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
572
573 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
574 'items' methods instead of 'iteritems' method on dictionaries.
575
576 2014-08-15 Doug Evans <dje@google.com>
577
578 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
579 closer to use.
580
581 2014-08-15 Doug Evans <dje@google.com>
582
583 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
584
585 2014-08-15 Doug Evans <dje@google.com>
586
587 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
588
589 2014-08-15 Doug Evans <dje@google.com>
590
591 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
592 unused.
593
594 2014-08-15 Eli Zaretskii <eliz@gnu.org>
595
596 * dcache.h: Include target.h, to avoid compile time warnings.
597
598 2014-08-15 Joel Brobecker <brobecker@adacore.com>
599
600 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
601 frame_info" partial declaration.
602 * gdbarch.h: Regenerate.
603
604 2014-08-15 Yao Qi <yao@codesourcery.com>
605
606 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
607 Add parameter 'decode_for_pst_p'. Callers update.
608
609 2014-08-13 Yao Qi <yao@codesourcery.com>
610
611 PR build/17104
612 * configure.ac: Use local variable 'pos'.
613 * configure: Regenerated.
614
615 2014-08-11 Doug Evans <dje@google.com>
616
617 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
618 message, it is redundant with "Reading symbols from ..." message.
619
620 2014-08-10 Doug Evans <xdje42@gmail.com>
621
622 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
623
624 2014-08-09 Yao Qi <yao@codesourcery.com>
625
626 PR remote/9053
627 * remote.c (remote_xfer_partial): Remove dead code.
628
629 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
630
631 * ia64-linux-tdep.c: Include "regset.h".
632 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
633 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
634 (ia64_linux_supply_fpregset): New function.
635 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
636 (ia64_linux_regset_from_core_section): New function.
637 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
638 method.
639
640 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
641
642 * m68klinux-tdep.c: Include "regset.h".
643 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
644 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
645 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
646 (m68k_linux_regset_from_core_section): New function.
647 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
648 method.
649
650 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
651
652 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
653 function. Move logic to...
654 (tilegx_linux_regmap): ... this new register map.
655 (tilegx_linux_regset): Refer to register map, replace supply
656 method by regcache_supply_regset, and add collect method.
657 * tilegx-tdep.h (enum tilegx_regnum): New enum value
658 TILEGX_FIRST_EASY_REGNUM.
659
660 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
661
662 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
663 that calls regcache_supply_regset and handles the EPC register
664 separately. Move main logic to...
665 (score7_linux_gregmap): ... this new register map.
666 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
667 (score7_linux_gregset): Refer to register map. Add collect method.
668 (score7_linux_regset_from_core_section): Replace
669 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
670 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
671 (struct regset): Delete unused forward declaraction.
672 (struct pt_regs): Delete structure definition.
673 (elf_gregset_t): Delete typedef.
674
675 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
676
677 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
678 (nios2_core_regset): Add collect method.
679
680 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
681
682 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
683 platform-independent and don't write to read-only input buffer.
684 (m32r_linux_collect_gregset): New function.
685 (m32r_linux_gregset): Add collect method.
686
687 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
688
689 * hppa-linux-tdep.c (greg_map): Rename to...
690 (hppa_linux_gregmap): ... this. Also convert to
691 regcache_map_entry format.
692 (hppa_linux_supply_regset): Delete function.
693 (hppa_linux_supply_fpregset): Delete function. Move logic to...
694 (hppa_linux_fpregmap): ... this new register map.
695 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
696 register map, replace supply method by regcache_supply_regset, and
697 add collect method regcache_collect_regset.
698
699 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
700
701 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
702 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
703 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
704 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
705 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
706 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
707 (frv_linux_supply_gregset): Replace main logic by call to
708 regcache_supply_regset, but keep clearing gr32-gr63.
709 (frv_linux_supply_fpregset): Delete function.
710 (frv_linux_gregset): Refer to appropriate register map and add
711 regcache_collect_regset as the collect method.
712 (frv_linux_fpregset): Likewise. Also exchange the supply method
713 by regcache_supply_regset.
714
715 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
716
717 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
718 by call to alpha_supply_int_regs.
719 (alpha_linux_collect_gregset): New function.
720 (alpha_linux_supply_fpregset): Replace logic by call to
721 alpha_supply_fp_regs.
722 (alpha_linux_collect_fpregset): New function.
723 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
724
725 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
726
727 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
728 by call to regcache_collect_regset.
729 (supply_gregset, supply_fpregset): Call regcache_supply_regset
730 instead of aarch64_linux_supply_gregset/_fpregset.
731 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
732 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
733 header file instead.
734 (aarch64_linux_supply_gregset, supply_gregset_from_core)
735 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
736 functions. Move logic to ...
737 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
738 register maps.
739 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
740 refer to new register maps, replace *_regset_from_core by
741 regcache_supply_regset, and also use regcache_collect_regset.
742 * aarch64-linux-tdep.h: Include "regset.h".
743 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
744 Delete prototypes.
745 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
746 macros, moved from C source file.
747 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
748 variable declarations.
749
750 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
751
752 * s390-linux-nat.c: Include "regset.h".
753 (regmap_gregset): Delete macro.
754 (s390_64_regmap_gregset): New register map for
755 regcache_supply/_collect_regset.
756 (s390_64_gregset): New regset.
757 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
758 (regmap_fpregset): Delete macro.
759 (s390_native_supply, s390_native_collect): Delete functions.
760 (supply_gregset, fill_gregset): Replace s390-specific regmap
761 handling by a call to regcache_supply/_collect_regset.
762 (supply_fpregset, fill_fpregset): Call regcache_supply/
763 _collect_regset instead of s390_native_supply/_collect.
764 (fetch_regset, store_regset): Likewise. Also change the last
765 parameter to a regset instead of a regmap.
766 (s390_linux_fetch_inferior_registers)
767 (390_linux_store_inferior_registers): Adjust last parameter in
768 calls to fetch_regset and store_regset.
769 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
770 (s390_gregmap): ... this. Also make static const and convert to
771 regcache_map_entry format.
772 (s390x_regmap_gregset): Delete.
773 (s390_regmap_fpregset): Rename to...
774 (s390_fpregmap): ... this. Make static const and convert to
775 regcache_map_entry format.
776 (s390_regmap_upper, s390_regmap_last_break)
777 (s390x_regmap_last_break, s390_regmap_system_call)
778 (s390_regmap_tdb): Likewise.
779 (s390_supply_regset, s390_collect_regset): Remove functions.
780 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
781 s390_supply_regset.
782 (s390_gregset, s390_fpregset, s390_upper_regset)
783 (s390_last_break_regset, s390x_last_break_regset)
784 (s390_system_call_regset, s390_tdb_regset): Make global and
785 replace s390_supply/_collect_regset by regcache_supply/
786 _collect_regset.
787 (s390x_gregset): Delete.
788 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
789 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
790 (s390_regmap_fpregset, s390_regmap_last_break)
791 (s390x_regmap_last_break, s390_regmap_system_call)
792 (s390_regmap_tdb): Delete global variable declarations.
793 (s390_gregset, s390_fpregset, s390_last_break_regset)
794 (s390x_last_break_regset, s390_system_call_regset)
795 (s390_tdb_regset): New global variable declarations.
796
797 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
798
799 * regcache.c: Include "regset.h".
800 (regcache_transfer_regset): New local function.
801 (regcache_supply_regset, regcache_collect_regset): New functions.
802 * regcache.h (struct regcache_map_entry): New structure.
803 (REGCACHE_MAP_SKIP): New enum value.
804 (regcache_supply_regset, regcache_collect_regset): New prototypes.
805
806 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
807
808 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
809 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
810 (ppc_linux_collect_gregset ): Likewise.
811 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
812 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
813 (ppc_collect_vrregset): Likewise.
814 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
815 Likewise.
816
817 2014-08-07 Yao Qi <yao@codesourcery.com>
818
819 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
820 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
821 * remote.c (remote_read_bytes): Likewise.
822
823 2014-08-07 Yao Qi <yao@codesourcery.com>
824
825 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
826
827 2014-08-07 Yao Qi <yao@codesourcery.com>
828
829 PR remote/17230
830 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
831 TARGET_XFER_OK instead of 0.
832
833 2014-08-07 Gary Benson <gbenson@redhat.com>
834
835 * common/common-defs.h: Include errno.h.
836 * defs.h: Do not include errno.h.
837 * ada-typeprint.c: Likewise.
838 * c-typeprint.c: Likewise.
839 * core-regset.c: Likewise.
840 * corefile.c: Likewise.
841 * corelow.c: Likewise.
842 * event-loop.c: Likewise.
843 * f-typeprint.c: Likewise.
844 * gnu-nat.c: Likewise.
845 * go32-nat.c: Likewise.
846 * i386gnu-nat.c: Likewise.
847 * m2-typeprint.c: Likewise.
848 * nat/linux-btrace.c: Likewise.
849 * p-typeprint.c: Likewise.
850 * procfs.c: Likewise.
851 * remote-sim.c: Likewise.
852 * rs6000-nat.c: Likewise.
853 * target.c: Likewise.
854 * typeprint.c: Likewise.
855 * ui-file.c: Likewise.
856 * valops.c: Likewise.
857 * valprint.c: Likewise.
858
859 2014-08-07 Gary Benson <gbenson@redhat.com>
860
861 * common/common-defs.h: Include string.h.
862 * aarch64-tdep.c: Do not include string.h.
863 * ada-exp.y: Likewise.
864 * ada-lang.c: Likewise.
865 * ada-lex.l: Likewise.
866 * ada-typeprint.c: Likewise.
867 * ada-valprint.c: Likewise.
868 * aix-thread.c: Likewise.
869 * alpha-linux-tdep.c: Likewise.
870 * alpha-mdebug-tdep.c: Likewise.
871 * alpha-nat.c: Likewise.
872 * alpha-osf1-tdep.c: Likewise.
873 * alpha-tdep.c: Likewise.
874 * alphanbsd-tdep.c: Likewise.
875 * amd64-dicos-tdep.c: Likewise.
876 * amd64-linux-tdep.c: Likewise.
877 * amd64-nat.c: Likewise.
878 * amd64-sol2-tdep.c: Likewise.
879 * amd64fbsd-tdep.c: Likewise.
880 * amd64obsd-tdep.c: Likewise.
881 * arch-utils.c: Likewise.
882 * arm-linux-nat.c: Likewise.
883 * arm-linux-tdep.c: Likewise.
884 * arm-tdep.c: Likewise.
885 * arm-wince-tdep.c: Likewise.
886 * armbsd-tdep.c: Likewise.
887 * armnbsd-nat.c: Likewise.
888 * armnbsd-tdep.c: Likewise.
889 * armobsd-tdep.c: Likewise.
890 * avr-tdep.c: Likewise.
891 * ax-gdb.c: Likewise.
892 * ax-general.c: Likewise.
893 * bcache.c: Likewise.
894 * bfin-tdep.c: Likewise.
895 * breakpoint.c: Likewise.
896 * build-id.c: Likewise.
897 * buildsym.c: Likewise.
898 * c-exp.y: Likewise.
899 * c-lang.c: Likewise.
900 * c-typeprint.c: Likewise.
901 * c-valprint.c: Likewise.
902 * charset.c: Likewise.
903 * cli-out.c: Likewise.
904 * cli/cli-cmds.c: Likewise.
905 * cli/cli-decode.c: Likewise.
906 * cli/cli-dump.c: Likewise.
907 * cli/cli-interp.c: Likewise.
908 * cli/cli-logging.c: Likewise.
909 * cli/cli-script.c: Likewise.
910 * cli/cli-setshow.c: Likewise.
911 * cli/cli-utils.c: Likewise.
912 * coffread.c: Likewise.
913 * common/agent.c: Likewise.
914 * common/buffer.c: Likewise.
915 * common/buffer.h: Likewise.
916 * common/common-utils.c: Likewise.
917 * common/filestuff.c: Likewise.
918 * common/filestuff.c: Likewise.
919 * common/format.c: Likewise.
920 * common/print-utils.c: Likewise.
921 * common/rsp-low.c: Likewise.
922 * common/signals.c: Likewise.
923 * common/vec.h: Likewise.
924 * common/xml-utils.c: Likewise.
925 * core-regset.c: Likewise.
926 * corefile.c: Likewise.
927 * corelow.c: Likewise.
928 * cp-abi.c: Likewise.
929 * cp-name-parser.y: Likewise.
930 * cp-support.c: Likewise.
931 * cp-valprint.c: Likewise.
932 * cris-tdep.c: Likewise.
933 * d-exp.y: Likewise.
934 * darwin-nat.c: Likewise.
935 * dbxread.c: Likewise.
936 * dcache.c: Likewise.
937 * demangle.c: Likewise.
938 * dicos-tdep.c: Likewise.
939 * disasm.c: Likewise.
940 * doublest.c: Likewise.
941 * dsrec.c: Likewise.
942 * dummy-frame.c: Likewise.
943 * dwarf2-frame.c: Likewise.
944 * dwarf2loc.c: Likewise.
945 * dwarf2read.c: Likewise.
946 * elfread.c: Likewise.
947 * environ.c: Likewise.
948 * eval.c: Likewise.
949 * event-loop.c: Likewise.
950 * exceptions.c: Likewise.
951 * exec.c: Likewise.
952 * expprint.c: Likewise.
953 * f-exp.y: Likewise.
954 * f-lang.c: Likewise.
955 * f-typeprint.c: Likewise.
956 * f-valprint.c: Likewise.
957 * fbsd-nat.c: Likewise.
958 * findcmd.c: Likewise.
959 * findvar.c: Likewise.
960 * fork-child.c: Likewise.
961 * frame.c: Likewise.
962 * frv-linux-tdep.c: Likewise.
963 * frv-tdep.c: Likewise.
964 * gdb.c: Likewise.
965 * gdb_bfd.c: Likewise.
966 * gdbarch.c: Likewise.
967 * gdbarch.sh: Likewise.
968 * gdbtypes.c: Likewise.
969 * gnu-nat.c: Likewise.
970 * gnu-v2-abi.c: Likewise.
971 * gnu-v3-abi.c: Likewise.
972 * go-exp.y: Likewise.
973 * go-lang.c: Likewise.
974 * go32-nat.c: Likewise.
975 * guile/guile.c: Likewise.
976 * guile/scm-auto-load.c: Likewise.
977 * hppa-hpux-tdep.c: Likewise.
978 * hppa-linux-nat.c: Likewise.
979 * hppanbsd-tdep.c: Likewise.
980 * hppaobsd-tdep.c: Likewise.
981 * i386-cygwin-tdep.c: Likewise.
982 * i386-dicos-tdep.c: Likewise.
983 * i386-linux-tdep.c: Likewise.
984 * i386-nto-tdep.c: Likewise.
985 * i386-sol2-tdep.c: Likewise.
986 * i386-tdep.c: Likewise.
987 * i386bsd-tdep.c: Likewise.
988 * i386gnu-nat.c: Likewise.
989 * i386nbsd-tdep.c: Likewise.
990 * i386obsd-tdep.c: Likewise.
991 * i387-tdep.c: Likewise.
992 * ia64-libunwind-tdep.c: Likewise.
993 * ia64-linux-nat.c: Likewise.
994 * inf-child.c: Likewise.
995 * inf-ptrace.c: Likewise.
996 * inf-ttrace.c: Likewise.
997 * infcall.c: Likewise.
998 * infcmd.c: Likewise.
999 * inflow.c: Likewise.
1000 * infrun.c: Likewise.
1001 * interps.c: Likewise.
1002 * iq2000-tdep.c: Likewise.
1003 * irix5-nat.c: Likewise.
1004 * jv-exp.y: Likewise.
1005 * jv-lang.c: Likewise.
1006 * jv-typeprint.c: Likewise.
1007 * jv-valprint.c: Likewise.
1008 * language.c: Likewise.
1009 * linux-fork.c: Likewise.
1010 * linux-nat.c: Likewise.
1011 * lm32-tdep.c: Likewise.
1012 * m2-exp.y: Likewise.
1013 * m2-typeprint.c: Likewise.
1014 * m32c-tdep.c: Likewise.
1015 * m32r-linux-nat.c: Likewise.
1016 * m32r-linux-tdep.c: Likewise.
1017 * m32r-rom.c: Likewise.
1018 * m32r-tdep.c: Likewise.
1019 * m68hc11-tdep.c: Likewise.
1020 * m68k-tdep.c: Likewise.
1021 * m68kbsd-tdep.c: Likewise.
1022 * m68klinux-nat.c: Likewise.
1023 * m68klinux-tdep.c: Likewise.
1024 * m88k-tdep.c: Likewise.
1025 * machoread.c: Likewise.
1026 * macrocmd.c: Likewise.
1027 * main.c: Likewise.
1028 * mdebugread.c: Likewise.
1029 * mem-break.c: Likewise.
1030 * memattr.c: Likewise.
1031 * memory-map.c: Likewise.
1032 * mep-tdep.c: Likewise.
1033 * mi/mi-cmd-break.c: Likewise.
1034 * mi/mi-cmd-disas.c: Likewise.
1035 * mi/mi-cmd-env.c: Likewise.
1036 * mi/mi-cmd-stack.c: Likewise.
1037 * mi/mi-cmd-var.c: Likewise.
1038 * mi/mi-cmds.c: Likewise.
1039 * mi/mi-console.c: Likewise.
1040 * mi/mi-getopt.c: Likewise.
1041 * mi/mi-interp.c: Likewise.
1042 * mi/mi-main.c: Likewise.
1043 * mi/mi-parse.c: Likewise.
1044 * microblaze-rom.c: Likewise.
1045 * microblaze-tdep.c: Likewise.
1046 * mingw-hdep.c: Likewise.
1047 * minidebug.c: Likewise.
1048 * minsyms.c: Likewise.
1049 * mips-irix-tdep.c: Likewise.
1050 * mips-linux-tdep.c: Likewise.
1051 * mips-tdep.c: Likewise.
1052 * mips64obsd-tdep.c: Likewise.
1053 * mipsnbsd-tdep.c: Likewise.
1054 * mipsread.c: Likewise.
1055 * mn10300-linux-tdep.c: Likewise.
1056 * mn10300-tdep.c: Likewise.
1057 * monitor.c: Likewise.
1058 * moxie-tdep.c: Likewise.
1059 * mt-tdep.c: Likewise.
1060 * nat/linux-btrace.c: Likewise.
1061 * nat/linux-osdata.c: Likewise.
1062 * nat/linux-procfs.c: Likewise.
1063 * nat/linux-ptrace.c: Likewise.
1064 * nat/linux-waitpid.c: Likewise.
1065 * nbsd-tdep.c: Likewise.
1066 * nios2-linux-tdep.c: Likewise.
1067 * nto-procfs.c: Likewise.
1068 * nto-tdep.c: Likewise.
1069 * objc-lang.c: Likewise.
1070 * objfiles.c: Likewise.
1071 * opencl-lang.c: Likewise.
1072 * osabi.c: Likewise.
1073 * osdata.c: Likewise.
1074 * p-exp.y: Likewise.
1075 * p-lang.c: Likewise.
1076 * p-typeprint.c: Likewise.
1077 * parse.c: Likewise.
1078 * posix-hdep.c: Likewise.
1079 * ppc-linux-nat.c: Likewise.
1080 * ppc-sysv-tdep.c: Likewise.
1081 * ppcfbsd-tdep.c: Likewise.
1082 * ppcnbsd-tdep.c: Likewise.
1083 * ppcobsd-tdep.c: Likewise.
1084 * printcmd.c: Likewise.
1085 * procfs.c: Likewise.
1086 * prologue-value.c: Likewise.
1087 * python/py-auto-load.c: Likewise.
1088 * python/py-gdb-readline.c: Likewise.
1089 * ravenscar-thread.c: Likewise.
1090 * regcache.c: Likewise.
1091 * registry.c: Likewise.
1092 * remote-fileio.c: Likewise.
1093 * remote-m32r-sdi.c: Likewise.
1094 * remote-mips.c: Likewise.
1095 * remote-notif.c: Likewise.
1096 * remote-sim.c: Likewise.
1097 * remote.c: Likewise.
1098 * reverse.c: Likewise.
1099 * rs6000-aix-tdep.c: Likewise.
1100 * ser-base.c: Likewise.
1101 * ser-go32.c: Likewise.
1102 * ser-mingw.c: Likewise.
1103 * ser-pipe.c: Likewise.
1104 * ser-tcp.c: Likewise.
1105 * ser-unix.c: Likewise.
1106 * serial.c: Likewise.
1107 * sh-tdep.c: Likewise.
1108 * sh64-tdep.c: Likewise.
1109 * shnbsd-tdep.c: Likewise.
1110 * skip.c: Likewise.
1111 * sol-thread.c: Likewise.
1112 * solib-dsbt.c: Likewise.
1113 * solib-frv.c: Likewise.
1114 * solib-osf.c: Likewise.
1115 * solib-som.c: Likewise.
1116 * solib-spu.c: Likewise.
1117 * solib-target.c: Likewise.
1118 * solib.c: Likewise.
1119 * somread.c: Likewise.
1120 * source.c: Likewise.
1121 * sparc-nat.c: Likewise.
1122 * sparc-sol2-tdep.c: Likewise.
1123 * sparc-tdep.c: Likewise.
1124 * sparc64-tdep.c: Likewise.
1125 * sparc64fbsd-tdep.c: Likewise.
1126 * sparc64nbsd-tdep.c: Likewise.
1127 * sparcnbsd-tdep.c: Likewise.
1128 * spu-linux-nat.c: Likewise.
1129 * spu-multiarch.c: Likewise.
1130 * spu-tdep.c: Likewise.
1131 * stabsread.c: Likewise.
1132 * stack.c: Likewise.
1133 * std-regs.c: Likewise.
1134 * symfile.c: Likewise.
1135 * symmisc.c: Likewise.
1136 * symtab.c: Likewise.
1137 * target.c: Likewise.
1138 * thread.c: Likewise.
1139 * tilegx-linux-nat.c: Likewise.
1140 * tilegx-tdep.c: Likewise.
1141 * top.c: Likewise.
1142 * tracepoint.c: Likewise.
1143 * tui/tui-command.c: Likewise.
1144 * tui/tui-data.c: Likewise.
1145 * tui/tui-disasm.c: Likewise.
1146 * tui/tui-file.c: Likewise.
1147 * tui/tui-layout.c: Likewise.
1148 * tui/tui-out.c: Likewise.
1149 * tui/tui-regs.c: Likewise.
1150 * tui/tui-source.c: Likewise.
1151 * tui/tui-stack.c: Likewise.
1152 * tui/tui-win.c: Likewise.
1153 * tui/tui-windata.c: Likewise.
1154 * tui/tui-winsource.c: Likewise.
1155 * typeprint.c: Likewise.
1156 * ui-file.c: Likewise.
1157 * ui-out.c: Likewise.
1158 * user-regs.c: Likewise.
1159 * utils.c: Likewise.
1160 * v850-tdep.c: Likewise.
1161 * valarith.c: Likewise.
1162 * valops.c: Likewise.
1163 * valprint.c: Likewise.
1164 * value.c: Likewise.
1165 * varobj.c: Likewise.
1166 * vax-tdep.c: Likewise.
1167 * vaxnbsd-tdep.c: Likewise.
1168 * vaxobsd-tdep.c: Likewise.
1169 * windows-nat.c: Likewise.
1170 * xcoffread.c: Likewise.
1171 * xml-support.c: Likewise.
1172 * xstormy16-tdep.c: Likewise.
1173 * xtensa-linux-nat.c: Likewise.
1174
1175 2014-08-07 Gary Benson <gbenson@redhat.com>
1176
1177 * common/common-defs.h: Include gdb_assert.h.
1178 * aarch64-tdep.c: Do not include gdb_assert.h.
1179 * addrmap.c: Likewise.
1180 * aix-thread.c: Likewise.
1181 * alpha-linux-tdep.c: Likewise.
1182 * alpha-mdebug-tdep.c: Likewise.
1183 * alphanbsd-tdep.c: Likewise.
1184 * amd64-nat.c: Likewise.
1185 * amd64-tdep.c: Likewise.
1186 * amd64bsd-nat.c: Likewise.
1187 * amd64fbsd-nat.c: Likewise.
1188 * amd64fbsd-tdep.c: Likewise.
1189 * amd64nbsd-nat.c: Likewise.
1190 * amd64nbsd-tdep.c: Likewise.
1191 * amd64obsd-nat.c: Likewise.
1192 * amd64obsd-tdep.c: Likewise.
1193 * arch-utils.c: Likewise.
1194 * arm-tdep.c: Likewise.
1195 * armbsd-tdep.c: Likewise.
1196 * auxv.c: Likewise.
1197 * bcache.c: Likewise.
1198 * bfin-tdep.c: Likewise.
1199 * blockframe.c: Likewise.
1200 * breakpoint.c: Likewise.
1201 * bsd-kvm.c: Likewise.
1202 * bsd-uthread.c: Likewise.
1203 * buildsym.c: Likewise.
1204 * c-exp.y: Likewise.
1205 * c-lang.c: Likewise.
1206 * charset.c: Likewise.
1207 * cleanups.c: Likewise.
1208 * cli-out.c: Likewise.
1209 * cli/cli-decode.c: Likewise.
1210 * cli/cli-dump.c: Likewise.
1211 * cli/cli-logging.c: Likewise.
1212 * cli/cli-script.c: Likewise.
1213 * cli/cli-utils.c: Likewise.
1214 * coffread.c: Likewise.
1215 * common/common-utils.c: Likewise.
1216 * common/queue.h: Likewise.
1217 * common/signals.c: Likewise.
1218 * common/vec.h: Likewise.
1219 * complaints.c: Likewise.
1220 * completer.c: Likewise.
1221 * corelow.c: Likewise.
1222 * cp-abi.c: Likewise.
1223 * cp-name-parser.y: Likewise.
1224 * cp-namespace.c: Likewise.
1225 * cp-support.c: Likewise.
1226 * cris-tdep.c: Likewise.
1227 * dbxread.c: Likewise.
1228 * dictionary.c: Likewise.
1229 * doublest.c: Likewise.
1230 * dsrec.c: Likewise.
1231 * dummy-frame.c: Likewise.
1232 * dwarf2-frame-tailcall.c: Likewise.
1233 * dwarf2-frame.c: Likewise.
1234 * dwarf2expr.c: Likewise.
1235 * dwarf2loc.c: Likewise.
1236 * dwarf2read.c: Likewise.
1237 * eval.c: Likewise.
1238 * event-loop.c: Likewise.
1239 * exceptions.c: Likewise.
1240 * expprint.c: Likewise.
1241 * f-valprint.c: Likewise.
1242 * fbsd-nat.c: Likewise.
1243 * findvar.c: Likewise.
1244 * frame-unwind.c: Likewise.
1245 * frame.c: Likewise.
1246 * frv-tdep.c: Likewise.
1247 * gcore.c: Likewise.
1248 * gdb-dlfcn.c: Likewise.
1249 * gdb_bfd.c: Likewise.
1250 * gdbarch.c: Likewise.
1251 * gdbarch.sh: Likewise.
1252 * gdbtypes.c: Likewise.
1253 * gnu-nat.c: Likewise.
1254 * gnu-v3-abi.c: Likewise.
1255 * go-lang.c: Likewise.
1256 * guile/scm-exception.c: Likewise.
1257 * guile/scm-gsmob.c: Likewise.
1258 * guile/scm-lazy-string.c: Likewise.
1259 * guile/scm-math.c: Likewise.
1260 * guile/scm-pretty-print.c: Likewise.
1261 * guile/scm-safe-call.c: Likewise.
1262 * guile/scm-utils.c: Likewise.
1263 * guile/scm-value.c: Likewise.
1264 * h8300-tdep.c: Likewise.
1265 * hppa-hpux-nat.c: Likewise.
1266 * hppa-tdep.c: Likewise.
1267 * hppanbsd-tdep.c: Likewise.
1268 * hppaobsd-tdep.c: Likewise.
1269 * i386-darwin-nat.c: Likewise.
1270 * i386-darwin-tdep.c: Likewise.
1271 * i386-nto-tdep.c: Likewise.
1272 * i386-tdep.c: Likewise.
1273 * i386bsd-nat.c: Likewise.
1274 * i386fbsd-tdep.c: Likewise.
1275 * i386gnu-nat.c: Likewise.
1276 * i386nbsd-tdep.c: Likewise.
1277 * i386obsd-tdep.c: Likewise.
1278 * i387-tdep.c: Likewise.
1279 * ia64-libunwind-tdep.c: Likewise.
1280 * ia64-tdep.c: Likewise.
1281 * inf-ptrace.c: Likewise.
1282 * inf-ttrace.c: Likewise.
1283 * infcall.c: Likewise.
1284 * infcmd.c: Likewise.
1285 * infrun.c: Likewise.
1286 * inline-frame.c: Likewise.
1287 * interps.c: Likewise.
1288 * jv-lang.c: Likewise.
1289 * jv-typeprint.c: Likewise.
1290 * linux-fork.c: Likewise.
1291 * linux-nat.c: Likewise.
1292 * linux-thread-db.c: Likewise.
1293 * m32c-tdep.c: Likewise.
1294 * m32r-linux-nat.c: Likewise.
1295 * m32r-tdep.c: Likewise.
1296 * m68k-tdep.c: Likewise.
1297 * m68kbsd-nat.c: Likewise.
1298 * m68kbsd-tdep.c: Likewise.
1299 * m88k-tdep.c: Likewise.
1300 * machoread.c: Likewise.
1301 * macroexp.c: Likewise.
1302 * macrotab.c: Likewise.
1303 * maint.c: Likewise.
1304 * mdebugread.c: Likewise.
1305 * memory-map.c: Likewise.
1306 * mep-tdep.c: Likewise.
1307 * mi/mi-common.c: Likewise.
1308 * microblaze-tdep.c: Likewise.
1309 * mingw-hdep.c: Likewise.
1310 * mips-linux-nat.c: Likewise.
1311 * mips-linux-tdep.c: Likewise.
1312 * mips-tdep.c: Likewise.
1313 * mips64obsd-tdep.c: Likewise.
1314 * mipsnbsd-tdep.c: Likewise.
1315 * mn10300-linux-tdep.c: Likewise.
1316 * mn10300-tdep.c: Likewise.
1317 * moxie-tdep.c: Likewise.
1318 * mt-tdep.c: Likewise.
1319 * nat/linux-btrace.c: Likewise.
1320 * nat/linux-osdata.c: Likewise.
1321 * nat/linux-ptrace.c: Likewise.
1322 * nat/mips-linux-watch.c: Likewise.
1323 * nios2-linux-tdep.c: Likewise.
1324 * nios2-tdep.c: Likewise.
1325 * objc-lang.c: Likewise.
1326 * objfiles.c: Likewise.
1327 * obsd-nat.c: Likewise.
1328 * opencl-lang.c: Likewise.
1329 * osabi.c: Likewise.
1330 * parse.c: Likewise.
1331 * ppc-linux-nat.c: Likewise.
1332 * ppc-sysv-tdep.c: Likewise.
1333 * ppcfbsd-nat.c: Likewise.
1334 * ppcfbsd-tdep.c: Likewise.
1335 * ppcnbsd-nat.c: Likewise.
1336 * ppcnbsd-tdep.c: Likewise.
1337 * ppcobsd-nat.c: Likewise.
1338 * ppcobsd-tdep.c: Likewise.
1339 * printcmd.c: Likewise.
1340 * procfs.c: Likewise.
1341 * prologue-value.c: Likewise.
1342 * psymtab.c: Likewise.
1343 * python/py-lazy-string.c: Likewise.
1344 * python/py-value.c: Likewise.
1345 * regcache.c: Likewise.
1346 * reggroups.c: Likewise.
1347 * registry.c: Likewise.
1348 * remote-sim.c: Likewise.
1349 * remote.c: Likewise.
1350 * rs6000-aix-tdep.c: Likewise.
1351 * rs6000-tdep.c: Likewise.
1352 * s390-linux-tdep.c: Likewise.
1353 * score-tdep.c: Likewise.
1354 * ser-base.c: Likewise.
1355 * ser-mingw.c: Likewise.
1356 * sh-tdep.c: Likewise.
1357 * sh64-tdep.c: Likewise.
1358 * solib-darwin.c: Likewise.
1359 * solib-spu.c: Likewise.
1360 * solib-svr4.c: Likewise.
1361 * source.c: Likewise.
1362 * sparc-nat.c: Likewise.
1363 * sparc-sol2-tdep.c: Likewise.
1364 * sparc-tdep.c: Likewise.
1365 * sparc64-sol2-tdep.c: Likewise.
1366 * sparc64-tdep.c: Likewise.
1367 * sparc64fbsd-tdep.c: Likewise.
1368 * sparc64nbsd-tdep.c: Likewise.
1369 * sparc64obsd-tdep.c: Likewise.
1370 * sparcnbsd-tdep.c: Likewise.
1371 * sparcobsd-tdep.c: Likewise.
1372 * spu-multiarch.c: Likewise.
1373 * spu-tdep.c: Likewise.
1374 * stabsread.c: Likewise.
1375 * stack.c: Likewise.
1376 * symfile.c: Likewise.
1377 * symtab.c: Likewise.
1378 * target-descriptions.c: Likewise.
1379 * target-memory.c: Likewise.
1380 * target.c: Likewise.
1381 * tic6x-linux-tdep.c: Likewise.
1382 * tic6x-tdep.c: Likewise.
1383 * tilegx-linux-nat.c: Likewise.
1384 * tilegx-tdep.c: Likewise.
1385 * top.c: Likewise.
1386 * tramp-frame.c: Likewise.
1387 * tui/tui-out.c: Likewise.
1388 * tui/tui-winsource.c: Likewise.
1389 * ui-out.c: Likewise.
1390 * user-regs.c: Likewise.
1391 * utils.c: Likewise.
1392 * v850-tdep.c: Likewise.
1393 * valops.c: Likewise.
1394 * value.c: Likewise.
1395 * varobj.c: Likewise.
1396 * vax-nat.c: Likewise.
1397 * xml-syscall.c: Likewise.
1398 * xml-tdesc.c: Likewise.
1399 * xstormy16-tdep.c: Likewise.
1400 * xtensa-linux-nat.c: Likewise.
1401 * xtensa-tdep.c: Likewise.
1402
1403 2014-08-07 Gary Benson <gbenson@redhat.com>
1404
1405 * common/common-defs.h: Include common-utils.h.
1406 * defs.h: Do not include common-utils.h.
1407 * common/gdb_assert.h: Likewise.
1408 * darwin-nat.h: Likewise.
1409 * nat/linux-btrace.c: Likewise.
1410 * target/waitstatus.h: Likewise.
1411
1412 2014-08-07 Gary Benson <gbenson@redhat.com>
1413
1414 * common/common-defs.h: Include ptid.h.
1415 * defs.h: Do not include ptid.h.
1416 * inferior.h: Likewise.
1417 * infrun.h: Likewise.
1418 * nat/linux-btrace.h: Likewise.
1419 * nat/linux-osdata.h: Likewise.
1420 * target/waitstatus.h: Likewise.
1421
1422 2014-08-07 Gary Benson <gbenson@redhat.com>
1423
1424 * common/common-defs.h: Include gdb_locale.h.
1425 * defs.h: Do not include gdb_locale.h.
1426
1427 2014-08-07 Gary Benson <gbenson@redhat.com>
1428
1429 * common/common-defs.h: Include gdb/signals.h.
1430 * defs.h: Do not include gdb/signals.h.
1431
1432 2014-08-07 Gary Benson <gbenson@redhat.com>
1433
1434 * common/common-defs.h: Include pathmax.h.
1435 * defs.h: Do not include pathmax.h.
1436
1437 2014-08-07 Gary Benson <gbenson@redhat.com>
1438
1439 * common/common-defs.h: Include libiberty.h.
1440 * defs.h: Do not include libiberty.h.
1441 * common/queue.h: Likewise.
1442 * cp-name-parser.y: Likewise.
1443 * mi/mi-cmd-catch.c: Likewise.
1444 * python/python.c: Likewise.
1445
1446 2014-08-07 Gary Benson <gbenson@redhat.com>
1447
1448 * common/common-defs.h: Include ansidecl.h.
1449 * defs.h: Do not include ansidecl.h.
1450 * common/buffer.h: Likewise.
1451 * common/common-utils.h: Likewise.
1452
1453 2014-08-07 Gary Benson <gbenson@redhat.com>
1454
1455 * common/common-defs.h: Include stddef.h.
1456 * defs.h: Do not include stddef.h.
1457 * common/common-utils.h: Likewise.
1458 * amd64fbsd-nat.c: Likewise.
1459 * bcache.c: Likewise.
1460 * charset.c: Likewise.
1461 * common/buffer.h: Likewise.
1462 * common/vec.h: Likewise.
1463 * i386bsd-nat.c: Likewise.
1464 * nat/linux-btrace.h: Likewise.
1465 * ppcfbsd-nat.c: Likewise.
1466 * ppcnbsd-tdep.h: Likewise.
1467 * ppcobsd-nat.c: Likewise.
1468 * ppcobsd-tdep.h: Likewise.
1469 * python/py-gdb-readline.c: Likewise.
1470
1471 2014-08-07 Gary Benson <gbenson@redhat.com>
1472
1473 * common/common-defs.h: Include stdarg.h.
1474 * defs.h: Do not include stdarg.h.
1475 * ada-lang.c: Likewise.
1476 * common/common-utils.h: Likewise.
1477 * guile/scm-string.c: Likewise.
1478 * guile/scm-utils.c: Likewise.
1479 * m32c-tdep.c: Likewise.
1480
1481 2014-08-07 Gary Benson <gbenson@redhat.com>
1482
1483 * common/common-defs.h: Include stdlib.h.
1484 * defs.h: Do not include stdlib.h.
1485 * addrmap.c: Likewise.
1486 * bcache.c: Likewise.
1487 * common/buffer.c: Likewise.
1488 * common/common-utils.c: Likewise.
1489 * cp-name-parser.y: Likewise.
1490 * go32-nat.c: Likewise.
1491 * mn10300-linux-tdep.c: Likewise.
1492 * nat/linux-osdata.c: Likewise.
1493 * tui/tui.c: Likewise.
1494 * windows-nat.c: Likewise.
1495
1496 2014-08-07 Gary Benson <gbenson@redhat.com>
1497
1498 * common/common-defs.h: Include stdio.h.
1499 * defs.h: Do not include stdio.h.
1500 * ada-lang.c: Likewise.
1501 * common/buffer.c: Likewise.
1502 * common/common-utils.c: Likewise.
1503 * cp-name-parser.y: Likewise.
1504 * gnu-nat.c: Likewise.
1505 * go32-nat.c: Likewise.
1506 * i386gnu-nat.c: Likewise.
1507 * proc-api.c: Likewise.
1508 * proc-events.c: Likewise.
1509 * proc-flags.c: Likewise.
1510 * proc-why.c: Likewise.
1511 * python/python-internal.h: Likewise.
1512 * target-memory.c: Likewise.
1513 * tui/tui-io.c: Likewise.
1514 * tui/tui.c: Likewise.
1515
1516 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1517
1518 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1519 (scan_dyntag_auxv): Same.
1520
1521 2014-08-06 Yao Qi <yao@codesourcery.com>
1522
1523 * amd64-linux-nat.c: Remove duplicated include
1524 "x86-linux-nat.h".
1525 * i386-linux-nat.c: Likewise.
1526
1527 2014-08-06 Yao Qi <yao@codesourcery.com>
1528
1529 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1530 operand" with "Special opcode" in comments.
1531
1532 2014-08-05 Gary Benson <gbenson@redhat.com>
1533
1534 * interps.c (initialize_interps): Remove prototype.
1535 (interpreter_initialized): Remove static global.
1536 (interp_add): Do not call initialize_interps.
1537 (initialize_interps): Remove function.
1538
1539 2014-08-05 Gary Benson <gbenson@redhat.com>
1540
1541 * utils.c (vwarning): Remove spurious va_end.
1542
1543 2014-08-05 Alan Modra <amodra@gmail.com>
1544
1545 * charset.c (convert_between_encodings): Cast result of obstack_base.
1546 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1547 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1548 (read_unwind_info): Use size_t for some locals.
1549 * jit.c (finalize_symtab): Likewise.
1550 * utils.c (hashtab_obstack_allocate): Likewise.
1551 * symmisc.c (print_objfile_statistics): Update format strings.
1552
1553 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1554
1555 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1556 (Changes in GDB 7.8): ... here.
1557
1558 2014-08-04 Tom Tromey <tromey@redhat.com>
1559
1560 * target.c (set_targetdebug): New function.
1561 (initialize_targets): Pass set_targetdebug when creating "set
1562 debug target".
1563
1564 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1565
1566 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1567 if detecting a variable-sized field that is not the last field.
1568 Fix struct type length computation.
1569
1570 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1571
1572 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1573 Add debug trace.
1574
1575 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1576
1577 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1578 Remove "+ 8" offset in computation of CHAIN_VMA.
1579
1580 2014-07-31 Doug Evans <dje@google.com>
1581
1582 * inflow.c (child_terminal_inferior): Add comment.
1583 (child_terminal_ours_for_output): Add comment.
1584 (child_terminal_ours): Add comment.
1585 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1586 (linux_nat_terminal_ours): Add comment.
1587
1588 2014-07-31 Gary Benson <gbenson@redhat.com>
1589
1590 * common/btrace-common.h: Do not include defs.h or server.h.
1591 * nat/mips-linux-watch.h: Likewise.
1592 * gdb-dlfcn.h: Do not include defs.h.
1593 * tracefile.h: Likewise.
1594
1595 2014-07-30 Roland McGrath <mcgrathr@google.com>
1596
1597 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1598
1599 2014-07-30 Tom Tromey <tromey@redhat.com>
1600
1601 * bsd-kvm.c (bsd_kvm_open): Constify.
1602 * corelow.c (core_open): Constify.
1603 * ctf.c (ctf_open): Constify.
1604 * dbug-rom.c (dbug_open): Constify.
1605 * exec.c (exec_open): Constify.
1606 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1607 * microblaze-rom.c (picobug_open): Constify.
1608 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1609 Constify.
1610 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1611 * record-btrace.c (record_btrace_open): Constify.
1612 * record-full.c (record_full_core_open_1, record_full_open_1)
1613 (record_full_open): Constify.
1614 * remote-m32r-sdi.c (m32r_open): Constify.
1615 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1616 (rockhopper_open, lsi_open): Constify.
1617 * remote-sim.c (gdbsim_open): Constify.
1618 * remote.c (remote_open, extended_remote_open, remote_open_1):
1619 Constify.
1620 * target.h (struct target_ops) <to_open>: Make "arg" const.
1621 * tracefile-tfile.c (tfile_open): Constify.
1622
1623 2014-07-30 Tom Tromey <tromey@redhat.com>
1624
1625 * breakpoint.c (map_breakpoint_numbers): Update.
1626 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1627 (get_number_const): New function.
1628 (get_number): Rewrite using get_number_const.
1629 (init_number_or_range): Make "string" const.
1630 (number_is_in_list): Make "list" const.
1631 * cli/cli-utils.h (get_number_const): Declare.
1632 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1633 (init_number_or_range, number_is_in_list): Update.
1634 * printcmd.c (map_display_numbers): Update.
1635 * value.c (value_from_history_ref): Constify.
1636 * value.h (value_from_history_ref): Update.
1637
1638 2014-07-30 Tom Tromey <tromey@redhat.com>
1639
1640 * corefile.c (hook_type, call_extra_exec_file_hooks)
1641 (specify_exec_file_hook): Constify.
1642 * exec.c (exec_file_attach): Make "filename" const.
1643 * gdbcore.h (deprecated_exec_file_display_hook)
1644 (specify_exec_file_hook, exec_file_attach): Constify.
1645 * main.c (captured_main): Use catch_command_errors_const.
1646
1647 2014-07-30 Tom Tromey <tromey@redhat.com>
1648
1649 * target.c (open_target): New function.
1650 (add_target_with_completer, add_deprecated_target_alias): Use
1651 set_cmd_sfunc, set_cmd_context.
1652 (debug_to_open): Remove.
1653 (setup_target_debug): Update.
1654
1655 2014-07-30 Yao Qi <yao@codesourcery.com>
1656
1657 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1658 comments.
1659 * parse.c (exp_iterate): Update comments.
1660
1661 2014-07-30 Gary Benson <gbenson@redhat.com>
1662
1663 * common/common-defs.h: New file.
1664 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1665 * defs.h: Include common-defs.h.
1666 Do not include config.h or build-gnulib/config.h.
1667
1668 2014-07-30 Gary Benson <gbenson@redhat.com>
1669
1670 * common/common-utils.h: Do not include config.h.
1671 * nat/linux-btrace.h: Likewise.
1672
1673 2014-07-30 Gary Benson <gbenson@redhat.com>
1674
1675 * btrace.c: Include defs.h.
1676 * common/ptid.c: Include defs.h or server.h as appropriate.
1677 * nat/mips-linux-watch.c: Likewise.
1678
1679 2014-07-29 Tom Tromey <tromey@redhat.com>
1680
1681 * target.c (target_is_pushed): Simplify.
1682
1683 2014-07-29 Joel Brobecker <brobecker@adacore.com>
1684
1685 GDB 7.8 released.
1686
1687 2014-07-29 Yao Qi <yao@codesourcery.com>
1688
1689 PR gdb/17206
1690 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1691
1692 2014-07-28 Doug Evans <xdje42@gmail.com>
1693
1694 PR guile/17203
1695 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1696 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1697 parameters.
1698
1699 2014-07-28 Will Newton <will.newton@linaro.org>
1700
1701 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1702 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1703 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1704 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1705 (THUMB2_EABI_SYSCALL): Likewise.
1706 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1707 struct tramp_frame.
1708 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1709 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1710
1711 2014-07-27 Doug Evans <xdje42@gmail.com>
1712
1713 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1714
1715 2014-07-27 Doug Evans <xdje42@gmail.com>
1716
1717 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1718
1719 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1720 Doug Evans <xdje42@gmail.com>
1721
1722 PR guile/17146
1723 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1724 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1725 * configure.ac: Try to use guild to compile an scm file, if it fails
1726 then disable guile support.
1727 * configure: Regenerate.
1728 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1729 GUILE_FILE_LIST.
1730 (GUILE_COMPILED_FILES): New variable.
1731 (GUILE_FILES) Update.
1732 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1733 (stamp-guile): Compile scm files.
1734 * guile/guile.c (boot_guile_support): New function.
1735 (standard_throw_args_p): New function.
1736 (print_standard_throw_error, print_throw_error): New functions.
1737 (handle_boot_error): New function.
1738 (initialize_scheme_side): Rewrite to call boot_guile_support.
1739 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1740 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1741
1742 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1743 Doug Evans <xdje42@gmail.com>
1744
1745 PR guile/17146
1746 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1747 * guile/lib/gdb/support.scm: New file.
1748 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1749 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1750 All uses updated.
1751 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1752 All uses updated.
1753 (%assert-type): Ditto, and renamed to assert-type.
1754 (%exception-print-style): Delete.
1755
1756 2014-07-26 Doug Evans <xdje42@gmail.com>
1757
1758 PR build/17105
1759 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1760 * configure: Regenerate.
1761 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1762 PYTHON_FILES.
1763 (PYTHON_FILES): New variable.
1764 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1765 (GUILE_FILES): New variable.
1766 (stamp-python, install-python, uninstall-python): Handle empty
1767 file list.
1768 (stamp-guile, install-guile, uninstall-guile): Ditto.
1769
1770 2014-07-26 Doug Evans <xdje42@gmail.com>
1771
1772 PR guile/17177
1773 * guile/lib/gdb.scm (pretty-printers): Export.
1774 (set-pretty-printers!): Export.
1775 * guile/lib/gdb/printing.scm (gdb module): Update.
1776 (prepend-pretty-printer!, append-pretty-printer!): Update.
1777 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1778 (pretty_printer_list_var): Delete.
1779 (pretty_printer_list): New static global.
1780 (gdbscm_pretty_printers): New function.
1781 (gdbscm_set_pretty_printers_x): New function.
1782 (ppscm_find_pretty_printer_from_gdb): Update.
1783 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1784 (gdbscm_initialize_pretty_printers): Update.
1785
1786 2014-07-26 Doug Evans <xdje42@gmail.com>
1787
1788 PR 17185
1789 * configure.ac: Add check for header gc/gc.h.
1790 Add check for function setenv.
1791 * configure: Regenerate.
1792 * config.in: Regenerate.
1793 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1794
1795 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1796
1797 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1798 variation in gdbarch matching.
1799
1800 2014-07-25 Tom Tromey <tromey@redhat.com>
1801
1802 * exec.c (using_exec_ops): Remove.
1803 (exec_close_1): Update. Remove extraneous block, reindent.
1804 (add_target_sections): Use target_is_pushed.
1805
1806 2014-07-25 Pedro Alves <palves@redhat.com>
1807
1808 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1809 * monitor.c (monitor_create_inferior): Likewise.
1810 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1811 * remote-sim.c (gdbsim_create_inferior): Likewise.
1812 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1813 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1814 * windows-nat.c (do_initial_windows_stuff): Likewise.
1815
1816 2014-07-25 Pedro Alves <palves@redhat.com>
1817
1818 * NEWS: Mention signal passing and "signal" command changes.
1819 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1820 comment.
1821 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1822 call.
1823 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1824 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1825 (jump_command): Adjust clear_proceed_status call.
1826 (signal_command): Warn if other thread that are resumed have
1827 signals that will be delivered. Adjust clear_proceed_status call.
1828 (until_next_command, finish_command)
1829 (proceed_after_attach_callback, attach_command_post_wait)
1830 (attach_command): Adjust clear_proceed_status call.
1831 * infrun.c (proceed_after_vfork_done): Likewise.
1832 (proceed_after_attach_callback): Adjust comment.
1833 (clear_proceed_status_thread): Clear stop_signal if not in pass
1834 state.
1835 (clear_proceed_status_callback): Delete.
1836 (clear_proceed_status): New 'step' parameter. Only clear the
1837 proceed status of threads the command being prepared is about to
1838 resume.
1839 (proceed): If passed in an explicit signal, override stop_signal
1840 with it. Don't pass the last stop signal to the thread we're
1841 resuming.
1842 (init_wait_for_inferior): Adjust clear_proceed_status call.
1843 (switch_back_to_stepped_thread): Clear the signal if it should not
1844 be passed.
1845 * infrun.h (clear_proceed_status): New 'step' parameter.
1846 (user_visible_resume_ptid): Add comment.
1847 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1848 signal is in pass state.
1849 * remote.c (append_pending_thread_resumptions): Likewise.
1850 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1851
1852 2014-07-25 Tom Tromey <tromey@redhat.com>
1853
1854 * target.h (target_stopped_data_address)
1855 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1856 parentheses.
1857
1858 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1859
1860 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1861 comments.
1862 (avr_pointer_to_address): Likewise.
1863
1864 2014-07-24 Tom Tromey <tromey@redhat.com>
1865
1866 * monitor.c (compile_pattern): Update.
1867 * target.h (struct target_ops) <to_shortname, to_longname,
1868 to_doc>: Now const.
1869
1870 2014-07-24 Tom Tromey <tromey@redhat.com>
1871
1872 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1873 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1874 (add_info_alias, add_com): Make "doc" const.
1875 (print_doc_line): Make "str" const.
1876 (delete_cmd): Update.
1877 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1878 (print_doc_line): Update.
1879 * cli/cli-script.c (document_command): Update.
1880 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1881 (add_com, add_info, add_info_alias): Update.
1882 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1883 * python/py-cmd.c (cmdpy_destroyer): Update.
1884
1885 2014-07-24 Tom Tromey <tromey@redhat.com>
1886
1887 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1888 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1889 (help_cmd_list): Constify.
1890 (lookup_cmd): Update.
1891 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1892 const.
1893 (help_cmd_list, apropos_cmd): Update.
1894 * cli/cli-script.c (show_user): Update.
1895 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1896 * cli/cli-setshow.h (cmd_show_list): Update.
1897 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1898 (cmd_show_list): Update.
1899 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1900 * python/py-cmd.c (cmdpy_destroyer): Update.
1901
1902 2014-07-24 Tom Tromey <tromey@redhat.com>
1903
1904 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1905 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1906 const.
1907 * command.h (deprecate_cmd): Update.
1908 * maint.c (maintenance_do_deprecate): Add casts.
1909
1910 2014-07-24 Tom Tromey <tromey@redhat.com>
1911
1912 * cli/cli-decode.c (help_cmd): Make parameter "const".
1913 * cli/cli-decode.h (help_cmd): Update.
1914
1915 2014-07-24 Tom Tromey <tromey@redhat.com>
1916
1917 * stack.c (up_silently_base, down_silently_base): Make argument
1918 const.
1919
1920 2014-07-24 Tom Tromey <tromey@redhat.com>
1921
1922 * solib.c (solib_add): Make "pattern" const.
1923 * solib.h (solib_add): Update.
1924
1925 2014-07-24 Tom Tromey <tromey@redhat.com>
1926
1927 * remote.c (remote_serial_open, print_packet, putpkt)
1928 (putpkt_binary): Constify.
1929 * remote.h (putpkt): Update.
1930
1931 2014-07-24 Tom Tromey <tromey@redhat.com>
1932
1933 * monitor.c (monitor_open): Make "args" const.
1934 * monitor.h (monitor_open): Update.
1935
1936 2014-07-24 Tom Tromey <tromey@redhat.com>
1937
1938 * maint.c (match_bfd_flags): Make "string" const.
1939 (print_bfd_section_info): Remove casts.
1940 (print_objfile_section_info): Make "string" const.
1941
1942 2014-07-24 Tom Tromey <tromey@redhat.com>
1943
1944 * inf-child.c (inf_child_open_target): Make "arg" const.
1945 * inf-child.h (inf_child_open_target): Update.
1946
1947 2014-07-24 Tom Tromey <tromey@redhat.com>
1948
1949 * environ.c (unset_in_environ): Make "var" const.
1950 * environ.h (unset_in_environ): Update.
1951
1952 2014-07-24 Tom Tromey <tromey@redhat.com>
1953
1954 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1955 Make "cmd" const.
1956 (scan_filename_with_cleanup): Likewise.
1957 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1958 Make arguments const.
1959 (restore_command): Update.
1960
1961 2014-07-24 Pedro Alves <palves@redhat.com>
1962
1963 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1964
1965 2014-07-24 Tom Tromey <tromey@redhat.com>
1966 Gary Benson <gbenson@redhat.com>
1967
1968 * nat/linux-ptrace.c (additional_flags): New global.
1969 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1970 additional_flags; don't check GDBSERVER.
1971 (linux_ptrace_set_additional_flags): New function.
1972 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1973 Declare.
1974 * linux-nat.c (_initialize_linux_nat): Call
1975 linux_ptrace_set_additional_flags.
1976
1977 2014-07-24 Tom Tromey <tromey@redhat.com>
1978
1979 * make-target-delegates (munge_type, write_debugmethod): New
1980 functions.
1981 (debug_names): New global.
1982 ($TARGET_DEBUG_PRINTER): New global.
1983 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1984 name.
1985 Write debug methods. Generate init_debug_target.
1986 * target-debug.h: New file.
1987 * target-delegates.c: Rebuild.
1988 * target.c: Include target-debug.h.
1989 (debug_target): Hoist definition.
1990 (target_kill, target_get_section_table, target_memory_map)
1991 (target_flash_erase, target_flash_done, target_detach)
1992 (target_disconnect, target_wait, target_resume)
1993 (target_pass_signals, target_program_signals, target_follow_fork)
1994 (target_mourn_inferior, target_search_memory)
1995 (target_thread_address_space, target_close)
1996 (target_find_new_threads, target_core_of_thread)
1997 (target_verify_memory, target_insert_mask_watchpoint)
1998 (target_remove_mask_watchpoint): Remove targetdebug code.
1999 (debug_to_post_attach, debug_to_prepare_to_store)
2000 (debug_to_files_info, debug_to_insert_breakpoint)
2001 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2002 (debug_to_region_ok_for_hw_watchpoint)
2003 (debug_to_can_accel_watchpoint_condition)
2004 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2005 (debug_to_watchpoint_addr_within_range)
2006 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2007 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2008 (debug_to_terminal_init, debug_to_terminal_inferior)
2009 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2010 (debug_to_terminal_save_ours, debug_to_terminal_info)
2011 (debug_to_load, debug_to_post_startup_inferior)
2012 (debug_to_insert_fork_catchpoint)
2013 (debug_to_remove_fork_catchpoint)
2014 (debug_to_insert_vfork_catchpoint)
2015 (debug_to_remove_vfork_catchpoint)
2016 (debug_to_insert_exec_catchpoint)
2017 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2018 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2019 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2020 (setup_target_debug): Call init_debug_target.
2021 * target.h (TARGET_DEBUG_PRINTER): New macro.
2022 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2023 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2024
2025 2014-07-24 Gary Benson <gbenson@redhat.com>
2026
2027 * exceptions.h (throw_vfatal): Renamed to...
2028 (throw_vquit): New declaration.
2029 (throw_quit): Likewise.
2030 * exceptions.c (throw_vfatal): Renamed to...
2031 (throw_vquit): New function.
2032 (throw_quit): Likewise.
2033 (throw_error): Call throw_verror rather than throw_it.
2034 * utils.h (vfatal): Removed.
2035 (fatal): Likewise.
2036 * utils.c (vfatal): Removed.
2037 (fatal): Likewise.
2038 (internal_verror): Replaced call to fatal with call to throw_quit.
2039 (quit): Replaced calls to fatal with calls to throw_quit.
2040
2041 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2042
2043 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2044 target_read_code.
2045
2046 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2047
2048 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2049 less than zero in conditional expression.
2050
2051 2014-07-23 Tom Tromey <tromey@redhat.com>
2052
2053 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2054 ($INTRO_PART): Don't match whitespace.
2055 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2056 argument matching.
2057 ($METHOD): Add $METHOD_TRAILER.
2058 (trim): Rewrite.
2059 (scan_target_h): New sub.
2060 Change main loop not to collect state.
2061 * target-delegates.c: Rebuild.
2062
2063 2014-07-23 Gary Benson <gbenson@redhat.com>
2064
2065 * cp-support.c (gdb_demangle): Fix build on systems without
2066 sigaltstack.
2067
2068 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2071 for reference entry value target data value.
2072
2073 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2074
2075 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2076 value_available_contents_eq.
2077
2078 2014-07-22 Pedro Alves <palves@redhat.com>
2079
2080 * value.c (allocate_optimized_out_value): Don't mark value as
2081 non-lazy.
2082
2083 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2084
2085 * MAINTAINERS (Write After Approval): Update my email address.
2086
2087 2014-07-20 Doug Evans <dje@google.com>
2088
2089 PR server/17147
2090 * remote.c (putpkt_binary): Add text to error message.
2091
2092 2014-07-20 Yao Qi <yao@codesourcery.com>
2093
2094 * eval.c: Remove "Chill" from comments.
2095 * gdbtypes.h: Likewise.
2096 * symtab.h: Likewise.
2097
2098 2014-07-20 Yao Qi <yao@codesourcery.com>
2099
2100 * std-operator.def: Update comments to TERNOP_SLICE.
2101
2102 2014-07-20 Yao Qi <yao@codesourcery.com>
2103
2104 * std-operator.def: Remove BINOP_RANGE.
2105 * breakpoint.c (watchpoint_exp_is_const): Update.
2106 * expprint.c (dump_subexp_body_standard): Likewise.
2107 * eval.c (init_array_element): Remove dead code.
2108 (evaluate_subexp_standard): Likewise.
2109
2110 2014-07-20 Yao Qi <yao@codesourcery.com>
2111
2112 * std-operator.def: Remove BINOP_IN.
2113 * breakpoint.c (watchpoint_exp_is_const): Update.
2114 * eval.c (evaluate_subexp_standard): Likewise.
2115 * expprint.c (dump_subexp_body_standard): Likewise.
2116
2117 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2118
2119 * microblaze-tdep.c (microblaze_register_names): Add
2120 the rshr and rslr register names.
2121 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2122 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2123 Use of tdesc_numbered_register. Use of
2124 microblaze_register_g_packet_guesses. Use of
2125 tdesc_use_registers. Use of set_gdbarch_register_type.
2126 (microblaze_register_g_packet_guesses): New.
2127 * microblaze-tdep.h (microblaze_reg_num): Add
2128 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2129 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2130 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2131 * features/microblaze-core.xml: New file.
2132 * features/microblaze-stack-protect.xml: New file.
2133 * features/microblaze-with-stack-protect.c: New file.
2134 * features/microblaze-with-stack-protect.xml: New file.
2135 * features/microblaze.xml: New file.
2136 * features/microblaze.c: New file.
2137 * features/Makefile (microblaze-with-stack-protect): Add
2138 microblaze-with-stack-protect microblaze and microblaze-expedite.
2139 * regformats/microblaze-with-stack-protect.dat: New file.
2140 * regformats/microblaze.dat: New file.
2141 * doc/gdb.texinfo (MicroBlaze Features): Added.
2142
2143 2014-07-18 Tom Tromey <tromey@redhat.com>
2144
2145 * exec.c (exec_ops): Now static.
2146 * exec.h (exec_ops): Don't declare.
2147
2148 2014-07-18 Tom Tromey <tromey@redhat.com>
2149
2150 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2151 to find_target_beneath.
2152 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2153 find_target_beneath.
2154 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2155
2156 2014-07-18 Tom Tromey <tromey@redhat.com>
2157
2158 PR gdb/17130:
2159 * utils.c (quit): Use target_supports_terminal_ours.
2160 * target.h (target_supports_terminal_ours): Declare.
2161 * target.c (target_supports_delete_record): Don't check
2162 to_delete_record against NULL.
2163 (target_supports_terminal_ours): New function.
2164
2165 2014-07-18 Tom Tromey <tromey@redhat.com>
2166
2167 PR gdb/17130:
2168 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2169 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2170 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2171 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2172 * windows-nat.c (windows_xfer_partial): Always delegate.
2173 * record-btrace.c (record_btrace_xfer_partial): Simplify
2174 delegation.
2175 (record_btrace_fetch_registers, record_btrace_store_registers)
2176 (record_btrace_prepare_to_store, record_btrace_resume)
2177 (record_btrace_wait, record_btrace_find_new_threads)
2178 (record_btrace_thread_alive): Likewise.
2179 * procfs.c (procfs_xfer_partial): Always delegate.
2180 * corelow.c (core_xfer_partial): Always delegate.
2181 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2182
2183 2014-07-18 Tom Tromey <tromey@redhat.com>
2184
2185 * exec.c (exec_make_note_section): Move earlier.
2186
2187 2014-07-17 Doug Evans <dje@google.com>
2188
2189 PR gdb/17170
2190 * maint.c (count_symtabs_and_blocks): Handle NULL
2191 current_program_space.
2192 (report_command_stats): Check global enabled flag in addition to
2193 recorded enabled flag.
2194 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2195
2196 2014-07-16 Pedro Alves <palves@redhat.com>
2197
2198 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2199
2200 2014-07-16 Tom Tromey <tromey@redhat.com>
2201
2202 * target.h (struct target_ops) <to_delete_record>: Reformat
2203 comment.
2204
2205 2014-07-16 Tom Tromey <tromey@redhat.com>
2206
2207 * target-delegates.c: Rebuild.
2208
2209 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2210
2211 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2212 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2213 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2214 (avr_pointer_to_address): Likewise.
2215 (avr_address_class_type_flags): New function.
2216 (avr_address_class_type_flags_to_name): Likewise.
2217 (avr_address_class_name_to_type_flags): Likewise.
2218 (avr_gdbarch_init): Set address_class_type_flags,
2219 address_class_type_flags_to_name and
2220 address_class_name_to_type_flags.
2221
2222 2014-07-15 Pedro Alves <palves@redhat.com>
2223
2224 * linux-nat.c (kill_callback): Save errno and work with saved
2225 copy.
2226
2227 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2228
2229 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2230
2231 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2232
2233 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2234 breakpoint support correctly.
2235
2236 2014-07-14 Pedro Alves <palves@redhat.com>
2237
2238 * utils.c (prompt_for_continue): Call target_terminal_ours.
2239
2240 2014-07-14 Pedro Alves <palves@redhat.com>
2241
2242 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2243 catch_errors. Don't re-enable stdin or notify observers where,
2244 and rethrow error.
2245 (fetch_inferior_event_wrapper): Delete.
2246
2247 2014-07-14 Pedro Alves <palves@redhat.com>
2248
2249 PR gdb/17072
2250 * top.c: Include "inf-loop.h".
2251 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2252 field.
2253 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2254 was async before.
2255 (gdb_readline_wrapper): Store whether the target is async, and
2256 make it sync.
2257
2258 2014-07-14 Pedro Alves <palves@redhat.com>
2259
2260 PR gdb/17072
2261 * top.c (gdb_readline_wrapper_line): Tweak comment.
2262 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2263 the input handler callback.
2264
2265 2014-07-14 Pedro Alves <palves@redhat.com>
2266
2267 PR gdb/17072
2268 * main.c: Include event-top.h.
2269 (handle_command_errors): New function.
2270 (catch_command_errors, catch_command_errors_const): Use it.
2271
2272 2014-07-14 Pedro Alves <palves@redhat.com>
2273
2274 * exceptions.c (catch_command_errors, catch_command_errors_const):
2275 Moved to main.c.
2276 * exceptions.h (catch_command_errors_ftype)
2277 (catch_command_errors_const_ftype): Moved to main.c.
2278 (catch_command_errors, catch_command_errors_const): Delete
2279 declarations.
2280 * main.c (catch_command_errors_ftype)
2281 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2282 (catch_command_errors, catch_command_errors_const)): Moved here
2283 from exceptions.c and make static.
2284
2285 2014-07-14 Pedro Alves <palves@redhat.com>
2286
2287 * exceptions.c (print_any_exception): Delete.
2288 (catch_exceptions_with_msg): Use exception_print instead of
2289 print_any_exception.
2290 (catch_errors): Use exception_fprintf instead of
2291 print_any_exception.
2292 (catch_command_errors, catch_command_errors_const): Use
2293 exception_print instead of print_any_exception.
2294
2295 2014-07-14 Pedro Alves <palves@redhat.com>
2296
2297 * infcall.c (run_inferior_call): Set 'sync_execution' while
2298 running the inferior call.
2299
2300 2014-07-14 Pedro Alves <palves@redhat.com>
2301
2302 * value.c (value_contents_equal): Delete function.
2303 * value.h (value_contents_equal): Delete declaration.
2304
2305 2014-07-14 Tom Tromey <tromey@redhat.com>
2306
2307 PR exp/17106:
2308 * gdbtypes.c (is_dynamic_type_internal): New function, from
2309 is_dynamic_type.
2310 (is_dynamic_type): Rewrite.
2311 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2312 (resolve_dynamic_struct): Likewise.
2313 (resolve_dynamic_type_internal): New function, from
2314 resolve_dynamic_type.
2315 (resolve_dynamic_type): Rewrite.
2316
2317 2014-07-14 Tom Tromey <tromey@redhat.com>
2318
2319 * target.c (target_require_runnable): Also check record_stratum.
2320 Update comment.
2321
2322 2014-07-11 Yao Qi <yao@codesourcery.com>
2323
2324 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2325 thumb_instruction_restores_sp return true.
2326
2327 2014-07-11 Yao Qi <yao@codesourcery.com>
2328
2329 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2330 (thumb_in_function_epilogue_p): Call
2331 thumb_instruction_restores_sp.
2332
2333 2014-07-11 Yao Qi <yao@codesourcery.com>
2334
2335 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2336 'add sp, #imm'.
2337 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2338
2339 2014-07-11 Gary Benson <gbenson@redhat.com>
2340
2341 * amd64-linux-nat.c (gdbcore.h): Remove include.
2342 (regset.h): Likewise.
2343 (nat/linux-btrace.h): Likewise.
2344 (btrace.h): Likewise.
2345 (gdb_assert.h): Likewise.
2346 (string.h): Likewise.
2347 (sys/uio.h): Likewise.
2348 (sys/debugreg.h): Likewise.
2349 (sys/syscall.h): Likewise.
2350 (sys/procfs.h): Likewise.
2351 (sys/user.h): Likewise.
2352 (asm/ptrace.h): Likewise.
2353 (i386-nat.h): Likewise.
2354 * i386-linux-nat.c (i386-nat.h): Likewise.
2355 (regset.h): Likewise.
2356 (target.h): Likewise.
2357 (linux-nat.h): Likewise.
2358 (nat/linux-btrace.h): Likewise.
2359 (btrace.h): Likewise.
2360 (gdb_assert.h): Likewise.
2361 (string.h): Likewise.
2362 (sys/uio.h): Likewise.
2363 (sys/user.h): Likewise.
2364 (sys/procfs.h): Likewise.
2365 (sys/reg.h): Likewise.
2366 (sys/debugreg.h): Likewise.
2367 (ORIG_EAX): Remove definition.
2368
2369 2014-07-11 Gary Benson <gbenson@redhat.com>
2370
2371 * i386-linux-nat.h: New file.
2372 * x86-linux-nat.h: Likewise.
2373 * x86-linux-nat.c: Likewise.
2374 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2375 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2376 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2377 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2378 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2379 (PTRACE_SETREGSET): Likewise.
2380 (arch_lwp_info): Now in x86-linux-nat.c.
2381 (have_ptrace_getregset): Now in x86-linux-nat.h.
2382 (x86_linux_dr_get): Now in x86-linux-nat.c.
2383 (x86_linux_dr_set): Likewise.
2384 (x86_linux_dr_get_addr): Likewise.
2385 (x86_linux_dr_get_control): Likewise.
2386 (x86_linux_dr_get_status): Likewise.
2387 (update_debug_registers_callback): Likewise.
2388 (x86_linux_dr_set_control): Likewise.
2389 (x86_linux_dr_set_addr): Likewise.
2390 (x86_linux_prepare_to_resume): Likewise.
2391 (x86_linux_new_thread): Likewise.
2392 (x86_linux_new_fork): Likewise.
2393 (x86_linux_get_thread_area): Likewise.
2394 (super_post_startup_inferior): Likewise.
2395 (x86_linux_child_post_startup_inferior): Likewise.
2396 (AMD64_LINUX_USER64_CS): Likewise.
2397 (AMD64_LINUX_X32_DS): Likewise.
2398 (x86_linux_read_description): Likewise.
2399 (x86_linux_enable_btrace): Likewise.
2400 (x86_linux_disable_btrace): Likewise.
2401 (x86_linux_teardown_btrace): Likewise.
2402 (x86_linux_read_btrace): Likewise.
2403 (x86_linux_create_target): Likewise.
2404 (x86_linux_add_target): Likewise.
2405 * i386-linux-nat.c (x86-linux-nat.h): New include.
2406 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2407 (PTRACE_SETREGSET): Likewise.
2408 (arch_lwp_info): Now in x86-linux-nat.c.
2409 (have_ptrace_getregset): Now in x86-linux-nat.h.
2410 (x86_linux_dr_get): Now in x86-linux-nat.c.
2411 (x86_linux_dr_set): Likewise.
2412 (x86_linux_dr_get_addr): Likewise.
2413 (x86_linux_dr_get_control): Likewise.
2414 (x86_linux_dr_get_status): Likewise.
2415 (update_debug_registers_callback): Likewise.
2416 (x86_linux_dr_set_control): Likewise.
2417 (x86_linux_dr_set_addr): Likewise.
2418 (x86_linux_prepare_to_resume): Likewise.
2419 (x86_linux_new_thread): Likewise.
2420 (x86_linux_new_fork): Likewise.
2421 (x86_linux_get_thread_area): Likewise.
2422 (super_post_startup_inferior): Likewise.
2423 (x86_linux_child_post_startup_inferior): Likewise.
2424 (AMD64_LINUX_USER64_CS): Likewise.
2425 (AMD64_LINUX_X32_DS): Likewise.
2426 (x86_linux_read_description): Likewise.
2427 (x86_linux_enable_btrace): Likewise.
2428 (x86_linux_disable_btrace): Likewise.
2429 (x86_linux_teardown_btrace): Likewise.
2430 (x86_linux_read_btrace): Likewise.
2431 (x86_linux_create_target): Likewise.
2432 (x86_linux_add_target): Likewise.
2433
2434 2014-07-11 Gary Benson <gbenson@redhat.com>
2435
2436 * amd64-linux-nat.c: Comment and whitespace changes.
2437 * i386-linux-nat.c: Comment and whitespace changes.
2438
2439 2014-07-11 Gary Benson <gbenson@redhat.com>
2440
2441 * amd64-linux-nat.c (x86_linux_create_target): New function.
2442 (x86_linux_add_target): Likewise.
2443 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2444 * i386-linux-nat.c (x86_linux_create_target): New function.
2445 (x86_linux_add_target): Likewise.
2446 (_initialize_i386_linux_nat): Delegate to the above new functions.
2447
2448 2014-07-11 Gary Benson <gbenson@redhat.com>
2449
2450 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2451 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2452 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2453 (ps_get_thread_area): Delegate to the above.
2454
2455 2014-07-11 Gary Benson <gbenson@redhat.com>
2456
2457 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2458 x86_linux_read_description. All uses updated. amd64-specific
2459 code conditionalized. Conditionalized i386-specific code added.
2460 Redundant cast removed.
2461 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2462 x86_linux_read_description. All uses updated. i386-specific
2463 code conditionalized. Conditionalized amd64-specific code added.
2464 One sizeof replaced with the actual type it is describing.
2465
2466 2014-07-11 Gary Benson <gbenson@redhat.com>
2467
2468 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2469 x86_linux_dr_get. All uses updated.
2470 (amd64_linux_dr_set): Renamed to
2471 x86_linux_dr_set. All uses updated.
2472 (amd64_linux_dr_get_addr): Renamed to
2473 x86_linux_dr_get_addr. All uses updated.
2474 (amd64_linux_dr_get_control): Renamed to
2475 x86_linux_dr_get_control. All uses updated.
2476 (amd64_linux_dr_get_status): Renamed to
2477 x86_linux_dr_get_status. All uses updated.
2478 (amd64_linux_dr_set_control): Renamed to
2479 x86_linux_dr_set_control. All uses updated.
2480 (amd64_linux_dr_set_addr): Renamed to
2481 x86_linux_dr_set_addr. All uses updated.
2482 (amd64_linux_prepare_to_resume): Renamed to
2483 x86_linux_prepare_to_resume. All uses updated.
2484 (amd64_linux_new_thread): Renamed to
2485 x86_linux_new_thread. All uses updated.
2486 (amd64_linux_new_fork): Renamed to
2487 x86_linux_new_fork. All uses updated.
2488 (amd64_linux_child_post_startup_inferior): Renamed to
2489 x86_linux_child_post_startup_inferior. All uses updated.
2490 (amd64_linux_enable_btrace): Renamed to
2491 x86_linux_enable_btrace. All uses updated.
2492 (amd64_linux_disable_btrace): Renamed to
2493 x86_linux_disable_btrace. All uses updated.
2494 (amd64_linux_teardown_btrace): Renamed to
2495 x86_linux_teardown_btrace. All uses updated.
2496 (amd64_linux_read_btrace): Renamed to
2497 x86_linux_read_btrace. All uses updated.
2498 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2499 x86_linux_dr_get. All uses updated.
2500 (i386_linux_dr_set): Renamed to
2501 x86_linux_dr_set. All uses updated.
2502 (i386_linux_dr_get_addr): Renamed to
2503 x86_linux_dr_get_addr. All uses updated.
2504 (i386_linux_dr_get_control): Renamed to
2505 x86_linux_dr_get_control. All uses updated.
2506 (i386_linux_dr_get_status): Renamed to
2507 x86_linux_dr_get_status. All uses updated.
2508 (i386_linux_dr_set_control): Renamed to
2509 x86_linux_dr_set_control. All uses updated.
2510 (i386_linux_dr_set_addr): Renamed to
2511 x86_linux_dr_set_addr. All uses updated.
2512 (i386_linux_prepare_to_resume): Renamed to
2513 x86_linux_prepare_to_resume. All uses updated.
2514 (i386_linux_new_thread): Renamed to
2515 x86_linux_new_thread. All uses updated.
2516 (i386_linux_new_fork): Renamed to
2517 x86_linux_new_fork. All uses updated.
2518 (i386_linux_child_post_startup_inferior): Renamed to
2519 x86_linux_child_post_startup_inferior. All uses updated.
2520 (i386_linux_enable_btrace): Renamed to
2521 x86_linux_enable_btrace. All uses updated.
2522 (i386_linux_disable_btrace): Renamed to
2523 x86_linux_disable_btrace. All uses updated.
2524 (i386_linux_teardown_btrace): Renamed to
2525 x86_linux_teardown_btrace. All uses updated.
2526 (i386_linux_read_btrace): Renamed to
2527 x86_linux_read_btrace. All uses updated.
2528
2529 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2530
2531 * remote.c (extended_remote_post_attach): New function.
2532 (init_extended_remote_ops): Install it as to_post_attach method.
2533
2534 2014-07-09 Pedro Alves <palves@redhat.com>
2535
2536 * infcmd.c (attach_command_post_wait): Don't call
2537 target_terminal_inferior here.
2538 (attach_command): Call it here instead.
2539
2540 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2541
2542 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2543 field.
2544 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2545 from varobj.c, with additional checks.
2546 (c_varobj_ops): Fill in is_path_expr_parent field.
2547 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2548 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2549 field.
2550 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2551 ops method.
2552 (varobj_default_is_path_expr_parent): New function.
2553 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2554 (varobj_default_is_path_expr_parent): Declare new function.
2555
2556 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2557
2558 * infcmd.c (finish_backward): Turn internal error into normal error.
2559
2560 2014-07-07 Pedro Alves <palves@redhat.com>
2561
2562 PR gdb/17096
2563 * remote.c (async_handle_remote_sigint)
2564 (async_handle_remote_sigint_twice): Call
2565 gdb_call_async_signal_handler instead of
2566 mark_async_signal_handler.
2567
2568 2014-07-07 Tom Tromey <tromey@redhat.com>
2569
2570 * target-delegates.c: Rebuild.
2571 * target.c (target_info_record): Remove.
2572 * record.c (info_record_command): Unconditionally call
2573 to_info_record.
2574 * target.h (struct target_ops) <to_info_record>: Use
2575 TARGET_DEFAULT_IGNORE.
2576 (target_info_record): Remove.
2577
2578 2014-07-07 Tom Tromey <tromey@redhat.com>
2579
2580 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2581 TARGET_DEFAULT_NORETURN.
2582 * target.c (generic_tls_error): New function.
2583 (target_translate_tls_address): Don't search target stack.
2584 * target-delegates.c: Rebuild.
2585 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2586 stack.
2587 * linux-thread-db.c (thread_db_get_thread_local_address):
2588 Unconditionally call beneath target.
2589
2590 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2591
2592 * cli/cli-logging.c (pop_output_files): Assign targerr to
2593 gdb_stdtargerr.
2594
2595 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * MAINTAINERS (Write After Approval): Update my email address.
2598
2599 2014-07-02 Gary Benson <gbenson@redhat.com>
2600
2601 * proc-service.c (ps_xfer_memory): Update comment.
2602 (ps_pstop): Remove unused function.
2603 (ps_pcontinue): Likewise.
2604 (ps_lstop): Likewise.
2605 (ps_lcontinue): Likewise.
2606 (ps_lgetxregsize): Likewise.
2607 (ps_lgetxregs): Likewise.
2608 (ps_lsetxregs): Likewise.
2609 (ps_plog): Likewise.
2610 (ps_ptread): Likewise.
2611 (ps_ptwrite): Likewise.
2612
2613 2014-07-01 Mark Wielaard <mjw@redhat.com>
2614
2615 * dwarf2read.c (add_array_cv_type): New function.
2616 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2617 (read_tag_volatile_type): Likewise.
2618
2619 2014-07-01 Tom Tromey <tromey@redhat.com>
2620
2621 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2622 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2623 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2624 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2625 * command.h (cmd_cfunc_ftype): Move earlier.
2626 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2627 (add_com, add_info): Use cmd_cfunc_ftype.
2628
2629 2014-06-30 Tom Tromey <tromey@redhat.com>
2630
2631 * symtab.c (operator_chars): Make parameters and return type
2632 const.
2633 (file_matches): Make "files" const.
2634 (struct search_symbols_data) <files>: Now const.
2635 (search_symbols): Make "regexp" and "files" parameters const.
2636 Update.
2637 (symtab_symbol_info): Remove cast.
2638 (rbreak_command): Update.
2639 * symtab.h (search_symbols): Update.
2640
2641 2014-06-27 Yao Qi <yao@codesourcery.com>
2642
2643 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2644 Change parameter type to 'struct thread_info *'. Caller
2645 updated.
2646 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2647 Update declaration.
2648 * dummy-frame.c (struct dummy_frame_id): New.
2649 (dummy_frame_id_eq): New function.
2650 (struct dummy_frame) <id>: Change its type to 'struct
2651 dummy_frame_id'.
2652 (dummy_frame_push): Add parameter ptid and save it in
2653 dummy_frame_id.
2654 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2655 inferior_ptid.
2656 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2657 to inferior_ptid.
2658 (lookup_dummy_frame): Change parameter type to 'struct
2659 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2660 instead of frame_id_eq.
2661 (dummy_frame_pop): Add parameter ptid. Callers updated.
2662 Update comments. Compose dummy_frame_id and pass it to
2663 lookup_dummy_frame.
2664 (dummy_frame_discard): Add parameter ptid.
2665 (dummy_frame_sniffer): Compose dummy_frame_id and call
2666 dummy_frame_id_eq instead of frame_id_eq.
2667 (fprint_dummy_frames): Print ptid.
2668 * dummy-frame.h: Remove comments.
2669 (dummy_frame_push): Add ptid in declaration.
2670 (dummy_frame_pop, dummy_frame_discard): Likewise.
2671
2672 2014-06-26 Tom Tromey <tromey@redhat.com>
2673
2674 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2675 * command.h (error_no_arg): Update.
2676
2677 2014-06-26 Tom Tromey <tromey@redhat.com>
2678
2679 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2680 (do_show_command): Make "arg" const.
2681 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2682
2683 2014-06-26 Tom Tromey <tromey@redhat.com>
2684
2685 * record-full.c (record_full_get_bookmark): Make "args" const.
2686 (record_full_goto_bookmark): Make "raw_bookmark" const.
2687 * record.c (record_goto): New function.
2688 (cmd_record_goto): Use it. Now static.
2689 * record.h (record_goto): Declare.
2690 (cmd_record_goto): Remove declaration.
2691 * target-delegates.c: Rebuild.
2692 * target.h (struct target_ops) <to_get_bookmark,
2693 to_goto_bookmark>: Make parameter const.
2694
2695 2014-06-26 Tom Tromey <tromey@redhat.com>
2696
2697 * defs.h (generic_load): Update.
2698 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2699 * monitor.c (monitor_load): Make "args" const.
2700 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2701 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2702 const.
2703 (mips_load): Make "file" const.
2704 * remote-sim.c (gdbsim_load): Make "args" const.
2705 * remote.c (remote_load): Make "name" const.
2706 * symfile.c (generic_load): Make "args" const.
2707 * target-delegates.c: Rebuild.
2708 * target.c (target_load): Make "arg" const.
2709 (debug_to_load): Make "args" const.
2710 * target.h (struct target_ops) <to_load>: Make parameter const.
2711 (target_load): Update.
2712
2713 2014-06-26 Tom Tromey <tromey@redhat.com>
2714
2715 PR symtab/16902:
2716 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2717 (dwarf2_physname, read_partial_die)
2718 (guess_partial_die_structure_name, fixup_partial_die)
2719 (guess_full_die_structure_name, anonymous_struct_prefix)
2720 (dwarf2_name): Use per-BFD obstack.
2721
2722 2014-06-26 Yao Qi <yao@codesourcery.com>
2723
2724 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2725 dummyframe and this_id into inner block below.
2726
2727 2014-06-26 Yao Qi <yao@codesourcery.com>
2728
2729 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2730 with "signal_pass[0]" in the initialization of signal_pass.
2731
2732 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2733
2734 * record-btrace.c (record_btrace_generating_corefile)
2735 (record_btrace_prepare_to_generate_core)
2736 (record_btrace_done_generating_core): New.
2737 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2738 (record_btrace_store_registers, record_btrace_prepare_to_store):
2739 Forward request when generating a core file.
2740 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2741 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2742 to_done_generating_core.
2743
2744 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2745
2746 * target.h (target_ops) <to_prepare_to_generate_core>
2747 <to_done_generating_core>: New.
2748 (target_prepare_to_generate_core, target_done_generating_core): New.
2749 * target.c (target_prepare_to_generate_core)
2750 (target_done_generating_core): New.
2751 * target-delegates.c: Regenerate.
2752 * gcore.c: (write_gcore_file): Rename to ...
2753 (write_gcore_file_1): ...this.
2754 (write_gcore_file): Call target_prepare_to_generate_core
2755 and target_done_generating_core.
2756
2757 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2758
2759 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2760 * gcore.c (write_gcore_file): Free memory returned from
2761 make_corefile_notes.
2762 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2763 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2764
2765 2014-06-24 Yao Qi <yao@codesourcery.com>
2766
2767 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2768 (arm_linux_init_abi): Set skip_trampoline_code with
2769 gdbarch_skip_trampoline_code instead of
2770 find_solib_trampoline_target.
2771
2772 2014-06-24 Yao Qi <yao@codesourcery.com>
2773
2774 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2775 arm_skip_bx_reg returns non-zero.
2776
2777 2014-06-24 Yao Qi <yao@codesourcery.com>
2778
2779 * arm-tdep.c (arm_skip_bx_reg): New function.
2780 (arm_skip_stub): Call arm_skip_bx_reg.
2781
2782 2014-06-23 Don Breazeal <donb@codesourcery.com>
2783
2784 * MAINTAINERS: Add myself as write-after-approval maintainer.
2785
2786 2014-06-23 Pedro Alves <palves@redhat.com>
2787
2788 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2789 DR_CONTROL before setting DR0..DR3.
2790 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2791 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2792 bits of DR_CONTROL related to the debug register slot being
2793 disabled. If all slots are vacant, clear local slowdown as well,
2794 and assert DR_CONTROL is 0.
2795
2796 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2797
2798 * python/lib/gdb/command/xmethods.py
2799 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2800 current progspace only if the string "progspace" matches LOCUS_RE.
2801
2802 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2803
2804 Fix --with-system-readline with readline-6.3 patch 5.
2805 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2806 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2807 types.
2808
2809 2014-06-20 Tom Tromey <tromey@redhat.com>
2810
2811 * dwarf2read.c (dw2_get_real_path): Use correct type in
2812 OBSTACK_CALLOC.
2813 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2814
2815 2014-06-20 Gary Benson <gbenson@redhat.com>
2816
2817 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2818 * common/glibc_thread_db.h: Likewise.
2819 * common/i386-cpuid.h: Likewise.
2820 * common/i386-gcc-cpuid.h: Likewise.
2821 * common/linux-btrace.h: Likewise.
2822 * common/linux-osdata.h: Likewise.
2823 * common/linux-procfs.h: Likewise.
2824 * common/linux-ptrace.h: Likewise.
2825 * common/mips-linux-watch.h: Likewise.
2826 * common/linux-btrace.c: Moved to nat.
2827 * common/linux-osdata.c: Likewise.
2828 * common/linux-procfs.c: Likewise.
2829 * common/linux-ptrace.c: Likewise.
2830 * common/mips-linux-watch.c: Likewise.
2831 * nat/gdb_thread_db.h: Moved from common.
2832 * nat/glibc_thread_db.h: Likewise.
2833 * nat/i386-cpuid.h: Likewise.
2834 * nat/i386-gcc-cpuid.h: Likewise.
2835 * nat/linux-btrace.c: Likewise.
2836 * nat/linux-btrace.h: Likewise.
2837 * nat/linux-osdata.c: Likewise.
2838 * nat/linux-osdata.h: Likewise.
2839 * nat/linux-procfs.c: Likewise.
2840 * nat/linux-procfs.h: Likewise.
2841 * nat/linux-ptrace.c: Likewise.
2842 * nat/linux-ptrace.h: Likewise.
2843 * nat/mips-linux-watch.c: Likewise.
2844 * nat/mips-linux-watch.h: Likewise.
2845 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2846 (object file files): Reordered.
2847 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2848 of glibc_thread_db.h.
2849
2850 2014-06-20 Gary Benson <gbenson@redhat.com>
2851
2852 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2853 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2854 (i386_dr_low): Likewise.
2855 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2856 (i386_dr_low_set_addr): Likewise.
2857 (i386_dr_low_get_addr): Likewise.
2858 (i386_dr_low_can_set_control): Likewise.
2859 (i386_dr_low_set_control): Likewise.
2860 (i386_dr_low_get_control): Likewise.
2861 (i386_dr_low_get_status): Likewise.
2862 (i386_get_debug_register_length): Likewise.
2863 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2864 (i386_dr_low): Likewise.
2865 * nat/i386-dregs.c (i386-low.h): Remove include.
2866 (i386-nat.h): Likewise.
2867 (nat/i386-dregs.h): New include.
2868 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2869 (i386_dr_low_set_addr): Likewise.
2870 (i386_dr_low_get_addr): Likewise.
2871 (i386_dr_low_can_set_control): Likewise.
2872 (i386_dr_low_set_control): Likewise.
2873 (i386_dr_low_get_control): Likewise.
2874 (i386_dr_low_get_status): Likewise.
2875 (i386_get_debug_register_length): Likewise.
2876 (debug_hw_points): Likewise.
2877
2878 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2879
2880 * Makefile.in (SFILES): Add d-exp.y.
2881 (YYFILES): Add d-exp.c.
2882 (YYOBJ): Add d-exp.o.
2883 (local-maintainer-clean): Delete d-exp.c.
2884 * d-exp.y: New file.
2885 * d-lang.h (d_parse): New declaration.
2886 (d_error): New declaration.
2887 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2888 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2889 PREC_ORDER operators.
2890 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2891
2892 2014-06-19 Yao Qi <yao@codesourcery.com>
2893
2894 * gdbthread.h (any_running): Remove the declaration.
2895 * thread.c (any_running): Remove.
2896
2897 2014-06-19 Yao Qi <yao@codesourcery.com>
2898
2899 * gdbthread.h (struct thread_info) <state>: Change its type to
2900 'enum thread_state'. Update comments.
2901
2902 2014-06-19 Pedro Alves <palves@redhat.com>
2903
2904 * gdbthread.h (ALL_THREADS): Delete.
2905 (ALL_NON_EXITED_THREADS): New macro.
2906 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2907 instead of ALL_THREADS.
2908 * infrun.c (find_thread_needs_step_over)
2909 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2910 instead of ALL_THREADS.
2911 * record-btrace.c (record_btrace_open)
2912 (record_btrace_stop_recording, record_btrace_close)
2913 (record_btrace_is_replaying, record_btrace_resume)
2914 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2915 * remote.c (append_pending_thread_resumptions): Likewise.
2916 * thread.c (thread_apply_all_command): Likewise.
2917
2918 2014-06-19 Gary Benson <gbenson@redhat.com>
2919
2920 * i386-nat.c (i386_stopped_by_watchpoint):
2921 Use i386_dr_stopped_by_watchpoint.
2922 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2923 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2924
2925 2014-06-19 Gary Benson <gbenson@redhat.com>
2926
2927 * nat/i386-dregs.c: New file.
2928 * Makefile.in (i386-dregs.o): New rule.
2929 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2930 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2931 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2932 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2933 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2934 * config/i386/go32.mh (NATDEPFILES): Likewise.
2935 * config/i386/linux.mh (NATDEPFILES): Likewise.
2936 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2937 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2938 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2939 * i386-nat.h (debug_hw_points): New declaration.
2940 * i386-nat.c (breakpoint.h): Remove include.
2941 (command.h): Likewise.
2942 (target.h): Likewise.
2943 (gdb_assert.h): Likewise.
2944 (debug_hw_points): Made nonstatic.
2945 (debug_printf): Now in i386-dregs.c.
2946 (TARGET_HAS_DR_LEN_8): Likewise.
2947 (DR_CONTROL_SHIFT): Likewise.
2948 (DR_CONTROL_SIZE): Likewise.
2949 (DR_RW_EXECUTE): Likewise.
2950 (DR_RW_WRITE): Likewise.
2951 (DR_RW_READ): Likewise.
2952 (DR_RW_IORW): Likewise.
2953 (DR_LEN_1): Likewise.
2954 (DR_LEN_2): Likewise.
2955 (DR_LEN_4): Likewise.
2956 (DR_LEN_8): Likewise.
2957 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2958 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2959 (DR_ENABLE_SIZE): Likewise.
2960 (DR_LOCAL_SLOWDOWN): Likewise.
2961 (DR_GLOBAL_SLOWDOWN): Likewise.
2962 (DR_CONTROL_RESERVED): Likewise.
2963 (I386_DR_CONTROL_MASK): Likewise.
2964 (I386_DR_VACANT): Likewise.
2965 (I386_DR_LOCAL_ENABLE): Likewise.
2966 (I386_DR_GLOBAL_ENABLE): Likewise.
2967 (I386_DR_DISABLE): Likewise.
2968 (I386_DR_SET_RW_LEN): Likewise.
2969 (I386_DR_GET_RW_LEN): Likewise.
2970 (I386_DR_WATCH_HIT): Likewise.
2971 (i386_wp_op_t): Likewise.
2972 (i386_show_dr): Likewise.
2973 (i386_length_and_rw_bits): Likewise.
2974 (i386_insert_aligned_watchpoint): Likewise.
2975 (i386_remove_aligned_watchpoint): Likewise.
2976 (i386_handle_nonaligned_watchpoint): Likewise.
2977 (i386_update_inferior_debug_regs): Likewise.
2978 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2979 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2980 (i386_region_ok_for_watchpoint):
2981 Use i386_dr_region_ok_for_watchpoint.
2982 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2983
2984 2014-06-19 Gary Benson <gbenson@redhat.com>
2985
2986 * i386-nat.c (i386_insert_hw_breakpoint): Use
2987 i386_insert_watchpoint.
2988 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2989
2990 2014-06-19 Gary Benson <gbenson@redhat.com>
2991
2992 * i386-nat.c (i386_dr_show): Renamed to
2993 i386_show_dr and made static. All uses updated.
2994 (i386_dr_length_and_rw_bits): Renamed to
2995 i386_length_and_rw_bits and made static.
2996 All uses updated.
2997 (i386_dr_insert_aligned_watchpoint): Renamed to
2998 i386_insert_aligned_watchpoint and made static.
2999 All uses updated.
3000 (i386_dr_remove_aligned_watchpoint): Renamed to
3001 i386_remove_aligned_watchpoint and made static.
3002 All uses updated.
3003 (i386_dr_update_inferior_debug_regs): Renamed to
3004 i386_update_inferior_debug_regs and made static.
3005 All uses updated.
3006 * nat/i386-dregs.h (i386_dr_show): Removed.
3007 (i386_dr_length_and_rw_bits): Likewise.
3008 (i386_dr_insert_aligned_watchpoint): Likewise.
3009 (i386_dr_remove_aligned_watchpoint): Likewise.
3010 (i386_dr_update_inferior_debug_regs): Likewise.
3011
3012 2014-06-19 Gary Benson <gbenson@redhat.com>
3013
3014 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3015 * configure: Regenerate.
3016 * config.in: Likewise.
3017 * main.c (signal.h): New include.
3018 (setup_alternate_signal_stack): New function.
3019 (captured_main): Call the above.
3020 * cp-support.c (signal.h): New include.
3021 (catch_demangler_crashes): New flag.
3022 (SIGJMP_BUF): New define.
3023 (SIGSETJMP): Likewise.
3024 (SIGLONGJMP): Likewise.
3025 (gdb_demangle_jmp_buf): New static global.
3026 (gdb_demangle_attempt_core_dump): Likewise.
3027 (gdb_demangle_signal_handler): New function.
3028 (gdb_demangle): If catch_demangler_crashes is set, install the
3029 above signal handler before calling bfd_demangle, and restore
3030 the original signal handler afterwards. Display the offending
3031 symbol and call demangler_warning the first time a segmentation
3032 fault is caught.
3033 (_initialize_cp_support): New maint set/show command.
3034
3035 2014-06-19 Gary Benson <gbenson@redhat.com>
3036
3037 * utils.h (resource_limit_kind): New enum.
3038 (can_dump_core): New declaration.
3039 (warn_cant_dump_core): Likewise.
3040 (dump_core): Likewise.
3041 * utils.c (dump_core): Made nonstatic. Added new
3042 parameter "limit_kind".
3043 (can_dump_core): Made nonstatic. Moved printing code to...
3044 (warn_cant_dump_core): New function.
3045 (can_dump_core_warn): Likewise.
3046 (internal_vproblem): Replace calls to can_dump_core with
3047 calls to can_dump_core_warn. Supply new argument to each.
3048
3049 2014-06-19 Gary Benson <gbenson@redhat.com>
3050
3051 * utils.h (demangler_vwarning): New declaration.
3052 (demangler_warning): Likewise.
3053 * utils.c (struct internal_problem)
3054 <user_settable_should_quit>: New field.
3055 <user_settable_should_dump_core>: Likewise
3056 (internal_error_problem): Add values for above new fields.
3057 (internal_warning_problem): Likewise.
3058 (demangler_warning_problem): New static global.
3059 (demangler_vwarning): New function.
3060 (demangler_warning): Likewise.
3061 (add_internal_problem_command): Selectively add commands.
3062 (_initialize_utils): New internal problem command.
3063 * maint.c (maintenance_demangler_warning): New function.
3064 (_initialize_maint_cmds): New command.
3065
3066 2014-06-18 Tom Tromey <tromey@redhat.com>
3067
3068 * f-valprint.c (info_common_command_for_block): Update.
3069 * symtab.h (struct general_symbol_info) <common_block>: Now
3070 const.
3071
3072 2014-06-18 Tom Tromey <tromey@redhat.com>
3073
3074 * symtab.h (struct symtab) <blockvector>: Now const.
3075 * ada-lang.c (ada_add_global_exceptions): Update.
3076 * buildsym.c (augment_type_symtab): Update.
3077 * dwarf2read.c (dw2_lookup_symbol): Update.
3078 * jit.c (finalize_symtab): Update.
3079 * jv-lang.c (add_class_symtab_symbol): Update.
3080 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3081 Update.
3082 * objfiles.c (objfile_relocate1): Update.
3083 * psymtab.c (lookup_symbol_aux_psymtabs)
3084 (maintenance_check_psymtabs): Update.
3085 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3086 Update.
3087 * spu-tdep.c (spu_catch_start): Update.
3088 * symmisc.c (dump_symtab_1): Update.
3089 * symtab.c (lookup_global_symbol_from_objfile)
3090 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3091 (basic_lookup_transparent_type_quick)
3092 (basic_lookup_transparent_type, find_pc_sect_symtab)
3093 (find_pc_sect_line, search_symbols): Update.
3094 * block.c (find_block_in_blockvector): Make "bl" const.
3095 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3096 const.
3097 (blockvector_contains_pc): Make "bv" const.
3098 (block_for_pc_sect): Update.
3099 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3100 (blockvector_contains_pc): Update.
3101 * breakpoint.c (resolve_sal_pc): Update.
3102 * inline-frame.c (block_starting_point_at): Update.
3103
3104 2014-06-18 Tom Tromey <tromey@redhat.com>
3105
3106 * completer.c (complete_line): Make "line_buffer" const.
3107 * completer.h (complete_line): Update.
3108
3109 2014-06-18 Tom Tromey <tromey@redhat.com>
3110
3111 * symtab.c (add_macro_name): Remove unneeded cast.
3112
3113 2014-06-18 Tom Tromey <tromey@redhat.com>
3114
3115 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3116 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3117
3118 2014-06-18 Tom Tromey <tromey@redhat.com>
3119
3120 * probe.c (info_probes_for_ops): Make "arg" const.
3121 * probe.h (info_probes_for_ops): Update.
3122
3123 2014-06-18 Tom Tromey <tromey@redhat.com>
3124
3125 * varobj.c (varobj_create): Update.
3126 * valops.c (value_of_this): Update.
3127 * tracepoint.c (add_local_symbols, scope_info): Update.
3128 * symtab.h (struct general_symbol_info) <block>: Now const.
3129 * symtab.c (skip_prologue_sal)
3130 (default_make_symbol_completion_list_break_on)
3131 (skip_prologue_using_sal): Update.
3132 * stack.h (iterate_over_block_locals)
3133 (iterate_over_block_local_vars): Update.
3134 * stack.c (print_frame_args): Update.
3135 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3136 parameter const.
3137 (get_selected_block): Make return type const.
3138 * python/py-frame.c (frapy_block): Update.
3139 * python/py-block.c (gdbpy_block_for_pc): Update.
3140 * p-exp.y (%union) <bval>: Now const.
3141 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3142 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3143 * m2-exp.y (%union) <bval>: Now const.
3144 * linespec.c (get_current_search_block): Make return type const.
3145 (create_sals_line_offset, find_label_symbols): Update.
3146 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3147 Update.
3148 (block_starting_point_at): Make "block" const.
3149 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3150 (check_exception_resume): Update.
3151 * guile/scm-frame.c (gdbscm_frame_block): Update.
3152 * guile/scm-block.c (gdbscm_lookup_block): Update.
3153 * frame.h (get_frame_block): Update.
3154 (get_selected_block): Make return type const.
3155 * frame.c (frame_id_inner): Update.
3156 * f-valprint.c (info_common_command_for_block)
3157 (info_common_command): Update.
3158 * dwarf2loc.c (dwarf2_find_location_expression)
3159 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3160 (locexpr_describe_location_piece): Update.
3161 * c-exp.y (%union) <bval>: Now const.
3162 * breakpoint.c (resolve_sal_pc): Update.
3163 * blockframe.c (get_frame_block):Make return type const.
3164 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3165 (block_innermost_frame): Update.
3166 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3167 (block_for_pc, block_for_pc_sect): Update.
3168 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3169 'pblock' const.
3170 (block_for_pc_sect, block_for_pc): Make return type const.
3171 * ax-gdb.c (gen_expr): Update.
3172 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3173 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3174 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3175 (ada_read_var_value): Update.
3176 * ada-exp.y (struct name_info) <block>: Now const.
3177 (%union): Likewise.
3178 (block_lookup): Constify.
3179
3180 2014-06-18 Gary Benson <gbenson@redhat.com>
3181
3182 * nat/i386-dregs.h: New file.
3183 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3184 * i386-nat.h (i386-dregs.h): New include.
3185 (DR_FIRSTADDR): Now in i386-dregs.h.
3186 (DR_LASTADDR): Likewise.
3187 (DR_NADDR): Likewise.
3188 (DR_STATUS): Likewise.
3189 (DR_CONTROL): Likewise.
3190 (i386_debug_reg_state): Likewise.
3191 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3192
3193 2014-06-18 Don Breazeal <donb@codesourcery.com>
3194
3195 * breakpoint.c (set_longjmp_breakpoint): Call
3196 momentary_breakpoint_from_master with additional argument.
3197 (set_longjmp_breakpoint_for_call_dummy): Call
3198 momentary_breakpoint_from_master with additional argument.
3199 (set_std_terminate_breakpoint): Call
3200 momentary_breakpoint_from_master with additional argument.
3201 (momentary_breakpoint_from_master): Add argument to function
3202 definition and use it to initialize structure member flag.
3203 (clone_momentary_breakpoint): Call
3204 momentary_breakpoint_from_master with additional argument.
3205 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3206 member flags set in momentary_breakpoint_from_master.
3207
3208 2014-06-18 Gary Benson <gbenson@redhat.com>
3209
3210 * i386-nat.c (i386_show_dr): Renamed to
3211 i386_dr_show and made nonstatic. All uses updated.
3212 (i386_length_and_rw_bits): Renamed to
3213 i386_dr_length_and_rw_bits and made nonstatic.
3214 All uses updated.
3215 (i386_insert_aligned_watchpoint): Renamed to
3216 i386_dr_insert_aligned_watchpoint and made nonstatic.
3217 All uses updated.
3218 (i386_remove_aligned_watchpoint): Renamed to
3219 i386_dr_remove_aligned_watchpoint and made nonstatic.
3220 All uses updated.
3221 (i386_update_inferior_debug_regs): Renamed to
3222 i386_dr_update_inferior_debug_regs and made nonstatic.
3223 All uses updated.
3224
3225 2014-06-18 Gary Benson <gbenson@redhat.com>
3226
3227 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3228 (i386_dr_low_can_set_control): Likewise.
3229 (i386_dr_low_set_addr): Likewise.
3230 (i386_dr_low_set_control): Likewise.
3231 (i386_dr_low_get_addr): Likewise.
3232 (i386_dr_low_get_status): Likewise.
3233 (i386_dr_low_get_control): Likewise.
3234 (i386_insert_aligned_watchpoint): Use new macros.
3235 (i386_update_inferior_debug_regs): Likewise.
3236 (i386_stopped_data_address): Likewise.
3237
3238 2014-06-18 Gary Benson <gbenson@redhat.com>
3239
3240 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3241 New parameter. All uses updated.
3242
3243 2014-06-18 Gary Benson <gbenson@redhat.com>
3244
3245 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3246 All uses updated.
3247
3248 2014-06-18 Gary Benson <gbenson@redhat.com>
3249
3250 * i386-nat.c (debug_printf): New macro.
3251 (i386_get_debug_register_length): Likewise.
3252 (TARGET_HAS_DR_LEN_8): Use above macro.
3253 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3254 and printf_unfiltered. Use phex to format values.
3255
3256 2014-06-18 Gary Benson <gbenson@redhat.com>
3257
3258 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3259 Make const.
3260
3261 2014-06-18 Gary Benson <gbenson@redhat.com>
3262
3263 * i386-nat.c: Comment changes.
3264
3265 2014-06-18 Gary Benson <gbenson@redhat.com>
3266
3267 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3268
3269 2014-06-18 Gary Benson <gbenson@redhat.com>
3270
3271 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3272 (i386_insert_aligned_watchpoint): Likewise.
3273 (i386_remove_aligned_watchpoint): Likewise.
3274 (i386_handle_nonaligned_watchpoint): Likewise.
3275
3276 2014-06-18 Gary Benson <gbenson@redhat.com>
3277
3278 * i386-nat.c: Whitespace changes.
3279
3280 2014-06-17 Samuel Bronson <naesten@gmail.com>
3281
3282 * MAINTAINERS: Update Roland McGrath's email address.
3283 Thanks to Sergio Durigan Junior for pointing out that he left
3284 Red Hat a while ago, and giving me a current address.
3285
3286 2014-06-17 Tom Tromey <tromey@redhat.com>
3287
3288 * utils.h (savestring): Remove declaration.
3289
3290 2014-06-17 Tom Tromey <tromey@redhat.com>
3291
3292 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3293
3294 2014-06-16 Keith Seitz <keiths@redhat.com>
3295
3296 PR mi/15863
3297 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3298 to update the varobj if inferior_ptid is null_ptid.
3299
3300 2014-06-16 Tom Tromey <tromey@redhat.com>
3301
3302 * target.h (struct target_ops) <to_info_proc>: Make parameter
3303 const.
3304 (target_info_proc): Update.
3305 * target.c (target_info_proc): Make "args" const.
3306 * procfs.c (procfs_info_proc): Update.
3307 * linux-tdep.c (linux_info_proc): Update.
3308 (linux_core_info_proc_mappings): Make "args" const.
3309 (linux_core_info_proc): Update.
3310 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3311 * gdbarch.c: Rebuild.
3312 * gdbarch.h: Rebuild.
3313 * corelow.c (core_info_proc): Update.
3314
3315 2014-06-16 Tom Tromey <tromey@redhat.com>
3316
3317 * target.h (struct target_ops) <to_disconnect>: Make parameter
3318 const.
3319 (target_disconnect): Update.
3320 * target.c (target_disconnect): Make "args" const.
3321 * target-delegates.c: Rebuild.
3322 * remote.c (remote_disconnect): Update.
3323 * record.h (record_disconnect): Update.
3324 * record.c (record_disconnect): Update.
3325 * inf-child.c (inf_child_disconnect): Update.
3326
3327 2014-06-16 Tom Tromey <tromey@redhat.com>
3328
3329 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3330 * target.c (debug_to_rcmd, default_rcmd): Update.
3331 * target-delegates.c: Rebuild.
3332 * remote.c (remote_rcmd): Update.
3333 * monitor.c (monitor_rcmd): Update.
3334
3335 2014-06-16 Pedro Alves <palves@redhat.com>
3336
3337 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3338 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3339 have OBJF_SHARED set.
3340 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3341 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3342 instead of OBJF_USERLOADED.
3343 * objfiles.h (OBJF_SHARED): Update comment.
3344 (userloaded_objfile_contains_address_p): Rename to ...
3345 (shared_objfile_contains_address_p): ... this, and update
3346 comments.
3347 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3348 new objfile.
3349 (remove_symbol_file_command): Skip objfiles that don't have
3350 OBJF_SHARED set.
3351
3352 2014-06-16 Tom Tromey <tromey@redhat.com>
3353
3354 * minsyms.h (prim_record_minimal_symbol)
3355 (prim_record_minimal_symbol_and_info): Update comments.
3356
3357 2014-06-14 Eli Zaretskii <eliz@gnu.org>
3358
3359 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3360 or --without-guile, according to how GDB was built.
3361
3362 2014-06-13 Tom Tromey <tromey@redhat.com>
3363
3364 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3365 to help_list.
3366 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3367 to help_list.
3368 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3369 help_list.
3370 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3371 help_list.Pass all_commands, not -1, to help_list.
3372 * cli/cli-dump.c (dump_command, append_command)
3373 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3374 (binary_dump_command, binary_append_command): Pass all_commands,
3375 not -1, to help_list.
3376 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3377 -1, to help_list.
3378 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3379 -1, to help_list.
3380 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3381 help_list.
3382 * top.c (set_history): Pass all_commands, not -1, to help_list.
3383 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3384 all_commands, not -1, to help_list.
3385 * symfile.c (overlay_command): Pass all_commands, not -1, to
3386 help_list.
3387 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3388 help_list.
3389 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3390 help_list.
3391 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3392 -1, to help_list.
3393 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3394 not -1, to help_list.
3395 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3396 not -1, to help_list.
3397 * maint.c (maintenance_command, maintenance_info_command)
3398 (maintenance_print_command, maintenance_set_cmd): Pass
3399 all_commands, not -1, to help_list.
3400 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3401 help_list.
3402 * language.c (set_check): Pass all_commands, not -1, to help_list.
3403 * infcmd.c (unset_command): Pass all_commands, not -1, to
3404 help_list.
3405 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3406 help_list.
3407 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3408 help_list.
3409 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3410 help_list.
3411 * breakpoint.c (save_command): Pass all_commands, not -1, to
3412 help_list.
3413 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3414 all_commands, not -1, to help_list.
3415
3416 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3417
3418 * regcache.c (struct register_to_invalidate): New structure.
3419 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3420 functions.
3421 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3422
3423 2014-06-12 Yao Qi <yao@codesourcery.com>
3424
3425 * varobj.c (varobj_get_num_children): Call
3426 varobj_is_dynamic_p.
3427 (varobj_list_children): Likewise.
3428 (varobj_update): Likewise. Update comments.
3429
3430 2014-06-12 Yao Qi <yao@codesourcery.com>
3431
3432 * varobj.c (varobj_pretty_printed_p): Rename to ...
3433 (varobj_is_dynamic_p): ... this. New function.
3434 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3435 (varobj_is_dynamic_p): Declare.
3436 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3437 (mi_print_value_p, varobj_update_one): Likewise.
3438
3439 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3440 Yao Qi <yao@codesourcery.com>
3441
3442 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3443 (varobj_get_iterator): Wrap up code for pretty-printer by
3444 "#if HAVE_PYTHON" and "#endif".
3445 (update_dynamic_varobj_children): Likewise.
3446
3447 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3448 Yao Qi <yao@codesourcery.com>
3449
3450 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3451 gdb_python_initialized is false. Move some code from varobj.c.
3452 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3453 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3454 (struct varobj_item): Moved to varobj-iter.h".
3455 (varobj_clear_saved_item): New function.
3456 (update_dynamic_varobj_children): Move python-related code to
3457 py-varobj.c.
3458 (free_variable): Call varobj_clear_saved_item and
3459 varobj_iter_delete.
3460
3461 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3462 Yao Qi <yao@codesourcery.com>
3463
3464 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3465 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3466 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3467 (py-varobj.o): New rule.
3468 * python/py-varobj.c: New file.
3469 * python/python-internal.h (py_varobj_get_iterator): Declare.
3470 * varobj-iter.h: New file.
3471 * varobj.c: Include "varobj-iter.h"
3472 (struct varobj) <child_iter>: Change its type from "PyObject *"
3473 to "struct varobj_iter *".
3474 <saved_item>: Likewise.
3475 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3476 [HAVE_PYTHON] (varobj_get_iterator): New function.
3477 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3478 python-specific code to python/py-varobj.c.
3479 (install_visualizer): Call varobj_iter_delete instead of
3480 Py_XDECREF.
3481 * varobj.h (varobj_ensure_python_env): Declare.
3482
3483 2014-06-12 Yao Qi <yao@codesourcery.com>
3484
3485 * varobj.c (struct varobj_item): New structure.
3486 (create_child_with_value): Update declaration.
3487 (varobj_add_child): Replace arguments 'name' and 'value' with
3488 'item'. All callers updated.
3489 (install_dynamic_child): Likewise.
3490 (update_dynamic_varobj_children): Likewise.
3491 (varobj_add_child): Likewise.
3492 (create_child_with_value): Likewise.
3493
3494 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3495
3496 * NEWS: Create a new section for the next release branch.
3497 Rename the section of the current branch, now that it has
3498 been cut.
3499
3500 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3501
3502 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3503 * version.in: Bump version to 7.8.50.DATE-cvs.
3504
3505 2014-06-11 Pedro Alves <palves@redhat.com>
3506
3507 PR remote/17028
3508 * ser-mingw.c (net_windows_socket_check_pending): New function.
3509 (net_windows_select_thread): Ignore spurious wakeups. Use
3510 net_windows_socket_check_pending.
3511 (net_windows_wait_handle): Check for pending events with
3512 ioctlsocket, through net_windows_socket_check_pending, instead of
3513 checking the socket's event.
3514
3515 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3516
3517 * python/python-internal.h (gdb_PyObject_GetAttrString)
3518 (gdb_PyObject_HasAttrString): New inline function definitions.
3519 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3520 char * of the second argument to PyObject_GetAttrString.
3521
3522 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3523
3524 * serial.c (serial_write): Fix index of character to be printed
3525 in call to serial_logchar when serial debug traces are enabled.
3526
3527 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3528
3529 * gdbtypes (resolve_dynamic_range): Add function description.
3530
3531 2014-06-09 Pedro Alves <palves@redhat.com>
3532
3533 * linux-nat.c (linux_child_follow_fork): Initialize status with
3534 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3535 inner block. Only pass the signal to PTRACE_DETACH if in pass
3536 state.
3537
3538 2014-06-09 Gary Benson <gbenson@redhat.com>
3539
3540 * common/signals.c (gdb_signal_from_host): Reorder to separate
3541 the always-available ANSI-standard signals from the signals that
3542 require checking.
3543 (do_gdb_signal_to_host): Likewise.
3544 * proc-events.c (signal_table): Likewise.
3545
3546 2014-06-08 Hui Zhu <hui@codesourcery.com>
3547
3548 * common/linux-ptrace.c (linux_disable_event_reporting): New
3549 function.
3550 * common/linux-ptrace.h (linux_disable_event_reporting): New
3551 declaration.
3552 * linux-nat.c (linux_child_follow_fork): Do a single step before
3553 detach.
3554
3555 2014-06-07 Keith Seitz <keiths@redhat.com>
3556
3557 Revert:
3558 PR c++/16253
3559 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3560 from symbol_matches_domain in symtab.c. All local callers
3561 of symbol_matches_domain updated.
3562 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3563 search STRUCT_DOMAIN.
3564 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3565 independently. standard_lookup will do that automatically.
3566 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3567 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3568 (cp_lookup_symbol_in_namespace): Likewise.
3569 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3570 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3571 may return a STRUCT_DOMAIN match.
3572 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3573 * cp-support.c: Include language.h.
3574 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3575 VAR_DOMAIN.
3576 * psymtab.c (match_partial_symbol): Compare the requested
3577 domain with the symbol's domain directly.
3578 (lookup_partial_symbol): Likewise.
3579 * symtab.c (lookup_symbol_in_language): Explain when/why
3580 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3581 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3582 appropriate languages.
3583 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3584 and moved to ada-lang.c
3585 (lookup_block_symbol): Explain that this function only returns
3586 symbol matching the requested DOMAIN.
3587 Compare the requested domain with the symbol's domain directly.
3588 (iterate_over_symbols): Compare the requested domain with the
3589 symbol's domain directly.
3590 * symtab.h (symbol_matches_domain): Remove.
3591
3592 2014-06-06 Doug Evans <xdje42@gmail.com>
3593
3594 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3595 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3596 (gdbscm_guile_version_is_at_least): Declare.
3597 (gdbscm_scm_string_to_int): Declare.
3598 * guile/guile.c (gdbscm_guile_major_version): New global.
3599 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3600 (guile_datadir): New static global.
3601 (gdbscm_guile_data_directory): New function.
3602 (initialize_scheme_side): Update.
3603 (misc_guile_functions): Add guile-data-directory.
3604 (initialize_gdb_module): Fetch guile version number.
3605 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3606 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3607 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3608 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3609 comments.
3610 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3611 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3612 * guile/scm-value.c (gdbscm_value_to_string): Only call
3613 scm_port_conversion_strategy if Guile version >= 2.0.6.
3614
3615 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3616
3617 * main.c (print_gdb_help): Add -q and --silent.
3618
3619 2014-06-06 Gary Benson <gbenson@redhat.com>
3620
3621 * common/signals.c: Remove preprocessor conditionals for
3622 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3623 SIGSEGV and SIGTERM.
3624 * proc-events.c: Likewise.
3625
3626 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3627
3628 * symfile.c (symfile_free_objfile): Remove restriction to
3629 OBJF_USERLOADED.
3630 * symfile-mem.c (symbol_file_add_from_memory): Call
3631 add_target_sections_of_objfile.
3632
3633 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3634
3635 * guile/scm-value.c (gdbscm_history_append_x): Use
3636 'vlscm_get_value_smob_arg_unsafe' instead of
3637 'vlscm_scm_to_value'.
3638
3639 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3640
3641 PR mi/15806
3642 * utils.c (printchar): Don't escape at all if quoter is NUL.
3643 Update function documentation to clarify effect of parameter
3644 QUOTER.
3645 * remote.c (escape_buffer): Pass '\\' as the quoter to
3646 fputstrn_unfiltered.
3647 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3648 generate the output.
3649 (mi_solib_unloaded): Same.
3650
3651 2014-06-05 Joel Brobecker <brobecker@adacore.com>
3652
3653 * development.sh: Delete.
3654 * Makefile.in (config.status): Adjust dependency on development.sh.
3655 * configure.ac: Adjust development.sh source call.
3656 * configure: Regenerate.
3657
3658 2014-06-04 Doug Evans <xdje42@gmail.com>
3659
3660 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3661 is_scheme_bkpt, spec.
3662 (bpscm_make_breakpoint_smob): Initialize new members.
3663 (gdbscm_create_breakpoint_x): Split into two ...
3664 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3665 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3666 (scheme_function breakpoint_functions): Update.
3667 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3668 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3669 register-breakpoint!.
3670
3671 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
3672
3673 PR server/17023
3674 * mem-break.c (z_type_supported): Return zero if
3675 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3676
3677 2014-06-04 Tom Tromey <tromey@redhat.com>
3678
3679 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3680 value_from_contents_and_address_unresolved.
3681 (ada_template_to_fixed_record_type_1): Likewise.
3682 (ada_which_variant_applies): Likewise.
3683 * value.h (value_from_contents_and_address_unresolved): Declare.
3684 * value.c (value_from_contents_and_address_unresolved): New
3685 function.
3686 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3687 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3688 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3689
3690 2014-06-04 Tom Tromey <tromey@redhat.com>
3691
3692 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3693
3694 2014-06-04 Tom Tromey <tromey@redhat.com>
3695
3696 * procfs.c (procfs_attach): Make "args" const.
3697 * windows-nat.c (windows_attach): Make "args" const.
3698 * nto-procfs.c (procfs_attach): Make "args" const.
3699 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3700 * go32-nat.c (go32_attach): Make "args" const.
3701 * gnu-nat.c (gnu_attach): Make "args" const.
3702 * darwin-nat.c (darwin_attach): Make "args" const.
3703 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3704 * linux-nat.c (linux_nat_attach): Make "args" const.
3705 * remote.c (extended_remote_attach_1, extended_remote_attach):
3706 Make "args" const.
3707 * target.h (struct target_ops) <to_attach>: Make "args" const.
3708 (find_default_attach): Likewise.
3709 * utils.c (parse_pid_to_attach): Make "args" const.
3710 * utils.h (parse_pid_to_attach): Update.
3711
3712 2014-06-04 Tom Tromey <tromey@redhat.com>
3713
3714 * target-delegates.c: Rebuild.
3715 * target.c (default_thread_address_space): New function.
3716 (target_thread_address_space): Simplify.
3717 * target.h (struct target_ops) <to_thread_address_space>: Add
3718 TARGET_DEFAULT_FUNC.
3719
3720 2014-06-04 Doug Evans <xdje42@gmail.com>
3721
3722 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3723
3724 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3725
3726 * record-btrace.c: Include event-loop.h and inf-loop.h.
3727 (record_btrace_resume_exec_dir)
3728 (record_btrace_async_inferior_event_handler)
3729 (record_btrace_handle_async_inferior_event): New.
3730 (record_btrace_open): Create async event handler.
3731 (record_btrace_close): Delete async event handler.
3732 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3733 Mark async event handler.
3734 (record_btrace_execution_direction): New.
3735 (init_record_btrace_ops): Initialize to_execution_direction.
3736
3737 2014-06-03 Doug Evans <xdje42@gmail.com>
3738
3739 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3740 (gdbscm_make_parameter): Ditto.
3741
3742 2014-06-03 Doug Evans <dje@google.com>
3743
3744 * exec.c (exec_close_1): Call clear_section_table instead of
3745 resize_section_table.
3746 (clear_section_table): New function.
3747 (resize_section_table): Make static. Rename arg num_added to
3748 adjustment.
3749 * exec.h (clear_section_table): Declare.
3750 (resize_section_table): Delete.
3751 * progspace.c (release_program_space): Call clear_section_table
3752 instead of resize_section_table.
3753
3754 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3755
3756 * NEWS (Python Scripting): Add entry about the new xmethods
3757 feature.
3758
3759 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3760
3761 * python/py-xmethods.c: New file.
3762 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3763 (objfpy_dealloc): XDECREF on the new xmethods field.
3764 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3765 field.
3766 (objfpy_get_xmethods): New function.
3767 (objfile_getset): New entry 'xmethods'.
3768 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3769 (pspy_dealloc): XDECREF on the new xmethods field.
3770 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3771 field.
3772 (pspy_get_xmethods): New function.
3773 (pspace_getset): New entry 'xmethods'.
3774 * python/python-internal.h: Add declarations for new functions.
3775 * python/python.c (_initialize_python): Invoke
3776 gdbpy_initialize_xmethods.
3777 * python/lib/gdb/__init__.py (xmethods): New
3778 attribute.
3779 * python/lib/gdb/xmethod.py: New file.
3780 * python/lib/gdb/command/xmethods.py: New file.
3781
3782 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3783
3784 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3785 best match method returned by find_overload_match is an xmethod.
3786 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3787 the best matching operator returned by find_overload_match is an
3788 xmethod.
3789 * valops.c: #include "extension.h".
3790 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3791 Return void. The list of matching source methods is returned in
3792 "fn_list" and a vector of matching debug method workers is
3793 returned in "xm_worker_vec". Update all callers.
3794 (value_find_oload_method_list): Likewise.
3795 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3796 non-NULL, then the index of the best matching method in this
3797 vector is returned. Update all callers.
3798 (find_overload_match): Include xmethods while performing overload
3799 resolution.
3800
3801 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3802
3803 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3804 * extension-priv.h (struct extension_language_ops): Add the
3805 xmethod interface.
3806 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3807 get_matching_xmethod_workers, get_xmethod_argtypes,
3808 invoke_xmethod, free_xmethod_worker,
3809 free_xmethod_worker_vec): New functions.
3810 * extension.h: #include "common/vec.h".
3811 New function declarations.
3812 (struct xmethod_worker): New struct.
3813 (VEC (xmethod_worker_ptr)): New vector type.
3814 (xmethod_worker_ptr): New typedef.
3815 (xmethod_worker_vec): Likewise.
3816 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3817 builtin_type.
3818 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3819 (struct builtin_type): New field "xmethod".
3820 * valarith.c (value_ptradd): Assert that the value argument is not
3821 lval_xcallable.
3822 * valops.c (value_must_coerce_to_target): Return 0 for
3823 lval_xcallable values.
3824 * value.c (struct value): New field XM_WORKER in the field
3825 LOCATION.
3826 (value_address, value_raw_address): Return 0 for lval_xcallable
3827 values.
3828 (set_value_address): Assert that the value is not an
3829 lval_xcallable.
3830 (value_free): Free the associated xmethod worker when freeing
3831 lval_xcallable values.
3832 (set_value_component_location): Assert that the WHOLE value is not
3833 lval_xcallable.
3834 (value_of_xmethod, call_xmethod): New functions.
3835 * value.h: Declare "struct xmethod_worker".
3836 Declare new functions value_of_xmethod, call_xmethod.
3837
3838 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3839 Pedro Alves <palves@redhat.com>
3840
3841 PR breakpoints/17000
3842 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3843 New function, extracted from software_breakpoint_inserted_here_p.
3844 (software_breakpoint_inserted_here_p): Replace factored out code
3845 by call to find_non_raw_software_breakpoint_inserted_here.
3846 (bp_target_info_copy_insertion_state): New function.
3847 (bkpt_insert_location): Handle the case of a single-step
3848 breakpoint already inserted at the same address.
3849 (bkpt_remove_location): Handle the case of a single-step
3850 breakpoint still inserted at the same address.
3851 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3852 breakpoint already inserted at the same address.
3853 (deprecated_remove_raw_breakpoint): Handle the case of a
3854 non-raw breakpoint still inserted at the same address.
3855 (find_single_step_breakpoint): New function, extracted from
3856 single_step_breakpoint_inserted_here_p.
3857 (find_single_step_breakpoint): New function,
3858 factored out from single_step_breakpoint_inserted_here_p.
3859 (single_step_breakpoint_inserted_here_p): Reimplement.
3860
3861 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3862
3863 Pushed by Joel Brobecker <brobecker@adacore.com>
3864 * source.c (show_substitute_path_command): Fix display of matching
3865 substitution rules.
3866
3867 2014-06-03 Gary Benson <gbenson@redhat.com>
3868
3869 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3870
3871 2014-06-02 Doug Evans <xdje42@gmail.com>
3872
3873 Add parameter support for Guile.
3874 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3875 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3876 (scm-param.o): New rule.
3877 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3878 (gdbscm_misc_error): Declare.
3879 (gdbscm_canonicalize_command_name): Declare.
3880 (gdbscm_scm_to_host_string): Declare.
3881 (gdbscm_scm_from_host_string): Declare.
3882 (gdbscm_initialize_parameters): Declare.
3883 * guile/guile.c (initialize_gdb_module): Call
3884 gdbscm_initialize_parameters.
3885 * guile/lib/gdb.scm: Export parameter symbols.
3886 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3887 cmdscm_canonicalize_name and made public. All callers updated.
3888 * guile/scm-exception.c (gdbscm_misc_error): New function.
3889 * guile/scm-param.c: New file.
3890 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3891 (gdbscm_scm_to_host_string): New function.
3892 (gdbscm_scm_from_host_string): New function.
3893 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3894
3895 2014-06-02 Doug Evans <xdje42@gmail.com>
3896
3897 Add command support for Guile.
3898 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3899 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3900 (scm-cmd.o): New rule.
3901 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3902 (gdbscm_user_error_p): Declare.
3903 (gdbscm_parse_command_name): Declare.
3904 (gdbscm_valid_command_class_p): Declare.
3905 (gdbscm_initialize_commands): Declare.
3906 * guile/guile.c (initialize_gdb_module): Call
3907 gdbscm_initialize_commands.
3908 * guile/lib/gdb.scm: Export command symbols.
3909 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3910 (throw-user-error): New function.
3911 * guile/scm-cmd.c: New file.
3912 * guile/scm-exception.c (user_error_symbol): New static global.
3913 (gdbscm_user_error_p): New function.
3914 (gdbscm_initialize_exceptions): Set user_error_symbol.
3915 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3916
3917 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3918
3919 * top.c (command_loop): Handle comments here...
3920 (command_line_input): ... not here.
3921
3922 2014-06-02 Doug Evans <xdje42@gmail.com>
3923
3924 Add progspace support for Guile.
3925 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3926 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3927 (scm-progspace.o): New rule.
3928 * guile/guile-internal.h (pspace_smob): New typedef.
3929 (psscm_pspace_smob_pretty_printers): Declare.
3930 (psscm_pspace_smob_from_pspace): Declare.
3931 (psscm_scm_from_pspace): Declare.
3932 * guile/guile.c (initialize_gdb_module): Call
3933 gdbscm_initialize_pspaces.
3934 * guile/lib/gdb.scm: Export progspace symbols.
3935 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3936 support.
3937 (append-pretty-printer!): Ditto.
3938 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3939 Implement.
3940 * guile/scm-progspace.c: New file.
3941
3942 2014-06-03 Alan Modra <amodra@gmail.com>
3943
3944 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3945 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3946
3947 2014-06-02 Doug Evans <dje@google.com>
3948
3949 Add support for skeletonless type units.
3950 * dwarf2read.c (struct dwarf2_per_objfile): New member
3951 n_allocated_type_units.
3952 (struct dwarf2_per_objfile) <tu_stats>: New member
3953 nr_all_type_units_reallocs.
3954 (create_signatured_type_table_from_index): Initialize
3955 n_allocated_type_units
3956 (create_all_type_units): Ditto.
3957 (add_type_unit): Move up in file. New arg slot.
3958 All callers updated. Increase space for all_type_units more
3959 efficiently.
3960 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3961 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3962 (lookup_dwp_signatured_type): Ditto.
3963 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3964 All callers updated.
3965 (build_type_psymtabs_1): Leave type_unit_groups as
3966 NULL if no TUs present.
3967 (print_tu_stats): New function.
3968 (process_skeletonless_type_unit): New function.
3969 (process_dwo_file_for_skeletonless_type_units): New
3970 function.
3971 (process_skeletonless_type_units): New function.
3972 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3973 Call print tu_stats if debugging enabled.
3974
3975 2014-06-02 Pedro Alves <palves@redhat.com>
3976
3977 * breakpoint.c (build_target_command_list): Don't build a command
3978 list if we have any duplicate location that isn't a dprintf.
3979
3980 2014-06-02 Pedro Alves <palves@redhat.com>
3981
3982 * breakpoint.c (dprintf_breakpoint_hit): New function.
3983 (initialize_breakpoint_ops): Install it as dprintf's
3984 breakpoint_hit method.
3985
3986 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3987
3988 * source.c (substitute_path_rule_matches): Simplify using
3989 filename_ncmp instead of FILENAME_CMP.
3990
3991 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3992
3993 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3994
3995 2014-06-01 Ludovic Courtès <ludo@gnu.org>
3996
3997 * configure.ac: When Guile is available, check for the
3998 availability of 'scm_new_smob'.
3999 * configure, config.h.in: Regenerate.
4000 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4001 function.
4002
4003 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4004
4005 * frame.c (struct frame_info): Add stop_string field.
4006 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4007 (get_prev_frame_always): Old content moved into
4008 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4009 TRY_CATCH, handle MEMORY_ERROR exceptions.
4010 (frame_stop_reason_string): New function definition.
4011 * frame.h (unwind_stop_reason_to_string): Extend comment to
4012 mention frame_stop_reason_string.
4013 (frame_stop_reason_string): New function declaration.
4014 * stack.c (frame_info): Switch to frame_stop_reason_string.
4015 (backtrace_command_1): Switch to frame_stop_reason_string.
4016 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4017 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4018 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4019
4020 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4021
4022 * frame.c (frame_stop_reason_string): Rename to ...
4023 (unwind_stop_reason_to_string): this.
4024 * frame.h (frame_stop_reason_string): Rename to ...
4025 (unwind_stop_reason_to_string): this.
4026 * stack.c (frame_info): Update call to frame_stop_reason_string.
4027 (backtrace_command_1): Likewise.
4028 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4029 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4030
4031 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4032
4033 * frame.c (remove_prev_frame): New function.
4034 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4035 remove_prev_frame.
4036
4037 2014-05-29 Pedro Alves <palves@redhat.com>
4038
4039 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4040 and make it const. When a single-step decays to a continue,
4041 clear 'step', not 'hw_step'. Pass whether the caller wanted
4042 to step to user_visible_resume_ptid, not what we ask the
4043 target to do.
4044
4045 2014-05-29 Pedro Alves <palves@redhat.com>
4046
4047 * infrun.c (process_event_stop_test, handle_step_into_function)
4048 (handle_step_into_function_backward): Adjust.
4049 Don't set the even thread's stop_step and call stop_waiting before
4050 calling end_stepping_range. Instead do that ...
4051 (end_stepping_range): ... here. Take an ecs pointer parameter.
4052
4053 2014-05-29 Pedro Alves <palves@redhat.com>
4054
4055 * infrun.c (stop_stepping): Rename to ...
4056 (stop_waiting): ... this.
4057 (proceed): Update comment.
4058 (process_event_stop_test, handle_inferior_event)
4059 (handle_signal_stop, handle_step_into_function)
4060 (handle_step_into_function_backward): Update.
4061
4062 2014-05-29 Pedro Alves <palves@redhat.com>
4063
4064 * infcall.c (run_inferior_call): Don't check whether the current
4065 thread is running after the proceed call.
4066
4067 2014-05-29 Pedro Alves <palves@redhat.com>
4068 Tom Tromey <tromey@redhat.com>
4069
4070 * NEWS: Mention "maint set target-async", "set mi-async", and that
4071 background execution commands are now always available.
4072 * target.h (target_async_permitted): Update comment.
4073 * target.c (target_async_permitted, target_async_permitted_1):
4074 Default to 1.
4075 (set_target_async_command): Rename to ...
4076 (maint_set_target_async_command): ... this.
4077 (show_target_async_command): Rename to ...
4078 (maint_show_target_async_command): ... this.
4079 (_initialize_target): Adjust.
4080 * infcmd.c (prepare_execution_command): Make extern.
4081 * inferior.h (prepare_execution_command): Declare.
4082 * infrun.c (set_observer_mode): Leave target async alone.
4083 * mi/mi-interp.c (mi_interpreter_init): Install
4084 mi_on_sync_execution_done as sync_execution_done observer.
4085 (mi_on_sync_execution_done): New function.
4086 (mi_execute_command_input_handler): Don't print the prompt if we
4087 just started a synchronous command with an async target.
4088 (mi_on_resume): Check sync_execution before printing prompt.
4089 * mi/mi-main.h (mi_async_p): Declare.
4090 * mi/mi-main.c: Include gdbcmd.h.
4091 (mi_async_p): New function.
4092 (mi_async, mi_async_1): New globals.
4093 (set_mi_async_command, show_mi_async_command, mi_async): New
4094 functions.
4095 (exec_continue): Call prepare_execution_command.
4096 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4097 (mi_execute_async_cli_command): Use mi_async_p.
4098 (_initialize_mi_main): Install "set mi-async". Make
4099 "target-async" a deprecated alias.
4100
4101 2014-05-29 Pedro Alves <palves@redhat.com>
4102
4103 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4104 (_initialize_cli_interp): Adjust.
4105 * event-loop.c: Include "observer.h".
4106 (start_event_loop): Notify 'command_error' observers instead of
4107 calling display_gdb_prompt. Remove FIXME comment.
4108 * event-top.c (display_gdb_prompt): Remove call into the
4109 interpreters.
4110 * inf-loop.c: Include "observer.h".
4111 (inferior_event_handler): Notify 'command_error' observers instead
4112 of calling display_gdb_prompt.
4113 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4114 observers instead of calling display_gdb_prompt.
4115 * interps.c (interp_set): Don't call display_gdb_prompt.
4116 (current_interp_display_prompt_p): Delete.
4117 * interps.h (interp_prompt_p): Delete declaration.
4118 (interp_prompt_p_ftype): Delete.
4119 (struct interp_procs) <prompt_proc_p>: Delete field.
4120 (current_interp_display_prompt_p): Delete declaration.
4121 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4122 (_initialize_mi_interp): Adjust.
4123 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4124 'command_error' observers.
4125 (tui_on_sync_execution_done, tui_on_command_error): New
4126 functions.
4127 (tui_display_prompt_p): Delete.
4128 (_initialize_tui_interp): Adjust.
4129
4130 2014-05-29 Pedro Alves <palves@redhat.com>
4131
4132 PR gdb/13860
4133 * cli/cli-interp.c: Include infrun.h and observer.h.
4134 (cli_uiout, cli_interp): New globals.
4135 (cli_on_signal_received, cli_on_end_stepping_range)
4136 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4137 functions.
4138 (cli_interpreter_init): Install them as 'end_stepping_range',
4139 'signal_received' 'signal_exited', 'exited' and 'no_history'
4140 observers.
4141 (_initialize_cli_interp): Remove cli_interp local.
4142 * infrun.c (handle_inferior_event): Call the several stop reason
4143 observers instead of printing the stop reason directly.
4144 (end_stepping_range): New function.
4145 (print_end_stepping_range_reason, print_signal_exited_reason)
4146 (print_exited_reason, print_signal_received_reason)
4147 (print_no_history_reason): Make static, and add an uiout
4148 parameter. Print to that instead of to CURRENT_UIOUT.
4149 * infrun.h (print_end_stepping_range_reason)
4150 (print_signal_exited_reason, print_exited_reason)
4151 (print_signal_received_reason print_no_history_reason): New
4152 declarations.
4153 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4154 'mi_uiout'.
4155 <cli_uiout>: New field.
4156 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4157 uiout for CLI output. Install 'signal_received',
4158 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4159 observers.
4160 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4161 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4162 (mi_on_no_history): New functions.
4163 (ui_out_free_cleanup): Delete function.
4164 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4165 instead use the one already stored in the MI interpreter data.
4166 (mi_ui_out): Adjust.
4167 * tui/tui-interp.c: Include infrun.h and observer.h.
4168 (tui_interp): New global.
4169 (tui_on_signal_received, tui_on_end_stepping_range)
4170 (tui_on_signal_exited, tui_on_exited)
4171 (tui_on_no_history): New functions.
4172 (tui_init): Install them as 'end_stepping_range',
4173 'signal_received' 'signal_exited', 'exited' and 'no_history'
4174 observers.
4175 (_initialize_tui_interp): Delete tui_interp local.
4176
4177 2014-05-29 Pedro Alves <palves@redhat.com>
4178
4179 PR gdb/15713
4180 * linux-nat.c (linux_nat_resume_callback): Rename the second
4181 parameter to 'except'. Skip LP if it points to EXCEPT.
4182 (linux_nat_resume): Don't mark the event lwp as not stopped
4183 before resuming sibling lwps. Instead ask
4184 linux_nat_resume_callback to skip the event lwp. Mark it as not
4185 stopped after actually resuming it.
4186 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4187 resuming it.
4188 (wait_lwp): Mark the lwp as stopped here.
4189 (stop_wait_callback): Mark the lwp as not stopped right after
4190 resuming it. Don't mark lwps as stopped here.
4191 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4192 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4193
4194 2014-05-29 Pedro Alves <palves@redhat.com>
4195
4196 PR PR15693
4197 * infrun.c (resume): Determine how much to resume depending on
4198 whether the caller wanted a step, not whether we can hardware step
4199 the target. Mark all threads that we intend to run as running,
4200 unless we're calling an inferior function.
4201 (normal_stop): If the thread is running an infcall, don't finish
4202 thread state.
4203 * target.c (target_resume): Don't mark threads as running here.
4204
4205 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4206
4207 * serial.c (_initialize_serial): Remove support for
4208 the "set remotebaud" and "show remotebaud" commands.
4209 * NEWS: Add entry documenting the removal of that command.
4210
4211 2014-05-28 Yao Qi <yao@codesourcery.com>
4212
4213 * charset.c: Fix typo in comments.
4214
4215 2014-05-27 Gary Benson <gbenson@redhat.com>
4216
4217 * utils.c (internal_vproblem): Prompt for a bug report.
4218
4219 2014-05-26 Andy Wingo <wingo@igalia.com>
4220
4221 * guile/scm-arch.c (arscm_mark_arch_smob):
4222 * guile/scm-block.c (bkscm_mark_block_smob)
4223 (bkscm_mark_block_syms_progress_smob):
4224 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4225 * guile/scm-exception.c (exscm_mark_exception_smob):
4226 * guile/scm-frame.c (frscm_mark_frame_smob):
4227 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4228 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4229 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4230 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4231 (ppscm_mark_pretty_printer_worker_smob):
4232 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4233 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4234 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4235 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4236 mark functions.
4237 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4238 function.
4239
4240 2014-05-26 Andy Wingo <wingo@igalia.com>
4241 Doug Evans <xdje42@gmail.com>
4242
4243 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4244 empty_base_class. All uses updated.
4245 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4246 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4247 Adapt all callers.
4248 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4249 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4250 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4251 (gdbscm_gsmob_has_property_p, add_property_name)
4252 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4253 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4254 (gdb-object-has-property?, gdb-object-properties): Remove.
4255 (gdb-object-kind): Renamed from gsmob-kind.
4256
4257 2014-05-26 Andy Wingo <wingo@igalia.com>
4258
4259 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4260 * configure: Regenerate.
4261
4262 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4263
4264 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4265
4266 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4267
4268 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4269 (replay_memory_access_read_only, replay_memory_access_read_write)
4270 (replay_memory_access_types, replay_memory_access)
4271 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4272 (cmd_set_record_btrace, cmd_show_record_btrace)
4273 (cmd_show_replay_memory_access): New.
4274 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4275 (record_btrace_remove_breakpoint): Replace
4276 record_btrace_allow_memory_access with replay_memory_access.
4277 (_initialize_record_btrace): Add commands.
4278 * NEWS: Announce it.
4279
4280 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4281
4282 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4283
4284 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4285
4286 * MAINTAINERS (Write After Approval): Move self back from
4287 paper trail.
4288
4289 2014-05-22 Pedro Alves <palves@redhat.com>
4290
4291 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4292 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4293 (disable_randomization, enum exec_direction_kind)
4294 (execution_direction, stop_registers, start_remote)
4295 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4296 (wait_for_inferior, normal_stop, get_last_target_status)
4297 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4298 (insert_step_resume_breakpoint_at_sal)
4299 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4300 (set_step_info, print_stop_event, signal_stop_state)
4301 (signal_print_state, signal_pass_state, signal_stop_update)
4302 (signal_print_update, signal_pass_update)
4303 (update_signals_program_target, clear_exit_convenience_vars)
4304 (displaced_step_dump_bytes, update_observer_mode)
4305 (signal_catch_update, gdb_signal_from_command): Move
4306 declarations ...
4307 * infrun.h: ... to this new file.
4308 * amd64-tdep.c: Include infrun.h.
4309 * annotate.c: Include infrun.h.
4310 * arch-utils.c: Include infrun.h.
4311 * arm-linux-tdep.c: Include infrun.h.
4312 * arm-tdep.c: Include infrun.h.
4313 * break-catch-sig.c: Include infrun.h.
4314 * breakpoint.c: Include infrun.h.
4315 * common/agent.c: Include infrun.h instead of inferior.h.
4316 * corelow.c: Include infrun.h.
4317 * event-top.c: Include infrun.h.
4318 * go32-nat.c: Include infrun.h.
4319 * i386-tdep.c: Include infrun.h.
4320 * inf-loop.c: Include infrun.h.
4321 * infcall.c: Include infrun.h.
4322 * infcmd.c: Include infrun.h.
4323 * infrun.c: Include infrun.h.
4324 * linux-fork.c: Include infrun.h.
4325 * linux-nat.c: Include infrun.h.
4326 * linux-thread-db.c: Include infrun.h.
4327 * monitor.c: Include infrun.h.
4328 * nto-tdep.c: Include infrun.h.
4329 * procfs.c: Include infrun.h.
4330 * record-btrace.c: Include infrun.h.
4331 * record-full.c: Include infrun.h.
4332 * remote-m32r-sdi.c: Include infrun.h.
4333 * remote-mips.c: Include infrun.h.
4334 * remote-notif.c: Include infrun.h.
4335 * remote-sim.c: Include infrun.h.
4336 * remote.c: Include infrun.h.
4337 * reverse.c: Include infrun.h.
4338 * rs6000-tdep.c: Include infrun.h.
4339 * s390-linux-tdep.c: Include infrun.h.
4340 * solib-irix.c: Include infrun.h.
4341 * solib-osf.c: Include infrun.h.
4342 * solib-svr4.c: Include infrun.h.
4343 * target.c: Include infrun.h.
4344 * top.c: Include infrun.h.
4345 * windows-nat.c: Include infrun.h.
4346 * mi/mi-interp.c: Include infrun.h.
4347 * mi/mi-main.c: Include infrun.h.
4348 * python/py-threadevent.c: Include infrun.h.
4349
4350 2014-05-22 Pedro Alves <palves@redhat.com>
4351
4352 * infrun.c (handle_inferior_event): Store the exit code for
4353 --return-child-result here, instead of ...
4354 (print_exited_reason): ... here.
4355
4356 2014-05-21 Pedro Alves <palves@redhat.com>
4357
4358 PR gdb/13860
4359 * gdbthread.h (struct thread_control_state): New field
4360 `command_interp'.
4361 * infrun.c (follow_fork): Copy the new thread control field to the
4362 child fork thread.
4363 (clear_proceed_status_thread): Clear the new thread control field.
4364 (proceed): Set the new thread control field.
4365 * interps.h (command_interp): Declare.
4366 * interps.c (command_interpreter): New global.
4367 (command_interp): New function.
4368 (interp_exec): Set `command_interpreter' while here.
4369 * cli-out.c (cli_uiout_dtor): New function.
4370 (cli_ui_out_impl): Install it.
4371 * mi/mi-interp.c: Include cli-out.h.
4372 (mi_cmd_interpreter_exec): Add comment.
4373 (restore_current_uiout_cleanup): New function.
4374 (ui_out_free_cleanup): New function.
4375 (mi_on_normal_stop): If finishing an execution command started by
4376 a CLI command, or any kind of breakpoint-like event triggered,
4377 print the stop event to the output (CLI) stream.
4378 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4379
4380 2014-05-21 Pedro Alves <palves@redhat.com>
4381
4382 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4383 current source line having changed.
4384 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4385 * infrun.c (normal_stop): Adjust call to
4386 set_current_sal_from_frame.
4387 * source.c (clear_lines_listed_range): New function.
4388 (set_current_source_symtab_and_line, identify_source_line): Clear
4389 the lines listed range.
4390 (line_info): Handle the first "info line" after the current source
4391 line having changed.
4392 * stack.c (print_stack_frame): Remove center handling.
4393 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4394 center sal.line.
4395
4396 2014-05-21 Pedro Alves <palves@redhat.com>
4397
4398 * inf-child.c (inf_child_mourn_inferior): New function.
4399 * inf-child.h (inf_child_mourn_inferior): New declaration.
4400 * darwin-nat.c (darwin_mourn_inferior): Use
4401 inf_child_mourn_inferior.
4402 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4403 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4404 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4405 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4406 * windows-nat.c (windows_mourn_inferior): Likewise.
4407
4408 2014-05-21 Doug Evans <xdje42@gmail.com>
4409
4410 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4411
4412 2014-05-21 Doug Evans <xdje42@gmail.com>
4413
4414 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4415 (gdbscm_out_of_range_error): Ditto.
4416 (gdbscm_memory_error): Ditto.
4417 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4418 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4419 (gdbscm_out_of_range_error): Update.
4420 (gdbscm_memory_error): Update.
4421 (gdbscm_scm_to_target_string_unsafe): Delete.
4422
4423 2014-05-21 Pedro Alves <palves@redhat.com>
4424
4425 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4426 globals.
4427 (inf_child_open_target): New function.
4428 (inf_child_open): Use inf_child_open_target to push the target
4429 instead of erroring out.
4430 (inf_child_disconnect, inf_child_close)
4431 (inf_child_maybe_unpush_target): New functions.
4432 (inf_child_target): Install inf_child_disconnect and
4433 inf_child_close. Store a pointer to the returned object.
4434 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4435 declarations.
4436 * target.c (auto_connect_native_target): New global.
4437 (show_default_run_target): New function.
4438 (find_default_run_target): Return NULL if automatically connecting
4439 to the native target is disabled.
4440 (_initialize_target): Install set/show auto-connect-native-target.
4441 * NEWS: Mention "set auto-connect-native-target", and "target
4442 native".
4443 * linux-nat.c (super_close): New global.
4444 (linux_nat_close): Call super_close.
4445 (linux_nat_add_target): Store a pointer to the base class's
4446 to_close method.
4447 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4448 inf_child_maybe_unpush.
4449 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4450 already pushed.
4451 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4452 the inferior. Use inf_child_maybe_unpush_target.
4453 (inf_ttrace_attach): Don't push the target if it is already
4454 pushed.
4455 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4456 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4457 after mourning the inferior. Use inf_child_maybe_unpush_target.
4458 (darwin_attach_pid): Don't push the target if it is already
4459 pushed.
4460 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4461 mourning the inferior. Use inf_child_maybe_unpush_target.
4462 (gnu_detach): Use inf_child_maybe_unpush_target.
4463 * go32-nat.c (go32_create_inferior): Don't push the target if it
4464 is already pushed.
4465 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4466 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4467 (procfs_open): Rename to ...
4468 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4469 comments. Can target_preopen before changing node. Call
4470 inf_child_open_target to push the target explicitly.
4471 (procfs_attach): Don't push the target if it is already pushed.
4472 (procfs_detach): Use inf_child_maybe_unpush_target.
4473 (procfs_create_inferior): Don't push the target if it is already
4474 pushed.
4475 (nto_native_ops): New global.
4476 (procfs_open): Reimplement.
4477 (procfs_native_open): New function.
4478 (init_procfs_targets): Install procfs_native_open as to_open of
4479 "target native". Store a pointer to the "native" target in
4480 nto_native_ops.
4481 * procfs.c (procfs_attach): Don't push the target if it is already
4482 pushed.
4483 (procfs_detach): Use inf_child_maybe_unpush_target.
4484 (procfs_mourn_inferior): Only unpush the target after mourning the
4485 inferior. Use inf_child_maybe_unpush_target.
4486 (procfs_init_inferior): Don't push the target if it is already
4487 pushed.
4488 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4489 if it is already pushed.
4490
4491 2014-05-21 Pedro Alves <palves@redhat.com>
4492
4493 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4494 and "procfs" targets are now called "native" instead.
4495
4496 2014-05-21 Pedro Alves <palves@redhat.com>
4497
4498 * go32-nat.c (go32_open): Delete.
4499 (go32_target): Don't override the to_open method.
4500
4501 2014-05-21 Pedro Alves <palves@redhat.com>
4502
4503 * nto-procfs.c (procfs_can_run): New function.
4504 (nto_procfs_ops): New global.
4505 (init_procfs_targets): New, based on procfs_target. Install
4506 "target native" in addition to "target procfs".
4507 (_initialize_procfs): Call init_procfs_targets instead of adding
4508 the target here.
4509
4510 2014-05-21 Pedro Alves <palves@redhat.com>
4511
4512 * windows-nat.c (windows_target): Don't override to_shortname,
4513 to_longname or to_doc.
4514
4515 2014-05-21 Pedro Alves <palves@redhat.com>
4516
4517 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4518 to_doc.
4519
4520 2014-05-21 Pedro Alves <palves@redhat.com>
4521
4522 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4523 to_shortname, to_longname or to_doc.
4524
4525 2014-05-21 Pedro Alves <palves@redhat.com>
4526
4527 * go32-nat.c (go32_target): Don't override to_shortname,
4528 to_longname or to_doc.
4529
4530 2014-05-21 Pedro Alves <palves@redhat.com>
4531
4532 * inf-child.c (inf_child_open): Remove mention of "child".
4533 (inf_child_target): Rename target to "native" instead of "child".
4534
4535 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4536
4537 * Makefile.in (SFILES): Delete "regset.c".
4538 (COMMON_OBS): Delete "regset.o".
4539 * regset.c: Remove.
4540 * regset.h (regset_alloc): Delete prototype.
4541
4542 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4543
4544 * sparc-linux-tdep.c (sparc32_linux_gregset)
4545 (sparc32_linux_fpregset): New static regset structures.
4546 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4547 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4548 'fpregset' fields.
4549 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4550 (sparc64_linux_fpregset): New static regset structures.
4551 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4552 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4553 New static regset structures.
4554 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4555 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4556 New static regset structures.
4557 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4558 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4559 New static regset structures.
4560 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4561 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4562 New static regset structures.
4563 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4564
4565 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4566
4567 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4568 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4569 register maps ("regmaps") from "*regset" to "*regmap". Do this
4570 for all regmap types and variables.
4571 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4572 (sparc32_linux_supply_core_gregset)
4573 (sparc32_linux_collect_core_gregset)
4574 (sparc32_linux_supply_core_fpregset)
4575 (sparc32_linux_collect_core_fpregset): Likewise.
4576 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4577 (sparc_gregmap, sparc_fpregmap): ... these.
4578 (sparc_supply_gregset, sparc_collect_gregset)
4579 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4580 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4581 (_initialize_sparc_nat): Rename regmaps.
4582 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4583 (sparc_gregmap, sparc_fpregmap): ... these.
4584 (sparc_supply_gregset, sparc_collect_gregset)
4585 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4586 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4587 Rename macros to...
4588 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4589 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4590 Likewise.
4591 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4592 Rename to...
4593 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4594 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4595 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4596 regmaps.
4597 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4598 (sparc32_bsd_fpregset): Rename to...
4599 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4600 (sparc32_bsd_fpregmap): ... these.
4601 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4602 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4603 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4604 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4605 (struct sparc_gregmap, struct sparc_fpregmap)
4606 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4607 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4608 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4609 (sparc32_supply_regset, sparc32_collect_gregset)
4610 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4611 prototypes.
4612 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4613 (sparc64_linux_ptrace_gregmap): ... this.
4614 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4615 (_initialize_sparc64_linux_nat): Rename regmaps.
4616 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4617 (sparc64_linux_core_gregmap): ... this.
4618 (sparc64_linux_supply_core_gregset)
4619 (sparc64_linux_collect_core_gregset)
4620 (sparc64_linux_supply_core_fpregset)
4621 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4622 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4623 (sparc64_sol2_fpregset): Rename to...
4624 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4625 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4626 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4627 regmaps.
4628 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4629 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4630 (sparc64_bsd_fpregset): Rename to...
4631 (struct sparc_gregmap, sparc64_sol2_gregmap)
4632 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4633 (sparc64_bsd_fpregmap): ... these.
4634 (sparc64_supply_gregset, sparc64_collect_gregset)
4635 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4636 prototypes.
4637 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4638 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4639 (sparc64fbsd_gregmap): ... this.
4640 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4641 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4642 Rename regmaps.
4643 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4644 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4645 (sparc64nbsd_collect_fpregset): Likewise.
4646 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4647 (sparc64nbsd_gregmap): ... this.
4648 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4649 regmaps.
4650 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4651 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4652 (sparc64obsd_gregmap): ... this.
4653 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4654 regmaps.
4655 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4656 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4657 (sparc32nbsd_gregmap): ... this.
4658 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4659 regmaps.
4660
4661 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4662
4663 * score-tdep.c (score7_linux_gregset): New static regset
4664 structure.
4665 (score7_linux_regset_from_core_section): Remove dynamic regset
4666 allocation.
4667 (score_gdbarch_init): Drop allocation of tdep structure.
4668 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4669
4670 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4671
4672 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4673 regset structures.
4674 (am33_regset_from_core_section): Remove dynamic regset
4675 allocations.
4676
4677 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4678
4679 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4680 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4681 structures.
4682 (mips_linux_regset_from_core_section): Remove dynamic regset
4683 allocations.
4684 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4685 'gregset64', 'fpregset', and 'fpregset64'.
4686 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4687 deleted tdep fields.
4688
4689 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4690
4691 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4692 regset structures.
4693 (amd64_regset_from_core_section): Remove dynamic regset
4694 allocations.
4695 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4696 structure.
4697 (amd64obsd_regset_from_core_section): Remove dynamic regset
4698 allocation.
4699 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4700 Likewise.
4701 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4702 x86-common regset supply function.
4703 * i386-tdep.c (i386_collect_gregset): Make static.
4704 (i386_gregset): New global regset structure.
4705 (i386_fpregset, i386_xstateregset): New static regset structures.
4706 (i386_regset_from_core_section): Remove dynamic regset
4707 allocations.
4708 (i386_gdbarch_init): Remove initialization of tdep fields
4709 'gregset', 'fpregset', and 'xstateregset'.
4710 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4711 'fpregset', and 'xstateregset'.
4712 (i386_collect_gregset): Remove prototype.
4713 (i386_gregset): New declaration.
4714 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4715 structure.
4716 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4717 allocation.
4718
4719 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4720
4721 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4722 (arm_linux_vfpregset): New static regset structures.
4723 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4724 regset structures.
4725 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4726 and 'vfpregset' fields.
4727
4728 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729
4730 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4731 (aarch64_linux_fpregset): New static regset structures.
4732 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4733 of regset structures.
4734 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4735 'fpregset' fields.
4736
4737 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4738
4739 * regset.h (struct regset): Remove gdbarch field.
4740 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4741 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4742 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4743 Likewise.
4744 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4745 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4746 (ppc32_linux_vsxregset): Likewise.
4747 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4748 via the regcache instead of the regset.
4749 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4750 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4751 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4752 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4753 Likewise.
4754
4755 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4756
4757 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4758 Constify structures.
4759 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4760 (alphanbsd_aout_gregset): Likewise.
4761 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4762 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4763 Likewise.
4764 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4765 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4766 Likewise.
4767 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4768 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4769 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4770 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4771 * m88k-tdep.c (m88k_gregset): Likewise.
4772 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4773 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4774 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4775 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4776 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4777 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4778 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4779 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4780 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4781 Likewise.
4782 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4783 * sh-tdep.h (sh_corefile_gregset): Likewise.
4784 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4785 * vax-tdep.c (vax_gregset): Likewise.
4786
4787 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4788
4789 Fix TLS access for -static -pthread.
4790 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4791 (try_thread_db_load_1): Initialize it.
4792 (thread_db_get_thread_local_address): Call it if LM is zero.
4793 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4794 * target.h (struct target_ops) (to_get_thread_local_address): Add
4795 load_module_addr comment.
4796
4797 2014-05-21 Pedro Alves <palves@redhat.com>
4798
4799 * dcache.c (dcache_read_memory_partial): If reading the cache line
4800 fails, fallback to reading just the memory the caller wanted.
4801
4802 2014-05-20 Doug Evans <dje@google.com>
4803
4804 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4805 instead of get_current_arch.
4806
4807 2014-05-20 Pedro Alves <palves@redhat.com>
4808
4809 * NEWS: Mention that compare-sections now works with all targets.
4810
4811 * remote.c (PACKET_qCRC): New enum value.
4812 (remote_verify_memory): Don't send qCRC if the target has no
4813 execution. Use packet_support/packet_ok. If the target doesn't
4814 support the qCRC packet, fallback to a deep memory copy.
4815 (compare_sections_command): Say "target image" instead of "remote
4816 executable".
4817 (_initialize_remote): Add PACKET_qCRC to the list of config
4818 packets that have no associated command. Extend comment.
4819 * target.c (simple_verify_memory, default_verify_memory): New
4820 function.
4821 * target.h (struct target_ops) <to_verify_memory>: Default to
4822 default_verify_memory.
4823 (simple_verify_memory): New declaration.
4824 * target-delegates.c: Regenerate.
4825
4826 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4827
4828 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4829
4830 2014-05-20 Hui Zhu <hui@codesourcery.com>
4831 Yao Qi <yao@codesourcery.com>
4832
4833 PR backtrace/16558
4834 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4835 and change address of sp and pc.
4836
4837 2014-05-19 Tom Tromey <tromey@redhat.com>
4838
4839 * gdbtypes.c (rank_function): Use XNEWVEC.
4840 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4841
4842 2014-05-19 Doug Evans <dje@google.com>
4843
4844 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4845 build_type_unit_groups and moved closer to only caller. Remove
4846 arguments. All references updated. Remove outdated .gdb_index
4847 comment.
4848 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4849 build_type_psymtabs_1.
4850
4851 2014-05-19 Doug Evans <dje@google.com>
4852
4853 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4854 n_type_unit_groups, all_type_unit_groups. All uses removed.
4855 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4856 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4857 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4858 (add_type_unit_group_to_table): Delete.
4859
4860 2014-05-19 Doug Evans <dje@google.com>
4861
4862 * eval.c (evaluate_subexp_standard): Add some comments.
4863
4864 2014-05-17 Doug Evans <xdje42@gmail.com>
4865
4866 * progspace.c (remove_program_space): Delete, unused.
4867 * progspace.h (remove_program_space): Ditto.
4868
4869 2014-05-17 Doug Evans <xdje42@gmail.com>
4870
4871 * inferior.c (prune_inferiors): Fix comment.
4872 (remove_inferior_command): Call prune_program_spaces.
4873
4874 2014-05-16 Doug Evans <dje@google.com>
4875
4876 New command line option -D.
4877 * NEWS: Mention it.
4878 * main.c (set_gdb_data_directory): New function.
4879 (captured_main): Recognize -D. Flag error for --data-directory "".
4880 Call set_gdb_data_directory.
4881 (print_gdb_help): Print --data-directory, -D.
4882 * main.h (set_gdb_data_directory): Declare.
4883 * top.c (staged_gdb_datadir): New static global.
4884 (set_gdb_datadir): Call set_gdb_data_directory
4885 (show_gdb_datadir): New function.
4886 (init_main): Update init of data-directory parameter.
4887
4888 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4889
4890 Import the "dirfd" gnulib module.
4891 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4892 * gnulib/aclocal.m4: Update.
4893 * gnulib/config.in: Update.
4894 * gnulib/configure: Update.
4895 * gnulib/import/Makefile.am: Update.
4896 * gnulib/import/Makefile.in: Update.
4897 * gnulib/import/dirfd.c: New.
4898 * gnulib/import/m4/dirfd.m4: New.
4899 * gnulib/import/m4/gnulib-cache.m4: Update.
4900 * gnulib/import/m4/gnulib-comp.m4: Update.
4901
4902 2014-05-16 Pierre Muller <muller@sourceware.org>
4903 Yao Qi <yao@codesourcery.com>
4904
4905 * valprint.c (print_wchar): Move the code on checking whether
4906 W is a printable wide char to the default branch of switch
4907 statement below. Call wchar_printable instead of gdb_iswprint.
4908
4909 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4910
4911 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
4912 ldr.w and ldrd instructions.
4913
4914 2014-05-15 Doug Evans <dje@google.com>
4915
4916 * dwarf2read.c (read_structure_type): Delete outdated comments.
4917
4918 2014-05-14 Tom Tromey <tromey@redhat.com>
4919
4920 * macrocmd.c (print_macro_definition): Reindent.
4921
4922 2014-05-13 Doug Evans <xdje42@gmail.com>
4923
4924 * python/py-cmd.c (cmdpy_completer): Add comment.
4925 (completers): Make const.
4926
4927 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4928
4929 * infrun.c (resume): Remove should_resume (unused). Move up
4930 declaration of resume_ptid.
4931
4932 2014-05-13 Tom Tromey <tromey@redhat.com>
4933
4934 * language.h (unop_type_check): Remove.
4935 (binop_type_check): Don't declare.
4936
4937 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4938
4939 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4940 call to regcache_raw_collect.
4941
4942 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4943
4944 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4945 mi_console->quote as the quoting character.
4946
4947 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4948
4949 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4950
4951 2014-04-29 Tom Tromey <tromey@redhat.com>
4952
4953 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4954 "show debug varobj".
4955
4956 2014-05-07 Kyle McMartin <kyle@redhat.com>
4957
4958 Pushed by Joel Brobecker <brobecker@adacore.com>.
4959 * aarch64-tdep.c (aarch64_software_single_step): New function.
4960 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4961 with aarch64_software_single_step.
4962
4963 2014-05-05 Joel Brobecker <brobecker@adacore.com>
4964
4965 GDB 7.7.1 released.
4966
4967 2014-05-05 Keith Seitz <keiths@redhat.com>
4968
4969 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4970 variable or history value is successfully parsed.
4971
4972 2014-05-05 Yao Qi <yao@codesourcery.com>
4973 Pedro Alves <palves@redhat.com>
4974
4975 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4976 address of blocks that intersects the requested range. Trim
4977 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4978 sections.
4979 * ctf.c (ctf_xfer_partial): Likewise.
4980
4981 2014-05-05 Yao Qi <yao@codesourcery.com>
4982
4983 * printcmd.c (display_command): Remove the check to
4984 target_has_execution.
4985
4986 2014-05-03 Mark Kettenis <kettenis@gnu.org>
4987
4988 * ppcobsd-nat.c: Include "obsd-nat.h".
4989 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4990 add_target.
4991 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4992
4993 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4994
4995 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4996 and 16-bit signed and unsigned arguments. Update comment.
4997 (stap_parse_probe_arguments): Extend code to handle such
4998 arguments. Use warning instead of complaint to notify about
4999 unrecognized bitness.
5000
5001 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5002
5003 PR breakpoints/16889
5004 * stap-probe.c (stap_parse_probe_arguments): Simplify
5005 check for non-prefixed probes (i.e., probes whose
5006 arguments do not start with "N@"). Always set the
5007 argument type to a sane value.
5008
5009 2014-05-01 David Taylor <dtaylor@emc.com>
5010
5011 * remote.c (compare_sections_command): Add -r option to compare
5012 all loadable read-only sections.
5013
5014 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5015
5016 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5017 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5018 Update all callers.
5019 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5020 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5021 Remove unused CORE_ADDR argument. Update all callers.
5022
5023 2014-04-29 Pedro Alves <palves@redhat.com>
5024
5025 * remote.c (struct packet_config) <detect>: Extend comment.
5026 (add_packet_config_cmd): Don't set the config's detect or support
5027 fields here.
5028 (init_all_packet_configs): Also initialize the config's 'detect'
5029 field.
5030 (reset_all_packet_configs_support): New function.
5031 (remote_open_1): Call reset_all_packet_configs_support instead of
5032 init_all_packet_configs.
5033 (_initialize_remote): Initialize all packet configs. Assert that
5034 all packets have an associated command, except a few known
5035 outliers.
5036
5037 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5038
5039 * dwarf2read.c (read_subrange_type): Handle dynamic
5040 DW_AT_lower_bound attributes.
5041
5042 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5043
5044 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5045 dynamic bounds before computing its upper bound.
5046 (ada_discrete_type_low_bound): Same as above with the lower bound.
5047
5048 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5049
5050 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5051 range types. Adjust the array handling implementation to
5052 take advantage of this change.
5053 (resolve_dynamic_range): New function, mostly extracted from
5054 resolve_dynamic_bounds.
5055 (resolve_dynamic_array): New function, mostly extracted from
5056 resolve_dynamic_bounds.
5057 (resolve_dynamic_bounds): Delete.
5058 (resolve_dynamic_type): Reimplement. Add handling of
5059 TYPE_CODE_RANGE types.
5060
5061 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5062
5063 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5064 handling of parallel ___XA types.
5065
5066 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5067
5068 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5069 unnecessary second call to static_unwrap_type.
5070
5071 2014-04-27 Hui Zhu <hui@codesourcery.com>
5072
5073 * stack.c (print_frame_info): Call do_gdb_disassembly with
5074 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5075
5076 2014-04-26 Doug Evans <xdje42@gmail.com>
5077
5078 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5079
5080 2014-04-25 Pedro Alves <palves@redhat.com>
5081
5082 PR server/16255
5083 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5084 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5085 and newline from built string.
5086 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5087 (linux_ptrace_attach_fail_reason): ... this.
5088 * linux-nat.c (linux_nat_attach): Adjust to use
5089 linux_ptrace_attach_fail_reason.
5090
5091 2014-04-25 Pedro Alves <palves@redhat.com>
5092
5093 * remote.c (struct remote_state): Remove multi_process_aware,
5094 non_stop_aware, cond_tracepoints, cond_breakpoints,
5095 breakpoint_commands, fast_tracepoints, static_tracepoints,
5096 install_in_trace, disconnected_tracing,
5097 enable_disable_tracepoints, string_tracing, and
5098 augmented_libraries_svr4_read fields.
5099 (remote_multi_process_p): Move further below in the file.
5100 (struct packet_config): Add comments.
5101 (update_packet_config): Delete function.
5102 (show_packet_config_cmd): Use packet_config_support.
5103 (add_packet_config_cmd): Use NULL as set callback.
5104 (packet_ok): "set remote foo-packet"-style commands no longer
5105 change config->supported -- adjust.
5106 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5107 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5108 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5109 (PACKET_QNonStop, PACKET_multiprocess_feature)
5110 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5111 (PACKET_DisconnectedTracing_feature)
5112 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5113 (set_remote_protocol_packet_cmd): Delete function.
5114 (packet_config_support, packet_support): New functions.
5115 (set_remote_protocol_Z_packet_cmd): Don't call
5116 update_packet_config.
5117 (remote_query_attached, remote_pass_signals)
5118 (remote_program_signals, remote_threads_info)
5119 (remote_threads_extra_info, remote_start_remote): Use
5120 packet_support.
5121 (remote_start_remote): Use packet_config_support and
5122 packet_support.
5123 (init_all_packet_configs): Set all packets to unknown support,
5124 instead of calling update_packet_config.
5125 (remote_check_symbols): Use packet_support.
5126 (remote_supported_packet): Unconditionally set the packet config's
5127 support status.
5128 (remote_multi_process_feature, remote_non_stop_feature)
5129 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5130 (remote_breakpoint_commands_feature)
5131 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5132 (remote_install_in_trace_feature)
5133 (remote_disconnected_tracing_feature)
5134 (remote_enable_disable_tracepoint_feature)
5135 (remote_string_tracing_feature)
5136 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5137 (remote_protocol_features): Adjust to use remote_supported_packet
5138 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5139 "ConditionalTracepoints", "ConditionalBreakpoints",
5140 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5141 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5142 "EnableDisableTracepoints", and "tracenz".
5143 (remote_query_supported): Use packet_support.
5144 (remote_open_1): Adjust.
5145 (extended_remote_attach_1): Use packet_support. Switch on the
5146 result of packet_ok instead of checking whether the packet ended
5147 up disabled.
5148 (remote_vcont_resume): Use packet_support.
5149 (remote_resume, remote_stop_ns, fetch_register_using_p)
5150 (remote_prepare_to_store, store_register_using_P)
5151 (check_binary_download, remote_write_bytes): Use packet_support.
5152 (remote_vkill): Use packet_support. Switch on the result of
5153 packet_ok instead of checking whether the packet ended up
5154 disabled.
5155 (extended_remote_supports_disable_randomization): Use
5156 packet_support.
5157 (extended_remote_run): Switch on the result of packet_ok instead
5158 of checking whether the packet ended up disabled.
5159 (remote_insert_breakpoint, remote_remove_breakpoint)
5160 (remote_insert_watchpoint, remote_remove_watchpoint)
5161 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5162 packet_support.
5163 (remote_search_memory): Use packet_config_support.
5164 (remote_get_thread_local_address, remote_get_tib_address)
5165 (remote_hostio_send_command, remote_can_execute_reverse): Use
5166 packet_support.
5167 (remote_supports_cond_tracepoints)
5168 (remote_supports_cond_breakpoints)
5169 (remote_supports_fast_tracepoints)
5170 (remote_supports_static_tracepoints)
5171 (remote_supports_install_in_trace)
5172 (remote_supports_enable_disable_tracepoint)
5173 (remote_supports_string_tracing)
5174 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5175 the packet config says the feature is enabled or disabled.
5176 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5177 (remote_get_trace_status): Use packet_support.
5178 (remote_set_disconnected_tracing): Adjust to check whether the
5179 feature is enabled with packet_support.
5180 (remote_set_trace_buffer_size, remote_use_agent)
5181 (remote_can_use_agent, remote_supports_btrace): Use
5182 packet_support.
5183 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5184 Use packet_config_support.
5185 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5186 the packet config says the feature is enabled or disabled.
5187 (set_range_stepping): Use packet_support.
5188
5189 2014-04-25 Tom Tromey <tromey@redhat.com>
5190
5191 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5192 argument.
5193
5194 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5195
5196 * NEWS: Mention support for C99 variable length arrays.
5197
5198 2014-04-24 Joel Brobecker <brobecker@adacore.com>
5199
5200 * ada-lang.c (standard_exc): Expand introductory comment.
5201
5202 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5203 Walfred Tedeschi <walfred.tedeschi@intel.com>
5204
5205 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5206 AVX512 registers.
5207 (amd64_linux_read_description): Add code to handle AVX512 xstate
5208 mask and return respective tdesc.
5209 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5210 and features/i386/x32-avx512-linux.c.
5211 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5212 (amd64_linux_core_read_description): Add code to handle AVX512
5213 xstate mask and return respective tdesc.
5214 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5215 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5216 calculation.
5217 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5218 (tdesc_amd64_avx512_linux): New prototype.
5219 (tdesc_x32_avx512_linux): Likewise.
5220 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5221 features/i386/x32-avx512.c.
5222 (amd64_ymm_avx512_names): New register names for pseudo
5223 registers YMM16-31.
5224 (amd64_ymmh_avx512_names): New register names for raw registers
5225 YMMH16-31.
5226 (amd64_k_names): New register names for K registers.
5227 (amd64_zmmh_names): New register names for ZMM raw registers.
5228 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5229 (amd64_xmm_avx512_names): New register names for XMM16-31
5230 registers.
5231 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5232 registers.
5233 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5234 if feature is present.
5235 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5236 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5237 (AMD64_NUM_REGS): Adjust to new number of registers.
5238 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5239 registers supplied via XSTATE by AVX512 registers.
5240 (i386_linux_read_description): Add case for AVX512.
5241 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5242 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5243 (i386_linux_core_read_description): Add case for AVX512.
5244 (i386_linux_init_abi): Install supported register note section
5245 for AVX512.
5246 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5247 AVX512.
5248 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5249 registers to be number of zmm7h + 1.
5250 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5251 * i386-tdep.c: Include features/i386/i386-avx512.c.
5252 (i386_zmm_names): Add ZMM pseudo register names array.
5253 (i386_zmmh_names): Add ZMM raw register names array.
5254 (i386_k_names): Add K raw register names array.
5255 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5256 registers. AVX512 has 16 more ZMM registers than there are YMM
5257 registers.
5258 (i386_zmmh_regnum_p): Add function to look up register number of
5259 ZMM raw registers.
5260 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5261 (i386_k_regnum_p): Likewise for K raw registers.
5262 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5263 registers added by AVX512.
5264 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5265 registers added by AVX512.
5266 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5267 added by AVX512.
5268 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5269 (i386_pseudo_register_name): Add ZMM pseudo registers.
5270 (i386_zmm_type): Construct and return vector registers type for ZMM
5271 registers.
5272 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5273 ZMM0-31 pseudo registers and K registers.
5274 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5275 and YMM16-31 registers from register cache.
5276 (i386_pseudo_register_write): Add code to write K, ZMM and
5277 YMM16-31 registers.
5278 (i386_register_reggroup_p): Add code to include/exclude AVX512
5279 registers in/from respective register groups.
5280 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5281 registers if feature is present in xcr0.
5282 (i386_gdbarch_init): Add code to initialize AVX512 feature
5283 variables in tdep structure, wire in pseudo registers and call
5284 initialize_tdesc_i386_avx512.
5285 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5286 variables.
5287 (i386_regnum): Add AVX512 registers.
5288 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5289 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5290 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5291 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5292 512 bits wide.
5293 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5294 (i386_ymm_avx512_regnum_p): Likewise.
5295 (i386_k_regnum_p): Likewise.
5296 (i386_zmm_regnum_p): Likewise.
5297 (i386_zmmh_regnum_p): Likewise.
5298 * i387-tdep.c : Update year in copyright notice.
5299 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5300 XSAVE buffer.
5301 (XSAVE_YMM_AVX512_ADDR): New macro.
5302 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5303 XSAVE buffer.
5304 (XSAVE_XMM_AVX512_ADDR): New macro.
5305 (xsave_avx512_k_offset): New table for K register offsets in
5306 XSAVE buffer.
5307 (XSAVE_AVX512_K_ADDR): New macro.
5308 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5309 in XSAVE buffer.
5310 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5311 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5312 buffer.
5313 (i387_collect_xsave): Add code to collect AVX512 registers from
5314 XSAVE buffer.
5315 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5316 of XMM16-31 registers.
5317 (I387_NUM_K_REGS): New define for number of K registers.
5318 (I387_K0_REGNUM): New define for K0 register number.
5319 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5320 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5321 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5322 registers.
5323 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5324 (I387_XMM16_REGNUM): New define for XMM16 register number.
5325 (I387_YMM0_REGNUM): New define for YMM0 register number.
5326 (I387_KEND_REGNUM): New define for last K register number.
5327 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5328 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5329 number.
5330 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5331 number.
5332 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5333 size.
5334 * features/Makefile: Add AVX512 related files.
5335 * features/i386/32bit-avx512.xml: New file.
5336 * features/i386/64bit-avx512.xml: Likewise.
5337 * features/i386/amd64-avx512-linux.c: Likewise.
5338 * features/i386/amd64-avx512-linux.xml: Likewise.
5339 * features/i386/amd64-avx512.c: Likewise.
5340 * features/i386/amd64-avx512.xml: Likewise.
5341 * features/i386/i386-avx512-linux.c: Likewise.
5342 * features/i386/i386-avx512-linux.xml: Likewise.
5343 * features/i386/i386-avx512.c: Likewise.
5344 * features/i386/i386-avx512.xml: Likewise.
5345 * features/i386/x32-avx512-linux.c: Likewise.
5346 * features/i386/x32-avx512-linux.xml: Likewise.
5347 * features/i386/x32-avx512.c: Likewise.
5348 * features/i386/x32-avx512.xml: Likewise.
5349 * regformats/i386/amd64-avx512-linux.dat: New file.
5350 * regformats/i386/amd64-avx512.dat: Likewise.
5351 * regformats/i386/i386-avx512-linux.dat: Likewise.
5352 * regformats/i386/i386-avx512.dat: Likewise.
5353 * regformats/i386/x32-avx512-linux.dat: Likewise.
5354 * regformats/i386/x32-avx512.dat: Likewise.
5355 * NEWS: Add note about new support for AVX512.
5356
5357
5358 2014-04-23 Pedro Alves <palves@redhat.com>
5359
5360 * breakpoint.c (insert_bp_location): Tolerate errors if the
5361 breakpoint is set in a user-loaded objfile.
5362 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5363 location is marked shlib_disabled. If the breakpoint is set in a
5364 user-loaded objfile is a GDB-side memory breakpoint, validate it
5365 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5366 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5367 flag.
5368 * mem-break.c (memory_validate_breakpoint): New function.
5369 * objfiles.c (userloaded_objfile_contains_address_p): New
5370 function.
5371 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5372 * target.h (memory_validate_breakpoint): New declaration.
5373
5374 2014-04-23 Pedro Alves <palves@redhat.com>
5375
5376 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5377 the breakpoint is set in a shared library, only suppress
5378 errors for software breakpoints, not hardware breakpoints.
5379
5380 2014-04-22 Pedro Alves <palves@redhat.com>
5381
5382 * infrun.c (schedlock_applies): New function, factored out from
5383 find_thread_needs_step_over.
5384 (find_thread_needs_step_over): Use it.
5385 (switch_back_to_stepped_thread): Always clear trap_expected if the
5386 step over is finished. Return early if scheduler locking applies.
5387 Look for the stepping thread and a potential step-over thread with
5388 a single loop.
5389 (currently_stepping_or_nexting_callback): Delete.
5390
5391 2014-04-22 Nick Clifton <nickc@redhat.com>
5392
5393 * NEWS: Mention that ARM sim now supports tracing.
5394
5395 2014-04-22 Yao Qi <yao@codesourcery.com>
5396
5397 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5398 to ...
5399 * tracefile.c (tracefile_fetch_registers): ... it. New
5400 function.
5401 * tracefile.h (tracefile_fetch_registers): Declare.
5402 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5403 tracefile_fetch_registers.
5404
5405 2014-04-19 Eli Zaretskii <eliz@gnu.org>
5406
5407 PR gdb/14018
5408 * windows-nat.c (thread_rec): Don't display a warning when
5409 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5410 fails for any reason, set th->suspended to -1, so that we don't
5411 try to resume such a thread. Also, don't return NULL in these
5412 cases, to avoid completely ruin the session due to "PC register is
5413 not available" error.
5414 (do_windows_fetch_inferior_registers): Check errors in
5415 GetThreadContext call.
5416 (windows_continue): Accept an additional argument KILLED; if not
5417 zero, ignore errors in the SetThreadContext call, since the
5418 inferior was killed and is shutting down.
5419 (windows_resume, get_windows_debug_event)
5420 (windows_create_inferior, windows_mourn_inferior)
5421 (windows_kill_inferior): All callers of windows_continue changed
5422 to adjust to its new calling sequence.
5423
5424 2014-04-19 Yao Qi <yao@codesourcery.com>
5425
5426 * ctf.c (ctf_open): Call post_create_inferior.
5427
5428 2014-04-19 Yao Qi <yao@codesourcery.com>
5429
5430 * ctf.c (handle_id): New static variable.
5431 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5432 value. Get the declaration of event "register" and get length
5433 of field "contents".
5434
5435 2014-04-19 Yao Qi <yao@codesourcery.com>
5436
5437 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5438
5439 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5440
5441 * valops.c (oload_method_static): Remove unnecessary argument
5442 METHOD. Update all callers.
5443
5444 2014-04-18 Pedro alves <palves@redhat.com>
5445 Tom Tromey <tromey@redhat.com>
5446
5447 PR backtrace/15558
5448 * frame.c (get_prev_frame_1): Rename to ...
5449 (get_prev_frame_always): ... this, and make extern. Adjust.
5450 (skip_artificial_frames): Use get_prev_frame_always.
5451 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5452 (get_frame_unwind_stop_reason): Adjust to rename.
5453 * frame.h (get_prev_frame_always): Declare.
5454 * inline-frame.c: Include frame.h.
5455 (inline_frame_this_id): Use get_prev_frame_always.
5456
5457 2014-04-18 Tristan Gingold <gingold@adacore.com>
5458
5459 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5460 code by using bfd_mach_o_get_base_address.
5461
5462 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5463
5464 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5465 (spu_ax_pseudo_register_collect): New function.
5466 (spu_ax_pseudo_register_push_stack): Likewise.
5467 (spu_dwarf_reg_to_regnum): Likewise.
5468 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5469
5470 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5471
5472 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5473 Replace FRAME argument with FRAME_ID.
5474 * gdbarch.c, gdbarch.h: Regenerate.
5475 * findvar.c (default_value_from_register): Add GDBARCH argument;
5476 replace FRAME by FRAME_ID. No longer call get_frame_id.
5477 (value_from_register): Update call to gdbarch_value_from_register.
5478 * value.h (default_value_from_register): Update prototype.
5479 * s390-linux-tdep.c (s390_value_from_register): Update interface
5480 and call to default_value_from_register.
5481 * spu-tdep.c (spu_value_from_register): Likewise.
5482
5483 * findvar.c (address_from_register): Remove TYPE argument.
5484 Do not call value_from_register; use gdbarch_value_from_register
5485 with null_frame_id instead.
5486 * value.h (address_from_register): Update prototype.
5487 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5488 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5489 address_from_register interface change.
5490
5491 2014-04-17 Yao Qi <yao@codesourcery.com>
5492
5493 * gdbtypes.h: Update comments to link to types and macros'
5494 definitions.
5495
5496 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5497
5498 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5499
5500 2014-04-16 Keith Seitz <keiths@redhat.com>
5501
5502 PR gdb/15827
5503 * dwarf2read.c (skip_one_die): Check that all relative-offset
5504 sibling DIEs fall within range of the current reader's buffer.
5505 (read_partial_die): Likewise.
5506
5507 2014-04-16 Keith Seitz <keiths@redhat.com>
5508
5509 PR c++/16597
5510 * cp-namespace.c (lookup_symbol_file): If the type name of
5511 `this' is NULL, return immediately.
5512
5513 2014-04-14 Keith Seitz <keiths@redhat.com>
5514
5515 PR c++/16253
5516 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5517 from symbol_matches_domain in symtab.c. All local callers
5518 of symbol_matches_domain updated.
5519 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5520 search STRUCT_DOMAIN.
5521 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5522 independently. standard_lookup will do that automatically.
5523 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5524 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5525 (cp_lookup_symbol_in_namespace): Likewise.
5526 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5527 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5528 may return a STRUCT_DOMAIN match.
5529 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5530 * cp-support.c: Include language.h.
5531 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5532 VAR_DOMAIN.
5533 * psymtab.c (match_partial_symbol): Compare the requested
5534 domain with the symbol's domain directly.
5535 (lookup_partial_symbol): Likewise.
5536 * symtab.c (lookup_symbol_in_language): Explain when/why
5537 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5538 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5539 appropriate languages.
5540 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5541 and moved to ada-lang.c
5542 (lookup_block_symbol): Explain that this function only returns
5543 symbol matching the requested DOMAIN.
5544 Compare the requested domain with the symbol's domain directly.
5545 (iterate_over_symbols): Compare the requested domain with the
5546 symbol's domain directly.
5547 * symtab.h (symbol_matches_domain): Remove.
5548
5549 2014-04-14 Tom Tromey <tromey@redhat.com>
5550
5551 PR c++/15246:
5552 * c-exp.y (type_aggregate_p): New function.
5553 (qualified_name, classify_inner_name): Use it.
5554 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5555 and TYPE_TARGET_TYPE of an enum type.
5556 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5557 an enum type.
5558 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5559 handle TYPE_DECLARED_CLASS.
5560 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5561 types.
5562 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5563 * valops.c (enum_constant_from_type): New function.
5564 (value_aggregate_elt): Use it.
5565 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5566 TYPE_CODE_ENUM.
5567
5568 2014-04-14 Tom Tromey <tromey@redhat.com>
5569
5570 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5571 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5572 const.
5573 * value.h (value_aggregate_elt): Update.
5574
5575 2014-04-14 Tom Tromey <tromey@redhat.com>
5576
5577 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5578
5579 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5580
5581 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5582 (evaluate_subexp_standard): Pass noside argument.
5583 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5584 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5585 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5586 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5587 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5588
5589 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5590
5591 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5592 points to a constant blob.
5593
5594 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5595
5596 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5597 property and store it as the high bound and flag the range accordingly.
5598 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5599 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5600 * gdbtypes.h (enum range_flags): New enum.
5601 (struct range_bounds): Add flags member.
5602
5603 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5604
5605 * c-typeprint.c (c_type_print_varspec_suffix): Added
5606 check for not yet resolved high bound. If unresolved, print
5607 "variable length" string to the console instead of random
5608 length.
5609
5610 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5611
5612 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5613 value.
5614 (ada_template_to_fixed_record_type_1): Likewise.
5615 (ada_to_fixed_type_1): Likewise.
5616 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5617 (cp_print_value): Likewise.
5618 * d-valprint.c (dynamic_array_type): Likewise.
5619 * findvar.c (address_of_variable): Likewise.
5620 * jv-valprint.c (java_value_print): Likewise.
5621 * valops.c (value_ind): Likewise.
5622 * value.c (coerce_ref): Likewise.
5623
5624 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5625
5626 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5627 value and retrieve the dynamic type size.
5628
5629 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5630
5631 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5632 passed to sizeof is dynamic evaluate the argument to compute the length.
5633
5634 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5635 Joel Brobecker <brobecker@adacore.com>
5636
5637 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5638 (dwarf2_evaluate_property): New function.
5639 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5640 * dwarf2read.c (attr_to_dynamic_prop): New function.
5641 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5642 attribute.
5643 * gdbtypes.c: Include dwarf2loc.h.
5644 (is_dynamic_type): New function.
5645 (resolve_dynamic_type): New function.
5646 (resolve_dynamic_bounds): New function.
5647 (get_type_length): New function.
5648 (check_typedef): Use get_type_length to compute type length.
5649 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5650 (TYPE_LOW_BOUND_KIND): New macro.
5651 (is_dynamic_type): New function prototype.
5652 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5653 to resolve dynamic properties of the type. Update comment.
5654 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5655
5656 2014-04-14 Richard Henderson <rth@redhat.com>
5657
5658 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5659
5660 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5661 Doug Evans <xdje42@gmail.com>
5662
5663 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5664 dereference TYPE_CODE_REF values.
5665
5666 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5667
5668 Revert the following changes due to regressions:
5669
5670 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5671 (dwarf2_evaluate_property): New function.
5672 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5673 * dwarf2read.c (attr_to_dynamic_prop): New function.
5674 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5675 attribute.
5676 * gdbtypes.c: Include dwarf2loc.h.
5677 (is_dynamic_type): New function.
5678 (resolve_dynamic_type): New function.
5679 (resolve_dynamic_bounds): New function.
5680 (get_type_length): New function.
5681 (check_typedef): Use get_type_length to compute type length.
5682 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5683 (TYPE_LOW_BOUND_KIND): New macro.
5684 (is_dynamic_type): New function prototype.
5685 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5686 to resolve dynamic properties of the type. Update comment.
5687 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5688
5689 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5690 passed to sizeof is dynamic evaluate the argument to compute the length.
5691
5692 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5693 value and retrieve the dynamic type size.
5694
5695 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5696 (ada_template_to_fixed_record_type_1): Likewise.
5697 (ada_to_fixed_type_1): Likewise.
5698 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5699 (cp_print_value): Likewise.
5700 * d-valprint.c (dynamic_array_type): Likewise.
5701 * eval.c (evaluate_subexp_with_coercion): Likewise.
5702 * findvar.c (address_of_variable): Likewise.
5703 * jv-valprint.c (java_value_print): Likewise.
5704 * valops.c (value_ind): Likewise.
5705 * value.c (coerce_ref): Likewise.
5706
5707 * c-typeprint.c (c_type_print_varspec_suffix): Added
5708 check for not yet resolved high bound. If unresolved, print
5709 "variable length" string to the console instead of random
5710 length.
5711
5712 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5713 property and store it as the high bound and flag the range accordingly.
5714 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5715 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5716 * gdbtypes.h (enum range_flags): New enum.
5717 (struct range_bounds): Add flags member.
5718
5719 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5720 points to a constant blob.
5721
5722 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5723 (evaluate_subexp_standard): Pass noside argument.
5724 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5725 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5726 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5727 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5728 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5729
5730 2014-04-11 Keith Seitz <keiths@redhat.com>
5731
5732 PR c++/16675
5733 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5734 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5735 reference types.
5736
5737 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5738
5739 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5740 (evaluate_subexp_standard): Pass noside argument.
5741 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5742 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5743 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5744 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5745 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5746
5747 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5748
5749 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5750 points to a constant blob.
5751
5752 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5753
5754 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5755 property and store it as the high bound and flag the range accordingly.
5756 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5757 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5758 * gdbtypes.h (enum range_flags): New enum.
5759 (struct range_bounds): Add flags member.
5760
5761 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5762
5763 * c-typeprint.c (c_type_print_varspec_suffix): Added
5764 check for not yet resolved high bound. If unresolved, print
5765 "variable length" string to the console instead of random
5766 length.
5767
5768 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5769
5770 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5771 (ada_template_to_fixed_record_type_1): Likewise.
5772 (ada_to_fixed_type_1): Likewise.
5773 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5774 (cp_print_value): Likewise.
5775 * d-valprint.c (dynamic_array_type): Likewise.
5776 * eval.c (evaluate_subexp_with_coercion): Likewise.
5777 * findvar.c (address_of_variable): Likewise.
5778 * jv-valprint.c (java_value_print): Likewise.
5779 * valops.c (value_ind): Likewise.
5780 * value.c (coerce_ref): Likewise.
5781
5782 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5783
5784 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5785 value and retrieve the dynamic type size.
5786
5787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5788
5789 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5790 passed to sizeof is dynamic evaluate the argument to compute the length.
5791
5792 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5793
5794 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5795 (dwarf2_evaluate_property): New function.
5796 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5797 * dwarf2read.c (attr_to_dynamic_prop): New function.
5798 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5799 attribute.
5800 * gdbtypes.c: Include dwarf2loc.h.
5801 (is_dynamic_type): New function.
5802 (resolve_dynamic_type): New function.
5803 (resolve_dynamic_bounds): New function.
5804 (get_type_length): New function.
5805 (check_typedef): Use get_type_length to compute type length.
5806 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5807 (TYPE_LOW_BOUND_KIND): New macro.
5808 (is_dynamic_type): New function prototype.
5809 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5810 to resolve dynamic properties of the type. Update comment.
5811 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5812
5813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5814
5815 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5816 declaring high/low bounds and change uses accordingly. Call
5817 create_range_type instead of create_static_range_type.
5818 * gdbtypes.c (create_range_type): New function.
5819 (create_range_type): Convert bounds into struct bound_prop and pass
5820 them to create_range_type.
5821 * gdbtypes.h (struct bound_prop): New struct.
5822 (create_range_type): New function prototype.
5823 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5824 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5825 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5826 part of the bound.
5827 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5828
5829 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5830
5831 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5832 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5833 * ada-lang.c: All uses of create_range_type updated.
5834 * coffread.c: All uses of create_range_type updated.
5835 * dwarf2read.c: All uses of create_range_type updated.
5836 * f-exp.y: All uses of create_range_type updated.
5837 * m2-valprint.c: All uses of create_range_type updated.
5838 * mdebugread.c: All uses of create_range_type updated.
5839 * stabsread.c: All uses of create_range_type updated.
5840 * valops.c: All uses of create_range_type updated.
5841 * valprint.c: All uses of create_range_type updated.
5842
5843 2014-04-10 Pedro Alves <palves@redhat.com>
5844
5845 * breakpoint.c (single_step_breakpoints)
5846 (single_step_gdbarch): Move up in the file.
5847 (one_breakpoint_xfer_memory): New function, factored out from ...
5848 (breakpoint_xfer_memory): ... here. Also process single-step
5849 breakpoints.
5850
5851 2014-04-09 Tristan Gingold <gingold@adacore.com>
5852
5853 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5854 comments.
5855 (darwin_decode_exception_message): Free port only after use.
5856
5857 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5858
5859 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5860 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5861 when setting the size of call_length.
5862
5863 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5864
5865 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5866 dereference TYPE_CODE_REF values.
5867
5868 2014-04-07 Joel Brobecker <brobecker@adacore.com>
5869
5870 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5871 end of warning message.
5872
5873 2014-04-03 Doug Evans <dje@google.com>
5874
5875 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5876 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5877
5878 2014-04-02 Alan Modra <amodra@gmail.com>
5879
5880 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5881 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5882 (struct symbol_file_add_from_memory_args): Add size field.
5883 (find_vdso_size): New function.
5884 (add_vsyscall_page): Attempt to find vdso size.
5885
5886 2014-04-01 Doug Evans <dje@google.com>
5887
5888 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5889
5890 2014-04-01 Tristan Gingold <gingold@adacore.com>
5891
5892 * darwin-nat.c (darwin_encode_reply): Add prototype.
5893 (darwin_decode_exception_message): Reply to unknown inferiors.
5894 (darwin_decode_message): Handle message by id. Ignore message
5895 to unknown inferior.
5896 (darwin_wait): Discard unknown messages, add debug trace.
5897
5898 2014-03-31 Doug Evans <dje@google.com>
5899
5900 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5901 comp_dir_string.
5902
5903 2014-03-31 Doug Evans <dje@google.com>
5904
5905 New option "set print symbol-loading".
5906 * NEWS: Mention it.
5907 * solib.c (solib_read_symbols): Only print symbol loading messages
5908 if requested.
5909 (solib_add): If symbol loading is in "brief" mode, notify user
5910 symbols are being loaded.
5911 (reload_shared_libraries_1): Ditto.
5912 * symfile.c (print_symbol_loading_off): New static global.
5913 (print_symbol_loading_brief): New static global.
5914 (print_symbol_loading_full): New static global.
5915 (print_symbol_loading_enums): New static global.
5916 (print_symbol_loading): New static global.
5917 (print_symbol_loading_p): New function.
5918 (symbol_file_add_with_addrs): Only print symbol loading messages
5919 if requested.
5920 (_initialize_symfile): Register "print symbol-loading" set/show
5921 command.
5922 * symfile.h (print_symbol_loading_p): Declare.
5923
5924 2014-03-30 Doug Evans <xdje42@gmail.com>
5925
5926 * infrun.c (set_last_target_status): New function.
5927 (handle_inferior_event): Call it.
5928
5929 2014-03-30 Doug Evans <xdje42@gmail.com>
5930
5931 * inferior.h (enum stop_kind): Improve comment.
5932
5933 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5934
5935 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5936 a reference, strip the reference layer before calling
5937 the lang_ops value_has_mutated callback.
5938
5939 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5940
5941 Remove some globals from our parser.
5942 * language.c (unk_lang_parser): Add "struct parser_state"
5943 argument.
5944 * language.h (struct language_defn) <la_parser>: Likewise.
5945 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5946 (initialize_expout): Add "struct parser_state" argument.
5947 Rewrite function to use the parser state.
5948 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5949 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5950 write_exp_elt_longcst, write_exp_elt_dblcst,
5951 write_exp_elt_decfloatcst, write_exp_elt_type,
5952 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5953 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5954 write_dollar_variable): Likewise.
5955 (parse_exp_in_context_1): Use parser state.
5956 (insert_type_address_space): Add "struct parser_state" argument.
5957 Use parser state.
5958 (increase_expout_size): New function.
5959 * parser-defs.h: Forward declare "struct language_defn" and
5960 "struct parser_state".
5961 (expout, expout_size, expout_ptr): Remove extern declarations.
5962 (parse_gdbarch, parse_language): Rewrite macro declarations to
5963 accept the parser state.
5964 (struct parser_state): New struct.
5965 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5966 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5967 write_exp_elt_decfloatcst, write_exp_elt_type,
5968 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5969 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5970 write_exp_msymbol, write_dollar_variable,
5971 mark_struct_expression, insert_type_address_space): Add "struct
5972 parser_state" argument.
5973 (increase_expout_size): New function.
5974 * utils.c (do_clear_parser_state): New function.
5975 (make_cleanup_clear_parser_state): Likewise.
5976 * utils.h (make_cleanup_clear_parser_state): New function
5977 prototype.
5978 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5979 Update calls to write_exp* in order to pass the parser state.
5980 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5981 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5982 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5983 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5984 * stap-probe.c (stap_parse_register_operand): Likewise.
5985 (stap_parse_single_operand): Likewise.
5986 (stap_parse_argument_1): Likewise.
5987 (stap_parse_argument): Use parser state.
5988 * stap-probe.h: Include "parser-defs.h".
5989 (struct stap_parse_info) <pstate>: New field.
5990 * c-exp.y (parse_type): Rewrite to use parser state.
5991 (yyparse): Redefine to c_parse_internal.
5992 (pstate): New global variable.
5993 (parse_number): Add "struct parser_state" argument.
5994 (write_destructor_name): Likewise.
5995 (type_exp): Update calls to write_exp* and similars in order to
5996 use parser state.
5997 (exp1, exp, variable, qualified_name, space_identifier,
5998 typename, typebase): Likewise.
5999 (write_destructor_name, parse_number, lex_one_token,
6000 classify_name, classify_inner_name, c_parse): Add "struct
6001 parser_state" argument. Update function to use parser state.
6002 * c-lang.h: Forward declare "struct parser_state".
6003 (c_parse): Add "struct parser_state" argument.
6004 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6005 (yyparse): Redefine macro to ada_parse_internal.
6006 (pstate): New variable.
6007 (write_int, write_object_renaming, write_var_or_type,
6008 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6009 type_int, type_long, type_long_long, type_float, type_double,
6010 type_long_double, type_char, type_boolean, type_system_address):
6011 Add "struct parser_state" argument.
6012 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6013 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6014 var_or_type, aggregate, aggregate_component_list,
6015 positional_list, others, component_group,
6016 component_associations): Update calls to write_exp* and similar
6017 functions in order to use parser state.
6018 (ada_parse, write_var_from_sym, write_int,
6019 write_exp_op_with_string, write_object_renaming,
6020 find_primitive_type, write_selectors, write_ambiguous_var,
6021 write_var_or_type, write_name_assoc, type_int, type_long,
6022 type_long_long, type_float, type_double, type_long_double,
6023 type_char, type_boolean, type_system_address): Add "struct
6024 parser_state" argument. Adjust function to use parser state.
6025 * ada-lang.c (parse): Likewise.
6026 * ada-lang.h: Forward declare "struct parser_state".
6027 (ada_parse): Add "struct parser_state" argument.
6028 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6029 calls to both functions.
6030 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6031 parser state.
6032 (yyparse): Redefine macro to f_parse_internal.
6033 (pstate): New variable.
6034 (parse_number): Add "struct parser_state" argument.
6035 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6036 and similars in order to use parser state.
6037 (parse_number): Adjust code to use parser state.
6038 (yylex): Likewise.
6039 (f_parse): New function.
6040 * f-lang.h: Forward declare "struct parser_state".
6041 (f_parse): Add "struct parser_state" argument.
6042 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6043 parser state.
6044 (yyparse): Redefine macro for java_parse_internal.
6045 (pstate): New variable.
6046 (push_expression_name, push_expression_name, insert_exp): Add
6047 "struct parser_state" argument.
6048 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6049 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6050 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6051 PostIncrementExpression, PostDecrementExpression,
6052 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6053 UnaryExpressionNotPlusMinus, CastExpression,
6054 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6055 RelationalExpression, EqualityExpression, AndExpression,
6056 ExclusiveOrExpression, InclusiveOrExpression,
6057 ConditionalAndExpression, ConditionalOrExpression,
6058 ConditionalExpression, Assignment, LeftHandSide): Update
6059 calls to write_exp* and similars in order to use parser state.
6060 (parse_number): Ajust code to use parser state.
6061 (yylex): Likewise.
6062 (java_parse): New function.
6063 (push_variable): Add "struct parser_state" argument. Adjust
6064 code to user parser state.
6065 (push_fieldnames, push_qualified_expression_name,
6066 push_expression_name, insert_exp): Likewise.
6067 * jv-lang.h: Forward declare "struct parser_state".
6068 (java_parse): Add "struct parser_state" argument.
6069 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6070 parser state.
6071 (yyparse): Redefine macro to m2_parse_internal.
6072 (pstate): New variable.
6073 (type_exp, exp, fblock, variable, type): Update calls to
6074 write_exp* and similars to use parser state.
6075 (yylex): Likewise.
6076 (m2_parse): New function.
6077 * m2-lang.h: Forward declare "struct parser_state".
6078 (m2_parse): Add "struct parser_state" argument.
6079 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6080 * objc-lang.h: Forward declare "struct parser_state".
6081 (end_msglist): Add "struct parser_state" argument.
6082 * p-exp.y (parse_type): Rewrite macro to use parser state.
6083 (yyparse): Redefine macro to pascal_parse_internal.
6084 (pstate): New variable.
6085 (parse_number): Add "struct parser_state" argument.
6086 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6087 write_exp* and similars in order to use parser state.
6088 (parse_number, yylex): Adjust code to use parser state.
6089 (pascal_parse): New function.
6090 * p-lang.h: Forward declare "struct parser_state".
6091 (pascal_parse): Add "struct parser_state" argument.
6092 * go-exp.y (parse_type): Rewrite macro to use parser state.
6093 (yyparse): Redefine macro to go_parse_internal.
6094 (pstate): New variable.
6095 (parse_number): Add "struct parser_state" argument.
6096 (type_exp, exp1, exp, variable, type): Update calls to
6097 write_exp* and similars in order to use parser state.
6098 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6099 to use parser state.
6100 (go_parse): Likewise.
6101 * go-lang.h: Forward declare "struct parser_state".
6102 (go_parse): Add "struct parser_state" argument.
6103
6104 2014-03-27 Doug Evans <dje@google.com>
6105
6106 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6107
6108 2014-03-27 Doug Evans <dje@google.com>
6109
6110 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6111 Remove argument abbrev_section. All callers updated.
6112
6113 2014-03-27 Doug Evans <dje@google.com>
6114
6115 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6116 addr_base, ranges_base.
6117
6118 2014-03-26 Keith Seitz <keiths@redhat.com>
6119
6120 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6121 types, not VAR_DOMAIN.
6122
6123 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6124
6125 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6126 "ra" registers.
6127 * features/nios2-linux.c: Regenerated.
6128 * features/nios2.c: Regenerated.
6129
6130 2014-03-25 Pedro Alves <palves@redhat.com>
6131
6132 * cli/cli-script.c (script_from_file): Force the interpreter to
6133 sync mode.
6134
6135 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6136
6137 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6138 small stack allocation.
6139
6140 2014-03-24 Tristan Gingold <gingold@adacore.com>
6141
6142 * darwin-nat.c (exc_server): Remove unused prototype.
6143 (darwin_dump_message): Correctly display data on x86_64.
6144 (darwin_encode_reply): Fix style.
6145 Add comments and fix indentation.
6146
6147 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6148
6149 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6150
6151 2014-03-22 Doug Evans <xdje42@gmail.com>
6152
6153 * infcmd.c: Whitespace fixes.
6154 (interrupt_command): Merge two function comments into one.
6155
6156 2014-03-22 Doug Evans <xdje42@gmail.com>
6157
6158 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6159 All uses updated.
6160
6161 2014-03-22 Yao Qi <yao@codesourcery.com>
6162
6163 * remote.c (target_read_live_memory): Remove.
6164 (memory_xfer_live_readonly_partial): Rename it to
6165 remote_xfer_live_readonly_partial. Remove argument 'object'.
6166 All callers updated. Call remote_read_bytes_1
6167 instead of target_read_live_memory.
6168 * tracepoint.c (set_traceframe_number): Remove.
6169 (make_cleanup_restore_traceframe_number): Likewise .
6170 * tracepoint.h (set_traceframe_number): Remove declaration.
6171 (make_cleanup_restore_traceframe_number): Likewise.
6172
6173 2014-03-22 Yao Qi <yao@codesourcery.com>
6174
6175 * remote.c (remote_read_bytes): Move code on reading from the
6176 remote stub to ...
6177 (remote_read_bytes_1): ... here. New function.
6178
6179 2014-03-22 Yao Qi <yao@codesourcery.com>
6180
6181 * ctf.c (ctf_xfer_partial): Check the return value of
6182 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6183 return TARGET_XFER_UNAVAILABLE.
6184 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6185 * target.c (target_read_live_memory): Move it to remote.c.
6186 (memory_xfer_live_readonly_partial): Likewise.
6187 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6188 * remote.c (target_read_live_memory): Moved from target.c.
6189 (memory_xfer_live_readonly_partial): Likewise.
6190 (remote_read_bytes): Factored out from
6191 memory_xfer_partial_1.
6192
6193 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6194
6195 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6196 NULL pointer.
6197
6198 2014-03-21 Pedro Alves <palves@redhat.com>
6199
6200 * infrun.c (normal_stop): Extend comment.
6201
6202 2014-03-21 Hui Zhu <hui@codesourcery.com>
6203 Pedro Alves <palves@redhat.com>
6204
6205 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6206 static buffer.
6207 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6208 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6209 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6210
6211 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6212
6213 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6214 `z' formatted output modifier.
6215
6216 2014-03-20 Tom Tromey <tromey@redhat.com>
6217 Sergio Durigan Junior <sergiodj@redhat.com>
6218
6219 * probe.c (parse_probes): Turn assert into an ordinary error.
6220 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6221 exceptions when parsing probes. Rearrange the code for clarity.
6222
6223 2014-03-20 Tom Tromey <tromey@redhat.com>
6224
6225 PR gdb/14135
6226 * top.c (execute_command): Only dispatch events if the command
6227 started the target.
6228
6229 2014-03-20 Tom Tromey <tromey@redhat.com>
6230
6231 PR cli/15718
6232 * infcall.c: Include event-top.h.
6233 (run_inferior_call): Call async_disable_stdin if needed.
6234
6235 2014-03-20 Pedro Alves <palves@redhat.com>
6236
6237 * infrun.c (prepare_to_proceed): Delete.
6238 (thread_still_needs_step_over): New function.
6239 (find_thread_needs_step_over): New function.
6240 (proceed): If the current thread needs a step-over, set its
6241 steping_over_breakpoint flag. Adjust to use
6242 find_thread_needs_step_over instead of prepare_to_proceed.
6243 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6244 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6245 breakpoint.
6246 (switch_back_to_stepped_thread): Step over breakpoints of all
6247 threads not the stepping thread, before switching back to the
6248 stepping thread.
6249
6250 2014-03-20 Pedro Alves <palves@redhat.com>
6251
6252 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6253 extern.
6254 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6255 * infrun.c (saved_singlestep_ptid)
6256 (stepping_past_singlestep_breakpoint): Delete.
6257 (resume): Remove stepping_past_singlestep_breakpoint handling.
6258 (proceed): Store the prev_pc of the stepping thread too.
6259 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6260 singlestep_pc.
6261 (enum infwait_states): Delete infwait_thread_hop_state.
6262 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6263 field.
6264 (handle_inferior_event): Adjust.
6265 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6266 handling and the thread-hop code. Before removing single-step
6267 breakpoints, check whether the thread hit a single-step breakpoint
6268 of another thread. If it did, the trap is not a random signal.
6269 (switch_back_to_stepped_thread): If the event thread hit a
6270 single-step breakpoint, unblock it before switching to the
6271 stepping thread. Handle the case of the stepped thread having
6272 advanced already.
6273 (keep_going): Handle the case of the current thread moving past a
6274 single-step breakpoint.
6275
6276 2014-03-20 Pedro Alves <palves@redhat.com>
6277
6278 PR breakpoints/7143
6279 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6280 are being stepped over.
6281 (breakpoint_address_match): Make extern.
6282 * breakpoint.h (breakpoint_address_match): New declaration.
6283 * inferior.h (stepping_past_instruction_at): New declaration.
6284 * infrun.c (struct step_over_info): New type.
6285 (step_over_info): New global.
6286 (set_step_over_info, clear_step_over_info)
6287 (stepping_past_instruction_at): New functions.
6288 (handle_inferior_event): Clear the step-over info when
6289 trap_expected is cleared.
6290 (resume): Remove now stale comment.
6291 (clear_proceed_status): Clear step-over info.
6292 (proceed): Adjust step-over handling to set or clear the step-over
6293 info instead of removing all breakpoints.
6294 (handle_signal_stop): When setting up a thread-hop, don't remove
6295 breakpoints here.
6296 (stop_stepping): Clear step-over info.
6297 (keep_going): Adjust step-over handling to set or clear step-over
6298 info and then always inserting breakpoints, instead of removing
6299 all breakpoints when stepping over one.
6300
6301 2014-03-20 Pedro Alves <palves@redhat.com>
6302
6303 * infrun.c (previous_inferior_ptid): Adjust comment.
6304 (deferred_step_ptid): Delete.
6305 (infrun_thread_ptid_changed, prepare_to_proceed)
6306 (init_wait_for_inferior): Adjust.
6307 (handle_signal_stop): Delete deferred_step_ptid handling.
6308
6309 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6310
6311 PR gdb/15358
6312 * defs.h (sync_quit_force_run): New declaration.
6313 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6314 * event-top.c (async_sigterm_handler): New declaration.
6315 (async_sigterm_token): New variable.
6316 (async_init_signals): Create also async_sigterm_token.
6317 (async_sigterm_handler): New function.
6318 (sync_quit_force_run): New variable.
6319 (handle_sigterm): Replace quit_force call by other calls.
6320 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6321
6322 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6323
6324 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6325 offset into SPE pseudo registers.
6326
6327 2014-03-18 Pedro Alves <palves@redhat.com>
6328
6329 PR gdb/13860
6330 * inferior.h (print_stop_event): Declare.
6331 * infrun.c (print_stop_event): New, factored out from ...
6332 (normal_stop): ... this.
6333 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6334 of bpstat_print/print_stack_frame.
6335
6336 2014-03-17 Tom Tromey <tromey@redhat.com>
6337
6338 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6339
6340 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6341
6342 * ada-lang.c (decode_constrained_packed_array): Perform a
6343 minimal coercion for reference with coerce_ref instead of
6344 ada_coerce_ref.
6345
6346 2014-03-17 Tristan Gingold <gingold@adacore.com>
6347
6348 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6349 (darwin_solib_create_inferior_hook): Emit a warning if version
6350 is unhandled.
6351
6352 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6353
6354 * python/py-value.c (get_field_flag): Cast flag_name argument to
6355 PyObject_GetAttrString to support Python 2.4.
6356
6357 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6360 (Global Maintainers): Remove Jan Kratochvil.
6361
6362 2014-03-14 Pedro Alves <palves@redhat.com>
6363
6364 * inferior.h (terminal_ours_for_output): Rename to ...
6365 (child_terminal_ours_for_output): ... this.
6366 (terminal_save_ours): Rename to ...
6367 (child_terminal_save_ours): ... this.
6368 (terminal_ours): Rename to ...
6369 (child_terminal_ours): ... this.
6370 (terminal_inferior): Rename to ...
6371 (child_terminal_inferior): ... this.
6372 (terminal_init_inferior): Rename to ...
6373 (child_terminal_init_inferior): ... this.
6374 (terminal_init_inferior_with_pgrp): Rename to ...
6375 (child_terminal_init_inferior_with_pgrp): ... this.
6376 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6377 (child_terminal_init_with_pgrp): ... this.
6378 (terminal_save_ours): Rename to ...
6379 (child_terminal_save_ours): ... this.
6380 (terminal_init_inferior): Rename to ...
6381 (child_terminal_init): ... this. Adjust.
6382 (terminal_inferior): Rename to ...
6383 (child_terminal_inferior): ... this.
6384 (terminal_ours_for_output): Rename to ...
6385 (child_terminal_ours_for_output): ... this. Adjust.
6386 (terminal_ours): Rename to ...
6387 (child_terminal_ours): ... this.
6388 (terminal_ours_1): Rename to ...
6389 (child_terminal_ours_1): ... this. Adjust.
6390 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6391 * windows-nat.c (do_initial_windows_stuff): Adjust.
6392 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6393 (gnu_terminal_init): ... this. Adjust.
6394 (gnu_target): Adjust.
6395 * inf-child.c (inf_child_target): Adjust.
6396
6397 2014-03-13 Doug Evans <xdje42@gmail.com>
6398
6399 PR guile/16612
6400 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6401 new eq?-hashtab.
6402
6403 2014-03-13 Doug Evans <xdje42@gmail.com>
6404
6405 * value.c (record_latest_value): Call release_value_or_incref
6406 instead of release_value.
6407
6408 2014-03-13 Pedro Alves <palves@redhat.com>
6409
6410 * procfs.c (procfs_target): Don't override to_shortname,
6411 to_longname or to_doc.
6412
6413 2014-03-13 Pedro Alves <palves@redhat.com>
6414
6415 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6416 Unix in user visible strings.
6417
6418 2014-03-12 Stan Shebs <stan@codesourcery.com>
6419
6420 * gdbtypes.h: Annotate comments for Doxygen, add a page
6421 block comment with some general info.
6422
6423 2014-03-12 Pedro Alves <palves@redhat.com>
6424
6425 * infcmd.c (prepare_execution_command): New function, factored out
6426 from several execution commands.
6427 (run_command_1, continue_command, step_1, jump_command)
6428 (signal_command, until_command, advance_command, finish_command)
6429 (attach_command): Use prepare_execution_command.
6430
6431 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
6432
6433 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6434 (MAX_BPTS): Define.
6435 (MAX_WPTS): Define.
6436 (struct arm_linux_thread_points): Removed.
6437 (struct arm_linux_process_info): New.
6438 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6439 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6440 (arm_linux_find_breakpoints_by_tid): Removed.
6441 (struct arch_lwp_info): New.
6442 (arm_linux_find_process_pid): New functions.
6443 (arm_linux_add_process): New functions.
6444 (arm_linux_process_info_get): New functions.
6445 (arm_linux_forget_process): New function.
6446 (arm_linux_get_debug_reg_state): New function.
6447 (struct update_registers_data): New.
6448 (update_registers_callback): New function.
6449 (arm_linux_insert_hw_breakpoint1): Updated.
6450 (arm_linux_remove_hw_breakpoint1): Updated.
6451 (arm_linux_insert_hw_breakpoint): Updated.
6452 (arm_linux_remove_hw_breakpoint): Updated.
6453 (arm_linux_insert_watchpoint): Updated.
6454 (arm_linux_remove_watchpoint): Updated.
6455 (arm_linux_new_thread): Updated.
6456 (arm_linux_prepare_to_resume): New function.
6457 (arm_linux_new_fork): New function.
6458 (_initialize_arm_linux_nat): Updated.
6459
6460 2014-03-12 Pedro Alves <palves@redhat.com>
6461
6462 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6463
6464 2014-03-12 Tom Tromey <tromey@redhat.com>
6465
6466 * inf-child.c (return_zero): New function.
6467 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6468 * aix-thread.c (aix_thread_inferior_created): New function.
6469 (aix_thread_attach): Remove.
6470 (init_aix_thread_ops): Don't set to_attach.
6471 (_initialize_aix_thread): Register inferior_created observer.
6472 * corelow.c (init_core_ops): Don't set to_attach or
6473 to_create_inferior.
6474 * exec.c (init_exec_ops): Don't set to_attach or
6475 to_create_inferior.
6476 * infcmd.c (run_command_1): Use find_run_target. Make direct
6477 target calls.
6478 (attach_command): Use find_attach_target. Make direct target
6479 calls.
6480 * record-btrace.c (init_record_btrace_ops): Don't set
6481 to_create_inferior.
6482 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6483 Remove.
6484 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6485 set to_create_inferior.
6486 * target.c (complete_target_initialization): Add assertion.
6487 (target_create_inferior): Remove.
6488 (find_default_attach, find_default_create_inferior): Remove.
6489 (find_attach_target, find_run_target): New functions.
6490 (find_default_is_async_p, find_default_can_async_p)
6491 (target_supports_non_stop, target_attach): Remove.
6492 (init_dummy_target): Don't set to_create_inferior or
6493 to_supports_non_stop.
6494 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6495 TARGET_DEFAULT_FUNC.
6496 <to_create_inferior>: Add comment.
6497 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6498 TARGET_DEFAULT_RETURN.
6499 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6500 (find_attach_target, find_run_target): Declare.
6501 (target_create_inferior): Remove.
6502 (target_has_execution_1): Update comment.
6503 (target_supports_non_stop): Remove.
6504 * target-delegates.c: Rebuild.
6505
6506 2014-03-12 Pedro Alves <palves@redhat.com>
6507
6508 * inf-child.h: Update comment to not mention Unix.
6509
6510 2014-03-12 Pedro Alves <palves@redhat.com>
6511
6512 * inf-child.c: Update top comment to not mention Unix. Add
6513 generic comment describing how this target is meant to be used.
6514 (inf_child_post_attach, inf_child_post_startup_inferior)
6515 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6516 Unix in comment.
6517
6518 2014-03-12 Pedro Alves <palves@redhat.com>
6519
6520 * nto-procfs.c: Include inf-child.h.
6521 (procfs_ops): Delete global.
6522 (procfs_can_run): Delete method.
6523 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6524 target pointer instead of referencing procfs_ops.
6525 (procfs_prepare_to_store): Delete.
6526 (init_procfs_ops): Delete function.
6527 (procfs_target): New function, based on init_procfs_ops, but
6528 inherit inf_child_target.
6529 (_initialize_procfs): Use procfs_target.
6530
6531 2014-03-12 Pedro Alves <palves@redhat.com>
6532
6533 * windows-nat.c: Include inf-child.h.
6534 (windows_ops): Delete global.
6535 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6536 methods.
6537 (init_windows_ops): Delete function.
6538 (windows_target): New function, based on init_windows_ops, but
6539 inherit inf_child_target.
6540 (_initialize_windows_nat): Use windows_target. Install x86
6541 specific target methods here.
6542
6543 2014-03-10 Doug Evans <xdje42@gmail.com>
6544
6545 * guile/guile.c (call_initialize_gdb_module): New function.
6546 (initialize_guile): Replace call to scm_init_guile with call to
6547 scm_with_guile.
6548
6549 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6550
6551 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6552 in call to TYPE_CODE macro.
6553
6554 2014-03-10 Jerome Guitton <guitton@adacore.com>
6555
6556 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6557 Resolve tagged types to full view.
6558
6559 2014-03-10 Hui Zhu <hui@codesourcery.com>
6560
6561 * target.h (target_insert_breakpoint): Remove "hardware" from its
6562 comments.
6563
6564 2014-03-07 Doug Evans <dje@google.com>
6565
6566 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6567
6568 2014-03-07 Doug Evans <dje@google.com>
6569
6570 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6571 Remove unused local comp_dir_attr. Assert exactly one of
6572 stub_comp_unit_die, stub_comp_dir is non-NULL.
6573
6574 2014-03-07 Joel Brobecker <brobecker@adacore.com>
6575
6576 * target.h (complete_target_initialization, add_target):
6577 Add comment.
6578
6579 2014-03-07 Pedro Alves <palves@redhat.com>
6580
6581 * go32-nat.c: Include inf-child.h.
6582 (go32_ops): Delete global.
6583 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6584 Delete methods.
6585 (go32_create_inferior): Push the passed in target pointer instead
6586 of referencing go32_ops.
6587 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6588 (go32_target): New function, based on init_go32_ops, but inherit
6589 inf_child_target.
6590 (_initialize_go32_nat): Use go32_target. Move parts of
6591 init_go32_ops here.
6592
6593 2014-03-06 Joel Brobecker <brobecker@adacore.com>
6594
6595 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6596 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6597 SYMBOL_VALUE_ADDRESS.
6598 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6599
6600 2014-03-06 Yao Qi <yao@codesourcery.com>
6601
6602 * breakpoint.c (get_tracepoint_by_number): Remove argument
6603 optional_p. All callers updated. Adjust comments. Update
6604 output message.
6605 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6606
6607 2014-03-06 Yao Qi <yao@codesourcery.com>
6608
6609 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6610 early if get_number returns zero. Use 'p' instead of 'args'.
6611
6612 2014-03-06 Yao Qi <yao@codesourcery.com>
6613
6614 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6615 message.
6616
6617 2014-03-06 Yao Qi <yao@codesourcery.com>
6618
6619 PR breakpoints/16508
6620 * tracepoint.c (check_trace_running): New function.
6621 (trace_find_command): Move code to check_trace_running and
6622 call check_trace_running.
6623 (trace_find_pc_command): Likewise.
6624 (trace_find_tracepoint_command): Likewise.
6625 (trace_find_line_command): Likewise.
6626 (trace_find_range_command): Likewise.
6627 * tracepoint.h (check_trace_running): Likewise.
6628 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6629
6630 2014-03-06 Yao Qi <yao@codesourcery.com>
6631
6632 * target.h (struct target_ops) <to_traceframe_info>: Use
6633 TARGET_DEFAULT_NORETURN (tcomplain ()).
6634 * target-delegates.c: Regenerated.
6635
6636 2014-03-05 Pedro Alves <palves@redhat.com>
6637
6638 PR gdb/16575
6639 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6640 void. Update comment.
6641 (dcache_xfer_memory): Delete.
6642 (dcache_read_memory_partial): New, based on the read bits of
6643 dcache_xfer_memory.
6644 (dcache_update): Add status parameter. Use ULONGEST for len, and
6645 adjust. Discard cache lines if the reason for the update was
6646 error.
6647 * dcache.h (dcache_xfer_memory): Delete declaration.
6648 (dcache_read_memory_partial): New declaration.
6649 (dcache_update): Update prototype.
6650 * target.c (raw_memory_xfer_partial): Update the dcache here.
6651 (memory_xfer_partial_1): Don't handle dcache writes here.
6652
6653 2014-03-05 Mike Frysinger <vapier@gentoo.org>
6654
6655 * remote-sim.c (gdbsim_load): Add const to prog.
6656
6657 2014-03-03 Tom Tromey <tromey@redhat.com>
6658
6659 * elfread.c (probe_key): Change to bfd_data.
6660 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6661 now per-BFD, not per-objfile.
6662 * stap-probe.c (stap_probe_destroy): Update comment.
6663 (handle_stap_probe): Allocate on the per-BFD obstack.
6664
6665 2014-03-03 Tom Tromey <tromey@redhat.com>
6666
6667 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6668 * breakpoint.c (create_longjmp_master_breakpoint): Use
6669 get_probe_address.
6670 (add_location_to_breakpoint, bkpt_probe_insert_location)
6671 (bkpt_probe_remove_location): Update.
6672 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6673 * elfread.c (elf_symfile_relocate_probe): Remove.
6674 (elf_probe_fns): Update.
6675 (insert_exception_resume_breakpoint): Change type of "probe"
6676 parameter to bound_probe.
6677 (check_exception_resume): Update.
6678 * objfiles.c (objfile_relocate1): Don't relocate probes.
6679 * probe.c (bound_probe_s): New typedef.
6680 (parse_probes): Use get_probe_address. Set sal's objfile.
6681 (find_probe_by_pc): Return a bound_probe.
6682 (collect_probes): Return a VEC(bound_probe_s).
6683 (compare_probes): Update.
6684 (gen_ui_out_table_header_info): Change type of "probes"
6685 parameter. Update.
6686 (info_probes_for_ops): Update.
6687 (get_probe_address): New function.
6688 (probe_safe_evaluate_at_pc): Update.
6689 * probe.h (struct probe_ops) <get_probe_address>: New field.
6690 <set_semaphore, clear_semaphore>: Add objfile parameter.
6691 (struct probe) <objfile>: Remove field.
6692 <arch>: New field.
6693 <address>: Update comment.
6694 (struct bound_probe): New.
6695 (find_probe_by_pc): Return a bound_probe.
6696 (get_probe_address): Declare.
6697 * solib-svr4.c (struct probe_and_action) <address>: New field.
6698 (hash_probe_and_action, equal_probe_and_action): Update.
6699 (register_solib_event_probe): Add address parameter.
6700 (solib_event_probe_at): Update.
6701 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6702 get_probe_address.
6703 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6704 (stap_get_probe_address): New function.
6705 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6706 (compile_probe_arg): Update.
6707 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6708 address.
6709 (handle_stap_probe): Don't relocate the probe.
6710 (stap_relocate): Remove.
6711 (stap_gen_info_probes_table_values): Update.
6712 (stap_probe_ops): Remove stap_relocate.
6713 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6714 (debug_sym_probe_fns): Update.
6715 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6716 * symtab.c (init_sal): Use memset.
6717 * symtab.h (struct symtab_and_line) <objfile>: New field.
6718 * tracepoint.c (start_tracing, stop_tracing): Update.
6719
6720 2014-03-03 Tom Tromey <tromey@redhat.com>
6721
6722 * probe.h (parse_probes, find_probe_by_pc)
6723 (find_probes_in_objfile): Fix comments.
6724
6725 2014-03-02 Doug Evans <xdje42@gmail.com>
6726
6727 * infrun.c (handle_signal_stop): Replace test for
6728 TARGET_WAITKIND_STOPPED with an assert.
6729
6730 2014-03-02 Doug Evans <xdje42@gmail.com>
6731
6732 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6733
6734 2014-03-02 Doug Evans <xdje42@gmail.com>
6735
6736 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6737
6738 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6739
6740 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6741
6742 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6743
6744 * i386obsd-nat.c: Include "obsd-nat.h".
6745 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6746 add_target.
6747 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6748
6749 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6750
6751 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6752
6753 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6754
6755 * mips64obsd-nat.c: Include "obsd-nath".
6756 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6757 add_target
6758 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6759
6760 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6761
6762 * amd64obsd-nat.c: Include "obsd-nat,h.
6763 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6764 add_target.
6765 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6766
6767 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6768
6769 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6770 (find_overload_match): Update call to find_oload_champ.
6771 (find_oload_champ_namespace_loop): Likewise
6772
6773 2014-02-28 Mark Kettenis <kettenis@gnu.org>
6774
6775 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6776
6777 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6778 * config/sparc/obsd64.mh: New file.
6779 * sparc64obsd-nat.c: New file.
6780
6781 * obsd-nat.h: New file.
6782 * obsd-nat.c: New file.
6783 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6784 (ALLDEPFILES): Add obsd-nat.c.
6785
6786 2014-02-28 Tom Tromey <tromey@redhat.com>
6787
6788 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6789 * cli-out.h (cli_ui_out_impl): Now const.
6790 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6791 * ui-out.c (struct ui_out) <impl>: Now const.
6792 (default_ui_out_impl): Now const.
6793 (ui_out_new): Make 'impl' parameter const.
6794 * ui-out.h (ui_out_new): Update.
6795
6796 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6797
6798 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6799
6800 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6801
6802 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6803
6804 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6805
6806 Additional PR 8882 fix.
6807 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6808
6809 2014-02-27 Pedro Alves <palves@redhat.com>
6810
6811 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6812 isn't set.
6813
6814 2014-02-27 Pedro Alves <palves@redhat.com>
6815
6816 PR 12702
6817 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6818 * nat/linux-waitpid.c: Include string.h.
6819 (status_to_str): Moved here and made extern.
6820 * nat/linux-waitpid.h (status_to_str): New declaration.
6821
6822 2014-02-27 Hui Zhu <hui@codesourcery.com>
6823
6824 PR 12702
6825 * infrun.c (ptid_match): Move ...
6826 * common/ptid.c (ptid_match): ... here.
6827 * inferior.h (ptid_match): Move ...
6828 * common/ptid.h (ptid_match): ... here.
6829
6830 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6831
6832 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6833 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6834 gdb_target_obs.
6835
6836 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6837
6838 * obsd-tdep.c (obsd_auxv_parse): New function.
6839 (obsd_init_abi): Set auxv_parse.
6840
6841 * gdbarch.sh (auxv_parse): New.
6842 * gdbarch.h: Regenerated.
6843 * gdbarch.c: Regenerated.
6844 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6845
6846 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6847
6848 * guile/scm-value.c (gdbscm_history_append_x): New function.
6849 (value_functions): Add it.
6850
6851 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6852
6853 * dwarf2read.c (attr_value_as_address): New function.
6854 (dwarf2_find_base_address, read_call_site_scope): Use
6855 attr_value_as_address in place of DW_ADDR.
6856 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6857 the low and high addresses. Slight rework of the handling
6858 of the high pc being a constant form, and limit it to
6859 DWARF verson 4 or higher.
6860 (dwarf2_record_block_ranges): Likewise.
6861 (read_partial_die): Likewise.
6862 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6863
6864 2014-02-26 Tom Tromey <tromey@redhat.com>
6865
6866 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6867
6868 2014-02-26 Tom Tromey <tromey@redhat.com>
6869
6870 * elfread.c (elf_read_minimal_symbols): Return early if
6871 minimal symbols have already been read. Add "ei" parameter.
6872 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6873 * minsyms.c (prim_record_minimal_symbol_full): Update.
6874 * objfiles.h (struct objstats) <n_minsyms>: Move...
6875 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6876 * symmisc.c (print_objfile_statistics): Update.
6877
6878 2014-02-26 Tom Tromey <tromey@redhat.com>
6879
6880 * elfread.c (elf_read_minimal_symbols): New function, from
6881 elf_symfile_read.
6882 (elf_symfile_read): Call it.
6883
6884 2014-02-26 Tom Tromey <tromey@redhat.com>
6885
6886 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6887 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6888 (lookup_minimal_symbol_solib_trampoline)
6889 (lookup_minimal_symbol_by_pc_section_1)
6890 (lookup_minimal_symbol_and_objfile): Update.
6891 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6892 Don't allocate a minimal symbol if minsyms have already been read.
6893 (build_minimal_symbol_hash_tables): Update.
6894 (install_minimal_symbols): Do nothing if minsyms already read.
6895 Use the per-BFD obstack.
6896 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6897 * objfiles.c (allocate_objfile): Call
6898 terminate_minimal_symbol_table later.
6899 (have_minimal_symbols): Update.
6900 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6901 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6902 Move from struct objfile.
6903 <minsyms_read>: New field.
6904 (struct objfile) <msymbols, minimal_symbol_count,
6905 msymbol_hash, msymbol_demangled_hash>: Move.
6906 (ALL_OBJFILE_MSYMBOLS): Update.
6907 * symfile.c (read_symbols): Set minsyms_read.
6908 (reread_symbols): Update.
6909 * symmisc.c (dump_objfile, dump_msymbols): Update.
6910
6911 2014-02-26 Tom Tromey <tromey@redhat.com>
6912
6913 * minsyms.c (msymbols_sort): Remove.
6914 * minsyms.h (msymbols_sort): Remove.
6915 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6916 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6917 * elfread.c (elf_symtab_read): Don't add section offsets.
6918 * xcoffread.c (record_minimal_symbol): Don't add section offset
6919 to minimal symbol address.
6920 * somread.c (text_offset, data_offset): Remove.
6921 (som_symtab_read): Don't add section offsets to minimal symbol
6922 addresses.
6923 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6924 Don't add section offsets to minimal symbols.
6925 * coffread.c (coff_symtab_read): Don't add section offsets
6926 to minimal symbol addresses.
6927 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6928 to minimal symbol addresses.
6929 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6930 section offset to minimal symbol addresses.
6931 * mdebugread.c (parse_partial_symbols): Don't add section
6932 offset to minimal symbol addresses.
6933 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6934 offset to minimal symbol addresses.
6935
6936 2014-02-26 Tom Tromey <tromey@redhat.com>
6937
6938 * ada-lang.c (ada_main_name): Update.
6939 (ada_add_standard_exceptions): Update.
6940 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6941 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6942 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6943 * auxv.c (ld_so_xfer_auxv): Update.
6944 * avr-tdep.c (avr_scan_prologue): Update.
6945 * ax-gdb.c (gen_var_ref): Update.
6946 * blockframe.c (get_pc_function_start)
6947 (find_pc_partial_function_gnu_ifunc): Update.
6948 * breakpoint.c (create_overlay_event_breakpoint)
6949 (create_longjmp_master_breakpoint)
6950 (create_std_terminate_master_breakpoint)
6951 (create_exception_master_breakpoint): Update.
6952 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6953 * c-valprint.c (c_val_print): Update.
6954 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6955 * common/agent.c (agent_look_up_symbols): Update.
6956 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6957 * dwarf2loc.c (call_site_to_target_addr): Update.
6958 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6959 * elfread.c (elf_gnu_ifunc_record_cache)
6960 (elf_gnu_ifunc_resolve_by_got): Update.
6961 * findvar.c (default_read_var_value): Update.
6962 * frame.c (inside_main_func): Update.
6963 * frv-tdep.c (frv_frame_this_id): Update.
6964 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6965 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6966 Update.
6967 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6968 (hppa_hpux_find_dummy_bpaddr): Update.
6969 * hppa-tdep.c (hppa_symbol_address): Update.
6970 * infcmd.c (until_next_command): Update.
6971 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6972 Update.
6973 * linespec.c (minsym_found, add_minsym): Update.
6974 * linux-nat.c (get_signo): Update.
6975 * linux-thread-db.c (inferior_has_bug): Update.
6976 * m32c-tdep.c (m32c_return_value)
6977 (m32c_m16c_address_to_pointer): Update.
6978 * m32r-tdep.c (m32r_frame_this_id): Update.
6979 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6980 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6981 * maint.c (maintenance_translate_address): Update.
6982 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6983 (frob_address): New function.
6984 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6985 frob_address. Rename parameter to "pc_in".
6986 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6987 addresses.
6988 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6989 Update.
6990 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6991 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6992 * objc-lang.c (find_objc_msgsend): Update.
6993 * objfiles.c (objfile_relocate1): Update.
6994 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6995 * p-valprint.c (pascal_val_print): Update.
6996 * parse.c (write_exp_msymbol): Update.
6997 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6998 (ppc_elfv2_skip_entrypoint): Update.
6999 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7000 * printcmd.c (build_address_symbolic, msym_info)
7001 (address_info): Update.
7002 * proc-service.c (ps_pglobal_lookup): Update.
7003 * psymtab.c (find_pc_sect_psymtab_closer)
7004 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7005 Change msymbol parameter to bound_minimal_symbol.
7006 * ravenscar-thread.c (get_running_thread_id): Update.
7007 * remote.c (remote_check_symbols): Update.
7008 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7009 address.
7010 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7011 * solib-dsbt.c (lm_base): Update.
7012 * solib-frv.c (lm_base, main_got): Update.
7013 * solib-irix.c (locate_base): Update.
7014 * solib-som.c (som_solib_create_inferior_hook)
7015 (link_map_start): Update.
7016 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7017 * solib-svr4.c (elf_locate_base, enable_break): Update.
7018 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7019 (flush_ea_cache): Update.
7020 * stabsread.c (define_symbol, scan_file_globals): Update.
7021 * stack.c (find_frame_funname): Update.
7022 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7023 (debug_qf_find_pc_sect_symtab): Update.
7024 * symfile.c (simple_read_overlay_table)
7025 (simple_overlay_update): Update.
7026 * symfile.h (struct quick_symbol_functions)
7027 <find_pc_sect_symtab>: Change type of msymbol to
7028 bound_minimal_symbol.
7029 * symmisc.c (dump_msymbols): Update.
7030 * symtab.c (find_pc_sect_symtab_via_partial)
7031 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7032 (search_symbols, print_msymbol_info): Update.
7033 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7034 (MSYMBOL_VALUE_ADDRESS): Redefine.
7035 (BMSYMBOL_VALUE_ADDRESS): New macro.
7036 * tracepoint.c (scope_info): Update.
7037 * tui/tui-disasm.c (tui_find_disassembly_address)
7038 (tui_get_begin_asm_address): Update.
7039 * valops.c (find_function_in_inferior): Update.
7040 * value.c (value_static_field, value_fn_field): Update.
7041
7042 2014-02-26 Tom Tromey <tromey@redhat.com>
7043
7044 * ada-lang.c (ada_update_initial_language): Update.
7045 (ada_main_name, ada_has_this_exception_support): Update.
7046 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7047 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7048 * arm-tdep.c (arm_skip_stub): Update.
7049 * auxv.c (ld_so_xfer_auxv): Update.
7050 * avr-tdep.c (avr_scan_prologue): Update.
7051 * ax-gdb.c (gen_var_ref): Update.
7052 * breakpoint.c (struct breakpoint_objfile_data)
7053 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7054 type to bound_minimal_symbol.
7055 (create_overlay_event_breakpoint)
7056 (create_longjmp_master_breakpoint)
7057 (create_std_terminate_master_breakpoint)
7058 (create_exception_master_breakpoint): Update.
7059 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7060 * c-exp.y (classify_name): Update.
7061 * coffread.c (coff_symfile_read): Update.
7062 * common/agent.c (agent_look_up_symbols): Update.
7063 * d-lang.c (d_main_name): Update.
7064 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7065 * dec-thread.c (enable_dec_thread): Update.
7066 * dwarf2loc.c (call_site_to_target_addr): Update.
7067 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7068 * eval.c (evaluate_subexp_standard): Update.
7069 * findvar.c (struct minsym_lookup_data) <result>: Change type
7070 to bound_minimal_symbol.
7071 <objfile>: Remove.
7072 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7073 * frame.c (inside_main_func): Update.
7074 * frv-tdep.c (frv_frame_this_id): Update.
7075 * gcore.c (call_target_sbrk): Update.
7076 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7077 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7078 Update.
7079 * go-lang.c (go_main_name): Update.
7080 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7081 (hppa_hpux_find_import_stub_for_addr): Update.
7082 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7083 Update. Change return type.
7084 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7085 type.
7086 * jit.c (jit_breakpoint_re_set_internal): Update.
7087 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7088 Update.
7089 * linux-nat.c (get_signo): Update.
7090 * linux-thread-db.c (inferior_has_bug): Update
7091 * m32c-tdep.c (m32c_return_value)
7092 (m32c_m16c_address_to_pointer): Update.
7093 * m32r-tdep.c (m32r_frame_this_id): Update.
7094 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7095 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7096 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7097 lookup_minimal_symbol. Change return type.
7098 (lookup_minimal_symbol): Remove.
7099 (lookup_bound_minimal_symbol): Update.
7100 (lookup_minimal_symbol_text): Change return type.
7101 (lookup_minimal_symbol_solib_trampoline): Change return type.
7102 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7103 (lookup_minimal_symbol_solib_trampoline): Change return type.
7104 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7105 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7106 (value_nsstring, find_imps): Update.
7107 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7108 * p-lang.c (pascal_main_name): Update.
7109 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7110 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7111 * proc-service.c (ps_pglobal_lookup): Update.
7112 * ravenscar-thread.c (get_running_thread_msymbol): Change
7113 return type.
7114 (has_ravenscar_runtime, get_running_thread_id): Update.
7115 * remote.c (remote_check_symbols): Update.
7116 * sol-thread.c (ps_pglobal_lookup): Update.
7117 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7118 * solib-dsbt.c (lm_base): Update.
7119 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7120 Update.
7121 * solib-irix.c (locate_base): Update.
7122 * solib-som.c (som_solib_create_inferior_hook)
7123 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7124 Update.
7125 * solib-spu.c (spu_enable_break): Update.
7126 * solib-svr4.c (elf_locate_base, enable_break): Update.
7127 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7128 (flush_ea_cache): Update.
7129 * stabsread.c (define_symbol): Update.
7130 * symfile.c (simple_read_overlay_table): Update.
7131 * symtab.c (find_pc_sect_line): Update.
7132 * tracepoint.c (scope_info): Update.
7133 * tui-disasm.c (tui_get_begin_asm_address): Update.
7134 * value.c (value_static_field): Update.
7135
7136 2014-02-26 Tom Tromey <tromey@redhat.com>
7137
7138 * minsyms.c (prim_record_minimal_symbol_full): Use
7139 SET_MSYMBOL_VALUE_ADDRESS.
7140 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7141 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7142 SET_MSYMBOL_VALUE_ADDRESS.
7143 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7144 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7145
7146 2014-02-26 Tom Tromey <tromey@redhat.com>
7147
7148 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7149 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7150 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7151 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7152 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7153 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7154 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7155 * ada-lang.c (ada_main_name): Update.
7156 (ada_lookup_simple_minsym): Update.
7157 (ada_make_symbol_completion_list): Update.
7158 (ada_add_standard_exceptions): Update.
7159 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7160 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7161 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7162 * arm-tdep.c (skip_prologue_function): Update.
7163 (arm_skip_stack_protector, arm_skip_stub): Update.
7164 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7165 (arm_wince_skip_main_prologue): Update.
7166 * auxv.c (ld_so_xfer_auxv): Update.
7167 * avr-tdep.c (avr_scan_prologue): Update.
7168 * ax-gdb.c (gen_var_ref): Update.
7169 * block.c (call_site_for_pc): Update.
7170 * blockframe.c (get_pc_function_start): Update.
7171 (find_pc_partial_function_gnu_ifunc): Update.
7172 * breakpoint.c (create_overlay_event_breakpoint): Update.
7173 (create_longjmp_master_breakpoint): Update.
7174 (create_std_terminate_master_breakpoint): Update.
7175 (create_exception_master_breakpoint): Update.
7176 (resolve_sal_pc): Update.
7177 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7178 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7179 Update.
7180 * c-valprint.c (c_val_print): Update.
7181 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7182 * coffread.c (coff_symfile_read): Update.
7183 * common/agent.c (agent_look_up_symbols): Update.
7184 * dbxread.c (find_stab_function_addr): Update.
7185 (end_psymtab): Update.
7186 * dwarf2loc.c (call_site_to_target_addr): Update.
7187 (func_verify_no_selftailcall): Update.
7188 (tailcall_dump): Update.
7189 (call_site_find_chain_1): Update.
7190 (dwarf_expr_reg_to_entry_parameter): Update.
7191 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7192 (elf_gnu_ifunc_resolve_by_got): Update.
7193 * f-valprint.c (info_common_command): Update.
7194 * findvar.c (read_var_value): Update.
7195 * frame.c (get_prev_frame_1): Update.
7196 (inside_main_func): Update.
7197 * frv-tdep.c (frv_skip_main_prologue): Update.
7198 (frv_frame_this_id): Update.
7199 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7200 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7201 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7202 (gnuv3_skip_trampoline): Update.
7203 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7204 (hppa64_hpux_in_solib_call_trampoline): Update.
7205 (hppa_hpux_skip_trampoline_code): Update.
7206 (hppa64_hpux_search_dummy_call_sequence): Update.
7207 (hppa_hpux_find_import_stub_for_addr): Update.
7208 (hppa_hpux_find_dummy_bpaddr): Update.
7209 * hppa-tdep.c (hppa_symbol_address)
7210 (hppa_lookup_stub_minimal_symbol): Update.
7211 * i386-tdep.c (i386_skip_main_prologue): Update.
7212 (i386_pe_skip_trampoline_code): Update.
7213 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7214 * infcall.c (get_function_name): Update.
7215 * infcmd.c (until_next_command): Update.
7216 * jit.c (jit_breakpoint_re_set_internal): Update.
7217 (jit_inferior_init): Update.
7218 * linespec.c (minsym_found): Update.
7219 (add_minsym): Update.
7220 * linux-fork.c (info_checkpoints_command): Update.
7221 * linux-nat.c (get_signo): Update.
7222 * linux-thread-db.c (inferior_has_bug): Update.
7223 * m32c-tdep.c (m32c_return_value): Update.
7224 (m32c_m16c_address_to_pointer): Update.
7225 (m32c_m16c_pointer_to_address): Update.
7226 * m32r-tdep.c (m32r_frame_this_id): Update.
7227 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7228 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7229 * maint.c (maintenance_translate_address): Update.
7230 * minsyms.c (add_minsym_to_hash_table): Update.
7231 (add_minsym_to_demangled_hash_table): Update.
7232 (msymbol_objfile): Update.
7233 (lookup_minimal_symbol): Update.
7234 (iterate_over_minimal_symbols): Update.
7235 (lookup_minimal_symbol_text): Update.
7236 (lookup_minimal_symbol_by_pc_name): Update.
7237 (lookup_minimal_symbol_solib_trampoline): Update.
7238 (lookup_minimal_symbol_by_pc_section_1): Update.
7239 (lookup_minimal_symbol_and_objfile): Update.
7240 (prim_record_minimal_symbol_full): Update.
7241 (compare_minimal_symbols): Update.
7242 (compact_minimal_symbols): Update.
7243 (build_minimal_symbol_hash_tables): Update.
7244 (install_minimal_symbols): Update.
7245 (terminate_minimal_symbol_table): Update.
7246 (find_solib_trampoline_target): Update.
7247 (minimal_symbol_upper_bound): Update.
7248 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7249 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7250 (mips_skip_pic_trampoline_code): Update.
7251 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7252 * objc-lang.c (selectors_info): Update.
7253 (classes_info): Update.
7254 (find_methods): Update.
7255 (find_imps): Update.
7256 (find_objc_msgsend): Update.
7257 * objfiles.c (objfile_relocate1): Update.
7258 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7259 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7260 * p-valprint.c (pascal_val_print): Update.
7261 * parse.c (write_exp_msymbol): Update.
7262 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7263 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7264 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7265 * printcmd.c (build_address_symbolic): Update.
7266 (sym_info): Update.
7267 (address_info): Update.
7268 * proc-service.c (ps_pglobal_lookup): Update.
7269 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7270 (find_pc_sect_psymtab): Update.
7271 * python/py-framefilter.c (py_print_frame): Update.
7272 * ravenscar-thread.c (get_running_thread_id): Update.
7273 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7274 Update.
7275 * remote.c (remote_check_symbols): Update.
7276 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7277 (rs6000_skip_trampoline_code): Update.
7278 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7279 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7280 * solib-dsbt.c (lm_base): Update.
7281 * solib-frv.c (lm_base): Update.
7282 (main_got): Update.
7283 * solib-irix.c (locate_base): Update.
7284 * solib-som.c (som_solib_create_inferior_hook): Update.
7285 (som_solib_desire_dynamic_linker_symbols): Update.
7286 (link_map_start): Update.
7287 * solib-spu.c (spu_enable_break): Update.
7288 (ocl_enable_break): Update.
7289 * solib-svr4.c (elf_locate_base): Update.
7290 (enable_break): Update.
7291 * spu-tdep.c (spu_get_overlay_table): Update.
7292 (spu_catch_start): Update.
7293 (flush_ea_cache): Update.
7294 * stabsread.c (define_symbol): Update.
7295 (scan_file_globals): Update.
7296 * stack.c (find_frame_funname): Update.
7297 (frame_info): Update.
7298 * symfile.c (simple_read_overlay_table): Update.
7299 (simple_overlay_update): Update.
7300 * symmisc.c (dump_msymbols): Update.
7301 * symtab.c (fixup_section): Update.
7302 (find_pc_sect_line): Update.
7303 (skip_prologue_sal): Update.
7304 (search_symbols): Update.
7305 (print_msymbol_info): Update.
7306 (rbreak_command): Update.
7307 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7308 (completion_list_objc_symbol): Update.
7309 (default_make_symbol_completion_list_break_on): Update.
7310 * tracepoint.c (scope_info): Update.
7311 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7312 (tui_get_begin_asm_address): Update.
7313 * valops.c (find_function_in_inferior): Update.
7314 * value.c (value_static_field): Update.
7315 (value_fn_field): Update.
7316
7317 2014-02-26 Tom Tromey <tromey@redhat.com>
7318
7319 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7320 bound minimal symbols. Move code that knows about minsym
7321 table layout...
7322 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7323 function.
7324 * minsyms.h (minimal_symbol_upper_bound): Declare.
7325 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7326 minimal_symbol_upper_bound.
7327
7328 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7329
7330 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7331 Use the type's name if its basic type does not have a tag.
7332
7333 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7334
7335 * dwarf2read.c (read_subrange_type): Add comment.
7336
7337 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7338
7339 * dwarf2read.c (update_enumeration_type_from_children): New
7340 function, mostly extracted from process_structure_scope.
7341 (read_enumeration_type): Call update_enumeration_type_from_children.
7342 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7343 and flag_flag_enum fields.
7344
7345 2014-02-26 Pedro Alves <palves@redhat.com>
7346
7347 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7348 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7349 to_xfer_partial method.
7350
7351 2014-02-26 Pedro Alves <palves@redhat.com>
7352
7353 * target.c (complete_target_initialization): Don't install
7354 default_xfer_partial as to_xfer_partial hook.
7355 (nomemory): Delete.
7356 (update_current_target): Don't INHERIT nor de_fault
7357 deprecated_xfer_memory. Delete de_fault macro.
7358 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7359 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7360 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7361 field.
7362
7363 2014-02-26 Pedro Alves <palves@redhat.com>
7364
7365 * go32-nat.c (my_write_child): New function.
7366 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7367 (go32_xfer_partial): New function.
7368 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7369 Instead install a to_xfer_partial hook.
7370
7371 2014-02-26 Pedro Alves <palves@redhat.com>
7372
7373 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7374 to_xfer_partial helper. Rewrite.
7375 (procfs_xfer_partial): New function.
7376 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7377 Install a to_xfer_partial hook.
7378
7379 2014-02-26 Pedro Alves <palves@redhat.com>
7380
7381 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7382 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7383 (m32r_xfer_partial): New function.
7384 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7385 Install a to_xfer_partial hook.
7386
7387 2014-02-26 Pedro Alves <palves@redhat.com>
7388
7389 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7390 helper.
7391 (mips_xfer_partial): New function.
7392 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7393 hook. Install a to_xfer_partial hook.
7394
7395 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7396
7397 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7398 * gdbtypes.c (create_array_type_with_stride): New function,
7399 renaming create_array_type, but with an added parameter
7400 called "bit_stride".
7401 (create_array_type): Re-implement using
7402 create_array_type_with_stride.
7403 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7404 and DW_AT_bit_stride attributes.
7405
7406 2014-02-26 Pedro Alves <palves@redhat.com>
7407
7408 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7409 task-specific breakpoints.
7410
7411 2014-02-25 Pedro Alves <palves@redhat.com>
7412
7413 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7414 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7415
7416 2014-02-25 Stan Shebs <stan@codesourcery.com>
7417
7418 * defs.h: Annotate comments for Doxygen.
7419
7420 2014-02-25 Tom Tromey <tromey@redhat.com>
7421
7422 * target.h (target_ignore): Don't declare.
7423 * target.c (target_ignore): Remove.
7424
7425 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 PR gdb/16626
7428 * auto-load.c (auto_load_objfile_script_1): Change filename to
7429 debugfile.
7430
7431 2014-02-25 Joel Brobecker <brobecker@adacore.com>
7432
7433 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7434 documentation. Adjust prototype to match the target_ops
7435 to_xfer_partial method. Adjust implementation accordingly.
7436
7437 2014-02-25 Hui Zhu <hui@codesourcery.com>
7438
7439 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7440 to_traceframe_info.
7441
7442 2014-02-25 Kevin Buettner <kevinb@redhat.com>
7443
7444 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7445 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7446 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7447 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7448 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7449 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7450 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7451 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7452 New constants.
7453 (rl78_register_type): Use a data pointer type for SP and
7454 new pseudo registers mentioned above. Use a 16 bit integer
7455 type for all other register pairs.
7456 (rl78_register_name, rl78_g10_register_name): Update for
7457 new pseudo registers.
7458 (rl78_pseudo_register_read): Likewise.
7459 (rl78_pseudo_register_write): Likewise.
7460 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7461 to the newly added pseudo registers.
7462
7463 2014-02-24 Doug Evans <dje@google.com>
7464
7465 * value.c (record_latest_value): Fix comment.
7466 * printcmd.c (print_command_1): Remove code to handle -1 return from
7467 record_latest_value.
7468
7469 2014-02-24 Pedro Alves <palves@redhat.com>
7470
7471 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7472 deprecated_xfer_memory hook.
7473 (procfs_xfer_partial): Call procfs_xfer_memory instead
7474 of the deprecated_xfer_memory target hook.
7475 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7476 helper.
7477
7478 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7479
7480 * windows-nat.c (windows_xfer_shared_libraries): Return
7481 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7482 requested object is TARGET_OBJECT_LIBRARIES.
7483
7484 2014-02-24 Yao Qi <yao@codesourcery.com>
7485
7486 * target.h (enum target_xfer_status)
7487 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7488 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7489 explicitly. New.
7490 * corefile.c (memory_error_message): User updated.
7491 * exec.c (section_table_read_available_memory): Likewise.
7492 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7493 * target.c (target_xfer_status_to_string): Likewise.
7494 (raw_memory_xfer_partial): Likewise.
7495 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7496 * valops.c (read_value_memory): Likewise.
7497 * exec.h: Update comments.
7498
7499 2014-02-24 Yao Qi <yao@codesourcery.com>
7500
7501 * target.c (target_xfer_status_to_string): Rename argument err
7502 to status.
7503 * target.h (target_xfer_status_to_string): Update declaration.
7504 Replace target_xfer_error_to_string with
7505 target_xfer_status_to_string in comment.
7506
7507 2014-02-24 Yao Qi <yao@codesourcery.com>
7508
7509 * mips-linux-nat.c (super_close): Update its type.
7510 (mips_linux_close): Pass 'self' to super_close.
7511
7512 2014-02-24 Yao Qi <yao@codesourcery.com>
7513
7514 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7515 * corefile.c (read_memory): Adjusted.
7516 * target.c (target_write_with_progress): Adjusted.
7517
7518 2014-02-23 Yao Qi <yao@codesourcery.com>
7519
7520 Revert two patches:
7521
7522 2013-10-25 Yao Qi <yao@codesourcery.com>
7523
7524 * remote.c (remote_traceframe_info): Return early if
7525 traceframe is not selected.
7526
7527 2013-07-19 Yao Qi <yao@codesourcery.com>
7528
7529 * target.c (update_current_target): Change the default action
7530 of 'to_traceframe_info' from tcomplain to return_zero.
7531 * target.h (struct target_ops) <to_traceframe_info>: Add more
7532 comments.
7533
7534 2014-02-23 Yao Qi <yao@codesourcery.com>
7535
7536 * valops.c (read_value_memory): Rewrite it. Call
7537 target_xfer_partial in a loop.
7538 * exec.h (section_table_available_memory): Remove declaration.
7539 Move comments to ...
7540 * exec.c (section_table_available_memory): ... here. Make it
7541 static.
7542
7543 2014-02-23 Yao Qi <yao@codesourcery.com>
7544
7545 * exec.c (section_table_read_available_memory): New function.
7546 * exec.h (section_table_read_available_memory): Declare.
7547 * ctf.c (ctf_xfer_partial): Call
7548 section_table_read_available_memory.
7549 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7550
7551 2014-02-23 Yao Qi <yao@codesourcery.com>
7552
7553 * ctf.c (ctf_xfer_partial): Move code to ...
7554 * exec.c (exec_read_partial_read_only): ... it. New function.
7555 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7556 * tracefile.c: Include "exec.h".
7557 * exec.h (exec_read_partial_read_only): Declare.
7558
7559 2014-02-23 Yao Qi <yao@codesourcery.com>
7560
7561 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7562 (tfile_has_memory): Remove.
7563 (init_tfile_ops): Don't set fields to_has_all_memory and
7564 to_has_memory of tfile_ops.
7565 * tracefile.c (tracefile_has_all_memory): New function.
7566 (tracefile_has_memory): New function.
7567 (init_tracefile_ops): Initialize fields to_has_all_memory and
7568 to_has_memory of 'ops'.
7569
7570 2014-02-23 Yao Qi <yao@codesourcery.com>
7571
7572 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7573 (ctf_thread_alive, ctf_get_trace_status): Remove.
7574 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7575 init_tracefile_ops.
7576 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7577 (tfile_has_stack, tfile_has_registers): Remove.
7578 (tfile_thread_alive): Remove.
7579 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7580 init_tracefile_ops.
7581 * tracefile.c (tracefile_has_stack): New function.
7582 (tracefile_has_registers): New function.
7583 (tracefile_thread_alive): New function.
7584 (tracefile_get_trace_status): New function.
7585 (init_tracefile_ops): New function.
7586 * tracefile.h (init_tracefile_ops): Declare.
7587
7588 2014-02-23 Yao Qi <yao@codesourcery.com>
7589
7590 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7591 (O_LARGEFILE): Likewise.
7592 (tfile_ops): Likewise.
7593 (TRACE_HEADER_SIZE): Likewise.
7594 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7595 (cur_data_size): Likewise.
7596 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7597 (tfile_close, tfile_files_info): Likewise.
7598 (tfile_get_trace_status): Likewise.
7599 (tfile_get_tracepoint_status): Likewise.
7600 (tfile_get_traceframe_address): Likewise.
7601 (tfile_trace_find, match_blocktype): Likewise.
7602 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7603 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7604 (tfile_get_trace_state_variable_value): Likewise.
7605 (tfile_has_all_memory, tfile_has_memory): Likewise.
7606 (tfile_has_stack, tfile_has_registers): Likewise.
7607 (tfile_thread_alive, build_traceframe_info): Likewise.
7608 (tfile_traceframe_info, init_tfile_ops): Likewise.
7609 (_initialize_tracepoint): Don't call init_tfile_ops
7610 and add_target_with_completer.
7611 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7612 exec.h, completer.h and filenames.h.
7613 (_initialize_tracefile_tfile): New function.
7614
7615 2014-02-23 Yao Qi <yao@codesourcery.com>
7616
7617 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7618 tracefile-tfile.o.
7619 (HFILES_NO_SRCDIR): Add tracefile.h.
7620 * ctf.c: Include "tracefile.h".
7621 * tracefile.h: New file.
7622 * tracefile.c: New file
7623 * tracefile-tfile.c: New file.
7624 * tracepoint.c: Include "tracefile.h".
7625 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7626 (stop_reason_names): Add const.
7627 (trace_file_writer_xfree): Move it to tracefile.c.
7628 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7629 (trace_save_ctf): Likewise.
7630 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7631 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7632 (tfile_write_header, tfile_write_regblock_type): Likewise.
7633 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7634 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7635 (tfile_write_raw_data, tfile_end): Likewise.
7636 (tfile_trace_file_writer_new): Likewise.
7637 (free_uploaded_tp): Make it extern.
7638 (free_uploaded_tsv): Make it extern.
7639 (_initialize_tracepoint): Move code to register command 'tsave'
7640 to tracefile.c.
7641 * tracepoint.h (stop_reason_names): Declare.
7642 (struct trace_frame_write_ops): Move it to tracefile.h.
7643 (struct trace_file_write_ops): Likewise.
7644 (struct trace_file_writer): Likewise.
7645 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7646
7647 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7648
7649 PR gdb/16594
7650 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7651 process name.
7652 (get_cores_used_by_process): New parameter num_cores, use it.
7653 (linux_xfer_osdata_processes): Pass num_cores to it.
7654 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7655 process name.
7656
7657 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7658
7659 * target.c (memory_xfer_partial): Fix length arg in call to
7660 breakpoint_xfer_memory.
7661
7662 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7663
7664 PR tdep/16397
7665 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7666 number comes after the + or - signs. Adjust length of register
7667 name to be extracted.
7668
7669 2014-02-20 Tom Tromey <tromey@redhat.com>
7670
7671 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7672 (ada_varobj_ops): Mark "extern".
7673
7674 2014-02-20 Tom Tromey <tromey@redhat.com>
7675
7676 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7677
7678 2014-02-20 Doug Evans <xdje42@gmail.com>
7679
7680 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7681 All callers updated.
7682 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7683 All callers updated.
7684 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7685 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7686
7687 2014-02-20 lin zuojian <manjian2006@gmail.com>
7688 Joel Brobecker <brobecker@adacore.com>
7689 Doug Evans <xdje42@gmail.com>
7690
7691 PR symtab/16581
7692 * dwarf2read.c (struct die_info): New member in_process.
7693 (reset_die_in_process): New function.
7694 (process_die): Set it at the start, reset when returning.
7695 (inherit_abstract_dies): Only call process_die if origin_child_die
7696 not already being processed.
7697
7698 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7699
7700 * windows-nat.c (handle_unload_dll): Add function documentation.
7701 (do_initial_windows_stuff): Add comment explaining why we wait
7702 until after inferior initialization has finished before
7703 processing all DLLs.
7704
7705 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7706
7707 * windows-nat.c (get_module_name): Delete.
7708 (windows_get_exec_module_filename): New function, mostly
7709 inspired from get_module_name.
7710 (windows_pid_to_exec_file): Replace call to get_module_name
7711 by call to windows_get_exec_module_filename.
7712
7713 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7714
7715 * windows-nat.c (handle_load_dll): Rewrite this function's
7716 introductory comment. Remove code using get_module_name
7717 to get the DLL's name.
7718
7719 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7720
7721 * windows-nat.c (get_windows_debug_event): Ignore
7722 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7723 if windows_initialization_done == 0.
7724 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7725 Adjust implementation to always load all DLLs.
7726 (do_initial_windows_stuff): Replace call to
7727 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7728
7729 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7730
7731 * windows-nat.c (_initialize_windows_nat): Deprecate the
7732 "dll-symbols" command. Turn the "add-shared-symbol-files"
7733 and "assf" aliases into commands, and deprecate them as well.
7734 * NEWS: Add entry explaining that "dll-symbols" and its two
7735 aliases are now deprecated.
7736
7737 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7738
7739 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7740 new-line in debug string. Remove trailing spaces.
7741
7742 2014-02-19 Stan Shebs <stan@codesourcery.com>
7743
7744 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7745
7746 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7747
7748 * NEWS: Add entry for the new feature
7749 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7750 and class values.
7751
7752 2014-02-19 Stan Shebs <stan@codesourcery.com>
7753
7754 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7755
7756 2014-02-19 Pedro Alves <palves@redhat.com>
7757
7758 * common/ptid.h (struct ptid): Mention that process_stratum
7759 targets should prefer ptid.lwp.
7760
7761 2014-02-19 Pedro Alves <palves@redhat.com>
7762
7763 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7764 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7765 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7766 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7767 store remote thread ids rather than ptid.tid.
7768 (_initialize_remote): Adjust.
7769
7770 2014-02-19 Tom Tromey <tromey@redhat.com>
7771
7772 * target.c (target_get_unwinder): Rewrite.
7773 (target_get_tailcall_unwinder): Rewrite.
7774 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7775 (record_btrace_to_get_tailcall_unwinder): New function.
7776 (init_record_btrace_ops): Update.
7777 * target.h (struct target_ops) <to_get_unwinder,
7778 to_get_tailcall_unwinder>: Now function pointers. Use
7779 TARGET_DEFAULT_RETURN.
7780
7781 2014-02-19 Tom Tromey <tromey@redhat.com>
7782
7783 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7784 argument.
7785 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7786
7787 2014-02-19 Tom Tromey <tromey@redhat.com>
7788
7789 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7790 directly.
7791 * target-delegates.c: Rebuild.
7792 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7793 TARGET_DEFAULT_FUNC.
7794 * target.c (default_target_decr_pc_after_break): Rename from
7795 forward_target_decr_pc_after_break. Simplify.
7796 (target_decr_pc_after_break): Rely on delegation.
7797
7798 2014-02-19 Tom Tromey <tromey@redhat.com>
7799
7800 * target.c (update_current_target): Do not INHERIT to_doc or
7801 to_magic. Do not de_fault to_open or to_close.
7802
7803 2014-02-19 Tom Tromey <tromey@redhat.com>
7804
7805 * gcore.h (objfile_find_memory_regions): Declare.
7806 * gcore.c (objfile_find_memory_regions): No longer static. Add
7807 "self" argument.
7808 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7809 * exec.c: Include gcore.h.
7810 (exec_set_find_memory_regions): Remove.
7811 (exec_find_memory_regions): Remove.
7812 (exec_do_find_memory_regions): Remove.
7813 (init_exec_ops): Update.
7814 * defs.h (exec_set_find_memory_regions): Remove.
7815
7816 2014-02-19 Tom Tromey <tromey@redhat.com>
7817
7818 * target-delegates.c: Rebuild.
7819 * target.h (struct target_ops) <to_extra_thread_info,
7820 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7821 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7822 not 0, in TARGET_DEFAULT_RETURN.
7823
7824 2014-02-19 Tom Tromey <tromey@redhat.com>
7825
7826 * target.c (complete_target_initialization): Remove casts. Use
7827 return_zero_has_execution.
7828 (return_zero): Add "ignore" argument.
7829 (return_zero_has_execution): New function.
7830 (init_dummy_target): Remove casts. Use
7831 return_zero_has_execution.
7832
7833 2014-02-19 Tom Tromey <tromey@redhat.com>
7834
7835 * target.c (update_current_target): Update comments. Do not
7836 INHERIT to_stratum.
7837
7838 2014-02-19 Tom Tromey <tromey@redhat.com>
7839
7840 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7841 needed.
7842 * corelow.c (core_read_description): Delegate when needed.
7843 * remote.c (remote_read_description): Delegate when needed.
7844 * target-delegates.c: Rebuild.
7845 * target.c (target_read_description): Rewrite.
7846 * target.h (struct target_ops) <to_read_description>: Update
7847 comment. Use TARGET_DEFAULT_RETURN.
7848
7849 2014-02-19 Tom Tromey <tromey@redhat.com>
7850
7851 * target-delegates.c: Rebuild.
7852 * target.c (update_current_target): Don't inherit or default
7853 to_can_run.
7854 (find_default_run_target): Check against delegate_can_run.
7855 * target.h (struct target_ops) <to_can_run>: Use
7856 TARGET_DEFAULT_RETURN.
7857
7858 2014-02-19 Tom Tromey <tromey@redhat.com>
7859
7860 * target-delegates.c: Rebuild.
7861 * target.c (target_disconnect): Unconditionally delegate.
7862 * target.h (struct target_ops) <to_disconnect>: Use
7863 TARGET_DEFAULT_NORETURN.
7864
7865 2014-02-19 Tom Tromey <tromey@redhat.com>
7866
7867 * record.c (record_stop): Unconditionally delegate.
7868 * target-delegates.c: Rebuild.
7869 * target.c (target_stop_recording): Unconditionally delegate.
7870 * target.h (struct target_ops) <to_stop_recording>: Use
7871 TARGET_DEFAULT_IGNORE.
7872
7873 2014-02-19 Tom Tromey <tromey@redhat.com>
7874
7875 * target-delegates.c: Rebuild.
7876 * target.c (target_enable_btrace): Unconditionally delegate.
7877 * target.h (struct target_ops) <to_enable_btrace>: Use
7878 TARGET_DEFAULT_NORETURN.
7879
7880 2014-02-19 Tom Tromey <tromey@redhat.com>
7881
7882 * target-delegates.c: Rebuild.
7883 * target.c (target_read_btrace): Unconditionally delegate.
7884 * target.h (struct target_ops) <to_read_btrace>: Use
7885 TARGET_DEFAULT_NORETURN.
7886
7887 2014-02-19 Tom Tromey <tromey@redhat.com>
7888
7889 * target-delegates.c: Rebuild.
7890 * target.c (target_teardown_btrace): Unconditionally delegate.
7891 * target.h (struct target_ops) <to_teardown_btrace>: Use
7892 TARGET_DEFAULT_NORETURN.
7893
7894 2014-02-19 Tom Tromey <tromey@redhat.com>
7895
7896 * target-delegates.c: Rebuild.
7897 * target.c (target_disable_btrace): Unconditionally delegate.
7898 * target.h (struct target_ops) <to_disable_btrace>: Use
7899 TARGET_DEFAULT_NORETURN.
7900
7901 2014-02-19 Tom Tromey <tromey@redhat.com>
7902
7903 * target-delegates.c: Rebuild.
7904 * target.c (default_search_memory): New function.
7905 (simple_search_memory): Update comment.
7906 (target_search_memory): Unconditionally delegate.
7907 * target.h (struct target_ops) <to_search_memory>: Use
7908 TARGET_DEFAULT_FUNC.
7909
7910 2014-02-19 Tom Tromey <tromey@redhat.com>
7911
7912 * auxv.c (default_auxv_parse): No longer static.
7913 (target_auxv_parse): Unconditionally delegate.
7914 * auxv.h (default_auxv_parse): Declare.
7915 * target-delegates.c: Rebuild.
7916 * target.c: Include auxv.h.
7917 * target.h (struct target_ops) <to_auxv_parse>: Use
7918 TARGET_DEFAULT_FUNC.
7919
7920 2014-02-19 Tom Tromey <tromey@redhat.com>
7921
7922 * target-delegates.c: Rebuild.
7923 * target.c (target_memory_map): Unconditionally delegate.
7924 * target.h (struct target_ops) <to_memory_map>: Use
7925 TARGET_DEFAULT_RETURN.
7926
7927 2014-02-19 Tom Tromey <tromey@redhat.com>
7928
7929 * target-delegates.c: Rebuild.
7930 * target.c (target_thread_alive): Unconditionally delegate.
7931 * target.h (struct target_ops) <to_thread_alive>: Use
7932 TARGET_DEFAULT_RETURN.
7933
7934 2014-02-19 Tom Tromey <tromey@redhat.com>
7935
7936 * target-delegates.c: Rebuild.
7937 * target.c (target_save_record): Unconditionally delegate.
7938 * target.h (struct target_ops) <to_save_record>: Use
7939 TARGET_DEFAULT_NORETURN.
7940
7941 2014-02-19 Tom Tromey <tromey@redhat.com>
7942
7943 * target-delegates.c: Rebuild.
7944 * target.c (target_delete_record): Unconditionally delegate.
7945 * target.h (struct target_ops) <to_delete_record>: Use
7946 TARGET_DEFAULT_NORETURN.
7947
7948 2014-02-19 Tom Tromey <tromey@redhat.com>
7949
7950 * target-delegates.c: Rebuild.
7951 * target.c (target_record_is_replaying): Unconditionally
7952 delegate.
7953 * target.h (struct target_ops) <to_record_is_replaying>: Use
7954 TARGET_DEFAULT_RETURN.
7955
7956 2014-02-19 Tom Tromey <tromey@redhat.com>
7957
7958 * target-delegates.c: Rebuild.
7959 * target.c (target_goto_record_begin): Unconditionally delegate.
7960 * target.h (struct target_ops) <to_goto_record_begin>: Use
7961 TARGET_DEFAULT_NORETURN.
7962
7963 2014-02-19 Tom Tromey <tromey@redhat.com>
7964
7965 * target-delegates.c: Rebuild.
7966 * target.c (target_goto_record_end): Unconditionally delegate.
7967 * target.h (struct target_ops) <to_goto_record_end>: Use
7968 TARGET_DEFAULT_NORETURN.
7969
7970 2014-02-19 Tom Tromey <tromey@redhat.com>
7971
7972 * target-delegates.c: Rebuild.
7973 * target.c (target_goto_record): Unconditionally delegate.
7974 * target.h (struct target_ops) <to_goto_record>: Use
7975 TARGET_DEFAULT_NORETURN.
7976
7977 2014-02-19 Tom Tromey <tromey@redhat.com>
7978
7979 * target-delegates.c: Rebuild.
7980 * target.c (target_insn_history): Unconditionally delegate.
7981 * target.h (struct target_ops) <to_insn_history>: Use
7982 TARGET_DEFAULT_NORETURN.
7983
7984 2014-02-19 Tom Tromey <tromey@redhat.com>
7985
7986 * target-delegates.c: Rebuild.
7987 * target.c (target_insn_history_from): Unconditionally delegate.
7988 * target.h (struct target_ops) <to_insn_history_from>: Use
7989 TARGET_DEFAULT_NORETURN.
7990
7991 2014-02-19 Tom Tromey <tromey@redhat.com>
7992
7993 * target-delegates.c: Rebuild.
7994 * target.c (target_insn_history_range): Unconditionally delegate.
7995 * target.h (struct target_ops) <to_insn_history_range>: Use
7996 TARGET_DEFAULT_NORETURN.
7997
7998 2014-02-19 Tom Tromey <tromey@redhat.com>
7999
8000 * target-delegates.c: Rebuild.
8001 * target.c (target_call_history): Unconditionally delegate.
8002 * target.h (struct target_ops) <to_call_history>: Use
8003 TARGET_DEFAULT_NORETURN.
8004
8005 2014-02-19 Tom Tromey <tromey@redhat.com>
8006
8007 * target-delegates.c: Rebuild.
8008 * target.c (target_call_history_from): Unconditionally delegate.
8009 * target.h (struct target_ops) <to_call_history_from>: Use
8010 TARGET_DEFAULT_NORETURN.
8011
8012 2014-02-19 Tom Tromey <tromey@redhat.com>
8013
8014 * target-delegates.c: Rebuild.
8015 * target.c (target_call_history_range): Unconditionally delegate.
8016 * target.h (struct target_ops) <to_call_history_range>: Use
8017 TARGET_DEFAULT_NORETURN.
8018
8019 2014-02-19 Tom Tromey <tromey@redhat.com>
8020
8021 * target-delegates.c: Rebuild.
8022 * target.c (target_verify_memory): Unconditionally delegate.
8023 * target.h (struct target_ops) <to_verify_memory>: Use
8024 TARGET_DEFAULT_NORETURN.
8025
8026 2014-02-19 Tom Tromey <tromey@redhat.com>
8027
8028 * target-delegates.c: Rebuild.
8029 * target.c (target_core_of_thread): Unconditionally delegate.
8030 * target.h (struct target_ops) <to_core_of_thread>: Use
8031 TARGET_DEFAULT_RETURN.
8032
8033 2014-02-19 Tom Tromey <tromey@redhat.com>
8034
8035 * target-delegates.c: Rebuild.
8036 * target.c (target_flash_done): Unconditionally delegate.
8037 * target.h (struct target_ops) <to_flash_done>: Use
8038 TARGET_DEFAULT_NORETURN.
8039
8040 2014-02-19 Tom Tromey <tromey@redhat.com>
8041
8042 * target-delegates.c: Rebuild.
8043 * target.c (target_flash_erase): Unconditionally delegate.
8044 * target.h (struct target_ops) <to_flash_erase>: Use
8045 TARGET_DEFAULT_NORETURN.
8046
8047 2014-02-19 Tom Tromey <tromey@redhat.com>
8048
8049 * target-delegates.c: Rebuild.
8050 * target.c (target_get_section_table): Unconditionally delegate.
8051 * target.h (struct target_ops) <to_get_section_table>: Use
8052 TARGET_DEFAULT_RETURN.
8053
8054 2014-02-19 Tom Tromey <tromey@redhat.com>
8055
8056 * target-delegates.c: Rebuild.
8057 * target.c (target_pid_to_str): Unconditionally delegate.
8058 (init_dummy_target): Don't initialize to_pid_to_str.
8059 (default_pid_to_str): Rename from dummy_pid_to_str.
8060 * target.h (struct target_ops) <to_pid_to_str>: Use
8061 TARGET_DEFAULT_FUNC.
8062
8063 2014-02-19 Tom Tromey <tromey@redhat.com>
8064
8065 * target-delegates.c: Rebuild.
8066 * target.c (target_find_new_threads): Unconditionally delegate.
8067 * target.h (struct target_ops) <to_find_new_threads>: Use
8068 TARGET_DEFAULT_RETURN.
8069
8070 2014-02-19 Tom Tromey <tromey@redhat.com>
8071
8072 * target-delegates.c: Rebuild.
8073 * target.c (target_program_signals): Unconditionally delegate.
8074 * target.h (struct target_ops) <to_program_signals>: Use
8075 TARGET_DEFAULT_IGNORE.
8076
8077 2014-02-19 Tom Tromey <tromey@redhat.com>
8078
8079 * target-delegates.c: Rebuild.
8080 * target.c (target_pass_signals): Unconditionally delegate.
8081 * target.h (struct target_ops) <to_pass_signals>: Use
8082 TARGET_DEFAULT_IGNORE.
8083
8084 2014-02-19 Tom Tromey <tromey@redhat.com>
8085
8086 * target-delegates.c: Rebuild.
8087 * target.c (default_mourn_inferior): New function.
8088 (target_mourn_inferior): Unconditionally delegate.
8089 * target.h (struct target_ops) <to_mourn_inferior>: Use
8090 TARGET_DEFAULT_FUNC.
8091
8092 2014-02-19 Tom Tromey <tromey@redhat.com>
8093
8094 * target-delegates.c: Rebuild.
8095 * target.c (default_follow_fork): New function.
8096 (target_follow_fork): Unconditionally delegate.
8097 * target.h (struct target_ops) <to_follow_fork>: Use
8098 TARGET_DEFAULT_FUNC.
8099
8100 2014-02-19 Tom Tromey <tromey@redhat.com>
8101
8102 * target-delegates.c: Rebuild.
8103 * target.c (target_kill): Unconditionally delegate.
8104 * target.h (struct target_ops) <to_kill>: Use
8105 TARGET_DEFAULT_NORETURN.
8106
8107 2014-02-19 Tom Tromey <tromey@redhat.com>
8108
8109 * target-delegates.c: Rebuild.
8110 * target.c (target_masked_watch_num_registers): Unconditionally
8111 delegate.
8112 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8113 Use TARGET_DEFAULT_RETURN.
8114
8115 2014-02-19 Tom Tromey <tromey@redhat.com>
8116
8117 * target-delegates.c: Rebuild.
8118 * target.c (target_remove_mask_watchpoint): Unconditionally
8119 delegate.
8120 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8121 TARGET_DEFAULT_RETURN.
8122
8123 2014-02-19 Tom Tromey <tromey@redhat.com>
8124
8125 * target-delegates.c: Rebuild.
8126 * target.c (target_insert_mask_watchpoint): Unconditionally
8127 delegate.
8128 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8129 TARGET_DEFAULT_RETURN.
8130
8131 2014-02-19 Tom Tromey <tromey@redhat.com>
8132
8133 * target-delegates.c: Rebuild.
8134 * target.c (target_ranged_break_num_registers): Unconditionally
8135 delegate.
8136 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8137 Use TARGET_DEFAULT_RETURN.
8138
8139 2014-02-19 Tom Tromey <tromey@redhat.com>
8140
8141 * target-delegates.c: Rebuild.
8142 * target.c (target_fetch_registers): Unconditionally delegate.
8143 * target.h (struct target_ops) <to_fetch_registers>: Use
8144 TARGET_DEFAULT_NORETURN.
8145
8146 2014-02-19 Tom Tromey <tromey@redhat.com>
8147
8148 * target-delegates.c: Rebuild.
8149 * target.c (update_current_target): Don't inherit or default
8150 to_stop.
8151 * target.h (struct target_ops) <to_stop>: Use
8152 TARGET_DEFAULT_IGNORE.
8153
8154 2014-02-19 Tom Tromey <tromey@redhat.com>
8155
8156 * target-delegates.c: Rebuild.
8157 * target.c (update_current_target): Don't inherit or default
8158 to_can_run_breakpoint_commands.
8159 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8160 Use TARGET_DEFAULT_RETURN.
8161
8162 2014-02-19 Tom Tromey <tromey@redhat.com>
8163
8164 * target-delegates.c: Rebuild.
8165 * target.c (update_current_target): Don't inherit or default
8166 to_supports_evaluation_of_breakpoint_conditions.
8167 * target.h (struct target_ops)
8168 <to_supports_evaluation_of_breakpoint_conditions>: Use
8169 TARGET_DEFAULT_RETURN.
8170
8171 2014-02-19 Tom Tromey <tromey@redhat.com>
8172
8173 * target-delegates.c: Rebuild.
8174 * target.c (update_current_target): Don't inherit or default
8175 to_augmented_libraries_svr4_read.
8176 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8177 Use TARGET_DEFAULT_RETURN.
8178
8179 2014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target-delegates.c: Rebuild.
8182 * target.c (update_current_target): Don't inherit or default
8183 to_can_use_agent.
8184 * target.h (struct target_ops) <to_can_use_agent>: Use
8185 TARGET_DEFAULT_RETURN.
8186
8187 2014-02-19 Tom Tromey <tromey@redhat.com>
8188
8189 * target-delegates.c: Rebuild.
8190 * target.c (update_current_target): Don't inherit or default
8191 to_use_agent.
8192 * target.h (struct target_ops) <to_use_agent>: Use
8193 TARGET_DEFAULT_NORETURN.
8194
8195 2014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target-delegates.c: Rebuild.
8198 * target.c (update_current_target): Don't inherit or default
8199 to_traceframe_info.
8200 (return_null): Remove.
8201 * target.h (struct target_ops) <to_traceframe_info>: Use
8202 TARGET_DEFAULT_RETURN.
8203
8204 2014-02-19 Tom Tromey <tromey@redhat.com>
8205
8206 * target-delegates.c: Rebuild.
8207 * target.c (update_current_target): Don't inherit or default
8208 to_static_tracepoint_markers_by_strid.
8209 * target.h (struct target_ops)
8210 <to_static_tracepoint_markers_by_strid>: Use
8211 TARGET_DEFAULT_NORETURN.
8212
8213 2014-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_static_tracepoint_marker_at.
8218 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8219 Use TARGET_DEFAULT_RETURN.
8220
8221 2014-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_permissions.
8226 * target.h (struct target_ops) <to_set_permissions>: Use
8227 TARGET_DEFAULT_IGNORE.
8228
8229 2014-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_tib_address.
8234 * target.h (struct target_ops) <to_get_tib_address>: Use
8235 TARGET_DEFAULT_NORETURN.
8236
8237 2014-02-19 Tom Tromey <tromey@redhat.com>
8238
8239 * target-delegates.c: Rebuild.
8240 * target.c (update_current_target): Don't inherit or default
8241 to_set_trace_notes.
8242 * target.h (struct target_ops) <to_set_trace_notes>: Use
8243 TARGET_DEFAULT_RETURN.
8244
8245 2014-02-19 Tom Tromey <tromey@redhat.com>
8246
8247 * target-delegates.c: Rebuild.
8248 * target.c (update_current_target): Don't initialize
8249 to_set_trace_buffer_size.
8250 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8251 TARGET_DEFAULT_IGNORE.
8252
8253 2014-02-19 Tom Tromey <tromey@redhat.com>
8254
8255 * target-delegates.c: Rebuild.
8256 * target.c (update_current_target): Don't inherit or default
8257 to_set_circular_trace_buffer.
8258 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8259 TARGET_DEFAULT_IGNORE.
8260
8261 2014-02-19 Tom Tromey <tromey@redhat.com>
8262
8263 * target-delegates.c: Rebuild.
8264 * target.c (update_current_target): Don't inherit or default
8265 to_set_disconnected_tracing.
8266 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8267 TARGET_DEFAULT_IGNORE.
8268
8269 2014-02-19 Tom Tromey <tromey@redhat.com>
8270
8271 * target-delegates.c: Rebuild.
8272 * target.c (update_current_target): Don't inherit or default
8273 to_get_min_fast_tracepoint_insn_len.
8274 (return_minus_one): Remove.
8275 * target.h (struct target_ops)
8276 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8277
8278 2014-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_get_raw_trace_data.
8283 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8284 TARGET_DEFAULT_NORETURN.
8285
8286 2014-02-19 Tom Tromey <tromey@redhat.com>
8287
8288 * target-delegates.c: Rebuild.
8289 * target.c (update_current_target): Don't inherit or default
8290 to_upload_trace_state_variables.
8291 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8292 Use TARGET_DEFAULT_RETURN.
8293
8294 2014-02-19 Tom Tromey <tromey@redhat.com>
8295
8296 * target-delegates.c: Rebuild.
8297 * target.c (update_current_target): Don't inherit or default
8298 to_upload_tracepoints.
8299 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8300 TARGET_DEFAULT_RETURN.
8301
8302 2014-02-19 Tom Tromey <tromey@redhat.com>
8303
8304 * target-delegates.c: Rebuild.
8305 * target.c (update_current_target): Don't inherit or default
8306 to_save_trace_data.
8307 * target.h (struct target_ops) <to_save_trace_data>: Use
8308 TARGET_DEFAULT_NORETURN.
8309
8310 2014-02-19 Tom Tromey <tromey@redhat.com>
8311
8312 * target-delegates.c: Rebuild.
8313 * target.c (update_current_target): Don't inherit or default
8314 to_get_trace_state_variable_value.
8315 * target.h (struct target_ops)
8316 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8317
8318 2014-02-19 Tom Tromey <tromey@redhat.com>
8319
8320 * target-delegates.c: Rebuild.
8321 * target.c (update_current_target): Don't inherit or default
8322 to_trace_find.
8323 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8324
8325 2014-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_trace_stop.
8330 * target.h (struct target_ops) <to_trace_stop>: Use
8331 TARGET_DEFAULT_NORETURN.
8332
8333 2014-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_get_tracepoint_status.
8338 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8339 TARGET_DEFAULT_NORETURN.
8340
8341 2014-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_get_trace_status.
8346 * target.h (struct target_ops) <to_get_trace_status>: Use
8347 TARGET_DEFAULT_RETURN.
8348
8349 2014-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_trace_start.
8354 * target.h (struct target_ops) <to_trace_start>: Use
8355 TARGET_DEFAULT_NORETURN.
8356
8357 2014-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_trace_set_readonly_regions.
8362 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8363 Use TARGET_DEFAULT_NORETURN.
8364
8365 2014-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_disable_tracepoint.
8370 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8371 TARGET_DEFAULT_NORETURN.
8372
8373 2014-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_enable_tracepoint.
8378 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8379 TARGET_DEFAULT_NORETURN.
8380
8381 2014-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_download_trace_state_variable.
8386 * target.h (struct target_ops) <to_download_trace_state_variable>:
8387 Use TARGET_DEFAULT_NORETURN.
8388
8389 2014-02-19 Tom Tromey <tromey@redhat.com>
8390
8391 * target-delegates.c: Rebuild.
8392 * target.c (update_current_target): Don't inherit or default
8393 to_can_download_tracepoint.
8394 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8395 TARGET_DEFAULT_RETURN.
8396
8397 2014-02-19 Tom Tromey <tromey@redhat.com>
8398
8399 * target-delegates.c: Rebuild.
8400 * target.c (update_current_target): Don't inherit or default
8401 to_download_tracepoint.
8402 * target.h (struct target_ops) <to_download_tracepoint>: Use
8403 TARGET_DEFAULT_NORETURN.
8404
8405 2014-02-19 Tom Tromey <tromey@redhat.com>
8406
8407 * target-delegates.c: Rebuild.
8408 * target.c (update_current_target): Don't inherit or default
8409 to_trace_init.
8410 * target.h (struct target_ops) <to_trace_init>: Use
8411 TARGET_DEFAULT_RETURN.
8412
8413 2014-02-19 Tom Tromey <tromey@redhat.com>
8414
8415 * target-delegates.c: Rebuild.
8416 * target.c (update_current_target): Don't inherit or default
8417 to_supports_string_tracing.
8418 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8419 TARGET_DEFAULT_RETURN.
8420
8421 2014-02-19 Tom Tromey <tromey@redhat.com>
8422
8423 * target-delegates.c: Rebuild.
8424 * target.c (update_current_target): Don't inherit or default
8425 to_supports_enable_disable_tracepoint.
8426 * target.h (struct target_ops)
8427 <to_supports_enable_disable_tracepoint>: Use
8428 TARGET_DEFAULT_RETURN.
8429
8430 2014-02-19 Tom Tromey <tromey@redhat.com>
8431
8432 * target-delegates.c: Rebuild.
8433 * target.c (update_current_target): Don't inherit or default
8434 to_supports_multi_process.
8435 * target.h (struct target_ops) <to_supports_multi_process>: Use
8436 TARGET_DEFAULT_RETURN.
8437
8438 2014-02-19 Tom Tromey <tromey@redhat.com>
8439
8440 * target-delegates.c: Rebuild.
8441 * target.c (update_current_target): Don't inherit or default
8442 to_get_ada_task_ptid.
8443 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8444 TARGET_DEFAULT_FUNC.
8445
8446 2014-02-19 Tom Tromey <tromey@redhat.com>
8447
8448 * target-delegates.c: Rebuild.
8449 * target.c (update_current_target): Don't inherit or default
8450 to_thread_architecture.
8451 * target.h (struct target_ops) <to_thread_architecture>: Use
8452 TARGET_DEFAULT_FUNC.
8453
8454 2014-02-19 Tom Tromey <tromey@redhat.com>
8455
8456 * target-delegates.c: Rebuild.
8457 * target.c (update_current_target): Don't inherit or default
8458 to_execution_direction.
8459 * target.h (struct target_ops) <to_execution_direction>: Use
8460 TARGET_DEFAULT_FUNC.
8461
8462 2014-02-19 Tom Tromey <tromey@redhat.com>
8463
8464 * target-delegates.c: Rebuild.
8465 * target.c (update_current_target): Don't inherit or default
8466 to_can_execute_reverse.
8467 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8468 TARGET_DEFAULT_RETURN.
8469 (target_can_execute_reverse): Unconditionally delegate.
8470
8471 2014-02-19 Tom Tromey <tromey@redhat.com>
8472
8473 * target-delegates.c: Rebuild.
8474 * target.c (update_current_target): Don't inherit or default
8475 to_goto_bookmark.
8476 (dummy_goto_bookmark): Remove.
8477 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8478 * target.h (struct target_ops) <to_goto_bookmark>: Use
8479 TARGET_DEFAULT_NORETURN.
8480
8481 2014-02-19 Tom Tromey <tromey@redhat.com>
8482
8483 * target-delegates.c: Rebuild.
8484 * target.c (update_current_target): Don't inherit or default
8485 to_get_bookmark.
8486 (dummy_get_bookmark): Remove.
8487 (init_dummy_target): Don't inherit or default to_get_bookmark.
8488 * target.h (struct target_ops) <to_get_bookmark>: Use
8489 TARGET_DEFAULT_NORETURN
8490
8491 2014-02-19 Tom Tromey <tromey@redhat.com>
8492
8493 * target-delegates.c: Rebuild.
8494 * target.c (update_current_target): Don't inherit or default
8495 to_make_corefile_notes.
8496 (init_dummy_target): Don't initialize to_make_corefile_notes.
8497 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8498 TARGET_DEFAULT_FUNC.
8499
8500 2014-02-19 Tom Tromey <tromey@redhat.com>
8501
8502 * target-delegates.c: Rebuild.
8503 * target.c (update_current_target): Don't inherit or default
8504 to_find_memory_regions.
8505 (init_dummy_target): Don't initialize to_find_memory_regions.
8506 * target.h (struct target_ops) <to_find_memory_regions>: Use
8507 TARGET_DEFAULT_FUNC.
8508
8509 2014-02-19 Tom Tromey <tromey@redhat.com>
8510
8511 * target-delegates.c: Rebuild.
8512 * target.c (update_current_target): Don't inherit or default
8513 to_log_command.
8514 * target.h (struct target_ops) <to_log_command>: Use
8515 TARGET_DEFAULT_IGNORE.
8516 (target_log_command): Unconditionally delegate.
8517
8518 2014-02-19 Tom Tromey <tromey@redhat.com>
8519
8520 * target-delegates.c: Rebuild.
8521 * target.c (update_current_target): Don't inherit or default
8522 to_pid_to_exec_file.
8523 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8524 TARGET_DEFAULT_RETURN.
8525
8526 2014-02-19 Tom Tromey <tromey@redhat.com>
8527
8528 * target-delegates.c: Rebuild.
8529 * target.c (update_current_target): Don't inherit or default
8530 to_thread_name.
8531 (target_thread_name): Unconditionally delegate.
8532 * target.h (struct target_ops) <to_thread_name>: Use
8533 TARGET_DEFAULT_RETURN.
8534
8535 2014-02-19 Tom Tromey <tromey@redhat.com>
8536
8537 * target-delegates.c: Rebuild.
8538 * target.c (update_current_target): Don't inherit or default
8539 to_extra_thread_info.
8540 * target.h (struct target_ops) <to_extra_thread_info>: Use
8541 TARGET_DEFAULT_RETURN.
8542
8543 2014-02-19 Tom Tromey <tromey@redhat.com>
8544
8545 * target-delegates.c: Rebuild.
8546 * target.c (update_current_target): Don't inherit or default
8547 to_has_exited.
8548 * target.h (struct target_ops) <to_has_exited>: Use
8549 TARGET_DEFAULT_RETURN..
8550
8551 2014-02-19 Tom Tromey <tromey@redhat.com>
8552
8553 * target-delegates.c: Rebuild.
8554 * target.c (update_current_target): Don't inherit or default
8555 to_set_syscall_catchpoint.
8556 (return_one): Remove.
8557 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8558 TARGET_DEFAULT_RETURN.
8559
8560 2014-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_exec_catchpoint.
8565 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8566 TARGET_DEFAULT_RETURN.
8567
8568 2014-01-08 Tom Tromey <tromey@redhat.com>
8569
8570 * target-delegates.c: Rebuild.
8571 * target.c (update_current_target): Don't inherit or default
8572 to_insert_exec_catchpoint.
8573 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8574 TARGET_DEFAULT_RETURN.
8575
8576 2014-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_remove_vfork_catchpoint.
8581 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8582 TARGET_DEFAULT_RETURN.
8583
8584 2014-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_insert_vfork_catchpoint.
8589 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8590 TARGET_DEFAULT_RETURN.
8591
8592 2014-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_remove_fork_catchpoint.
8597 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8598 TARGET_DEFAULT_RETURN.
8599
8600 2014-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_insert_fork_catchpoint.
8605 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8606 TARGET_DEFAULT_RETURN.
8607
8608 2014-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_post_startup_inferior.
8613 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8614 TARGET_DEFAULT_IGNORE.
8615
8616 2014-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_load.
8621 * target.h (struct target_ops) <to_load>: Use
8622 TARGET_DEFAULT_NORETURN.
8623
8624 2014-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_info.
8629 * target.h (struct target_ops) <to_terminal_info>: Use
8630 TARGET_DEFAULT_FUNC.
8631
8632 2014-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_terminal_save_ours.
8637 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8638 TARGET_DEFAULT_IGNORE.
8639
8640 2014-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_terminal_ours.
8645 * target.h (struct target_ops) <to_terminal_ours>: Use
8646 TARGET_DEFAULT_IGNORE.
8647
8648 2014-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_terminal_ours_for_output.
8653 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8654 TARGET_DEFAULT_IGNORE.
8655
8656 2014-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_terminal_inferior.
8661 * target.h (struct target_ops) <to_terminal_inferior>: Use
8662 TARGET_DEFAULT_IGNORE.
8663
8664 2014-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_terminal_init.
8669 * target.h (struct target_ops) <to_terminal_init>: Use
8670 TARGET_DEFAULT_IGNORE.
8671
8672 2014-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_can_accel_watchpoint_condition.
8677 * target.h (struct target_ops)
8678 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8679
8680 2014-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_region_ok_for_hw_watchpoint.
8685 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8686 Use TARGET_DEFAULT_FUNC.
8687
8688 2014-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_watchpoint_addr_within_range.
8693 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8694 Use TARGET_DEFAULT_FUNC.
8695
8696 2014-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_remove_watchpoint.
8701 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8702 TARGET_DEFAULT_NORETURN.
8703
8704 2014-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_insert_watchpoint.
8709 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8710 TARGET_DEFAULT_RETURN.
8711
8712 2014-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_remove_hw_breakpoint.
8717 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8718 TARGET_DEFAULT_RETURN.
8719
8720 2014-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_insert_hw_breakpoint.
8725 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8726 TARGET_DEFAULT_RETURN.
8727
8728 2014-02-19 Tom Tromey <tromey@redhat.com>
8729
8730 * target-delegates.c: Rebuild.
8731 * target.c (update_current_target): Don't inherit or default
8732 to_can_use_hw_breakpoint.
8733 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8734 TARGET_DEFAULT_RETURN.
8735
8736 2014-02-19 Tom Tromey <tromey@redhat.com>
8737
8738 * target-delegates.c: Rebuild.
8739 * target.c (update_current_target): Don't inherit or default
8740 to_files_info.
8741 * target.h (struct target_ops) <to_files_info>: Use
8742 TARGET_DEFAULT_IGNORE.
8743
8744 2014-02-19 Tom Tromey <tromey@redhat.com>
8745
8746 * target-delegates.c: Rebuild.
8747 * target.c (update_current_target): Don't inherit or default
8748 to_store.
8749 * target.h (struct target_ops) <to_store>: Use
8750 TARGET_DEFAULT_NORETURN.
8751
8752 2014-02-19 Tom Tromey <tromey@redhat.com>
8753
8754 * target-delegates.c: Rebuild.
8755 * target.c (update_current_target): Don't inherit or default
8756 to_post_attach.
8757 * target.h (struct target_ops) <to_post_attach>: Use
8758 TARGET_DEFAULT_IGNORE.
8759
8760 2014-02-19 Tom Tromey <tromey@redhat.com>
8761
8762 * target-delegates.c: Rebuild.
8763 * target.c (update_current_target): Don't inherit or default
8764 to_rcmd.
8765 (default_rcmd): New function.
8766 (do_monitor_command): Unconditionally delegate.
8767 * target.h (struct target_ops) <to_rmcd>: Use
8768 TARGET_DEFAULT_FUNC.
8769
8770 2014-02-19 Tom Tromey <tromey@redhat.com>
8771
8772 * target-delegates.c: Rebuild.
8773 * target.c (init_dummy_target): Don't initialize to_attach.
8774 (target_attach): Unconditionally delegate.
8775 * target.h (struct target_ops) <to_attach>: Use
8776 TARGET_DEFAULT_FUNC.
8777
8778 2014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target-delegates.c: Rebuild.
8781 * target.c (target_detach): Unconditionally delegate.
8782 (init_dummy_target): Don't initialize to_detach.
8783 * target.h (struct target_ops) <to_detach>: Use
8784 TARGET_DEFAULT_IGNORE.
8785
8786 2014-02-19 Tom Tromey <tromey@redhat.com>
8787
8788 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8789 Add argument.
8790 (target_augmented_libraries_svr4_read): Add argument.
8791 * target.c (update_current_target): Update.
8792 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8793 argument.
8794
8795 2014-02-19 Tom Tromey <tromey@redhat.com>
8796
8797 * target.h (struct target_ops) <to_call_history_range>: Add
8798 argument.
8799 * target.c (target_call_history_range): Add argument.
8800 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8801 argument.
8802 (record_btrace_call_history_from): Update.
8803
8804 2014-02-19 Tom Tromey <tromey@redhat.com>
8805
8806 * target.h (struct target_ops) <to_call_history_from>: Add
8807 argument.
8808 * target.c (target_call_history_from): Add argument.
8809 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8810 argument.
8811
8812 2014-02-19 Tom Tromey <tromey@redhat.com>
8813
8814 * target.h (struct target_ops) <to_call_history>: Add argument.
8815 * target.c (target_call_history): Add argument.
8816 * record-btrace.c (record_btrace_call_history): Add 'self'
8817 argument.
8818
8819 2014-02-19 Tom Tromey <tromey@redhat.com>
8820
8821 * target.h (struct target_ops) <to_insn_history_range>: Add
8822 argument.
8823 * target.c (target_insn_history_range): Add argument.
8824 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8825 argument.
8826 (record_btrace_insn_history_from): Update.
8827
8828 2014-02-19 Tom Tromey <tromey@redhat.com>
8829
8830 * target.h (struct target_ops) <to_insn_history_from>: Add
8831 argument.
8832 * target.c (target_insn_history_from): Add argument.
8833 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8834 argument.
8835
8836 2014-02-19 Tom Tromey <tromey@redhat.com>
8837
8838 * target.h (struct target_ops) <to_insn_history>: Add argument.
8839 * target.c (target_insn_history): Add argument.
8840 * record-btrace.c (record_btrace_insn_history): Add 'self'
8841 argument.
8842
8843 2014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_goto_record>: Add argument.
8846 * target.c (target_goto_record): Add argument.
8847 * record-full.c (record_full_goto): Add 'self' argument.
8848 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8849
8850 2014-02-19 Tom Tromey <tromey@redhat.com>
8851
8852 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8853 * target.c (target_goto_record_end): Add argument.
8854 * record-full.c (record_full_goto_end): Add 'self' argument.
8855 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8856
8857 2014-02-19 Tom Tromey <tromey@redhat.com>
8858
8859 * target.h (struct target_ops) <to_goto_record_begin>: Add
8860 argument.
8861 * target.c (target_goto_record_begin): Add argument.
8862 * record-full.c (record_full_goto_begin): Add 'self' argument.
8863 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8864 argument.
8865
8866 2014-02-19 Tom Tromey <tromey@redhat.com>
8867
8868 * target.h (struct target_ops) <to_record_is_replaying>: Add
8869 argument.
8870 * target.c (target_record_is_replaying): Add argument.
8871 * record-full.c (record_full_is_replaying): Add 'self' argument.
8872 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8873 argument.
8874 (record_btrace_xfer_partial, record_btrace_store_registers)
8875 (record_btrace_prepare_to_store, record_btrace_resume)
8876 (record_btrace_wait, record_btrace_decr_pc_after_break)
8877 (record_btrace_find_new_threads, record_btrace_thread_alive):
8878 Update.
8879
8880 2014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target.h (struct target_ops) <to_delete_record>: Add argument.
8883 * target.c (target_delete_record): Add argument.
8884 * record-full.c (record_full_delete): Add 'self' argument.
8885
8886 2014-02-19 Tom Tromey <tromey@redhat.com>
8887
8888 * target.h (struct target_ops) <to_save_record>: Add argument.
8889 * target.c (target_save_record): Add argument.
8890 * record-full.c (record_full_save): Add 'self' argument.
8891 (record_full_save): Add 'self' argument.
8892
8893 2014-02-19 Tom Tromey <tromey@redhat.com>
8894
8895 * target.h (struct target_ops) <to_info_record>: Add argument.
8896 * target.c (target_info_record): Add argument.
8897 * record.c (info_record_command): Add argument.
8898 * record-full.c (record_full_info): Add 'self' argument.
8899 * record-btrace.c (record_btrace_info): Add 'self' argument.
8900
8901 2014-02-19 Tom Tromey <tromey@redhat.com>
8902
8903 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8904 * target.c (target_stop_recording): Add argument.
8905 * record.c (record_stop): Add argument.
8906 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8907 argument.
8908
8909 2014-02-19 Tom Tromey <tromey@redhat.com>
8910
8911 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8912 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8913 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8914 argument.
8915 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8916 (_initialize_amd64_linux_nat): Use it.
8917 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8918 (_initialize_i386_linux_nat): Use it.
8919
8920 2014-02-19 Tom Tromey <tromey@redhat.com>
8921
8922 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8923 * target.c (target_teardown_btrace): Add argument.
8924 * remote.c (remote_teardown_btrace): Add 'self' argument.
8925 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8926 argument.
8927 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8928 argument.
8929
8930 2014-02-19 Tom Tromey <tromey@redhat.com>
8931
8932 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8933 * target.c (target_disable_btrace): Add argument.
8934 * remote.c (remote_disable_btrace): Add 'self' argument.
8935 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8936 argument.
8937 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8938 argument.
8939
8940 2014-02-19 Tom Tromey <tromey@redhat.com>
8941
8942 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8943 * target.c (target_enable_btrace): Add argument.
8944 * remote.c (remote_enable_btrace): Add 'self' argument.
8945 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8946 argument.
8947 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8948 argument.
8949
8950 2014-02-19 Tom Tromey <tromey@redhat.com>
8951
8952 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8953 (target_can_use_agent): Add argument.
8954 * target.c (update_current_target): Update.
8955 * remote.c (remote_can_use_agent): Add 'self' argument.
8956 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8957
8958 2014-02-19 Tom Tromey <tromey@redhat.com>
8959
8960 * target.h (struct target_ops) <to_use_agent>: Add argument.
8961 (target_use_agent): Add argument.
8962 * target.c (update_current_target): Update.
8963 * remote.c (remote_use_agent): Add 'self' argument.
8964 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8965
8966 2014-02-19 Tom Tromey <tromey@redhat.com>
8967
8968 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8969 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8970 (target_traceframe_info): Add argument.
8971 * target.c (update_current_target): Update.
8972 * remote.c (remote_traceframe_info): Add 'self' argument.
8973 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8974
8975 2014-02-19 Tom Tromey <tromey@redhat.com>
8976
8977 * target.h (target_static_tracepoint_markers_by_strid): Add
8978 argument.
8979 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8980 'self' argument.
8981 * target.c (update_current_target): Update.
8982 * remote.c (struct target_ops)
8983 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8984 * linux-nat.c (struct target_ops)
8985 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8986
8987 2014-02-19 Tom Tromey <tromey@redhat.com>
8988
8989 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8990 Add argument.
8991 (target_static_tracepoint_marker_at): Add argument.
8992 * target.c (update_current_target): Update.
8993 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8994 argument.
8995
8996 2014-02-19 Tom Tromey <tromey@redhat.com>
8997
8998 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8999 (target_set_permissions): Add argument.
9000 * target.c (update_current_target): Update.
9001 * remote.c (remote_set_permissions): Add 'self' argument.
9002 (remote_start_remote): Update.
9003
9004 2014-02-19 Tom Tromey <tromey@redhat.com>
9005
9006 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9007 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9008 (target_get_tib_address): Add argument.
9009 * target.c (update_current_target): Update.
9010 * remote.c (remote_get_tib_address): Add 'self' argument.
9011
9012 2014-02-19 Tom Tromey <tromey@redhat.com>
9013
9014 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9015 (target_set_trace_notes): Add argument.
9016 * target.c (update_current_target): Update.
9017 * remote.c (remote_set_trace_notes): Add 'self' argument.
9018
9019 2014-02-19 Tom Tromey <tromey@redhat.com>
9020
9021 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9022 argument.
9023 (target_set_trace_buffer_size): Add argument.
9024 * target.c (update_current_target): Update.
9025 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9026
9027 2014-02-19 Tom Tromey <tromey@redhat.com>
9028
9029 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9030 argument.
9031 (target_set_circular_trace_buffer): Add argument.
9032 * target.c (update_current_target): Update.
9033 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9034 argument.
9035
9036 2014-02-19 Tom Tromey <tromey@redhat.com>
9037
9038 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9039 argument.
9040 (target_set_disconnected_tracing): Add argument.
9041 * target.c (update_current_target): Update.
9042 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9043
9044 2014-02-19 Tom Tromey <tromey@redhat.com>
9045
9046 * target.h (struct target_ops)
9047 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9048 (target_get_min_fast_tracepoint_insn_len): Add argument.
9049 * target.c (update_current_target): Update.
9050 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9051 argument.
9052
9053 2014-02-19 Tom Tromey <tromey@redhat.com>
9054
9055 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9056 argument.
9057 (target_get_raw_trace_data): Add argument.
9058 * target.c (update_current_target): Update.
9059 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9060
9061 2014-02-19 Tom Tromey <tromey@redhat.com>
9062
9063 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9064 Add argument.
9065 (target_upload_trace_state_variables): Add argument.
9066 * target.c (update_current_target): Update.
9067 * remote.c (remote_upload_trace_state_variables): Add 'self'
9068 argument.
9069 (remote_start_remote): Update.
9070
9071 2014-02-19 Tom Tromey <tromey@redhat.com>
9072
9073 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9074 argument.
9075 (target_upload_tracepoints): Add argument.
9076 * target.c (update_current_target): Update.
9077 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9078 (remote_start_remote): Update.
9079
9080 2014-02-19 Tom Tromey <tromey@redhat.com>
9081
9082 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9083 (target_save_trace_data): Add argument.
9084 * target.c (update_current_target): Update.
9085 * remote.c (remote_save_trace_data): Add 'self' argument.
9086
9087 2014-02-19 Tom Tromey <tromey@redhat.com>
9088
9089 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9090 argument.
9091 * target.h (struct target_ops)
9092 <to_get_trace_state_variable_value>: Add argument.
9093 (target_get_trace_state_variable_value): Add argument.
9094 * target.c (update_current_target): Update.
9095 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9096 argument.
9097 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9098
9099 2014-02-19 Tom Tromey <tromey@redhat.com>
9100
9101 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9102 * target.h (struct target_ops) <to_trace_find>: Add argument.
9103 (target_trace_find): Add argument.
9104 * target.c (update_current_target): Update.
9105 * remote.c (remote_trace_find): Add 'self' argument.
9106 * ctf.c (ctf_trace_find): Add 'self' argument.
9107
9108 2014-02-19 Tom Tromey <tromey@redhat.com>
9109
9110 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9111 (target_trace_stop): Add argument.
9112 * target.c (update_current_target): Update.
9113 * remote.c (remote_trace_stop): Add 'self' argument.
9114
9115 2014-02-19 Tom Tromey <tromey@redhat.com>
9116
9117 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9118 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9119 argument.
9120 (target_get_tracepoint_status): Add argument.
9121 * target.c (update_current_target): Update.
9122 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9123
9124 2014-02-19 Tom Tromey <tromey@redhat.com>
9125
9126 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9127 * target.h (struct target_ops) <to_get_trace_status>: Add
9128 argument.
9129 (target_get_trace_status): Add argument.
9130 * target.c (update_current_target): Update.
9131 * remote.c (remote_get_trace_status): Add 'self' argument.
9132 (remote_start_remote, remote_can_download_tracepoint): Update.
9133 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9134
9135 2014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target.h (struct target_ops) <to_trace_start>: Add argument.
9138 (target_trace_start): Add argument.
9139 * target.c (update_current_target): Update.
9140 * remote.c (remote_trace_start): Add 'self' argument.
9141
9142 2014-02-19 Tom Tromey <tromey@redhat.com>
9143
9144 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9145 Add argument.
9146 (target_trace_set_readonly_regions): Add argument.
9147 * target.c (update_current_target): Update.
9148 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9149 argument.
9150
9151 2014-02-19 Tom Tromey <tromey@redhat.com>
9152
9153 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9154 argument.
9155 (target_disable_tracepoint): Add argument.
9156 * target.c (update_current_target): Update.
9157 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9158
9159 2014-02-19 Tom Tromey <tromey@redhat.com>
9160
9161 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9162 argument.
9163 (target_enable_tracepoint): Add argument.
9164 * target.c (update_current_target): Update.
9165 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9166
9167 2014-02-19 Tom Tromey <tromey@redhat.com>
9168
9169 * target.h (struct target_ops) <to_download_trace_state_variable>:
9170 Add argument.
9171 (target_download_trace_state_variable): Add argument.
9172 * target.c (update_current_target): Update.
9173 * remote.c (remote_download_trace_state_variable): Add 'self'
9174 argument.
9175
9176 2014-02-19 Tom Tromey <tromey@redhat.com>
9177
9178 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9179 argument.
9180 (target_can_download_tracepoint): Add argument.
9181 * target.c (update_current_target): Update.
9182 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9183
9184 2014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target.h (struct target_ops) <to_download_tracepoint>: Add
9187 argument.
9188 (target_download_tracepoint): Add argument.
9189 * target.c (update_current_target): Update.
9190 * remote.c (remote_download_tracepoint): Add 'self' argument.
9191
9192 2014-02-19 Tom Tromey <tromey@redhat.com>
9193
9194 * target.h (struct target_ops) <to_trace_init>: Add argument.
9195 (target_trace_init): Add argument.
9196 * target.c (update_current_target): Update.
9197 * remote.c (remote_trace_init): Add 'self' argument.
9198
9199 2014-02-19 Tom Tromey <tromey@redhat.com>
9200
9201 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9202 * target.c (target_fileio_readlink): Add argument.
9203 * remote.c (remote_hostio_readlink): Add 'self' argument.
9204 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9205
9206 2014-02-19 Tom Tromey <tromey@redhat.com>
9207
9208 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9209 * target.c (target_fileio_unlink): Add argument.
9210 * remote.c (remote_hostio_unlink): Add 'self' argument.
9211 (remote_file_delete): Update.
9212 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9213
9214 2014-02-19 Tom Tromey <tromey@redhat.com>
9215
9216 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9217 * target.c (target_fileio_close): Add argument.
9218 * remote.c (remote_hostio_close): Add 'self' argument.
9219 (remote_hostio_close_cleanup): Update.
9220 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9221 Update.
9222 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9223
9224 2014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9227 * target.c (target_fileio_pread): Add argument.
9228 * remote.c (remote_hostio_pread): Add 'self' argument.
9229 (remote_bfd_iovec_pread, remote_file_get): Update.
9230 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9231
9232 2014-02-19 Tom Tromey <tromey@redhat.com>
9233
9234 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9235 * target.c (target_fileio_pwrite): Add argument.
9236 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9237 (remote_file_put): Update.
9238 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9239
9240 2014-02-19 Tom Tromey <tromey@redhat.com>
9241
9242 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9243 * target.c (target_fileio_open): Add argument.
9244 * remote.c (remote_hostio_open): Add 'self' argument.
9245 (remote_bfd_iovec_open): Add 'self' argument.
9246 (remote_file_put): Add 'self' argument.
9247 (remote_file_get): Add 'self' argument.
9248 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9249
9250 2014-02-19 Tom Tromey <tromey@redhat.com>
9251
9252 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9253 Add argument.
9254 (target_can_run_breakpoint_commands): Add argument.
9255 * target.c (update_current_target): Update.
9256 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9257 argument.
9258 (remote_insert_breakpoint): Add 'self' argument.
9259 (remote_insert_hw_breakpoint): Add 'self' argument.
9260 (remote_can_run_breakpoint_commands): Add 'self' argument.
9261
9262 2014-02-19 Tom Tromey <tromey@redhat.com>
9263
9264 * target.h (struct target_ops)
9265 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9266 (target_supports_evaluation_of_breakpoint_conditions): Add
9267 argument.
9268 * target.c (update_current_target): Update.
9269 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9270 argument.
9271 (remote_insert_breakpoint): Add 'self' argument.
9272 (remote_insert_hw_breakpoint): Add 'self' argument.
9273 (remote_supports_cond_breakpoints): Add 'self' argument.
9274
9275 2014-02-19 Tom Tromey <tromey@redhat.com>
9276
9277 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9278 argument.
9279 (target_supports_string_tracing): Add argument.
9280 * target.c (update_current_target): Update.
9281 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9282
9283 2014-02-19 Tom Tromey <tromey@redhat.com>
9284
9285 * target.h (struct target_ops)
9286 <to_supports_disable_randomization>: Add argument.
9287 * target.c (find_default_supports_disable_randomization): Add
9288 argument.
9289 (target_supports_disable_randomization): Add argument.
9290 (find_default_supports_disable_randomization): Add 'self'
9291 argument.
9292 * remote.c (extended_remote_supports_disable_randomization): Add
9293 'self' argument.
9294 (remote_supports_disable_randomization): Add 'self' argument.
9295 (extended_remote_create_inferior): Update.
9296 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9297 'self' argument.
9298
9299 2014-02-19 Tom Tromey <tromey@redhat.com>
9300
9301 * target.h (struct target_ops)
9302 <to_supports_enable_disable_tracepoint>: Add argument.
9303 (target_supports_enable_disable_tracepoint): Add argument.
9304 * target.c (update_current_target): Update.
9305 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9306 argument.
9307
9308 2014-02-19 Tom Tromey <tromey@redhat.com>
9309
9310 * target.h (struct target_ops) <to_supports_multi_process>: Add
9311 argument.
9312 (target_supports_multi_process): Add argument.
9313 * target.c (update_current_target): Update.
9314 * remote.c (remote_supports_multi_process): Add 'self' argument.
9315 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9316 argument.
9317 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9318 argument.
9319
9320 2014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * target.h (struct target_ops) <to_execution_direction>: Add
9323 argument.
9324 (target_execution_direction): Add argument.
9325 * target.c (default_execution_direction): Add 'self' argument.
9326 * record-full.c (record_full_execution_direction): Add 'self'
9327 argument.
9328
9329 2014-02-19 Tom Tromey <tromey@redhat.com>
9330
9331 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9332 argument.
9333 (target_can_execute_reverse): Add argument.
9334 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9335 * record-full.c (record_full_can_execute_reverse): Add 'self'
9336 argument.
9337 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9338 argument.
9339
9340 2014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9343 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9344 argument.
9345 (target_get_ada_task_ptid): Add argument.
9346 * target.c (update_current_target): Update.
9347 (default_get_ada_task_ptid): Add 'self' argument.
9348 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9349 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9350 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9351 argument.
9352 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9353 argument.
9354 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9355 argument.
9356 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9357 argument.
9358 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9359 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9360 argument.
9361
9362 2014-02-19 Tom Tromey <tromey@redhat.com>
9363
9364 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9365 (target_goto_bookmark): Add argument.
9366 * target.c (dummy_goto_bookmark): Add 'self' argument.
9367 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9368
9369 2014-02-19 Tom Tromey <tromey@redhat.com>
9370
9371 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9372 (target_get_bookmark): Add argument.
9373 * target.c (dummy_get_bookmark): Add 'self' argument.
9374 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9375
9376 2014-02-19 Tom Tromey <tromey@redhat.com>
9377
9378 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9379 argument.
9380 (target_make_corefile_notes): Add argument.
9381 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9382 * procfs.c (procfs_make_note_section): Add 'self' argument.
9383 (procfs_make_note_section): Add 'self' argument.
9384 (procfs_make_note_section): Add 'self' argument.
9385 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9386 argument.
9387 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9388 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9389 * exec.c (exec_make_note_section): Add 'self' argument.
9390 (exec_make_note_section): Add 'self' argument.
9391
9392 2014-02-19 Tom Tromey <tromey@redhat.com>
9393
9394 * target.h (struct target_ops) <to_find_memory_regions>: Add
9395 argument.
9396 (target_find_memory_regions): Add argument.
9397 * target.c (dummy_find_memory_regions): Add 'self' argument.
9398 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9399 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9400 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9401 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9402 * exec. (exec_do_find_memory_regions): New global.
9403 (exec_set_find_memory_regions): Rewrite.
9404 (exec_find_memory_regions): New function.
9405 (init_exec_ops): Use exec_find_memory_regions.
9406
9407 2014-02-19 Tom Tromey <tromey@redhat.com>
9408
9409 * target.h (struct target_ops) <to_supports_non_stop>: Add
9410 argument.
9411 * target.c (find_default_supports_non_stop): Add argument.
9412 (target_supports_non_stop): Add argument.
9413 (find_default_supports_non_stop): Add 'self' argument.
9414 * remote.c (remote_supports_non_stop): Add 'self' argument.
9415 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9416
9417 2014-02-19 Tom Tromey <tromey@redhat.com>
9418
9419 * target.h (struct target_ops) <to_log_command>: Add argument.
9420 (target_log_command): Add argument.
9421 * serial.h (serial_log_command): Add 'self' argument.
9422 * serial.c (serial_log_command): Add 'self' argument.
9423
9424 2014-02-19 Tom Tromey <tromey@redhat.com>
9425
9426 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9427 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9428 argument.
9429 (target_pid_to_exec_file): Add argument.
9430 * target.c (debug_to_pid_to_exec_file): Add argument.
9431 (update_current_target): Update.
9432 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9433 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9434 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9435 (linux_handle_extended_wait): Update.
9436 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9437 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9438 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9439 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9440
9441 2014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * target.h (struct target_ops) <to_rcmd>: Add argument.
9444 (target_rcmd): Add argument.
9445 * target.c (debug_to_rcmd): Add argument.
9446 (update_current_target, do_monitor_command): Update.
9447 * remote.c (remote_rcmd): Add 'self' argument.
9448 * monitor.c (monitor_rcmd): Add 'self' argument.
9449
9450 2014-02-19 Tom Tromey <tromey@redhat.com>
9451
9452 * windows-nat.c (windows_stop): Add 'self' argument.
9453 * target.h (struct target_ops) <to_stop>: Add argument.
9454 * target.c (target_stop): Add argument.
9455 (debug_to_stop): Add argument.
9456 (update_current_target): Update.
9457 * remote.c (remote_stop): Add 'self' argument.
9458 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9459 (gdbsim_cntrl_c): Update.
9460 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9461 * procfs.c (procfs_stop): Add 'self' argument.
9462 * nto-procfs.c (procfs_stop): Add 'self' argument.
9463 * monitor.c (monitor_stop): Add 'self' argument.
9464 (monitor_open): Update.
9465 * linux-nat.c (linux_nat_stop): Add argument.
9466 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9467 * gnu-nat.c (gnu_stop): Add 'self' argument.
9468 * darwin-nat.c (darwin_stop): Add 'self' argument.
9469
9470 2014-02-19 Tom Tromey <tromey@redhat.com>
9471
9472 * target.h (struct target_ops) <to_thread_name>: Add argument.
9473 * target.c (target_thread_name): Add argument.
9474 (update_current_target): Update.
9475 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9476
9477 2014-02-19 Tom Tromey <tromey@redhat.com>
9478
9479 * target.h (struct target_ops) <to_extra_thread_info>: Add
9480 argument.
9481 (target_extra_thread_info): Add argument.
9482 * target.c (update_current_target): Update.
9483 * remote.c (remote_threads_extra_info): Add 'self' argument.
9484 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9485 argument.
9486 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9487 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9488 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9489 argument.
9490 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9491 argument.
9492 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9493 argument.
9494 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9495 argument.
9496
9497 2014-02-19 Tom Tromey <tromey@redhat.com>
9498
9499 * target.h (struct target_ops) <to_program_signals>: Add argument.
9500 * target.c (target_program_signals): Add argument.
9501 * remote.c (remote_program_signals): Add 'self' argument.
9502
9503 2014-02-19 Tom Tromey <tromey@redhat.com>
9504
9505 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9506 * target.c (target_pass_signals): Add argument.
9507 * remote.c (remote_pass_signals): Add 'self' argument.
9508 (remote_start_remote): Update.
9509 * procfs.c (procfs_pass_signals): Add 'self' argument.
9510 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9511 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9512 (linux_nat_create_inferior, linux_nat_attach): Update.
9513
9514 2014-02-19 Tom Tromey <tromey@redhat.com>
9515
9516 * windows-nat.c (windows_can_run): Add 'self' argument.
9517 * target.h (struct target_ops) <to_can_run>: Add argument.
9518 (target_can_run): Add argument.
9519 * target.c (debug_to_can_run): Add argument.
9520 (update_current_target): Update.
9521 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9522 * inf-child.c (inf_child_can_run): Add 'self' argument.
9523 * go32-nat.c (go32_can_run): Add 'self' argument.
9524
9525 2014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * target.h (struct target_ops) <to_has_exited>: Add argument.
9528 (target_has_exited): Add argument.
9529 * target.c (debug_to_has_exited): Add argument.
9530 (update_current_target): Update.
9531
9532 2014-02-19 Tom Tromey <tromey@redhat.com>
9533
9534 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9535 argument.
9536 (target_set_syscall_catchpoint): Add argument.
9537 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9538 argument.
9539 * target.c (update_current_target): Update.
9540
9541 2014-02-19 Tom Tromey <tromey@redhat.com>
9542
9543 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9544 argument.
9545 (target_remove_exec_catchpoint): Add argument.
9546 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9547 (update_current_target): Update.
9548 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9549 argument.
9550
9551 2014-02-19 Tom Tromey <tromey@redhat.com>
9552
9553 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9554 argument.
9555 (target_insert_exec_catchpoint): Add argument.
9556 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9557 (update_current_target): Update.
9558 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9559 argument.
9560
9561 2014-02-19 Tom Tromey <tromey@redhat.com>
9562
9563 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9564 argument.
9565 (target_remove_vfork_catchpoint): Add argument.
9566 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9567 (update_current_target): Update.
9568 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9569 argument.
9570
9571 2014-02-19 Tom Tromey <tromey@redhat.com>
9572
9573 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9574 argument.
9575 (target_insert_vfork_catchpoint): Add argument.
9576 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9577 (update_current_target): Update.
9578 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9579 argument.
9580
9581 2014-02-19 Tom Tromey <tromey@redhat.com>
9582
9583 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9584 argument.
9585 (target_remove_fork_catchpoint): Add argument.
9586 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9587 (update_current_target): Update.
9588 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9589 argument.
9590
9591 2014-02-19 Tom Tromey <tromey@redhat.com>
9592
9593 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9594 argument.
9595 (target_insert_fork_catchpoint): Add argument.
9596 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9597 (update_current_target): Update.
9598 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9599 argument.
9600
9601 2014-02-19 Tom Tromey <tromey@redhat.com>
9602
9603 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9604 argument.
9605 (target_post_startup_inferior): Add argument.
9606 * target.c (debug_to_post_startup_inferior): Add argument.
9607 (update_current_target): Update.
9608 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9609 argument.
9610 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9611 argument.
9612 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9613 argument.
9614 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9615 argument.
9616 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9617 'self' argument.
9618 (super_post_startup_inferior): Likewise.
9619 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9620 'self' argument.
9621 (super_post_startup_inferior): Likewise.
9622 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9623 Add 'self' argument.
9624 (super_post_startup_inferior): Likewise.
9625
9626 2014-02-19 Tom Tromey <tromey@redhat.com>
9627
9628 * target.h (struct target_ops) <to_load>: Add argument.
9629 * target.c (target_load): Add argument.
9630 (debug_to_load): Add argument.
9631 (update_current_target): Update.
9632 * remote.c (remote_load): Add 'self' argument.
9633 * remote-sim.c (gdbsim_load): Add 'self' argument.
9634 * remote-mips.c (mips_load): Add 'self' argument.
9635 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9636 * monitor.c (monitor_load): Add 'self' argument.
9637 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9638
9639 2014-02-19 Tom Tromey <tromey@redhat.com>
9640
9641 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9642 (target_terminal_info): Add argument.
9643 * target.c (debug_to_terminal_info): Add argument.
9644 (default_terminal_info): Likewise.
9645 * inflow.c (child_terminal_info): Add 'self' argument.
9646 * inferior.h (child_terminal_info): Add 'self' argument.
9647 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9648
9649 2014-02-19 Tom Tromey <tromey@redhat.com>
9650
9651 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9652 argument.
9653 (target_terminal_save_ours): Add argument.
9654 * target.c (debug_to_terminal_save_ours): Add argument.
9655 (update_current_target): Update.
9656 * inflow.c (terminal_save_ours): Add 'self' argument.
9657 * inferior.h (terminal_save_ours): Add 'self' argument.
9658
9659 2014-02-19 Tom Tromey <tromey@redhat.com>
9660
9661 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9662 (target_terminal_ours): Add argument.
9663 * target.c (debug_to_terminal_ours): Add argument.
9664 (update_current_target): Update.
9665 * remote.c (remote_terminal_ours): Add 'self' argument.
9666 (remote_close): Update.
9667 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9668 * inflow.c (terminal_ours): Add 'self' argument.
9669 * inferior.h (terminal_ours): Add 'self' argument.
9670 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9671
9672 2014-02-19 Pedro Alves <palves@redhat.com>
9673 Tom Tromey <tromey@redhat.com>
9674
9675 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9676 argument.
9677 (target_terminal_ours_for_output): Add argument.
9678 * target.c (debug_to_terminal_ours_for_output): Add argument.
9679 (update_current_target): Update.
9680 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9681 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9682 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9683
9684 2014-02-19 Tom Tromey <tromey@redhat.com>
9685
9686 * target.h (struct target_ops) <to_terminal_inferior>: Add
9687 argument.
9688 * target.c (target_terminal_inferior): Add argument.
9689 (update_current_target): Update.
9690 * remote.c (remote_terminal_inferior): Add 'self' argument.
9691 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9692 * inflow.c (terminal_inferior): Add 'self' argument.
9693 * inferior.h (terminal_inferior): Add 'self' argument.
9694 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9695 (go32_terminal_inferior): Add 'self' argument.
9696
9697 2014-02-19 Tom Tromey <tromey@redhat.com>
9698
9699 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9700 (target_terminal_init): Add argument.
9701 * target.c (debug_to_terminal_init): Add argument.
9702 (update_current_target): Update.
9703 * inflow.c (terminal_init_inferior): Add 'self' argument.
9704 * inferior.h (terminal_init_inferior): Add 'self' argument.
9705 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9706 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9707
9708 2014-02-19 Tom Tromey <tromey@redhat.com>
9709
9710 * target.h (struct target_ops)
9711 <to_can_accel_watchpoint_condition>: Add argument.
9712 (target_can_accel_watchpoint_condition): Add argument.
9713 * target.c (debug_to_can_accel_watchpoint_condition): Add
9714 argument.
9715 (update_current_target): Update.
9716 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9717 'self' argument.
9718
9719 2014-02-19 Tom Tromey <tromey@redhat.com>
9720
9721 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9722 Add argument.
9723 (target_region_ok_for_hw_watchpoint): Add argument.
9724 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9725 (default_region_ok_for_hw_watchpoint): Add argument.
9726 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9727 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9728 argument.
9729 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9730 argument.
9731 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9732 argument.
9733 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9734 'self' argument.
9735 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9736 'self' argument.
9737 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9738 'self' argument.
9739 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9740 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9741 'self' argument.
9742 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9743 Add 'self' argument.
9744
9745 2014-02-19 Tom Tromey <tromey@redhat.com>
9746
9747 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9748 argument.
9749 (target_insert_watchpoint): Add argument.
9750 * target.c (debug_to_insert_watchpoint): Add argument.
9751 (update_current_target): Update.
9752 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9753 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9754 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9755 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9756 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9757 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9758 argument.
9759 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9760 (procfs_insert_hw_watchpoint): Add 'self' argument.
9761 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9762 argument.
9763 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9764 argument.
9765 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9766 argument.
9767 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9768 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9769 argument.
9770 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9771 'self' argument.
9772
9773 2014-02-19 Tom Tromey <tromey@redhat.com>
9774
9775 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9776 argument.
9777 (target_remove_watchpoint): Add argument.
9778 * target.c (debug_to_remove_watchpoint): Add argument.
9779 (update_current_target): Update.
9780 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9781 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9782 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9783 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9784 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9785 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9786 argument.
9787 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9788 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9789 argument.
9790 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9791 argument.
9792 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9793 argument.
9794 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9795 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9796 argument.
9797 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9798 'self' argument.
9799
9800 2014-02-19 Tom Tromey <tromey@redhat.com>
9801
9802 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9803 argument.
9804 (target_remove_hw_breakpoint): Add argument.
9805 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9806 (update_current_target): Update.
9807 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9808 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9809 argument.
9810 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9811 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9812 argument.
9813 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9814 'self' argument.
9815
9816 2014-02-19 Tom Tromey <tromey@redhat.com>
9817
9818 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9819 argument.
9820 (target_insert_hw_breakpoint): Add argument.
9821 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9822 (update_current_target): Update.
9823 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9824 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9825 argument.
9826 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9827 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9828 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9829 argument.
9830 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9831 'self' argument.
9832
9833 2014-02-19 Tom Tromey <tromey@redhat.com>
9834
9835 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9836 argument.
9837 (target_can_use_hardware_watchpoint): Add argument.
9838 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9839 (update_current_target): Update.
9840 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9841 argument.
9842 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9843 argument.
9844 * remote.c (remote_check_watch_resources): Add 'self' argument.
9845 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9846 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9847 argument.
9848 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9849 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9850 argument.
9851 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9852 argument.
9853 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9854 argument.
9855 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9856 argument.
9857 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9858 argument.
9859 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9860 argument.
9861 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9862 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9863 argument.
9864 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9865 'self' argument.
9866
9867 2014-02-19 Tom Tromey <tromey@redhat.com>
9868
9869 * target.h (struct target_ops) <to_post_attach>: Add argument.
9870 (target_post_attach): Add argument.
9871 * target.c (debug_to_post_attach): Add argument.
9872 (update_current_target): Update.
9873 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9874 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9875 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9876 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9877 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9878
9879 2014-02-19 Tom Tromey <tromey@redhat.com>
9880
9881 * windows-nat.c (windows_close): Add 'self' argument.
9882 * tracepoint.c (tfile_close): Add 'self' argument.
9883 * target.h (struct target_ops) <to_close>: Add argument.
9884 * target.c (target_close): Add argument.
9885 (update_current_target): Update.
9886 * remote.c (remote_close): Add 'self' argument.
9887 * remote-sim.c (gdbsim_close): Add 'self' argument.
9888 * remote-mips.c (mips_close): Add 'self' argument.
9889 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9890 * record-full.c (record_full_close): Add 'self' argument.
9891 * record-btrace.c (record_btrace_close): Add 'self' argument.
9892 * monitor.h (monitor_close): Add 'self' argument.
9893 * monitor.c (monitor_close): Add 'self' argument.
9894 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9895 * linux-nat.c (linux_nat_close): Add argument.
9896 * go32-nat.c (go32_close): Add 'self' argument.
9897 * exec.c (exec_close_1): Add 'self' argument.
9898 * ctf.c (ctf_close): Add 'self' argument.
9899 * corelow.c (core_close): Add 'self' argument.
9900 (core_close_cleanup): Update.
9901 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9902 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9903
9904 2014-02-19 Tom Tromey <tromey@redhat.com>
9905
9906 * remote.c (remote_load): New function.
9907 (init_remote_ops): Use it.
9908
9909 2014-02-19 Tom Tromey <tromey@redhat.com>
9910
9911 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9912 argument.
9913 * common/linux-btrace.h (linux_supports_btrace): Update.
9914 * remote.c (remote_supports_btrace): Add "self" argument.
9915 * target-delegates.c: Rebuild.
9916 * target.c (target_supports_btrace): Remove.
9917 * target.h (struct target_ops) <to_supports_btrace>: Add
9918 target_ops argument.
9919 (target_supports_btrace): New define.
9920
9921 2014-02-19 Tom Tromey <tromey@redhat.com>
9922
9923 * record-full.c (record_full_beneath_to_resume_ops)
9924 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9925 (record_full_beneath_to_wait)
9926 (record_full_beneath_to_store_registers_ops)
9927 (record_full_beneath_to_store_registers)
9928 (record_full_beneath_to_xfer_partial_ops)
9929 (record_full_beneath_to_xfer_partial)
9930 (record_full_beneath_to_insert_breakpoint_ops)
9931 (record_full_beneath_to_insert_breakpoint)
9932 (record_full_beneath_to_remove_breakpoint_ops)
9933 (record_full_beneath_to_remove_breakpoint)
9934 (record_full_beneath_to_stopped_by_watchpoint)
9935 (record_full_beneath_to_stopped_data_address)
9936 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9937 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9938 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9939 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9940 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9941 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9942 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9943 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9944 (record_full_resume, record_full_wait_1)
9945 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9946 (record_full_store_registers, record_full_xfer_partial)
9947 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9948 (record_full_async, record_full_core_xfer_partial): Use target
9949 delegation.
9950 * target-delegates.c: Rebuild.
9951 * target.c (current_xfer_partial): Remove.
9952 (update_current_target): Do not INHERIT or de_fault
9953 to_insert_breakpoint, to_remove_breakpoint,
9954 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9955 to_is_async_p, to_async. Do not set to_xfer_partial field.
9956 (default_xfer_partial): Simplify.
9957 (current_xfer_partial): Remove.
9958 (target_wait, target_resume): Simplify.
9959 (find_default_can_async_p, find_default_is_async_p): Update.
9960 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9961 to_xfer_partial, to_stopped_by_watchpoint,
9962 to_stopped_data_address.
9963 (target_store_registers): Simplify.
9964 (forward_target_remove_breakpoint)
9965 (forward_target_insert_breakpoint): Remove.
9966 (target_remove_breakpoint, target_insert_breakpoint)
9967 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9968 * target.h (struct target_ops) <to_resume, to_wait,
9969 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9970 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9971 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9972 markup.
9973 (forward_target_remove_breakpoint)
9974 (forward_target_insert_breakpoint): Remove.
9975 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9976 directly.
9977 (record_btrace_insert_breakpoint): Delegate directly.
9978
9979 2014-02-19 Tom Tromey <tromey@redhat.com>
9980
9981 PR build/7701:
9982 * target-delegates.c: New file.
9983 * target.c: Include target-delegates.c.
9984 (init_dummy_target): Call install_dummy_methods.
9985 (complete_target_initialization): Call install_delegators.
9986 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9987 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9988 * make-target-delegates: New file.
9989
9990 2014-02-19 Tom Tromey <tromey@redhat.com>
9991
9992 * record.c (find_record_target): Use find_target_at.
9993 * target.c (find_target_at): New function.
9994 * target.h (find_target_at): Declare.
9995
9996 2014-02-19 Tom Tromey <tromey@redhat.com>
9997
9998 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9999 Add 'ops' argument.
10000 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10001 'ops' argument.
10002 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10003 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10004 'ops' argument.
10005 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10006 argument.
10007 * linux-nat.c (save_sigtrap): Update.
10008 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10009 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10010 (linux_nat_close): Update.
10011 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10012 argument.
10013 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10014 argument.
10015 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10016 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10017 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10018 (tmp_to_async): Add 'ops' argument.
10019 (record_full_stopped_by_watchpoint, record_full_async)
10020 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10021 argument.
10022 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10023 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10024 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10025 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10026 (remote_is_async_p, remote_async): Add 'ops' argument.
10027 (remote_stopped_data_address): Update.
10028 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10029 * target.c (update_current_target)
10030 (find_default_can_async_p, find_default_is_async_p): Update.
10031 (init_dummy_target): Update.
10032 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10033 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10034 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10035 (target_can_async_p, target_is_async_p, target_async)
10036 (target_stopped_by_watchpoint): Update.
10037
10038 2014-02-19 Yao Qi <yao@codesourcery.com>
10039
10040 PR gdb/16220
10041 * gdbarch.sh: Remove startup_gdbarch.
10042 * gdbarch.c: Regenerated.
10043 * gdbarch.h: Likewise.
10044
10045 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10046
10047 * rl78-tdep.c (rl78_g10_register_name): New function.
10048 (rl78_return_value): Add g10 support.
10049 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10050 g10.
10051
10052 2014-02-17 Doug Evans <xdje42@gmail.com>
10053
10054 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10055 (SUBDIR_GUILE_SRCS): Ditto.
10056 (scm-gsmob.o): Ditto.
10057
10058 2014-02-17 Yao Qi <yao@codesourcery.com>
10059
10060 * gnu-nat.c (ILL_RPC): Declare defined function.
10061
10062 2014-02-17 Yao Qi <yao@codesourcery.com>
10063
10064 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10065 mach_msg_type_number_t.
10066 (gnu_write_inferior): Likewise.
10067
10068 2014-02-17 Yao Qi <yao@codesourcery.com>
10069
10070 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10071 in format string.
10072 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10073 (inf_validate_procs, inf_signal): Likewise.
10074 (S_exception_raise_request): Likewise.
10075 (do_mach_notify_dead_name): Likewise.
10076 (steal_exc_port): Likewise.
10077 (gnu_read_inferior): Change 'copy_count''s type to
10078 mach_msg_type_number_t.
10079 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10080 format string.
10081
10082 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10083
10084 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10085 flag. Adjust all users; in particular...
10086 (gnu_wait): ..., don't decrement its value in here...
10087 (gnu_create_inferior): ..., and instead set the flag in here,
10088 around the startup_inferior call, and call that one with
10089 START_INFERIOR_TRAPS_EXPECTED.
10090
10091 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10092 (ILL_RPC): ... new macro.
10093 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10094 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10095 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10096 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10097 functions with ILL_RPC macro.
10098 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10099 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10100 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10101 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10102 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10103 (S_proc_getlogin_reply, S_proc_getsid_reply)
10104 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10105 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10106 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10107 (S_proc_getnports_reply, S_proc_is_important_reply)
10108 (S_proc_get_code_reply): New stub functions, generated with
10109 ILL_RPC macro.
10110
10111 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10112 collected the type check structures.
10113
10114 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10115
10116 2014-02-14 Doug Evans <dje@google.com>
10117
10118 * target.c (target_write_partial): Fix result type.
10119
10120 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10121
10122 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10123 the proper offsets to access fpregset_t.
10124
10125 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10126
10127 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10128 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10129 * h8300-tdep.c (setmachinelist): Remove global.
10130 * hppa-tdep.c (hppa_sigtramp): Remove global.
10131 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10132 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10133 * ravenscar-thread.c (update_target_observer): Remove global.
10134 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10135
10136 2014-02-12 Tom Tromey <tromey@redhat.com>
10137
10138 * common/rsp-low.c: Update comments.
10139 * common/rsp-low.h: Update comments.
10140
10141 2014-02-12 Tom Tromey <tromey@redhat.com>
10142
10143 * common/rsp-low.c (convert_ascii_to_int): Remove.
10144 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10145
10146 2014-02-12 Tom Tromey <tromey@redhat.com>
10147
10148 * common/rsp-low.h (unhexify): Don't declare.
10149 * common/rsp-low.c (unhexify): Remove.
10150
10151 2014-02-12 Tom Tromey <tromey@redhat.com>
10152
10153 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10154 * common/rsp-low.c (convert_int_to_ascii): Remove.
10155
10156 2014-02-12 Tom Tromey <tromey@redhat.com>
10157
10158 * common/rsp-low.h (hexify): Don't declare.
10159 * common/rsp-low.c (hexify): Remove.
10160
10161 2014-02-12 Tom Tromey <tromey@redhat.com>
10162
10163 * common/rsp-low.c (hexify): Never take strlen of argument.
10164
10165 2014-02-12 Tom Tromey <tromey@redhat.com>
10166
10167 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10168 * remote.c (extended_remote_run, remote_rcmd)
10169 (remote_download_trace_state_variable, remote_save_trace_data)
10170 (remote_set_trace_notes): Update.
10171 * tracepoint.c (encode_source_string, tfile_write_status)
10172 (tfile_write_uploaded_tsv): Update.
10173
10174 2014-02-12 Tom Tromey <tromey@redhat.com>
10175
10176 * tracepoint.c: Include rsp-low.h.
10177 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10178 * remote.c: Include rsp-low.h.
10179 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10180 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10181 (remote_unescape_input): Move to common/rsp-low.c.
10182 * common/rsp-low.h: New file.
10183 * common/rsp-low.c: New file.
10184 * Makefile.in (SFILES): Add common/rsp-low.c.
10185 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10186 (COMMON_OBS): Add rsp-low.o.
10187 (rsp-low.o): New target.
10188
10189 2014-02-12 Tom Tromey <tromey@redhat.com>
10190
10191 * utils.h: Include print-utils.h.
10192 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10193 (int_string, core_addr_to_string, core_addr_to_string_nz)
10194 (hex_string, hex_string_custom): Don't declare.
10195 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10196 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10197 (hex_string_custom, int_string, core_addr_to_string)
10198 (core_addr_to_string_nz, host_address_to_string): Move to
10199 common/print-utils.c.
10200 * common/print-utils.h: New file.
10201 * common/print-utils.c: New file
10202 * Makefile.in (SFILES): Add common/print-utils.c.
10203 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10204 (COMMON_OBS): Add print-utils.o.
10205 (print-utils.o): New target.
10206
10207 2014-02-12 Tom Tromey <tromey@redhat.com>
10208
10209 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10210
10211 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10212
10213 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10214
10215 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10216
10217 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10218 if a PT_IO ptrace request returns sucessfully but indicates that 0
10219 bytes were transferred.
10220
10221 2014-02-12 Pedro Alves <palves@redhat.com>
10222 Kevin Buettner <kevinb@redhat.com>
10223
10224 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10225 TYPE_INSTANCE_FLAG_CODE_SPACE.
10226
10227 2014-02-12 Pedro Alves <palves@redhat.com>
10228
10229 * h8300-tdep.c (pseudo_from_raw_register)
10230 (raw_from_pseudo_register): New functions.
10231 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10232 them.
10233
10234 2014-02-12 Pedro Alves <palves@redhat.com>
10235
10236 * h8300-tdep.c (h8300_register_sim_regno): New function.
10237 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10238 gdbarch_register_sim_regno hook.
10239
10240 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10241
10242 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10243
10244 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10245
10246 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10247
10248 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10249
10250 * obsd-tdep.h (obsd_init_abi): New prototype.
10251 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10252 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10253 (obsd_init_abi): New functions.
10254 * i386obsd-tdep.c: Include "obsd-tdep.h".
10255 (i386obsd_init_abi): Call obsd_init_abi.
10256 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10257 (amd64obsd_init_abi): Call obsd_init_abi.
10258 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10259 obsd-tdep.c to gdb_target_obs.
10260
10261 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10262
10263 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10264 double float arguments to 16-byte in the argument slots.
10265
10266 2014-02-11 Doug Evans <xdje42@gmail.com>
10267
10268 * configure.ac: Don't crash if pkg-config is not found and guile
10269 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10270 in guile checks.
10271 * configure: Regenerate.
10272
10273 2014-02-11 Yao Qi <yao@codesourcery.com>
10274
10275 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10276 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10277 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10278 * gnu-nat.c (gnu_xfer_memory): Likewise.
10279 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10280 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10281 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10282 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10283
10284 2014-02-11 Yao Qi <yao@codesourcery.com>
10285
10286 * target.h (enum target_xfer_error): Rename to ...
10287 (enum target_xfer_status): ... it. New. All users updated.
10288 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10289 New.
10290 (TARGET_XFER_STATUS_ERROR_P): New macro.
10291 (target_xfer_error_to_string): Remove declaration.
10292 (target_xfer_status_to_string): Declare.
10293 (target_xfer_partial_ftype): Adjust it.
10294 (struct target_ops) <to_xfer_partial>: Return
10295 target_xfer_status. Add argument xfered_len. Update
10296 comments.
10297 * target.c (target_xfer_error_to_string): Rename to ...
10298 (target_xfer_status_to_string): ... it. New. All callers
10299 updated.
10300 (target_read_live_memory): Likewise. Call target_xfer_partial
10301 instead of target_read.
10302 (memory_xfer_live_readonly_partial): Return
10303 target_xfer_status. Add argument xfered_len.
10304 (raw_memory_xfer_partial): Likewise.
10305 (memory_xfer_partial_1): Likewise.
10306 (memory_xfer_partial): Likewise.
10307 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10308 properly. Update debug message.
10309 (default_xfer_partial, current_xfer_partial): Likewise.
10310 (target_write_partial): Likewise.
10311 (target_read_partial): Likewise. All callers updated.
10312 (read_whatever_is_readable): Likewise.
10313 (target_write_with_progress): Likewise.
10314 (target_read_alloc_1): Likewise.
10315
10316 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10317 * auxv.c (procfs_xfer_auxv): Likewise.
10318 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10319 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10320 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10321 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10322 * corefile.c (read_memory): Adjust.
10323 * corelow.c (core_xfer_partial): Likewise.
10324 * ctf.c (ctf_xfer_partial): Likewise.
10325 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10326 updated.
10327 (darwin_xfer_partial): Likewise.
10328 * exec.c (section_table_xfer_memory_partial): Likewise. All
10329 callers updated.
10330 (exec_xfer_partial): Likewise.
10331 * exec.h (section_table_xfer_memory_partial): Update
10332 declaration.
10333 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10334 negative.
10335 (gnu_xfer_partial): Likewise.
10336 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10337 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10338 (ia64_hpux_xfer_solib_got): Likewise.
10339 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10340 type of 'partial_len' to ULONGEST.
10341 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10342 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10343 (linux_nat_xfer_partial): Likewise.
10344 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10345 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10346 * monitor.c (monitor_xfer_memory): Likewise.
10347 (monitor_xfer_partial): Likewise.
10348 * procfs.c (procfs_xfer_partial): Likewise.
10349 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10350 * record-full.c (record_full_xfer_partial): Likewise.
10351 (record_full_core_xfer_partial): Likewise.
10352 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10353 (gdbsim_xfer_partial): Likewise.
10354 * remote.c (remote_write_bytes_aux): Likewise. All callers
10355 updated.
10356 (remote_write_bytes, remote_read_bytes): Likewise. All
10357 callers updated.
10358 (remote_flash_erase): Likewise. All callers updated.
10359 (remote_write_qxfer): Likewise. All callers updated.
10360 (remote_read_qxfer): Likewise. All callers updated.
10361 (remote_xfer_partial): Likewise.
10362 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10363 (rs6000_xfer_shared_libraries): Likewise.
10364 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10365 (sol_thread_xfer_partial): Likewise.
10366 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10367 (sparc_xfer_partial): Likewise.
10368 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10369 updated.
10370 (spu_xfer_partial): Likewise.
10371 * spu-multiarch.c (spu_xfer_partial): Likewise.
10372 * tracepoint.c (tfile_xfer_partial): Likewise.
10373 * windows-nat.c (windows_xfer_memory): Likewise.
10374 (windows_xfer_shared_libraries): Likewise.
10375 (windows_xfer_partial): Likewise.
10376 * valprint.c: Replace 'target_xfer_error' with
10377 'target_xfer_status' in comments.
10378
10379 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10380
10381 Checked in by Joel Brobecker <brobecker@adacore.com>.
10382 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10383
10384 2014-02-11 Joel Brobecker <brobecker@adacore.com>
10385
10386 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10387 function parameters.
10388
10389 2014-02-10 Will Newton <will.newton@linaro.org>
10390
10391 * elfread.c (elf_rel_plt_read): Look for a .got section if
10392 looking up .got.plt fails.
10393 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10394 on address passed to elf_gnu_ifunc_record_cache.
10395 (elf_gnu_ifunc_resolve_addr): Likewise.
10396 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10397
10398 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10399
10400 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10401 (X_RETTURN): New macro.
10402 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10403
10404 * sparc64-tdep.c (sparc64_init_abi): Hook
10405 sparc_in_function_epilogue_p.
10406
10407 2014-02-10 Gary Benson <gbenson@redhat.com>
10408
10409 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10410 Rename name_matcher to symbol_matcher.
10411
10412 2014-02-10 Gary Benson <gbenson@redhat.com>
10413
10414 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10415 Use expand_symtabs_file_matcher_ftype and
10416 expand_symtabs_symbol_matcher_ftype.
10417
10418 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10419
10420 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10421 (struct ada_symbol_cache): New.
10422 (ada_free_symbol_cache): Forward declare.
10423 (struct ada_pspace_data): New.
10424 (ada_pspace_data_handle): New static global.
10425 (get_ada_pspace_data, ada_pspace_data_cleanup)
10426 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10427 (cache_space, cache): Delete, now folded inside struct
10428 ada_pspace_data.
10429 (ada_get_symbol_cache): New function.
10430 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10431 implementation.
10432 (_initialize_ada_language): Remove initialization of cache_space.
10433 Move call to observer_attach_inferior_exit up, grouping it
10434 with the other observer registrations inside this function.
10435 Rename command to be more general. Add call to
10436 register_program_space_data_with_cleanup.
10437
10438 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10439
10440 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10441 ada_new_objfile_observer.
10442 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10443 (_initialize_tasks): Update uses of ada_new_objfile_observer
10444 and ada_tasks_normal_stop_observer.
10445
10446 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10447
10448 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10449 returned by the 'Length attribute to integer.
10450
10451 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10452
10453 * ada-lang.c (_initialize_ada_language): Initialize
10454 cache_space obstack.
10455
10456 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10457
10458 * ada-lang.c (HASH_SIZE): New macro.
10459 (struct cache_entry): New type.
10460 (cache_space, cache): New static globals.
10461 (ada_clear_symbol_cache, find_entry): New functions.
10462 (lookup_cached_symbol, cache_symbol): Implement.
10463 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10464 (_initialize_ada_language): Attach ada_new_objfile_observer
10465 and ada_free_objfile_observer.
10466
10467 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10468
10469 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10470 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10471 struct block * parameter.
10472 (ada_lookup_symbol_list_worker): Constify local variable "block".
10473 Remove cast which is no longer necessary.
10474
10475 2014-02-10 Doug Evans <xdje42@gmail.com>
10476
10477 Add Guile as an extension language.
10478 * NEWS: Mention Guile scripting.
10479 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10480 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10481 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10482 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10483 (CLIBS): Add GUILE_LIBS.
10484 (install-guile): New rule.
10485 (guile.o): New rule.
10486 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10487 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10488 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10489 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10490 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10491 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10492 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10493 * configure.ac: New option --with-guile.
10494 * configure: Regenerate.
10495 * config.in: Regenerate.
10496 * auto-load.c: Remove #include "python/python.h". Add #include
10497 "gdb/section-scripts.h".
10498 (source_section_scripts): Handle Guile scripts.
10499 (_initialize_auto_load): Add name of Guile objfile script to
10500 scripts-directory help text.
10501 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10502 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10503 (struct breakpoint): New member scm_bp_object.
10504 * defs.h (enum command_control_type): New value guile_control.
10505 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10506 "extension.h".
10507 (show_user): Update comment.
10508 (_initialize_cli_cmds): Update help text for "show user". Update help
10509 text for max-user-call-depth.
10510 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10511 "extension.h".
10512 (multi_line_command_p): Add guile_control.
10513 (print_command_lines): Handle guile_control.
10514 (execute_control_command, recurse_read_control_structure): Ditto.
10515 (process_next_line): Recognize "guile" commands.
10516 * disasm.c (gdb_disassemble_info): Make non-static.
10517 * disasm.h: #include "dis-asm.h".
10518 (struct gdbarch): Add forward decl.
10519 (gdb_disassemble_info): Declare.
10520 * extension.c: #include "guile/guile.h".
10521 (extension_languages): Add guile.
10522 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10523 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10524 * gdbtypes.c (get_unsigned_type_max): New function.
10525 (get_signed_type_minmax): New function.
10526 * gdbtypes.h (get_unsigned_type_max): Declare.
10527 (get_signed_type_minmax): Declare.
10528 * guile/README: New file.
10529 * guile/guile-internal.h: New file.
10530 * guile/guile.c: New file.
10531 * guile/guile.h: New file.
10532 * guile/scm-arch.c: New file.
10533 * guile/scm-auto-load.c: New file.
10534 * guile/scm-block.c: New file.
10535 * guile/scm-breakpoint.c: New file.
10536 * guile/scm-disasm.c: New file.
10537 * guile/scm-exception.c: New file.
10538 * guile/scm-frame.c: New file.
10539 * guile/scm-gsmob.c: New file.
10540 * guile/scm-iterator.c: New file.
10541 * guile/scm-lazy-string.c: New file.
10542 * guile/scm-math.c: New file.
10543 * guile/scm-objfile.c: New file.
10544 * guile/scm-ports.c: New file.
10545 * guile/scm-pretty-print.c: New file.
10546 * guile/scm-safe-call.c: New file.
10547 * guile/scm-string.c: New file.
10548 * guile/scm-symbol.c: New file.
10549 * guile/scm-symtab.c: New file.
10550 * guile/scm-type.c: New file.
10551 * guile/scm-utils.c: New file.
10552 * guile/scm-value.c: New file.
10553 * guile/lib/gdb.scm: New file.
10554 * guile/lib/gdb/boot.scm: New file.
10555 * guile/lib/gdb/experimental.scm: New file.
10556 * guile/lib/gdb/init.scm: New file.
10557 * guile/lib/gdb/iterator.scm: New file.
10558 * guile/lib/gdb/printing.scm: New file.
10559 * guile/lib/gdb/types.scm: New file.
10560 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10561 (VPATH): Add $(GUILE_SRCDIR).
10562 (GUILE_DIR): New variable.
10563 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10564 (all): Add stamp-guile dependency.
10565 (stamp-guile): New rule.
10566 (clean-guile, install-guile, uninstall-guile): New rules.
10567 (install-only): Add install-guile dependency.
10568 (uninstall): Add uninstall-guile dependency.
10569 (clean): Add clean-guile dependency.
10570
10571 2014-02-09 Doug Evans <xdje42@gmail.com>
10572
10573 Revert this patch (which I approved, mea culpa).
10574
10575 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10576
10577 * Makefile.in (all-lib): Remove.
10578 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10579
10580 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10581
10582 Fix Python stack corruption.
10583 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10584 gdb_py_longest.
10585
10586 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10587
10588 * Makefile.in (all-lib): Remove.
10589 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10590
10591 2014-02-07 Doug Evans <dje@google.com>
10592
10593 * extension-priv.h (extension_language_script_ops): Add comment.
10594 (extension_language_ops): Add comment.
10595 (active_ext_lang_state): Fix typo in comment.
10596
10597 2014-02-07 Pedro Alves <palves@redhat.com>
10598
10599 PR breakpoints/16292
10600 * infrun.c (handle_signal_stop) <signal arrives while stepping
10601 over a breakpoint>: Switch back to the stepping thread.
10602
10603 2014-02-07 Yao Qi <yao@codesourcery.com>
10604
10605 * target.c (target_xfer_partial): Return zero if LEN is zero.
10606
10607 2014-02-07 Yao Qi <yao@codesourcery.com>
10608
10609 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10610 (ld_so_xfer_auxv): Likewise.
10611 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10612 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10613 * corelow.c (core_xfer_partial): Likewise.
10614 * ctf.c (ctf_xfer_partial): Likewise.
10615 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10616 (darwin_xfer_partial): Likewise.
10617 * exec.c (exec_xfer_partial): Likewise.
10618 * gnu-nat.c (gnu_xfer_partial): Likewise.
10619 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10620 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10621 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10622 * linux-nat.c (linux_xfer_siginfo): Likewise.
10623 (linux_proc_xfer_spu): Likewise.
10624 * procfs.c (procfs_xfer_partial): Likewise.
10625 * record-full.c (record_full_xfer_partial): Likewise.
10626 (record_full_core_xfer_partial): Likewise.
10627 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10628 * remote.c (remote_write_qxfer): Likewise.
10629 (remote_write_qxfer, remote_read_qxfer): Likewise.
10630 (remote_xfer_partial): Likewise.
10631 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10632 (rs6000_xfer_shared_libraries): Likewise.
10633 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10634 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10635 (spu_xfer_partial): Likewise.
10636 * target.c (memory_xfer_partial_1): Likewise.
10637 * tracepoint.c (tfile_xfer_partial): Likewise.
10638 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10639 (windows_xfer_partial): Likewise.
10640
10641 2014-02-07 Yao Qi <yao@codesourcery.com>
10642
10643 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10644 comments.
10645 (core_xfer_shared_libraries_aix): Likewise.
10646 * gdbarch.c, gdbarch.h: Regenerated.
10647 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10648 ULONGEST. Change 'len_avail' type to ULONGEST.
10649 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10650 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10651 declaration.
10652 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10653
10654 2014-02-07 Yao Qi <yao@codesourcery.com>
10655
10656 * corefile.c (memory_error): Get 'exception' from ERR and pass
10657 'exception' to throw_error.
10658
10659 2014-02-06 Doug Evans <xdje42@gmail.com>
10660
10661 * configure.ac (libpython checking): Remove all but python.o from
10662 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10663 * configure: Regenerate.
10664
10665 * Makefile.in (SFILES): Add extension.c.
10666 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10667 (COMMON_OBS): Add extension.o.
10668 * extension.h: New file.
10669 * extension-priv.h: New file.
10670 * extension.c: New file.
10671
10672 * python/python-internal.h: #include "extension.h".
10673 (gdbpy_auto_load_enabled): Declare.
10674 (gdbpy_apply_val_pretty_printer): Declare.
10675 (gdbpy_apply_frame_filter): Declare.
10676 (gdbpy_preserve_values): Declare.
10677 (gdbpy_breakpoint_cond_says_stop): Declare.
10678 (gdbpy_breakpoint_has_cond): Declare.
10679 (void source_python_script_for_objfile): Delete.
10680 * python/python.c: #include "extension-priv.h".
10681 Delete inclusion of "observer.h".
10682 (extension_language_python): Moved here and renamed from
10683 script_language_python in py-auto-load.c.
10684 Redefined to be of type extension_language_defn.
10685 (python_extension_script_ops): New global.
10686 (python_extension_ops): New global.
10687 (struct python_env): New member previous_active.
10688 (restore_python_env): Call restore_active_ext_lang.
10689 (ensure_python_env): Call set_active_ext_lang.
10690 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10691 New arg extlang.
10692 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10693 New arg extlang.
10694 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10695 New arg extlang.
10696 (gdbpy_eval_from_control_command): Renamed from
10697 eval_python_from_control_command, made static. New arg extlang.
10698 (gdbpy_source_script) Renamed from source_python_script, made static.
10699 New arg extlang.
10700 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10701 result to int. New arg extlang.
10702 (gdbpy_source_objfile_script): Renamed from
10703 source_python_script_for_objfile, made static. New arg extlang.
10704 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10705 static. New args extlang, extlang_printers. Change result type to
10706 "void".
10707 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10708 static. New arg extlang. Rename arg printers to extlang_printers
10709 and change type to ext_lang_type_printers *.
10710 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10711 static. Replace argument arg with extlang, extlang_printers.
10712 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10713 (!HAVE_PYTHON, source_python_script): Delete.
10714 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10715 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10716 (!HAVE_PYTHON, start_type_printers): Delete.
10717 (!HAVE_PYTHON, apply_type_printers): Delete.
10718 (!HAVE_PYTHON, free_type_printers): Delete.
10719 (_initialize_python): Delete call to observer_attach_before_prompt.
10720 (finalize_python): Set/restore active extension language.
10721 (gdbpy_finish_initialization) Renamed from
10722 finish_python_initialization, made static. New arg extlang.
10723 (gdbpy_initialized): New function.
10724 * python/python.h: #include "extension.h". Delete #include
10725 "value.h", "mi/mi-cmds.h".
10726 (extension_language_python): Declare.
10727 (GDBPY_AUTO_FILE_NAME): Delete.
10728 (enum py_bt_status): Moved to extension.h and renamed to
10729 ext_lang_bt_status.
10730 (enum frame_filter_flags): Moved to extension.h.
10731 (enum py_frame_args): Moved to extension.h and renamed to
10732 ext_lang_frame_args.
10733 (finish_python_initialization): Delete.
10734 (eval_python_from_control_command): Delete.
10735 (source_python_script): Delete.
10736 (apply_val_pretty_printer): Delete.
10737 (apply_frame_filter): Delete.
10738 (preserve_python_values): Delete.
10739 (gdbpy_script_language_defn): Delete.
10740 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10741 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10742
10743 * auto-load.c: #include "extension.h".
10744 (GDB_AUTO_FILE_NAME): Delete.
10745 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10746 (script_language_gdb): Delete, moved to extension.c and renamed to
10747 extension_language_gdb.
10748 (source_gdb_script_for_objfile): Delete.
10749 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10750 (loaded_script): Change type of language member to
10751 struct extension_language_defn *.
10752 (init_loaded_scripts_info): Initialize
10753 unsupported_script_warning_printed.
10754 (maybe_add_script): Make static. Change type of language arg to
10755 struct extension_language_defn *.
10756 (clear_section_scripts): Reset unsupported_script_warning_printed.
10757 (auto_load_objfile_script_1): Rewrite to use extension language API.
10758 (auto_load_objfile_script): Make public. Remove support-compiled-in
10759 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10760 (source_section_scripts): Rewrite to use extension language API.
10761 (load_auto_scripts_for_objfile): Rewrite to use
10762 auto_load_scripts_for_objfile.
10763 (collect_matching_scripts_data): Change type of language member to
10764 struct extension_language_defn *.
10765 (auto_load_info_scripts): Change type of language arg to
10766 struct extension_language_defn *.
10767 (unsupported_script_warning_print): New function.
10768 (script_not_found_warning_print): Make static.
10769 (_initialize_auto_load): Rewrite construction of scripts-directory
10770 help.
10771 * auto-load.h (struct objfile): Add forward decl.
10772 (struct script_language): Delete.
10773 (struct auto_load_pspace_info): Add forward decl.
10774 (struct extension_language_defn): Add forward decl.
10775 (maybe_add_script): Delete.
10776 (auto_load_objfile_script): Declare.
10777 (script_not_found_warning_print): Delete.
10778 (auto_load_info_scripts): Update prototype.
10779 (auto_load_gdb_scripts_enabled): Declare.
10780 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10781 auto_load_python_scripts_enabled and made public.
10782 (script_language_python): Delete, moved to python.c.
10783 (gdbpy_script_language_defn): Delete.
10784 (info_auto_load_python_scripts): Update to use
10785 extension_language_python.
10786
10787 * breakpoint.c (condition_command): Replace call to
10788 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10789 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10790 with call to breakpoint_ext_lang_cond_says_stop.
10791 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10792 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10793 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10794 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10795 New arg slang.
10796 (local_setattro): Print name of extension language with existing
10797 stop condition.
10798
10799 * valprint.c (val_print, value_print): Update to call
10800 apply_ext_lang_val_pretty_printer.
10801 * cp-valprint.c (cp_print_value): Update call to
10802 apply_ext_lang_val_pretty_printer.
10803 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10804 (gdbpy_apply_val_pretty_printer): Renamed from
10805 apply_val_pretty_printer. New arg extlang.
10806 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10807
10808 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10809 extension language API.
10810 * cli/cli-script.c (execute_control_command): Update to call
10811 eval_ext_lang_from_control_command.
10812
10813 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10814 enum ext_lang_bt_status values. Update call to
10815 apply_ext_lang_frame_filter.
10816 (mi_cmd_stack_list_locals): Ditto.
10817 (mi_cmd_stack_list_args): Ditto.
10818 (mi_cmd_stack_list_variables): Ditto.
10819 * mi/mi-main.c: Delete #include "python/python-internal.h".
10820 Add #include "extension.h".
10821 (mi_cmd_list_features): Replace reference to python internal variable
10822 gdb_python_initialized with call to ext_lang_initialized_p.
10823
10824 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10825 Update to use enum ext_lang_frame_args. Update to call
10826 apply_ext_lang_frame_filter.
10827 * python/py-framefilter.c (extract_sym): Update to use enum
10828 ext_lang_bt_status.
10829 (extract_value, py_print_type, py_print_value): Ditto.
10830 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10831 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10832 (py_print_frame): Ditto.
10833 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10834 New arg extlang. Update to use enum ext_lang_bt_status.
10835
10836 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10837 finish_python_initialization. Replace with call to
10838 finish_ext_lang_initialization.
10839
10840 * typeprint.c (do_free_global_table): Update to call
10841 free_ext_lang_type_printers.
10842 (create_global_typedef_table): Update to call
10843 start_ext_lang_type_printers.
10844 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10845 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10846 (type_print_options): Change type of global_printers from "void *"
10847 to "struct ext_lang_type_printers *".
10848
10849 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10850 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10851 (gdbpy_preserve_values): Renamed from preserve_python_values.
10852 New arg extlang.
10853 (!HAVE_PYTHON, preserve_python_values): Delete.
10854
10855 * utils.c (quit_flag): Delete, moved to extension.c.
10856 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10857 extension.c.
10858
10859 * eval.c: Delete #include "python/python.h".
10860 * main.c: Delete #include "python/python.h".
10861
10862 * defs.h: Update comment.
10863
10864 2014-02-06 Joel Brobecker <brobecker@adacore.com>
10865
10866 GDB 7.7 released.
10867
10868 2014-02-05 Mark Kettenis <kettenis@gnu.org>
10869
10870 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10871 defined.
10872
10873 2014-02-05 Yao Qi <yao@codesourcery.com>
10874
10875 * remote.c (remote_pass_signals): Remove local 'buf' and use
10876 rs->buf.
10877 (remote_program_signals): Likewise.
10878
10879 2014-02-05 Yao Qi <yao@codesourcery.com>
10880
10881 * ctf.c: Include "inferior.h" and "gdbthread.h".
10882 (CTF_PID): A new macro.
10883 (ctf_open): Call inferior_appeared and add_thread_silent.
10884 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10885 (ctf_thread_alive): New function.
10886 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10887
10888 2014-02-05 Yao Qi <yao@codesourcery.com>
10889
10890 Revert this patch:
10891
10892 2013-05-24 Yao Qi <yao@codesourcery.com>
10893
10894 * tracepoint.c (TFILE_PID): Remove.
10895 (tfile_open): Don't add thread and inferior.
10896 (tfile_close): Don't set 'inferior_ptid'. Don't call
10897 exit_inferior_silent.
10898 (tfile_thread_alive): Remove.
10899 (init_tfile_ops): Don't set field 'to_thread_alive' of
10900 tfile_ops.
10901
10902 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10903
10904 * remote.c (remote_start_remote): Call remote_check_symbols even
10905 if only symbol-file (not file) has been given.
10906
10907 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10908
10909 * gdbarch.sh (skip_entrypoint): New callback.
10910 * gdbarch.c, gdbarch.h: Regenerate.
10911 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10912 * infrun.c (fill_in_stop_func): Likewise.
10913 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10914 (ppc_elfv2_elf_make_msymbol_special): New function.
10915 (ppc_elfv2_skip_entrypoint): Likewise.
10916 (ppc_linux_init_abi): Install them for ELFv2.
10917
10918 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10919
10920 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10921 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10922 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10923 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10924 structures returned in GPRs.
10925
10926 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10927
10928 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10929 offset to the stack parameter list for the ELFv2 ABI.
10930
10931 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10932
10933 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10934 set_gdbarch_convert_from_func_ptr_addr and
10935 set_gdbarch_elf_make_msymbol_special for ELFv1.
10936 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10937 function descriptors on ELFv1.
10938 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10939 set up r12 at function entry.
10940
10941 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10942
10943 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10944 (struct gdbarch_tdep): New member elf_abi.
10945
10946 * rs6000-tdep.c: Include "elf/ppc64.h".
10947 (rs6000_gdbarch_init): Detect ELF ABI version.
10948
10949 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10950
10951 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10952 within a register pair holding a DFP 128-bit value on little-endian.
10953 (ppc64_sysv_abi_return_value_base): Likewise.
10954 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10955 (dfp_pseudo_register_write): Likewise.
10956
10957 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10958
10959 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10960 offset on little-endian when passing _Decimal32.
10961 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10962
10963 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10964
10965 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10966 of the overlapped FP register within the VSX register on little-
10967 endian platforms.
10968 (efpr_pseudo_register_write): Likewise.
10969
10970 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10971
10972 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10973 offset on little-endian when passing small structures.
10974
10975 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10976
10977 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10978 (struct ppc64_sysv_argpos): New data structure.
10979 (ppc64_sysv_abi_push_float): Remove.
10980 (ppc64_sysv_abi_push_val): New function.
10981 (ppc64_sysv_abi_push_integer): Likewise.
10982 (ppc64_sysv_abi_push_freg): Likewise.
10983 (ppc64_sysv_abi_push_vreg): Likewise.
10984 (ppc64_sysv_abi_push_param): Likewise.
10985 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10986 (ppc64_sysv_abi_return_value_base): New function.
10987 (ppc64_sysv_abi_return_value): Refactor to use it.
10988
10989 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10990
10991 * NEWS: Document new target powerpc64le-*-linux*.
10992
10993 2014-02-04 Mark Kettenis <kettenis@gnu.org>
10994
10995 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10996 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10997 core dumps.
10998 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10999 register set used in ELF core dumps. Add floating-point register set.
11000
11001 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11002
11003 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11004 dwarf2_to_gdb[] table using symbolic constants. Adjust
11005 penultimate entry from number representing the PC register
11006 to symbolic constant representing the MDR register. Add
11007 constant for the PC register to the end of the table.
11008
11009 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11010
11011 * bsd-kvm.c: Include <sys/param.h>
11012
11013 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11014
11015 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11016
11017 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11018
11019 * ada-lang.h (clear_ada_sym_cache): Delete.
11020
11021 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11022
11023 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11024
11025 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11026
11027 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11028 the sigreturn register save area only if the syscall is
11029 sigreturn.
11030
11031 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11032
11033 * valops.c (value_slice): Minor reformatting.
11034
11035 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11036
11037 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11038
11039 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11040
11041 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11042 New static globals.
11043 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11044 (ada_ignore_descriptive_types_p): New static global.
11045 (find_parallel_type_by_descriptive_type): Return immediately
11046 if ada_ignore_descriptive_types_p is set.
11047 (_initialize_ada_language): Register new commands "maintenance
11048 set ada", "maintenance show ada", "maintenance set ada
11049 ignore-descriptive-types" and "maintenance show ada
11050 ignore-descriptive-types".
11051 * NEWS: Add entry for new "maint ada set/show
11052 ignore-descriptive-types" commands.
11053
11054 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11055
11056 * record-btrace.c (record_btrace_close): Call btrace_teardown
11057 for all threads.
11058
11059 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11060
11061 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11062 "ui-out.h".
11063
11064 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11065
11066 * ada-typeprint (type_is_full_subrange_of_target_type):
11067 New function.
11068 (print_range): Add parameter bounds_prefered_p. If not set,
11069 try printing range types using the name of their base type.
11070 (print_range_type): Add parameter bounds_prefered_p.
11071 Use it in call to print_range.
11072 (print_array_type, ada_print_type): Update calls to print_range
11073 and print_range_type.
11074
11075 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11076
11077 * ada-typeprint.c (print_array_type, print_choices, print_range)
11078 (print_range_bound, print_dynamic_range_bound, print_range_type):
11079 Remove declaration.
11080
11081 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11082
11083 * ada-typeprint.c (print_range): Add missing empty line
11084 after local declaration.
11085
11086 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11087
11088 * ada-valprint.c (print_optional_low_bound): Get index_type's
11089 target type for as long as it is a TYPE_CODE_RANGE.
11090
11091 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11092
11093 * procfs.c (procfs_make_note_section): Remove assertion and
11094 associated comment.
11095
11096 2014-01-24 Yao Qi <yao@codesourcery.com>
11097
11098 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11099 * corelow.c (get_core_siginfo): Likewise.
11100
11101 2014-01-24 Yao Qi <yao@codesourcery.com>
11102
11103 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11104 ULONGEST. Don't check 'len' is negative.
11105 (remote_write_bytes): Change type of 'len' to ULONGEST.
11106
11107 2014-01-23 Tom Tromey <tromey@redhat.com>
11108
11109 PR python/16485:
11110 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11111 Handle exception from frame.block.
11112 (FrameVars.fetch_frame_locals): Likewise.
11113
11114 2014-01-23 Tom Tromey <tromey@redhat.com>
11115
11116 PR python/16487:
11117 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11118 on a NULL pointer. Move "goto error" to correct place.
11119
11120 2014-01-23 Tom Tromey <tromey@redhat.com>
11121
11122 PR python/16491:
11123 * python/py-framefilter.c (apply_frame_filter): Call
11124 ensure_python_env after computing gdbarch.
11125
11126 2014-01-23 Yao Qi <yao@codesourcery.com>
11127
11128 * target.c (raw_memory_xfer_partial): Change argument type
11129 from void * to gdb_byte *.
11130 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11131
11132 2014-01-22 Doug Evans <dje@google.com>
11133
11134 New gdbserver option --debug-format=timestamp.
11135 * NEWS: Mention it.
11136
11137 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11138
11139 * syscalls/s390x-linux.xml: New file.
11140 * syscalls/s390-linux.xml: New file.
11141 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11142 (XML_SYSCALL_FILENAME_S390X): Likewise.
11143 (op_svc): New enum value for SVC opcode.
11144 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11145 (s390_linux_get_syscall_number): New function.
11146 (s390_gdbarch_init): Register '*get_syscall_number' and the
11147 syscall xml file name.
11148 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11149 "s390-linux.xml" and "s390x-linux.xml".
11150 * NEWS: Announce new feature.
11151
11152 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11153
11154 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11155
11156 2014-01-22 Pedro Alves <palves@redhat.com>
11157
11158 * xtensa-config.c: Include defs.h.
11159
11160 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11161
11162 * common/common-utils.h: Add "ARI:" comment beside __func__
11163 reference.
11164
11165 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11166
11167 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11168 documentation a bit.
11169
11170 2014-01-21 Roland McGrath <mcgrathr@google.com>
11171
11172 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11173 * configure: Regenerate.
11174 * aclocal.m4: Regenerate.
11175 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11176 New substituted variables.
11177 (install-strip): New target.
11178 (INSTALL_SCRIPT): New substituted variable.
11179 (FLAGS_TO_PASS): Add it.
11180 (install-only): Use $(INSTALL_SCRIPT) rather than
11181 $(INSTALL_PROGRAM) for gcore.
11182
11183 2014-01-20 Tom Tromey <tromey@redhat.com>
11184
11185 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11186 together.
11187
11188 2014-01-20 Tom Tromey <tromey@redhat.com>
11189
11190 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11191 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11192 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11193 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11194 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11195 (struct cmd_list_element) <flags>: Remove.
11196 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11197 doc_allocated>: New fields.
11198 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11199 bitfields.
11200 * maint.c (maintenance_do_deprecate): Update.
11201 * top.c (execute_command): Update.
11202
11203 2014-01-20 Baruch Siach <baruch@tkos.co.il>
11204
11205 * xtensa-linux-nat.c: Include asm/ptrace.h.
11206
11207 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11208
11209 * Makefile.in (SFILES): Add d-support.c.
11210 (COMMON_OBS): Add d-support.o.
11211 * d-lang.h (d_parse_symbol): Add comment, now defined in
11212 d-support.c.
11213 * d-lang.c (parse_call_convention)
11214 (parse_attributes, parse_function_types)
11215 (parse_function_args, parse_type, parse_identifier)
11216 (call_convention_p, d_parse_symbol): Move functions to ...
11217 * d-support.c: ... New file.
11218
11219 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11220
11221 * d-lang.h (d_parse_symbol): Add declaration.
11222 * d-lang.c (extract_identifiers)
11223 (extract_type_info): Remove functions.
11224 (parse_call_convention, parse_attributes)
11225 (parse_function_types, parse_function_args)
11226 (parse_type, parse_identifier, call_convention_p)
11227 (d_parse_symbol): New functions.
11228 (d_demangle): Use d_parse_symbol to demangle D symbols.
11229
11230 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11231
11232 * d-lang.h (struct builtin_d_type): New data type.
11233 (builtin_d_type): Add declaration.
11234 * d-lang.c (d_language_arch_info, build_d_types)
11235 (builtin_d_type): New functions.
11236 (enum d_primitive_types): New data type.
11237 (d_language_defn): Change c_language_arch_info to
11238 d_language_arch_info.
11239 (d_type_data): New static variable.
11240 (_initialize_d_language): Initialize d_type_data.
11241
11242 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11243
11244 * d-lang.h (d_main_name): Add declaration.
11245 * d-lang.c (d_main_name): New function.
11246 * symtab.c (find_main_name): Add call to d_main_name.
11247
11248 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11249
11250 * d-lang.c (d_language_defn): Change macro_expansion_c to
11251 macro_expansion_no.
11252
11253 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11254
11255 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11256
11257 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11258
11259 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11260 gdb_exception" declaration.
11261 * remote.c (getpkt_or_notif_sane): Likewise.
11262
11263 2014-01-17 Doug Evans <dje@google.com>
11264
11265 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11266 function, contents of dirnames_to_char_ptr_vec_append moved here.
11267 (delim_string_to_char_ptr_vec): New function.
11268 (dirnames_to_char_ptr_vec_append): Rewrite.
11269 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11270
11271 2014-01-17 Doug Evans <dje@google.com>
11272
11273 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11274 and moved here ...
11275 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11276 #include "common-utils.h".
11277 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11278 * common/vec.h (VEC_ASSERT_PASS): Update.
11279 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11280 (MACH_CHECK_ERROR): Update.
11281
11282 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11283
11284 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11285 comments.
11286 * gdbarch.h: Regenerate.
11287
11288 2014-01-16 Tom Tromey <tromey@redhat.com>
11289
11290 * value.c (struct value) <regnum>: Move earlier.
11291
11292 2014-01-16 Tom Tromey <tromey@redhat.com>
11293
11294 * remote.c (extended_remote_create_inferior): Rename from
11295 extended_remote_create_inferior_1. Add "ops" argument. Remove
11296 old implementation.
11297
11298 2014-01-16 Pedro Alves <palves@redhat.com>
11299
11300 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11301 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11302 the backchain.
11303
11304 2014-01-16 Doug Evans <dje@google.com>
11305
11306 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11307
11308 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11309
11310 * btrace.h (btrace_thread_flag): New.
11311 (struct btrace_thread_info) <flags>: New.
11312 * record-btrace.c (record_btrace_resume_thread)
11313 (record_btrace_find_thread_to_move, btrace_step_no_history)
11314 (btrace_step_stopped, record_btrace_start_replaying)
11315 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11316 (record_btrace_find_resume_thread): New.
11317 (record_btrace_resume, record_btrace_wait): Extend.
11318 (record_btrace_can_execute_reverse): New.
11319 (record_btrace_open): Fail in non-stop mode.
11320 (record_btrace_set_replay): Split into this, ...
11321 (record_btrace_stop_replaying): ... this, ...
11322 (record_btrace_clear_histories): ... and this.
11323 (init_record_btrace_ops): Init to_can_execute_reverse.
11324 * NEWS: Announce it.
11325
11326 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11327
11328 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11329 (forward_target_decr_pc_after_break)
11330 (target_decr_pc_after_break): New.
11331 * target.c (forward_target_decr_pc_after_break)
11332 (target_decr_pc_after_break): New.
11333 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11334 instead of gdbarch_decr_pc_after_break.
11335 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11336 instead of gdbarch_decr_pc_after_break.
11337 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11338 instead of gdbarch_decr_pc_after_break.
11339 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11340 instead of gdbarch_decr_pc_after_break.
11341 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11342 instead of gdbarch_decr_pc_after_break.
11343 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11344 instead of gdbarch_decr_pc_after_break.
11345
11346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11347
11348 * btrace.c: Include regcache.h.
11349 (btrace_add_pc): New.
11350 (btrace_enable): Call btrace_add_pc.
11351 (btrace_is_empty): New.
11352 * btrace.h (btrace_is_empty): New.
11353 * record-btrace.c (require_btrace, record_btrace_info): Call
11354 btrace_is_empty.
11355
11356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11357
11358 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11359 Support delta reads.
11360 (linux_disable_btrace): Change return type.
11361 * common/linux-btrace.h (linux_read_btrace): Change parameters
11362 and return type to allow error reporting. Update users.
11363 (linux_disable_btrace): Change return type. Update users.
11364 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11365 New.
11366 (btrace_error): New.
11367 (btrace_block) <begin>: Comment on BEGIN == 0.
11368 * btrace.c (btrace_compute_ftrace): Start from the end of
11369 the current trace.
11370 (btrace_stitch_trace, btrace_clear_history): New.
11371 (btrace_fetch): Read delta trace, return if replaying.
11372 (btrace_clear): Move clear history code to btrace_clear_history.
11373 (parse_xml_btrace): Throw an error if parsing failed.
11374 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11375 and return type to allow error reporting.
11376 (target_read_btrace): Change parameters and return type to allow
11377 error reporting.
11378 * target.c (target_read_btrace): Update.
11379 * remote.c (remote_read_btrace): Support delta reads. Pass
11380 errors on.
11381 * NEWS: Announce it.
11382
11383 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11384
11385 * record.h (record_btrace_frame_unwind)
11386 (record_btrace_tailcall_frame_unwind): New declarations.
11387 * dwarf2-frame: Include record.h
11388 (dwarf2_frame_cfa): Throw an error for btrace frames.
11389 * record-btrace.c: Include hashtab.h.
11390 (btrace_get_bfun_name): New.
11391 (btrace_call_history): Call btrace_get_bfun_name.
11392 (struct btrace_frame_cache): New.
11393 (bfcache): New.
11394 (bfcache_hash, bfcache_eq, bfcache_new): New.
11395 (btrace_get_frame_function): New.
11396 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11397 (record_btrace_frame_this_id): Compute own id.
11398 (record_btrace_frame_prev_register): Provide PC, throw_error
11399 for all other registers.
11400 (record_btrace_frame_sniffer): Detect btrace frames.
11401 (record_btrace_tailcall_frame_sniffer): New.
11402 (record_btrace_frame_dealloc_cache): New.
11403 (record_btrace_frame_unwind): Add new functions.
11404 (record_btrace_tailcall_frame_unwind): New.
11405 (_initialize_record_btrace): Allocate cache.
11406 * btrace.c (btrace_clear): Call reinit_frame_cache.
11407 * NEWS: Announce it.
11408
11409 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11410
11411 * record-btrace.c (record_btrace_set_replay)
11412 (record_btrace_goto_begin, record_btrace_goto_end)
11413 (record_btrace_goto): New.
11414 (init_record_btrace_ops): Initialize them.
11415 * NEWS: Announce it.
11416
11417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11418
11419 * record-btrace.c (record_btrace_find_new_threads)
11420 (record_btrace_thread_alive): New.
11421 (init_record_btrace_ops): Initialize to_find_new_threads and
11422 to_thread_alive.
11423
11424 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11425
11426 * record-btrace.c (record_btrace_resume): New.
11427 (record_btrace_wait): New.
11428 (init_record_btrace_ops): Initialize to_wait and to_resume.
11429
11430 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11431
11432 * record-btrace.c (record_btrace_xfer_partial)
11433 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11434 (record_btrace_allow_memory_access): New.
11435 (init_record_btrace_ops): Initialize new methods.
11436 * target.c (raw_memory_xfer_partial): Bail out if target reports
11437 that this memory is not available.
11438
11439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11440
11441 * target.h (target_ops) <to_insert_breakpoint>
11442 <to_remove_breakpoint>: Add target_ops parameter.
11443 (forward_target_insert_breakpoint): New.
11444 (forward_target_remove_breakpoint): New.
11445 (memory_remove_breakpoint, memory_insert_breakpoint):
11446 Add target_ops parameter.
11447 * target.c (target_insert_breakpoint): Split into this and ...
11448 (forward_target_insert_breakpoint): ... this.
11449 (target_remove_breakpoint): Split into this and ...
11450 (forward_target_remove_breakpoint): ... this.
11451 (debug_to_insert_breakpoint): Add target_ops parameter.
11452 Call forward_target_insert_breakpoint.
11453 (debug_to_remove_breakpoint): Add target_ops parameter.
11454 Call forward_target_remove_breakpoint.
11455 (update_current_target): Do not inherit or default to_insert_breakpoint
11456 and to_remove_breakpoint.
11457 * corelow.c (ignore): Add target_ops parameter.
11458 * exec.c (ignore): Add target_ops parameter.
11459 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11460 Add target_ops parameter.
11461 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11462 Add target_ops parameter.
11463 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11464 Add target_ops parameter.
11465 * record-full.c (record_full_beneath_to_insert_breakpoint)
11466 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11467 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11468 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11469 (record_full_core_remove_breakpoint): Add target_ops parameter.
11470 Update users.
11471 (record_full_beneath_to_insert_breakpoint_ops)
11472 (record_full_beneath_to_remove_breakpoint_ops)
11473 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11474 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11475 tmp_to_remove_breakpoint_ops,
11476 record_full_beneath_to_insert_breakpoint_ops, and
11477 record_full_beneath_to_remove_breakpoint_ops.
11478 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11479 (m32r_remove_breakpoint): Add target_ops parameter.
11480 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11481 Add target_ops parameter.
11482 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11483 Add target_ops parameter.
11484
11485 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11486 Markus Metzger <markus.t.metzger@intel.com>
11487
11488 * record-btrace.c: Include frame-unwind.h.
11489 (record_btrace_frame_unwind_stop_reason)
11490 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11491 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11492 New.
11493 (init_record_btrace_ops): Install it.
11494
11495 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11496
11497 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11498 get_prev_frame_1.
11499
11500 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11501
11502 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11503 earlier.
11504
11505 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11506
11507 * frame-unwind.c: Include target.h.
11508 (frame_unwind_try_unwinder): New function with code from ...
11509 (frame_unwind_find_by_frame): ... here. New variable
11510 unwinder_from_target, call also target_get_unwinder)
11511 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11512 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11513 * target.h (struct target_ops): New fields to_get_unwinder and
11514 to_get_tailcall_unwinder.
11515 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11516
11517 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11518
11519 * record-btrace.c (record_btrace_fetch_registers)
11520 (record_btrace_store_registers)
11521 (record_btrace_to_prepare_to_store): New.
11522 (init_record_btrace_ops): Add the above.
11523
11524 2014-01-16 Tom Tromey <tromey@redhat.com>
11525
11526 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11527 * target.h (struct target_ops) <to_prepare_to_store>: Add
11528 argument.
11529 (target_prepare_to_store): Add argument.
11530 * target.c (debug_to_prepare_to_store): Add argument.
11531 (update_current_target): Update.
11532 * remote.c (remote_prepare_to_store): Add 'self' argument.
11533 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11534 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11535 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11536 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11537 argument.
11538 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11539 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11540 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11541 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11542 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11543
11544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11545
11546 * btrace.h (replay) <replay>: New.
11547 (btrace_is_replaying): New.
11548 * btrace.c (btrace_clear): Free replay iterator.
11549 (btrace_is_replaying): New.
11550 * record-btrace.c (record_btrace_is_replaying): New.
11551 (record_btrace_info): Print insn number if replaying.
11552 (record_btrace_insn_history): Start at replay position.
11553 (record_btrace_call_history): Start at replay position.
11554 (init_record_btrace_ops): Init to_record_is_replaying.
11555
11556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11557
11558 * record-btrace.c (record_btrace_insn_history_range): Include
11559 end.
11560 (record_btrace_insn_history_from): Adjust range.
11561 (record_btrace_call_history_range): Include
11562 end.
11563 (record_btrace_call_history_from): Adjust range.
11564 * NEWS: Announce changes.
11565
11566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11567
11568 * record.h (enum record_print_flag)
11569 <record_print_indent_calls>: New.
11570 * record.c (get_call_history_modifiers): Recognize /c modifier.
11571 (_initialize_record): Document /c modifier.
11572 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11573 Reorder fields. Optionally indent the function name. Update
11574 all users.
11575 * NEWS: Announce changes.
11576
11577 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11578
11579 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11580
11581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11582
11583 * btrace.c (ftrace_new_function): Start counting at one.
11584 * record-btrace.c (record_btrace_info): Adjust number of calls
11585 and insns.
11586 * NEWS: Announce it.
11587
11588 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11589
11590 * record-btrace.c (btrace_call_history_insn_range): Print
11591 insn range as [begin, end].
11592
11593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11594
11595 * btrace.h (struct btrace_func_link): New.
11596 (enum btrace_function_flag): New.
11597 (struct btrace_inst): Rename to ...
11598 (struct btrace_insn): ...this. Update all users.
11599 (struct btrace_func) <ibegin, iend>: Remove.
11600 (struct btrace_func_link): New.
11601 (struct btrace_func): Rename to ...
11602 (struct btrace_function): ...this. Update all users.
11603 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11604 (number, level, flags>: New.
11605 (struct btrace_insn_iterator): Rename to ...
11606 (struct btrace_insn_history): ...this.
11607 Update all users.
11608 (struct btrace_insn_iterator, btrace_call_iterator): New.
11609 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11610 (struct btrace_target_info) <begin, end, level>
11611 <insn_history, call_history>: New.
11612 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11613 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11614 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11615 (btrace_call_number, btrace_call_begin, btrace_call_end)
11616 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11617 (btrace_find_function_by_number, btrace_set_insn_history)
11618 (btrace_set_call_history): New.
11619 * btrace.c (btrace_init_insn_iterator)
11620 (btrace_init_func_iterator, compute_itrace): Remove.
11621 (ftrace_print_function_name, ftrace_print_filename)
11622 (ftrace_skip_file): Change
11623 parameter to const.
11624 (ftrace_init_func): Remove.
11625 (ftrace_debug): Use new btrace_function fields.
11626 (ftrace_function_switched): Also consider gaining and
11627 losing symbol information).
11628 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11629 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11630 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11631 New.
11632 (ftrace_new_function): Move. Remove debug print.
11633 (ftrace_update_lines, ftrace_update_insns): New.
11634 (ftrace_update_function): Check for call, ret, and jump.
11635 (compute_ftrace): Renamed to ...
11636 (btrace_compute_ftrace): ...this. Rewritten to compute call
11637 stack.
11638 (btrace_fetch, btrace_clear): Updated.
11639 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11640 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11641 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11642 (btrace_call_number, btrace_call_begin, btrace_call_end)
11643 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11644 (btrace_find_function_by_number, btrace_set_insn_history)
11645 (btrace_set_call_history): New.
11646 * record-btrace.c (require_btrace): Use new btrace thread
11647 info fields.
11648 (record_btrace_info, btrace_insn_history)
11649 (record_btrace_insn_history, record_btrace_insn_history_range):
11650 Use new btrace thread info fields and new iterator.
11651 (btrace_func_history_src_line): Rename to ...
11652 (btrace_call_history_src_line): ...this. Use new btrace
11653 thread info fields.
11654 (btrace_func_history): Rename to ...
11655 (btrace_call_history): ...this. Use new btrace thread info
11656 fields and new iterator.
11657 (record_btrace_call_history, record_btrace_call_history_range):
11658 Use new btrace thread info fields and new iterator.
11659
11660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11661
11662 * frame.h (frame_id_build_unavailable_stack_special): New.
11663 * frame.c (frame_id_build_unavailable_stack_special): New.
11664
11665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11666
11667 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11668 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11669 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11670 to gdbarch.
11671 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11672 (i386_insn_is_jump, i386_jmp_p): New.
11673 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11674 insn_is_jump to gdbarch.
11675 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11676 * gdbarch.h: Regenerated.
11677 * gdbarch.c: Regenerated.
11678 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11679 (default_insn_is_jump): New.
11680 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11681 (default_insn_is_jump): New.
11682
11683 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11684
11685 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11686 Change to ...
11687 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11688 (btrace_read_type) <btrace_read_new>: Change to ...
11689 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11690
11691 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11692
11693 * common/linux-btrace.c (linux_read_btrace): Free trace from
11694 previous iteration.
11695
11696 2014-01-15 Doug Evans <dje@google.com>
11697
11698 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11699 uint32_t.
11700
11701 2014-01-15 Tom Tromey <tromey@redhat.com>
11702
11703 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11704 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11705 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11706 (set_objfile_main_name): New function.
11707 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11708 language_of_main>: New fields.
11709 (set_objfile_main_name): Declare.
11710 * symtab.c (find_main_name): Loop over objfiles to find the main
11711 name and language.
11712 (set_main_name): Now static.
11713 (get_main_info): Add comment.
11714 * symtab.h (set_main_name): Don't declare.
11715
11716 2014-01-15 Tom Tromey <tromey@redhat.com>
11717
11718 * symtab.c (main_progspace_key): New global.
11719 (struct main_info): New.
11720 (name_of_main, language_of_main): Remove.
11721 (get_main_info, main_info_cleanup): New function.
11722 (set_main_name, main_name, main_language): Use get_main_info.
11723 (_initialize_symtab): Initialize main_progspace_key.
11724
11725 2014-01-15 Tom Tromey <tromey@redhat.com>
11726
11727 * dbxread.c (process_one_symbol): Update.
11728 * dwarf2read.c (read_partial_die): Update.
11729 * symfile.c (set_initial_language): Call main_language.
11730 * symtab.c (language_of_main): Now static.
11731 (set_main_name): Add 'lang' parameter.
11732 (find_main_name): Update.
11733 (main_language): New function.
11734 (symtab_observer_executable_changed): Update.
11735 * symtab.h (set_main_name): Update.
11736 (language_of_main): Remove.
11737 (main_language): Declare.
11738
11739 2014-01-15 Tom Tromey <tromey@redhat.com>
11740
11741 * symfile.c (init_entry_point_info): Use new "initialized" field.
11742 Update.
11743 * objfiles.h (struct entry_point) <initialized>: New field.
11744 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11745 (struct objfile) <ei>: ...here. Remove.
11746 * objfiles.c (entry_point_address_query): Update.
11747
11748 2014-01-15 Tom Tromey <tromey@redhat.com>
11749
11750 * objfiles.c (entry_point_address_query): Relocate entry point
11751 address.
11752 (objfile_relocate1): Do not relocate entry point address.
11753 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11754 <the_bfd_section_index>: New field.
11755 * symfile.c (init_entry_point_info): Find the entry point's
11756 section.
11757
11758 2014-01-15 Tom Tromey <tromey@redhat.com>
11759
11760 * solib-frv.c (enable_break): Use entry_point_address_query.
11761
11762 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11763
11764 * NEWS: Add note on improved process record-replay on
11765 arm*-linux* targets.
11766
11767 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11768
11769 * arm-tdep.c (enum arm_record_result): New enum.
11770 (arm_record_unsupported_insn): New function.
11771 (arm_record_coproc_data_proc): Removed.
11772 (thumb2_record_ld_st_multiple): New function.
11773 (thumb2_record_ld_st_dual_ex_tbb): New function.
11774 (thumb2_record_data_proc_sreg_mimm): New function.
11775 (thumb2_record_ps_dest_generic): New function.
11776 (thumb2_record_branch_misc_cntrl): New function.
11777 (thumb2_record_str_single_data): New function.
11778 (thumb2_record_ld_mem_hints): New function.
11779 (thumb2_record_ld_word): New function.
11780 (thumb2_record_lmul_lmla_div): New function.
11781 (thumb2_record_decode_insn_handler): New function.
11782 (decode_insn): Add thumb32 instruction handlers.
11783
11784 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11785
11786 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11787 (struct arm_linux_record_tdep): Declare.
11788 (arm_canonicalize_syscall): New function.
11789 (arm_all_but_pc_registers_record): New function.
11790 (arm_linux_syscall_record): New function.
11791 (arm_linux_init_abi): Add syscall recording constructs.
11792 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11793 decoding. (arm_record_coproc_data_proc): Update arm syscall
11794 decoding.
11795 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11796 <arm_syscall_record>: New field.
11797 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11798 gdb_target_obs.
11799
11800 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11801
11802 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11803 register for push instruction recording.
11804
11805 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11806
11807 * arm-tdep.c (thumb_record_misc): Update to correct logical
11808 error while recording ldm, ldmia and pop instructions.
11809
11810 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11811
11812 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11813
11814 2014-01-15 Pedro Alves <palves@redhat.com>
11815
11816 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11817 (go32_resume, go32_fetch_registers, store_register)
11818 (go32_store_registers, go32_prepare_to_store)
11819 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11820 (go32_create_inferior, go32_can_run, go32_terminal_init)
11821 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11822 declarations.
11823
11824 2014-01-15 Tom Tromey <tromey@redhat.com>
11825
11826 * target.h (async_callback_ftype): New typedef.
11827 (struct target_ops) <to_async>: Use it.
11828
11829 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11830
11831 * python/py-value.c (get_field_type): Remove unnecessary curly
11832 braces for single-statement if block.
11833
11834 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11835
11836 * python/py-type.c (convert_field): Add missing empty line
11837 after declarations.
11838
11839 2014-01-14 Doug Evans <dje@google.com>
11840
11841 * symfile.h (expand_symtabs_matching): Renamed from
11842 expand_partial_symbol_names. Update prototype.
11843 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11844 * symfile.c (expand_symtabs_matching): Renamed from
11845 expand_partial_symbol_names. New args file_matcher, kind.
11846 Rename arg fun to symbol_matcher.
11847 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11848 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11849 ada_expand_partial_symbol_name.
11850 (ada_make_symbol_completion_list): Update to call
11851 expand_symtabs_matching.
11852 (ada_add_global_exceptions): Call expand_symtabs_matching.
11853 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11854 call map_symbol_filenames.
11855 * symtab.c (sources_info): Update to call map_symbol_filenames.
11856 (search_symbols): Call expand_symtabs_matching.
11857 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11858 (default_make_symbol_completion_list_break_on): Update to call
11859 expand_symtabs_matching.
11860 (make_source_files_completion_list): Update to call
11861 map_symbol_filenames.
11862
11863 2014-01-14 Doug Evans <dje@google.com>
11864
11865 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11866 (expand_symtabs_symbol_matcher_ftype): New typedef.
11867 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11868 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11869 * symfile.c (expand_partial_symbol_names): Update to use
11870 expand_symtabs_symbol_matcher_ftype.
11871 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11872 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11873 Arg name_matcher renamed to symbol_matcher.
11874 * psymtab.c (recursively_search_psymtabs): Update to use
11875 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11876 sym_matcher.
11877 (expand_symtabs_matching_via_partial): Update to use
11878 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11879 Arg name_matcher renamed to symbol_matcher.
11880
11881 2014-01-14 Doug Evans <dje@google.com>
11882
11883 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11884 (map_partial_symbol_filenames): Ditto.
11885 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11886 (map_partial_symbol_filenames): Ditto.
11887 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11888 (map_partial_symbol_filenames): Ditto.
11889 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11890 (map_partial_symbol_filenames): Ditto.
11891 * symtab.c: Delete #include "psymtab.h".
11892
11893 2014-01-14 Pedro Alves <palves@redhat.com>
11894 Tom Tromey <tromey@redhat.com>
11895
11896 * infrun.c (use_displaced_stepping): Use find_record_target
11897 instead of RECORD_IS_USED.
11898 (adjust_pc_after_break): Use record_full_is_used instead of
11899 RECORD_IS_USED.
11900 * record-btrace.c (record_btrace_open): Call record_preopen
11901 instead of checking RECORD_IS_USED.
11902 * record-full.c (record_full_shortname)
11903 (record_full_core_shortname): New globals.
11904 (record_full_is_used): New function.
11905 (find_full_open): Call record_preopen instead of checking
11906 RECORD_IS_USED.
11907 (init_record_full_ops): Set the target's shortname to
11908 record_full_shortname.
11909 (init_record_full_core_ops): Set the target's shortname to
11910 record_full_core_shortname.
11911 * record-full.h (record_full_is_used): Declare.
11912 * record.c (find_record_target): Make extern.
11913 (record_preopen): New function.
11914 * record.h (RECORD_IS_USED): Delete macro.
11915 (find_record_target, record_preopen): Declare functions.
11916
11917 2014-01-14 Yao Qi <yao@codesourcery.com>
11918
11919 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11920 'len''s type to ULONGEST.
11921 (core_xfer_shared_libraries_aix): Likewise.
11922 * gdbarch.c, gdbarch.h: Regenerated.
11923 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11924 Change type of 'len' to ULONGEST.
11925 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11926 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11927
11928 2014-01-14 Yao Qi <yao@codesourcery.com>
11929
11930 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11931 type of 'len' to ULONGEST.
11932 (linux_xfer_osdata_processgroups): Likewise.
11933 (linux_xfer_osdata_threads): Likewise.
11934 (linux_xfer_osdata_fds): Likewise.
11935 (linux_xfer_osdata_isockets): Likewise.
11936 (linux_xfer_osdata_shm): Likewise.
11937 (linux_xfer_osdata_sem): Likewise.
11938 (linux_xfer_osdata_msg): Likewise.
11939 (linux_common_xfer_osdata): Likewise.
11940 (struct osdata_type) <getter>: Likewise.
11941 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11942 the declaration.
11943
11944 2014-01-14 Yao Qi <yao@codesourcery.com>
11945
11946 * target.h (target_xfer_partial_ftype): Update.
11947 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11948 ULONGEST.
11949 * aix-thread.c (aix_thread_xfer_partial): Change type of
11950 argument 'len' to ULONGEST.
11951 * auxv.c (procfs_xfer_auxv): Likewise.
11952 (ld_so_xfer_auxv): Likewise.
11953 (memory_xfer_auxv): Likewise.
11954 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11955 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11956 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11957 * corelow.c (core_xfer_partial): Likewise.
11958 * ctf.c (ctf_xfer_partial): Likewise.
11959 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11960 '%u'.
11961 (darwin_read_dyld_info): Likewise.
11962 (darwin_xfer_partial): Likewise.
11963 * exec.c (section_table_xfer_memory_partial): Likewise.
11964 (exec_xfer_partial): Likewise.
11965 * exec.h (section_table_xfer_memory_partial): Update
11966 declaration.
11967 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11968 instead of plongest.
11969 (gnu_xfer_partial): Likewise.
11970 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11971 (ia64_hpux_xfer_solib_got): Likewise.
11972 (ia64_hpux_xfer_partial): Likewise.
11973 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11974 * inf-ptrace.c (inf_ptrace_xfer_partial):
11975 * inf-ttrace.c (inf_ttrace_xfer_partial):
11976 * linux-nat.c (linux_xfer_siginfo): Likewise.
11977 (linux_nat_xfer_partial): Likewise.
11978 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11979 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11980 * monitor.c (monitor_xfer_memory): Likewise.
11981 (monitor_xfer_partial): Likewise.
11982 * procfs.c (procfs_xfer_partial): Likewise.
11983 * record-full.c (record_full_xfer_partial): Likewise.
11984 (record_full_core_xfer_partial): Likewise.
11985 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11986 instead of plongest.
11987 (gdbsim_xfer_partial): Likewise.
11988 * remote.c (remote_xfer_partial): Likewise.
11989 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11990 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11991 declaration.
11992 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11993 (rs6000_xfer_shared_libraries): Likewise.
11994 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11995 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11996 (sparc_xfer_partial): Likewise.
11997 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11998 (spu_xfer_partial): Likewise.
11999 * spu-multiarch.c (spu_xfer_partial): Likewise.
12000 * target.c (target_read_live_memory): Likewise.
12001 (memory_xfer_live_readonly_partial): Likewise.
12002 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12003 (target_xfer_partial, default_xfer_partial): Likewise.
12004 (current_xfer_partial): Likewise.
12005 * tracepoint.c (tfile_xfer_partial): Likewise.
12006 * windows-nat.c (windows_xfer_memory): Likewise. Call
12007 pulongest instead of plongest.
12008 (windows_xfer_partial): Likewise.
12009 (windows_xfer_shared_libraries): Likewise.
12010
12011 2014-01-14 Yao Qi <yao@codesourcery.com>
12012
12013 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12014 target_xfer_partial_ftype.
12015
12016 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12017
12018 PR python/15464
12019 PR python/16113
12020 * valops.c (value_struct_elt_bitpos): New function
12021 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12022 object to 'None' if the field name is an empty string ("").
12023 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12024 attribute to look for a field when 'name' is 'None'.
12025 (get_field_type): New function
12026
12027 2014-01-13 Doug Evans <dje@google.com>
12028
12029 PR symtab/16426
12030 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12031 (try_open_dwop_file): Ditto.
12032 * gdb_bfd.c: #include "vec.h".
12033 (bfdp): New typedef.
12034 (struct gdb_bfd_data): New member included_bfds.
12035 (gdb_bfd_unref): Unref all included bfds.
12036 (gdb_bfd_record_inclusion): New function.
12037 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12038
12039 2014-01-13 Tom Tromey <tromey@redhat.com>
12040
12041 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12042
12043 2014-01-13 Tom Tromey <tromey@redhat.com>
12044
12045 * defs.h (use_windows): Remove.
12046 * gdb.c (main): Update.
12047 * main.c (captured_main, gdb_main): Update.
12048 * main.h (struct captured_main_args) <use_windows>: Remove.
12049 * top.c (use_windows): Remove.
12050
12051 2014-01-13 Tom Tromey <tromey@redhat.com>
12052
12053 * defs.h (deprecated_flush_hook): Remove.
12054
12055 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12056
12057 PR threads/16216
12058 * linux-thread-db.c (try_thread_db_load): Add parameter
12059 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12060 (try_thread_db_load_from_pdir_1): Move it there from here.
12061 (try_thread_db_load_from_sdir): Update caller.
12062 (try_thread_db_load_from_dir): Move it there from here.
12063
12064 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12065
12066 * regformats/regdat.sh: Always rewrite the register file.
12067
12068 2014-01-13 Pedro Alves <palves@redhat.com>
12069
12070 * Makefile.in (CHECK_HEADERS): New variable.
12071 (check-headers:): New rule.
12072
12073 2014-01-13 Tom Tromey <tromey@redhat.com>
12074
12075 * cli/cli-setshow.c (do_set_command): Update.
12076 * defs.h (deprecated_set_hook): Remove.
12077 * top.c (deprecated_set_hook): Remove.
12078
12079 2014-01-13 Pedro Alves <palves@redhat.com>
12080
12081 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12082 the tracepoint if the PC is a pseudo-register.
12083
12084 2014-01-13 Tom Tromey <tromey@redhat.com>
12085
12086 * defs.h (XCALLOC): Remove.
12087 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12088 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12089 * dwarf2loc.c (allocate_piece_closure): Likewise.
12090 * elfread.c (elf_symfile_segments): Likewise.
12091 (elf_symfile_segments): Likewise.
12092 * gdbtypes.c (copy_type_recursive): Likewise.
12093 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12094 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12095 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12096 XCALLOC.
12097 * mt-tdep.c (mt_gdbarch_init): Likewise.
12098 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12099 XCALLOC.
12100 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12101 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12102 * registry.c (registry_alloc_data): Likewise.
12103 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12104 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12105 * serial.c (serial_fdopen_ops): Likewise.
12106 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12107 XCALLOC.
12108 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12109 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12110 not XCALLOC.
12111
12112 2014-01-13 Tom Tromey <tromey@redhat.com>
12113
12114 * defs.h (XMALLOC): Remove.
12115 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12116 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12117 * cli-out.c (struct ui_out *): Likewise.
12118 * cli/cli-dump.c (add_dump_command): Likewise.
12119 (add_dump_command): Likewise.
12120 * complaints.c (get_complaints): Likewise.
12121 (find_complaint): Likewise.
12122 * dwarf2-frame.c (execute_cfa_program): Likewise.
12123 * dwarf2read.c (abbrev_table_read_table): Likewise.
12124 * gdbarch.sh: Likewise.
12125 * gdbarch.c: Rebuild.
12126 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12127 * interps.c (interp_new): Likewise.
12128 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12129 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12130 * mi/mi-console.c (mi_console_file_new): Likewise.
12131 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12132 * mi/mi-out.c (mi_out_new): Likewise.
12133 * mi/mi-parse.c (mi_parse): Likewise.
12134 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12135 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12136 * observer.c (xalloc_observer_list_node): Likewise.
12137 * regcache.c (regcache_xmalloc_1): Likewise.
12138 * reggroups.c (reggroup_new): Likewise.
12139 (_initialize_reggroup): Likewise.
12140 * registry.c (register_data_with_cleanup): Likewise.
12141 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12142 * ser-base.c (serial_ttystate): Likewise.
12143 * ser-mingw.c (make_pipe_state): Likewise.
12144 * ser-pipe.c (pipe_open): Likewise.
12145 * serial.c (serial_open): Likewise.
12146 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12147 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12148 (tui_alloc_win_info): Likewise.
12149 (tui_add_content_elements): Likewise.
12150 * tui/tui-file.c (tui_file_new): Likewise.
12151 * tui/tui-out.c (tui_out_new): Likewise.
12152 * ui-file.c (mem_file_new): Likewise.
12153 * ui-out.c (push_level): Likewise.
12154 (make_cleanup_ui_out_end): Likewise.
12155 (append_header_to_list): Likewise.
12156 (ui_out_new): Likewise.
12157 * user-regs.c (user_reg_add_builtin): Likewise.
12158
12159 2014-01-13 Tom Tromey <tromey@redhat.com>
12160
12161 * defs.h (XZALLOC): Remove.
12162 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12163 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12164 (get_ada_tasks_inferior_data): Likewise.
12165 * auto-load.c (get_auto_load_pspace_data): Likewise.
12166 * auxv.c (get_auxv_inferior_data): Likewise.
12167 * bfd-target.c (target_bfd_reopen): Likewise.
12168 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12169 (deprecated_insert_raw_breakpoint): Likewise.
12170 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12171 * corelow.c (core_open): Likewise.
12172 * darwin-nat.c (darwin_check_new_threads): Likewise.
12173 (darwin_attach_pid): Likewise.
12174 * dummy-frame.c (dummy_frame_push): Likewise.
12175 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12176 * dwarf2loc.c (allocate_piece_closure): Likewise.
12177 * elfread.c (elf_symfile_segments): Likewise.
12178 * eval.c (ptrmath_type_p): Likewise.
12179 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12180 * gdbtypes.c (alloc_type_arch): Likewise.
12181 (alloc_type_instance): Likewise.
12182 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12183 * inf-child.c (inf_child_can_use_agent): Likewise.
12184 * inflow.c (get_inflow_inferior_data): Likewise.
12185 * infrun.c (save_infcall_suspend_state): Likewise.
12186 * jit.c (jit_reader_load): Likewise.
12187 (get_jit_objfile_data): Likewise.
12188 (get_jit_program_space_data): Likewise.
12189 (jit_object_open_impl): Likewise.
12190 (jit_symtab_open_impl): Likewise.
12191 (jit_block_open_impl): Likewise.
12192 (jit_frame_sniffer): Likewise.
12193 * linux-fork.c (add_fork): Likewise.
12194 * maint.c (make_command_stats_cleanup): Likewise.
12195 * objfiles.c (get_objfile_pspace_data): Likewise.
12196 * opencl-lang.c (struct lval_closure): Likewise.
12197 * osdata.c (osdata_start_osdata): Likewise.
12198 * progspace.c (new_address_space): Likewise.
12199 (add_program_space): Likewise.
12200 * remote-sim.c (get_sim_inferior_data): Likewise.
12201 * sh-tdep.c (sh_gdbarch_init): Likewise.
12202 * skip.c (Ignore): Likewise.
12203 (skip_delete_command): Likewise.
12204 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12205 (library_list_start_library): Likewise.
12206 (solib_aix_current_sos): Likewise.
12207 * solib-darwin.c (get_darwin_info): Likewise.
12208 (darwin_current_sos): Likewise.
12209 * solib-dsbt.c (get_dsbt_info): Likewise.
12210 * solib-ia64-hpux.c (new_so_list): Likewise.
12211 (ia64_hpux_get_solib_linkage_addr): Likewise.
12212 * solib-spu.c (append_ocl_sos): Likewise.
12213 (spu_current_sos): Likewise.
12214 * solib-svr4.c (get_svr4_info): Likewise.
12215 (svr4_keep_data_in_core): Likewise.
12216 (library_list_start_library): Likewise.
12217 (svr4_default_sos): Likewise.
12218 (svr4_read_so_list): Likewise.
12219 * solib-target.c (library_list_start_library): Likewise.
12220 (solib_target_current_sos): Likewise.
12221 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12222 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12223 * symfile.c (default_symfile_segments): Likewise.
12224 * target-descriptions.c (tdesc_data_init): Likewise.
12225 (tdesc_create_reg): Likewise.
12226 (struct tdesc_type *): Likewise.
12227 (tdesc_create_vector): Likewise.
12228 (tdesc_set_struct_size): Likewise.
12229 (struct tdesc_type *): Likewise.
12230 (tdesc_free_feature): Likewise.
12231 (tdesc_create_feature): Likewise.
12232 * windows-nat.c (windows_add_thread): Likewise.
12233 (windows_make_so): Likewise.
12234 * xml-support.c (gdb_xml_body_text): Likewise.
12235 (gdb_xml_create_parser_and_cleanup): Likewise.
12236 (xml_process_xincludes): Likewise.
12237 * xml-syscall.c (allocate_syscalls_info): Likewise.
12238 (syscall_create_syscall_desc): Likewise.
12239
12240 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12241
12242 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12243 function, with code from i386_stap_parse_special_token.
12244 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12245 (i386_stap_parse_special_token): Move code to the two functions
12246 above; simplify it.
12247
12248 2014-01-09 Pedro Alves <palves@redhat.com>
12249 Hui Zhu <hui@codesourcery.com>
12250
12251 PR gdb/16101
12252 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12253 bp_err_string. Don't mark the location shlib_disabled if the
12254 error thrown wasn't a generic or memory error. Catch errors
12255 thrown while inserting breakpoints in overlayed code. Output
12256 error message of software breakpoints.
12257 * remote.c (remote_insert_breakpoint): If this breakpoint has
12258 target-side commands but this stub doesn't support Z0 packets,
12259 throw NOT_SUPPORTED_ERROR error.
12260 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12261 * target.h (target_insert_breakpoint): Extend comment.
12262 (target_insert_hw_breakpoint): Add comment.
12263
12264 2014-01-08 Pedro Alves <palves@redhat.com>
12265
12266 * remote.c (remote_add_thread): Add threads silently if starting
12267 up.
12268 (remote_notice_new_inferior): If in all-stop, and starting up,
12269 don't call notice_new_inferior.
12270 (get_current_thread): New function, factored out from ...
12271 (add_current_inferior_and_thread): ... this. Adjust.
12272 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12273 found any thread, then select the remote's current thread as GDB's
12274 current thread too.
12275
12276 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12277
12278 * NEWS: Create a new section for the next release branch.
12279 Rename the section of the current branch, now that it has
12280 been cut.
12281
12282 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12283
12284 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12285 * version.in: Bump version to 7.7.50.DATE-cvs.
12286
12287 2014-01-08 Yao Qi <yao@codesourcery.com>
12288
12289 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12290 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12291 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12292
12293 2014-01-08 Yao Qi <yao@codesourcery.com>
12294
12295 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12296 return value of bfd_get_filename to symbol_file_add_from_bfd.
12297
12298 2014-01-08 Pierre Muller <muller@sourceware.org>
12299
12300 Fix PR16201.
12301 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12302 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12303 to prim_record_mininal_symbol_and_info.
12304 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12305 in call to prim_record_minimal_symbol_and_info.
12306 (read_pe_exported_syms): Set index field of section_data.
12307
12308 2014-01-07 Andrew Pinski <apinski@cavium.com>
12309
12310 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12311 * features/aarch64.c: Regenerate.
12312
12313 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * target.c (return_null): Define.
12316 (update_current_target): Use it instead of return_zero for
12317 functions that return a pointer.
12318
12319 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12320
12321 * source.c (add_path): Fix check for duplicated paths in the previously
12322 included paths.
12323
12324 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12325
12326 * ada-lang.c: Remove duplicated include statements.
12327 * alphabsd-nat.c: Ditto.
12328 * amd64-darwin-tdep.c: Ditto.
12329 * amd64fbsd-nat.c: Ditto.
12330 * auto-load.c: Ditto.
12331 * ax-gdb.c: Ditto.
12332 * breakpoint.c: Ditto.
12333 * dbxread.c: Ditto.
12334 * fork-child.c: Ditto.
12335 * gdb_usleep.c: Ditto.
12336 * i386-darwin-tdep.c: Ditto.
12337 * i386fbsd-nat.c: Ditto.
12338 * infcmd.c: Ditto.
12339 * inferior.c: Ditto.
12340 * jv-lang.c: Ditto.
12341 * linux-nat.c: Ditto.
12342 * linux-tdep.c: Ditto.
12343 * m68kbsd-nat.c: Ditto.
12344 * m68klinux-nat.c: Ditto.
12345 * microblaze-tdep.c: Ditto.
12346 * mips-linux-tdep.c: Ditto.
12347 * mn10300-tdep.c: Ditto.
12348 * nto-tdep.c: Ditto.
12349 * opencl-lang.c: Ditto.
12350 * osdata.c: Ditto.
12351 * printcmd.c: Ditto.
12352 * regcache.c: Ditto.
12353 * remote-m32r-sdi.c: Ditto.
12354 * remote.c: Ditto.
12355 * symfile.c: Ditto.
12356 * symtab.c: Ditto.
12357 * tilegx-linux-nat.c: Ditto.
12358 * tilegx-tdep.c: Ditto.
12359 * tracepoint.c: Ditto.
12360 * valops.c: Ditto.
12361 * vaxbsd-nat.c: Ditto.
12362 * windows-nat.c: Ditto.
12363 * xtensa-tdep.c: Ditto.
12364
12365 2014-01-07 Yao Qi <yao@codesourcery.com>
12366
12367 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12368
12369 2014-01-07 Yao Qi <yao@codesourcery.com>
12370 Joel Brobecker <brobecker@adacore.com>
12371
12372 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12373 (pdc_write_regs): Likewise.
12374 (fetch_regs_kernel_thread): Likewise.
12375 (store_regs_kernel_thread): Likewise.
12376
12377 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12378
12379 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12380 tagged type objects to their actual type.
12381
12382 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12383
12384 * ada-valprint.c (print_field_values): Add "language" parameter.
12385 Update calls to print_field_values and print_variant_part.
12386 Pass new parameter "language" in call to val_print instead
12387 of "current_language". Replace call to ada_val_print by call
12388 to val_print.
12389 (print_variant_part): Add "language" parameter.
12390 (ada_val_print_struct_union): Update call to print_field_values.
12391
12392 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12393
12394 * ada-valprint.c (ui_memcpy): Delete.
12395 (ada_print_floating): Update documentation. Add empty line
12396 between between function documentation and implementation.
12397 Delete variable "buffer". Use ui_file_xstrdup in place of
12398 ui_file_put. Minor adjustments following this change.
12399
12400 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12401
12402 * ada-valprint.c (ada_val_print_string): New function,
12403 extracted from ada_val_print_array.
12404 (ada_val_print_array): Replace extracted code by call
12405 to ada_val_print_string followed by a return. Move
12406 "else" branch to the function's top block.
12407
12408 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12409
12410 * ada-valprint.c (ada_val_print_array): Move implementation
12411 down. Rename parameter "offset" and "val" into "offset_aligned"
12412 and "original_value" respectively. Add parameter "offset".
12413
12414 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12415
12416 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12417 re-organizing the code. Change the "???" message printed
12418 when target type is a TYPE_CODE_UNDEF into
12419 "<ref to undefined type>".
12420
12421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12422
12423 * ada-valprint.c (print_record): Delete, implementation inlined...
12424 (ada_val_print_struct_union): ... here. Remove call to
12425 ada_check_typedef in inlined implementation.
12426
12427 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12428
12429 * ada-valprint.c (ada_val_print_gnat_array): New function,
12430 extracted from ada_val_print_1;
12431 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12432 (ada_val_print_flt, ada_val_print_struct_union)
12433 (ada_val_print_ref): Likewise.
12434 (ada_val_print_1): Delete variables i and elttype.
12435 Replace extracted-out code by call to corresponding
12436 new functions.
12437
12438 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12439
12440 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12441
12442 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12443
12444 * ada-valprint.c (ada_val_print_1): Replace calls to
12445 ada_val_print_1 by calls to val_print.
12446
12447 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12448
12449 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12450 Update calls to self accordingly. Replace calls to c_val_print
12451 by calls to val_print.
12452
12453 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12454
12455 * ada-valprint.c (print_record): Delete declaration.
12456 (adjust_type_signedness, ada_val_print_1): Likewise.
12457 (ada_val_print): Move function implementation down.
12458 (print_variant_part, print_field_values, print_record):
12459 Move function implementation up.
12460
12461 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12462
12463 * python/py-type.c (typy_get_name): New function.
12464 (type_object_getset): Add entry for attribute "name".
12465 * NEWS: Add entry mentioning this new attribute.
12466
12467 2014-01-07 Yao Qi <yao@codesourcery.com>
12468
12469 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12470 statement.
12471
12472 2014-01-07 Yao Qi <yao@codesourcery.com>
12473
12474 * gnu-nat.c (info_port_rights): Add qualifier const to
12475 argument args.
12476
12477 2014-01-07 Yao Qi <yao@codesourcery.com>
12478
12479 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12480
12481 2014-01-07 Yao Qi <yao@codesourcery.com>
12482
12483 * gnu-nat.c (make_inf) Update declaration.
12484 (make_inf): Make it static.
12485 (inf_set_traced): Likewise.
12486 (inf_port_to_thread, inf_task_died_status): Likewise.
12487
12488 2014-01-07 Yao Qi <yao@codesourcery.com>
12489
12490 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12491
12492 2014-01-07 Yao Qi <yao@codesourcery.com>
12493
12494 * gnu-nat.c (_initialize_gnu_nat): Declare.
12495
12496 2014-01-07 Yao Qi <yao@codesourcery.com>
12497
12498 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12499 'enum bfd_endian'.
12500 (struct gdbarch_info) <byte_order>: Change type to
12501 'enum bfd_endian'.
12502 <byte_order_for_code>: Likewise.
12503 * gdbarch.c, gdbarch.h: Regenerated.
12504
12505 2014-01-06 Sasha Smundak <asmundak@google.com>
12506
12507 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12508
12509 2014-01-06 Tom Tromey <tromey@redhat.com>
12510
12511 * doublest.c (convert_doublest_to_floatformat): Use const, not
12512 CONST.
12513 * somread.c (som_symtab_read): Likewise.
12514
12515 2014-01-07 Hui Zhu <hui@codesourcery.com>
12516
12517 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12518 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12519 (gdb_bfd_fopen): Ditto.
12520 (gdb_bfd_openr): Ditto.
12521 (gdb_bfd_openw): Ditto.
12522 (gdb_bfd_openr_iovec): Ditto.
12523 (gdb_bfd_fdopenr): Ditto.
12524 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12525 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12526 with xstrdup.
12527 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12528 with xstrdup.
12529 * symfile-mem.c (symbol_file_add_from_memory): Removed
12530 gdb_bfd_stash_filename.
12531
12532 2014-01-03 Doug Evans <dje@google.com>
12533
12534 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12535 output.
12536
12537 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12538
12539 Update year range in copyright notice of all files.
12540
12541 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12542
12543 * top.c (print_gdb_version): Set copyright year to 2014.
12544
12545 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12546
12547 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12548
12549 For older changes see ChangeLog-2013.
12550 \f
12551 Local Variables:
12552 mode: change-log
12553 left-margin: 8
12554 fill-column: 74
12555 version-control: never
12556 coding: utf-8
12557 End:
This page took 0.322844 seconds and 4 git commands to generate.