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