1 2014-05-19 Doug Evans <dje@google.com>
3 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4 n_type_unit_groups, all_type_unit_groups. All uses removed.
5 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
6 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
8 (add_type_unit_group_to_table): Delete.
10 2014-05-19 Doug Evans <dje@google.com>
12 * eval.c (evaluate_subexp_standard): Add some comments.
14 2014-05-17 Doug Evans <xdje42@gmail.com>
16 * progspace.c (remove_program_space): Delete, unused.
17 * progspace.h (remove_program_space): Ditto.
19 2014-05-17 Doug Evans <xdje42@gmail.com>
21 * inferior.c (prune_inferiors): Fix comment.
22 (remove_inferior_command): Call prune_program_spaces.
24 2014-05-16 Doug Evans <dje@google.com>
26 New command line option -D.
28 * main.c (set_gdb_data_directory): New function.
29 (captured_main): Recognize -D. Flag error for --data-directory "".
30 Call set_gdb_data_directory.
31 (print_gdb_help): Print --data-directory, -D.
32 * main.h (set_gdb_data_directory): Declare.
33 * top.c (staged_gdb_datadir): New static global.
34 (set_gdb_datadir): Call set_gdb_data_directory
35 (show_gdb_datadir): New function.
36 (init_main): Update init of data-directory parameter.
38 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
40 Import the "dirfd" gnulib module.
41 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
42 * gnulib/aclocal.m4: Update.
43 * gnulib/config.in: Update.
44 * gnulib/configure: Update.
45 * gnulib/import/Makefile.am: Update.
46 * gnulib/import/Makefile.in: Update.
47 * gnulib/import/dirfd.c: New.
48 * gnulib/import/m4/dirfd.m4: New.
49 * gnulib/import/m4/gnulib-cache.m4: Update.
50 * gnulib/import/m4/gnulib-comp.m4: Update.
52 2014-05-16 Pierre Muller <muller@sourceware.org>
53 Yao Qi <yao@codesourcery.com>
55 * valprint.c (print_wchar): Move the code on checking whether
56 W is a printable wide char to the default branch of switch
57 statement below. Call wchar_printable instead of gdb_iswprint.
59 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
61 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
62 ldr.w and ldrd instructions.
64 2014-05-15 Doug Evans <dje@google.com>
66 * dwarf2read.c (read_structure_type): Delete outdated comments.
68 2014-05-14 Tom Tromey <tromey@redhat.com>
70 * macrocmd.c (print_macro_definition): Reindent.
72 2014-05-13 Doug Evans <xdje42@gmail.com>
74 * python/py-cmd.c (cmdpy_completer): Add comment.
75 (completers): Make const.
77 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
79 * infrun.c (resume): Remove should_resume (unused). Move up
80 declaration of resume_ptid.
82 2014-05-13 Tom Tromey <tromey@redhat.com>
84 * language.h (unop_type_check): Remove.
85 (binop_type_check): Don't declare.
87 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
89 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
90 call to regcache_raw_collect.
92 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
94 * mi/mi-console.c (mi_console_raw_packet): Use the value from
95 mi_console->quote as the quoting character.
97 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
99 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
101 2014-04-29 Tom Tromey <tromey@redhat.com>
103 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
106 2014-05-07 Kyle McMartin <kyle@redhat.com>
108 Pushed by Joel Brobecker <brobecker@adacore.com>.
109 * aarch64-tdep.c (aarch64_software_single_step): New function.
110 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
111 with aarch64_software_single_step.
113 2014-05-05 Joel Brobecker <brobecker@adacore.com>
117 2014-05-05 Keith Seitz <keiths@redhat.com>
119 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
120 variable or history value is successfully parsed.
122 2014-05-05 Yao Qi <yao@codesourcery.com>
123 Pedro Alves <palves@redhat.com>
125 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
126 address of blocks that intersects the requested range. Trim
127 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
129 * ctf.c (ctf_xfer_partial): Likewise.
131 2014-05-05 Yao Qi <yao@codesourcery.com>
133 * printcmd.c (display_command): Remove the check to
134 target_has_execution.
136 2014-05-03 Mark Kettenis <kettenis@gnu.org>
138 * ppcobsd-nat.c: Include "obsd-nat.h".
139 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
141 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
143 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
145 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
146 and 16-bit signed and unsigned arguments. Update comment.
147 (stap_parse_probe_arguments): Extend code to handle such
148 arguments. Use warning instead of complaint to notify about
149 unrecognized bitness.
151 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
154 * stap-probe.c (stap_parse_probe_arguments): Simplify
155 check for non-prefixed probes (i.e., probes whose
156 arguments do not start with "N@"). Always set the
157 argument type to a sane value.
159 2014-05-01 David Taylor <dtaylor@emc.com>
161 * remote.c (compare_sections_command): Add -r option to compare
162 all loadable read-only sections.
164 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
166 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
167 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
169 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
170 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
171 Remove unused CORE_ADDR argument. Update all callers.
173 2014-04-29 Pedro Alves <palves@redhat.com>
175 * remote.c (struct packet_config) <detect>: Extend comment.
176 (add_packet_config_cmd): Don't set the config's detect or support
178 (init_all_packet_configs): Also initialize the config's 'detect'
180 (reset_all_packet_configs_support): New function.
181 (remote_open_1): Call reset_all_packet_configs_support instead of
182 init_all_packet_configs.
183 (_initialize_remote): Initialize all packet configs. Assert that
184 all packets have an associated command, except a few known
187 2014-04-28 Joel Brobecker <brobecker@adacore.com>
189 * dwarf2read.c (read_subrange_type): Handle dynamic
190 DW_AT_lower_bound attributes.
192 2014-04-28 Joel Brobecker <brobecker@adacore.com>
194 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
195 dynamic bounds before computing its upper bound.
196 (ada_discrete_type_low_bound): Same as above with the lower bound.
198 2014-04-28 Joel Brobecker <brobecker@adacore.com>
200 * dwarf2read.c (is_dynamic_type): Return true for dynamic
201 range types. Adjust the array handling implementation to
202 take advantage of this change.
203 (resolve_dynamic_range): New function, mostly extracted from
204 resolve_dynamic_bounds.
205 (resolve_dynamic_array): New function, mostly extracted from
206 resolve_dynamic_bounds.
207 (resolve_dynamic_bounds): Delete.
208 (resolve_dynamic_type): Reimplement. Add handling of
209 TYPE_CODE_RANGE types.
211 2014-04-28 Joel Brobecker <brobecker@adacore.com>
213 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
214 handling of parallel ___XA types.
216 2014-04-28 Joel Brobecker <brobecker@adacore.com>
218 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
219 unnecessary second call to static_unwrap_type.
221 2014-04-27 Hui Zhu <hui@codesourcery.com>
223 * stack.c (print_frame_info): Call do_gdb_disassembly with
224 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
226 2014-04-26 Doug Evans <xdje42@gmail.com>
228 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
230 2014-04-25 Pedro Alves <palves@redhat.com>
233 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
234 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
235 and newline from built string.
236 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
237 (linux_ptrace_attach_fail_reason): ... this.
238 * linux-nat.c (linux_nat_attach): Adjust to use
239 linux_ptrace_attach_fail_reason.
241 2014-04-25 Pedro Alves <palves@redhat.com>
243 * remote.c (struct remote_state): Remove multi_process_aware,
244 non_stop_aware, cond_tracepoints, cond_breakpoints,
245 breakpoint_commands, fast_tracepoints, static_tracepoints,
246 install_in_trace, disconnected_tracing,
247 enable_disable_tracepoints, string_tracing, and
248 augmented_libraries_svr4_read fields.
249 (remote_multi_process_p): Move further below in the file.
250 (struct packet_config): Add comments.
251 (update_packet_config): Delete function.
252 (show_packet_config_cmd): Use packet_config_support.
253 (add_packet_config_cmd): Use NULL as set callback.
254 (packet_ok): "set remote foo-packet"-style commands no longer
255 change config->supported -- adjust.
256 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
257 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
258 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
259 (PACKET_QNonStop, PACKET_multiprocess_feature)
260 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
261 (PACKET_DisconnectedTracing_feature)
262 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
263 (set_remote_protocol_packet_cmd): Delete function.
264 (packet_config_support, packet_support): New functions.
265 (set_remote_protocol_Z_packet_cmd): Don't call
266 update_packet_config.
267 (remote_query_attached, remote_pass_signals)
268 (remote_program_signals, remote_threads_info)
269 (remote_threads_extra_info, remote_start_remote): Use
271 (remote_start_remote): Use packet_config_support and
273 (init_all_packet_configs): Set all packets to unknown support,
274 instead of calling update_packet_config.
275 (remote_check_symbols): Use packet_support.
276 (remote_supported_packet): Unconditionally set the packet config's
278 (remote_multi_process_feature, remote_non_stop_feature)
279 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
280 (remote_breakpoint_commands_feature)
281 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
282 (remote_install_in_trace_feature)
283 (remote_disconnected_tracing_feature)
284 (remote_enable_disable_tracepoint_feature)
285 (remote_string_tracing_feature)
286 (remote_augmented_libraries_svr4_read_feature): Delete functions.
287 (remote_protocol_features): Adjust to use remote_supported_packet
288 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
289 "ConditionalTracepoints", "ConditionalBreakpoints",
290 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
291 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
292 "EnableDisableTracepoints", and "tracenz".
293 (remote_query_supported): Use packet_support.
294 (remote_open_1): Adjust.
295 (extended_remote_attach_1): Use packet_support. Switch on the
296 result of packet_ok instead of checking whether the packet ended
298 (remote_vcont_resume): Use packet_support.
299 (remote_resume, remote_stop_ns, fetch_register_using_p)
300 (remote_prepare_to_store, store_register_using_P)
301 (check_binary_download, remote_write_bytes): Use packet_support.
302 (remote_vkill): Use packet_support. Switch on the result of
303 packet_ok instead of checking whether the packet ended up
305 (extended_remote_supports_disable_randomization): Use
307 (extended_remote_run): Switch on the result of packet_ok instead
308 of checking whether the packet ended up disabled.
309 (remote_insert_breakpoint, remote_remove_breakpoint)
310 (remote_insert_watchpoint, remote_remove_watchpoint)
311 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
313 (remote_search_memory): Use packet_config_support.
314 (remote_get_thread_local_address, remote_get_tib_address)
315 (remote_hostio_send_command, remote_can_execute_reverse): Use
317 (remote_supports_cond_tracepoints)
318 (remote_supports_cond_breakpoints)
319 (remote_supports_fast_tracepoints)
320 (remote_supports_static_tracepoints)
321 (remote_supports_install_in_trace)
322 (remote_supports_enable_disable_tracepoint)
323 (remote_supports_string_tracing)
324 (remote_can_run_breakpoint_commands): Rewrite, checking whether
325 the packet config says the feature is enabled or disabled.
326 (remote_download_tracepoint, remote_trace_set_readonly_regions)
327 (remote_get_trace_status): Use packet_support.
328 (remote_set_disconnected_tracing): Adjust to check whether the
329 feature is enabled with packet_support.
330 (remote_set_trace_buffer_size, remote_use_agent)
331 (remote_can_use_agent, remote_supports_btrace): Use
333 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
334 Use packet_config_support.
335 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
336 the packet config says the feature is enabled or disabled.
337 (set_range_stepping): Use packet_support.
339 2014-04-25 Tom Tromey <tromey@redhat.com>
341 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
344 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
346 * NEWS: Mention support for C99 variable length arrays.
348 2014-04-24 Joel Brobecker <brobecker@adacore.com>
350 * ada-lang.c (standard_exc): Expand introductory comment.
352 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
353 Walfred Tedeschi <walfred.tedeschi@intel.com>
355 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
357 (amd64_linux_read_description): Add code to handle AVX512 xstate
358 mask and return respective tdesc.
359 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
360 and features/i386/x32-avx512-linux.c.
361 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
362 (amd64_linux_core_read_description): Add code to handle AVX512
363 xstate mask and return respective tdesc.
364 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
365 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
367 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
368 (tdesc_amd64_avx512_linux): New prototype.
369 (tdesc_x32_avx512_linux): Likewise.
370 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
371 features/i386/x32-avx512.c.
372 (amd64_ymm_avx512_names): New register names for pseudo
374 (amd64_ymmh_avx512_names): New register names for raw registers
376 (amd64_k_names): New register names for K registers.
377 (amd64_zmmh_names): New register names for ZMM raw registers.
378 (amd64_zmm_names): New registers names for ZMM pseudo registers.
379 (amd64_xmm_avx512_names): New register names for XMM16-31
381 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
383 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
384 if feature is present.
385 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
386 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
387 (AMD64_NUM_REGS): Adjust to new number of registers.
388 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
389 registers supplied via XSTATE by AVX512 registers.
390 (i386_linux_read_description): Add case for AVX512.
391 * i386-linux-tdep.c: Include i386-avx512-linux.c.
392 (i386_linux_gregset_reg_offset): Add AVX512 registers.
393 (i386_linux_core_read_description): Add case for AVX512.
394 (i386_linux_init_abi): Install supported register note section
396 (_initialize_i386_linux_tdep): Add call to tdesc init function for
398 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
399 registers to be number of zmm7h + 1.
400 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
401 * i386-tdep.c: Include features/i386/i386-avx512.c.
402 (i386_zmm_names): Add ZMM pseudo register names array.
403 (i386_zmmh_names): Add ZMM raw register names array.
404 (i386_k_names): Add K raw register names array.
405 (num_lower_zmm_regs): Add constant for the number of lower ZMM
406 registers. AVX512 has 16 more ZMM registers than there are YMM
408 (i386_zmmh_regnum_p): Add function to look up register number of
410 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
411 (i386_k_regnum_p): Likewise for K raw registers.
412 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
413 registers added by AVX512.
414 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
415 registers added by AVX512.
416 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
418 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
419 (i386_pseudo_register_name): Add ZMM pseudo registers.
420 (i386_zmm_type): Construct and return vector registers type for ZMM
422 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
423 ZMM0-31 pseudo registers and K registers.
424 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
425 and YMM16-31 registers from register cache.
426 (i386_pseudo_register_write): Add code to write K, ZMM and
428 (i386_register_reggroup_p): Add code to include/exclude AVX512
429 registers in/from respective register groups.
430 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
431 registers if feature is present in xcr0.
432 (i386_gdbarch_init): Add code to initialize AVX512 feature
433 variables in tdep structure, wire in pseudo registers and call
434 initialize_tdesc_i386_avx512.
435 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
437 (i386_regnum): Add AVX512 registers.
438 (I386_SSE_NUM_REGS): New define for number of SSE registers.
439 (I386_AVX_NUM_REGS): Likewise for AVX registers.
440 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
441 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
443 (i386_xmm_avx512_regnum_p): New prototype for register look up.
444 (i386_ymm_avx512_regnum_p): Likewise.
445 (i386_k_regnum_p): Likewise.
446 (i386_zmm_regnum_p): Likewise.
447 (i386_zmmh_regnum_p): Likewise.
448 * i387-tdep.c : Update year in copyright notice.
449 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
451 (XSAVE_YMM_AVX512_ADDR): New macro.
452 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
454 (XSAVE_XMM_AVX512_ADDR): New macro.
455 (xsave_avx512_k_offset): New table for K register offsets in
457 (XSAVE_AVX512_K_ADDR): New macro.
458 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
460 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
461 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
463 (i387_collect_xsave): Add code to collect AVX512 registers from
465 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
466 of XMM16-31 registers.
467 (I387_NUM_K_REGS): New define for number of K registers.
468 (I387_K0_REGNUM): New define for K0 register number.
469 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
470 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
471 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
473 (I387_YMM16H_REGNUM): New define for YMM16H register number.
474 (I387_XMM16_REGNUM): New define for XMM16 register number.
475 (I387_YMM0_REGNUM): New define for YMM0 register number.
476 (I387_KEND_REGNUM): New define for last K register number.
477 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
478 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
480 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
482 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
484 * features/Makefile: Add AVX512 related files.
485 * features/i386/32bit-avx512.xml: New file.
486 * features/i386/64bit-avx512.xml: Likewise.
487 * features/i386/amd64-avx512-linux.c: Likewise.
488 * features/i386/amd64-avx512-linux.xml: Likewise.
489 * features/i386/amd64-avx512.c: Likewise.
490 * features/i386/amd64-avx512.xml: Likewise.
491 * features/i386/i386-avx512-linux.c: Likewise.
492 * features/i386/i386-avx512-linux.xml: Likewise.
493 * features/i386/i386-avx512.c: Likewise.
494 * features/i386/i386-avx512.xml: Likewise.
495 * features/i386/x32-avx512-linux.c: Likewise.
496 * features/i386/x32-avx512-linux.xml: Likewise.
497 * features/i386/x32-avx512.c: Likewise.
498 * features/i386/x32-avx512.xml: Likewise.
499 * regformats/i386/amd64-avx512-linux.dat: New file.
500 * regformats/i386/amd64-avx512.dat: Likewise.
501 * regformats/i386/i386-avx512-linux.dat: Likewise.
502 * regformats/i386/i386-avx512.dat: Likewise.
503 * regformats/i386/x32-avx512-linux.dat: Likewise.
504 * regformats/i386/x32-avx512.dat: Likewise.
505 * NEWS: Add note about new support for AVX512.
508 2014-04-23 Pedro Alves <palves@redhat.com>
510 * breakpoint.c (insert_bp_location): Tolerate errors if the
511 breakpoint is set in a user-loaded objfile.
512 (remove_breakpoint_1): Likewise. Also tolerate errors if the
513 location is marked shlib_disabled. If the breakpoint is set in a
514 user-loaded objfile is a GDB-side memory breakpoint, validate it
515 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
516 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
518 * mem-break.c (memory_validate_breakpoint): New function.
519 * objfiles.c (userloaded_objfile_contains_address_p): New
521 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
522 * target.h (memory_validate_breakpoint): New declaration.
524 2014-04-23 Pedro Alves <palves@redhat.com>
526 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
527 the breakpoint is set in a shared library, only suppress
528 errors for software breakpoints, not hardware breakpoints.
530 2014-04-22 Pedro Alves <palves@redhat.com>
532 * infrun.c (schedlock_applies): New function, factored out from
533 find_thread_needs_step_over.
534 (find_thread_needs_step_over): Use it.
535 (switch_back_to_stepped_thread): Always clear trap_expected if the
536 step over is finished. Return early if scheduler locking applies.
537 Look for the stepping thread and a potential step-over thread with
539 (currently_stepping_or_nexting_callback): Delete.
541 2014-04-22 Nick Clifton <nickc@redhat.com>
543 * NEWS: Mention that ARM sim now supports tracing.
545 2014-04-22 Yao Qi <yao@codesourcery.com>
547 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
549 * tracefile.c (tracefile_fetch_registers): ... it. New
551 * tracefile.h (tracefile_fetch_registers): Declare.
552 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
553 tracefile_fetch_registers.
555 2014-04-19 Eli Zaretskii <eliz@gnu.org>
558 * windows-nat.c (thread_rec): Don't display a warning when
559 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
560 fails for any reason, set th->suspended to -1, so that we don't
561 try to resume such a thread. Also, don't return NULL in these
562 cases, to avoid completely ruin the session due to "PC register is
563 not available" error.
564 (do_windows_fetch_inferior_registers): Check errors in
565 GetThreadContext call.
566 (windows_continue): Accept an additional argument KILLED; if not
567 zero, ignore errors in the SetThreadContext call, since the
568 inferior was killed and is shutting down.
569 (windows_resume, get_windows_debug_event)
570 (windows_create_inferior, windows_mourn_inferior)
571 (windows_kill_inferior): All callers of windows_continue changed
572 to adjust to its new calling sequence.
574 2014-04-19 Yao Qi <yao@codesourcery.com>
576 * ctf.c (ctf_open): Call post_create_inferior.
578 2014-04-19 Yao Qi <yao@codesourcery.com>
580 * ctf.c (handle_id): New static variable.
581 (ctf_open_dir): Get handle_id from bt_context_add_trace return
582 value. Get the declaration of event "register" and get length
585 2014-04-19 Yao Qi <yao@codesourcery.com>
587 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
589 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
591 * valops.c (oload_method_static): Remove unnecessary argument
592 METHOD. Update all callers.
594 2014-04-18 Pedro alves <palves@redhat.com>
595 Tom Tromey <tromey@redhat.com>
598 * frame.c (get_prev_frame_1): Rename to ...
599 (get_prev_frame_always): ... this, and make extern. Adjust.
600 (skip_artificial_frames): Use get_prev_frame_always.
601 (frame_unwind_caller_id, frame_pop, get_prev_frame)
602 (get_frame_unwind_stop_reason): Adjust to rename.
603 * frame.h (get_prev_frame_always): Declare.
604 * inline-frame.c: Include frame.h.
605 (inline_frame_this_id): Use get_prev_frame_always.
607 2014-04-18 Tristan Gingold <gingold@adacore.com>
609 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
610 code by using bfd_mach_o_get_base_address.
612 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
614 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
615 (spu_ax_pseudo_register_collect): New function.
616 (spu_ax_pseudo_register_push_stack): Likewise.
617 (spu_dwarf_reg_to_regnum): Likewise.
618 (spu_gdbarch_init): Install them. Append DWARF unwinders.
620 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
622 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
623 Replace FRAME argument with FRAME_ID.
624 * gdbarch.c, gdbarch.h: Regenerate.
625 * findvar.c (default_value_from_register): Add GDBARCH argument;
626 replace FRAME by FRAME_ID. No longer call get_frame_id.
627 (value_from_register): Update call to gdbarch_value_from_register.
628 * value.h (default_value_from_register): Update prototype.
629 * s390-linux-tdep.c (s390_value_from_register): Update interface
630 and call to default_value_from_register.
631 * spu-tdep.c (spu_value_from_register): Likewise.
633 * findvar.c (address_from_register): Remove TYPE argument.
634 Do not call value_from_register; use gdbarch_value_from_register
635 with null_frame_id instead.
636 * value.h (address_from_register): Update prototype.
637 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
638 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
639 address_from_register interface change.
641 2014-04-17 Yao Qi <yao@codesourcery.com>
643 * gdbtypes.h: Update comments to link to types and macros'
646 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
648 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
650 2014-04-16 Keith Seitz <keiths@redhat.com>
653 * dwarf2read.c (skip_one_die): Check that all relative-offset
654 sibling DIEs fall within range of the current reader's buffer.
655 (read_partial_die): Likewise.
657 2014-04-16 Keith Seitz <keiths@redhat.com>
660 * cp-namespace.c (lookup_symbol_file): If the type name of
661 `this' is NULL, return immediately.
663 2014-04-14 Keith Seitz <keiths@redhat.com>
666 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
667 from symbol_matches_domain in symtab.c. All local callers
668 of symbol_matches_domain updated.
669 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
670 search STRUCT_DOMAIN.
671 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
672 independently. standard_lookup will do that automatically.
673 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
674 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
675 (cp_lookup_symbol_in_namespace): Likewise.
676 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
677 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
678 may return a STRUCT_DOMAIN match.
679 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
680 * cp-support.c: Include language.h.
681 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
683 * psymtab.c (match_partial_symbol): Compare the requested
684 domain with the symbol's domain directly.
685 (lookup_partial_symbol): Likewise.
686 * symtab.c (lookup_symbol_in_language): Explain when/why
687 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
688 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
689 appropriate languages.
690 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
691 and moved to ada-lang.c
692 (lookup_block_symbol): Explain that this function only returns
693 symbol matching the requested DOMAIN.
694 Compare the requested domain with the symbol's domain directly.
695 (iterate_over_symbols): Compare the requested domain with the
696 symbol's domain directly.
697 * symtab.h (symbol_matches_domain): Remove.
699 2014-04-14 Tom Tromey <tromey@redhat.com>
702 * c-exp.y (type_aggregate_p): New function.
703 (qualified_name, classify_inner_name): Use it.
704 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
705 and TYPE_TARGET_TYPE of an enum type.
706 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
708 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
709 handle TYPE_DECLARED_CLASS.
710 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
712 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
713 * valops.c (enum_constant_from_type): New function.
714 (value_aggregate_elt): Use it.
715 * cp-namespace.c (cp_lookup_nested_symbol): Handle
718 2014-04-14 Tom Tromey <tromey@redhat.com>
720 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
721 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
723 * value.h (value_aggregate_elt): Update.
725 2014-04-14 Tom Tromey <tromey@redhat.com>
727 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
729 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
731 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
732 (evaluate_subexp_standard): Pass noside argument.
733 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
734 if noside equals EVAL_NORMAL. If the subscript yields a vla type
735 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
736 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
737 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
739 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
741 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
742 points to a constant blob.
744 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
746 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
747 property and store it as the high bound and flag the range accordingly.
748 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
749 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
750 * gdbtypes.h (enum range_flags): New enum.
751 (struct range_bounds): Add flags member.
753 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
755 * c-typeprint.c (c_type_print_varspec_suffix): Added
756 check for not yet resolved high bound. If unresolved, print
757 "variable length" string to the console instead of random
760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
762 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
764 (ada_template_to_fixed_record_type_1): Likewise.
765 (ada_to_fixed_type_1): Likewise.
766 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
767 (cp_print_value): Likewise.
768 * d-valprint.c (dynamic_array_type): Likewise.
769 * findvar.c (address_of_variable): Likewise.
770 * jv-valprint.c (java_value_print): Likewise.
771 * valops.c (value_ind): Likewise.
772 * value.c (coerce_ref): Likewise.
774 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
776 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
777 value and retrieve the dynamic type size.
779 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
781 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
782 passed to sizeof is dynamic evaluate the argument to compute the length.
784 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
785 Joel Brobecker <brobecker@adacore.com>
787 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
788 (dwarf2_evaluate_property): New function.
789 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
790 * dwarf2read.c (attr_to_dynamic_prop): New function.
791 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
793 * gdbtypes.c: Include dwarf2loc.h.
794 (is_dynamic_type): New function.
795 (resolve_dynamic_type): New function.
796 (resolve_dynamic_bounds): New function.
797 (get_type_length): New function.
798 (check_typedef): Use get_type_length to compute type length.
799 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
800 (TYPE_LOW_BOUND_KIND): New macro.
801 (is_dynamic_type): New function prototype.
802 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
803 to resolve dynamic properties of the type. Update comment.
804 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
806 2014-04-14 Richard Henderson <rth@redhat.com>
808 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
810 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
811 Doug Evans <xdje42@gmail.com>
813 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
814 dereference TYPE_CODE_REF values.
816 2014-04-11 Joel Brobecker <brobecker@adacore.com>
818 Revert the following changes due to regressions:
820 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
821 (dwarf2_evaluate_property): New function.
822 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
823 * dwarf2read.c (attr_to_dynamic_prop): New function.
824 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
826 * gdbtypes.c: Include dwarf2loc.h.
827 (is_dynamic_type): New function.
828 (resolve_dynamic_type): New function.
829 (resolve_dynamic_bounds): New function.
830 (get_type_length): New function.
831 (check_typedef): Use get_type_length to compute type length.
832 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
833 (TYPE_LOW_BOUND_KIND): New macro.
834 (is_dynamic_type): New function prototype.
835 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
836 to resolve dynamic properties of the type. Update comment.
837 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
839 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
840 passed to sizeof is dynamic evaluate the argument to compute the length.
842 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
843 value and retrieve the dynamic type size.
845 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
846 (ada_template_to_fixed_record_type_1): Likewise.
847 (ada_to_fixed_type_1): Likewise.
848 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
849 (cp_print_value): Likewise.
850 * d-valprint.c (dynamic_array_type): Likewise.
851 * eval.c (evaluate_subexp_with_coercion): Likewise.
852 * findvar.c (address_of_variable): Likewise.
853 * jv-valprint.c (java_value_print): Likewise.
854 * valops.c (value_ind): Likewise.
855 * value.c (coerce_ref): Likewise.
857 * c-typeprint.c (c_type_print_varspec_suffix): Added
858 check for not yet resolved high bound. If unresolved, print
859 "variable length" string to the console instead of random
862 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
863 property and store it as the high bound and flag the range accordingly.
864 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
865 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
866 * gdbtypes.h (enum range_flags): New enum.
867 (struct range_bounds): Add flags member.
869 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
870 points to a constant blob.
872 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
873 (evaluate_subexp_standard): Pass noside argument.
874 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
875 if noside equals EVAL_NORMAL. If the subscript yields a vla type
876 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
877 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
878 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
880 2014-04-11 Keith Seitz <keiths@redhat.com>
883 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
884 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
887 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
889 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
890 (evaluate_subexp_standard): Pass noside argument.
891 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
892 if noside equals EVAL_NORMAL. If the subscript yields a vla type
893 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
894 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
895 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
897 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
899 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
900 points to a constant blob.
902 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
904 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
905 property and store it as the high bound and flag the range accordingly.
906 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
907 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
908 * gdbtypes.h (enum range_flags): New enum.
909 (struct range_bounds): Add flags member.
911 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
913 * c-typeprint.c (c_type_print_varspec_suffix): Added
914 check for not yet resolved high bound. If unresolved, print
915 "variable length" string to the console instead of random
918 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
920 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
921 (ada_template_to_fixed_record_type_1): Likewise.
922 (ada_to_fixed_type_1): Likewise.
923 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
924 (cp_print_value): Likewise.
925 * d-valprint.c (dynamic_array_type): Likewise.
926 * eval.c (evaluate_subexp_with_coercion): Likewise.
927 * findvar.c (address_of_variable): Likewise.
928 * jv-valprint.c (java_value_print): Likewise.
929 * valops.c (value_ind): Likewise.
930 * value.c (coerce_ref): Likewise.
932 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
934 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
935 value and retrieve the dynamic type size.
937 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
939 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
940 passed to sizeof is dynamic evaluate the argument to compute the length.
942 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
944 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
945 (dwarf2_evaluate_property): New function.
946 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
947 * dwarf2read.c (attr_to_dynamic_prop): New function.
948 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
950 * gdbtypes.c: Include dwarf2loc.h.
951 (is_dynamic_type): New function.
952 (resolve_dynamic_type): New function.
953 (resolve_dynamic_bounds): New function.
954 (get_type_length): New function.
955 (check_typedef): Use get_type_length to compute type length.
956 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
957 (TYPE_LOW_BOUND_KIND): New macro.
958 (is_dynamic_type): New function prototype.
959 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
960 to resolve dynamic properties of the type. Update comment.
961 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
963 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
965 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
966 declaring high/low bounds and change uses accordingly. Call
967 create_range_type instead of create_static_range_type.
968 * gdbtypes.c (create_range_type): New function.
969 (create_range_type): Convert bounds into struct bound_prop and pass
970 them to create_range_type.
971 * gdbtypes.h (struct bound_prop): New struct.
972 (create_range_type): New function prototype.
973 (struct range_bounds): Use struct bound_prop instead of LONGEST for
974 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
975 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
977 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
979 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
981 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
982 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
983 * ada-lang.c: All uses of create_range_type updated.
984 * coffread.c: All uses of create_range_type updated.
985 * dwarf2read.c: All uses of create_range_type updated.
986 * f-exp.y: All uses of create_range_type updated.
987 * m2-valprint.c: All uses of create_range_type updated.
988 * mdebugread.c: All uses of create_range_type updated.
989 * stabsread.c: All uses of create_range_type updated.
990 * valops.c: All uses of create_range_type updated.
991 * valprint.c: All uses of create_range_type updated.
993 2014-04-10 Pedro Alves <palves@redhat.com>
995 * breakpoint.c (single_step_breakpoints)
996 (single_step_gdbarch): Move up in the file.
997 (one_breakpoint_xfer_memory): New function, factored out from ...
998 (breakpoint_xfer_memory): ... here. Also process single-step
1001 2014-04-09 Tristan Gingold <gingold@adacore.com>
1003 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
1005 (darwin_decode_exception_message): Free port only after use.
1007 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
1009 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
1010 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
1011 when setting the size of call_length.
1013 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1015 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
1016 dereference TYPE_CODE_REF values.
1018 2014-04-07 Joel Brobecker <brobecker@adacore.com>
1020 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
1021 end of warning message.
1023 2014-04-03 Doug Evans <dje@google.com>
1025 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
1026 of stub_comp_unit_die, stub_comp_dir is non-NULL.
1028 2014-04-02 Alan Modra <amodra@gmail.com>
1030 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
1031 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
1032 (struct symbol_file_add_from_memory_args): Add size field.
1033 (find_vdso_size): New function.
1034 (add_vsyscall_page): Attempt to find vdso size.
1036 2014-04-01 Doug Evans <dje@google.com>
1038 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
1040 2014-04-01 Tristan Gingold <gingold@adacore.com>
1042 * darwin-nat.c (darwin_encode_reply): Add prototype.
1043 (darwin_decode_exception_message): Reply to unknown inferiors.
1044 (darwin_decode_message): Handle message by id. Ignore message
1045 to unknown inferior.
1046 (darwin_wait): Discard unknown messages, add debug trace.
1048 2014-03-31 Doug Evans <dje@google.com>
1050 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
1053 2014-03-31 Doug Evans <dje@google.com>
1055 New option "set print symbol-loading".
1057 * solib.c (solib_read_symbols): Only print symbol loading messages
1059 (solib_add): If symbol loading is in "brief" mode, notify user
1060 symbols are being loaded.
1061 (reload_shared_libraries_1): Ditto.
1062 * symfile.c (print_symbol_loading_off): New static global.
1063 (print_symbol_loading_brief): New static global.
1064 (print_symbol_loading_full): New static global.
1065 (print_symbol_loading_enums): New static global.
1066 (print_symbol_loading): New static global.
1067 (print_symbol_loading_p): New function.
1068 (symbol_file_add_with_addrs): Only print symbol loading messages
1070 (_initialize_symfile): Register "print symbol-loading" set/show
1072 * symfile.h (print_symbol_loading_p): Declare.
1074 2014-03-30 Doug Evans <xdje42@gmail.com>
1076 * infrun.c (set_last_target_status): New function.
1077 (handle_inferior_event): Call it.
1079 2014-03-30 Doug Evans <xdje42@gmail.com>
1081 * inferior.h (enum stop_kind): Improve comment.
1083 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1085 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
1086 a reference, strip the reference layer before calling
1087 the lang_ops value_has_mutated callback.
1089 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
1091 Remove some globals from our parser.
1092 * language.c (unk_lang_parser): Add "struct parser_state"
1094 * language.h (struct language_defn) <la_parser>: Likewise.
1095 * parse.c (expout, expout_size, expout_ptr): Remove variables.
1096 (initialize_expout): Add "struct parser_state" argument.
1097 Rewrite function to use the parser state.
1098 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
1099 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
1100 write_exp_elt_longcst, write_exp_elt_dblcst,
1101 write_exp_elt_decfloatcst, write_exp_elt_type,
1102 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1103 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
1104 write_dollar_variable): Likewise.
1105 (parse_exp_in_context_1): Use parser state.
1106 (insert_type_address_space): Add "struct parser_state" argument.
1108 (increase_expout_size): New function.
1109 * parser-defs.h: Forward declare "struct language_defn" and
1110 "struct parser_state".
1111 (expout, expout_size, expout_ptr): Remove extern declarations.
1112 (parse_gdbarch, parse_language): Rewrite macro declarations to
1113 accept the parser state.
1114 (struct parser_state): New struct.
1115 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
1116 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
1117 write_exp_elt_decfloatcst, write_exp_elt_type,
1118 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1119 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
1120 write_exp_msymbol, write_dollar_variable,
1121 mark_struct_expression, insert_type_address_space): Add "struct
1122 parser_state" argument.
1123 (increase_expout_size): New function.
1124 * utils.c (do_clear_parser_state): New function.
1125 (make_cleanup_clear_parser_state): Likewise.
1126 * utils.h (make_cleanup_clear_parser_state): New function
1128 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
1129 Update calls to write_exp* in order to pass the parser state.
1130 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
1131 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
1132 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1133 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
1134 * stap-probe.c (stap_parse_register_operand): Likewise.
1135 (stap_parse_single_operand): Likewise.
1136 (stap_parse_argument_1): Likewise.
1137 (stap_parse_argument): Use parser state.
1138 * stap-probe.h: Include "parser-defs.h".
1139 (struct stap_parse_info) <pstate>: New field.
1140 * c-exp.y (parse_type): Rewrite to use parser state.
1141 (yyparse): Redefine to c_parse_internal.
1142 (pstate): New global variable.
1143 (parse_number): Add "struct parser_state" argument.
1144 (write_destructor_name): Likewise.
1145 (type_exp): Update calls to write_exp* and similars in order to
1147 (exp1, exp, variable, qualified_name, space_identifier,
1148 typename, typebase): Likewise.
1149 (write_destructor_name, parse_number, lex_one_token,
1150 classify_name, classify_inner_name, c_parse): Add "struct
1151 parser_state" argument. Update function to use parser state.
1152 * c-lang.h: Forward declare "struct parser_state".
1153 (c_parse): Add "struct parser_state" argument.
1154 * ada-exp.y (parse_type): Rewrite macro to use parser state.
1155 (yyparse): Redefine macro to ada_parse_internal.
1156 (pstate): New variable.
1157 (write_int, write_object_renaming, write_var_or_type,
1158 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
1159 type_int, type_long, type_long_long, type_float, type_double,
1160 type_long_double, type_char, type_boolean, type_system_address):
1161 Add "struct parser_state" argument.
1162 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
1163 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
1164 var_or_type, aggregate, aggregate_component_list,
1165 positional_list, others, component_group,
1166 component_associations): Update calls to write_exp* and similar
1167 functions in order to use parser state.
1168 (ada_parse, write_var_from_sym, write_int,
1169 write_exp_op_with_string, write_object_renaming,
1170 find_primitive_type, write_selectors, write_ambiguous_var,
1171 write_var_or_type, write_name_assoc, type_int, type_long,
1172 type_long_long, type_float, type_double, type_long_double,
1173 type_char, type_boolean, type_system_address): Add "struct
1174 parser_state" argument. Adjust function to use parser state.
1175 * ada-lang.c (parse): Likewise.
1176 * ada-lang.h: Forward declare "struct parser_state".
1177 (ada_parse): Add "struct parser_state" argument.
1178 * ada-lex.l (processInt, processReal): Likewise. Adjust all
1179 calls to both functions.
1180 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
1182 (yyparse): Redefine macro to f_parse_internal.
1183 (pstate): New variable.
1184 (parse_number): Add "struct parser_state" argument.
1185 (type_exp, exp, subrange, typebase): Update calls to write_exp*
1186 and similars in order to use parser state.
1187 (parse_number): Adjust code to use parser state.
1189 (f_parse): New function.
1190 * f-lang.h: Forward declare "struct parser_state".
1191 (f_parse): Add "struct parser_state" argument.
1192 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
1194 (yyparse): Redefine macro for java_parse_internal.
1195 (pstate): New variable.
1196 (push_expression_name, push_expression_name, insert_exp): Add
1197 "struct parser_state" argument.
1198 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
1199 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
1200 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
1201 PostIncrementExpression, PostDecrementExpression,
1202 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
1203 UnaryExpressionNotPlusMinus, CastExpression,
1204 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
1205 RelationalExpression, EqualityExpression, AndExpression,
1206 ExclusiveOrExpression, InclusiveOrExpression,
1207 ConditionalAndExpression, ConditionalOrExpression,
1208 ConditionalExpression, Assignment, LeftHandSide): Update
1209 calls to write_exp* and similars in order to use parser state.
1210 (parse_number): Ajust code to use parser state.
1212 (java_parse): New function.
1213 (push_variable): Add "struct parser_state" argument. Adjust
1214 code to user parser state.
1215 (push_fieldnames, push_qualified_expression_name,
1216 push_expression_name, insert_exp): Likewise.
1217 * jv-lang.h: Forward declare "struct parser_state".
1218 (java_parse): Add "struct parser_state" argument.
1219 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
1221 (yyparse): Redefine macro to m2_parse_internal.
1222 (pstate): New variable.
1223 (type_exp, exp, fblock, variable, type): Update calls to
1224 write_exp* and similars to use parser state.
1226 (m2_parse): New function.
1227 * m2-lang.h: Forward declare "struct parser_state".
1228 (m2_parse): Add "struct parser_state" argument.
1229 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
1230 * objc-lang.h: Forward declare "struct parser_state".
1231 (end_msglist): Add "struct parser_state" argument.
1232 * p-exp.y (parse_type): Rewrite macro to use parser state.
1233 (yyparse): Redefine macro to pascal_parse_internal.
1234 (pstate): New variable.
1235 (parse_number): Add "struct parser_state" argument.
1236 (type_exp, exp1, exp, qualified_name, variable): Update calls to
1237 write_exp* and similars in order to use parser state.
1238 (parse_number, yylex): Adjust code to use parser state.
1239 (pascal_parse): New function.
1240 * p-lang.h: Forward declare "struct parser_state".
1241 (pascal_parse): Add "struct parser_state" argument.
1242 * go-exp.y (parse_type): Rewrite macro to use parser state.
1243 (yyparse): Redefine macro to go_parse_internal.
1244 (pstate): New variable.
1245 (parse_number): Add "struct parser_state" argument.
1246 (type_exp, exp1, exp, variable, type): Update calls to
1247 write_exp* and similars in order to use parser state.
1248 (parse_number, lex_one_token, classify_name, yylex): Adjust code
1249 to use parser state.
1250 (go_parse): Likewise.
1251 * go-lang.h: Forward declare "struct parser_state".
1252 (go_parse): Add "struct parser_state" argument.
1254 2014-03-27 Doug Evans <dje@google.com>
1256 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
1258 2014-03-27 Doug Evans <dje@google.com>
1260 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
1261 Remove argument abbrev_section. All callers updated.
1263 2014-03-27 Doug Evans <dje@google.com>
1265 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
1266 addr_base, ranges_base.
1268 2014-03-26 Keith Seitz <keiths@redhat.com>
1270 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
1271 types, not VAR_DOMAIN.
1273 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
1275 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
1277 * features/nios2-linux.c: Regenerated.
1278 * features/nios2.c: Regenerated.
1280 2014-03-25 Pedro Alves <palves@redhat.com>
1282 * cli/cli-script.c (script_from_file): Force the interpreter to
1285 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1287 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
1288 small stack allocation.
1290 2014-03-24 Tristan Gingold <gingold@adacore.com>
1292 * darwin-nat.c (exc_server): Remove unused prototype.
1293 (darwin_dump_message): Correctly display data on x86_64.
1294 (darwin_encode_reply): Fix style.
1295 Add comments and fix indentation.
1297 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1299 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
1301 2014-03-22 Doug Evans <xdje42@gmail.com>
1303 * infcmd.c: Whitespace fixes.
1304 (interrupt_command): Merge two function comments into one.
1306 2014-03-22 Doug Evans <xdje42@gmail.com>
1308 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
1311 2014-03-22 Yao Qi <yao@codesourcery.com>
1313 * remote.c (target_read_live_memory): Remove.
1314 (memory_xfer_live_readonly_partial): Rename it to
1315 remote_xfer_live_readonly_partial. Remove argument 'object'.
1316 All callers updated. Call remote_read_bytes_1
1317 instead of target_read_live_memory.
1318 * tracepoint.c (set_traceframe_number): Remove.
1319 (make_cleanup_restore_traceframe_number): Likewise .
1320 * tracepoint.h (set_traceframe_number): Remove declaration.
1321 (make_cleanup_restore_traceframe_number): Likewise.
1323 2014-03-22 Yao Qi <yao@codesourcery.com>
1325 * remote.c (remote_read_bytes): Move code on reading from the
1327 (remote_read_bytes_1): ... here. New function.
1329 2014-03-22 Yao Qi <yao@codesourcery.com>
1331 * ctf.c (ctf_xfer_partial): Check the return value of
1332 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
1333 return TARGET_XFER_UNAVAILABLE.
1334 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1335 * target.c (target_read_live_memory): Move it to remote.c.
1336 (memory_xfer_live_readonly_partial): Likewise.
1337 (memory_xfer_partial_1): Move some code to remote_read_bytes.
1338 * remote.c (target_read_live_memory): Moved from target.c.
1339 (memory_xfer_live_readonly_partial): Likewise.
1340 (remote_read_bytes): Factored out from
1341 memory_xfer_partial_1.
1343 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
1345 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
1348 2014-03-21 Pedro Alves <palves@redhat.com>
1350 * infrun.c (normal_stop): Extend comment.
1352 2014-03-21 Hui Zhu <hui@codesourcery.com>
1353 Pedro Alves <palves@redhat.com>
1355 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
1357 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1358 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1359 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1361 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
1363 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
1364 `z' formatted output modifier.
1366 2014-03-20 Tom Tromey <tromey@redhat.com>
1367 Sergio Durigan Junior <sergiodj@redhat.com>
1369 * probe.c (parse_probes): Turn assert into an ordinary error.
1370 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
1371 exceptions when parsing probes. Rearrange the code for clarity.
1373 2014-03-20 Tom Tromey <tromey@redhat.com>
1376 * top.c (execute_command): Only dispatch events if the command
1379 2014-03-20 Tom Tromey <tromey@redhat.com>
1382 * infcall.c: Include event-top.h.
1383 (run_inferior_call): Call async_disable_stdin if needed.
1385 2014-03-20 Pedro Alves <palves@redhat.com>
1387 * infrun.c (prepare_to_proceed): Delete.
1388 (thread_still_needs_step_over): New function.
1389 (find_thread_needs_step_over): New function.
1390 (proceed): If the current thread needs a step-over, set its
1391 steping_over_breakpoint flag. Adjust to use
1392 find_thread_needs_step_over instead of prepare_to_proceed.
1393 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
1394 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
1396 (switch_back_to_stepped_thread): Step over breakpoints of all
1397 threads not the stepping thread, before switching back to the
1400 2014-03-20 Pedro Alves <palves@redhat.com>
1402 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
1404 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
1405 * infrun.c (saved_singlestep_ptid)
1406 (stepping_past_singlestep_breakpoint): Delete.
1407 (resume): Remove stepping_past_singlestep_breakpoint handling.
1408 (proceed): Store the prev_pc of the stepping thread too.
1409 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
1411 (enum infwait_states): Delete infwait_thread_hop_state.
1412 (struct execution_control_state) <hit_singlestep_breakpoint>: New
1414 (handle_inferior_event): Adjust.
1415 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
1416 handling and the thread-hop code. Before removing single-step
1417 breakpoints, check whether the thread hit a single-step breakpoint
1418 of another thread. If it did, the trap is not a random signal.
1419 (switch_back_to_stepped_thread): If the event thread hit a
1420 single-step breakpoint, unblock it before switching to the
1421 stepping thread. Handle the case of the stepped thread having
1423 (keep_going): Handle the case of the current thread moving past a
1424 single-step breakpoint.
1426 2014-03-20 Pedro Alves <palves@redhat.com>
1429 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
1430 are being stepped over.
1431 (breakpoint_address_match): Make extern.
1432 * breakpoint.h (breakpoint_address_match): New declaration.
1433 * inferior.h (stepping_past_instruction_at): New declaration.
1434 * infrun.c (struct step_over_info): New type.
1435 (step_over_info): New global.
1436 (set_step_over_info, clear_step_over_info)
1437 (stepping_past_instruction_at): New functions.
1438 (handle_inferior_event): Clear the step-over info when
1439 trap_expected is cleared.
1440 (resume): Remove now stale comment.
1441 (clear_proceed_status): Clear step-over info.
1442 (proceed): Adjust step-over handling to set or clear the step-over
1443 info instead of removing all breakpoints.
1444 (handle_signal_stop): When setting up a thread-hop, don't remove
1446 (stop_stepping): Clear step-over info.
1447 (keep_going): Adjust step-over handling to set or clear step-over
1448 info and then always inserting breakpoints, instead of removing
1449 all breakpoints when stepping over one.
1451 2014-03-20 Pedro Alves <palves@redhat.com>
1453 * infrun.c (previous_inferior_ptid): Adjust comment.
1454 (deferred_step_ptid): Delete.
1455 (infrun_thread_ptid_changed, prepare_to_proceed)
1456 (init_wait_for_inferior): Adjust.
1457 (handle_signal_stop): Delete deferred_step_ptid handling.
1459 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1462 * defs.h (sync_quit_force_run): New declaration.
1463 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
1464 * event-top.c (async_sigterm_handler): New declaration.
1465 (async_sigterm_token): New variable.
1466 (async_init_signals): Create also async_sigterm_token.
1467 (async_sigterm_handler): New function.
1468 (sync_quit_force_run): New variable.
1469 (handle_sigterm): Replace quit_force call by other calls.
1470 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
1472 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
1474 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
1475 offset into SPE pseudo registers.
1477 2014-03-18 Pedro Alves <palves@redhat.com>
1480 * inferior.h (print_stop_event): Declare.
1481 * infrun.c (print_stop_event): New, factored out from ...
1482 (normal_stop): ... this.
1483 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
1484 of bpstat_print/print_stack_frame.
1486 2014-03-17 Tom Tromey <tromey@redhat.com>
1488 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
1490 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
1492 * ada-lang.c (decode_constrained_packed_array): Perform a
1493 minimal coercion for reference with coerce_ref instead of
1496 2014-03-17 Tristan Gingold <gingold@adacore.com>
1498 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
1499 (darwin_solib_create_inferior_hook): Emit a warning if version
1502 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
1504 * python/py-value.c (get_field_flag): Cast flag_name argument to
1505 PyObject_GetAttrString to support Python 2.4.
1507 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1509 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
1510 (Global Maintainers): Remove Jan Kratochvil.
1512 2014-03-14 Pedro Alves <palves@redhat.com>
1514 * inferior.h (terminal_ours_for_output): Rename to ...
1515 (child_terminal_ours_for_output): ... this.
1516 (terminal_save_ours): Rename to ...
1517 (child_terminal_save_ours): ... this.
1518 (terminal_ours): Rename to ...
1519 (child_terminal_ours): ... this.
1520 (terminal_inferior): Rename to ...
1521 (child_terminal_inferior): ... this.
1522 (terminal_init_inferior): Rename to ...
1523 (child_terminal_init_inferior): ... this.
1524 (terminal_init_inferior_with_pgrp): Rename to ...
1525 (child_terminal_init_inferior_with_pgrp): ... this.
1526 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
1527 (child_terminal_init_with_pgrp): ... this.
1528 (terminal_save_ours): Rename to ...
1529 (child_terminal_save_ours): ... this.
1530 (terminal_init_inferior): Rename to ...
1531 (child_terminal_init): ... this. Adjust.
1532 (terminal_inferior): Rename to ...
1533 (child_terminal_inferior): ... this.
1534 (terminal_ours_for_output): Rename to ...
1535 (child_terminal_ours_for_output): ... this. Adjust.
1536 (terminal_ours): Rename to ...
1537 (child_terminal_ours): ... this.
1538 (terminal_ours_1): Rename to ...
1539 (child_terminal_ours_1): ... this. Adjust.
1540 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
1541 * windows-nat.c (do_initial_windows_stuff): Adjust.
1542 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
1543 (gnu_terminal_init): ... this. Adjust.
1544 (gnu_target): Adjust.
1545 * inf-child.c (inf_child_target): Adjust.
1547 2014-03-13 Doug Evans <xdje42@gmail.com>
1550 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
1553 2014-03-13 Doug Evans <xdje42@gmail.com>
1555 * value.c (record_latest_value): Call release_value_or_incref
1556 instead of release_value.
1558 2014-03-13 Pedro Alves <palves@redhat.com>
1560 * procfs.c (procfs_target): Don't override to_shortname,
1561 to_longname or to_doc.
1563 2014-03-13 Pedro Alves <palves@redhat.com>
1565 * inf-child.c (inf_child_open, inf_child_target): Don't mention
1566 Unix in user visible strings.
1568 2014-03-12 Stan Shebs <stan@codesourcery.com>
1570 * gdbtypes.h: Annotate comments for Doxygen, add a page
1571 block comment with some general info.
1573 2014-03-12 Pedro Alves <palves@redhat.com>
1575 * infcmd.c (prepare_execution_command): New function, factored out
1576 from several execution commands.
1577 (run_command_1, continue_command, step_1, jump_command)
1578 (signal_command, until_command, advance_command, finish_command)
1579 (attach_command): Use prepare_execution_command.
1581 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
1583 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
1586 (struct arm_linux_thread_points): Removed.
1587 (struct arm_linux_process_info): New.
1588 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
1589 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
1590 (arm_linux_find_breakpoints_by_tid): Removed.
1591 (struct arch_lwp_info): New.
1592 (arm_linux_find_process_pid): New functions.
1593 (arm_linux_add_process): New functions.
1594 (arm_linux_process_info_get): New functions.
1595 (arm_linux_forget_process): New function.
1596 (arm_linux_get_debug_reg_state): New function.
1597 (struct update_registers_data): New.
1598 (update_registers_callback): New function.
1599 (arm_linux_insert_hw_breakpoint1): Updated.
1600 (arm_linux_remove_hw_breakpoint1): Updated.
1601 (arm_linux_insert_hw_breakpoint): Updated.
1602 (arm_linux_remove_hw_breakpoint): Updated.
1603 (arm_linux_insert_watchpoint): Updated.
1604 (arm_linux_remove_watchpoint): Updated.
1605 (arm_linux_new_thread): Updated.
1606 (arm_linux_prepare_to_resume): New function.
1607 (arm_linux_new_fork): New function.
1608 (_initialize_arm_linux_nat): Updated.
1610 2014-03-12 Pedro Alves <palves@redhat.com>
1612 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
1614 2014-03-12 Tom Tromey <tromey@redhat.com>
1616 * inf-child.c (return_zero): New function.
1617 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
1618 * aix-thread.c (aix_thread_inferior_created): New function.
1619 (aix_thread_attach): Remove.
1620 (init_aix_thread_ops): Don't set to_attach.
1621 (_initialize_aix_thread): Register inferior_created observer.
1622 * corelow.c (init_core_ops): Don't set to_attach or
1624 * exec.c (init_exec_ops): Don't set to_attach or
1626 * infcmd.c (run_command_1): Use find_run_target. Make direct
1628 (attach_command): Use find_attach_target. Make direct target
1630 * record-btrace.c (init_record_btrace_ops): Don't set
1632 * record-full.c (record_full_can_async_p, record_full_is_async_p):
1634 (init_record_full_ops, init_record_full_core_ops): Update. Don't
1635 set to_create_inferior.
1636 * target.c (complete_target_initialization): Add assertion.
1637 (target_create_inferior): Remove.
1638 (find_default_attach, find_default_create_inferior): Remove.
1639 (find_attach_target, find_run_target): New functions.
1640 (find_default_is_async_p, find_default_can_async_p)
1641 (target_supports_non_stop, target_attach): Remove.
1642 (init_dummy_target): Don't set to_create_inferior or
1643 to_supports_non_stop.
1644 * target.h (struct target_ops) <to_attach>: Add comment. Remove
1645 TARGET_DEFAULT_FUNC.
1646 <to_create_inferior>: Add comment.
1647 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1648 TARGET_DEFAULT_RETURN.
1649 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1650 (find_attach_target, find_run_target): Declare.
1651 (target_create_inferior): Remove.
1652 (target_has_execution_1): Update comment.
1653 (target_supports_non_stop): Remove.
1654 * target-delegates.c: Rebuild.
1656 2014-03-12 Pedro Alves <palves@redhat.com>
1658 * inf-child.h: Update comment to not mention Unix.
1660 2014-03-12 Pedro Alves <palves@redhat.com>
1662 * inf-child.c: Update top comment to not mention Unix. Add
1663 generic comment describing how this target is meant to be used.
1664 (inf_child_post_attach, inf_child_post_startup_inferior)
1665 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1668 2014-03-12 Pedro Alves <palves@redhat.com>
1670 * nto-procfs.c: Include inf-child.h.
1671 (procfs_ops): Delete global.
1672 (procfs_can_run): Delete method.
1673 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1674 target pointer instead of referencing procfs_ops.
1675 (procfs_prepare_to_store): Delete.
1676 (init_procfs_ops): Delete function.
1677 (procfs_target): New function, based on init_procfs_ops, but
1678 inherit inf_child_target.
1679 (_initialize_procfs): Use procfs_target.
1681 2014-03-12 Pedro Alves <palves@redhat.com>
1683 * windows-nat.c: Include inf-child.h.
1684 (windows_ops): Delete global.
1685 (windows_open, windows_prepare_to_store, windows_can_run): Delete
1687 (init_windows_ops): Delete function.
1688 (windows_target): New function, based on init_windows_ops, but
1689 inherit inf_child_target.
1690 (_initialize_windows_nat): Use windows_target. Install x86
1691 specific target methods here.
1693 2014-03-10 Doug Evans <xdje42@gmail.com>
1695 * guile/guile.c (call_initialize_gdb_module): New function.
1696 (initialize_guile): Replace call to scm_init_guile with call to
1699 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1701 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1702 in call to TYPE_CODE macro.
1704 2014-03-10 Jerome Guitton <guitton@adacore.com>
1706 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1707 Resolve tagged types to full view.
1709 2014-03-10 Hui Zhu <hui@codesourcery.com>
1711 * target.h (target_insert_breakpoint): Remove "hardware" from its
1714 2014-03-07 Doug Evans <dje@google.com>
1716 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1718 2014-03-07 Doug Evans <dje@google.com>
1720 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1721 Remove unused local comp_dir_attr. Assert exactly one of
1722 stub_comp_unit_die, stub_comp_dir is non-NULL.
1724 2014-03-07 Joel Brobecker <brobecker@adacore.com>
1726 * target.h (complete_target_initialization, add_target):
1729 2014-03-07 Pedro Alves <palves@redhat.com>
1731 * go32-nat.c: Include inf-child.h.
1732 (go32_ops): Delete global.
1733 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1735 (go32_create_inferior): Push the passed in target pointer instead
1736 of referencing go32_ops.
1737 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
1738 (go32_target): New function, based on init_go32_ops, but inherit
1740 (_initialize_go32_nat): Use go32_target. Move parts of
1743 2014-03-06 Joel Brobecker <brobecker@adacore.com>
1745 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1746 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1747 SYMBOL_VALUE_ADDRESS.
1748 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1750 2014-03-06 Yao Qi <yao@codesourcery.com>
1752 * breakpoint.c (get_tracepoint_by_number): Remove argument
1753 optional_p. All callers updated. Adjust comments. Update
1755 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1757 2014-03-06 Yao Qi <yao@codesourcery.com>
1759 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1760 early if get_number returns zero. Use 'p' instead of 'args'.
1762 2014-03-06 Yao Qi <yao@codesourcery.com>
1764 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1767 2014-03-06 Yao Qi <yao@codesourcery.com>
1769 PR breakpoints/16508
1770 * tracepoint.c (check_trace_running): New function.
1771 (trace_find_command): Move code to check_trace_running and
1772 call check_trace_running.
1773 (trace_find_pc_command): Likewise.
1774 (trace_find_tracepoint_command): Likewise.
1775 (trace_find_line_command): Likewise.
1776 (trace_find_range_command): Likewise.
1777 * tracepoint.h (check_trace_running): Likewise.
1778 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1780 2014-03-06 Yao Qi <yao@codesourcery.com>
1782 * target.h (struct target_ops) <to_traceframe_info>: Use
1783 TARGET_DEFAULT_NORETURN (tcomplain ()).
1784 * target-delegates.c: Regenerated.
1786 2014-03-05 Pedro Alves <palves@redhat.com>
1789 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1790 void. Update comment.
1791 (dcache_xfer_memory): Delete.
1792 (dcache_read_memory_partial): New, based on the read bits of
1794 (dcache_update): Add status parameter. Use ULONGEST for len, and
1795 adjust. Discard cache lines if the reason for the update was
1797 * dcache.h (dcache_xfer_memory): Delete declaration.
1798 (dcache_read_memory_partial): New declaration.
1799 (dcache_update): Update prototype.
1800 * target.c (raw_memory_xfer_partial): Update the dcache here.
1801 (memory_xfer_partial_1): Don't handle dcache writes here.
1803 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1805 * remote-sim.c (gdbsim_load): Add const to prog.
1807 2014-03-03 Tom Tromey <tromey@redhat.com>
1809 * elfread.c (probe_key): Change to bfd_data.
1810 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1811 now per-BFD, not per-objfile.
1812 * stap-probe.c (stap_probe_destroy): Update comment.
1813 (handle_stap_probe): Allocate on the per-BFD obstack.
1815 2014-03-03 Tom Tromey <tromey@redhat.com>
1817 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1818 * breakpoint.c (create_longjmp_master_breakpoint): Use
1820 (add_location_to_breakpoint, bkpt_probe_insert_location)
1821 (bkpt_probe_remove_location): Update.
1822 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1823 * elfread.c (elf_symfile_relocate_probe): Remove.
1824 (elf_probe_fns): Update.
1825 (insert_exception_resume_breakpoint): Change type of "probe"
1826 parameter to bound_probe.
1827 (check_exception_resume): Update.
1828 * objfiles.c (objfile_relocate1): Don't relocate probes.
1829 * probe.c (bound_probe_s): New typedef.
1830 (parse_probes): Use get_probe_address. Set sal's objfile.
1831 (find_probe_by_pc): Return a bound_probe.
1832 (collect_probes): Return a VEC(bound_probe_s).
1833 (compare_probes): Update.
1834 (gen_ui_out_table_header_info): Change type of "probes"
1836 (info_probes_for_ops): Update.
1837 (get_probe_address): New function.
1838 (probe_safe_evaluate_at_pc): Update.
1839 * probe.h (struct probe_ops) <get_probe_address>: New field.
1840 <set_semaphore, clear_semaphore>: Add objfile parameter.
1841 (struct probe) <objfile>: Remove field.
1843 <address>: Update comment.
1844 (struct bound_probe): New.
1845 (find_probe_by_pc): Return a bound_probe.
1846 (get_probe_address): Declare.
1847 * solib-svr4.c (struct probe_and_action) <address>: New field.
1848 (hash_probe_and_action, equal_probe_and_action): Update.
1849 (register_solib_event_probe): Add address parameter.
1850 (solib_event_probe_at): Update.
1851 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1853 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1854 (stap_get_probe_address): New function.
1855 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1856 (compile_probe_arg): Update.
1857 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1859 (handle_stap_probe): Don't relocate the probe.
1860 (stap_relocate): Remove.
1861 (stap_gen_info_probes_table_values): Update.
1862 (stap_probe_ops): Remove stap_relocate.
1863 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1864 (debug_sym_probe_fns): Update.
1865 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1866 * symtab.c (init_sal): Use memset.
1867 * symtab.h (struct symtab_and_line) <objfile>: New field.
1868 * tracepoint.c (start_tracing, stop_tracing): Update.
1870 2014-03-03 Tom Tromey <tromey@redhat.com>
1872 * probe.h (parse_probes, find_probe_by_pc)
1873 (find_probes_in_objfile): Fix comments.
1875 2014-03-02 Doug Evans <xdje42@gmail.com>
1877 * infrun.c (handle_signal_stop): Replace test for
1878 TARGET_WAITKIND_STOPPED with an assert.
1880 2014-03-02 Doug Evans <xdje42@gmail.com>
1882 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1884 2014-03-02 Doug Evans <xdje42@gmail.com>
1886 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1888 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1890 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1892 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1894 * i386obsd-nat.c: Include "obsd-nat.h".
1895 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1897 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1899 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1901 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1903 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1905 * mips64obsd-nat.c: Include "obsd-nath".
1906 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1908 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1910 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1912 * amd64obsd-nat.c: Include "obsd-nat,h.
1913 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1915 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1917 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1919 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1920 (find_overload_match): Update call to find_oload_champ.
1921 (find_oload_champ_namespace_loop): Likewise
1923 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1925 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1927 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1928 * config/sparc/obsd64.mh: New file.
1929 * sparc64obsd-nat.c: New file.
1931 * obsd-nat.h: New file.
1932 * obsd-nat.c: New file.
1933 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1934 (ALLDEPFILES): Add obsd-nat.c.
1936 2014-02-28 Tom Tromey <tromey@redhat.com>
1938 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1939 * cli-out.h (cli_ui_out_impl): Now const.
1940 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1941 * ui-out.c (struct ui_out) <impl>: Now const.
1942 (default_ui_out_impl): Now const.
1943 (ui_out_new): Make 'impl' parameter const.
1944 * ui-out.h (ui_out_new): Update.
1946 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1948 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1950 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1952 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1954 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1956 Additional PR 8882 fix.
1957 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1959 2014-02-27 Pedro Alves <palves@redhat.com>
1961 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1964 2014-02-27 Pedro Alves <palves@redhat.com>
1967 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1968 * nat/linux-waitpid.c: Include string.h.
1969 (status_to_str): Moved here and made extern.
1970 * nat/linux-waitpid.h (status_to_str): New declaration.
1972 2014-02-27 Hui Zhu <hui@codesourcery.com>
1975 * infrun.c (ptid_match): Move ...
1976 * common/ptid.c (ptid_match): ... here.
1977 * inferior.h (ptid_match): Move ...
1978 * common/ptid.h (ptid_match): ... here.
1980 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1982 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1983 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1986 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1988 * obsd-tdep.c (obsd_auxv_parse): New function.
1989 (obsd_init_abi): Set auxv_parse.
1991 * gdbarch.sh (auxv_parse): New.
1992 * gdbarch.h: Regenerated.
1993 * gdbarch.c: Regenerated.
1994 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1996 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1998 * guile/scm-value.c (gdbscm_history_append_x): New function.
1999 (value_functions): Add it.
2001 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2003 * dwarf2read.c (attr_value_as_address): New function.
2004 (dwarf2_find_base_address, read_call_site_scope): Use
2005 attr_value_as_address in place of DW_ADDR.
2006 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
2007 the low and high addresses. Slight rework of the handling
2008 of the high pc being a constant form, and limit it to
2009 DWARF verson 4 or higher.
2010 (dwarf2_record_block_ranges): Likewise.
2011 (read_partial_die): Likewise.
2012 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
2014 2014-02-26 Tom Tromey <tromey@redhat.com>
2016 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
2018 2014-02-26 Tom Tromey <tromey@redhat.com>
2020 * elfread.c (elf_read_minimal_symbols): Return early if
2021 minimal symbols have already been read. Add "ei" parameter.
2022 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
2023 * minsyms.c (prim_record_minimal_symbol_full): Update.
2024 * objfiles.h (struct objstats) <n_minsyms>: Move...
2025 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
2026 * symmisc.c (print_objfile_statistics): Update.
2028 2014-02-26 Tom Tromey <tromey@redhat.com>
2030 * elfread.c (elf_read_minimal_symbols): New function, from
2032 (elf_symfile_read): Call it.
2034 2014-02-26 Tom Tromey <tromey@redhat.com>
2036 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
2037 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
2038 (lookup_minimal_symbol_solib_trampoline)
2039 (lookup_minimal_symbol_by_pc_section_1)
2040 (lookup_minimal_symbol_and_objfile): Update.
2041 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
2042 Don't allocate a minimal symbol if minsyms have already been read.
2043 (build_minimal_symbol_hash_tables): Update.
2044 (install_minimal_symbols): Do nothing if minsyms already read.
2045 Use the per-BFD obstack.
2046 (terminate_minimal_symbol_table): Use the per-BFD obstack.
2047 * objfiles.c (allocate_objfile): Call
2048 terminate_minimal_symbol_table later.
2049 (have_minimal_symbols): Update.
2050 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
2051 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
2052 Move from struct objfile.
2053 <minsyms_read>: New field.
2054 (struct objfile) <msymbols, minimal_symbol_count,
2055 msymbol_hash, msymbol_demangled_hash>: Move.
2056 (ALL_OBJFILE_MSYMBOLS): Update.
2057 * symfile.c (read_symbols): Set minsyms_read.
2058 (reread_symbols): Update.
2059 * symmisc.c (dump_objfile, dump_msymbols): Update.
2061 2014-02-26 Tom Tromey <tromey@redhat.com>
2063 * minsyms.c (msymbols_sort): Remove.
2064 * minsyms.h (msymbols_sort): Remove.
2065 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
2066 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
2067 * elfread.c (elf_symtab_read): Don't add section offsets.
2068 * xcoffread.c (record_minimal_symbol): Don't add section offset
2069 to minimal symbol address.
2070 * somread.c (text_offset, data_offset): Remove.
2071 (som_symtab_read): Don't add section offsets to minimal symbol
2073 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
2074 Don't add section offsets to minimal symbols.
2075 * coffread.c (coff_symtab_read): Don't add section offsets
2076 to minimal symbol addresses.
2077 * machoread.c (macho_symtab_add_minsym): Don't add section offset
2078 to minimal symbol addresses.
2079 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
2080 section offset to minimal symbol addresses.
2081 * mdebugread.c (parse_partial_symbols): Don't add section
2082 offset to minimal symbol addresses.
2083 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
2084 offset to minimal symbol addresses.
2086 2014-02-26 Tom Tromey <tromey@redhat.com>
2088 * ada-lang.c (ada_main_name): Update.
2089 (ada_add_standard_exceptions): Update.
2090 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2091 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2092 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
2093 * auxv.c (ld_so_xfer_auxv): Update.
2094 * avr-tdep.c (avr_scan_prologue): Update.
2095 * ax-gdb.c (gen_var_ref): Update.
2096 * blockframe.c (get_pc_function_start)
2097 (find_pc_partial_function_gnu_ifunc): Update.
2098 * breakpoint.c (create_overlay_event_breakpoint)
2099 (create_longjmp_master_breakpoint)
2100 (create_std_terminate_master_breakpoint)
2101 (create_exception_master_breakpoint): Update.
2102 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2103 * c-valprint.c (c_val_print): Update.
2104 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2105 * common/agent.c (agent_look_up_symbols): Update.
2106 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2107 * dwarf2loc.c (call_site_to_target_addr): Update.
2108 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
2109 * elfread.c (elf_gnu_ifunc_record_cache)
2110 (elf_gnu_ifunc_resolve_by_got): Update.
2111 * findvar.c (default_read_var_value): Update.
2112 * frame.c (inside_main_func): Update.
2113 * frv-tdep.c (frv_frame_this_id): Update.
2114 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2115 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2117 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
2118 (hppa_hpux_find_dummy_bpaddr): Update.
2119 * hppa-tdep.c (hppa_symbol_address): Update.
2120 * infcmd.c (until_next_command): Update.
2121 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
2123 * linespec.c (minsym_found, add_minsym): Update.
2124 * linux-nat.c (get_signo): Update.
2125 * linux-thread-db.c (inferior_has_bug): Update.
2126 * m32c-tdep.c (m32c_return_value)
2127 (m32c_m16c_address_to_pointer): Update.
2128 * m32r-tdep.c (m32r_frame_this_id): Update.
2129 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2130 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2131 * maint.c (maintenance_translate_address): Update.
2132 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
2133 (frob_address): New function.
2134 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
2135 frob_address. Rename parameter to "pc_in".
2136 (compare_minimal_symbols, compact_minimal_symbols): Use raw
2138 (find_solib_trampoline_target, minimal_symbol_upper_bound):
2140 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2141 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
2142 * objc-lang.c (find_objc_msgsend): Update.
2143 * objfiles.c (objfile_relocate1): Update.
2144 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2145 * p-valprint.c (pascal_val_print): Update.
2146 * parse.c (write_exp_msymbol): Update.
2147 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
2148 (ppc_elfv2_skip_entrypoint): Update.
2149 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2150 * printcmd.c (build_address_symbolic, msym_info)
2151 (address_info): Update.
2152 * proc-service.c (ps_pglobal_lookup): Update.
2153 * psymtab.c (find_pc_sect_psymtab_closer)
2154 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
2155 Change msymbol parameter to bound_minimal_symbol.
2156 * ravenscar-thread.c (get_running_thread_id): Update.
2157 * remote.c (remote_check_symbols): Update.
2158 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
2160 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2161 * solib-dsbt.c (lm_base): Update.
2162 * solib-frv.c (lm_base, main_got): Update.
2163 * solib-irix.c (locate_base): Update.
2164 * solib-som.c (som_solib_create_inferior_hook)
2165 (link_map_start): Update.
2166 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
2167 * solib-svr4.c (elf_locate_base, enable_break): Update.
2168 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2169 (flush_ea_cache): Update.
2170 * stabsread.c (define_symbol, scan_file_globals): Update.
2171 * stack.c (find_frame_funname): Update.
2172 * symfile-debug.c (debug_qf_expand_symtabs_matching)
2173 (debug_qf_find_pc_sect_symtab): Update.
2174 * symfile.c (simple_read_overlay_table)
2175 (simple_overlay_update): Update.
2176 * symfile.h (struct quick_symbol_functions)
2177 <find_pc_sect_symtab>: Change type of msymbol to
2178 bound_minimal_symbol.
2179 * symmisc.c (dump_msymbols): Update.
2180 * symtab.c (find_pc_sect_symtab_via_partial)
2181 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
2182 (search_symbols, print_msymbol_info): Update.
2183 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
2184 (MSYMBOL_VALUE_ADDRESS): Redefine.
2185 (BMSYMBOL_VALUE_ADDRESS): New macro.
2186 * tracepoint.c (scope_info): Update.
2187 * tui/tui-disasm.c (tui_find_disassembly_address)
2188 (tui_get_begin_asm_address): Update.
2189 * valops.c (find_function_in_inferior): Update.
2190 * value.c (value_static_field, value_fn_field): Update.
2192 2014-02-26 Tom Tromey <tromey@redhat.com>
2194 * ada-lang.c (ada_update_initial_language): Update.
2195 (ada_main_name, ada_has_this_exception_support): Update.
2196 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2197 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2198 * arm-tdep.c (arm_skip_stub): Update.
2199 * auxv.c (ld_so_xfer_auxv): Update.
2200 * avr-tdep.c (avr_scan_prologue): Update.
2201 * ax-gdb.c (gen_var_ref): Update.
2202 * breakpoint.c (struct breakpoint_objfile_data)
2203 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
2204 type to bound_minimal_symbol.
2205 (create_overlay_event_breakpoint)
2206 (create_longjmp_master_breakpoint)
2207 (create_std_terminate_master_breakpoint)
2208 (create_exception_master_breakpoint): Update.
2209 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2210 * c-exp.y (classify_name): Update.
2211 * coffread.c (coff_symfile_read): Update.
2212 * common/agent.c (agent_look_up_symbols): Update.
2213 * d-lang.c (d_main_name): Update.
2214 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2215 * dec-thread.c (enable_dec_thread): Update.
2216 * dwarf2loc.c (call_site_to_target_addr): Update.
2217 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
2218 * eval.c (evaluate_subexp_standard): Update.
2219 * findvar.c (struct minsym_lookup_data) <result>: Change type
2220 to bound_minimal_symbol.
2222 (minsym_lookup_iterator_cb, default_read_var_value): Update.
2223 * frame.c (inside_main_func): Update.
2224 * frv-tdep.c (frv_frame_this_id): Update.
2225 * gcore.c (call_target_sbrk): Update.
2226 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2227 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2229 * go-lang.c (go_main_name): Update.
2230 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
2231 (hppa_hpux_find_import_stub_for_addr): Update.
2232 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
2233 Update. Change return type.
2234 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
2236 * jit.c (jit_breakpoint_re_set_internal): Update.
2237 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
2239 * linux-nat.c (get_signo): Update.
2240 * linux-thread-db.c (inferior_has_bug): Update
2241 * m32c-tdep.c (m32c_return_value)
2242 (m32c_m16c_address_to_pointer): Update.
2243 * m32r-tdep.c (m32r_frame_this_id): Update.
2244 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2245 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2246 * minsyms.c (lookup_minimal_symbol_internal): Rename to
2247 lookup_minimal_symbol. Change return type.
2248 (lookup_minimal_symbol): Remove.
2249 (lookup_bound_minimal_symbol): Update.
2250 (lookup_minimal_symbol_text): Change return type.
2251 (lookup_minimal_symbol_solib_trampoline): Change return type.
2252 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
2253 (lookup_minimal_symbol_solib_trampoline): Change return type.
2254 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2255 * objc-lang.c (lookup_objc_class, lookup_child_selector)
2256 (value_nsstring, find_imps): Update.
2257 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2258 * p-lang.c (pascal_main_name): Update.
2259 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
2260 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2261 * proc-service.c (ps_pglobal_lookup): Update.
2262 * ravenscar-thread.c (get_running_thread_msymbol): Change
2264 (has_ravenscar_runtime, get_running_thread_id): Update.
2265 * remote.c (remote_check_symbols): Update.
2266 * sol-thread.c (ps_pglobal_lookup): Update.
2267 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2268 * solib-dsbt.c (lm_base): Update.
2269 * solib-frv.c (lm_base, frv_relocate_section_addresses):
2271 * solib-irix.c (locate_base): Update.
2272 * solib-som.c (som_solib_create_inferior_hook)
2273 (som_solib_desire_dynamic_linker_symbols, link_map_start):
2275 * solib-spu.c (spu_enable_break): Update.
2276 * solib-svr4.c (elf_locate_base, enable_break): Update.
2277 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2278 (flush_ea_cache): Update.
2279 * stabsread.c (define_symbol): Update.
2280 * symfile.c (simple_read_overlay_table): Update.
2281 * symtab.c (find_pc_sect_line): Update.
2282 * tracepoint.c (scope_info): Update.
2283 * tui-disasm.c (tui_get_begin_asm_address): Update.
2284 * value.c (value_static_field): Update.
2286 2014-02-26 Tom Tromey <tromey@redhat.com>
2288 * minsyms.c (prim_record_minimal_symbol_full): Use
2289 SET_MSYMBOL_VALUE_ADDRESS.
2290 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
2291 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
2292 SET_MSYMBOL_VALUE_ADDRESS.
2293 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
2294 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
2296 2014-02-26 Tom Tromey <tromey@redhat.com>
2298 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
2299 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
2300 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
2301 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
2302 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
2303 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
2304 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
2305 * ada-lang.c (ada_main_name): Update.
2306 (ada_lookup_simple_minsym): Update.
2307 (ada_make_symbol_completion_list): Update.
2308 (ada_add_standard_exceptions): Update.
2309 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
2310 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2311 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
2312 * arm-tdep.c (skip_prologue_function): Update.
2313 (arm_skip_stack_protector, arm_skip_stub): Update.
2314 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
2315 (arm_wince_skip_main_prologue): Update.
2316 * auxv.c (ld_so_xfer_auxv): Update.
2317 * avr-tdep.c (avr_scan_prologue): Update.
2318 * ax-gdb.c (gen_var_ref): Update.
2319 * block.c (call_site_for_pc): Update.
2320 * blockframe.c (get_pc_function_start): Update.
2321 (find_pc_partial_function_gnu_ifunc): Update.
2322 * breakpoint.c (create_overlay_event_breakpoint): Update.
2323 (create_longjmp_master_breakpoint): Update.
2324 (create_std_terminate_master_breakpoint): Update.
2325 (create_exception_master_breakpoint): Update.
2326 (resolve_sal_pc): Update.
2327 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2328 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
2330 * c-valprint.c (c_val_print): Update.
2331 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2332 * coffread.c (coff_symfile_read): Update.
2333 * common/agent.c (agent_look_up_symbols): Update.
2334 * dbxread.c (find_stab_function_addr): Update.
2335 (end_psymtab): Update.
2336 * dwarf2loc.c (call_site_to_target_addr): Update.
2337 (func_verify_no_selftailcall): Update.
2338 (tailcall_dump): Update.
2339 (call_site_find_chain_1): Update.
2340 (dwarf_expr_reg_to_entry_parameter): Update.
2341 * elfread.c (elf_gnu_ifunc_record_cache): Update.
2342 (elf_gnu_ifunc_resolve_by_got): Update.
2343 * f-valprint.c (info_common_command): Update.
2344 * findvar.c (read_var_value): Update.
2345 * frame.c (get_prev_frame_1): Update.
2346 (inside_main_func): Update.
2347 * frv-tdep.c (frv_skip_main_prologue): Update.
2348 (frv_frame_this_id): Update.
2349 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2350 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
2351 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
2352 (gnuv3_skip_trampoline): Update.
2353 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
2354 (hppa64_hpux_in_solib_call_trampoline): Update.
2355 (hppa_hpux_skip_trampoline_code): Update.
2356 (hppa64_hpux_search_dummy_call_sequence): Update.
2357 (hppa_hpux_find_import_stub_for_addr): Update.
2358 (hppa_hpux_find_dummy_bpaddr): Update.
2359 * hppa-tdep.c (hppa_symbol_address)
2360 (hppa_lookup_stub_minimal_symbol): Update.
2361 * i386-tdep.c (i386_skip_main_prologue): Update.
2362 (i386_pe_skip_trampoline_code): Update.
2363 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
2364 * infcall.c (get_function_name): Update.
2365 * infcmd.c (until_next_command): Update.
2366 * jit.c (jit_breakpoint_re_set_internal): Update.
2367 (jit_inferior_init): Update.
2368 * linespec.c (minsym_found): Update.
2369 (add_minsym): Update.
2370 * linux-fork.c (info_checkpoints_command): Update.
2371 * linux-nat.c (get_signo): Update.
2372 * linux-thread-db.c (inferior_has_bug): Update.
2373 * m32c-tdep.c (m32c_return_value): Update.
2374 (m32c_m16c_address_to_pointer): Update.
2375 (m32c_m16c_pointer_to_address): Update.
2376 * m32r-tdep.c (m32r_frame_this_id): Update.
2377 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2378 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2379 * maint.c (maintenance_translate_address): Update.
2380 * minsyms.c (add_minsym_to_hash_table): Update.
2381 (add_minsym_to_demangled_hash_table): Update.
2382 (msymbol_objfile): Update.
2383 (lookup_minimal_symbol): Update.
2384 (iterate_over_minimal_symbols): Update.
2385 (lookup_minimal_symbol_text): Update.
2386 (lookup_minimal_symbol_by_pc_name): Update.
2387 (lookup_minimal_symbol_solib_trampoline): Update.
2388 (lookup_minimal_symbol_by_pc_section_1): Update.
2389 (lookup_minimal_symbol_and_objfile): Update.
2390 (prim_record_minimal_symbol_full): Update.
2391 (compare_minimal_symbols): Update.
2392 (compact_minimal_symbols): Update.
2393 (build_minimal_symbol_hash_tables): Update.
2394 (install_minimal_symbols): Update.
2395 (terminate_minimal_symbol_table): Update.
2396 (find_solib_trampoline_target): Update.
2397 (minimal_symbol_upper_bound): Update.
2398 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2399 * mips-tdep.c (mips_stub_frame_sniffer): Update.
2400 (mips_skip_pic_trampoline_code): Update.
2401 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
2402 * objc-lang.c (selectors_info): Update.
2403 (classes_info): Update.
2404 (find_methods): Update.
2405 (find_imps): Update.
2406 (find_objc_msgsend): Update.
2407 * objfiles.c (objfile_relocate1): Update.
2408 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
2409 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2410 * p-valprint.c (pascal_val_print): Update.
2411 * parse.c (write_exp_msymbol): Update.
2412 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
2413 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
2414 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2415 * printcmd.c (build_address_symbolic): Update.
2417 (address_info): Update.
2418 * proc-service.c (ps_pglobal_lookup): Update.
2419 * psymtab.c (find_pc_sect_psymtab_closer): Update.
2420 (find_pc_sect_psymtab): Update.
2421 * python/py-framefilter.c (py_print_frame): Update.
2422 * ravenscar-thread.c (get_running_thread_id): Update.
2423 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
2425 * remote.c (remote_check_symbols): Update.
2426 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
2427 (rs6000_skip_trampoline_code): Update.
2428 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
2429 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2430 * solib-dsbt.c (lm_base): Update.
2431 * solib-frv.c (lm_base): Update.
2433 * solib-irix.c (locate_base): Update.
2434 * solib-som.c (som_solib_create_inferior_hook): Update.
2435 (som_solib_desire_dynamic_linker_symbols): Update.
2436 (link_map_start): Update.
2437 * solib-spu.c (spu_enable_break): Update.
2438 (ocl_enable_break): Update.
2439 * solib-svr4.c (elf_locate_base): Update.
2440 (enable_break): Update.
2441 * spu-tdep.c (spu_get_overlay_table): Update.
2442 (spu_catch_start): Update.
2443 (flush_ea_cache): Update.
2444 * stabsread.c (define_symbol): Update.
2445 (scan_file_globals): Update.
2446 * stack.c (find_frame_funname): Update.
2447 (frame_info): Update.
2448 * symfile.c (simple_read_overlay_table): Update.
2449 (simple_overlay_update): Update.
2450 * symmisc.c (dump_msymbols): Update.
2451 * symtab.c (fixup_section): Update.
2452 (find_pc_sect_line): Update.
2453 (skip_prologue_sal): Update.
2454 (search_symbols): Update.
2455 (print_msymbol_info): Update.
2456 (rbreak_command): Update.
2457 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
2458 (completion_list_objc_symbol): Update.
2459 (default_make_symbol_completion_list_break_on): Update.
2460 * tracepoint.c (scope_info): Update.
2461 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
2462 (tui_get_begin_asm_address): Update.
2463 * valops.c (find_function_in_inferior): Update.
2464 * value.c (value_static_field): Update.
2465 (value_fn_field): Update.
2467 2014-02-26 Tom Tromey <tromey@redhat.com>
2469 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
2470 bound minimal symbols. Move code that knows about minsym
2472 * minsyms.c (minimal_symbol_upper_bound): ... here. New
2474 * minsyms.h (minimal_symbol_upper_bound): Declare.
2475 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
2476 minimal_symbol_upper_bound.
2478 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2480 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
2481 Use the type's name if its basic type does not have a tag.
2483 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2485 * dwarf2read.c (read_subrange_type): Add comment.
2487 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2489 * dwarf2read.c (update_enumeration_type_from_children): New
2490 function, mostly extracted from process_structure_scope.
2491 (read_enumeration_type): Call update_enumeration_type_from_children.
2492 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
2493 and flag_flag_enum fields.
2495 2014-02-26 Pedro Alves <palves@redhat.com>
2497 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
2498 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
2499 to_xfer_partial method.
2501 2014-02-26 Pedro Alves <palves@redhat.com>
2503 * target.c (complete_target_initialization): Don't install
2504 default_xfer_partial as to_xfer_partial hook.
2506 (update_current_target): Don't INHERIT nor de_fault
2507 deprecated_xfer_memory. Delete de_fault macro.
2508 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
2509 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
2510 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
2513 2014-02-26 Pedro Alves <palves@redhat.com>
2515 * go32-nat.c (my_write_child): New function.
2516 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
2517 (go32_xfer_partial): New function.
2518 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
2519 Instead install a to_xfer_partial hook.
2521 2014-02-26 Pedro Alves <palves@redhat.com>
2523 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
2524 to_xfer_partial helper. Rewrite.
2525 (procfs_xfer_partial): New function.
2526 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
2527 Install a to_xfer_partial hook.
2529 2014-02-26 Pedro Alves <palves@redhat.com>
2531 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
2532 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
2533 (m32r_xfer_partial): New function.
2534 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
2535 Install a to_xfer_partial hook.
2537 2014-02-26 Pedro Alves <palves@redhat.com>
2539 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
2541 (mips_xfer_partial): New function.
2542 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
2543 hook. Install a to_xfer_partial hook.
2545 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2547 * gdbtypes.h (create_array_type_with_stride): Add declaration.
2548 * gdbtypes.c (create_array_type_with_stride): New function,
2549 renaming create_array_type, but with an added parameter
2550 called "bit_stride".
2551 (create_array_type): Re-implement using
2552 create_array_type_with_stride.
2553 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
2554 and DW_AT_bit_stride attributes.
2556 2014-02-26 Pedro Alves <palves@redhat.com>
2558 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
2559 task-specific breakpoints.
2561 2014-02-25 Pedro Alves <palves@redhat.com>
2563 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
2564 handling of object == TARGET_OBJECT_UNWIND_TABLE.
2566 2014-02-25 Stan Shebs <stan@codesourcery.com>
2568 * defs.h: Annotate comments for Doxygen.
2570 2014-02-25 Tom Tromey <tromey@redhat.com>
2572 * target.h (target_ignore): Don't declare.
2573 * target.c (target_ignore): Remove.
2575 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2578 * auto-load.c (auto_load_objfile_script_1): Change filename to
2581 2014-02-25 Joel Brobecker <brobecker@adacore.com>
2583 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
2584 documentation. Adjust prototype to match the target_ops
2585 to_xfer_partial method. Adjust implementation accordingly.
2587 2014-02-25 Hui Zhu <hui@codesourcery.com>
2589 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
2592 2014-02-25 Kevin Buettner <kevinb@redhat.com>
2594 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
2595 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
2596 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
2597 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
2598 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
2599 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
2600 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
2601 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
2603 (rl78_register_type): Use a data pointer type for SP and
2604 new pseudo registers mentioned above. Use a 16 bit integer
2605 type for all other register pairs.
2606 (rl78_register_name, rl78_g10_register_name): Update for
2607 new pseudo registers.
2608 (rl78_pseudo_register_read): Likewise.
2609 (rl78_pseudo_register_write): Likewise.
2610 (rl78_dwarf_reg_to_regnum): Return register numbers representing
2611 to the newly added pseudo registers.
2613 2014-02-24 Doug Evans <dje@google.com>
2615 * value.c (record_latest_value): Fix comment.
2616 * printcmd.c (print_command_1): Remove code to handle -1 return from
2617 record_latest_value.
2619 2014-02-24 Pedro Alves <palves@redhat.com>
2621 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2622 deprecated_xfer_memory hook.
2623 (procfs_xfer_partial): Call procfs_xfer_memory instead
2624 of the deprecated_xfer_memory target hook.
2625 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2628 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
2630 * windows-nat.c (windows_xfer_shared_libraries): Return
2631 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2632 requested object is TARGET_OBJECT_LIBRARIES.
2634 2014-02-24 Yao Qi <yao@codesourcery.com>
2636 * target.h (enum target_xfer_status)
2637 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2638 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2640 * corefile.c (memory_error_message): User updated.
2641 * exec.c (section_table_read_available_memory): Likewise.
2642 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2643 * target.c (target_xfer_status_to_string): Likewise.
2644 (raw_memory_xfer_partial): Likewise.
2645 (memory_xfer_partial_1, target_xfer_partial): Likewise.
2646 * valops.c (read_value_memory): Likewise.
2647 * exec.h: Update comments.
2649 2014-02-24 Yao Qi <yao@codesourcery.com>
2651 * target.c (target_xfer_status_to_string): Rename argument err
2653 * target.h (target_xfer_status_to_string): Update declaration.
2654 Replace target_xfer_error_to_string with
2655 target_xfer_status_to_string in comment.
2657 2014-02-24 Yao Qi <yao@codesourcery.com>
2659 * mips-linux-nat.c (super_close): Update its type.
2660 (mips_linux_close): Pass 'self' to super_close.
2662 2014-02-24 Yao Qi <yao@codesourcery.com>
2664 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2665 * corefile.c (read_memory): Adjusted.
2666 * target.c (target_write_with_progress): Adjusted.
2668 2014-02-23 Yao Qi <yao@codesourcery.com>
2672 2013-10-25 Yao Qi <yao@codesourcery.com>
2674 * remote.c (remote_traceframe_info): Return early if
2675 traceframe is not selected.
2677 2013-07-19 Yao Qi <yao@codesourcery.com>
2679 * target.c (update_current_target): Change the default action
2680 of 'to_traceframe_info' from tcomplain to return_zero.
2681 * target.h (struct target_ops) <to_traceframe_info>: Add more
2684 2014-02-23 Yao Qi <yao@codesourcery.com>
2686 * valops.c (read_value_memory): Rewrite it. Call
2687 target_xfer_partial in a loop.
2688 * exec.h (section_table_available_memory): Remove declaration.
2689 Move comments to ...
2690 * exec.c (section_table_available_memory): ... here. Make it
2693 2014-02-23 Yao Qi <yao@codesourcery.com>
2695 * exec.c (section_table_read_available_memory): New function.
2696 * exec.h (section_table_read_available_memory): Declare.
2697 * ctf.c (ctf_xfer_partial): Call
2698 section_table_read_available_memory.
2699 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2701 2014-02-23 Yao Qi <yao@codesourcery.com>
2703 * ctf.c (ctf_xfer_partial): Move code to ...
2704 * exec.c (exec_read_partial_read_only): ... it. New function.
2705 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2706 * tracefile.c: Include "exec.h".
2707 * exec.h (exec_read_partial_read_only): Declare.
2709 2014-02-23 Yao Qi <yao@codesourcery.com>
2711 * tracefile-tfile.c (tfile_has_all_memory): Remove.
2712 (tfile_has_memory): Remove.
2713 (init_tfile_ops): Don't set fields to_has_all_memory and
2714 to_has_memory of tfile_ops.
2715 * tracefile.c (tracefile_has_all_memory): New function.
2716 (tracefile_has_memory): New function.
2717 (init_tracefile_ops): Initialize fields to_has_all_memory and
2718 to_has_memory of 'ops'.
2720 2014-02-23 Yao Qi <yao@codesourcery.com>
2722 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2723 (ctf_thread_alive, ctf_get_trace_status): Remove.
2724 (init_ctf_ops): Don't set some fields of ctf_ops. Call
2726 * tracefile-tfile.c (tfile_get_trace_status): Remove.
2727 (tfile_has_stack, tfile_has_registers): Remove.
2728 (tfile_thread_alive): Remove.
2729 (init_tfile_ops): Don't set some fields of tfile_ops. Call
2731 * tracefile.c (tracefile_has_stack): New function.
2732 (tracefile_has_registers): New function.
2733 (tracefile_thread_alive): New function.
2734 (tracefile_get_trace_status): New function.
2735 (init_tracefile_ops): New function.
2736 * tracefile.h (init_tracefile_ops): Declare.
2738 2014-02-23 Yao Qi <yao@codesourcery.com>
2740 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2741 (O_LARGEFILE): Likewise.
2742 (tfile_ops): Likewise.
2743 (TRACE_HEADER_SIZE): Likewise.
2744 (trace_fd, trace_frames_offset, cur_offset): Likewise.
2745 (cur_data_size): Likewise.
2746 (tfile_read, tfile_open, tfile_interp_line): Likewise.
2747 (tfile_close, tfile_files_info): Likewise.
2748 (tfile_get_trace_status): Likewise.
2749 (tfile_get_tracepoint_status): Likewise.
2750 (tfile_get_traceframe_address): Likewise.
2751 (tfile_trace_find, match_blocktype): Likewise.
2752 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2753 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2754 (tfile_get_trace_state_variable_value): Likewise.
2755 (tfile_has_all_memory, tfile_has_memory): Likewise.
2756 (tfile_has_stack, tfile_has_registers): Likewise.
2757 (tfile_thread_alive, build_traceframe_info): Likewise.
2758 (tfile_traceframe_info, init_tfile_ops): Likewise.
2759 (_initialize_tracepoint): Don't call init_tfile_ops
2760 and add_target_with_completer.
2761 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2762 exec.h, completer.h and filenames.h.
2763 (_initialize_tracefile_tfile): New function.
2765 2014-02-23 Yao Qi <yao@codesourcery.com>
2767 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2769 (HFILES_NO_SRCDIR): Add tracefile.h.
2770 * ctf.c: Include "tracefile.h".
2771 * tracefile.h: New file.
2772 * tracefile.c: New file
2773 * tracefile-tfile.c: New file.
2774 * tracepoint.c: Include "tracefile.h".
2775 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2776 (stop_reason_names): Add const.
2777 (trace_file_writer_xfree): Move it to tracefile.c.
2778 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2779 (trace_save_ctf): Likewise.
2780 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2781 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2782 (tfile_write_header, tfile_write_regblock_type): Likewise.
2783 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2784 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2785 (tfile_write_raw_data, tfile_end): Likewise.
2786 (tfile_trace_file_writer_new): Likewise.
2787 (free_uploaded_tp): Make it extern.
2788 (free_uploaded_tsv): Make it extern.
2789 (_initialize_tracepoint): Move code to register command 'tsave'
2791 * tracepoint.h (stop_reason_names): Declare.
2792 (struct trace_frame_write_ops): Move it to tracefile.h.
2793 (struct trace_file_write_ops): Likewise.
2794 (struct trace_file_writer): Likewise.
2795 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2797 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2800 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2802 (get_cores_used_by_process): New parameter num_cores, use it.
2803 (linux_xfer_osdata_processes): Pass num_cores to it.
2804 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2807 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2809 * target.c (memory_xfer_partial): Fix length arg in call to
2810 breakpoint_xfer_memory.
2812 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2815 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2816 number comes after the + or - signs. Adjust length of register
2817 name to be extracted.
2819 2014-02-20 Tom Tromey <tromey@redhat.com>
2821 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2822 (ada_varobj_ops): Mark "extern".
2824 2014-02-20 Tom Tromey <tromey@redhat.com>
2826 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2828 2014-02-20 Doug Evans <xdje42@gmail.com>
2830 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2831 All callers updated.
2832 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2833 All callers updated.
2834 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2835 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2837 2014-02-20 lin zuojian <manjian2006@gmail.com>
2838 Joel Brobecker <brobecker@adacore.com>
2839 Doug Evans <xdje42@gmail.com>
2842 * dwarf2read.c (struct die_info): New member in_process.
2843 (reset_die_in_process): New function.
2844 (process_die): Set it at the start, reset when returning.
2845 (inherit_abstract_dies): Only call process_die if origin_child_die
2846 not already being processed.
2848 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2850 * windows-nat.c (handle_unload_dll): Add function documentation.
2851 (do_initial_windows_stuff): Add comment explaining why we wait
2852 until after inferior initialization has finished before
2853 processing all DLLs.
2855 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2857 * windows-nat.c (get_module_name): Delete.
2858 (windows_get_exec_module_filename): New function, mostly
2859 inspired from get_module_name.
2860 (windows_pid_to_exec_file): Replace call to get_module_name
2861 by call to windows_get_exec_module_filename.
2863 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2865 * windows-nat.c (handle_load_dll): Rewrite this function's
2866 introductory comment. Remove code using get_module_name
2867 to get the DLL's name.
2869 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2871 * windows-nat.c (get_windows_debug_event): Ignore
2872 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2873 if windows_initialization_done == 0.
2874 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2875 Adjust implementation to always load all DLLs.
2876 (do_initial_windows_stuff): Replace call to
2877 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2879 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2881 * windows-nat.c (_initialize_windows_nat): Deprecate the
2882 "dll-symbols" command. Turn the "add-shared-symbol-files"
2883 and "assf" aliases into commands, and deprecate them as well.
2884 * NEWS: Add entry explaining that "dll-symbols" and its two
2885 aliases are now deprecated.
2887 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2889 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2890 new-line in debug string. Remove trailing spaces.
2892 2014-02-19 Stan Shebs <stan@codesourcery.com>
2894 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2896 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2898 * NEWS: Add entry for the new feature
2899 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2902 2014-02-19 Stan Shebs <stan@codesourcery.com>
2904 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2906 2014-02-19 Pedro Alves <palves@redhat.com>
2908 * common/ptid.h (struct ptid): Mention that process_stratum
2909 targets should prefer ptid.lwp.
2911 2014-02-19 Pedro Alves <palves@redhat.com>
2913 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2914 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2915 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2916 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2917 store remote thread ids rather than ptid.tid.
2918 (_initialize_remote): Adjust.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * target.c (target_get_unwinder): Rewrite.
2923 (target_get_tailcall_unwinder): Rewrite.
2924 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2925 (record_btrace_to_get_tailcall_unwinder): New function.
2926 (init_record_btrace_ops): Update.
2927 * target.h (struct target_ops) <to_get_unwinder,
2928 to_get_tailcall_unwinder>: Now function pointers. Use
2929 TARGET_DEFAULT_RETURN.
2931 2014-02-19 Tom Tromey <tromey@redhat.com>
2933 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2935 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2937 2014-02-19 Tom Tromey <tromey@redhat.com>
2939 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2941 * target-delegates.c: Rebuild.
2942 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2943 TARGET_DEFAULT_FUNC.
2944 * target.c (default_target_decr_pc_after_break): Rename from
2945 forward_target_decr_pc_after_break. Simplify.
2946 (target_decr_pc_after_break): Rely on delegation.
2948 2014-02-19 Tom Tromey <tromey@redhat.com>
2950 * target.c (update_current_target): Do not INHERIT to_doc or
2951 to_magic. Do not de_fault to_open or to_close.
2953 2014-02-19 Tom Tromey <tromey@redhat.com>
2955 * gcore.h (objfile_find_memory_regions): Declare.
2956 * gcore.c (objfile_find_memory_regions): No longer static. Add
2958 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2959 * exec.c: Include gcore.h.
2960 (exec_set_find_memory_regions): Remove.
2961 (exec_find_memory_regions): Remove.
2962 (exec_do_find_memory_regions): Remove.
2963 (init_exec_ops): Update.
2964 * defs.h (exec_set_find_memory_regions): Remove.
2966 2014-02-19 Tom Tromey <tromey@redhat.com>
2968 * target-delegates.c: Rebuild.
2969 * target.h (struct target_ops) <to_extra_thread_info,
2970 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2971 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2972 not 0, in TARGET_DEFAULT_RETURN.
2974 2014-02-19 Tom Tromey <tromey@redhat.com>
2976 * target.c (complete_target_initialization): Remove casts. Use
2977 return_zero_has_execution.
2978 (return_zero): Add "ignore" argument.
2979 (return_zero_has_execution): New function.
2980 (init_dummy_target): Remove casts. Use
2981 return_zero_has_execution.
2983 2014-02-19 Tom Tromey <tromey@redhat.com>
2985 * target.c (update_current_target): Update comments. Do not
2988 2014-02-19 Tom Tromey <tromey@redhat.com>
2990 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2992 * corelow.c (core_read_description): Delegate when needed.
2993 * remote.c (remote_read_description): Delegate when needed.
2994 * target-delegates.c: Rebuild.
2995 * target.c (target_read_description): Rewrite.
2996 * target.h (struct target_ops) <to_read_description>: Update
2997 comment. Use TARGET_DEFAULT_RETURN.
2999 2014-02-19 Tom Tromey <tromey@redhat.com>
3001 * target-delegates.c: Rebuild.
3002 * target.c (update_current_target): Don't inherit or default
3004 (find_default_run_target): Check against delegate_can_run.
3005 * target.h (struct target_ops) <to_can_run>: Use
3006 TARGET_DEFAULT_RETURN.
3008 2014-02-19 Tom Tromey <tromey@redhat.com>
3010 * target-delegates.c: Rebuild.
3011 * target.c (target_disconnect): Unconditionally delegate.
3012 * target.h (struct target_ops) <to_disconnect>: Use
3013 TARGET_DEFAULT_NORETURN.
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3017 * record.c (record_stop): Unconditionally delegate.
3018 * target-delegates.c: Rebuild.
3019 * target.c (target_stop_recording): Unconditionally delegate.
3020 * target.h (struct target_ops) <to_stop_recording>: Use
3021 TARGET_DEFAULT_IGNORE.
3023 2014-02-19 Tom Tromey <tromey@redhat.com>
3025 * target-delegates.c: Rebuild.
3026 * target.c (target_enable_btrace): Unconditionally delegate.
3027 * target.h (struct target_ops) <to_enable_btrace>: Use
3028 TARGET_DEFAULT_NORETURN.
3030 2014-02-19 Tom Tromey <tromey@redhat.com>
3032 * target-delegates.c: Rebuild.
3033 * target.c (target_read_btrace): Unconditionally delegate.
3034 * target.h (struct target_ops) <to_read_btrace>: Use
3035 TARGET_DEFAULT_NORETURN.
3037 2014-02-19 Tom Tromey <tromey@redhat.com>
3039 * target-delegates.c: Rebuild.
3040 * target.c (target_teardown_btrace): Unconditionally delegate.
3041 * target.h (struct target_ops) <to_teardown_btrace>: Use
3042 TARGET_DEFAULT_NORETURN.
3044 2014-02-19 Tom Tromey <tromey@redhat.com>
3046 * target-delegates.c: Rebuild.
3047 * target.c (target_disable_btrace): Unconditionally delegate.
3048 * target.h (struct target_ops) <to_disable_btrace>: Use
3049 TARGET_DEFAULT_NORETURN.
3051 2014-02-19 Tom Tromey <tromey@redhat.com>
3053 * target-delegates.c: Rebuild.
3054 * target.c (default_search_memory): New function.
3055 (simple_search_memory): Update comment.
3056 (target_search_memory): Unconditionally delegate.
3057 * target.h (struct target_ops) <to_search_memory>: Use
3058 TARGET_DEFAULT_FUNC.
3060 2014-02-19 Tom Tromey <tromey@redhat.com>
3062 * auxv.c (default_auxv_parse): No longer static.
3063 (target_auxv_parse): Unconditionally delegate.
3064 * auxv.h (default_auxv_parse): Declare.
3065 * target-delegates.c: Rebuild.
3066 * target.c: Include auxv.h.
3067 * target.h (struct target_ops) <to_auxv_parse>: Use
3068 TARGET_DEFAULT_FUNC.
3070 2014-02-19 Tom Tromey <tromey@redhat.com>
3072 * target-delegates.c: Rebuild.
3073 * target.c (target_memory_map): Unconditionally delegate.
3074 * target.h (struct target_ops) <to_memory_map>: Use
3075 TARGET_DEFAULT_RETURN.
3077 2014-02-19 Tom Tromey <tromey@redhat.com>
3079 * target-delegates.c: Rebuild.
3080 * target.c (target_thread_alive): Unconditionally delegate.
3081 * target.h (struct target_ops) <to_thread_alive>: Use
3082 TARGET_DEFAULT_RETURN.
3084 2014-02-19 Tom Tromey <tromey@redhat.com>
3086 * target-delegates.c: Rebuild.
3087 * target.c (target_save_record): Unconditionally delegate.
3088 * target.h (struct target_ops) <to_save_record>: Use
3089 TARGET_DEFAULT_NORETURN.
3091 2014-02-19 Tom Tromey <tromey@redhat.com>
3093 * target-delegates.c: Rebuild.
3094 * target.c (target_delete_record): Unconditionally delegate.
3095 * target.h (struct target_ops) <to_delete_record>: Use
3096 TARGET_DEFAULT_NORETURN.
3098 2014-02-19 Tom Tromey <tromey@redhat.com>
3100 * target-delegates.c: Rebuild.
3101 * target.c (target_record_is_replaying): Unconditionally
3103 * target.h (struct target_ops) <to_record_is_replaying>: Use
3104 TARGET_DEFAULT_RETURN.
3106 2014-02-19 Tom Tromey <tromey@redhat.com>
3108 * target-delegates.c: Rebuild.
3109 * target.c (target_goto_record_begin): Unconditionally delegate.
3110 * target.h (struct target_ops) <to_goto_record_begin>: Use
3111 TARGET_DEFAULT_NORETURN.
3113 2014-02-19 Tom Tromey <tromey@redhat.com>
3115 * target-delegates.c: Rebuild.
3116 * target.c (target_goto_record_end): Unconditionally delegate.
3117 * target.h (struct target_ops) <to_goto_record_end>: Use
3118 TARGET_DEFAULT_NORETURN.
3120 2014-02-19 Tom Tromey <tromey@redhat.com>
3122 * target-delegates.c: Rebuild.
3123 * target.c (target_goto_record): Unconditionally delegate.
3124 * target.h (struct target_ops) <to_goto_record>: Use
3125 TARGET_DEFAULT_NORETURN.
3127 2014-02-19 Tom Tromey <tromey@redhat.com>
3129 * target-delegates.c: Rebuild.
3130 * target.c (target_insn_history): Unconditionally delegate.
3131 * target.h (struct target_ops) <to_insn_history>: Use
3132 TARGET_DEFAULT_NORETURN.
3134 2014-02-19 Tom Tromey <tromey@redhat.com>
3136 * target-delegates.c: Rebuild.
3137 * target.c (target_insn_history_from): Unconditionally delegate.
3138 * target.h (struct target_ops) <to_insn_history_from>: Use
3139 TARGET_DEFAULT_NORETURN.
3141 2014-02-19 Tom Tromey <tromey@redhat.com>
3143 * target-delegates.c: Rebuild.
3144 * target.c (target_insn_history_range): Unconditionally delegate.
3145 * target.h (struct target_ops) <to_insn_history_range>: Use
3146 TARGET_DEFAULT_NORETURN.
3148 2014-02-19 Tom Tromey <tromey@redhat.com>
3150 * target-delegates.c: Rebuild.
3151 * target.c (target_call_history): Unconditionally delegate.
3152 * target.h (struct target_ops) <to_call_history>: Use
3153 TARGET_DEFAULT_NORETURN.
3155 2014-02-19 Tom Tromey <tromey@redhat.com>
3157 * target-delegates.c: Rebuild.
3158 * target.c (target_call_history_from): Unconditionally delegate.
3159 * target.h (struct target_ops) <to_call_history_from>: Use
3160 TARGET_DEFAULT_NORETURN.
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * target-delegates.c: Rebuild.
3165 * target.c (target_call_history_range): Unconditionally delegate.
3166 * target.h (struct target_ops) <to_call_history_range>: Use
3167 TARGET_DEFAULT_NORETURN.
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * target-delegates.c: Rebuild.
3172 * target.c (target_verify_memory): Unconditionally delegate.
3173 * target.h (struct target_ops) <to_verify_memory>: Use
3174 TARGET_DEFAULT_NORETURN.
3176 2014-02-19 Tom Tromey <tromey@redhat.com>
3178 * target-delegates.c: Rebuild.
3179 * target.c (target_core_of_thread): Unconditionally delegate.
3180 * target.h (struct target_ops) <to_core_of_thread>: Use
3181 TARGET_DEFAULT_RETURN.
3183 2014-02-19 Tom Tromey <tromey@redhat.com>
3185 * target-delegates.c: Rebuild.
3186 * target.c (target_flash_done): Unconditionally delegate.
3187 * target.h (struct target_ops) <to_flash_done>: Use
3188 TARGET_DEFAULT_NORETURN.
3190 2014-02-19 Tom Tromey <tromey@redhat.com>
3192 * target-delegates.c: Rebuild.
3193 * target.c (target_flash_erase): Unconditionally delegate.
3194 * target.h (struct target_ops) <to_flash_erase>: Use
3195 TARGET_DEFAULT_NORETURN.
3197 2014-02-19 Tom Tromey <tromey@redhat.com>
3199 * target-delegates.c: Rebuild.
3200 * target.c (target_get_section_table): Unconditionally delegate.
3201 * target.h (struct target_ops) <to_get_section_table>: Use
3202 TARGET_DEFAULT_RETURN.
3204 2014-02-19 Tom Tromey <tromey@redhat.com>
3206 * target-delegates.c: Rebuild.
3207 * target.c (target_pid_to_str): Unconditionally delegate.
3208 (init_dummy_target): Don't initialize to_pid_to_str.
3209 (default_pid_to_str): Rename from dummy_pid_to_str.
3210 * target.h (struct target_ops) <to_pid_to_str>: Use
3211 TARGET_DEFAULT_FUNC.
3213 2014-02-19 Tom Tromey <tromey@redhat.com>
3215 * target-delegates.c: Rebuild.
3216 * target.c (target_find_new_threads): Unconditionally delegate.
3217 * target.h (struct target_ops) <to_find_new_threads>: Use
3218 TARGET_DEFAULT_RETURN.
3220 2014-02-19 Tom Tromey <tromey@redhat.com>
3222 * target-delegates.c: Rebuild.
3223 * target.c (target_program_signals): Unconditionally delegate.
3224 * target.h (struct target_ops) <to_program_signals>: Use
3225 TARGET_DEFAULT_IGNORE.
3227 2014-02-19 Tom Tromey <tromey@redhat.com>
3229 * target-delegates.c: Rebuild.
3230 * target.c (target_pass_signals): Unconditionally delegate.
3231 * target.h (struct target_ops) <to_pass_signals>: Use
3232 TARGET_DEFAULT_IGNORE.
3234 2014-02-19 Tom Tromey <tromey@redhat.com>
3236 * target-delegates.c: Rebuild.
3237 * target.c (default_mourn_inferior): New function.
3238 (target_mourn_inferior): Unconditionally delegate.
3239 * target.h (struct target_ops) <to_mourn_inferior>: Use
3240 TARGET_DEFAULT_FUNC.
3242 2014-02-19 Tom Tromey <tromey@redhat.com>
3244 * target-delegates.c: Rebuild.
3245 * target.c (default_follow_fork): New function.
3246 (target_follow_fork): Unconditionally delegate.
3247 * target.h (struct target_ops) <to_follow_fork>: Use
3248 TARGET_DEFAULT_FUNC.
3250 2014-02-19 Tom Tromey <tromey@redhat.com>
3252 * target-delegates.c: Rebuild.
3253 * target.c (target_kill): Unconditionally delegate.
3254 * target.h (struct target_ops) <to_kill>: Use
3255 TARGET_DEFAULT_NORETURN.
3257 2014-02-19 Tom Tromey <tromey@redhat.com>
3259 * target-delegates.c: Rebuild.
3260 * target.c (target_masked_watch_num_registers): Unconditionally
3262 * target.h (struct target_ops) <to_masked_watch_num_registers>:
3263 Use TARGET_DEFAULT_RETURN.
3265 2014-02-19 Tom Tromey <tromey@redhat.com>
3267 * target-delegates.c: Rebuild.
3268 * target.c (target_remove_mask_watchpoint): Unconditionally
3270 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
3271 TARGET_DEFAULT_RETURN.
3273 2014-02-19 Tom Tromey <tromey@redhat.com>
3275 * target-delegates.c: Rebuild.
3276 * target.c (target_insert_mask_watchpoint): Unconditionally
3278 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
3279 TARGET_DEFAULT_RETURN.
3281 2014-02-19 Tom Tromey <tromey@redhat.com>
3283 * target-delegates.c: Rebuild.
3284 * target.c (target_ranged_break_num_registers): Unconditionally
3286 * target.h (struct target_ops) <to_ranged_break_num_registers>:
3287 Use TARGET_DEFAULT_RETURN.
3289 2014-02-19 Tom Tromey <tromey@redhat.com>
3291 * target-delegates.c: Rebuild.
3292 * target.c (target_fetch_registers): Unconditionally delegate.
3293 * target.h (struct target_ops) <to_fetch_registers>: Use
3294 TARGET_DEFAULT_NORETURN.
3296 2014-02-19 Tom Tromey <tromey@redhat.com>
3298 * target-delegates.c: Rebuild.
3299 * target.c (update_current_target): Don't inherit or default
3301 * target.h (struct target_ops) <to_stop>: Use
3302 TARGET_DEFAULT_IGNORE.
3304 2014-02-19 Tom Tromey <tromey@redhat.com>
3306 * target-delegates.c: Rebuild.
3307 * target.c (update_current_target): Don't inherit or default
3308 to_can_run_breakpoint_commands.
3309 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3310 Use TARGET_DEFAULT_RETURN.
3312 2014-02-19 Tom Tromey <tromey@redhat.com>
3314 * target-delegates.c: Rebuild.
3315 * target.c (update_current_target): Don't inherit or default
3316 to_supports_evaluation_of_breakpoint_conditions.
3317 * target.h (struct target_ops)
3318 <to_supports_evaluation_of_breakpoint_conditions>: Use
3319 TARGET_DEFAULT_RETURN.
3321 2014-02-19 Tom Tromey <tromey@redhat.com>
3323 * target-delegates.c: Rebuild.
3324 * target.c (update_current_target): Don't inherit or default
3325 to_augmented_libraries_svr4_read.
3326 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3327 Use TARGET_DEFAULT_RETURN.
3329 2014-02-19 Tom Tromey <tromey@redhat.com>
3331 * target-delegates.c: Rebuild.
3332 * target.c (update_current_target): Don't inherit or default
3334 * target.h (struct target_ops) <to_can_use_agent>: Use
3335 TARGET_DEFAULT_RETURN.
3337 2014-02-19 Tom Tromey <tromey@redhat.com>
3339 * target-delegates.c: Rebuild.
3340 * target.c (update_current_target): Don't inherit or default
3342 * target.h (struct target_ops) <to_use_agent>: 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 (return_null): Remove.
3351 * target.h (struct target_ops) <to_traceframe_info>: Use
3352 TARGET_DEFAULT_RETURN.
3354 2014-02-19 Tom Tromey <tromey@redhat.com>
3356 * target-delegates.c: Rebuild.
3357 * target.c (update_current_target): Don't inherit or default
3358 to_static_tracepoint_markers_by_strid.
3359 * target.h (struct target_ops)
3360 <to_static_tracepoint_markers_by_strid>: Use
3361 TARGET_DEFAULT_NORETURN.
3363 2014-02-19 Tom Tromey <tromey@redhat.com>
3365 * target-delegates.c: Rebuild.
3366 * target.c (update_current_target): Don't inherit or default
3367 to_static_tracepoint_marker_at.
3368 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3369 Use TARGET_DEFAULT_RETURN.
3371 2014-02-19 Tom Tromey <tromey@redhat.com>
3373 * target-delegates.c: Rebuild.
3374 * target.c (update_current_target): Don't inherit or default
3376 * target.h (struct target_ops) <to_set_permissions>: Use
3377 TARGET_DEFAULT_IGNORE.
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * target-delegates.c: Rebuild.
3382 * target.c (update_current_target): Don't inherit or default
3384 * target.h (struct target_ops) <to_get_tib_address>: Use
3385 TARGET_DEFAULT_NORETURN.
3387 2014-02-19 Tom Tromey <tromey@redhat.com>
3389 * target-delegates.c: Rebuild.
3390 * target.c (update_current_target): Don't inherit or default
3392 * target.h (struct target_ops) <to_set_trace_notes>: Use
3393 TARGET_DEFAULT_RETURN.
3395 2014-02-19 Tom Tromey <tromey@redhat.com>
3397 * target-delegates.c: Rebuild.
3398 * target.c (update_current_target): Don't initialize
3399 to_set_trace_buffer_size.
3400 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
3401 TARGET_DEFAULT_IGNORE.
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_set_circular_trace_buffer.
3408 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
3409 TARGET_DEFAULT_IGNORE.
3411 2014-02-19 Tom Tromey <tromey@redhat.com>
3413 * target-delegates.c: Rebuild.
3414 * target.c (update_current_target): Don't inherit or default
3415 to_set_disconnected_tracing.
3416 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
3417 TARGET_DEFAULT_IGNORE.
3419 2014-02-19 Tom Tromey <tromey@redhat.com>
3421 * target-delegates.c: Rebuild.
3422 * target.c (update_current_target): Don't inherit or default
3423 to_get_min_fast_tracepoint_insn_len.
3424 (return_minus_one): Remove.
3425 * target.h (struct target_ops)
3426 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
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
3432 to_get_raw_trace_data.
3433 * target.h (struct target_ops) <to_get_raw_trace_data>: 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
3440 to_upload_trace_state_variables.
3441 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3442 Use 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 inherit or default
3448 to_upload_tracepoints.
3449 * target.h (struct target_ops) <to_upload_tracepoints>: Use
3450 TARGET_DEFAULT_RETURN.
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
3457 * target.h (struct target_ops) <to_save_trace_data>: Use
3458 TARGET_DEFAULT_NORETURN.
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_get_trace_state_variable_value.
3465 * target.h (struct target_ops)
3466 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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
3473 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
3475 2014-02-19 Tom Tromey <tromey@redhat.com>
3477 * target-delegates.c: Rebuild.
3478 * target.c (update_current_target): Don't inherit or default
3480 * target.h (struct target_ops) <to_trace_stop>: Use
3481 TARGET_DEFAULT_NORETURN.
3483 2014-02-19 Tom Tromey <tromey@redhat.com>
3485 * target-delegates.c: Rebuild.
3486 * target.c (update_current_target): Don't inherit or default
3487 to_get_tracepoint_status.
3488 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
3489 TARGET_DEFAULT_NORETURN.
3491 2014-02-19 Tom Tromey <tromey@redhat.com>
3493 * target-delegates.c: Rebuild.
3494 * target.c (update_current_target): Don't inherit or default
3495 to_get_trace_status.
3496 * target.h (struct target_ops) <to_get_trace_status>: Use
3497 TARGET_DEFAULT_RETURN.
3499 2014-02-19 Tom Tromey <tromey@redhat.com>
3501 * target-delegates.c: Rebuild.
3502 * target.c (update_current_target): Don't inherit or default
3504 * target.h (struct target_ops) <to_trace_start>: Use
3505 TARGET_DEFAULT_NORETURN.
3507 2014-02-19 Tom Tromey <tromey@redhat.com>
3509 * target-delegates.c: Rebuild.
3510 * target.c (update_current_target): Don't inherit or default
3511 to_trace_set_readonly_regions.
3512 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3513 Use TARGET_DEFAULT_NORETURN.
3515 2014-02-19 Tom Tromey <tromey@redhat.com>
3517 * target-delegates.c: Rebuild.
3518 * target.c (update_current_target): Don't inherit or default
3519 to_disable_tracepoint.
3520 * target.h (struct target_ops) <to_disable_tracepoint>: Use
3521 TARGET_DEFAULT_NORETURN.
3523 2014-02-19 Tom Tromey <tromey@redhat.com>
3525 * target-delegates.c: Rebuild.
3526 * target.c (update_current_target): Don't inherit or default
3527 to_enable_tracepoint.
3528 * target.h (struct target_ops) <to_enable_tracepoint>: Use
3529 TARGET_DEFAULT_NORETURN.
3531 2014-02-19 Tom Tromey <tromey@redhat.com>
3533 * target-delegates.c: Rebuild.
3534 * target.c (update_current_target): Don't inherit or default
3535 to_download_trace_state_variable.
3536 * target.h (struct target_ops) <to_download_trace_state_variable>:
3537 Use TARGET_DEFAULT_NORETURN.
3539 2014-02-19 Tom Tromey <tromey@redhat.com>
3541 * target-delegates.c: Rebuild.
3542 * target.c (update_current_target): Don't inherit or default
3543 to_can_download_tracepoint.
3544 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
3545 TARGET_DEFAULT_RETURN.
3547 2014-02-19 Tom Tromey <tromey@redhat.com>
3549 * target-delegates.c: Rebuild.
3550 * target.c (update_current_target): Don't inherit or default
3551 to_download_tracepoint.
3552 * target.h (struct target_ops) <to_download_tracepoint>: Use
3553 TARGET_DEFAULT_NORETURN.
3555 2014-02-19 Tom Tromey <tromey@redhat.com>
3557 * target-delegates.c: Rebuild.
3558 * target.c (update_current_target): Don't inherit or default
3560 * target.h (struct target_ops) <to_trace_init>: Use
3561 TARGET_DEFAULT_RETURN.
3563 2014-02-19 Tom Tromey <tromey@redhat.com>
3565 * target-delegates.c: Rebuild.
3566 * target.c (update_current_target): Don't inherit or default
3567 to_supports_string_tracing.
3568 * target.h (struct target_ops) <to_supports_string_tracing>: Use
3569 TARGET_DEFAULT_RETURN.
3571 2014-02-19 Tom Tromey <tromey@redhat.com>
3573 * target-delegates.c: Rebuild.
3574 * target.c (update_current_target): Don't inherit or default
3575 to_supports_enable_disable_tracepoint.
3576 * target.h (struct target_ops)
3577 <to_supports_enable_disable_tracepoint>: Use
3578 TARGET_DEFAULT_RETURN.
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_supports_multi_process.
3585 * target.h (struct target_ops) <to_supports_multi_process>: Use
3586 TARGET_DEFAULT_RETURN.
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_get_ada_task_ptid.
3593 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
3594 TARGET_DEFAULT_FUNC.
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_thread_architecture.
3601 * target.h (struct target_ops) <to_thread_architecture>: Use
3602 TARGET_DEFAULT_FUNC.
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
3608 to_execution_direction.
3609 * target.h (struct target_ops) <to_execution_direction>: Use
3610 TARGET_DEFAULT_FUNC.
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_can_execute_reverse.
3617 * target.h (struct target_ops) <to_can_execute_reverse>: Use
3618 TARGET_DEFAULT_RETURN.
3619 (target_can_execute_reverse): Unconditionally delegate.
3621 2014-02-19 Tom Tromey <tromey@redhat.com>
3623 * target-delegates.c: Rebuild.
3624 * target.c (update_current_target): Don't inherit or default
3626 (dummy_goto_bookmark): Remove.
3627 (init_dummy_target): Don't inherit or default to_goto_bookmark.
3628 * target.h (struct target_ops) <to_goto_bookmark>: Use
3629 TARGET_DEFAULT_NORETURN.
3631 2014-02-19 Tom Tromey <tromey@redhat.com>
3633 * target-delegates.c: Rebuild.
3634 * target.c (update_current_target): Don't inherit or default
3636 (dummy_get_bookmark): Remove.
3637 (init_dummy_target): Don't inherit or default to_get_bookmark.
3638 * target.h (struct target_ops) <to_get_bookmark>: Use
3639 TARGET_DEFAULT_NORETURN
3641 2014-02-19 Tom Tromey <tromey@redhat.com>
3643 * target-delegates.c: Rebuild.
3644 * target.c (update_current_target): Don't inherit or default
3645 to_make_corefile_notes.
3646 (init_dummy_target): Don't initialize to_make_corefile_notes.
3647 * target.h (struct target_ops) <to_make_corefile_notes>: Use
3648 TARGET_DEFAULT_FUNC.
3650 2014-02-19 Tom Tromey <tromey@redhat.com>
3652 * target-delegates.c: Rebuild.
3653 * target.c (update_current_target): Don't inherit or default
3654 to_find_memory_regions.
3655 (init_dummy_target): Don't initialize to_find_memory_regions.
3656 * target.h (struct target_ops) <to_find_memory_regions>: Use
3657 TARGET_DEFAULT_FUNC.
3659 2014-02-19 Tom Tromey <tromey@redhat.com>
3661 * target-delegates.c: Rebuild.
3662 * target.c (update_current_target): Don't inherit or default
3664 * target.h (struct target_ops) <to_log_command>: Use
3665 TARGET_DEFAULT_IGNORE.
3666 (target_log_command): Unconditionally delegate.
3668 2014-02-19 Tom Tromey <tromey@redhat.com>
3670 * target-delegates.c: Rebuild.
3671 * target.c (update_current_target): Don't inherit or default
3672 to_pid_to_exec_file.
3673 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3674 TARGET_DEFAULT_RETURN.
3676 2014-02-19 Tom Tromey <tromey@redhat.com>
3678 * target-delegates.c: Rebuild.
3679 * target.c (update_current_target): Don't inherit or default
3681 (target_thread_name): Unconditionally delegate.
3682 * target.h (struct target_ops) <to_thread_name>: Use
3683 TARGET_DEFAULT_RETURN.
3685 2014-02-19 Tom Tromey <tromey@redhat.com>
3687 * target-delegates.c: Rebuild.
3688 * target.c (update_current_target): Don't inherit or default
3689 to_extra_thread_info.
3690 * target.h (struct target_ops) <to_extra_thread_info>: Use
3691 TARGET_DEFAULT_RETURN.
3693 2014-02-19 Tom Tromey <tromey@redhat.com>
3695 * target-delegates.c: Rebuild.
3696 * target.c (update_current_target): Don't inherit or default
3698 * target.h (struct target_ops) <to_has_exited>: Use
3699 TARGET_DEFAULT_RETURN..
3701 2014-02-19 Tom Tromey <tromey@redhat.com>
3703 * target-delegates.c: Rebuild.
3704 * target.c (update_current_target): Don't inherit or default
3705 to_set_syscall_catchpoint.
3706 (return_one): Remove.
3707 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3708 TARGET_DEFAULT_RETURN.
3710 2014-02-19 Tom Tromey <tromey@redhat.com>
3712 * target-delegates.c: Rebuild.
3713 * target.c (update_current_target): Don't inherit or default
3714 to_insert_exec_catchpoint.
3715 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3716 TARGET_DEFAULT_RETURN.
3718 2014-01-08 Tom Tromey <tromey@redhat.com>
3720 * target-delegates.c: Rebuild.
3721 * target.c (update_current_target): Don't inherit or default
3722 to_insert_exec_catchpoint.
3723 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3724 TARGET_DEFAULT_RETURN.
3726 2014-02-19 Tom Tromey <tromey@redhat.com>
3728 * target-delegates.c: Rebuild.
3729 * target.c (update_current_target): Don't inherit or default
3730 to_remove_vfork_catchpoint.
3731 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: 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_insert_vfork_catchpoint.
3739 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: 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
3746 to_remove_fork_catchpoint.
3747 * target.h (struct target_ops) <to_remove_fork_catchpoint>: 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_insert_fork_catchpoint.
3755 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3756 TARGET_DEFAULT_RETURN.
3758 2014-02-19 Tom Tromey <tromey@redhat.com>
3760 * target-delegates.c: Rebuild.
3761 * target.c (update_current_target): Don't inherit or default
3762 to_post_startup_inferior.
3763 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3764 TARGET_DEFAULT_IGNORE.
3766 2014-02-19 Tom Tromey <tromey@redhat.com>
3768 * target-delegates.c: Rebuild.
3769 * target.c (update_current_target): Don't inherit or default
3771 * target.h (struct target_ops) <to_load>: Use
3772 TARGET_DEFAULT_NORETURN.
3774 2014-02-19 Tom Tromey <tromey@redhat.com>
3776 * target-delegates.c: Rebuild.
3777 * target.c (update_current_target): Don't inherit or default
3779 * target.h (struct target_ops) <to_terminal_info>: Use
3780 TARGET_DEFAULT_FUNC.
3782 2014-02-19 Tom Tromey <tromey@redhat.com>
3784 * target-delegates.c: Rebuild.
3785 * target.c (update_current_target): Don't inherit or default
3786 to_terminal_save_ours.
3787 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3788 TARGET_DEFAULT_IGNORE.
3790 2014-02-19 Tom Tromey <tromey@redhat.com>
3792 * target-delegates.c: Rebuild.
3793 * target.c (update_current_target): Don't inherit or default
3795 * target.h (struct target_ops) <to_terminal_ours>: Use
3796 TARGET_DEFAULT_IGNORE.
3798 2014-02-19 Tom Tromey <tromey@redhat.com>
3800 * target-delegates.c: Rebuild.
3801 * target.c (update_current_target): Don't inherit or default
3802 to_terminal_ours_for_output.
3803 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3804 TARGET_DEFAULT_IGNORE.
3806 2014-02-19 Tom Tromey <tromey@redhat.com>
3808 * target-delegates.c: Rebuild.
3809 * target.c (update_current_target): Don't inherit or default
3810 to_terminal_inferior.
3811 * target.h (struct target_ops) <to_terminal_inferior>: Use
3812 TARGET_DEFAULT_IGNORE.
3814 2014-02-19 Tom Tromey <tromey@redhat.com>
3816 * target-delegates.c: Rebuild.
3817 * target.c (update_current_target): Don't inherit or default
3819 * target.h (struct target_ops) <to_terminal_init>: Use
3820 TARGET_DEFAULT_IGNORE.
3822 2014-02-19 Tom Tromey <tromey@redhat.com>
3824 * target-delegates.c: Rebuild.
3825 * target.c (update_current_target): Don't inherit or default
3826 to_can_accel_watchpoint_condition.
3827 * target.h (struct target_ops)
3828 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3830 2014-02-19 Tom Tromey <tromey@redhat.com>
3832 * target-delegates.c: Rebuild.
3833 * target.c (update_current_target): Don't inherit or default
3834 to_region_ok_for_hw_watchpoint.
3835 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3836 Use TARGET_DEFAULT_FUNC.
3838 2014-02-19 Tom Tromey <tromey@redhat.com>
3840 * target-delegates.c: Rebuild.
3841 * target.c (update_current_target): Don't inherit or default
3842 to_watchpoint_addr_within_range.
3843 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3844 Use TARGET_DEFAULT_FUNC.
3846 2014-02-19 Tom Tromey <tromey@redhat.com>
3848 * target-delegates.c: Rebuild.
3849 * target.c (update_current_target): Don't inherit or default
3850 to_remove_watchpoint.
3851 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3852 TARGET_DEFAULT_NORETURN.
3854 2014-02-19 Tom Tromey <tromey@redhat.com>
3856 * target-delegates.c: Rebuild.
3857 * target.c (update_current_target): Don't inherit or default
3858 to_insert_watchpoint.
3859 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3860 TARGET_DEFAULT_RETURN.
3862 2014-02-19 Tom Tromey <tromey@redhat.com>
3864 * target-delegates.c: Rebuild.
3865 * target.c (update_current_target): Don't inherit or default
3866 to_remove_hw_breakpoint.
3867 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3868 TARGET_DEFAULT_RETURN.
3870 2014-02-19 Tom Tromey <tromey@redhat.com>
3872 * target-delegates.c: Rebuild.
3873 * target.c (update_current_target): Don't inherit or default
3874 to_insert_hw_breakpoint.
3875 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3876 TARGET_DEFAULT_RETURN.
3878 2014-02-19 Tom Tromey <tromey@redhat.com>
3880 * target-delegates.c: Rebuild.
3881 * target.c (update_current_target): Don't inherit or default
3882 to_can_use_hw_breakpoint.
3883 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3884 TARGET_DEFAULT_RETURN.
3886 2014-02-19 Tom Tromey <tromey@redhat.com>
3888 * target-delegates.c: Rebuild.
3889 * target.c (update_current_target): Don't inherit or default
3891 * target.h (struct target_ops) <to_files_info>: Use
3892 TARGET_DEFAULT_IGNORE.
3894 2014-02-19 Tom Tromey <tromey@redhat.com>
3896 * target-delegates.c: Rebuild.
3897 * target.c (update_current_target): Don't inherit or default
3899 * target.h (struct target_ops) <to_store>: Use
3900 TARGET_DEFAULT_NORETURN.
3902 2014-02-19 Tom Tromey <tromey@redhat.com>
3904 * target-delegates.c: Rebuild.
3905 * target.c (update_current_target): Don't inherit or default
3907 * target.h (struct target_ops) <to_post_attach>: Use
3908 TARGET_DEFAULT_IGNORE.
3910 2014-02-19 Tom Tromey <tromey@redhat.com>
3912 * target-delegates.c: Rebuild.
3913 * target.c (update_current_target): Don't inherit or default
3915 (default_rcmd): New function.
3916 (do_monitor_command): Unconditionally delegate.
3917 * target.h (struct target_ops) <to_rmcd>: Use
3918 TARGET_DEFAULT_FUNC.
3920 2014-02-19 Tom Tromey <tromey@redhat.com>
3922 * target-delegates.c: Rebuild.
3923 * target.c (init_dummy_target): Don't initialize to_attach.
3924 (target_attach): Unconditionally delegate.
3925 * target.h (struct target_ops) <to_attach>: Use
3926 TARGET_DEFAULT_FUNC.
3928 2014-02-19 Tom Tromey <tromey@redhat.com>
3930 * target-delegates.c: Rebuild.
3931 * target.c (target_detach): Unconditionally delegate.
3932 (init_dummy_target): Don't initialize to_detach.
3933 * target.h (struct target_ops) <to_detach>: Use
3934 TARGET_DEFAULT_IGNORE.
3936 2014-02-19 Tom Tromey <tromey@redhat.com>
3938 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3940 (target_augmented_libraries_svr4_read): Add argument.
3941 * target.c (update_current_target): Update.
3942 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3945 2014-02-19 Tom Tromey <tromey@redhat.com>
3947 * target.h (struct target_ops) <to_call_history_range>: Add
3949 * target.c (target_call_history_range): Add argument.
3950 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3952 (record_btrace_call_history_from): Update.
3954 2014-02-19 Tom Tromey <tromey@redhat.com>
3956 * target.h (struct target_ops) <to_call_history_from>: Add
3958 * target.c (target_call_history_from): Add argument.
3959 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3962 2014-02-19 Tom Tromey <tromey@redhat.com>
3964 * target.h (struct target_ops) <to_call_history>: Add argument.
3965 * target.c (target_call_history): Add argument.
3966 * record-btrace.c (record_btrace_call_history): Add 'self'
3969 2014-02-19 Tom Tromey <tromey@redhat.com>
3971 * target.h (struct target_ops) <to_insn_history_range>: Add
3973 * target.c (target_insn_history_range): Add argument.
3974 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3976 (record_btrace_insn_history_from): Update.
3978 2014-02-19 Tom Tromey <tromey@redhat.com>
3980 * target.h (struct target_ops) <to_insn_history_from>: Add
3982 * target.c (target_insn_history_from): Add argument.
3983 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3986 2014-02-19 Tom Tromey <tromey@redhat.com>
3988 * target.h (struct target_ops) <to_insn_history>: Add argument.
3989 * target.c (target_insn_history): Add argument.
3990 * record-btrace.c (record_btrace_insn_history): Add 'self'
3993 2014-02-19 Tom Tromey <tromey@redhat.com>
3995 * target.h (struct target_ops) <to_goto_record>: Add argument.
3996 * target.c (target_goto_record): Add argument.
3997 * record-full.c (record_full_goto): Add 'self' argument.
3998 * record-btrace.c (record_btrace_goto): Add 'self' argument.
4000 2014-02-19 Tom Tromey <tromey@redhat.com>
4002 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
4003 * target.c (target_goto_record_end): Add argument.
4004 * record-full.c (record_full_goto_end): Add 'self' argument.
4005 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
4007 2014-02-19 Tom Tromey <tromey@redhat.com>
4009 * target.h (struct target_ops) <to_goto_record_begin>: Add
4011 * target.c (target_goto_record_begin): Add argument.
4012 * record-full.c (record_full_goto_begin): Add 'self' argument.
4013 * record-btrace.c (record_btrace_goto_begin): Add 'self'
4016 2014-02-19 Tom Tromey <tromey@redhat.com>
4018 * target.h (struct target_ops) <to_record_is_replaying>: Add
4020 * target.c (target_record_is_replaying): Add argument.
4021 * record-full.c (record_full_is_replaying): Add 'self' argument.
4022 * record-btrace.c (record_btrace_is_replaying): Add 'self'
4024 (record_btrace_xfer_partial, record_btrace_store_registers)
4025 (record_btrace_prepare_to_store, record_btrace_resume)
4026 (record_btrace_wait, record_btrace_decr_pc_after_break)
4027 (record_btrace_find_new_threads, record_btrace_thread_alive):
4030 2014-02-19 Tom Tromey <tromey@redhat.com>
4032 * target.h (struct target_ops) <to_delete_record>: Add argument.
4033 * target.c (target_delete_record): Add argument.
4034 * record-full.c (record_full_delete): Add 'self' argument.
4036 2014-02-19 Tom Tromey <tromey@redhat.com>
4038 * target.h (struct target_ops) <to_save_record>: Add argument.
4039 * target.c (target_save_record): Add argument.
4040 * record-full.c (record_full_save): Add 'self' argument.
4041 (record_full_save): Add 'self' argument.
4043 2014-02-19 Tom Tromey <tromey@redhat.com>
4045 * target.h (struct target_ops) <to_info_record>: Add argument.
4046 * target.c (target_info_record): Add argument.
4047 * record.c (info_record_command): Add argument.
4048 * record-full.c (record_full_info): Add 'self' argument.
4049 * record-btrace.c (record_btrace_info): Add 'self' argument.
4051 2014-02-19 Tom Tromey <tromey@redhat.com>
4053 * target.h (struct target_ops) <to_stop_recording>: Add argument.
4054 * target.c (target_stop_recording): Add argument.
4055 * record.c (record_stop): Add argument.
4056 * record-btrace.c (record_btrace_stop_recording): Add 'self'
4059 2014-02-19 Tom Tromey <tromey@redhat.com>
4061 * target.h (struct target_ops) <to_read_btrace>: Add argument.
4062 * target.c (struct target_ops) <to_read_btrace>: Add argument.
4063 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
4065 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
4066 (_initialize_amd64_linux_nat): Use it.
4067 * i386-linux-nat.c (i386_linux_read_btrace): New function.
4068 (_initialize_i386_linux_nat): Use it.
4070 2014-02-19 Tom Tromey <tromey@redhat.com>
4072 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4073 * target.c (target_teardown_btrace): Add argument.
4074 * remote.c (remote_teardown_btrace): Add 'self' argument.
4075 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
4077 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
4080 2014-02-19 Tom Tromey <tromey@redhat.com>
4082 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
4083 * target.c (target_disable_btrace): Add argument.
4084 * remote.c (remote_disable_btrace): Add 'self' argument.
4085 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
4087 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
4090 2014-02-19 Tom Tromey <tromey@redhat.com>
4092 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
4093 * target.c (target_enable_btrace): Add argument.
4094 * remote.c (remote_enable_btrace): Add 'self' argument.
4095 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
4097 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
4100 2014-02-19 Tom Tromey <tromey@redhat.com>
4102 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
4103 (target_can_use_agent): Add argument.
4104 * target.c (update_current_target): Update.
4105 * remote.c (remote_can_use_agent): Add 'self' argument.
4106 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
4108 2014-02-19 Tom Tromey <tromey@redhat.com>
4110 * target.h (struct target_ops) <to_use_agent>: Add argument.
4111 (target_use_agent): Add argument.
4112 * target.c (update_current_target): Update.
4113 * remote.c (remote_use_agent): Add 'self' argument.
4114 * inf-child.c (inf_child_use_agent): Add 'self' argument.
4116 2014-02-19 Tom Tromey <tromey@redhat.com>
4118 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
4119 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
4120 (target_traceframe_info): Add argument.
4121 * target.c (update_current_target): Update.
4122 * remote.c (remote_traceframe_info): Add 'self' argument.
4123 * ctf.c (ctf_traceframe_info): Add 'self' argument.
4125 2014-02-19 Tom Tromey <tromey@redhat.com>
4127 * target.h (target_static_tracepoint_markers_by_strid): Add
4129 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
4131 * target.c (update_current_target): Update.
4132 * remote.c (struct target_ops)
4133 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4134 * linux-nat.c (struct target_ops)
4135 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4137 2014-02-19 Tom Tromey <tromey@redhat.com>
4139 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4141 (target_static_tracepoint_marker_at): Add argument.
4142 * target.c (update_current_target): Update.
4143 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
4146 2014-02-19 Tom Tromey <tromey@redhat.com>
4148 * target.h (struct target_ops) <to_set_permissions>: Add argument.
4149 (target_set_permissions): Add argument.
4150 * target.c (update_current_target): Update.
4151 * remote.c (remote_set_permissions): Add 'self' argument.
4152 (remote_start_remote): Update.
4154 2014-02-19 Tom Tromey <tromey@redhat.com>
4156 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
4157 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
4158 (target_get_tib_address): Add argument.
4159 * target.c (update_current_target): Update.
4160 * remote.c (remote_get_tib_address): Add 'self' argument.
4162 2014-02-19 Tom Tromey <tromey@redhat.com>
4164 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
4165 (target_set_trace_notes): Add argument.
4166 * target.c (update_current_target): Update.
4167 * remote.c (remote_set_trace_notes): Add 'self' argument.
4169 2014-02-19 Tom Tromey <tromey@redhat.com>
4171 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
4173 (target_set_trace_buffer_size): Add argument.
4174 * target.c (update_current_target): Update.
4175 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
4177 2014-02-19 Tom Tromey <tromey@redhat.com>
4179 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
4181 (target_set_circular_trace_buffer): Add argument.
4182 * target.c (update_current_target): Update.
4183 * remote.c (remote_set_circular_trace_buffer): Add 'self'
4186 2014-02-19 Tom Tromey <tromey@redhat.com>
4188 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
4190 (target_set_disconnected_tracing): Add argument.
4191 * target.c (update_current_target): Update.
4192 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
4194 2014-02-19 Tom Tromey <tromey@redhat.com>
4196 * target.h (struct target_ops)
4197 <to_get_min_fast_tracepoint_insn_len>: Add argument.
4198 (target_get_min_fast_tracepoint_insn_len): Add argument.
4199 * target.c (update_current_target): Update.
4200 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
4203 2014-02-19 Tom Tromey <tromey@redhat.com>
4205 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
4207 (target_get_raw_trace_data): Add argument.
4208 * target.c (update_current_target): Update.
4209 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
4211 2014-02-19 Tom Tromey <tromey@redhat.com>
4213 * target.h (struct target_ops) <to_upload_trace_state_variables>:
4215 (target_upload_trace_state_variables): Add argument.
4216 * target.c (update_current_target): Update.
4217 * remote.c (remote_upload_trace_state_variables): Add 'self'
4219 (remote_start_remote): Update.
4221 2014-02-19 Tom Tromey <tromey@redhat.com>
4223 * target.h (struct target_ops) <to_upload_tracepoints>: Add
4225 (target_upload_tracepoints): Add argument.
4226 * target.c (update_current_target): Update.
4227 * remote.c (remote_upload_tracepoints): Add 'self' argument.
4228 (remote_start_remote): Update.
4230 2014-02-19 Tom Tromey <tromey@redhat.com>
4232 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
4233 (target_save_trace_data): Add argument.
4234 * target.c (update_current_target): Update.
4235 * remote.c (remote_save_trace_data): Add 'self' argument.
4237 2014-02-19 Tom Tromey <tromey@redhat.com>
4239 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
4241 * target.h (struct target_ops)
4242 <to_get_trace_state_variable_value>: Add argument.
4243 (target_get_trace_state_variable_value): Add argument.
4244 * target.c (update_current_target): Update.
4245 * remote.c (remote_get_trace_state_variable_value): Add 'self'
4247 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
4249 2014-02-19 Tom Tromey <tromey@redhat.com>
4251 * tracepoint.c (tfile_trace_find): Add 'self' argument.
4252 * target.h (struct target_ops) <to_trace_find>: Add argument.
4253 (target_trace_find): Add argument.
4254 * target.c (update_current_target): Update.
4255 * remote.c (remote_trace_find): Add 'self' argument.
4256 * ctf.c (ctf_trace_find): Add 'self' argument.
4258 2014-02-19 Tom Tromey <tromey@redhat.com>
4260 * target.h (struct target_ops) <to_trace_stop>: Add argument.
4261 (target_trace_stop): Add argument.
4262 * target.c (update_current_target): Update.
4263 * remote.c (remote_trace_stop): Add 'self' argument.
4265 2014-02-19 Tom Tromey <tromey@redhat.com>
4267 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
4268 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
4270 (target_get_tracepoint_status): Add argument.
4271 * target.c (update_current_target): Update.
4272 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
4274 2014-02-19 Tom Tromey <tromey@redhat.com>
4276 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
4277 * target.h (struct target_ops) <to_get_trace_status>: Add
4279 (target_get_trace_status): Add argument.
4280 * target.c (update_current_target): Update.
4281 * remote.c (remote_get_trace_status): Add 'self' argument.
4282 (remote_start_remote, remote_can_download_tracepoint): Update.
4283 * ctf.c (ctf_get_trace_status): Add 'self' argument.
4285 2014-02-19 Tom Tromey <tromey@redhat.com>
4287 * target.h (struct target_ops) <to_trace_start>: Add argument.
4288 (target_trace_start): Add argument.
4289 * target.c (update_current_target): Update.
4290 * remote.c (remote_trace_start): Add 'self' argument.
4292 2014-02-19 Tom Tromey <tromey@redhat.com>
4294 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4296 (target_trace_set_readonly_regions): Add argument.
4297 * target.c (update_current_target): Update.
4298 * remote.c (remote_trace_set_readonly_regions): Add 'self'
4301 2014-02-19 Tom Tromey <tromey@redhat.com>
4303 * target.h (struct target_ops) <to_disable_tracepoint>: Add
4305 (target_disable_tracepoint): Add argument.
4306 * target.c (update_current_target): Update.
4307 * remote.c (remote_disable_tracepoint): Add 'self' argument.
4309 2014-02-19 Tom Tromey <tromey@redhat.com>
4311 * target.h (struct target_ops) <to_enable_tracepoint>: Add
4313 (target_enable_tracepoint): Add argument.
4314 * target.c (update_current_target): Update.
4315 * remote.c (remote_enable_tracepoint): Add 'self' argument.
4317 2014-02-19 Tom Tromey <tromey@redhat.com>
4319 * target.h (struct target_ops) <to_download_trace_state_variable>:
4321 (target_download_trace_state_variable): Add argument.
4322 * target.c (update_current_target): Update.
4323 * remote.c (remote_download_trace_state_variable): Add 'self'
4326 2014-02-19 Tom Tromey <tromey@redhat.com>
4328 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
4330 (target_can_download_tracepoint): Add argument.
4331 * target.c (update_current_target): Update.
4332 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
4334 2014-02-19 Tom Tromey <tromey@redhat.com>
4336 * target.h (struct target_ops) <to_download_tracepoint>: Add
4338 (target_download_tracepoint): Add argument.
4339 * target.c (update_current_target): Update.
4340 * remote.c (remote_download_tracepoint): Add 'self' argument.
4342 2014-02-19 Tom Tromey <tromey@redhat.com>
4344 * target.h (struct target_ops) <to_trace_init>: Add argument.
4345 (target_trace_init): Add argument.
4346 * target.c (update_current_target): Update.
4347 * remote.c (remote_trace_init): Add 'self' argument.
4349 2014-02-19 Tom Tromey <tromey@redhat.com>
4351 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
4352 * target.c (target_fileio_readlink): Add argument.
4353 * remote.c (remote_hostio_readlink): Add 'self' argument.
4354 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
4356 2014-02-19 Tom Tromey <tromey@redhat.com>
4358 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
4359 * target.c (target_fileio_unlink): Add argument.
4360 * remote.c (remote_hostio_unlink): Add 'self' argument.
4361 (remote_file_delete): Update.
4362 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
4364 2014-02-19 Tom Tromey <tromey@redhat.com>
4366 * target.h (struct target_ops) <to_fileio_close>: Add argument.
4367 * target.c (target_fileio_close): Add argument.
4368 * remote.c (remote_hostio_close): Add 'self' argument.
4369 (remote_hostio_close_cleanup): Update.
4370 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
4372 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
4374 2014-02-19 Tom Tromey <tromey@redhat.com>
4376 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
4377 * target.c (target_fileio_pread): Add argument.
4378 * remote.c (remote_hostio_pread): Add 'self' argument.
4379 (remote_bfd_iovec_pread, remote_file_get): Update.
4380 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
4382 2014-02-19 Tom Tromey <tromey@redhat.com>
4384 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
4385 * target.c (target_fileio_pwrite): Add argument.
4386 * remote.c (remote_hostio_pwrite): Add 'self' argument.
4387 (remote_file_put): Update.
4388 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
4390 2014-02-19 Tom Tromey <tromey@redhat.com>
4392 * target.h (struct target_ops) <to_fileio_open>: Add argument.
4393 * target.c (target_fileio_open): Add argument.
4394 * remote.c (remote_hostio_open): Add 'self' argument.
4395 (remote_bfd_iovec_open): Add 'self' argument.
4396 (remote_file_put): Add 'self' argument.
4397 (remote_file_get): Add 'self' argument.
4398 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
4400 2014-02-19 Tom Tromey <tromey@redhat.com>
4402 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4404 (target_can_run_breakpoint_commands): Add argument.
4405 * target.c (update_current_target): Update.
4406 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
4408 (remote_insert_breakpoint): Add 'self' argument.
4409 (remote_insert_hw_breakpoint): Add 'self' argument.
4410 (remote_can_run_breakpoint_commands): Add 'self' argument.
4412 2014-02-19 Tom Tromey <tromey@redhat.com>
4414 * target.h (struct target_ops)
4415 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
4416 (target_supports_evaluation_of_breakpoint_conditions): Add
4418 * target.c (update_current_target): Update.
4419 * remote.c (remote_supports_cond_breakpoints): Add 'self'
4421 (remote_insert_breakpoint): Add 'self' argument.
4422 (remote_insert_hw_breakpoint): Add 'self' argument.
4423 (remote_supports_cond_breakpoints): Add 'self' argument.
4425 2014-02-19 Tom Tromey <tromey@redhat.com>
4427 * target.h (struct target_ops) <to_supports_string_tracing>: Add
4429 (target_supports_string_tracing): Add argument.
4430 * target.c (update_current_target): Update.
4431 * remote.c (remote_supports_string_tracing): Add 'self' argument.
4433 2014-02-19 Tom Tromey <tromey@redhat.com>
4435 * target.h (struct target_ops)
4436 <to_supports_disable_randomization>: Add argument.
4437 * target.c (find_default_supports_disable_randomization): Add
4439 (target_supports_disable_randomization): Add argument.
4440 (find_default_supports_disable_randomization): Add 'self'
4442 * remote.c (extended_remote_supports_disable_randomization): Add
4444 (remote_supports_disable_randomization): Add 'self' argument.
4445 (extended_remote_create_inferior): Update.
4446 * linux-nat.c (linux_nat_supports_disable_randomization): Add
4449 2014-02-19 Tom Tromey <tromey@redhat.com>
4451 * target.h (struct target_ops)
4452 <to_supports_enable_disable_tracepoint>: Add argument.
4453 (target_supports_enable_disable_tracepoint): Add argument.
4454 * target.c (update_current_target): Update.
4455 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
4458 2014-02-19 Tom Tromey <tromey@redhat.com>
4460 * target.h (struct target_ops) <to_supports_multi_process>: Add
4462 (target_supports_multi_process): Add argument.
4463 * target.c (update_current_target): Update.
4464 * remote.c (remote_supports_multi_process): Add 'self' argument.
4465 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
4467 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
4470 2014-02-19 Tom Tromey <tromey@redhat.com>
4472 * target.h (struct target_ops) <to_execution_direction>: Add
4474 (target_execution_direction): Add argument.
4475 * target.c (default_execution_direction): Add 'self' argument.
4476 * record-full.c (record_full_execution_direction): Add 'self'
4479 2014-02-19 Tom Tromey <tromey@redhat.com>
4481 * target.h (struct target_ops) <to_can_execute_reverse>: Add
4483 (target_can_execute_reverse): Add argument.
4484 * remote.c (remote_can_execute_reverse): Add 'self' argument.
4485 * record-full.c (record_full_can_execute_reverse): Add 'self'
4487 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
4490 2014-02-19 Tom Tromey <tromey@redhat.com>
4492 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
4493 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
4495 (target_get_ada_task_ptid): Add argument.
4496 * target.c (update_current_target): Update.
4497 (default_get_ada_task_ptid): Add 'self' argument.
4498 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
4499 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
4500 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
4502 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
4504 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
4506 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
4508 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
4509 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
4512 2014-02-19 Tom Tromey <tromey@redhat.com>
4514 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
4515 (target_goto_bookmark): Add argument.
4516 * target.c (dummy_goto_bookmark): Add 'self' argument.
4517 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
4519 2014-02-19 Tom Tromey <tromey@redhat.com>
4521 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
4522 (target_get_bookmark): Add argument.
4523 * target.c (dummy_get_bookmark): Add 'self' argument.
4524 * record-full.c (record_full_get_bookmark): Add 'self' argument.
4526 2014-02-19 Tom Tromey <tromey@redhat.com>
4528 * target.h (struct target_ops) <to_make_corefile_notes>: Add
4530 (target_make_corefile_notes): Add argument.
4531 * target.c (dummy_make_corefile_notes): Add 'self' argument.
4532 * procfs.c (procfs_make_note_section): Add 'self' argument.
4533 (procfs_make_note_section): Add 'self' argument.
4534 (procfs_make_note_section): Add 'self' argument.
4535 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
4537 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
4538 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
4539 * exec.c (exec_make_note_section): Add 'self' argument.
4540 (exec_make_note_section): Add 'self' argument.
4542 2014-02-19 Tom Tromey <tromey@redhat.com>
4544 * target.h (struct target_ops) <to_find_memory_regions>: Add
4546 (target_find_memory_regions): Add argument.
4547 * target.c (dummy_find_memory_regions): Add 'self' argument.
4548 * procfs.c (proc_find_memory_regions): Add 'self' argument.
4549 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
4550 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
4551 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
4552 * exec. (exec_do_find_memory_regions): New global.
4553 (exec_set_find_memory_regions): Rewrite.
4554 (exec_find_memory_regions): New function.
4555 (init_exec_ops): Use exec_find_memory_regions.
4557 2014-02-19 Tom Tromey <tromey@redhat.com>
4559 * target.h (struct target_ops) <to_supports_non_stop>: Add
4561 * target.c (find_default_supports_non_stop): Add argument.
4562 (target_supports_non_stop): Add argument.
4563 (find_default_supports_non_stop): Add 'self' argument.
4564 * remote.c (remote_supports_non_stop): Add 'self' argument.
4565 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
4567 2014-02-19 Tom Tromey <tromey@redhat.com>
4569 * target.h (struct target_ops) <to_log_command>: Add argument.
4570 (target_log_command): Add argument.
4571 * serial.h (serial_log_command): Add 'self' argument.
4572 * serial.c (serial_log_command): Add 'self' argument.
4574 2014-02-19 Tom Tromey <tromey@redhat.com>
4576 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
4577 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
4579 (target_pid_to_exec_file): Add argument.
4580 * target.c (debug_to_pid_to_exec_file): Add argument.
4581 (update_current_target): Update.
4582 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
4583 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
4584 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
4585 (linux_handle_extended_wait): Update.
4586 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
4587 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
4588 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
4589 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
4591 2014-02-19 Tom Tromey <tromey@redhat.com>
4593 * target.h (struct target_ops) <to_rcmd>: Add argument.
4594 (target_rcmd): Add argument.
4595 * target.c (debug_to_rcmd): Add argument.
4596 (update_current_target, do_monitor_command): Update.
4597 * remote.c (remote_rcmd): Add 'self' argument.
4598 * monitor.c (monitor_rcmd): Add 'self' argument.
4600 2014-02-19 Tom Tromey <tromey@redhat.com>
4602 * windows-nat.c (windows_stop): Add 'self' argument.
4603 * target.h (struct target_ops) <to_stop>: Add argument.
4604 * target.c (target_stop): Add argument.
4605 (debug_to_stop): Add argument.
4606 (update_current_target): Update.
4607 * remote.c (remote_stop): Add 'self' argument.
4608 * remote-sim.c (gdbsim_stop): Add 'self' argument.
4609 (gdbsim_cntrl_c): Update.
4610 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
4611 * procfs.c (procfs_stop): Add 'self' argument.
4612 * nto-procfs.c (procfs_stop): Add 'self' argument.
4613 * monitor.c (monitor_stop): Add 'self' argument.
4614 (monitor_open): Update.
4615 * linux-nat.c (linux_nat_stop): Add argument.
4616 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
4617 * gnu-nat.c (gnu_stop): Add 'self' argument.
4618 * darwin-nat.c (darwin_stop): Add 'self' argument.
4620 2014-02-19 Tom Tromey <tromey@redhat.com>
4622 * target.h (struct target_ops) <to_thread_name>: Add argument.
4623 * target.c (target_thread_name): Add argument.
4624 (update_current_target): Update.
4625 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4627 2014-02-19 Tom Tromey <tromey@redhat.com>
4629 * target.h (struct target_ops) <to_extra_thread_info>: Add
4631 (target_extra_thread_info): Add argument.
4632 * target.c (update_current_target): Update.
4633 * remote.c (remote_threads_extra_info): Add 'self' argument.
4634 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4636 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4637 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4638 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4640 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4642 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4644 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4647 2014-02-19 Tom Tromey <tromey@redhat.com>
4649 * target.h (struct target_ops) <to_program_signals>: Add argument.
4650 * target.c (target_program_signals): Add argument.
4651 * remote.c (remote_program_signals): Add 'self' argument.
4653 2014-02-19 Tom Tromey <tromey@redhat.com>
4655 * target.h (struct target_ops) <to_pass_signals>: Add argument.
4656 * target.c (target_pass_signals): Add argument.
4657 * remote.c (remote_pass_signals): Add 'self' argument.
4658 (remote_start_remote): Update.
4659 * procfs.c (procfs_pass_signals): Add 'self' argument.
4660 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4661 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4662 (linux_nat_create_inferior, linux_nat_attach): Update.
4664 2014-02-19 Tom Tromey <tromey@redhat.com>
4666 * windows-nat.c (windows_can_run): Add 'self' argument.
4667 * target.h (struct target_ops) <to_can_run>: Add argument.
4668 (target_can_run): Add argument.
4669 * target.c (debug_to_can_run): Add argument.
4670 (update_current_target): Update.
4671 * nto-procfs.c (procfs_can_run): Add 'self' argument.
4672 * inf-child.c (inf_child_can_run): Add 'self' argument.
4673 * go32-nat.c (go32_can_run): Add 'self' argument.
4675 2014-02-19 Tom Tromey <tromey@redhat.com>
4677 * target.h (struct target_ops) <to_has_exited>: Add argument.
4678 (target_has_exited): Add argument.
4679 * target.c (debug_to_has_exited): Add argument.
4680 (update_current_target): Update.
4682 2014-02-19 Tom Tromey <tromey@redhat.com>
4684 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4686 (target_set_syscall_catchpoint): Add argument.
4687 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4689 * target.c (update_current_target): Update.
4691 2014-02-19 Tom Tromey <tromey@redhat.com>
4693 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4695 (target_remove_exec_catchpoint): Add argument.
4696 * target.c (debug_to_remove_exec_catchpoint): Add argument.
4697 (update_current_target): Update.
4698 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4701 2014-02-19 Tom Tromey <tromey@redhat.com>
4703 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4705 (target_insert_exec_catchpoint): Add argument.
4706 * target.c (debug_to_insert_exec_catchpoint): Add argument.
4707 (update_current_target): Update.
4708 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4711 2014-02-19 Tom Tromey <tromey@redhat.com>
4713 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4715 (target_remove_vfork_catchpoint): Add argument.
4716 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4717 (update_current_target): Update.
4718 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4721 2014-02-19 Tom Tromey <tromey@redhat.com>
4723 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4725 (target_insert_vfork_catchpoint): Add argument.
4726 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4727 (update_current_target): Update.
4728 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4731 2014-02-19 Tom Tromey <tromey@redhat.com>
4733 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4735 (target_remove_fork_catchpoint): Add argument.
4736 * target.c (debug_to_remove_fork_catchpoint): Add argument.
4737 (update_current_target): Update.
4738 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4741 2014-02-19 Tom Tromey <tromey@redhat.com>
4743 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4745 (target_insert_fork_catchpoint): Add argument.
4746 * target.c (debug_to_insert_fork_catchpoint): Add argument.
4747 (update_current_target): Update.
4748 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4751 2014-02-19 Tom Tromey <tromey@redhat.com>
4753 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4755 (target_post_startup_inferior): Add argument.
4756 * target.c (debug_to_post_startup_inferior): Add argument.
4757 (update_current_target): Update.
4758 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4760 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4762 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4764 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4766 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4768 (super_post_startup_inferior): Likewise.
4769 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4771 (super_post_startup_inferior): Likewise.
4772 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4773 Add 'self' argument.
4774 (super_post_startup_inferior): Likewise.
4776 2014-02-19 Tom Tromey <tromey@redhat.com>
4778 * target.h (struct target_ops) <to_load>: Add argument.
4779 * target.c (target_load): Add argument.
4780 (debug_to_load): Add argument.
4781 (update_current_target): Update.
4782 * remote.c (remote_load): Add 'self' argument.
4783 * remote-sim.c (gdbsim_load): Add 'self' argument.
4784 * remote-mips.c (mips_load): Add 'self' argument.
4785 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4786 * monitor.c (monitor_load): Add 'self' argument.
4787 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4789 2014-02-19 Tom Tromey <tromey@redhat.com>
4791 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4792 (target_terminal_info): Add argument.
4793 * target.c (debug_to_terminal_info): Add argument.
4794 (default_terminal_info): Likewise.
4795 * inflow.c (child_terminal_info): Add 'self' argument.
4796 * inferior.h (child_terminal_info): Add 'self' argument.
4797 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4799 2014-02-19 Tom Tromey <tromey@redhat.com>
4801 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4803 (target_terminal_save_ours): Add argument.
4804 * target.c (debug_to_terminal_save_ours): Add argument.
4805 (update_current_target): Update.
4806 * inflow.c (terminal_save_ours): Add 'self' argument.
4807 * inferior.h (terminal_save_ours): Add 'self' argument.
4809 2014-02-19 Tom Tromey <tromey@redhat.com>
4811 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4812 (target_terminal_ours): Add argument.
4813 * target.c (debug_to_terminal_ours): Add argument.
4814 (update_current_target): Update.
4815 * remote.c (remote_terminal_ours): Add 'self' argument.
4816 (remote_close): Update.
4817 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4818 * inflow.c (terminal_ours): Add 'self' argument.
4819 * inferior.h (terminal_ours): Add 'self' argument.
4820 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4822 2014-02-19 Pedro Alves <palves@redhat.com>
4823 Tom Tromey <tromey@redhat.com>
4825 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4827 (target_terminal_ours_for_output): Add argument.
4828 * target.c (debug_to_terminal_ours_for_output): Add argument.
4829 (update_current_target): Update.
4830 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4831 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4832 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4834 2014-02-19 Tom Tromey <tromey@redhat.com>
4836 * target.h (struct target_ops) <to_terminal_inferior>: Add
4838 * target.c (target_terminal_inferior): Add argument.
4839 (update_current_target): Update.
4840 * remote.c (remote_terminal_inferior): Add 'self' argument.
4841 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4842 * inflow.c (terminal_inferior): Add 'self' argument.
4843 * inferior.h (terminal_inferior): Add 'self' argument.
4844 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4845 (go32_terminal_inferior): Add 'self' argument.
4847 2014-02-19 Tom Tromey <tromey@redhat.com>
4849 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4850 (target_terminal_init): Add argument.
4851 * target.c (debug_to_terminal_init): Add argument.
4852 (update_current_target): Update.
4853 * inflow.c (terminal_init_inferior): Add 'self' argument.
4854 * inferior.h (terminal_init_inferior): Add 'self' argument.
4855 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4856 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4858 2014-02-19 Tom Tromey <tromey@redhat.com>
4860 * target.h (struct target_ops)
4861 <to_can_accel_watchpoint_condition>: Add argument.
4862 (target_can_accel_watchpoint_condition): Add argument.
4863 * target.c (debug_to_can_accel_watchpoint_condition): Add
4865 (update_current_target): Update.
4866 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4869 2014-02-19 Tom Tromey <tromey@redhat.com>
4871 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4873 (target_region_ok_for_hw_watchpoint): Add argument.
4874 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4875 (default_region_ok_for_hw_watchpoint): Add argument.
4876 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4877 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4879 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4881 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4883 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4885 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4887 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4889 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4890 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4892 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4893 Add 'self' argument.
4895 2014-02-19 Tom Tromey <tromey@redhat.com>
4897 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4899 (target_insert_watchpoint): Add argument.
4900 * target.c (debug_to_insert_watchpoint): Add argument.
4901 (update_current_target): Update.
4902 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4903 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4904 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4905 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4906 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4907 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4909 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4910 (procfs_insert_hw_watchpoint): Add 'self' argument.
4911 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4913 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4915 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4917 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4918 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4920 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4923 2014-02-19 Tom Tromey <tromey@redhat.com>
4925 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4927 (target_remove_watchpoint): Add argument.
4928 * target.c (debug_to_remove_watchpoint): Add argument.
4929 (update_current_target): Update.
4930 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4931 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4932 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4933 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4934 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4935 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4937 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4938 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4940 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4942 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4944 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4945 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4947 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4950 2014-02-19 Tom Tromey <tromey@redhat.com>
4952 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4954 (target_remove_hw_breakpoint): Add argument.
4955 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4956 (update_current_target): Update.
4957 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4958 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4960 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4961 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4963 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4966 2014-02-19 Tom Tromey <tromey@redhat.com>
4968 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4970 (target_insert_hw_breakpoint): Add argument.
4971 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4972 (update_current_target): Update.
4973 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4974 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4976 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4977 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4978 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4980 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4983 2014-02-19 Tom Tromey <tromey@redhat.com>
4985 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4987 (target_can_use_hardware_watchpoint): Add argument.
4988 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4989 (update_current_target): Update.
4990 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4992 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4994 * remote.c (remote_check_watch_resources): Add 'self' argument.
4995 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4996 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4998 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4999 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
5001 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
5003 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
5005 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
5007 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
5009 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
5011 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
5012 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
5014 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
5017 2014-02-19 Tom Tromey <tromey@redhat.com>
5019 * target.h (struct target_ops) <to_post_attach>: Add argument.
5020 (target_post_attach): Add argument.
5021 * target.c (debug_to_post_attach): Add argument.
5022 (update_current_target): Update.
5023 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
5024 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
5025 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
5026 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
5027 * inf-child.c (inf_child_post_attach): Add 'self' argument.
5029 2014-02-19 Tom Tromey <tromey@redhat.com>
5031 * windows-nat.c (windows_close): Add 'self' argument.
5032 * tracepoint.c (tfile_close): Add 'self' argument.
5033 * target.h (struct target_ops) <to_close>: Add argument.
5034 * target.c (target_close): Add argument.
5035 (update_current_target): Update.
5036 * remote.c (remote_close): Add 'self' argument.
5037 * remote-sim.c (gdbsim_close): Add 'self' argument.
5038 * remote-mips.c (mips_close): Add 'self' argument.
5039 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
5040 * record-full.c (record_full_close): Add 'self' argument.
5041 * record-btrace.c (record_btrace_close): Add 'self' argument.
5042 * monitor.h (monitor_close): Add 'self' argument.
5043 * monitor.c (monitor_close): Add 'self' argument.
5044 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
5045 * linux-nat.c (linux_nat_close): Add argument.
5046 * go32-nat.c (go32_close): Add 'self' argument.
5047 * exec.c (exec_close_1): Add 'self' argument.
5048 * ctf.c (ctf_close): Add 'self' argument.
5049 * corelow.c (core_close): Add 'self' argument.
5050 (core_close_cleanup): Update.
5051 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
5052 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
5054 2014-02-19 Tom Tromey <tromey@redhat.com>
5056 * remote.c (remote_load): New function.
5057 (init_remote_ops): Use it.
5059 2014-02-19 Tom Tromey <tromey@redhat.com>
5061 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
5063 * common/linux-btrace.h (linux_supports_btrace): Update.
5064 * remote.c (remote_supports_btrace): Add "self" argument.
5065 * target-delegates.c: Rebuild.
5066 * target.c (target_supports_btrace): Remove.
5067 * target.h (struct target_ops) <to_supports_btrace>: Add
5068 target_ops argument.
5069 (target_supports_btrace): New define.
5071 2014-02-19 Tom Tromey <tromey@redhat.com>
5073 * record-full.c (record_full_beneath_to_resume_ops)
5074 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
5075 (record_full_beneath_to_wait)
5076 (record_full_beneath_to_store_registers_ops)
5077 (record_full_beneath_to_store_registers)
5078 (record_full_beneath_to_xfer_partial_ops)
5079 (record_full_beneath_to_xfer_partial)
5080 (record_full_beneath_to_insert_breakpoint_ops)
5081 (record_full_beneath_to_insert_breakpoint)
5082 (record_full_beneath_to_remove_breakpoint_ops)
5083 (record_full_beneath_to_remove_breakpoint)
5084 (record_full_beneath_to_stopped_by_watchpoint)
5085 (record_full_beneath_to_stopped_data_address)
5086 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
5087 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
5088 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
5089 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
5090 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
5091 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
5092 (tmp_to_stopped_data_address, tmp_to_async): Remove.
5093 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
5094 (record_full_resume, record_full_wait_1)
5095 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
5096 (record_full_store_registers, record_full_xfer_partial)
5097 (record_full_insert_breakpoint, record_full_remove_breakpoint)
5098 (record_full_async, record_full_core_xfer_partial): Use target
5100 * target-delegates.c: Rebuild.
5101 * target.c (current_xfer_partial): Remove.
5102 (update_current_target): Do not INHERIT or de_fault
5103 to_insert_breakpoint, to_remove_breakpoint,
5104 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
5105 to_is_async_p, to_async. Do not set to_xfer_partial field.
5106 (default_xfer_partial): Simplify.
5107 (current_xfer_partial): Remove.
5108 (target_wait, target_resume): Simplify.
5109 (find_default_can_async_p, find_default_is_async_p): Update.
5110 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
5111 to_xfer_partial, to_stopped_by_watchpoint,
5112 to_stopped_data_address.
5113 (target_store_registers): Simplify.
5114 (forward_target_remove_breakpoint)
5115 (forward_target_insert_breakpoint): Remove.
5116 (target_remove_breakpoint, target_insert_breakpoint)
5117 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
5118 * target.h (struct target_ops) <to_resume, to_wait,
5119 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
5120 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
5121 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
5123 (forward_target_remove_breakpoint)
5124 (forward_target_insert_breakpoint): Remove.
5125 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
5127 (record_btrace_insert_breakpoint): Delegate directly.
5129 2014-02-19 Tom Tromey <tromey@redhat.com>
5132 * target-delegates.c: New file.
5133 * target.c: Include target-delegates.c.
5134 (init_dummy_target): Call install_dummy_methods.
5135 (complete_target_initialization): Call install_delegators.
5136 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
5137 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
5138 * make-target-delegates: New file.
5140 2014-02-19 Tom Tromey <tromey@redhat.com>
5142 * record.c (find_record_target): Use find_target_at.
5143 * target.c (find_target_at): New function.
5144 * target.h (find_target_at): Declare.
5146 2014-02-19 Tom Tromey <tromey@redhat.com>
5148 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
5150 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
5152 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
5153 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
5155 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
5157 * linux-nat.c (save_sigtrap): Update.
5158 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
5159 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
5160 (linux_nat_close): Update.
5161 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
5163 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
5165 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
5166 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
5167 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
5168 (tmp_to_async): Add 'ops' argument.
5169 (record_full_stopped_by_watchpoint, record_full_async)
5170 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
5172 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
5173 (m32r_stopped_by_watchpoint): Add 'ops' argument.
5174 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
5175 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
5176 (remote_is_async_p, remote_async): Add 'ops' argument.
5177 (remote_stopped_data_address): Update.
5178 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
5179 * target.c (update_current_target)
5180 (find_default_can_async_p, find_default_is_async_p): Update.
5181 (init_dummy_target): Update.
5182 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
5183 * target.h (struct target_ops) <to_stopped_by_watchpoint,
5184 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
5185 (target_can_async_p, target_is_async_p, target_async)
5186 (target_stopped_by_watchpoint): Update.
5188 2014-02-19 Yao Qi <yao@codesourcery.com>
5191 * gdbarch.sh: Remove startup_gdbarch.
5192 * gdbarch.c: Regenerated.
5193 * gdbarch.h: Likewise.
5195 2014-02-17 Kevin Buettner <kevinb@redhat.com>
5197 * rl78-tdep.c (rl78_g10_register_name): New function.
5198 (rl78_return_value): Add g10 support.
5199 (rl78_gdbarch_init): Register rl78_g10_register_name for the
5202 2014-02-17 Doug Evans <xdje42@gmail.com>
5204 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
5205 (SUBDIR_GUILE_SRCS): Ditto.
5206 (scm-gsmob.o): Ditto.
5208 2014-02-17 Yao Qi <yao@codesourcery.com>
5210 * gnu-nat.c (ILL_RPC): Declare defined function.
5212 2014-02-17 Yao Qi <yao@codesourcery.com>
5214 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
5215 mach_msg_type_number_t.
5216 (gnu_write_inferior): Likewise.
5218 2014-02-17 Yao Qi <yao@codesourcery.com>
5220 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
5222 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
5223 (inf_validate_procs, inf_signal): Likewise.
5224 (S_exception_raise_request): Likewise.
5225 (do_mach_notify_dead_name): Likewise.
5226 (steal_exc_port): Likewise.
5227 (gnu_read_inferior): Change 'copy_count''s type to
5228 mach_msg_type_number_t.
5229 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
5232 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
5234 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
5235 flag. Adjust all users; in particular...
5236 (gnu_wait): ..., don't decrement its value in here...
5237 (gnu_create_inferior): ..., and instead set the flag in here,
5238 around the startup_inferior call, and call that one with
5239 START_INFERIOR_TRAPS_EXPECTED.
5241 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
5242 (ILL_RPC): ... new macro.
5243 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
5244 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
5245 (do_mach_notify_send_once, S_proc_setmsgport_reply)
5246 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
5247 functions with ILL_RPC macro.
5248 (S_proc_pid2task_reply, S_proc_task2pid_reply)
5249 (S_proc_task2proc_reply, S_proc_proc2task_reply)
5250 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
5251 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
5252 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
5253 (S_proc_getlogin_reply, S_proc_getsid_reply)
5254 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
5255 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
5256 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
5257 (S_proc_getnports_reply, S_proc_is_important_reply)
5258 (S_proc_get_code_reply): New stub functions, generated with
5261 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
5262 collected the type check structures.
5264 * reply_mig_hack.awk: Don't expect to see the auto keyword.
5266 2014-02-14 Doug Evans <dje@google.com>
5268 * target.c (target_write_partial): Fix result type.
5270 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
5272 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
5273 the proper offsets to access fpregset_t.
5275 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
5277 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
5278 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
5279 * h8300-tdep.c (setmachinelist): Remove global.
5280 * hppa-tdep.c (hppa_sigtramp): Remove global.
5281 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
5282 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
5283 * ravenscar-thread.c (update_target_observer): Remove global.
5284 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
5286 2014-02-12 Tom Tromey <tromey@redhat.com>
5288 * common/rsp-low.c: Update comments.
5289 * common/rsp-low.h: Update comments.
5291 2014-02-12 Tom Tromey <tromey@redhat.com>
5293 * common/rsp-low.c (convert_ascii_to_int): Remove.
5294 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
5296 2014-02-12 Tom Tromey <tromey@redhat.com>
5298 * common/rsp-low.h (unhexify): Don't declare.
5299 * common/rsp-low.c (unhexify): Remove.
5301 2014-02-12 Tom Tromey <tromey@redhat.com>
5303 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
5304 * common/rsp-low.c (convert_int_to_ascii): Remove.
5306 2014-02-12 Tom Tromey <tromey@redhat.com>
5308 * common/rsp-low.h (hexify): Don't declare.
5309 * common/rsp-low.c (hexify): Remove.
5311 2014-02-12 Tom Tromey <tromey@redhat.com>
5313 * common/rsp-low.c (hexify): Never take strlen of argument.
5315 2014-02-12 Tom Tromey <tromey@redhat.com>
5317 * common/rsp-low.c (bin2hex): Never take strlen of argument.
5318 * remote.c (extended_remote_run, remote_rcmd)
5319 (remote_download_trace_state_variable, remote_save_trace_data)
5320 (remote_set_trace_notes): Update.
5321 * tracepoint.c (encode_source_string, tfile_write_status)
5322 (tfile_write_uploaded_tsv): Update.
5324 2014-02-12 Tom Tromey <tromey@redhat.com>
5326 * tracepoint.c: Include rsp-low.h.
5327 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
5328 * remote.c: Include rsp-low.h.
5329 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
5330 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
5331 (remote_unescape_input): Move to common/rsp-low.c.
5332 * common/rsp-low.h: New file.
5333 * common/rsp-low.c: New file.
5334 * Makefile.in (SFILES): Add common/rsp-low.c.
5335 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
5336 (COMMON_OBS): Add rsp-low.o.
5337 (rsp-low.o): New target.
5339 2014-02-12 Tom Tromey <tromey@redhat.com>
5341 * utils.h: Include print-utils.h.
5342 (host_address_to_string, plongest, pulongest, phex, phex_nz)
5343 (int_string, core_addr_to_string, core_addr_to_string_nz)
5344 (hex_string, hex_string_custom): Don't declare.
5345 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
5346 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
5347 (hex_string_custom, int_string, core_addr_to_string)
5348 (core_addr_to_string_nz, host_address_to_string): Move to
5349 common/print-utils.c.
5350 * common/print-utils.h: New file.
5351 * common/print-utils.c: New file
5352 * Makefile.in (SFILES): Add common/print-utils.c.
5353 (HFILES_NO_SRCDIR): Add common/print-utils.h.
5354 (COMMON_OBS): Add print-utils.o.
5355 (print-utils.o): New target.
5357 2014-02-12 Tom Tromey <tromey@redhat.com>
5359 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
5361 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5363 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
5365 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5367 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
5368 if a PT_IO ptrace request returns sucessfully but indicates that 0
5369 bytes were transferred.
5371 2014-02-12 Pedro Alves <palves@redhat.com>
5372 Kevin Buettner <kevinb@redhat.com>
5374 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
5375 TYPE_INSTANCE_FLAG_CODE_SPACE.
5377 2014-02-12 Pedro Alves <palves@redhat.com>
5379 * h8300-tdep.c (pseudo_from_raw_register)
5380 (raw_from_pseudo_register): New functions.
5381 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
5384 2014-02-12 Pedro Alves <palves@redhat.com>
5386 * h8300-tdep.c (h8300_register_sim_regno): New function.
5387 (h8300_gdbarch_init): Install h8300_register_sim_regno as
5388 gdbarch_register_sim_regno hook.
5390 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5392 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
5394 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5396 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
5398 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5400 * obsd-tdep.h (obsd_init_abi): New prototype.
5401 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
5402 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
5403 (obsd_init_abi): New functions.
5404 * i386obsd-tdep.c: Include "obsd-tdep.h".
5405 (i386obsd_init_abi): Call obsd_init_abi.
5406 * amd64obsd-tdep.c: Include "obsd-tdep.h".
5407 (amd64obsd_init_abi): Call obsd_init_abi.
5408 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
5409 obsd-tdep.c to gdb_target_obs.
5411 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
5413 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
5414 double float arguments to 16-byte in the argument slots.
5416 2014-02-11 Doug Evans <xdje42@gmail.com>
5418 * configure.ac: Don't crash if pkg-config is not found and guile
5419 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
5421 * configure: Regenerate.
5423 2014-02-11 Yao Qi <yao@codesourcery.com>
5425 * aix-thread.c (aix_thread_xfer_partial): Update comments.
5426 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
5427 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5428 * gnu-nat.c (gnu_xfer_memory): Likewise.
5429 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5430 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5431 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5432 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5434 2014-02-11 Yao Qi <yao@codesourcery.com>
5436 * target.h (enum target_xfer_error): Rename to ...
5437 (enum target_xfer_status): ... it. New. All users updated.
5438 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
5440 (TARGET_XFER_STATUS_ERROR_P): New macro.
5441 (target_xfer_error_to_string): Remove declaration.
5442 (target_xfer_status_to_string): Declare.
5443 (target_xfer_partial_ftype): Adjust it.
5444 (struct target_ops) <to_xfer_partial>: Return
5445 target_xfer_status. Add argument xfered_len. Update
5447 * target.c (target_xfer_error_to_string): Rename to ...
5448 (target_xfer_status_to_string): ... it. New. All callers
5450 (target_read_live_memory): Likewise. Call target_xfer_partial
5451 instead of target_read.
5452 (memory_xfer_live_readonly_partial): Return
5453 target_xfer_status. Add argument xfered_len.
5454 (raw_memory_xfer_partial): Likewise.
5455 (memory_xfer_partial_1): Likewise.
5456 (memory_xfer_partial): Likewise.
5457 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
5458 properly. Update debug message.
5459 (default_xfer_partial, current_xfer_partial): Likewise.
5460 (target_write_partial): Likewise.
5461 (target_read_partial): Likewise. All callers updated.
5462 (read_whatever_is_readable): Likewise.
5463 (target_write_with_progress): Likewise.
5464 (target_read_alloc_1): Likewise.
5466 * aix-thread.c (aix_thread_xfer_partial): Likewise.
5467 * auxv.c (procfs_xfer_auxv): Likewise.
5468 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
5469 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5470 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5471 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
5472 * corefile.c (read_memory): Adjust.
5473 * corelow.c (core_xfer_partial): Likewise.
5474 * ctf.c (ctf_xfer_partial): Likewise.
5475 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
5477 (darwin_xfer_partial): Likewise.
5478 * exec.c (section_table_xfer_memory_partial): Likewise. All
5480 (exec_xfer_partial): Likewise.
5481 * exec.h (section_table_xfer_memory_partial): Update
5483 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
5485 (gnu_xfer_partial): Likewise.
5486 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
5487 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
5488 (ia64_hpux_xfer_solib_got): Likewise.
5489 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
5490 type of 'partial_len' to ULONGEST.
5491 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5492 * linux-nat.c (linux_xfer_siginfo ): Likewise.
5493 (linux_nat_xfer_partial): Likewise.
5494 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
5495 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
5496 * monitor.c (monitor_xfer_memory): Likewise.
5497 (monitor_xfer_partial): Likewise.
5498 * procfs.c (procfs_xfer_partial): Likewise.
5499 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5500 * record-full.c (record_full_xfer_partial): Likewise.
5501 (record_full_core_xfer_partial): Likewise.
5502 * remote-sim.c (gdbsim_xfer_memory): Likewise.
5503 (gdbsim_xfer_partial): Likewise.
5504 * remote.c (remote_write_bytes_aux): Likewise. All callers
5506 (remote_write_bytes, remote_read_bytes): Likewise. All
5508 (remote_flash_erase): Likewise. All callers updated.
5509 (remote_write_qxfer): Likewise. All callers updated.
5510 (remote_read_qxfer): Likewise. All callers updated.
5511 (remote_xfer_partial): Likewise.
5512 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5513 (rs6000_xfer_shared_libraries): Likewise.
5514 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5515 (sol_thread_xfer_partial): Likewise.
5516 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5517 (sparc_xfer_partial): Likewise.
5518 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
5520 (spu_xfer_partial): Likewise.
5521 * spu-multiarch.c (spu_xfer_partial): Likewise.
5522 * tracepoint.c (tfile_xfer_partial): Likewise.
5523 * windows-nat.c (windows_xfer_memory): Likewise.
5524 (windows_xfer_shared_libraries): Likewise.
5525 (windows_xfer_partial): Likewise.
5526 * valprint.c: Replace 'target_xfer_error' with
5527 'target_xfer_status' in comments.
5529 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
5531 Checked in by Joel Brobecker <brobecker@adacore.com>.
5532 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
5534 2014-02-11 Joel Brobecker <brobecker@adacore.com>
5536 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
5537 function parameters.
5539 2014-02-10 Will Newton <will.newton@linaro.org>
5541 * elfread.c (elf_rel_plt_read): Look for a .got section if
5542 looking up .got.plt fails.
5543 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
5544 on address passed to elf_gnu_ifunc_record_cache.
5545 (elf_gnu_ifunc_resolve_addr): Likewise.
5546 (elf_gnu_ifunc_resolver_return_stop): Likewise.
5548 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
5550 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
5551 (X_RETTURN): New macro.
5552 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
5554 * sparc64-tdep.c (sparc64_init_abi): Hook
5555 sparc_in_function_epilogue_p.
5557 2014-02-10 Gary Benson <gbenson@redhat.com>
5559 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5560 Rename name_matcher to symbol_matcher.
5562 2014-02-10 Gary Benson <gbenson@redhat.com>
5564 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5565 Use expand_symtabs_file_matcher_ftype and
5566 expand_symtabs_symbol_matcher_ftype.
5568 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5570 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
5571 (struct ada_symbol_cache): New.
5572 (ada_free_symbol_cache): Forward declare.
5573 (struct ada_pspace_data): New.
5574 (ada_pspace_data_handle): New static global.
5575 (get_ada_pspace_data, ada_pspace_data_cleanup)
5576 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
5577 (cache_space, cache): Delete, now folded inside struct
5579 (ada_get_symbol_cache): New function.
5580 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
5582 (_initialize_ada_language): Remove initialization of cache_space.
5583 Move call to observer_attach_inferior_exit up, grouping it
5584 with the other observer registrations inside this function.
5585 Rename command to be more general. Add call to
5586 register_program_space_data_with_cleanup.
5588 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5590 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
5591 ada_new_objfile_observer.
5592 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
5593 (_initialize_tasks): Update uses of ada_new_objfile_observer
5594 and ada_tasks_normal_stop_observer.
5596 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5598 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
5599 returned by the 'Length attribute to integer.
5601 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5603 * ada-lang.c (_initialize_ada_language): Initialize
5604 cache_space obstack.
5606 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5608 * ada-lang.c (HASH_SIZE): New macro.
5609 (struct cache_entry): New type.
5610 (cache_space, cache): New static globals.
5611 (ada_clear_symbol_cache, find_entry): New functions.
5612 (lookup_cached_symbol, cache_symbol): Implement.
5613 (ada_new_objfile_observer, ada_free_objfile_observer): New.
5614 (_initialize_ada_language): Attach ada_new_objfile_observer
5615 and ada_free_objfile_observer.
5617 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5619 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5620 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5621 struct block * parameter.
5622 (ada_lookup_symbol_list_worker): Constify local variable "block".
5623 Remove cast which is no longer necessary.
5625 2014-02-10 Doug Evans <xdje42@gmail.com>
5627 Add Guile as an extension language.
5628 * NEWS: Mention Guile scripting.
5629 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5630 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5631 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5632 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5633 (CLIBS): Add GUILE_LIBS.
5634 (install-guile): New rule.
5635 (guile.o): New rule.
5636 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5637 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5638 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5639 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5640 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5641 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5642 (scm-type.o, scm-utils.o, scm-value.o): New rules.
5643 * configure.ac: New option --with-guile.
5644 * configure: Regenerate.
5645 * config.in: Regenerate.
5646 * auto-load.c: Remove #include "python/python.h". Add #include
5647 "gdb/section-scripts.h".
5648 (source_section_scripts): Handle Guile scripts.
5649 (_initialize_auto_load): Add name of Guile objfile script to
5650 scripts-directory help text.
5651 * breakpoint.c (condition_command): Tweak comment to include Scheme.
5652 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5653 (struct breakpoint): New member scm_bp_object.
5654 * defs.h (enum command_control_type): New value guile_control.
5655 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
5657 (show_user): Update comment.
5658 (_initialize_cli_cmds): Update help text for "show user". Update help
5659 text for max-user-call-depth.
5660 * cli/cli-script.c: Remove #include "python/python.h". Add #include
5662 (multi_line_command_p): Add guile_control.
5663 (print_command_lines): Handle guile_control.
5664 (execute_control_command, recurse_read_control_structure): Ditto.
5665 (process_next_line): Recognize "guile" commands.
5666 * disasm.c (gdb_disassemble_info): Make non-static.
5667 * disasm.h: #include "dis-asm.h".
5668 (struct gdbarch): Add forward decl.
5669 (gdb_disassemble_info): Declare.
5670 * extension.c: #include "guile/guile.h".
5671 (extension_languages): Add guile.
5672 (get_ext_lang_defn): Handle EXT_LANG_GDB.
5673 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5674 * gdbtypes.c (get_unsigned_type_max): New function.
5675 (get_signed_type_minmax): New function.
5676 * gdbtypes.h (get_unsigned_type_max): Declare.
5677 (get_signed_type_minmax): Declare.
5678 * guile/README: New file.
5679 * guile/guile-internal.h: New file.
5680 * guile/guile.c: New file.
5681 * guile/guile.h: New file.
5682 * guile/scm-arch.c: New file.
5683 * guile/scm-auto-load.c: New file.
5684 * guile/scm-block.c: New file.
5685 * guile/scm-breakpoint.c: New file.
5686 * guile/scm-disasm.c: New file.
5687 * guile/scm-exception.c: New file.
5688 * guile/scm-frame.c: New file.
5689 * guile/scm-gsmob.c: New file.
5690 * guile/scm-iterator.c: New file.
5691 * guile/scm-lazy-string.c: New file.
5692 * guile/scm-math.c: New file.
5693 * guile/scm-objfile.c: New file.
5694 * guile/scm-ports.c: New file.
5695 * guile/scm-pretty-print.c: New file.
5696 * guile/scm-safe-call.c: New file.
5697 * guile/scm-string.c: New file.
5698 * guile/scm-symbol.c: New file.
5699 * guile/scm-symtab.c: New file.
5700 * guile/scm-type.c: New file.
5701 * guile/scm-utils.c: New file.
5702 * guile/scm-value.c: New file.
5703 * guile/lib/gdb.scm: New file.
5704 * guile/lib/gdb/boot.scm: New file.
5705 * guile/lib/gdb/experimental.scm: New file.
5706 * guile/lib/gdb/init.scm: New file.
5707 * guile/lib/gdb/iterator.scm: New file.
5708 * guile/lib/gdb/printing.scm: New file.
5709 * guile/lib/gdb/types.scm: New file.
5710 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5711 (VPATH): Add $(GUILE_SRCDIR).
5712 (GUILE_DIR): New variable.
5713 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5714 (all): Add stamp-guile dependency.
5715 (stamp-guile): New rule.
5716 (clean-guile, install-guile, uninstall-guile): New rules.
5717 (install-only): Add install-guile dependency.
5718 (uninstall): Add uninstall-guile dependency.
5719 (clean): Add clean-guile dependency.
5721 2014-02-09 Doug Evans <xdje42@gmail.com>
5723 Revert this patch (which I approved, mea culpa).
5725 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5727 * Makefile.in (all-lib): Remove.
5728 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5730 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5732 Fix Python stack corruption.
5733 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5736 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5738 * Makefile.in (all-lib): Remove.
5739 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5741 2014-02-07 Doug Evans <dje@google.com>
5743 * extension-priv.h (extension_language_script_ops): Add comment.
5744 (extension_language_ops): Add comment.
5745 (active_ext_lang_state): Fix typo in comment.
5747 2014-02-07 Pedro Alves <palves@redhat.com>
5749 PR breakpoints/16292
5750 * infrun.c (handle_signal_stop) <signal arrives while stepping
5751 over a breakpoint>: Switch back to the stepping thread.
5753 2014-02-07 Yao Qi <yao@codesourcery.com>
5755 * target.c (target_xfer_partial): Return zero if LEN is zero.
5757 2014-02-07 Yao Qi <yao@codesourcery.com>
5759 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5760 (ld_so_xfer_auxv): Likewise.
5761 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5762 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5763 * corelow.c (core_xfer_partial): Likewise.
5764 * ctf.c (ctf_xfer_partial): Likewise.
5765 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5766 (darwin_xfer_partial): Likewise.
5767 * exec.c (exec_xfer_partial): Likewise.
5768 * gnu-nat.c (gnu_xfer_partial): Likewise.
5769 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5770 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5771 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5772 * linux-nat.c (linux_xfer_siginfo): Likewise.
5773 (linux_proc_xfer_spu): Likewise.
5774 * procfs.c (procfs_xfer_partial): Likewise.
5775 * record-full.c (record_full_xfer_partial): Likewise.
5776 (record_full_core_xfer_partial): Likewise.
5777 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5778 * remote.c (remote_write_qxfer): Likewise.
5779 (remote_write_qxfer, remote_read_qxfer): Likewise.
5780 (remote_xfer_partial): Likewise.
5781 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5782 (rs6000_xfer_shared_libraries): Likewise.
5783 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5784 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5785 (spu_xfer_partial): Likewise.
5786 * target.c (memory_xfer_partial_1): Likewise.
5787 * tracepoint.c (tfile_xfer_partial): Likewise.
5788 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5789 (windows_xfer_partial): Likewise.
5791 2014-02-07 Yao Qi <yao@codesourcery.com>
5793 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5795 (core_xfer_shared_libraries_aix): Likewise.
5796 * gdbarch.c, gdbarch.h: Regenerated.
5797 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5798 ULONGEST. Change 'len_avail' type to ULONGEST.
5799 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5800 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5802 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5804 2014-02-07 Yao Qi <yao@codesourcery.com>
5806 * corefile.c (memory_error): Get 'exception' from ERR and pass
5807 'exception' to throw_error.
5809 2014-02-06 Doug Evans <xdje42@gmail.com>
5811 * configure.ac (libpython checking): Remove all but python.o from
5812 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5813 * configure: Regenerate.
5815 * Makefile.in (SFILES): Add extension.c.
5816 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5817 (COMMON_OBS): Add extension.o.
5818 * extension.h: New file.
5819 * extension-priv.h: New file.
5820 * extension.c: New file.
5822 * python/python-internal.h: #include "extension.h".
5823 (gdbpy_auto_load_enabled): Declare.
5824 (gdbpy_apply_val_pretty_printer): Declare.
5825 (gdbpy_apply_frame_filter): Declare.
5826 (gdbpy_preserve_values): Declare.
5827 (gdbpy_breakpoint_cond_says_stop): Declare.
5828 (gdbpy_breakpoint_has_cond): Declare.
5829 (void source_python_script_for_objfile): Delete.
5830 * python/python.c: #include "extension-priv.h".
5831 Delete inclusion of "observer.h".
5832 (extension_language_python): Moved here and renamed from
5833 script_language_python in py-auto-load.c.
5834 Redefined to be of type extension_language_defn.
5835 (python_extension_script_ops): New global.
5836 (python_extension_ops): New global.
5837 (struct python_env): New member previous_active.
5838 (restore_python_env): Call restore_active_ext_lang.
5839 (ensure_python_env): Call set_active_ext_lang.
5840 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5842 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5844 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5846 (gdbpy_eval_from_control_command): Renamed from
5847 eval_python_from_control_command, made static. New arg extlang.
5848 (gdbpy_source_script) Renamed from source_python_script, made static.
5850 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5851 result to int. New arg extlang.
5852 (gdbpy_source_objfile_script): Renamed from
5853 source_python_script_for_objfile, made static. New arg extlang.
5854 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5855 static. New args extlang, extlang_printers. Change result type to
5857 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5858 static. New arg extlang. Rename arg printers to extlang_printers
5859 and change type to ext_lang_type_printers *.
5860 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5861 static. Replace argument arg with extlang, extlang_printers.
5862 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5863 (!HAVE_PYTHON, source_python_script): Delete.
5864 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5865 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5866 (!HAVE_PYTHON, start_type_printers): Delete.
5867 (!HAVE_PYTHON, apply_type_printers): Delete.
5868 (!HAVE_PYTHON, free_type_printers): Delete.
5869 (_initialize_python): Delete call to observer_attach_before_prompt.
5870 (finalize_python): Set/restore active extension language.
5871 (gdbpy_finish_initialization) Renamed from
5872 finish_python_initialization, made static. New arg extlang.
5873 (gdbpy_initialized): New function.
5874 * python/python.h: #include "extension.h". Delete #include
5875 "value.h", "mi/mi-cmds.h".
5876 (extension_language_python): Declare.
5877 (GDBPY_AUTO_FILE_NAME): Delete.
5878 (enum py_bt_status): Moved to extension.h and renamed to
5880 (enum frame_filter_flags): Moved to extension.h.
5881 (enum py_frame_args): Moved to extension.h and renamed to
5882 ext_lang_frame_args.
5883 (finish_python_initialization): Delete.
5884 (eval_python_from_control_command): Delete.
5885 (source_python_script): Delete.
5886 (apply_val_pretty_printer): Delete.
5887 (apply_frame_filter): Delete.
5888 (preserve_python_values): Delete.
5889 (gdbpy_script_language_defn): Delete.
5890 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5891 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5893 * auto-load.c: #include "extension.h".
5894 (GDB_AUTO_FILE_NAME): Delete.
5895 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5896 (script_language_gdb): Delete, moved to extension.c and renamed to
5897 extension_language_gdb.
5898 (source_gdb_script_for_objfile): Delete.
5899 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5900 (loaded_script): Change type of language member to
5901 struct extension_language_defn *.
5902 (init_loaded_scripts_info): Initialize
5903 unsupported_script_warning_printed.
5904 (maybe_add_script): Make static. Change type of language arg to
5905 struct extension_language_defn *.
5906 (clear_section_scripts): Reset unsupported_script_warning_printed.
5907 (auto_load_objfile_script_1): Rewrite to use extension language API.
5908 (auto_load_objfile_script): Make public. Remove support-compiled-in
5909 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5910 (source_section_scripts): Rewrite to use extension language API.
5911 (load_auto_scripts_for_objfile): Rewrite to use
5912 auto_load_scripts_for_objfile.
5913 (collect_matching_scripts_data): Change type of language member to
5914 struct extension_language_defn *.
5915 (auto_load_info_scripts): Change type of language arg to
5916 struct extension_language_defn *.
5917 (unsupported_script_warning_print): New function.
5918 (script_not_found_warning_print): Make static.
5919 (_initialize_auto_load): Rewrite construction of scripts-directory
5921 * auto-load.h (struct objfile): Add forward decl.
5922 (struct script_language): Delete.
5923 (struct auto_load_pspace_info): Add forward decl.
5924 (struct extension_language_defn): Add forward decl.
5925 (maybe_add_script): Delete.
5926 (auto_load_objfile_script): Declare.
5927 (script_not_found_warning_print): Delete.
5928 (auto_load_info_scripts): Update prototype.
5929 (auto_load_gdb_scripts_enabled): Declare.
5930 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5931 auto_load_python_scripts_enabled and made public.
5932 (script_language_python): Delete, moved to python.c.
5933 (gdbpy_script_language_defn): Delete.
5934 (info_auto_load_python_scripts): Update to use
5935 extension_language_python.
5937 * breakpoint.c (condition_command): Replace call to
5938 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5939 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5940 with call to breakpoint_ext_lang_cond_says_stop.
5941 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5942 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5943 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5944 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5946 (local_setattro): Print name of extension language with existing
5949 * valprint.c (val_print, value_print): Update to call
5950 apply_ext_lang_val_pretty_printer.
5951 * cp-valprint.c (cp_print_value): Update call to
5952 apply_ext_lang_val_pretty_printer.
5953 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5954 (gdbpy_apply_val_pretty_printer): Renamed from
5955 apply_val_pretty_printer. New arg extlang.
5956 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5958 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5959 extension language API.
5960 * cli/cli-script.c (execute_control_command): Update to call
5961 eval_ext_lang_from_control_command.
5963 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5964 enum ext_lang_bt_status values. Update call to
5965 apply_ext_lang_frame_filter.
5966 (mi_cmd_stack_list_locals): Ditto.
5967 (mi_cmd_stack_list_args): Ditto.
5968 (mi_cmd_stack_list_variables): Ditto.
5969 * mi/mi-main.c: Delete #include "python/python-internal.h".
5970 Add #include "extension.h".
5971 (mi_cmd_list_features): Replace reference to python internal variable
5972 gdb_python_initialized with call to ext_lang_initialized_p.
5974 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5975 Update to use enum ext_lang_frame_args. Update to call
5976 apply_ext_lang_frame_filter.
5977 * python/py-framefilter.c (extract_sym): Update to use enum
5979 (extract_value, py_print_type, py_print_value): Ditto.
5980 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5981 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5982 (py_print_frame): Ditto.
5983 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5984 New arg extlang. Update to use enum ext_lang_bt_status.
5986 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5987 finish_python_initialization. Replace with call to
5988 finish_ext_lang_initialization.
5990 * typeprint.c (do_free_global_table): Update to call
5991 free_ext_lang_type_printers.
5992 (create_global_typedef_table): Update to call
5993 start_ext_lang_type_printers.
5994 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5995 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5996 (type_print_options): Change type of global_printers from "void *"
5997 to "struct ext_lang_type_printers *".
5999 * value.c (preserve_values): Update to call preserve_ext_lang_values.
6000 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
6001 (gdbpy_preserve_values): Renamed from preserve_python_values.
6003 (!HAVE_PYTHON, preserve_python_values): Delete.
6005 * utils.c (quit_flag): Delete, moved to extension.c.
6006 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
6009 * eval.c: Delete #include "python/python.h".
6010 * main.c: Delete #include "python/python.h".
6012 * defs.h: Update comment.
6014 2014-02-06 Joel Brobecker <brobecker@adacore.com>
6018 2014-02-05 Mark Kettenis <kettenis@gnu.org>
6020 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6023 2014-02-05 Yao Qi <yao@codesourcery.com>
6025 * remote.c (remote_pass_signals): Remove local 'buf' and use
6027 (remote_program_signals): Likewise.
6029 2014-02-05 Yao Qi <yao@codesourcery.com>
6031 * ctf.c: Include "inferior.h" and "gdbthread.h".
6032 (CTF_PID): A new macro.
6033 (ctf_open): Call inferior_appeared and add_thread_silent.
6034 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
6035 (ctf_thread_alive): New function.
6036 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
6038 2014-02-05 Yao Qi <yao@codesourcery.com>
6042 2013-05-24 Yao Qi <yao@codesourcery.com>
6044 * tracepoint.c (TFILE_PID): Remove.
6045 (tfile_open): Don't add thread and inferior.
6046 (tfile_close): Don't set 'inferior_ptid'. Don't call
6047 exit_inferior_silent.
6048 (tfile_thread_alive): Remove.
6049 (init_tfile_ops): Don't set field 'to_thread_alive' of
6052 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
6054 * remote.c (remote_start_remote): Call remote_check_symbols even
6055 if only symbol-file (not file) has been given.
6057 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6059 * gdbarch.sh (skip_entrypoint): New callback.
6060 * gdbarch.c, gdbarch.h: Regenerate.
6061 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
6062 * infrun.c (fill_in_stop_func): Likewise.
6063 * ppc-linux-tdep.c: Include "elf/ppc64.h".
6064 (ppc_elfv2_elf_make_msymbol_special): New function.
6065 (ppc_elfv2_skip_entrypoint): Likewise.
6066 (ppc_linux_init_abi): Install them for ELFv2.
6068 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6070 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
6071 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
6072 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6073 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
6074 structures returned in GPRs.
6076 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6078 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
6079 offset to the stack parameter list for the ELFv2 ABI.
6081 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6083 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
6084 set_gdbarch_convert_from_func_ptr_addr and
6085 set_gdbarch_elf_make_msymbol_special for ELFv1.
6086 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
6087 function descriptors on ELFv1.
6088 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
6089 set up r12 at function entry.
6091 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6093 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
6094 (struct gdbarch_tdep): New member elf_abi.
6096 * rs6000-tdep.c: Include "elf/ppc64.h".
6097 (rs6000_gdbarch_init): Detect ELF ABI version.
6099 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6101 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
6102 within a register pair holding a DFP 128-bit value on little-endian.
6103 (ppc64_sysv_abi_return_value_base): Likewise.
6104 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
6105 (dfp_pseudo_register_write): Likewise.
6107 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6109 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
6110 offset on little-endian when passing _Decimal32.
6111 (ppc64_sysv_abi_return_value_base): Likewise for return values.
6113 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6115 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
6116 of the overlapped FP register within the VSX register on little-
6118 (efpr_pseudo_register_write): Likewise.
6120 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6122 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
6123 offset on little-endian when passing small structures.
6125 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6127 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
6128 (struct ppc64_sysv_argpos): New data structure.
6129 (ppc64_sysv_abi_push_float): Remove.
6130 (ppc64_sysv_abi_push_val): New function.
6131 (ppc64_sysv_abi_push_integer): Likewise.
6132 (ppc64_sysv_abi_push_freg): Likewise.
6133 (ppc64_sysv_abi_push_vreg): Likewise.
6134 (ppc64_sysv_abi_push_param): Likewise.
6135 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
6136 (ppc64_sysv_abi_return_value_base): New function.
6137 (ppc64_sysv_abi_return_value): Refactor to use it.
6139 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6141 * NEWS: Document new target powerpc64le-*-linux*.
6143 2014-02-04 Mark Kettenis <kettenis@gnu.org>
6145 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
6146 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
6148 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
6149 register set used in ELF core dumps. Add floating-point register set.
6151 2014-02-03 Kevin Buettner <kevinb@redhat.com>
6153 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
6154 dwarf2_to_gdb[] table using symbolic constants. Adjust
6155 penultimate entry from number representing the PC register
6156 to symbolic constant representing the MDR register. Add
6157 constant for the PC register to the end of the table.
6159 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6161 * bsd-kvm.c: Include <sys/param.h>
6163 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6165 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
6167 2014-01-31 Joel Brobecker <brobecker@adacore.com>
6169 * ada-lang.h (clear_ada_sym_cache): Delete.
6171 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
6173 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
6175 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6177 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
6178 the sigreturn register save area only if the syscall is
6181 2014-01-29 Joel Brobecker <brobecker@adacore.com>
6183 * valops.c (value_slice): Minor reformatting.
6185 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
6187 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
6189 2014-01-28 Joel Brobecker <brobecker@adacore.com>
6191 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
6193 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
6194 (ada_ignore_descriptive_types_p): New static global.
6195 (find_parallel_type_by_descriptive_type): Return immediately
6196 if ada_ignore_descriptive_types_p is set.
6197 (_initialize_ada_language): Register new commands "maintenance
6198 set ada", "maintenance show ada", "maintenance set ada
6199 ignore-descriptive-types" and "maintenance show ada
6200 ignore-descriptive-types".
6201 * NEWS: Add entry for new "maint ada set/show
6202 ignore-descriptive-types" commands.
6204 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
6206 * record-btrace.c (record_btrace_close): Call btrace_teardown
6209 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6211 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
6214 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6216 * ada-typeprint (type_is_full_subrange_of_target_type):
6218 (print_range): Add parameter bounds_prefered_p. If not set,
6219 try printing range types using the name of their base type.
6220 (print_range_type): Add parameter bounds_prefered_p.
6221 Use it in call to print_range.
6222 (print_array_type, ada_print_type): Update calls to print_range
6223 and print_range_type.
6225 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6227 * ada-typeprint.c (print_array_type, print_choices, print_range)
6228 (print_range_bound, print_dynamic_range_bound, print_range_type):
6231 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6233 * ada-typeprint.c (print_range): Add missing empty line
6234 after local declaration.
6236 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6238 * ada-valprint.c (print_optional_low_bound): Get index_type's
6239 target type for as long as it is a TYPE_CODE_RANGE.
6241 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6243 * procfs.c (procfs_make_note_section): Remove assertion and
6246 2014-01-24 Yao Qi <yao@codesourcery.com>
6248 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
6249 * corelow.c (get_core_siginfo): Likewise.
6251 2014-01-24 Yao Qi <yao@codesourcery.com>
6253 * remote.c (remote_write_bytes_aux): Change type of 'len' to
6254 ULONGEST. Don't check 'len' is negative.
6255 (remote_write_bytes): Change type of 'len' to ULONGEST.
6257 2014-01-23 Tom Tromey <tromey@redhat.com>
6260 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
6261 Handle exception from frame.block.
6262 (FrameVars.fetch_frame_locals): Likewise.
6264 2014-01-23 Tom Tromey <tromey@redhat.com>
6267 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
6268 on a NULL pointer. Move "goto error" to correct place.
6270 2014-01-23 Tom Tromey <tromey@redhat.com>
6273 * python/py-framefilter.c (apply_frame_filter): Call
6274 ensure_python_env after computing gdbarch.
6276 2014-01-23 Yao Qi <yao@codesourcery.com>
6278 * target.c (raw_memory_xfer_partial): Change argument type
6279 from void * to gdb_byte *.
6280 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
6282 2014-01-22 Doug Evans <dje@google.com>
6284 New gdbserver option --debug-format=timestamp.
6287 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6289 * syscalls/s390x-linux.xml: New file.
6290 * syscalls/s390-linux.xml: New file.
6291 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
6292 (XML_SYSCALL_FILENAME_S390X): Likewise.
6293 (op_svc): New enum value for SVC opcode.
6294 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
6295 (s390_linux_get_syscall_number): New function.
6296 (s390_gdbarch_init): Register '*get_syscall_number' and the
6297 syscall xml file name.
6298 * data-directory/Makefile.in (SYSCALLS_FILES): Add
6299 "s390-linux.xml" and "s390x-linux.xml".
6300 * NEWS: Announce new feature.
6302 2014-01-22 Baruch Siach <baruch@tkos.co.il>
6304 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
6306 2014-01-22 Pedro Alves <palves@redhat.com>
6308 * xtensa-config.c: Include defs.h.
6310 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6312 * common/common-utils.h: Add "ARI:" comment beside __func__
6315 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6317 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
6318 documentation a bit.
6320 2014-01-21 Roland McGrath <mcgrathr@google.com>
6322 * configure.ac: Call AM_PROG_INSTALL_STRIP.
6323 * configure: Regenerate.
6324 * aclocal.m4: Regenerate.
6325 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
6326 New substituted variables.
6327 (install-strip): New target.
6328 (INSTALL_SCRIPT): New substituted variable.
6329 (FLAGS_TO_PASS): Add it.
6330 (install-only): Use $(INSTALL_SCRIPT) rather than
6331 $(INSTALL_PROGRAM) for gcore.
6333 2014-01-20 Tom Tromey <tromey@redhat.com>
6335 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
6338 2014-01-20 Tom Tromey <tromey@redhat.com>
6340 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
6341 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
6342 (deprecated_cmd_warning, complete_on_cmdlist): Update.
6343 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
6344 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
6345 (struct cmd_list_element) <flags>: Remove.
6346 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
6347 doc_allocated>: New fields.
6348 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
6350 * maint.c (maintenance_do_deprecate): Update.
6351 * top.c (execute_command): Update.
6353 2014-01-20 Baruch Siach <baruch@tkos.co.il>
6355 * xtensa-linux-nat.c: Include asm/ptrace.h.
6357 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6359 * Makefile.in (SFILES): Add d-support.c.
6360 (COMMON_OBS): Add d-support.o.
6361 * d-lang.h (d_parse_symbol): Add comment, now defined in
6363 * d-lang.c (parse_call_convention)
6364 (parse_attributes, parse_function_types)
6365 (parse_function_args, parse_type, parse_identifier)
6366 (call_convention_p, d_parse_symbol): Move functions to ...
6367 * d-support.c: ... New file.
6369 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6371 * d-lang.h (d_parse_symbol): Add declaration.
6372 * d-lang.c (extract_identifiers)
6373 (extract_type_info): Remove functions.
6374 (parse_call_convention, parse_attributes)
6375 (parse_function_types, parse_function_args)
6376 (parse_type, parse_identifier, call_convention_p)
6377 (d_parse_symbol): New functions.
6378 (d_demangle): Use d_parse_symbol to demangle D symbols.
6380 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6382 * d-lang.h (struct builtin_d_type): New data type.
6383 (builtin_d_type): Add declaration.
6384 * d-lang.c (d_language_arch_info, build_d_types)
6385 (builtin_d_type): New functions.
6386 (enum d_primitive_types): New data type.
6387 (d_language_defn): Change c_language_arch_info to
6388 d_language_arch_info.
6389 (d_type_data): New static variable.
6390 (_initialize_d_language): Initialize d_type_data.
6392 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6394 * d-lang.h (d_main_name): Add declaration.
6395 * d-lang.c (d_main_name): New function.
6396 * symtab.c (find_main_name): Add call to d_main_name.
6398 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6400 * d-lang.c (d_language_defn): Change macro_expansion_c to
6403 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6405 * MAINTAINERS: Add myself as a write-after-approval maintainer.
6407 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
6409 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
6410 gdb_exception" declaration.
6411 * remote.c (getpkt_or_notif_sane): Likewise.
6413 2014-01-17 Doug Evans <dje@google.com>
6415 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
6416 function, contents of dirnames_to_char_ptr_vec_append moved here.
6417 (delim_string_to_char_ptr_vec): New function.
6418 (dirnames_to_char_ptr_vec_append): Rewrite.
6419 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
6421 2014-01-17 Doug Evans <dje@google.com>
6423 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
6425 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
6426 #include "common-utils.h".
6427 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
6428 * common/vec.h (VEC_ASSERT_PASS): Update.
6429 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
6430 (MACH_CHECK_ERROR): Update.
6432 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
6434 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
6436 * gdbarch.h: Regenerate.
6438 2014-01-16 Tom Tromey <tromey@redhat.com>
6440 * value.c (struct value) <regnum>: Move earlier.
6442 2014-01-16 Tom Tromey <tromey@redhat.com>
6444 * remote.c (extended_remote_create_inferior): Rename from
6445 extended_remote_create_inferior_1. Add "ops" argument. Remove
6448 2014-01-16 Pedro Alves <palves@redhat.com>
6450 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
6451 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
6454 2014-01-16 Doug Evans <dje@google.com>
6456 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
6458 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6460 * btrace.h (btrace_thread_flag): New.
6461 (struct btrace_thread_info) <flags>: New.
6462 * record-btrace.c (record_btrace_resume_thread)
6463 (record_btrace_find_thread_to_move, btrace_step_no_history)
6464 (btrace_step_stopped, record_btrace_start_replaying)
6465 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
6466 (record_btrace_find_resume_thread): New.
6467 (record_btrace_resume, record_btrace_wait): Extend.
6468 (record_btrace_can_execute_reverse): New.
6469 (record_btrace_open): Fail in non-stop mode.
6470 (record_btrace_set_replay): Split into this, ...
6471 (record_btrace_stop_replaying): ... this, ...
6472 (record_btrace_clear_histories): ... and this.
6473 (init_record_btrace_ops): Init to_can_execute_reverse.
6474 * NEWS: Announce it.
6476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6478 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
6479 (forward_target_decr_pc_after_break)
6480 (target_decr_pc_after_break): New.
6481 * target.c (forward_target_decr_pc_after_break)
6482 (target_decr_pc_after_break): New.
6483 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
6484 instead of gdbarch_decr_pc_after_break.
6485 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6486 instead of gdbarch_decr_pc_after_break.
6487 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
6488 instead of gdbarch_decr_pc_after_break.
6489 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6490 instead of gdbarch_decr_pc_after_break.
6491 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
6492 instead of gdbarch_decr_pc_after_break.
6493 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
6494 instead of gdbarch_decr_pc_after_break.
6496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6498 * btrace.c: Include regcache.h.
6499 (btrace_add_pc): New.
6500 (btrace_enable): Call btrace_add_pc.
6501 (btrace_is_empty): New.
6502 * btrace.h (btrace_is_empty): New.
6503 * record-btrace.c (require_btrace, record_btrace_info): Call
6506 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6508 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
6509 Support delta reads.
6510 (linux_disable_btrace): Change return type.
6511 * common/linux-btrace.h (linux_read_btrace): Change parameters
6512 and return type to allow error reporting. Update users.
6513 (linux_disable_btrace): Change return type. Update users.
6514 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
6516 (btrace_error): New.
6517 (btrace_block) <begin>: Comment on BEGIN == 0.
6518 * btrace.c (btrace_compute_ftrace): Start from the end of
6520 (btrace_stitch_trace, btrace_clear_history): New.
6521 (btrace_fetch): Read delta trace, return if replaying.
6522 (btrace_clear): Move clear history code to btrace_clear_history.
6523 (parse_xml_btrace): Throw an error if parsing failed.
6524 * target.h (struct target_ops) <to_read_btrace>: Change parameters
6525 and return type to allow error reporting.
6526 (target_read_btrace): Change parameters and return type to allow
6528 * target.c (target_read_btrace): Update.
6529 * remote.c (remote_read_btrace): Support delta reads. Pass
6531 * NEWS: Announce it.
6533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6535 * record.h (record_btrace_frame_unwind)
6536 (record_btrace_tailcall_frame_unwind): New declarations.
6537 * dwarf2-frame: Include record.h
6538 (dwarf2_frame_cfa): Throw an error for btrace frames.
6539 * record-btrace.c: Include hashtab.h.
6540 (btrace_get_bfun_name): New.
6541 (btrace_call_history): Call btrace_get_bfun_name.
6542 (struct btrace_frame_cache): New.
6544 (bfcache_hash, bfcache_eq, bfcache_new): New.
6545 (btrace_get_frame_function): New.
6546 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
6547 (record_btrace_frame_this_id): Compute own id.
6548 (record_btrace_frame_prev_register): Provide PC, throw_error
6549 for all other registers.
6550 (record_btrace_frame_sniffer): Detect btrace frames.
6551 (record_btrace_tailcall_frame_sniffer): New.
6552 (record_btrace_frame_dealloc_cache): New.
6553 (record_btrace_frame_unwind): Add new functions.
6554 (record_btrace_tailcall_frame_unwind): New.
6555 (_initialize_record_btrace): Allocate cache.
6556 * btrace.c (btrace_clear): Call reinit_frame_cache.
6557 * NEWS: Announce it.
6559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6561 * record-btrace.c (record_btrace_set_replay)
6562 (record_btrace_goto_begin, record_btrace_goto_end)
6563 (record_btrace_goto): New.
6564 (init_record_btrace_ops): Initialize them.
6565 * NEWS: Announce it.
6567 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6569 * record-btrace.c (record_btrace_find_new_threads)
6570 (record_btrace_thread_alive): New.
6571 (init_record_btrace_ops): Initialize to_find_new_threads and
6574 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6576 * record-btrace.c (record_btrace_resume): New.
6577 (record_btrace_wait): New.
6578 (init_record_btrace_ops): Initialize to_wait and to_resume.
6580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6582 * record-btrace.c (record_btrace_xfer_partial)
6583 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
6584 (record_btrace_allow_memory_access): New.
6585 (init_record_btrace_ops): Initialize new methods.
6586 * target.c (raw_memory_xfer_partial): Bail out if target reports
6587 that this memory is not available.
6589 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6591 * target.h (target_ops) <to_insert_breakpoint>
6592 <to_remove_breakpoint>: Add target_ops parameter.
6593 (forward_target_insert_breakpoint): New.
6594 (forward_target_remove_breakpoint): New.
6595 (memory_remove_breakpoint, memory_insert_breakpoint):
6596 Add target_ops parameter.
6597 * target.c (target_insert_breakpoint): Split into this and ...
6598 (forward_target_insert_breakpoint): ... this.
6599 (target_remove_breakpoint): Split into this and ...
6600 (forward_target_remove_breakpoint): ... this.
6601 (debug_to_insert_breakpoint): Add target_ops parameter.
6602 Call forward_target_insert_breakpoint.
6603 (debug_to_remove_breakpoint): Add target_ops parameter.
6604 Call forward_target_remove_breakpoint.
6605 (update_current_target): Do not inherit or default to_insert_breakpoint
6606 and to_remove_breakpoint.
6607 * corelow.c (ignore): Add target_ops parameter.
6608 * exec.c (ignore): Add target_ops parameter.
6609 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
6610 Add target_ops parameter.
6611 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
6612 Add target_ops parameter.
6613 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
6614 Add target_ops parameter.
6615 * record-full.c (record_full_beneath_to_insert_breakpoint)
6616 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
6617 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
6618 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6619 (record_full_core_remove_breakpoint): Add target_ops parameter.
6621 (record_full_beneath_to_insert_breakpoint_ops)
6622 (record_full_beneath_to_remove_breakpoint_ops)
6623 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6624 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6625 tmp_to_remove_breakpoint_ops,
6626 record_full_beneath_to_insert_breakpoint_ops, and
6627 record_full_beneath_to_remove_breakpoint_ops.
6628 * remote-m32r-sdi.c (m32r_insert_breakpoint)
6629 (m32r_remove_breakpoint): Add target_ops parameter.
6630 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6631 Add target_ops parameter.
6632 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6633 Add target_ops parameter.
6635 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6636 Markus Metzger <markus.t.metzger@intel.com>
6638 * record-btrace.c: Include frame-unwind.h.
6639 (record_btrace_frame_unwind_stop_reason)
6640 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6641 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6643 (init_record_btrace_ops): Install it.
6645 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6647 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6650 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6652 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6655 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6657 * frame-unwind.c: Include target.h.
6658 (frame_unwind_try_unwinder): New function with code from ...
6659 (frame_unwind_find_by_frame): ... here. New variable
6660 unwinder_from_target, call also target_get_unwinder)
6661 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6662 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6663 * target.h (struct target_ops): New fields to_get_unwinder and
6664 to_get_tailcall_unwinder.
6665 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6667 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6669 * record-btrace.c (record_btrace_fetch_registers)
6670 (record_btrace_store_registers)
6671 (record_btrace_to_prepare_to_store): New.
6672 (init_record_btrace_ops): Add the above.
6674 2014-01-16 Tom Tromey <tromey@redhat.com>
6676 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6677 * target.h (struct target_ops) <to_prepare_to_store>: Add
6679 (target_prepare_to_store): Add argument.
6680 * target.c (debug_to_prepare_to_store): Add argument.
6681 (update_current_target): Update.
6682 * remote.c (remote_prepare_to_store): Add 'self' argument.
6683 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6684 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6685 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6686 * record-full.c (record_full_core_prepare_to_store): Add 'self'
6688 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6689 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6690 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6691 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6692 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6694 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6696 * btrace.h (replay) <replay>: New.
6697 (btrace_is_replaying): New.
6698 * btrace.c (btrace_clear): Free replay iterator.
6699 (btrace_is_replaying): New.
6700 * record-btrace.c (record_btrace_is_replaying): New.
6701 (record_btrace_info): Print insn number if replaying.
6702 (record_btrace_insn_history): Start at replay position.
6703 (record_btrace_call_history): Start at replay position.
6704 (init_record_btrace_ops): Init to_record_is_replaying.
6706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6708 * record-btrace.c (record_btrace_insn_history_range): Include
6710 (record_btrace_insn_history_from): Adjust range.
6711 (record_btrace_call_history_range): Include
6713 (record_btrace_call_history_from): Adjust range.
6714 * NEWS: Announce changes.
6716 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6718 * record.h (enum record_print_flag)
6719 <record_print_indent_calls>: New.
6720 * record.c (get_call_history_modifiers): Recognize /c modifier.
6721 (_initialize_record): Document /c modifier.
6722 * record-btrace.c (btrace_call_history): Add btinfo parameter.
6723 Reorder fields. Optionally indent the function name. Update
6725 * NEWS: Announce changes.
6727 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6729 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6731 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6733 * btrace.c (ftrace_new_function): Start counting at one.
6734 * record-btrace.c (record_btrace_info): Adjust number of calls
6736 * NEWS: Announce it.
6738 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6740 * record-btrace.c (btrace_call_history_insn_range): Print
6741 insn range as [begin, end].
6743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6745 * btrace.h (struct btrace_func_link): New.
6746 (enum btrace_function_flag): New.
6747 (struct btrace_inst): Rename to ...
6748 (struct btrace_insn): ...this. Update all users.
6749 (struct btrace_func) <ibegin, iend>: Remove.
6750 (struct btrace_func_link): New.
6751 (struct btrace_func): Rename to ...
6752 (struct btrace_function): ...this. Update all users.
6753 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6754 (number, level, flags>: New.
6755 (struct btrace_insn_iterator): Rename to ...
6756 (struct btrace_insn_history): ...this.
6758 (struct btrace_insn_iterator, btrace_call_iterator): New.
6759 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6760 (struct btrace_target_info) <begin, end, level>
6761 <insn_history, call_history>: New.
6762 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6763 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6764 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6765 (btrace_call_number, btrace_call_begin, btrace_call_end)
6766 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6767 (btrace_find_function_by_number, btrace_set_insn_history)
6768 (btrace_set_call_history): New.
6769 * btrace.c (btrace_init_insn_iterator)
6770 (btrace_init_func_iterator, compute_itrace): Remove.
6771 (ftrace_print_function_name, ftrace_print_filename)
6772 (ftrace_skip_file): Change
6774 (ftrace_init_func): Remove.
6775 (ftrace_debug): Use new btrace_function fields.
6776 (ftrace_function_switched): Also consider gaining and
6777 losing symbol information).
6778 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6779 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6780 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6782 (ftrace_new_function): Move. Remove debug print.
6783 (ftrace_update_lines, ftrace_update_insns): New.
6784 (ftrace_update_function): Check for call, ret, and jump.
6785 (compute_ftrace): Renamed to ...
6786 (btrace_compute_ftrace): ...this. Rewritten to compute call
6788 (btrace_fetch, btrace_clear): Updated.
6789 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6790 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6791 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6792 (btrace_call_number, btrace_call_begin, btrace_call_end)
6793 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6794 (btrace_find_function_by_number, btrace_set_insn_history)
6795 (btrace_set_call_history): New.
6796 * record-btrace.c (require_btrace): Use new btrace thread
6798 (record_btrace_info, btrace_insn_history)
6799 (record_btrace_insn_history, record_btrace_insn_history_range):
6800 Use new btrace thread info fields and new iterator.
6801 (btrace_func_history_src_line): Rename to ...
6802 (btrace_call_history_src_line): ...this. Use new btrace
6804 (btrace_func_history): Rename to ...
6805 (btrace_call_history): ...this. Use new btrace thread info
6806 fields and new iterator.
6807 (record_btrace_call_history, record_btrace_call_history_range):
6808 Use new btrace thread info fields and new iterator.
6810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6812 * frame.h (frame_id_build_unavailable_stack_special): New.
6813 * frame.c (frame_id_build_unavailable_stack_special): New.
6815 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6817 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6818 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6819 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6821 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6822 (i386_insn_is_jump, i386_jmp_p): New.
6823 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6824 insn_is_jump to gdbarch.
6825 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6826 * gdbarch.h: Regenerated.
6827 * gdbarch.c: Regenerated.
6828 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6829 (default_insn_is_jump): New.
6830 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6831 (default_insn_is_jump): New.
6833 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6835 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6837 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6838 (btrace_read_type) <btrace_read_new>: Change to ...
6839 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6841 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6843 * common/linux-btrace.c (linux_read_btrace): Free trace from
6846 2014-01-15 Doug Evans <dje@google.com>
6848 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6851 2014-01-15 Tom Tromey <tromey@redhat.com>
6853 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6854 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6855 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6856 (set_objfile_main_name): New function.
6857 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6858 language_of_main>: New fields.
6859 (set_objfile_main_name): Declare.
6860 * symtab.c (find_main_name): Loop over objfiles to find the main
6862 (set_main_name): Now static.
6863 (get_main_info): Add comment.
6864 * symtab.h (set_main_name): Don't declare.
6866 2014-01-15 Tom Tromey <tromey@redhat.com>
6868 * symtab.c (main_progspace_key): New global.
6869 (struct main_info): New.
6870 (name_of_main, language_of_main): Remove.
6871 (get_main_info, main_info_cleanup): New function.
6872 (set_main_name, main_name, main_language): Use get_main_info.
6873 (_initialize_symtab): Initialize main_progspace_key.
6875 2014-01-15 Tom Tromey <tromey@redhat.com>
6877 * dbxread.c (process_one_symbol): Update.
6878 * dwarf2read.c (read_partial_die): Update.
6879 * symfile.c (set_initial_language): Call main_language.
6880 * symtab.c (language_of_main): Now static.
6881 (set_main_name): Add 'lang' parameter.
6882 (find_main_name): Update.
6883 (main_language): New function.
6884 (symtab_observer_executable_changed): Update.
6885 * symtab.h (set_main_name): Update.
6886 (language_of_main): Remove.
6887 (main_language): Declare.
6889 2014-01-15 Tom Tromey <tromey@redhat.com>
6891 * symfile.c (init_entry_point_info): Use new "initialized" field.
6893 * objfiles.h (struct entry_point) <initialized>: New field.
6894 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6895 (struct objfile) <ei>: ...here. Remove.
6896 * objfiles.c (entry_point_address_query): Update.
6898 2014-01-15 Tom Tromey <tromey@redhat.com>
6900 * objfiles.c (entry_point_address_query): Relocate entry point
6902 (objfile_relocate1): Do not relocate entry point address.
6903 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6904 <the_bfd_section_index>: New field.
6905 * symfile.c (init_entry_point_info): Find the entry point's
6908 2014-01-15 Tom Tromey <tromey@redhat.com>
6910 * solib-frv.c (enable_break): Use entry_point_address_query.
6912 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6914 * NEWS: Add note on improved process record-replay on
6915 arm*-linux* targets.
6917 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6919 * arm-tdep.c (enum arm_record_result): New enum.
6920 (arm_record_unsupported_insn): New function.
6921 (arm_record_coproc_data_proc): Removed.
6922 (thumb2_record_ld_st_multiple): New function.
6923 (thumb2_record_ld_st_dual_ex_tbb): New function.
6924 (thumb2_record_data_proc_sreg_mimm): New function.
6925 (thumb2_record_ps_dest_generic): New function.
6926 (thumb2_record_branch_misc_cntrl): New function.
6927 (thumb2_record_str_single_data): New function.
6928 (thumb2_record_ld_mem_hints): New function.
6929 (thumb2_record_ld_word): New function.
6930 (thumb2_record_lmul_lmla_div): New function.
6931 (thumb2_record_decode_insn_handler): New function.
6932 (decode_insn): Add thumb32 instruction handlers.
6934 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6936 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6937 (struct arm_linux_record_tdep): Declare.
6938 (arm_canonicalize_syscall): New function.
6939 (arm_all_but_pc_registers_record): New function.
6940 (arm_linux_syscall_record): New function.
6941 (arm_linux_init_abi): Add syscall recording constructs.
6942 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6943 decoding. (arm_record_coproc_data_proc): Update arm syscall
6945 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6946 <arm_syscall_record>: New field.
6947 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6950 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6952 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6953 register for push instruction recording.
6955 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6957 * arm-tdep.c (thumb_record_misc): Update to correct logical
6958 error while recording ldm, ldmia and pop instructions.
6960 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6962 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6964 2014-01-15 Pedro Alves <palves@redhat.com>
6966 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6967 (go32_resume, go32_fetch_registers, store_register)
6968 (go32_store_registers, go32_prepare_to_store)
6969 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6970 (go32_create_inferior, go32_can_run, go32_terminal_init)
6971 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6974 2014-01-15 Tom Tromey <tromey@redhat.com>
6976 * target.h (async_callback_ftype): New typedef.
6977 (struct target_ops) <to_async>: Use it.
6979 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6981 * python/py-value.c (get_field_type): Remove unnecessary curly
6982 braces for single-statement if block.
6984 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6986 * python/py-type.c (convert_field): Add missing empty line
6989 2014-01-14 Doug Evans <dje@google.com>
6991 * symfile.h (expand_symtabs_matching): Renamed from
6992 expand_partial_symbol_names. Update prototype.
6993 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6994 * symfile.c (expand_symtabs_matching): Renamed from
6995 expand_partial_symbol_names. New args file_matcher, kind.
6996 Rename arg fun to symbol_matcher.
6997 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6998 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6999 ada_expand_partial_symbol_name.
7000 (ada_make_symbol_completion_list): Update to call
7001 expand_symtabs_matching.
7002 (ada_add_global_exceptions): Call expand_symtabs_matching.
7003 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
7004 call map_symbol_filenames.
7005 * symtab.c (sources_info): Update to call map_symbol_filenames.
7006 (search_symbols): Call expand_symtabs_matching.
7007 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
7008 (default_make_symbol_completion_list_break_on): Update to call
7009 expand_symtabs_matching.
7010 (make_source_files_completion_list): Update to call
7011 map_symbol_filenames.
7013 2014-01-14 Doug Evans <dje@google.com>
7015 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
7016 (expand_symtabs_symbol_matcher_ftype): New typedef.
7017 (quick_symbol_functions.expand_symtabs_matching): Update to use.
7018 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7019 * symfile.c (expand_partial_symbol_names): Update to use
7020 expand_symtabs_symbol_matcher_ftype.
7021 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
7022 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7023 Arg name_matcher renamed to symbol_matcher.
7024 * psymtab.c (recursively_search_psymtabs): Update to use
7025 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
7027 (expand_symtabs_matching_via_partial): Update to use
7028 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7029 Arg name_matcher renamed to symbol_matcher.
7031 2014-01-14 Doug Evans <dje@google.com>
7033 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
7034 (map_partial_symbol_filenames): Ditto.
7035 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
7036 (map_partial_symbol_filenames): Ditto.
7037 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
7038 (map_partial_symbol_filenames): Ditto.
7039 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
7040 (map_partial_symbol_filenames): Ditto.
7041 * symtab.c: Delete #include "psymtab.h".
7043 2014-01-14 Pedro Alves <palves@redhat.com>
7044 Tom Tromey <tromey@redhat.com>
7046 * infrun.c (use_displaced_stepping): Use find_record_target
7047 instead of RECORD_IS_USED.
7048 (adjust_pc_after_break): Use record_full_is_used instead of
7050 * record-btrace.c (record_btrace_open): Call record_preopen
7051 instead of checking RECORD_IS_USED.
7052 * record-full.c (record_full_shortname)
7053 (record_full_core_shortname): New globals.
7054 (record_full_is_used): New function.
7055 (find_full_open): Call record_preopen instead of checking
7057 (init_record_full_ops): Set the target's shortname to
7058 record_full_shortname.
7059 (init_record_full_core_ops): Set the target's shortname to
7060 record_full_core_shortname.
7061 * record-full.h (record_full_is_used): Declare.
7062 * record.c (find_record_target): Make extern.
7063 (record_preopen): New function.
7064 * record.h (RECORD_IS_USED): Delete macro.
7065 (find_record_target, record_preopen): Declare functions.
7067 2014-01-14 Yao Qi <yao@codesourcery.com>
7069 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
7070 'len''s type to ULONGEST.
7071 (core_xfer_shared_libraries_aix): Likewise.
7072 * gdbarch.c, gdbarch.h: Regenerated.
7073 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
7074 Change type of 'len' to ULONGEST.
7075 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7076 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
7078 2014-01-14 Yao Qi <yao@codesourcery.com>
7080 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
7081 type of 'len' to ULONGEST.
7082 (linux_xfer_osdata_processgroups): Likewise.
7083 (linux_xfer_osdata_threads): Likewise.
7084 (linux_xfer_osdata_fds): Likewise.
7085 (linux_xfer_osdata_isockets): Likewise.
7086 (linux_xfer_osdata_shm): Likewise.
7087 (linux_xfer_osdata_sem): Likewise.
7088 (linux_xfer_osdata_msg): Likewise.
7089 (linux_common_xfer_osdata): Likewise.
7090 (struct osdata_type) <getter>: Likewise.
7091 * common/linux-osdata.h (linux_common_xfer_osdata): Update
7094 2014-01-14 Yao Qi <yao@codesourcery.com>
7096 * target.h (target_xfer_partial_ftype): Update.
7097 (struct target_ops) <to_xfer_partial>: Change 'len' type to
7099 * aix-thread.c (aix_thread_xfer_partial): Change type of
7100 argument 'len' to ULONGEST.
7101 * auxv.c (procfs_xfer_auxv): Likewise.
7102 (ld_so_xfer_auxv): Likewise.
7103 (memory_xfer_auxv): Likewise.
7104 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7105 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7106 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7107 * corelow.c (core_xfer_partial): Likewise.
7108 * ctf.c (ctf_xfer_partial): Likewise.
7109 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
7111 (darwin_read_dyld_info): Likewise.
7112 (darwin_xfer_partial): Likewise.
7113 * exec.c (section_table_xfer_memory_partial): Likewise.
7114 (exec_xfer_partial): Likewise.
7115 * exec.h (section_table_xfer_memory_partial): Update
7117 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
7118 instead of plongest.
7119 (gnu_xfer_partial): Likewise.
7120 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
7121 (ia64_hpux_xfer_solib_got): Likewise.
7122 (ia64_hpux_xfer_partial): Likewise.
7123 * ia64-linux-nat.c (ia64_linux_xfer_partial):
7124 * inf-ptrace.c (inf_ptrace_xfer_partial):
7125 * inf-ttrace.c (inf_ttrace_xfer_partial):
7126 * linux-nat.c (linux_xfer_siginfo): Likewise.
7127 (linux_nat_xfer_partial): Likewise.
7128 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
7129 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
7130 * monitor.c (monitor_xfer_memory): Likewise.
7131 (monitor_xfer_partial): Likewise.
7132 * procfs.c (procfs_xfer_partial): Likewise.
7133 * record-full.c (record_full_xfer_partial): Likewise.
7134 (record_full_core_xfer_partial): Likewise.
7135 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
7136 instead of plongest.
7137 (gdbsim_xfer_partial): Likewise.
7138 * remote.c (remote_xfer_partial): Likewise.
7139 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7140 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7142 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7143 (rs6000_xfer_shared_libraries): Likewise.
7144 * sol-thread.c (sol_thread_xfer_partial): Likewise.
7145 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7146 (sparc_xfer_partial): Likewise.
7147 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7148 (spu_xfer_partial): Likewise.
7149 * spu-multiarch.c (spu_xfer_partial): Likewise.
7150 * target.c (target_read_live_memory): Likewise.
7151 (memory_xfer_live_readonly_partial): Likewise.
7152 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
7153 (target_xfer_partial, default_xfer_partial): Likewise.
7154 (current_xfer_partial): Likewise.
7155 * tracepoint.c (tfile_xfer_partial): Likewise.
7156 * windows-nat.c (windows_xfer_memory): Likewise. Call
7157 pulongest instead of plongest.
7158 (windows_xfer_partial): Likewise.
7159 (windows_xfer_shared_libraries): Likewise.
7161 2014-01-14 Yao Qi <yao@codesourcery.com>
7163 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
7164 target_xfer_partial_ftype.
7166 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7170 * valops.c (value_struct_elt_bitpos): New function
7171 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
7172 object to 'None' if the field name is an empty string ("").
7173 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
7174 attribute to look for a field when 'name' is 'None'.
7175 (get_field_type): New function
7177 2014-01-13 Doug Evans <dje@google.com>
7180 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
7181 (try_open_dwop_file): Ditto.
7182 * gdb_bfd.c: #include "vec.h".
7183 (bfdp): New typedef.
7184 (struct gdb_bfd_data): New member included_bfds.
7185 (gdb_bfd_unref): Unref all included bfds.
7186 (gdb_bfd_record_inclusion): New function.
7187 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
7189 2014-01-13 Tom Tromey <tromey@redhat.com>
7191 * gdbcore.h (deprecated_core_resize_section_table): Remove.
7193 2014-01-13 Tom Tromey <tromey@redhat.com>
7195 * defs.h (use_windows): Remove.
7196 * gdb.c (main): Update.
7197 * main.c (captured_main, gdb_main): Update.
7198 * main.h (struct captured_main_args) <use_windows>: Remove.
7199 * top.c (use_windows): Remove.
7201 2014-01-13 Tom Tromey <tromey@redhat.com>
7203 * defs.h (deprecated_flush_hook): Remove.
7205 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7208 * linux-thread-db.c (try_thread_db_load): Add parameter
7209 check_auto_load_safe. Move here the file_is_auto_load_safe call.
7210 (try_thread_db_load_from_pdir_1): Move it there from here.
7211 (try_thread_db_load_from_sdir): Update caller.
7212 (try_thread_db_load_from_dir): Move it there from here.
7214 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
7216 * regformats/regdat.sh: Always rewrite the register file.
7218 2014-01-13 Pedro Alves <palves@redhat.com>
7220 * Makefile.in (CHECK_HEADERS): New variable.
7221 (check-headers:): New rule.
7223 2014-01-13 Tom Tromey <tromey@redhat.com>
7225 * cli/cli-setshow.c (do_set_command): Update.
7226 * defs.h (deprecated_set_hook): Remove.
7227 * top.c (deprecated_set_hook): Remove.
7229 2014-01-13 Pedro Alves <palves@redhat.com>
7231 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
7232 the tracepoint if the PC is a pseudo-register.
7234 2014-01-13 Tom Tromey <tromey@redhat.com>
7236 * defs.h (XCALLOC): Remove.
7237 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
7238 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
7239 * dwarf2loc.c (allocate_piece_closure): Likewise.
7240 * elfread.c (elf_symfile_segments): Likewise.
7241 (elf_symfile_segments): Likewise.
7242 * gdbtypes.c (copy_type_recursive): Likewise.
7243 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
7244 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
7245 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
7247 * mt-tdep.c (mt_gdbarch_init): Likewise.
7248 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
7250 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
7251 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
7252 * registry.c (registry_alloc_data): Likewise.
7253 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
7254 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
7255 * serial.c (serial_fdopen_ops): Likewise.
7256 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
7258 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
7259 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
7262 2014-01-13 Tom Tromey <tromey@redhat.com>
7264 * defs.h (XMALLOC): Remove.
7265 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
7266 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
7267 * cli-out.c (struct ui_out *): Likewise.
7268 * cli/cli-dump.c (add_dump_command): Likewise.
7269 (add_dump_command): Likewise.
7270 * complaints.c (get_complaints): Likewise.
7271 (find_complaint): Likewise.
7272 * dwarf2-frame.c (execute_cfa_program): Likewise.
7273 * dwarf2read.c (abbrev_table_read_table): Likewise.
7274 * gdbarch.sh: Likewise.
7275 * gdbarch.c: Rebuild.
7276 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
7277 * interps.c (interp_new): Likewise.
7278 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
7279 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
7280 * mi/mi-console.c (mi_console_file_new): Likewise.
7281 * mi/mi-interp.c (mi_interpreter_init): Likewise.
7282 * mi/mi-out.c (mi_out_new): Likewise.
7283 * mi/mi-parse.c (mi_parse): Likewise.
7284 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
7285 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
7286 * observer.c (xalloc_observer_list_node): Likewise.
7287 * regcache.c (regcache_xmalloc_1): Likewise.
7288 * reggroups.c (reggroup_new): Likewise.
7289 (_initialize_reggroup): Likewise.
7290 * registry.c (register_data_with_cleanup): Likewise.
7291 * remote.c (remote_notif_stop_alloc_reply): Likewise.
7292 * ser-base.c (serial_ttystate): Likewise.
7293 * ser-mingw.c (make_pipe_state): Likewise.
7294 * ser-pipe.c (pipe_open): Likewise.
7295 * serial.c (serial_open): Likewise.
7296 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
7297 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
7298 (tui_alloc_win_info): Likewise.
7299 (tui_add_content_elements): Likewise.
7300 * tui/tui-file.c (tui_file_new): Likewise.
7301 * tui/tui-out.c (tui_out_new): Likewise.
7302 * ui-file.c (mem_file_new): Likewise.
7303 * ui-out.c (push_level): Likewise.
7304 (make_cleanup_ui_out_end): Likewise.
7305 (append_header_to_list): Likewise.
7306 (ui_out_new): Likewise.
7307 * user-regs.c (user_reg_add_builtin): Likewise.
7309 2014-01-13 Tom Tromey <tromey@redhat.com>
7311 * defs.h (XZALLOC): Remove.
7312 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
7313 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
7314 (get_ada_tasks_inferior_data): Likewise.
7315 * auto-load.c (get_auto_load_pspace_data): Likewise.
7316 * auxv.c (get_auxv_inferior_data): Likewise.
7317 * bfd-target.c (target_bfd_reopen): Likewise.
7318 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
7319 (deprecated_insert_raw_breakpoint): Likewise.
7320 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
7321 * corelow.c (core_open): Likewise.
7322 * darwin-nat.c (darwin_check_new_threads): Likewise.
7323 (darwin_attach_pid): Likewise.
7324 * dummy-frame.c (dummy_frame_push): Likewise.
7325 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
7326 * dwarf2loc.c (allocate_piece_closure): Likewise.
7327 * elfread.c (elf_symfile_segments): Likewise.
7328 * eval.c (ptrmath_type_p): Likewise.
7329 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
7330 * gdbtypes.c (alloc_type_arch): Likewise.
7331 (alloc_type_instance): Likewise.
7332 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
7333 * inf-child.c (inf_child_can_use_agent): Likewise.
7334 * inflow.c (get_inflow_inferior_data): Likewise.
7335 * infrun.c (save_infcall_suspend_state): Likewise.
7336 * jit.c (jit_reader_load): Likewise.
7337 (get_jit_objfile_data): Likewise.
7338 (get_jit_program_space_data): Likewise.
7339 (jit_object_open_impl): Likewise.
7340 (jit_symtab_open_impl): Likewise.
7341 (jit_block_open_impl): Likewise.
7342 (jit_frame_sniffer): Likewise.
7343 * linux-fork.c (add_fork): Likewise.
7344 * maint.c (make_command_stats_cleanup): Likewise.
7345 * objfiles.c (get_objfile_pspace_data): Likewise.
7346 * opencl-lang.c (struct lval_closure): Likewise.
7347 * osdata.c (osdata_start_osdata): Likewise.
7348 * progspace.c (new_address_space): Likewise.
7349 (add_program_space): Likewise.
7350 * remote-sim.c (get_sim_inferior_data): Likewise.
7351 * sh-tdep.c (sh_gdbarch_init): Likewise.
7352 * skip.c (Ignore): Likewise.
7353 (skip_delete_command): Likewise.
7354 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
7355 (library_list_start_library): Likewise.
7356 (solib_aix_current_sos): Likewise.
7357 * solib-darwin.c (get_darwin_info): Likewise.
7358 (darwin_current_sos): Likewise.
7359 * solib-dsbt.c (get_dsbt_info): Likewise.
7360 * solib-ia64-hpux.c (new_so_list): Likewise.
7361 (ia64_hpux_get_solib_linkage_addr): Likewise.
7362 * solib-spu.c (append_ocl_sos): Likewise.
7363 (spu_current_sos): Likewise.
7364 * solib-svr4.c (get_svr4_info): Likewise.
7365 (svr4_keep_data_in_core): Likewise.
7366 (library_list_start_library): Likewise.
7367 (svr4_default_sos): Likewise.
7368 (svr4_read_so_list): Likewise.
7369 * solib-target.c (library_list_start_library): Likewise.
7370 (solib_target_current_sos): Likewise.
7371 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
7372 * symfile-debug.c (install_symfile_debug_logging): Likewise.
7373 * symfile.c (default_symfile_segments): Likewise.
7374 * target-descriptions.c (tdesc_data_init): Likewise.
7375 (tdesc_create_reg): Likewise.
7376 (struct tdesc_type *): Likewise.
7377 (tdesc_create_vector): Likewise.
7378 (tdesc_set_struct_size): Likewise.
7379 (struct tdesc_type *): Likewise.
7380 (tdesc_free_feature): Likewise.
7381 (tdesc_create_feature): Likewise.
7382 * windows-nat.c (windows_add_thread): Likewise.
7383 (windows_make_so): Likewise.
7384 * xml-support.c (gdb_xml_body_text): Likewise.
7385 (gdb_xml_create_parser_and_cleanup): Likewise.
7386 (xml_process_xincludes): Likewise.
7387 * xml-syscall.c (allocate_syscalls_info): Likewise.
7388 (syscall_create_syscall_desc): Likewise.
7390 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
7392 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
7393 function, with code from i386_stap_parse_special_token.
7394 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7395 (i386_stap_parse_special_token): Move code to the two functions
7398 2014-01-09 Pedro Alves <palves@redhat.com>
7399 Hui Zhu <hui@codesourcery.com>
7402 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
7403 bp_err_string. Don't mark the location shlib_disabled if the
7404 error thrown wasn't a generic or memory error. Catch errors
7405 thrown while inserting breakpoints in overlayed code. Output
7406 error message of software breakpoints.
7407 * remote.c (remote_insert_breakpoint): If this breakpoint has
7408 target-side commands but this stub doesn't support Z0 packets,
7409 throw NOT_SUPPORTED_ERROR error.
7410 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
7411 * target.h (target_insert_breakpoint): Extend comment.
7412 (target_insert_hw_breakpoint): Add comment.
7414 2014-01-08 Pedro Alves <palves@redhat.com>
7416 * remote.c (remote_add_thread): Add threads silently if starting
7418 (remote_notice_new_inferior): If in all-stop, and starting up,
7419 don't call notice_new_inferior.
7420 (get_current_thread): New function, factored out from ...
7421 (add_current_inferior_and_thread): ... this. Adjust.
7422 (remote_start_remote) <all-stop>: Fetch the thread list. If we
7423 found any thread, then select the remote's current thread as GDB's
7426 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7428 * NEWS: Create a new section for the next release branch.
7429 Rename the section of the current branch, now that it has
7432 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7434 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
7435 * version.in: Bump version to 7.7.50.DATE-cvs.
7437 2014-01-08 Yao Qi <yao@codesourcery.com>
7439 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
7440 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
7441 (spu_xfer_partial): Cast 'buf' to 'const char *'.
7443 2014-01-08 Yao Qi <yao@codesourcery.com>
7445 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
7446 return value of bfd_get_filename to symbol_file_add_from_bfd.
7448 2014-01-08 Pierre Muller <muller@sourceware.org>
7451 * coff-pe-read.c (struct read_pe_section_data): Add index field.
7452 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
7453 to prim_record_mininal_symbol_and_info.
7454 (add_pe_forwarded_sym): Use known section number of forwarded symbol
7455 in call to prim_record_minimal_symbol_and_info.
7456 (read_pe_exported_syms): Set index field of section_data.
7458 2014-01-07 Andrew Pinski <apinski@cavium.com>
7460 * features/aarch64-core.xml (cpsr): Change to be 64bit.
7461 * features/aarch64.c: Regenerate.
7463 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
7465 * target.c (return_null): Define.
7466 (update_current_target): Use it instead of return_zero for
7467 functions that return a pointer.
7469 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7471 * source.c (add_path): Fix check for duplicated paths in the previously
7474 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
7476 * ada-lang.c: Remove duplicated include statements.
7477 * alphabsd-nat.c: Ditto.
7478 * amd64-darwin-tdep.c: Ditto.
7479 * amd64fbsd-nat.c: Ditto.
7480 * auto-load.c: Ditto.
7482 * breakpoint.c: Ditto.
7484 * fork-child.c: Ditto.
7485 * gdb_usleep.c: Ditto.
7486 * i386-darwin-tdep.c: Ditto.
7487 * i386fbsd-nat.c: Ditto.
7489 * inferior.c: Ditto.
7491 * linux-nat.c: Ditto.
7492 * linux-tdep.c: Ditto.
7493 * m68kbsd-nat.c: Ditto.
7494 * m68klinux-nat.c: Ditto.
7495 * microblaze-tdep.c: Ditto.
7496 * mips-linux-tdep.c: Ditto.
7497 * mn10300-tdep.c: Ditto.
7498 * nto-tdep.c: Ditto.
7499 * opencl-lang.c: Ditto.
7501 * printcmd.c: Ditto.
7502 * regcache.c: Ditto.
7503 * remote-m32r-sdi.c: Ditto.
7507 * tilegx-linux-nat.c: Ditto.
7508 * tilegx-tdep.c: Ditto.
7509 * tracepoint.c: Ditto.
7511 * vaxbsd-nat.c: Ditto.
7512 * windows-nat.c: Ditto.
7513 * xtensa-tdep.c: Ditto.
7515 2014-01-07 Yao Qi <yao@codesourcery.com>
7517 * spu-linux-nat.c (_initialize_spu_nat): Declare.
7519 2014-01-07 Yao Qi <yao@codesourcery.com>
7520 Joel Brobecker <brobecker@adacore.com>
7522 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
7523 (pdc_write_regs): Likewise.
7524 (fetch_regs_kernel_thread): Likewise.
7525 (store_regs_kernel_thread): Likewise.
7527 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7529 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
7530 tagged type objects to their actual type.
7532 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7534 * ada-valprint.c (print_field_values): Add "language" parameter.
7535 Update calls to print_field_values and print_variant_part.
7536 Pass new parameter "language" in call to val_print instead
7537 of "current_language". Replace call to ada_val_print by call
7539 (print_variant_part): Add "language" parameter.
7540 (ada_val_print_struct_union): Update call to print_field_values.
7542 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7544 * ada-valprint.c (ui_memcpy): Delete.
7545 (ada_print_floating): Update documentation. Add empty line
7546 between between function documentation and implementation.
7547 Delete variable "buffer". Use ui_file_xstrdup in place of
7548 ui_file_put. Minor adjustments following this change.
7550 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7552 * ada-valprint.c (ada_val_print_string): New function,
7553 extracted from ada_val_print_array.
7554 (ada_val_print_array): Replace extracted code by call
7555 to ada_val_print_string followed by a return. Move
7556 "else" branch to the function's top block.
7558 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7560 * ada-valprint.c (ada_val_print_array): Move implementation
7561 down. Rename parameter "offset" and "val" into "offset_aligned"
7562 and "original_value" respectively. Add parameter "offset".
7564 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7566 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
7567 re-organizing the code. Change the "???" message printed
7568 when target type is a TYPE_CODE_UNDEF into
7569 "<ref to undefined type>".
7571 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7573 * ada-valprint.c (print_record): Delete, implementation inlined...
7574 (ada_val_print_struct_union): ... here. Remove call to
7575 ada_check_typedef in inlined implementation.
7577 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7579 * ada-valprint.c (ada_val_print_gnat_array): New function,
7580 extracted from ada_val_print_1;
7581 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
7582 (ada_val_print_flt, ada_val_print_struct_union)
7583 (ada_val_print_ref): Likewise.
7584 (ada_val_print_1): Delete variables i and elttype.
7585 Replace extracted-out code by call to corresponding
7588 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7590 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
7592 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7594 * ada-valprint.c (ada_val_print_1): Replace calls to
7595 ada_val_print_1 by calls to val_print.
7597 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7599 * ada-valprint.c (ada_val_print_1): Add parameter "language".
7600 Update calls to self accordingly. Replace calls to c_val_print
7601 by calls to val_print.
7603 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7605 * ada-valprint.c (print_record): Delete declaration.
7606 (adjust_type_signedness, ada_val_print_1): Likewise.
7607 (ada_val_print): Move function implementation down.
7608 (print_variant_part, print_field_values, print_record):
7609 Move function implementation up.
7611 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7613 * python/py-type.c (typy_get_name): New function.
7614 (type_object_getset): Add entry for attribute "name".
7615 * NEWS: Add entry mentioning this new attribute.
7617 2014-01-07 Yao Qi <yao@codesourcery.com>
7619 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7622 2014-01-07 Yao Qi <yao@codesourcery.com>
7624 * gnu-nat.c (info_port_rights): Add qualifier const to
7627 2014-01-07 Yao Qi <yao@codesourcery.com>
7629 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7631 2014-01-07 Yao Qi <yao@codesourcery.com>
7633 * gnu-nat.c (make_inf) Update declaration.
7634 (make_inf): Make it static.
7635 (inf_set_traced): Likewise.
7636 (inf_port_to_thread, inf_task_died_status): Likewise.
7638 2014-01-07 Yao Qi <yao@codesourcery.com>
7640 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7642 2014-01-07 Yao Qi <yao@codesourcery.com>
7644 * gnu-nat.c (_initialize_gnu_nat): Declare.
7646 2014-01-07 Yao Qi <yao@codesourcery.com>
7648 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7650 (struct gdbarch_info) <byte_order>: Change type to
7652 <byte_order_for_code>: Likewise.
7653 * gdbarch.c, gdbarch.h: Regenerated.
7655 2014-01-06 Sasha Smundak <asmundak@google.com>
7657 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7659 2014-01-06 Tom Tromey <tromey@redhat.com>
7661 * doublest.c (convert_doublest_to_floatformat): Use const, not
7663 * somread.c (som_symtab_read): Likewise.
7665 2014-01-07 Hui Zhu <hui@codesourcery.com>
7667 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7668 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7669 (gdb_bfd_fopen): Ditto.
7670 (gdb_bfd_openr): Ditto.
7671 (gdb_bfd_openw): Ditto.
7672 (gdb_bfd_openr_iovec): Ditto.
7673 (gdb_bfd_fdopenr): Ditto.
7674 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7675 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7677 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7679 * symfile-mem.c (symbol_file_add_from_memory): Removed
7680 gdb_bfd_stash_filename.
7682 2014-01-03 Doug Evans <dje@google.com>
7684 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7687 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7689 Update year range in copyright notice of all files.
7691 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7693 * top.c (print_gdb_version): Set copyright year to 2014.
7695 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7697 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7699 For older changes see ChangeLog-2013.
7705 version-control: never