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