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