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