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