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