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