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