1 2014-05-20 Doug Evans <dje@google.com>
3 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4 instead of get_current_arch.
6 2014-05-20 Pedro Alves <palves@redhat.com>
8 * NEWS: Mention that compare-sections now works with all targets.
10 * remote.c (PACKET_qCRC): New enum value.
11 (remote_verify_memory): Don't send qCRC if the target has no
12 execution. Use packet_support/packet_ok. If the target doesn't
13 support the qCRC packet, fallback to a deep memory copy.
14 (compare_sections_command): Say "target image" instead of "remote
16 (_initialize_remote): Add PACKET_qCRC to the list of config
17 packets that have no associated command. Extend comment.
18 * target.c (simple_verify_memory, default_verify_memory): New
20 * target.h (struct target_ops) <to_verify_memory>: Default to
21 default_verify_memory.
22 (simple_verify_memory): New declaration.
23 * target-delegates.c: Regenerate.
25 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
27 * record-btrace.c (record_btrace_step_thread): Check for empty history.
29 2014-05-20 Hui Zhu <hui@codesourcery.com>
30 Yao Qi <yao@codesourcery.com>
33 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
34 and change address of sp and pc.
36 2014-05-19 Tom Tromey <tromey@redhat.com>
38 * gdbtypes.c (rank_function): Use XNEWVEC.
39 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
41 2014-05-19 Doug Evans <dje@google.com>
43 * dwarf2read.c (build_type_psymtabs_1): Renamed from
44 build_type_unit_groups and moved closer to only caller. Remove
45 arguments. All references updated. Remove outdated .gdb_index
47 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
48 build_type_psymtabs_1.
50 2014-05-19 Doug Evans <dje@google.com>
52 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
53 n_type_unit_groups, all_type_unit_groups. All uses removed.
54 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
55 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
56 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
57 (add_type_unit_group_to_table): Delete.
59 2014-05-19 Doug Evans <dje@google.com>
61 * eval.c (evaluate_subexp_standard): Add some comments.
63 2014-05-17 Doug Evans <xdje42@gmail.com>
65 * progspace.c (remove_program_space): Delete, unused.
66 * progspace.h (remove_program_space): Ditto.
68 2014-05-17 Doug Evans <xdje42@gmail.com>
70 * inferior.c (prune_inferiors): Fix comment.
71 (remove_inferior_command): Call prune_program_spaces.
73 2014-05-16 Doug Evans <dje@google.com>
75 New command line option -D.
77 * main.c (set_gdb_data_directory): New function.
78 (captured_main): Recognize -D. Flag error for --data-directory "".
79 Call set_gdb_data_directory.
80 (print_gdb_help): Print --data-directory, -D.
81 * main.h (set_gdb_data_directory): Declare.
82 * top.c (staged_gdb_datadir): New static global.
83 (set_gdb_datadir): Call set_gdb_data_directory
84 (show_gdb_datadir): New function.
85 (init_main): Update init of data-directory parameter.
87 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
89 Import the "dirfd" gnulib module.
90 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
91 * gnulib/aclocal.m4: Update.
92 * gnulib/config.in: Update.
93 * gnulib/configure: Update.
94 * gnulib/import/Makefile.am: Update.
95 * gnulib/import/Makefile.in: Update.
96 * gnulib/import/dirfd.c: New.
97 * gnulib/import/m4/dirfd.m4: New.
98 * gnulib/import/m4/gnulib-cache.m4: Update.
99 * gnulib/import/m4/gnulib-comp.m4: Update.
101 2014-05-16 Pierre Muller <muller@sourceware.org>
102 Yao Qi <yao@codesourcery.com>
104 * valprint.c (print_wchar): Move the code on checking whether
105 W is a printable wide char to the default branch of switch
106 statement below. Call wchar_printable instead of gdb_iswprint.
108 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
110 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
111 ldr.w and ldrd instructions.
113 2014-05-15 Doug Evans <dje@google.com>
115 * dwarf2read.c (read_structure_type): Delete outdated comments.
117 2014-05-14 Tom Tromey <tromey@redhat.com>
119 * macrocmd.c (print_macro_definition): Reindent.
121 2014-05-13 Doug Evans <xdje42@gmail.com>
123 * python/py-cmd.c (cmdpy_completer): Add comment.
124 (completers): Make const.
126 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
128 * infrun.c (resume): Remove should_resume (unused). Move up
129 declaration of resume_ptid.
131 2014-05-13 Tom Tromey <tromey@redhat.com>
133 * language.h (unop_type_check): Remove.
134 (binop_type_check): Don't declare.
136 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
138 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
139 call to regcache_raw_collect.
141 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
143 * mi/mi-console.c (mi_console_raw_packet): Use the value from
144 mi_console->quote as the quoting character.
146 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
148 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
150 2014-04-29 Tom Tromey <tromey@redhat.com>
152 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
155 2014-05-07 Kyle McMartin <kyle@redhat.com>
157 Pushed by Joel Brobecker <brobecker@adacore.com>.
158 * aarch64-tdep.c (aarch64_software_single_step): New function.
159 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
160 with aarch64_software_single_step.
162 2014-05-05 Joel Brobecker <brobecker@adacore.com>
166 2014-05-05 Keith Seitz <keiths@redhat.com>
168 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
169 variable or history value is successfully parsed.
171 2014-05-05 Yao Qi <yao@codesourcery.com>
172 Pedro Alves <palves@redhat.com>
174 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
175 address of blocks that intersects the requested range. Trim
176 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
178 * ctf.c (ctf_xfer_partial): Likewise.
180 2014-05-05 Yao Qi <yao@codesourcery.com>
182 * printcmd.c (display_command): Remove the check to
183 target_has_execution.
185 2014-05-03 Mark Kettenis <kettenis@gnu.org>
187 * ppcobsd-nat.c: Include "obsd-nat.h".
188 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
190 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
192 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
194 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
195 and 16-bit signed and unsigned arguments. Update comment.
196 (stap_parse_probe_arguments): Extend code to handle such
197 arguments. Use warning instead of complaint to notify about
198 unrecognized bitness.
200 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
203 * stap-probe.c (stap_parse_probe_arguments): Simplify
204 check for non-prefixed probes (i.e., probes whose
205 arguments do not start with "N@"). Always set the
206 argument type to a sane value.
208 2014-05-01 David Taylor <dtaylor@emc.com>
210 * remote.c (compare_sections_command): Add -r option to compare
211 all loadable read-only sections.
213 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
215 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
216 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
218 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
219 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
220 Remove unused CORE_ADDR argument. Update all callers.
222 2014-04-29 Pedro Alves <palves@redhat.com>
224 * remote.c (struct packet_config) <detect>: Extend comment.
225 (add_packet_config_cmd): Don't set the config's detect or support
227 (init_all_packet_configs): Also initialize the config's 'detect'
229 (reset_all_packet_configs_support): New function.
230 (remote_open_1): Call reset_all_packet_configs_support instead of
231 init_all_packet_configs.
232 (_initialize_remote): Initialize all packet configs. Assert that
233 all packets have an associated command, except a few known
236 2014-04-28 Joel Brobecker <brobecker@adacore.com>
238 * dwarf2read.c (read_subrange_type): Handle dynamic
239 DW_AT_lower_bound attributes.
241 2014-04-28 Joel Brobecker <brobecker@adacore.com>
243 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
244 dynamic bounds before computing its upper bound.
245 (ada_discrete_type_low_bound): Same as above with the lower bound.
247 2014-04-28 Joel Brobecker <brobecker@adacore.com>
249 * dwarf2read.c (is_dynamic_type): Return true for dynamic
250 range types. Adjust the array handling implementation to
251 take advantage of this change.
252 (resolve_dynamic_range): New function, mostly extracted from
253 resolve_dynamic_bounds.
254 (resolve_dynamic_array): New function, mostly extracted from
255 resolve_dynamic_bounds.
256 (resolve_dynamic_bounds): Delete.
257 (resolve_dynamic_type): Reimplement. Add handling of
258 TYPE_CODE_RANGE types.
260 2014-04-28 Joel Brobecker <brobecker@adacore.com>
262 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
263 handling of parallel ___XA types.
265 2014-04-28 Joel Brobecker <brobecker@adacore.com>
267 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
268 unnecessary second call to static_unwrap_type.
270 2014-04-27 Hui Zhu <hui@codesourcery.com>
272 * stack.c (print_frame_info): Call do_gdb_disassembly with
273 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
275 2014-04-26 Doug Evans <xdje42@gmail.com>
277 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
279 2014-04-25 Pedro Alves <palves@redhat.com>
282 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
283 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
284 and newline from built string.
285 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
286 (linux_ptrace_attach_fail_reason): ... this.
287 * linux-nat.c (linux_nat_attach): Adjust to use
288 linux_ptrace_attach_fail_reason.
290 2014-04-25 Pedro Alves <palves@redhat.com>
292 * remote.c (struct remote_state): Remove multi_process_aware,
293 non_stop_aware, cond_tracepoints, cond_breakpoints,
294 breakpoint_commands, fast_tracepoints, static_tracepoints,
295 install_in_trace, disconnected_tracing,
296 enable_disable_tracepoints, string_tracing, and
297 augmented_libraries_svr4_read fields.
298 (remote_multi_process_p): Move further below in the file.
299 (struct packet_config): Add comments.
300 (update_packet_config): Delete function.
301 (show_packet_config_cmd): Use packet_config_support.
302 (add_packet_config_cmd): Use NULL as set callback.
303 (packet_ok): "set remote foo-packet"-style commands no longer
304 change config->supported -- adjust.
305 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
306 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
307 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
308 (PACKET_QNonStop, PACKET_multiprocess_feature)
309 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
310 (PACKET_DisconnectedTracing_feature)
311 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
312 (set_remote_protocol_packet_cmd): Delete function.
313 (packet_config_support, packet_support): New functions.
314 (set_remote_protocol_Z_packet_cmd): Don't call
315 update_packet_config.
316 (remote_query_attached, remote_pass_signals)
317 (remote_program_signals, remote_threads_info)
318 (remote_threads_extra_info, remote_start_remote): Use
320 (remote_start_remote): Use packet_config_support and
322 (init_all_packet_configs): Set all packets to unknown support,
323 instead of calling update_packet_config.
324 (remote_check_symbols): Use packet_support.
325 (remote_supported_packet): Unconditionally set the packet config's
327 (remote_multi_process_feature, remote_non_stop_feature)
328 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
329 (remote_breakpoint_commands_feature)
330 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
331 (remote_install_in_trace_feature)
332 (remote_disconnected_tracing_feature)
333 (remote_enable_disable_tracepoint_feature)
334 (remote_string_tracing_feature)
335 (remote_augmented_libraries_svr4_read_feature): Delete functions.
336 (remote_protocol_features): Adjust to use remote_supported_packet
337 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
338 "ConditionalTracepoints", "ConditionalBreakpoints",
339 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
340 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
341 "EnableDisableTracepoints", and "tracenz".
342 (remote_query_supported): Use packet_support.
343 (remote_open_1): Adjust.
344 (extended_remote_attach_1): Use packet_support. Switch on the
345 result of packet_ok instead of checking whether the packet ended
347 (remote_vcont_resume): Use packet_support.
348 (remote_resume, remote_stop_ns, fetch_register_using_p)
349 (remote_prepare_to_store, store_register_using_P)
350 (check_binary_download, remote_write_bytes): Use packet_support.
351 (remote_vkill): Use packet_support. Switch on the result of
352 packet_ok instead of checking whether the packet ended up
354 (extended_remote_supports_disable_randomization): Use
356 (extended_remote_run): Switch on the result of packet_ok instead
357 of checking whether the packet ended up disabled.
358 (remote_insert_breakpoint, remote_remove_breakpoint)
359 (remote_insert_watchpoint, remote_remove_watchpoint)
360 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
362 (remote_search_memory): Use packet_config_support.
363 (remote_get_thread_local_address, remote_get_tib_address)
364 (remote_hostio_send_command, remote_can_execute_reverse): Use
366 (remote_supports_cond_tracepoints)
367 (remote_supports_cond_breakpoints)
368 (remote_supports_fast_tracepoints)
369 (remote_supports_static_tracepoints)
370 (remote_supports_install_in_trace)
371 (remote_supports_enable_disable_tracepoint)
372 (remote_supports_string_tracing)
373 (remote_can_run_breakpoint_commands): Rewrite, checking whether
374 the packet config says the feature is enabled or disabled.
375 (remote_download_tracepoint, remote_trace_set_readonly_regions)
376 (remote_get_trace_status): Use packet_support.
377 (remote_set_disconnected_tracing): Adjust to check whether the
378 feature is enabled with packet_support.
379 (remote_set_trace_buffer_size, remote_use_agent)
380 (remote_can_use_agent, remote_supports_btrace): Use
382 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
383 Use packet_config_support.
384 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
385 the packet config says the feature is enabled or disabled.
386 (set_range_stepping): Use packet_support.
388 2014-04-25 Tom Tromey <tromey@redhat.com>
390 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
393 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
395 * NEWS: Mention support for C99 variable length arrays.
397 2014-04-24 Joel Brobecker <brobecker@adacore.com>
399 * ada-lang.c (standard_exc): Expand introductory comment.
401 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
402 Walfred Tedeschi <walfred.tedeschi@intel.com>
404 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
406 (amd64_linux_read_description): Add code to handle AVX512 xstate
407 mask and return respective tdesc.
408 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
409 and features/i386/x32-avx512-linux.c.
410 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
411 (amd64_linux_core_read_description): Add code to handle AVX512
412 xstate mask and return respective tdesc.
413 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
414 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
416 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
417 (tdesc_amd64_avx512_linux): New prototype.
418 (tdesc_x32_avx512_linux): Likewise.
419 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
420 features/i386/x32-avx512.c.
421 (amd64_ymm_avx512_names): New register names for pseudo
423 (amd64_ymmh_avx512_names): New register names for raw registers
425 (amd64_k_names): New register names for K registers.
426 (amd64_zmmh_names): New register names for ZMM raw registers.
427 (amd64_zmm_names): New registers names for ZMM pseudo registers.
428 (amd64_xmm_avx512_names): New register names for XMM16-31
430 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
432 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
433 if feature is present.
434 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
435 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
436 (AMD64_NUM_REGS): Adjust to new number of registers.
437 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
438 registers supplied via XSTATE by AVX512 registers.
439 (i386_linux_read_description): Add case for AVX512.
440 * i386-linux-tdep.c: Include i386-avx512-linux.c.
441 (i386_linux_gregset_reg_offset): Add AVX512 registers.
442 (i386_linux_core_read_description): Add case for AVX512.
443 (i386_linux_init_abi): Install supported register note section
445 (_initialize_i386_linux_tdep): Add call to tdesc init function for
447 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
448 registers to be number of zmm7h + 1.
449 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
450 * i386-tdep.c: Include features/i386/i386-avx512.c.
451 (i386_zmm_names): Add ZMM pseudo register names array.
452 (i386_zmmh_names): Add ZMM raw register names array.
453 (i386_k_names): Add K raw register names array.
454 (num_lower_zmm_regs): Add constant for the number of lower ZMM
455 registers. AVX512 has 16 more ZMM registers than there are YMM
457 (i386_zmmh_regnum_p): Add function to look up register number of
459 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
460 (i386_k_regnum_p): Likewise for K raw registers.
461 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
462 registers added by AVX512.
463 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
464 registers added by AVX512.
465 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
467 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
468 (i386_pseudo_register_name): Add ZMM pseudo registers.
469 (i386_zmm_type): Construct and return vector registers type for ZMM
471 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
472 ZMM0-31 pseudo registers and K registers.
473 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
474 and YMM16-31 registers from register cache.
475 (i386_pseudo_register_write): Add code to write K, ZMM and
477 (i386_register_reggroup_p): Add code to include/exclude AVX512
478 registers in/from respective register groups.
479 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
480 registers if feature is present in xcr0.
481 (i386_gdbarch_init): Add code to initialize AVX512 feature
482 variables in tdep structure, wire in pseudo registers and call
483 initialize_tdesc_i386_avx512.
484 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
486 (i386_regnum): Add AVX512 registers.
487 (I386_SSE_NUM_REGS): New define for number of SSE registers.
488 (I386_AVX_NUM_REGS): Likewise for AVX registers.
489 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
490 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
492 (i386_xmm_avx512_regnum_p): New prototype for register look up.
493 (i386_ymm_avx512_regnum_p): Likewise.
494 (i386_k_regnum_p): Likewise.
495 (i386_zmm_regnum_p): Likewise.
496 (i386_zmmh_regnum_p): Likewise.
497 * i387-tdep.c : Update year in copyright notice.
498 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
500 (XSAVE_YMM_AVX512_ADDR): New macro.
501 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
503 (XSAVE_XMM_AVX512_ADDR): New macro.
504 (xsave_avx512_k_offset): New table for K register offsets in
506 (XSAVE_AVX512_K_ADDR): New macro.
507 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
509 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
510 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
512 (i387_collect_xsave): Add code to collect AVX512 registers from
514 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
515 of XMM16-31 registers.
516 (I387_NUM_K_REGS): New define for number of K registers.
517 (I387_K0_REGNUM): New define for K0 register number.
518 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
519 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
520 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
522 (I387_YMM16H_REGNUM): New define for YMM16H register number.
523 (I387_XMM16_REGNUM): New define for XMM16 register number.
524 (I387_YMM0_REGNUM): New define for YMM0 register number.
525 (I387_KEND_REGNUM): New define for last K register number.
526 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
527 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
529 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
531 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
533 * features/Makefile: Add AVX512 related files.
534 * features/i386/32bit-avx512.xml: New file.
535 * features/i386/64bit-avx512.xml: Likewise.
536 * features/i386/amd64-avx512-linux.c: Likewise.
537 * features/i386/amd64-avx512-linux.xml: Likewise.
538 * features/i386/amd64-avx512.c: Likewise.
539 * features/i386/amd64-avx512.xml: Likewise.
540 * features/i386/i386-avx512-linux.c: Likewise.
541 * features/i386/i386-avx512-linux.xml: Likewise.
542 * features/i386/i386-avx512.c: Likewise.
543 * features/i386/i386-avx512.xml: Likewise.
544 * features/i386/x32-avx512-linux.c: Likewise.
545 * features/i386/x32-avx512-linux.xml: Likewise.
546 * features/i386/x32-avx512.c: Likewise.
547 * features/i386/x32-avx512.xml: Likewise.
548 * regformats/i386/amd64-avx512-linux.dat: New file.
549 * regformats/i386/amd64-avx512.dat: Likewise.
550 * regformats/i386/i386-avx512-linux.dat: Likewise.
551 * regformats/i386/i386-avx512.dat: Likewise.
552 * regformats/i386/x32-avx512-linux.dat: Likewise.
553 * regformats/i386/x32-avx512.dat: Likewise.
554 * NEWS: Add note about new support for AVX512.
557 2014-04-23 Pedro Alves <palves@redhat.com>
559 * breakpoint.c (insert_bp_location): Tolerate errors if the
560 breakpoint is set in a user-loaded objfile.
561 (remove_breakpoint_1): Likewise. Also tolerate errors if the
562 location is marked shlib_disabled. If the breakpoint is set in a
563 user-loaded objfile is a GDB-side memory breakpoint, validate it
564 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
565 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
567 * mem-break.c (memory_validate_breakpoint): New function.
568 * objfiles.c (userloaded_objfile_contains_address_p): New
570 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
571 * target.h (memory_validate_breakpoint): New declaration.
573 2014-04-23 Pedro Alves <palves@redhat.com>
575 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
576 the breakpoint is set in a shared library, only suppress
577 errors for software breakpoints, not hardware breakpoints.
579 2014-04-22 Pedro Alves <palves@redhat.com>
581 * infrun.c (schedlock_applies): New function, factored out from
582 find_thread_needs_step_over.
583 (find_thread_needs_step_over): Use it.
584 (switch_back_to_stepped_thread): Always clear trap_expected if the
585 step over is finished. Return early if scheduler locking applies.
586 Look for the stepping thread and a potential step-over thread with
588 (currently_stepping_or_nexting_callback): Delete.
590 2014-04-22 Nick Clifton <nickc@redhat.com>
592 * NEWS: Mention that ARM sim now supports tracing.
594 2014-04-22 Yao Qi <yao@codesourcery.com>
596 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
598 * tracefile.c (tracefile_fetch_registers): ... it. New
600 * tracefile.h (tracefile_fetch_registers): Declare.
601 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
602 tracefile_fetch_registers.
604 2014-04-19 Eli Zaretskii <eliz@gnu.org>
607 * windows-nat.c (thread_rec): Don't display a warning when
608 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
609 fails for any reason, set th->suspended to -1, so that we don't
610 try to resume such a thread. Also, don't return NULL in these
611 cases, to avoid completely ruin the session due to "PC register is
612 not available" error.
613 (do_windows_fetch_inferior_registers): Check errors in
614 GetThreadContext call.
615 (windows_continue): Accept an additional argument KILLED; if not
616 zero, ignore errors in the SetThreadContext call, since the
617 inferior was killed and is shutting down.
618 (windows_resume, get_windows_debug_event)
619 (windows_create_inferior, windows_mourn_inferior)
620 (windows_kill_inferior): All callers of windows_continue changed
621 to adjust to its new calling sequence.
623 2014-04-19 Yao Qi <yao@codesourcery.com>
625 * ctf.c (ctf_open): Call post_create_inferior.
627 2014-04-19 Yao Qi <yao@codesourcery.com>
629 * ctf.c (handle_id): New static variable.
630 (ctf_open_dir): Get handle_id from bt_context_add_trace return
631 value. Get the declaration of event "register" and get length
634 2014-04-19 Yao Qi <yao@codesourcery.com>
636 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
638 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
640 * valops.c (oload_method_static): Remove unnecessary argument
641 METHOD. Update all callers.
643 2014-04-18 Pedro alves <palves@redhat.com>
644 Tom Tromey <tromey@redhat.com>
647 * frame.c (get_prev_frame_1): Rename to ...
648 (get_prev_frame_always): ... this, and make extern. Adjust.
649 (skip_artificial_frames): Use get_prev_frame_always.
650 (frame_unwind_caller_id, frame_pop, get_prev_frame)
651 (get_frame_unwind_stop_reason): Adjust to rename.
652 * frame.h (get_prev_frame_always): Declare.
653 * inline-frame.c: Include frame.h.
654 (inline_frame_this_id): Use get_prev_frame_always.
656 2014-04-18 Tristan Gingold <gingold@adacore.com>
658 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
659 code by using bfd_mach_o_get_base_address.
661 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
663 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
664 (spu_ax_pseudo_register_collect): New function.
665 (spu_ax_pseudo_register_push_stack): Likewise.
666 (spu_dwarf_reg_to_regnum): Likewise.
667 (spu_gdbarch_init): Install them. Append DWARF unwinders.
669 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
671 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
672 Replace FRAME argument with FRAME_ID.
673 * gdbarch.c, gdbarch.h: Regenerate.
674 * findvar.c (default_value_from_register): Add GDBARCH argument;
675 replace FRAME by FRAME_ID. No longer call get_frame_id.
676 (value_from_register): Update call to gdbarch_value_from_register.
677 * value.h (default_value_from_register): Update prototype.
678 * s390-linux-tdep.c (s390_value_from_register): Update interface
679 and call to default_value_from_register.
680 * spu-tdep.c (spu_value_from_register): Likewise.
682 * findvar.c (address_from_register): Remove TYPE argument.
683 Do not call value_from_register; use gdbarch_value_from_register
684 with null_frame_id instead.
685 * value.h (address_from_register): Update prototype.
686 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
687 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
688 address_from_register interface change.
690 2014-04-17 Yao Qi <yao@codesourcery.com>
692 * gdbtypes.h: Update comments to link to types and macros'
695 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
697 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
699 2014-04-16 Keith Seitz <keiths@redhat.com>
702 * dwarf2read.c (skip_one_die): Check that all relative-offset
703 sibling DIEs fall within range of the current reader's buffer.
704 (read_partial_die): Likewise.
706 2014-04-16 Keith Seitz <keiths@redhat.com>
709 * cp-namespace.c (lookup_symbol_file): If the type name of
710 `this' is NULL, return immediately.
712 2014-04-14 Keith Seitz <keiths@redhat.com>
715 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
716 from symbol_matches_domain in symtab.c. All local callers
717 of symbol_matches_domain updated.
718 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
719 search STRUCT_DOMAIN.
720 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
721 independently. standard_lookup will do that automatically.
722 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
723 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
724 (cp_lookup_symbol_in_namespace): Likewise.
725 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
726 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
727 may return a STRUCT_DOMAIN match.
728 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
729 * cp-support.c: Include language.h.
730 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
732 * psymtab.c (match_partial_symbol): Compare the requested
733 domain with the symbol's domain directly.
734 (lookup_partial_symbol): Likewise.
735 * symtab.c (lookup_symbol_in_language): Explain when/why
736 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
737 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
738 appropriate languages.
739 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
740 and moved to ada-lang.c
741 (lookup_block_symbol): Explain that this function only returns
742 symbol matching the requested DOMAIN.
743 Compare the requested domain with the symbol's domain directly.
744 (iterate_over_symbols): Compare the requested domain with the
745 symbol's domain directly.
746 * symtab.h (symbol_matches_domain): Remove.
748 2014-04-14 Tom Tromey <tromey@redhat.com>
751 * c-exp.y (type_aggregate_p): New function.
752 (qualified_name, classify_inner_name): Use it.
753 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
754 and TYPE_TARGET_TYPE of an enum type.
755 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
757 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
758 handle TYPE_DECLARED_CLASS.
759 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
761 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
762 * valops.c (enum_constant_from_type): New function.
763 (value_aggregate_elt): Use it.
764 * cp-namespace.c (cp_lookup_nested_symbol): Handle
767 2014-04-14 Tom Tromey <tromey@redhat.com>
769 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
770 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
772 * value.h (value_aggregate_elt): Update.
774 2014-04-14 Tom Tromey <tromey@redhat.com>
776 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
778 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
780 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
781 (evaluate_subexp_standard): Pass noside argument.
782 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
783 if noside equals EVAL_NORMAL. If the subscript yields a vla type
784 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
785 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
786 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
788 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
790 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
791 points to a constant blob.
793 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
795 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
796 property and store it as the high bound and flag the range accordingly.
797 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
798 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
799 * gdbtypes.h (enum range_flags): New enum.
800 (struct range_bounds): Add flags member.
802 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
804 * c-typeprint.c (c_type_print_varspec_suffix): Added
805 check for not yet resolved high bound. If unresolved, print
806 "variable length" string to the console instead of random
809 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
811 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
813 (ada_template_to_fixed_record_type_1): Likewise.
814 (ada_to_fixed_type_1): Likewise.
815 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
816 (cp_print_value): Likewise.
817 * d-valprint.c (dynamic_array_type): Likewise.
818 * findvar.c (address_of_variable): Likewise.
819 * jv-valprint.c (java_value_print): Likewise.
820 * valops.c (value_ind): Likewise.
821 * value.c (coerce_ref): Likewise.
823 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
825 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
826 value and retrieve the dynamic type size.
828 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
830 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
831 passed to sizeof is dynamic evaluate the argument to compute the length.
833 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
834 Joel Brobecker <brobecker@adacore.com>
836 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
837 (dwarf2_evaluate_property): New function.
838 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
839 * dwarf2read.c (attr_to_dynamic_prop): New function.
840 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
842 * gdbtypes.c: Include dwarf2loc.h.
843 (is_dynamic_type): New function.
844 (resolve_dynamic_type): New function.
845 (resolve_dynamic_bounds): New function.
846 (get_type_length): New function.
847 (check_typedef): Use get_type_length to compute type length.
848 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
849 (TYPE_LOW_BOUND_KIND): New macro.
850 (is_dynamic_type): New function prototype.
851 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
852 to resolve dynamic properties of the type. Update comment.
853 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
855 2014-04-14 Richard Henderson <rth@redhat.com>
857 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
859 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
860 Doug Evans <xdje42@gmail.com>
862 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
863 dereference TYPE_CODE_REF values.
865 2014-04-11 Joel Brobecker <brobecker@adacore.com>
867 Revert the following changes due to regressions:
869 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
870 (dwarf2_evaluate_property): New function.
871 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
872 * dwarf2read.c (attr_to_dynamic_prop): New function.
873 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
875 * gdbtypes.c: Include dwarf2loc.h.
876 (is_dynamic_type): New function.
877 (resolve_dynamic_type): New function.
878 (resolve_dynamic_bounds): New function.
879 (get_type_length): New function.
880 (check_typedef): Use get_type_length to compute type length.
881 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
882 (TYPE_LOW_BOUND_KIND): New macro.
883 (is_dynamic_type): New function prototype.
884 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
885 to resolve dynamic properties of the type. Update comment.
886 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
888 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
889 passed to sizeof is dynamic evaluate the argument to compute the length.
891 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
892 value and retrieve the dynamic type size.
894 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
895 (ada_template_to_fixed_record_type_1): Likewise.
896 (ada_to_fixed_type_1): Likewise.
897 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
898 (cp_print_value): Likewise.
899 * d-valprint.c (dynamic_array_type): Likewise.
900 * eval.c (evaluate_subexp_with_coercion): Likewise.
901 * findvar.c (address_of_variable): Likewise.
902 * jv-valprint.c (java_value_print): Likewise.
903 * valops.c (value_ind): Likewise.
904 * value.c (coerce_ref): Likewise.
906 * c-typeprint.c (c_type_print_varspec_suffix): Added
907 check for not yet resolved high bound. If unresolved, print
908 "variable length" string to the console instead of random
911 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
912 property and store it as the high bound and flag the range accordingly.
913 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
914 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
915 * gdbtypes.h (enum range_flags): New enum.
916 (struct range_bounds): Add flags member.
918 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
919 points to a constant blob.
921 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
922 (evaluate_subexp_standard): Pass noside argument.
923 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
924 if noside equals EVAL_NORMAL. If the subscript yields a vla type
925 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
926 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
927 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
929 2014-04-11 Keith Seitz <keiths@redhat.com>
932 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
933 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
936 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
938 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
939 (evaluate_subexp_standard): Pass noside argument.
940 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
941 if noside equals EVAL_NORMAL. If the subscript yields a vla type
942 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
943 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
944 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
946 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
948 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
949 points to a constant blob.
951 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
953 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
954 property and store it as the high bound and flag the range accordingly.
955 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
956 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
957 * gdbtypes.h (enum range_flags): New enum.
958 (struct range_bounds): Add flags member.
960 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
962 * c-typeprint.c (c_type_print_varspec_suffix): Added
963 check for not yet resolved high bound. If unresolved, print
964 "variable length" string to the console instead of random
967 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
969 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
970 (ada_template_to_fixed_record_type_1): Likewise.
971 (ada_to_fixed_type_1): Likewise.
972 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
973 (cp_print_value): Likewise.
974 * d-valprint.c (dynamic_array_type): Likewise.
975 * eval.c (evaluate_subexp_with_coercion): Likewise.
976 * findvar.c (address_of_variable): Likewise.
977 * jv-valprint.c (java_value_print): Likewise.
978 * valops.c (value_ind): Likewise.
979 * value.c (coerce_ref): Likewise.
981 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
983 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
984 value and retrieve the dynamic type size.
986 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
988 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
989 passed to sizeof is dynamic evaluate the argument to compute the length.
991 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
993 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
994 (dwarf2_evaluate_property): New function.
995 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
996 * dwarf2read.c (attr_to_dynamic_prop): New function.
997 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
999 * gdbtypes.c: Include dwarf2loc.h.
1000 (is_dynamic_type): New function.
1001 (resolve_dynamic_type): New function.
1002 (resolve_dynamic_bounds): New function.
1003 (get_type_length): New function.
1004 (check_typedef): Use get_type_length to compute type length.
1005 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
1006 (TYPE_LOW_BOUND_KIND): New macro.
1007 (is_dynamic_type): New function prototype.
1008 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
1009 to resolve dynamic properties of the type. Update comment.
1010 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
1012 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1014 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
1015 declaring high/low bounds and change uses accordingly. Call
1016 create_range_type instead of create_static_range_type.
1017 * gdbtypes.c (create_range_type): New function.
1018 (create_range_type): Convert bounds into struct bound_prop and pass
1019 them to create_range_type.
1020 * gdbtypes.h (struct bound_prop): New struct.
1021 (create_range_type): New function prototype.
1022 (struct range_bounds): Use struct bound_prop instead of LONGEST for
1023 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
1024 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
1026 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
1028 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1030 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
1031 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
1032 * ada-lang.c: All uses of create_range_type updated.
1033 * coffread.c: All uses of create_range_type updated.
1034 * dwarf2read.c: All uses of create_range_type updated.
1035 * f-exp.y: All uses of create_range_type updated.
1036 * m2-valprint.c: All uses of create_range_type updated.
1037 * mdebugread.c: All uses of create_range_type updated.
1038 * stabsread.c: All uses of create_range_type updated.
1039 * valops.c: All uses of create_range_type updated.
1040 * valprint.c: All uses of create_range_type updated.
1042 2014-04-10 Pedro Alves <palves@redhat.com>
1044 * breakpoint.c (single_step_breakpoints)
1045 (single_step_gdbarch): Move up in the file.
1046 (one_breakpoint_xfer_memory): New function, factored out from ...
1047 (breakpoint_xfer_memory): ... here. Also process single-step
1050 2014-04-09 Tristan Gingold <gingold@adacore.com>
1052 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
1054 (darwin_decode_exception_message): Free port only after use.
1056 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
1058 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
1059 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
1060 when setting the size of call_length.
1062 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1064 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
1065 dereference TYPE_CODE_REF values.
1067 2014-04-07 Joel Brobecker <brobecker@adacore.com>
1069 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
1070 end of warning message.
1072 2014-04-03 Doug Evans <dje@google.com>
1074 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
1075 of stub_comp_unit_die, stub_comp_dir is non-NULL.
1077 2014-04-02 Alan Modra <amodra@gmail.com>
1079 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
1080 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
1081 (struct symbol_file_add_from_memory_args): Add size field.
1082 (find_vdso_size): New function.
1083 (add_vsyscall_page): Attempt to find vdso size.
1085 2014-04-01 Doug Evans <dje@google.com>
1087 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
1089 2014-04-01 Tristan Gingold <gingold@adacore.com>
1091 * darwin-nat.c (darwin_encode_reply): Add prototype.
1092 (darwin_decode_exception_message): Reply to unknown inferiors.
1093 (darwin_decode_message): Handle message by id. Ignore message
1094 to unknown inferior.
1095 (darwin_wait): Discard unknown messages, add debug trace.
1097 2014-03-31 Doug Evans <dje@google.com>
1099 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
1102 2014-03-31 Doug Evans <dje@google.com>
1104 New option "set print symbol-loading".
1106 * solib.c (solib_read_symbols): Only print symbol loading messages
1108 (solib_add): If symbol loading is in "brief" mode, notify user
1109 symbols are being loaded.
1110 (reload_shared_libraries_1): Ditto.
1111 * symfile.c (print_symbol_loading_off): New static global.
1112 (print_symbol_loading_brief): New static global.
1113 (print_symbol_loading_full): New static global.
1114 (print_symbol_loading_enums): New static global.
1115 (print_symbol_loading): New static global.
1116 (print_symbol_loading_p): New function.
1117 (symbol_file_add_with_addrs): Only print symbol loading messages
1119 (_initialize_symfile): Register "print symbol-loading" set/show
1121 * symfile.h (print_symbol_loading_p): Declare.
1123 2014-03-30 Doug Evans <xdje42@gmail.com>
1125 * infrun.c (set_last_target_status): New function.
1126 (handle_inferior_event): Call it.
1128 2014-03-30 Doug Evans <xdje42@gmail.com>
1130 * inferior.h (enum stop_kind): Improve comment.
1132 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1134 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
1135 a reference, strip the reference layer before calling
1136 the lang_ops value_has_mutated callback.
1138 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
1140 Remove some globals from our parser.
1141 * language.c (unk_lang_parser): Add "struct parser_state"
1143 * language.h (struct language_defn) <la_parser>: Likewise.
1144 * parse.c (expout, expout_size, expout_ptr): Remove variables.
1145 (initialize_expout): Add "struct parser_state" argument.
1146 Rewrite function to use the parser state.
1147 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
1148 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
1149 write_exp_elt_longcst, write_exp_elt_dblcst,
1150 write_exp_elt_decfloatcst, write_exp_elt_type,
1151 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1152 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
1153 write_dollar_variable): Likewise.
1154 (parse_exp_in_context_1): Use parser state.
1155 (insert_type_address_space): Add "struct parser_state" argument.
1157 (increase_expout_size): New function.
1158 * parser-defs.h: Forward declare "struct language_defn" and
1159 "struct parser_state".
1160 (expout, expout_size, expout_ptr): Remove extern declarations.
1161 (parse_gdbarch, parse_language): Rewrite macro declarations to
1162 accept the parser state.
1163 (struct parser_state): New struct.
1164 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
1165 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
1166 write_exp_elt_decfloatcst, write_exp_elt_type,
1167 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1168 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
1169 write_exp_msymbol, write_dollar_variable,
1170 mark_struct_expression, insert_type_address_space): Add "struct
1171 parser_state" argument.
1172 (increase_expout_size): New function.
1173 * utils.c (do_clear_parser_state): New function.
1174 (make_cleanup_clear_parser_state): Likewise.
1175 * utils.h (make_cleanup_clear_parser_state): New function
1177 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
1178 Update calls to write_exp* in order to pass the parser state.
1179 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
1180 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
1181 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1182 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
1183 * stap-probe.c (stap_parse_register_operand): Likewise.
1184 (stap_parse_single_operand): Likewise.
1185 (stap_parse_argument_1): Likewise.
1186 (stap_parse_argument): Use parser state.
1187 * stap-probe.h: Include "parser-defs.h".
1188 (struct stap_parse_info) <pstate>: New field.
1189 * c-exp.y (parse_type): Rewrite to use parser state.
1190 (yyparse): Redefine to c_parse_internal.
1191 (pstate): New global variable.
1192 (parse_number): Add "struct parser_state" argument.
1193 (write_destructor_name): Likewise.
1194 (type_exp): Update calls to write_exp* and similars in order to
1196 (exp1, exp, variable, qualified_name, space_identifier,
1197 typename, typebase): Likewise.
1198 (write_destructor_name, parse_number, lex_one_token,
1199 classify_name, classify_inner_name, c_parse): Add "struct
1200 parser_state" argument. Update function to use parser state.
1201 * c-lang.h: Forward declare "struct parser_state".
1202 (c_parse): Add "struct parser_state" argument.
1203 * ada-exp.y (parse_type): Rewrite macro to use parser state.
1204 (yyparse): Redefine macro to ada_parse_internal.
1205 (pstate): New variable.
1206 (write_int, write_object_renaming, write_var_or_type,
1207 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
1208 type_int, type_long, type_long_long, type_float, type_double,
1209 type_long_double, type_char, type_boolean, type_system_address):
1210 Add "struct parser_state" argument.
1211 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
1212 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
1213 var_or_type, aggregate, aggregate_component_list,
1214 positional_list, others, component_group,
1215 component_associations): Update calls to write_exp* and similar
1216 functions in order to use parser state.
1217 (ada_parse, write_var_from_sym, write_int,
1218 write_exp_op_with_string, write_object_renaming,
1219 find_primitive_type, write_selectors, write_ambiguous_var,
1220 write_var_or_type, write_name_assoc, type_int, type_long,
1221 type_long_long, type_float, type_double, type_long_double,
1222 type_char, type_boolean, type_system_address): Add "struct
1223 parser_state" argument. Adjust function to use parser state.
1224 * ada-lang.c (parse): Likewise.
1225 * ada-lang.h: Forward declare "struct parser_state".
1226 (ada_parse): Add "struct parser_state" argument.
1227 * ada-lex.l (processInt, processReal): Likewise. Adjust all
1228 calls to both functions.
1229 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
1231 (yyparse): Redefine macro to f_parse_internal.
1232 (pstate): New variable.
1233 (parse_number): Add "struct parser_state" argument.
1234 (type_exp, exp, subrange, typebase): Update calls to write_exp*
1235 and similars in order to use parser state.
1236 (parse_number): Adjust code to use parser state.
1238 (f_parse): New function.
1239 * f-lang.h: Forward declare "struct parser_state".
1240 (f_parse): Add "struct parser_state" argument.
1241 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
1243 (yyparse): Redefine macro for java_parse_internal.
1244 (pstate): New variable.
1245 (push_expression_name, push_expression_name, insert_exp): Add
1246 "struct parser_state" argument.
1247 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
1248 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
1249 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
1250 PostIncrementExpression, PostDecrementExpression,
1251 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
1252 UnaryExpressionNotPlusMinus, CastExpression,
1253 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
1254 RelationalExpression, EqualityExpression, AndExpression,
1255 ExclusiveOrExpression, InclusiveOrExpression,
1256 ConditionalAndExpression, ConditionalOrExpression,
1257 ConditionalExpression, Assignment, LeftHandSide): Update
1258 calls to write_exp* and similars in order to use parser state.
1259 (parse_number): Ajust code to use parser state.
1261 (java_parse): New function.
1262 (push_variable): Add "struct parser_state" argument. Adjust
1263 code to user parser state.
1264 (push_fieldnames, push_qualified_expression_name,
1265 push_expression_name, insert_exp): Likewise.
1266 * jv-lang.h: Forward declare "struct parser_state".
1267 (java_parse): Add "struct parser_state" argument.
1268 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
1270 (yyparse): Redefine macro to m2_parse_internal.
1271 (pstate): New variable.
1272 (type_exp, exp, fblock, variable, type): Update calls to
1273 write_exp* and similars to use parser state.
1275 (m2_parse): New function.
1276 * m2-lang.h: Forward declare "struct parser_state".
1277 (m2_parse): Add "struct parser_state" argument.
1278 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
1279 * objc-lang.h: Forward declare "struct parser_state".
1280 (end_msglist): Add "struct parser_state" argument.
1281 * p-exp.y (parse_type): Rewrite macro to use parser state.
1282 (yyparse): Redefine macro to pascal_parse_internal.
1283 (pstate): New variable.
1284 (parse_number): Add "struct parser_state" argument.
1285 (type_exp, exp1, exp, qualified_name, variable): Update calls to
1286 write_exp* and similars in order to use parser state.
1287 (parse_number, yylex): Adjust code to use parser state.
1288 (pascal_parse): New function.
1289 * p-lang.h: Forward declare "struct parser_state".
1290 (pascal_parse): Add "struct parser_state" argument.
1291 * go-exp.y (parse_type): Rewrite macro to use parser state.
1292 (yyparse): Redefine macro to go_parse_internal.
1293 (pstate): New variable.
1294 (parse_number): Add "struct parser_state" argument.
1295 (type_exp, exp1, exp, variable, type): Update calls to
1296 write_exp* and similars in order to use parser state.
1297 (parse_number, lex_one_token, classify_name, yylex): Adjust code
1298 to use parser state.
1299 (go_parse): Likewise.
1300 * go-lang.h: Forward declare "struct parser_state".
1301 (go_parse): Add "struct parser_state" argument.
1303 2014-03-27 Doug Evans <dje@google.com>
1305 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
1307 2014-03-27 Doug Evans <dje@google.com>
1309 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
1310 Remove argument abbrev_section. All callers updated.
1312 2014-03-27 Doug Evans <dje@google.com>
1314 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
1315 addr_base, ranges_base.
1317 2014-03-26 Keith Seitz <keiths@redhat.com>
1319 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
1320 types, not VAR_DOMAIN.
1322 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
1324 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
1326 * features/nios2-linux.c: Regenerated.
1327 * features/nios2.c: Regenerated.
1329 2014-03-25 Pedro Alves <palves@redhat.com>
1331 * cli/cli-script.c (script_from_file): Force the interpreter to
1334 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1336 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
1337 small stack allocation.
1339 2014-03-24 Tristan Gingold <gingold@adacore.com>
1341 * darwin-nat.c (exc_server): Remove unused prototype.
1342 (darwin_dump_message): Correctly display data on x86_64.
1343 (darwin_encode_reply): Fix style.
1344 Add comments and fix indentation.
1346 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1348 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
1350 2014-03-22 Doug Evans <xdje42@gmail.com>
1352 * infcmd.c: Whitespace fixes.
1353 (interrupt_command): Merge two function comments into one.
1355 2014-03-22 Doug Evans <xdje42@gmail.com>
1357 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
1360 2014-03-22 Yao Qi <yao@codesourcery.com>
1362 * remote.c (target_read_live_memory): Remove.
1363 (memory_xfer_live_readonly_partial): Rename it to
1364 remote_xfer_live_readonly_partial. Remove argument 'object'.
1365 All callers updated. Call remote_read_bytes_1
1366 instead of target_read_live_memory.
1367 * tracepoint.c (set_traceframe_number): Remove.
1368 (make_cleanup_restore_traceframe_number): Likewise .
1369 * tracepoint.h (set_traceframe_number): Remove declaration.
1370 (make_cleanup_restore_traceframe_number): Likewise.
1372 2014-03-22 Yao Qi <yao@codesourcery.com>
1374 * remote.c (remote_read_bytes): Move code on reading from the
1376 (remote_read_bytes_1): ... here. New function.
1378 2014-03-22 Yao Qi <yao@codesourcery.com>
1380 * ctf.c (ctf_xfer_partial): Check the return value of
1381 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
1382 return TARGET_XFER_UNAVAILABLE.
1383 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1384 * target.c (target_read_live_memory): Move it to remote.c.
1385 (memory_xfer_live_readonly_partial): Likewise.
1386 (memory_xfer_partial_1): Move some code to remote_read_bytes.
1387 * remote.c (target_read_live_memory): Moved from target.c.
1388 (memory_xfer_live_readonly_partial): Likewise.
1389 (remote_read_bytes): Factored out from
1390 memory_xfer_partial_1.
1392 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
1394 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
1397 2014-03-21 Pedro Alves <palves@redhat.com>
1399 * infrun.c (normal_stop): Extend comment.
1401 2014-03-21 Hui Zhu <hui@codesourcery.com>
1402 Pedro Alves <palves@redhat.com>
1404 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
1406 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1407 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1408 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1410 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
1412 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
1413 `z' formatted output modifier.
1415 2014-03-20 Tom Tromey <tromey@redhat.com>
1416 Sergio Durigan Junior <sergiodj@redhat.com>
1418 * probe.c (parse_probes): Turn assert into an ordinary error.
1419 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
1420 exceptions when parsing probes. Rearrange the code for clarity.
1422 2014-03-20 Tom Tromey <tromey@redhat.com>
1425 * top.c (execute_command): Only dispatch events if the command
1428 2014-03-20 Tom Tromey <tromey@redhat.com>
1431 * infcall.c: Include event-top.h.
1432 (run_inferior_call): Call async_disable_stdin if needed.
1434 2014-03-20 Pedro Alves <palves@redhat.com>
1436 * infrun.c (prepare_to_proceed): Delete.
1437 (thread_still_needs_step_over): New function.
1438 (find_thread_needs_step_over): New function.
1439 (proceed): If the current thread needs a step-over, set its
1440 steping_over_breakpoint flag. Adjust to use
1441 find_thread_needs_step_over instead of prepare_to_proceed.
1442 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
1443 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
1445 (switch_back_to_stepped_thread): Step over breakpoints of all
1446 threads not the stepping thread, before switching back to the
1449 2014-03-20 Pedro Alves <palves@redhat.com>
1451 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
1453 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
1454 * infrun.c (saved_singlestep_ptid)
1455 (stepping_past_singlestep_breakpoint): Delete.
1456 (resume): Remove stepping_past_singlestep_breakpoint handling.
1457 (proceed): Store the prev_pc of the stepping thread too.
1458 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
1460 (enum infwait_states): Delete infwait_thread_hop_state.
1461 (struct execution_control_state) <hit_singlestep_breakpoint>: New
1463 (handle_inferior_event): Adjust.
1464 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
1465 handling and the thread-hop code. Before removing single-step
1466 breakpoints, check whether the thread hit a single-step breakpoint
1467 of another thread. If it did, the trap is not a random signal.
1468 (switch_back_to_stepped_thread): If the event thread hit a
1469 single-step breakpoint, unblock it before switching to the
1470 stepping thread. Handle the case of the stepped thread having
1472 (keep_going): Handle the case of the current thread moving past a
1473 single-step breakpoint.
1475 2014-03-20 Pedro Alves <palves@redhat.com>
1478 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
1479 are being stepped over.
1480 (breakpoint_address_match): Make extern.
1481 * breakpoint.h (breakpoint_address_match): New declaration.
1482 * inferior.h (stepping_past_instruction_at): New declaration.
1483 * infrun.c (struct step_over_info): New type.
1484 (step_over_info): New global.
1485 (set_step_over_info, clear_step_over_info)
1486 (stepping_past_instruction_at): New functions.
1487 (handle_inferior_event): Clear the step-over info when
1488 trap_expected is cleared.
1489 (resume): Remove now stale comment.
1490 (clear_proceed_status): Clear step-over info.
1491 (proceed): Adjust step-over handling to set or clear the step-over
1492 info instead of removing all breakpoints.
1493 (handle_signal_stop): When setting up a thread-hop, don't remove
1495 (stop_stepping): Clear step-over info.
1496 (keep_going): Adjust step-over handling to set or clear step-over
1497 info and then always inserting breakpoints, instead of removing
1498 all breakpoints when stepping over one.
1500 2014-03-20 Pedro Alves <palves@redhat.com>
1502 * infrun.c (previous_inferior_ptid): Adjust comment.
1503 (deferred_step_ptid): Delete.
1504 (infrun_thread_ptid_changed, prepare_to_proceed)
1505 (init_wait_for_inferior): Adjust.
1506 (handle_signal_stop): Delete deferred_step_ptid handling.
1508 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1511 * defs.h (sync_quit_force_run): New declaration.
1512 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
1513 * event-top.c (async_sigterm_handler): New declaration.
1514 (async_sigterm_token): New variable.
1515 (async_init_signals): Create also async_sigterm_token.
1516 (async_sigterm_handler): New function.
1517 (sync_quit_force_run): New variable.
1518 (handle_sigterm): Replace quit_force call by other calls.
1519 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
1521 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
1523 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
1524 offset into SPE pseudo registers.
1526 2014-03-18 Pedro Alves <palves@redhat.com>
1529 * inferior.h (print_stop_event): Declare.
1530 * infrun.c (print_stop_event): New, factored out from ...
1531 (normal_stop): ... this.
1532 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
1533 of bpstat_print/print_stack_frame.
1535 2014-03-17 Tom Tromey <tromey@redhat.com>
1537 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
1539 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
1541 * ada-lang.c (decode_constrained_packed_array): Perform a
1542 minimal coercion for reference with coerce_ref instead of
1545 2014-03-17 Tristan Gingold <gingold@adacore.com>
1547 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
1548 (darwin_solib_create_inferior_hook): Emit a warning if version
1551 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
1553 * python/py-value.c (get_field_flag): Cast flag_name argument to
1554 PyObject_GetAttrString to support Python 2.4.
1556 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1558 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
1559 (Global Maintainers): Remove Jan Kratochvil.
1561 2014-03-14 Pedro Alves <palves@redhat.com>
1563 * inferior.h (terminal_ours_for_output): Rename to ...
1564 (child_terminal_ours_for_output): ... this.
1565 (terminal_save_ours): Rename to ...
1566 (child_terminal_save_ours): ... this.
1567 (terminal_ours): Rename to ...
1568 (child_terminal_ours): ... this.
1569 (terminal_inferior): Rename to ...
1570 (child_terminal_inferior): ... this.
1571 (terminal_init_inferior): Rename to ...
1572 (child_terminal_init_inferior): ... this.
1573 (terminal_init_inferior_with_pgrp): Rename to ...
1574 (child_terminal_init_inferior_with_pgrp): ... this.
1575 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
1576 (child_terminal_init_with_pgrp): ... this.
1577 (terminal_save_ours): Rename to ...
1578 (child_terminal_save_ours): ... this.
1579 (terminal_init_inferior): Rename to ...
1580 (child_terminal_init): ... this. Adjust.
1581 (terminal_inferior): Rename to ...
1582 (child_terminal_inferior): ... this.
1583 (terminal_ours_for_output): Rename to ...
1584 (child_terminal_ours_for_output): ... this. Adjust.
1585 (terminal_ours): Rename to ...
1586 (child_terminal_ours): ... this.
1587 (terminal_ours_1): Rename to ...
1588 (child_terminal_ours_1): ... this. Adjust.
1589 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
1590 * windows-nat.c (do_initial_windows_stuff): Adjust.
1591 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
1592 (gnu_terminal_init): ... this. Adjust.
1593 (gnu_target): Adjust.
1594 * inf-child.c (inf_child_target): Adjust.
1596 2014-03-13 Doug Evans <xdje42@gmail.com>
1599 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
1602 2014-03-13 Doug Evans <xdje42@gmail.com>
1604 * value.c (record_latest_value): Call release_value_or_incref
1605 instead of release_value.
1607 2014-03-13 Pedro Alves <palves@redhat.com>
1609 * procfs.c (procfs_target): Don't override to_shortname,
1610 to_longname or to_doc.
1612 2014-03-13 Pedro Alves <palves@redhat.com>
1614 * inf-child.c (inf_child_open, inf_child_target): Don't mention
1615 Unix in user visible strings.
1617 2014-03-12 Stan Shebs <stan@codesourcery.com>
1619 * gdbtypes.h: Annotate comments for Doxygen, add a page
1620 block comment with some general info.
1622 2014-03-12 Pedro Alves <palves@redhat.com>
1624 * infcmd.c (prepare_execution_command): New function, factored out
1625 from several execution commands.
1626 (run_command_1, continue_command, step_1, jump_command)
1627 (signal_command, until_command, advance_command, finish_command)
1628 (attach_command): Use prepare_execution_command.
1630 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
1632 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
1635 (struct arm_linux_thread_points): Removed.
1636 (struct arm_linux_process_info): New.
1637 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
1638 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
1639 (arm_linux_find_breakpoints_by_tid): Removed.
1640 (struct arch_lwp_info): New.
1641 (arm_linux_find_process_pid): New functions.
1642 (arm_linux_add_process): New functions.
1643 (arm_linux_process_info_get): New functions.
1644 (arm_linux_forget_process): New function.
1645 (arm_linux_get_debug_reg_state): New function.
1646 (struct update_registers_data): New.
1647 (update_registers_callback): New function.
1648 (arm_linux_insert_hw_breakpoint1): Updated.
1649 (arm_linux_remove_hw_breakpoint1): Updated.
1650 (arm_linux_insert_hw_breakpoint): Updated.
1651 (arm_linux_remove_hw_breakpoint): Updated.
1652 (arm_linux_insert_watchpoint): Updated.
1653 (arm_linux_remove_watchpoint): Updated.
1654 (arm_linux_new_thread): Updated.
1655 (arm_linux_prepare_to_resume): New function.
1656 (arm_linux_new_fork): New function.
1657 (_initialize_arm_linux_nat): Updated.
1659 2014-03-12 Pedro Alves <palves@redhat.com>
1661 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
1663 2014-03-12 Tom Tromey <tromey@redhat.com>
1665 * inf-child.c (return_zero): New function.
1666 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
1667 * aix-thread.c (aix_thread_inferior_created): New function.
1668 (aix_thread_attach): Remove.
1669 (init_aix_thread_ops): Don't set to_attach.
1670 (_initialize_aix_thread): Register inferior_created observer.
1671 * corelow.c (init_core_ops): Don't set to_attach or
1673 * exec.c (init_exec_ops): Don't set to_attach or
1675 * infcmd.c (run_command_1): Use find_run_target. Make direct
1677 (attach_command): Use find_attach_target. Make direct target
1679 * record-btrace.c (init_record_btrace_ops): Don't set
1681 * record-full.c (record_full_can_async_p, record_full_is_async_p):
1683 (init_record_full_ops, init_record_full_core_ops): Update. Don't
1684 set to_create_inferior.
1685 * target.c (complete_target_initialization): Add assertion.
1686 (target_create_inferior): Remove.
1687 (find_default_attach, find_default_create_inferior): Remove.
1688 (find_attach_target, find_run_target): New functions.
1689 (find_default_is_async_p, find_default_can_async_p)
1690 (target_supports_non_stop, target_attach): Remove.
1691 (init_dummy_target): Don't set to_create_inferior or
1692 to_supports_non_stop.
1693 * target.h (struct target_ops) <to_attach>: Add comment. Remove
1694 TARGET_DEFAULT_FUNC.
1695 <to_create_inferior>: Add comment.
1696 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1697 TARGET_DEFAULT_RETURN.
1698 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1699 (find_attach_target, find_run_target): Declare.
1700 (target_create_inferior): Remove.
1701 (target_has_execution_1): Update comment.
1702 (target_supports_non_stop): Remove.
1703 * target-delegates.c: Rebuild.
1705 2014-03-12 Pedro Alves <palves@redhat.com>
1707 * inf-child.h: Update comment to not mention Unix.
1709 2014-03-12 Pedro Alves <palves@redhat.com>
1711 * inf-child.c: Update top comment to not mention Unix. Add
1712 generic comment describing how this target is meant to be used.
1713 (inf_child_post_attach, inf_child_post_startup_inferior)
1714 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1717 2014-03-12 Pedro Alves <palves@redhat.com>
1719 * nto-procfs.c: Include inf-child.h.
1720 (procfs_ops): Delete global.
1721 (procfs_can_run): Delete method.
1722 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1723 target pointer instead of referencing procfs_ops.
1724 (procfs_prepare_to_store): Delete.
1725 (init_procfs_ops): Delete function.
1726 (procfs_target): New function, based on init_procfs_ops, but
1727 inherit inf_child_target.
1728 (_initialize_procfs): Use procfs_target.
1730 2014-03-12 Pedro Alves <palves@redhat.com>
1732 * windows-nat.c: Include inf-child.h.
1733 (windows_ops): Delete global.
1734 (windows_open, windows_prepare_to_store, windows_can_run): Delete
1736 (init_windows_ops): Delete function.
1737 (windows_target): New function, based on init_windows_ops, but
1738 inherit inf_child_target.
1739 (_initialize_windows_nat): Use windows_target. Install x86
1740 specific target methods here.
1742 2014-03-10 Doug Evans <xdje42@gmail.com>
1744 * guile/guile.c (call_initialize_gdb_module): New function.
1745 (initialize_guile): Replace call to scm_init_guile with call to
1748 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1750 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1751 in call to TYPE_CODE macro.
1753 2014-03-10 Jerome Guitton <guitton@adacore.com>
1755 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1756 Resolve tagged types to full view.
1758 2014-03-10 Hui Zhu <hui@codesourcery.com>
1760 * target.h (target_insert_breakpoint): Remove "hardware" from its
1763 2014-03-07 Doug Evans <dje@google.com>
1765 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1767 2014-03-07 Doug Evans <dje@google.com>
1769 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1770 Remove unused local comp_dir_attr. Assert exactly one of
1771 stub_comp_unit_die, stub_comp_dir is non-NULL.
1773 2014-03-07 Joel Brobecker <brobecker@adacore.com>
1775 * target.h (complete_target_initialization, add_target):
1778 2014-03-07 Pedro Alves <palves@redhat.com>
1780 * go32-nat.c: Include inf-child.h.
1781 (go32_ops): Delete global.
1782 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1784 (go32_create_inferior): Push the passed in target pointer instead
1785 of referencing go32_ops.
1786 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
1787 (go32_target): New function, based on init_go32_ops, but inherit
1789 (_initialize_go32_nat): Use go32_target. Move parts of
1792 2014-03-06 Joel Brobecker <brobecker@adacore.com>
1794 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1795 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1796 SYMBOL_VALUE_ADDRESS.
1797 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1799 2014-03-06 Yao Qi <yao@codesourcery.com>
1801 * breakpoint.c (get_tracepoint_by_number): Remove argument
1802 optional_p. All callers updated. Adjust comments. Update
1804 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1806 2014-03-06 Yao Qi <yao@codesourcery.com>
1808 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1809 early if get_number returns zero. Use 'p' instead of 'args'.
1811 2014-03-06 Yao Qi <yao@codesourcery.com>
1813 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1816 2014-03-06 Yao Qi <yao@codesourcery.com>
1818 PR breakpoints/16508
1819 * tracepoint.c (check_trace_running): New function.
1820 (trace_find_command): Move code to check_trace_running and
1821 call check_trace_running.
1822 (trace_find_pc_command): Likewise.
1823 (trace_find_tracepoint_command): Likewise.
1824 (trace_find_line_command): Likewise.
1825 (trace_find_range_command): Likewise.
1826 * tracepoint.h (check_trace_running): Likewise.
1827 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1829 2014-03-06 Yao Qi <yao@codesourcery.com>
1831 * target.h (struct target_ops) <to_traceframe_info>: Use
1832 TARGET_DEFAULT_NORETURN (tcomplain ()).
1833 * target-delegates.c: Regenerated.
1835 2014-03-05 Pedro Alves <palves@redhat.com>
1838 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1839 void. Update comment.
1840 (dcache_xfer_memory): Delete.
1841 (dcache_read_memory_partial): New, based on the read bits of
1843 (dcache_update): Add status parameter. Use ULONGEST for len, and
1844 adjust. Discard cache lines if the reason for the update was
1846 * dcache.h (dcache_xfer_memory): Delete declaration.
1847 (dcache_read_memory_partial): New declaration.
1848 (dcache_update): Update prototype.
1849 * target.c (raw_memory_xfer_partial): Update the dcache here.
1850 (memory_xfer_partial_1): Don't handle dcache writes here.
1852 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1854 * remote-sim.c (gdbsim_load): Add const to prog.
1856 2014-03-03 Tom Tromey <tromey@redhat.com>
1858 * elfread.c (probe_key): Change to bfd_data.
1859 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1860 now per-BFD, not per-objfile.
1861 * stap-probe.c (stap_probe_destroy): Update comment.
1862 (handle_stap_probe): Allocate on the per-BFD obstack.
1864 2014-03-03 Tom Tromey <tromey@redhat.com>
1866 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1867 * breakpoint.c (create_longjmp_master_breakpoint): Use
1869 (add_location_to_breakpoint, bkpt_probe_insert_location)
1870 (bkpt_probe_remove_location): Update.
1871 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1872 * elfread.c (elf_symfile_relocate_probe): Remove.
1873 (elf_probe_fns): Update.
1874 (insert_exception_resume_breakpoint): Change type of "probe"
1875 parameter to bound_probe.
1876 (check_exception_resume): Update.
1877 * objfiles.c (objfile_relocate1): Don't relocate probes.
1878 * probe.c (bound_probe_s): New typedef.
1879 (parse_probes): Use get_probe_address. Set sal's objfile.
1880 (find_probe_by_pc): Return a bound_probe.
1881 (collect_probes): Return a VEC(bound_probe_s).
1882 (compare_probes): Update.
1883 (gen_ui_out_table_header_info): Change type of "probes"
1885 (info_probes_for_ops): Update.
1886 (get_probe_address): New function.
1887 (probe_safe_evaluate_at_pc): Update.
1888 * probe.h (struct probe_ops) <get_probe_address>: New field.
1889 <set_semaphore, clear_semaphore>: Add objfile parameter.
1890 (struct probe) <objfile>: Remove field.
1892 <address>: Update comment.
1893 (struct bound_probe): New.
1894 (find_probe_by_pc): Return a bound_probe.
1895 (get_probe_address): Declare.
1896 * solib-svr4.c (struct probe_and_action) <address>: New field.
1897 (hash_probe_and_action, equal_probe_and_action): Update.
1898 (register_solib_event_probe): Add address parameter.
1899 (solib_event_probe_at): Update.
1900 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1902 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1903 (stap_get_probe_address): New function.
1904 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1905 (compile_probe_arg): Update.
1906 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1908 (handle_stap_probe): Don't relocate the probe.
1909 (stap_relocate): Remove.
1910 (stap_gen_info_probes_table_values): Update.
1911 (stap_probe_ops): Remove stap_relocate.
1912 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1913 (debug_sym_probe_fns): Update.
1914 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1915 * symtab.c (init_sal): Use memset.
1916 * symtab.h (struct symtab_and_line) <objfile>: New field.
1917 * tracepoint.c (start_tracing, stop_tracing): Update.
1919 2014-03-03 Tom Tromey <tromey@redhat.com>
1921 * probe.h (parse_probes, find_probe_by_pc)
1922 (find_probes_in_objfile): Fix comments.
1924 2014-03-02 Doug Evans <xdje42@gmail.com>
1926 * infrun.c (handle_signal_stop): Replace test for
1927 TARGET_WAITKIND_STOPPED with an assert.
1929 2014-03-02 Doug Evans <xdje42@gmail.com>
1931 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1933 2014-03-02 Doug Evans <xdje42@gmail.com>
1935 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1937 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1939 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1941 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1943 * i386obsd-nat.c: Include "obsd-nat.h".
1944 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1946 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1948 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1950 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1952 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1954 * mips64obsd-nat.c: Include "obsd-nath".
1955 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1957 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1959 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1961 * amd64obsd-nat.c: Include "obsd-nat,h.
1962 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1964 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1966 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1968 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1969 (find_overload_match): Update call to find_oload_champ.
1970 (find_oload_champ_namespace_loop): Likewise
1972 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1974 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1976 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1977 * config/sparc/obsd64.mh: New file.
1978 * sparc64obsd-nat.c: New file.
1980 * obsd-nat.h: New file.
1981 * obsd-nat.c: New file.
1982 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1983 (ALLDEPFILES): Add obsd-nat.c.
1985 2014-02-28 Tom Tromey <tromey@redhat.com>
1987 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1988 * cli-out.h (cli_ui_out_impl): Now const.
1989 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1990 * ui-out.c (struct ui_out) <impl>: Now const.
1991 (default_ui_out_impl): Now const.
1992 (ui_out_new): Make 'impl' parameter const.
1993 * ui-out.h (ui_out_new): Update.
1995 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1997 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1999 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2001 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
2003 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2005 Additional PR 8882 fix.
2006 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
2008 2014-02-27 Pedro Alves <palves@redhat.com>
2010 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
2013 2014-02-27 Pedro Alves <palves@redhat.com>
2016 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
2017 * nat/linux-waitpid.c: Include string.h.
2018 (status_to_str): Moved here and made extern.
2019 * nat/linux-waitpid.h (status_to_str): New declaration.
2021 2014-02-27 Hui Zhu <hui@codesourcery.com>
2024 * infrun.c (ptid_match): Move ...
2025 * common/ptid.c (ptid_match): ... here.
2026 * inferior.h (ptid_match): Move ...
2027 * common/ptid.h (ptid_match): ... here.
2029 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2031 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
2032 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
2035 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2037 * obsd-tdep.c (obsd_auxv_parse): New function.
2038 (obsd_init_abi): Set auxv_parse.
2040 * gdbarch.sh (auxv_parse): New.
2041 * gdbarch.h: Regenerated.
2042 * gdbarch.c: Regenerated.
2043 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
2045 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2047 * guile/scm-value.c (gdbscm_history_append_x): New function.
2048 (value_functions): Add it.
2050 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2052 * dwarf2read.c (attr_value_as_address): New function.
2053 (dwarf2_find_base_address, read_call_site_scope): Use
2054 attr_value_as_address in place of DW_ADDR.
2055 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
2056 the low and high addresses. Slight rework of the handling
2057 of the high pc being a constant form, and limit it to
2058 DWARF verson 4 or higher.
2059 (dwarf2_record_block_ranges): Likewise.
2060 (read_partial_die): Likewise.
2061 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
2063 2014-02-26 Tom Tromey <tromey@redhat.com>
2065 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
2067 2014-02-26 Tom Tromey <tromey@redhat.com>
2069 * elfread.c (elf_read_minimal_symbols): Return early if
2070 minimal symbols have already been read. Add "ei" parameter.
2071 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
2072 * minsyms.c (prim_record_minimal_symbol_full): Update.
2073 * objfiles.h (struct objstats) <n_minsyms>: Move...
2074 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
2075 * symmisc.c (print_objfile_statistics): Update.
2077 2014-02-26 Tom Tromey <tromey@redhat.com>
2079 * elfread.c (elf_read_minimal_symbols): New function, from
2081 (elf_symfile_read): Call it.
2083 2014-02-26 Tom Tromey <tromey@redhat.com>
2085 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
2086 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
2087 (lookup_minimal_symbol_solib_trampoline)
2088 (lookup_minimal_symbol_by_pc_section_1)
2089 (lookup_minimal_symbol_and_objfile): Update.
2090 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
2091 Don't allocate a minimal symbol if minsyms have already been read.
2092 (build_minimal_symbol_hash_tables): Update.
2093 (install_minimal_symbols): Do nothing if minsyms already read.
2094 Use the per-BFD obstack.
2095 (terminate_minimal_symbol_table): Use the per-BFD obstack.
2096 * objfiles.c (allocate_objfile): Call
2097 terminate_minimal_symbol_table later.
2098 (have_minimal_symbols): Update.
2099 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
2100 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
2101 Move from struct objfile.
2102 <minsyms_read>: New field.
2103 (struct objfile) <msymbols, minimal_symbol_count,
2104 msymbol_hash, msymbol_demangled_hash>: Move.
2105 (ALL_OBJFILE_MSYMBOLS): Update.
2106 * symfile.c (read_symbols): Set minsyms_read.
2107 (reread_symbols): Update.
2108 * symmisc.c (dump_objfile, dump_msymbols): Update.
2110 2014-02-26 Tom Tromey <tromey@redhat.com>
2112 * minsyms.c (msymbols_sort): Remove.
2113 * minsyms.h (msymbols_sort): Remove.
2114 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
2115 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
2116 * elfread.c (elf_symtab_read): Don't add section offsets.
2117 * xcoffread.c (record_minimal_symbol): Don't add section offset
2118 to minimal symbol address.
2119 * somread.c (text_offset, data_offset): Remove.
2120 (som_symtab_read): Don't add section offsets to minimal symbol
2122 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
2123 Don't add section offsets to minimal symbols.
2124 * coffread.c (coff_symtab_read): Don't add section offsets
2125 to minimal symbol addresses.
2126 * machoread.c (macho_symtab_add_minsym): Don't add section offset
2127 to minimal symbol addresses.
2128 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
2129 section offset to minimal symbol addresses.
2130 * mdebugread.c (parse_partial_symbols): Don't add section
2131 offset to minimal symbol addresses.
2132 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
2133 offset to minimal symbol addresses.
2135 2014-02-26 Tom Tromey <tromey@redhat.com>
2137 * ada-lang.c (ada_main_name): Update.
2138 (ada_add_standard_exceptions): Update.
2139 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2140 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2141 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
2142 * auxv.c (ld_so_xfer_auxv): Update.
2143 * avr-tdep.c (avr_scan_prologue): Update.
2144 * ax-gdb.c (gen_var_ref): Update.
2145 * blockframe.c (get_pc_function_start)
2146 (find_pc_partial_function_gnu_ifunc): Update.
2147 * breakpoint.c (create_overlay_event_breakpoint)
2148 (create_longjmp_master_breakpoint)
2149 (create_std_terminate_master_breakpoint)
2150 (create_exception_master_breakpoint): Update.
2151 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2152 * c-valprint.c (c_val_print): Update.
2153 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2154 * common/agent.c (agent_look_up_symbols): Update.
2155 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2156 * dwarf2loc.c (call_site_to_target_addr): Update.
2157 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
2158 * elfread.c (elf_gnu_ifunc_record_cache)
2159 (elf_gnu_ifunc_resolve_by_got): Update.
2160 * findvar.c (default_read_var_value): Update.
2161 * frame.c (inside_main_func): Update.
2162 * frv-tdep.c (frv_frame_this_id): Update.
2163 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2164 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2166 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
2167 (hppa_hpux_find_dummy_bpaddr): Update.
2168 * hppa-tdep.c (hppa_symbol_address): Update.
2169 * infcmd.c (until_next_command): Update.
2170 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
2172 * linespec.c (minsym_found, add_minsym): Update.
2173 * linux-nat.c (get_signo): Update.
2174 * linux-thread-db.c (inferior_has_bug): Update.
2175 * m32c-tdep.c (m32c_return_value)
2176 (m32c_m16c_address_to_pointer): Update.
2177 * m32r-tdep.c (m32r_frame_this_id): Update.
2178 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2179 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2180 * maint.c (maintenance_translate_address): Update.
2181 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
2182 (frob_address): New function.
2183 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
2184 frob_address. Rename parameter to "pc_in".
2185 (compare_minimal_symbols, compact_minimal_symbols): Use raw
2187 (find_solib_trampoline_target, minimal_symbol_upper_bound):
2189 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2190 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
2191 * objc-lang.c (find_objc_msgsend): Update.
2192 * objfiles.c (objfile_relocate1): Update.
2193 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2194 * p-valprint.c (pascal_val_print): Update.
2195 * parse.c (write_exp_msymbol): Update.
2196 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
2197 (ppc_elfv2_skip_entrypoint): Update.
2198 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2199 * printcmd.c (build_address_symbolic, msym_info)
2200 (address_info): Update.
2201 * proc-service.c (ps_pglobal_lookup): Update.
2202 * psymtab.c (find_pc_sect_psymtab_closer)
2203 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
2204 Change msymbol parameter to bound_minimal_symbol.
2205 * ravenscar-thread.c (get_running_thread_id): Update.
2206 * remote.c (remote_check_symbols): Update.
2207 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
2209 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2210 * solib-dsbt.c (lm_base): Update.
2211 * solib-frv.c (lm_base, main_got): Update.
2212 * solib-irix.c (locate_base): Update.
2213 * solib-som.c (som_solib_create_inferior_hook)
2214 (link_map_start): Update.
2215 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
2216 * solib-svr4.c (elf_locate_base, enable_break): Update.
2217 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2218 (flush_ea_cache): Update.
2219 * stabsread.c (define_symbol, scan_file_globals): Update.
2220 * stack.c (find_frame_funname): Update.
2221 * symfile-debug.c (debug_qf_expand_symtabs_matching)
2222 (debug_qf_find_pc_sect_symtab): Update.
2223 * symfile.c (simple_read_overlay_table)
2224 (simple_overlay_update): Update.
2225 * symfile.h (struct quick_symbol_functions)
2226 <find_pc_sect_symtab>: Change type of msymbol to
2227 bound_minimal_symbol.
2228 * symmisc.c (dump_msymbols): Update.
2229 * symtab.c (find_pc_sect_symtab_via_partial)
2230 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
2231 (search_symbols, print_msymbol_info): Update.
2232 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
2233 (MSYMBOL_VALUE_ADDRESS): Redefine.
2234 (BMSYMBOL_VALUE_ADDRESS): New macro.
2235 * tracepoint.c (scope_info): Update.
2236 * tui/tui-disasm.c (tui_find_disassembly_address)
2237 (tui_get_begin_asm_address): Update.
2238 * valops.c (find_function_in_inferior): Update.
2239 * value.c (value_static_field, value_fn_field): Update.
2241 2014-02-26 Tom Tromey <tromey@redhat.com>
2243 * ada-lang.c (ada_update_initial_language): Update.
2244 (ada_main_name, ada_has_this_exception_support): Update.
2245 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2246 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2247 * arm-tdep.c (arm_skip_stub): Update.
2248 * auxv.c (ld_so_xfer_auxv): Update.
2249 * avr-tdep.c (avr_scan_prologue): Update.
2250 * ax-gdb.c (gen_var_ref): Update.
2251 * breakpoint.c (struct breakpoint_objfile_data)
2252 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
2253 type to bound_minimal_symbol.
2254 (create_overlay_event_breakpoint)
2255 (create_longjmp_master_breakpoint)
2256 (create_std_terminate_master_breakpoint)
2257 (create_exception_master_breakpoint): Update.
2258 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2259 * c-exp.y (classify_name): Update.
2260 * coffread.c (coff_symfile_read): Update.
2261 * common/agent.c (agent_look_up_symbols): Update.
2262 * d-lang.c (d_main_name): Update.
2263 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2264 * dec-thread.c (enable_dec_thread): Update.
2265 * dwarf2loc.c (call_site_to_target_addr): Update.
2266 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
2267 * eval.c (evaluate_subexp_standard): Update.
2268 * findvar.c (struct minsym_lookup_data) <result>: Change type
2269 to bound_minimal_symbol.
2271 (minsym_lookup_iterator_cb, default_read_var_value): Update.
2272 * frame.c (inside_main_func): Update.
2273 * frv-tdep.c (frv_frame_this_id): Update.
2274 * gcore.c (call_target_sbrk): Update.
2275 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2276 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2278 * go-lang.c (go_main_name): Update.
2279 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
2280 (hppa_hpux_find_import_stub_for_addr): Update.
2281 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
2282 Update. Change return type.
2283 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
2285 * jit.c (jit_breakpoint_re_set_internal): Update.
2286 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
2288 * linux-nat.c (get_signo): Update.
2289 * linux-thread-db.c (inferior_has_bug): Update
2290 * m32c-tdep.c (m32c_return_value)
2291 (m32c_m16c_address_to_pointer): Update.
2292 * m32r-tdep.c (m32r_frame_this_id): Update.
2293 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2294 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2295 * minsyms.c (lookup_minimal_symbol_internal): Rename to
2296 lookup_minimal_symbol. Change return type.
2297 (lookup_minimal_symbol): Remove.
2298 (lookup_bound_minimal_symbol): Update.
2299 (lookup_minimal_symbol_text): Change return type.
2300 (lookup_minimal_symbol_solib_trampoline): Change return type.
2301 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
2302 (lookup_minimal_symbol_solib_trampoline): Change return type.
2303 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2304 * objc-lang.c (lookup_objc_class, lookup_child_selector)
2305 (value_nsstring, find_imps): Update.
2306 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2307 * p-lang.c (pascal_main_name): Update.
2308 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
2309 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2310 * proc-service.c (ps_pglobal_lookup): Update.
2311 * ravenscar-thread.c (get_running_thread_msymbol): Change
2313 (has_ravenscar_runtime, get_running_thread_id): Update.
2314 * remote.c (remote_check_symbols): Update.
2315 * sol-thread.c (ps_pglobal_lookup): Update.
2316 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2317 * solib-dsbt.c (lm_base): Update.
2318 * solib-frv.c (lm_base, frv_relocate_section_addresses):
2320 * solib-irix.c (locate_base): Update.
2321 * solib-som.c (som_solib_create_inferior_hook)
2322 (som_solib_desire_dynamic_linker_symbols, link_map_start):
2324 * solib-spu.c (spu_enable_break): Update.
2325 * solib-svr4.c (elf_locate_base, enable_break): Update.
2326 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2327 (flush_ea_cache): Update.
2328 * stabsread.c (define_symbol): Update.
2329 * symfile.c (simple_read_overlay_table): Update.
2330 * symtab.c (find_pc_sect_line): Update.
2331 * tracepoint.c (scope_info): Update.
2332 * tui-disasm.c (tui_get_begin_asm_address): Update.
2333 * value.c (value_static_field): Update.
2335 2014-02-26 Tom Tromey <tromey@redhat.com>
2337 * minsyms.c (prim_record_minimal_symbol_full): Use
2338 SET_MSYMBOL_VALUE_ADDRESS.
2339 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
2340 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
2341 SET_MSYMBOL_VALUE_ADDRESS.
2342 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
2343 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
2345 2014-02-26 Tom Tromey <tromey@redhat.com>
2347 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
2348 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
2349 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
2350 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
2351 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
2352 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
2353 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
2354 * ada-lang.c (ada_main_name): Update.
2355 (ada_lookup_simple_minsym): Update.
2356 (ada_make_symbol_completion_list): Update.
2357 (ada_add_standard_exceptions): Update.
2358 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
2359 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2360 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
2361 * arm-tdep.c (skip_prologue_function): Update.
2362 (arm_skip_stack_protector, arm_skip_stub): Update.
2363 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
2364 (arm_wince_skip_main_prologue): Update.
2365 * auxv.c (ld_so_xfer_auxv): Update.
2366 * avr-tdep.c (avr_scan_prologue): Update.
2367 * ax-gdb.c (gen_var_ref): Update.
2368 * block.c (call_site_for_pc): Update.
2369 * blockframe.c (get_pc_function_start): Update.
2370 (find_pc_partial_function_gnu_ifunc): Update.
2371 * breakpoint.c (create_overlay_event_breakpoint): Update.
2372 (create_longjmp_master_breakpoint): Update.
2373 (create_std_terminate_master_breakpoint): Update.
2374 (create_exception_master_breakpoint): Update.
2375 (resolve_sal_pc): Update.
2376 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2377 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
2379 * c-valprint.c (c_val_print): Update.
2380 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2381 * coffread.c (coff_symfile_read): Update.
2382 * common/agent.c (agent_look_up_symbols): Update.
2383 * dbxread.c (find_stab_function_addr): Update.
2384 (end_psymtab): Update.
2385 * dwarf2loc.c (call_site_to_target_addr): Update.
2386 (func_verify_no_selftailcall): Update.
2387 (tailcall_dump): Update.
2388 (call_site_find_chain_1): Update.
2389 (dwarf_expr_reg_to_entry_parameter): Update.
2390 * elfread.c (elf_gnu_ifunc_record_cache): Update.
2391 (elf_gnu_ifunc_resolve_by_got): Update.
2392 * f-valprint.c (info_common_command): Update.
2393 * findvar.c (read_var_value): Update.
2394 * frame.c (get_prev_frame_1): Update.
2395 (inside_main_func): Update.
2396 * frv-tdep.c (frv_skip_main_prologue): Update.
2397 (frv_frame_this_id): Update.
2398 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2399 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
2400 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
2401 (gnuv3_skip_trampoline): Update.
2402 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
2403 (hppa64_hpux_in_solib_call_trampoline): Update.
2404 (hppa_hpux_skip_trampoline_code): Update.
2405 (hppa64_hpux_search_dummy_call_sequence): Update.
2406 (hppa_hpux_find_import_stub_for_addr): Update.
2407 (hppa_hpux_find_dummy_bpaddr): Update.
2408 * hppa-tdep.c (hppa_symbol_address)
2409 (hppa_lookup_stub_minimal_symbol): Update.
2410 * i386-tdep.c (i386_skip_main_prologue): Update.
2411 (i386_pe_skip_trampoline_code): Update.
2412 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
2413 * infcall.c (get_function_name): Update.
2414 * infcmd.c (until_next_command): Update.
2415 * jit.c (jit_breakpoint_re_set_internal): Update.
2416 (jit_inferior_init): Update.
2417 * linespec.c (minsym_found): Update.
2418 (add_minsym): Update.
2419 * linux-fork.c (info_checkpoints_command): Update.
2420 * linux-nat.c (get_signo): Update.
2421 * linux-thread-db.c (inferior_has_bug): Update.
2422 * m32c-tdep.c (m32c_return_value): Update.
2423 (m32c_m16c_address_to_pointer): Update.
2424 (m32c_m16c_pointer_to_address): Update.
2425 * m32r-tdep.c (m32r_frame_this_id): Update.
2426 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2427 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2428 * maint.c (maintenance_translate_address): Update.
2429 * minsyms.c (add_minsym_to_hash_table): Update.
2430 (add_minsym_to_demangled_hash_table): Update.
2431 (msymbol_objfile): Update.
2432 (lookup_minimal_symbol): Update.
2433 (iterate_over_minimal_symbols): Update.
2434 (lookup_minimal_symbol_text): Update.
2435 (lookup_minimal_symbol_by_pc_name): Update.
2436 (lookup_minimal_symbol_solib_trampoline): Update.
2437 (lookup_minimal_symbol_by_pc_section_1): Update.
2438 (lookup_minimal_symbol_and_objfile): Update.
2439 (prim_record_minimal_symbol_full): Update.
2440 (compare_minimal_symbols): Update.
2441 (compact_minimal_symbols): Update.
2442 (build_minimal_symbol_hash_tables): Update.
2443 (install_minimal_symbols): Update.
2444 (terminate_minimal_symbol_table): Update.
2445 (find_solib_trampoline_target): Update.
2446 (minimal_symbol_upper_bound): Update.
2447 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2448 * mips-tdep.c (mips_stub_frame_sniffer): Update.
2449 (mips_skip_pic_trampoline_code): Update.
2450 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
2451 * objc-lang.c (selectors_info): Update.
2452 (classes_info): Update.
2453 (find_methods): Update.
2454 (find_imps): Update.
2455 (find_objc_msgsend): Update.
2456 * objfiles.c (objfile_relocate1): Update.
2457 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
2458 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2459 * p-valprint.c (pascal_val_print): Update.
2460 * parse.c (write_exp_msymbol): Update.
2461 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
2462 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
2463 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2464 * printcmd.c (build_address_symbolic): Update.
2466 (address_info): Update.
2467 * proc-service.c (ps_pglobal_lookup): Update.
2468 * psymtab.c (find_pc_sect_psymtab_closer): Update.
2469 (find_pc_sect_psymtab): Update.
2470 * python/py-framefilter.c (py_print_frame): Update.
2471 * ravenscar-thread.c (get_running_thread_id): Update.
2472 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
2474 * remote.c (remote_check_symbols): Update.
2475 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
2476 (rs6000_skip_trampoline_code): Update.
2477 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
2478 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2479 * solib-dsbt.c (lm_base): Update.
2480 * solib-frv.c (lm_base): Update.
2482 * solib-irix.c (locate_base): Update.
2483 * solib-som.c (som_solib_create_inferior_hook): Update.
2484 (som_solib_desire_dynamic_linker_symbols): Update.
2485 (link_map_start): Update.
2486 * solib-spu.c (spu_enable_break): Update.
2487 (ocl_enable_break): Update.
2488 * solib-svr4.c (elf_locate_base): Update.
2489 (enable_break): Update.
2490 * spu-tdep.c (spu_get_overlay_table): Update.
2491 (spu_catch_start): Update.
2492 (flush_ea_cache): Update.
2493 * stabsread.c (define_symbol): Update.
2494 (scan_file_globals): Update.
2495 * stack.c (find_frame_funname): Update.
2496 (frame_info): Update.
2497 * symfile.c (simple_read_overlay_table): Update.
2498 (simple_overlay_update): Update.
2499 * symmisc.c (dump_msymbols): Update.
2500 * symtab.c (fixup_section): Update.
2501 (find_pc_sect_line): Update.
2502 (skip_prologue_sal): Update.
2503 (search_symbols): Update.
2504 (print_msymbol_info): Update.
2505 (rbreak_command): Update.
2506 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
2507 (completion_list_objc_symbol): Update.
2508 (default_make_symbol_completion_list_break_on): Update.
2509 * tracepoint.c (scope_info): Update.
2510 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
2511 (tui_get_begin_asm_address): Update.
2512 * valops.c (find_function_in_inferior): Update.
2513 * value.c (value_static_field): Update.
2514 (value_fn_field): Update.
2516 2014-02-26 Tom Tromey <tromey@redhat.com>
2518 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
2519 bound minimal symbols. Move code that knows about minsym
2521 * minsyms.c (minimal_symbol_upper_bound): ... here. New
2523 * minsyms.h (minimal_symbol_upper_bound): Declare.
2524 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
2525 minimal_symbol_upper_bound.
2527 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2529 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
2530 Use the type's name if its basic type does not have a tag.
2532 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2534 * dwarf2read.c (read_subrange_type): Add comment.
2536 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2538 * dwarf2read.c (update_enumeration_type_from_children): New
2539 function, mostly extracted from process_structure_scope.
2540 (read_enumeration_type): Call update_enumeration_type_from_children.
2541 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
2542 and flag_flag_enum fields.
2544 2014-02-26 Pedro Alves <palves@redhat.com>
2546 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
2547 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
2548 to_xfer_partial method.
2550 2014-02-26 Pedro Alves <palves@redhat.com>
2552 * target.c (complete_target_initialization): Don't install
2553 default_xfer_partial as to_xfer_partial hook.
2555 (update_current_target): Don't INHERIT nor de_fault
2556 deprecated_xfer_memory. Delete de_fault macro.
2557 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
2558 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
2559 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
2562 2014-02-26 Pedro Alves <palves@redhat.com>
2564 * go32-nat.c (my_write_child): New function.
2565 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
2566 (go32_xfer_partial): New function.
2567 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
2568 Instead install a to_xfer_partial hook.
2570 2014-02-26 Pedro Alves <palves@redhat.com>
2572 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
2573 to_xfer_partial helper. Rewrite.
2574 (procfs_xfer_partial): New function.
2575 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
2576 Install a to_xfer_partial hook.
2578 2014-02-26 Pedro Alves <palves@redhat.com>
2580 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
2581 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
2582 (m32r_xfer_partial): New function.
2583 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
2584 Install a to_xfer_partial hook.
2586 2014-02-26 Pedro Alves <palves@redhat.com>
2588 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
2590 (mips_xfer_partial): New function.
2591 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
2592 hook. Install a to_xfer_partial hook.
2594 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2596 * gdbtypes.h (create_array_type_with_stride): Add declaration.
2597 * gdbtypes.c (create_array_type_with_stride): New function,
2598 renaming create_array_type, but with an added parameter
2599 called "bit_stride".
2600 (create_array_type): Re-implement using
2601 create_array_type_with_stride.
2602 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
2603 and DW_AT_bit_stride attributes.
2605 2014-02-26 Pedro Alves <palves@redhat.com>
2607 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
2608 task-specific breakpoints.
2610 2014-02-25 Pedro Alves <palves@redhat.com>
2612 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
2613 handling of object == TARGET_OBJECT_UNWIND_TABLE.
2615 2014-02-25 Stan Shebs <stan@codesourcery.com>
2617 * defs.h: Annotate comments for Doxygen.
2619 2014-02-25 Tom Tromey <tromey@redhat.com>
2621 * target.h (target_ignore): Don't declare.
2622 * target.c (target_ignore): Remove.
2624 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2627 * auto-load.c (auto_load_objfile_script_1): Change filename to
2630 2014-02-25 Joel Brobecker <brobecker@adacore.com>
2632 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
2633 documentation. Adjust prototype to match the target_ops
2634 to_xfer_partial method. Adjust implementation accordingly.
2636 2014-02-25 Hui Zhu <hui@codesourcery.com>
2638 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
2641 2014-02-25 Kevin Buettner <kevinb@redhat.com>
2643 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
2644 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
2645 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
2646 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
2647 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
2648 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
2649 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
2650 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
2652 (rl78_register_type): Use a data pointer type for SP and
2653 new pseudo registers mentioned above. Use a 16 bit integer
2654 type for all other register pairs.
2655 (rl78_register_name, rl78_g10_register_name): Update for
2656 new pseudo registers.
2657 (rl78_pseudo_register_read): Likewise.
2658 (rl78_pseudo_register_write): Likewise.
2659 (rl78_dwarf_reg_to_regnum): Return register numbers representing
2660 to the newly added pseudo registers.
2662 2014-02-24 Doug Evans <dje@google.com>
2664 * value.c (record_latest_value): Fix comment.
2665 * printcmd.c (print_command_1): Remove code to handle -1 return from
2666 record_latest_value.
2668 2014-02-24 Pedro Alves <palves@redhat.com>
2670 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2671 deprecated_xfer_memory hook.
2672 (procfs_xfer_partial): Call procfs_xfer_memory instead
2673 of the deprecated_xfer_memory target hook.
2674 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2677 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
2679 * windows-nat.c (windows_xfer_shared_libraries): Return
2680 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2681 requested object is TARGET_OBJECT_LIBRARIES.
2683 2014-02-24 Yao Qi <yao@codesourcery.com>
2685 * target.h (enum target_xfer_status)
2686 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2687 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2689 * corefile.c (memory_error_message): User updated.
2690 * exec.c (section_table_read_available_memory): Likewise.
2691 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2692 * target.c (target_xfer_status_to_string): Likewise.
2693 (raw_memory_xfer_partial): Likewise.
2694 (memory_xfer_partial_1, target_xfer_partial): Likewise.
2695 * valops.c (read_value_memory): Likewise.
2696 * exec.h: Update comments.
2698 2014-02-24 Yao Qi <yao@codesourcery.com>
2700 * target.c (target_xfer_status_to_string): Rename argument err
2702 * target.h (target_xfer_status_to_string): Update declaration.
2703 Replace target_xfer_error_to_string with
2704 target_xfer_status_to_string in comment.
2706 2014-02-24 Yao Qi <yao@codesourcery.com>
2708 * mips-linux-nat.c (super_close): Update its type.
2709 (mips_linux_close): Pass 'self' to super_close.
2711 2014-02-24 Yao Qi <yao@codesourcery.com>
2713 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2714 * corefile.c (read_memory): Adjusted.
2715 * target.c (target_write_with_progress): Adjusted.
2717 2014-02-23 Yao Qi <yao@codesourcery.com>
2721 2013-10-25 Yao Qi <yao@codesourcery.com>
2723 * remote.c (remote_traceframe_info): Return early if
2724 traceframe is not selected.
2726 2013-07-19 Yao Qi <yao@codesourcery.com>
2728 * target.c (update_current_target): Change the default action
2729 of 'to_traceframe_info' from tcomplain to return_zero.
2730 * target.h (struct target_ops) <to_traceframe_info>: Add more
2733 2014-02-23 Yao Qi <yao@codesourcery.com>
2735 * valops.c (read_value_memory): Rewrite it. Call
2736 target_xfer_partial in a loop.
2737 * exec.h (section_table_available_memory): Remove declaration.
2738 Move comments to ...
2739 * exec.c (section_table_available_memory): ... here. Make it
2742 2014-02-23 Yao Qi <yao@codesourcery.com>
2744 * exec.c (section_table_read_available_memory): New function.
2745 * exec.h (section_table_read_available_memory): Declare.
2746 * ctf.c (ctf_xfer_partial): Call
2747 section_table_read_available_memory.
2748 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2750 2014-02-23 Yao Qi <yao@codesourcery.com>
2752 * ctf.c (ctf_xfer_partial): Move code to ...
2753 * exec.c (exec_read_partial_read_only): ... it. New function.
2754 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2755 * tracefile.c: Include "exec.h".
2756 * exec.h (exec_read_partial_read_only): Declare.
2758 2014-02-23 Yao Qi <yao@codesourcery.com>
2760 * tracefile-tfile.c (tfile_has_all_memory): Remove.
2761 (tfile_has_memory): Remove.
2762 (init_tfile_ops): Don't set fields to_has_all_memory and
2763 to_has_memory of tfile_ops.
2764 * tracefile.c (tracefile_has_all_memory): New function.
2765 (tracefile_has_memory): New function.
2766 (init_tracefile_ops): Initialize fields to_has_all_memory and
2767 to_has_memory of 'ops'.
2769 2014-02-23 Yao Qi <yao@codesourcery.com>
2771 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2772 (ctf_thread_alive, ctf_get_trace_status): Remove.
2773 (init_ctf_ops): Don't set some fields of ctf_ops. Call
2775 * tracefile-tfile.c (tfile_get_trace_status): Remove.
2776 (tfile_has_stack, tfile_has_registers): Remove.
2777 (tfile_thread_alive): Remove.
2778 (init_tfile_ops): Don't set some fields of tfile_ops. Call
2780 * tracefile.c (tracefile_has_stack): New function.
2781 (tracefile_has_registers): New function.
2782 (tracefile_thread_alive): New function.
2783 (tracefile_get_trace_status): New function.
2784 (init_tracefile_ops): New function.
2785 * tracefile.h (init_tracefile_ops): Declare.
2787 2014-02-23 Yao Qi <yao@codesourcery.com>
2789 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2790 (O_LARGEFILE): Likewise.
2791 (tfile_ops): Likewise.
2792 (TRACE_HEADER_SIZE): Likewise.
2793 (trace_fd, trace_frames_offset, cur_offset): Likewise.
2794 (cur_data_size): Likewise.
2795 (tfile_read, tfile_open, tfile_interp_line): Likewise.
2796 (tfile_close, tfile_files_info): Likewise.
2797 (tfile_get_trace_status): Likewise.
2798 (tfile_get_tracepoint_status): Likewise.
2799 (tfile_get_traceframe_address): Likewise.
2800 (tfile_trace_find, match_blocktype): Likewise.
2801 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2802 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2803 (tfile_get_trace_state_variable_value): Likewise.
2804 (tfile_has_all_memory, tfile_has_memory): Likewise.
2805 (tfile_has_stack, tfile_has_registers): Likewise.
2806 (tfile_thread_alive, build_traceframe_info): Likewise.
2807 (tfile_traceframe_info, init_tfile_ops): Likewise.
2808 (_initialize_tracepoint): Don't call init_tfile_ops
2809 and add_target_with_completer.
2810 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2811 exec.h, completer.h and filenames.h.
2812 (_initialize_tracefile_tfile): New function.
2814 2014-02-23 Yao Qi <yao@codesourcery.com>
2816 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2818 (HFILES_NO_SRCDIR): Add tracefile.h.
2819 * ctf.c: Include "tracefile.h".
2820 * tracefile.h: New file.
2821 * tracefile.c: New file
2822 * tracefile-tfile.c: New file.
2823 * tracepoint.c: Include "tracefile.h".
2824 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2825 (stop_reason_names): Add const.
2826 (trace_file_writer_xfree): Move it to tracefile.c.
2827 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2828 (trace_save_ctf): Likewise.
2829 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2830 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2831 (tfile_write_header, tfile_write_regblock_type): Likewise.
2832 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2833 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2834 (tfile_write_raw_data, tfile_end): Likewise.
2835 (tfile_trace_file_writer_new): Likewise.
2836 (free_uploaded_tp): Make it extern.
2837 (free_uploaded_tsv): Make it extern.
2838 (_initialize_tracepoint): Move code to register command 'tsave'
2840 * tracepoint.h (stop_reason_names): Declare.
2841 (struct trace_frame_write_ops): Move it to tracefile.h.
2842 (struct trace_file_write_ops): Likewise.
2843 (struct trace_file_writer): Likewise.
2844 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2846 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2849 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2851 (get_cores_used_by_process): New parameter num_cores, use it.
2852 (linux_xfer_osdata_processes): Pass num_cores to it.
2853 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2856 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2858 * target.c (memory_xfer_partial): Fix length arg in call to
2859 breakpoint_xfer_memory.
2861 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2864 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2865 number comes after the + or - signs. Adjust length of register
2866 name to be extracted.
2868 2014-02-20 Tom Tromey <tromey@redhat.com>
2870 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2871 (ada_varobj_ops): Mark "extern".
2873 2014-02-20 Tom Tromey <tromey@redhat.com>
2875 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2877 2014-02-20 Doug Evans <xdje42@gmail.com>
2879 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2880 All callers updated.
2881 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2882 All callers updated.
2883 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2884 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2886 2014-02-20 lin zuojian <manjian2006@gmail.com>
2887 Joel Brobecker <brobecker@adacore.com>
2888 Doug Evans <xdje42@gmail.com>
2891 * dwarf2read.c (struct die_info): New member in_process.
2892 (reset_die_in_process): New function.
2893 (process_die): Set it at the start, reset when returning.
2894 (inherit_abstract_dies): Only call process_die if origin_child_die
2895 not already being processed.
2897 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2899 * windows-nat.c (handle_unload_dll): Add function documentation.
2900 (do_initial_windows_stuff): Add comment explaining why we wait
2901 until after inferior initialization has finished before
2902 processing all DLLs.
2904 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2906 * windows-nat.c (get_module_name): Delete.
2907 (windows_get_exec_module_filename): New function, mostly
2908 inspired from get_module_name.
2909 (windows_pid_to_exec_file): Replace call to get_module_name
2910 by call to windows_get_exec_module_filename.
2912 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2914 * windows-nat.c (handle_load_dll): Rewrite this function's
2915 introductory comment. Remove code using get_module_name
2916 to get the DLL's name.
2918 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2920 * windows-nat.c (get_windows_debug_event): Ignore
2921 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2922 if windows_initialization_done == 0.
2923 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2924 Adjust implementation to always load all DLLs.
2925 (do_initial_windows_stuff): Replace call to
2926 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2928 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2930 * windows-nat.c (_initialize_windows_nat): Deprecate the
2931 "dll-symbols" command. Turn the "add-shared-symbol-files"
2932 and "assf" aliases into commands, and deprecate them as well.
2933 * NEWS: Add entry explaining that "dll-symbols" and its two
2934 aliases are now deprecated.
2936 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2938 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2939 new-line in debug string. Remove trailing spaces.
2941 2014-02-19 Stan Shebs <stan@codesourcery.com>
2943 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2945 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2947 * NEWS: Add entry for the new feature
2948 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2951 2014-02-19 Stan Shebs <stan@codesourcery.com>
2953 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2955 2014-02-19 Pedro Alves <palves@redhat.com>
2957 * common/ptid.h (struct ptid): Mention that process_stratum
2958 targets should prefer ptid.lwp.
2960 2014-02-19 Pedro Alves <palves@redhat.com>
2962 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2963 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2964 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2965 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2966 store remote thread ids rather than ptid.tid.
2967 (_initialize_remote): Adjust.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * target.c (target_get_unwinder): Rewrite.
2972 (target_get_tailcall_unwinder): Rewrite.
2973 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2974 (record_btrace_to_get_tailcall_unwinder): New function.
2975 (init_record_btrace_ops): Update.
2976 * target.h (struct target_ops) <to_get_unwinder,
2977 to_get_tailcall_unwinder>: Now function pointers. Use
2978 TARGET_DEFAULT_RETURN.
2980 2014-02-19 Tom Tromey <tromey@redhat.com>
2982 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2984 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2986 2014-02-19 Tom Tromey <tromey@redhat.com>
2988 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2990 * target-delegates.c: Rebuild.
2991 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2992 TARGET_DEFAULT_FUNC.
2993 * target.c (default_target_decr_pc_after_break): Rename from
2994 forward_target_decr_pc_after_break. Simplify.
2995 (target_decr_pc_after_break): Rely on delegation.
2997 2014-02-19 Tom Tromey <tromey@redhat.com>
2999 * target.c (update_current_target): Do not INHERIT to_doc or
3000 to_magic. Do not de_fault to_open or to_close.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * gcore.h (objfile_find_memory_regions): Declare.
3005 * gcore.c (objfile_find_memory_regions): No longer static. Add
3007 (_initialize_gcore): Don't call exec_set_find_memory_regions.
3008 * exec.c: Include gcore.h.
3009 (exec_set_find_memory_regions): Remove.
3010 (exec_find_memory_regions): Remove.
3011 (exec_do_find_memory_regions): Remove.
3012 (init_exec_ops): Update.
3013 * defs.h (exec_set_find_memory_regions): Remove.
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3017 * target-delegates.c: Rebuild.
3018 * target.h (struct target_ops) <to_extra_thread_info,
3019 to_thread_name, to_pid_to_exec_file, to_get_section_table,
3020 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
3021 not 0, in TARGET_DEFAULT_RETURN.
3023 2014-02-19 Tom Tromey <tromey@redhat.com>
3025 * target.c (complete_target_initialization): Remove casts. Use
3026 return_zero_has_execution.
3027 (return_zero): Add "ignore" argument.
3028 (return_zero_has_execution): New function.
3029 (init_dummy_target): Remove casts. Use
3030 return_zero_has_execution.
3032 2014-02-19 Tom Tromey <tromey@redhat.com>
3034 * target.c (update_current_target): Update comments. Do not
3037 2014-02-19 Tom Tromey <tromey@redhat.com>
3039 * arm-linux-nat.c (arm_linux_read_description): Delegate when
3041 * corelow.c (core_read_description): Delegate when needed.
3042 * remote.c (remote_read_description): Delegate when needed.
3043 * target-delegates.c: Rebuild.
3044 * target.c (target_read_description): Rewrite.
3045 * target.h (struct target_ops) <to_read_description>: Update
3046 comment. Use TARGET_DEFAULT_RETURN.
3048 2014-02-19 Tom Tromey <tromey@redhat.com>
3050 * target-delegates.c: Rebuild.
3051 * target.c (update_current_target): Don't inherit or default
3053 (find_default_run_target): Check against delegate_can_run.
3054 * target.h (struct target_ops) <to_can_run>: Use
3055 TARGET_DEFAULT_RETURN.
3057 2014-02-19 Tom Tromey <tromey@redhat.com>
3059 * target-delegates.c: Rebuild.
3060 * target.c (target_disconnect): Unconditionally delegate.
3061 * target.h (struct target_ops) <to_disconnect>: Use
3062 TARGET_DEFAULT_NORETURN.
3064 2014-02-19 Tom Tromey <tromey@redhat.com>
3066 * record.c (record_stop): Unconditionally delegate.
3067 * target-delegates.c: Rebuild.
3068 * target.c (target_stop_recording): Unconditionally delegate.
3069 * target.h (struct target_ops) <to_stop_recording>: Use
3070 TARGET_DEFAULT_IGNORE.
3072 2014-02-19 Tom Tromey <tromey@redhat.com>
3074 * target-delegates.c: Rebuild.
3075 * target.c (target_enable_btrace): Unconditionally delegate.
3076 * target.h (struct target_ops) <to_enable_btrace>: Use
3077 TARGET_DEFAULT_NORETURN.
3079 2014-02-19 Tom Tromey <tromey@redhat.com>
3081 * target-delegates.c: Rebuild.
3082 * target.c (target_read_btrace): Unconditionally delegate.
3083 * target.h (struct target_ops) <to_read_btrace>: Use
3084 TARGET_DEFAULT_NORETURN.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target-delegates.c: Rebuild.
3089 * target.c (target_teardown_btrace): Unconditionally delegate.
3090 * target.h (struct target_ops) <to_teardown_btrace>: Use
3091 TARGET_DEFAULT_NORETURN.
3093 2014-02-19 Tom Tromey <tromey@redhat.com>
3095 * target-delegates.c: Rebuild.
3096 * target.c (target_disable_btrace): Unconditionally delegate.
3097 * target.h (struct target_ops) <to_disable_btrace>: Use
3098 TARGET_DEFAULT_NORETURN.
3100 2014-02-19 Tom Tromey <tromey@redhat.com>
3102 * target-delegates.c: Rebuild.
3103 * target.c (default_search_memory): New function.
3104 (simple_search_memory): Update comment.
3105 (target_search_memory): Unconditionally delegate.
3106 * target.h (struct target_ops) <to_search_memory>: Use
3107 TARGET_DEFAULT_FUNC.
3109 2014-02-19 Tom Tromey <tromey@redhat.com>
3111 * auxv.c (default_auxv_parse): No longer static.
3112 (target_auxv_parse): Unconditionally delegate.
3113 * auxv.h (default_auxv_parse): Declare.
3114 * target-delegates.c: Rebuild.
3115 * target.c: Include auxv.h.
3116 * target.h (struct target_ops) <to_auxv_parse>: Use
3117 TARGET_DEFAULT_FUNC.
3119 2014-02-19 Tom Tromey <tromey@redhat.com>
3121 * target-delegates.c: Rebuild.
3122 * target.c (target_memory_map): Unconditionally delegate.
3123 * target.h (struct target_ops) <to_memory_map>: Use
3124 TARGET_DEFAULT_RETURN.
3126 2014-02-19 Tom Tromey <tromey@redhat.com>
3128 * target-delegates.c: Rebuild.
3129 * target.c (target_thread_alive): Unconditionally delegate.
3130 * target.h (struct target_ops) <to_thread_alive>: Use
3131 TARGET_DEFAULT_RETURN.
3133 2014-02-19 Tom Tromey <tromey@redhat.com>
3135 * target-delegates.c: Rebuild.
3136 * target.c (target_save_record): Unconditionally delegate.
3137 * target.h (struct target_ops) <to_save_record>: Use
3138 TARGET_DEFAULT_NORETURN.
3140 2014-02-19 Tom Tromey <tromey@redhat.com>
3142 * target-delegates.c: Rebuild.
3143 * target.c (target_delete_record): Unconditionally delegate.
3144 * target.h (struct target_ops) <to_delete_record>: Use
3145 TARGET_DEFAULT_NORETURN.
3147 2014-02-19 Tom Tromey <tromey@redhat.com>
3149 * target-delegates.c: Rebuild.
3150 * target.c (target_record_is_replaying): Unconditionally
3152 * target.h (struct target_ops) <to_record_is_replaying>: Use
3153 TARGET_DEFAULT_RETURN.
3155 2014-02-19 Tom Tromey <tromey@redhat.com>
3157 * target-delegates.c: Rebuild.
3158 * target.c (target_goto_record_begin): Unconditionally delegate.
3159 * target.h (struct target_ops) <to_goto_record_begin>: Use
3160 TARGET_DEFAULT_NORETURN.
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * target-delegates.c: Rebuild.
3165 * target.c (target_goto_record_end): Unconditionally delegate.
3166 * target.h (struct target_ops) <to_goto_record_end>: Use
3167 TARGET_DEFAULT_NORETURN.
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * target-delegates.c: Rebuild.
3172 * target.c (target_goto_record): Unconditionally delegate.
3173 * target.h (struct target_ops) <to_goto_record>: Use
3174 TARGET_DEFAULT_NORETURN.
3176 2014-02-19 Tom Tromey <tromey@redhat.com>
3178 * target-delegates.c: Rebuild.
3179 * target.c (target_insn_history): Unconditionally delegate.
3180 * target.h (struct target_ops) <to_insn_history>: Use
3181 TARGET_DEFAULT_NORETURN.
3183 2014-02-19 Tom Tromey <tromey@redhat.com>
3185 * target-delegates.c: Rebuild.
3186 * target.c (target_insn_history_from): Unconditionally delegate.
3187 * target.h (struct target_ops) <to_insn_history_from>: Use
3188 TARGET_DEFAULT_NORETURN.
3190 2014-02-19 Tom Tromey <tromey@redhat.com>
3192 * target-delegates.c: Rebuild.
3193 * target.c (target_insn_history_range): Unconditionally delegate.
3194 * target.h (struct target_ops) <to_insn_history_range>: Use
3195 TARGET_DEFAULT_NORETURN.
3197 2014-02-19 Tom Tromey <tromey@redhat.com>
3199 * target-delegates.c: Rebuild.
3200 * target.c (target_call_history): Unconditionally delegate.
3201 * target.h (struct target_ops) <to_call_history>: Use
3202 TARGET_DEFAULT_NORETURN.
3204 2014-02-19 Tom Tromey <tromey@redhat.com>
3206 * target-delegates.c: Rebuild.
3207 * target.c (target_call_history_from): Unconditionally delegate.
3208 * target.h (struct target_ops) <to_call_history_from>: Use
3209 TARGET_DEFAULT_NORETURN.
3211 2014-02-19 Tom Tromey <tromey@redhat.com>
3213 * target-delegates.c: Rebuild.
3214 * target.c (target_call_history_range): Unconditionally delegate.
3215 * target.h (struct target_ops) <to_call_history_range>: Use
3216 TARGET_DEFAULT_NORETURN.
3218 2014-02-19 Tom Tromey <tromey@redhat.com>
3220 * target-delegates.c: Rebuild.
3221 * target.c (target_verify_memory): Unconditionally delegate.
3222 * target.h (struct target_ops) <to_verify_memory>: Use
3223 TARGET_DEFAULT_NORETURN.
3225 2014-02-19 Tom Tromey <tromey@redhat.com>
3227 * target-delegates.c: Rebuild.
3228 * target.c (target_core_of_thread): Unconditionally delegate.
3229 * target.h (struct target_ops) <to_core_of_thread>: Use
3230 TARGET_DEFAULT_RETURN.
3232 2014-02-19 Tom Tromey <tromey@redhat.com>
3234 * target-delegates.c: Rebuild.
3235 * target.c (target_flash_done): Unconditionally delegate.
3236 * target.h (struct target_ops) <to_flash_done>: Use
3237 TARGET_DEFAULT_NORETURN.
3239 2014-02-19 Tom Tromey <tromey@redhat.com>
3241 * target-delegates.c: Rebuild.
3242 * target.c (target_flash_erase): Unconditionally delegate.
3243 * target.h (struct target_ops) <to_flash_erase>: Use
3244 TARGET_DEFAULT_NORETURN.
3246 2014-02-19 Tom Tromey <tromey@redhat.com>
3248 * target-delegates.c: Rebuild.
3249 * target.c (target_get_section_table): Unconditionally delegate.
3250 * target.h (struct target_ops) <to_get_section_table>: Use
3251 TARGET_DEFAULT_RETURN.
3253 2014-02-19 Tom Tromey <tromey@redhat.com>
3255 * target-delegates.c: Rebuild.
3256 * target.c (target_pid_to_str): Unconditionally delegate.
3257 (init_dummy_target): Don't initialize to_pid_to_str.
3258 (default_pid_to_str): Rename from dummy_pid_to_str.
3259 * target.h (struct target_ops) <to_pid_to_str>: Use
3260 TARGET_DEFAULT_FUNC.
3262 2014-02-19 Tom Tromey <tromey@redhat.com>
3264 * target-delegates.c: Rebuild.
3265 * target.c (target_find_new_threads): Unconditionally delegate.
3266 * target.h (struct target_ops) <to_find_new_threads>: Use
3267 TARGET_DEFAULT_RETURN.
3269 2014-02-19 Tom Tromey <tromey@redhat.com>
3271 * target-delegates.c: Rebuild.
3272 * target.c (target_program_signals): Unconditionally delegate.
3273 * target.h (struct target_ops) <to_program_signals>: Use
3274 TARGET_DEFAULT_IGNORE.
3276 2014-02-19 Tom Tromey <tromey@redhat.com>
3278 * target-delegates.c: Rebuild.
3279 * target.c (target_pass_signals): Unconditionally delegate.
3280 * target.h (struct target_ops) <to_pass_signals>: Use
3281 TARGET_DEFAULT_IGNORE.
3283 2014-02-19 Tom Tromey <tromey@redhat.com>
3285 * target-delegates.c: Rebuild.
3286 * target.c (default_mourn_inferior): New function.
3287 (target_mourn_inferior): Unconditionally delegate.
3288 * target.h (struct target_ops) <to_mourn_inferior>: Use
3289 TARGET_DEFAULT_FUNC.
3291 2014-02-19 Tom Tromey <tromey@redhat.com>
3293 * target-delegates.c: Rebuild.
3294 * target.c (default_follow_fork): New function.
3295 (target_follow_fork): Unconditionally delegate.
3296 * target.h (struct target_ops) <to_follow_fork>: Use
3297 TARGET_DEFAULT_FUNC.
3299 2014-02-19 Tom Tromey <tromey@redhat.com>
3301 * target-delegates.c: Rebuild.
3302 * target.c (target_kill): Unconditionally delegate.
3303 * target.h (struct target_ops) <to_kill>: Use
3304 TARGET_DEFAULT_NORETURN.
3306 2014-02-19 Tom Tromey <tromey@redhat.com>
3308 * target-delegates.c: Rebuild.
3309 * target.c (target_masked_watch_num_registers): Unconditionally
3311 * target.h (struct target_ops) <to_masked_watch_num_registers>:
3312 Use TARGET_DEFAULT_RETURN.
3314 2014-02-19 Tom Tromey <tromey@redhat.com>
3316 * target-delegates.c: Rebuild.
3317 * target.c (target_remove_mask_watchpoint): Unconditionally
3319 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
3320 TARGET_DEFAULT_RETURN.
3322 2014-02-19 Tom Tromey <tromey@redhat.com>
3324 * target-delegates.c: Rebuild.
3325 * target.c (target_insert_mask_watchpoint): Unconditionally
3327 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
3328 TARGET_DEFAULT_RETURN.
3330 2014-02-19 Tom Tromey <tromey@redhat.com>
3332 * target-delegates.c: Rebuild.
3333 * target.c (target_ranged_break_num_registers): Unconditionally
3335 * target.h (struct target_ops) <to_ranged_break_num_registers>:
3336 Use TARGET_DEFAULT_RETURN.
3338 2014-02-19 Tom Tromey <tromey@redhat.com>
3340 * target-delegates.c: Rebuild.
3341 * target.c (target_fetch_registers): Unconditionally delegate.
3342 * target.h (struct target_ops) <to_fetch_registers>: Use
3343 TARGET_DEFAULT_NORETURN.
3345 2014-02-19 Tom Tromey <tromey@redhat.com>
3347 * target-delegates.c: Rebuild.
3348 * target.c (update_current_target): Don't inherit or default
3350 * target.h (struct target_ops) <to_stop>: Use
3351 TARGET_DEFAULT_IGNORE.
3353 2014-02-19 Tom Tromey <tromey@redhat.com>
3355 * target-delegates.c: Rebuild.
3356 * target.c (update_current_target): Don't inherit or default
3357 to_can_run_breakpoint_commands.
3358 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3359 Use TARGET_DEFAULT_RETURN.
3361 2014-02-19 Tom Tromey <tromey@redhat.com>
3363 * target-delegates.c: Rebuild.
3364 * target.c (update_current_target): Don't inherit or default
3365 to_supports_evaluation_of_breakpoint_conditions.
3366 * target.h (struct target_ops)
3367 <to_supports_evaluation_of_breakpoint_conditions>: Use
3368 TARGET_DEFAULT_RETURN.
3370 2014-02-19 Tom Tromey <tromey@redhat.com>
3372 * target-delegates.c: Rebuild.
3373 * target.c (update_current_target): Don't inherit or default
3374 to_augmented_libraries_svr4_read.
3375 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3376 Use TARGET_DEFAULT_RETURN.
3378 2014-02-19 Tom Tromey <tromey@redhat.com>
3380 * target-delegates.c: Rebuild.
3381 * target.c (update_current_target): Don't inherit or default
3383 * target.h (struct target_ops) <to_can_use_agent>: Use
3384 TARGET_DEFAULT_RETURN.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target-delegates.c: Rebuild.
3389 * target.c (update_current_target): Don't inherit or default
3391 * target.h (struct target_ops) <to_use_agent>: Use
3392 TARGET_DEFAULT_NORETURN.
3394 2014-02-19 Tom Tromey <tromey@redhat.com>
3396 * target-delegates.c: Rebuild.
3397 * target.c (update_current_target): Don't inherit or default
3399 (return_null): Remove.
3400 * target.h (struct target_ops) <to_traceframe_info>: Use
3401 TARGET_DEFAULT_RETURN.
3403 2014-02-19 Tom Tromey <tromey@redhat.com>
3405 * target-delegates.c: Rebuild.
3406 * target.c (update_current_target): Don't inherit or default
3407 to_static_tracepoint_markers_by_strid.
3408 * target.h (struct target_ops)
3409 <to_static_tracepoint_markers_by_strid>: Use
3410 TARGET_DEFAULT_NORETURN.
3412 2014-02-19 Tom Tromey <tromey@redhat.com>
3414 * target-delegates.c: Rebuild.
3415 * target.c (update_current_target): Don't inherit or default
3416 to_static_tracepoint_marker_at.
3417 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3418 Use TARGET_DEFAULT_RETURN.
3420 2014-02-19 Tom Tromey <tromey@redhat.com>
3422 * target-delegates.c: Rebuild.
3423 * target.c (update_current_target): Don't inherit or default
3425 * target.h (struct target_ops) <to_set_permissions>: Use
3426 TARGET_DEFAULT_IGNORE.
3428 2014-02-19 Tom Tromey <tromey@redhat.com>
3430 * target-delegates.c: Rebuild.
3431 * target.c (update_current_target): Don't inherit or default
3433 * target.h (struct target_ops) <to_get_tib_address>: Use
3434 TARGET_DEFAULT_NORETURN.
3436 2014-02-19 Tom Tromey <tromey@redhat.com>
3438 * target-delegates.c: Rebuild.
3439 * target.c (update_current_target): Don't inherit or default
3441 * target.h (struct target_ops) <to_set_trace_notes>: Use
3442 TARGET_DEFAULT_RETURN.
3444 2014-02-19 Tom Tromey <tromey@redhat.com>
3446 * target-delegates.c: Rebuild.
3447 * target.c (update_current_target): Don't initialize
3448 to_set_trace_buffer_size.
3449 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
3450 TARGET_DEFAULT_IGNORE.
3452 2014-02-19 Tom Tromey <tromey@redhat.com>
3454 * target-delegates.c: Rebuild.
3455 * target.c (update_current_target): Don't inherit or default
3456 to_set_circular_trace_buffer.
3457 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
3458 TARGET_DEFAULT_IGNORE.
3460 2014-02-19 Tom Tromey <tromey@redhat.com>
3462 * target-delegates.c: Rebuild.
3463 * target.c (update_current_target): Don't inherit or default
3464 to_set_disconnected_tracing.
3465 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
3466 TARGET_DEFAULT_IGNORE.
3468 2014-02-19 Tom Tromey <tromey@redhat.com>
3470 * target-delegates.c: Rebuild.
3471 * target.c (update_current_target): Don't inherit or default
3472 to_get_min_fast_tracepoint_insn_len.
3473 (return_minus_one): Remove.
3474 * target.h (struct target_ops)
3475 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
3477 2014-02-19 Tom Tromey <tromey@redhat.com>
3479 * target-delegates.c: Rebuild.
3480 * target.c (update_current_target): Don't inherit or default
3481 to_get_raw_trace_data.
3482 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
3483 TARGET_DEFAULT_NORETURN.
3485 2014-02-19 Tom Tromey <tromey@redhat.com>
3487 * target-delegates.c: Rebuild.
3488 * target.c (update_current_target): Don't inherit or default
3489 to_upload_trace_state_variables.
3490 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3491 Use TARGET_DEFAULT_RETURN.
3493 2014-02-19 Tom Tromey <tromey@redhat.com>
3495 * target-delegates.c: Rebuild.
3496 * target.c (update_current_target): Don't inherit or default
3497 to_upload_tracepoints.
3498 * target.h (struct target_ops) <to_upload_tracepoints>: Use
3499 TARGET_DEFAULT_RETURN.
3501 2014-02-19 Tom Tromey <tromey@redhat.com>
3503 * target-delegates.c: Rebuild.
3504 * target.c (update_current_target): Don't inherit or default
3506 * target.h (struct target_ops) <to_save_trace_data>: Use
3507 TARGET_DEFAULT_NORETURN.
3509 2014-02-19 Tom Tromey <tromey@redhat.com>
3511 * target-delegates.c: Rebuild.
3512 * target.c (update_current_target): Don't inherit or default
3513 to_get_trace_state_variable_value.
3514 * target.h (struct target_ops)
3515 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
3517 2014-02-19 Tom Tromey <tromey@redhat.com>
3519 * target-delegates.c: Rebuild.
3520 * target.c (update_current_target): Don't inherit or default
3522 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
3524 2014-02-19 Tom Tromey <tromey@redhat.com>
3526 * target-delegates.c: Rebuild.
3527 * target.c (update_current_target): Don't inherit or default
3529 * target.h (struct target_ops) <to_trace_stop>: Use
3530 TARGET_DEFAULT_NORETURN.
3532 2014-02-19 Tom Tromey <tromey@redhat.com>
3534 * target-delegates.c: Rebuild.
3535 * target.c (update_current_target): Don't inherit or default
3536 to_get_tracepoint_status.
3537 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
3538 TARGET_DEFAULT_NORETURN.
3540 2014-02-19 Tom Tromey <tromey@redhat.com>
3542 * target-delegates.c: Rebuild.
3543 * target.c (update_current_target): Don't inherit or default
3544 to_get_trace_status.
3545 * target.h (struct target_ops) <to_get_trace_status>: Use
3546 TARGET_DEFAULT_RETURN.
3548 2014-02-19 Tom Tromey <tromey@redhat.com>
3550 * target-delegates.c: Rebuild.
3551 * target.c (update_current_target): Don't inherit or default
3553 * target.h (struct target_ops) <to_trace_start>: Use
3554 TARGET_DEFAULT_NORETURN.
3556 2014-02-19 Tom Tromey <tromey@redhat.com>
3558 * target-delegates.c: Rebuild.
3559 * target.c (update_current_target): Don't inherit or default
3560 to_trace_set_readonly_regions.
3561 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3562 Use TARGET_DEFAULT_NORETURN.
3564 2014-02-19 Tom Tromey <tromey@redhat.com>
3566 * target-delegates.c: Rebuild.
3567 * target.c (update_current_target): Don't inherit or default
3568 to_disable_tracepoint.
3569 * target.h (struct target_ops) <to_disable_tracepoint>: Use
3570 TARGET_DEFAULT_NORETURN.
3572 2014-02-19 Tom Tromey <tromey@redhat.com>
3574 * target-delegates.c: Rebuild.
3575 * target.c (update_current_target): Don't inherit or default
3576 to_enable_tracepoint.
3577 * target.h (struct target_ops) <to_enable_tracepoint>: Use
3578 TARGET_DEFAULT_NORETURN.
3580 2014-02-19 Tom Tromey <tromey@redhat.com>
3582 * target-delegates.c: Rebuild.
3583 * target.c (update_current_target): Don't inherit or default
3584 to_download_trace_state_variable.
3585 * target.h (struct target_ops) <to_download_trace_state_variable>:
3586 Use TARGET_DEFAULT_NORETURN.
3588 2014-02-19 Tom Tromey <tromey@redhat.com>
3590 * target-delegates.c: Rebuild.
3591 * target.c (update_current_target): Don't inherit or default
3592 to_can_download_tracepoint.
3593 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
3594 TARGET_DEFAULT_RETURN.
3596 2014-02-19 Tom Tromey <tromey@redhat.com>
3598 * target-delegates.c: Rebuild.
3599 * target.c (update_current_target): Don't inherit or default
3600 to_download_tracepoint.
3601 * target.h (struct target_ops) <to_download_tracepoint>: Use
3602 TARGET_DEFAULT_NORETURN.
3604 2014-02-19 Tom Tromey <tromey@redhat.com>
3606 * target-delegates.c: Rebuild.
3607 * target.c (update_current_target): Don't inherit or default
3609 * target.h (struct target_ops) <to_trace_init>: Use
3610 TARGET_DEFAULT_RETURN.
3612 2014-02-19 Tom Tromey <tromey@redhat.com>
3614 * target-delegates.c: Rebuild.
3615 * target.c (update_current_target): Don't inherit or default
3616 to_supports_string_tracing.
3617 * target.h (struct target_ops) <to_supports_string_tracing>: Use
3618 TARGET_DEFAULT_RETURN.
3620 2014-02-19 Tom Tromey <tromey@redhat.com>
3622 * target-delegates.c: Rebuild.
3623 * target.c (update_current_target): Don't inherit or default
3624 to_supports_enable_disable_tracepoint.
3625 * target.h (struct target_ops)
3626 <to_supports_enable_disable_tracepoint>: Use
3627 TARGET_DEFAULT_RETURN.
3629 2014-02-19 Tom Tromey <tromey@redhat.com>
3631 * target-delegates.c: Rebuild.
3632 * target.c (update_current_target): Don't inherit or default
3633 to_supports_multi_process.
3634 * target.h (struct target_ops) <to_supports_multi_process>: Use
3635 TARGET_DEFAULT_RETURN.
3637 2014-02-19 Tom Tromey <tromey@redhat.com>
3639 * target-delegates.c: Rebuild.
3640 * target.c (update_current_target): Don't inherit or default
3641 to_get_ada_task_ptid.
3642 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
3643 TARGET_DEFAULT_FUNC.
3645 2014-02-19 Tom Tromey <tromey@redhat.com>
3647 * target-delegates.c: Rebuild.
3648 * target.c (update_current_target): Don't inherit or default
3649 to_thread_architecture.
3650 * target.h (struct target_ops) <to_thread_architecture>: Use
3651 TARGET_DEFAULT_FUNC.
3653 2014-02-19 Tom Tromey <tromey@redhat.com>
3655 * target-delegates.c: Rebuild.
3656 * target.c (update_current_target): Don't inherit or default
3657 to_execution_direction.
3658 * target.h (struct target_ops) <to_execution_direction>: Use
3659 TARGET_DEFAULT_FUNC.
3661 2014-02-19 Tom Tromey <tromey@redhat.com>
3663 * target-delegates.c: Rebuild.
3664 * target.c (update_current_target): Don't inherit or default
3665 to_can_execute_reverse.
3666 * target.h (struct target_ops) <to_can_execute_reverse>: Use
3667 TARGET_DEFAULT_RETURN.
3668 (target_can_execute_reverse): Unconditionally delegate.
3670 2014-02-19 Tom Tromey <tromey@redhat.com>
3672 * target-delegates.c: Rebuild.
3673 * target.c (update_current_target): Don't inherit or default
3675 (dummy_goto_bookmark): Remove.
3676 (init_dummy_target): Don't inherit or default to_goto_bookmark.
3677 * target.h (struct target_ops) <to_goto_bookmark>: Use
3678 TARGET_DEFAULT_NORETURN.
3680 2014-02-19 Tom Tromey <tromey@redhat.com>
3682 * target-delegates.c: Rebuild.
3683 * target.c (update_current_target): Don't inherit or default
3685 (dummy_get_bookmark): Remove.
3686 (init_dummy_target): Don't inherit or default to_get_bookmark.
3687 * target.h (struct target_ops) <to_get_bookmark>: Use
3688 TARGET_DEFAULT_NORETURN
3690 2014-02-19 Tom Tromey <tromey@redhat.com>
3692 * target-delegates.c: Rebuild.
3693 * target.c (update_current_target): Don't inherit or default
3694 to_make_corefile_notes.
3695 (init_dummy_target): Don't initialize to_make_corefile_notes.
3696 * target.h (struct target_ops) <to_make_corefile_notes>: Use
3697 TARGET_DEFAULT_FUNC.
3699 2014-02-19 Tom Tromey <tromey@redhat.com>
3701 * target-delegates.c: Rebuild.
3702 * target.c (update_current_target): Don't inherit or default
3703 to_find_memory_regions.
3704 (init_dummy_target): Don't initialize to_find_memory_regions.
3705 * target.h (struct target_ops) <to_find_memory_regions>: Use
3706 TARGET_DEFAULT_FUNC.
3708 2014-02-19 Tom Tromey <tromey@redhat.com>
3710 * target-delegates.c: Rebuild.
3711 * target.c (update_current_target): Don't inherit or default
3713 * target.h (struct target_ops) <to_log_command>: Use
3714 TARGET_DEFAULT_IGNORE.
3715 (target_log_command): Unconditionally delegate.
3717 2014-02-19 Tom Tromey <tromey@redhat.com>
3719 * target-delegates.c: Rebuild.
3720 * target.c (update_current_target): Don't inherit or default
3721 to_pid_to_exec_file.
3722 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3723 TARGET_DEFAULT_RETURN.
3725 2014-02-19 Tom Tromey <tromey@redhat.com>
3727 * target-delegates.c: Rebuild.
3728 * target.c (update_current_target): Don't inherit or default
3730 (target_thread_name): Unconditionally delegate.
3731 * target.h (struct target_ops) <to_thread_name>: Use
3732 TARGET_DEFAULT_RETURN.
3734 2014-02-19 Tom Tromey <tromey@redhat.com>
3736 * target-delegates.c: Rebuild.
3737 * target.c (update_current_target): Don't inherit or default
3738 to_extra_thread_info.
3739 * target.h (struct target_ops) <to_extra_thread_info>: Use
3740 TARGET_DEFAULT_RETURN.
3742 2014-02-19 Tom Tromey <tromey@redhat.com>
3744 * target-delegates.c: Rebuild.
3745 * target.c (update_current_target): Don't inherit or default
3747 * target.h (struct target_ops) <to_has_exited>: Use
3748 TARGET_DEFAULT_RETURN..
3750 2014-02-19 Tom Tromey <tromey@redhat.com>
3752 * target-delegates.c: Rebuild.
3753 * target.c (update_current_target): Don't inherit or default
3754 to_set_syscall_catchpoint.
3755 (return_one): Remove.
3756 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3757 TARGET_DEFAULT_RETURN.
3759 2014-02-19 Tom Tromey <tromey@redhat.com>
3761 * target-delegates.c: Rebuild.
3762 * target.c (update_current_target): Don't inherit or default
3763 to_insert_exec_catchpoint.
3764 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3765 TARGET_DEFAULT_RETURN.
3767 2014-01-08 Tom Tromey <tromey@redhat.com>
3769 * target-delegates.c: Rebuild.
3770 * target.c (update_current_target): Don't inherit or default
3771 to_insert_exec_catchpoint.
3772 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3773 TARGET_DEFAULT_RETURN.
3775 2014-02-19 Tom Tromey <tromey@redhat.com>
3777 * target-delegates.c: Rebuild.
3778 * target.c (update_current_target): Don't inherit or default
3779 to_remove_vfork_catchpoint.
3780 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
3781 TARGET_DEFAULT_RETURN.
3783 2014-02-19 Tom Tromey <tromey@redhat.com>
3785 * target-delegates.c: Rebuild.
3786 * target.c (update_current_target): Don't inherit or default
3787 to_insert_vfork_catchpoint.
3788 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
3789 TARGET_DEFAULT_RETURN.
3791 2014-02-19 Tom Tromey <tromey@redhat.com>
3793 * target-delegates.c: Rebuild.
3794 * target.c (update_current_target): Don't inherit or default
3795 to_remove_fork_catchpoint.
3796 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
3797 TARGET_DEFAULT_RETURN.
3799 2014-02-19 Tom Tromey <tromey@redhat.com>
3801 * target-delegates.c: Rebuild.
3802 * target.c (update_current_target): Don't inherit or default
3803 to_insert_fork_catchpoint.
3804 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3805 TARGET_DEFAULT_RETURN.
3807 2014-02-19 Tom Tromey <tromey@redhat.com>
3809 * target-delegates.c: Rebuild.
3810 * target.c (update_current_target): Don't inherit or default
3811 to_post_startup_inferior.
3812 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3813 TARGET_DEFAULT_IGNORE.
3815 2014-02-19 Tom Tromey <tromey@redhat.com>
3817 * target-delegates.c: Rebuild.
3818 * target.c (update_current_target): Don't inherit or default
3820 * target.h (struct target_ops) <to_load>: Use
3821 TARGET_DEFAULT_NORETURN.
3823 2014-02-19 Tom Tromey <tromey@redhat.com>
3825 * target-delegates.c: Rebuild.
3826 * target.c (update_current_target): Don't inherit or default
3828 * target.h (struct target_ops) <to_terminal_info>: Use
3829 TARGET_DEFAULT_FUNC.
3831 2014-02-19 Tom Tromey <tromey@redhat.com>
3833 * target-delegates.c: Rebuild.
3834 * target.c (update_current_target): Don't inherit or default
3835 to_terminal_save_ours.
3836 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3837 TARGET_DEFAULT_IGNORE.
3839 2014-02-19 Tom Tromey <tromey@redhat.com>
3841 * target-delegates.c: Rebuild.
3842 * target.c (update_current_target): Don't inherit or default
3844 * target.h (struct target_ops) <to_terminal_ours>: Use
3845 TARGET_DEFAULT_IGNORE.
3847 2014-02-19 Tom Tromey <tromey@redhat.com>
3849 * target-delegates.c: Rebuild.
3850 * target.c (update_current_target): Don't inherit or default
3851 to_terminal_ours_for_output.
3852 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3853 TARGET_DEFAULT_IGNORE.
3855 2014-02-19 Tom Tromey <tromey@redhat.com>
3857 * target-delegates.c: Rebuild.
3858 * target.c (update_current_target): Don't inherit or default
3859 to_terminal_inferior.
3860 * target.h (struct target_ops) <to_terminal_inferior>: Use
3861 TARGET_DEFAULT_IGNORE.
3863 2014-02-19 Tom Tromey <tromey@redhat.com>
3865 * target-delegates.c: Rebuild.
3866 * target.c (update_current_target): Don't inherit or default
3868 * target.h (struct target_ops) <to_terminal_init>: Use
3869 TARGET_DEFAULT_IGNORE.
3871 2014-02-19 Tom Tromey <tromey@redhat.com>
3873 * target-delegates.c: Rebuild.
3874 * target.c (update_current_target): Don't inherit or default
3875 to_can_accel_watchpoint_condition.
3876 * target.h (struct target_ops)
3877 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3879 2014-02-19 Tom Tromey <tromey@redhat.com>
3881 * target-delegates.c: Rebuild.
3882 * target.c (update_current_target): Don't inherit or default
3883 to_region_ok_for_hw_watchpoint.
3884 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3885 Use TARGET_DEFAULT_FUNC.
3887 2014-02-19 Tom Tromey <tromey@redhat.com>
3889 * target-delegates.c: Rebuild.
3890 * target.c (update_current_target): Don't inherit or default
3891 to_watchpoint_addr_within_range.
3892 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3893 Use TARGET_DEFAULT_FUNC.
3895 2014-02-19 Tom Tromey <tromey@redhat.com>
3897 * target-delegates.c: Rebuild.
3898 * target.c (update_current_target): Don't inherit or default
3899 to_remove_watchpoint.
3900 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3901 TARGET_DEFAULT_NORETURN.
3903 2014-02-19 Tom Tromey <tromey@redhat.com>
3905 * target-delegates.c: Rebuild.
3906 * target.c (update_current_target): Don't inherit or default
3907 to_insert_watchpoint.
3908 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3909 TARGET_DEFAULT_RETURN.
3911 2014-02-19 Tom Tromey <tromey@redhat.com>
3913 * target-delegates.c: Rebuild.
3914 * target.c (update_current_target): Don't inherit or default
3915 to_remove_hw_breakpoint.
3916 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3917 TARGET_DEFAULT_RETURN.
3919 2014-02-19 Tom Tromey <tromey@redhat.com>
3921 * target-delegates.c: Rebuild.
3922 * target.c (update_current_target): Don't inherit or default
3923 to_insert_hw_breakpoint.
3924 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3925 TARGET_DEFAULT_RETURN.
3927 2014-02-19 Tom Tromey <tromey@redhat.com>
3929 * target-delegates.c: Rebuild.
3930 * target.c (update_current_target): Don't inherit or default
3931 to_can_use_hw_breakpoint.
3932 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3933 TARGET_DEFAULT_RETURN.
3935 2014-02-19 Tom Tromey <tromey@redhat.com>
3937 * target-delegates.c: Rebuild.
3938 * target.c (update_current_target): Don't inherit or default
3940 * target.h (struct target_ops) <to_files_info>: Use
3941 TARGET_DEFAULT_IGNORE.
3943 2014-02-19 Tom Tromey <tromey@redhat.com>
3945 * target-delegates.c: Rebuild.
3946 * target.c (update_current_target): Don't inherit or default
3948 * target.h (struct target_ops) <to_store>: Use
3949 TARGET_DEFAULT_NORETURN.
3951 2014-02-19 Tom Tromey <tromey@redhat.com>
3953 * target-delegates.c: Rebuild.
3954 * target.c (update_current_target): Don't inherit or default
3956 * target.h (struct target_ops) <to_post_attach>: Use
3957 TARGET_DEFAULT_IGNORE.
3959 2014-02-19 Tom Tromey <tromey@redhat.com>
3961 * target-delegates.c: Rebuild.
3962 * target.c (update_current_target): Don't inherit or default
3964 (default_rcmd): New function.
3965 (do_monitor_command): Unconditionally delegate.
3966 * target.h (struct target_ops) <to_rmcd>: Use
3967 TARGET_DEFAULT_FUNC.
3969 2014-02-19 Tom Tromey <tromey@redhat.com>
3971 * target-delegates.c: Rebuild.
3972 * target.c (init_dummy_target): Don't initialize to_attach.
3973 (target_attach): Unconditionally delegate.
3974 * target.h (struct target_ops) <to_attach>: Use
3975 TARGET_DEFAULT_FUNC.
3977 2014-02-19 Tom Tromey <tromey@redhat.com>
3979 * target-delegates.c: Rebuild.
3980 * target.c (target_detach): Unconditionally delegate.
3981 (init_dummy_target): Don't initialize to_detach.
3982 * target.h (struct target_ops) <to_detach>: Use
3983 TARGET_DEFAULT_IGNORE.
3985 2014-02-19 Tom Tromey <tromey@redhat.com>
3987 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3989 (target_augmented_libraries_svr4_read): Add argument.
3990 * target.c (update_current_target): Update.
3991 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3994 2014-02-19 Tom Tromey <tromey@redhat.com>
3996 * target.h (struct target_ops) <to_call_history_range>: Add
3998 * target.c (target_call_history_range): Add argument.
3999 * record-btrace.c (record_btrace_call_history_range): Add 'self'
4001 (record_btrace_call_history_from): Update.
4003 2014-02-19 Tom Tromey <tromey@redhat.com>
4005 * target.h (struct target_ops) <to_call_history_from>: Add
4007 * target.c (target_call_history_from): Add argument.
4008 * record-btrace.c (record_btrace_call_history_from): Add 'self'
4011 2014-02-19 Tom Tromey <tromey@redhat.com>
4013 * target.h (struct target_ops) <to_call_history>: Add argument.
4014 * target.c (target_call_history): Add argument.
4015 * record-btrace.c (record_btrace_call_history): Add 'self'
4018 2014-02-19 Tom Tromey <tromey@redhat.com>
4020 * target.h (struct target_ops) <to_insn_history_range>: Add
4022 * target.c (target_insn_history_range): Add argument.
4023 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
4025 (record_btrace_insn_history_from): Update.
4027 2014-02-19 Tom Tromey <tromey@redhat.com>
4029 * target.h (struct target_ops) <to_insn_history_from>: Add
4031 * target.c (target_insn_history_from): Add argument.
4032 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
4035 2014-02-19 Tom Tromey <tromey@redhat.com>
4037 * target.h (struct target_ops) <to_insn_history>: Add argument.
4038 * target.c (target_insn_history): Add argument.
4039 * record-btrace.c (record_btrace_insn_history): Add 'self'
4042 2014-02-19 Tom Tromey <tromey@redhat.com>
4044 * target.h (struct target_ops) <to_goto_record>: Add argument.
4045 * target.c (target_goto_record): Add argument.
4046 * record-full.c (record_full_goto): Add 'self' argument.
4047 * record-btrace.c (record_btrace_goto): Add 'self' argument.
4049 2014-02-19 Tom Tromey <tromey@redhat.com>
4051 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
4052 * target.c (target_goto_record_end): Add argument.
4053 * record-full.c (record_full_goto_end): Add 'self' argument.
4054 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
4056 2014-02-19 Tom Tromey <tromey@redhat.com>
4058 * target.h (struct target_ops) <to_goto_record_begin>: Add
4060 * target.c (target_goto_record_begin): Add argument.
4061 * record-full.c (record_full_goto_begin): Add 'self' argument.
4062 * record-btrace.c (record_btrace_goto_begin): Add 'self'
4065 2014-02-19 Tom Tromey <tromey@redhat.com>
4067 * target.h (struct target_ops) <to_record_is_replaying>: Add
4069 * target.c (target_record_is_replaying): Add argument.
4070 * record-full.c (record_full_is_replaying): Add 'self' argument.
4071 * record-btrace.c (record_btrace_is_replaying): Add 'self'
4073 (record_btrace_xfer_partial, record_btrace_store_registers)
4074 (record_btrace_prepare_to_store, record_btrace_resume)
4075 (record_btrace_wait, record_btrace_decr_pc_after_break)
4076 (record_btrace_find_new_threads, record_btrace_thread_alive):
4079 2014-02-19 Tom Tromey <tromey@redhat.com>
4081 * target.h (struct target_ops) <to_delete_record>: Add argument.
4082 * target.c (target_delete_record): Add argument.
4083 * record-full.c (record_full_delete): Add 'self' argument.
4085 2014-02-19 Tom Tromey <tromey@redhat.com>
4087 * target.h (struct target_ops) <to_save_record>: Add argument.
4088 * target.c (target_save_record): Add argument.
4089 * record-full.c (record_full_save): Add 'self' argument.
4090 (record_full_save): Add 'self' argument.
4092 2014-02-19 Tom Tromey <tromey@redhat.com>
4094 * target.h (struct target_ops) <to_info_record>: Add argument.
4095 * target.c (target_info_record): Add argument.
4096 * record.c (info_record_command): Add argument.
4097 * record-full.c (record_full_info): Add 'self' argument.
4098 * record-btrace.c (record_btrace_info): Add 'self' argument.
4100 2014-02-19 Tom Tromey <tromey@redhat.com>
4102 * target.h (struct target_ops) <to_stop_recording>: Add argument.
4103 * target.c (target_stop_recording): Add argument.
4104 * record.c (record_stop): Add argument.
4105 * record-btrace.c (record_btrace_stop_recording): Add 'self'
4108 2014-02-19 Tom Tromey <tromey@redhat.com>
4110 * target.h (struct target_ops) <to_read_btrace>: Add argument.
4111 * target.c (struct target_ops) <to_read_btrace>: Add argument.
4112 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
4114 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
4115 (_initialize_amd64_linux_nat): Use it.
4116 * i386-linux-nat.c (i386_linux_read_btrace): New function.
4117 (_initialize_i386_linux_nat): Use it.
4119 2014-02-19 Tom Tromey <tromey@redhat.com>
4121 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4122 * target.c (target_teardown_btrace): Add argument.
4123 * remote.c (remote_teardown_btrace): Add 'self' argument.
4124 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
4126 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
4129 2014-02-19 Tom Tromey <tromey@redhat.com>
4131 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
4132 * target.c (target_disable_btrace): Add argument.
4133 * remote.c (remote_disable_btrace): Add 'self' argument.
4134 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
4136 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
4139 2014-02-19 Tom Tromey <tromey@redhat.com>
4141 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
4142 * target.c (target_enable_btrace): Add argument.
4143 * remote.c (remote_enable_btrace): Add 'self' argument.
4144 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
4146 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
4149 2014-02-19 Tom Tromey <tromey@redhat.com>
4151 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
4152 (target_can_use_agent): Add argument.
4153 * target.c (update_current_target): Update.
4154 * remote.c (remote_can_use_agent): Add 'self' argument.
4155 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
4157 2014-02-19 Tom Tromey <tromey@redhat.com>
4159 * target.h (struct target_ops) <to_use_agent>: Add argument.
4160 (target_use_agent): Add argument.
4161 * target.c (update_current_target): Update.
4162 * remote.c (remote_use_agent): Add 'self' argument.
4163 * inf-child.c (inf_child_use_agent): Add 'self' argument.
4165 2014-02-19 Tom Tromey <tromey@redhat.com>
4167 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
4168 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
4169 (target_traceframe_info): Add argument.
4170 * target.c (update_current_target): Update.
4171 * remote.c (remote_traceframe_info): Add 'self' argument.
4172 * ctf.c (ctf_traceframe_info): Add 'self' argument.
4174 2014-02-19 Tom Tromey <tromey@redhat.com>
4176 * target.h (target_static_tracepoint_markers_by_strid): Add
4178 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
4180 * target.c (update_current_target): Update.
4181 * remote.c (struct target_ops)
4182 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4183 * linux-nat.c (struct target_ops)
4184 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4186 2014-02-19 Tom Tromey <tromey@redhat.com>
4188 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4190 (target_static_tracepoint_marker_at): Add argument.
4191 * target.c (update_current_target): Update.
4192 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
4195 2014-02-19 Tom Tromey <tromey@redhat.com>
4197 * target.h (struct target_ops) <to_set_permissions>: Add argument.
4198 (target_set_permissions): Add argument.
4199 * target.c (update_current_target): Update.
4200 * remote.c (remote_set_permissions): Add 'self' argument.
4201 (remote_start_remote): Update.
4203 2014-02-19 Tom Tromey <tromey@redhat.com>
4205 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
4206 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
4207 (target_get_tib_address): Add argument.
4208 * target.c (update_current_target): Update.
4209 * remote.c (remote_get_tib_address): Add 'self' argument.
4211 2014-02-19 Tom Tromey <tromey@redhat.com>
4213 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
4214 (target_set_trace_notes): Add argument.
4215 * target.c (update_current_target): Update.
4216 * remote.c (remote_set_trace_notes): Add 'self' argument.
4218 2014-02-19 Tom Tromey <tromey@redhat.com>
4220 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
4222 (target_set_trace_buffer_size): Add argument.
4223 * target.c (update_current_target): Update.
4224 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
4226 2014-02-19 Tom Tromey <tromey@redhat.com>
4228 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
4230 (target_set_circular_trace_buffer): Add argument.
4231 * target.c (update_current_target): Update.
4232 * remote.c (remote_set_circular_trace_buffer): Add 'self'
4235 2014-02-19 Tom Tromey <tromey@redhat.com>
4237 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
4239 (target_set_disconnected_tracing): Add argument.
4240 * target.c (update_current_target): Update.
4241 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
4243 2014-02-19 Tom Tromey <tromey@redhat.com>
4245 * target.h (struct target_ops)
4246 <to_get_min_fast_tracepoint_insn_len>: Add argument.
4247 (target_get_min_fast_tracepoint_insn_len): Add argument.
4248 * target.c (update_current_target): Update.
4249 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
4252 2014-02-19 Tom Tromey <tromey@redhat.com>
4254 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
4256 (target_get_raw_trace_data): Add argument.
4257 * target.c (update_current_target): Update.
4258 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
4260 2014-02-19 Tom Tromey <tromey@redhat.com>
4262 * target.h (struct target_ops) <to_upload_trace_state_variables>:
4264 (target_upload_trace_state_variables): Add argument.
4265 * target.c (update_current_target): Update.
4266 * remote.c (remote_upload_trace_state_variables): Add 'self'
4268 (remote_start_remote): Update.
4270 2014-02-19 Tom Tromey <tromey@redhat.com>
4272 * target.h (struct target_ops) <to_upload_tracepoints>: Add
4274 (target_upload_tracepoints): Add argument.
4275 * target.c (update_current_target): Update.
4276 * remote.c (remote_upload_tracepoints): Add 'self' argument.
4277 (remote_start_remote): Update.
4279 2014-02-19 Tom Tromey <tromey@redhat.com>
4281 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
4282 (target_save_trace_data): Add argument.
4283 * target.c (update_current_target): Update.
4284 * remote.c (remote_save_trace_data): Add 'self' argument.
4286 2014-02-19 Tom Tromey <tromey@redhat.com>
4288 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
4290 * target.h (struct target_ops)
4291 <to_get_trace_state_variable_value>: Add argument.
4292 (target_get_trace_state_variable_value): Add argument.
4293 * target.c (update_current_target): Update.
4294 * remote.c (remote_get_trace_state_variable_value): Add 'self'
4296 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
4298 2014-02-19 Tom Tromey <tromey@redhat.com>
4300 * tracepoint.c (tfile_trace_find): Add 'self' argument.
4301 * target.h (struct target_ops) <to_trace_find>: Add argument.
4302 (target_trace_find): Add argument.
4303 * target.c (update_current_target): Update.
4304 * remote.c (remote_trace_find): Add 'self' argument.
4305 * ctf.c (ctf_trace_find): Add 'self' argument.
4307 2014-02-19 Tom Tromey <tromey@redhat.com>
4309 * target.h (struct target_ops) <to_trace_stop>: Add argument.
4310 (target_trace_stop): Add argument.
4311 * target.c (update_current_target): Update.
4312 * remote.c (remote_trace_stop): Add 'self' argument.
4314 2014-02-19 Tom Tromey <tromey@redhat.com>
4316 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
4317 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
4319 (target_get_tracepoint_status): Add argument.
4320 * target.c (update_current_target): Update.
4321 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
4323 2014-02-19 Tom Tromey <tromey@redhat.com>
4325 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
4326 * target.h (struct target_ops) <to_get_trace_status>: Add
4328 (target_get_trace_status): Add argument.
4329 * target.c (update_current_target): Update.
4330 * remote.c (remote_get_trace_status): Add 'self' argument.
4331 (remote_start_remote, remote_can_download_tracepoint): Update.
4332 * ctf.c (ctf_get_trace_status): Add 'self' argument.
4334 2014-02-19 Tom Tromey <tromey@redhat.com>
4336 * target.h (struct target_ops) <to_trace_start>: Add argument.
4337 (target_trace_start): Add argument.
4338 * target.c (update_current_target): Update.
4339 * remote.c (remote_trace_start): Add 'self' argument.
4341 2014-02-19 Tom Tromey <tromey@redhat.com>
4343 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4345 (target_trace_set_readonly_regions): Add argument.
4346 * target.c (update_current_target): Update.
4347 * remote.c (remote_trace_set_readonly_regions): Add 'self'
4350 2014-02-19 Tom Tromey <tromey@redhat.com>
4352 * target.h (struct target_ops) <to_disable_tracepoint>: Add
4354 (target_disable_tracepoint): Add argument.
4355 * target.c (update_current_target): Update.
4356 * remote.c (remote_disable_tracepoint): Add 'self' argument.
4358 2014-02-19 Tom Tromey <tromey@redhat.com>
4360 * target.h (struct target_ops) <to_enable_tracepoint>: Add
4362 (target_enable_tracepoint): Add argument.
4363 * target.c (update_current_target): Update.
4364 * remote.c (remote_enable_tracepoint): Add 'self' argument.
4366 2014-02-19 Tom Tromey <tromey@redhat.com>
4368 * target.h (struct target_ops) <to_download_trace_state_variable>:
4370 (target_download_trace_state_variable): Add argument.
4371 * target.c (update_current_target): Update.
4372 * remote.c (remote_download_trace_state_variable): Add 'self'
4375 2014-02-19 Tom Tromey <tromey@redhat.com>
4377 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
4379 (target_can_download_tracepoint): Add argument.
4380 * target.c (update_current_target): Update.
4381 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
4383 2014-02-19 Tom Tromey <tromey@redhat.com>
4385 * target.h (struct target_ops) <to_download_tracepoint>: Add
4387 (target_download_tracepoint): Add argument.
4388 * target.c (update_current_target): Update.
4389 * remote.c (remote_download_tracepoint): Add 'self' argument.
4391 2014-02-19 Tom Tromey <tromey@redhat.com>
4393 * target.h (struct target_ops) <to_trace_init>: Add argument.
4394 (target_trace_init): Add argument.
4395 * target.c (update_current_target): Update.
4396 * remote.c (remote_trace_init): Add 'self' argument.
4398 2014-02-19 Tom Tromey <tromey@redhat.com>
4400 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
4401 * target.c (target_fileio_readlink): Add argument.
4402 * remote.c (remote_hostio_readlink): Add 'self' argument.
4403 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
4405 2014-02-19 Tom Tromey <tromey@redhat.com>
4407 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
4408 * target.c (target_fileio_unlink): Add argument.
4409 * remote.c (remote_hostio_unlink): Add 'self' argument.
4410 (remote_file_delete): Update.
4411 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
4413 2014-02-19 Tom Tromey <tromey@redhat.com>
4415 * target.h (struct target_ops) <to_fileio_close>: Add argument.
4416 * target.c (target_fileio_close): Add argument.
4417 * remote.c (remote_hostio_close): Add 'self' argument.
4418 (remote_hostio_close_cleanup): Update.
4419 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
4421 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
4423 2014-02-19 Tom Tromey <tromey@redhat.com>
4425 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
4426 * target.c (target_fileio_pread): Add argument.
4427 * remote.c (remote_hostio_pread): Add 'self' argument.
4428 (remote_bfd_iovec_pread, remote_file_get): Update.
4429 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
4431 2014-02-19 Tom Tromey <tromey@redhat.com>
4433 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
4434 * target.c (target_fileio_pwrite): Add argument.
4435 * remote.c (remote_hostio_pwrite): Add 'self' argument.
4436 (remote_file_put): Update.
4437 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
4439 2014-02-19 Tom Tromey <tromey@redhat.com>
4441 * target.h (struct target_ops) <to_fileio_open>: Add argument.
4442 * target.c (target_fileio_open): Add argument.
4443 * remote.c (remote_hostio_open): Add 'self' argument.
4444 (remote_bfd_iovec_open): Add 'self' argument.
4445 (remote_file_put): Add 'self' argument.
4446 (remote_file_get): Add 'self' argument.
4447 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
4449 2014-02-19 Tom Tromey <tromey@redhat.com>
4451 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4453 (target_can_run_breakpoint_commands): Add argument.
4454 * target.c (update_current_target): Update.
4455 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
4457 (remote_insert_breakpoint): Add 'self' argument.
4458 (remote_insert_hw_breakpoint): Add 'self' argument.
4459 (remote_can_run_breakpoint_commands): Add 'self' argument.
4461 2014-02-19 Tom Tromey <tromey@redhat.com>
4463 * target.h (struct target_ops)
4464 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
4465 (target_supports_evaluation_of_breakpoint_conditions): Add
4467 * target.c (update_current_target): Update.
4468 * remote.c (remote_supports_cond_breakpoints): Add 'self'
4470 (remote_insert_breakpoint): Add 'self' argument.
4471 (remote_insert_hw_breakpoint): Add 'self' argument.
4472 (remote_supports_cond_breakpoints): Add 'self' argument.
4474 2014-02-19 Tom Tromey <tromey@redhat.com>
4476 * target.h (struct target_ops) <to_supports_string_tracing>: Add
4478 (target_supports_string_tracing): Add argument.
4479 * target.c (update_current_target): Update.
4480 * remote.c (remote_supports_string_tracing): Add 'self' argument.
4482 2014-02-19 Tom Tromey <tromey@redhat.com>
4484 * target.h (struct target_ops)
4485 <to_supports_disable_randomization>: Add argument.
4486 * target.c (find_default_supports_disable_randomization): Add
4488 (target_supports_disable_randomization): Add argument.
4489 (find_default_supports_disable_randomization): Add 'self'
4491 * remote.c (extended_remote_supports_disable_randomization): Add
4493 (remote_supports_disable_randomization): Add 'self' argument.
4494 (extended_remote_create_inferior): Update.
4495 * linux-nat.c (linux_nat_supports_disable_randomization): Add
4498 2014-02-19 Tom Tromey <tromey@redhat.com>
4500 * target.h (struct target_ops)
4501 <to_supports_enable_disable_tracepoint>: Add argument.
4502 (target_supports_enable_disable_tracepoint): Add argument.
4503 * target.c (update_current_target): Update.
4504 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
4507 2014-02-19 Tom Tromey <tromey@redhat.com>
4509 * target.h (struct target_ops) <to_supports_multi_process>: Add
4511 (target_supports_multi_process): Add argument.
4512 * target.c (update_current_target): Update.
4513 * remote.c (remote_supports_multi_process): Add 'self' argument.
4514 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
4516 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
4519 2014-02-19 Tom Tromey <tromey@redhat.com>
4521 * target.h (struct target_ops) <to_execution_direction>: Add
4523 (target_execution_direction): Add argument.
4524 * target.c (default_execution_direction): Add 'self' argument.
4525 * record-full.c (record_full_execution_direction): Add 'self'
4528 2014-02-19 Tom Tromey <tromey@redhat.com>
4530 * target.h (struct target_ops) <to_can_execute_reverse>: Add
4532 (target_can_execute_reverse): Add argument.
4533 * remote.c (remote_can_execute_reverse): Add 'self' argument.
4534 * record-full.c (record_full_can_execute_reverse): Add 'self'
4536 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
4539 2014-02-19 Tom Tromey <tromey@redhat.com>
4541 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
4542 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
4544 (target_get_ada_task_ptid): Add argument.
4545 * target.c (update_current_target): Update.
4546 (default_get_ada_task_ptid): Add 'self' argument.
4547 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
4548 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
4549 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
4551 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
4553 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
4555 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
4557 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
4558 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
4561 2014-02-19 Tom Tromey <tromey@redhat.com>
4563 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
4564 (target_goto_bookmark): Add argument.
4565 * target.c (dummy_goto_bookmark): Add 'self' argument.
4566 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
4568 2014-02-19 Tom Tromey <tromey@redhat.com>
4570 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
4571 (target_get_bookmark): Add argument.
4572 * target.c (dummy_get_bookmark): Add 'self' argument.
4573 * record-full.c (record_full_get_bookmark): Add 'self' argument.
4575 2014-02-19 Tom Tromey <tromey@redhat.com>
4577 * target.h (struct target_ops) <to_make_corefile_notes>: Add
4579 (target_make_corefile_notes): Add argument.
4580 * target.c (dummy_make_corefile_notes): Add 'self' argument.
4581 * procfs.c (procfs_make_note_section): Add 'self' argument.
4582 (procfs_make_note_section): Add 'self' argument.
4583 (procfs_make_note_section): Add 'self' argument.
4584 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
4586 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
4587 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
4588 * exec.c (exec_make_note_section): Add 'self' argument.
4589 (exec_make_note_section): Add 'self' argument.
4591 2014-02-19 Tom Tromey <tromey@redhat.com>
4593 * target.h (struct target_ops) <to_find_memory_regions>: Add
4595 (target_find_memory_regions): Add argument.
4596 * target.c (dummy_find_memory_regions): Add 'self' argument.
4597 * procfs.c (proc_find_memory_regions): Add 'self' argument.
4598 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
4599 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
4600 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
4601 * exec. (exec_do_find_memory_regions): New global.
4602 (exec_set_find_memory_regions): Rewrite.
4603 (exec_find_memory_regions): New function.
4604 (init_exec_ops): Use exec_find_memory_regions.
4606 2014-02-19 Tom Tromey <tromey@redhat.com>
4608 * target.h (struct target_ops) <to_supports_non_stop>: Add
4610 * target.c (find_default_supports_non_stop): Add argument.
4611 (target_supports_non_stop): Add argument.
4612 (find_default_supports_non_stop): Add 'self' argument.
4613 * remote.c (remote_supports_non_stop): Add 'self' argument.
4614 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
4616 2014-02-19 Tom Tromey <tromey@redhat.com>
4618 * target.h (struct target_ops) <to_log_command>: Add argument.
4619 (target_log_command): Add argument.
4620 * serial.h (serial_log_command): Add 'self' argument.
4621 * serial.c (serial_log_command): Add 'self' argument.
4623 2014-02-19 Tom Tromey <tromey@redhat.com>
4625 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
4626 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
4628 (target_pid_to_exec_file): Add argument.
4629 * target.c (debug_to_pid_to_exec_file): Add argument.
4630 (update_current_target): Update.
4631 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
4632 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
4633 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
4634 (linux_handle_extended_wait): Update.
4635 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
4636 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
4637 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
4638 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
4640 2014-02-19 Tom Tromey <tromey@redhat.com>
4642 * target.h (struct target_ops) <to_rcmd>: Add argument.
4643 (target_rcmd): Add argument.
4644 * target.c (debug_to_rcmd): Add argument.
4645 (update_current_target, do_monitor_command): Update.
4646 * remote.c (remote_rcmd): Add 'self' argument.
4647 * monitor.c (monitor_rcmd): Add 'self' argument.
4649 2014-02-19 Tom Tromey <tromey@redhat.com>
4651 * windows-nat.c (windows_stop): Add 'self' argument.
4652 * target.h (struct target_ops) <to_stop>: Add argument.
4653 * target.c (target_stop): Add argument.
4654 (debug_to_stop): Add argument.
4655 (update_current_target): Update.
4656 * remote.c (remote_stop): Add 'self' argument.
4657 * remote-sim.c (gdbsim_stop): Add 'self' argument.
4658 (gdbsim_cntrl_c): Update.
4659 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
4660 * procfs.c (procfs_stop): Add 'self' argument.
4661 * nto-procfs.c (procfs_stop): Add 'self' argument.
4662 * monitor.c (monitor_stop): Add 'self' argument.
4663 (monitor_open): Update.
4664 * linux-nat.c (linux_nat_stop): Add argument.
4665 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
4666 * gnu-nat.c (gnu_stop): Add 'self' argument.
4667 * darwin-nat.c (darwin_stop): Add 'self' argument.
4669 2014-02-19 Tom Tromey <tromey@redhat.com>
4671 * target.h (struct target_ops) <to_thread_name>: Add argument.
4672 * target.c (target_thread_name): Add argument.
4673 (update_current_target): Update.
4674 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4676 2014-02-19 Tom Tromey <tromey@redhat.com>
4678 * target.h (struct target_ops) <to_extra_thread_info>: Add
4680 (target_extra_thread_info): Add argument.
4681 * target.c (update_current_target): Update.
4682 * remote.c (remote_threads_extra_info): Add 'self' argument.
4683 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4685 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4686 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4687 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4689 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4691 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4693 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4696 2014-02-19 Tom Tromey <tromey@redhat.com>
4698 * target.h (struct target_ops) <to_program_signals>: Add argument.
4699 * target.c (target_program_signals): Add argument.
4700 * remote.c (remote_program_signals): Add 'self' argument.
4702 2014-02-19 Tom Tromey <tromey@redhat.com>
4704 * target.h (struct target_ops) <to_pass_signals>: Add argument.
4705 * target.c (target_pass_signals): Add argument.
4706 * remote.c (remote_pass_signals): Add 'self' argument.
4707 (remote_start_remote): Update.
4708 * procfs.c (procfs_pass_signals): Add 'self' argument.
4709 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4710 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4711 (linux_nat_create_inferior, linux_nat_attach): Update.
4713 2014-02-19 Tom Tromey <tromey@redhat.com>
4715 * windows-nat.c (windows_can_run): Add 'self' argument.
4716 * target.h (struct target_ops) <to_can_run>: Add argument.
4717 (target_can_run): Add argument.
4718 * target.c (debug_to_can_run): Add argument.
4719 (update_current_target): Update.
4720 * nto-procfs.c (procfs_can_run): Add 'self' argument.
4721 * inf-child.c (inf_child_can_run): Add 'self' argument.
4722 * go32-nat.c (go32_can_run): Add 'self' argument.
4724 2014-02-19 Tom Tromey <tromey@redhat.com>
4726 * target.h (struct target_ops) <to_has_exited>: Add argument.
4727 (target_has_exited): Add argument.
4728 * target.c (debug_to_has_exited): Add argument.
4729 (update_current_target): Update.
4731 2014-02-19 Tom Tromey <tromey@redhat.com>
4733 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4735 (target_set_syscall_catchpoint): Add argument.
4736 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4738 * target.c (update_current_target): Update.
4740 2014-02-19 Tom Tromey <tromey@redhat.com>
4742 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4744 (target_remove_exec_catchpoint): Add argument.
4745 * target.c (debug_to_remove_exec_catchpoint): Add argument.
4746 (update_current_target): Update.
4747 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4750 2014-02-19 Tom Tromey <tromey@redhat.com>
4752 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4754 (target_insert_exec_catchpoint): Add argument.
4755 * target.c (debug_to_insert_exec_catchpoint): Add argument.
4756 (update_current_target): Update.
4757 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4760 2014-02-19 Tom Tromey <tromey@redhat.com>
4762 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4764 (target_remove_vfork_catchpoint): Add argument.
4765 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4766 (update_current_target): Update.
4767 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4770 2014-02-19 Tom Tromey <tromey@redhat.com>
4772 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4774 (target_insert_vfork_catchpoint): Add argument.
4775 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4776 (update_current_target): Update.
4777 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4780 2014-02-19 Tom Tromey <tromey@redhat.com>
4782 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4784 (target_remove_fork_catchpoint): Add argument.
4785 * target.c (debug_to_remove_fork_catchpoint): Add argument.
4786 (update_current_target): Update.
4787 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4790 2014-02-19 Tom Tromey <tromey@redhat.com>
4792 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4794 (target_insert_fork_catchpoint): Add argument.
4795 * target.c (debug_to_insert_fork_catchpoint): Add argument.
4796 (update_current_target): Update.
4797 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4800 2014-02-19 Tom Tromey <tromey@redhat.com>
4802 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4804 (target_post_startup_inferior): Add argument.
4805 * target.c (debug_to_post_startup_inferior): Add argument.
4806 (update_current_target): Update.
4807 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4809 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4811 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4813 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4815 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4817 (super_post_startup_inferior): Likewise.
4818 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4820 (super_post_startup_inferior): Likewise.
4821 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4822 Add 'self' argument.
4823 (super_post_startup_inferior): Likewise.
4825 2014-02-19 Tom Tromey <tromey@redhat.com>
4827 * target.h (struct target_ops) <to_load>: Add argument.
4828 * target.c (target_load): Add argument.
4829 (debug_to_load): Add argument.
4830 (update_current_target): Update.
4831 * remote.c (remote_load): Add 'self' argument.
4832 * remote-sim.c (gdbsim_load): Add 'self' argument.
4833 * remote-mips.c (mips_load): Add 'self' argument.
4834 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4835 * monitor.c (monitor_load): Add 'self' argument.
4836 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4838 2014-02-19 Tom Tromey <tromey@redhat.com>
4840 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4841 (target_terminal_info): Add argument.
4842 * target.c (debug_to_terminal_info): Add argument.
4843 (default_terminal_info): Likewise.
4844 * inflow.c (child_terminal_info): Add 'self' argument.
4845 * inferior.h (child_terminal_info): Add 'self' argument.
4846 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4848 2014-02-19 Tom Tromey <tromey@redhat.com>
4850 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4852 (target_terminal_save_ours): Add argument.
4853 * target.c (debug_to_terminal_save_ours): Add argument.
4854 (update_current_target): Update.
4855 * inflow.c (terminal_save_ours): Add 'self' argument.
4856 * inferior.h (terminal_save_ours): Add 'self' argument.
4858 2014-02-19 Tom Tromey <tromey@redhat.com>
4860 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4861 (target_terminal_ours): Add argument.
4862 * target.c (debug_to_terminal_ours): Add argument.
4863 (update_current_target): Update.
4864 * remote.c (remote_terminal_ours): Add 'self' argument.
4865 (remote_close): Update.
4866 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4867 * inflow.c (terminal_ours): Add 'self' argument.
4868 * inferior.h (terminal_ours): Add 'self' argument.
4869 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4871 2014-02-19 Pedro Alves <palves@redhat.com>
4872 Tom Tromey <tromey@redhat.com>
4874 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4876 (target_terminal_ours_for_output): Add argument.
4877 * target.c (debug_to_terminal_ours_for_output): Add argument.
4878 (update_current_target): Update.
4879 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4880 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4881 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4883 2014-02-19 Tom Tromey <tromey@redhat.com>
4885 * target.h (struct target_ops) <to_terminal_inferior>: Add
4887 * target.c (target_terminal_inferior): Add argument.
4888 (update_current_target): Update.
4889 * remote.c (remote_terminal_inferior): Add 'self' argument.
4890 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4891 * inflow.c (terminal_inferior): Add 'self' argument.
4892 * inferior.h (terminal_inferior): Add 'self' argument.
4893 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4894 (go32_terminal_inferior): Add 'self' argument.
4896 2014-02-19 Tom Tromey <tromey@redhat.com>
4898 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4899 (target_terminal_init): Add argument.
4900 * target.c (debug_to_terminal_init): Add argument.
4901 (update_current_target): Update.
4902 * inflow.c (terminal_init_inferior): Add 'self' argument.
4903 * inferior.h (terminal_init_inferior): Add 'self' argument.
4904 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4905 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4907 2014-02-19 Tom Tromey <tromey@redhat.com>
4909 * target.h (struct target_ops)
4910 <to_can_accel_watchpoint_condition>: Add argument.
4911 (target_can_accel_watchpoint_condition): Add argument.
4912 * target.c (debug_to_can_accel_watchpoint_condition): Add
4914 (update_current_target): Update.
4915 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4918 2014-02-19 Tom Tromey <tromey@redhat.com>
4920 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4922 (target_region_ok_for_hw_watchpoint): Add argument.
4923 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4924 (default_region_ok_for_hw_watchpoint): Add argument.
4925 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4926 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4928 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4930 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4932 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4934 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4936 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4938 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4939 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4941 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4942 Add 'self' argument.
4944 2014-02-19 Tom Tromey <tromey@redhat.com>
4946 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4948 (target_insert_watchpoint): Add argument.
4949 * target.c (debug_to_insert_watchpoint): Add argument.
4950 (update_current_target): Update.
4951 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4952 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4953 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4954 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4955 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4956 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4958 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4959 (procfs_insert_hw_watchpoint): Add 'self' argument.
4960 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4962 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4964 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4966 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4967 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4969 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4972 2014-02-19 Tom Tromey <tromey@redhat.com>
4974 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4976 (target_remove_watchpoint): Add argument.
4977 * target.c (debug_to_remove_watchpoint): Add argument.
4978 (update_current_target): Update.
4979 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4980 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4981 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4982 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4983 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4984 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4986 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4987 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4989 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4991 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4993 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4994 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4996 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4999 2014-02-19 Tom Tromey <tromey@redhat.com>
5001 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
5003 (target_remove_hw_breakpoint): Add argument.
5004 * target.c (debug_to_remove_hw_breakpoint): Add argument.
5005 (update_current_target): Update.
5006 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
5007 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
5009 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
5010 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
5012 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
5015 2014-02-19 Tom Tromey <tromey@redhat.com>
5017 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
5019 (target_insert_hw_breakpoint): Add argument.
5020 * target.c (debug_to_insert_hw_breakpoint): Add argument.
5021 (update_current_target): Update.
5022 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
5023 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
5025 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
5026 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
5027 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
5029 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
5032 2014-02-19 Tom Tromey <tromey@redhat.com>
5034 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
5036 (target_can_use_hardware_watchpoint): Add argument.
5037 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
5038 (update_current_target): Update.
5039 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
5041 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
5043 * remote.c (remote_check_watch_resources): Add 'self' argument.
5044 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
5045 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
5047 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
5048 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
5050 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
5052 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
5054 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
5056 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
5058 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
5060 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
5061 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
5063 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
5066 2014-02-19 Tom Tromey <tromey@redhat.com>
5068 * target.h (struct target_ops) <to_post_attach>: Add argument.
5069 (target_post_attach): Add argument.
5070 * target.c (debug_to_post_attach): Add argument.
5071 (update_current_target): Update.
5072 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
5073 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
5074 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
5075 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
5076 * inf-child.c (inf_child_post_attach): Add 'self' argument.
5078 2014-02-19 Tom Tromey <tromey@redhat.com>
5080 * windows-nat.c (windows_close): Add 'self' argument.
5081 * tracepoint.c (tfile_close): Add 'self' argument.
5082 * target.h (struct target_ops) <to_close>: Add argument.
5083 * target.c (target_close): Add argument.
5084 (update_current_target): Update.
5085 * remote.c (remote_close): Add 'self' argument.
5086 * remote-sim.c (gdbsim_close): Add 'self' argument.
5087 * remote-mips.c (mips_close): Add 'self' argument.
5088 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
5089 * record-full.c (record_full_close): Add 'self' argument.
5090 * record-btrace.c (record_btrace_close): Add 'self' argument.
5091 * monitor.h (monitor_close): Add 'self' argument.
5092 * monitor.c (monitor_close): Add 'self' argument.
5093 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
5094 * linux-nat.c (linux_nat_close): Add argument.
5095 * go32-nat.c (go32_close): Add 'self' argument.
5096 * exec.c (exec_close_1): Add 'self' argument.
5097 * ctf.c (ctf_close): Add 'self' argument.
5098 * corelow.c (core_close): Add 'self' argument.
5099 (core_close_cleanup): Update.
5100 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
5101 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
5103 2014-02-19 Tom Tromey <tromey@redhat.com>
5105 * remote.c (remote_load): New function.
5106 (init_remote_ops): Use it.
5108 2014-02-19 Tom Tromey <tromey@redhat.com>
5110 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
5112 * common/linux-btrace.h (linux_supports_btrace): Update.
5113 * remote.c (remote_supports_btrace): Add "self" argument.
5114 * target-delegates.c: Rebuild.
5115 * target.c (target_supports_btrace): Remove.
5116 * target.h (struct target_ops) <to_supports_btrace>: Add
5117 target_ops argument.
5118 (target_supports_btrace): New define.
5120 2014-02-19 Tom Tromey <tromey@redhat.com>
5122 * record-full.c (record_full_beneath_to_resume_ops)
5123 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
5124 (record_full_beneath_to_wait)
5125 (record_full_beneath_to_store_registers_ops)
5126 (record_full_beneath_to_store_registers)
5127 (record_full_beneath_to_xfer_partial_ops)
5128 (record_full_beneath_to_xfer_partial)
5129 (record_full_beneath_to_insert_breakpoint_ops)
5130 (record_full_beneath_to_insert_breakpoint)
5131 (record_full_beneath_to_remove_breakpoint_ops)
5132 (record_full_beneath_to_remove_breakpoint)
5133 (record_full_beneath_to_stopped_by_watchpoint)
5134 (record_full_beneath_to_stopped_data_address)
5135 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
5136 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
5137 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
5138 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
5139 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
5140 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
5141 (tmp_to_stopped_data_address, tmp_to_async): Remove.
5142 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
5143 (record_full_resume, record_full_wait_1)
5144 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
5145 (record_full_store_registers, record_full_xfer_partial)
5146 (record_full_insert_breakpoint, record_full_remove_breakpoint)
5147 (record_full_async, record_full_core_xfer_partial): Use target
5149 * target-delegates.c: Rebuild.
5150 * target.c (current_xfer_partial): Remove.
5151 (update_current_target): Do not INHERIT or de_fault
5152 to_insert_breakpoint, to_remove_breakpoint,
5153 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
5154 to_is_async_p, to_async. Do not set to_xfer_partial field.
5155 (default_xfer_partial): Simplify.
5156 (current_xfer_partial): Remove.
5157 (target_wait, target_resume): Simplify.
5158 (find_default_can_async_p, find_default_is_async_p): Update.
5159 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
5160 to_xfer_partial, to_stopped_by_watchpoint,
5161 to_stopped_data_address.
5162 (target_store_registers): Simplify.
5163 (forward_target_remove_breakpoint)
5164 (forward_target_insert_breakpoint): Remove.
5165 (target_remove_breakpoint, target_insert_breakpoint)
5166 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
5167 * target.h (struct target_ops) <to_resume, to_wait,
5168 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
5169 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
5170 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
5172 (forward_target_remove_breakpoint)
5173 (forward_target_insert_breakpoint): Remove.
5174 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
5176 (record_btrace_insert_breakpoint): Delegate directly.
5178 2014-02-19 Tom Tromey <tromey@redhat.com>
5181 * target-delegates.c: New file.
5182 * target.c: Include target-delegates.c.
5183 (init_dummy_target): Call install_dummy_methods.
5184 (complete_target_initialization): Call install_delegators.
5185 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
5186 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
5187 * make-target-delegates: New file.
5189 2014-02-19 Tom Tromey <tromey@redhat.com>
5191 * record.c (find_record_target): Use find_target_at.
5192 * target.c (find_target_at): New function.
5193 * target.h (find_target_at): Declare.
5195 2014-02-19 Tom Tromey <tromey@redhat.com>
5197 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
5199 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
5201 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
5202 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
5204 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
5206 * linux-nat.c (save_sigtrap): Update.
5207 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
5208 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
5209 (linux_nat_close): Update.
5210 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
5212 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
5214 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
5215 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
5216 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
5217 (tmp_to_async): Add 'ops' argument.
5218 (record_full_stopped_by_watchpoint, record_full_async)
5219 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
5221 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
5222 (m32r_stopped_by_watchpoint): Add 'ops' argument.
5223 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
5224 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
5225 (remote_is_async_p, remote_async): Add 'ops' argument.
5226 (remote_stopped_data_address): Update.
5227 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
5228 * target.c (update_current_target)
5229 (find_default_can_async_p, find_default_is_async_p): Update.
5230 (init_dummy_target): Update.
5231 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
5232 * target.h (struct target_ops) <to_stopped_by_watchpoint,
5233 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
5234 (target_can_async_p, target_is_async_p, target_async)
5235 (target_stopped_by_watchpoint): Update.
5237 2014-02-19 Yao Qi <yao@codesourcery.com>
5240 * gdbarch.sh: Remove startup_gdbarch.
5241 * gdbarch.c: Regenerated.
5242 * gdbarch.h: Likewise.
5244 2014-02-17 Kevin Buettner <kevinb@redhat.com>
5246 * rl78-tdep.c (rl78_g10_register_name): New function.
5247 (rl78_return_value): Add g10 support.
5248 (rl78_gdbarch_init): Register rl78_g10_register_name for the
5251 2014-02-17 Doug Evans <xdje42@gmail.com>
5253 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
5254 (SUBDIR_GUILE_SRCS): Ditto.
5255 (scm-gsmob.o): Ditto.
5257 2014-02-17 Yao Qi <yao@codesourcery.com>
5259 * gnu-nat.c (ILL_RPC): Declare defined function.
5261 2014-02-17 Yao Qi <yao@codesourcery.com>
5263 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
5264 mach_msg_type_number_t.
5265 (gnu_write_inferior): Likewise.
5267 2014-02-17 Yao Qi <yao@codesourcery.com>
5269 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
5271 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
5272 (inf_validate_procs, inf_signal): Likewise.
5273 (S_exception_raise_request): Likewise.
5274 (do_mach_notify_dead_name): Likewise.
5275 (steal_exc_port): Likewise.
5276 (gnu_read_inferior): Change 'copy_count''s type to
5277 mach_msg_type_number_t.
5278 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
5281 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
5283 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
5284 flag. Adjust all users; in particular...
5285 (gnu_wait): ..., don't decrement its value in here...
5286 (gnu_create_inferior): ..., and instead set the flag in here,
5287 around the startup_inferior call, and call that one with
5288 START_INFERIOR_TRAPS_EXPECTED.
5290 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
5291 (ILL_RPC): ... new macro.
5292 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
5293 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
5294 (do_mach_notify_send_once, S_proc_setmsgport_reply)
5295 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
5296 functions with ILL_RPC macro.
5297 (S_proc_pid2task_reply, S_proc_task2pid_reply)
5298 (S_proc_task2proc_reply, S_proc_proc2task_reply)
5299 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
5300 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
5301 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
5302 (S_proc_getlogin_reply, S_proc_getsid_reply)
5303 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
5304 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
5305 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
5306 (S_proc_getnports_reply, S_proc_is_important_reply)
5307 (S_proc_get_code_reply): New stub functions, generated with
5310 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
5311 collected the type check structures.
5313 * reply_mig_hack.awk: Don't expect to see the auto keyword.
5315 2014-02-14 Doug Evans <dje@google.com>
5317 * target.c (target_write_partial): Fix result type.
5319 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
5321 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
5322 the proper offsets to access fpregset_t.
5324 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
5326 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
5327 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
5328 * h8300-tdep.c (setmachinelist): Remove global.
5329 * hppa-tdep.c (hppa_sigtramp): Remove global.
5330 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
5331 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
5332 * ravenscar-thread.c (update_target_observer): Remove global.
5333 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
5335 2014-02-12 Tom Tromey <tromey@redhat.com>
5337 * common/rsp-low.c: Update comments.
5338 * common/rsp-low.h: Update comments.
5340 2014-02-12 Tom Tromey <tromey@redhat.com>
5342 * common/rsp-low.c (convert_ascii_to_int): Remove.
5343 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
5345 2014-02-12 Tom Tromey <tromey@redhat.com>
5347 * common/rsp-low.h (unhexify): Don't declare.
5348 * common/rsp-low.c (unhexify): Remove.
5350 2014-02-12 Tom Tromey <tromey@redhat.com>
5352 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
5353 * common/rsp-low.c (convert_int_to_ascii): Remove.
5355 2014-02-12 Tom Tromey <tromey@redhat.com>
5357 * common/rsp-low.h (hexify): Don't declare.
5358 * common/rsp-low.c (hexify): Remove.
5360 2014-02-12 Tom Tromey <tromey@redhat.com>
5362 * common/rsp-low.c (hexify): Never take strlen of argument.
5364 2014-02-12 Tom Tromey <tromey@redhat.com>
5366 * common/rsp-low.c (bin2hex): Never take strlen of argument.
5367 * remote.c (extended_remote_run, remote_rcmd)
5368 (remote_download_trace_state_variable, remote_save_trace_data)
5369 (remote_set_trace_notes): Update.
5370 * tracepoint.c (encode_source_string, tfile_write_status)
5371 (tfile_write_uploaded_tsv): Update.
5373 2014-02-12 Tom Tromey <tromey@redhat.com>
5375 * tracepoint.c: Include rsp-low.h.
5376 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
5377 * remote.c: Include rsp-low.h.
5378 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
5379 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
5380 (remote_unescape_input): Move to common/rsp-low.c.
5381 * common/rsp-low.h: New file.
5382 * common/rsp-low.c: New file.
5383 * Makefile.in (SFILES): Add common/rsp-low.c.
5384 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
5385 (COMMON_OBS): Add rsp-low.o.
5386 (rsp-low.o): New target.
5388 2014-02-12 Tom Tromey <tromey@redhat.com>
5390 * utils.h: Include print-utils.h.
5391 (host_address_to_string, plongest, pulongest, phex, phex_nz)
5392 (int_string, core_addr_to_string, core_addr_to_string_nz)
5393 (hex_string, hex_string_custom): Don't declare.
5394 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
5395 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
5396 (hex_string_custom, int_string, core_addr_to_string)
5397 (core_addr_to_string_nz, host_address_to_string): Move to
5398 common/print-utils.c.
5399 * common/print-utils.h: New file.
5400 * common/print-utils.c: New file
5401 * Makefile.in (SFILES): Add common/print-utils.c.
5402 (HFILES_NO_SRCDIR): Add common/print-utils.h.
5403 (COMMON_OBS): Add print-utils.o.
5404 (print-utils.o): New target.
5406 2014-02-12 Tom Tromey <tromey@redhat.com>
5408 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
5410 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5412 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
5414 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5416 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
5417 if a PT_IO ptrace request returns sucessfully but indicates that 0
5418 bytes were transferred.
5420 2014-02-12 Pedro Alves <palves@redhat.com>
5421 Kevin Buettner <kevinb@redhat.com>
5423 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
5424 TYPE_INSTANCE_FLAG_CODE_SPACE.
5426 2014-02-12 Pedro Alves <palves@redhat.com>
5428 * h8300-tdep.c (pseudo_from_raw_register)
5429 (raw_from_pseudo_register): New functions.
5430 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
5433 2014-02-12 Pedro Alves <palves@redhat.com>
5435 * h8300-tdep.c (h8300_register_sim_regno): New function.
5436 (h8300_gdbarch_init): Install h8300_register_sim_regno as
5437 gdbarch_register_sim_regno hook.
5439 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5441 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
5443 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5445 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
5447 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5449 * obsd-tdep.h (obsd_init_abi): New prototype.
5450 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
5451 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
5452 (obsd_init_abi): New functions.
5453 * i386obsd-tdep.c: Include "obsd-tdep.h".
5454 (i386obsd_init_abi): Call obsd_init_abi.
5455 * amd64obsd-tdep.c: Include "obsd-tdep.h".
5456 (amd64obsd_init_abi): Call obsd_init_abi.
5457 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
5458 obsd-tdep.c to gdb_target_obs.
5460 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
5462 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
5463 double float arguments to 16-byte in the argument slots.
5465 2014-02-11 Doug Evans <xdje42@gmail.com>
5467 * configure.ac: Don't crash if pkg-config is not found and guile
5468 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
5470 * configure: Regenerate.
5472 2014-02-11 Yao Qi <yao@codesourcery.com>
5474 * aix-thread.c (aix_thread_xfer_partial): Update comments.
5475 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
5476 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5477 * gnu-nat.c (gnu_xfer_memory): Likewise.
5478 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5479 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5480 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5481 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5483 2014-02-11 Yao Qi <yao@codesourcery.com>
5485 * target.h (enum target_xfer_error): Rename to ...
5486 (enum target_xfer_status): ... it. New. All users updated.
5487 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
5489 (TARGET_XFER_STATUS_ERROR_P): New macro.
5490 (target_xfer_error_to_string): Remove declaration.
5491 (target_xfer_status_to_string): Declare.
5492 (target_xfer_partial_ftype): Adjust it.
5493 (struct target_ops) <to_xfer_partial>: Return
5494 target_xfer_status. Add argument xfered_len. Update
5496 * target.c (target_xfer_error_to_string): Rename to ...
5497 (target_xfer_status_to_string): ... it. New. All callers
5499 (target_read_live_memory): Likewise. Call target_xfer_partial
5500 instead of target_read.
5501 (memory_xfer_live_readonly_partial): Return
5502 target_xfer_status. Add argument xfered_len.
5503 (raw_memory_xfer_partial): Likewise.
5504 (memory_xfer_partial_1): Likewise.
5505 (memory_xfer_partial): Likewise.
5506 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
5507 properly. Update debug message.
5508 (default_xfer_partial, current_xfer_partial): Likewise.
5509 (target_write_partial): Likewise.
5510 (target_read_partial): Likewise. All callers updated.
5511 (read_whatever_is_readable): Likewise.
5512 (target_write_with_progress): Likewise.
5513 (target_read_alloc_1): Likewise.
5515 * aix-thread.c (aix_thread_xfer_partial): Likewise.
5516 * auxv.c (procfs_xfer_auxv): Likewise.
5517 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
5518 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5519 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5520 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
5521 * corefile.c (read_memory): Adjust.
5522 * corelow.c (core_xfer_partial): Likewise.
5523 * ctf.c (ctf_xfer_partial): Likewise.
5524 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
5526 (darwin_xfer_partial): Likewise.
5527 * exec.c (section_table_xfer_memory_partial): Likewise. All
5529 (exec_xfer_partial): Likewise.
5530 * exec.h (section_table_xfer_memory_partial): Update
5532 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
5534 (gnu_xfer_partial): Likewise.
5535 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
5536 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
5537 (ia64_hpux_xfer_solib_got): Likewise.
5538 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
5539 type of 'partial_len' to ULONGEST.
5540 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5541 * linux-nat.c (linux_xfer_siginfo ): Likewise.
5542 (linux_nat_xfer_partial): Likewise.
5543 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
5544 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
5545 * monitor.c (monitor_xfer_memory): Likewise.
5546 (monitor_xfer_partial): Likewise.
5547 * procfs.c (procfs_xfer_partial): Likewise.
5548 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5549 * record-full.c (record_full_xfer_partial): Likewise.
5550 (record_full_core_xfer_partial): Likewise.
5551 * remote-sim.c (gdbsim_xfer_memory): Likewise.
5552 (gdbsim_xfer_partial): Likewise.
5553 * remote.c (remote_write_bytes_aux): Likewise. All callers
5555 (remote_write_bytes, remote_read_bytes): Likewise. All
5557 (remote_flash_erase): Likewise. All callers updated.
5558 (remote_write_qxfer): Likewise. All callers updated.
5559 (remote_read_qxfer): Likewise. All callers updated.
5560 (remote_xfer_partial): Likewise.
5561 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5562 (rs6000_xfer_shared_libraries): Likewise.
5563 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5564 (sol_thread_xfer_partial): Likewise.
5565 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5566 (sparc_xfer_partial): Likewise.
5567 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
5569 (spu_xfer_partial): Likewise.
5570 * spu-multiarch.c (spu_xfer_partial): Likewise.
5571 * tracepoint.c (tfile_xfer_partial): Likewise.
5572 * windows-nat.c (windows_xfer_memory): Likewise.
5573 (windows_xfer_shared_libraries): Likewise.
5574 (windows_xfer_partial): Likewise.
5575 * valprint.c: Replace 'target_xfer_error' with
5576 'target_xfer_status' in comments.
5578 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
5580 Checked in by Joel Brobecker <brobecker@adacore.com>.
5581 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
5583 2014-02-11 Joel Brobecker <brobecker@adacore.com>
5585 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
5586 function parameters.
5588 2014-02-10 Will Newton <will.newton@linaro.org>
5590 * elfread.c (elf_rel_plt_read): Look for a .got section if
5591 looking up .got.plt fails.
5592 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
5593 on address passed to elf_gnu_ifunc_record_cache.
5594 (elf_gnu_ifunc_resolve_addr): Likewise.
5595 (elf_gnu_ifunc_resolver_return_stop): Likewise.
5597 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
5599 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
5600 (X_RETTURN): New macro.
5601 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
5603 * sparc64-tdep.c (sparc64_init_abi): Hook
5604 sparc_in_function_epilogue_p.
5606 2014-02-10 Gary Benson <gbenson@redhat.com>
5608 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5609 Rename name_matcher to symbol_matcher.
5611 2014-02-10 Gary Benson <gbenson@redhat.com>
5613 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5614 Use expand_symtabs_file_matcher_ftype and
5615 expand_symtabs_symbol_matcher_ftype.
5617 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5619 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
5620 (struct ada_symbol_cache): New.
5621 (ada_free_symbol_cache): Forward declare.
5622 (struct ada_pspace_data): New.
5623 (ada_pspace_data_handle): New static global.
5624 (get_ada_pspace_data, ada_pspace_data_cleanup)
5625 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
5626 (cache_space, cache): Delete, now folded inside struct
5628 (ada_get_symbol_cache): New function.
5629 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
5631 (_initialize_ada_language): Remove initialization of cache_space.
5632 Move call to observer_attach_inferior_exit up, grouping it
5633 with the other observer registrations inside this function.
5634 Rename command to be more general. Add call to
5635 register_program_space_data_with_cleanup.
5637 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5639 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
5640 ada_new_objfile_observer.
5641 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
5642 (_initialize_tasks): Update uses of ada_new_objfile_observer
5643 and ada_tasks_normal_stop_observer.
5645 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5647 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
5648 returned by the 'Length attribute to integer.
5650 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5652 * ada-lang.c (_initialize_ada_language): Initialize
5653 cache_space obstack.
5655 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5657 * ada-lang.c (HASH_SIZE): New macro.
5658 (struct cache_entry): New type.
5659 (cache_space, cache): New static globals.
5660 (ada_clear_symbol_cache, find_entry): New functions.
5661 (lookup_cached_symbol, cache_symbol): Implement.
5662 (ada_new_objfile_observer, ada_free_objfile_observer): New.
5663 (_initialize_ada_language): Attach ada_new_objfile_observer
5664 and ada_free_objfile_observer.
5666 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5668 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5669 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5670 struct block * parameter.
5671 (ada_lookup_symbol_list_worker): Constify local variable "block".
5672 Remove cast which is no longer necessary.
5674 2014-02-10 Doug Evans <xdje42@gmail.com>
5676 Add Guile as an extension language.
5677 * NEWS: Mention Guile scripting.
5678 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5679 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5680 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5681 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5682 (CLIBS): Add GUILE_LIBS.
5683 (install-guile): New rule.
5684 (guile.o): New rule.
5685 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5686 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5687 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5688 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5689 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5690 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5691 (scm-type.o, scm-utils.o, scm-value.o): New rules.
5692 * configure.ac: New option --with-guile.
5693 * configure: Regenerate.
5694 * config.in: Regenerate.
5695 * auto-load.c: Remove #include "python/python.h". Add #include
5696 "gdb/section-scripts.h".
5697 (source_section_scripts): Handle Guile scripts.
5698 (_initialize_auto_load): Add name of Guile objfile script to
5699 scripts-directory help text.
5700 * breakpoint.c (condition_command): Tweak comment to include Scheme.
5701 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5702 (struct breakpoint): New member scm_bp_object.
5703 * defs.h (enum command_control_type): New value guile_control.
5704 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
5706 (show_user): Update comment.
5707 (_initialize_cli_cmds): Update help text for "show user". Update help
5708 text for max-user-call-depth.
5709 * cli/cli-script.c: Remove #include "python/python.h". Add #include
5711 (multi_line_command_p): Add guile_control.
5712 (print_command_lines): Handle guile_control.
5713 (execute_control_command, recurse_read_control_structure): Ditto.
5714 (process_next_line): Recognize "guile" commands.
5715 * disasm.c (gdb_disassemble_info): Make non-static.
5716 * disasm.h: #include "dis-asm.h".
5717 (struct gdbarch): Add forward decl.
5718 (gdb_disassemble_info): Declare.
5719 * extension.c: #include "guile/guile.h".
5720 (extension_languages): Add guile.
5721 (get_ext_lang_defn): Handle EXT_LANG_GDB.
5722 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5723 * gdbtypes.c (get_unsigned_type_max): New function.
5724 (get_signed_type_minmax): New function.
5725 * gdbtypes.h (get_unsigned_type_max): Declare.
5726 (get_signed_type_minmax): Declare.
5727 * guile/README: New file.
5728 * guile/guile-internal.h: New file.
5729 * guile/guile.c: New file.
5730 * guile/guile.h: New file.
5731 * guile/scm-arch.c: New file.
5732 * guile/scm-auto-load.c: New file.
5733 * guile/scm-block.c: New file.
5734 * guile/scm-breakpoint.c: New file.
5735 * guile/scm-disasm.c: New file.
5736 * guile/scm-exception.c: New file.
5737 * guile/scm-frame.c: New file.
5738 * guile/scm-gsmob.c: New file.
5739 * guile/scm-iterator.c: New file.
5740 * guile/scm-lazy-string.c: New file.
5741 * guile/scm-math.c: New file.
5742 * guile/scm-objfile.c: New file.
5743 * guile/scm-ports.c: New file.
5744 * guile/scm-pretty-print.c: New file.
5745 * guile/scm-safe-call.c: New file.
5746 * guile/scm-string.c: New file.
5747 * guile/scm-symbol.c: New file.
5748 * guile/scm-symtab.c: New file.
5749 * guile/scm-type.c: New file.
5750 * guile/scm-utils.c: New file.
5751 * guile/scm-value.c: New file.
5752 * guile/lib/gdb.scm: New file.
5753 * guile/lib/gdb/boot.scm: New file.
5754 * guile/lib/gdb/experimental.scm: New file.
5755 * guile/lib/gdb/init.scm: New file.
5756 * guile/lib/gdb/iterator.scm: New file.
5757 * guile/lib/gdb/printing.scm: New file.
5758 * guile/lib/gdb/types.scm: New file.
5759 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5760 (VPATH): Add $(GUILE_SRCDIR).
5761 (GUILE_DIR): New variable.
5762 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5763 (all): Add stamp-guile dependency.
5764 (stamp-guile): New rule.
5765 (clean-guile, install-guile, uninstall-guile): New rules.
5766 (install-only): Add install-guile dependency.
5767 (uninstall): Add uninstall-guile dependency.
5768 (clean): Add clean-guile dependency.
5770 2014-02-09 Doug Evans <xdje42@gmail.com>
5772 Revert this patch (which I approved, mea culpa).
5774 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5776 * Makefile.in (all-lib): Remove.
5777 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5779 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5781 Fix Python stack corruption.
5782 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5785 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5787 * Makefile.in (all-lib): Remove.
5788 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5790 2014-02-07 Doug Evans <dje@google.com>
5792 * extension-priv.h (extension_language_script_ops): Add comment.
5793 (extension_language_ops): Add comment.
5794 (active_ext_lang_state): Fix typo in comment.
5796 2014-02-07 Pedro Alves <palves@redhat.com>
5798 PR breakpoints/16292
5799 * infrun.c (handle_signal_stop) <signal arrives while stepping
5800 over a breakpoint>: Switch back to the stepping thread.
5802 2014-02-07 Yao Qi <yao@codesourcery.com>
5804 * target.c (target_xfer_partial): Return zero if LEN is zero.
5806 2014-02-07 Yao Qi <yao@codesourcery.com>
5808 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5809 (ld_so_xfer_auxv): Likewise.
5810 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5811 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5812 * corelow.c (core_xfer_partial): Likewise.
5813 * ctf.c (ctf_xfer_partial): Likewise.
5814 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5815 (darwin_xfer_partial): Likewise.
5816 * exec.c (exec_xfer_partial): Likewise.
5817 * gnu-nat.c (gnu_xfer_partial): Likewise.
5818 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5819 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5820 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5821 * linux-nat.c (linux_xfer_siginfo): Likewise.
5822 (linux_proc_xfer_spu): Likewise.
5823 * procfs.c (procfs_xfer_partial): Likewise.
5824 * record-full.c (record_full_xfer_partial): Likewise.
5825 (record_full_core_xfer_partial): Likewise.
5826 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5827 * remote.c (remote_write_qxfer): Likewise.
5828 (remote_write_qxfer, remote_read_qxfer): Likewise.
5829 (remote_xfer_partial): Likewise.
5830 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5831 (rs6000_xfer_shared_libraries): Likewise.
5832 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5833 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5834 (spu_xfer_partial): Likewise.
5835 * target.c (memory_xfer_partial_1): Likewise.
5836 * tracepoint.c (tfile_xfer_partial): Likewise.
5837 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5838 (windows_xfer_partial): Likewise.
5840 2014-02-07 Yao Qi <yao@codesourcery.com>
5842 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5844 (core_xfer_shared_libraries_aix): Likewise.
5845 * gdbarch.c, gdbarch.h: Regenerated.
5846 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5847 ULONGEST. Change 'len_avail' type to ULONGEST.
5848 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5849 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5851 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5853 2014-02-07 Yao Qi <yao@codesourcery.com>
5855 * corefile.c (memory_error): Get 'exception' from ERR and pass
5856 'exception' to throw_error.
5858 2014-02-06 Doug Evans <xdje42@gmail.com>
5860 * configure.ac (libpython checking): Remove all but python.o from
5861 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5862 * configure: Regenerate.
5864 * Makefile.in (SFILES): Add extension.c.
5865 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5866 (COMMON_OBS): Add extension.o.
5867 * extension.h: New file.
5868 * extension-priv.h: New file.
5869 * extension.c: New file.
5871 * python/python-internal.h: #include "extension.h".
5872 (gdbpy_auto_load_enabled): Declare.
5873 (gdbpy_apply_val_pretty_printer): Declare.
5874 (gdbpy_apply_frame_filter): Declare.
5875 (gdbpy_preserve_values): Declare.
5876 (gdbpy_breakpoint_cond_says_stop): Declare.
5877 (gdbpy_breakpoint_has_cond): Declare.
5878 (void source_python_script_for_objfile): Delete.
5879 * python/python.c: #include "extension-priv.h".
5880 Delete inclusion of "observer.h".
5881 (extension_language_python): Moved here and renamed from
5882 script_language_python in py-auto-load.c.
5883 Redefined to be of type extension_language_defn.
5884 (python_extension_script_ops): New global.
5885 (python_extension_ops): New global.
5886 (struct python_env): New member previous_active.
5887 (restore_python_env): Call restore_active_ext_lang.
5888 (ensure_python_env): Call set_active_ext_lang.
5889 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5891 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5893 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5895 (gdbpy_eval_from_control_command): Renamed from
5896 eval_python_from_control_command, made static. New arg extlang.
5897 (gdbpy_source_script) Renamed from source_python_script, made static.
5899 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5900 result to int. New arg extlang.
5901 (gdbpy_source_objfile_script): Renamed from
5902 source_python_script_for_objfile, made static. New arg extlang.
5903 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5904 static. New args extlang, extlang_printers. Change result type to
5906 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5907 static. New arg extlang. Rename arg printers to extlang_printers
5908 and change type to ext_lang_type_printers *.
5909 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5910 static. Replace argument arg with extlang, extlang_printers.
5911 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5912 (!HAVE_PYTHON, source_python_script): Delete.
5913 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5914 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5915 (!HAVE_PYTHON, start_type_printers): Delete.
5916 (!HAVE_PYTHON, apply_type_printers): Delete.
5917 (!HAVE_PYTHON, free_type_printers): Delete.
5918 (_initialize_python): Delete call to observer_attach_before_prompt.
5919 (finalize_python): Set/restore active extension language.
5920 (gdbpy_finish_initialization) Renamed from
5921 finish_python_initialization, made static. New arg extlang.
5922 (gdbpy_initialized): New function.
5923 * python/python.h: #include "extension.h". Delete #include
5924 "value.h", "mi/mi-cmds.h".
5925 (extension_language_python): Declare.
5926 (GDBPY_AUTO_FILE_NAME): Delete.
5927 (enum py_bt_status): Moved to extension.h and renamed to
5929 (enum frame_filter_flags): Moved to extension.h.
5930 (enum py_frame_args): Moved to extension.h and renamed to
5931 ext_lang_frame_args.
5932 (finish_python_initialization): Delete.
5933 (eval_python_from_control_command): Delete.
5934 (source_python_script): Delete.
5935 (apply_val_pretty_printer): Delete.
5936 (apply_frame_filter): Delete.
5937 (preserve_python_values): Delete.
5938 (gdbpy_script_language_defn): Delete.
5939 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5940 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5942 * auto-load.c: #include "extension.h".
5943 (GDB_AUTO_FILE_NAME): Delete.
5944 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5945 (script_language_gdb): Delete, moved to extension.c and renamed to
5946 extension_language_gdb.
5947 (source_gdb_script_for_objfile): Delete.
5948 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5949 (loaded_script): Change type of language member to
5950 struct extension_language_defn *.
5951 (init_loaded_scripts_info): Initialize
5952 unsupported_script_warning_printed.
5953 (maybe_add_script): Make static. Change type of language arg to
5954 struct extension_language_defn *.
5955 (clear_section_scripts): Reset unsupported_script_warning_printed.
5956 (auto_load_objfile_script_1): Rewrite to use extension language API.
5957 (auto_load_objfile_script): Make public. Remove support-compiled-in
5958 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5959 (source_section_scripts): Rewrite to use extension language API.
5960 (load_auto_scripts_for_objfile): Rewrite to use
5961 auto_load_scripts_for_objfile.
5962 (collect_matching_scripts_data): Change type of language member to
5963 struct extension_language_defn *.
5964 (auto_load_info_scripts): Change type of language arg to
5965 struct extension_language_defn *.
5966 (unsupported_script_warning_print): New function.
5967 (script_not_found_warning_print): Make static.
5968 (_initialize_auto_load): Rewrite construction of scripts-directory
5970 * auto-load.h (struct objfile): Add forward decl.
5971 (struct script_language): Delete.
5972 (struct auto_load_pspace_info): Add forward decl.
5973 (struct extension_language_defn): Add forward decl.
5974 (maybe_add_script): Delete.
5975 (auto_load_objfile_script): Declare.
5976 (script_not_found_warning_print): Delete.
5977 (auto_load_info_scripts): Update prototype.
5978 (auto_load_gdb_scripts_enabled): Declare.
5979 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5980 auto_load_python_scripts_enabled and made public.
5981 (script_language_python): Delete, moved to python.c.
5982 (gdbpy_script_language_defn): Delete.
5983 (info_auto_load_python_scripts): Update to use
5984 extension_language_python.
5986 * breakpoint.c (condition_command): Replace call to
5987 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5988 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5989 with call to breakpoint_ext_lang_cond_says_stop.
5990 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5991 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5992 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5993 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5995 (local_setattro): Print name of extension language with existing
5998 * valprint.c (val_print, value_print): Update to call
5999 apply_ext_lang_val_pretty_printer.
6000 * cp-valprint.c (cp_print_value): Update call to
6001 apply_ext_lang_val_pretty_printer.
6002 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
6003 (gdbpy_apply_val_pretty_printer): Renamed from
6004 apply_val_pretty_printer. New arg extlang.
6005 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
6007 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
6008 extension language API.
6009 * cli/cli-script.c (execute_control_command): Update to call
6010 eval_ext_lang_from_control_command.
6012 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
6013 enum ext_lang_bt_status values. Update call to
6014 apply_ext_lang_frame_filter.
6015 (mi_cmd_stack_list_locals): Ditto.
6016 (mi_cmd_stack_list_args): Ditto.
6017 (mi_cmd_stack_list_variables): Ditto.
6018 * mi/mi-main.c: Delete #include "python/python-internal.h".
6019 Add #include "extension.h".
6020 (mi_cmd_list_features): Replace reference to python internal variable
6021 gdb_python_initialized with call to ext_lang_initialized_p.
6023 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
6024 Update to use enum ext_lang_frame_args. Update to call
6025 apply_ext_lang_frame_filter.
6026 * python/py-framefilter.c (extract_sym): Update to use enum
6028 (extract_value, py_print_type, py_print_value): Ditto.
6029 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
6030 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
6031 (py_print_frame): Ditto.
6032 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
6033 New arg extlang. Update to use enum ext_lang_bt_status.
6035 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
6036 finish_python_initialization. Replace with call to
6037 finish_ext_lang_initialization.
6039 * typeprint.c (do_free_global_table): Update to call
6040 free_ext_lang_type_printers.
6041 (create_global_typedef_table): Update to call
6042 start_ext_lang_type_printers.
6043 (find_global_typedef): Update to call apply_ext_lang_type_printers.
6044 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
6045 (type_print_options): Change type of global_printers from "void *"
6046 to "struct ext_lang_type_printers *".
6048 * value.c (preserve_values): Update to call preserve_ext_lang_values.
6049 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
6050 (gdbpy_preserve_values): Renamed from preserve_python_values.
6052 (!HAVE_PYTHON, preserve_python_values): Delete.
6054 * utils.c (quit_flag): Delete, moved to extension.c.
6055 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
6058 * eval.c: Delete #include "python/python.h".
6059 * main.c: Delete #include "python/python.h".
6061 * defs.h: Update comment.
6063 2014-02-06 Joel Brobecker <brobecker@adacore.com>
6067 2014-02-05 Mark Kettenis <kettenis@gnu.org>
6069 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6072 2014-02-05 Yao Qi <yao@codesourcery.com>
6074 * remote.c (remote_pass_signals): Remove local 'buf' and use
6076 (remote_program_signals): Likewise.
6078 2014-02-05 Yao Qi <yao@codesourcery.com>
6080 * ctf.c: Include "inferior.h" and "gdbthread.h".
6081 (CTF_PID): A new macro.
6082 (ctf_open): Call inferior_appeared and add_thread_silent.
6083 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
6084 (ctf_thread_alive): New function.
6085 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
6087 2014-02-05 Yao Qi <yao@codesourcery.com>
6091 2013-05-24 Yao Qi <yao@codesourcery.com>
6093 * tracepoint.c (TFILE_PID): Remove.
6094 (tfile_open): Don't add thread and inferior.
6095 (tfile_close): Don't set 'inferior_ptid'. Don't call
6096 exit_inferior_silent.
6097 (tfile_thread_alive): Remove.
6098 (init_tfile_ops): Don't set field 'to_thread_alive' of
6101 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
6103 * remote.c (remote_start_remote): Call remote_check_symbols even
6104 if only symbol-file (not file) has been given.
6106 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6108 * gdbarch.sh (skip_entrypoint): New callback.
6109 * gdbarch.c, gdbarch.h: Regenerate.
6110 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
6111 * infrun.c (fill_in_stop_func): Likewise.
6112 * ppc-linux-tdep.c: Include "elf/ppc64.h".
6113 (ppc_elfv2_elf_make_msymbol_special): New function.
6114 (ppc_elfv2_skip_entrypoint): Likewise.
6115 (ppc_linux_init_abi): Install them for ELFv2.
6117 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6119 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
6120 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
6121 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6122 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
6123 structures returned in GPRs.
6125 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6127 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
6128 offset to the stack parameter list for the ELFv2 ABI.
6130 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6132 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
6133 set_gdbarch_convert_from_func_ptr_addr and
6134 set_gdbarch_elf_make_msymbol_special for ELFv1.
6135 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
6136 function descriptors on ELFv1.
6137 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
6138 set up r12 at function entry.
6140 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6142 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
6143 (struct gdbarch_tdep): New member elf_abi.
6145 * rs6000-tdep.c: Include "elf/ppc64.h".
6146 (rs6000_gdbarch_init): Detect ELF ABI version.
6148 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6150 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
6151 within a register pair holding a DFP 128-bit value on little-endian.
6152 (ppc64_sysv_abi_return_value_base): Likewise.
6153 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
6154 (dfp_pseudo_register_write): Likewise.
6156 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6158 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
6159 offset on little-endian when passing _Decimal32.
6160 (ppc64_sysv_abi_return_value_base): Likewise for return values.
6162 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6164 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
6165 of the overlapped FP register within the VSX register on little-
6167 (efpr_pseudo_register_write): Likewise.
6169 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6171 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
6172 offset on little-endian when passing small structures.
6174 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6176 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
6177 (struct ppc64_sysv_argpos): New data structure.
6178 (ppc64_sysv_abi_push_float): Remove.
6179 (ppc64_sysv_abi_push_val): New function.
6180 (ppc64_sysv_abi_push_integer): Likewise.
6181 (ppc64_sysv_abi_push_freg): Likewise.
6182 (ppc64_sysv_abi_push_vreg): Likewise.
6183 (ppc64_sysv_abi_push_param): Likewise.
6184 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
6185 (ppc64_sysv_abi_return_value_base): New function.
6186 (ppc64_sysv_abi_return_value): Refactor to use it.
6188 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6190 * NEWS: Document new target powerpc64le-*-linux*.
6192 2014-02-04 Mark Kettenis <kettenis@gnu.org>
6194 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
6195 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
6197 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
6198 register set used in ELF core dumps. Add floating-point register set.
6200 2014-02-03 Kevin Buettner <kevinb@redhat.com>
6202 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
6203 dwarf2_to_gdb[] table using symbolic constants. Adjust
6204 penultimate entry from number representing the PC register
6205 to symbolic constant representing the MDR register. Add
6206 constant for the PC register to the end of the table.
6208 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6210 * bsd-kvm.c: Include <sys/param.h>
6212 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6214 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
6216 2014-01-31 Joel Brobecker <brobecker@adacore.com>
6218 * ada-lang.h (clear_ada_sym_cache): Delete.
6220 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
6222 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
6224 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6226 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
6227 the sigreturn register save area only if the syscall is
6230 2014-01-29 Joel Brobecker <brobecker@adacore.com>
6232 * valops.c (value_slice): Minor reformatting.
6234 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
6236 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
6238 2014-01-28 Joel Brobecker <brobecker@adacore.com>
6240 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
6242 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
6243 (ada_ignore_descriptive_types_p): New static global.
6244 (find_parallel_type_by_descriptive_type): Return immediately
6245 if ada_ignore_descriptive_types_p is set.
6246 (_initialize_ada_language): Register new commands "maintenance
6247 set ada", "maintenance show ada", "maintenance set ada
6248 ignore-descriptive-types" and "maintenance show ada
6249 ignore-descriptive-types".
6250 * NEWS: Add entry for new "maint ada set/show
6251 ignore-descriptive-types" commands.
6253 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
6255 * record-btrace.c (record_btrace_close): Call btrace_teardown
6258 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6260 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
6263 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6265 * ada-typeprint (type_is_full_subrange_of_target_type):
6267 (print_range): Add parameter bounds_prefered_p. If not set,
6268 try printing range types using the name of their base type.
6269 (print_range_type): Add parameter bounds_prefered_p.
6270 Use it in call to print_range.
6271 (print_array_type, ada_print_type): Update calls to print_range
6272 and print_range_type.
6274 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6276 * ada-typeprint.c (print_array_type, print_choices, print_range)
6277 (print_range_bound, print_dynamic_range_bound, print_range_type):
6280 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6282 * ada-typeprint.c (print_range): Add missing empty line
6283 after local declaration.
6285 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6287 * ada-valprint.c (print_optional_low_bound): Get index_type's
6288 target type for as long as it is a TYPE_CODE_RANGE.
6290 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6292 * procfs.c (procfs_make_note_section): Remove assertion and
6295 2014-01-24 Yao Qi <yao@codesourcery.com>
6297 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
6298 * corelow.c (get_core_siginfo): Likewise.
6300 2014-01-24 Yao Qi <yao@codesourcery.com>
6302 * remote.c (remote_write_bytes_aux): Change type of 'len' to
6303 ULONGEST. Don't check 'len' is negative.
6304 (remote_write_bytes): Change type of 'len' to ULONGEST.
6306 2014-01-23 Tom Tromey <tromey@redhat.com>
6309 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
6310 Handle exception from frame.block.
6311 (FrameVars.fetch_frame_locals): Likewise.
6313 2014-01-23 Tom Tromey <tromey@redhat.com>
6316 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
6317 on a NULL pointer. Move "goto error" to correct place.
6319 2014-01-23 Tom Tromey <tromey@redhat.com>
6322 * python/py-framefilter.c (apply_frame_filter): Call
6323 ensure_python_env after computing gdbarch.
6325 2014-01-23 Yao Qi <yao@codesourcery.com>
6327 * target.c (raw_memory_xfer_partial): Change argument type
6328 from void * to gdb_byte *.
6329 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
6331 2014-01-22 Doug Evans <dje@google.com>
6333 New gdbserver option --debug-format=timestamp.
6336 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6338 * syscalls/s390x-linux.xml: New file.
6339 * syscalls/s390-linux.xml: New file.
6340 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
6341 (XML_SYSCALL_FILENAME_S390X): Likewise.
6342 (op_svc): New enum value for SVC opcode.
6343 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
6344 (s390_linux_get_syscall_number): New function.
6345 (s390_gdbarch_init): Register '*get_syscall_number' and the
6346 syscall xml file name.
6347 * data-directory/Makefile.in (SYSCALLS_FILES): Add
6348 "s390-linux.xml" and "s390x-linux.xml".
6349 * NEWS: Announce new feature.
6351 2014-01-22 Baruch Siach <baruch@tkos.co.il>
6353 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
6355 2014-01-22 Pedro Alves <palves@redhat.com>
6357 * xtensa-config.c: Include defs.h.
6359 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6361 * common/common-utils.h: Add "ARI:" comment beside __func__
6364 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6366 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
6367 documentation a bit.
6369 2014-01-21 Roland McGrath <mcgrathr@google.com>
6371 * configure.ac: Call AM_PROG_INSTALL_STRIP.
6372 * configure: Regenerate.
6373 * aclocal.m4: Regenerate.
6374 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
6375 New substituted variables.
6376 (install-strip): New target.
6377 (INSTALL_SCRIPT): New substituted variable.
6378 (FLAGS_TO_PASS): Add it.
6379 (install-only): Use $(INSTALL_SCRIPT) rather than
6380 $(INSTALL_PROGRAM) for gcore.
6382 2014-01-20 Tom Tromey <tromey@redhat.com>
6384 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
6387 2014-01-20 Tom Tromey <tromey@redhat.com>
6389 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
6390 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
6391 (deprecated_cmd_warning, complete_on_cmdlist): Update.
6392 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
6393 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
6394 (struct cmd_list_element) <flags>: Remove.
6395 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
6396 doc_allocated>: New fields.
6397 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
6399 * maint.c (maintenance_do_deprecate): Update.
6400 * top.c (execute_command): Update.
6402 2014-01-20 Baruch Siach <baruch@tkos.co.il>
6404 * xtensa-linux-nat.c: Include asm/ptrace.h.
6406 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6408 * Makefile.in (SFILES): Add d-support.c.
6409 (COMMON_OBS): Add d-support.o.
6410 * d-lang.h (d_parse_symbol): Add comment, now defined in
6412 * d-lang.c (parse_call_convention)
6413 (parse_attributes, parse_function_types)
6414 (parse_function_args, parse_type, parse_identifier)
6415 (call_convention_p, d_parse_symbol): Move functions to ...
6416 * d-support.c: ... New file.
6418 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6420 * d-lang.h (d_parse_symbol): Add declaration.
6421 * d-lang.c (extract_identifiers)
6422 (extract_type_info): Remove functions.
6423 (parse_call_convention, parse_attributes)
6424 (parse_function_types, parse_function_args)
6425 (parse_type, parse_identifier, call_convention_p)
6426 (d_parse_symbol): New functions.
6427 (d_demangle): Use d_parse_symbol to demangle D symbols.
6429 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6431 * d-lang.h (struct builtin_d_type): New data type.
6432 (builtin_d_type): Add declaration.
6433 * d-lang.c (d_language_arch_info, build_d_types)
6434 (builtin_d_type): New functions.
6435 (enum d_primitive_types): New data type.
6436 (d_language_defn): Change c_language_arch_info to
6437 d_language_arch_info.
6438 (d_type_data): New static variable.
6439 (_initialize_d_language): Initialize d_type_data.
6441 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6443 * d-lang.h (d_main_name): Add declaration.
6444 * d-lang.c (d_main_name): New function.
6445 * symtab.c (find_main_name): Add call to d_main_name.
6447 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6449 * d-lang.c (d_language_defn): Change macro_expansion_c to
6452 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6454 * MAINTAINERS: Add myself as a write-after-approval maintainer.
6456 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
6458 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
6459 gdb_exception" declaration.
6460 * remote.c (getpkt_or_notif_sane): Likewise.
6462 2014-01-17 Doug Evans <dje@google.com>
6464 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
6465 function, contents of dirnames_to_char_ptr_vec_append moved here.
6466 (delim_string_to_char_ptr_vec): New function.
6467 (dirnames_to_char_ptr_vec_append): Rewrite.
6468 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
6470 2014-01-17 Doug Evans <dje@google.com>
6472 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
6474 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
6475 #include "common-utils.h".
6476 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
6477 * common/vec.h (VEC_ASSERT_PASS): Update.
6478 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
6479 (MACH_CHECK_ERROR): Update.
6481 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
6483 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
6485 * gdbarch.h: Regenerate.
6487 2014-01-16 Tom Tromey <tromey@redhat.com>
6489 * value.c (struct value) <regnum>: Move earlier.
6491 2014-01-16 Tom Tromey <tromey@redhat.com>
6493 * remote.c (extended_remote_create_inferior): Rename from
6494 extended_remote_create_inferior_1. Add "ops" argument. Remove
6497 2014-01-16 Pedro Alves <palves@redhat.com>
6499 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
6500 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
6503 2014-01-16 Doug Evans <dje@google.com>
6505 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
6507 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6509 * btrace.h (btrace_thread_flag): New.
6510 (struct btrace_thread_info) <flags>: New.
6511 * record-btrace.c (record_btrace_resume_thread)
6512 (record_btrace_find_thread_to_move, btrace_step_no_history)
6513 (btrace_step_stopped, record_btrace_start_replaying)
6514 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
6515 (record_btrace_find_resume_thread): New.
6516 (record_btrace_resume, record_btrace_wait): Extend.
6517 (record_btrace_can_execute_reverse): New.
6518 (record_btrace_open): Fail in non-stop mode.
6519 (record_btrace_set_replay): Split into this, ...
6520 (record_btrace_stop_replaying): ... this, ...
6521 (record_btrace_clear_histories): ... and this.
6522 (init_record_btrace_ops): Init to_can_execute_reverse.
6523 * NEWS: Announce it.
6525 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6527 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
6528 (forward_target_decr_pc_after_break)
6529 (target_decr_pc_after_break): New.
6530 * target.c (forward_target_decr_pc_after_break)
6531 (target_decr_pc_after_break): New.
6532 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
6533 instead of gdbarch_decr_pc_after_break.
6534 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6535 instead of gdbarch_decr_pc_after_break.
6536 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
6537 instead of gdbarch_decr_pc_after_break.
6538 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6539 instead of gdbarch_decr_pc_after_break.
6540 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
6541 instead of gdbarch_decr_pc_after_break.
6542 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
6543 instead of gdbarch_decr_pc_after_break.
6545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6547 * btrace.c: Include regcache.h.
6548 (btrace_add_pc): New.
6549 (btrace_enable): Call btrace_add_pc.
6550 (btrace_is_empty): New.
6551 * btrace.h (btrace_is_empty): New.
6552 * record-btrace.c (require_btrace, record_btrace_info): Call
6555 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6557 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
6558 Support delta reads.
6559 (linux_disable_btrace): Change return type.
6560 * common/linux-btrace.h (linux_read_btrace): Change parameters
6561 and return type to allow error reporting. Update users.
6562 (linux_disable_btrace): Change return type. Update users.
6563 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
6565 (btrace_error): New.
6566 (btrace_block) <begin>: Comment on BEGIN == 0.
6567 * btrace.c (btrace_compute_ftrace): Start from the end of
6569 (btrace_stitch_trace, btrace_clear_history): New.
6570 (btrace_fetch): Read delta trace, return if replaying.
6571 (btrace_clear): Move clear history code to btrace_clear_history.
6572 (parse_xml_btrace): Throw an error if parsing failed.
6573 * target.h (struct target_ops) <to_read_btrace>: Change parameters
6574 and return type to allow error reporting.
6575 (target_read_btrace): Change parameters and return type to allow
6577 * target.c (target_read_btrace): Update.
6578 * remote.c (remote_read_btrace): Support delta reads. Pass
6580 * NEWS: Announce it.
6582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6584 * record.h (record_btrace_frame_unwind)
6585 (record_btrace_tailcall_frame_unwind): New declarations.
6586 * dwarf2-frame: Include record.h
6587 (dwarf2_frame_cfa): Throw an error for btrace frames.
6588 * record-btrace.c: Include hashtab.h.
6589 (btrace_get_bfun_name): New.
6590 (btrace_call_history): Call btrace_get_bfun_name.
6591 (struct btrace_frame_cache): New.
6593 (bfcache_hash, bfcache_eq, bfcache_new): New.
6594 (btrace_get_frame_function): New.
6595 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
6596 (record_btrace_frame_this_id): Compute own id.
6597 (record_btrace_frame_prev_register): Provide PC, throw_error
6598 for all other registers.
6599 (record_btrace_frame_sniffer): Detect btrace frames.
6600 (record_btrace_tailcall_frame_sniffer): New.
6601 (record_btrace_frame_dealloc_cache): New.
6602 (record_btrace_frame_unwind): Add new functions.
6603 (record_btrace_tailcall_frame_unwind): New.
6604 (_initialize_record_btrace): Allocate cache.
6605 * btrace.c (btrace_clear): Call reinit_frame_cache.
6606 * NEWS: Announce it.
6608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6610 * record-btrace.c (record_btrace_set_replay)
6611 (record_btrace_goto_begin, record_btrace_goto_end)
6612 (record_btrace_goto): New.
6613 (init_record_btrace_ops): Initialize them.
6614 * NEWS: Announce it.
6616 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6618 * record-btrace.c (record_btrace_find_new_threads)
6619 (record_btrace_thread_alive): New.
6620 (init_record_btrace_ops): Initialize to_find_new_threads and
6623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6625 * record-btrace.c (record_btrace_resume): New.
6626 (record_btrace_wait): New.
6627 (init_record_btrace_ops): Initialize to_wait and to_resume.
6629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6631 * record-btrace.c (record_btrace_xfer_partial)
6632 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
6633 (record_btrace_allow_memory_access): New.
6634 (init_record_btrace_ops): Initialize new methods.
6635 * target.c (raw_memory_xfer_partial): Bail out if target reports
6636 that this memory is not available.
6638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6640 * target.h (target_ops) <to_insert_breakpoint>
6641 <to_remove_breakpoint>: Add target_ops parameter.
6642 (forward_target_insert_breakpoint): New.
6643 (forward_target_remove_breakpoint): New.
6644 (memory_remove_breakpoint, memory_insert_breakpoint):
6645 Add target_ops parameter.
6646 * target.c (target_insert_breakpoint): Split into this and ...
6647 (forward_target_insert_breakpoint): ... this.
6648 (target_remove_breakpoint): Split into this and ...
6649 (forward_target_remove_breakpoint): ... this.
6650 (debug_to_insert_breakpoint): Add target_ops parameter.
6651 Call forward_target_insert_breakpoint.
6652 (debug_to_remove_breakpoint): Add target_ops parameter.
6653 Call forward_target_remove_breakpoint.
6654 (update_current_target): Do not inherit or default to_insert_breakpoint
6655 and to_remove_breakpoint.
6656 * corelow.c (ignore): Add target_ops parameter.
6657 * exec.c (ignore): Add target_ops parameter.
6658 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
6659 Add target_ops parameter.
6660 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
6661 Add target_ops parameter.
6662 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
6663 Add target_ops parameter.
6664 * record-full.c (record_full_beneath_to_insert_breakpoint)
6665 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
6666 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
6667 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6668 (record_full_core_remove_breakpoint): Add target_ops parameter.
6670 (record_full_beneath_to_insert_breakpoint_ops)
6671 (record_full_beneath_to_remove_breakpoint_ops)
6672 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6673 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6674 tmp_to_remove_breakpoint_ops,
6675 record_full_beneath_to_insert_breakpoint_ops, and
6676 record_full_beneath_to_remove_breakpoint_ops.
6677 * remote-m32r-sdi.c (m32r_insert_breakpoint)
6678 (m32r_remove_breakpoint): Add target_ops parameter.
6679 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6680 Add target_ops parameter.
6681 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6682 Add target_ops parameter.
6684 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6685 Markus Metzger <markus.t.metzger@intel.com>
6687 * record-btrace.c: Include frame-unwind.h.
6688 (record_btrace_frame_unwind_stop_reason)
6689 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6690 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6692 (init_record_btrace_ops): Install it.
6694 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6696 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6699 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6701 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6704 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6706 * frame-unwind.c: Include target.h.
6707 (frame_unwind_try_unwinder): New function with code from ...
6708 (frame_unwind_find_by_frame): ... here. New variable
6709 unwinder_from_target, call also target_get_unwinder)
6710 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6711 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6712 * target.h (struct target_ops): New fields to_get_unwinder and
6713 to_get_tailcall_unwinder.
6714 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6716 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6718 * record-btrace.c (record_btrace_fetch_registers)
6719 (record_btrace_store_registers)
6720 (record_btrace_to_prepare_to_store): New.
6721 (init_record_btrace_ops): Add the above.
6723 2014-01-16 Tom Tromey <tromey@redhat.com>
6725 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6726 * target.h (struct target_ops) <to_prepare_to_store>: Add
6728 (target_prepare_to_store): Add argument.
6729 * target.c (debug_to_prepare_to_store): Add argument.
6730 (update_current_target): Update.
6731 * remote.c (remote_prepare_to_store): Add 'self' argument.
6732 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6733 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6734 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6735 * record-full.c (record_full_core_prepare_to_store): Add 'self'
6737 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6738 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6739 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6740 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6741 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6745 * btrace.h (replay) <replay>: New.
6746 (btrace_is_replaying): New.
6747 * btrace.c (btrace_clear): Free replay iterator.
6748 (btrace_is_replaying): New.
6749 * record-btrace.c (record_btrace_is_replaying): New.
6750 (record_btrace_info): Print insn number if replaying.
6751 (record_btrace_insn_history): Start at replay position.
6752 (record_btrace_call_history): Start at replay position.
6753 (init_record_btrace_ops): Init to_record_is_replaying.
6755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6757 * record-btrace.c (record_btrace_insn_history_range): Include
6759 (record_btrace_insn_history_from): Adjust range.
6760 (record_btrace_call_history_range): Include
6762 (record_btrace_call_history_from): Adjust range.
6763 * NEWS: Announce changes.
6765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6767 * record.h (enum record_print_flag)
6768 <record_print_indent_calls>: New.
6769 * record.c (get_call_history_modifiers): Recognize /c modifier.
6770 (_initialize_record): Document /c modifier.
6771 * record-btrace.c (btrace_call_history): Add btinfo parameter.
6772 Reorder fields. Optionally indent the function name. Update
6774 * NEWS: Announce changes.
6776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6778 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6780 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6782 * btrace.c (ftrace_new_function): Start counting at one.
6783 * record-btrace.c (record_btrace_info): Adjust number of calls
6785 * NEWS: Announce it.
6787 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6789 * record-btrace.c (btrace_call_history_insn_range): Print
6790 insn range as [begin, end].
6792 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6794 * btrace.h (struct btrace_func_link): New.
6795 (enum btrace_function_flag): New.
6796 (struct btrace_inst): Rename to ...
6797 (struct btrace_insn): ...this. Update all users.
6798 (struct btrace_func) <ibegin, iend>: Remove.
6799 (struct btrace_func_link): New.
6800 (struct btrace_func): Rename to ...
6801 (struct btrace_function): ...this. Update all users.
6802 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6803 (number, level, flags>: New.
6804 (struct btrace_insn_iterator): Rename to ...
6805 (struct btrace_insn_history): ...this.
6807 (struct btrace_insn_iterator, btrace_call_iterator): New.
6808 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6809 (struct btrace_target_info) <begin, end, level>
6810 <insn_history, call_history>: New.
6811 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6812 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6813 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6814 (btrace_call_number, btrace_call_begin, btrace_call_end)
6815 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6816 (btrace_find_function_by_number, btrace_set_insn_history)
6817 (btrace_set_call_history): New.
6818 * btrace.c (btrace_init_insn_iterator)
6819 (btrace_init_func_iterator, compute_itrace): Remove.
6820 (ftrace_print_function_name, ftrace_print_filename)
6821 (ftrace_skip_file): Change
6823 (ftrace_init_func): Remove.
6824 (ftrace_debug): Use new btrace_function fields.
6825 (ftrace_function_switched): Also consider gaining and
6826 losing symbol information).
6827 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6828 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6829 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6831 (ftrace_new_function): Move. Remove debug print.
6832 (ftrace_update_lines, ftrace_update_insns): New.
6833 (ftrace_update_function): Check for call, ret, and jump.
6834 (compute_ftrace): Renamed to ...
6835 (btrace_compute_ftrace): ...this. Rewritten to compute call
6837 (btrace_fetch, btrace_clear): Updated.
6838 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6839 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6840 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6841 (btrace_call_number, btrace_call_begin, btrace_call_end)
6842 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6843 (btrace_find_function_by_number, btrace_set_insn_history)
6844 (btrace_set_call_history): New.
6845 * record-btrace.c (require_btrace): Use new btrace thread
6847 (record_btrace_info, btrace_insn_history)
6848 (record_btrace_insn_history, record_btrace_insn_history_range):
6849 Use new btrace thread info fields and new iterator.
6850 (btrace_func_history_src_line): Rename to ...
6851 (btrace_call_history_src_line): ...this. Use new btrace
6853 (btrace_func_history): Rename to ...
6854 (btrace_call_history): ...this. Use new btrace thread info
6855 fields and new iterator.
6856 (record_btrace_call_history, record_btrace_call_history_range):
6857 Use new btrace thread info fields and new iterator.
6859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6861 * frame.h (frame_id_build_unavailable_stack_special): New.
6862 * frame.c (frame_id_build_unavailable_stack_special): New.
6864 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6866 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6867 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6868 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6870 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6871 (i386_insn_is_jump, i386_jmp_p): New.
6872 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6873 insn_is_jump to gdbarch.
6874 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6875 * gdbarch.h: Regenerated.
6876 * gdbarch.c: Regenerated.
6877 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6878 (default_insn_is_jump): New.
6879 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6880 (default_insn_is_jump): New.
6882 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6884 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6886 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6887 (btrace_read_type) <btrace_read_new>: Change to ...
6888 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6892 * common/linux-btrace.c (linux_read_btrace): Free trace from
6895 2014-01-15 Doug Evans <dje@google.com>
6897 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6900 2014-01-15 Tom Tromey <tromey@redhat.com>
6902 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6903 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6904 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6905 (set_objfile_main_name): New function.
6906 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6907 language_of_main>: New fields.
6908 (set_objfile_main_name): Declare.
6909 * symtab.c (find_main_name): Loop over objfiles to find the main
6911 (set_main_name): Now static.
6912 (get_main_info): Add comment.
6913 * symtab.h (set_main_name): Don't declare.
6915 2014-01-15 Tom Tromey <tromey@redhat.com>
6917 * symtab.c (main_progspace_key): New global.
6918 (struct main_info): New.
6919 (name_of_main, language_of_main): Remove.
6920 (get_main_info, main_info_cleanup): New function.
6921 (set_main_name, main_name, main_language): Use get_main_info.
6922 (_initialize_symtab): Initialize main_progspace_key.
6924 2014-01-15 Tom Tromey <tromey@redhat.com>
6926 * dbxread.c (process_one_symbol): Update.
6927 * dwarf2read.c (read_partial_die): Update.
6928 * symfile.c (set_initial_language): Call main_language.
6929 * symtab.c (language_of_main): Now static.
6930 (set_main_name): Add 'lang' parameter.
6931 (find_main_name): Update.
6932 (main_language): New function.
6933 (symtab_observer_executable_changed): Update.
6934 * symtab.h (set_main_name): Update.
6935 (language_of_main): Remove.
6936 (main_language): Declare.
6938 2014-01-15 Tom Tromey <tromey@redhat.com>
6940 * symfile.c (init_entry_point_info): Use new "initialized" field.
6942 * objfiles.h (struct entry_point) <initialized>: New field.
6943 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6944 (struct objfile) <ei>: ...here. Remove.
6945 * objfiles.c (entry_point_address_query): Update.
6947 2014-01-15 Tom Tromey <tromey@redhat.com>
6949 * objfiles.c (entry_point_address_query): Relocate entry point
6951 (objfile_relocate1): Do not relocate entry point address.
6952 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6953 <the_bfd_section_index>: New field.
6954 * symfile.c (init_entry_point_info): Find the entry point's
6957 2014-01-15 Tom Tromey <tromey@redhat.com>
6959 * solib-frv.c (enable_break): Use entry_point_address_query.
6961 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6963 * NEWS: Add note on improved process record-replay on
6964 arm*-linux* targets.
6966 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6968 * arm-tdep.c (enum arm_record_result): New enum.
6969 (arm_record_unsupported_insn): New function.
6970 (arm_record_coproc_data_proc): Removed.
6971 (thumb2_record_ld_st_multiple): New function.
6972 (thumb2_record_ld_st_dual_ex_tbb): New function.
6973 (thumb2_record_data_proc_sreg_mimm): New function.
6974 (thumb2_record_ps_dest_generic): New function.
6975 (thumb2_record_branch_misc_cntrl): New function.
6976 (thumb2_record_str_single_data): New function.
6977 (thumb2_record_ld_mem_hints): New function.
6978 (thumb2_record_ld_word): New function.
6979 (thumb2_record_lmul_lmla_div): New function.
6980 (thumb2_record_decode_insn_handler): New function.
6981 (decode_insn): Add thumb32 instruction handlers.
6983 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6985 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6986 (struct arm_linux_record_tdep): Declare.
6987 (arm_canonicalize_syscall): New function.
6988 (arm_all_but_pc_registers_record): New function.
6989 (arm_linux_syscall_record): New function.
6990 (arm_linux_init_abi): Add syscall recording constructs.
6991 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6992 decoding. (arm_record_coproc_data_proc): Update arm syscall
6994 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6995 <arm_syscall_record>: New field.
6996 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6999 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7001 * arm-tdep.c (thumb_record_misc): Update to use sp as base
7002 register for push instruction recording.
7004 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7006 * arm-tdep.c (thumb_record_misc): Update to correct logical
7007 error while recording ldm, ldmia and pop instructions.
7009 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7011 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
7013 2014-01-15 Pedro Alves <palves@redhat.com>
7015 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
7016 (go32_resume, go32_fetch_registers, store_register)
7017 (go32_store_registers, go32_prepare_to_store)
7018 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
7019 (go32_create_inferior, go32_can_run, go32_terminal_init)
7020 (go32_terminal_inferior, go32_terminal_ours): Delete forward
7023 2014-01-15 Tom Tromey <tromey@redhat.com>
7025 * target.h (async_callback_ftype): New typedef.
7026 (struct target_ops) <to_async>: Use it.
7028 2014-01-15 Joel Brobecker <brobecker@adacore.com>
7030 * python/py-value.c (get_field_type): Remove unnecessary curly
7031 braces for single-statement if block.
7033 2014-01-15 Joel Brobecker <brobecker@adacore.com>
7035 * python/py-type.c (convert_field): Add missing empty line
7038 2014-01-14 Doug Evans <dje@google.com>
7040 * symfile.h (expand_symtabs_matching): Renamed from
7041 expand_partial_symbol_names. Update prototype.
7042 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7043 * symfile.c (expand_symtabs_matching): Renamed from
7044 expand_partial_symbol_names. New args file_matcher, kind.
7045 Rename arg fun to symbol_matcher.
7046 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7047 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
7048 ada_expand_partial_symbol_name.
7049 (ada_make_symbol_completion_list): Update to call
7050 expand_symtabs_matching.
7051 (ada_add_global_exceptions): Call expand_symtabs_matching.
7052 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
7053 call map_symbol_filenames.
7054 * symtab.c (sources_info): Update to call map_symbol_filenames.
7055 (search_symbols): Call expand_symtabs_matching.
7056 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
7057 (default_make_symbol_completion_list_break_on): Update to call
7058 expand_symtabs_matching.
7059 (make_source_files_completion_list): Update to call
7060 map_symbol_filenames.
7062 2014-01-14 Doug Evans <dje@google.com>
7064 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
7065 (expand_symtabs_symbol_matcher_ftype): New typedef.
7066 (quick_symbol_functions.expand_symtabs_matching): Update to use.
7067 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7068 * symfile.c (expand_partial_symbol_names): Update to use
7069 expand_symtabs_symbol_matcher_ftype.
7070 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
7071 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7072 Arg name_matcher renamed to symbol_matcher.
7073 * psymtab.c (recursively_search_psymtabs): Update to use
7074 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
7076 (expand_symtabs_matching_via_partial): Update to use
7077 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7078 Arg name_matcher renamed to symbol_matcher.
7080 2014-01-14 Doug Evans <dje@google.com>
7082 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
7083 (map_partial_symbol_filenames): Ditto.
7084 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
7085 (map_partial_symbol_filenames): Ditto.
7086 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
7087 (map_partial_symbol_filenames): Ditto.
7088 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
7089 (map_partial_symbol_filenames): Ditto.
7090 * symtab.c: Delete #include "psymtab.h".
7092 2014-01-14 Pedro Alves <palves@redhat.com>
7093 Tom Tromey <tromey@redhat.com>
7095 * infrun.c (use_displaced_stepping): Use find_record_target
7096 instead of RECORD_IS_USED.
7097 (adjust_pc_after_break): Use record_full_is_used instead of
7099 * record-btrace.c (record_btrace_open): Call record_preopen
7100 instead of checking RECORD_IS_USED.
7101 * record-full.c (record_full_shortname)
7102 (record_full_core_shortname): New globals.
7103 (record_full_is_used): New function.
7104 (find_full_open): Call record_preopen instead of checking
7106 (init_record_full_ops): Set the target's shortname to
7107 record_full_shortname.
7108 (init_record_full_core_ops): Set the target's shortname to
7109 record_full_core_shortname.
7110 * record-full.h (record_full_is_used): Declare.
7111 * record.c (find_record_target): Make extern.
7112 (record_preopen): New function.
7113 * record.h (RECORD_IS_USED): Delete macro.
7114 (find_record_target, record_preopen): Declare functions.
7116 2014-01-14 Yao Qi <yao@codesourcery.com>
7118 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
7119 'len''s type to ULONGEST.
7120 (core_xfer_shared_libraries_aix): Likewise.
7121 * gdbarch.c, gdbarch.h: Regenerated.
7122 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
7123 Change type of 'len' to ULONGEST.
7124 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7125 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
7127 2014-01-14 Yao Qi <yao@codesourcery.com>
7129 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
7130 type of 'len' to ULONGEST.
7131 (linux_xfer_osdata_processgroups): Likewise.
7132 (linux_xfer_osdata_threads): Likewise.
7133 (linux_xfer_osdata_fds): Likewise.
7134 (linux_xfer_osdata_isockets): Likewise.
7135 (linux_xfer_osdata_shm): Likewise.
7136 (linux_xfer_osdata_sem): Likewise.
7137 (linux_xfer_osdata_msg): Likewise.
7138 (linux_common_xfer_osdata): Likewise.
7139 (struct osdata_type) <getter>: Likewise.
7140 * common/linux-osdata.h (linux_common_xfer_osdata): Update
7143 2014-01-14 Yao Qi <yao@codesourcery.com>
7145 * target.h (target_xfer_partial_ftype): Update.
7146 (struct target_ops) <to_xfer_partial>: Change 'len' type to
7148 * aix-thread.c (aix_thread_xfer_partial): Change type of
7149 argument 'len' to ULONGEST.
7150 * auxv.c (procfs_xfer_auxv): Likewise.
7151 (ld_so_xfer_auxv): Likewise.
7152 (memory_xfer_auxv): Likewise.
7153 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7154 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7155 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7156 * corelow.c (core_xfer_partial): Likewise.
7157 * ctf.c (ctf_xfer_partial): Likewise.
7158 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
7160 (darwin_read_dyld_info): Likewise.
7161 (darwin_xfer_partial): Likewise.
7162 * exec.c (section_table_xfer_memory_partial): Likewise.
7163 (exec_xfer_partial): Likewise.
7164 * exec.h (section_table_xfer_memory_partial): Update
7166 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
7167 instead of plongest.
7168 (gnu_xfer_partial): Likewise.
7169 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
7170 (ia64_hpux_xfer_solib_got): Likewise.
7171 (ia64_hpux_xfer_partial): Likewise.
7172 * ia64-linux-nat.c (ia64_linux_xfer_partial):
7173 * inf-ptrace.c (inf_ptrace_xfer_partial):
7174 * inf-ttrace.c (inf_ttrace_xfer_partial):
7175 * linux-nat.c (linux_xfer_siginfo): Likewise.
7176 (linux_nat_xfer_partial): Likewise.
7177 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
7178 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
7179 * monitor.c (monitor_xfer_memory): Likewise.
7180 (monitor_xfer_partial): Likewise.
7181 * procfs.c (procfs_xfer_partial): Likewise.
7182 * record-full.c (record_full_xfer_partial): Likewise.
7183 (record_full_core_xfer_partial): Likewise.
7184 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
7185 instead of plongest.
7186 (gdbsim_xfer_partial): Likewise.
7187 * remote.c (remote_xfer_partial): Likewise.
7188 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7189 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7191 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7192 (rs6000_xfer_shared_libraries): Likewise.
7193 * sol-thread.c (sol_thread_xfer_partial): Likewise.
7194 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7195 (sparc_xfer_partial): Likewise.
7196 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7197 (spu_xfer_partial): Likewise.
7198 * spu-multiarch.c (spu_xfer_partial): Likewise.
7199 * target.c (target_read_live_memory): Likewise.
7200 (memory_xfer_live_readonly_partial): Likewise.
7201 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
7202 (target_xfer_partial, default_xfer_partial): Likewise.
7203 (current_xfer_partial): Likewise.
7204 * tracepoint.c (tfile_xfer_partial): Likewise.
7205 * windows-nat.c (windows_xfer_memory): Likewise. Call
7206 pulongest instead of plongest.
7207 (windows_xfer_partial): Likewise.
7208 (windows_xfer_shared_libraries): Likewise.
7210 2014-01-14 Yao Qi <yao@codesourcery.com>
7212 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
7213 target_xfer_partial_ftype.
7215 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7219 * valops.c (value_struct_elt_bitpos): New function
7220 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
7221 object to 'None' if the field name is an empty string ("").
7222 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
7223 attribute to look for a field when 'name' is 'None'.
7224 (get_field_type): New function
7226 2014-01-13 Doug Evans <dje@google.com>
7229 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
7230 (try_open_dwop_file): Ditto.
7231 * gdb_bfd.c: #include "vec.h".
7232 (bfdp): New typedef.
7233 (struct gdb_bfd_data): New member included_bfds.
7234 (gdb_bfd_unref): Unref all included bfds.
7235 (gdb_bfd_record_inclusion): New function.
7236 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
7238 2014-01-13 Tom Tromey <tromey@redhat.com>
7240 * gdbcore.h (deprecated_core_resize_section_table): Remove.
7242 2014-01-13 Tom Tromey <tromey@redhat.com>
7244 * defs.h (use_windows): Remove.
7245 * gdb.c (main): Update.
7246 * main.c (captured_main, gdb_main): Update.
7247 * main.h (struct captured_main_args) <use_windows>: Remove.
7248 * top.c (use_windows): Remove.
7250 2014-01-13 Tom Tromey <tromey@redhat.com>
7252 * defs.h (deprecated_flush_hook): Remove.
7254 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7257 * linux-thread-db.c (try_thread_db_load): Add parameter
7258 check_auto_load_safe. Move here the file_is_auto_load_safe call.
7259 (try_thread_db_load_from_pdir_1): Move it there from here.
7260 (try_thread_db_load_from_sdir): Update caller.
7261 (try_thread_db_load_from_dir): Move it there from here.
7263 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
7265 * regformats/regdat.sh: Always rewrite the register file.
7267 2014-01-13 Pedro Alves <palves@redhat.com>
7269 * Makefile.in (CHECK_HEADERS): New variable.
7270 (check-headers:): New rule.
7272 2014-01-13 Tom Tromey <tromey@redhat.com>
7274 * cli/cli-setshow.c (do_set_command): Update.
7275 * defs.h (deprecated_set_hook): Remove.
7276 * top.c (deprecated_set_hook): Remove.
7278 2014-01-13 Pedro Alves <palves@redhat.com>
7280 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
7281 the tracepoint if the PC is a pseudo-register.
7283 2014-01-13 Tom Tromey <tromey@redhat.com>
7285 * defs.h (XCALLOC): Remove.
7286 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
7287 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
7288 * dwarf2loc.c (allocate_piece_closure): Likewise.
7289 * elfread.c (elf_symfile_segments): Likewise.
7290 (elf_symfile_segments): Likewise.
7291 * gdbtypes.c (copy_type_recursive): Likewise.
7292 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
7293 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
7294 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
7296 * mt-tdep.c (mt_gdbarch_init): Likewise.
7297 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
7299 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
7300 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
7301 * registry.c (registry_alloc_data): Likewise.
7302 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
7303 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
7304 * serial.c (serial_fdopen_ops): Likewise.
7305 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
7307 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
7308 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
7311 2014-01-13 Tom Tromey <tromey@redhat.com>
7313 * defs.h (XMALLOC): Remove.
7314 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
7315 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
7316 * cli-out.c (struct ui_out *): Likewise.
7317 * cli/cli-dump.c (add_dump_command): Likewise.
7318 (add_dump_command): Likewise.
7319 * complaints.c (get_complaints): Likewise.
7320 (find_complaint): Likewise.
7321 * dwarf2-frame.c (execute_cfa_program): Likewise.
7322 * dwarf2read.c (abbrev_table_read_table): Likewise.
7323 * gdbarch.sh: Likewise.
7324 * gdbarch.c: Rebuild.
7325 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
7326 * interps.c (interp_new): Likewise.
7327 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
7328 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
7329 * mi/mi-console.c (mi_console_file_new): Likewise.
7330 * mi/mi-interp.c (mi_interpreter_init): Likewise.
7331 * mi/mi-out.c (mi_out_new): Likewise.
7332 * mi/mi-parse.c (mi_parse): Likewise.
7333 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
7334 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
7335 * observer.c (xalloc_observer_list_node): Likewise.
7336 * regcache.c (regcache_xmalloc_1): Likewise.
7337 * reggroups.c (reggroup_new): Likewise.
7338 (_initialize_reggroup): Likewise.
7339 * registry.c (register_data_with_cleanup): Likewise.
7340 * remote.c (remote_notif_stop_alloc_reply): Likewise.
7341 * ser-base.c (serial_ttystate): Likewise.
7342 * ser-mingw.c (make_pipe_state): Likewise.
7343 * ser-pipe.c (pipe_open): Likewise.
7344 * serial.c (serial_open): Likewise.
7345 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
7346 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
7347 (tui_alloc_win_info): Likewise.
7348 (tui_add_content_elements): Likewise.
7349 * tui/tui-file.c (tui_file_new): Likewise.
7350 * tui/tui-out.c (tui_out_new): Likewise.
7351 * ui-file.c (mem_file_new): Likewise.
7352 * ui-out.c (push_level): Likewise.
7353 (make_cleanup_ui_out_end): Likewise.
7354 (append_header_to_list): Likewise.
7355 (ui_out_new): Likewise.
7356 * user-regs.c (user_reg_add_builtin): Likewise.
7358 2014-01-13 Tom Tromey <tromey@redhat.com>
7360 * defs.h (XZALLOC): Remove.
7361 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
7362 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
7363 (get_ada_tasks_inferior_data): Likewise.
7364 * auto-load.c (get_auto_load_pspace_data): Likewise.
7365 * auxv.c (get_auxv_inferior_data): Likewise.
7366 * bfd-target.c (target_bfd_reopen): Likewise.
7367 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
7368 (deprecated_insert_raw_breakpoint): Likewise.
7369 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
7370 * corelow.c (core_open): Likewise.
7371 * darwin-nat.c (darwin_check_new_threads): Likewise.
7372 (darwin_attach_pid): Likewise.
7373 * dummy-frame.c (dummy_frame_push): Likewise.
7374 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
7375 * dwarf2loc.c (allocate_piece_closure): Likewise.
7376 * elfread.c (elf_symfile_segments): Likewise.
7377 * eval.c (ptrmath_type_p): Likewise.
7378 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
7379 * gdbtypes.c (alloc_type_arch): Likewise.
7380 (alloc_type_instance): Likewise.
7381 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
7382 * inf-child.c (inf_child_can_use_agent): Likewise.
7383 * inflow.c (get_inflow_inferior_data): Likewise.
7384 * infrun.c (save_infcall_suspend_state): Likewise.
7385 * jit.c (jit_reader_load): Likewise.
7386 (get_jit_objfile_data): Likewise.
7387 (get_jit_program_space_data): Likewise.
7388 (jit_object_open_impl): Likewise.
7389 (jit_symtab_open_impl): Likewise.
7390 (jit_block_open_impl): Likewise.
7391 (jit_frame_sniffer): Likewise.
7392 * linux-fork.c (add_fork): Likewise.
7393 * maint.c (make_command_stats_cleanup): Likewise.
7394 * objfiles.c (get_objfile_pspace_data): Likewise.
7395 * opencl-lang.c (struct lval_closure): Likewise.
7396 * osdata.c (osdata_start_osdata): Likewise.
7397 * progspace.c (new_address_space): Likewise.
7398 (add_program_space): Likewise.
7399 * remote-sim.c (get_sim_inferior_data): Likewise.
7400 * sh-tdep.c (sh_gdbarch_init): Likewise.
7401 * skip.c (Ignore): Likewise.
7402 (skip_delete_command): Likewise.
7403 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
7404 (library_list_start_library): Likewise.
7405 (solib_aix_current_sos): Likewise.
7406 * solib-darwin.c (get_darwin_info): Likewise.
7407 (darwin_current_sos): Likewise.
7408 * solib-dsbt.c (get_dsbt_info): Likewise.
7409 * solib-ia64-hpux.c (new_so_list): Likewise.
7410 (ia64_hpux_get_solib_linkage_addr): Likewise.
7411 * solib-spu.c (append_ocl_sos): Likewise.
7412 (spu_current_sos): Likewise.
7413 * solib-svr4.c (get_svr4_info): Likewise.
7414 (svr4_keep_data_in_core): Likewise.
7415 (library_list_start_library): Likewise.
7416 (svr4_default_sos): Likewise.
7417 (svr4_read_so_list): Likewise.
7418 * solib-target.c (library_list_start_library): Likewise.
7419 (solib_target_current_sos): Likewise.
7420 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
7421 * symfile-debug.c (install_symfile_debug_logging): Likewise.
7422 * symfile.c (default_symfile_segments): Likewise.
7423 * target-descriptions.c (tdesc_data_init): Likewise.
7424 (tdesc_create_reg): Likewise.
7425 (struct tdesc_type *): Likewise.
7426 (tdesc_create_vector): Likewise.
7427 (tdesc_set_struct_size): Likewise.
7428 (struct tdesc_type *): Likewise.
7429 (tdesc_free_feature): Likewise.
7430 (tdesc_create_feature): Likewise.
7431 * windows-nat.c (windows_add_thread): Likewise.
7432 (windows_make_so): Likewise.
7433 * xml-support.c (gdb_xml_body_text): Likewise.
7434 (gdb_xml_create_parser_and_cleanup): Likewise.
7435 (xml_process_xincludes): Likewise.
7436 * xml-syscall.c (allocate_syscalls_info): Likewise.
7437 (syscall_create_syscall_desc): Likewise.
7439 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
7441 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
7442 function, with code from i386_stap_parse_special_token.
7443 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7444 (i386_stap_parse_special_token): Move code to the two functions
7447 2014-01-09 Pedro Alves <palves@redhat.com>
7448 Hui Zhu <hui@codesourcery.com>
7451 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
7452 bp_err_string. Don't mark the location shlib_disabled if the
7453 error thrown wasn't a generic or memory error. Catch errors
7454 thrown while inserting breakpoints in overlayed code. Output
7455 error message of software breakpoints.
7456 * remote.c (remote_insert_breakpoint): If this breakpoint has
7457 target-side commands but this stub doesn't support Z0 packets,
7458 throw NOT_SUPPORTED_ERROR error.
7459 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
7460 * target.h (target_insert_breakpoint): Extend comment.
7461 (target_insert_hw_breakpoint): Add comment.
7463 2014-01-08 Pedro Alves <palves@redhat.com>
7465 * remote.c (remote_add_thread): Add threads silently if starting
7467 (remote_notice_new_inferior): If in all-stop, and starting up,
7468 don't call notice_new_inferior.
7469 (get_current_thread): New function, factored out from ...
7470 (add_current_inferior_and_thread): ... this. Adjust.
7471 (remote_start_remote) <all-stop>: Fetch the thread list. If we
7472 found any thread, then select the remote's current thread as GDB's
7475 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7477 * NEWS: Create a new section for the next release branch.
7478 Rename the section of the current branch, now that it has
7481 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7483 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
7484 * version.in: Bump version to 7.7.50.DATE-cvs.
7486 2014-01-08 Yao Qi <yao@codesourcery.com>
7488 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
7489 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
7490 (spu_xfer_partial): Cast 'buf' to 'const char *'.
7492 2014-01-08 Yao Qi <yao@codesourcery.com>
7494 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
7495 return value of bfd_get_filename to symbol_file_add_from_bfd.
7497 2014-01-08 Pierre Muller <muller@sourceware.org>
7500 * coff-pe-read.c (struct read_pe_section_data): Add index field.
7501 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
7502 to prim_record_mininal_symbol_and_info.
7503 (add_pe_forwarded_sym): Use known section number of forwarded symbol
7504 in call to prim_record_minimal_symbol_and_info.
7505 (read_pe_exported_syms): Set index field of section_data.
7507 2014-01-07 Andrew Pinski <apinski@cavium.com>
7509 * features/aarch64-core.xml (cpsr): Change to be 64bit.
7510 * features/aarch64.c: Regenerate.
7512 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
7514 * target.c (return_null): Define.
7515 (update_current_target): Use it instead of return_zero for
7516 functions that return a pointer.
7518 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7520 * source.c (add_path): Fix check for duplicated paths in the previously
7523 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
7525 * ada-lang.c: Remove duplicated include statements.
7526 * alphabsd-nat.c: Ditto.
7527 * amd64-darwin-tdep.c: Ditto.
7528 * amd64fbsd-nat.c: Ditto.
7529 * auto-load.c: Ditto.
7531 * breakpoint.c: Ditto.
7533 * fork-child.c: Ditto.
7534 * gdb_usleep.c: Ditto.
7535 * i386-darwin-tdep.c: Ditto.
7536 * i386fbsd-nat.c: Ditto.
7538 * inferior.c: Ditto.
7540 * linux-nat.c: Ditto.
7541 * linux-tdep.c: Ditto.
7542 * m68kbsd-nat.c: Ditto.
7543 * m68klinux-nat.c: Ditto.
7544 * microblaze-tdep.c: Ditto.
7545 * mips-linux-tdep.c: Ditto.
7546 * mn10300-tdep.c: Ditto.
7547 * nto-tdep.c: Ditto.
7548 * opencl-lang.c: Ditto.
7550 * printcmd.c: Ditto.
7551 * regcache.c: Ditto.
7552 * remote-m32r-sdi.c: Ditto.
7556 * tilegx-linux-nat.c: Ditto.
7557 * tilegx-tdep.c: Ditto.
7558 * tracepoint.c: Ditto.
7560 * vaxbsd-nat.c: Ditto.
7561 * windows-nat.c: Ditto.
7562 * xtensa-tdep.c: Ditto.
7564 2014-01-07 Yao Qi <yao@codesourcery.com>
7566 * spu-linux-nat.c (_initialize_spu_nat): Declare.
7568 2014-01-07 Yao Qi <yao@codesourcery.com>
7569 Joel Brobecker <brobecker@adacore.com>
7571 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
7572 (pdc_write_regs): Likewise.
7573 (fetch_regs_kernel_thread): Likewise.
7574 (store_regs_kernel_thread): Likewise.
7576 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7578 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
7579 tagged type objects to their actual type.
7581 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7583 * ada-valprint.c (print_field_values): Add "language" parameter.
7584 Update calls to print_field_values and print_variant_part.
7585 Pass new parameter "language" in call to val_print instead
7586 of "current_language". Replace call to ada_val_print by call
7588 (print_variant_part): Add "language" parameter.
7589 (ada_val_print_struct_union): Update call to print_field_values.
7591 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7593 * ada-valprint.c (ui_memcpy): Delete.
7594 (ada_print_floating): Update documentation. Add empty line
7595 between between function documentation and implementation.
7596 Delete variable "buffer". Use ui_file_xstrdup in place of
7597 ui_file_put. Minor adjustments following this change.
7599 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7601 * ada-valprint.c (ada_val_print_string): New function,
7602 extracted from ada_val_print_array.
7603 (ada_val_print_array): Replace extracted code by call
7604 to ada_val_print_string followed by a return. Move
7605 "else" branch to the function's top block.
7607 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7609 * ada-valprint.c (ada_val_print_array): Move implementation
7610 down. Rename parameter "offset" and "val" into "offset_aligned"
7611 and "original_value" respectively. Add parameter "offset".
7613 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7615 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
7616 re-organizing the code. Change the "???" message printed
7617 when target type is a TYPE_CODE_UNDEF into
7618 "<ref to undefined type>".
7620 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7622 * ada-valprint.c (print_record): Delete, implementation inlined...
7623 (ada_val_print_struct_union): ... here. Remove call to
7624 ada_check_typedef in inlined implementation.
7626 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7628 * ada-valprint.c (ada_val_print_gnat_array): New function,
7629 extracted from ada_val_print_1;
7630 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
7631 (ada_val_print_flt, ada_val_print_struct_union)
7632 (ada_val_print_ref): Likewise.
7633 (ada_val_print_1): Delete variables i and elttype.
7634 Replace extracted-out code by call to corresponding
7637 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7639 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
7641 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7643 * ada-valprint.c (ada_val_print_1): Replace calls to
7644 ada_val_print_1 by calls to val_print.
7646 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7648 * ada-valprint.c (ada_val_print_1): Add parameter "language".
7649 Update calls to self accordingly. Replace calls to c_val_print
7650 by calls to val_print.
7652 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7654 * ada-valprint.c (print_record): Delete declaration.
7655 (adjust_type_signedness, ada_val_print_1): Likewise.
7656 (ada_val_print): Move function implementation down.
7657 (print_variant_part, print_field_values, print_record):
7658 Move function implementation up.
7660 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7662 * python/py-type.c (typy_get_name): New function.
7663 (type_object_getset): Add entry for attribute "name".
7664 * NEWS: Add entry mentioning this new attribute.
7666 2014-01-07 Yao Qi <yao@codesourcery.com>
7668 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7671 2014-01-07 Yao Qi <yao@codesourcery.com>
7673 * gnu-nat.c (info_port_rights): Add qualifier const to
7676 2014-01-07 Yao Qi <yao@codesourcery.com>
7678 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7680 2014-01-07 Yao Qi <yao@codesourcery.com>
7682 * gnu-nat.c (make_inf) Update declaration.
7683 (make_inf): Make it static.
7684 (inf_set_traced): Likewise.
7685 (inf_port_to_thread, inf_task_died_status): Likewise.
7687 2014-01-07 Yao Qi <yao@codesourcery.com>
7689 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7691 2014-01-07 Yao Qi <yao@codesourcery.com>
7693 * gnu-nat.c (_initialize_gnu_nat): Declare.
7695 2014-01-07 Yao Qi <yao@codesourcery.com>
7697 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7699 (struct gdbarch_info) <byte_order>: Change type to
7701 <byte_order_for_code>: Likewise.
7702 * gdbarch.c, gdbarch.h: Regenerated.
7704 2014-01-06 Sasha Smundak <asmundak@google.com>
7706 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7708 2014-01-06 Tom Tromey <tromey@redhat.com>
7710 * doublest.c (convert_doublest_to_floatformat): Use const, not
7712 * somread.c (som_symtab_read): Likewise.
7714 2014-01-07 Hui Zhu <hui@codesourcery.com>
7716 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7717 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7718 (gdb_bfd_fopen): Ditto.
7719 (gdb_bfd_openr): Ditto.
7720 (gdb_bfd_openw): Ditto.
7721 (gdb_bfd_openr_iovec): Ditto.
7722 (gdb_bfd_fdopenr): Ditto.
7723 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7724 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7726 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7728 * symfile-mem.c (symbol_file_add_from_memory): Removed
7729 gdb_bfd_stash_filename.
7731 2014-01-03 Doug Evans <dje@google.com>
7733 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7736 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7738 Update year range in copyright notice of all files.
7740 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7742 * top.c (print_gdb_version): Set copyright year to 2014.
7744 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7746 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7748 For older changes see ChangeLog-2013.
7754 version-control: never