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