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