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