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