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