1 2014-05-17 Doug Evans <xdje42@gmail.com>
3 * progspace.c (remove_program_space): Delete, unused.
4 * progspace.h (remove_program_space): Ditto.
6 2014-05-17 Doug Evans <xdje42@gmail.com>
8 * inferior.c (prune_inferiors): Fix comment.
9 (remove_inferior_command): Call prune_program_spaces.
11 2014-05-16 Doug Evans <dje@google.com>
13 New command line option -D.
15 * main.c (set_gdb_data_directory): New function.
16 (captured_main): Recognize -D. Flag error for --data-directory "".
17 Call set_gdb_data_directory.
18 (print_gdb_help): Print --data-directory, -D.
19 * main.h (set_gdb_data_directory): Declare.
20 * top.c (staged_gdb_datadir): New static global.
21 (set_gdb_datadir): Call set_gdb_data_directory
22 (show_gdb_datadir): New function.
23 (init_main): Update init of data-directory parameter.
25 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
27 Import the "dirfd" gnulib module.
28 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
29 * gnulib/aclocal.m4: Update.
30 * gnulib/config.in: Update.
31 * gnulib/configure: Update.
32 * gnulib/import/Makefile.am: Update.
33 * gnulib/import/Makefile.in: Update.
34 * gnulib/import/dirfd.c: New.
35 * gnulib/import/m4/dirfd.m4: New.
36 * gnulib/import/m4/gnulib-cache.m4: Update.
37 * gnulib/import/m4/gnulib-comp.m4: Update.
39 2014-05-16 Pierre Muller <muller@sourceware.org>
40 Yao Qi <yao@codesourcery.com>
42 * valprint.c (print_wchar): Move the code on checking whether
43 W is a printable wide char to the default branch of switch
44 statement below. Call wchar_printable instead of gdb_iswprint.
46 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
48 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
49 ldr.w and ldrd instructions.
51 2014-05-15 Doug Evans <dje@google.com>
53 * dwarf2read.c (read_structure_type): Delete outdated comments.
55 2014-05-14 Tom Tromey <tromey@redhat.com>
57 * macrocmd.c (print_macro_definition): Reindent.
59 2014-05-13 Doug Evans <xdje42@gmail.com>
61 * python/py-cmd.c (cmdpy_completer): Add comment.
62 (completers): Make const.
64 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
66 * infrun.c (resume): Remove should_resume (unused). Move up
67 declaration of resume_ptid.
69 2014-05-13 Tom Tromey <tromey@redhat.com>
71 * language.h (unop_type_check): Remove.
72 (binop_type_check): Don't declare.
74 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
76 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
77 call to regcache_raw_collect.
79 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
81 * mi/mi-console.c (mi_console_raw_packet): Use the value from
82 mi_console->quote as the quoting character.
84 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
86 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
88 2014-04-29 Tom Tromey <tromey@redhat.com>
90 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
93 2014-05-07 Kyle McMartin <kyle@redhat.com>
95 Pushed by Joel Brobecker <brobecker@adacore.com>.
96 * aarch64-tdep.c (aarch64_software_single_step): New function.
97 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
98 with aarch64_software_single_step.
100 2014-05-05 Joel Brobecker <brobecker@adacore.com>
104 2014-05-05 Keith Seitz <keiths@redhat.com>
106 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
107 variable or history value is successfully parsed.
109 2014-05-05 Yao Qi <yao@codesourcery.com>
110 Pedro Alves <palves@redhat.com>
112 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
113 address of blocks that intersects the requested range. Trim
114 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
116 * ctf.c (ctf_xfer_partial): Likewise.
118 2014-05-05 Yao Qi <yao@codesourcery.com>
120 * printcmd.c (display_command): Remove the check to
121 target_has_execution.
123 2014-05-03 Mark Kettenis <kettenis@gnu.org>
125 * ppcobsd-nat.c: Include "obsd-nat.h".
126 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
128 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
130 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
132 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
133 and 16-bit signed and unsigned arguments. Update comment.
134 (stap_parse_probe_arguments): Extend code to handle such
135 arguments. Use warning instead of complaint to notify about
136 unrecognized bitness.
138 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
141 * stap-probe.c (stap_parse_probe_arguments): Simplify
142 check for non-prefixed probes (i.e., probes whose
143 arguments do not start with "N@"). Always set the
144 argument type to a sane value.
146 2014-05-01 David Taylor <dtaylor@emc.com>
148 * remote.c (compare_sections_command): Add -r option to compare
149 all loadable read-only sections.
151 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
153 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
154 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
156 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
157 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
158 Remove unused CORE_ADDR argument. Update all callers.
160 2014-04-29 Pedro Alves <palves@redhat.com>
162 * remote.c (struct packet_config) <detect>: Extend comment.
163 (add_packet_config_cmd): Don't set the config's detect or support
165 (init_all_packet_configs): Also initialize the config's 'detect'
167 (reset_all_packet_configs_support): New function.
168 (remote_open_1): Call reset_all_packet_configs_support instead of
169 init_all_packet_configs.
170 (_initialize_remote): Initialize all packet configs. Assert that
171 all packets have an associated command, except a few known
174 2014-04-28 Joel Brobecker <brobecker@adacore.com>
176 * dwarf2read.c (read_subrange_type): Handle dynamic
177 DW_AT_lower_bound attributes.
179 2014-04-28 Joel Brobecker <brobecker@adacore.com>
181 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
182 dynamic bounds before computing its upper bound.
183 (ada_discrete_type_low_bound): Same as above with the lower bound.
185 2014-04-28 Joel Brobecker <brobecker@adacore.com>
187 * dwarf2read.c (is_dynamic_type): Return true for dynamic
188 range types. Adjust the array handling implementation to
189 take advantage of this change.
190 (resolve_dynamic_range): New function, mostly extracted from
191 resolve_dynamic_bounds.
192 (resolve_dynamic_array): New function, mostly extracted from
193 resolve_dynamic_bounds.
194 (resolve_dynamic_bounds): Delete.
195 (resolve_dynamic_type): Reimplement. Add handling of
196 TYPE_CODE_RANGE types.
198 2014-04-28 Joel Brobecker <brobecker@adacore.com>
200 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
201 handling of parallel ___XA types.
203 2014-04-28 Joel Brobecker <brobecker@adacore.com>
205 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
206 unnecessary second call to static_unwrap_type.
208 2014-04-27 Hui Zhu <hui@codesourcery.com>
210 * stack.c (print_frame_info): Call do_gdb_disassembly with
211 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
213 2014-04-26 Doug Evans <xdje42@gmail.com>
215 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
217 2014-04-25 Pedro Alves <palves@redhat.com>
220 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
221 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
222 and newline from built string.
223 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
224 (linux_ptrace_attach_fail_reason): ... this.
225 * linux-nat.c (linux_nat_attach): Adjust to use
226 linux_ptrace_attach_fail_reason.
228 2014-04-25 Pedro Alves <palves@redhat.com>
230 * remote.c (struct remote_state): Remove multi_process_aware,
231 non_stop_aware, cond_tracepoints, cond_breakpoints,
232 breakpoint_commands, fast_tracepoints, static_tracepoints,
233 install_in_trace, disconnected_tracing,
234 enable_disable_tracepoints, string_tracing, and
235 augmented_libraries_svr4_read fields.
236 (remote_multi_process_p): Move further below in the file.
237 (struct packet_config): Add comments.
238 (update_packet_config): Delete function.
239 (show_packet_config_cmd): Use packet_config_support.
240 (add_packet_config_cmd): Use NULL as set callback.
241 (packet_ok): "set remote foo-packet"-style commands no longer
242 change config->supported -- adjust.
243 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
244 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
245 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
246 (PACKET_QNonStop, PACKET_multiprocess_feature)
247 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
248 (PACKET_DisconnectedTracing_feature)
249 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
250 (set_remote_protocol_packet_cmd): Delete function.
251 (packet_config_support, packet_support): New functions.
252 (set_remote_protocol_Z_packet_cmd): Don't call
253 update_packet_config.
254 (remote_query_attached, remote_pass_signals)
255 (remote_program_signals, remote_threads_info)
256 (remote_threads_extra_info, remote_start_remote): Use
258 (remote_start_remote): Use packet_config_support and
260 (init_all_packet_configs): Set all packets to unknown support,
261 instead of calling update_packet_config.
262 (remote_check_symbols): Use packet_support.
263 (remote_supported_packet): Unconditionally set the packet config's
265 (remote_multi_process_feature, remote_non_stop_feature)
266 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
267 (remote_breakpoint_commands_feature)
268 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
269 (remote_install_in_trace_feature)
270 (remote_disconnected_tracing_feature)
271 (remote_enable_disable_tracepoint_feature)
272 (remote_string_tracing_feature)
273 (remote_augmented_libraries_svr4_read_feature): Delete functions.
274 (remote_protocol_features): Adjust to use remote_supported_packet
275 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
276 "ConditionalTracepoints", "ConditionalBreakpoints",
277 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
278 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
279 "EnableDisableTracepoints", and "tracenz".
280 (remote_query_supported): Use packet_support.
281 (remote_open_1): Adjust.
282 (extended_remote_attach_1): Use packet_support. Switch on the
283 result of packet_ok instead of checking whether the packet ended
285 (remote_vcont_resume): Use packet_support.
286 (remote_resume, remote_stop_ns, fetch_register_using_p)
287 (remote_prepare_to_store, store_register_using_P)
288 (check_binary_download, remote_write_bytes): Use packet_support.
289 (remote_vkill): Use packet_support. Switch on the result of
290 packet_ok instead of checking whether the packet ended up
292 (extended_remote_supports_disable_randomization): Use
294 (extended_remote_run): Switch on the result of packet_ok instead
295 of checking whether the packet ended up disabled.
296 (remote_insert_breakpoint, remote_remove_breakpoint)
297 (remote_insert_watchpoint, remote_remove_watchpoint)
298 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
300 (remote_search_memory): Use packet_config_support.
301 (remote_get_thread_local_address, remote_get_tib_address)
302 (remote_hostio_send_command, remote_can_execute_reverse): Use
304 (remote_supports_cond_tracepoints)
305 (remote_supports_cond_breakpoints)
306 (remote_supports_fast_tracepoints)
307 (remote_supports_static_tracepoints)
308 (remote_supports_install_in_trace)
309 (remote_supports_enable_disable_tracepoint)
310 (remote_supports_string_tracing)
311 (remote_can_run_breakpoint_commands): Rewrite, checking whether
312 the packet config says the feature is enabled or disabled.
313 (remote_download_tracepoint, remote_trace_set_readonly_regions)
314 (remote_get_trace_status): Use packet_support.
315 (remote_set_disconnected_tracing): Adjust to check whether the
316 feature is enabled with packet_support.
317 (remote_set_trace_buffer_size, remote_use_agent)
318 (remote_can_use_agent, remote_supports_btrace): Use
320 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
321 Use packet_config_support.
322 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
323 the packet config says the feature is enabled or disabled.
324 (set_range_stepping): Use packet_support.
326 2014-04-25 Tom Tromey <tromey@redhat.com>
328 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
331 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
333 * NEWS: Mention support for C99 variable length arrays.
335 2014-04-24 Joel Brobecker <brobecker@adacore.com>
337 * ada-lang.c (standard_exc): Expand introductory comment.
339 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
340 Walfred Tedeschi <walfred.tedeschi@intel.com>
342 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
344 (amd64_linux_read_description): Add code to handle AVX512 xstate
345 mask and return respective tdesc.
346 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
347 and features/i386/x32-avx512-linux.c.
348 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
349 (amd64_linux_core_read_description): Add code to handle AVX512
350 xstate mask and return respective tdesc.
351 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
352 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
354 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
355 (tdesc_amd64_avx512_linux): New prototype.
356 (tdesc_x32_avx512_linux): Likewise.
357 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
358 features/i386/x32-avx512.c.
359 (amd64_ymm_avx512_names): New register names for pseudo
361 (amd64_ymmh_avx512_names): New register names for raw registers
363 (amd64_k_names): New register names for K registers.
364 (amd64_zmmh_names): New register names for ZMM raw registers.
365 (amd64_zmm_names): New registers names for ZMM pseudo registers.
366 (amd64_xmm_avx512_names): New register names for XMM16-31
368 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
370 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
371 if feature is present.
372 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
373 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
374 (AMD64_NUM_REGS): Adjust to new number of registers.
375 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
376 registers supplied via XSTATE by AVX512 registers.
377 (i386_linux_read_description): Add case for AVX512.
378 * i386-linux-tdep.c: Include i386-avx512-linux.c.
379 (i386_linux_gregset_reg_offset): Add AVX512 registers.
380 (i386_linux_core_read_description): Add case for AVX512.
381 (i386_linux_init_abi): Install supported register note section
383 (_initialize_i386_linux_tdep): Add call to tdesc init function for
385 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
386 registers to be number of zmm7h + 1.
387 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
388 * i386-tdep.c: Include features/i386/i386-avx512.c.
389 (i386_zmm_names): Add ZMM pseudo register names array.
390 (i386_zmmh_names): Add ZMM raw register names array.
391 (i386_k_names): Add K raw register names array.
392 (num_lower_zmm_regs): Add constant for the number of lower ZMM
393 registers. AVX512 has 16 more ZMM registers than there are YMM
395 (i386_zmmh_regnum_p): Add function to look up register number of
397 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
398 (i386_k_regnum_p): Likewise for K raw registers.
399 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
400 registers added by AVX512.
401 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
402 registers added by AVX512.
403 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
405 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
406 (i386_pseudo_register_name): Add ZMM pseudo registers.
407 (i386_zmm_type): Construct and return vector registers type for ZMM
409 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
410 ZMM0-31 pseudo registers and K registers.
411 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
412 and YMM16-31 registers from register cache.
413 (i386_pseudo_register_write): Add code to write K, ZMM and
415 (i386_register_reggroup_p): Add code to include/exclude AVX512
416 registers in/from respective register groups.
417 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
418 registers if feature is present in xcr0.
419 (i386_gdbarch_init): Add code to initialize AVX512 feature
420 variables in tdep structure, wire in pseudo registers and call
421 initialize_tdesc_i386_avx512.
422 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
424 (i386_regnum): Add AVX512 registers.
425 (I386_SSE_NUM_REGS): New define for number of SSE registers.
426 (I386_AVX_NUM_REGS): Likewise for AVX registers.
427 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
428 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
430 (i386_xmm_avx512_regnum_p): New prototype for register look up.
431 (i386_ymm_avx512_regnum_p): Likewise.
432 (i386_k_regnum_p): Likewise.
433 (i386_zmm_regnum_p): Likewise.
434 (i386_zmmh_regnum_p): Likewise.
435 * i387-tdep.c : Update year in copyright notice.
436 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
438 (XSAVE_YMM_AVX512_ADDR): New macro.
439 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
441 (XSAVE_XMM_AVX512_ADDR): New macro.
442 (xsave_avx512_k_offset): New table for K register offsets in
444 (XSAVE_AVX512_K_ADDR): New macro.
445 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
447 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
448 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
450 (i387_collect_xsave): Add code to collect AVX512 registers from
452 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
453 of XMM16-31 registers.
454 (I387_NUM_K_REGS): New define for number of K registers.
455 (I387_K0_REGNUM): New define for K0 register number.
456 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
457 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
458 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
460 (I387_YMM16H_REGNUM): New define for YMM16H register number.
461 (I387_XMM16_REGNUM): New define for XMM16 register number.
462 (I387_YMM0_REGNUM): New define for YMM0 register number.
463 (I387_KEND_REGNUM): New define for last K register number.
464 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
465 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
467 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
469 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
471 * features/Makefile: Add AVX512 related files.
472 * features/i386/32bit-avx512.xml: New file.
473 * features/i386/64bit-avx512.xml: Likewise.
474 * features/i386/amd64-avx512-linux.c: Likewise.
475 * features/i386/amd64-avx512-linux.xml: Likewise.
476 * features/i386/amd64-avx512.c: Likewise.
477 * features/i386/amd64-avx512.xml: Likewise.
478 * features/i386/i386-avx512-linux.c: Likewise.
479 * features/i386/i386-avx512-linux.xml: Likewise.
480 * features/i386/i386-avx512.c: Likewise.
481 * features/i386/i386-avx512.xml: Likewise.
482 * features/i386/x32-avx512-linux.c: Likewise.
483 * features/i386/x32-avx512-linux.xml: Likewise.
484 * features/i386/x32-avx512.c: Likewise.
485 * features/i386/x32-avx512.xml: Likewise.
486 * regformats/i386/amd64-avx512-linux.dat: New file.
487 * regformats/i386/amd64-avx512.dat: Likewise.
488 * regformats/i386/i386-avx512-linux.dat: Likewise.
489 * regformats/i386/i386-avx512.dat: Likewise.
490 * regformats/i386/x32-avx512-linux.dat: Likewise.
491 * regformats/i386/x32-avx512.dat: Likewise.
492 * NEWS: Add note about new support for AVX512.
495 2014-04-23 Pedro Alves <palves@redhat.com>
497 * breakpoint.c (insert_bp_location): Tolerate errors if the
498 breakpoint is set in a user-loaded objfile.
499 (remove_breakpoint_1): Likewise. Also tolerate errors if the
500 location is marked shlib_disabled. If the breakpoint is set in a
501 user-loaded objfile is a GDB-side memory breakpoint, validate it
502 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
503 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
505 * mem-break.c (memory_validate_breakpoint): New function.
506 * objfiles.c (userloaded_objfile_contains_address_p): New
508 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
509 * target.h (memory_validate_breakpoint): New declaration.
511 2014-04-23 Pedro Alves <palves@redhat.com>
513 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
514 the breakpoint is set in a shared library, only suppress
515 errors for software breakpoints, not hardware breakpoints.
517 2014-04-22 Pedro Alves <palves@redhat.com>
519 * infrun.c (schedlock_applies): New function, factored out from
520 find_thread_needs_step_over.
521 (find_thread_needs_step_over): Use it.
522 (switch_back_to_stepped_thread): Always clear trap_expected if the
523 step over is finished. Return early if scheduler locking applies.
524 Look for the stepping thread and a potential step-over thread with
526 (currently_stepping_or_nexting_callback): Delete.
528 2014-04-22 Nick Clifton <nickc@redhat.com>
530 * NEWS: Mention that ARM sim now supports tracing.
532 2014-04-22 Yao Qi <yao@codesourcery.com>
534 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
536 * tracefile.c (tracefile_fetch_registers): ... it. New
538 * tracefile.h (tracefile_fetch_registers): Declare.
539 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
540 tracefile_fetch_registers.
542 2014-04-19 Eli Zaretskii <eliz@gnu.org>
545 * windows-nat.c (thread_rec): Don't display a warning when
546 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
547 fails for any reason, set th->suspended to -1, so that we don't
548 try to resume such a thread. Also, don't return NULL in these
549 cases, to avoid completely ruin the session due to "PC register is
550 not available" error.
551 (do_windows_fetch_inferior_registers): Check errors in
552 GetThreadContext call.
553 (windows_continue): Accept an additional argument KILLED; if not
554 zero, ignore errors in the SetThreadContext call, since the
555 inferior was killed and is shutting down.
556 (windows_resume, get_windows_debug_event)
557 (windows_create_inferior, windows_mourn_inferior)
558 (windows_kill_inferior): All callers of windows_continue changed
559 to adjust to its new calling sequence.
561 2014-04-19 Yao Qi <yao@codesourcery.com>
563 * ctf.c (ctf_open): Call post_create_inferior.
565 2014-04-19 Yao Qi <yao@codesourcery.com>
567 * ctf.c (handle_id): New static variable.
568 (ctf_open_dir): Get handle_id from bt_context_add_trace return
569 value. Get the declaration of event "register" and get length
572 2014-04-19 Yao Qi <yao@codesourcery.com>
574 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
576 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
578 * valops.c (oload_method_static): Remove unnecessary argument
579 METHOD. Update all callers.
581 2014-04-18 Pedro alves <palves@redhat.com>
582 Tom Tromey <tromey@redhat.com>
585 * frame.c (get_prev_frame_1): Rename to ...
586 (get_prev_frame_always): ... this, and make extern. Adjust.
587 (skip_artificial_frames): Use get_prev_frame_always.
588 (frame_unwind_caller_id, frame_pop, get_prev_frame)
589 (get_frame_unwind_stop_reason): Adjust to rename.
590 * frame.h (get_prev_frame_always): Declare.
591 * inline-frame.c: Include frame.h.
592 (inline_frame_this_id): Use get_prev_frame_always.
594 2014-04-18 Tristan Gingold <gingold@adacore.com>
596 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
597 code by using bfd_mach_o_get_base_address.
599 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
601 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
602 (spu_ax_pseudo_register_collect): New function.
603 (spu_ax_pseudo_register_push_stack): Likewise.
604 (spu_dwarf_reg_to_regnum): Likewise.
605 (spu_gdbarch_init): Install them. Append DWARF unwinders.
607 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
609 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
610 Replace FRAME argument with FRAME_ID.
611 * gdbarch.c, gdbarch.h: Regenerate.
612 * findvar.c (default_value_from_register): Add GDBARCH argument;
613 replace FRAME by FRAME_ID. No longer call get_frame_id.
614 (value_from_register): Update call to gdbarch_value_from_register.
615 * value.h (default_value_from_register): Update prototype.
616 * s390-linux-tdep.c (s390_value_from_register): Update interface
617 and call to default_value_from_register.
618 * spu-tdep.c (spu_value_from_register): Likewise.
620 * findvar.c (address_from_register): Remove TYPE argument.
621 Do not call value_from_register; use gdbarch_value_from_register
622 with null_frame_id instead.
623 * value.h (address_from_register): Update prototype.
624 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
625 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
626 address_from_register interface change.
628 2014-04-17 Yao Qi <yao@codesourcery.com>
630 * gdbtypes.h: Update comments to link to types and macros'
633 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
635 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
637 2014-04-16 Keith Seitz <keiths@redhat.com>
640 * dwarf2read.c (skip_one_die): Check that all relative-offset
641 sibling DIEs fall within range of the current reader's buffer.
642 (read_partial_die): Likewise.
644 2014-04-16 Keith Seitz <keiths@redhat.com>
647 * cp-namespace.c (lookup_symbol_file): If the type name of
648 `this' is NULL, return immediately.
650 2014-04-14 Keith Seitz <keiths@redhat.com>
653 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
654 from symbol_matches_domain in symtab.c. All local callers
655 of symbol_matches_domain updated.
656 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
657 search STRUCT_DOMAIN.
658 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
659 independently. standard_lookup will do that automatically.
660 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
661 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
662 (cp_lookup_symbol_in_namespace): Likewise.
663 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
664 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
665 may return a STRUCT_DOMAIN match.
666 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
667 * cp-support.c: Include language.h.
668 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
670 * psymtab.c (match_partial_symbol): Compare the requested
671 domain with the symbol's domain directly.
672 (lookup_partial_symbol): Likewise.
673 * symtab.c (lookup_symbol_in_language): Explain when/why
674 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
675 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
676 appropriate languages.
677 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
678 and moved to ada-lang.c
679 (lookup_block_symbol): Explain that this function only returns
680 symbol matching the requested DOMAIN.
681 Compare the requested domain with the symbol's domain directly.
682 (iterate_over_symbols): Compare the requested domain with the
683 symbol's domain directly.
684 * symtab.h (symbol_matches_domain): Remove.
686 2014-04-14 Tom Tromey <tromey@redhat.com>
689 * c-exp.y (type_aggregate_p): New function.
690 (qualified_name, classify_inner_name): Use it.
691 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
692 and TYPE_TARGET_TYPE of an enum type.
693 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
695 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
696 handle TYPE_DECLARED_CLASS.
697 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
699 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
700 * valops.c (enum_constant_from_type): New function.
701 (value_aggregate_elt): Use it.
702 * cp-namespace.c (cp_lookup_nested_symbol): Handle
705 2014-04-14 Tom Tromey <tromey@redhat.com>
707 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
708 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
710 * value.h (value_aggregate_elt): Update.
712 2014-04-14 Tom Tromey <tromey@redhat.com>
714 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
716 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
718 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
719 (evaluate_subexp_standard): Pass noside argument.
720 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
721 if noside equals EVAL_NORMAL. If the subscript yields a vla type
722 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
723 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
724 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
726 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
728 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
729 points to a constant blob.
731 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
733 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
734 property and store it as the high bound and flag the range accordingly.
735 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
736 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
737 * gdbtypes.h (enum range_flags): New enum.
738 (struct range_bounds): Add flags member.
740 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
742 * c-typeprint.c (c_type_print_varspec_suffix): Added
743 check for not yet resolved high bound. If unresolved, print
744 "variable length" string to the console instead of random
747 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
749 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
751 (ada_template_to_fixed_record_type_1): Likewise.
752 (ada_to_fixed_type_1): Likewise.
753 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
754 (cp_print_value): Likewise.
755 * d-valprint.c (dynamic_array_type): Likewise.
756 * findvar.c (address_of_variable): Likewise.
757 * jv-valprint.c (java_value_print): Likewise.
758 * valops.c (value_ind): Likewise.
759 * value.c (coerce_ref): Likewise.
761 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
763 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
764 value and retrieve the dynamic type size.
766 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
768 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
769 passed to sizeof is dynamic evaluate the argument to compute the length.
771 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
772 Joel Brobecker <brobecker@adacore.com>
774 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
775 (dwarf2_evaluate_property): New function.
776 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
777 * dwarf2read.c (attr_to_dynamic_prop): New function.
778 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
780 * gdbtypes.c: Include dwarf2loc.h.
781 (is_dynamic_type): New function.
782 (resolve_dynamic_type): New function.
783 (resolve_dynamic_bounds): New function.
784 (get_type_length): New function.
785 (check_typedef): Use get_type_length to compute type length.
786 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
787 (TYPE_LOW_BOUND_KIND): New macro.
788 (is_dynamic_type): New function prototype.
789 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
790 to resolve dynamic properties of the type. Update comment.
791 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
793 2014-04-14 Richard Henderson <rth@redhat.com>
795 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
797 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
798 Doug Evans <xdje42@gmail.com>
800 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
801 dereference TYPE_CODE_REF values.
803 2014-04-11 Joel Brobecker <brobecker@adacore.com>
805 Revert the following changes due to regressions:
807 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
808 (dwarf2_evaluate_property): New function.
809 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
810 * dwarf2read.c (attr_to_dynamic_prop): New function.
811 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
813 * gdbtypes.c: Include dwarf2loc.h.
814 (is_dynamic_type): New function.
815 (resolve_dynamic_type): New function.
816 (resolve_dynamic_bounds): New function.
817 (get_type_length): New function.
818 (check_typedef): Use get_type_length to compute type length.
819 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
820 (TYPE_LOW_BOUND_KIND): New macro.
821 (is_dynamic_type): New function prototype.
822 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
823 to resolve dynamic properties of the type. Update comment.
824 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
826 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
827 passed to sizeof is dynamic evaluate the argument to compute the length.
829 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
830 value and retrieve the dynamic type size.
832 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
833 (ada_template_to_fixed_record_type_1): Likewise.
834 (ada_to_fixed_type_1): Likewise.
835 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
836 (cp_print_value): Likewise.
837 * d-valprint.c (dynamic_array_type): Likewise.
838 * eval.c (evaluate_subexp_with_coercion): Likewise.
839 * findvar.c (address_of_variable): Likewise.
840 * jv-valprint.c (java_value_print): Likewise.
841 * valops.c (value_ind): Likewise.
842 * value.c (coerce_ref): Likewise.
844 * c-typeprint.c (c_type_print_varspec_suffix): Added
845 check for not yet resolved high bound. If unresolved, print
846 "variable length" string to the console instead of random
849 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
850 property and store it as the high bound and flag the range accordingly.
851 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
852 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
853 * gdbtypes.h (enum range_flags): New enum.
854 (struct range_bounds): Add flags member.
856 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
857 points to a constant blob.
859 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
860 (evaluate_subexp_standard): Pass noside argument.
861 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
862 if noside equals EVAL_NORMAL. If the subscript yields a vla type
863 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
864 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
865 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
867 2014-04-11 Keith Seitz <keiths@redhat.com>
870 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
871 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
874 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
876 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
877 (evaluate_subexp_standard): Pass noside argument.
878 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
879 if noside equals EVAL_NORMAL. If the subscript yields a vla type
880 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
881 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
882 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
884 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
886 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
887 points to a constant blob.
889 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
891 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
892 property and store it as the high bound and flag the range accordingly.
893 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
894 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
895 * gdbtypes.h (enum range_flags): New enum.
896 (struct range_bounds): Add flags member.
898 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
900 * c-typeprint.c (c_type_print_varspec_suffix): Added
901 check for not yet resolved high bound. If unresolved, print
902 "variable length" string to the console instead of random
905 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
907 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
908 (ada_template_to_fixed_record_type_1): Likewise.
909 (ada_to_fixed_type_1): Likewise.
910 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
911 (cp_print_value): Likewise.
912 * d-valprint.c (dynamic_array_type): Likewise.
913 * eval.c (evaluate_subexp_with_coercion): Likewise.
914 * findvar.c (address_of_variable): Likewise.
915 * jv-valprint.c (java_value_print): Likewise.
916 * valops.c (value_ind): Likewise.
917 * value.c (coerce_ref): Likewise.
919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
921 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
922 value and retrieve the dynamic type size.
924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
926 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
927 passed to sizeof is dynamic evaluate the argument to compute the length.
929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
931 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
932 (dwarf2_evaluate_property): New function.
933 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
934 * dwarf2read.c (attr_to_dynamic_prop): New function.
935 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
937 * gdbtypes.c: Include dwarf2loc.h.
938 (is_dynamic_type): New function.
939 (resolve_dynamic_type): New function.
940 (resolve_dynamic_bounds): New function.
941 (get_type_length): New function.
942 (check_typedef): Use get_type_length to compute type length.
943 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
944 (TYPE_LOW_BOUND_KIND): New macro.
945 (is_dynamic_type): New function prototype.
946 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
947 to resolve dynamic properties of the type. Update comment.
948 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
950 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
952 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
953 declaring high/low bounds and change uses accordingly. Call
954 create_range_type instead of create_static_range_type.
955 * gdbtypes.c (create_range_type): New function.
956 (create_range_type): Convert bounds into struct bound_prop and pass
957 them to create_range_type.
958 * gdbtypes.h (struct bound_prop): New struct.
959 (create_range_type): New function prototype.
960 (struct range_bounds): Use struct bound_prop instead of LONGEST for
961 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
962 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
964 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
966 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
968 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
969 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
970 * ada-lang.c: All uses of create_range_type updated.
971 * coffread.c: All uses of create_range_type updated.
972 * dwarf2read.c: All uses of create_range_type updated.
973 * f-exp.y: All uses of create_range_type updated.
974 * m2-valprint.c: All uses of create_range_type updated.
975 * mdebugread.c: All uses of create_range_type updated.
976 * stabsread.c: All uses of create_range_type updated.
977 * valops.c: All uses of create_range_type updated.
978 * valprint.c: All uses of create_range_type updated.
980 2014-04-10 Pedro Alves <palves@redhat.com>
982 * breakpoint.c (single_step_breakpoints)
983 (single_step_gdbarch): Move up in the file.
984 (one_breakpoint_xfer_memory): New function, factored out from ...
985 (breakpoint_xfer_memory): ... here. Also process single-step
988 2014-04-09 Tristan Gingold <gingold@adacore.com>
990 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
992 (darwin_decode_exception_message): Free port only after use.
994 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
996 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
997 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
998 when setting the size of call_length.
1000 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1002 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
1003 dereference TYPE_CODE_REF values.
1005 2014-04-07 Joel Brobecker <brobecker@adacore.com>
1007 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
1008 end of warning message.
1010 2014-04-03 Doug Evans <dje@google.com>
1012 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
1013 of stub_comp_unit_die, stub_comp_dir is non-NULL.
1015 2014-04-02 Alan Modra <amodra@gmail.com>
1017 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
1018 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
1019 (struct symbol_file_add_from_memory_args): Add size field.
1020 (find_vdso_size): New function.
1021 (add_vsyscall_page): Attempt to find vdso size.
1023 2014-04-01 Doug Evans <dje@google.com>
1025 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
1027 2014-04-01 Tristan Gingold <gingold@adacore.com>
1029 * darwin-nat.c (darwin_encode_reply): Add prototype.
1030 (darwin_decode_exception_message): Reply to unknown inferiors.
1031 (darwin_decode_message): Handle message by id. Ignore message
1032 to unknown inferior.
1033 (darwin_wait): Discard unknown messages, add debug trace.
1035 2014-03-31 Doug Evans <dje@google.com>
1037 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
1040 2014-03-31 Doug Evans <dje@google.com>
1042 New option "set print symbol-loading".
1044 * solib.c (solib_read_symbols): Only print symbol loading messages
1046 (solib_add): If symbol loading is in "brief" mode, notify user
1047 symbols are being loaded.
1048 (reload_shared_libraries_1): Ditto.
1049 * symfile.c (print_symbol_loading_off): New static global.
1050 (print_symbol_loading_brief): New static global.
1051 (print_symbol_loading_full): New static global.
1052 (print_symbol_loading_enums): New static global.
1053 (print_symbol_loading): New static global.
1054 (print_symbol_loading_p): New function.
1055 (symbol_file_add_with_addrs): Only print symbol loading messages
1057 (_initialize_symfile): Register "print symbol-loading" set/show
1059 * symfile.h (print_symbol_loading_p): Declare.
1061 2014-03-30 Doug Evans <xdje42@gmail.com>
1063 * infrun.c (set_last_target_status): New function.
1064 (handle_inferior_event): Call it.
1066 2014-03-30 Doug Evans <xdje42@gmail.com>
1068 * inferior.h (enum stop_kind): Improve comment.
1070 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1072 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
1073 a reference, strip the reference layer before calling
1074 the lang_ops value_has_mutated callback.
1076 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
1078 Remove some globals from our parser.
1079 * language.c (unk_lang_parser): Add "struct parser_state"
1081 * language.h (struct language_defn) <la_parser>: Likewise.
1082 * parse.c (expout, expout_size, expout_ptr): Remove variables.
1083 (initialize_expout): Add "struct parser_state" argument.
1084 Rewrite function to use the parser state.
1085 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
1086 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
1087 write_exp_elt_longcst, write_exp_elt_dblcst,
1088 write_exp_elt_decfloatcst, write_exp_elt_type,
1089 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1090 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
1091 write_dollar_variable): Likewise.
1092 (parse_exp_in_context_1): Use parser state.
1093 (insert_type_address_space): Add "struct parser_state" argument.
1095 (increase_expout_size): New function.
1096 * parser-defs.h: Forward declare "struct language_defn" and
1097 "struct parser_state".
1098 (expout, expout_size, expout_ptr): Remove extern declarations.
1099 (parse_gdbarch, parse_language): Rewrite macro declarations to
1100 accept the parser state.
1101 (struct parser_state): New struct.
1102 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
1103 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
1104 write_exp_elt_decfloatcst, write_exp_elt_type,
1105 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1106 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
1107 write_exp_msymbol, write_dollar_variable,
1108 mark_struct_expression, insert_type_address_space): Add "struct
1109 parser_state" argument.
1110 (increase_expout_size): New function.
1111 * utils.c (do_clear_parser_state): New function.
1112 (make_cleanup_clear_parser_state): Likewise.
1113 * utils.h (make_cleanup_clear_parser_state): New function
1115 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
1116 Update calls to write_exp* in order to pass the parser state.
1117 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
1118 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
1119 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1120 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
1121 * stap-probe.c (stap_parse_register_operand): Likewise.
1122 (stap_parse_single_operand): Likewise.
1123 (stap_parse_argument_1): Likewise.
1124 (stap_parse_argument): Use parser state.
1125 * stap-probe.h: Include "parser-defs.h".
1126 (struct stap_parse_info) <pstate>: New field.
1127 * c-exp.y (parse_type): Rewrite to use parser state.
1128 (yyparse): Redefine to c_parse_internal.
1129 (pstate): New global variable.
1130 (parse_number): Add "struct parser_state" argument.
1131 (write_destructor_name): Likewise.
1132 (type_exp): Update calls to write_exp* and similars in order to
1134 (exp1, exp, variable, qualified_name, space_identifier,
1135 typename, typebase): Likewise.
1136 (write_destructor_name, parse_number, lex_one_token,
1137 classify_name, classify_inner_name, c_parse): Add "struct
1138 parser_state" argument. Update function to use parser state.
1139 * c-lang.h: Forward declare "struct parser_state".
1140 (c_parse): Add "struct parser_state" argument.
1141 * ada-exp.y (parse_type): Rewrite macro to use parser state.
1142 (yyparse): Redefine macro to ada_parse_internal.
1143 (pstate): New variable.
1144 (write_int, write_object_renaming, write_var_or_type,
1145 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
1146 type_int, type_long, type_long_long, type_float, type_double,
1147 type_long_double, type_char, type_boolean, type_system_address):
1148 Add "struct parser_state" argument.
1149 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
1150 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
1151 var_or_type, aggregate, aggregate_component_list,
1152 positional_list, others, component_group,
1153 component_associations): Update calls to write_exp* and similar
1154 functions in order to use parser state.
1155 (ada_parse, write_var_from_sym, write_int,
1156 write_exp_op_with_string, write_object_renaming,
1157 find_primitive_type, write_selectors, write_ambiguous_var,
1158 write_var_or_type, write_name_assoc, type_int, type_long,
1159 type_long_long, type_float, type_double, type_long_double,
1160 type_char, type_boolean, type_system_address): Add "struct
1161 parser_state" argument. Adjust function to use parser state.
1162 * ada-lang.c (parse): Likewise.
1163 * ada-lang.h: Forward declare "struct parser_state".
1164 (ada_parse): Add "struct parser_state" argument.
1165 * ada-lex.l (processInt, processReal): Likewise. Adjust all
1166 calls to both functions.
1167 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
1169 (yyparse): Redefine macro to f_parse_internal.
1170 (pstate): New variable.
1171 (parse_number): Add "struct parser_state" argument.
1172 (type_exp, exp, subrange, typebase): Update calls to write_exp*
1173 and similars in order to use parser state.
1174 (parse_number): Adjust code to use parser state.
1176 (f_parse): New function.
1177 * f-lang.h: Forward declare "struct parser_state".
1178 (f_parse): Add "struct parser_state" argument.
1179 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
1181 (yyparse): Redefine macro for java_parse_internal.
1182 (pstate): New variable.
1183 (push_expression_name, push_expression_name, insert_exp): Add
1184 "struct parser_state" argument.
1185 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
1186 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
1187 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
1188 PostIncrementExpression, PostDecrementExpression,
1189 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
1190 UnaryExpressionNotPlusMinus, CastExpression,
1191 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
1192 RelationalExpression, EqualityExpression, AndExpression,
1193 ExclusiveOrExpression, InclusiveOrExpression,
1194 ConditionalAndExpression, ConditionalOrExpression,
1195 ConditionalExpression, Assignment, LeftHandSide): Update
1196 calls to write_exp* and similars in order to use parser state.
1197 (parse_number): Ajust code to use parser state.
1199 (java_parse): New function.
1200 (push_variable): Add "struct parser_state" argument. Adjust
1201 code to user parser state.
1202 (push_fieldnames, push_qualified_expression_name,
1203 push_expression_name, insert_exp): Likewise.
1204 * jv-lang.h: Forward declare "struct parser_state".
1205 (java_parse): Add "struct parser_state" argument.
1206 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
1208 (yyparse): Redefine macro to m2_parse_internal.
1209 (pstate): New variable.
1210 (type_exp, exp, fblock, variable, type): Update calls to
1211 write_exp* and similars to use parser state.
1213 (m2_parse): New function.
1214 * m2-lang.h: Forward declare "struct parser_state".
1215 (m2_parse): Add "struct parser_state" argument.
1216 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
1217 * objc-lang.h: Forward declare "struct parser_state".
1218 (end_msglist): Add "struct parser_state" argument.
1219 * p-exp.y (parse_type): Rewrite macro to use parser state.
1220 (yyparse): Redefine macro to pascal_parse_internal.
1221 (pstate): New variable.
1222 (parse_number): Add "struct parser_state" argument.
1223 (type_exp, exp1, exp, qualified_name, variable): Update calls to
1224 write_exp* and similars in order to use parser state.
1225 (parse_number, yylex): Adjust code to use parser state.
1226 (pascal_parse): New function.
1227 * p-lang.h: Forward declare "struct parser_state".
1228 (pascal_parse): Add "struct parser_state" argument.
1229 * go-exp.y (parse_type): Rewrite macro to use parser state.
1230 (yyparse): Redefine macro to go_parse_internal.
1231 (pstate): New variable.
1232 (parse_number): Add "struct parser_state" argument.
1233 (type_exp, exp1, exp, variable, type): Update calls to
1234 write_exp* and similars in order to use parser state.
1235 (parse_number, lex_one_token, classify_name, yylex): Adjust code
1236 to use parser state.
1237 (go_parse): Likewise.
1238 * go-lang.h: Forward declare "struct parser_state".
1239 (go_parse): Add "struct parser_state" argument.
1241 2014-03-27 Doug Evans <dje@google.com>
1243 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
1245 2014-03-27 Doug Evans <dje@google.com>
1247 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
1248 Remove argument abbrev_section. All callers updated.
1250 2014-03-27 Doug Evans <dje@google.com>
1252 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
1253 addr_base, ranges_base.
1255 2014-03-26 Keith Seitz <keiths@redhat.com>
1257 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
1258 types, not VAR_DOMAIN.
1260 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
1262 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
1264 * features/nios2-linux.c: Regenerated.
1265 * features/nios2.c: Regenerated.
1267 2014-03-25 Pedro Alves <palves@redhat.com>
1269 * cli/cli-script.c (script_from_file): Force the interpreter to
1272 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1274 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
1275 small stack allocation.
1277 2014-03-24 Tristan Gingold <gingold@adacore.com>
1279 * darwin-nat.c (exc_server): Remove unused prototype.
1280 (darwin_dump_message): Correctly display data on x86_64.
1281 (darwin_encode_reply): Fix style.
1282 Add comments and fix indentation.
1284 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
1286 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
1288 2014-03-22 Doug Evans <xdje42@gmail.com>
1290 * infcmd.c: Whitespace fixes.
1291 (interrupt_command): Merge two function comments into one.
1293 2014-03-22 Doug Evans <xdje42@gmail.com>
1295 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
1298 2014-03-22 Yao Qi <yao@codesourcery.com>
1300 * remote.c (target_read_live_memory): Remove.
1301 (memory_xfer_live_readonly_partial): Rename it to
1302 remote_xfer_live_readonly_partial. Remove argument 'object'.
1303 All callers updated. Call remote_read_bytes_1
1304 instead of target_read_live_memory.
1305 * tracepoint.c (set_traceframe_number): Remove.
1306 (make_cleanup_restore_traceframe_number): Likewise .
1307 * tracepoint.h (set_traceframe_number): Remove declaration.
1308 (make_cleanup_restore_traceframe_number): Likewise.
1310 2014-03-22 Yao Qi <yao@codesourcery.com>
1312 * remote.c (remote_read_bytes): Move code on reading from the
1314 (remote_read_bytes_1): ... here. New function.
1316 2014-03-22 Yao Qi <yao@codesourcery.com>
1318 * ctf.c (ctf_xfer_partial): Check the return value of
1319 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
1320 return TARGET_XFER_UNAVAILABLE.
1321 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1322 * target.c (target_read_live_memory): Move it to remote.c.
1323 (memory_xfer_live_readonly_partial): Likewise.
1324 (memory_xfer_partial_1): Move some code to remote_read_bytes.
1325 * remote.c (target_read_live_memory): Moved from target.c.
1326 (memory_xfer_live_readonly_partial): Likewise.
1327 (remote_read_bytes): Factored out from
1328 memory_xfer_partial_1.
1330 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
1332 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
1335 2014-03-21 Pedro Alves <palves@redhat.com>
1337 * infrun.c (normal_stop): Extend comment.
1339 2014-03-21 Hui Zhu <hui@codesourcery.com>
1340 Pedro Alves <palves@redhat.com>
1342 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
1344 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1345 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1346 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1348 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
1350 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
1351 `z' formatted output modifier.
1353 2014-03-20 Tom Tromey <tromey@redhat.com>
1354 Sergio Durigan Junior <sergiodj@redhat.com>
1356 * probe.c (parse_probes): Turn assert into an ordinary error.
1357 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
1358 exceptions when parsing probes. Rearrange the code for clarity.
1360 2014-03-20 Tom Tromey <tromey@redhat.com>
1363 * top.c (execute_command): Only dispatch events if the command
1366 2014-03-20 Tom Tromey <tromey@redhat.com>
1369 * infcall.c: Include event-top.h.
1370 (run_inferior_call): Call async_disable_stdin if needed.
1372 2014-03-20 Pedro Alves <palves@redhat.com>
1374 * infrun.c (prepare_to_proceed): Delete.
1375 (thread_still_needs_step_over): New function.
1376 (find_thread_needs_step_over): New function.
1377 (proceed): If the current thread needs a step-over, set its
1378 steping_over_breakpoint flag. Adjust to use
1379 find_thread_needs_step_over instead of prepare_to_proceed.
1380 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
1381 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
1383 (switch_back_to_stepped_thread): Step over breakpoints of all
1384 threads not the stepping thread, before switching back to the
1387 2014-03-20 Pedro Alves <palves@redhat.com>
1389 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
1391 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
1392 * infrun.c (saved_singlestep_ptid)
1393 (stepping_past_singlestep_breakpoint): Delete.
1394 (resume): Remove stepping_past_singlestep_breakpoint handling.
1395 (proceed): Store the prev_pc of the stepping thread too.
1396 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
1398 (enum infwait_states): Delete infwait_thread_hop_state.
1399 (struct execution_control_state) <hit_singlestep_breakpoint>: New
1401 (handle_inferior_event): Adjust.
1402 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
1403 handling and the thread-hop code. Before removing single-step
1404 breakpoints, check whether the thread hit a single-step breakpoint
1405 of another thread. If it did, the trap is not a random signal.
1406 (switch_back_to_stepped_thread): If the event thread hit a
1407 single-step breakpoint, unblock it before switching to the
1408 stepping thread. Handle the case of the stepped thread having
1410 (keep_going): Handle the case of the current thread moving past a
1411 single-step breakpoint.
1413 2014-03-20 Pedro Alves <palves@redhat.com>
1416 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
1417 are being stepped over.
1418 (breakpoint_address_match): Make extern.
1419 * breakpoint.h (breakpoint_address_match): New declaration.
1420 * inferior.h (stepping_past_instruction_at): New declaration.
1421 * infrun.c (struct step_over_info): New type.
1422 (step_over_info): New global.
1423 (set_step_over_info, clear_step_over_info)
1424 (stepping_past_instruction_at): New functions.
1425 (handle_inferior_event): Clear the step-over info when
1426 trap_expected is cleared.
1427 (resume): Remove now stale comment.
1428 (clear_proceed_status): Clear step-over info.
1429 (proceed): Adjust step-over handling to set or clear the step-over
1430 info instead of removing all breakpoints.
1431 (handle_signal_stop): When setting up a thread-hop, don't remove
1433 (stop_stepping): Clear step-over info.
1434 (keep_going): Adjust step-over handling to set or clear step-over
1435 info and then always inserting breakpoints, instead of removing
1436 all breakpoints when stepping over one.
1438 2014-03-20 Pedro Alves <palves@redhat.com>
1440 * infrun.c (previous_inferior_ptid): Adjust comment.
1441 (deferred_step_ptid): Delete.
1442 (infrun_thread_ptid_changed, prepare_to_proceed)
1443 (init_wait_for_inferior): Adjust.
1444 (handle_signal_stop): Delete deferred_step_ptid handling.
1446 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1449 * defs.h (sync_quit_force_run): New declaration.
1450 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
1451 * event-top.c (async_sigterm_handler): New declaration.
1452 (async_sigterm_token): New variable.
1453 (async_init_signals): Create also async_sigterm_token.
1454 (async_sigterm_handler): New function.
1455 (sync_quit_force_run): New variable.
1456 (handle_sigterm): Replace quit_force call by other calls.
1457 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
1459 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
1461 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
1462 offset into SPE pseudo registers.
1464 2014-03-18 Pedro Alves <palves@redhat.com>
1467 * inferior.h (print_stop_event): Declare.
1468 * infrun.c (print_stop_event): New, factored out from ...
1469 (normal_stop): ... this.
1470 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
1471 of bpstat_print/print_stack_frame.
1473 2014-03-17 Tom Tromey <tromey@redhat.com>
1475 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
1477 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
1479 * ada-lang.c (decode_constrained_packed_array): Perform a
1480 minimal coercion for reference with coerce_ref instead of
1483 2014-03-17 Tristan Gingold <gingold@adacore.com>
1485 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
1486 (darwin_solib_create_inferior_hook): Emit a warning if version
1489 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
1491 * python/py-value.c (get_field_flag): Cast flag_name argument to
1492 PyObject_GetAttrString to support Python 2.4.
1494 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1496 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
1497 (Global Maintainers): Remove Jan Kratochvil.
1499 2014-03-14 Pedro Alves <palves@redhat.com>
1501 * inferior.h (terminal_ours_for_output): Rename to ...
1502 (child_terminal_ours_for_output): ... this.
1503 (terminal_save_ours): Rename to ...
1504 (child_terminal_save_ours): ... this.
1505 (terminal_ours): Rename to ...
1506 (child_terminal_ours): ... this.
1507 (terminal_inferior): Rename to ...
1508 (child_terminal_inferior): ... this.
1509 (terminal_init_inferior): Rename to ...
1510 (child_terminal_init_inferior): ... this.
1511 (terminal_init_inferior_with_pgrp): Rename to ...
1512 (child_terminal_init_inferior_with_pgrp): ... this.
1513 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
1514 (child_terminal_init_with_pgrp): ... this.
1515 (terminal_save_ours): Rename to ...
1516 (child_terminal_save_ours): ... this.
1517 (terminal_init_inferior): Rename to ...
1518 (child_terminal_init): ... this. Adjust.
1519 (terminal_inferior): Rename to ...
1520 (child_terminal_inferior): ... this.
1521 (terminal_ours_for_output): Rename to ...
1522 (child_terminal_ours_for_output): ... this. Adjust.
1523 (terminal_ours): Rename to ...
1524 (child_terminal_ours): ... this.
1525 (terminal_ours_1): Rename to ...
1526 (child_terminal_ours_1): ... this. Adjust.
1527 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
1528 * windows-nat.c (do_initial_windows_stuff): Adjust.
1529 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
1530 (gnu_terminal_init): ... this. Adjust.
1531 (gnu_target): Adjust.
1532 * inf-child.c (inf_child_target): Adjust.
1534 2014-03-13 Doug Evans <xdje42@gmail.com>
1537 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
1540 2014-03-13 Doug Evans <xdje42@gmail.com>
1542 * value.c (record_latest_value): Call release_value_or_incref
1543 instead of release_value.
1545 2014-03-13 Pedro Alves <palves@redhat.com>
1547 * procfs.c (procfs_target): Don't override to_shortname,
1548 to_longname or to_doc.
1550 2014-03-13 Pedro Alves <palves@redhat.com>
1552 * inf-child.c (inf_child_open, inf_child_target): Don't mention
1553 Unix in user visible strings.
1555 2014-03-12 Stan Shebs <stan@codesourcery.com>
1557 * gdbtypes.h: Annotate comments for Doxygen, add a page
1558 block comment with some general info.
1560 2014-03-12 Pedro Alves <palves@redhat.com>
1562 * infcmd.c (prepare_execution_command): New function, factored out
1563 from several execution commands.
1564 (run_command_1, continue_command, step_1, jump_command)
1565 (signal_command, until_command, advance_command, finish_command)
1566 (attach_command): Use prepare_execution_command.
1568 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
1570 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
1573 (struct arm_linux_thread_points): Removed.
1574 (struct arm_linux_process_info): New.
1575 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
1576 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
1577 (arm_linux_find_breakpoints_by_tid): Removed.
1578 (struct arch_lwp_info): New.
1579 (arm_linux_find_process_pid): New functions.
1580 (arm_linux_add_process): New functions.
1581 (arm_linux_process_info_get): New functions.
1582 (arm_linux_forget_process): New function.
1583 (arm_linux_get_debug_reg_state): New function.
1584 (struct update_registers_data): New.
1585 (update_registers_callback): New function.
1586 (arm_linux_insert_hw_breakpoint1): Updated.
1587 (arm_linux_remove_hw_breakpoint1): Updated.
1588 (arm_linux_insert_hw_breakpoint): Updated.
1589 (arm_linux_remove_hw_breakpoint): Updated.
1590 (arm_linux_insert_watchpoint): Updated.
1591 (arm_linux_remove_watchpoint): Updated.
1592 (arm_linux_new_thread): Updated.
1593 (arm_linux_prepare_to_resume): New function.
1594 (arm_linux_new_fork): New function.
1595 (_initialize_arm_linux_nat): Updated.
1597 2014-03-12 Pedro Alves <palves@redhat.com>
1599 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
1601 2014-03-12 Tom Tromey <tromey@redhat.com>
1603 * inf-child.c (return_zero): New function.
1604 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
1605 * aix-thread.c (aix_thread_inferior_created): New function.
1606 (aix_thread_attach): Remove.
1607 (init_aix_thread_ops): Don't set to_attach.
1608 (_initialize_aix_thread): Register inferior_created observer.
1609 * corelow.c (init_core_ops): Don't set to_attach or
1611 * exec.c (init_exec_ops): Don't set to_attach or
1613 * infcmd.c (run_command_1): Use find_run_target. Make direct
1615 (attach_command): Use find_attach_target. Make direct target
1617 * record-btrace.c (init_record_btrace_ops): Don't set
1619 * record-full.c (record_full_can_async_p, record_full_is_async_p):
1621 (init_record_full_ops, init_record_full_core_ops): Update. Don't
1622 set to_create_inferior.
1623 * target.c (complete_target_initialization): Add assertion.
1624 (target_create_inferior): Remove.
1625 (find_default_attach, find_default_create_inferior): Remove.
1626 (find_attach_target, find_run_target): New functions.
1627 (find_default_is_async_p, find_default_can_async_p)
1628 (target_supports_non_stop, target_attach): Remove.
1629 (init_dummy_target): Don't set to_create_inferior or
1630 to_supports_non_stop.
1631 * target.h (struct target_ops) <to_attach>: Add comment. Remove
1632 TARGET_DEFAULT_FUNC.
1633 <to_create_inferior>: Add comment.
1634 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1635 TARGET_DEFAULT_RETURN.
1636 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1637 (find_attach_target, find_run_target): Declare.
1638 (target_create_inferior): Remove.
1639 (target_has_execution_1): Update comment.
1640 (target_supports_non_stop): Remove.
1641 * target-delegates.c: Rebuild.
1643 2014-03-12 Pedro Alves <palves@redhat.com>
1645 * inf-child.h: Update comment to not mention Unix.
1647 2014-03-12 Pedro Alves <palves@redhat.com>
1649 * inf-child.c: Update top comment to not mention Unix. Add
1650 generic comment describing how this target is meant to be used.
1651 (inf_child_post_attach, inf_child_post_startup_inferior)
1652 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1655 2014-03-12 Pedro Alves <palves@redhat.com>
1657 * nto-procfs.c: Include inf-child.h.
1658 (procfs_ops): Delete global.
1659 (procfs_can_run): Delete method.
1660 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1661 target pointer instead of referencing procfs_ops.
1662 (procfs_prepare_to_store): Delete.
1663 (init_procfs_ops): Delete function.
1664 (procfs_target): New function, based on init_procfs_ops, but
1665 inherit inf_child_target.
1666 (_initialize_procfs): Use procfs_target.
1668 2014-03-12 Pedro Alves <palves@redhat.com>
1670 * windows-nat.c: Include inf-child.h.
1671 (windows_ops): Delete global.
1672 (windows_open, windows_prepare_to_store, windows_can_run): Delete
1674 (init_windows_ops): Delete function.
1675 (windows_target): New function, based on init_windows_ops, but
1676 inherit inf_child_target.
1677 (_initialize_windows_nat): Use windows_target. Install x86
1678 specific target methods here.
1680 2014-03-10 Doug Evans <xdje42@gmail.com>
1682 * guile/guile.c (call_initialize_gdb_module): New function.
1683 (initialize_guile): Replace call to scm_init_guile with call to
1686 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1688 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1689 in call to TYPE_CODE macro.
1691 2014-03-10 Jerome Guitton <guitton@adacore.com>
1693 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1694 Resolve tagged types to full view.
1696 2014-03-10 Hui Zhu <hui@codesourcery.com>
1698 * target.h (target_insert_breakpoint): Remove "hardware" from its
1701 2014-03-07 Doug Evans <dje@google.com>
1703 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1705 2014-03-07 Doug Evans <dje@google.com>
1707 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1708 Remove unused local comp_dir_attr. Assert exactly one of
1709 stub_comp_unit_die, stub_comp_dir is non-NULL.
1711 2014-03-07 Joel Brobecker <brobecker@adacore.com>
1713 * target.h (complete_target_initialization, add_target):
1716 2014-03-07 Pedro Alves <palves@redhat.com>
1718 * go32-nat.c: Include inf-child.h.
1719 (go32_ops): Delete global.
1720 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1722 (go32_create_inferior): Push the passed in target pointer instead
1723 of referencing go32_ops.
1724 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
1725 (go32_target): New function, based on init_go32_ops, but inherit
1727 (_initialize_go32_nat): Use go32_target. Move parts of
1730 2014-03-06 Joel Brobecker <brobecker@adacore.com>
1732 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1733 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1734 SYMBOL_VALUE_ADDRESS.
1735 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1737 2014-03-06 Yao Qi <yao@codesourcery.com>
1739 * breakpoint.c (get_tracepoint_by_number): Remove argument
1740 optional_p. All callers updated. Adjust comments. Update
1742 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1744 2014-03-06 Yao Qi <yao@codesourcery.com>
1746 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1747 early if get_number returns zero. Use 'p' instead of 'args'.
1749 2014-03-06 Yao Qi <yao@codesourcery.com>
1751 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1754 2014-03-06 Yao Qi <yao@codesourcery.com>
1756 PR breakpoints/16508
1757 * tracepoint.c (check_trace_running): New function.
1758 (trace_find_command): Move code to check_trace_running and
1759 call check_trace_running.
1760 (trace_find_pc_command): Likewise.
1761 (trace_find_tracepoint_command): Likewise.
1762 (trace_find_line_command): Likewise.
1763 (trace_find_range_command): Likewise.
1764 * tracepoint.h (check_trace_running): Likewise.
1765 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1767 2014-03-06 Yao Qi <yao@codesourcery.com>
1769 * target.h (struct target_ops) <to_traceframe_info>: Use
1770 TARGET_DEFAULT_NORETURN (tcomplain ()).
1771 * target-delegates.c: Regenerated.
1773 2014-03-05 Pedro Alves <palves@redhat.com>
1776 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1777 void. Update comment.
1778 (dcache_xfer_memory): Delete.
1779 (dcache_read_memory_partial): New, based on the read bits of
1781 (dcache_update): Add status parameter. Use ULONGEST for len, and
1782 adjust. Discard cache lines if the reason for the update was
1784 * dcache.h (dcache_xfer_memory): Delete declaration.
1785 (dcache_read_memory_partial): New declaration.
1786 (dcache_update): Update prototype.
1787 * target.c (raw_memory_xfer_partial): Update the dcache here.
1788 (memory_xfer_partial_1): Don't handle dcache writes here.
1790 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1792 * remote-sim.c (gdbsim_load): Add const to prog.
1794 2014-03-03 Tom Tromey <tromey@redhat.com>
1796 * elfread.c (probe_key): Change to bfd_data.
1797 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1798 now per-BFD, not per-objfile.
1799 * stap-probe.c (stap_probe_destroy): Update comment.
1800 (handle_stap_probe): Allocate on the per-BFD obstack.
1802 2014-03-03 Tom Tromey <tromey@redhat.com>
1804 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1805 * breakpoint.c (create_longjmp_master_breakpoint): Use
1807 (add_location_to_breakpoint, bkpt_probe_insert_location)
1808 (bkpt_probe_remove_location): Update.
1809 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1810 * elfread.c (elf_symfile_relocate_probe): Remove.
1811 (elf_probe_fns): Update.
1812 (insert_exception_resume_breakpoint): Change type of "probe"
1813 parameter to bound_probe.
1814 (check_exception_resume): Update.
1815 * objfiles.c (objfile_relocate1): Don't relocate probes.
1816 * probe.c (bound_probe_s): New typedef.
1817 (parse_probes): Use get_probe_address. Set sal's objfile.
1818 (find_probe_by_pc): Return a bound_probe.
1819 (collect_probes): Return a VEC(bound_probe_s).
1820 (compare_probes): Update.
1821 (gen_ui_out_table_header_info): Change type of "probes"
1823 (info_probes_for_ops): Update.
1824 (get_probe_address): New function.
1825 (probe_safe_evaluate_at_pc): Update.
1826 * probe.h (struct probe_ops) <get_probe_address>: New field.
1827 <set_semaphore, clear_semaphore>: Add objfile parameter.
1828 (struct probe) <objfile>: Remove field.
1830 <address>: Update comment.
1831 (struct bound_probe): New.
1832 (find_probe_by_pc): Return a bound_probe.
1833 (get_probe_address): Declare.
1834 * solib-svr4.c (struct probe_and_action) <address>: New field.
1835 (hash_probe_and_action, equal_probe_and_action): Update.
1836 (register_solib_event_probe): Add address parameter.
1837 (solib_event_probe_at): Update.
1838 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1840 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1841 (stap_get_probe_address): New function.
1842 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1843 (compile_probe_arg): Update.
1844 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1846 (handle_stap_probe): Don't relocate the probe.
1847 (stap_relocate): Remove.
1848 (stap_gen_info_probes_table_values): Update.
1849 (stap_probe_ops): Remove stap_relocate.
1850 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1851 (debug_sym_probe_fns): Update.
1852 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1853 * symtab.c (init_sal): Use memset.
1854 * symtab.h (struct symtab_and_line) <objfile>: New field.
1855 * tracepoint.c (start_tracing, stop_tracing): Update.
1857 2014-03-03 Tom Tromey <tromey@redhat.com>
1859 * probe.h (parse_probes, find_probe_by_pc)
1860 (find_probes_in_objfile): Fix comments.
1862 2014-03-02 Doug Evans <xdje42@gmail.com>
1864 * infrun.c (handle_signal_stop): Replace test for
1865 TARGET_WAITKIND_STOPPED with an assert.
1867 2014-03-02 Doug Evans <xdje42@gmail.com>
1869 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1871 2014-03-02 Doug Evans <xdje42@gmail.com>
1873 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1875 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1877 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1879 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1881 * i386obsd-nat.c: Include "obsd-nat.h".
1882 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1884 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1886 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1888 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1890 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1892 * mips64obsd-nat.c: Include "obsd-nath".
1893 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1895 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1897 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1899 * amd64obsd-nat.c: Include "obsd-nat,h.
1900 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1902 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1904 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1906 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1907 (find_overload_match): Update call to find_oload_champ.
1908 (find_oload_champ_namespace_loop): Likewise
1910 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1912 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1914 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1915 * config/sparc/obsd64.mh: New file.
1916 * sparc64obsd-nat.c: New file.
1918 * obsd-nat.h: New file.
1919 * obsd-nat.c: New file.
1920 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1921 (ALLDEPFILES): Add obsd-nat.c.
1923 2014-02-28 Tom Tromey <tromey@redhat.com>
1925 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1926 * cli-out.h (cli_ui_out_impl): Now const.
1927 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1928 * ui-out.c (struct ui_out) <impl>: Now const.
1929 (default_ui_out_impl): Now const.
1930 (ui_out_new): Make 'impl' parameter const.
1931 * ui-out.h (ui_out_new): Update.
1933 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1935 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1937 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1939 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1941 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1943 Additional PR 8882 fix.
1944 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1946 2014-02-27 Pedro Alves <palves@redhat.com>
1948 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1951 2014-02-27 Pedro Alves <palves@redhat.com>
1954 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1955 * nat/linux-waitpid.c: Include string.h.
1956 (status_to_str): Moved here and made extern.
1957 * nat/linux-waitpid.h (status_to_str): New declaration.
1959 2014-02-27 Hui Zhu <hui@codesourcery.com>
1962 * infrun.c (ptid_match): Move ...
1963 * common/ptid.c (ptid_match): ... here.
1964 * inferior.h (ptid_match): Move ...
1965 * common/ptid.h (ptid_match): ... here.
1967 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1969 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1970 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1973 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1975 * obsd-tdep.c (obsd_auxv_parse): New function.
1976 (obsd_init_abi): Set auxv_parse.
1978 * gdbarch.sh (auxv_parse): New.
1979 * gdbarch.h: Regenerated.
1980 * gdbarch.c: Regenerated.
1981 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1983 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1985 * guile/scm-value.c (gdbscm_history_append_x): New function.
1986 (value_functions): Add it.
1988 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1990 * dwarf2read.c (attr_value_as_address): New function.
1991 (dwarf2_find_base_address, read_call_site_scope): Use
1992 attr_value_as_address in place of DW_ADDR.
1993 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1994 the low and high addresses. Slight rework of the handling
1995 of the high pc being a constant form, and limit it to
1996 DWARF verson 4 or higher.
1997 (dwarf2_record_block_ranges): Likewise.
1998 (read_partial_die): Likewise.
1999 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
2001 2014-02-26 Tom Tromey <tromey@redhat.com>
2003 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
2005 2014-02-26 Tom Tromey <tromey@redhat.com>
2007 * elfread.c (elf_read_minimal_symbols): Return early if
2008 minimal symbols have already been read. Add "ei" parameter.
2009 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
2010 * minsyms.c (prim_record_minimal_symbol_full): Update.
2011 * objfiles.h (struct objstats) <n_minsyms>: Move...
2012 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
2013 * symmisc.c (print_objfile_statistics): Update.
2015 2014-02-26 Tom Tromey <tromey@redhat.com>
2017 * elfread.c (elf_read_minimal_symbols): New function, from
2019 (elf_symfile_read): Call it.
2021 2014-02-26 Tom Tromey <tromey@redhat.com>
2023 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
2024 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
2025 (lookup_minimal_symbol_solib_trampoline)
2026 (lookup_minimal_symbol_by_pc_section_1)
2027 (lookup_minimal_symbol_and_objfile): Update.
2028 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
2029 Don't allocate a minimal symbol if minsyms have already been read.
2030 (build_minimal_symbol_hash_tables): Update.
2031 (install_minimal_symbols): Do nothing if minsyms already read.
2032 Use the per-BFD obstack.
2033 (terminate_minimal_symbol_table): Use the per-BFD obstack.
2034 * objfiles.c (allocate_objfile): Call
2035 terminate_minimal_symbol_table later.
2036 (have_minimal_symbols): Update.
2037 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
2038 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
2039 Move from struct objfile.
2040 <minsyms_read>: New field.
2041 (struct objfile) <msymbols, minimal_symbol_count,
2042 msymbol_hash, msymbol_demangled_hash>: Move.
2043 (ALL_OBJFILE_MSYMBOLS): Update.
2044 * symfile.c (read_symbols): Set minsyms_read.
2045 (reread_symbols): Update.
2046 * symmisc.c (dump_objfile, dump_msymbols): Update.
2048 2014-02-26 Tom Tromey <tromey@redhat.com>
2050 * minsyms.c (msymbols_sort): Remove.
2051 * minsyms.h (msymbols_sort): Remove.
2052 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
2053 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
2054 * elfread.c (elf_symtab_read): Don't add section offsets.
2055 * xcoffread.c (record_minimal_symbol): Don't add section offset
2056 to minimal symbol address.
2057 * somread.c (text_offset, data_offset): Remove.
2058 (som_symtab_read): Don't add section offsets to minimal symbol
2060 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
2061 Don't add section offsets to minimal symbols.
2062 * coffread.c (coff_symtab_read): Don't add section offsets
2063 to minimal symbol addresses.
2064 * machoread.c (macho_symtab_add_minsym): Don't add section offset
2065 to minimal symbol addresses.
2066 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
2067 section offset to minimal symbol addresses.
2068 * mdebugread.c (parse_partial_symbols): Don't add section
2069 offset to minimal symbol addresses.
2070 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
2071 offset to minimal symbol addresses.
2073 2014-02-26 Tom Tromey <tromey@redhat.com>
2075 * ada-lang.c (ada_main_name): Update.
2076 (ada_add_standard_exceptions): Update.
2077 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2078 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2079 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
2080 * auxv.c (ld_so_xfer_auxv): Update.
2081 * avr-tdep.c (avr_scan_prologue): Update.
2082 * ax-gdb.c (gen_var_ref): Update.
2083 * blockframe.c (get_pc_function_start)
2084 (find_pc_partial_function_gnu_ifunc): Update.
2085 * breakpoint.c (create_overlay_event_breakpoint)
2086 (create_longjmp_master_breakpoint)
2087 (create_std_terminate_master_breakpoint)
2088 (create_exception_master_breakpoint): Update.
2089 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2090 * c-valprint.c (c_val_print): Update.
2091 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2092 * common/agent.c (agent_look_up_symbols): Update.
2093 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2094 * dwarf2loc.c (call_site_to_target_addr): Update.
2095 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
2096 * elfread.c (elf_gnu_ifunc_record_cache)
2097 (elf_gnu_ifunc_resolve_by_got): Update.
2098 * findvar.c (default_read_var_value): Update.
2099 * frame.c (inside_main_func): Update.
2100 * frv-tdep.c (frv_frame_this_id): Update.
2101 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2102 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2104 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
2105 (hppa_hpux_find_dummy_bpaddr): Update.
2106 * hppa-tdep.c (hppa_symbol_address): Update.
2107 * infcmd.c (until_next_command): Update.
2108 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
2110 * linespec.c (minsym_found, add_minsym): Update.
2111 * linux-nat.c (get_signo): Update.
2112 * linux-thread-db.c (inferior_has_bug): Update.
2113 * m32c-tdep.c (m32c_return_value)
2114 (m32c_m16c_address_to_pointer): Update.
2115 * m32r-tdep.c (m32r_frame_this_id): Update.
2116 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2117 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2118 * maint.c (maintenance_translate_address): Update.
2119 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
2120 (frob_address): New function.
2121 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
2122 frob_address. Rename parameter to "pc_in".
2123 (compare_minimal_symbols, compact_minimal_symbols): Use raw
2125 (find_solib_trampoline_target, minimal_symbol_upper_bound):
2127 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2128 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
2129 * objc-lang.c (find_objc_msgsend): Update.
2130 * objfiles.c (objfile_relocate1): Update.
2131 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2132 * p-valprint.c (pascal_val_print): Update.
2133 * parse.c (write_exp_msymbol): Update.
2134 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
2135 (ppc_elfv2_skip_entrypoint): Update.
2136 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2137 * printcmd.c (build_address_symbolic, msym_info)
2138 (address_info): Update.
2139 * proc-service.c (ps_pglobal_lookup): Update.
2140 * psymtab.c (find_pc_sect_psymtab_closer)
2141 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
2142 Change msymbol parameter to bound_minimal_symbol.
2143 * ravenscar-thread.c (get_running_thread_id): Update.
2144 * remote.c (remote_check_symbols): Update.
2145 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
2147 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2148 * solib-dsbt.c (lm_base): Update.
2149 * solib-frv.c (lm_base, main_got): Update.
2150 * solib-irix.c (locate_base): Update.
2151 * solib-som.c (som_solib_create_inferior_hook)
2152 (link_map_start): Update.
2153 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
2154 * solib-svr4.c (elf_locate_base, enable_break): Update.
2155 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2156 (flush_ea_cache): Update.
2157 * stabsread.c (define_symbol, scan_file_globals): Update.
2158 * stack.c (find_frame_funname): Update.
2159 * symfile-debug.c (debug_qf_expand_symtabs_matching)
2160 (debug_qf_find_pc_sect_symtab): Update.
2161 * symfile.c (simple_read_overlay_table)
2162 (simple_overlay_update): Update.
2163 * symfile.h (struct quick_symbol_functions)
2164 <find_pc_sect_symtab>: Change type of msymbol to
2165 bound_minimal_symbol.
2166 * symmisc.c (dump_msymbols): Update.
2167 * symtab.c (find_pc_sect_symtab_via_partial)
2168 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
2169 (search_symbols, print_msymbol_info): Update.
2170 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
2171 (MSYMBOL_VALUE_ADDRESS): Redefine.
2172 (BMSYMBOL_VALUE_ADDRESS): New macro.
2173 * tracepoint.c (scope_info): Update.
2174 * tui/tui-disasm.c (tui_find_disassembly_address)
2175 (tui_get_begin_asm_address): Update.
2176 * valops.c (find_function_in_inferior): Update.
2177 * value.c (value_static_field, value_fn_field): Update.
2179 2014-02-26 Tom Tromey <tromey@redhat.com>
2181 * ada-lang.c (ada_update_initial_language): Update.
2182 (ada_main_name, ada_has_this_exception_support): Update.
2183 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2184 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2185 * arm-tdep.c (arm_skip_stub): Update.
2186 * auxv.c (ld_so_xfer_auxv): Update.
2187 * avr-tdep.c (avr_scan_prologue): Update.
2188 * ax-gdb.c (gen_var_ref): Update.
2189 * breakpoint.c (struct breakpoint_objfile_data)
2190 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
2191 type to bound_minimal_symbol.
2192 (create_overlay_event_breakpoint)
2193 (create_longjmp_master_breakpoint)
2194 (create_std_terminate_master_breakpoint)
2195 (create_exception_master_breakpoint): Update.
2196 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2197 * c-exp.y (classify_name): Update.
2198 * coffread.c (coff_symfile_read): Update.
2199 * common/agent.c (agent_look_up_symbols): Update.
2200 * d-lang.c (d_main_name): Update.
2201 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2202 * dec-thread.c (enable_dec_thread): Update.
2203 * dwarf2loc.c (call_site_to_target_addr): Update.
2204 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
2205 * eval.c (evaluate_subexp_standard): Update.
2206 * findvar.c (struct minsym_lookup_data) <result>: Change type
2207 to bound_minimal_symbol.
2209 (minsym_lookup_iterator_cb, default_read_var_value): Update.
2210 * frame.c (inside_main_func): Update.
2211 * frv-tdep.c (frv_frame_this_id): Update.
2212 * gcore.c (call_target_sbrk): Update.
2213 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2214 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2216 * go-lang.c (go_main_name): Update.
2217 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
2218 (hppa_hpux_find_import_stub_for_addr): Update.
2219 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
2220 Update. Change return type.
2221 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
2223 * jit.c (jit_breakpoint_re_set_internal): Update.
2224 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
2226 * linux-nat.c (get_signo): Update.
2227 * linux-thread-db.c (inferior_has_bug): Update
2228 * m32c-tdep.c (m32c_return_value)
2229 (m32c_m16c_address_to_pointer): Update.
2230 * m32r-tdep.c (m32r_frame_this_id): Update.
2231 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2232 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2233 * minsyms.c (lookup_minimal_symbol_internal): Rename to
2234 lookup_minimal_symbol. Change return type.
2235 (lookup_minimal_symbol): Remove.
2236 (lookup_bound_minimal_symbol): Update.
2237 (lookup_minimal_symbol_text): Change return type.
2238 (lookup_minimal_symbol_solib_trampoline): Change return type.
2239 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
2240 (lookup_minimal_symbol_solib_trampoline): Change return type.
2241 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2242 * objc-lang.c (lookup_objc_class, lookup_child_selector)
2243 (value_nsstring, find_imps): Update.
2244 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2245 * p-lang.c (pascal_main_name): Update.
2246 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
2247 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2248 * proc-service.c (ps_pglobal_lookup): Update.
2249 * ravenscar-thread.c (get_running_thread_msymbol): Change
2251 (has_ravenscar_runtime, get_running_thread_id): Update.
2252 * remote.c (remote_check_symbols): Update.
2253 * sol-thread.c (ps_pglobal_lookup): Update.
2254 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2255 * solib-dsbt.c (lm_base): Update.
2256 * solib-frv.c (lm_base, frv_relocate_section_addresses):
2258 * solib-irix.c (locate_base): Update.
2259 * solib-som.c (som_solib_create_inferior_hook)
2260 (som_solib_desire_dynamic_linker_symbols, link_map_start):
2262 * solib-spu.c (spu_enable_break): Update.
2263 * solib-svr4.c (elf_locate_base, enable_break): Update.
2264 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2265 (flush_ea_cache): Update.
2266 * stabsread.c (define_symbol): Update.
2267 * symfile.c (simple_read_overlay_table): Update.
2268 * symtab.c (find_pc_sect_line): Update.
2269 * tracepoint.c (scope_info): Update.
2270 * tui-disasm.c (tui_get_begin_asm_address): Update.
2271 * value.c (value_static_field): Update.
2273 2014-02-26 Tom Tromey <tromey@redhat.com>
2275 * minsyms.c (prim_record_minimal_symbol_full): Use
2276 SET_MSYMBOL_VALUE_ADDRESS.
2277 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
2278 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
2279 SET_MSYMBOL_VALUE_ADDRESS.
2280 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
2281 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
2283 2014-02-26 Tom Tromey <tromey@redhat.com>
2285 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
2286 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
2287 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
2288 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
2289 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
2290 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
2291 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
2292 * ada-lang.c (ada_main_name): Update.
2293 (ada_lookup_simple_minsym): Update.
2294 (ada_make_symbol_completion_list): Update.
2295 (ada_add_standard_exceptions): Update.
2296 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
2297 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2298 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
2299 * arm-tdep.c (skip_prologue_function): Update.
2300 (arm_skip_stack_protector, arm_skip_stub): Update.
2301 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
2302 (arm_wince_skip_main_prologue): Update.
2303 * auxv.c (ld_so_xfer_auxv): Update.
2304 * avr-tdep.c (avr_scan_prologue): Update.
2305 * ax-gdb.c (gen_var_ref): Update.
2306 * block.c (call_site_for_pc): Update.
2307 * blockframe.c (get_pc_function_start): Update.
2308 (find_pc_partial_function_gnu_ifunc): Update.
2309 * breakpoint.c (create_overlay_event_breakpoint): Update.
2310 (create_longjmp_master_breakpoint): Update.
2311 (create_std_terminate_master_breakpoint): Update.
2312 (create_exception_master_breakpoint): Update.
2313 (resolve_sal_pc): Update.
2314 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2315 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
2317 * c-valprint.c (c_val_print): Update.
2318 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2319 * coffread.c (coff_symfile_read): Update.
2320 * common/agent.c (agent_look_up_symbols): Update.
2321 * dbxread.c (find_stab_function_addr): Update.
2322 (end_psymtab): Update.
2323 * dwarf2loc.c (call_site_to_target_addr): Update.
2324 (func_verify_no_selftailcall): Update.
2325 (tailcall_dump): Update.
2326 (call_site_find_chain_1): Update.
2327 (dwarf_expr_reg_to_entry_parameter): Update.
2328 * elfread.c (elf_gnu_ifunc_record_cache): Update.
2329 (elf_gnu_ifunc_resolve_by_got): Update.
2330 * f-valprint.c (info_common_command): Update.
2331 * findvar.c (read_var_value): Update.
2332 * frame.c (get_prev_frame_1): Update.
2333 (inside_main_func): Update.
2334 * frv-tdep.c (frv_skip_main_prologue): Update.
2335 (frv_frame_this_id): Update.
2336 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2337 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
2338 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
2339 (gnuv3_skip_trampoline): Update.
2340 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
2341 (hppa64_hpux_in_solib_call_trampoline): Update.
2342 (hppa_hpux_skip_trampoline_code): Update.
2343 (hppa64_hpux_search_dummy_call_sequence): Update.
2344 (hppa_hpux_find_import_stub_for_addr): Update.
2345 (hppa_hpux_find_dummy_bpaddr): Update.
2346 * hppa-tdep.c (hppa_symbol_address)
2347 (hppa_lookup_stub_minimal_symbol): Update.
2348 * i386-tdep.c (i386_skip_main_prologue): Update.
2349 (i386_pe_skip_trampoline_code): Update.
2350 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
2351 * infcall.c (get_function_name): Update.
2352 * infcmd.c (until_next_command): Update.
2353 * jit.c (jit_breakpoint_re_set_internal): Update.
2354 (jit_inferior_init): Update.
2355 * linespec.c (minsym_found): Update.
2356 (add_minsym): Update.
2357 * linux-fork.c (info_checkpoints_command): Update.
2358 * linux-nat.c (get_signo): Update.
2359 * linux-thread-db.c (inferior_has_bug): Update.
2360 * m32c-tdep.c (m32c_return_value): Update.
2361 (m32c_m16c_address_to_pointer): Update.
2362 (m32c_m16c_pointer_to_address): Update.
2363 * m32r-tdep.c (m32r_frame_this_id): Update.
2364 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2365 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2366 * maint.c (maintenance_translate_address): Update.
2367 * minsyms.c (add_minsym_to_hash_table): Update.
2368 (add_minsym_to_demangled_hash_table): Update.
2369 (msymbol_objfile): Update.
2370 (lookup_minimal_symbol): Update.
2371 (iterate_over_minimal_symbols): Update.
2372 (lookup_minimal_symbol_text): Update.
2373 (lookup_minimal_symbol_by_pc_name): Update.
2374 (lookup_minimal_symbol_solib_trampoline): Update.
2375 (lookup_minimal_symbol_by_pc_section_1): Update.
2376 (lookup_minimal_symbol_and_objfile): Update.
2377 (prim_record_minimal_symbol_full): Update.
2378 (compare_minimal_symbols): Update.
2379 (compact_minimal_symbols): Update.
2380 (build_minimal_symbol_hash_tables): Update.
2381 (install_minimal_symbols): Update.
2382 (terminate_minimal_symbol_table): Update.
2383 (find_solib_trampoline_target): Update.
2384 (minimal_symbol_upper_bound): Update.
2385 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2386 * mips-tdep.c (mips_stub_frame_sniffer): Update.
2387 (mips_skip_pic_trampoline_code): Update.
2388 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
2389 * objc-lang.c (selectors_info): Update.
2390 (classes_info): Update.
2391 (find_methods): Update.
2392 (find_imps): Update.
2393 (find_objc_msgsend): Update.
2394 * objfiles.c (objfile_relocate1): Update.
2395 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
2396 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2397 * p-valprint.c (pascal_val_print): Update.
2398 * parse.c (write_exp_msymbol): Update.
2399 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
2400 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
2401 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2402 * printcmd.c (build_address_symbolic): Update.
2404 (address_info): Update.
2405 * proc-service.c (ps_pglobal_lookup): Update.
2406 * psymtab.c (find_pc_sect_psymtab_closer): Update.
2407 (find_pc_sect_psymtab): Update.
2408 * python/py-framefilter.c (py_print_frame): Update.
2409 * ravenscar-thread.c (get_running_thread_id): Update.
2410 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
2412 * remote.c (remote_check_symbols): Update.
2413 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
2414 (rs6000_skip_trampoline_code): Update.
2415 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
2416 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2417 * solib-dsbt.c (lm_base): Update.
2418 * solib-frv.c (lm_base): Update.
2420 * solib-irix.c (locate_base): Update.
2421 * solib-som.c (som_solib_create_inferior_hook): Update.
2422 (som_solib_desire_dynamic_linker_symbols): Update.
2423 (link_map_start): Update.
2424 * solib-spu.c (spu_enable_break): Update.
2425 (ocl_enable_break): Update.
2426 * solib-svr4.c (elf_locate_base): Update.
2427 (enable_break): Update.
2428 * spu-tdep.c (spu_get_overlay_table): Update.
2429 (spu_catch_start): Update.
2430 (flush_ea_cache): Update.
2431 * stabsread.c (define_symbol): Update.
2432 (scan_file_globals): Update.
2433 * stack.c (find_frame_funname): Update.
2434 (frame_info): Update.
2435 * symfile.c (simple_read_overlay_table): Update.
2436 (simple_overlay_update): Update.
2437 * symmisc.c (dump_msymbols): Update.
2438 * symtab.c (fixup_section): Update.
2439 (find_pc_sect_line): Update.
2440 (skip_prologue_sal): Update.
2441 (search_symbols): Update.
2442 (print_msymbol_info): Update.
2443 (rbreak_command): Update.
2444 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
2445 (completion_list_objc_symbol): Update.
2446 (default_make_symbol_completion_list_break_on): Update.
2447 * tracepoint.c (scope_info): Update.
2448 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
2449 (tui_get_begin_asm_address): Update.
2450 * valops.c (find_function_in_inferior): Update.
2451 * value.c (value_static_field): Update.
2452 (value_fn_field): Update.
2454 2014-02-26 Tom Tromey <tromey@redhat.com>
2456 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
2457 bound minimal symbols. Move code that knows about minsym
2459 * minsyms.c (minimal_symbol_upper_bound): ... here. New
2461 * minsyms.h (minimal_symbol_upper_bound): Declare.
2462 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
2463 minimal_symbol_upper_bound.
2465 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2467 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
2468 Use the type's name if its basic type does not have a tag.
2470 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2472 * dwarf2read.c (read_subrange_type): Add comment.
2474 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2476 * dwarf2read.c (update_enumeration_type_from_children): New
2477 function, mostly extracted from process_structure_scope.
2478 (read_enumeration_type): Call update_enumeration_type_from_children.
2479 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
2480 and flag_flag_enum fields.
2482 2014-02-26 Pedro Alves <palves@redhat.com>
2484 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
2485 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
2486 to_xfer_partial method.
2488 2014-02-26 Pedro Alves <palves@redhat.com>
2490 * target.c (complete_target_initialization): Don't install
2491 default_xfer_partial as to_xfer_partial hook.
2493 (update_current_target): Don't INHERIT nor de_fault
2494 deprecated_xfer_memory. Delete de_fault macro.
2495 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
2496 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
2497 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
2500 2014-02-26 Pedro Alves <palves@redhat.com>
2502 * go32-nat.c (my_write_child): New function.
2503 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
2504 (go32_xfer_partial): New function.
2505 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
2506 Instead install a to_xfer_partial hook.
2508 2014-02-26 Pedro Alves <palves@redhat.com>
2510 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
2511 to_xfer_partial helper. Rewrite.
2512 (procfs_xfer_partial): New function.
2513 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
2514 Install a to_xfer_partial hook.
2516 2014-02-26 Pedro Alves <palves@redhat.com>
2518 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
2519 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
2520 (m32r_xfer_partial): New function.
2521 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
2522 Install a to_xfer_partial hook.
2524 2014-02-26 Pedro Alves <palves@redhat.com>
2526 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
2528 (mips_xfer_partial): New function.
2529 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
2530 hook. Install a to_xfer_partial hook.
2532 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2534 * gdbtypes.h (create_array_type_with_stride): Add declaration.
2535 * gdbtypes.c (create_array_type_with_stride): New function,
2536 renaming create_array_type, but with an added parameter
2537 called "bit_stride".
2538 (create_array_type): Re-implement using
2539 create_array_type_with_stride.
2540 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
2541 and DW_AT_bit_stride attributes.
2543 2014-02-26 Pedro Alves <palves@redhat.com>
2545 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
2546 task-specific breakpoints.
2548 2014-02-25 Pedro Alves <palves@redhat.com>
2550 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
2551 handling of object == TARGET_OBJECT_UNWIND_TABLE.
2553 2014-02-25 Stan Shebs <stan@codesourcery.com>
2555 * defs.h: Annotate comments for Doxygen.
2557 2014-02-25 Tom Tromey <tromey@redhat.com>
2559 * target.h (target_ignore): Don't declare.
2560 * target.c (target_ignore): Remove.
2562 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2565 * auto-load.c (auto_load_objfile_script_1): Change filename to
2568 2014-02-25 Joel Brobecker <brobecker@adacore.com>
2570 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
2571 documentation. Adjust prototype to match the target_ops
2572 to_xfer_partial method. Adjust implementation accordingly.
2574 2014-02-25 Hui Zhu <hui@codesourcery.com>
2576 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
2579 2014-02-25 Kevin Buettner <kevinb@redhat.com>
2581 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
2582 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
2583 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
2584 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
2585 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
2586 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
2587 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
2588 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
2590 (rl78_register_type): Use a data pointer type for SP and
2591 new pseudo registers mentioned above. Use a 16 bit integer
2592 type for all other register pairs.
2593 (rl78_register_name, rl78_g10_register_name): Update for
2594 new pseudo registers.
2595 (rl78_pseudo_register_read): Likewise.
2596 (rl78_pseudo_register_write): Likewise.
2597 (rl78_dwarf_reg_to_regnum): Return register numbers representing
2598 to the newly added pseudo registers.
2600 2014-02-24 Doug Evans <dje@google.com>
2602 * value.c (record_latest_value): Fix comment.
2603 * printcmd.c (print_command_1): Remove code to handle -1 return from
2604 record_latest_value.
2606 2014-02-24 Pedro Alves <palves@redhat.com>
2608 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2609 deprecated_xfer_memory hook.
2610 (procfs_xfer_partial): Call procfs_xfer_memory instead
2611 of the deprecated_xfer_memory target hook.
2612 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2615 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
2617 * windows-nat.c (windows_xfer_shared_libraries): Return
2618 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2619 requested object is TARGET_OBJECT_LIBRARIES.
2621 2014-02-24 Yao Qi <yao@codesourcery.com>
2623 * target.h (enum target_xfer_status)
2624 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2625 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2627 * corefile.c (memory_error_message): User updated.
2628 * exec.c (section_table_read_available_memory): Likewise.
2629 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2630 * target.c (target_xfer_status_to_string): Likewise.
2631 (raw_memory_xfer_partial): Likewise.
2632 (memory_xfer_partial_1, target_xfer_partial): Likewise.
2633 * valops.c (read_value_memory): Likewise.
2634 * exec.h: Update comments.
2636 2014-02-24 Yao Qi <yao@codesourcery.com>
2638 * target.c (target_xfer_status_to_string): Rename argument err
2640 * target.h (target_xfer_status_to_string): Update declaration.
2641 Replace target_xfer_error_to_string with
2642 target_xfer_status_to_string in comment.
2644 2014-02-24 Yao Qi <yao@codesourcery.com>
2646 * mips-linux-nat.c (super_close): Update its type.
2647 (mips_linux_close): Pass 'self' to super_close.
2649 2014-02-24 Yao Qi <yao@codesourcery.com>
2651 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2652 * corefile.c (read_memory): Adjusted.
2653 * target.c (target_write_with_progress): Adjusted.
2655 2014-02-23 Yao Qi <yao@codesourcery.com>
2659 2013-10-25 Yao Qi <yao@codesourcery.com>
2661 * remote.c (remote_traceframe_info): Return early if
2662 traceframe is not selected.
2664 2013-07-19 Yao Qi <yao@codesourcery.com>
2666 * target.c (update_current_target): Change the default action
2667 of 'to_traceframe_info' from tcomplain to return_zero.
2668 * target.h (struct target_ops) <to_traceframe_info>: Add more
2671 2014-02-23 Yao Qi <yao@codesourcery.com>
2673 * valops.c (read_value_memory): Rewrite it. Call
2674 target_xfer_partial in a loop.
2675 * exec.h (section_table_available_memory): Remove declaration.
2676 Move comments to ...
2677 * exec.c (section_table_available_memory): ... here. Make it
2680 2014-02-23 Yao Qi <yao@codesourcery.com>
2682 * exec.c (section_table_read_available_memory): New function.
2683 * exec.h (section_table_read_available_memory): Declare.
2684 * ctf.c (ctf_xfer_partial): Call
2685 section_table_read_available_memory.
2686 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2688 2014-02-23 Yao Qi <yao@codesourcery.com>
2690 * ctf.c (ctf_xfer_partial): Move code to ...
2691 * exec.c (exec_read_partial_read_only): ... it. New function.
2692 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2693 * tracefile.c: Include "exec.h".
2694 * exec.h (exec_read_partial_read_only): Declare.
2696 2014-02-23 Yao Qi <yao@codesourcery.com>
2698 * tracefile-tfile.c (tfile_has_all_memory): Remove.
2699 (tfile_has_memory): Remove.
2700 (init_tfile_ops): Don't set fields to_has_all_memory and
2701 to_has_memory of tfile_ops.
2702 * tracefile.c (tracefile_has_all_memory): New function.
2703 (tracefile_has_memory): New function.
2704 (init_tracefile_ops): Initialize fields to_has_all_memory and
2705 to_has_memory of 'ops'.
2707 2014-02-23 Yao Qi <yao@codesourcery.com>
2709 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2710 (ctf_thread_alive, ctf_get_trace_status): Remove.
2711 (init_ctf_ops): Don't set some fields of ctf_ops. Call
2713 * tracefile-tfile.c (tfile_get_trace_status): Remove.
2714 (tfile_has_stack, tfile_has_registers): Remove.
2715 (tfile_thread_alive): Remove.
2716 (init_tfile_ops): Don't set some fields of tfile_ops. Call
2718 * tracefile.c (tracefile_has_stack): New function.
2719 (tracefile_has_registers): New function.
2720 (tracefile_thread_alive): New function.
2721 (tracefile_get_trace_status): New function.
2722 (init_tracefile_ops): New function.
2723 * tracefile.h (init_tracefile_ops): Declare.
2725 2014-02-23 Yao Qi <yao@codesourcery.com>
2727 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2728 (O_LARGEFILE): Likewise.
2729 (tfile_ops): Likewise.
2730 (TRACE_HEADER_SIZE): Likewise.
2731 (trace_fd, trace_frames_offset, cur_offset): Likewise.
2732 (cur_data_size): Likewise.
2733 (tfile_read, tfile_open, tfile_interp_line): Likewise.
2734 (tfile_close, tfile_files_info): Likewise.
2735 (tfile_get_trace_status): Likewise.
2736 (tfile_get_tracepoint_status): Likewise.
2737 (tfile_get_traceframe_address): Likewise.
2738 (tfile_trace_find, match_blocktype): Likewise.
2739 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2740 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2741 (tfile_get_trace_state_variable_value): Likewise.
2742 (tfile_has_all_memory, tfile_has_memory): Likewise.
2743 (tfile_has_stack, tfile_has_registers): Likewise.
2744 (tfile_thread_alive, build_traceframe_info): Likewise.
2745 (tfile_traceframe_info, init_tfile_ops): Likewise.
2746 (_initialize_tracepoint): Don't call init_tfile_ops
2747 and add_target_with_completer.
2748 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2749 exec.h, completer.h and filenames.h.
2750 (_initialize_tracefile_tfile): New function.
2752 2014-02-23 Yao Qi <yao@codesourcery.com>
2754 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2756 (HFILES_NO_SRCDIR): Add tracefile.h.
2757 * ctf.c: Include "tracefile.h".
2758 * tracefile.h: New file.
2759 * tracefile.c: New file
2760 * tracefile-tfile.c: New file.
2761 * tracepoint.c: Include "tracefile.h".
2762 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2763 (stop_reason_names): Add const.
2764 (trace_file_writer_xfree): Move it to tracefile.c.
2765 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2766 (trace_save_ctf): Likewise.
2767 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2768 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2769 (tfile_write_header, tfile_write_regblock_type): Likewise.
2770 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2771 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2772 (tfile_write_raw_data, tfile_end): Likewise.
2773 (tfile_trace_file_writer_new): Likewise.
2774 (free_uploaded_tp): Make it extern.
2775 (free_uploaded_tsv): Make it extern.
2776 (_initialize_tracepoint): Move code to register command 'tsave'
2778 * tracepoint.h (stop_reason_names): Declare.
2779 (struct trace_frame_write_ops): Move it to tracefile.h.
2780 (struct trace_file_write_ops): Likewise.
2781 (struct trace_file_writer): Likewise.
2782 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2784 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2787 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2789 (get_cores_used_by_process): New parameter num_cores, use it.
2790 (linux_xfer_osdata_processes): Pass num_cores to it.
2791 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2794 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2796 * target.c (memory_xfer_partial): Fix length arg in call to
2797 breakpoint_xfer_memory.
2799 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2802 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2803 number comes after the + or - signs. Adjust length of register
2804 name to be extracted.
2806 2014-02-20 Tom Tromey <tromey@redhat.com>
2808 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2809 (ada_varobj_ops): Mark "extern".
2811 2014-02-20 Tom Tromey <tromey@redhat.com>
2813 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2815 2014-02-20 Doug Evans <xdje42@gmail.com>
2817 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2818 All callers updated.
2819 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2820 All callers updated.
2821 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2822 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2824 2014-02-20 lin zuojian <manjian2006@gmail.com>
2825 Joel Brobecker <brobecker@adacore.com>
2826 Doug Evans <xdje42@gmail.com>
2829 * dwarf2read.c (struct die_info): New member in_process.
2830 (reset_die_in_process): New function.
2831 (process_die): Set it at the start, reset when returning.
2832 (inherit_abstract_dies): Only call process_die if origin_child_die
2833 not already being processed.
2835 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2837 * windows-nat.c (handle_unload_dll): Add function documentation.
2838 (do_initial_windows_stuff): Add comment explaining why we wait
2839 until after inferior initialization has finished before
2840 processing all DLLs.
2842 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2844 * windows-nat.c (get_module_name): Delete.
2845 (windows_get_exec_module_filename): New function, mostly
2846 inspired from get_module_name.
2847 (windows_pid_to_exec_file): Replace call to get_module_name
2848 by call to windows_get_exec_module_filename.
2850 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2852 * windows-nat.c (handle_load_dll): Rewrite this function's
2853 introductory comment. Remove code using get_module_name
2854 to get the DLL's name.
2856 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2858 * windows-nat.c (get_windows_debug_event): Ignore
2859 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2860 if windows_initialization_done == 0.
2861 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2862 Adjust implementation to always load all DLLs.
2863 (do_initial_windows_stuff): Replace call to
2864 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2866 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2868 * windows-nat.c (_initialize_windows_nat): Deprecate the
2869 "dll-symbols" command. Turn the "add-shared-symbol-files"
2870 and "assf" aliases into commands, and deprecate them as well.
2871 * NEWS: Add entry explaining that "dll-symbols" and its two
2872 aliases are now deprecated.
2874 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2876 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2877 new-line in debug string. Remove trailing spaces.
2879 2014-02-19 Stan Shebs <stan@codesourcery.com>
2881 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2883 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2885 * NEWS: Add entry for the new feature
2886 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2889 2014-02-19 Stan Shebs <stan@codesourcery.com>
2891 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2893 2014-02-19 Pedro Alves <palves@redhat.com>
2895 * common/ptid.h (struct ptid): Mention that process_stratum
2896 targets should prefer ptid.lwp.
2898 2014-02-19 Pedro Alves <palves@redhat.com>
2900 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2901 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2902 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2903 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2904 store remote thread ids rather than ptid.tid.
2905 (_initialize_remote): Adjust.
2907 2014-02-19 Tom Tromey <tromey@redhat.com>
2909 * target.c (target_get_unwinder): Rewrite.
2910 (target_get_tailcall_unwinder): Rewrite.
2911 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2912 (record_btrace_to_get_tailcall_unwinder): New function.
2913 (init_record_btrace_ops): Update.
2914 * target.h (struct target_ops) <to_get_unwinder,
2915 to_get_tailcall_unwinder>: Now function pointers. Use
2916 TARGET_DEFAULT_RETURN.
2918 2014-02-19 Tom Tromey <tromey@redhat.com>
2920 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2922 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2924 2014-02-19 Tom Tromey <tromey@redhat.com>
2926 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2928 * target-delegates.c: Rebuild.
2929 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2930 TARGET_DEFAULT_FUNC.
2931 * target.c (default_target_decr_pc_after_break): Rename from
2932 forward_target_decr_pc_after_break. Simplify.
2933 (target_decr_pc_after_break): Rely on delegation.
2935 2014-02-19 Tom Tromey <tromey@redhat.com>
2937 * target.c (update_current_target): Do not INHERIT to_doc or
2938 to_magic. Do not de_fault to_open or to_close.
2940 2014-02-19 Tom Tromey <tromey@redhat.com>
2942 * gcore.h (objfile_find_memory_regions): Declare.
2943 * gcore.c (objfile_find_memory_regions): No longer static. Add
2945 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2946 * exec.c: Include gcore.h.
2947 (exec_set_find_memory_regions): Remove.
2948 (exec_find_memory_regions): Remove.
2949 (exec_do_find_memory_regions): Remove.
2950 (init_exec_ops): Update.
2951 * defs.h (exec_set_find_memory_regions): Remove.
2953 2014-02-19 Tom Tromey <tromey@redhat.com>
2955 * target-delegates.c: Rebuild.
2956 * target.h (struct target_ops) <to_extra_thread_info,
2957 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2958 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2959 not 0, in TARGET_DEFAULT_RETURN.
2961 2014-02-19 Tom Tromey <tromey@redhat.com>
2963 * target.c (complete_target_initialization): Remove casts. Use
2964 return_zero_has_execution.
2965 (return_zero): Add "ignore" argument.
2966 (return_zero_has_execution): New function.
2967 (init_dummy_target): Remove casts. Use
2968 return_zero_has_execution.
2970 2014-02-19 Tom Tromey <tromey@redhat.com>
2972 * target.c (update_current_target): Update comments. Do not
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2979 * corelow.c (core_read_description): Delegate when needed.
2980 * remote.c (remote_read_description): Delegate when needed.
2981 * target-delegates.c: Rebuild.
2982 * target.c (target_read_description): Rewrite.
2983 * target.h (struct target_ops) <to_read_description>: Update
2984 comment. Use TARGET_DEFAULT_RETURN.
2986 2014-02-19 Tom Tromey <tromey@redhat.com>
2988 * target-delegates.c: Rebuild.
2989 * target.c (update_current_target): Don't inherit or default
2991 (find_default_run_target): Check against delegate_can_run.
2992 * target.h (struct target_ops) <to_can_run>: Use
2993 TARGET_DEFAULT_RETURN.
2995 2014-02-19 Tom Tromey <tromey@redhat.com>
2997 * target-delegates.c: Rebuild.
2998 * target.c (target_disconnect): Unconditionally delegate.
2999 * target.h (struct target_ops) <to_disconnect>: Use
3000 TARGET_DEFAULT_NORETURN.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * record.c (record_stop): Unconditionally delegate.
3005 * target-delegates.c: Rebuild.
3006 * target.c (target_stop_recording): Unconditionally delegate.
3007 * target.h (struct target_ops) <to_stop_recording>: Use
3008 TARGET_DEFAULT_IGNORE.
3010 2014-02-19 Tom Tromey <tromey@redhat.com>
3012 * target-delegates.c: Rebuild.
3013 * target.c (target_enable_btrace): Unconditionally delegate.
3014 * target.h (struct target_ops) <to_enable_btrace>: Use
3015 TARGET_DEFAULT_NORETURN.
3017 2014-02-19 Tom Tromey <tromey@redhat.com>
3019 * target-delegates.c: Rebuild.
3020 * target.c (target_read_btrace): Unconditionally delegate.
3021 * target.h (struct target_ops) <to_read_btrace>: Use
3022 TARGET_DEFAULT_NORETURN.
3024 2014-02-19 Tom Tromey <tromey@redhat.com>
3026 * target-delegates.c: Rebuild.
3027 * target.c (target_teardown_btrace): Unconditionally delegate.
3028 * target.h (struct target_ops) <to_teardown_btrace>: Use
3029 TARGET_DEFAULT_NORETURN.
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target-delegates.c: Rebuild.
3034 * target.c (target_disable_btrace): Unconditionally delegate.
3035 * target.h (struct target_ops) <to_disable_btrace>: Use
3036 TARGET_DEFAULT_NORETURN.
3038 2014-02-19 Tom Tromey <tromey@redhat.com>
3040 * target-delegates.c: Rebuild.
3041 * target.c (default_search_memory): New function.
3042 (simple_search_memory): Update comment.
3043 (target_search_memory): Unconditionally delegate.
3044 * target.h (struct target_ops) <to_search_memory>: Use
3045 TARGET_DEFAULT_FUNC.
3047 2014-02-19 Tom Tromey <tromey@redhat.com>
3049 * auxv.c (default_auxv_parse): No longer static.
3050 (target_auxv_parse): Unconditionally delegate.
3051 * auxv.h (default_auxv_parse): Declare.
3052 * target-delegates.c: Rebuild.
3053 * target.c: Include auxv.h.
3054 * target.h (struct target_ops) <to_auxv_parse>: Use
3055 TARGET_DEFAULT_FUNC.
3057 2014-02-19 Tom Tromey <tromey@redhat.com>
3059 * target-delegates.c: Rebuild.
3060 * target.c (target_memory_map): Unconditionally delegate.
3061 * target.h (struct target_ops) <to_memory_map>: Use
3062 TARGET_DEFAULT_RETURN.
3064 2014-02-19 Tom Tromey <tromey@redhat.com>
3066 * target-delegates.c: Rebuild.
3067 * target.c (target_thread_alive): Unconditionally delegate.
3068 * target.h (struct target_ops) <to_thread_alive>: Use
3069 TARGET_DEFAULT_RETURN.
3071 2014-02-19 Tom Tromey <tromey@redhat.com>
3073 * target-delegates.c: Rebuild.
3074 * target.c (target_save_record): Unconditionally delegate.
3075 * target.h (struct target_ops) <to_save_record>: Use
3076 TARGET_DEFAULT_NORETURN.
3078 2014-02-19 Tom Tromey <tromey@redhat.com>
3080 * target-delegates.c: Rebuild.
3081 * target.c (target_delete_record): Unconditionally delegate.
3082 * target.h (struct target_ops) <to_delete_record>: Use
3083 TARGET_DEFAULT_NORETURN.
3085 2014-02-19 Tom Tromey <tromey@redhat.com>
3087 * target-delegates.c: Rebuild.
3088 * target.c (target_record_is_replaying): Unconditionally
3090 * target.h (struct target_ops) <to_record_is_replaying>: Use
3091 TARGET_DEFAULT_RETURN.
3093 2014-02-19 Tom Tromey <tromey@redhat.com>
3095 * target-delegates.c: Rebuild.
3096 * target.c (target_goto_record_begin): Unconditionally delegate.
3097 * target.h (struct target_ops) <to_goto_record_begin>: Use
3098 TARGET_DEFAULT_NORETURN.
3100 2014-02-19 Tom Tromey <tromey@redhat.com>
3102 * target-delegates.c: Rebuild.
3103 * target.c (target_goto_record_end): Unconditionally delegate.
3104 * target.h (struct target_ops) <to_goto_record_end>: Use
3105 TARGET_DEFAULT_NORETURN.
3107 2014-02-19 Tom Tromey <tromey@redhat.com>
3109 * target-delegates.c: Rebuild.
3110 * target.c (target_goto_record): Unconditionally delegate.
3111 * target.h (struct target_ops) <to_goto_record>: Use
3112 TARGET_DEFAULT_NORETURN.
3114 2014-02-19 Tom Tromey <tromey@redhat.com>
3116 * target-delegates.c: Rebuild.
3117 * target.c (target_insn_history): Unconditionally delegate.
3118 * target.h (struct target_ops) <to_insn_history>: Use
3119 TARGET_DEFAULT_NORETURN.
3121 2014-02-19 Tom Tromey <tromey@redhat.com>
3123 * target-delegates.c: Rebuild.
3124 * target.c (target_insn_history_from): Unconditionally delegate.
3125 * target.h (struct target_ops) <to_insn_history_from>: Use
3126 TARGET_DEFAULT_NORETURN.
3128 2014-02-19 Tom Tromey <tromey@redhat.com>
3130 * target-delegates.c: Rebuild.
3131 * target.c (target_insn_history_range): Unconditionally delegate.
3132 * target.h (struct target_ops) <to_insn_history_range>: Use
3133 TARGET_DEFAULT_NORETURN.
3135 2014-02-19 Tom Tromey <tromey@redhat.com>
3137 * target-delegates.c: Rebuild.
3138 * target.c (target_call_history): Unconditionally delegate.
3139 * target.h (struct target_ops) <to_call_history>: Use
3140 TARGET_DEFAULT_NORETURN.
3142 2014-02-19 Tom Tromey <tromey@redhat.com>
3144 * target-delegates.c: Rebuild.
3145 * target.c (target_call_history_from): Unconditionally delegate.
3146 * target.h (struct target_ops) <to_call_history_from>: Use
3147 TARGET_DEFAULT_NORETURN.
3149 2014-02-19 Tom Tromey <tromey@redhat.com>
3151 * target-delegates.c: Rebuild.
3152 * target.c (target_call_history_range): Unconditionally delegate.
3153 * target.h (struct target_ops) <to_call_history_range>: Use
3154 TARGET_DEFAULT_NORETURN.
3156 2014-02-19 Tom Tromey <tromey@redhat.com>
3158 * target-delegates.c: Rebuild.
3159 * target.c (target_verify_memory): Unconditionally delegate.
3160 * target.h (struct target_ops) <to_verify_memory>: Use
3161 TARGET_DEFAULT_NORETURN.
3163 2014-02-19 Tom Tromey <tromey@redhat.com>
3165 * target-delegates.c: Rebuild.
3166 * target.c (target_core_of_thread): Unconditionally delegate.
3167 * target.h (struct target_ops) <to_core_of_thread>: Use
3168 TARGET_DEFAULT_RETURN.
3170 2014-02-19 Tom Tromey <tromey@redhat.com>
3172 * target-delegates.c: Rebuild.
3173 * target.c (target_flash_done): Unconditionally delegate.
3174 * target.h (struct target_ops) <to_flash_done>: Use
3175 TARGET_DEFAULT_NORETURN.
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target-delegates.c: Rebuild.
3180 * target.c (target_flash_erase): Unconditionally delegate.
3181 * target.h (struct target_ops) <to_flash_erase>: Use
3182 TARGET_DEFAULT_NORETURN.
3184 2014-02-19 Tom Tromey <tromey@redhat.com>
3186 * target-delegates.c: Rebuild.
3187 * target.c (target_get_section_table): Unconditionally delegate.
3188 * target.h (struct target_ops) <to_get_section_table>: Use
3189 TARGET_DEFAULT_RETURN.
3191 2014-02-19 Tom Tromey <tromey@redhat.com>
3193 * target-delegates.c: Rebuild.
3194 * target.c (target_pid_to_str): Unconditionally delegate.
3195 (init_dummy_target): Don't initialize to_pid_to_str.
3196 (default_pid_to_str): Rename from dummy_pid_to_str.
3197 * target.h (struct target_ops) <to_pid_to_str>: Use
3198 TARGET_DEFAULT_FUNC.
3200 2014-02-19 Tom Tromey <tromey@redhat.com>
3202 * target-delegates.c: Rebuild.
3203 * target.c (target_find_new_threads): Unconditionally delegate.
3204 * target.h (struct target_ops) <to_find_new_threads>: Use
3205 TARGET_DEFAULT_RETURN.
3207 2014-02-19 Tom Tromey <tromey@redhat.com>
3209 * target-delegates.c: Rebuild.
3210 * target.c (target_program_signals): Unconditionally delegate.
3211 * target.h (struct target_ops) <to_program_signals>: Use
3212 TARGET_DEFAULT_IGNORE.
3214 2014-02-19 Tom Tromey <tromey@redhat.com>
3216 * target-delegates.c: Rebuild.
3217 * target.c (target_pass_signals): Unconditionally delegate.
3218 * target.h (struct target_ops) <to_pass_signals>: Use
3219 TARGET_DEFAULT_IGNORE.
3221 2014-02-19 Tom Tromey <tromey@redhat.com>
3223 * target-delegates.c: Rebuild.
3224 * target.c (default_mourn_inferior): New function.
3225 (target_mourn_inferior): Unconditionally delegate.
3226 * target.h (struct target_ops) <to_mourn_inferior>: Use
3227 TARGET_DEFAULT_FUNC.
3229 2014-02-19 Tom Tromey <tromey@redhat.com>
3231 * target-delegates.c: Rebuild.
3232 * target.c (default_follow_fork): New function.
3233 (target_follow_fork): Unconditionally delegate.
3234 * target.h (struct target_ops) <to_follow_fork>: Use
3235 TARGET_DEFAULT_FUNC.
3237 2014-02-19 Tom Tromey <tromey@redhat.com>
3239 * target-delegates.c: Rebuild.
3240 * target.c (target_kill): Unconditionally delegate.
3241 * target.h (struct target_ops) <to_kill>: Use
3242 TARGET_DEFAULT_NORETURN.
3244 2014-02-19 Tom Tromey <tromey@redhat.com>
3246 * target-delegates.c: Rebuild.
3247 * target.c (target_masked_watch_num_registers): Unconditionally
3249 * target.h (struct target_ops) <to_masked_watch_num_registers>:
3250 Use TARGET_DEFAULT_RETURN.
3252 2014-02-19 Tom Tromey <tromey@redhat.com>
3254 * target-delegates.c: Rebuild.
3255 * target.c (target_remove_mask_watchpoint): Unconditionally
3257 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
3258 TARGET_DEFAULT_RETURN.
3260 2014-02-19 Tom Tromey <tromey@redhat.com>
3262 * target-delegates.c: Rebuild.
3263 * target.c (target_insert_mask_watchpoint): Unconditionally
3265 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
3266 TARGET_DEFAULT_RETURN.
3268 2014-02-19 Tom Tromey <tromey@redhat.com>
3270 * target-delegates.c: Rebuild.
3271 * target.c (target_ranged_break_num_registers): Unconditionally
3273 * target.h (struct target_ops) <to_ranged_break_num_registers>:
3274 Use TARGET_DEFAULT_RETURN.
3276 2014-02-19 Tom Tromey <tromey@redhat.com>
3278 * target-delegates.c: Rebuild.
3279 * target.c (target_fetch_registers): Unconditionally delegate.
3280 * target.h (struct target_ops) <to_fetch_registers>: Use
3281 TARGET_DEFAULT_NORETURN.
3283 2014-02-19 Tom Tromey <tromey@redhat.com>
3285 * target-delegates.c: Rebuild.
3286 * target.c (update_current_target): Don't inherit or default
3288 * target.h (struct target_ops) <to_stop>: Use
3289 TARGET_DEFAULT_IGNORE.
3291 2014-02-19 Tom Tromey <tromey@redhat.com>
3293 * target-delegates.c: Rebuild.
3294 * target.c (update_current_target): Don't inherit or default
3295 to_can_run_breakpoint_commands.
3296 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3297 Use TARGET_DEFAULT_RETURN.
3299 2014-02-19 Tom Tromey <tromey@redhat.com>
3301 * target-delegates.c: Rebuild.
3302 * target.c (update_current_target): Don't inherit or default
3303 to_supports_evaluation_of_breakpoint_conditions.
3304 * target.h (struct target_ops)
3305 <to_supports_evaluation_of_breakpoint_conditions>: Use
3306 TARGET_DEFAULT_RETURN.
3308 2014-02-19 Tom Tromey <tromey@redhat.com>
3310 * target-delegates.c: Rebuild.
3311 * target.c (update_current_target): Don't inherit or default
3312 to_augmented_libraries_svr4_read.
3313 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3314 Use TARGET_DEFAULT_RETURN.
3316 2014-02-19 Tom Tromey <tromey@redhat.com>
3318 * target-delegates.c: Rebuild.
3319 * target.c (update_current_target): Don't inherit or default
3321 * target.h (struct target_ops) <to_can_use_agent>: Use
3322 TARGET_DEFAULT_RETURN.
3324 2014-02-19 Tom Tromey <tromey@redhat.com>
3326 * target-delegates.c: Rebuild.
3327 * target.c (update_current_target): Don't inherit or default
3329 * target.h (struct target_ops) <to_use_agent>: Use
3330 TARGET_DEFAULT_NORETURN.
3332 2014-02-19 Tom Tromey <tromey@redhat.com>
3334 * target-delegates.c: Rebuild.
3335 * target.c (update_current_target): Don't inherit or default
3337 (return_null): Remove.
3338 * target.h (struct target_ops) <to_traceframe_info>: Use
3339 TARGET_DEFAULT_RETURN.
3341 2014-02-19 Tom Tromey <tromey@redhat.com>
3343 * target-delegates.c: Rebuild.
3344 * target.c (update_current_target): Don't inherit or default
3345 to_static_tracepoint_markers_by_strid.
3346 * target.h (struct target_ops)
3347 <to_static_tracepoint_markers_by_strid>: Use
3348 TARGET_DEFAULT_NORETURN.
3350 2014-02-19 Tom Tromey <tromey@redhat.com>
3352 * target-delegates.c: Rebuild.
3353 * target.c (update_current_target): Don't inherit or default
3354 to_static_tracepoint_marker_at.
3355 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3356 Use TARGET_DEFAULT_RETURN.
3358 2014-02-19 Tom Tromey <tromey@redhat.com>
3360 * target-delegates.c: Rebuild.
3361 * target.c (update_current_target): Don't inherit or default
3363 * target.h (struct target_ops) <to_set_permissions>: Use
3364 TARGET_DEFAULT_IGNORE.
3366 2014-02-19 Tom Tromey <tromey@redhat.com>
3368 * target-delegates.c: Rebuild.
3369 * target.c (update_current_target): Don't inherit or default
3371 * target.h (struct target_ops) <to_get_tib_address>: Use
3372 TARGET_DEFAULT_NORETURN.
3374 2014-02-19 Tom Tromey <tromey@redhat.com>
3376 * target-delegates.c: Rebuild.
3377 * target.c (update_current_target): Don't inherit or default
3379 * target.h (struct target_ops) <to_set_trace_notes>: Use
3380 TARGET_DEFAULT_RETURN.
3382 2014-02-19 Tom Tromey <tromey@redhat.com>
3384 * target-delegates.c: Rebuild.
3385 * target.c (update_current_target): Don't initialize
3386 to_set_trace_buffer_size.
3387 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
3388 TARGET_DEFAULT_IGNORE.
3390 2014-02-19 Tom Tromey <tromey@redhat.com>
3392 * target-delegates.c: Rebuild.
3393 * target.c (update_current_target): Don't inherit or default
3394 to_set_circular_trace_buffer.
3395 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
3396 TARGET_DEFAULT_IGNORE.
3398 2014-02-19 Tom Tromey <tromey@redhat.com>
3400 * target-delegates.c: Rebuild.
3401 * target.c (update_current_target): Don't inherit or default
3402 to_set_disconnected_tracing.
3403 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
3404 TARGET_DEFAULT_IGNORE.
3406 2014-02-19 Tom Tromey <tromey@redhat.com>
3408 * target-delegates.c: Rebuild.
3409 * target.c (update_current_target): Don't inherit or default
3410 to_get_min_fast_tracepoint_insn_len.
3411 (return_minus_one): Remove.
3412 * target.h (struct target_ops)
3413 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
3415 2014-02-19 Tom Tromey <tromey@redhat.com>
3417 * target-delegates.c: Rebuild.
3418 * target.c (update_current_target): Don't inherit or default
3419 to_get_raw_trace_data.
3420 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
3421 TARGET_DEFAULT_NORETURN.
3423 2014-02-19 Tom Tromey <tromey@redhat.com>
3425 * target-delegates.c: Rebuild.
3426 * target.c (update_current_target): Don't inherit or default
3427 to_upload_trace_state_variables.
3428 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3429 Use TARGET_DEFAULT_RETURN.
3431 2014-02-19 Tom Tromey <tromey@redhat.com>
3433 * target-delegates.c: Rebuild.
3434 * target.c (update_current_target): Don't inherit or default
3435 to_upload_tracepoints.
3436 * target.h (struct target_ops) <to_upload_tracepoints>: Use
3437 TARGET_DEFAULT_RETURN.
3439 2014-02-19 Tom Tromey <tromey@redhat.com>
3441 * target-delegates.c: Rebuild.
3442 * target.c (update_current_target): Don't inherit or default
3444 * target.h (struct target_ops) <to_save_trace_data>: Use
3445 TARGET_DEFAULT_NORETURN.
3447 2014-02-19 Tom Tromey <tromey@redhat.com>
3449 * target-delegates.c: Rebuild.
3450 * target.c (update_current_target): Don't inherit or default
3451 to_get_trace_state_variable_value.
3452 * target.h (struct target_ops)
3453 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
3455 2014-02-19 Tom Tromey <tromey@redhat.com>
3457 * target-delegates.c: Rebuild.
3458 * target.c (update_current_target): Don't inherit or default
3460 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
3462 2014-02-19 Tom Tromey <tromey@redhat.com>
3464 * target-delegates.c: Rebuild.
3465 * target.c (update_current_target): Don't inherit or default
3467 * target.h (struct target_ops) <to_trace_stop>: Use
3468 TARGET_DEFAULT_NORETURN.
3470 2014-02-19 Tom Tromey <tromey@redhat.com>
3472 * target-delegates.c: Rebuild.
3473 * target.c (update_current_target): Don't inherit or default
3474 to_get_tracepoint_status.
3475 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
3476 TARGET_DEFAULT_NORETURN.
3478 2014-02-19 Tom Tromey <tromey@redhat.com>
3480 * target-delegates.c: Rebuild.
3481 * target.c (update_current_target): Don't inherit or default
3482 to_get_trace_status.
3483 * target.h (struct target_ops) <to_get_trace_status>: Use
3484 TARGET_DEFAULT_RETURN.
3486 2014-02-19 Tom Tromey <tromey@redhat.com>
3488 * target-delegates.c: Rebuild.
3489 * target.c (update_current_target): Don't inherit or default
3491 * target.h (struct target_ops) <to_trace_start>: Use
3492 TARGET_DEFAULT_NORETURN.
3494 2014-02-19 Tom Tromey <tromey@redhat.com>
3496 * target-delegates.c: Rebuild.
3497 * target.c (update_current_target): Don't inherit or default
3498 to_trace_set_readonly_regions.
3499 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3500 Use TARGET_DEFAULT_NORETURN.
3502 2014-02-19 Tom Tromey <tromey@redhat.com>
3504 * target-delegates.c: Rebuild.
3505 * target.c (update_current_target): Don't inherit or default
3506 to_disable_tracepoint.
3507 * target.h (struct target_ops) <to_disable_tracepoint>: Use
3508 TARGET_DEFAULT_NORETURN.
3510 2014-02-19 Tom Tromey <tromey@redhat.com>
3512 * target-delegates.c: Rebuild.
3513 * target.c (update_current_target): Don't inherit or default
3514 to_enable_tracepoint.
3515 * target.h (struct target_ops) <to_enable_tracepoint>: Use
3516 TARGET_DEFAULT_NORETURN.
3518 2014-02-19 Tom Tromey <tromey@redhat.com>
3520 * target-delegates.c: Rebuild.
3521 * target.c (update_current_target): Don't inherit or default
3522 to_download_trace_state_variable.
3523 * target.h (struct target_ops) <to_download_trace_state_variable>:
3524 Use TARGET_DEFAULT_NORETURN.
3526 2014-02-19 Tom Tromey <tromey@redhat.com>
3528 * target-delegates.c: Rebuild.
3529 * target.c (update_current_target): Don't inherit or default
3530 to_can_download_tracepoint.
3531 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
3532 TARGET_DEFAULT_RETURN.
3534 2014-02-19 Tom Tromey <tromey@redhat.com>
3536 * target-delegates.c: Rebuild.
3537 * target.c (update_current_target): Don't inherit or default
3538 to_download_tracepoint.
3539 * target.h (struct target_ops) <to_download_tracepoint>: Use
3540 TARGET_DEFAULT_NORETURN.
3542 2014-02-19 Tom Tromey <tromey@redhat.com>
3544 * target-delegates.c: Rebuild.
3545 * target.c (update_current_target): Don't inherit or default
3547 * target.h (struct target_ops) <to_trace_init>: Use
3548 TARGET_DEFAULT_RETURN.
3550 2014-02-19 Tom Tromey <tromey@redhat.com>
3552 * target-delegates.c: Rebuild.
3553 * target.c (update_current_target): Don't inherit or default
3554 to_supports_string_tracing.
3555 * target.h (struct target_ops) <to_supports_string_tracing>: Use
3556 TARGET_DEFAULT_RETURN.
3558 2014-02-19 Tom Tromey <tromey@redhat.com>
3560 * target-delegates.c: Rebuild.
3561 * target.c (update_current_target): Don't inherit or default
3562 to_supports_enable_disable_tracepoint.
3563 * target.h (struct target_ops)
3564 <to_supports_enable_disable_tracepoint>: Use
3565 TARGET_DEFAULT_RETURN.
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target-delegates.c: Rebuild.
3570 * target.c (update_current_target): Don't inherit or default
3571 to_supports_multi_process.
3572 * target.h (struct target_ops) <to_supports_multi_process>: Use
3573 TARGET_DEFAULT_RETURN.
3575 2014-02-19 Tom Tromey <tromey@redhat.com>
3577 * target-delegates.c: Rebuild.
3578 * target.c (update_current_target): Don't inherit or default
3579 to_get_ada_task_ptid.
3580 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
3581 TARGET_DEFAULT_FUNC.
3583 2014-02-19 Tom Tromey <tromey@redhat.com>
3585 * target-delegates.c: Rebuild.
3586 * target.c (update_current_target): Don't inherit or default
3587 to_thread_architecture.
3588 * target.h (struct target_ops) <to_thread_architecture>: Use
3589 TARGET_DEFAULT_FUNC.
3591 2014-02-19 Tom Tromey <tromey@redhat.com>
3593 * target-delegates.c: Rebuild.
3594 * target.c (update_current_target): Don't inherit or default
3595 to_execution_direction.
3596 * target.h (struct target_ops) <to_execution_direction>: Use
3597 TARGET_DEFAULT_FUNC.
3599 2014-02-19 Tom Tromey <tromey@redhat.com>
3601 * target-delegates.c: Rebuild.
3602 * target.c (update_current_target): Don't inherit or default
3603 to_can_execute_reverse.
3604 * target.h (struct target_ops) <to_can_execute_reverse>: Use
3605 TARGET_DEFAULT_RETURN.
3606 (target_can_execute_reverse): Unconditionally delegate.
3608 2014-02-19 Tom Tromey <tromey@redhat.com>
3610 * target-delegates.c: Rebuild.
3611 * target.c (update_current_target): Don't inherit or default
3613 (dummy_goto_bookmark): Remove.
3614 (init_dummy_target): Don't inherit or default to_goto_bookmark.
3615 * target.h (struct target_ops) <to_goto_bookmark>: Use
3616 TARGET_DEFAULT_NORETURN.
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3620 * target-delegates.c: Rebuild.
3621 * target.c (update_current_target): Don't inherit or default
3623 (dummy_get_bookmark): Remove.
3624 (init_dummy_target): Don't inherit or default to_get_bookmark.
3625 * target.h (struct target_ops) <to_get_bookmark>: Use
3626 TARGET_DEFAULT_NORETURN
3628 2014-02-19 Tom Tromey <tromey@redhat.com>
3630 * target-delegates.c: Rebuild.
3631 * target.c (update_current_target): Don't inherit or default
3632 to_make_corefile_notes.
3633 (init_dummy_target): Don't initialize to_make_corefile_notes.
3634 * target.h (struct target_ops) <to_make_corefile_notes>: Use
3635 TARGET_DEFAULT_FUNC.
3637 2014-02-19 Tom Tromey <tromey@redhat.com>
3639 * target-delegates.c: Rebuild.
3640 * target.c (update_current_target): Don't inherit or default
3641 to_find_memory_regions.
3642 (init_dummy_target): Don't initialize to_find_memory_regions.
3643 * target.h (struct target_ops) <to_find_memory_regions>: Use
3644 TARGET_DEFAULT_FUNC.
3646 2014-02-19 Tom Tromey <tromey@redhat.com>
3648 * target-delegates.c: Rebuild.
3649 * target.c (update_current_target): Don't inherit or default
3651 * target.h (struct target_ops) <to_log_command>: Use
3652 TARGET_DEFAULT_IGNORE.
3653 (target_log_command): Unconditionally delegate.
3655 2014-02-19 Tom Tromey <tromey@redhat.com>
3657 * target-delegates.c: Rebuild.
3658 * target.c (update_current_target): Don't inherit or default
3659 to_pid_to_exec_file.
3660 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3661 TARGET_DEFAULT_RETURN.
3663 2014-02-19 Tom Tromey <tromey@redhat.com>
3665 * target-delegates.c: Rebuild.
3666 * target.c (update_current_target): Don't inherit or default
3668 (target_thread_name): Unconditionally delegate.
3669 * target.h (struct target_ops) <to_thread_name>: Use
3670 TARGET_DEFAULT_RETURN.
3672 2014-02-19 Tom Tromey <tromey@redhat.com>
3674 * target-delegates.c: Rebuild.
3675 * target.c (update_current_target): Don't inherit or default
3676 to_extra_thread_info.
3677 * target.h (struct target_ops) <to_extra_thread_info>: Use
3678 TARGET_DEFAULT_RETURN.
3680 2014-02-19 Tom Tromey <tromey@redhat.com>
3682 * target-delegates.c: Rebuild.
3683 * target.c (update_current_target): Don't inherit or default
3685 * target.h (struct target_ops) <to_has_exited>: Use
3686 TARGET_DEFAULT_RETURN..
3688 2014-02-19 Tom Tromey <tromey@redhat.com>
3690 * target-delegates.c: Rebuild.
3691 * target.c (update_current_target): Don't inherit or default
3692 to_set_syscall_catchpoint.
3693 (return_one): Remove.
3694 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3695 TARGET_DEFAULT_RETURN.
3697 2014-02-19 Tom Tromey <tromey@redhat.com>
3699 * target-delegates.c: Rebuild.
3700 * target.c (update_current_target): Don't inherit or default
3701 to_insert_exec_catchpoint.
3702 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3703 TARGET_DEFAULT_RETURN.
3705 2014-01-08 Tom Tromey <tromey@redhat.com>
3707 * target-delegates.c: Rebuild.
3708 * target.c (update_current_target): Don't inherit or default
3709 to_insert_exec_catchpoint.
3710 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3711 TARGET_DEFAULT_RETURN.
3713 2014-02-19 Tom Tromey <tromey@redhat.com>
3715 * target-delegates.c: Rebuild.
3716 * target.c (update_current_target): Don't inherit or default
3717 to_remove_vfork_catchpoint.
3718 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
3719 TARGET_DEFAULT_RETURN.
3721 2014-02-19 Tom Tromey <tromey@redhat.com>
3723 * target-delegates.c: Rebuild.
3724 * target.c (update_current_target): Don't inherit or default
3725 to_insert_vfork_catchpoint.
3726 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
3727 TARGET_DEFAULT_RETURN.
3729 2014-02-19 Tom Tromey <tromey@redhat.com>
3731 * target-delegates.c: Rebuild.
3732 * target.c (update_current_target): Don't inherit or default
3733 to_remove_fork_catchpoint.
3734 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
3735 TARGET_DEFAULT_RETURN.
3737 2014-02-19 Tom Tromey <tromey@redhat.com>
3739 * target-delegates.c: Rebuild.
3740 * target.c (update_current_target): Don't inherit or default
3741 to_insert_fork_catchpoint.
3742 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3743 TARGET_DEFAULT_RETURN.
3745 2014-02-19 Tom Tromey <tromey@redhat.com>
3747 * target-delegates.c: Rebuild.
3748 * target.c (update_current_target): Don't inherit or default
3749 to_post_startup_inferior.
3750 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3751 TARGET_DEFAULT_IGNORE.
3753 2014-02-19 Tom Tromey <tromey@redhat.com>
3755 * target-delegates.c: Rebuild.
3756 * target.c (update_current_target): Don't inherit or default
3758 * target.h (struct target_ops) <to_load>: Use
3759 TARGET_DEFAULT_NORETURN.
3761 2014-02-19 Tom Tromey <tromey@redhat.com>
3763 * target-delegates.c: Rebuild.
3764 * target.c (update_current_target): Don't inherit or default
3766 * target.h (struct target_ops) <to_terminal_info>: Use
3767 TARGET_DEFAULT_FUNC.
3769 2014-02-19 Tom Tromey <tromey@redhat.com>
3771 * target-delegates.c: Rebuild.
3772 * target.c (update_current_target): Don't inherit or default
3773 to_terminal_save_ours.
3774 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3775 TARGET_DEFAULT_IGNORE.
3777 2014-02-19 Tom Tromey <tromey@redhat.com>
3779 * target-delegates.c: Rebuild.
3780 * target.c (update_current_target): Don't inherit or default
3782 * target.h (struct target_ops) <to_terminal_ours>: Use
3783 TARGET_DEFAULT_IGNORE.
3785 2014-02-19 Tom Tromey <tromey@redhat.com>
3787 * target-delegates.c: Rebuild.
3788 * target.c (update_current_target): Don't inherit or default
3789 to_terminal_ours_for_output.
3790 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3791 TARGET_DEFAULT_IGNORE.
3793 2014-02-19 Tom Tromey <tromey@redhat.com>
3795 * target-delegates.c: Rebuild.
3796 * target.c (update_current_target): Don't inherit or default
3797 to_terminal_inferior.
3798 * target.h (struct target_ops) <to_terminal_inferior>: Use
3799 TARGET_DEFAULT_IGNORE.
3801 2014-02-19 Tom Tromey <tromey@redhat.com>
3803 * target-delegates.c: Rebuild.
3804 * target.c (update_current_target): Don't inherit or default
3806 * target.h (struct target_ops) <to_terminal_init>: Use
3807 TARGET_DEFAULT_IGNORE.
3809 2014-02-19 Tom Tromey <tromey@redhat.com>
3811 * target-delegates.c: Rebuild.
3812 * target.c (update_current_target): Don't inherit or default
3813 to_can_accel_watchpoint_condition.
3814 * target.h (struct target_ops)
3815 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3817 2014-02-19 Tom Tromey <tromey@redhat.com>
3819 * target-delegates.c: Rebuild.
3820 * target.c (update_current_target): Don't inherit or default
3821 to_region_ok_for_hw_watchpoint.
3822 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3823 Use TARGET_DEFAULT_FUNC.
3825 2014-02-19 Tom Tromey <tromey@redhat.com>
3827 * target-delegates.c: Rebuild.
3828 * target.c (update_current_target): Don't inherit or default
3829 to_watchpoint_addr_within_range.
3830 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3831 Use TARGET_DEFAULT_FUNC.
3833 2014-02-19 Tom Tromey <tromey@redhat.com>
3835 * target-delegates.c: Rebuild.
3836 * target.c (update_current_target): Don't inherit or default
3837 to_remove_watchpoint.
3838 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3839 TARGET_DEFAULT_NORETURN.
3841 2014-02-19 Tom Tromey <tromey@redhat.com>
3843 * target-delegates.c: Rebuild.
3844 * target.c (update_current_target): Don't inherit or default
3845 to_insert_watchpoint.
3846 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3847 TARGET_DEFAULT_RETURN.
3849 2014-02-19 Tom Tromey <tromey@redhat.com>
3851 * target-delegates.c: Rebuild.
3852 * target.c (update_current_target): Don't inherit or default
3853 to_remove_hw_breakpoint.
3854 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3855 TARGET_DEFAULT_RETURN.
3857 2014-02-19 Tom Tromey <tromey@redhat.com>
3859 * target-delegates.c: Rebuild.
3860 * target.c (update_current_target): Don't inherit or default
3861 to_insert_hw_breakpoint.
3862 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3863 TARGET_DEFAULT_RETURN.
3865 2014-02-19 Tom Tromey <tromey@redhat.com>
3867 * target-delegates.c: Rebuild.
3868 * target.c (update_current_target): Don't inherit or default
3869 to_can_use_hw_breakpoint.
3870 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3871 TARGET_DEFAULT_RETURN.
3873 2014-02-19 Tom Tromey <tromey@redhat.com>
3875 * target-delegates.c: Rebuild.
3876 * target.c (update_current_target): Don't inherit or default
3878 * target.h (struct target_ops) <to_files_info>: Use
3879 TARGET_DEFAULT_IGNORE.
3881 2014-02-19 Tom Tromey <tromey@redhat.com>
3883 * target-delegates.c: Rebuild.
3884 * target.c (update_current_target): Don't inherit or default
3886 * target.h (struct target_ops) <to_store>: Use
3887 TARGET_DEFAULT_NORETURN.
3889 2014-02-19 Tom Tromey <tromey@redhat.com>
3891 * target-delegates.c: Rebuild.
3892 * target.c (update_current_target): Don't inherit or default
3894 * target.h (struct target_ops) <to_post_attach>: Use
3895 TARGET_DEFAULT_IGNORE.
3897 2014-02-19 Tom Tromey <tromey@redhat.com>
3899 * target-delegates.c: Rebuild.
3900 * target.c (update_current_target): Don't inherit or default
3902 (default_rcmd): New function.
3903 (do_monitor_command): Unconditionally delegate.
3904 * target.h (struct target_ops) <to_rmcd>: Use
3905 TARGET_DEFAULT_FUNC.
3907 2014-02-19 Tom Tromey <tromey@redhat.com>
3909 * target-delegates.c: Rebuild.
3910 * target.c (init_dummy_target): Don't initialize to_attach.
3911 (target_attach): Unconditionally delegate.
3912 * target.h (struct target_ops) <to_attach>: Use
3913 TARGET_DEFAULT_FUNC.
3915 2014-02-19 Tom Tromey <tromey@redhat.com>
3917 * target-delegates.c: Rebuild.
3918 * target.c (target_detach): Unconditionally delegate.
3919 (init_dummy_target): Don't initialize to_detach.
3920 * target.h (struct target_ops) <to_detach>: Use
3921 TARGET_DEFAULT_IGNORE.
3923 2014-02-19 Tom Tromey <tromey@redhat.com>
3925 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3927 (target_augmented_libraries_svr4_read): Add argument.
3928 * target.c (update_current_target): Update.
3929 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3932 2014-02-19 Tom Tromey <tromey@redhat.com>
3934 * target.h (struct target_ops) <to_call_history_range>: Add
3936 * target.c (target_call_history_range): Add argument.
3937 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3939 (record_btrace_call_history_from): Update.
3941 2014-02-19 Tom Tromey <tromey@redhat.com>
3943 * target.h (struct target_ops) <to_call_history_from>: Add
3945 * target.c (target_call_history_from): Add argument.
3946 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3949 2014-02-19 Tom Tromey <tromey@redhat.com>
3951 * target.h (struct target_ops) <to_call_history>: Add argument.
3952 * target.c (target_call_history): Add argument.
3953 * record-btrace.c (record_btrace_call_history): Add 'self'
3956 2014-02-19 Tom Tromey <tromey@redhat.com>
3958 * target.h (struct target_ops) <to_insn_history_range>: Add
3960 * target.c (target_insn_history_range): Add argument.
3961 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3963 (record_btrace_insn_history_from): Update.
3965 2014-02-19 Tom Tromey <tromey@redhat.com>
3967 * target.h (struct target_ops) <to_insn_history_from>: Add
3969 * target.c (target_insn_history_from): Add argument.
3970 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3973 2014-02-19 Tom Tromey <tromey@redhat.com>
3975 * target.h (struct target_ops) <to_insn_history>: Add argument.
3976 * target.c (target_insn_history): Add argument.
3977 * record-btrace.c (record_btrace_insn_history): Add 'self'
3980 2014-02-19 Tom Tromey <tromey@redhat.com>
3982 * target.h (struct target_ops) <to_goto_record>: Add argument.
3983 * target.c (target_goto_record): Add argument.
3984 * record-full.c (record_full_goto): Add 'self' argument.
3985 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3987 2014-02-19 Tom Tromey <tromey@redhat.com>
3989 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3990 * target.c (target_goto_record_end): Add argument.
3991 * record-full.c (record_full_goto_end): Add 'self' argument.
3992 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3994 2014-02-19 Tom Tromey <tromey@redhat.com>
3996 * target.h (struct target_ops) <to_goto_record_begin>: Add
3998 * target.c (target_goto_record_begin): Add argument.
3999 * record-full.c (record_full_goto_begin): Add 'self' argument.
4000 * record-btrace.c (record_btrace_goto_begin): Add 'self'
4003 2014-02-19 Tom Tromey <tromey@redhat.com>
4005 * target.h (struct target_ops) <to_record_is_replaying>: Add
4007 * target.c (target_record_is_replaying): Add argument.
4008 * record-full.c (record_full_is_replaying): Add 'self' argument.
4009 * record-btrace.c (record_btrace_is_replaying): Add 'self'
4011 (record_btrace_xfer_partial, record_btrace_store_registers)
4012 (record_btrace_prepare_to_store, record_btrace_resume)
4013 (record_btrace_wait, record_btrace_decr_pc_after_break)
4014 (record_btrace_find_new_threads, record_btrace_thread_alive):
4017 2014-02-19 Tom Tromey <tromey@redhat.com>
4019 * target.h (struct target_ops) <to_delete_record>: Add argument.
4020 * target.c (target_delete_record): Add argument.
4021 * record-full.c (record_full_delete): Add 'self' argument.
4023 2014-02-19 Tom Tromey <tromey@redhat.com>
4025 * target.h (struct target_ops) <to_save_record>: Add argument.
4026 * target.c (target_save_record): Add argument.
4027 * record-full.c (record_full_save): Add 'self' argument.
4028 (record_full_save): Add 'self' argument.
4030 2014-02-19 Tom Tromey <tromey@redhat.com>
4032 * target.h (struct target_ops) <to_info_record>: Add argument.
4033 * target.c (target_info_record): Add argument.
4034 * record.c (info_record_command): Add argument.
4035 * record-full.c (record_full_info): Add 'self' argument.
4036 * record-btrace.c (record_btrace_info): Add 'self' argument.
4038 2014-02-19 Tom Tromey <tromey@redhat.com>
4040 * target.h (struct target_ops) <to_stop_recording>: Add argument.
4041 * target.c (target_stop_recording): Add argument.
4042 * record.c (record_stop): Add argument.
4043 * record-btrace.c (record_btrace_stop_recording): Add 'self'
4046 2014-02-19 Tom Tromey <tromey@redhat.com>
4048 * target.h (struct target_ops) <to_read_btrace>: Add argument.
4049 * target.c (struct target_ops) <to_read_btrace>: Add argument.
4050 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
4052 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
4053 (_initialize_amd64_linux_nat): Use it.
4054 * i386-linux-nat.c (i386_linux_read_btrace): New function.
4055 (_initialize_i386_linux_nat): Use it.
4057 2014-02-19 Tom Tromey <tromey@redhat.com>
4059 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4060 * target.c (target_teardown_btrace): Add argument.
4061 * remote.c (remote_teardown_btrace): Add 'self' argument.
4062 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
4064 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
4067 2014-02-19 Tom Tromey <tromey@redhat.com>
4069 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
4070 * target.c (target_disable_btrace): Add argument.
4071 * remote.c (remote_disable_btrace): Add 'self' argument.
4072 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
4074 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
4077 2014-02-19 Tom Tromey <tromey@redhat.com>
4079 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
4080 * target.c (target_enable_btrace): Add argument.
4081 * remote.c (remote_enable_btrace): Add 'self' argument.
4082 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
4084 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
4087 2014-02-19 Tom Tromey <tromey@redhat.com>
4089 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
4090 (target_can_use_agent): Add argument.
4091 * target.c (update_current_target): Update.
4092 * remote.c (remote_can_use_agent): Add 'self' argument.
4093 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
4095 2014-02-19 Tom Tromey <tromey@redhat.com>
4097 * target.h (struct target_ops) <to_use_agent>: Add argument.
4098 (target_use_agent): Add argument.
4099 * target.c (update_current_target): Update.
4100 * remote.c (remote_use_agent): Add 'self' argument.
4101 * inf-child.c (inf_child_use_agent): Add 'self' argument.
4103 2014-02-19 Tom Tromey <tromey@redhat.com>
4105 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
4106 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
4107 (target_traceframe_info): Add argument.
4108 * target.c (update_current_target): Update.
4109 * remote.c (remote_traceframe_info): Add 'self' argument.
4110 * ctf.c (ctf_traceframe_info): Add 'self' argument.
4112 2014-02-19 Tom Tromey <tromey@redhat.com>
4114 * target.h (target_static_tracepoint_markers_by_strid): Add
4116 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
4118 * target.c (update_current_target): Update.
4119 * remote.c (struct target_ops)
4120 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4121 * linux-nat.c (struct target_ops)
4122 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4124 2014-02-19 Tom Tromey <tromey@redhat.com>
4126 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4128 (target_static_tracepoint_marker_at): Add argument.
4129 * target.c (update_current_target): Update.
4130 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
4133 2014-02-19 Tom Tromey <tromey@redhat.com>
4135 * target.h (struct target_ops) <to_set_permissions>: Add argument.
4136 (target_set_permissions): Add argument.
4137 * target.c (update_current_target): Update.
4138 * remote.c (remote_set_permissions): Add 'self' argument.
4139 (remote_start_remote): Update.
4141 2014-02-19 Tom Tromey <tromey@redhat.com>
4143 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
4144 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
4145 (target_get_tib_address): Add argument.
4146 * target.c (update_current_target): Update.
4147 * remote.c (remote_get_tib_address): Add 'self' argument.
4149 2014-02-19 Tom Tromey <tromey@redhat.com>
4151 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
4152 (target_set_trace_notes): Add argument.
4153 * target.c (update_current_target): Update.
4154 * remote.c (remote_set_trace_notes): Add 'self' argument.
4156 2014-02-19 Tom Tromey <tromey@redhat.com>
4158 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
4160 (target_set_trace_buffer_size): Add argument.
4161 * target.c (update_current_target): Update.
4162 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
4164 2014-02-19 Tom Tromey <tromey@redhat.com>
4166 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
4168 (target_set_circular_trace_buffer): Add argument.
4169 * target.c (update_current_target): Update.
4170 * remote.c (remote_set_circular_trace_buffer): Add 'self'
4173 2014-02-19 Tom Tromey <tromey@redhat.com>
4175 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
4177 (target_set_disconnected_tracing): Add argument.
4178 * target.c (update_current_target): Update.
4179 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
4181 2014-02-19 Tom Tromey <tromey@redhat.com>
4183 * target.h (struct target_ops)
4184 <to_get_min_fast_tracepoint_insn_len>: Add argument.
4185 (target_get_min_fast_tracepoint_insn_len): Add argument.
4186 * target.c (update_current_target): Update.
4187 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
4190 2014-02-19 Tom Tromey <tromey@redhat.com>
4192 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
4194 (target_get_raw_trace_data): Add argument.
4195 * target.c (update_current_target): Update.
4196 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
4198 2014-02-19 Tom Tromey <tromey@redhat.com>
4200 * target.h (struct target_ops) <to_upload_trace_state_variables>:
4202 (target_upload_trace_state_variables): Add argument.
4203 * target.c (update_current_target): Update.
4204 * remote.c (remote_upload_trace_state_variables): Add 'self'
4206 (remote_start_remote): Update.
4208 2014-02-19 Tom Tromey <tromey@redhat.com>
4210 * target.h (struct target_ops) <to_upload_tracepoints>: Add
4212 (target_upload_tracepoints): Add argument.
4213 * target.c (update_current_target): Update.
4214 * remote.c (remote_upload_tracepoints): Add 'self' argument.
4215 (remote_start_remote): Update.
4217 2014-02-19 Tom Tromey <tromey@redhat.com>
4219 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
4220 (target_save_trace_data): Add argument.
4221 * target.c (update_current_target): Update.
4222 * remote.c (remote_save_trace_data): Add 'self' argument.
4224 2014-02-19 Tom Tromey <tromey@redhat.com>
4226 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
4228 * target.h (struct target_ops)
4229 <to_get_trace_state_variable_value>: Add argument.
4230 (target_get_trace_state_variable_value): Add argument.
4231 * target.c (update_current_target): Update.
4232 * remote.c (remote_get_trace_state_variable_value): Add 'self'
4234 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
4236 2014-02-19 Tom Tromey <tromey@redhat.com>
4238 * tracepoint.c (tfile_trace_find): Add 'self' argument.
4239 * target.h (struct target_ops) <to_trace_find>: Add argument.
4240 (target_trace_find): Add argument.
4241 * target.c (update_current_target): Update.
4242 * remote.c (remote_trace_find): Add 'self' argument.
4243 * ctf.c (ctf_trace_find): Add 'self' argument.
4245 2014-02-19 Tom Tromey <tromey@redhat.com>
4247 * target.h (struct target_ops) <to_trace_stop>: Add argument.
4248 (target_trace_stop): Add argument.
4249 * target.c (update_current_target): Update.
4250 * remote.c (remote_trace_stop): Add 'self' argument.
4252 2014-02-19 Tom Tromey <tromey@redhat.com>
4254 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
4255 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
4257 (target_get_tracepoint_status): Add argument.
4258 * target.c (update_current_target): Update.
4259 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
4261 2014-02-19 Tom Tromey <tromey@redhat.com>
4263 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
4264 * target.h (struct target_ops) <to_get_trace_status>: Add
4266 (target_get_trace_status): Add argument.
4267 * target.c (update_current_target): Update.
4268 * remote.c (remote_get_trace_status): Add 'self' argument.
4269 (remote_start_remote, remote_can_download_tracepoint): Update.
4270 * ctf.c (ctf_get_trace_status): Add 'self' argument.
4272 2014-02-19 Tom Tromey <tromey@redhat.com>
4274 * target.h (struct target_ops) <to_trace_start>: Add argument.
4275 (target_trace_start): Add argument.
4276 * target.c (update_current_target): Update.
4277 * remote.c (remote_trace_start): Add 'self' argument.
4279 2014-02-19 Tom Tromey <tromey@redhat.com>
4281 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4283 (target_trace_set_readonly_regions): Add argument.
4284 * target.c (update_current_target): Update.
4285 * remote.c (remote_trace_set_readonly_regions): Add 'self'
4288 2014-02-19 Tom Tromey <tromey@redhat.com>
4290 * target.h (struct target_ops) <to_disable_tracepoint>: Add
4292 (target_disable_tracepoint): Add argument.
4293 * target.c (update_current_target): Update.
4294 * remote.c (remote_disable_tracepoint): Add 'self' argument.
4296 2014-02-19 Tom Tromey <tromey@redhat.com>
4298 * target.h (struct target_ops) <to_enable_tracepoint>: Add
4300 (target_enable_tracepoint): Add argument.
4301 * target.c (update_current_target): Update.
4302 * remote.c (remote_enable_tracepoint): Add 'self' argument.
4304 2014-02-19 Tom Tromey <tromey@redhat.com>
4306 * target.h (struct target_ops) <to_download_trace_state_variable>:
4308 (target_download_trace_state_variable): Add argument.
4309 * target.c (update_current_target): Update.
4310 * remote.c (remote_download_trace_state_variable): Add 'self'
4313 2014-02-19 Tom Tromey <tromey@redhat.com>
4315 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
4317 (target_can_download_tracepoint): Add argument.
4318 * target.c (update_current_target): Update.
4319 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
4321 2014-02-19 Tom Tromey <tromey@redhat.com>
4323 * target.h (struct target_ops) <to_download_tracepoint>: Add
4325 (target_download_tracepoint): Add argument.
4326 * target.c (update_current_target): Update.
4327 * remote.c (remote_download_tracepoint): Add 'self' argument.
4329 2014-02-19 Tom Tromey <tromey@redhat.com>
4331 * target.h (struct target_ops) <to_trace_init>: Add argument.
4332 (target_trace_init): Add argument.
4333 * target.c (update_current_target): Update.
4334 * remote.c (remote_trace_init): Add 'self' argument.
4336 2014-02-19 Tom Tromey <tromey@redhat.com>
4338 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
4339 * target.c (target_fileio_readlink): Add argument.
4340 * remote.c (remote_hostio_readlink): Add 'self' argument.
4341 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
4343 2014-02-19 Tom Tromey <tromey@redhat.com>
4345 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
4346 * target.c (target_fileio_unlink): Add argument.
4347 * remote.c (remote_hostio_unlink): Add 'self' argument.
4348 (remote_file_delete): Update.
4349 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
4351 2014-02-19 Tom Tromey <tromey@redhat.com>
4353 * target.h (struct target_ops) <to_fileio_close>: Add argument.
4354 * target.c (target_fileio_close): Add argument.
4355 * remote.c (remote_hostio_close): Add 'self' argument.
4356 (remote_hostio_close_cleanup): Update.
4357 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
4359 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
4361 2014-02-19 Tom Tromey <tromey@redhat.com>
4363 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
4364 * target.c (target_fileio_pread): Add argument.
4365 * remote.c (remote_hostio_pread): Add 'self' argument.
4366 (remote_bfd_iovec_pread, remote_file_get): Update.
4367 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
4369 2014-02-19 Tom Tromey <tromey@redhat.com>
4371 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
4372 * target.c (target_fileio_pwrite): Add argument.
4373 * remote.c (remote_hostio_pwrite): Add 'self' argument.
4374 (remote_file_put): Update.
4375 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
4377 2014-02-19 Tom Tromey <tromey@redhat.com>
4379 * target.h (struct target_ops) <to_fileio_open>: Add argument.
4380 * target.c (target_fileio_open): Add argument.
4381 * remote.c (remote_hostio_open): Add 'self' argument.
4382 (remote_bfd_iovec_open): Add 'self' argument.
4383 (remote_file_put): Add 'self' argument.
4384 (remote_file_get): Add 'self' argument.
4385 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
4387 2014-02-19 Tom Tromey <tromey@redhat.com>
4389 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4391 (target_can_run_breakpoint_commands): Add argument.
4392 * target.c (update_current_target): Update.
4393 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
4395 (remote_insert_breakpoint): Add 'self' argument.
4396 (remote_insert_hw_breakpoint): Add 'self' argument.
4397 (remote_can_run_breakpoint_commands): Add 'self' argument.
4399 2014-02-19 Tom Tromey <tromey@redhat.com>
4401 * target.h (struct target_ops)
4402 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
4403 (target_supports_evaluation_of_breakpoint_conditions): Add
4405 * target.c (update_current_target): Update.
4406 * remote.c (remote_supports_cond_breakpoints): Add 'self'
4408 (remote_insert_breakpoint): Add 'self' argument.
4409 (remote_insert_hw_breakpoint): Add 'self' argument.
4410 (remote_supports_cond_breakpoints): Add 'self' argument.
4412 2014-02-19 Tom Tromey <tromey@redhat.com>
4414 * target.h (struct target_ops) <to_supports_string_tracing>: Add
4416 (target_supports_string_tracing): Add argument.
4417 * target.c (update_current_target): Update.
4418 * remote.c (remote_supports_string_tracing): Add 'self' argument.
4420 2014-02-19 Tom Tromey <tromey@redhat.com>
4422 * target.h (struct target_ops)
4423 <to_supports_disable_randomization>: Add argument.
4424 * target.c (find_default_supports_disable_randomization): Add
4426 (target_supports_disable_randomization): Add argument.
4427 (find_default_supports_disable_randomization): Add 'self'
4429 * remote.c (extended_remote_supports_disable_randomization): Add
4431 (remote_supports_disable_randomization): Add 'self' argument.
4432 (extended_remote_create_inferior): Update.
4433 * linux-nat.c (linux_nat_supports_disable_randomization): Add
4436 2014-02-19 Tom Tromey <tromey@redhat.com>
4438 * target.h (struct target_ops)
4439 <to_supports_enable_disable_tracepoint>: Add argument.
4440 (target_supports_enable_disable_tracepoint): Add argument.
4441 * target.c (update_current_target): Update.
4442 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
4445 2014-02-19 Tom Tromey <tromey@redhat.com>
4447 * target.h (struct target_ops) <to_supports_multi_process>: Add
4449 (target_supports_multi_process): Add argument.
4450 * target.c (update_current_target): Update.
4451 * remote.c (remote_supports_multi_process): Add 'self' argument.
4452 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
4454 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
4457 2014-02-19 Tom Tromey <tromey@redhat.com>
4459 * target.h (struct target_ops) <to_execution_direction>: Add
4461 (target_execution_direction): Add argument.
4462 * target.c (default_execution_direction): Add 'self' argument.
4463 * record-full.c (record_full_execution_direction): Add 'self'
4466 2014-02-19 Tom Tromey <tromey@redhat.com>
4468 * target.h (struct target_ops) <to_can_execute_reverse>: Add
4470 (target_can_execute_reverse): Add argument.
4471 * remote.c (remote_can_execute_reverse): Add 'self' argument.
4472 * record-full.c (record_full_can_execute_reverse): Add 'self'
4474 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
4477 2014-02-19 Tom Tromey <tromey@redhat.com>
4479 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
4480 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
4482 (target_get_ada_task_ptid): Add argument.
4483 * target.c (update_current_target): Update.
4484 (default_get_ada_task_ptid): Add 'self' argument.
4485 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
4486 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
4487 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
4489 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
4491 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
4493 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
4495 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
4496 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
4499 2014-02-19 Tom Tromey <tromey@redhat.com>
4501 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
4502 (target_goto_bookmark): Add argument.
4503 * target.c (dummy_goto_bookmark): Add 'self' argument.
4504 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
4506 2014-02-19 Tom Tromey <tromey@redhat.com>
4508 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
4509 (target_get_bookmark): Add argument.
4510 * target.c (dummy_get_bookmark): Add 'self' argument.
4511 * record-full.c (record_full_get_bookmark): Add 'self' argument.
4513 2014-02-19 Tom Tromey <tromey@redhat.com>
4515 * target.h (struct target_ops) <to_make_corefile_notes>: Add
4517 (target_make_corefile_notes): Add argument.
4518 * target.c (dummy_make_corefile_notes): Add 'self' argument.
4519 * procfs.c (procfs_make_note_section): Add 'self' argument.
4520 (procfs_make_note_section): Add 'self' argument.
4521 (procfs_make_note_section): Add 'self' argument.
4522 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
4524 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
4525 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
4526 * exec.c (exec_make_note_section): Add 'self' argument.
4527 (exec_make_note_section): Add 'self' argument.
4529 2014-02-19 Tom Tromey <tromey@redhat.com>
4531 * target.h (struct target_ops) <to_find_memory_regions>: Add
4533 (target_find_memory_regions): Add argument.
4534 * target.c (dummy_find_memory_regions): Add 'self' argument.
4535 * procfs.c (proc_find_memory_regions): Add 'self' argument.
4536 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
4537 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
4538 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
4539 * exec. (exec_do_find_memory_regions): New global.
4540 (exec_set_find_memory_regions): Rewrite.
4541 (exec_find_memory_regions): New function.
4542 (init_exec_ops): Use exec_find_memory_regions.
4544 2014-02-19 Tom Tromey <tromey@redhat.com>
4546 * target.h (struct target_ops) <to_supports_non_stop>: Add
4548 * target.c (find_default_supports_non_stop): Add argument.
4549 (target_supports_non_stop): Add argument.
4550 (find_default_supports_non_stop): Add 'self' argument.
4551 * remote.c (remote_supports_non_stop): Add 'self' argument.
4552 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
4554 2014-02-19 Tom Tromey <tromey@redhat.com>
4556 * target.h (struct target_ops) <to_log_command>: Add argument.
4557 (target_log_command): Add argument.
4558 * serial.h (serial_log_command): Add 'self' argument.
4559 * serial.c (serial_log_command): Add 'self' argument.
4561 2014-02-19 Tom Tromey <tromey@redhat.com>
4563 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
4564 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
4566 (target_pid_to_exec_file): Add argument.
4567 * target.c (debug_to_pid_to_exec_file): Add argument.
4568 (update_current_target): Update.
4569 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
4570 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
4571 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
4572 (linux_handle_extended_wait): Update.
4573 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
4574 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
4575 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
4576 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
4578 2014-02-19 Tom Tromey <tromey@redhat.com>
4580 * target.h (struct target_ops) <to_rcmd>: Add argument.
4581 (target_rcmd): Add argument.
4582 * target.c (debug_to_rcmd): Add argument.
4583 (update_current_target, do_monitor_command): Update.
4584 * remote.c (remote_rcmd): Add 'self' argument.
4585 * monitor.c (monitor_rcmd): Add 'self' argument.
4587 2014-02-19 Tom Tromey <tromey@redhat.com>
4589 * windows-nat.c (windows_stop): Add 'self' argument.
4590 * target.h (struct target_ops) <to_stop>: Add argument.
4591 * target.c (target_stop): Add argument.
4592 (debug_to_stop): Add argument.
4593 (update_current_target): Update.
4594 * remote.c (remote_stop): Add 'self' argument.
4595 * remote-sim.c (gdbsim_stop): Add 'self' argument.
4596 (gdbsim_cntrl_c): Update.
4597 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
4598 * procfs.c (procfs_stop): Add 'self' argument.
4599 * nto-procfs.c (procfs_stop): Add 'self' argument.
4600 * monitor.c (monitor_stop): Add 'self' argument.
4601 (monitor_open): Update.
4602 * linux-nat.c (linux_nat_stop): Add argument.
4603 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
4604 * gnu-nat.c (gnu_stop): Add 'self' argument.
4605 * darwin-nat.c (darwin_stop): Add 'self' argument.
4607 2014-02-19 Tom Tromey <tromey@redhat.com>
4609 * target.h (struct target_ops) <to_thread_name>: Add argument.
4610 * target.c (target_thread_name): Add argument.
4611 (update_current_target): Update.
4612 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4614 2014-02-19 Tom Tromey <tromey@redhat.com>
4616 * target.h (struct target_ops) <to_extra_thread_info>: Add
4618 (target_extra_thread_info): Add argument.
4619 * target.c (update_current_target): Update.
4620 * remote.c (remote_threads_extra_info): Add 'self' argument.
4621 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4623 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4624 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4625 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4627 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4629 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4631 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4634 2014-02-19 Tom Tromey <tromey@redhat.com>
4636 * target.h (struct target_ops) <to_program_signals>: Add argument.
4637 * target.c (target_program_signals): Add argument.
4638 * remote.c (remote_program_signals): Add 'self' argument.
4640 2014-02-19 Tom Tromey <tromey@redhat.com>
4642 * target.h (struct target_ops) <to_pass_signals>: Add argument.
4643 * target.c (target_pass_signals): Add argument.
4644 * remote.c (remote_pass_signals): Add 'self' argument.
4645 (remote_start_remote): Update.
4646 * procfs.c (procfs_pass_signals): Add 'self' argument.
4647 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4648 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4649 (linux_nat_create_inferior, linux_nat_attach): Update.
4651 2014-02-19 Tom Tromey <tromey@redhat.com>
4653 * windows-nat.c (windows_can_run): Add 'self' argument.
4654 * target.h (struct target_ops) <to_can_run>: Add argument.
4655 (target_can_run): Add argument.
4656 * target.c (debug_to_can_run): Add argument.
4657 (update_current_target): Update.
4658 * nto-procfs.c (procfs_can_run): Add 'self' argument.
4659 * inf-child.c (inf_child_can_run): Add 'self' argument.
4660 * go32-nat.c (go32_can_run): Add 'self' argument.
4662 2014-02-19 Tom Tromey <tromey@redhat.com>
4664 * target.h (struct target_ops) <to_has_exited>: Add argument.
4665 (target_has_exited): Add argument.
4666 * target.c (debug_to_has_exited): Add argument.
4667 (update_current_target): Update.
4669 2014-02-19 Tom Tromey <tromey@redhat.com>
4671 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4673 (target_set_syscall_catchpoint): Add argument.
4674 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4676 * target.c (update_current_target): Update.
4678 2014-02-19 Tom Tromey <tromey@redhat.com>
4680 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4682 (target_remove_exec_catchpoint): Add argument.
4683 * target.c (debug_to_remove_exec_catchpoint): Add argument.
4684 (update_current_target): Update.
4685 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4688 2014-02-19 Tom Tromey <tromey@redhat.com>
4690 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4692 (target_insert_exec_catchpoint): Add argument.
4693 * target.c (debug_to_insert_exec_catchpoint): Add argument.
4694 (update_current_target): Update.
4695 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4698 2014-02-19 Tom Tromey <tromey@redhat.com>
4700 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4702 (target_remove_vfork_catchpoint): Add argument.
4703 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4704 (update_current_target): Update.
4705 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4708 2014-02-19 Tom Tromey <tromey@redhat.com>
4710 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4712 (target_insert_vfork_catchpoint): Add argument.
4713 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4714 (update_current_target): Update.
4715 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4718 2014-02-19 Tom Tromey <tromey@redhat.com>
4720 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4722 (target_remove_fork_catchpoint): Add argument.
4723 * target.c (debug_to_remove_fork_catchpoint): Add argument.
4724 (update_current_target): Update.
4725 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4728 2014-02-19 Tom Tromey <tromey@redhat.com>
4730 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4732 (target_insert_fork_catchpoint): Add argument.
4733 * target.c (debug_to_insert_fork_catchpoint): Add argument.
4734 (update_current_target): Update.
4735 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4738 2014-02-19 Tom Tromey <tromey@redhat.com>
4740 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4742 (target_post_startup_inferior): Add argument.
4743 * target.c (debug_to_post_startup_inferior): Add argument.
4744 (update_current_target): Update.
4745 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4747 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4749 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4751 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4753 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4755 (super_post_startup_inferior): Likewise.
4756 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4758 (super_post_startup_inferior): Likewise.
4759 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4760 Add 'self' argument.
4761 (super_post_startup_inferior): Likewise.
4763 2014-02-19 Tom Tromey <tromey@redhat.com>
4765 * target.h (struct target_ops) <to_load>: Add argument.
4766 * target.c (target_load): Add argument.
4767 (debug_to_load): Add argument.
4768 (update_current_target): Update.
4769 * remote.c (remote_load): Add 'self' argument.
4770 * remote-sim.c (gdbsim_load): Add 'self' argument.
4771 * remote-mips.c (mips_load): Add 'self' argument.
4772 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4773 * monitor.c (monitor_load): Add 'self' argument.
4774 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4776 2014-02-19 Tom Tromey <tromey@redhat.com>
4778 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4779 (target_terminal_info): Add argument.
4780 * target.c (debug_to_terminal_info): Add argument.
4781 (default_terminal_info): Likewise.
4782 * inflow.c (child_terminal_info): Add 'self' argument.
4783 * inferior.h (child_terminal_info): Add 'self' argument.
4784 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4786 2014-02-19 Tom Tromey <tromey@redhat.com>
4788 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4790 (target_terminal_save_ours): Add argument.
4791 * target.c (debug_to_terminal_save_ours): Add argument.
4792 (update_current_target): Update.
4793 * inflow.c (terminal_save_ours): Add 'self' argument.
4794 * inferior.h (terminal_save_ours): Add 'self' argument.
4796 2014-02-19 Tom Tromey <tromey@redhat.com>
4798 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4799 (target_terminal_ours): Add argument.
4800 * target.c (debug_to_terminal_ours): Add argument.
4801 (update_current_target): Update.
4802 * remote.c (remote_terminal_ours): Add 'self' argument.
4803 (remote_close): Update.
4804 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4805 * inflow.c (terminal_ours): Add 'self' argument.
4806 * inferior.h (terminal_ours): Add 'self' argument.
4807 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4809 2014-02-19 Pedro Alves <palves@redhat.com>
4810 Tom Tromey <tromey@redhat.com>
4812 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4814 (target_terminal_ours_for_output): Add argument.
4815 * target.c (debug_to_terminal_ours_for_output): Add argument.
4816 (update_current_target): Update.
4817 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4818 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4819 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4821 2014-02-19 Tom Tromey <tromey@redhat.com>
4823 * target.h (struct target_ops) <to_terminal_inferior>: Add
4825 * target.c (target_terminal_inferior): Add argument.
4826 (update_current_target): Update.
4827 * remote.c (remote_terminal_inferior): Add 'self' argument.
4828 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4829 * inflow.c (terminal_inferior): Add 'self' argument.
4830 * inferior.h (terminal_inferior): Add 'self' argument.
4831 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4832 (go32_terminal_inferior): Add 'self' argument.
4834 2014-02-19 Tom Tromey <tromey@redhat.com>
4836 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4837 (target_terminal_init): Add argument.
4838 * target.c (debug_to_terminal_init): Add argument.
4839 (update_current_target): Update.
4840 * inflow.c (terminal_init_inferior): Add 'self' argument.
4841 * inferior.h (terminal_init_inferior): Add 'self' argument.
4842 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4843 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4845 2014-02-19 Tom Tromey <tromey@redhat.com>
4847 * target.h (struct target_ops)
4848 <to_can_accel_watchpoint_condition>: Add argument.
4849 (target_can_accel_watchpoint_condition): Add argument.
4850 * target.c (debug_to_can_accel_watchpoint_condition): Add
4852 (update_current_target): Update.
4853 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4856 2014-02-19 Tom Tromey <tromey@redhat.com>
4858 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4860 (target_region_ok_for_hw_watchpoint): Add argument.
4861 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4862 (default_region_ok_for_hw_watchpoint): Add argument.
4863 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4864 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4866 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4868 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4870 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4872 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4874 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4876 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4877 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4879 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4880 Add 'self' argument.
4882 2014-02-19 Tom Tromey <tromey@redhat.com>
4884 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4886 (target_insert_watchpoint): Add argument.
4887 * target.c (debug_to_insert_watchpoint): Add argument.
4888 (update_current_target): Update.
4889 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4890 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4891 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4892 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4893 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4894 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4896 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4897 (procfs_insert_hw_watchpoint): Add 'self' argument.
4898 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4900 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4902 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4904 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4905 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4907 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4910 2014-02-19 Tom Tromey <tromey@redhat.com>
4912 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4914 (target_remove_watchpoint): Add argument.
4915 * target.c (debug_to_remove_watchpoint): Add argument.
4916 (update_current_target): Update.
4917 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4918 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4919 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4920 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4921 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4922 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4924 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4925 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4927 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4929 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4931 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4932 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4934 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4937 2014-02-19 Tom Tromey <tromey@redhat.com>
4939 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4941 (target_remove_hw_breakpoint): Add argument.
4942 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4943 (update_current_target): Update.
4944 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4945 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4947 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4948 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4950 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4953 2014-02-19 Tom Tromey <tromey@redhat.com>
4955 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4957 (target_insert_hw_breakpoint): Add argument.
4958 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4959 (update_current_target): Update.
4960 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4961 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4963 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4964 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4965 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4967 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4970 2014-02-19 Tom Tromey <tromey@redhat.com>
4972 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4974 (target_can_use_hardware_watchpoint): Add argument.
4975 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4976 (update_current_target): Update.
4977 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4979 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4981 * remote.c (remote_check_watch_resources): Add 'self' argument.
4982 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4983 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4985 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4986 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4988 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4990 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4992 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4994 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4996 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4998 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4999 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
5001 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
5004 2014-02-19 Tom Tromey <tromey@redhat.com>
5006 * target.h (struct target_ops) <to_post_attach>: Add argument.
5007 (target_post_attach): Add argument.
5008 * target.c (debug_to_post_attach): Add argument.
5009 (update_current_target): Update.
5010 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
5011 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
5012 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
5013 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
5014 * inf-child.c (inf_child_post_attach): Add 'self' argument.
5016 2014-02-19 Tom Tromey <tromey@redhat.com>
5018 * windows-nat.c (windows_close): Add 'self' argument.
5019 * tracepoint.c (tfile_close): Add 'self' argument.
5020 * target.h (struct target_ops) <to_close>: Add argument.
5021 * target.c (target_close): Add argument.
5022 (update_current_target): Update.
5023 * remote.c (remote_close): Add 'self' argument.
5024 * remote-sim.c (gdbsim_close): Add 'self' argument.
5025 * remote-mips.c (mips_close): Add 'self' argument.
5026 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
5027 * record-full.c (record_full_close): Add 'self' argument.
5028 * record-btrace.c (record_btrace_close): Add 'self' argument.
5029 * monitor.h (monitor_close): Add 'self' argument.
5030 * monitor.c (monitor_close): Add 'self' argument.
5031 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
5032 * linux-nat.c (linux_nat_close): Add argument.
5033 * go32-nat.c (go32_close): Add 'self' argument.
5034 * exec.c (exec_close_1): Add 'self' argument.
5035 * ctf.c (ctf_close): Add 'self' argument.
5036 * corelow.c (core_close): Add 'self' argument.
5037 (core_close_cleanup): Update.
5038 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
5039 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
5041 2014-02-19 Tom Tromey <tromey@redhat.com>
5043 * remote.c (remote_load): New function.
5044 (init_remote_ops): Use it.
5046 2014-02-19 Tom Tromey <tromey@redhat.com>
5048 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
5050 * common/linux-btrace.h (linux_supports_btrace): Update.
5051 * remote.c (remote_supports_btrace): Add "self" argument.
5052 * target-delegates.c: Rebuild.
5053 * target.c (target_supports_btrace): Remove.
5054 * target.h (struct target_ops) <to_supports_btrace>: Add
5055 target_ops argument.
5056 (target_supports_btrace): New define.
5058 2014-02-19 Tom Tromey <tromey@redhat.com>
5060 * record-full.c (record_full_beneath_to_resume_ops)
5061 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
5062 (record_full_beneath_to_wait)
5063 (record_full_beneath_to_store_registers_ops)
5064 (record_full_beneath_to_store_registers)
5065 (record_full_beneath_to_xfer_partial_ops)
5066 (record_full_beneath_to_xfer_partial)
5067 (record_full_beneath_to_insert_breakpoint_ops)
5068 (record_full_beneath_to_insert_breakpoint)
5069 (record_full_beneath_to_remove_breakpoint_ops)
5070 (record_full_beneath_to_remove_breakpoint)
5071 (record_full_beneath_to_stopped_by_watchpoint)
5072 (record_full_beneath_to_stopped_data_address)
5073 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
5074 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
5075 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
5076 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
5077 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
5078 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
5079 (tmp_to_stopped_data_address, tmp_to_async): Remove.
5080 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
5081 (record_full_resume, record_full_wait_1)
5082 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
5083 (record_full_store_registers, record_full_xfer_partial)
5084 (record_full_insert_breakpoint, record_full_remove_breakpoint)
5085 (record_full_async, record_full_core_xfer_partial): Use target
5087 * target-delegates.c: Rebuild.
5088 * target.c (current_xfer_partial): Remove.
5089 (update_current_target): Do not INHERIT or de_fault
5090 to_insert_breakpoint, to_remove_breakpoint,
5091 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
5092 to_is_async_p, to_async. Do not set to_xfer_partial field.
5093 (default_xfer_partial): Simplify.
5094 (current_xfer_partial): Remove.
5095 (target_wait, target_resume): Simplify.
5096 (find_default_can_async_p, find_default_is_async_p): Update.
5097 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
5098 to_xfer_partial, to_stopped_by_watchpoint,
5099 to_stopped_data_address.
5100 (target_store_registers): Simplify.
5101 (forward_target_remove_breakpoint)
5102 (forward_target_insert_breakpoint): Remove.
5103 (target_remove_breakpoint, target_insert_breakpoint)
5104 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
5105 * target.h (struct target_ops) <to_resume, to_wait,
5106 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
5107 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
5108 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
5110 (forward_target_remove_breakpoint)
5111 (forward_target_insert_breakpoint): Remove.
5112 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
5114 (record_btrace_insert_breakpoint): Delegate directly.
5116 2014-02-19 Tom Tromey <tromey@redhat.com>
5119 * target-delegates.c: New file.
5120 * target.c: Include target-delegates.c.
5121 (init_dummy_target): Call install_dummy_methods.
5122 (complete_target_initialization): Call install_delegators.
5123 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
5124 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
5125 * make-target-delegates: New file.
5127 2014-02-19 Tom Tromey <tromey@redhat.com>
5129 * record.c (find_record_target): Use find_target_at.
5130 * target.c (find_target_at): New function.
5131 * target.h (find_target_at): Declare.
5133 2014-02-19 Tom Tromey <tromey@redhat.com>
5135 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
5137 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
5139 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
5140 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
5142 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
5144 * linux-nat.c (save_sigtrap): Update.
5145 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
5146 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
5147 (linux_nat_close): Update.
5148 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
5150 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
5152 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
5153 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
5154 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
5155 (tmp_to_async): Add 'ops' argument.
5156 (record_full_stopped_by_watchpoint, record_full_async)
5157 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
5159 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
5160 (m32r_stopped_by_watchpoint): Add 'ops' argument.
5161 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
5162 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
5163 (remote_is_async_p, remote_async): Add 'ops' argument.
5164 (remote_stopped_data_address): Update.
5165 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
5166 * target.c (update_current_target)
5167 (find_default_can_async_p, find_default_is_async_p): Update.
5168 (init_dummy_target): Update.
5169 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
5170 * target.h (struct target_ops) <to_stopped_by_watchpoint,
5171 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
5172 (target_can_async_p, target_is_async_p, target_async)
5173 (target_stopped_by_watchpoint): Update.
5175 2014-02-19 Yao Qi <yao@codesourcery.com>
5178 * gdbarch.sh: Remove startup_gdbarch.
5179 * gdbarch.c: Regenerated.
5180 * gdbarch.h: Likewise.
5182 2014-02-17 Kevin Buettner <kevinb@redhat.com>
5184 * rl78-tdep.c (rl78_g10_register_name): New function.
5185 (rl78_return_value): Add g10 support.
5186 (rl78_gdbarch_init): Register rl78_g10_register_name for the
5189 2014-02-17 Doug Evans <xdje42@gmail.com>
5191 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
5192 (SUBDIR_GUILE_SRCS): Ditto.
5193 (scm-gsmob.o): Ditto.
5195 2014-02-17 Yao Qi <yao@codesourcery.com>
5197 * gnu-nat.c (ILL_RPC): Declare defined function.
5199 2014-02-17 Yao Qi <yao@codesourcery.com>
5201 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
5202 mach_msg_type_number_t.
5203 (gnu_write_inferior): Likewise.
5205 2014-02-17 Yao Qi <yao@codesourcery.com>
5207 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
5209 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
5210 (inf_validate_procs, inf_signal): Likewise.
5211 (S_exception_raise_request): Likewise.
5212 (do_mach_notify_dead_name): Likewise.
5213 (steal_exc_port): Likewise.
5214 (gnu_read_inferior): Change 'copy_count''s type to
5215 mach_msg_type_number_t.
5216 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
5219 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
5221 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
5222 flag. Adjust all users; in particular...
5223 (gnu_wait): ..., don't decrement its value in here...
5224 (gnu_create_inferior): ..., and instead set the flag in here,
5225 around the startup_inferior call, and call that one with
5226 START_INFERIOR_TRAPS_EXPECTED.
5228 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
5229 (ILL_RPC): ... new macro.
5230 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
5231 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
5232 (do_mach_notify_send_once, S_proc_setmsgport_reply)
5233 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
5234 functions with ILL_RPC macro.
5235 (S_proc_pid2task_reply, S_proc_task2pid_reply)
5236 (S_proc_task2proc_reply, S_proc_proc2task_reply)
5237 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
5238 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
5239 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
5240 (S_proc_getlogin_reply, S_proc_getsid_reply)
5241 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
5242 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
5243 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
5244 (S_proc_getnports_reply, S_proc_is_important_reply)
5245 (S_proc_get_code_reply): New stub functions, generated with
5248 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
5249 collected the type check structures.
5251 * reply_mig_hack.awk: Don't expect to see the auto keyword.
5253 2014-02-14 Doug Evans <dje@google.com>
5255 * target.c (target_write_partial): Fix result type.
5257 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
5259 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
5260 the proper offsets to access fpregset_t.
5262 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
5264 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
5265 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
5266 * h8300-tdep.c (setmachinelist): Remove global.
5267 * hppa-tdep.c (hppa_sigtramp): Remove global.
5268 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
5269 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
5270 * ravenscar-thread.c (update_target_observer): Remove global.
5271 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
5273 2014-02-12 Tom Tromey <tromey@redhat.com>
5275 * common/rsp-low.c: Update comments.
5276 * common/rsp-low.h: Update comments.
5278 2014-02-12 Tom Tromey <tromey@redhat.com>
5280 * common/rsp-low.c (convert_ascii_to_int): Remove.
5281 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
5283 2014-02-12 Tom Tromey <tromey@redhat.com>
5285 * common/rsp-low.h (unhexify): Don't declare.
5286 * common/rsp-low.c (unhexify): Remove.
5288 2014-02-12 Tom Tromey <tromey@redhat.com>
5290 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
5291 * common/rsp-low.c (convert_int_to_ascii): Remove.
5293 2014-02-12 Tom Tromey <tromey@redhat.com>
5295 * common/rsp-low.h (hexify): Don't declare.
5296 * common/rsp-low.c (hexify): Remove.
5298 2014-02-12 Tom Tromey <tromey@redhat.com>
5300 * common/rsp-low.c (hexify): Never take strlen of argument.
5302 2014-02-12 Tom Tromey <tromey@redhat.com>
5304 * common/rsp-low.c (bin2hex): Never take strlen of argument.
5305 * remote.c (extended_remote_run, remote_rcmd)
5306 (remote_download_trace_state_variable, remote_save_trace_data)
5307 (remote_set_trace_notes): Update.
5308 * tracepoint.c (encode_source_string, tfile_write_status)
5309 (tfile_write_uploaded_tsv): Update.
5311 2014-02-12 Tom Tromey <tromey@redhat.com>
5313 * tracepoint.c: Include rsp-low.h.
5314 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
5315 * remote.c: Include rsp-low.h.
5316 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
5317 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
5318 (remote_unescape_input): Move to common/rsp-low.c.
5319 * common/rsp-low.h: New file.
5320 * common/rsp-low.c: New file.
5321 * Makefile.in (SFILES): Add common/rsp-low.c.
5322 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
5323 (COMMON_OBS): Add rsp-low.o.
5324 (rsp-low.o): New target.
5326 2014-02-12 Tom Tromey <tromey@redhat.com>
5328 * utils.h: Include print-utils.h.
5329 (host_address_to_string, plongest, pulongest, phex, phex_nz)
5330 (int_string, core_addr_to_string, core_addr_to_string_nz)
5331 (hex_string, hex_string_custom): Don't declare.
5332 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
5333 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
5334 (hex_string_custom, int_string, core_addr_to_string)
5335 (core_addr_to_string_nz, host_address_to_string): Move to
5336 common/print-utils.c.
5337 * common/print-utils.h: New file.
5338 * common/print-utils.c: New file
5339 * Makefile.in (SFILES): Add common/print-utils.c.
5340 (HFILES_NO_SRCDIR): Add common/print-utils.h.
5341 (COMMON_OBS): Add print-utils.o.
5342 (print-utils.o): New target.
5344 2014-02-12 Tom Tromey <tromey@redhat.com>
5346 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
5348 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5350 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
5352 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5354 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
5355 if a PT_IO ptrace request returns sucessfully but indicates that 0
5356 bytes were transferred.
5358 2014-02-12 Pedro Alves <palves@redhat.com>
5359 Kevin Buettner <kevinb@redhat.com>
5361 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
5362 TYPE_INSTANCE_FLAG_CODE_SPACE.
5364 2014-02-12 Pedro Alves <palves@redhat.com>
5366 * h8300-tdep.c (pseudo_from_raw_register)
5367 (raw_from_pseudo_register): New functions.
5368 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
5371 2014-02-12 Pedro Alves <palves@redhat.com>
5373 * h8300-tdep.c (h8300_register_sim_regno): New function.
5374 (h8300_gdbarch_init): Install h8300_register_sim_regno as
5375 gdbarch_register_sim_regno hook.
5377 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5379 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
5381 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
5383 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
5385 2014-02-12 Mark Kettenis <kettenis@gnu.org>
5387 * obsd-tdep.h (obsd_init_abi): New prototype.
5388 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
5389 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
5390 (obsd_init_abi): New functions.
5391 * i386obsd-tdep.c: Include "obsd-tdep.h".
5392 (i386obsd_init_abi): Call obsd_init_abi.
5393 * amd64obsd-tdep.c: Include "obsd-tdep.h".
5394 (amd64obsd_init_abi): Call obsd_init_abi.
5395 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
5396 obsd-tdep.c to gdb_target_obs.
5398 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
5400 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
5401 double float arguments to 16-byte in the argument slots.
5403 2014-02-11 Doug Evans <xdje42@gmail.com>
5405 * configure.ac: Don't crash if pkg-config is not found and guile
5406 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
5408 * configure: Regenerate.
5410 2014-02-11 Yao Qi <yao@codesourcery.com>
5412 * aix-thread.c (aix_thread_xfer_partial): Update comments.
5413 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
5414 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5415 * gnu-nat.c (gnu_xfer_memory): Likewise.
5416 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5417 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5418 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5419 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5421 2014-02-11 Yao Qi <yao@codesourcery.com>
5423 * target.h (enum target_xfer_error): Rename to ...
5424 (enum target_xfer_status): ... it. New. All users updated.
5425 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
5427 (TARGET_XFER_STATUS_ERROR_P): New macro.
5428 (target_xfer_error_to_string): Remove declaration.
5429 (target_xfer_status_to_string): Declare.
5430 (target_xfer_partial_ftype): Adjust it.
5431 (struct target_ops) <to_xfer_partial>: Return
5432 target_xfer_status. Add argument xfered_len. Update
5434 * target.c (target_xfer_error_to_string): Rename to ...
5435 (target_xfer_status_to_string): ... it. New. All callers
5437 (target_read_live_memory): Likewise. Call target_xfer_partial
5438 instead of target_read.
5439 (memory_xfer_live_readonly_partial): Return
5440 target_xfer_status. Add argument xfered_len.
5441 (raw_memory_xfer_partial): Likewise.
5442 (memory_xfer_partial_1): Likewise.
5443 (memory_xfer_partial): Likewise.
5444 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
5445 properly. Update debug message.
5446 (default_xfer_partial, current_xfer_partial): Likewise.
5447 (target_write_partial): Likewise.
5448 (target_read_partial): Likewise. All callers updated.
5449 (read_whatever_is_readable): Likewise.
5450 (target_write_with_progress): Likewise.
5451 (target_read_alloc_1): Likewise.
5453 * aix-thread.c (aix_thread_xfer_partial): Likewise.
5454 * auxv.c (procfs_xfer_auxv): Likewise.
5455 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
5456 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5457 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5458 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
5459 * corefile.c (read_memory): Adjust.
5460 * corelow.c (core_xfer_partial): Likewise.
5461 * ctf.c (ctf_xfer_partial): Likewise.
5462 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
5464 (darwin_xfer_partial): Likewise.
5465 * exec.c (section_table_xfer_memory_partial): Likewise. All
5467 (exec_xfer_partial): Likewise.
5468 * exec.h (section_table_xfer_memory_partial): Update
5470 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
5472 (gnu_xfer_partial): Likewise.
5473 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
5474 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
5475 (ia64_hpux_xfer_solib_got): Likewise.
5476 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
5477 type of 'partial_len' to ULONGEST.
5478 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5479 * linux-nat.c (linux_xfer_siginfo ): Likewise.
5480 (linux_nat_xfer_partial): Likewise.
5481 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
5482 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
5483 * monitor.c (monitor_xfer_memory): Likewise.
5484 (monitor_xfer_partial): Likewise.
5485 * procfs.c (procfs_xfer_partial): Likewise.
5486 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5487 * record-full.c (record_full_xfer_partial): Likewise.
5488 (record_full_core_xfer_partial): Likewise.
5489 * remote-sim.c (gdbsim_xfer_memory): Likewise.
5490 (gdbsim_xfer_partial): Likewise.
5491 * remote.c (remote_write_bytes_aux): Likewise. All callers
5493 (remote_write_bytes, remote_read_bytes): Likewise. All
5495 (remote_flash_erase): Likewise. All callers updated.
5496 (remote_write_qxfer): Likewise. All callers updated.
5497 (remote_read_qxfer): Likewise. All callers updated.
5498 (remote_xfer_partial): Likewise.
5499 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5500 (rs6000_xfer_shared_libraries): Likewise.
5501 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5502 (sol_thread_xfer_partial): Likewise.
5503 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5504 (sparc_xfer_partial): Likewise.
5505 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
5507 (spu_xfer_partial): Likewise.
5508 * spu-multiarch.c (spu_xfer_partial): Likewise.
5509 * tracepoint.c (tfile_xfer_partial): Likewise.
5510 * windows-nat.c (windows_xfer_memory): Likewise.
5511 (windows_xfer_shared_libraries): Likewise.
5512 (windows_xfer_partial): Likewise.
5513 * valprint.c: Replace 'target_xfer_error' with
5514 'target_xfer_status' in comments.
5516 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
5518 Checked in by Joel Brobecker <brobecker@adacore.com>.
5519 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
5521 2014-02-11 Joel Brobecker <brobecker@adacore.com>
5523 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
5524 function parameters.
5526 2014-02-10 Will Newton <will.newton@linaro.org>
5528 * elfread.c (elf_rel_plt_read): Look for a .got section if
5529 looking up .got.plt fails.
5530 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
5531 on address passed to elf_gnu_ifunc_record_cache.
5532 (elf_gnu_ifunc_resolve_addr): Likewise.
5533 (elf_gnu_ifunc_resolver_return_stop): Likewise.
5535 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
5537 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
5538 (X_RETTURN): New macro.
5539 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
5541 * sparc64-tdep.c (sparc64_init_abi): Hook
5542 sparc_in_function_epilogue_p.
5544 2014-02-10 Gary Benson <gbenson@redhat.com>
5546 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5547 Rename name_matcher to symbol_matcher.
5549 2014-02-10 Gary Benson <gbenson@redhat.com>
5551 * symfile-debug.c (debug_qf_expand_symtabs_matching):
5552 Use expand_symtabs_file_matcher_ftype and
5553 expand_symtabs_symbol_matcher_ftype.
5555 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5557 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
5558 (struct ada_symbol_cache): New.
5559 (ada_free_symbol_cache): Forward declare.
5560 (struct ada_pspace_data): New.
5561 (ada_pspace_data_handle): New static global.
5562 (get_ada_pspace_data, ada_pspace_data_cleanup)
5563 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
5564 (cache_space, cache): Delete, now folded inside struct
5566 (ada_get_symbol_cache): New function.
5567 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
5569 (_initialize_ada_language): Remove initialization of cache_space.
5570 Move call to observer_attach_inferior_exit up, grouping it
5571 with the other observer registrations inside this function.
5572 Rename command to be more general. Add call to
5573 register_program_space_data_with_cleanup.
5575 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5577 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
5578 ada_new_objfile_observer.
5579 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
5580 (_initialize_tasks): Update uses of ada_new_objfile_observer
5581 and ada_tasks_normal_stop_observer.
5583 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5585 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
5586 returned by the 'Length attribute to integer.
5588 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5590 * ada-lang.c (_initialize_ada_language): Initialize
5591 cache_space obstack.
5593 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5595 * ada-lang.c (HASH_SIZE): New macro.
5596 (struct cache_entry): New type.
5597 (cache_space, cache): New static globals.
5598 (ada_clear_symbol_cache, find_entry): New functions.
5599 (lookup_cached_symbol, cache_symbol): Implement.
5600 (ada_new_objfile_observer, ada_free_objfile_observer): New.
5601 (_initialize_ada_language): Attach ada_new_objfile_observer
5602 and ada_free_objfile_observer.
5604 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5606 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5607 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5608 struct block * parameter.
5609 (ada_lookup_symbol_list_worker): Constify local variable "block".
5610 Remove cast which is no longer necessary.
5612 2014-02-10 Doug Evans <xdje42@gmail.com>
5614 Add Guile as an extension language.
5615 * NEWS: Mention Guile scripting.
5616 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5617 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5618 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5619 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5620 (CLIBS): Add GUILE_LIBS.
5621 (install-guile): New rule.
5622 (guile.o): New rule.
5623 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5624 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5625 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5626 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5627 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5628 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5629 (scm-type.o, scm-utils.o, scm-value.o): New rules.
5630 * configure.ac: New option --with-guile.
5631 * configure: Regenerate.
5632 * config.in: Regenerate.
5633 * auto-load.c: Remove #include "python/python.h". Add #include
5634 "gdb/section-scripts.h".
5635 (source_section_scripts): Handle Guile scripts.
5636 (_initialize_auto_load): Add name of Guile objfile script to
5637 scripts-directory help text.
5638 * breakpoint.c (condition_command): Tweak comment to include Scheme.
5639 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5640 (struct breakpoint): New member scm_bp_object.
5641 * defs.h (enum command_control_type): New value guile_control.
5642 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
5644 (show_user): Update comment.
5645 (_initialize_cli_cmds): Update help text for "show user". Update help
5646 text for max-user-call-depth.
5647 * cli/cli-script.c: Remove #include "python/python.h". Add #include
5649 (multi_line_command_p): Add guile_control.
5650 (print_command_lines): Handle guile_control.
5651 (execute_control_command, recurse_read_control_structure): Ditto.
5652 (process_next_line): Recognize "guile" commands.
5653 * disasm.c (gdb_disassemble_info): Make non-static.
5654 * disasm.h: #include "dis-asm.h".
5655 (struct gdbarch): Add forward decl.
5656 (gdb_disassemble_info): Declare.
5657 * extension.c: #include "guile/guile.h".
5658 (extension_languages): Add guile.
5659 (get_ext_lang_defn): Handle EXT_LANG_GDB.
5660 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5661 * gdbtypes.c (get_unsigned_type_max): New function.
5662 (get_signed_type_minmax): New function.
5663 * gdbtypes.h (get_unsigned_type_max): Declare.
5664 (get_signed_type_minmax): Declare.
5665 * guile/README: New file.
5666 * guile/guile-internal.h: New file.
5667 * guile/guile.c: New file.
5668 * guile/guile.h: New file.
5669 * guile/scm-arch.c: New file.
5670 * guile/scm-auto-load.c: New file.
5671 * guile/scm-block.c: New file.
5672 * guile/scm-breakpoint.c: New file.
5673 * guile/scm-disasm.c: New file.
5674 * guile/scm-exception.c: New file.
5675 * guile/scm-frame.c: New file.
5676 * guile/scm-gsmob.c: New file.
5677 * guile/scm-iterator.c: New file.
5678 * guile/scm-lazy-string.c: New file.
5679 * guile/scm-math.c: New file.
5680 * guile/scm-objfile.c: New file.
5681 * guile/scm-ports.c: New file.
5682 * guile/scm-pretty-print.c: New file.
5683 * guile/scm-safe-call.c: New file.
5684 * guile/scm-string.c: New file.
5685 * guile/scm-symbol.c: New file.
5686 * guile/scm-symtab.c: New file.
5687 * guile/scm-type.c: New file.
5688 * guile/scm-utils.c: New file.
5689 * guile/scm-value.c: New file.
5690 * guile/lib/gdb.scm: New file.
5691 * guile/lib/gdb/boot.scm: New file.
5692 * guile/lib/gdb/experimental.scm: New file.
5693 * guile/lib/gdb/init.scm: New file.
5694 * guile/lib/gdb/iterator.scm: New file.
5695 * guile/lib/gdb/printing.scm: New file.
5696 * guile/lib/gdb/types.scm: New file.
5697 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5698 (VPATH): Add $(GUILE_SRCDIR).
5699 (GUILE_DIR): New variable.
5700 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5701 (all): Add stamp-guile dependency.
5702 (stamp-guile): New rule.
5703 (clean-guile, install-guile, uninstall-guile): New rules.
5704 (install-only): Add install-guile dependency.
5705 (uninstall): Add uninstall-guile dependency.
5706 (clean): Add clean-guile dependency.
5708 2014-02-09 Doug Evans <xdje42@gmail.com>
5710 Revert this patch (which I approved, mea culpa).
5712 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5714 * Makefile.in (all-lib): Remove.
5715 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5717 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5719 Fix Python stack corruption.
5720 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5723 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5725 * Makefile.in (all-lib): Remove.
5726 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5728 2014-02-07 Doug Evans <dje@google.com>
5730 * extension-priv.h (extension_language_script_ops): Add comment.
5731 (extension_language_ops): Add comment.
5732 (active_ext_lang_state): Fix typo in comment.
5734 2014-02-07 Pedro Alves <palves@redhat.com>
5736 PR breakpoints/16292
5737 * infrun.c (handle_signal_stop) <signal arrives while stepping
5738 over a breakpoint>: Switch back to the stepping thread.
5740 2014-02-07 Yao Qi <yao@codesourcery.com>
5742 * target.c (target_xfer_partial): Return zero if LEN is zero.
5744 2014-02-07 Yao Qi <yao@codesourcery.com>
5746 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5747 (ld_so_xfer_auxv): Likewise.
5748 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5749 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5750 * corelow.c (core_xfer_partial): Likewise.
5751 * ctf.c (ctf_xfer_partial): Likewise.
5752 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5753 (darwin_xfer_partial): Likewise.
5754 * exec.c (exec_xfer_partial): Likewise.
5755 * gnu-nat.c (gnu_xfer_partial): Likewise.
5756 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5757 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5758 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5759 * linux-nat.c (linux_xfer_siginfo): Likewise.
5760 (linux_proc_xfer_spu): Likewise.
5761 * procfs.c (procfs_xfer_partial): Likewise.
5762 * record-full.c (record_full_xfer_partial): Likewise.
5763 (record_full_core_xfer_partial): Likewise.
5764 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5765 * remote.c (remote_write_qxfer): Likewise.
5766 (remote_write_qxfer, remote_read_qxfer): Likewise.
5767 (remote_xfer_partial): Likewise.
5768 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5769 (rs6000_xfer_shared_libraries): Likewise.
5770 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5771 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5772 (spu_xfer_partial): Likewise.
5773 * target.c (memory_xfer_partial_1): Likewise.
5774 * tracepoint.c (tfile_xfer_partial): Likewise.
5775 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5776 (windows_xfer_partial): Likewise.
5778 2014-02-07 Yao Qi <yao@codesourcery.com>
5780 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5782 (core_xfer_shared_libraries_aix): Likewise.
5783 * gdbarch.c, gdbarch.h: Regenerated.
5784 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5785 ULONGEST. Change 'len_avail' type to ULONGEST.
5786 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5787 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5789 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5791 2014-02-07 Yao Qi <yao@codesourcery.com>
5793 * corefile.c (memory_error): Get 'exception' from ERR and pass
5794 'exception' to throw_error.
5796 2014-02-06 Doug Evans <xdje42@gmail.com>
5798 * configure.ac (libpython checking): Remove all but python.o from
5799 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5800 * configure: Regenerate.
5802 * Makefile.in (SFILES): Add extension.c.
5803 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5804 (COMMON_OBS): Add extension.o.
5805 * extension.h: New file.
5806 * extension-priv.h: New file.
5807 * extension.c: New file.
5809 * python/python-internal.h: #include "extension.h".
5810 (gdbpy_auto_load_enabled): Declare.
5811 (gdbpy_apply_val_pretty_printer): Declare.
5812 (gdbpy_apply_frame_filter): Declare.
5813 (gdbpy_preserve_values): Declare.
5814 (gdbpy_breakpoint_cond_says_stop): Declare.
5815 (gdbpy_breakpoint_has_cond): Declare.
5816 (void source_python_script_for_objfile): Delete.
5817 * python/python.c: #include "extension-priv.h".
5818 Delete inclusion of "observer.h".
5819 (extension_language_python): Moved here and renamed from
5820 script_language_python in py-auto-load.c.
5821 Redefined to be of type extension_language_defn.
5822 (python_extension_script_ops): New global.
5823 (python_extension_ops): New global.
5824 (struct python_env): New member previous_active.
5825 (restore_python_env): Call restore_active_ext_lang.
5826 (ensure_python_env): Call set_active_ext_lang.
5827 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5829 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5831 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5833 (gdbpy_eval_from_control_command): Renamed from
5834 eval_python_from_control_command, made static. New arg extlang.
5835 (gdbpy_source_script) Renamed from source_python_script, made static.
5837 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5838 result to int. New arg extlang.
5839 (gdbpy_source_objfile_script): Renamed from
5840 source_python_script_for_objfile, made static. New arg extlang.
5841 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5842 static. New args extlang, extlang_printers. Change result type to
5844 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5845 static. New arg extlang. Rename arg printers to extlang_printers
5846 and change type to ext_lang_type_printers *.
5847 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5848 static. Replace argument arg with extlang, extlang_printers.
5849 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5850 (!HAVE_PYTHON, source_python_script): Delete.
5851 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5852 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5853 (!HAVE_PYTHON, start_type_printers): Delete.
5854 (!HAVE_PYTHON, apply_type_printers): Delete.
5855 (!HAVE_PYTHON, free_type_printers): Delete.
5856 (_initialize_python): Delete call to observer_attach_before_prompt.
5857 (finalize_python): Set/restore active extension language.
5858 (gdbpy_finish_initialization) Renamed from
5859 finish_python_initialization, made static. New arg extlang.
5860 (gdbpy_initialized): New function.
5861 * python/python.h: #include "extension.h". Delete #include
5862 "value.h", "mi/mi-cmds.h".
5863 (extension_language_python): Declare.
5864 (GDBPY_AUTO_FILE_NAME): Delete.
5865 (enum py_bt_status): Moved to extension.h and renamed to
5867 (enum frame_filter_flags): Moved to extension.h.
5868 (enum py_frame_args): Moved to extension.h and renamed to
5869 ext_lang_frame_args.
5870 (finish_python_initialization): Delete.
5871 (eval_python_from_control_command): Delete.
5872 (source_python_script): Delete.
5873 (apply_val_pretty_printer): Delete.
5874 (apply_frame_filter): Delete.
5875 (preserve_python_values): Delete.
5876 (gdbpy_script_language_defn): Delete.
5877 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5878 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5880 * auto-load.c: #include "extension.h".
5881 (GDB_AUTO_FILE_NAME): Delete.
5882 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5883 (script_language_gdb): Delete, moved to extension.c and renamed to
5884 extension_language_gdb.
5885 (source_gdb_script_for_objfile): Delete.
5886 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5887 (loaded_script): Change type of language member to
5888 struct extension_language_defn *.
5889 (init_loaded_scripts_info): Initialize
5890 unsupported_script_warning_printed.
5891 (maybe_add_script): Make static. Change type of language arg to
5892 struct extension_language_defn *.
5893 (clear_section_scripts): Reset unsupported_script_warning_printed.
5894 (auto_load_objfile_script_1): Rewrite to use extension language API.
5895 (auto_load_objfile_script): Make public. Remove support-compiled-in
5896 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5897 (source_section_scripts): Rewrite to use extension language API.
5898 (load_auto_scripts_for_objfile): Rewrite to use
5899 auto_load_scripts_for_objfile.
5900 (collect_matching_scripts_data): Change type of language member to
5901 struct extension_language_defn *.
5902 (auto_load_info_scripts): Change type of language arg to
5903 struct extension_language_defn *.
5904 (unsupported_script_warning_print): New function.
5905 (script_not_found_warning_print): Make static.
5906 (_initialize_auto_load): Rewrite construction of scripts-directory
5908 * auto-load.h (struct objfile): Add forward decl.
5909 (struct script_language): Delete.
5910 (struct auto_load_pspace_info): Add forward decl.
5911 (struct extension_language_defn): Add forward decl.
5912 (maybe_add_script): Delete.
5913 (auto_load_objfile_script): Declare.
5914 (script_not_found_warning_print): Delete.
5915 (auto_load_info_scripts): Update prototype.
5916 (auto_load_gdb_scripts_enabled): Declare.
5917 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5918 auto_load_python_scripts_enabled and made public.
5919 (script_language_python): Delete, moved to python.c.
5920 (gdbpy_script_language_defn): Delete.
5921 (info_auto_load_python_scripts): Update to use
5922 extension_language_python.
5924 * breakpoint.c (condition_command): Replace call to
5925 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5926 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5927 with call to breakpoint_ext_lang_cond_says_stop.
5928 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5929 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5930 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5931 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5933 (local_setattro): Print name of extension language with existing
5936 * valprint.c (val_print, value_print): Update to call
5937 apply_ext_lang_val_pretty_printer.
5938 * cp-valprint.c (cp_print_value): Update call to
5939 apply_ext_lang_val_pretty_printer.
5940 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5941 (gdbpy_apply_val_pretty_printer): Renamed from
5942 apply_val_pretty_printer. New arg extlang.
5943 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5945 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5946 extension language API.
5947 * cli/cli-script.c (execute_control_command): Update to call
5948 eval_ext_lang_from_control_command.
5950 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5951 enum ext_lang_bt_status values. Update call to
5952 apply_ext_lang_frame_filter.
5953 (mi_cmd_stack_list_locals): Ditto.
5954 (mi_cmd_stack_list_args): Ditto.
5955 (mi_cmd_stack_list_variables): Ditto.
5956 * mi/mi-main.c: Delete #include "python/python-internal.h".
5957 Add #include "extension.h".
5958 (mi_cmd_list_features): Replace reference to python internal variable
5959 gdb_python_initialized with call to ext_lang_initialized_p.
5961 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5962 Update to use enum ext_lang_frame_args. Update to call
5963 apply_ext_lang_frame_filter.
5964 * python/py-framefilter.c (extract_sym): Update to use enum
5966 (extract_value, py_print_type, py_print_value): Ditto.
5967 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5968 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5969 (py_print_frame): Ditto.
5970 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5971 New arg extlang. Update to use enum ext_lang_bt_status.
5973 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5974 finish_python_initialization. Replace with call to
5975 finish_ext_lang_initialization.
5977 * typeprint.c (do_free_global_table): Update to call
5978 free_ext_lang_type_printers.
5979 (create_global_typedef_table): Update to call
5980 start_ext_lang_type_printers.
5981 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5982 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5983 (type_print_options): Change type of global_printers from "void *"
5984 to "struct ext_lang_type_printers *".
5986 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5987 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5988 (gdbpy_preserve_values): Renamed from preserve_python_values.
5990 (!HAVE_PYTHON, preserve_python_values): Delete.
5992 * utils.c (quit_flag): Delete, moved to extension.c.
5993 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5996 * eval.c: Delete #include "python/python.h".
5997 * main.c: Delete #include "python/python.h".
5999 * defs.h: Update comment.
6001 2014-02-06 Joel Brobecker <brobecker@adacore.com>
6005 2014-02-05 Mark Kettenis <kettenis@gnu.org>
6007 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6010 2014-02-05 Yao Qi <yao@codesourcery.com>
6012 * remote.c (remote_pass_signals): Remove local 'buf' and use
6014 (remote_program_signals): Likewise.
6016 2014-02-05 Yao Qi <yao@codesourcery.com>
6018 * ctf.c: Include "inferior.h" and "gdbthread.h".
6019 (CTF_PID): A new macro.
6020 (ctf_open): Call inferior_appeared and add_thread_silent.
6021 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
6022 (ctf_thread_alive): New function.
6023 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
6025 2014-02-05 Yao Qi <yao@codesourcery.com>
6029 2013-05-24 Yao Qi <yao@codesourcery.com>
6031 * tracepoint.c (TFILE_PID): Remove.
6032 (tfile_open): Don't add thread and inferior.
6033 (tfile_close): Don't set 'inferior_ptid'. Don't call
6034 exit_inferior_silent.
6035 (tfile_thread_alive): Remove.
6036 (init_tfile_ops): Don't set field 'to_thread_alive' of
6039 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
6041 * remote.c (remote_start_remote): Call remote_check_symbols even
6042 if only symbol-file (not file) has been given.
6044 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6046 * gdbarch.sh (skip_entrypoint): New callback.
6047 * gdbarch.c, gdbarch.h: Regenerate.
6048 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
6049 * infrun.c (fill_in_stop_func): Likewise.
6050 * ppc-linux-tdep.c: Include "elf/ppc64.h".
6051 (ppc_elfv2_elf_make_msymbol_special): New function.
6052 (ppc_elfv2_skip_entrypoint): Likewise.
6053 (ppc_linux_init_abi): Install them for ELFv2.
6055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6057 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
6058 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
6059 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6060 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
6061 structures returned in GPRs.
6063 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6065 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
6066 offset to the stack parameter list for the ELFv2 ABI.
6068 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6070 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
6071 set_gdbarch_convert_from_func_ptr_addr and
6072 set_gdbarch_elf_make_msymbol_special for ELFv1.
6073 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
6074 function descriptors on ELFv1.
6075 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
6076 set up r12 at function entry.
6078 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6080 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
6081 (struct gdbarch_tdep): New member elf_abi.
6083 * rs6000-tdep.c: Include "elf/ppc64.h".
6084 (rs6000_gdbarch_init): Detect ELF ABI version.
6086 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6088 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
6089 within a register pair holding a DFP 128-bit value on little-endian.
6090 (ppc64_sysv_abi_return_value_base): Likewise.
6091 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
6092 (dfp_pseudo_register_write): Likewise.
6094 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6096 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
6097 offset on little-endian when passing _Decimal32.
6098 (ppc64_sysv_abi_return_value_base): Likewise for return values.
6100 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6102 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
6103 of the overlapped FP register within the VSX register on little-
6105 (efpr_pseudo_register_write): Likewise.
6107 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6109 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
6110 offset on little-endian when passing small structures.
6112 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6114 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
6115 (struct ppc64_sysv_argpos): New data structure.
6116 (ppc64_sysv_abi_push_float): Remove.
6117 (ppc64_sysv_abi_push_val): New function.
6118 (ppc64_sysv_abi_push_integer): Likewise.
6119 (ppc64_sysv_abi_push_freg): Likewise.
6120 (ppc64_sysv_abi_push_vreg): Likewise.
6121 (ppc64_sysv_abi_push_param): Likewise.
6122 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
6123 (ppc64_sysv_abi_return_value_base): New function.
6124 (ppc64_sysv_abi_return_value): Refactor to use it.
6126 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6128 * NEWS: Document new target powerpc64le-*-linux*.
6130 2014-02-04 Mark Kettenis <kettenis@gnu.org>
6132 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
6133 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
6135 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
6136 register set used in ELF core dumps. Add floating-point register set.
6138 2014-02-03 Kevin Buettner <kevinb@redhat.com>
6140 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
6141 dwarf2_to_gdb[] table using symbolic constants. Adjust
6142 penultimate entry from number representing the PC register
6143 to symbolic constant representing the MDR register. Add
6144 constant for the PC register to the end of the table.
6146 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6148 * bsd-kvm.c: Include <sys/param.h>
6150 2014-02-03 Mark Kettenis <kettenis@gnu.org>
6152 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
6154 2014-01-31 Joel Brobecker <brobecker@adacore.com>
6156 * ada-lang.h (clear_ada_sym_cache): Delete.
6158 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
6160 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
6162 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6164 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
6165 the sigreturn register save area only if the syscall is
6168 2014-01-29 Joel Brobecker <brobecker@adacore.com>
6170 * valops.c (value_slice): Minor reformatting.
6172 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
6174 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
6176 2014-01-28 Joel Brobecker <brobecker@adacore.com>
6178 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
6180 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
6181 (ada_ignore_descriptive_types_p): New static global.
6182 (find_parallel_type_by_descriptive_type): Return immediately
6183 if ada_ignore_descriptive_types_p is set.
6184 (_initialize_ada_language): Register new commands "maintenance
6185 set ada", "maintenance show ada", "maintenance set ada
6186 ignore-descriptive-types" and "maintenance show ada
6187 ignore-descriptive-types".
6188 * NEWS: Add entry for new "maint ada set/show
6189 ignore-descriptive-types" commands.
6191 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
6193 * record-btrace.c (record_btrace_close): Call btrace_teardown
6196 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6198 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
6201 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6203 * ada-typeprint (type_is_full_subrange_of_target_type):
6205 (print_range): Add parameter bounds_prefered_p. If not set,
6206 try printing range types using the name of their base type.
6207 (print_range_type): Add parameter bounds_prefered_p.
6208 Use it in call to print_range.
6209 (print_array_type, ada_print_type): Update calls to print_range
6210 and print_range_type.
6212 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6214 * ada-typeprint.c (print_array_type, print_choices, print_range)
6215 (print_range_bound, print_dynamic_range_bound, print_range_type):
6218 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6220 * ada-typeprint.c (print_range): Add missing empty line
6221 after local declaration.
6223 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6225 * ada-valprint.c (print_optional_low_bound): Get index_type's
6226 target type for as long as it is a TYPE_CODE_RANGE.
6228 2014-01-27 Joel Brobecker <brobecker@adacore.com>
6230 * procfs.c (procfs_make_note_section): Remove assertion and
6233 2014-01-24 Yao Qi <yao@codesourcery.com>
6235 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
6236 * corelow.c (get_core_siginfo): Likewise.
6238 2014-01-24 Yao Qi <yao@codesourcery.com>
6240 * remote.c (remote_write_bytes_aux): Change type of 'len' to
6241 ULONGEST. Don't check 'len' is negative.
6242 (remote_write_bytes): Change type of 'len' to ULONGEST.
6244 2014-01-23 Tom Tromey <tromey@redhat.com>
6247 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
6248 Handle exception from frame.block.
6249 (FrameVars.fetch_frame_locals): Likewise.
6251 2014-01-23 Tom Tromey <tromey@redhat.com>
6254 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
6255 on a NULL pointer. Move "goto error" to correct place.
6257 2014-01-23 Tom Tromey <tromey@redhat.com>
6260 * python/py-framefilter.c (apply_frame_filter): Call
6261 ensure_python_env after computing gdbarch.
6263 2014-01-23 Yao Qi <yao@codesourcery.com>
6265 * target.c (raw_memory_xfer_partial): Change argument type
6266 from void * to gdb_byte *.
6267 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
6269 2014-01-22 Doug Evans <dje@google.com>
6271 New gdbserver option --debug-format=timestamp.
6274 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6276 * syscalls/s390x-linux.xml: New file.
6277 * syscalls/s390-linux.xml: New file.
6278 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
6279 (XML_SYSCALL_FILENAME_S390X): Likewise.
6280 (op_svc): New enum value for SVC opcode.
6281 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
6282 (s390_linux_get_syscall_number): New function.
6283 (s390_gdbarch_init): Register '*get_syscall_number' and the
6284 syscall xml file name.
6285 * data-directory/Makefile.in (SYSCALLS_FILES): Add
6286 "s390-linux.xml" and "s390x-linux.xml".
6287 * NEWS: Announce new feature.
6289 2014-01-22 Baruch Siach <baruch@tkos.co.il>
6291 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
6293 2014-01-22 Pedro Alves <palves@redhat.com>
6295 * xtensa-config.c: Include defs.h.
6297 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6299 * common/common-utils.h: Add "ARI:" comment beside __func__
6302 2014-01-22 Joel Brobecker <brobecker@adacore.com>
6304 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
6305 documentation a bit.
6307 2014-01-21 Roland McGrath <mcgrathr@google.com>
6309 * configure.ac: Call AM_PROG_INSTALL_STRIP.
6310 * configure: Regenerate.
6311 * aclocal.m4: Regenerate.
6312 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
6313 New substituted variables.
6314 (install-strip): New target.
6315 (INSTALL_SCRIPT): New substituted variable.
6316 (FLAGS_TO_PASS): Add it.
6317 (install-only): Use $(INSTALL_SCRIPT) rather than
6318 $(INSTALL_PROGRAM) for gcore.
6320 2014-01-20 Tom Tromey <tromey@redhat.com>
6322 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
6325 2014-01-20 Tom Tromey <tromey@redhat.com>
6327 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
6328 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
6329 (deprecated_cmd_warning, complete_on_cmdlist): Update.
6330 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
6331 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
6332 (struct cmd_list_element) <flags>: Remove.
6333 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
6334 doc_allocated>: New fields.
6335 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
6337 * maint.c (maintenance_do_deprecate): Update.
6338 * top.c (execute_command): Update.
6340 2014-01-20 Baruch Siach <baruch@tkos.co.il>
6342 * xtensa-linux-nat.c: Include asm/ptrace.h.
6344 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6346 * Makefile.in (SFILES): Add d-support.c.
6347 (COMMON_OBS): Add d-support.o.
6348 * d-lang.h (d_parse_symbol): Add comment, now defined in
6350 * d-lang.c (parse_call_convention)
6351 (parse_attributes, parse_function_types)
6352 (parse_function_args, parse_type, parse_identifier)
6353 (call_convention_p, d_parse_symbol): Move functions to ...
6354 * d-support.c: ... New file.
6356 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6358 * d-lang.h (d_parse_symbol): Add declaration.
6359 * d-lang.c (extract_identifiers)
6360 (extract_type_info): Remove functions.
6361 (parse_call_convention, parse_attributes)
6362 (parse_function_types, parse_function_args)
6363 (parse_type, parse_identifier, call_convention_p)
6364 (d_parse_symbol): New functions.
6365 (d_demangle): Use d_parse_symbol to demangle D symbols.
6367 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6369 * d-lang.h (struct builtin_d_type): New data type.
6370 (builtin_d_type): Add declaration.
6371 * d-lang.c (d_language_arch_info, build_d_types)
6372 (builtin_d_type): New functions.
6373 (enum d_primitive_types): New data type.
6374 (d_language_defn): Change c_language_arch_info to
6375 d_language_arch_info.
6376 (d_type_data): New static variable.
6377 (_initialize_d_language): Initialize d_type_data.
6379 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6381 * d-lang.h (d_main_name): Add declaration.
6382 * d-lang.c (d_main_name): New function.
6383 * symtab.c (find_main_name): Add call to d_main_name.
6385 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6387 * d-lang.c (d_language_defn): Change macro_expansion_c to
6390 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6392 * MAINTAINERS: Add myself as a write-after-approval maintainer.
6394 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
6396 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
6397 gdb_exception" declaration.
6398 * remote.c (getpkt_or_notif_sane): Likewise.
6400 2014-01-17 Doug Evans <dje@google.com>
6402 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
6403 function, contents of dirnames_to_char_ptr_vec_append moved here.
6404 (delim_string_to_char_ptr_vec): New function.
6405 (dirnames_to_char_ptr_vec_append): Rewrite.
6406 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
6408 2014-01-17 Doug Evans <dje@google.com>
6410 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
6412 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
6413 #include "common-utils.h".
6414 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
6415 * common/vec.h (VEC_ASSERT_PASS): Update.
6416 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
6417 (MACH_CHECK_ERROR): Update.
6419 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
6421 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
6423 * gdbarch.h: Regenerate.
6425 2014-01-16 Tom Tromey <tromey@redhat.com>
6427 * value.c (struct value) <regnum>: Move earlier.
6429 2014-01-16 Tom Tromey <tromey@redhat.com>
6431 * remote.c (extended_remote_create_inferior): Rename from
6432 extended_remote_create_inferior_1. Add "ops" argument. Remove
6435 2014-01-16 Pedro Alves <palves@redhat.com>
6437 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
6438 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
6441 2014-01-16 Doug Evans <dje@google.com>
6443 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
6445 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6447 * btrace.h (btrace_thread_flag): New.
6448 (struct btrace_thread_info) <flags>: New.
6449 * record-btrace.c (record_btrace_resume_thread)
6450 (record_btrace_find_thread_to_move, btrace_step_no_history)
6451 (btrace_step_stopped, record_btrace_start_replaying)
6452 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
6453 (record_btrace_find_resume_thread): New.
6454 (record_btrace_resume, record_btrace_wait): Extend.
6455 (record_btrace_can_execute_reverse): New.
6456 (record_btrace_open): Fail in non-stop mode.
6457 (record_btrace_set_replay): Split into this, ...
6458 (record_btrace_stop_replaying): ... this, ...
6459 (record_btrace_clear_histories): ... and this.
6460 (init_record_btrace_ops): Init to_can_execute_reverse.
6461 * NEWS: Announce it.
6463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6465 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
6466 (forward_target_decr_pc_after_break)
6467 (target_decr_pc_after_break): New.
6468 * target.c (forward_target_decr_pc_after_break)
6469 (target_decr_pc_after_break): New.
6470 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
6471 instead of gdbarch_decr_pc_after_break.
6472 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6473 instead of gdbarch_decr_pc_after_break.
6474 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
6475 instead of gdbarch_decr_pc_after_break.
6476 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6477 instead of gdbarch_decr_pc_after_break.
6478 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
6479 instead of gdbarch_decr_pc_after_break.
6480 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
6481 instead of gdbarch_decr_pc_after_break.
6483 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6485 * btrace.c: Include regcache.h.
6486 (btrace_add_pc): New.
6487 (btrace_enable): Call btrace_add_pc.
6488 (btrace_is_empty): New.
6489 * btrace.h (btrace_is_empty): New.
6490 * record-btrace.c (require_btrace, record_btrace_info): Call
6493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6495 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
6496 Support delta reads.
6497 (linux_disable_btrace): Change return type.
6498 * common/linux-btrace.h (linux_read_btrace): Change parameters
6499 and return type to allow error reporting. Update users.
6500 (linux_disable_btrace): Change return type. Update users.
6501 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
6503 (btrace_error): New.
6504 (btrace_block) <begin>: Comment on BEGIN == 0.
6505 * btrace.c (btrace_compute_ftrace): Start from the end of
6507 (btrace_stitch_trace, btrace_clear_history): New.
6508 (btrace_fetch): Read delta trace, return if replaying.
6509 (btrace_clear): Move clear history code to btrace_clear_history.
6510 (parse_xml_btrace): Throw an error if parsing failed.
6511 * target.h (struct target_ops) <to_read_btrace>: Change parameters
6512 and return type to allow error reporting.
6513 (target_read_btrace): Change parameters and return type to allow
6515 * target.c (target_read_btrace): Update.
6516 * remote.c (remote_read_btrace): Support delta reads. Pass
6518 * NEWS: Announce it.
6520 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6522 * record.h (record_btrace_frame_unwind)
6523 (record_btrace_tailcall_frame_unwind): New declarations.
6524 * dwarf2-frame: Include record.h
6525 (dwarf2_frame_cfa): Throw an error for btrace frames.
6526 * record-btrace.c: Include hashtab.h.
6527 (btrace_get_bfun_name): New.
6528 (btrace_call_history): Call btrace_get_bfun_name.
6529 (struct btrace_frame_cache): New.
6531 (bfcache_hash, bfcache_eq, bfcache_new): New.
6532 (btrace_get_frame_function): New.
6533 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
6534 (record_btrace_frame_this_id): Compute own id.
6535 (record_btrace_frame_prev_register): Provide PC, throw_error
6536 for all other registers.
6537 (record_btrace_frame_sniffer): Detect btrace frames.
6538 (record_btrace_tailcall_frame_sniffer): New.
6539 (record_btrace_frame_dealloc_cache): New.
6540 (record_btrace_frame_unwind): Add new functions.
6541 (record_btrace_tailcall_frame_unwind): New.
6542 (_initialize_record_btrace): Allocate cache.
6543 * btrace.c (btrace_clear): Call reinit_frame_cache.
6544 * NEWS: Announce it.
6546 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6548 * record-btrace.c (record_btrace_set_replay)
6549 (record_btrace_goto_begin, record_btrace_goto_end)
6550 (record_btrace_goto): New.
6551 (init_record_btrace_ops): Initialize them.
6552 * NEWS: Announce it.
6554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6556 * record-btrace.c (record_btrace_find_new_threads)
6557 (record_btrace_thread_alive): New.
6558 (init_record_btrace_ops): Initialize to_find_new_threads and
6561 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6563 * record-btrace.c (record_btrace_resume): New.
6564 (record_btrace_wait): New.
6565 (init_record_btrace_ops): Initialize to_wait and to_resume.
6567 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6569 * record-btrace.c (record_btrace_xfer_partial)
6570 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
6571 (record_btrace_allow_memory_access): New.
6572 (init_record_btrace_ops): Initialize new methods.
6573 * target.c (raw_memory_xfer_partial): Bail out if target reports
6574 that this memory is not available.
6576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6578 * target.h (target_ops) <to_insert_breakpoint>
6579 <to_remove_breakpoint>: Add target_ops parameter.
6580 (forward_target_insert_breakpoint): New.
6581 (forward_target_remove_breakpoint): New.
6582 (memory_remove_breakpoint, memory_insert_breakpoint):
6583 Add target_ops parameter.
6584 * target.c (target_insert_breakpoint): Split into this and ...
6585 (forward_target_insert_breakpoint): ... this.
6586 (target_remove_breakpoint): Split into this and ...
6587 (forward_target_remove_breakpoint): ... this.
6588 (debug_to_insert_breakpoint): Add target_ops parameter.
6589 Call forward_target_insert_breakpoint.
6590 (debug_to_remove_breakpoint): Add target_ops parameter.
6591 Call forward_target_remove_breakpoint.
6592 (update_current_target): Do not inherit or default to_insert_breakpoint
6593 and to_remove_breakpoint.
6594 * corelow.c (ignore): Add target_ops parameter.
6595 * exec.c (ignore): Add target_ops parameter.
6596 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
6597 Add target_ops parameter.
6598 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
6599 Add target_ops parameter.
6600 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
6601 Add target_ops parameter.
6602 * record-full.c (record_full_beneath_to_insert_breakpoint)
6603 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
6604 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
6605 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6606 (record_full_core_remove_breakpoint): Add target_ops parameter.
6608 (record_full_beneath_to_insert_breakpoint_ops)
6609 (record_full_beneath_to_remove_breakpoint_ops)
6610 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6611 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6612 tmp_to_remove_breakpoint_ops,
6613 record_full_beneath_to_insert_breakpoint_ops, and
6614 record_full_beneath_to_remove_breakpoint_ops.
6615 * remote-m32r-sdi.c (m32r_insert_breakpoint)
6616 (m32r_remove_breakpoint): Add target_ops parameter.
6617 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6618 Add target_ops parameter.
6619 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6620 Add target_ops parameter.
6622 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6623 Markus Metzger <markus.t.metzger@intel.com>
6625 * record-btrace.c: Include frame-unwind.h.
6626 (record_btrace_frame_unwind_stop_reason)
6627 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6628 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6630 (init_record_btrace_ops): Install it.
6632 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6634 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6637 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6639 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6642 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6644 * frame-unwind.c: Include target.h.
6645 (frame_unwind_try_unwinder): New function with code from ...
6646 (frame_unwind_find_by_frame): ... here. New variable
6647 unwinder_from_target, call also target_get_unwinder)
6648 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6649 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6650 * target.h (struct target_ops): New fields to_get_unwinder and
6651 to_get_tailcall_unwinder.
6652 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6654 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6656 * record-btrace.c (record_btrace_fetch_registers)
6657 (record_btrace_store_registers)
6658 (record_btrace_to_prepare_to_store): New.
6659 (init_record_btrace_ops): Add the above.
6661 2014-01-16 Tom Tromey <tromey@redhat.com>
6663 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6664 * target.h (struct target_ops) <to_prepare_to_store>: Add
6666 (target_prepare_to_store): Add argument.
6667 * target.c (debug_to_prepare_to_store): Add argument.
6668 (update_current_target): Update.
6669 * remote.c (remote_prepare_to_store): Add 'self' argument.
6670 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6671 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6672 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6673 * record-full.c (record_full_core_prepare_to_store): Add 'self'
6675 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6676 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6677 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6678 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6679 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6683 * btrace.h (replay) <replay>: New.
6684 (btrace_is_replaying): New.
6685 * btrace.c (btrace_clear): Free replay iterator.
6686 (btrace_is_replaying): New.
6687 * record-btrace.c (record_btrace_is_replaying): New.
6688 (record_btrace_info): Print insn number if replaying.
6689 (record_btrace_insn_history): Start at replay position.
6690 (record_btrace_call_history): Start at replay position.
6691 (init_record_btrace_ops): Init to_record_is_replaying.
6693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6695 * record-btrace.c (record_btrace_insn_history_range): Include
6697 (record_btrace_insn_history_from): Adjust range.
6698 (record_btrace_call_history_range): Include
6700 (record_btrace_call_history_from): Adjust range.
6701 * NEWS: Announce changes.
6703 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6705 * record.h (enum record_print_flag)
6706 <record_print_indent_calls>: New.
6707 * record.c (get_call_history_modifiers): Recognize /c modifier.
6708 (_initialize_record): Document /c modifier.
6709 * record-btrace.c (btrace_call_history): Add btinfo parameter.
6710 Reorder fields. Optionally indent the function name. Update
6712 * NEWS: Announce changes.
6714 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6716 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6720 * btrace.c (ftrace_new_function): Start counting at one.
6721 * record-btrace.c (record_btrace_info): Adjust number of calls
6723 * NEWS: Announce it.
6725 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6727 * record-btrace.c (btrace_call_history_insn_range): Print
6728 insn range as [begin, end].
6730 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6732 * btrace.h (struct btrace_func_link): New.
6733 (enum btrace_function_flag): New.
6734 (struct btrace_inst): Rename to ...
6735 (struct btrace_insn): ...this. Update all users.
6736 (struct btrace_func) <ibegin, iend>: Remove.
6737 (struct btrace_func_link): New.
6738 (struct btrace_func): Rename to ...
6739 (struct btrace_function): ...this. Update all users.
6740 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6741 (number, level, flags>: New.
6742 (struct btrace_insn_iterator): Rename to ...
6743 (struct btrace_insn_history): ...this.
6745 (struct btrace_insn_iterator, btrace_call_iterator): New.
6746 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6747 (struct btrace_target_info) <begin, end, level>
6748 <insn_history, call_history>: New.
6749 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6750 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6751 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6752 (btrace_call_number, btrace_call_begin, btrace_call_end)
6753 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6754 (btrace_find_function_by_number, btrace_set_insn_history)
6755 (btrace_set_call_history): New.
6756 * btrace.c (btrace_init_insn_iterator)
6757 (btrace_init_func_iterator, compute_itrace): Remove.
6758 (ftrace_print_function_name, ftrace_print_filename)
6759 (ftrace_skip_file): Change
6761 (ftrace_init_func): Remove.
6762 (ftrace_debug): Use new btrace_function fields.
6763 (ftrace_function_switched): Also consider gaining and
6764 losing symbol information).
6765 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6766 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6767 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6769 (ftrace_new_function): Move. Remove debug print.
6770 (ftrace_update_lines, ftrace_update_insns): New.
6771 (ftrace_update_function): Check for call, ret, and jump.
6772 (compute_ftrace): Renamed to ...
6773 (btrace_compute_ftrace): ...this. Rewritten to compute call
6775 (btrace_fetch, btrace_clear): Updated.
6776 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6777 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6778 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6779 (btrace_call_number, btrace_call_begin, btrace_call_end)
6780 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6781 (btrace_find_function_by_number, btrace_set_insn_history)
6782 (btrace_set_call_history): New.
6783 * record-btrace.c (require_btrace): Use new btrace thread
6785 (record_btrace_info, btrace_insn_history)
6786 (record_btrace_insn_history, record_btrace_insn_history_range):
6787 Use new btrace thread info fields and new iterator.
6788 (btrace_func_history_src_line): Rename to ...
6789 (btrace_call_history_src_line): ...this. Use new btrace
6791 (btrace_func_history): Rename to ...
6792 (btrace_call_history): ...this. Use new btrace thread info
6793 fields and new iterator.
6794 (record_btrace_call_history, record_btrace_call_history_range):
6795 Use new btrace thread info fields and new iterator.
6797 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6799 * frame.h (frame_id_build_unavailable_stack_special): New.
6800 * frame.c (frame_id_build_unavailable_stack_special): New.
6802 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6804 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6805 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6806 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6808 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6809 (i386_insn_is_jump, i386_jmp_p): New.
6810 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6811 insn_is_jump to gdbarch.
6812 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6813 * gdbarch.h: Regenerated.
6814 * gdbarch.c: Regenerated.
6815 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6816 (default_insn_is_jump): New.
6817 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6818 (default_insn_is_jump): New.
6820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6822 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6824 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6825 (btrace_read_type) <btrace_read_new>: Change to ...
6826 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6830 * common/linux-btrace.c (linux_read_btrace): Free trace from
6833 2014-01-15 Doug Evans <dje@google.com>
6835 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6838 2014-01-15 Tom Tromey <tromey@redhat.com>
6840 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6841 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6842 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6843 (set_objfile_main_name): New function.
6844 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6845 language_of_main>: New fields.
6846 (set_objfile_main_name): Declare.
6847 * symtab.c (find_main_name): Loop over objfiles to find the main
6849 (set_main_name): Now static.
6850 (get_main_info): Add comment.
6851 * symtab.h (set_main_name): Don't declare.
6853 2014-01-15 Tom Tromey <tromey@redhat.com>
6855 * symtab.c (main_progspace_key): New global.
6856 (struct main_info): New.
6857 (name_of_main, language_of_main): Remove.
6858 (get_main_info, main_info_cleanup): New function.
6859 (set_main_name, main_name, main_language): Use get_main_info.
6860 (_initialize_symtab): Initialize main_progspace_key.
6862 2014-01-15 Tom Tromey <tromey@redhat.com>
6864 * dbxread.c (process_one_symbol): Update.
6865 * dwarf2read.c (read_partial_die): Update.
6866 * symfile.c (set_initial_language): Call main_language.
6867 * symtab.c (language_of_main): Now static.
6868 (set_main_name): Add 'lang' parameter.
6869 (find_main_name): Update.
6870 (main_language): New function.
6871 (symtab_observer_executable_changed): Update.
6872 * symtab.h (set_main_name): Update.
6873 (language_of_main): Remove.
6874 (main_language): Declare.
6876 2014-01-15 Tom Tromey <tromey@redhat.com>
6878 * symfile.c (init_entry_point_info): Use new "initialized" field.
6880 * objfiles.h (struct entry_point) <initialized>: New field.
6881 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6882 (struct objfile) <ei>: ...here. Remove.
6883 * objfiles.c (entry_point_address_query): Update.
6885 2014-01-15 Tom Tromey <tromey@redhat.com>
6887 * objfiles.c (entry_point_address_query): Relocate entry point
6889 (objfile_relocate1): Do not relocate entry point address.
6890 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6891 <the_bfd_section_index>: New field.
6892 * symfile.c (init_entry_point_info): Find the entry point's
6895 2014-01-15 Tom Tromey <tromey@redhat.com>
6897 * solib-frv.c (enable_break): Use entry_point_address_query.
6899 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6901 * NEWS: Add note on improved process record-replay on
6902 arm*-linux* targets.
6904 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6906 * arm-tdep.c (enum arm_record_result): New enum.
6907 (arm_record_unsupported_insn): New function.
6908 (arm_record_coproc_data_proc): Removed.
6909 (thumb2_record_ld_st_multiple): New function.
6910 (thumb2_record_ld_st_dual_ex_tbb): New function.
6911 (thumb2_record_data_proc_sreg_mimm): New function.
6912 (thumb2_record_ps_dest_generic): New function.
6913 (thumb2_record_branch_misc_cntrl): New function.
6914 (thumb2_record_str_single_data): New function.
6915 (thumb2_record_ld_mem_hints): New function.
6916 (thumb2_record_ld_word): New function.
6917 (thumb2_record_lmul_lmla_div): New function.
6918 (thumb2_record_decode_insn_handler): New function.
6919 (decode_insn): Add thumb32 instruction handlers.
6921 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6923 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6924 (struct arm_linux_record_tdep): Declare.
6925 (arm_canonicalize_syscall): New function.
6926 (arm_all_but_pc_registers_record): New function.
6927 (arm_linux_syscall_record): New function.
6928 (arm_linux_init_abi): Add syscall recording constructs.
6929 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6930 decoding. (arm_record_coproc_data_proc): Update arm syscall
6932 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6933 <arm_syscall_record>: New field.
6934 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6937 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6939 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6940 register for push instruction recording.
6942 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6944 * arm-tdep.c (thumb_record_misc): Update to correct logical
6945 error while recording ldm, ldmia and pop instructions.
6947 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6949 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6951 2014-01-15 Pedro Alves <palves@redhat.com>
6953 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6954 (go32_resume, go32_fetch_registers, store_register)
6955 (go32_store_registers, go32_prepare_to_store)
6956 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6957 (go32_create_inferior, go32_can_run, go32_terminal_init)
6958 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6961 2014-01-15 Tom Tromey <tromey@redhat.com>
6963 * target.h (async_callback_ftype): New typedef.
6964 (struct target_ops) <to_async>: Use it.
6966 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6968 * python/py-value.c (get_field_type): Remove unnecessary curly
6969 braces for single-statement if block.
6971 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6973 * python/py-type.c (convert_field): Add missing empty line
6976 2014-01-14 Doug Evans <dje@google.com>
6978 * symfile.h (expand_symtabs_matching): Renamed from
6979 expand_partial_symbol_names. Update prototype.
6980 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6981 * symfile.c (expand_symtabs_matching): Renamed from
6982 expand_partial_symbol_names. New args file_matcher, kind.
6983 Rename arg fun to symbol_matcher.
6984 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6985 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6986 ada_expand_partial_symbol_name.
6987 (ada_make_symbol_completion_list): Update to call
6988 expand_symtabs_matching.
6989 (ada_add_global_exceptions): Call expand_symtabs_matching.
6990 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6991 call map_symbol_filenames.
6992 * symtab.c (sources_info): Update to call map_symbol_filenames.
6993 (search_symbols): Call expand_symtabs_matching.
6994 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6995 (default_make_symbol_completion_list_break_on): Update to call
6996 expand_symtabs_matching.
6997 (make_source_files_completion_list): Update to call
6998 map_symbol_filenames.
7000 2014-01-14 Doug Evans <dje@google.com>
7002 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
7003 (expand_symtabs_symbol_matcher_ftype): New typedef.
7004 (quick_symbol_functions.expand_symtabs_matching): Update to use.
7005 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7006 * symfile.c (expand_partial_symbol_names): Update to use
7007 expand_symtabs_symbol_matcher_ftype.
7008 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
7009 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7010 Arg name_matcher renamed to symbol_matcher.
7011 * psymtab.c (recursively_search_psymtabs): Update to use
7012 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
7014 (expand_symtabs_matching_via_partial): Update to use
7015 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7016 Arg name_matcher renamed to symbol_matcher.
7018 2014-01-14 Doug Evans <dje@google.com>
7020 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
7021 (map_partial_symbol_filenames): Ditto.
7022 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
7023 (map_partial_symbol_filenames): Ditto.
7024 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
7025 (map_partial_symbol_filenames): Ditto.
7026 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
7027 (map_partial_symbol_filenames): Ditto.
7028 * symtab.c: Delete #include "psymtab.h".
7030 2014-01-14 Pedro Alves <palves@redhat.com>
7031 Tom Tromey <tromey@redhat.com>
7033 * infrun.c (use_displaced_stepping): Use find_record_target
7034 instead of RECORD_IS_USED.
7035 (adjust_pc_after_break): Use record_full_is_used instead of
7037 * record-btrace.c (record_btrace_open): Call record_preopen
7038 instead of checking RECORD_IS_USED.
7039 * record-full.c (record_full_shortname)
7040 (record_full_core_shortname): New globals.
7041 (record_full_is_used): New function.
7042 (find_full_open): Call record_preopen instead of checking
7044 (init_record_full_ops): Set the target's shortname to
7045 record_full_shortname.
7046 (init_record_full_core_ops): Set the target's shortname to
7047 record_full_core_shortname.
7048 * record-full.h (record_full_is_used): Declare.
7049 * record.c (find_record_target): Make extern.
7050 (record_preopen): New function.
7051 * record.h (RECORD_IS_USED): Delete macro.
7052 (find_record_target, record_preopen): Declare functions.
7054 2014-01-14 Yao Qi <yao@codesourcery.com>
7056 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
7057 'len''s type to ULONGEST.
7058 (core_xfer_shared_libraries_aix): Likewise.
7059 * gdbarch.c, gdbarch.h: Regenerated.
7060 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
7061 Change type of 'len' to ULONGEST.
7062 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7063 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
7065 2014-01-14 Yao Qi <yao@codesourcery.com>
7067 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
7068 type of 'len' to ULONGEST.
7069 (linux_xfer_osdata_processgroups): Likewise.
7070 (linux_xfer_osdata_threads): Likewise.
7071 (linux_xfer_osdata_fds): Likewise.
7072 (linux_xfer_osdata_isockets): Likewise.
7073 (linux_xfer_osdata_shm): Likewise.
7074 (linux_xfer_osdata_sem): Likewise.
7075 (linux_xfer_osdata_msg): Likewise.
7076 (linux_common_xfer_osdata): Likewise.
7077 (struct osdata_type) <getter>: Likewise.
7078 * common/linux-osdata.h (linux_common_xfer_osdata): Update
7081 2014-01-14 Yao Qi <yao@codesourcery.com>
7083 * target.h (target_xfer_partial_ftype): Update.
7084 (struct target_ops) <to_xfer_partial>: Change 'len' type to
7086 * aix-thread.c (aix_thread_xfer_partial): Change type of
7087 argument 'len' to ULONGEST.
7088 * auxv.c (procfs_xfer_auxv): Likewise.
7089 (ld_so_xfer_auxv): Likewise.
7090 (memory_xfer_auxv): Likewise.
7091 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7092 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7093 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7094 * corelow.c (core_xfer_partial): Likewise.
7095 * ctf.c (ctf_xfer_partial): Likewise.
7096 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
7098 (darwin_read_dyld_info): Likewise.
7099 (darwin_xfer_partial): Likewise.
7100 * exec.c (section_table_xfer_memory_partial): Likewise.
7101 (exec_xfer_partial): Likewise.
7102 * exec.h (section_table_xfer_memory_partial): Update
7104 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
7105 instead of plongest.
7106 (gnu_xfer_partial): Likewise.
7107 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
7108 (ia64_hpux_xfer_solib_got): Likewise.
7109 (ia64_hpux_xfer_partial): Likewise.
7110 * ia64-linux-nat.c (ia64_linux_xfer_partial):
7111 * inf-ptrace.c (inf_ptrace_xfer_partial):
7112 * inf-ttrace.c (inf_ttrace_xfer_partial):
7113 * linux-nat.c (linux_xfer_siginfo): Likewise.
7114 (linux_nat_xfer_partial): Likewise.
7115 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
7116 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
7117 * monitor.c (monitor_xfer_memory): Likewise.
7118 (monitor_xfer_partial): Likewise.
7119 * procfs.c (procfs_xfer_partial): Likewise.
7120 * record-full.c (record_full_xfer_partial): Likewise.
7121 (record_full_core_xfer_partial): Likewise.
7122 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
7123 instead of plongest.
7124 (gdbsim_xfer_partial): Likewise.
7125 * remote.c (remote_xfer_partial): Likewise.
7126 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7127 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7129 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7130 (rs6000_xfer_shared_libraries): Likewise.
7131 * sol-thread.c (sol_thread_xfer_partial): Likewise.
7132 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7133 (sparc_xfer_partial): Likewise.
7134 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7135 (spu_xfer_partial): Likewise.
7136 * spu-multiarch.c (spu_xfer_partial): Likewise.
7137 * target.c (target_read_live_memory): Likewise.
7138 (memory_xfer_live_readonly_partial): Likewise.
7139 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
7140 (target_xfer_partial, default_xfer_partial): Likewise.
7141 (current_xfer_partial): Likewise.
7142 * tracepoint.c (tfile_xfer_partial): Likewise.
7143 * windows-nat.c (windows_xfer_memory): Likewise. Call
7144 pulongest instead of plongest.
7145 (windows_xfer_partial): Likewise.
7146 (windows_xfer_shared_libraries): Likewise.
7148 2014-01-14 Yao Qi <yao@codesourcery.com>
7150 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
7151 target_xfer_partial_ftype.
7153 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7157 * valops.c (value_struct_elt_bitpos): New function
7158 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
7159 object to 'None' if the field name is an empty string ("").
7160 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
7161 attribute to look for a field when 'name' is 'None'.
7162 (get_field_type): New function
7164 2014-01-13 Doug Evans <dje@google.com>
7167 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
7168 (try_open_dwop_file): Ditto.
7169 * gdb_bfd.c: #include "vec.h".
7170 (bfdp): New typedef.
7171 (struct gdb_bfd_data): New member included_bfds.
7172 (gdb_bfd_unref): Unref all included bfds.
7173 (gdb_bfd_record_inclusion): New function.
7174 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
7176 2014-01-13 Tom Tromey <tromey@redhat.com>
7178 * gdbcore.h (deprecated_core_resize_section_table): Remove.
7180 2014-01-13 Tom Tromey <tromey@redhat.com>
7182 * defs.h (use_windows): Remove.
7183 * gdb.c (main): Update.
7184 * main.c (captured_main, gdb_main): Update.
7185 * main.h (struct captured_main_args) <use_windows>: Remove.
7186 * top.c (use_windows): Remove.
7188 2014-01-13 Tom Tromey <tromey@redhat.com>
7190 * defs.h (deprecated_flush_hook): Remove.
7192 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7195 * linux-thread-db.c (try_thread_db_load): Add parameter
7196 check_auto_load_safe. Move here the file_is_auto_load_safe call.
7197 (try_thread_db_load_from_pdir_1): Move it there from here.
7198 (try_thread_db_load_from_sdir): Update caller.
7199 (try_thread_db_load_from_dir): Move it there from here.
7201 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
7203 * regformats/regdat.sh: Always rewrite the register file.
7205 2014-01-13 Pedro Alves <palves@redhat.com>
7207 * Makefile.in (CHECK_HEADERS): New variable.
7208 (check-headers:): New rule.
7210 2014-01-13 Tom Tromey <tromey@redhat.com>
7212 * cli/cli-setshow.c (do_set_command): Update.
7213 * defs.h (deprecated_set_hook): Remove.
7214 * top.c (deprecated_set_hook): Remove.
7216 2014-01-13 Pedro Alves <palves@redhat.com>
7218 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
7219 the tracepoint if the PC is a pseudo-register.
7221 2014-01-13 Tom Tromey <tromey@redhat.com>
7223 * defs.h (XCALLOC): Remove.
7224 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
7225 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
7226 * dwarf2loc.c (allocate_piece_closure): Likewise.
7227 * elfread.c (elf_symfile_segments): Likewise.
7228 (elf_symfile_segments): Likewise.
7229 * gdbtypes.c (copy_type_recursive): Likewise.
7230 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
7231 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
7232 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
7234 * mt-tdep.c (mt_gdbarch_init): Likewise.
7235 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
7237 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
7238 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
7239 * registry.c (registry_alloc_data): Likewise.
7240 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
7241 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
7242 * serial.c (serial_fdopen_ops): Likewise.
7243 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
7245 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
7246 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
7249 2014-01-13 Tom Tromey <tromey@redhat.com>
7251 * defs.h (XMALLOC): Remove.
7252 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
7253 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
7254 * cli-out.c (struct ui_out *): Likewise.
7255 * cli/cli-dump.c (add_dump_command): Likewise.
7256 (add_dump_command): Likewise.
7257 * complaints.c (get_complaints): Likewise.
7258 (find_complaint): Likewise.
7259 * dwarf2-frame.c (execute_cfa_program): Likewise.
7260 * dwarf2read.c (abbrev_table_read_table): Likewise.
7261 * gdbarch.sh: Likewise.
7262 * gdbarch.c: Rebuild.
7263 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
7264 * interps.c (interp_new): Likewise.
7265 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
7266 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
7267 * mi/mi-console.c (mi_console_file_new): Likewise.
7268 * mi/mi-interp.c (mi_interpreter_init): Likewise.
7269 * mi/mi-out.c (mi_out_new): Likewise.
7270 * mi/mi-parse.c (mi_parse): Likewise.
7271 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
7272 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
7273 * observer.c (xalloc_observer_list_node): Likewise.
7274 * regcache.c (regcache_xmalloc_1): Likewise.
7275 * reggroups.c (reggroup_new): Likewise.
7276 (_initialize_reggroup): Likewise.
7277 * registry.c (register_data_with_cleanup): Likewise.
7278 * remote.c (remote_notif_stop_alloc_reply): Likewise.
7279 * ser-base.c (serial_ttystate): Likewise.
7280 * ser-mingw.c (make_pipe_state): Likewise.
7281 * ser-pipe.c (pipe_open): Likewise.
7282 * serial.c (serial_open): Likewise.
7283 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
7284 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
7285 (tui_alloc_win_info): Likewise.
7286 (tui_add_content_elements): Likewise.
7287 * tui/tui-file.c (tui_file_new): Likewise.
7288 * tui/tui-out.c (tui_out_new): Likewise.
7289 * ui-file.c (mem_file_new): Likewise.
7290 * ui-out.c (push_level): Likewise.
7291 (make_cleanup_ui_out_end): Likewise.
7292 (append_header_to_list): Likewise.
7293 (ui_out_new): Likewise.
7294 * user-regs.c (user_reg_add_builtin): Likewise.
7296 2014-01-13 Tom Tromey <tromey@redhat.com>
7298 * defs.h (XZALLOC): Remove.
7299 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
7300 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
7301 (get_ada_tasks_inferior_data): Likewise.
7302 * auto-load.c (get_auto_load_pspace_data): Likewise.
7303 * auxv.c (get_auxv_inferior_data): Likewise.
7304 * bfd-target.c (target_bfd_reopen): Likewise.
7305 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
7306 (deprecated_insert_raw_breakpoint): Likewise.
7307 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
7308 * corelow.c (core_open): Likewise.
7309 * darwin-nat.c (darwin_check_new_threads): Likewise.
7310 (darwin_attach_pid): Likewise.
7311 * dummy-frame.c (dummy_frame_push): Likewise.
7312 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
7313 * dwarf2loc.c (allocate_piece_closure): Likewise.
7314 * elfread.c (elf_symfile_segments): Likewise.
7315 * eval.c (ptrmath_type_p): Likewise.
7316 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
7317 * gdbtypes.c (alloc_type_arch): Likewise.
7318 (alloc_type_instance): Likewise.
7319 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
7320 * inf-child.c (inf_child_can_use_agent): Likewise.
7321 * inflow.c (get_inflow_inferior_data): Likewise.
7322 * infrun.c (save_infcall_suspend_state): Likewise.
7323 * jit.c (jit_reader_load): Likewise.
7324 (get_jit_objfile_data): Likewise.
7325 (get_jit_program_space_data): Likewise.
7326 (jit_object_open_impl): Likewise.
7327 (jit_symtab_open_impl): Likewise.
7328 (jit_block_open_impl): Likewise.
7329 (jit_frame_sniffer): Likewise.
7330 * linux-fork.c (add_fork): Likewise.
7331 * maint.c (make_command_stats_cleanup): Likewise.
7332 * objfiles.c (get_objfile_pspace_data): Likewise.
7333 * opencl-lang.c (struct lval_closure): Likewise.
7334 * osdata.c (osdata_start_osdata): Likewise.
7335 * progspace.c (new_address_space): Likewise.
7336 (add_program_space): Likewise.
7337 * remote-sim.c (get_sim_inferior_data): Likewise.
7338 * sh-tdep.c (sh_gdbarch_init): Likewise.
7339 * skip.c (Ignore): Likewise.
7340 (skip_delete_command): Likewise.
7341 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
7342 (library_list_start_library): Likewise.
7343 (solib_aix_current_sos): Likewise.
7344 * solib-darwin.c (get_darwin_info): Likewise.
7345 (darwin_current_sos): Likewise.
7346 * solib-dsbt.c (get_dsbt_info): Likewise.
7347 * solib-ia64-hpux.c (new_so_list): Likewise.
7348 (ia64_hpux_get_solib_linkage_addr): Likewise.
7349 * solib-spu.c (append_ocl_sos): Likewise.
7350 (spu_current_sos): Likewise.
7351 * solib-svr4.c (get_svr4_info): Likewise.
7352 (svr4_keep_data_in_core): Likewise.
7353 (library_list_start_library): Likewise.
7354 (svr4_default_sos): Likewise.
7355 (svr4_read_so_list): Likewise.
7356 * solib-target.c (library_list_start_library): Likewise.
7357 (solib_target_current_sos): Likewise.
7358 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
7359 * symfile-debug.c (install_symfile_debug_logging): Likewise.
7360 * symfile.c (default_symfile_segments): Likewise.
7361 * target-descriptions.c (tdesc_data_init): Likewise.
7362 (tdesc_create_reg): Likewise.
7363 (struct tdesc_type *): Likewise.
7364 (tdesc_create_vector): Likewise.
7365 (tdesc_set_struct_size): Likewise.
7366 (struct tdesc_type *): Likewise.
7367 (tdesc_free_feature): Likewise.
7368 (tdesc_create_feature): Likewise.
7369 * windows-nat.c (windows_add_thread): Likewise.
7370 (windows_make_so): Likewise.
7371 * xml-support.c (gdb_xml_body_text): Likewise.
7372 (gdb_xml_create_parser_and_cleanup): Likewise.
7373 (xml_process_xincludes): Likewise.
7374 * xml-syscall.c (allocate_syscalls_info): Likewise.
7375 (syscall_create_syscall_desc): Likewise.
7377 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
7379 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
7380 function, with code from i386_stap_parse_special_token.
7381 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7382 (i386_stap_parse_special_token): Move code to the two functions
7385 2014-01-09 Pedro Alves <palves@redhat.com>
7386 Hui Zhu <hui@codesourcery.com>
7389 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
7390 bp_err_string. Don't mark the location shlib_disabled if the
7391 error thrown wasn't a generic or memory error. Catch errors
7392 thrown while inserting breakpoints in overlayed code. Output
7393 error message of software breakpoints.
7394 * remote.c (remote_insert_breakpoint): If this breakpoint has
7395 target-side commands but this stub doesn't support Z0 packets,
7396 throw NOT_SUPPORTED_ERROR error.
7397 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
7398 * target.h (target_insert_breakpoint): Extend comment.
7399 (target_insert_hw_breakpoint): Add comment.
7401 2014-01-08 Pedro Alves <palves@redhat.com>
7403 * remote.c (remote_add_thread): Add threads silently if starting
7405 (remote_notice_new_inferior): If in all-stop, and starting up,
7406 don't call notice_new_inferior.
7407 (get_current_thread): New function, factored out from ...
7408 (add_current_inferior_and_thread): ... this. Adjust.
7409 (remote_start_remote) <all-stop>: Fetch the thread list. If we
7410 found any thread, then select the remote's current thread as GDB's
7413 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7415 * NEWS: Create a new section for the next release branch.
7416 Rename the section of the current branch, now that it has
7419 2014-01-08 Joel Brobecker <brobecker@adacore.com>
7421 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
7422 * version.in: Bump version to 7.7.50.DATE-cvs.
7424 2014-01-08 Yao Qi <yao@codesourcery.com>
7426 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
7427 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
7428 (spu_xfer_partial): Cast 'buf' to 'const char *'.
7430 2014-01-08 Yao Qi <yao@codesourcery.com>
7432 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
7433 return value of bfd_get_filename to symbol_file_add_from_bfd.
7435 2014-01-08 Pierre Muller <muller@sourceware.org>
7438 * coff-pe-read.c (struct read_pe_section_data): Add index field.
7439 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
7440 to prim_record_mininal_symbol_and_info.
7441 (add_pe_forwarded_sym): Use known section number of forwarded symbol
7442 in call to prim_record_minimal_symbol_and_info.
7443 (read_pe_exported_syms): Set index field of section_data.
7445 2014-01-07 Andrew Pinski <apinski@cavium.com>
7447 * features/aarch64-core.xml (cpsr): Change to be 64bit.
7448 * features/aarch64.c: Regenerate.
7450 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
7452 * target.c (return_null): Define.
7453 (update_current_target): Use it instead of return_zero for
7454 functions that return a pointer.
7456 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7458 * source.c (add_path): Fix check for duplicated paths in the previously
7461 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
7463 * ada-lang.c: Remove duplicated include statements.
7464 * alphabsd-nat.c: Ditto.
7465 * amd64-darwin-tdep.c: Ditto.
7466 * amd64fbsd-nat.c: Ditto.
7467 * auto-load.c: Ditto.
7469 * breakpoint.c: Ditto.
7471 * fork-child.c: Ditto.
7472 * gdb_usleep.c: Ditto.
7473 * i386-darwin-tdep.c: Ditto.
7474 * i386fbsd-nat.c: Ditto.
7476 * inferior.c: Ditto.
7478 * linux-nat.c: Ditto.
7479 * linux-tdep.c: Ditto.
7480 * m68kbsd-nat.c: Ditto.
7481 * m68klinux-nat.c: Ditto.
7482 * microblaze-tdep.c: Ditto.
7483 * mips-linux-tdep.c: Ditto.
7484 * mn10300-tdep.c: Ditto.
7485 * nto-tdep.c: Ditto.
7486 * opencl-lang.c: Ditto.
7488 * printcmd.c: Ditto.
7489 * regcache.c: Ditto.
7490 * remote-m32r-sdi.c: Ditto.
7494 * tilegx-linux-nat.c: Ditto.
7495 * tilegx-tdep.c: Ditto.
7496 * tracepoint.c: Ditto.
7498 * vaxbsd-nat.c: Ditto.
7499 * windows-nat.c: Ditto.
7500 * xtensa-tdep.c: Ditto.
7502 2014-01-07 Yao Qi <yao@codesourcery.com>
7504 * spu-linux-nat.c (_initialize_spu_nat): Declare.
7506 2014-01-07 Yao Qi <yao@codesourcery.com>
7507 Joel Brobecker <brobecker@adacore.com>
7509 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
7510 (pdc_write_regs): Likewise.
7511 (fetch_regs_kernel_thread): Likewise.
7512 (store_regs_kernel_thread): Likewise.
7514 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7516 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
7517 tagged type objects to their actual type.
7519 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7521 * ada-valprint.c (print_field_values): Add "language" parameter.
7522 Update calls to print_field_values and print_variant_part.
7523 Pass new parameter "language" in call to val_print instead
7524 of "current_language". Replace call to ada_val_print by call
7526 (print_variant_part): Add "language" parameter.
7527 (ada_val_print_struct_union): Update call to print_field_values.
7529 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7531 * ada-valprint.c (ui_memcpy): Delete.
7532 (ada_print_floating): Update documentation. Add empty line
7533 between between function documentation and implementation.
7534 Delete variable "buffer". Use ui_file_xstrdup in place of
7535 ui_file_put. Minor adjustments following this change.
7537 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7539 * ada-valprint.c (ada_val_print_string): New function,
7540 extracted from ada_val_print_array.
7541 (ada_val_print_array): Replace extracted code by call
7542 to ada_val_print_string followed by a return. Move
7543 "else" branch to the function's top block.
7545 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7547 * ada-valprint.c (ada_val_print_array): Move implementation
7548 down. Rename parameter "offset" and "val" into "offset_aligned"
7549 and "original_value" respectively. Add parameter "offset".
7551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7553 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
7554 re-organizing the code. Change the "???" message printed
7555 when target type is a TYPE_CODE_UNDEF into
7556 "<ref to undefined type>".
7558 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7560 * ada-valprint.c (print_record): Delete, implementation inlined...
7561 (ada_val_print_struct_union): ... here. Remove call to
7562 ada_check_typedef in inlined implementation.
7564 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7566 * ada-valprint.c (ada_val_print_gnat_array): New function,
7567 extracted from ada_val_print_1;
7568 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
7569 (ada_val_print_flt, ada_val_print_struct_union)
7570 (ada_val_print_ref): Likewise.
7571 (ada_val_print_1): Delete variables i and elttype.
7572 Replace extracted-out code by call to corresponding
7575 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7577 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
7579 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7581 * ada-valprint.c (ada_val_print_1): Replace calls to
7582 ada_val_print_1 by calls to val_print.
7584 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7586 * ada-valprint.c (ada_val_print_1): Add parameter "language".
7587 Update calls to self accordingly. Replace calls to c_val_print
7588 by calls to val_print.
7590 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7592 * ada-valprint.c (print_record): Delete declaration.
7593 (adjust_type_signedness, ada_val_print_1): Likewise.
7594 (ada_val_print): Move function implementation down.
7595 (print_variant_part, print_field_values, print_record):
7596 Move function implementation up.
7598 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7600 * python/py-type.c (typy_get_name): New function.
7601 (type_object_getset): Add entry for attribute "name".
7602 * NEWS: Add entry mentioning this new attribute.
7604 2014-01-07 Yao Qi <yao@codesourcery.com>
7606 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7609 2014-01-07 Yao Qi <yao@codesourcery.com>
7611 * gnu-nat.c (info_port_rights): Add qualifier const to
7614 2014-01-07 Yao Qi <yao@codesourcery.com>
7616 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7618 2014-01-07 Yao Qi <yao@codesourcery.com>
7620 * gnu-nat.c (make_inf) Update declaration.
7621 (make_inf): Make it static.
7622 (inf_set_traced): Likewise.
7623 (inf_port_to_thread, inf_task_died_status): Likewise.
7625 2014-01-07 Yao Qi <yao@codesourcery.com>
7627 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7629 2014-01-07 Yao Qi <yao@codesourcery.com>
7631 * gnu-nat.c (_initialize_gnu_nat): Declare.
7633 2014-01-07 Yao Qi <yao@codesourcery.com>
7635 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7637 (struct gdbarch_info) <byte_order>: Change type to
7639 <byte_order_for_code>: Likewise.
7640 * gdbarch.c, gdbarch.h: Regenerated.
7642 2014-01-06 Sasha Smundak <asmundak@google.com>
7644 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7646 2014-01-06 Tom Tromey <tromey@redhat.com>
7648 * doublest.c (convert_doublest_to_floatformat): Use const, not
7650 * somread.c (som_symtab_read): Likewise.
7652 2014-01-07 Hui Zhu <hui@codesourcery.com>
7654 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7655 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7656 (gdb_bfd_fopen): Ditto.
7657 (gdb_bfd_openr): Ditto.
7658 (gdb_bfd_openw): Ditto.
7659 (gdb_bfd_openr_iovec): Ditto.
7660 (gdb_bfd_fdopenr): Ditto.
7661 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7662 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7664 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7666 * symfile-mem.c (symbol_file_add_from_memory): Removed
7667 gdb_bfd_stash_filename.
7669 2014-01-03 Doug Evans <dje@google.com>
7671 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7674 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7676 Update year range in copyright notice of all files.
7678 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7680 * top.c (print_gdb_version): Set copyright year to 2014.
7682 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7684 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7686 For older changes see ChangeLog-2013.
7692 version-control: never