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