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