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