NIOS2: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
4 (nios2_regset_from_core_section): Remove.
5 (nios2_iterate_over_regset_sections): New.
6 (nios2_linux_init_abi): Adjust gdbarch initialization.
7
8 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9
10 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
11 (am33_iterate_over_regset_sections): New.
12 (am33_linux_init_osabi): Adjust gdbarch initialization.
13
14 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15
16 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
17 (mips_linux_iterate_over_regset_sections): New.
18 (mips_linux_init_abi): Adjust gdbarch initialization.
19 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
20 (mips64obsd_iterate_over_regset_sections): New.
21 (mips64obsd_init_abi): Adjust.
22 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
23 (mipsnbsd_iterate_over_regset_sections): New.
24 (mipsnbsd_init_abi): Adjust.
25
26 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
27
28 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
29 (m88k_iterate_over_regset_sections): New.
30 (m88k_gdbarch_init): Adjust gdbarch initialization.
31
32 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
33
34 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
35 (ia64_linux_iterate_over_regset_sections): New.
36 (ia64_linux_init_abi): Adjust gdbarch initialization.
37
38 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
39
40 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
41 (m68kbsd_iterate_over_regset_sections): New.
42 (m68kbsd_init_abi): Adjust gdbarch initialization.
43 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
44 (m68k_linux_iterate_over_regset_sections): New.
45 (m68k_linux_init_abi): Adjust gdbarch initialization.
46
47 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
48
49 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
50 (m32r_linux_regset_from_core_section): Remove.
51 (m32r_linux_iterate_over_regset_sections): New.
52 (m32r_linux_init_abi): Adjust gdbarch initialization.
53
54 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
55
56 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
57 (amd64obsd_iterate_over_regset_sections): New.
58 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
59 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
60 Remove.
61 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
62 regset_from_core_section initialization.
63 * i386-tdep.c (i386_regset_from_core_section): Remove.
64 (i386_iterate_over_regset_sections): New.
65 (i386_gdbarch_init): Adjust gdbarch initialization.
66 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
67 (i386_iterate_over_regset_sections): New prototype.
68 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
69 Remove.
70 (i386obsd_aout_iterate_over_regset_sections): New.
71 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
72 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
73 targets.
74 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
75 (amd64fbsd_init_abi): Call fbsd_init_abi.
76 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
77 (i386fbsd4_init_abi): Call fbsd_init_abi.
78 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
79 target method 'make_corefile_notes'.
80 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
81
82 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
83
84 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
85 (hppa_hpux_iterate_over_regset_sections): New.
86 (hppa_hpux_init_abi): Adjust gdbarch initialization.
87 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
88 (hppa_linux_iterate_over_regset_sections): New.
89 (hppa_linux_init_abi): Adjust.
90 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
91 (hppanbsd_iterate_over_regset_sections): New.
92 (hppanbsd_init_abi): Adjust.
93 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
94 (hppaobsd_iterate_over_regset_sections): New.
95 (hppaobsd_init_abi): Adjust.
96
97 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
98
99 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
100 (frv_linux_iterate_over_regset_sections): New.
101 (frv_linux_init_abi): Adjust gdbarch initialization.
102
103 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
104
105 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
106 (armbsd_iterate_over_regset_sections): New prototype.
107 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
108 (armbsd_iterate_over_regset_sections): New.
109 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
110 initialization.
111
112 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
113
114 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
115 (alpha_linux_iterate_over_regset_sections): New.
116 (alpha_linux_init_abi): Adjust gdbarch initialization.
117 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
118 prototype.
119 (alphanbsd_iterate_over_regset_sections): New prototype.
120
121 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
122
123 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
124 Remove.
125 (aarch64_linux_iterate_over_regset_sections): New.
126 (aarch64_linux_init_abi): Adjust gdbarch initialization.
127
128 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
129
130 * fbsd-tdep.c: New file.
131 * fbsd-tdep.h: New file.
132 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
133 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
134 (ALLDEPFILES): Add fbsd-tdep.c.
135
136 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
137
138 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
139 parameter.
140 * gdbarch.h: Regenerate.
141 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
142 iterator.
143 (get_core_register_section): Add parameter 'regset' and use it, if
144 set. Add parameter 'min_size' and verify the bfd section size
145 against it.
146 (get_core_registers_cb): Add parameter 'regset' and pass it to
147 get_core_register section. For the "standard" register sections
148 ".reg" and ".reg2", set an appropriate default for human_name.
149 (get_core_registers): Don't abort when the gdbarch has an iterator
150 but no regset_from_core_section. Add NULL/0 for parameters
151 'regset'/'min_size' in calls to get_core_register_section.
152 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
153 'regset' and use it instead of calling the
154 regset_from_core_section gdbarch method.
155 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
156 * i386-tdep.c (i386_supply_xstateregset)
157 (i386_collect_xstateregset, i386_xstateregset): Moved to
158 i386-linux-tdep.c.
159 (i386_regset_from_core_section): Drop handling for .reg-xfp and
160 .reg-xstate.
161 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
162 core file support only if the regset iterator hasn't been set.
163 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
164 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
165 Moved from i386-tdep.c and renamed to *_linux*.
166 (i386_linux_iterate_over_regset_sections): Add regset parameter to
167 each callback invocation. Allow any .reg-xstate size when reading
168 from a core file.
169 * amd64-tdep.c (amd64_supply_xstateregset)
170 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
171 amd64-linux-tdep.c.
172 (amd64_regset_from_core_section): Remove.
173 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
174 install an amd64-specific regset_from_core_section gdbarch method.
175 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
176 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
177 Moved from amd64-tdep.c and renamed to *_linux*.
178 (amd64_linux_iterate_over_regset_sections): Add regset parameter
179 to each callback invocation. Allow any .reg-xstate size when
180 reading from a core file.
181 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
182 (arm_linux_iterate_over_regset_sections): Add regset parameter to
183 each callback invocation.
184 (arm_linux_init_abi): No longer set the regset_from_core_section
185 gdbarch method.
186 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
187 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
188 each callback invocation.
189 (ppc_linux_init_abi): No longer set the regset_from_core_section
190 gdbarch method.
191 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
192 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
193 (s390_regset_from_core_section): Remove.
194 (s390_iterate_over_regset_sections): Add regset parameter to each
195 callback invocation.
196 (s390_gdbarch_init): No longer set the regset_from_core_section
197 gdbarch method. Drop initialization of deleted tdep fields.
198
199 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
200
201 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
202 (amd64_linux_iterate_over_regset_sections): New.
203 (amd64_linux_init_abi_common): Don't install the regset section
204 list, but the new iterator in gdbarch.
205 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
206 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
207 (arm_linux_iterate_over_regset_sections): ...here. New function.
208 (arm_linux_init_abi): Set iterator instead of section list.
209 * corelow.c (get_core_registers_cb): New function, logic moved
210 from...
211 (get_core_registers): ...loop body here. Use new iterator method
212 instead of walking through the regset section list.
213 * gdbarch.sh: Remove 'core_regset_sections'. New method
214 'iterate_over_regset_sections'. New typedef
215 'iterate_over_regset_sections_cb'.
216 * gdbarch.c: Regenerate.
217 * gdbarch.h: Likewise.
218 * i386-linux-tdep.c (i386_linux_regset_sections)
219 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
220 Remove.
221 (i386_linux_iterate_over_regset_sections): New.
222 (i386_linux_init_abi): Don't choose a regset section list, but
223 install new iterator in gdbarch.
224 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
225 (linux_collect_regset_section_cb): New function, logic moved
226 from...
227 (linux_collect_thread_registers): ...loop body here. Use iterator
228 method instead of walking through list.
229 (linux_make_corefile_notes_1): Check for presence of iterator
230 method instead of regset section list.
231 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
232 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
233 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
234 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
235 (ppc_linux_iterate_over_regset_sections): ...here. New function.
236 (ppc_linux_init_abi): Don't choose from above regset section
237 lists, but install new iterator in gdbarch.
238 * regset.h (struct core_regset_section): Remove.
239 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
240 have_linux_v1, have_linux_v2, and have_tdb.
241 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
242 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
243 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
244 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
245 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
246 (s390_iterate_over_regset_sections): ...here. New function. Use
247 new tdep fields.
248 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
249 regset section lists, but install new iterator.
250
251 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
252
253 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
254
255 2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
256
257 * progspace.c (print_program_space): Don't prune program spaces
258 before printing them.
259
260 2014-09-25 Pedro Alves <palves@redhat.com>
261
262 * infrun.c (user_visible_resume_ptid): Don't check
263 singlestep_breakpoints_inserted_p.
264
265 2014-09-25 Pedro Alves <palves@redhat.com>
266
267 * breakpoint.c (should_be_inserted): Add debug output.
268
269 2014-09-25 Pedro Alves <palves@redhat.com>
270
271 * infrun.c (stepping_past_instruction_at)
272 (clear_exit_convenience_vars): Point at infrun.h instead of
273 inferior.h.
274 (handle_signal_stop): Fix typo.
275
276 2014-09-24 Yao Qi <yao@codesourcery.com>
277
278 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
279 bitmask.
280
281 2014-09-22 Gary Benson <gbenson@redhat.com>
282
283 * target.c (target_stop): Updated comment.
284
285 2014-09-22 Gary Benson <gbenson@redhat.com>
286
287 * target/target.h (target_stop_ptid): Renamed as...
288 (target_stop_and_wait): New function. Updated comment.
289 All uses updated.
290 (target_continue_ptid): Renamed as...
291 (target_continue_no_signal): New function. Updated comment.
292 All uses updated.
293
294 2014-09-22 Pedro Alves <palves@redhat.com>
295
296 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
297 and "auto" merged.
298 * breakpoint.c (enum ugll_insert_mode): New enum.
299 (always_inserted_mode): Now a plain boolean.
300 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
301 (breakpoints_always_inserted_mode): Delete.
302 (breakpoints_should_be_inserted_now): New function.
303 (insert_breakpoints): Pass UGLL_INSERT to
304 update_global_location_list instead of calling
305 insert_breakpoint_locations manually.
306 (create_solib_event_breakpoint_1): New, factored out from ...
307 (create_solib_event_breakpoint): ... this.
308 (create_and_insert_solib_event_breakpoint): Use
309 create_solib_event_breakpoint_1 instead of calling
310 insert_breakpoint_locations manually.
311 (update_global_location_list): Change parameter type from boolean
312 to enum ugll_insert_mode. All callers adjusted. Adjust to use
313 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
314 (update_global_location_list_nothrow): Change parameter type from
315 boolean to enum ugll_insert_mode.
316 (_initialize_breakpoint): "breakpoint always-inserted" option is
317 now a boolean command. Update help text.
318 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
319 (breakpoints_should_be_inserted_now): New declaration.
320 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
321 Remove breakpoints_always_inserted_mode check.
322 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
323 * remote.c (remote_start_remote): Likewise.
324
325 2014-09-22 Pedro Alves <palves@redhat.com>
326
327 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
328 (insert_breakpoints): Don't call insert_breakpoint_locations here.
329 Instead, pass UGLL_INSERT to update_global_location_list.
330 (update_global_location_list): Change parameter type from boolean
331 to enum ugll_insert_mode. All callers adjusted. Adjust to use
332 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
333 (create_solib_event_breakpoint_1): New, factored out from ...
334 (create_solib_event_breakpoint): ... this.
335 (create_and_insert_solib_event_breakpoint): Use
336 create_solib_event_breakpoint_1 instead of calling
337 insert_breakpoint_locations manually.
338 (update_global_location_list): Handle UGLL_INSERT.
339
340 2014-09-22 Pedro Alves <palves@redhat.com>
341
342 * breakpoint.c (enum ugll_insert_mode): New enum.
343 (update_global_location_list)
344 (update_global_location_list_nothrow): Change parameter type from
345 boolean to enum ugll_insert_mode. All callers adjusted.
346
347 2014-09-19 Joel Brobecker <brobecker@adacore.com>
348
349 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
350 SystemTap support in GDB.
351
352 2014-09-19 Don Breazeal <donb@codesourcery.com>
353
354 * linux-nat.c (linux_handle_extended_wait): Call
355 linux_ptrace_get_extended_event.
356 (wait_lwp): Call linux_is_extended_waitstatus.
357 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
358 and linux_is_extended_waitstatus.
359 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
360 linux_ptrace_get_extended_event.
361 (linux_ptrace_get_extended_event): New function.
362 (linux_is_extended_waitstatus): New function.
363 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
364 (linux_is_extended_waitstatus): New declarations.
365
366 2014-09-19 Yao Qi <yao@codesourcery.com>
367
368 * dwarf2read.c (dwarf_decode_lines): Update declaration.
369 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
370 comments. Callers update.
371 (dwarf_decode_lines): Likewise.
372 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
373 comments. Skip the line table if 'lowpc' is greater than
374 'address'. Don't check
375 dwarf2_per_objfile->has_section_at_zero.
376
377 2014-09-18 Doug Evans <dje@google.com>
378
379 * NEWS: Mention new "producer" attribute of gdb.Symtab.
380 * python/py-symtab.c (stpy_get_producer): New function.
381 (symtab_object_getset): Add "producer" attribute.
382
383 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
384
385 PR gdb/17384
386 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
387 (do_captured_read_memory_integer): Remove.
388 (safe_read_memory_integer): Use target_read_memory directly instead
389 of catching errors in do_captured_read_memory_integer.
390
391 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
392
393 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
394 not gdb/doc.
395
396 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
397
398 * objc-lang.c (find_implementation_from_class): Remove dead code.
399
400 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
401
402 PR cli/7233
403 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
404 "fprintf_unfiltered (gdb_stdlog...)".
405
406 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
407
408 PR breakpoints/12526
409 * breakpoint.h (struct watchpoint): New fields val_bitpos and
410 val_bitsize.
411 * breakpoint.c (watch_command_1): Use these fields to retain
412 bitfield information.
413 (extract_bitfield_from_watchpoint_value): New function.
414 (watchpoint_check): Use it.
415 (update_watchpoint): Use it. Optimize the address and length of a
416 HW watchpoint pointing to a bitfield.
417 * value.h (unpack_value_bitfield): New prototype.
418 * value.c (unpack_value_bitfield): Make extern.
419
420 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
421
422 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
423 x86-dregs.o.
424 * gnu-nat.c (inf_threads): New function.
425 * gnu-nat.h (inf_threads_ftype): New typedef.
426 (inf_threads): New declaration.
427 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
428 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
429 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
430 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
431 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
432 (i386_gnu_dr_get_control): New functions.
433 (reg_addr): New structure.
434 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
435 i386 debugging register hooks.
436 * NEWS: Mention this.
437
438 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
439
440 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
441 vector data transfer instructions.
442 (arm_record_coproc_data_proc): Updated.
443
444 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
445
446 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
447 arm_record_exreg_ld_st_insn.
448 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
449 load/store insns.
450
451 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
452
453 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
454 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
455 processing instructions.
456
457 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
458
459 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
460 for advance SIMD struct ld/st insn.
461 (thumb2_record_decode_insn_handler): Replace stub handler with
462 thumb2_record_asimd_struct_ld_st.
463
464 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
465
466 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
467 for asimd, vfp and coprocessor insns.
468 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
469 and coprocessor insns.
470 (thumb2_record_coproc_insn): New function.
471 (thumb2_record_decode_insn_handler): Update coprocessor insns record
472 handlers.
473 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
474 opcode 110 insns.
475
476 2014-09-13 Doug Evans <xdje42@gmail.com>
477
478 * NEWS: Mention new "queue-signal" command.
479 * infcmd.c (queue_signal_command): New function.
480 (_initialize_infcmd): Add new queue-signal command.
481
482 2014-09-13 Doug Evans <xdje42@gmail.com>
483
484 * linux-nat.c (wait_lwp): Add debugging printf.
485 (linux_nat_wait_1): Ditto.
486
487 2014-09-12 Pedro Alves <palves@redhat.com>
488
489 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
490 (create_and_insert_solib_event_breakpoint): New functions.
491 * breakpoint.h (create_and_insert_solib_event_breakpoint)
492 (remove_solib_event_breakpoints_at_next_stop): New declarations.
493 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
494 (remove_dbx_link_breakpoint): Delete function.
495 (insert_dbx_link_bpt_in_file): Use
496 create_and_insert_solib_event_breakpoint instead of
497 deprecated_insert_raw_breakpoint.
498 (procfs_wait): Don't check whether we hit __dbx_link here.
499 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
500 here.
501 * solib-irix.c (base_breakpoint): Delete global.
502 (disable_break): Delete function.
503 (enable_break): Use create_solib_event_breakpoint
504 instead of deprecated_insert_raw_breakpoint.
505 (irix_solib_handle_event): New function.
506 (irix_solib_create_inferior_hook): Don't run the target or disable
507 the mapping-complete breakpoint here.
508 (_initialize_irix_solib): Install irix_solib_handle_event as
509 so_ops->handle_event hook.
510
511 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
512 Ulrich Weigand  <uweigand@de.ibm.com>
513
514 PR tdep/17379
515 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
516 instead of read_memory_unsigned_integer.
517
518 2014-09-12 Gary Benson <gbenson@redhat.com>
519
520 * nat/linux-waitpid.c: Include common-defs.h.
521 [GDBSERVER]: Add FIXME comment.
522 [!GDBSERVER]: Don't include defs.h or signal.h.
523 (linux_debug) [!GDBSERVER]: Remove empty block.
524
525 2014-09-12 Gary Benson <gbenson@redhat.com>
526
527 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
528 Don't include defs.h or server.h.
529
530 2014-09-12 Gary Benson <gbenson@redhat.com>
531
532 * nat/linux-btrace.c: Include common-defs.h.
533 Don't include defs.h, server.h or gdbthread.h.
534 * nat/linux-btrace.h (struct target_ops): New forward declaration.
535
536 2014-09-12 Gary Benson <gbenson@redhat.com>
537
538 * common/agent.c: Include common-defs.h.
539 Don't include defs.h or server.h.
540 * common/buffer.c: Likewise.
541 * common/common-debug.c: Likewise.
542 * common/common-utils.c: Likewise.
543 * common/errors.c: Likewise.
544 * common/filestuff.c: Likewise.
545 * common/format.c: Likewise.
546 * common/gdb_vecs.c: Likewise.
547 * common/print-utils.c: Likewise.
548 * common/ptid.c: Likewise.
549 * common/rsp-low.c: Likewise.
550 * common/signals.c: Likewise.
551 * common/vec.c: Likewise.
552 * common/xml-utils.c: Likewise.
553 * nat/linux-osdata.c: Likewise.
554 * nat/linux-procfs.c: Likewise.
555 * nat/linux-ptrace.c: Likewise.
556 * nat/mips-linux-watch.c: Likewise.
557 * target/waitstatus.c: Likewise.
558
559 2014-09-12 Tom Tromey <tromey@redhat.com>
560 Gary Benson <gbenson@redhat.com>
561
562 * common/common-regcache.h: New file.
563 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
564 * regcache.h: Include common-regcache.h.
565 (regcache_read_pc): Don't declare.
566 * regcache.c (get_thread_regcache_for_ptid): New function.
567 * nat/linux-btrace.c: Don't include regcache.h.
568 Include common-regcache.h.
569 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
570
571 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
572
573 * regcache.h (struct regset): Declare.
574
575 2014-09-11 Pedro Alves <palves@redhat.com>
576
577 PR gdb/17347
578 * main.c: Include "infrun.h".
579 (catch_command_errors, catch_command_errors_const): Wait for the
580 foreground command to complete.
581 * top.c (maybe_wait_sync_command_done): New function, factored out
582 from ...
583 (maybe_wait_sync_command_done): ... here.
584 * top.h (maybe_wait_sync_command_done): New declaration.
585
586 2014-09-11 Tom Tromey <tromey@redhat.com>
587 Gary Benson <gbenson@redhat.com>
588
589 * common/symbol.h: New file.
590 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
591 * minsyms.c (find_minimal_symbol_address): New function.
592 * common/agent.c: Include common/symbol.h.
593 [!GDBSERVER]: Don't include objfiles.h.
594 (agent_look_up_symbols): Use find_minimal_symbol_address.
595
596 2014-09-11 Gary Benson <gbenson@redhat.com>
597
598 * target/target.h (target_stop_ptid, target_continue_ptid):
599 Declare.
600 * target.c (target_stop_ptid, target_continue_ptid): New
601 functions.
602 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
603 (agent_run_command): Always use target_stop_ptid and
604 target_continue_ptid.
605
606 2014-09-11 Tom Tromey <tromey@redhat.com>
607 Gary Benson <gbenson@redhat.com>
608
609 * target/target.h: New file.
610 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
611 * target.h: Include target/target.h.
612 (target_read_memory, target_write_memory): Don't declare.
613 * target.c (target_read_uint32): New function.
614 * common/agent.c: Include target/target.h.
615 [!GDBSERVER]: Don't include target.h.
616 (helper_thread_id): Type changed to uint32_t.
617 (agent_get_helper_thread_id): Use target_read_uint32.
618 (agent_run_command): Always use target_read_memory and
619 target_write_memory.
620 (agent_capability): Type changed to uint32_t.
621 (agent_capability_check): Use target_read_uint32.
622
623 2014-09-11 Gary Benson <gbenson@redhat.com>
624
625 * common/common-debug.h (show_debug_regs): Declare.
626 * common/common-debug.c (show_debug_regs): Define.
627 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
628 all uses with show_debug_regs. Replace all uses that considered
629 debug_hw_points as a multi-value integer with straight boolean
630 uses.
631 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
632 with show_debug_regs.
633 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
634 all uses with show_debug_regs.
635 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
636 uses with show_debug_regs.
637
638 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
639
640 * findvar.c (address_from_register): Handle targets requiring
641 a special conversion routine even for plain pointer types.
642
643 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
644
645 * rs6000-nat.c (exec_one_dummy_insn): Remove.
646 (store_register): Do not call exec_one_dummy_insn.
647
648 2014-09-10 Joel Brobecker <brobecker@adacore.com>
649
650 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
651 dereference it first. Use value_enclosing_type instead of
652 value_type.
653 (ada_array_length): Likewise.
654
655 2014-09-10 Joel Brobecker <brobecker@adacore.com>
656
657 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
658 Adjust function implementation and documentation accordingly.
659 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
660 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
661 Update call to ada_value_ptr_subscript.
662
663 2014-09-10 Joel Brobecker <brobecker@adacore.com>
664
665 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
666 instead of VAL's type.
667
668 2014-09-10 Joel Brobecker <brobecker@adacore.com>
669
670 * amd64-linux-nat.c: Add <sys/uio.h> #include.
671
672 2014-09-09 Doug Evans <xdje42@gmail.com>
673
674 PR guile/17367
675 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
676 last parameter to pkg-config, not first.
677 * configure.ac: Pass --with-guile provided pkg-config path to
678 GDB_GUILE_PROGRAM_NAMES.
679 * configure: Regenerate.
680
681 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
682
683 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
684 Bertazi".
685
686 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
687
688 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
689 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
690 the list of sections determining GDB_OSABI_IRIX.
691
692 2014-09-09 James Hogan <james.hogan@imgtec.com>
693
694 * MAINTAINERS (Write After Approval): Add "James Hogan".
695
696 2014-09-09 James Hogan <james.hogan@imgtec.com>
697
698 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
699
700 2014-09-09 Joel Brobecker <brobecker@adacore.com>
701
702 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
703
704 2014-09-08 Doug Evans <xdje42@gmail.com>
705
706 PR 17247
707 * guile.c: #include <signal.h>.
708 (_initialize_guile): Block SIGCHLD while initializing Guile.
709
710 Replaces the following, which is reverted.
711
712 2014-07-26 Doug Evans <xdje42@gmail.com>
713
714 PR 17185
715 * configure.ac: Add check for header gc/gc.h.
716 Add check for function setenv.
717 * configure: Regenerate.
718 * config.in: Regenerate.
719 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
720
721 2014-09-08 Doug Evans <xdje42@gmail.com>
722
723 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
724 with named constant. Fix style of pointer comparison.
725 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
726
727 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
728
729 PR gdb/17035
730 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
731 decide whether we display the command on "show user".
732 * cli/cli-script.c (show_user_1): Only verify cmdlines after
733 printing command name.
734 * cli/cli-decode.h (cli_user_command_p): Declare new function.
735 * cli/cli-decode.c (cli_user_command_p): Create helper function
736 to verify whether cmd_list_element is a user-defined command.
737
738 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
739
740 PR python/17355
741 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
742 Fix goto out of TRY_CATCH.
743
744 2014-09-06 Doug Evans <xdje42@gmail.com>
745 Tom Tromey <tromey@redhat.com>
746
747 PR 15276
748 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
749 $_any_caller_matches.
750 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
751 * python/lib/gdb/function/caller_is.py: New file.
752
753 2014-09-06 Doug Evans <xdje42@gmail.com>
754
755 * infcmd.c (program_info): Fix typo.
756
757 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
758
759 PR gdb/17235
760 * stap-probe.c (stap_parse_single_operand): Delete unused variable
761 'number'. New variable 'has_digit'. Rewrite code to deal with
762 subexpressions on SDT probes.
763
764 2014-09-04 Pedro Alves <palves@redhat.com>
765
766 * c-exp.y (parse_number): Skip handling base-switching prefixes if
767 the input is only one character long.
768
769 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
770
771 PR fortran/17237
772 * f-valprint.c (f_val_print): Specify the correct print option to
773 use when printing integer values.
774
775 2014-09-04 Gary Benson <gbenson@redhat.com>
776
777 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
778 Remove code to cope with LWPs wrapped as PIDs.
779 Add assertions to ensure no wrapped LWPs are passed.
780
781 2014-09-04 Pedro Alves <palves@redhat.com>
782
783 * value.c (value_ranges_copy_adjusted): New function, factored out
784 from ...
785 (value_contents_copy_raw): ... here.
786 (unpack_value_bits_as_long_1): Rename back to ...
787 (unpack_bits_as_long): ... this. Remove 'original_value' and
788 'result' parameters. Change return type to LONGEST.
789 (unpack_value_bits_as_long): Delete.
790 (unpack_value_field_as_long_1): Delete.
791 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
792 (unpack_value_bitfield): New function.
793 (value_field_bitfield): Reimplement using unpack_value_bitfield.
794 (value_fetch_lazy): Use unpack_value_bitfield.
795 * value.h (unpack_value_bits_as_long): Delete declaration.
796
797 2014-09-03 Sasha Smundak <asmundak@google.com>
798
799 * python/py-frame.c (frapy_read_register): New function.
800
801 2014-09-03 James Hogan <james.hogan@imgtec.com>
802
803 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
804 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
805
806 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
807
808 PR python/16699
809 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
810 function.
811 (add_cmd): Set "completer_handle_brkchars" to NULL.
812 * cli/cli-decode.h (struct cmd_list_element)
813 <completer_handle_brkchars>: New field.
814 * command.h (completer_ftype_void): New typedef.
815 (set_cmd_completer_handle_brkchars): New prototype.
816 * completer.c (set_gdb_completion_word_break_characters): New
817 function.
818 (complete_line_internal): Call "completer_handle_brkchars"
819 callback from command.
820 * completer.h: Include "command.h".
821 (set_gdb_completion_word_break_characters): New prototype.
822 * python/py-cmd.c (cmdpy_completer_helper): New function.
823 (cmdpy_completer_handle_brkchars): New function.
824 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
825 (cmdpy_init): Set completer_handle_brkchars to
826 cmdpy_completer_handle_brkchars.
827
828 2014-09-03 Gary Benson <gbenson@redhat.com>
829
830 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
831 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
832 Loop conditions changed to equivalent form.
833 (struct x86_debug_reg_state): Updated dr_ref_count comment.
834 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
835 ALL_DEBUG_ADDRESS_REGISTERS.
836
837 2014-09-03 Joel Brobecker <brobecker@adacore.com>
838
839 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
840 description fix.
841
842 2014-09-02 Doug Evans <dje@google.com>
843
844 * typeprint.c (find_global_typedef): Fix comment.
845
846 2014-09-02 Gary Benson <gbenson@redhat.com>
847
848 * i386-nat.h: Renamed as...
849 * x86-nat.h: New file. All type, function and variable name
850 prefixes changed from "i386_" to "x86_". All references updated.
851 * i386-nat.c: Renamed as...
852 * x86-nat.c: New file. All type, function and variable name
853 prefixes changed from "i386_" to "x86_". All references updated.
854 * common/i386-xstate.h: Renamed as...
855 * common/x86-xstate.h: New file. All type, function and variable
856 name prefixes changed from "i386_" to "x86_". All references
857 updated.
858 * nat/i386-cpuid.h: Renamed as...
859 * nat/x86-cpuid.h: New file. All type, function and variable name
860 prefixes changed from "i386_" to "x86_". All references updated.
861 * nat/i386-gcc-cpuid.h: Renamed as...
862 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
863 name prefixes changed from "i386_" to "x86_". All references
864 updated.
865 * nat/i386-dregs.h: Renamed as...
866 * nat/x86-dregs.h: New file. All type, function and variable name
867 prefixes changed from "i386_" to "x86_". All references updated.
868 * nat/i386-dregs.c: Renamed as...
869 * nat/x86-dregs.c: New file. All type, function and variable name
870 prefixes changed from "i386_" to "x86_". All references updated.
871
872 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
873
874 * varobj.c (_initialize_varobj): Move to the end of file.
875
876 2014-08-29 Gary Benson <gbenson@redhat.com>
877
878 * common/common-exceptions.h: New file.
879 * common/common-exceptions.c: Likewise.
880 * Makefile.in (SFILES): Add common/common-exceptions.c.
881 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
882 (COMMON_OBS): Add common-exceptions.o.
883 (common-exceptions.o): New rule.
884 * exceptions.h (common-exceptions.h): Include.
885 (gdb_setjmp.h): Do not include.
886 (return_reason): Moved to common-exceptions.h.
887 (enum return_reason): Likewise.
888 (RETURN_MASK): Likewise.
889 (typedef return_mask): Likewise.
890 (enum errors): Likewise.
891 (struct gdb_exception): Likewise.
892 (exceptions_state_mc_init): Likewise.
893 (exceptions_state_mc_action_iter): Likewise.
894 (exceptions_state_mc_action_iter_1): Likewise.
895 (TRY_CATCH): Likewise.
896 (throw_exception): Likewise.
897 (throw_verror): Likewise.
898 (throw_vquit): Likewise.
899 (throw_error): Likewise.
900 (throw_quit): Likewise.
901 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
902 (enum catcher_action): Likewise.
903 (struct catcher): Likewise.
904 (current_catcher): Likewise.
905 (catcher_list_size): Likewise.
906 (exceptions_state_mc_init): Likewise.
907 (catcher_pop): Likewise.
908 (exceptions_state_mc): Likewise.
909 (exceptions_state_mc_action_iter): Likewise.
910 (exceptions_state_mc_action_iter_1): Likewise.
911 (throw_exception): Likewise.
912 (exception_messages): Likewise.
913 (exception_messages_size): Likewise.
914 (throw_it): Likewise.
915 (throw_verror): Likewise.
916 (throw_vquit): Likewise.
917 (throw_error): Likewise.
918 (throw_quit): Likewise.
919 (prepare_to_throw_exception): New function.
920
921 2014-08-29 Gary Benson <gbenson@redhat.com>
922
923 * common/gdb_setjmp.h: New file.
924 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
925 * configure.ac: Move sigsetjmp check...
926 * common/common.m4: ...here.
927 * configure: Regenerate.
928 * cp-support.c (SIGJMP_BUF): Delete.
929 (SIGSETJMP): Likewise.
930 (SIGLONGJMP): Likewise.
931 * exceptions.h (gdb_setjmp.h): Include.
932 (setjmp.h): Do not include.
933 (EXCEPTIONS_SIGJMP_BUF): Delete.
934 (EXCEPTIONS_SIGSETJMP): Likewise.
935 (EXCEPTIONS_SIGLONGJMP): Likewise.
936 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
937 from gdb_setjmp.h.
938 * exceptions.c: Likewise.
939
940 2014-08-29 Gary Benson <gbenson@redhat.com>
941
942 * cleanups.h: Moved to...
943 * common/cleanups.h: New file.
944 * cleanups.c: Moved to...
945 * common/cleanups.c: New file. Include common-defs.h and
946 cleanups.h. Do not include defs.h.
947 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
948 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
949 (cleanups.o): New rule.
950
951 2014-08-29 Gary Benson <gbenson@redhat.com>
952
953 * common/errors.h (internal_warning): New declaration.
954 (internal_vwarning): Likewise.
955 * common/errors.c (internal_warning): New function.
956 * utils.h (internal_warning): Don't declare.
957 (internal_vwarning): Likewise.
958 * utils.c (internal_warning): Removed.
959
960 2014-08-29 Gary Benson <gbenson@redhat.com>
961
962 * main.c (captured_main): Use warning during startup.
963 Prefix startup warning messages with command name.
964
965 2014-08-29 Gary Benson <gbenson@redhat.com>
966
967 * main.c (captured_main): Handle usage errors with error.
968
969 2014-08-29 Gary Benson <gbenson@redhat.com>
970
971 * go32-nat.c (go32_create_inferior): Replace a fprintf/
972 exit pair with a call to error. Wrap the message with _().
973
974 2014-08-29 Gary Benson <gbenson@redhat.com>
975
976 * main.c (captured_main): Replace a fprintf/exit
977 pair with a call to error. Wrap the message with _().
978
979 2014-08-29 Gary Benson <gbenson@redhat.com>
980
981 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
982 pairs with calls to error. Wrap the message with _().
983
984 2014-08-29 Gary Benson <gbenson@redhat.com>
985
986 * utils.c (vwarning): Protect calls to target_terminal_ours
987 and wrap_here.
988
989 2014-08-29 Gary Benson <gbenson@redhat.com>
990
991 * exceptions.c (print_flush): Protect calls to
992 target_terminal_ours and wrap_here.
993
994 2014-08-29 Gary Benson <gbenson@redhat.com>
995
996 * utils.h (filtered_printing_initialized): New declaration.
997 * utils.c (abort_with_message): New function.
998 (internal_vproblem): Use abort_with_message for first level
999 recursive internal problems, and if gdb_stderr is not set up.
1000 Protect calls to target_terminal_ours, begin_line and query.
1001
1002 2014-08-28 Doug Evans <dje@google.com>
1003
1004 * symtab.c (in_prologue): Move definition to better spot.
1005 (skip_prologue_using_sal): Ditto.
1006
1007 2014-08-28 Doug Evans <dje@google.com>
1008
1009 * symtab.c (find_function_start_sal): Move definition to better spot.
1010
1011 2014-08-28 Yao Qi <yao@codesourcery.com>
1012
1013 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1014 found_stack_adjust in forward scan. Remove condition check
1015 on found_stack_adjust which is always true. Indent the code.
1016
1017 2014-08-28 Yao Qi <yao@codesourcery.com>
1018
1019 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1020 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1021 (dwarf_decode_lines): Remove argument
1022 want_line_info. Remove condition check on want_line_info.
1023 Callers update.
1024
1025 2014-08-27 Doug Evans <dje@google.com>
1026
1027 * dwarf2read.c (dwarf_record_line): Fix typo.
1028
1029 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1030
1031 * target.h (struct target_ops::to_terminal_save_ours): Remove
1032 declaration.
1033 (target_terminal_save_ours): Remove macro.
1034 * target-delegates.c: Regenerate.
1035 * inf-child.c (inf_child_target): Don't set the nonexistent
1036 field to_terminal_save_ours.
1037 * inferior.h (child_terminal_save_ours): Remove declaration.
1038 * terminal.h (gdb_save_tty_state): New declaration.
1039 * inflow.c (child_terminal_save_ours): Rename to ...
1040 (gdb_save_tty_state): ... this.
1041 * tui/tui.c: Include terminal.h.
1042 (tui_enable): Use gdb_save_tty_state instead of
1043 target_terminal_save_ours.
1044 (tui_disable): Likewise.
1045
1046 2014-08-25 Doug Evans <dje@google.com>
1047
1048 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1049 Pass NULL instead of 0 for context pointer.
1050
1051 2014-08-25 Yao Qi <yao@codesourcery.com>
1052
1053 * dwarf2read.c: Fix grammatical error.
1054
1055 2014-08-24 Yao Qi <yao@codesourcery.com>
1056
1057 * dwarf2read.c (scan_partial_symbols): Update comments.
1058 Rename argument 'need_pc' with 'set_addrmap'.
1059 (add_partial_namespace): Rename argument 'need_pc' with
1060 'set_addrmap'.
1061 (add_partial_module): Likewise.
1062 (add_partial_subprogram): Likewise. Update comments.
1063 (dwarf2_name): Fix typo.
1064
1065 2014-08-22 Doug Evans <dje@google.com>
1066
1067 PR 17276
1068 * dwarf2read.c (dwarf_record_line_p): New function.
1069 (dwarf_decode_lines_1): Ignore subsequent line number entries
1070 for the same line if any entry had a non-zero discriminator.
1071
1072 2014-08-22 Doug Evans <dje@google.com>
1073
1074 * buildsym.h (record_line_ftype): New typedef.
1075 (record_line): Use it.
1076 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
1077 (dwarf_decode_lines_1): Call them.
1078
1079 2014-08-22 Yao Qi <yao@codesourcery.com>
1080
1081 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
1082 (ctf_end): Remove code.
1083
1084 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1085
1086 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
1087 (linux_make_corefile_notes): call update_thread_list, protected against
1088 exceptions.
1089
1090 2014-08-21 Pedro Alves <palves@redhat.com>
1091
1092 * infcmd.c (attach_command): Remove comment.
1093
1094 2014-08-21 Bin Cheng <bin.cheng@arm.com>
1095
1096 * aarch64-linux-nat.c (dr_changed_t): Change the type from
1097 unsigned LONGEST to ULONGEST.
1098
1099 2014-08-20 Pedro Alves <palves@redhat.com>
1100
1101 * Makefile.in (check-read1): New rule.
1102
1103 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1104
1105 * value.c (value_from_contents_and_address): Strip resolved_type's
1106 typedef layers before checking its TYPE_DATA_LOCATION.
1107
1108 2014-08-20 Pedro Alves <palves@redhat.com>
1109
1110 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
1111
1112 2014-08-20 Yao Qi <yao@codesourcery.com>
1113
1114 * amd64-tdep.c (amd64_classify): Add a blank line after the
1115 example. Move "*/" to a new line.
1116 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
1117 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
1118 * dwarf2read.c (psymtab_include_file_name): Likewise.
1119
1120 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1121 Pedro Alves <palves@redhat.com>
1122
1123 PR symtab/14604
1124 PR symtab/14605
1125 * ada-lang.c (coerce_unspec_val_to_type): Use
1126 value_contents_copy_raw.
1127 * ada-valprint.c (val_print_packed_array_elements): Adjust.
1128 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
1129 * cp-valprint.c (cp_print_value_fields): Let the common printing
1130 code handle optimized out values.
1131 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
1132 * d-valprint.c (dynamic_array_type): Use
1133 value_bits_any_optimized_out.
1134 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
1135 check_any_valid fields.
1136 (check_pieced_value_bits): Delete and inline ...
1137 (check_pieced_synthetic_pointer): ... here.
1138 (check_pieced_value_validity): Delete.
1139 (check_pieced_value_invalid): Delete.
1140 (pieced_value_funcs): Remove check_validity and check_any_valid
1141 fields.
1142 (read_pieced_value): Use mark_value_bits_optimized_out.
1143 (write_pieced_value): Switch to use
1144 mark_value_bytes_optimized_out.
1145 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
1146 of assuming the whole value is optimized out.
1147 * findvar.c (read_frame_register_value): Remove special handling
1148 of optimized out registers.
1149 (value_from_register): Use mark_value_bytes_optimized_out.
1150 * frame-unwind.c (frame_unwind_got_optimized): Use
1151 mark_value_bytes_optimized_out.
1152 * jv-valprint.c (java_value_print): Adjust.
1153 (java_print_value_fields): Let the common printing code handle
1154 optimized out values.
1155 * mips-tdep.c (mips_print_register): Remove special handling of
1156 optimized out registers.
1157 * opencl-lang.c (lval_func_check_validity): Delete.
1158 (lval_func_check_any_valid): Delete.
1159 (opencl_value_funcs): Remove check_validity and check_any_valid
1160 fields.
1161 * p-valprint.c (pascal_object_print_value_fields): Let the common
1162 printing code handle optimized out values.
1163 * stack.c (read_frame_arg): Remove special handling of optimized
1164 out values. Fetch both VAL and ENTRYVAL before comparing
1165 contents. Adjust to value_available_contents_eq rename.
1166 * valprint.c (valprint_check_validity)
1167 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
1168 (val_print_array_elements): Adjust.
1169 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
1170 (value_bits_any_optimized_out): New function.
1171 (value_entirely_covered_by_range_vector): New function, factored
1172 out from value_entirely_unavailable.
1173 (value_entirely_unavailable): Reimplement.
1174 (value_entirely_optimized_out): New function.
1175 (insert_into_bit_range_vector): New function, factored out from
1176 mark_value_bits_unavailable.
1177 (mark_value_bits_unavailable): Reimplement.
1178 (struct ranges_and_idx): New struct.
1179 (find_first_range_overlap_and_match): New function, factored out
1180 from value_available_contents_bits_eq.
1181 (value_available_contents_bits_eq): Rename to ...
1182 (value_contents_bits_eq): ... this. Check both unavailable
1183 contents and optimized out contents.
1184 (value_available_contents_eq): Rename to ...
1185 (value_contents_eq): ... this.
1186 (allocate_value_lazy): Remove reference to the old optimized_out
1187 boolean.
1188 (allocate_optimized_out_value): Use
1189 mark_value_bytes_optimized_out.
1190 (require_not_optimized_out): Adjust to check whether the
1191 optimized_out vec is empty.
1192 (ranges_copy_adjusted): New function, factored out from
1193 value_contents_copy_raw.
1194 (value_contents_copy_raw): Also copy the optimized out ranges.
1195 Assert the destination ranges aren't optimized out.
1196 (value_contents_copy): Update comment, remove call to
1197 require_not_optimized_out.
1198 (value_contents_equal): Adjust to check whether the optimized_out
1199 vec is empty.
1200 (set_value_optimized_out, value_optimized_out_const): Delete.
1201 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1202 New functions.
1203 (value_entirely_optimized_out, value_bits_valid): Delete.
1204 (value_copy): Take a VEC copy of the 'optimized_out' field.
1205 (value_primitive_field): Remove special handling of optimized out.
1206 (value_fetch_lazy): Assert that lazy values have no unavailable
1207 regions. Use value_bits_any_optimized_out. Remove some special
1208 handling for optimized out values.
1209 * value.h: Add intro comment about <optimized out> and
1210 <unavailable>.
1211 (struct lval_funcs): Remove check_validity and check_any_valid
1212 fields.
1213 (set_value_optimized_out, value_optimized_out_const): Remove.
1214 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1215 New declarations.
1216 (value_bits_any_optimized_out): New declaration.
1217 (value_bits_valid): Delete declaration.
1218 (value_available_contents_eq): Rename to ...
1219 (value_contents_eq): ... this, and extend comments.
1220
1221 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1222
1223 Fix -fsanitize=address on unreadable inferior strings.
1224 * valprint.c (val_print_string): Fix access before BUFFER.
1225
1226 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
1227
1228 * target.c (target_struct_size): Remove.
1229 (target_struct_allocsize): Remove.
1230 (DEFAULT_ALLOCSIZE): Remove.
1231 (target_ops_p): New typedef.
1232 (DEF_VEC_P (target_ops_p)): New vector type.
1233 (target_structs): Change type to VEC (target_ops_p).
1234 (add_target_with_completer): Replace "push" code by VEC_safe_push.
1235 (find_default_run_target): Rewrite for loop following changes to
1236 target_structs.
1237
1238 2014-08-19 Joel Brobecker <brobecker@adacore.com>
1239
1240 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
1241 Adjust code accordingly. Adjust function description comment.
1242
1243 2014-08-19 Yao Qi <yao@codesourcery.com>
1244
1245 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
1246 types.
1247
1248 2014-08-19 Alan Modra <amodra@gmail.com>
1249
1250 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
1251 * config.in: Regenerate.
1252 * configure: Regenerate.
1253
1254 2014-08-19 Tom Tromey <tromey@redhat.com>
1255 Gary Benson <gbenson@redhat.com>
1256
1257 * common/common-debug.h: New file.
1258 * common/common-debug.c: Likewise.
1259 * debug.c: Likewise.
1260 * Makefile.in (SFILES): Add common/common-debug.c.
1261 (HFILES_NO_SRCDIR): Add common/common-debug.h.
1262 (COMMON_OBS): Add common-debug.o and debug.o.
1263 (common-debug.o): New rule.
1264 * common/common-defs.h: Include common-debug.h.
1265 * common/agent.c (debug_agent_printf): New function.
1266 (DEBUG_AGENT): Redefine.
1267 * nat/i386-dregs.c (debug_printf): Undefine.
1268
1269 2014-08-19 Gary Benson <gbenson@redhat.com>
1270
1271 * common/common-defs.h: Include print-utils.h.
1272 * utils.h: Do not include print-utils.h.
1273
1274 2014-08-19 Tom Tromey <tromey@redhat.com>
1275 Gary Benson <gbenson@redhat.com>
1276
1277 * common/common-types.h: New file.
1278 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1279 * common/common-defs.h: Include common-types.h.
1280 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1281 (ULONGEST): Remove.
1282
1283 2014-08-19 Tom Tromey <tromey@redhat.com>
1284 Gary Benson <gbenson@redhat.com>
1285
1286 * common/errors.h: New file.
1287 * common/errors.c: Likewise.
1288 * Makefile.in (SFILES): Add common/errors.c.
1289 (HFILES_NO_SRCDIR): Add common/errors.h.
1290 (COMMON_OBS): Add errors.o.
1291 (errors.o): New rule.
1292 * common/common-defs.h: Include errors.h.
1293 * utils.h (perror_with_name, error, verror, warning, vwarning):
1294 Don't declare.
1295 * common/common-utils.h: (malloc_failure, internal_error):
1296 Likewise.
1297
1298 2014-08-19 Gary Benson <gbenson@redhat.com>
1299
1300 * utils.c (internal_vproblem): Always print the message.
1301
1302 2014-08-18 Doug Evans <dje@google.com>
1303
1304 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1305
1306 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1307
1308 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1309 Return 0 if TYPE is dynamic.
1310 (print_range): Add handling of dynamic ranges.
1311
1312 2014-08-18 Keven Boell <keven.boell@intel.com>
1313 Joel Brobecker <brobecker@adacore.com>
1314
1315 * gdbtypes.h (struct main_type): Add field "data_location".
1316 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1317 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1318 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1319 a dynamic data location.
1320 (resolve_dynamic_type): Add DW_AT_data_location handling.
1321 (copy_recursive, copy_type): Copy the data_location information
1322 when present.
1323 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1324 * value.c (value_from_contents_and_address): Add
1325 DW_AT_data_location handling.
1326
1327 2014-08-18 Keven Boell <keven.boell@intel.com>
1328 Joel Brobecker <brobecker@adacore.com>
1329
1330 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1331 field "get_object_address".
1332 * dwarf2expr.c (execute_stack_op): Add handling for
1333 DW_OP_push_object_address.
1334 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1335 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1336 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1337 (dwarf_expr_get_obj_addr): New function.
1338 (dwarf_expr_ctx_funcs): Add get_object_address field.
1339 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1340 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1341 (dwarf2_evaluate_property): Add parameter "address". Use it.
1342 (needs_get_obj_addr): New function.
1343 (needs_frame_ctx_funcs): Add get_object_address field.
1344 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1345 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1346 (resolve_dynamic_array): Likewise.
1347
1348 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1349
1350 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1351 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1352 fixed value for records and unions for which some GNAT encodings
1353 are present.
1354
1355 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1356
1357 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1358 rewrite to avoid "else if" and "else" constructs. Should be
1359 a no-op in practice.
1360
1361 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1362
1363 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1364 of lexical block.
1365
1366 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1367
1368 PR c++/17132
1369 * eval.c: Update all calls to find_overload_match.
1370 * valarith.c: Likewise.
1371 (value_user_defined_cpp_op, value_user_defined_op): New
1372 argument NOSIDE. Update all callers.
1373 * valops.c (find_overload_match): New argument NOSIDE.
1374 * value.h (find_overload_match): Update signature.
1375
1376 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1377
1378 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1379 'items' methods instead of 'iteritems' method on dictionaries.
1380
1381 2014-08-15 Doug Evans <dje@google.com>
1382
1383 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1384 closer to use.
1385
1386 2014-08-15 Doug Evans <dje@google.com>
1387
1388 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1389
1390 2014-08-15 Doug Evans <dje@google.com>
1391
1392 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1393
1394 2014-08-15 Doug Evans <dje@google.com>
1395
1396 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1397 unused.
1398
1399 2014-08-15 Eli Zaretskii <eliz@gnu.org>
1400
1401 * dcache.h: Include target.h, to avoid compile time warnings.
1402
1403 2014-08-15 Joel Brobecker <brobecker@adacore.com>
1404
1405 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1406 frame_info" partial declaration.
1407 * gdbarch.h: Regenerate.
1408
1409 2014-08-15 Yao Qi <yao@codesourcery.com>
1410
1411 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1412 Add parameter 'decode_for_pst_p'. Callers update.
1413
1414 2014-08-13 Yao Qi <yao@codesourcery.com>
1415
1416 PR build/17104
1417 * configure.ac: Use local variable 'pos'.
1418 * configure: Regenerated.
1419
1420 2014-08-11 Doug Evans <dje@google.com>
1421
1422 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1423 message, it is redundant with "Reading symbols from ..." message.
1424
1425 2014-08-10 Doug Evans <xdje42@gmail.com>
1426
1427 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1428
1429 2014-08-09 Yao Qi <yao@codesourcery.com>
1430
1431 PR remote/9053
1432 * remote.c (remote_xfer_partial): Remove dead code.
1433
1434 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1435
1436 * ia64-linux-tdep.c: Include "regset.h".
1437 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1438 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1439 (ia64_linux_supply_fpregset): New function.
1440 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1441 (ia64_linux_regset_from_core_section): New function.
1442 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1443 method.
1444
1445 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1446
1447 * m68klinux-tdep.c: Include "regset.h".
1448 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1449 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1450 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1451 (m68k_linux_regset_from_core_section): New function.
1452 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1453 method.
1454
1455 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1456
1457 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1458 function. Move logic to...
1459 (tilegx_linux_regmap): ... this new register map.
1460 (tilegx_linux_regset): Refer to register map, replace supply
1461 method by regcache_supply_regset, and add collect method.
1462 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1463 TILEGX_FIRST_EASY_REGNUM.
1464
1465 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1466
1467 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1468 that calls regcache_supply_regset and handles the EPC register
1469 separately. Move main logic to...
1470 (score7_linux_gregmap): ... this new register map.
1471 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1472 (score7_linux_gregset): Refer to register map. Add collect method.
1473 (score7_linux_regset_from_core_section): Replace
1474 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1475 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1476 (struct regset): Delete unused forward declaraction.
1477 (struct pt_regs): Delete structure definition.
1478 (elf_gregset_t): Delete typedef.
1479
1480 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1481
1482 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1483 (nios2_core_regset): Add collect method.
1484
1485 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1486
1487 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1488 platform-independent and don't write to read-only input buffer.
1489 (m32r_linux_collect_gregset): New function.
1490 (m32r_linux_gregset): Add collect method.
1491
1492 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1493
1494 * hppa-linux-tdep.c (greg_map): Rename to...
1495 (hppa_linux_gregmap): ... this. Also convert to
1496 regcache_map_entry format.
1497 (hppa_linux_supply_regset): Delete function.
1498 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1499 (hppa_linux_fpregmap): ... this new register map.
1500 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1501 register map, replace supply method by regcache_supply_regset, and
1502 add collect method regcache_collect_regset.
1503
1504 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1505
1506 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1507 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1508 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1509 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1510 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1511 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1512 (frv_linux_supply_gregset): Replace main logic by call to
1513 regcache_supply_regset, but keep clearing gr32-gr63.
1514 (frv_linux_supply_fpregset): Delete function.
1515 (frv_linux_gregset): Refer to appropriate register map and add
1516 regcache_collect_regset as the collect method.
1517 (frv_linux_fpregset): Likewise. Also exchange the supply method
1518 by regcache_supply_regset.
1519
1520 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1521
1522 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1523 by call to alpha_supply_int_regs.
1524 (alpha_linux_collect_gregset): New function.
1525 (alpha_linux_supply_fpregset): Replace logic by call to
1526 alpha_supply_fp_regs.
1527 (alpha_linux_collect_fpregset): New function.
1528 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1529
1530 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1531
1532 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1533 by call to regcache_collect_regset.
1534 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1535 instead of aarch64_linux_supply_gregset/_fpregset.
1536 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1537 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1538 header file instead.
1539 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1540 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1541 functions. Move logic to ...
1542 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1543 register maps.
1544 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1545 refer to new register maps, replace *_regset_from_core by
1546 regcache_supply_regset, and also use regcache_collect_regset.
1547 * aarch64-linux-tdep.h: Include "regset.h".
1548 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1549 Delete prototypes.
1550 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1551 macros, moved from C source file.
1552 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1553 variable declarations.
1554
1555 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1556
1557 * s390-linux-nat.c: Include "regset.h".
1558 (regmap_gregset): Delete macro.
1559 (s390_64_regmap_gregset): New register map for
1560 regcache_supply/_collect_regset.
1561 (s390_64_gregset): New regset.
1562 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1563 (regmap_fpregset): Delete macro.
1564 (s390_native_supply, s390_native_collect): Delete functions.
1565 (supply_gregset, fill_gregset): Replace s390-specific regmap
1566 handling by a call to regcache_supply/_collect_regset.
1567 (supply_fpregset, fill_fpregset): Call regcache_supply/
1568 _collect_regset instead of s390_native_supply/_collect.
1569 (fetch_regset, store_regset): Likewise. Also change the last
1570 parameter to a regset instead of a regmap.
1571 (s390_linux_fetch_inferior_registers)
1572 (390_linux_store_inferior_registers): Adjust last parameter in
1573 calls to fetch_regset and store_regset.
1574 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1575 (s390_gregmap): ... this. Also make static const and convert to
1576 regcache_map_entry format.
1577 (s390x_regmap_gregset): Delete.
1578 (s390_regmap_fpregset): Rename to...
1579 (s390_fpregmap): ... this. Make static const and convert to
1580 regcache_map_entry format.
1581 (s390_regmap_upper, s390_regmap_last_break)
1582 (s390x_regmap_last_break, s390_regmap_system_call)
1583 (s390_regmap_tdb): Likewise.
1584 (s390_supply_regset, s390_collect_regset): Remove functions.
1585 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1586 s390_supply_regset.
1587 (s390_gregset, s390_fpregset, s390_upper_regset)
1588 (s390_last_break_regset, s390x_last_break_regset)
1589 (s390_system_call_regset, s390_tdb_regset): Make global and
1590 replace s390_supply/_collect_regset by regcache_supply/
1591 _collect_regset.
1592 (s390x_gregset): Delete.
1593 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1594 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1595 (s390_regmap_fpregset, s390_regmap_last_break)
1596 (s390x_regmap_last_break, s390_regmap_system_call)
1597 (s390_regmap_tdb): Delete global variable declarations.
1598 (s390_gregset, s390_fpregset, s390_last_break_regset)
1599 (s390x_last_break_regset, s390_system_call_regset)
1600 (s390_tdb_regset): New global variable declarations.
1601
1602 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1603
1604 * regcache.c: Include "regset.h".
1605 (regcache_transfer_regset): New local function.
1606 (regcache_supply_regset, regcache_collect_regset): New functions.
1607 * regcache.h (struct regcache_map_entry): New structure.
1608 (REGCACHE_MAP_SKIP): New enum value.
1609 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1610
1611 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1612
1613 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1614 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1615 (ppc_linux_collect_gregset ): Likewise.
1616 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1617 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1618 (ppc_collect_vrregset): Likewise.
1619 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1620 Likewise.
1621
1622 2014-08-07 Yao Qi <yao@codesourcery.com>
1623
1624 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1625 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1626 * remote.c (remote_read_bytes): Likewise.
1627
1628 2014-08-07 Yao Qi <yao@codesourcery.com>
1629
1630 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1631
1632 2014-08-07 Yao Qi <yao@codesourcery.com>
1633
1634 PR remote/17230
1635 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1636 TARGET_XFER_OK instead of 0.
1637
1638 2014-08-07 Gary Benson <gbenson@redhat.com>
1639
1640 * common/common-defs.h: Include errno.h.
1641 * defs.h: Do not include errno.h.
1642 * ada-typeprint.c: Likewise.
1643 * c-typeprint.c: Likewise.
1644 * core-regset.c: Likewise.
1645 * corefile.c: Likewise.
1646 * corelow.c: Likewise.
1647 * event-loop.c: Likewise.
1648 * f-typeprint.c: Likewise.
1649 * gnu-nat.c: Likewise.
1650 * go32-nat.c: Likewise.
1651 * i386gnu-nat.c: Likewise.
1652 * m2-typeprint.c: Likewise.
1653 * nat/linux-btrace.c: Likewise.
1654 * p-typeprint.c: Likewise.
1655 * procfs.c: Likewise.
1656 * remote-sim.c: Likewise.
1657 * rs6000-nat.c: Likewise.
1658 * target.c: Likewise.
1659 * typeprint.c: Likewise.
1660 * ui-file.c: Likewise.
1661 * valops.c: Likewise.
1662 * valprint.c: Likewise.
1663
1664 2014-08-07 Gary Benson <gbenson@redhat.com>
1665
1666 * common/common-defs.h: Include string.h.
1667 * aarch64-tdep.c: Do not include string.h.
1668 * ada-exp.y: Likewise.
1669 * ada-lang.c: Likewise.
1670 * ada-lex.l: Likewise.
1671 * ada-typeprint.c: Likewise.
1672 * ada-valprint.c: Likewise.
1673 * aix-thread.c: Likewise.
1674 * alpha-linux-tdep.c: Likewise.
1675 * alpha-mdebug-tdep.c: Likewise.
1676 * alpha-nat.c: Likewise.
1677 * alpha-osf1-tdep.c: Likewise.
1678 * alpha-tdep.c: Likewise.
1679 * alphanbsd-tdep.c: Likewise.
1680 * amd64-dicos-tdep.c: Likewise.
1681 * amd64-linux-tdep.c: Likewise.
1682 * amd64-nat.c: Likewise.
1683 * amd64-sol2-tdep.c: Likewise.
1684 * amd64fbsd-tdep.c: Likewise.
1685 * amd64obsd-tdep.c: Likewise.
1686 * arch-utils.c: Likewise.
1687 * arm-linux-nat.c: Likewise.
1688 * arm-linux-tdep.c: Likewise.
1689 * arm-tdep.c: Likewise.
1690 * arm-wince-tdep.c: Likewise.
1691 * armbsd-tdep.c: Likewise.
1692 * armnbsd-nat.c: Likewise.
1693 * armnbsd-tdep.c: Likewise.
1694 * armobsd-tdep.c: Likewise.
1695 * avr-tdep.c: Likewise.
1696 * ax-gdb.c: Likewise.
1697 * ax-general.c: Likewise.
1698 * bcache.c: Likewise.
1699 * bfin-tdep.c: Likewise.
1700 * breakpoint.c: Likewise.
1701 * build-id.c: Likewise.
1702 * buildsym.c: Likewise.
1703 * c-exp.y: Likewise.
1704 * c-lang.c: Likewise.
1705 * c-typeprint.c: Likewise.
1706 * c-valprint.c: Likewise.
1707 * charset.c: Likewise.
1708 * cli-out.c: Likewise.
1709 * cli/cli-cmds.c: Likewise.
1710 * cli/cli-decode.c: Likewise.
1711 * cli/cli-dump.c: Likewise.
1712 * cli/cli-interp.c: Likewise.
1713 * cli/cli-logging.c: Likewise.
1714 * cli/cli-script.c: Likewise.
1715 * cli/cli-setshow.c: Likewise.
1716 * cli/cli-utils.c: Likewise.
1717 * coffread.c: Likewise.
1718 * common/agent.c: Likewise.
1719 * common/buffer.c: Likewise.
1720 * common/buffer.h: Likewise.
1721 * common/common-utils.c: Likewise.
1722 * common/filestuff.c: Likewise.
1723 * common/filestuff.c: Likewise.
1724 * common/format.c: Likewise.
1725 * common/print-utils.c: Likewise.
1726 * common/rsp-low.c: Likewise.
1727 * common/signals.c: Likewise.
1728 * common/vec.h: Likewise.
1729 * common/xml-utils.c: Likewise.
1730 * core-regset.c: Likewise.
1731 * corefile.c: Likewise.
1732 * corelow.c: Likewise.
1733 * cp-abi.c: Likewise.
1734 * cp-name-parser.y: Likewise.
1735 * cp-support.c: Likewise.
1736 * cp-valprint.c: Likewise.
1737 * cris-tdep.c: Likewise.
1738 * d-exp.y: Likewise.
1739 * darwin-nat.c: Likewise.
1740 * dbxread.c: Likewise.
1741 * dcache.c: Likewise.
1742 * demangle.c: Likewise.
1743 * dicos-tdep.c: Likewise.
1744 * disasm.c: Likewise.
1745 * doublest.c: Likewise.
1746 * dsrec.c: Likewise.
1747 * dummy-frame.c: Likewise.
1748 * dwarf2-frame.c: Likewise.
1749 * dwarf2loc.c: Likewise.
1750 * dwarf2read.c: Likewise.
1751 * elfread.c: Likewise.
1752 * environ.c: Likewise.
1753 * eval.c: Likewise.
1754 * event-loop.c: Likewise.
1755 * exceptions.c: Likewise.
1756 * exec.c: Likewise.
1757 * expprint.c: Likewise.
1758 * f-exp.y: Likewise.
1759 * f-lang.c: Likewise.
1760 * f-typeprint.c: Likewise.
1761 * f-valprint.c: Likewise.
1762 * fbsd-nat.c: Likewise.
1763 * findcmd.c: Likewise.
1764 * findvar.c: Likewise.
1765 * fork-child.c: Likewise.
1766 * frame.c: Likewise.
1767 * frv-linux-tdep.c: Likewise.
1768 * frv-tdep.c: Likewise.
1769 * gdb.c: Likewise.
1770 * gdb_bfd.c: Likewise.
1771 * gdbarch.c: Likewise.
1772 * gdbarch.sh: Likewise.
1773 * gdbtypes.c: Likewise.
1774 * gnu-nat.c: Likewise.
1775 * gnu-v2-abi.c: Likewise.
1776 * gnu-v3-abi.c: Likewise.
1777 * go-exp.y: Likewise.
1778 * go-lang.c: Likewise.
1779 * go32-nat.c: Likewise.
1780 * guile/guile.c: Likewise.
1781 * guile/scm-auto-load.c: Likewise.
1782 * hppa-hpux-tdep.c: Likewise.
1783 * hppa-linux-nat.c: Likewise.
1784 * hppanbsd-tdep.c: Likewise.
1785 * hppaobsd-tdep.c: Likewise.
1786 * i386-cygwin-tdep.c: Likewise.
1787 * i386-dicos-tdep.c: Likewise.
1788 * i386-linux-tdep.c: Likewise.
1789 * i386-nto-tdep.c: Likewise.
1790 * i386-sol2-tdep.c: Likewise.
1791 * i386-tdep.c: Likewise.
1792 * i386bsd-tdep.c: Likewise.
1793 * i386gnu-nat.c: Likewise.
1794 * i386nbsd-tdep.c: Likewise.
1795 * i386obsd-tdep.c: Likewise.
1796 * i387-tdep.c: Likewise.
1797 * ia64-libunwind-tdep.c: Likewise.
1798 * ia64-linux-nat.c: Likewise.
1799 * inf-child.c: Likewise.
1800 * inf-ptrace.c: Likewise.
1801 * inf-ttrace.c: Likewise.
1802 * infcall.c: Likewise.
1803 * infcmd.c: Likewise.
1804 * inflow.c: Likewise.
1805 * infrun.c: Likewise.
1806 * interps.c: Likewise.
1807 * iq2000-tdep.c: Likewise.
1808 * irix5-nat.c: Likewise.
1809 * jv-exp.y: Likewise.
1810 * jv-lang.c: Likewise.
1811 * jv-typeprint.c: Likewise.
1812 * jv-valprint.c: Likewise.
1813 * language.c: Likewise.
1814 * linux-fork.c: Likewise.
1815 * linux-nat.c: Likewise.
1816 * lm32-tdep.c: Likewise.
1817 * m2-exp.y: Likewise.
1818 * m2-typeprint.c: Likewise.
1819 * m32c-tdep.c: Likewise.
1820 * m32r-linux-nat.c: Likewise.
1821 * m32r-linux-tdep.c: Likewise.
1822 * m32r-rom.c: Likewise.
1823 * m32r-tdep.c: Likewise.
1824 * m68hc11-tdep.c: Likewise.
1825 * m68k-tdep.c: Likewise.
1826 * m68kbsd-tdep.c: Likewise.
1827 * m68klinux-nat.c: Likewise.
1828 * m68klinux-tdep.c: Likewise.
1829 * m88k-tdep.c: Likewise.
1830 * machoread.c: Likewise.
1831 * macrocmd.c: Likewise.
1832 * main.c: Likewise.
1833 * mdebugread.c: Likewise.
1834 * mem-break.c: Likewise.
1835 * memattr.c: Likewise.
1836 * memory-map.c: Likewise.
1837 * mep-tdep.c: Likewise.
1838 * mi/mi-cmd-break.c: Likewise.
1839 * mi/mi-cmd-disas.c: Likewise.
1840 * mi/mi-cmd-env.c: Likewise.
1841 * mi/mi-cmd-stack.c: Likewise.
1842 * mi/mi-cmd-var.c: Likewise.
1843 * mi/mi-cmds.c: Likewise.
1844 * mi/mi-console.c: Likewise.
1845 * mi/mi-getopt.c: Likewise.
1846 * mi/mi-interp.c: Likewise.
1847 * mi/mi-main.c: Likewise.
1848 * mi/mi-parse.c: Likewise.
1849 * microblaze-rom.c: Likewise.
1850 * microblaze-tdep.c: Likewise.
1851 * mingw-hdep.c: Likewise.
1852 * minidebug.c: Likewise.
1853 * minsyms.c: Likewise.
1854 * mips-irix-tdep.c: Likewise.
1855 * mips-linux-tdep.c: Likewise.
1856 * mips-tdep.c: Likewise.
1857 * mips64obsd-tdep.c: Likewise.
1858 * mipsnbsd-tdep.c: Likewise.
1859 * mipsread.c: Likewise.
1860 * mn10300-linux-tdep.c: Likewise.
1861 * mn10300-tdep.c: Likewise.
1862 * monitor.c: Likewise.
1863 * moxie-tdep.c: Likewise.
1864 * mt-tdep.c: Likewise.
1865 * nat/linux-btrace.c: Likewise.
1866 * nat/linux-osdata.c: Likewise.
1867 * nat/linux-procfs.c: Likewise.
1868 * nat/linux-ptrace.c: Likewise.
1869 * nat/linux-waitpid.c: Likewise.
1870 * nbsd-tdep.c: Likewise.
1871 * nios2-linux-tdep.c: Likewise.
1872 * nto-procfs.c: Likewise.
1873 * nto-tdep.c: Likewise.
1874 * objc-lang.c: Likewise.
1875 * objfiles.c: Likewise.
1876 * opencl-lang.c: Likewise.
1877 * osabi.c: Likewise.
1878 * osdata.c: Likewise.
1879 * p-exp.y: Likewise.
1880 * p-lang.c: Likewise.
1881 * p-typeprint.c: Likewise.
1882 * parse.c: Likewise.
1883 * posix-hdep.c: Likewise.
1884 * ppc-linux-nat.c: Likewise.
1885 * ppc-sysv-tdep.c: Likewise.
1886 * ppcfbsd-tdep.c: Likewise.
1887 * ppcnbsd-tdep.c: Likewise.
1888 * ppcobsd-tdep.c: Likewise.
1889 * printcmd.c: Likewise.
1890 * procfs.c: Likewise.
1891 * prologue-value.c: Likewise.
1892 * python/py-auto-load.c: Likewise.
1893 * python/py-gdb-readline.c: Likewise.
1894 * ravenscar-thread.c: Likewise.
1895 * regcache.c: Likewise.
1896 * registry.c: Likewise.
1897 * remote-fileio.c: Likewise.
1898 * remote-m32r-sdi.c: Likewise.
1899 * remote-mips.c: Likewise.
1900 * remote-notif.c: Likewise.
1901 * remote-sim.c: Likewise.
1902 * remote.c: Likewise.
1903 * reverse.c: Likewise.
1904 * rs6000-aix-tdep.c: Likewise.
1905 * ser-base.c: Likewise.
1906 * ser-go32.c: Likewise.
1907 * ser-mingw.c: Likewise.
1908 * ser-pipe.c: Likewise.
1909 * ser-tcp.c: Likewise.
1910 * ser-unix.c: Likewise.
1911 * serial.c: Likewise.
1912 * sh-tdep.c: Likewise.
1913 * sh64-tdep.c: Likewise.
1914 * shnbsd-tdep.c: Likewise.
1915 * skip.c: Likewise.
1916 * sol-thread.c: Likewise.
1917 * solib-dsbt.c: Likewise.
1918 * solib-frv.c: Likewise.
1919 * solib-osf.c: Likewise.
1920 * solib-som.c: Likewise.
1921 * solib-spu.c: Likewise.
1922 * solib-target.c: Likewise.
1923 * solib.c: Likewise.
1924 * somread.c: Likewise.
1925 * source.c: Likewise.
1926 * sparc-nat.c: Likewise.
1927 * sparc-sol2-tdep.c: Likewise.
1928 * sparc-tdep.c: Likewise.
1929 * sparc64-tdep.c: Likewise.
1930 * sparc64fbsd-tdep.c: Likewise.
1931 * sparc64nbsd-tdep.c: Likewise.
1932 * sparcnbsd-tdep.c: Likewise.
1933 * spu-linux-nat.c: Likewise.
1934 * spu-multiarch.c: Likewise.
1935 * spu-tdep.c: Likewise.
1936 * stabsread.c: Likewise.
1937 * stack.c: Likewise.
1938 * std-regs.c: Likewise.
1939 * symfile.c: Likewise.
1940 * symmisc.c: Likewise.
1941 * symtab.c: Likewise.
1942 * target.c: Likewise.
1943 * thread.c: Likewise.
1944 * tilegx-linux-nat.c: Likewise.
1945 * tilegx-tdep.c: Likewise.
1946 * top.c: Likewise.
1947 * tracepoint.c: Likewise.
1948 * tui/tui-command.c: Likewise.
1949 * tui/tui-data.c: Likewise.
1950 * tui/tui-disasm.c: Likewise.
1951 * tui/tui-file.c: Likewise.
1952 * tui/tui-layout.c: Likewise.
1953 * tui/tui-out.c: Likewise.
1954 * tui/tui-regs.c: Likewise.
1955 * tui/tui-source.c: Likewise.
1956 * tui/tui-stack.c: Likewise.
1957 * tui/tui-win.c: Likewise.
1958 * tui/tui-windata.c: Likewise.
1959 * tui/tui-winsource.c: Likewise.
1960 * typeprint.c: Likewise.
1961 * ui-file.c: Likewise.
1962 * ui-out.c: Likewise.
1963 * user-regs.c: Likewise.
1964 * utils.c: Likewise.
1965 * v850-tdep.c: Likewise.
1966 * valarith.c: Likewise.
1967 * valops.c: Likewise.
1968 * valprint.c: Likewise.
1969 * value.c: Likewise.
1970 * varobj.c: Likewise.
1971 * vax-tdep.c: Likewise.
1972 * vaxnbsd-tdep.c: Likewise.
1973 * vaxobsd-tdep.c: Likewise.
1974 * windows-nat.c: Likewise.
1975 * xcoffread.c: Likewise.
1976 * xml-support.c: Likewise.
1977 * xstormy16-tdep.c: Likewise.
1978 * xtensa-linux-nat.c: Likewise.
1979
1980 2014-08-07 Gary Benson <gbenson@redhat.com>
1981
1982 * common/common-defs.h: Include gdb_assert.h.
1983 * aarch64-tdep.c: Do not include gdb_assert.h.
1984 * addrmap.c: Likewise.
1985 * aix-thread.c: Likewise.
1986 * alpha-linux-tdep.c: Likewise.
1987 * alpha-mdebug-tdep.c: Likewise.
1988 * alphanbsd-tdep.c: Likewise.
1989 * amd64-nat.c: Likewise.
1990 * amd64-tdep.c: Likewise.
1991 * amd64bsd-nat.c: Likewise.
1992 * amd64fbsd-nat.c: Likewise.
1993 * amd64fbsd-tdep.c: Likewise.
1994 * amd64nbsd-nat.c: Likewise.
1995 * amd64nbsd-tdep.c: Likewise.
1996 * amd64obsd-nat.c: Likewise.
1997 * amd64obsd-tdep.c: Likewise.
1998 * arch-utils.c: Likewise.
1999 * arm-tdep.c: Likewise.
2000 * armbsd-tdep.c: Likewise.
2001 * auxv.c: Likewise.
2002 * bcache.c: Likewise.
2003 * bfin-tdep.c: Likewise.
2004 * blockframe.c: Likewise.
2005 * breakpoint.c: Likewise.
2006 * bsd-kvm.c: Likewise.
2007 * bsd-uthread.c: Likewise.
2008 * buildsym.c: Likewise.
2009 * c-exp.y: Likewise.
2010 * c-lang.c: Likewise.
2011 * charset.c: Likewise.
2012 * cleanups.c: Likewise.
2013 * cli-out.c: Likewise.
2014 * cli/cli-decode.c: Likewise.
2015 * cli/cli-dump.c: Likewise.
2016 * cli/cli-logging.c: Likewise.
2017 * cli/cli-script.c: Likewise.
2018 * cli/cli-utils.c: Likewise.
2019 * coffread.c: Likewise.
2020 * common/common-utils.c: Likewise.
2021 * common/queue.h: Likewise.
2022 * common/signals.c: Likewise.
2023 * common/vec.h: Likewise.
2024 * complaints.c: Likewise.
2025 * completer.c: Likewise.
2026 * corelow.c: Likewise.
2027 * cp-abi.c: Likewise.
2028 * cp-name-parser.y: Likewise.
2029 * cp-namespace.c: Likewise.
2030 * cp-support.c: Likewise.
2031 * cris-tdep.c: Likewise.
2032 * dbxread.c: Likewise.
2033 * dictionary.c: Likewise.
2034 * doublest.c: Likewise.
2035 * dsrec.c: Likewise.
2036 * dummy-frame.c: Likewise.
2037 * dwarf2-frame-tailcall.c: Likewise.
2038 * dwarf2-frame.c: Likewise.
2039 * dwarf2expr.c: Likewise.
2040 * dwarf2loc.c: Likewise.
2041 * dwarf2read.c: Likewise.
2042 * eval.c: Likewise.
2043 * event-loop.c: Likewise.
2044 * exceptions.c: Likewise.
2045 * expprint.c: Likewise.
2046 * f-valprint.c: Likewise.
2047 * fbsd-nat.c: Likewise.
2048 * findvar.c: Likewise.
2049 * frame-unwind.c: Likewise.
2050 * frame.c: Likewise.
2051 * frv-tdep.c: Likewise.
2052 * gcore.c: Likewise.
2053 * gdb-dlfcn.c: Likewise.
2054 * gdb_bfd.c: Likewise.
2055 * gdbarch.c: Likewise.
2056 * gdbarch.sh: Likewise.
2057 * gdbtypes.c: Likewise.
2058 * gnu-nat.c: Likewise.
2059 * gnu-v3-abi.c: Likewise.
2060 * go-lang.c: Likewise.
2061 * guile/scm-exception.c: Likewise.
2062 * guile/scm-gsmob.c: Likewise.
2063 * guile/scm-lazy-string.c: Likewise.
2064 * guile/scm-math.c: Likewise.
2065 * guile/scm-pretty-print.c: Likewise.
2066 * guile/scm-safe-call.c: Likewise.
2067 * guile/scm-utils.c: Likewise.
2068 * guile/scm-value.c: Likewise.
2069 * h8300-tdep.c: Likewise.
2070 * hppa-hpux-nat.c: Likewise.
2071 * hppa-tdep.c: Likewise.
2072 * hppanbsd-tdep.c: Likewise.
2073 * hppaobsd-tdep.c: Likewise.
2074 * i386-darwin-nat.c: Likewise.
2075 * i386-darwin-tdep.c: Likewise.
2076 * i386-nto-tdep.c: Likewise.
2077 * i386-tdep.c: Likewise.
2078 * i386bsd-nat.c: Likewise.
2079 * i386fbsd-tdep.c: Likewise.
2080 * i386gnu-nat.c: Likewise.
2081 * i386nbsd-tdep.c: Likewise.
2082 * i386obsd-tdep.c: Likewise.
2083 * i387-tdep.c: Likewise.
2084 * ia64-libunwind-tdep.c: Likewise.
2085 * ia64-tdep.c: Likewise.
2086 * inf-ptrace.c: Likewise.
2087 * inf-ttrace.c: Likewise.
2088 * infcall.c: Likewise.
2089 * infcmd.c: Likewise.
2090 * infrun.c: Likewise.
2091 * inline-frame.c: Likewise.
2092 * interps.c: Likewise.
2093 * jv-lang.c: Likewise.
2094 * jv-typeprint.c: Likewise.
2095 * linux-fork.c: Likewise.
2096 * linux-nat.c: Likewise.
2097 * linux-thread-db.c: Likewise.
2098 * m32c-tdep.c: Likewise.
2099 * m32r-linux-nat.c: Likewise.
2100 * m32r-tdep.c: Likewise.
2101 * m68k-tdep.c: Likewise.
2102 * m68kbsd-nat.c: Likewise.
2103 * m68kbsd-tdep.c: Likewise.
2104 * m88k-tdep.c: Likewise.
2105 * machoread.c: Likewise.
2106 * macroexp.c: Likewise.
2107 * macrotab.c: Likewise.
2108 * maint.c: Likewise.
2109 * mdebugread.c: Likewise.
2110 * memory-map.c: Likewise.
2111 * mep-tdep.c: Likewise.
2112 * mi/mi-common.c: Likewise.
2113 * microblaze-tdep.c: Likewise.
2114 * mingw-hdep.c: Likewise.
2115 * mips-linux-nat.c: Likewise.
2116 * mips-linux-tdep.c: Likewise.
2117 * mips-tdep.c: Likewise.
2118 * mips64obsd-tdep.c: Likewise.
2119 * mipsnbsd-tdep.c: Likewise.
2120 * mn10300-linux-tdep.c: Likewise.
2121 * mn10300-tdep.c: Likewise.
2122 * moxie-tdep.c: Likewise.
2123 * mt-tdep.c: Likewise.
2124 * nat/linux-btrace.c: Likewise.
2125 * nat/linux-osdata.c: Likewise.
2126 * nat/linux-ptrace.c: Likewise.
2127 * nat/mips-linux-watch.c: Likewise.
2128 * nios2-linux-tdep.c: Likewise.
2129 * nios2-tdep.c: Likewise.
2130 * objc-lang.c: Likewise.
2131 * objfiles.c: Likewise.
2132 * obsd-nat.c: Likewise.
2133 * opencl-lang.c: Likewise.
2134 * osabi.c: Likewise.
2135 * parse.c: Likewise.
2136 * ppc-linux-nat.c: Likewise.
2137 * ppc-sysv-tdep.c: Likewise.
2138 * ppcfbsd-nat.c: Likewise.
2139 * ppcfbsd-tdep.c: Likewise.
2140 * ppcnbsd-nat.c: Likewise.
2141 * ppcnbsd-tdep.c: Likewise.
2142 * ppcobsd-nat.c: Likewise.
2143 * ppcobsd-tdep.c: Likewise.
2144 * printcmd.c: Likewise.
2145 * procfs.c: Likewise.
2146 * prologue-value.c: Likewise.
2147 * psymtab.c: Likewise.
2148 * python/py-lazy-string.c: Likewise.
2149 * python/py-value.c: Likewise.
2150 * regcache.c: Likewise.
2151 * reggroups.c: Likewise.
2152 * registry.c: Likewise.
2153 * remote-sim.c: Likewise.
2154 * remote.c: Likewise.
2155 * rs6000-aix-tdep.c: Likewise.
2156 * rs6000-tdep.c: Likewise.
2157 * s390-linux-tdep.c: Likewise.
2158 * score-tdep.c: Likewise.
2159 * ser-base.c: Likewise.
2160 * ser-mingw.c: Likewise.
2161 * sh-tdep.c: Likewise.
2162 * sh64-tdep.c: Likewise.
2163 * solib-darwin.c: Likewise.
2164 * solib-spu.c: Likewise.
2165 * solib-svr4.c: Likewise.
2166 * source.c: Likewise.
2167 * sparc-nat.c: Likewise.
2168 * sparc-sol2-tdep.c: Likewise.
2169 * sparc-tdep.c: Likewise.
2170 * sparc64-sol2-tdep.c: Likewise.
2171 * sparc64-tdep.c: Likewise.
2172 * sparc64fbsd-tdep.c: Likewise.
2173 * sparc64nbsd-tdep.c: Likewise.
2174 * sparc64obsd-tdep.c: Likewise.
2175 * sparcnbsd-tdep.c: Likewise.
2176 * sparcobsd-tdep.c: Likewise.
2177 * spu-multiarch.c: Likewise.
2178 * spu-tdep.c: Likewise.
2179 * stabsread.c: Likewise.
2180 * stack.c: Likewise.
2181 * symfile.c: Likewise.
2182 * symtab.c: Likewise.
2183 * target-descriptions.c: Likewise.
2184 * target-memory.c: Likewise.
2185 * target.c: Likewise.
2186 * tic6x-linux-tdep.c: Likewise.
2187 * tic6x-tdep.c: Likewise.
2188 * tilegx-linux-nat.c: Likewise.
2189 * tilegx-tdep.c: Likewise.
2190 * top.c: Likewise.
2191 * tramp-frame.c: Likewise.
2192 * tui/tui-out.c: Likewise.
2193 * tui/tui-winsource.c: Likewise.
2194 * ui-out.c: Likewise.
2195 * user-regs.c: Likewise.
2196 * utils.c: Likewise.
2197 * v850-tdep.c: Likewise.
2198 * valops.c: Likewise.
2199 * value.c: Likewise.
2200 * varobj.c: Likewise.
2201 * vax-nat.c: Likewise.
2202 * xml-syscall.c: Likewise.
2203 * xml-tdesc.c: Likewise.
2204 * xstormy16-tdep.c: Likewise.
2205 * xtensa-linux-nat.c: Likewise.
2206 * xtensa-tdep.c: Likewise.
2207
2208 2014-08-07 Gary Benson <gbenson@redhat.com>
2209
2210 * common/common-defs.h: Include common-utils.h.
2211 * defs.h: Do not include common-utils.h.
2212 * common/gdb_assert.h: Likewise.
2213 * darwin-nat.h: Likewise.
2214 * nat/linux-btrace.c: Likewise.
2215 * target/waitstatus.h: Likewise.
2216
2217 2014-08-07 Gary Benson <gbenson@redhat.com>
2218
2219 * common/common-defs.h: Include ptid.h.
2220 * defs.h: Do not include ptid.h.
2221 * inferior.h: Likewise.
2222 * infrun.h: Likewise.
2223 * nat/linux-btrace.h: Likewise.
2224 * nat/linux-osdata.h: Likewise.
2225 * target/waitstatus.h: Likewise.
2226
2227 2014-08-07 Gary Benson <gbenson@redhat.com>
2228
2229 * common/common-defs.h: Include gdb_locale.h.
2230 * defs.h: Do not include gdb_locale.h.
2231
2232 2014-08-07 Gary Benson <gbenson@redhat.com>
2233
2234 * common/common-defs.h: Include gdb/signals.h.
2235 * defs.h: Do not include gdb/signals.h.
2236
2237 2014-08-07 Gary Benson <gbenson@redhat.com>
2238
2239 * common/common-defs.h: Include pathmax.h.
2240 * defs.h: Do not include pathmax.h.
2241
2242 2014-08-07 Gary Benson <gbenson@redhat.com>
2243
2244 * common/common-defs.h: Include libiberty.h.
2245 * defs.h: Do not include libiberty.h.
2246 * common/queue.h: Likewise.
2247 * cp-name-parser.y: Likewise.
2248 * mi/mi-cmd-catch.c: Likewise.
2249 * python/python.c: Likewise.
2250
2251 2014-08-07 Gary Benson <gbenson@redhat.com>
2252
2253 * common/common-defs.h: Include ansidecl.h.
2254 * defs.h: Do not include ansidecl.h.
2255 * common/buffer.h: Likewise.
2256 * common/common-utils.h: Likewise.
2257
2258 2014-08-07 Gary Benson <gbenson@redhat.com>
2259
2260 * common/common-defs.h: Include stddef.h.
2261 * defs.h: Do not include stddef.h.
2262 * common/common-utils.h: Likewise.
2263 * amd64fbsd-nat.c: Likewise.
2264 * bcache.c: Likewise.
2265 * charset.c: Likewise.
2266 * common/buffer.h: Likewise.
2267 * common/vec.h: Likewise.
2268 * i386bsd-nat.c: Likewise.
2269 * nat/linux-btrace.h: Likewise.
2270 * ppcfbsd-nat.c: Likewise.
2271 * ppcnbsd-tdep.h: Likewise.
2272 * ppcobsd-nat.c: Likewise.
2273 * ppcobsd-tdep.h: Likewise.
2274 * python/py-gdb-readline.c: Likewise.
2275
2276 2014-08-07 Gary Benson <gbenson@redhat.com>
2277
2278 * common/common-defs.h: Include stdarg.h.
2279 * defs.h: Do not include stdarg.h.
2280 * ada-lang.c: Likewise.
2281 * common/common-utils.h: Likewise.
2282 * guile/scm-string.c: Likewise.
2283 * guile/scm-utils.c: Likewise.
2284 * m32c-tdep.c: Likewise.
2285
2286 2014-08-07 Gary Benson <gbenson@redhat.com>
2287
2288 * common/common-defs.h: Include stdlib.h.
2289 * defs.h: Do not include stdlib.h.
2290 * addrmap.c: Likewise.
2291 * bcache.c: Likewise.
2292 * common/buffer.c: Likewise.
2293 * common/common-utils.c: Likewise.
2294 * cp-name-parser.y: Likewise.
2295 * go32-nat.c: Likewise.
2296 * mn10300-linux-tdep.c: Likewise.
2297 * nat/linux-osdata.c: Likewise.
2298 * tui/tui.c: Likewise.
2299 * windows-nat.c: Likewise.
2300
2301 2014-08-07 Gary Benson <gbenson@redhat.com>
2302
2303 * common/common-defs.h: Include stdio.h.
2304 * defs.h: Do not include stdio.h.
2305 * ada-lang.c: Likewise.
2306 * common/buffer.c: Likewise.
2307 * common/common-utils.c: Likewise.
2308 * cp-name-parser.y: Likewise.
2309 * gnu-nat.c: Likewise.
2310 * go32-nat.c: Likewise.
2311 * i386gnu-nat.c: Likewise.
2312 * proc-api.c: Likewise.
2313 * proc-events.c: Likewise.
2314 * proc-flags.c: Likewise.
2315 * proc-why.c: Likewise.
2316 * python/python-internal.h: Likewise.
2317 * target-memory.c: Likewise.
2318 * tui/tui-io.c: Likewise.
2319 * tui/tui.c: Likewise.
2320
2321 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2322
2323 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2324 (scan_dyntag_auxv): Same.
2325
2326 2014-08-06 Yao Qi <yao@codesourcery.com>
2327
2328 * amd64-linux-nat.c: Remove duplicated include
2329 "x86-linux-nat.h".
2330 * i386-linux-nat.c: Likewise.
2331
2332 2014-08-06 Yao Qi <yao@codesourcery.com>
2333
2334 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2335 operand" with "Special opcode" in comments.
2336
2337 2014-08-05 Gary Benson <gbenson@redhat.com>
2338
2339 * interps.c (initialize_interps): Remove prototype.
2340 (interpreter_initialized): Remove static global.
2341 (interp_add): Do not call initialize_interps.
2342 (initialize_interps): Remove function.
2343
2344 2014-08-05 Gary Benson <gbenson@redhat.com>
2345
2346 * utils.c (vwarning): Remove spurious va_end.
2347
2348 2014-08-05 Alan Modra <amodra@gmail.com>
2349
2350 * charset.c (convert_between_encodings): Cast result of obstack_base.
2351 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2352 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2353 (read_unwind_info): Use size_t for some locals.
2354 * jit.c (finalize_symtab): Likewise.
2355 * utils.c (hashtab_obstack_allocate): Likewise.
2356 * symmisc.c (print_objfile_statistics): Update format strings.
2357
2358 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2361 (Changes in GDB 7.8): ... here.
2362
2363 2014-08-04 Tom Tromey <tromey@redhat.com>
2364
2365 * target.c (set_targetdebug): New function.
2366 (initialize_targets): Pass set_targetdebug when creating "set
2367 debug target".
2368
2369 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2370
2371 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2372 if detecting a variable-sized field that is not the last field.
2373 Fix struct type length computation.
2374
2375 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2376
2377 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2378 Add debug trace.
2379
2380 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2381
2382 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2383 Remove "+ 8" offset in computation of CHAIN_VMA.
2384
2385 2014-07-31 Doug Evans <dje@google.com>
2386
2387 * inflow.c (child_terminal_inferior): Add comment.
2388 (child_terminal_ours_for_output): Add comment.
2389 (child_terminal_ours): Add comment.
2390 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2391 (linux_nat_terminal_ours): Add comment.
2392
2393 2014-07-31 Gary Benson <gbenson@redhat.com>
2394
2395 * common/btrace-common.h: Do not include defs.h or server.h.
2396 * nat/mips-linux-watch.h: Likewise.
2397 * gdb-dlfcn.h: Do not include defs.h.
2398 * tracefile.h: Likewise.
2399
2400 2014-07-30 Roland McGrath <mcgrathr@google.com>
2401
2402 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2403
2404 2014-07-30 Tom Tromey <tromey@redhat.com>
2405
2406 * bsd-kvm.c (bsd_kvm_open): Constify.
2407 * corelow.c (core_open): Constify.
2408 * ctf.c (ctf_open): Constify.
2409 * dbug-rom.c (dbug_open): Constify.
2410 * exec.c (exec_open): Constify.
2411 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2412 * microblaze-rom.c (picobug_open): Constify.
2413 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2414 Constify.
2415 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2416 * record-btrace.c (record_btrace_open): Constify.
2417 * record-full.c (record_full_core_open_1, record_full_open_1)
2418 (record_full_open): Constify.
2419 * remote-m32r-sdi.c (m32r_open): Constify.
2420 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2421 (rockhopper_open, lsi_open): Constify.
2422 * remote-sim.c (gdbsim_open): Constify.
2423 * remote.c (remote_open, extended_remote_open, remote_open_1):
2424 Constify.
2425 * target.h (struct target_ops) <to_open>: Make "arg" const.
2426 * tracefile-tfile.c (tfile_open): Constify.
2427
2428 2014-07-30 Tom Tromey <tromey@redhat.com>
2429
2430 * breakpoint.c (map_breakpoint_numbers): Update.
2431 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2432 (get_number_const): New function.
2433 (get_number): Rewrite using get_number_const.
2434 (init_number_or_range): Make "string" const.
2435 (number_is_in_list): Make "list" const.
2436 * cli/cli-utils.h (get_number_const): Declare.
2437 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2438 (init_number_or_range, number_is_in_list): Update.
2439 * printcmd.c (map_display_numbers): Update.
2440 * value.c (value_from_history_ref): Constify.
2441 * value.h (value_from_history_ref): Update.
2442
2443 2014-07-30 Tom Tromey <tromey@redhat.com>
2444
2445 * corefile.c (hook_type, call_extra_exec_file_hooks)
2446 (specify_exec_file_hook): Constify.
2447 * exec.c (exec_file_attach): Make "filename" const.
2448 * gdbcore.h (deprecated_exec_file_display_hook)
2449 (specify_exec_file_hook, exec_file_attach): Constify.
2450 * main.c (captured_main): Use catch_command_errors_const.
2451
2452 2014-07-30 Tom Tromey <tromey@redhat.com>
2453
2454 * target.c (open_target): New function.
2455 (add_target_with_completer, add_deprecated_target_alias): Use
2456 set_cmd_sfunc, set_cmd_context.
2457 (debug_to_open): Remove.
2458 (setup_target_debug): Update.
2459
2460 2014-07-30 Yao Qi <yao@codesourcery.com>
2461
2462 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2463 comments.
2464 * parse.c (exp_iterate): Update comments.
2465
2466 2014-07-30 Gary Benson <gbenson@redhat.com>
2467
2468 * common/common-defs.h: New file.
2469 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2470 * defs.h: Include common-defs.h.
2471 Do not include config.h or build-gnulib/config.h.
2472
2473 2014-07-30 Gary Benson <gbenson@redhat.com>
2474
2475 * common/common-utils.h: Do not include config.h.
2476 * nat/linux-btrace.h: Likewise.
2477
2478 2014-07-30 Gary Benson <gbenson@redhat.com>
2479
2480 * btrace.c: Include defs.h.
2481 * common/ptid.c: Include defs.h or server.h as appropriate.
2482 * nat/mips-linux-watch.c: Likewise.
2483
2484 2014-07-29 Tom Tromey <tromey@redhat.com>
2485
2486 * target.c (target_is_pushed): Simplify.
2487
2488 2014-07-29 Joel Brobecker <brobecker@adacore.com>
2489
2490 GDB 7.8 released.
2491
2492 2014-07-29 Yao Qi <yao@codesourcery.com>
2493
2494 PR gdb/17206
2495 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2496
2497 2014-07-28 Doug Evans <xdje42@gmail.com>
2498
2499 PR guile/17203
2500 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2501 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2502 parameters.
2503
2504 2014-07-28 Will Newton <will.newton@linaro.org>
2505
2506 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2507 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2508 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2509 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2510 (THUMB2_EABI_SYSCALL): Likewise.
2511 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2512 struct tramp_frame.
2513 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2514 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2515
2516 2014-07-27 Doug Evans <xdje42@gmail.com>
2517
2518 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2519
2520 2014-07-27 Doug Evans <xdje42@gmail.com>
2521
2522 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2523
2524 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2525 Doug Evans <xdje42@gmail.com>
2526
2527 PR guile/17146
2528 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2529 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2530 * configure.ac: Try to use guild to compile an scm file, if it fails
2531 then disable guile support.
2532 * configure: Regenerate.
2533 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2534 GUILE_FILE_LIST.
2535 (GUILE_COMPILED_FILES): New variable.
2536 (GUILE_FILES) Update.
2537 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2538 (stamp-guile): Compile scm files.
2539 * guile/guile.c (boot_guile_support): New function.
2540 (standard_throw_args_p): New function.
2541 (print_standard_throw_error, print_throw_error): New functions.
2542 (handle_boot_error): New function.
2543 (initialize_scheme_side): Rewrite to call boot_guile_support.
2544 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2545 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2546
2547 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2548 Doug Evans <xdje42@gmail.com>
2549
2550 PR guile/17146
2551 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2552 * guile/lib/gdb/support.scm: New file.
2553 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2554 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2555 All uses updated.
2556 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2557 All uses updated.
2558 (%assert-type): Ditto, and renamed to assert-type.
2559 (%exception-print-style): Delete.
2560
2561 2014-07-26 Doug Evans <xdje42@gmail.com>
2562
2563 PR build/17105
2564 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2565 * configure: Regenerate.
2566 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2567 PYTHON_FILES.
2568 (PYTHON_FILES): New variable.
2569 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2570 (GUILE_FILES): New variable.
2571 (stamp-python, install-python, uninstall-python): Handle empty
2572 file list.
2573 (stamp-guile, install-guile, uninstall-guile): Ditto.
2574
2575 2014-07-26 Doug Evans <xdje42@gmail.com>
2576
2577 PR guile/17177
2578 * guile/lib/gdb.scm (pretty-printers): Export.
2579 (set-pretty-printers!): Export.
2580 * guile/lib/gdb/printing.scm (gdb module): Update.
2581 (prepend-pretty-printer!, append-pretty-printer!): Update.
2582 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2583 (pretty_printer_list_var): Delete.
2584 (pretty_printer_list): New static global.
2585 (gdbscm_pretty_printers): New function.
2586 (gdbscm_set_pretty_printers_x): New function.
2587 (ppscm_find_pretty_printer_from_gdb): Update.
2588 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2589 (gdbscm_initialize_pretty_printers): Update.
2590
2591 2014-07-26 Doug Evans <xdje42@gmail.com>
2592
2593 PR 17185
2594 * configure.ac: Add check for header gc/gc.h.
2595 Add check for function setenv.
2596 * configure: Regenerate.
2597 * config.in: Regenerate.
2598 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2599
2600 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2601
2602 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2603 variation in gdbarch matching.
2604
2605 2014-07-25 Tom Tromey <tromey@redhat.com>
2606
2607 * exec.c (using_exec_ops): Remove.
2608 (exec_close_1): Update. Remove extraneous block, reindent.
2609 (add_target_sections): Use target_is_pushed.
2610
2611 2014-07-25 Pedro Alves <palves@redhat.com>
2612
2613 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2614 * monitor.c (monitor_create_inferior): Likewise.
2615 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2616 * remote-sim.c (gdbsim_create_inferior): Likewise.
2617 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2618 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2619 * windows-nat.c (do_initial_windows_stuff): Likewise.
2620
2621 2014-07-25 Pedro Alves <palves@redhat.com>
2622
2623 * NEWS: Mention signal passing and "signal" command changes.
2624 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2625 comment.
2626 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2627 call.
2628 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2629 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2630 (jump_command): Adjust clear_proceed_status call.
2631 (signal_command): Warn if other thread that are resumed have
2632 signals that will be delivered. Adjust clear_proceed_status call.
2633 (until_next_command, finish_command)
2634 (proceed_after_attach_callback, attach_command_post_wait)
2635 (attach_command): Adjust clear_proceed_status call.
2636 * infrun.c (proceed_after_vfork_done): Likewise.
2637 (proceed_after_attach_callback): Adjust comment.
2638 (clear_proceed_status_thread): Clear stop_signal if not in pass
2639 state.
2640 (clear_proceed_status_callback): Delete.
2641 (clear_proceed_status): New 'step' parameter. Only clear the
2642 proceed status of threads the command being prepared is about to
2643 resume.
2644 (proceed): If passed in an explicit signal, override stop_signal
2645 with it. Don't pass the last stop signal to the thread we're
2646 resuming.
2647 (init_wait_for_inferior): Adjust clear_proceed_status call.
2648 (switch_back_to_stepped_thread): Clear the signal if it should not
2649 be passed.
2650 * infrun.h (clear_proceed_status): New 'step' parameter.
2651 (user_visible_resume_ptid): Add comment.
2652 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2653 signal is in pass state.
2654 * remote.c (append_pending_thread_resumptions): Likewise.
2655 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2656
2657 2014-07-25 Tom Tromey <tromey@redhat.com>
2658
2659 * target.h (target_stopped_data_address)
2660 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2661 parentheses.
2662
2663 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2664
2665 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2666 comments.
2667 (avr_pointer_to_address): Likewise.
2668
2669 2014-07-24 Tom Tromey <tromey@redhat.com>
2670
2671 * monitor.c (compile_pattern): Update.
2672 * target.h (struct target_ops) <to_shortname, to_longname,
2673 to_doc>: Now const.
2674
2675 2014-07-24 Tom Tromey <tromey@redhat.com>
2676
2677 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2678 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2679 (add_info_alias, add_com): Make "doc" const.
2680 (print_doc_line): Make "str" const.
2681 (delete_cmd): Update.
2682 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2683 (print_doc_line): Update.
2684 * cli/cli-script.c (document_command): Update.
2685 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2686 (add_com, add_info, add_info_alias): Update.
2687 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2688 * python/py-cmd.c (cmdpy_destroyer): Update.
2689
2690 2014-07-24 Tom Tromey <tromey@redhat.com>
2691
2692 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2693 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2694 (help_cmd_list): Constify.
2695 (lookup_cmd): Update.
2696 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2697 const.
2698 (help_cmd_list, apropos_cmd): Update.
2699 * cli/cli-script.c (show_user): Update.
2700 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2701 * cli/cli-setshow.h (cmd_show_list): Update.
2702 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2703 (cmd_show_list): Update.
2704 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2705 * python/py-cmd.c (cmdpy_destroyer): Update.
2706
2707 2014-07-24 Tom Tromey <tromey@redhat.com>
2708
2709 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2710 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2711 const.
2712 * command.h (deprecate_cmd): Update.
2713 * maint.c (maintenance_do_deprecate): Add casts.
2714
2715 2014-07-24 Tom Tromey <tromey@redhat.com>
2716
2717 * cli/cli-decode.c (help_cmd): Make parameter "const".
2718 * cli/cli-decode.h (help_cmd): Update.
2719
2720 2014-07-24 Tom Tromey <tromey@redhat.com>
2721
2722 * stack.c (up_silently_base, down_silently_base): Make argument
2723 const.
2724
2725 2014-07-24 Tom Tromey <tromey@redhat.com>
2726
2727 * solib.c (solib_add): Make "pattern" const.
2728 * solib.h (solib_add): Update.
2729
2730 2014-07-24 Tom Tromey <tromey@redhat.com>
2731
2732 * remote.c (remote_serial_open, print_packet, putpkt)
2733 (putpkt_binary): Constify.
2734 * remote.h (putpkt): Update.
2735
2736 2014-07-24 Tom Tromey <tromey@redhat.com>
2737
2738 * monitor.c (monitor_open): Make "args" const.
2739 * monitor.h (monitor_open): Update.
2740
2741 2014-07-24 Tom Tromey <tromey@redhat.com>
2742
2743 * maint.c (match_bfd_flags): Make "string" const.
2744 (print_bfd_section_info): Remove casts.
2745 (print_objfile_section_info): Make "string" const.
2746
2747 2014-07-24 Tom Tromey <tromey@redhat.com>
2748
2749 * inf-child.c (inf_child_open_target): Make "arg" const.
2750 * inf-child.h (inf_child_open_target): Update.
2751
2752 2014-07-24 Tom Tromey <tromey@redhat.com>
2753
2754 * environ.c (unset_in_environ): Make "var" const.
2755 * environ.h (unset_in_environ): Update.
2756
2757 2014-07-24 Tom Tromey <tromey@redhat.com>
2758
2759 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2760 Make "cmd" const.
2761 (scan_filename_with_cleanup): Likewise.
2762 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2763 Make arguments const.
2764 (restore_command): Update.
2765
2766 2014-07-24 Pedro Alves <palves@redhat.com>
2767
2768 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2769
2770 2014-07-24 Tom Tromey <tromey@redhat.com>
2771 Gary Benson <gbenson@redhat.com>
2772
2773 * nat/linux-ptrace.c (additional_flags): New global.
2774 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2775 additional_flags; don't check GDBSERVER.
2776 (linux_ptrace_set_additional_flags): New function.
2777 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2778 Declare.
2779 * linux-nat.c (_initialize_linux_nat): Call
2780 linux_ptrace_set_additional_flags.
2781
2782 2014-07-24 Tom Tromey <tromey@redhat.com>
2783
2784 * make-target-delegates (munge_type, write_debugmethod): New
2785 functions.
2786 (debug_names): New global.
2787 ($TARGET_DEBUG_PRINTER): New global.
2788 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2789 name.
2790 Write debug methods. Generate init_debug_target.
2791 * target-debug.h: New file.
2792 * target-delegates.c: Rebuild.
2793 * target.c: Include target-debug.h.
2794 (debug_target): Hoist definition.
2795 (target_kill, target_get_section_table, target_memory_map)
2796 (target_flash_erase, target_flash_done, target_detach)
2797 (target_disconnect, target_wait, target_resume)
2798 (target_pass_signals, target_program_signals, target_follow_fork)
2799 (target_mourn_inferior, target_search_memory)
2800 (target_thread_address_space, target_close)
2801 (target_find_new_threads, target_core_of_thread)
2802 (target_verify_memory, target_insert_mask_watchpoint)
2803 (target_remove_mask_watchpoint): Remove targetdebug code.
2804 (debug_to_post_attach, debug_to_prepare_to_store)
2805 (debug_to_files_info, debug_to_insert_breakpoint)
2806 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2807 (debug_to_region_ok_for_hw_watchpoint)
2808 (debug_to_can_accel_watchpoint_condition)
2809 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2810 (debug_to_watchpoint_addr_within_range)
2811 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2812 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2813 (debug_to_terminal_init, debug_to_terminal_inferior)
2814 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2815 (debug_to_terminal_save_ours, debug_to_terminal_info)
2816 (debug_to_load, debug_to_post_startup_inferior)
2817 (debug_to_insert_fork_catchpoint)
2818 (debug_to_remove_fork_catchpoint)
2819 (debug_to_insert_vfork_catchpoint)
2820 (debug_to_remove_vfork_catchpoint)
2821 (debug_to_insert_exec_catchpoint)
2822 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2823 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2824 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2825 (setup_target_debug): Call init_debug_target.
2826 * target.h (TARGET_DEBUG_PRINTER): New macro.
2827 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2828 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2829
2830 2014-07-24 Gary Benson <gbenson@redhat.com>
2831
2832 * exceptions.h (throw_vfatal): Renamed to...
2833 (throw_vquit): New declaration.
2834 (throw_quit): Likewise.
2835 * exceptions.c (throw_vfatal): Renamed to...
2836 (throw_vquit): New function.
2837 (throw_quit): Likewise.
2838 (throw_error): Call throw_verror rather than throw_it.
2839 * utils.h (vfatal): Removed.
2840 (fatal): Likewise.
2841 * utils.c (vfatal): Removed.
2842 (fatal): Likewise.
2843 (internal_verror): Replaced call to fatal with call to throw_quit.
2844 (quit): Replaced calls to fatal with calls to throw_quit.
2845
2846 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2847
2848 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2849 target_read_code.
2850
2851 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2852
2853 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2854 less than zero in conditional expression.
2855
2856 2014-07-23 Tom Tromey <tromey@redhat.com>
2857
2858 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2859 ($INTRO_PART): Don't match whitespace.
2860 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2861 argument matching.
2862 ($METHOD): Add $METHOD_TRAILER.
2863 (trim): Rewrite.
2864 (scan_target_h): New sub.
2865 Change main loop not to collect state.
2866 * target-delegates.c: Rebuild.
2867
2868 2014-07-23 Gary Benson <gbenson@redhat.com>
2869
2870 * cp-support.c (gdb_demangle): Fix build on systems without
2871 sigaltstack.
2872
2873 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2874
2875 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2876 for reference entry value target data value.
2877
2878 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2879
2880 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2881 value_available_contents_eq.
2882
2883 2014-07-22 Pedro Alves <palves@redhat.com>
2884
2885 * value.c (allocate_optimized_out_value): Don't mark value as
2886 non-lazy.
2887
2888 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2889
2890 * MAINTAINERS (Write After Approval): Update my email address.
2891
2892 2014-07-20 Doug Evans <dje@google.com>
2893
2894 PR server/17147
2895 * remote.c (putpkt_binary): Add text to error message.
2896
2897 2014-07-20 Yao Qi <yao@codesourcery.com>
2898
2899 * eval.c: Remove "Chill" from comments.
2900 * gdbtypes.h: Likewise.
2901 * symtab.h: Likewise.
2902
2903 2014-07-20 Yao Qi <yao@codesourcery.com>
2904
2905 * std-operator.def: Update comments to TERNOP_SLICE.
2906
2907 2014-07-20 Yao Qi <yao@codesourcery.com>
2908
2909 * std-operator.def: Remove BINOP_RANGE.
2910 * breakpoint.c (watchpoint_exp_is_const): Update.
2911 * expprint.c (dump_subexp_body_standard): Likewise.
2912 * eval.c (init_array_element): Remove dead code.
2913 (evaluate_subexp_standard): Likewise.
2914
2915 2014-07-20 Yao Qi <yao@codesourcery.com>
2916
2917 * std-operator.def: Remove BINOP_IN.
2918 * breakpoint.c (watchpoint_exp_is_const): Update.
2919 * eval.c (evaluate_subexp_standard): Likewise.
2920 * expprint.c (dump_subexp_body_standard): Likewise.
2921
2922 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2923
2924 * microblaze-tdep.c (microblaze_register_names): Add
2925 the rshr and rslr register names.
2926 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2927 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2928 Use of tdesc_numbered_register. Use of
2929 microblaze_register_g_packet_guesses. Use of
2930 tdesc_use_registers. Use of set_gdbarch_register_type.
2931 (microblaze_register_g_packet_guesses): New.
2932 * microblaze-tdep.h (microblaze_reg_num): Add
2933 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2934 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2935 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2936 * features/microblaze-core.xml: New file.
2937 * features/microblaze-stack-protect.xml: New file.
2938 * features/microblaze-with-stack-protect.c: New file.
2939 * features/microblaze-with-stack-protect.xml: New file.
2940 * features/microblaze.xml: New file.
2941 * features/microblaze.c: New file.
2942 * features/Makefile (microblaze-with-stack-protect): Add
2943 microblaze-with-stack-protect microblaze and microblaze-expedite.
2944 * regformats/microblaze-with-stack-protect.dat: New file.
2945 * regformats/microblaze.dat: New file.
2946 * doc/gdb.texinfo (MicroBlaze Features): Added.
2947
2948 2014-07-18 Tom Tromey <tromey@redhat.com>
2949
2950 * exec.c (exec_ops): Now static.
2951 * exec.h (exec_ops): Don't declare.
2952
2953 2014-07-18 Tom Tromey <tromey@redhat.com>
2954
2955 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2956 to find_target_beneath.
2957 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2958 find_target_beneath.
2959 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2960
2961 2014-07-18 Tom Tromey <tromey@redhat.com>
2962
2963 PR gdb/17130:
2964 * utils.c (quit): Use target_supports_terminal_ours.
2965 * target.h (target_supports_terminal_ours): Declare.
2966 * target.c (target_supports_delete_record): Don't check
2967 to_delete_record against NULL.
2968 (target_supports_terminal_ours): New function.
2969
2970 2014-07-18 Tom Tromey <tromey@redhat.com>
2971
2972 PR gdb/17130:
2973 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2974 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2975 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2976 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2977 * windows-nat.c (windows_xfer_partial): Always delegate.
2978 * record-btrace.c (record_btrace_xfer_partial): Simplify
2979 delegation.
2980 (record_btrace_fetch_registers, record_btrace_store_registers)
2981 (record_btrace_prepare_to_store, record_btrace_resume)
2982 (record_btrace_wait, record_btrace_find_new_threads)
2983 (record_btrace_thread_alive): Likewise.
2984 * procfs.c (procfs_xfer_partial): Always delegate.
2985 * corelow.c (core_xfer_partial): Always delegate.
2986 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2987
2988 2014-07-18 Tom Tromey <tromey@redhat.com>
2989
2990 * exec.c (exec_make_note_section): Move earlier.
2991
2992 2014-07-17 Doug Evans <dje@google.com>
2993
2994 PR gdb/17170
2995 * maint.c (count_symtabs_and_blocks): Handle NULL
2996 current_program_space.
2997 (report_command_stats): Check global enabled flag in addition to
2998 recorded enabled flag.
2999 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3000
3001 2014-07-16 Pedro Alves <palves@redhat.com>
3002
3003 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3004
3005 2014-07-16 Tom Tromey <tromey@redhat.com>
3006
3007 * target.h (struct target_ops) <to_delete_record>: Reformat
3008 comment.
3009
3010 2014-07-16 Tom Tromey <tromey@redhat.com>
3011
3012 * target-delegates.c: Rebuild.
3013
3014 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3015
3016 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3017 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3018 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3019 (avr_pointer_to_address): Likewise.
3020 (avr_address_class_type_flags): New function.
3021 (avr_address_class_type_flags_to_name): Likewise.
3022 (avr_address_class_name_to_type_flags): Likewise.
3023 (avr_gdbarch_init): Set address_class_type_flags,
3024 address_class_type_flags_to_name and
3025 address_class_name_to_type_flags.
3026
3027 2014-07-15 Pedro Alves <palves@redhat.com>
3028
3029 * linux-nat.c (kill_callback): Save errno and work with saved
3030 copy.
3031
3032 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3033
3034 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3035
3036 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3037
3038 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3039 breakpoint support correctly.
3040
3041 2014-07-14 Pedro Alves <palves@redhat.com>
3042
3043 * utils.c (prompt_for_continue): Call target_terminal_ours.
3044
3045 2014-07-14 Pedro Alves <palves@redhat.com>
3046
3047 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3048 catch_errors. Don't re-enable stdin or notify observers where,
3049 and rethrow error.
3050 (fetch_inferior_event_wrapper): Delete.
3051
3052 2014-07-14 Pedro Alves <palves@redhat.com>
3053
3054 PR gdb/17072
3055 * top.c: Include "inf-loop.h".
3056 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3057 field.
3058 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3059 was async before.
3060 (gdb_readline_wrapper): Store whether the target is async, and
3061 make it sync.
3062
3063 2014-07-14 Pedro Alves <palves@redhat.com>
3064
3065 PR gdb/17072
3066 * top.c (gdb_readline_wrapper_line): Tweak comment.
3067 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
3068 the input handler callback.
3069
3070 2014-07-14 Pedro Alves <palves@redhat.com>
3071
3072 PR gdb/17072
3073 * main.c: Include event-top.h.
3074 (handle_command_errors): New function.
3075 (catch_command_errors, catch_command_errors_const): Use it.
3076
3077 2014-07-14 Pedro Alves <palves@redhat.com>
3078
3079 * exceptions.c (catch_command_errors, catch_command_errors_const):
3080 Moved to main.c.
3081 * exceptions.h (catch_command_errors_ftype)
3082 (catch_command_errors_const_ftype): Moved to main.c.
3083 (catch_command_errors, catch_command_errors_const): Delete
3084 declarations.
3085 * main.c (catch_command_errors_ftype)
3086 (catch_command_errors_const_ftype): Moved here from exceptions.h.
3087 (catch_command_errors, catch_command_errors_const)): Moved here
3088 from exceptions.c and make static.
3089
3090 2014-07-14 Pedro Alves <palves@redhat.com>
3091
3092 * exceptions.c (print_any_exception): Delete.
3093 (catch_exceptions_with_msg): Use exception_print instead of
3094 print_any_exception.
3095 (catch_errors): Use exception_fprintf instead of
3096 print_any_exception.
3097 (catch_command_errors, catch_command_errors_const): Use
3098 exception_print instead of print_any_exception.
3099
3100 2014-07-14 Pedro Alves <palves@redhat.com>
3101
3102 * infcall.c (run_inferior_call): Set 'sync_execution' while
3103 running the inferior call.
3104
3105 2014-07-14 Pedro Alves <palves@redhat.com>
3106
3107 * value.c (value_contents_equal): Delete function.
3108 * value.h (value_contents_equal): Delete declaration.
3109
3110 2014-07-14 Tom Tromey <tromey@redhat.com>
3111
3112 PR exp/17106:
3113 * gdbtypes.c (is_dynamic_type_internal): New function, from
3114 is_dynamic_type.
3115 (is_dynamic_type): Rewrite.
3116 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
3117 (resolve_dynamic_struct): Likewise.
3118 (resolve_dynamic_type_internal): New function, from
3119 resolve_dynamic_type.
3120 (resolve_dynamic_type): Rewrite.
3121
3122 2014-07-14 Tom Tromey <tromey@redhat.com>
3123
3124 * target.c (target_require_runnable): Also check record_stratum.
3125 Update comment.
3126
3127 2014-07-11 Yao Qi <yao@codesourcery.com>
3128
3129 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
3130 thumb_instruction_restores_sp return true.
3131
3132 2014-07-11 Yao Qi <yao@codesourcery.com>
3133
3134 * arm-tdep.c (thumb_instruction_restores_sp): New function.
3135 (thumb_in_function_epilogue_p): Call
3136 thumb_instruction_restores_sp.
3137
3138 2014-07-11 Yao Qi <yao@codesourcery.com>
3139
3140 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
3141 'add sp, #imm'.
3142 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
3143
3144 2014-07-11 Gary Benson <gbenson@redhat.com>
3145
3146 * amd64-linux-nat.c (gdbcore.h): Remove include.
3147 (regset.h): Likewise.
3148 (nat/linux-btrace.h): Likewise.
3149 (btrace.h): Likewise.
3150 (gdb_assert.h): Likewise.
3151 (string.h): Likewise.
3152 (sys/uio.h): Likewise.
3153 (sys/debugreg.h): Likewise.
3154 (sys/syscall.h): Likewise.
3155 (sys/procfs.h): Likewise.
3156 (sys/user.h): Likewise.
3157 (asm/ptrace.h): Likewise.
3158 (i386-nat.h): Likewise.
3159 * i386-linux-nat.c (i386-nat.h): Likewise.
3160 (regset.h): Likewise.
3161 (target.h): Likewise.
3162 (linux-nat.h): Likewise.
3163 (nat/linux-btrace.h): Likewise.
3164 (btrace.h): Likewise.
3165 (gdb_assert.h): Likewise.
3166 (string.h): Likewise.
3167 (sys/uio.h): Likewise.
3168 (sys/user.h): Likewise.
3169 (sys/procfs.h): Likewise.
3170 (sys/reg.h): Likewise.
3171 (sys/debugreg.h): Likewise.
3172 (ORIG_EAX): Remove definition.
3173
3174 2014-07-11 Gary Benson <gbenson@redhat.com>
3175
3176 * i386-linux-nat.h: New file.
3177 * x86-linux-nat.h: Likewise.
3178 * x86-linux-nat.c: Likewise.
3179 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
3180 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
3181 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3182 * amd64-linux-nat.c (x86-linux-nat.h): New include.
3183 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3184 (PTRACE_SETREGSET): Likewise.
3185 (arch_lwp_info): Now in x86-linux-nat.c.
3186 (have_ptrace_getregset): Now in x86-linux-nat.h.
3187 (x86_linux_dr_get): Now in x86-linux-nat.c.
3188 (x86_linux_dr_set): Likewise.
3189 (x86_linux_dr_get_addr): Likewise.
3190 (x86_linux_dr_get_control): Likewise.
3191 (x86_linux_dr_get_status): Likewise.
3192 (update_debug_registers_callback): Likewise.
3193 (x86_linux_dr_set_control): Likewise.
3194 (x86_linux_dr_set_addr): Likewise.
3195 (x86_linux_prepare_to_resume): Likewise.
3196 (x86_linux_new_thread): Likewise.
3197 (x86_linux_new_fork): Likewise.
3198 (x86_linux_get_thread_area): Likewise.
3199 (super_post_startup_inferior): Likewise.
3200 (x86_linux_child_post_startup_inferior): Likewise.
3201 (AMD64_LINUX_USER64_CS): Likewise.
3202 (AMD64_LINUX_X32_DS): Likewise.
3203 (x86_linux_read_description): Likewise.
3204 (x86_linux_enable_btrace): Likewise.
3205 (x86_linux_disable_btrace): Likewise.
3206 (x86_linux_teardown_btrace): Likewise.
3207 (x86_linux_read_btrace): Likewise.
3208 (x86_linux_create_target): Likewise.
3209 (x86_linux_add_target): Likewise.
3210 * i386-linux-nat.c (x86-linux-nat.h): New include.
3211 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3212 (PTRACE_SETREGSET): Likewise.
3213 (arch_lwp_info): Now in x86-linux-nat.c.
3214 (have_ptrace_getregset): Now in x86-linux-nat.h.
3215 (x86_linux_dr_get): Now in x86-linux-nat.c.
3216 (x86_linux_dr_set): Likewise.
3217 (x86_linux_dr_get_addr): Likewise.
3218 (x86_linux_dr_get_control): Likewise.
3219 (x86_linux_dr_get_status): Likewise.
3220 (update_debug_registers_callback): Likewise.
3221 (x86_linux_dr_set_control): Likewise.
3222 (x86_linux_dr_set_addr): Likewise.
3223 (x86_linux_prepare_to_resume): Likewise.
3224 (x86_linux_new_thread): Likewise.
3225 (x86_linux_new_fork): Likewise.
3226 (x86_linux_get_thread_area): Likewise.
3227 (super_post_startup_inferior): Likewise.
3228 (x86_linux_child_post_startup_inferior): Likewise.
3229 (AMD64_LINUX_USER64_CS): Likewise.
3230 (AMD64_LINUX_X32_DS): Likewise.
3231 (x86_linux_read_description): Likewise.
3232 (x86_linux_enable_btrace): Likewise.
3233 (x86_linux_disable_btrace): Likewise.
3234 (x86_linux_teardown_btrace): Likewise.
3235 (x86_linux_read_btrace): Likewise.
3236 (x86_linux_create_target): Likewise.
3237 (x86_linux_add_target): Likewise.
3238
3239 2014-07-11 Gary Benson <gbenson@redhat.com>
3240
3241 * amd64-linux-nat.c: Comment and whitespace changes.
3242 * i386-linux-nat.c: Comment and whitespace changes.
3243
3244 2014-07-11 Gary Benson <gbenson@redhat.com>
3245
3246 * amd64-linux-nat.c (x86_linux_create_target): New function.
3247 (x86_linux_add_target): Likewise.
3248 (_initialize_amd64_linux_nat): Delegate to the above new functions.
3249 * i386-linux-nat.c (x86_linux_create_target): New function.
3250 (x86_linux_add_target): Likewise.
3251 (_initialize_i386_linux_nat): Delegate to the above new functions.
3252
3253 2014-07-11 Gary Benson <gbenson@redhat.com>
3254
3255 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
3256 (ps_get_thread_area): Delegate to the above in 32-bit mode.
3257 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
3258 (ps_get_thread_area): Delegate to the above.
3259
3260 2014-07-11 Gary Benson <gbenson@redhat.com>
3261
3262 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
3263 x86_linux_read_description. All uses updated. amd64-specific
3264 code conditionalized. Conditionalized i386-specific code added.
3265 Redundant cast removed.
3266 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3267 x86_linux_read_description. All uses updated. i386-specific
3268 code conditionalized. Conditionalized amd64-specific code added.
3269 One sizeof replaced with the actual type it is describing.
3270
3271 2014-07-11 Gary Benson <gbenson@redhat.com>
3272
3273 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3274 x86_linux_dr_get. All uses updated.
3275 (amd64_linux_dr_set): Renamed to
3276 x86_linux_dr_set. All uses updated.
3277 (amd64_linux_dr_get_addr): Renamed to
3278 x86_linux_dr_get_addr. All uses updated.
3279 (amd64_linux_dr_get_control): Renamed to
3280 x86_linux_dr_get_control. All uses updated.
3281 (amd64_linux_dr_get_status): Renamed to
3282 x86_linux_dr_get_status. All uses updated.
3283 (amd64_linux_dr_set_control): Renamed to
3284 x86_linux_dr_set_control. All uses updated.
3285 (amd64_linux_dr_set_addr): Renamed to
3286 x86_linux_dr_set_addr. All uses updated.
3287 (amd64_linux_prepare_to_resume): Renamed to
3288 x86_linux_prepare_to_resume. All uses updated.
3289 (amd64_linux_new_thread): Renamed to
3290 x86_linux_new_thread. All uses updated.
3291 (amd64_linux_new_fork): Renamed to
3292 x86_linux_new_fork. All uses updated.
3293 (amd64_linux_child_post_startup_inferior): Renamed to
3294 x86_linux_child_post_startup_inferior. All uses updated.
3295 (amd64_linux_enable_btrace): Renamed to
3296 x86_linux_enable_btrace. All uses updated.
3297 (amd64_linux_disable_btrace): Renamed to
3298 x86_linux_disable_btrace. All uses updated.
3299 (amd64_linux_teardown_btrace): Renamed to
3300 x86_linux_teardown_btrace. All uses updated.
3301 (amd64_linux_read_btrace): Renamed to
3302 x86_linux_read_btrace. All uses updated.
3303 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3304 x86_linux_dr_get. All uses updated.
3305 (i386_linux_dr_set): Renamed to
3306 x86_linux_dr_set. All uses updated.
3307 (i386_linux_dr_get_addr): Renamed to
3308 x86_linux_dr_get_addr. All uses updated.
3309 (i386_linux_dr_get_control): Renamed to
3310 x86_linux_dr_get_control. All uses updated.
3311 (i386_linux_dr_get_status): Renamed to
3312 x86_linux_dr_get_status. All uses updated.
3313 (i386_linux_dr_set_control): Renamed to
3314 x86_linux_dr_set_control. All uses updated.
3315 (i386_linux_dr_set_addr): Renamed to
3316 x86_linux_dr_set_addr. All uses updated.
3317 (i386_linux_prepare_to_resume): Renamed to
3318 x86_linux_prepare_to_resume. All uses updated.
3319 (i386_linux_new_thread): Renamed to
3320 x86_linux_new_thread. All uses updated.
3321 (i386_linux_new_fork): Renamed to
3322 x86_linux_new_fork. All uses updated.
3323 (i386_linux_child_post_startup_inferior): Renamed to
3324 x86_linux_child_post_startup_inferior. All uses updated.
3325 (i386_linux_enable_btrace): Renamed to
3326 x86_linux_enable_btrace. All uses updated.
3327 (i386_linux_disable_btrace): Renamed to
3328 x86_linux_disable_btrace. All uses updated.
3329 (i386_linux_teardown_btrace): Renamed to
3330 x86_linux_teardown_btrace. All uses updated.
3331 (i386_linux_read_btrace): Renamed to
3332 x86_linux_read_btrace. All uses updated.
3333
3334 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3335
3336 * remote.c (extended_remote_post_attach): New function.
3337 (init_extended_remote_ops): Install it as to_post_attach method.
3338
3339 2014-07-09 Pedro Alves <palves@redhat.com>
3340
3341 * infcmd.c (attach_command_post_wait): Don't call
3342 target_terminal_inferior here.
3343 (attach_command): Call it here instead.
3344
3345 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3346
3347 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3348 field.
3349 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3350 from varobj.c, with additional checks.
3351 (c_varobj_ops): Fill in is_path_expr_parent field.
3352 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3353 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3354 field.
3355 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3356 ops method.
3357 (varobj_default_is_path_expr_parent): New function.
3358 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3359 (varobj_default_is_path_expr_parent): Declare new function.
3360
3361 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3362
3363 * infcmd.c (finish_backward): Turn internal error into normal error.
3364
3365 2014-07-07 Pedro Alves <palves@redhat.com>
3366
3367 PR gdb/17096
3368 * remote.c (async_handle_remote_sigint)
3369 (async_handle_remote_sigint_twice): Call
3370 gdb_call_async_signal_handler instead of
3371 mark_async_signal_handler.
3372
3373 2014-07-07 Tom Tromey <tromey@redhat.com>
3374
3375 * target-delegates.c: Rebuild.
3376 * target.c (target_info_record): Remove.
3377 * record.c (info_record_command): Unconditionally call
3378 to_info_record.
3379 * target.h (struct target_ops) <to_info_record>: Use
3380 TARGET_DEFAULT_IGNORE.
3381 (target_info_record): Remove.
3382
3383 2014-07-07 Tom Tromey <tromey@redhat.com>
3384
3385 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3386 TARGET_DEFAULT_NORETURN.
3387 * target.c (generic_tls_error): New function.
3388 (target_translate_tls_address): Don't search target stack.
3389 * target-delegates.c: Rebuild.
3390 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3391 stack.
3392 * linux-thread-db.c (thread_db_get_thread_local_address):
3393 Unconditionally call beneath target.
3394
3395 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3396
3397 * cli/cli-logging.c (pop_output_files): Assign targerr to
3398 gdb_stdtargerr.
3399
3400 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3401
3402 * MAINTAINERS (Write After Approval): Update my email address.
3403
3404 2014-07-02 Gary Benson <gbenson@redhat.com>
3405
3406 * proc-service.c (ps_xfer_memory): Update comment.
3407 (ps_pstop): Remove unused function.
3408 (ps_pcontinue): Likewise.
3409 (ps_lstop): Likewise.
3410 (ps_lcontinue): Likewise.
3411 (ps_lgetxregsize): Likewise.
3412 (ps_lgetxregs): Likewise.
3413 (ps_lsetxregs): Likewise.
3414 (ps_plog): Likewise.
3415 (ps_ptread): Likewise.
3416 (ps_ptwrite): Likewise.
3417
3418 2014-07-01 Mark Wielaard <mjw@redhat.com>
3419
3420 * dwarf2read.c (add_array_cv_type): New function.
3421 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3422 (read_tag_volatile_type): Likewise.
3423
3424 2014-07-01 Tom Tromey <tromey@redhat.com>
3425
3426 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3427 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3428 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3429 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3430 * command.h (cmd_cfunc_ftype): Move earlier.
3431 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3432 (add_com, add_info): Use cmd_cfunc_ftype.
3433
3434 2014-06-30 Tom Tromey <tromey@redhat.com>
3435
3436 * symtab.c (operator_chars): Make parameters and return type
3437 const.
3438 (file_matches): Make "files" const.
3439 (struct search_symbols_data) <files>: Now const.
3440 (search_symbols): Make "regexp" and "files" parameters const.
3441 Update.
3442 (symtab_symbol_info): Remove cast.
3443 (rbreak_command): Update.
3444 * symtab.h (search_symbols): Update.
3445
3446 2014-06-27 Yao Qi <yao@codesourcery.com>
3447
3448 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3449 Change parameter type to 'struct thread_info *'. Caller
3450 updated.
3451 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3452 Update declaration.
3453 * dummy-frame.c (struct dummy_frame_id): New.
3454 (dummy_frame_id_eq): New function.
3455 (struct dummy_frame) <id>: Change its type to 'struct
3456 dummy_frame_id'.
3457 (dummy_frame_push): Add parameter ptid and save it in
3458 dummy_frame_id.
3459 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3460 inferior_ptid.
3461 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3462 to inferior_ptid.
3463 (lookup_dummy_frame): Change parameter type to 'struct
3464 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3465 instead of frame_id_eq.
3466 (dummy_frame_pop): Add parameter ptid. Callers updated.
3467 Update comments. Compose dummy_frame_id and pass it to
3468 lookup_dummy_frame.
3469 (dummy_frame_discard): Add parameter ptid.
3470 (dummy_frame_sniffer): Compose dummy_frame_id and call
3471 dummy_frame_id_eq instead of frame_id_eq.
3472 (fprint_dummy_frames): Print ptid.
3473 * dummy-frame.h: Remove comments.
3474 (dummy_frame_push): Add ptid in declaration.
3475 (dummy_frame_pop, dummy_frame_discard): Likewise.
3476
3477 2014-06-26 Tom Tromey <tromey@redhat.com>
3478
3479 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3480 * command.h (error_no_arg): Update.
3481
3482 2014-06-26 Tom Tromey <tromey@redhat.com>
3483
3484 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3485 (do_show_command): Make "arg" const.
3486 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3487
3488 2014-06-26 Tom Tromey <tromey@redhat.com>
3489
3490 * record-full.c (record_full_get_bookmark): Make "args" const.
3491 (record_full_goto_bookmark): Make "raw_bookmark" const.
3492 * record.c (record_goto): New function.
3493 (cmd_record_goto): Use it. Now static.
3494 * record.h (record_goto): Declare.
3495 (cmd_record_goto): Remove declaration.
3496 * target-delegates.c: Rebuild.
3497 * target.h (struct target_ops) <to_get_bookmark,
3498 to_goto_bookmark>: Make parameter const.
3499
3500 2014-06-26 Tom Tromey <tromey@redhat.com>
3501
3502 * defs.h (generic_load): Update.
3503 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3504 * monitor.c (monitor_load): Make "args" const.
3505 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3506 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3507 const.
3508 (mips_load): Make "file" const.
3509 * remote-sim.c (gdbsim_load): Make "args" const.
3510 * remote.c (remote_load): Make "name" const.
3511 * symfile.c (generic_load): Make "args" const.
3512 * target-delegates.c: Rebuild.
3513 * target.c (target_load): Make "arg" const.
3514 (debug_to_load): Make "args" const.
3515 * target.h (struct target_ops) <to_load>: Make parameter const.
3516 (target_load): Update.
3517
3518 2014-06-26 Tom Tromey <tromey@redhat.com>
3519
3520 PR symtab/16902:
3521 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3522 (dwarf2_physname, read_partial_die)
3523 (guess_partial_die_structure_name, fixup_partial_die)
3524 (guess_full_die_structure_name, anonymous_struct_prefix)
3525 (dwarf2_name): Use per-BFD obstack.
3526
3527 2014-06-26 Yao Qi <yao@codesourcery.com>
3528
3529 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3530 dummyframe and this_id into inner block below.
3531
3532 2014-06-26 Yao Qi <yao@codesourcery.com>
3533
3534 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3535 with "signal_pass[0]" in the initialization of signal_pass.
3536
3537 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3538
3539 * record-btrace.c (record_btrace_generating_corefile)
3540 (record_btrace_prepare_to_generate_core)
3541 (record_btrace_done_generating_core): New.
3542 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3543 (record_btrace_store_registers, record_btrace_prepare_to_store):
3544 Forward request when generating a core file.
3545 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3546 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3547 to_done_generating_core.
3548
3549 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3550
3551 * target.h (target_ops) <to_prepare_to_generate_core>
3552 <to_done_generating_core>: New.
3553 (target_prepare_to_generate_core, target_done_generating_core): New.
3554 * target.c (target_prepare_to_generate_core)
3555 (target_done_generating_core): New.
3556 * target-delegates.c: Regenerate.
3557 * gcore.c: (write_gcore_file): Rename to ...
3558 (write_gcore_file_1): ...this.
3559 (write_gcore_file): Call target_prepare_to_generate_core
3560 and target_done_generating_core.
3561
3562 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3563
3564 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3565 * gcore.c (write_gcore_file): Free memory returned from
3566 make_corefile_notes.
3567 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3568 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3569
3570 2014-06-24 Yao Qi <yao@codesourcery.com>
3571
3572 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3573 (arm_linux_init_abi): Set skip_trampoline_code with
3574 gdbarch_skip_trampoline_code instead of
3575 find_solib_trampoline_target.
3576
3577 2014-06-24 Yao Qi <yao@codesourcery.com>
3578
3579 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3580 arm_skip_bx_reg returns non-zero.
3581
3582 2014-06-24 Yao Qi <yao@codesourcery.com>
3583
3584 * arm-tdep.c (arm_skip_bx_reg): New function.
3585 (arm_skip_stub): Call arm_skip_bx_reg.
3586
3587 2014-06-23 Don Breazeal <donb@codesourcery.com>
3588
3589 * MAINTAINERS: Add myself as write-after-approval maintainer.
3590
3591 2014-06-23 Pedro Alves <palves@redhat.com>
3592
3593 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3594 DR_CONTROL before setting DR0..DR3.
3595 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3596 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3597 bits of DR_CONTROL related to the debug register slot being
3598 disabled. If all slots are vacant, clear local slowdown as well,
3599 and assert DR_CONTROL is 0.
3600
3601 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3602
3603 * python/lib/gdb/command/xmethods.py
3604 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3605 current progspace only if the string "progspace" matches LOCUS_RE.
3606
3607 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 Fix --with-system-readline with readline-6.3 patch 5.
3610 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3611 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3612 types.
3613
3614 2014-06-20 Tom Tromey <tromey@redhat.com>
3615
3616 * dwarf2read.c (dw2_get_real_path): Use correct type in
3617 OBSTACK_CALLOC.
3618 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3619
3620 2014-06-20 Gary Benson <gbenson@redhat.com>
3621
3622 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3623 * common/glibc_thread_db.h: Likewise.
3624 * common/i386-cpuid.h: Likewise.
3625 * common/i386-gcc-cpuid.h: Likewise.
3626 * common/linux-btrace.h: Likewise.
3627 * common/linux-osdata.h: Likewise.
3628 * common/linux-procfs.h: Likewise.
3629 * common/linux-ptrace.h: Likewise.
3630 * common/mips-linux-watch.h: Likewise.
3631 * common/linux-btrace.c: Moved to nat.
3632 * common/linux-osdata.c: Likewise.
3633 * common/linux-procfs.c: Likewise.
3634 * common/linux-ptrace.c: Likewise.
3635 * common/mips-linux-watch.c: Likewise.
3636 * nat/gdb_thread_db.h: Moved from common.
3637 * nat/glibc_thread_db.h: Likewise.
3638 * nat/i386-cpuid.h: Likewise.
3639 * nat/i386-gcc-cpuid.h: Likewise.
3640 * nat/linux-btrace.c: Likewise.
3641 * nat/linux-btrace.h: Likewise.
3642 * nat/linux-osdata.c: Likewise.
3643 * nat/linux-osdata.h: Likewise.
3644 * nat/linux-procfs.c: Likewise.
3645 * nat/linux-procfs.h: Likewise.
3646 * nat/linux-ptrace.c: Likewise.
3647 * nat/linux-ptrace.h: Likewise.
3648 * nat/mips-linux-watch.c: Likewise.
3649 * nat/mips-linux-watch.h: Likewise.
3650 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3651 (object file files): Reordered.
3652 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3653 of glibc_thread_db.h.
3654
3655 2014-06-20 Gary Benson <gbenson@redhat.com>
3656
3657 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3658 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3659 (i386_dr_low): Likewise.
3660 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3661 (i386_dr_low_set_addr): Likewise.
3662 (i386_dr_low_get_addr): Likewise.
3663 (i386_dr_low_can_set_control): Likewise.
3664 (i386_dr_low_set_control): Likewise.
3665 (i386_dr_low_get_control): Likewise.
3666 (i386_dr_low_get_status): Likewise.
3667 (i386_get_debug_register_length): Likewise.
3668 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3669 (i386_dr_low): Likewise.
3670 * nat/i386-dregs.c (i386-low.h): Remove include.
3671 (i386-nat.h): Likewise.
3672 (nat/i386-dregs.h): New include.
3673 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3674 (i386_dr_low_set_addr): Likewise.
3675 (i386_dr_low_get_addr): Likewise.
3676 (i386_dr_low_can_set_control): Likewise.
3677 (i386_dr_low_set_control): Likewise.
3678 (i386_dr_low_get_control): Likewise.
3679 (i386_dr_low_get_status): Likewise.
3680 (i386_get_debug_register_length): Likewise.
3681 (debug_hw_points): Likewise.
3682
3683 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3684
3685 * Makefile.in (SFILES): Add d-exp.y.
3686 (YYFILES): Add d-exp.c.
3687 (YYOBJ): Add d-exp.o.
3688 (local-maintainer-clean): Delete d-exp.c.
3689 * d-exp.y: New file.
3690 * d-lang.h (d_parse): New declaration.
3691 (d_error): New declaration.
3692 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3693 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3694 PREC_ORDER operators.
3695 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3696
3697 2014-06-19 Yao Qi <yao@codesourcery.com>
3698
3699 * gdbthread.h (any_running): Remove the declaration.
3700 * thread.c (any_running): Remove.
3701
3702 2014-06-19 Yao Qi <yao@codesourcery.com>
3703
3704 * gdbthread.h (struct thread_info) <state>: Change its type to
3705 'enum thread_state'. Update comments.
3706
3707 2014-06-19 Pedro Alves <palves@redhat.com>
3708
3709 * gdbthread.h (ALL_THREADS): Delete.
3710 (ALL_NON_EXITED_THREADS): New macro.
3711 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3712 instead of ALL_THREADS.
3713 * infrun.c (find_thread_needs_step_over)
3714 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3715 instead of ALL_THREADS.
3716 * record-btrace.c (record_btrace_open)
3717 (record_btrace_stop_recording, record_btrace_close)
3718 (record_btrace_is_replaying, record_btrace_resume)
3719 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3720 * remote.c (append_pending_thread_resumptions): Likewise.
3721 * thread.c (thread_apply_all_command): Likewise.
3722
3723 2014-06-19 Gary Benson <gbenson@redhat.com>
3724
3725 * i386-nat.c (i386_stopped_by_watchpoint):
3726 Use i386_dr_stopped_by_watchpoint.
3727 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3728 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3729
3730 2014-06-19 Gary Benson <gbenson@redhat.com>
3731
3732 * nat/i386-dregs.c: New file.
3733 * Makefile.in (i386-dregs.o): New rule.
3734 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3735 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3736 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3737 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3738 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3739 * config/i386/go32.mh (NATDEPFILES): Likewise.
3740 * config/i386/linux.mh (NATDEPFILES): Likewise.
3741 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3742 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3743 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3744 * i386-nat.h (debug_hw_points): New declaration.
3745 * i386-nat.c (breakpoint.h): Remove include.
3746 (command.h): Likewise.
3747 (target.h): Likewise.
3748 (gdb_assert.h): Likewise.
3749 (debug_hw_points): Made nonstatic.
3750 (debug_printf): Now in i386-dregs.c.
3751 (TARGET_HAS_DR_LEN_8): Likewise.
3752 (DR_CONTROL_SHIFT): Likewise.
3753 (DR_CONTROL_SIZE): Likewise.
3754 (DR_RW_EXECUTE): Likewise.
3755 (DR_RW_WRITE): Likewise.
3756 (DR_RW_READ): Likewise.
3757 (DR_RW_IORW): Likewise.
3758 (DR_LEN_1): Likewise.
3759 (DR_LEN_2): Likewise.
3760 (DR_LEN_4): Likewise.
3761 (DR_LEN_8): Likewise.
3762 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3763 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3764 (DR_ENABLE_SIZE): Likewise.
3765 (DR_LOCAL_SLOWDOWN): Likewise.
3766 (DR_GLOBAL_SLOWDOWN): Likewise.
3767 (DR_CONTROL_RESERVED): Likewise.
3768 (I386_DR_CONTROL_MASK): Likewise.
3769 (I386_DR_VACANT): Likewise.
3770 (I386_DR_LOCAL_ENABLE): Likewise.
3771 (I386_DR_GLOBAL_ENABLE): Likewise.
3772 (I386_DR_DISABLE): Likewise.
3773 (I386_DR_SET_RW_LEN): Likewise.
3774 (I386_DR_GET_RW_LEN): Likewise.
3775 (I386_DR_WATCH_HIT): Likewise.
3776 (i386_wp_op_t): Likewise.
3777 (i386_show_dr): Likewise.
3778 (i386_length_and_rw_bits): Likewise.
3779 (i386_insert_aligned_watchpoint): Likewise.
3780 (i386_remove_aligned_watchpoint): Likewise.
3781 (i386_handle_nonaligned_watchpoint): Likewise.
3782 (i386_update_inferior_debug_regs): Likewise.
3783 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3784 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3785 (i386_region_ok_for_watchpoint):
3786 Use i386_dr_region_ok_for_watchpoint.
3787 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3788
3789 2014-06-19 Gary Benson <gbenson@redhat.com>
3790
3791 * i386-nat.c (i386_insert_hw_breakpoint): Use
3792 i386_insert_watchpoint.
3793 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3794
3795 2014-06-19 Gary Benson <gbenson@redhat.com>
3796
3797 * i386-nat.c (i386_dr_show): Renamed to
3798 i386_show_dr and made static. All uses updated.
3799 (i386_dr_length_and_rw_bits): Renamed to
3800 i386_length_and_rw_bits and made static.
3801 All uses updated.
3802 (i386_dr_insert_aligned_watchpoint): Renamed to
3803 i386_insert_aligned_watchpoint and made static.
3804 All uses updated.
3805 (i386_dr_remove_aligned_watchpoint): Renamed to
3806 i386_remove_aligned_watchpoint and made static.
3807 All uses updated.
3808 (i386_dr_update_inferior_debug_regs): Renamed to
3809 i386_update_inferior_debug_regs and made static.
3810 All uses updated.
3811 * nat/i386-dregs.h (i386_dr_show): Removed.
3812 (i386_dr_length_and_rw_bits): Likewise.
3813 (i386_dr_insert_aligned_watchpoint): Likewise.
3814 (i386_dr_remove_aligned_watchpoint): Likewise.
3815 (i386_dr_update_inferior_debug_regs): Likewise.
3816
3817 2014-06-19 Gary Benson <gbenson@redhat.com>
3818
3819 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3820 * configure: Regenerate.
3821 * config.in: Likewise.
3822 * main.c (signal.h): New include.
3823 (setup_alternate_signal_stack): New function.
3824 (captured_main): Call the above.
3825 * cp-support.c (signal.h): New include.
3826 (catch_demangler_crashes): New flag.
3827 (SIGJMP_BUF): New define.
3828 (SIGSETJMP): Likewise.
3829 (SIGLONGJMP): Likewise.
3830 (gdb_demangle_jmp_buf): New static global.
3831 (gdb_demangle_attempt_core_dump): Likewise.
3832 (gdb_demangle_signal_handler): New function.
3833 (gdb_demangle): If catch_demangler_crashes is set, install the
3834 above signal handler before calling bfd_demangle, and restore
3835 the original signal handler afterwards. Display the offending
3836 symbol and call demangler_warning the first time a segmentation
3837 fault is caught.
3838 (_initialize_cp_support): New maint set/show command.
3839
3840 2014-06-19 Gary Benson <gbenson@redhat.com>
3841
3842 * utils.h (resource_limit_kind): New enum.
3843 (can_dump_core): New declaration.
3844 (warn_cant_dump_core): Likewise.
3845 (dump_core): Likewise.
3846 * utils.c (dump_core): Made nonstatic. Added new
3847 parameter "limit_kind".
3848 (can_dump_core): Made nonstatic. Moved printing code to...
3849 (warn_cant_dump_core): New function.
3850 (can_dump_core_warn): Likewise.
3851 (internal_vproblem): Replace calls to can_dump_core with
3852 calls to can_dump_core_warn. Supply new argument to each.
3853
3854 2014-06-19 Gary Benson <gbenson@redhat.com>
3855
3856 * utils.h (demangler_vwarning): New declaration.
3857 (demangler_warning): Likewise.
3858 * utils.c (struct internal_problem)
3859 <user_settable_should_quit>: New field.
3860 <user_settable_should_dump_core>: Likewise
3861 (internal_error_problem): Add values for above new fields.
3862 (internal_warning_problem): Likewise.
3863 (demangler_warning_problem): New static global.
3864 (demangler_vwarning): New function.
3865 (demangler_warning): Likewise.
3866 (add_internal_problem_command): Selectively add commands.
3867 (_initialize_utils): New internal problem command.
3868 * maint.c (maintenance_demangler_warning): New function.
3869 (_initialize_maint_cmds): New command.
3870
3871 2014-06-18 Tom Tromey <tromey@redhat.com>
3872
3873 * f-valprint.c (info_common_command_for_block): Update.
3874 * symtab.h (struct general_symbol_info) <common_block>: Now
3875 const.
3876
3877 2014-06-18 Tom Tromey <tromey@redhat.com>
3878
3879 * symtab.h (struct symtab) <blockvector>: Now const.
3880 * ada-lang.c (ada_add_global_exceptions): Update.
3881 * buildsym.c (augment_type_symtab): Update.
3882 * dwarf2read.c (dw2_lookup_symbol): Update.
3883 * jit.c (finalize_symtab): Update.
3884 * jv-lang.c (add_class_symtab_symbol): Update.
3885 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3886 Update.
3887 * objfiles.c (objfile_relocate1): Update.
3888 * psymtab.c (lookup_symbol_aux_psymtabs)
3889 (maintenance_check_psymtabs): Update.
3890 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3891 Update.
3892 * spu-tdep.c (spu_catch_start): Update.
3893 * symmisc.c (dump_symtab_1): Update.
3894 * symtab.c (lookup_global_symbol_from_objfile)
3895 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3896 (basic_lookup_transparent_type_quick)
3897 (basic_lookup_transparent_type, find_pc_sect_symtab)
3898 (find_pc_sect_line, search_symbols): Update.
3899 * block.c (find_block_in_blockvector): Make "bl" const.
3900 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3901 const.
3902 (blockvector_contains_pc): Make "bv" const.
3903 (block_for_pc_sect): Update.
3904 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3905 (blockvector_contains_pc): Update.
3906 * breakpoint.c (resolve_sal_pc): Update.
3907 * inline-frame.c (block_starting_point_at): Update.
3908
3909 2014-06-18 Tom Tromey <tromey@redhat.com>
3910
3911 * completer.c (complete_line): Make "line_buffer" const.
3912 * completer.h (complete_line): Update.
3913
3914 2014-06-18 Tom Tromey <tromey@redhat.com>
3915
3916 * symtab.c (add_macro_name): Remove unneeded cast.
3917
3918 2014-06-18 Tom Tromey <tromey@redhat.com>
3919
3920 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3921 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3922
3923 2014-06-18 Tom Tromey <tromey@redhat.com>
3924
3925 * probe.c (info_probes_for_ops): Make "arg" const.
3926 * probe.h (info_probes_for_ops): Update.
3927
3928 2014-06-18 Tom Tromey <tromey@redhat.com>
3929
3930 * varobj.c (varobj_create): Update.
3931 * valops.c (value_of_this): Update.
3932 * tracepoint.c (add_local_symbols, scope_info): Update.
3933 * symtab.h (struct general_symbol_info) <block>: Now const.
3934 * symtab.c (skip_prologue_sal)
3935 (default_make_symbol_completion_list_break_on)
3936 (skip_prologue_using_sal): Update.
3937 * stack.h (iterate_over_block_locals)
3938 (iterate_over_block_local_vars): Update.
3939 * stack.c (print_frame_args): Update.
3940 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3941 parameter const.
3942 (get_selected_block): Make return type const.
3943 * python/py-frame.c (frapy_block): Update.
3944 * python/py-block.c (gdbpy_block_for_pc): Update.
3945 * p-exp.y (%union) <bval>: Now const.
3946 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3947 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3948 * m2-exp.y (%union) <bval>: Now const.
3949 * linespec.c (get_current_search_block): Make return type const.
3950 (create_sals_line_offset, find_label_symbols): Update.
3951 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3952 Update.
3953 (block_starting_point_at): Make "block" const.
3954 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3955 (check_exception_resume): Update.
3956 * guile/scm-frame.c (gdbscm_frame_block): Update.
3957 * guile/scm-block.c (gdbscm_lookup_block): Update.
3958 * frame.h (get_frame_block): Update.
3959 (get_selected_block): Make return type const.
3960 * frame.c (frame_id_inner): Update.
3961 * f-valprint.c (info_common_command_for_block)
3962 (info_common_command): Update.
3963 * dwarf2loc.c (dwarf2_find_location_expression)
3964 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3965 (locexpr_describe_location_piece): Update.
3966 * c-exp.y (%union) <bval>: Now const.
3967 * breakpoint.c (resolve_sal_pc): Update.
3968 * blockframe.c (get_frame_block):Make return type const.
3969 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3970 (block_innermost_frame): Update.
3971 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3972 (block_for_pc, block_for_pc_sect): Update.
3973 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3974 'pblock' const.
3975 (block_for_pc_sect, block_for_pc): Make return type const.
3976 * ax-gdb.c (gen_expr): Update.
3977 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3978 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3979 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3980 (ada_read_var_value): Update.
3981 * ada-exp.y (struct name_info) <block>: Now const.
3982 (%union): Likewise.
3983 (block_lookup): Constify.
3984
3985 2014-06-18 Gary Benson <gbenson@redhat.com>
3986
3987 * nat/i386-dregs.h: New file.
3988 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3989 * i386-nat.h (i386-dregs.h): New include.
3990 (DR_FIRSTADDR): Now in i386-dregs.h.
3991 (DR_LASTADDR): Likewise.
3992 (DR_NADDR): Likewise.
3993 (DR_STATUS): Likewise.
3994 (DR_CONTROL): Likewise.
3995 (i386_debug_reg_state): Likewise.
3996 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3997
3998 2014-06-18 Don Breazeal <donb@codesourcery.com>
3999
4000 * breakpoint.c (set_longjmp_breakpoint): Call
4001 momentary_breakpoint_from_master with additional argument.
4002 (set_longjmp_breakpoint_for_call_dummy): Call
4003 momentary_breakpoint_from_master with additional argument.
4004 (set_std_terminate_breakpoint): Call
4005 momentary_breakpoint_from_master with additional argument.
4006 (momentary_breakpoint_from_master): Add argument to function
4007 definition and use it to initialize structure member flag.
4008 (clone_momentary_breakpoint): Call
4009 momentary_breakpoint_from_master with additional argument.
4010 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4011 member flags set in momentary_breakpoint_from_master.
4012
4013 2014-06-18 Gary Benson <gbenson@redhat.com>
4014
4015 * i386-nat.c (i386_show_dr): Renamed to
4016 i386_dr_show and made nonstatic. All uses updated.
4017 (i386_length_and_rw_bits): Renamed to
4018 i386_dr_length_and_rw_bits and made nonstatic.
4019 All uses updated.
4020 (i386_insert_aligned_watchpoint): Renamed to
4021 i386_dr_insert_aligned_watchpoint and made nonstatic.
4022 All uses updated.
4023 (i386_remove_aligned_watchpoint): Renamed to
4024 i386_dr_remove_aligned_watchpoint and made nonstatic.
4025 All uses updated.
4026 (i386_update_inferior_debug_regs): Renamed to
4027 i386_dr_update_inferior_debug_regs and made nonstatic.
4028 All uses updated.
4029
4030 2014-06-18 Gary Benson <gbenson@redhat.com>
4031
4032 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4033 (i386_dr_low_can_set_control): Likewise.
4034 (i386_dr_low_set_addr): Likewise.
4035 (i386_dr_low_set_control): Likewise.
4036 (i386_dr_low_get_addr): Likewise.
4037 (i386_dr_low_get_status): Likewise.
4038 (i386_dr_low_get_control): Likewise.
4039 (i386_insert_aligned_watchpoint): Use new macros.
4040 (i386_update_inferior_debug_regs): Likewise.
4041 (i386_stopped_data_address): Likewise.
4042
4043 2014-06-18 Gary Benson <gbenson@redhat.com>
4044
4045 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4046 New parameter. All uses updated.
4047
4048 2014-06-18 Gary Benson <gbenson@redhat.com>
4049
4050 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4051 All uses updated.
4052
4053 2014-06-18 Gary Benson <gbenson@redhat.com>
4054
4055 * i386-nat.c (debug_printf): New macro.
4056 (i386_get_debug_register_length): Likewise.
4057 (TARGET_HAS_DR_LEN_8): Use above macro.
4058 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4059 and printf_unfiltered. Use phex to format values.
4060
4061 2014-06-18 Gary Benson <gbenson@redhat.com>
4062
4063 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
4064 Make const.
4065
4066 2014-06-18 Gary Benson <gbenson@redhat.com>
4067
4068 * i386-nat.c: Comment changes.
4069
4070 2014-06-18 Gary Benson <gbenson@redhat.com>
4071
4072 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
4073
4074 2014-06-18 Gary Benson <gbenson@redhat.com>
4075
4076 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
4077 (i386_insert_aligned_watchpoint): Likewise.
4078 (i386_remove_aligned_watchpoint): Likewise.
4079 (i386_handle_nonaligned_watchpoint): Likewise.
4080
4081 2014-06-18 Gary Benson <gbenson@redhat.com>
4082
4083 * i386-nat.c: Whitespace changes.
4084
4085 2014-06-17 Samuel Bronson <naesten@gmail.com>
4086
4087 * MAINTAINERS: Update Roland McGrath's email address.
4088 Thanks to Sergio Durigan Junior for pointing out that he left
4089 Red Hat a while ago, and giving me a current address.
4090
4091 2014-06-17 Tom Tromey <tromey@redhat.com>
4092
4093 * utils.h (savestring): Remove declaration.
4094
4095 2014-06-17 Tom Tromey <tromey@redhat.com>
4096
4097 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
4098
4099 2014-06-16 Keith Seitz <keiths@redhat.com>
4100
4101 PR mi/15863
4102 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
4103 to update the varobj if inferior_ptid is null_ptid.
4104
4105 2014-06-16 Tom Tromey <tromey@redhat.com>
4106
4107 * target.h (struct target_ops) <to_info_proc>: Make parameter
4108 const.
4109 (target_info_proc): Update.
4110 * target.c (target_info_proc): Make "args" const.
4111 * procfs.c (procfs_info_proc): Update.
4112 * linux-tdep.c (linux_info_proc): Update.
4113 (linux_core_info_proc_mappings): Make "args" const.
4114 (linux_core_info_proc): Update.
4115 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
4116 * gdbarch.c: Rebuild.
4117 * gdbarch.h: Rebuild.
4118 * corelow.c (core_info_proc): Update.
4119
4120 2014-06-16 Tom Tromey <tromey@redhat.com>
4121
4122 * target.h (struct target_ops) <to_disconnect>: Make parameter
4123 const.
4124 (target_disconnect): Update.
4125 * target.c (target_disconnect): Make "args" const.
4126 * target-delegates.c: Rebuild.
4127 * remote.c (remote_disconnect): Update.
4128 * record.h (record_disconnect): Update.
4129 * record.c (record_disconnect): Update.
4130 * inf-child.c (inf_child_disconnect): Update.
4131
4132 2014-06-16 Tom Tromey <tromey@redhat.com>
4133
4134 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
4135 * target.c (debug_to_rcmd, default_rcmd): Update.
4136 * target-delegates.c: Rebuild.
4137 * remote.c (remote_rcmd): Update.
4138 * monitor.c (monitor_rcmd): Update.
4139
4140 2014-06-16 Pedro Alves <palves@redhat.com>
4141
4142 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
4143 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
4144 have OBJF_SHARED set.
4145 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
4146 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
4147 instead of OBJF_USERLOADED.
4148 * objfiles.h (OBJF_SHARED): Update comment.
4149 (userloaded_objfile_contains_address_p): Rename to ...
4150 (shared_objfile_contains_address_p): ... this, and update
4151 comments.
4152 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
4153 new objfile.
4154 (remove_symbol_file_command): Skip objfiles that don't have
4155 OBJF_SHARED set.
4156
4157 2014-06-16 Tom Tromey <tromey@redhat.com>
4158
4159 * minsyms.h (prim_record_minimal_symbol)
4160 (prim_record_minimal_symbol_and_info): Update comments.
4161
4162 2014-06-14 Eli Zaretskii <eliz@gnu.org>
4163
4164 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
4165 or --without-guile, according to how GDB was built.
4166
4167 2014-06-13 Tom Tromey <tromey@redhat.com>
4168
4169 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
4170 to help_list.
4171 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
4172 to help_list.
4173 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
4174 help_list.
4175 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
4176 help_list.Pass all_commands, not -1, to help_list.
4177 * cli/cli-dump.c (dump_command, append_command)
4178 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
4179 (binary_dump_command, binary_append_command): Pass all_commands,
4180 not -1, to help_list.
4181 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
4182 -1, to help_list.
4183 * valprint.c (set_print, set_print_raw): Pass all_commands, not
4184 -1, to help_list.
4185 * typeprint.c (set_print_type): Pass all_commands, not -1, to
4186 help_list.
4187 * top.c (set_history): Pass all_commands, not -1, to help_list.
4188 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
4189 all_commands, not -1, to help_list.
4190 * symfile.c (overlay_command): Pass all_commands, not -1, to
4191 help_list.
4192 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
4193 help_list.
4194 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
4195 help_list.
4196 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
4197 -1, to help_list.
4198 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
4199 not -1, to help_list.
4200 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
4201 not -1, to help_list.
4202 * maint.c (maintenance_command, maintenance_info_command)
4203 (maintenance_print_command, maintenance_set_cmd): Pass
4204 all_commands, not -1, to help_list.
4205 * macrocmd.c (macro_command): Pass all_commands, not -1, to
4206 help_list.
4207 * language.c (set_check): Pass all_commands, not -1, to help_list.
4208 * infcmd.c (unset_command): Pass all_commands, not -1, to
4209 help_list.
4210 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
4211 help_list.
4212 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
4213 help_list.
4214 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
4215 help_list.
4216 * breakpoint.c (save_command): Pass all_commands, not -1, to
4217 help_list.
4218 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
4219 all_commands, not -1, to help_list.
4220
4221 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
4222
4223 * regcache.c (struct register_to_invalidate): New structure.
4224 (do_register_invalidate, make_cleanup_regcache_invalidate): New
4225 functions.
4226 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
4227
4228 2014-06-12 Yao Qi <yao@codesourcery.com>
4229
4230 * varobj.c (varobj_get_num_children): Call
4231 varobj_is_dynamic_p.
4232 (varobj_list_children): Likewise.
4233 (varobj_update): Likewise. Update comments.
4234
4235 2014-06-12 Yao Qi <yao@codesourcery.com>
4236
4237 * varobj.c (varobj_pretty_printed_p): Rename to ...
4238 (varobj_is_dynamic_p): ... this. New function.
4239 * varobj.h (varobj_pretty_printed_p): Remove declaration.
4240 (varobj_is_dynamic_p): Declare.
4241 * mi/mi-cmd-var.c (print_varobj): All callers updated.
4242 (mi_print_value_p, varobj_update_one): Likewise.
4243
4244 2014-06-12 Pedro Alves <pedro@codesourcery.com>
4245 Yao Qi <yao@codesourcery.com>
4246
4247 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
4248 (varobj_get_iterator): Wrap up code for pretty-printer by
4249 "#if HAVE_PYTHON" and "#endif".
4250 (update_dynamic_varobj_children): Likewise.
4251
4252 2014-06-12 Pedro Alves <pedro@codesourcery.com>
4253 Yao Qi <yao@codesourcery.com>
4254
4255 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
4256 gdb_python_initialized is false. Move some code from varobj.c.
4257 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
4258 * varobj.c: Move "varobj-iter.h" inclusion earlier.
4259 (struct varobj_item): Moved to varobj-iter.h".
4260 (varobj_clear_saved_item): New function.
4261 (update_dynamic_varobj_children): Move python-related code to
4262 py-varobj.c.
4263 (free_variable): Call varobj_clear_saved_item and
4264 varobj_iter_delete.
4265
4266 2014-06-12 Pedro Alves <pedro@codesourcery.com>
4267 Yao Qi <yao@codesourcery.com>
4268
4269 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4270 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4271 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4272 (py-varobj.o): New rule.
4273 * python/py-varobj.c: New file.
4274 * python/python-internal.h (py_varobj_get_iterator): Declare.
4275 * varobj-iter.h: New file.
4276 * varobj.c: Include "varobj-iter.h"
4277 (struct varobj) <child_iter>: Change its type from "PyObject *"
4278 to "struct varobj_iter *".
4279 <saved_item>: Likewise.
4280 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4281 [HAVE_PYTHON] (varobj_get_iterator): New function.
4282 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4283 python-specific code to python/py-varobj.c.
4284 (install_visualizer): Call varobj_iter_delete instead of
4285 Py_XDECREF.
4286 * varobj.h (varobj_ensure_python_env): Declare.
4287
4288 2014-06-12 Yao Qi <yao@codesourcery.com>
4289
4290 * varobj.c (struct varobj_item): New structure.
4291 (create_child_with_value): Update declaration.
4292 (varobj_add_child): Replace arguments 'name' and 'value' with
4293 'item'. All callers updated.
4294 (install_dynamic_child): Likewise.
4295 (update_dynamic_varobj_children): Likewise.
4296 (varobj_add_child): Likewise.
4297 (create_child_with_value): Likewise.
4298
4299 2014-06-11 Joel Brobecker <brobecker@adacore.com>
4300
4301 * NEWS: Create a new section for the next release branch.
4302 Rename the section of the current branch, now that it has
4303 been cut.
4304
4305 2014-06-11 Joel Brobecker <brobecker@adacore.com>
4306
4307 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4308 * version.in: Bump version to 7.8.50.DATE-cvs.
4309
4310 2014-06-11 Pedro Alves <palves@redhat.com>
4311
4312 PR remote/17028
4313 * ser-mingw.c (net_windows_socket_check_pending): New function.
4314 (net_windows_select_thread): Ignore spurious wakeups. Use
4315 net_windows_socket_check_pending.
4316 (net_windows_wait_handle): Check for pending events with
4317 ioctlsocket, through net_windows_socket_check_pending, instead of
4318 checking the socket's event.
4319
4320 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4321
4322 * python/python-internal.h (gdb_PyObject_GetAttrString)
4323 (gdb_PyObject_HasAttrString): New inline function definitions.
4324 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4325 char * of the second argument to PyObject_GetAttrString.
4326
4327 2014-06-10 Joel Brobecker <brobecker@adacore.com>
4328
4329 * serial.c (serial_write): Fix index of character to be printed
4330 in call to serial_logchar when serial debug traces are enabled.
4331
4332 2014-06-10 Joel Brobecker <brobecker@adacore.com>
4333
4334 * gdbtypes (resolve_dynamic_range): Add function description.
4335
4336 2014-06-09 Pedro Alves <palves@redhat.com>
4337
4338 * linux-nat.c (linux_child_follow_fork): Initialize status with
4339 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4340 inner block. Only pass the signal to PTRACE_DETACH if in pass
4341 state.
4342
4343 2014-06-09 Gary Benson <gbenson@redhat.com>
4344
4345 * common/signals.c (gdb_signal_from_host): Reorder to separate
4346 the always-available ANSI-standard signals from the signals that
4347 require checking.
4348 (do_gdb_signal_to_host): Likewise.
4349 * proc-events.c (signal_table): Likewise.
4350
4351 2014-06-08 Hui Zhu <hui@codesourcery.com>
4352
4353 * common/linux-ptrace.c (linux_disable_event_reporting): New
4354 function.
4355 * common/linux-ptrace.h (linux_disable_event_reporting): New
4356 declaration.
4357 * linux-nat.c (linux_child_follow_fork): Do a single step before
4358 detach.
4359
4360 2014-06-07 Keith Seitz <keiths@redhat.com>
4361
4362 Revert:
4363 PR c++/16253
4364 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4365 from symbol_matches_domain in symtab.c. All local callers
4366 of symbol_matches_domain updated.
4367 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4368 search STRUCT_DOMAIN.
4369 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4370 independently. standard_lookup will do that automatically.
4371 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4372 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4373 (cp_lookup_symbol_in_namespace): Likewise.
4374 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4375 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4376 may return a STRUCT_DOMAIN match.
4377 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4378 * cp-support.c: Include language.h.
4379 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4380 VAR_DOMAIN.
4381 * psymtab.c (match_partial_symbol): Compare the requested
4382 domain with the symbol's domain directly.
4383 (lookup_partial_symbol): Likewise.
4384 * symtab.c (lookup_symbol_in_language): Explain when/why
4385 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4386 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4387 appropriate languages.
4388 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4389 and moved to ada-lang.c
4390 (lookup_block_symbol): Explain that this function only returns
4391 symbol matching the requested DOMAIN.
4392 Compare the requested domain with the symbol's domain directly.
4393 (iterate_over_symbols): Compare the requested domain with the
4394 symbol's domain directly.
4395 * symtab.h (symbol_matches_domain): Remove.
4396
4397 2014-06-06 Doug Evans <xdje42@gmail.com>
4398
4399 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4400 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4401 (gdbscm_guile_version_is_at_least): Declare.
4402 (gdbscm_scm_string_to_int): Declare.
4403 * guile/guile.c (gdbscm_guile_major_version): New global.
4404 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4405 (guile_datadir): New static global.
4406 (gdbscm_guile_data_directory): New function.
4407 (initialize_scheme_side): Update.
4408 (misc_guile_functions): Add guile-data-directory.
4409 (initialize_gdb_module): Fetch guile version number.
4410 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4411 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4412 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4413 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4414 comments.
4415 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4416 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4417 * guile/scm-value.c (gdbscm_value_to_string): Only call
4418 scm_port_conversion_strategy if Guile version >= 2.0.6.
4419
4420 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4421
4422 * main.c (print_gdb_help): Add -q and --silent.
4423
4424 2014-06-06 Gary Benson <gbenson@redhat.com>
4425
4426 * common/signals.c: Remove preprocessor conditionals for
4427 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4428 SIGSEGV and SIGTERM.
4429 * proc-events.c: Likewise.
4430
4431 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4432
4433 * symfile.c (symfile_free_objfile): Remove restriction to
4434 OBJF_USERLOADED.
4435 * symfile-mem.c (symbol_file_add_from_memory): Call
4436 add_target_sections_of_objfile.
4437
4438 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4439
4440 * guile/scm-value.c (gdbscm_history_append_x): Use
4441 'vlscm_get_value_smob_arg_unsafe' instead of
4442 'vlscm_scm_to_value'.
4443
4444 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4445
4446 PR mi/15806
4447 * utils.c (printchar): Don't escape at all if quoter is NUL.
4448 Update function documentation to clarify effect of parameter
4449 QUOTER.
4450 * remote.c (escape_buffer): Pass '\\' as the quoter to
4451 fputstrn_unfiltered.
4452 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4453 generate the output.
4454 (mi_solib_unloaded): Same.
4455
4456 2014-06-05 Joel Brobecker <brobecker@adacore.com>
4457
4458 * development.sh: Delete.
4459 * Makefile.in (config.status): Adjust dependency on development.sh.
4460 * configure.ac: Adjust development.sh source call.
4461 * configure: Regenerate.
4462
4463 2014-06-04 Doug Evans <xdje42@gmail.com>
4464
4465 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4466 is_scheme_bkpt, spec.
4467 (bpscm_make_breakpoint_smob): Initialize new members.
4468 (gdbscm_create_breakpoint_x): Split into two ...
4469 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4470 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4471 (scheme_function breakpoint_functions): Update.
4472 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4473 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4474 register-breakpoint!.
4475
4476 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
4477
4478 PR server/17023
4479 * mem-break.c (z_type_supported): Return zero if
4480 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4481
4482 2014-06-04 Tom Tromey <tromey@redhat.com>
4483
4484 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4485 value_from_contents_and_address_unresolved.
4486 (ada_template_to_fixed_record_type_1): Likewise.
4487 (ada_which_variant_applies): Likewise.
4488 * value.h (value_from_contents_and_address_unresolved): Declare.
4489 * value.c (value_from_contents_and_address_unresolved): New
4490 function.
4491 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4492 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4493 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4494
4495 2014-06-04 Tom Tromey <tromey@redhat.com>
4496
4497 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4498
4499 2014-06-04 Tom Tromey <tromey@redhat.com>
4500
4501 * procfs.c (procfs_attach): Make "args" const.
4502 * windows-nat.c (windows_attach): Make "args" const.
4503 * nto-procfs.c (procfs_attach): Make "args" const.
4504 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4505 * go32-nat.c (go32_attach): Make "args" const.
4506 * gnu-nat.c (gnu_attach): Make "args" const.
4507 * darwin-nat.c (darwin_attach): Make "args" const.
4508 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4509 * linux-nat.c (linux_nat_attach): Make "args" const.
4510 * remote.c (extended_remote_attach_1, extended_remote_attach):
4511 Make "args" const.
4512 * target.h (struct target_ops) <to_attach>: Make "args" const.
4513 (find_default_attach): Likewise.
4514 * utils.c (parse_pid_to_attach): Make "args" const.
4515 * utils.h (parse_pid_to_attach): Update.
4516
4517 2014-06-04 Tom Tromey <tromey@redhat.com>
4518
4519 * target-delegates.c: Rebuild.
4520 * target.c (default_thread_address_space): New function.
4521 (target_thread_address_space): Simplify.
4522 * target.h (struct target_ops) <to_thread_address_space>: Add
4523 TARGET_DEFAULT_FUNC.
4524
4525 2014-06-04 Doug Evans <xdje42@gmail.com>
4526
4527 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4528
4529 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4530
4531 * record-btrace.c: Include event-loop.h and inf-loop.h.
4532 (record_btrace_resume_exec_dir)
4533 (record_btrace_async_inferior_event_handler)
4534 (record_btrace_handle_async_inferior_event): New.
4535 (record_btrace_open): Create async event handler.
4536 (record_btrace_close): Delete async event handler.
4537 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4538 Mark async event handler.
4539 (record_btrace_execution_direction): New.
4540 (init_record_btrace_ops): Initialize to_execution_direction.
4541
4542 2014-06-03 Doug Evans <xdje42@gmail.com>
4543
4544 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4545 (gdbscm_make_parameter): Ditto.
4546
4547 2014-06-03 Doug Evans <dje@google.com>
4548
4549 * exec.c (exec_close_1): Call clear_section_table instead of
4550 resize_section_table.
4551 (clear_section_table): New function.
4552 (resize_section_table): Make static. Rename arg num_added to
4553 adjustment.
4554 * exec.h (clear_section_table): Declare.
4555 (resize_section_table): Delete.
4556 * progspace.c (release_program_space): Call clear_section_table
4557 instead of resize_section_table.
4558
4559 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4560
4561 * NEWS (Python Scripting): Add entry about the new xmethods
4562 feature.
4563
4564 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4565
4566 * python/py-xmethods.c: New file.
4567 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4568 (objfpy_dealloc): XDECREF on the new xmethods field.
4569 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4570 field.
4571 (objfpy_get_xmethods): New function.
4572 (objfile_getset): New entry 'xmethods'.
4573 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4574 (pspy_dealloc): XDECREF on the new xmethods field.
4575 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4576 field.
4577 (pspy_get_xmethods): New function.
4578 (pspace_getset): New entry 'xmethods'.
4579 * python/python-internal.h: Add declarations for new functions.
4580 * python/python.c (_initialize_python): Invoke
4581 gdbpy_initialize_xmethods.
4582 * python/lib/gdb/__init__.py (xmethods): New
4583 attribute.
4584 * python/lib/gdb/xmethod.py: New file.
4585 * python/lib/gdb/command/xmethods.py: New file.
4586
4587 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4588
4589 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4590 best match method returned by find_overload_match is an xmethod.
4591 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4592 the best matching operator returned by find_overload_match is an
4593 xmethod.
4594 * valops.c: #include "extension.h".
4595 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4596 Return void. The list of matching source methods is returned in
4597 "fn_list" and a vector of matching debug method workers is
4598 returned in "xm_worker_vec". Update all callers.
4599 (value_find_oload_method_list): Likewise.
4600 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4601 non-NULL, then the index of the best matching method in this
4602 vector is returned. Update all callers.
4603 (find_overload_match): Include xmethods while performing overload
4604 resolution.
4605
4606 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4607
4608 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4609 * extension-priv.h (struct extension_language_ops): Add the
4610 xmethod interface.
4611 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4612 get_matching_xmethod_workers, get_xmethod_argtypes,
4613 invoke_xmethod, free_xmethod_worker,
4614 free_xmethod_worker_vec): New functions.
4615 * extension.h: #include "common/vec.h".
4616 New function declarations.
4617 (struct xmethod_worker): New struct.
4618 (VEC (xmethod_worker_ptr)): New vector type.
4619 (xmethod_worker_ptr): New typedef.
4620 (xmethod_worker_vec): Likewise.
4621 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4622 builtin_type.
4623 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4624 (struct builtin_type): New field "xmethod".
4625 * valarith.c (value_ptradd): Assert that the value argument is not
4626 lval_xcallable.
4627 * valops.c (value_must_coerce_to_target): Return 0 for
4628 lval_xcallable values.
4629 * value.c (struct value): New field XM_WORKER in the field
4630 LOCATION.
4631 (value_address, value_raw_address): Return 0 for lval_xcallable
4632 values.
4633 (set_value_address): Assert that the value is not an
4634 lval_xcallable.
4635 (value_free): Free the associated xmethod worker when freeing
4636 lval_xcallable values.
4637 (set_value_component_location): Assert that the WHOLE value is not
4638 lval_xcallable.
4639 (value_of_xmethod, call_xmethod): New functions.
4640 * value.h: Declare "struct xmethod_worker".
4641 Declare new functions value_of_xmethod, call_xmethod.
4642
4643 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4644 Pedro Alves <palves@redhat.com>
4645
4646 PR breakpoints/17000
4647 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4648 New function, extracted from software_breakpoint_inserted_here_p.
4649 (software_breakpoint_inserted_here_p): Replace factored out code
4650 by call to find_non_raw_software_breakpoint_inserted_here.
4651 (bp_target_info_copy_insertion_state): New function.
4652 (bkpt_insert_location): Handle the case of a single-step
4653 breakpoint already inserted at the same address.
4654 (bkpt_remove_location): Handle the case of a single-step
4655 breakpoint still inserted at the same address.
4656 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4657 breakpoint already inserted at the same address.
4658 (deprecated_remove_raw_breakpoint): Handle the case of a
4659 non-raw breakpoint still inserted at the same address.
4660 (find_single_step_breakpoint): New function, extracted from
4661 single_step_breakpoint_inserted_here_p.
4662 (find_single_step_breakpoint): New function,
4663 factored out from single_step_breakpoint_inserted_here_p.
4664 (single_step_breakpoint_inserted_here_p): Reimplement.
4665
4666 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4667
4668 Pushed by Joel Brobecker <brobecker@adacore.com>
4669 * source.c (show_substitute_path_command): Fix display of matching
4670 substitution rules.
4671
4672 2014-06-03 Gary Benson <gbenson@redhat.com>
4673
4674 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4675
4676 2014-06-02 Doug Evans <xdje42@gmail.com>
4677
4678 Add parameter support for Guile.
4679 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4680 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4681 (scm-param.o): New rule.
4682 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4683 (gdbscm_misc_error): Declare.
4684 (gdbscm_canonicalize_command_name): Declare.
4685 (gdbscm_scm_to_host_string): Declare.
4686 (gdbscm_scm_from_host_string): Declare.
4687 (gdbscm_initialize_parameters): Declare.
4688 * guile/guile.c (initialize_gdb_module): Call
4689 gdbscm_initialize_parameters.
4690 * guile/lib/gdb.scm: Export parameter symbols.
4691 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4692 cmdscm_canonicalize_name and made public. All callers updated.
4693 * guile/scm-exception.c (gdbscm_misc_error): New function.
4694 * guile/scm-param.c: New file.
4695 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4696 (gdbscm_scm_to_host_string): New function.
4697 (gdbscm_scm_from_host_string): New function.
4698 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4699
4700 2014-06-02 Doug Evans <xdje42@gmail.com>
4701
4702 Add command support for Guile.
4703 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4704 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4705 (scm-cmd.o): New rule.
4706 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4707 (gdbscm_user_error_p): Declare.
4708 (gdbscm_parse_command_name): Declare.
4709 (gdbscm_valid_command_class_p): Declare.
4710 (gdbscm_initialize_commands): Declare.
4711 * guile/guile.c (initialize_gdb_module): Call
4712 gdbscm_initialize_commands.
4713 * guile/lib/gdb.scm: Export command symbols.
4714 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4715 (throw-user-error): New function.
4716 * guile/scm-cmd.c: New file.
4717 * guile/scm-exception.c (user_error_symbol): New static global.
4718 (gdbscm_user_error_p): New function.
4719 (gdbscm_initialize_exceptions): Set user_error_symbol.
4720 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4721
4722 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4723
4724 * top.c (command_loop): Handle comments here...
4725 (command_line_input): ... not here.
4726
4727 2014-06-02 Doug Evans <xdje42@gmail.com>
4728
4729 Add progspace support for Guile.
4730 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4731 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4732 (scm-progspace.o): New rule.
4733 * guile/guile-internal.h (pspace_smob): New typedef.
4734 (psscm_pspace_smob_pretty_printers): Declare.
4735 (psscm_pspace_smob_from_pspace): Declare.
4736 (psscm_scm_from_pspace): Declare.
4737 * guile/guile.c (initialize_gdb_module): Call
4738 gdbscm_initialize_pspaces.
4739 * guile/lib/gdb.scm: Export progspace symbols.
4740 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4741 support.
4742 (append-pretty-printer!): Ditto.
4743 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4744 Implement.
4745 * guile/scm-progspace.c: New file.
4746
4747 2014-06-03 Alan Modra <amodra@gmail.com>
4748
4749 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4750 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4751
4752 2014-06-02 Doug Evans <dje@google.com>
4753
4754 Add support for skeletonless type units.
4755 * dwarf2read.c (struct dwarf2_per_objfile): New member
4756 n_allocated_type_units.
4757 (struct dwarf2_per_objfile) <tu_stats>: New member
4758 nr_all_type_units_reallocs.
4759 (create_signatured_type_table_from_index): Initialize
4760 n_allocated_type_units
4761 (create_all_type_units): Ditto.
4762 (add_type_unit): Move up in file. New arg slot.
4763 All callers updated. Increase space for all_type_units more
4764 efficiently.
4765 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4766 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4767 (lookup_dwp_signatured_type): Ditto.
4768 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4769 All callers updated.
4770 (build_type_psymtabs_1): Leave type_unit_groups as
4771 NULL if no TUs present.
4772 (print_tu_stats): New function.
4773 (process_skeletonless_type_unit): New function.
4774 (process_dwo_file_for_skeletonless_type_units): New
4775 function.
4776 (process_skeletonless_type_units): New function.
4777 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4778 Call print tu_stats if debugging enabled.
4779
4780 2014-06-02 Pedro Alves <palves@redhat.com>
4781
4782 * breakpoint.c (build_target_command_list): Don't build a command
4783 list if we have any duplicate location that isn't a dprintf.
4784
4785 2014-06-02 Pedro Alves <palves@redhat.com>
4786
4787 * breakpoint.c (dprintf_breakpoint_hit): New function.
4788 (initialize_breakpoint_ops): Install it as dprintf's
4789 breakpoint_hit method.
4790
4791 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4792
4793 * source.c (substitute_path_rule_matches): Simplify using
4794 filename_ncmp instead of FILENAME_CMP.
4795
4796 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4797
4798 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4799
4800 2014-06-01 Ludovic Courtès <ludo@gnu.org>
4801
4802 * configure.ac: When Guile is available, check for the
4803 availability of 'scm_new_smob'.
4804 * configure, config.h.in: Regenerate.
4805 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4806 function.
4807
4808 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4809
4810 * frame.c (struct frame_info): Add stop_string field.
4811 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4812 (get_prev_frame_always): Old content moved into
4813 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4814 TRY_CATCH, handle MEMORY_ERROR exceptions.
4815 (frame_stop_reason_string): New function definition.
4816 * frame.h (unwind_stop_reason_to_string): Extend comment to
4817 mention frame_stop_reason_string.
4818 (frame_stop_reason_string): New function declaration.
4819 * stack.c (frame_info): Switch to frame_stop_reason_string.
4820 (backtrace_command_1): Switch to frame_stop_reason_string.
4821 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4822 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4823 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4824
4825 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4826
4827 * frame.c (frame_stop_reason_string): Rename to ...
4828 (unwind_stop_reason_to_string): this.
4829 * frame.h (frame_stop_reason_string): Rename to ...
4830 (unwind_stop_reason_to_string): this.
4831 * stack.c (frame_info): Update call to frame_stop_reason_string.
4832 (backtrace_command_1): Likewise.
4833 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4834 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4835
4836 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4837
4838 * frame.c (remove_prev_frame): New function.
4839 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4840 remove_prev_frame.
4841
4842 2014-05-29 Pedro Alves <palves@redhat.com>
4843
4844 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4845 and make it const. When a single-step decays to a continue,
4846 clear 'step', not 'hw_step'. Pass whether the caller wanted
4847 to step to user_visible_resume_ptid, not what we ask the
4848 target to do.
4849
4850 2014-05-29 Pedro Alves <palves@redhat.com>
4851
4852 * infrun.c (process_event_stop_test, handle_step_into_function)
4853 (handle_step_into_function_backward): Adjust.
4854 Don't set the even thread's stop_step and call stop_waiting before
4855 calling end_stepping_range. Instead do that ...
4856 (end_stepping_range): ... here. Take an ecs pointer parameter.
4857
4858 2014-05-29 Pedro Alves <palves@redhat.com>
4859
4860 * infrun.c (stop_stepping): Rename to ...
4861 (stop_waiting): ... this.
4862 (proceed): Update comment.
4863 (process_event_stop_test, handle_inferior_event)
4864 (handle_signal_stop, handle_step_into_function)
4865 (handle_step_into_function_backward): Update.
4866
4867 2014-05-29 Pedro Alves <palves@redhat.com>
4868
4869 * infcall.c (run_inferior_call): Don't check whether the current
4870 thread is running after the proceed call.
4871
4872 2014-05-29 Pedro Alves <palves@redhat.com>
4873 Tom Tromey <tromey@redhat.com>
4874
4875 * NEWS: Mention "maint set target-async", "set mi-async", and that
4876 background execution commands are now always available.
4877 * target.h (target_async_permitted): Update comment.
4878 * target.c (target_async_permitted, target_async_permitted_1):
4879 Default to 1.
4880 (set_target_async_command): Rename to ...
4881 (maint_set_target_async_command): ... this.
4882 (show_target_async_command): Rename to ...
4883 (maint_show_target_async_command): ... this.
4884 (_initialize_target): Adjust.
4885 * infcmd.c (prepare_execution_command): Make extern.
4886 * inferior.h (prepare_execution_command): Declare.
4887 * infrun.c (set_observer_mode): Leave target async alone.
4888 * mi/mi-interp.c (mi_interpreter_init): Install
4889 mi_on_sync_execution_done as sync_execution_done observer.
4890 (mi_on_sync_execution_done): New function.
4891 (mi_execute_command_input_handler): Don't print the prompt if we
4892 just started a synchronous command with an async target.
4893 (mi_on_resume): Check sync_execution before printing prompt.
4894 * mi/mi-main.h (mi_async_p): Declare.
4895 * mi/mi-main.c: Include gdbcmd.h.
4896 (mi_async_p): New function.
4897 (mi_async, mi_async_1): New globals.
4898 (set_mi_async_command, show_mi_async_command, mi_async): New
4899 functions.
4900 (exec_continue): Call prepare_execution_command.
4901 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4902 (mi_execute_async_cli_command): Use mi_async_p.
4903 (_initialize_mi_main): Install "set mi-async". Make
4904 "target-async" a deprecated alias.
4905
4906 2014-05-29 Pedro Alves <palves@redhat.com>
4907
4908 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4909 (_initialize_cli_interp): Adjust.
4910 * event-loop.c: Include "observer.h".
4911 (start_event_loop): Notify 'command_error' observers instead of
4912 calling display_gdb_prompt. Remove FIXME comment.
4913 * event-top.c (display_gdb_prompt): Remove call into the
4914 interpreters.
4915 * inf-loop.c: Include "observer.h".
4916 (inferior_event_handler): Notify 'command_error' observers instead
4917 of calling display_gdb_prompt.
4918 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4919 observers instead of calling display_gdb_prompt.
4920 * interps.c (interp_set): Don't call display_gdb_prompt.
4921 (current_interp_display_prompt_p): Delete.
4922 * interps.h (interp_prompt_p): Delete declaration.
4923 (interp_prompt_p_ftype): Delete.
4924 (struct interp_procs) <prompt_proc_p>: Delete field.
4925 (current_interp_display_prompt_p): Delete declaration.
4926 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4927 (_initialize_mi_interp): Adjust.
4928 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4929 'command_error' observers.
4930 (tui_on_sync_execution_done, tui_on_command_error): New
4931 functions.
4932 (tui_display_prompt_p): Delete.
4933 (_initialize_tui_interp): Adjust.
4934
4935 2014-05-29 Pedro Alves <palves@redhat.com>
4936
4937 PR gdb/13860
4938 * cli/cli-interp.c: Include infrun.h and observer.h.
4939 (cli_uiout, cli_interp): New globals.
4940 (cli_on_signal_received, cli_on_end_stepping_range)
4941 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4942 functions.
4943 (cli_interpreter_init): Install them as 'end_stepping_range',
4944 'signal_received' 'signal_exited', 'exited' and 'no_history'
4945 observers.
4946 (_initialize_cli_interp): Remove cli_interp local.
4947 * infrun.c (handle_inferior_event): Call the several stop reason
4948 observers instead of printing the stop reason directly.
4949 (end_stepping_range): New function.
4950 (print_end_stepping_range_reason, print_signal_exited_reason)
4951 (print_exited_reason, print_signal_received_reason)
4952 (print_no_history_reason): Make static, and add an uiout
4953 parameter. Print to that instead of to CURRENT_UIOUT.
4954 * infrun.h (print_end_stepping_range_reason)
4955 (print_signal_exited_reason, print_exited_reason)
4956 (print_signal_received_reason print_no_history_reason): New
4957 declarations.
4958 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4959 'mi_uiout'.
4960 <cli_uiout>: New field.
4961 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4962 uiout for CLI output. Install 'signal_received',
4963 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4964 observers.
4965 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4966 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4967 (mi_on_no_history): New functions.
4968 (ui_out_free_cleanup): Delete function.
4969 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4970 instead use the one already stored in the MI interpreter data.
4971 (mi_ui_out): Adjust.
4972 * tui/tui-interp.c: Include infrun.h and observer.h.
4973 (tui_interp): New global.
4974 (tui_on_signal_received, tui_on_end_stepping_range)
4975 (tui_on_signal_exited, tui_on_exited)
4976 (tui_on_no_history): New functions.
4977 (tui_init): Install them as 'end_stepping_range',
4978 'signal_received' 'signal_exited', 'exited' and 'no_history'
4979 observers.
4980 (_initialize_tui_interp): Delete tui_interp local.
4981
4982 2014-05-29 Pedro Alves <palves@redhat.com>
4983
4984 PR gdb/15713
4985 * linux-nat.c (linux_nat_resume_callback): Rename the second
4986 parameter to 'except'. Skip LP if it points to EXCEPT.
4987 (linux_nat_resume): Don't mark the event lwp as not stopped
4988 before resuming sibling lwps. Instead ask
4989 linux_nat_resume_callback to skip the event lwp. Mark it as not
4990 stopped after actually resuming it.
4991 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4992 resuming it.
4993 (wait_lwp): Mark the lwp as stopped here.
4994 (stop_wait_callback): Mark the lwp as not stopped right after
4995 resuming it. Don't mark lwps as stopped here.
4996 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4997 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4998
4999 2014-05-29 Pedro Alves <palves@redhat.com>
5000
5001 PR PR15693
5002 * infrun.c (resume): Determine how much to resume depending on
5003 whether the caller wanted a step, not whether we can hardware step
5004 the target. Mark all threads that we intend to run as running,
5005 unless we're calling an inferior function.
5006 (normal_stop): If the thread is running an infcall, don't finish
5007 thread state.
5008 * target.c (target_resume): Don't mark threads as running here.
5009
5010 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5011
5012 * serial.c (_initialize_serial): Remove support for
5013 the "set remotebaud" and "show remotebaud" commands.
5014 * NEWS: Add entry documenting the removal of that command.
5015
5016 2014-05-28 Yao Qi <yao@codesourcery.com>
5017
5018 * charset.c: Fix typo in comments.
5019
5020 2014-05-27 Gary Benson <gbenson@redhat.com>
5021
5022 * utils.c (internal_vproblem): Prompt for a bug report.
5023
5024 2014-05-26 Andy Wingo <wingo@igalia.com>
5025
5026 * guile/scm-arch.c (arscm_mark_arch_smob):
5027 * guile/scm-block.c (bkscm_mark_block_smob)
5028 (bkscm_mark_block_syms_progress_smob):
5029 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5030 * guile/scm-exception.c (exscm_mark_exception_smob):
5031 * guile/scm-frame.c (frscm_mark_frame_smob):
5032 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5033 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5034 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5035 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5036 (ppscm_mark_pretty_printer_worker_smob):
5037 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5038 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5039 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5040 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5041 mark functions.
5042 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5043 function.
5044
5045 2014-05-26 Andy Wingo <wingo@igalia.com>
5046 Doug Evans <xdje42@gmail.com>
5047
5048 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5049 empty_base_class. All uses updated.
5050 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5051 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5052 Adapt all callers.
5053 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5054 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5055 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5056 (gdbscm_gsmob_has_property_p, add_property_name)
5057 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5058 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5059 (gdb-object-has-property?, gdb-object-properties): Remove.
5060 (gdb-object-kind): Renamed from gsmob-kind.
5061
5062 2014-05-26 Andy Wingo <wingo@igalia.com>
5063
5064 * configure.ac (try_guile_versions): Allow building with guile 2.2.
5065 * configure: Regenerate.
5066
5067 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5068
5069 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
5070
5071 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5072
5073 * record-btrace.c (record_btrace_allow_memory_access): Remove.
5074 (replay_memory_access_read_only, replay_memory_access_read_write)
5075 (replay_memory_access_types, replay_memory_access)
5076 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
5077 (cmd_set_record_btrace, cmd_show_record_btrace)
5078 (cmd_show_replay_memory_access): New.
5079 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
5080 (record_btrace_remove_breakpoint): Replace
5081 record_btrace_allow_memory_access with replay_memory_access.
5082 (_initialize_record_btrace): Add commands.
5083 * NEWS: Announce it.
5084
5085 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5086
5087 * aarch64-linux-nat.c (asm/ptrace.h): Include.
5088
5089 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5090
5091 * MAINTAINERS (Write After Approval): Move self back from
5092 paper trail.
5093
5094 2014-05-22 Pedro Alves <palves@redhat.com>
5095
5096 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
5097 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
5098 (disable_randomization, enum exec_direction_kind)
5099 (execution_direction, stop_registers, start_remote)
5100 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
5101 (wait_for_inferior, normal_stop, get_last_target_status)
5102 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
5103 (insert_step_resume_breakpoint_at_sal)
5104 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
5105 (set_step_info, print_stop_event, signal_stop_state)
5106 (signal_print_state, signal_pass_state, signal_stop_update)
5107 (signal_print_update, signal_pass_update)
5108 (update_signals_program_target, clear_exit_convenience_vars)
5109 (displaced_step_dump_bytes, update_observer_mode)
5110 (signal_catch_update, gdb_signal_from_command): Move
5111 declarations ...
5112 * infrun.h: ... to this new file.
5113 * amd64-tdep.c: Include infrun.h.
5114 * annotate.c: Include infrun.h.
5115 * arch-utils.c: Include infrun.h.
5116 * arm-linux-tdep.c: Include infrun.h.
5117 * arm-tdep.c: Include infrun.h.
5118 * break-catch-sig.c: Include infrun.h.
5119 * breakpoint.c: Include infrun.h.
5120 * common/agent.c: Include infrun.h instead of inferior.h.
5121 * corelow.c: Include infrun.h.
5122 * event-top.c: Include infrun.h.
5123 * go32-nat.c: Include infrun.h.
5124 * i386-tdep.c: Include infrun.h.
5125 * inf-loop.c: Include infrun.h.
5126 * infcall.c: Include infrun.h.
5127 * infcmd.c: Include infrun.h.
5128 * infrun.c: Include infrun.h.
5129 * linux-fork.c: Include infrun.h.
5130 * linux-nat.c: Include infrun.h.
5131 * linux-thread-db.c: Include infrun.h.
5132 * monitor.c: Include infrun.h.
5133 * nto-tdep.c: Include infrun.h.
5134 * procfs.c: Include infrun.h.
5135 * record-btrace.c: Include infrun.h.
5136 * record-full.c: Include infrun.h.
5137 * remote-m32r-sdi.c: Include infrun.h.
5138 * remote-mips.c: Include infrun.h.
5139 * remote-notif.c: Include infrun.h.
5140 * remote-sim.c: Include infrun.h.
5141 * remote.c: Include infrun.h.
5142 * reverse.c: Include infrun.h.
5143 * rs6000-tdep.c: Include infrun.h.
5144 * s390-linux-tdep.c: Include infrun.h.
5145 * solib-irix.c: Include infrun.h.
5146 * solib-osf.c: Include infrun.h.
5147 * solib-svr4.c: Include infrun.h.
5148 * target.c: Include infrun.h.
5149 * top.c: Include infrun.h.
5150 * windows-nat.c: Include infrun.h.
5151 * mi/mi-interp.c: Include infrun.h.
5152 * mi/mi-main.c: Include infrun.h.
5153 * python/py-threadevent.c: Include infrun.h.
5154
5155 2014-05-22 Pedro Alves <palves@redhat.com>
5156
5157 * infrun.c (handle_inferior_event): Store the exit code for
5158 --return-child-result here, instead of ...
5159 (print_exited_reason): ... here.
5160
5161 2014-05-21 Pedro Alves <palves@redhat.com>
5162
5163 PR gdb/13860
5164 * gdbthread.h (struct thread_control_state): New field
5165 `command_interp'.
5166 * infrun.c (follow_fork): Copy the new thread control field to the
5167 child fork thread.
5168 (clear_proceed_status_thread): Clear the new thread control field.
5169 (proceed): Set the new thread control field.
5170 * interps.h (command_interp): Declare.
5171 * interps.c (command_interpreter): New global.
5172 (command_interp): New function.
5173 (interp_exec): Set `command_interpreter' while here.
5174 * cli-out.c (cli_uiout_dtor): New function.
5175 (cli_ui_out_impl): Install it.
5176 * mi/mi-interp.c: Include cli-out.h.
5177 (mi_cmd_interpreter_exec): Add comment.
5178 (restore_current_uiout_cleanup): New function.
5179 (ui_out_free_cleanup): New function.
5180 (mi_on_normal_stop): If finishing an execution command started by
5181 a CLI command, or any kind of breakpoint-like event triggered,
5182 print the stop event to the output (CLI) stream.
5183 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
5184
5185 2014-05-21 Pedro Alves <palves@redhat.com>
5186
5187 * cli/cli-cmds.c (list_command): Handle the first "list" after the
5188 current source line having changed.
5189 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
5190 * infrun.c (normal_stop): Adjust call to
5191 set_current_sal_from_frame.
5192 * source.c (clear_lines_listed_range): New function.
5193 (set_current_source_symtab_and_line, identify_source_line): Clear
5194 the lines listed range.
5195 (line_info): Handle the first "info line" after the current source
5196 line having changed.
5197 * stack.c (print_stack_frame): Remove center handling.
5198 (set_current_sal_from_frame): Remove 'center' parameter. Don't
5199 center sal.line.
5200
5201 2014-05-21 Pedro Alves <palves@redhat.com>
5202
5203 * inf-child.c (inf_child_mourn_inferior): New function.
5204 * inf-child.h (inf_child_mourn_inferior): New declaration.
5205 * darwin-nat.c (darwin_mourn_inferior): Use
5206 inf_child_mourn_inferior.
5207 * gnu-nat.c (gnu_mourn_inferior): Likewise.
5208 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
5209 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
5210 * nto-procfs.c (procfs_mourn_inferior): Likewise.
5211 * windows-nat.c (windows_mourn_inferior): Likewise.
5212
5213 2014-05-21 Doug Evans <xdje42@gmail.com>
5214
5215 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5216
5217 2014-05-21 Doug Evans <xdje42@gmail.com>
5218
5219 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
5220 (gdbscm_out_of_range_error): Ditto.
5221 (gdbscm_memory_error): Ditto.
5222 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
5223 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
5224 (gdbscm_out_of_range_error): Update.
5225 (gdbscm_memory_error): Update.
5226 (gdbscm_scm_to_target_string_unsafe): Delete.
5227
5228 2014-05-21 Pedro Alves <palves@redhat.com>
5229
5230 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
5231 globals.
5232 (inf_child_open_target): New function.
5233 (inf_child_open): Use inf_child_open_target to push the target
5234 instead of erroring out.
5235 (inf_child_disconnect, inf_child_close)
5236 (inf_child_maybe_unpush_target): New functions.
5237 (inf_child_target): Install inf_child_disconnect and
5238 inf_child_close. Store a pointer to the returned object.
5239 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
5240 declarations.
5241 * target.c (auto_connect_native_target): New global.
5242 (show_default_run_target): New function.
5243 (find_default_run_target): Return NULL if automatically connecting
5244 to the native target is disabled.
5245 (_initialize_target): Install set/show auto-connect-native-target.
5246 * NEWS: Mention "set auto-connect-native-target", and "target
5247 native".
5248 * linux-nat.c (super_close): New global.
5249 (linux_nat_close): Call super_close.
5250 (linux_nat_add_target): Store a pointer to the base class's
5251 to_close method.
5252 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
5253 inf_child_maybe_unpush.
5254 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
5255 already pushed.
5256 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
5257 the inferior. Use inf_child_maybe_unpush_target.
5258 (inf_ttrace_attach): Don't push the target if it is already
5259 pushed.
5260 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
5261 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
5262 after mourning the inferior. Use inf_child_maybe_unpush_target.
5263 (darwin_attach_pid): Don't push the target if it is already
5264 pushed.
5265 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5266 mourning the inferior. Use inf_child_maybe_unpush_target.
5267 (gnu_detach): Use inf_child_maybe_unpush_target.
5268 * go32-nat.c (go32_create_inferior): Don't push the target if it
5269 is already pushed.
5270 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5271 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5272 (procfs_open): Rename to ...
5273 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5274 comments. Can target_preopen before changing node. Call
5275 inf_child_open_target to push the target explicitly.
5276 (procfs_attach): Don't push the target if it is already pushed.
5277 (procfs_detach): Use inf_child_maybe_unpush_target.
5278 (procfs_create_inferior): Don't push the target if it is already
5279 pushed.
5280 (nto_native_ops): New global.
5281 (procfs_open): Reimplement.
5282 (procfs_native_open): New function.
5283 (init_procfs_targets): Install procfs_native_open as to_open of
5284 "target native". Store a pointer to the "native" target in
5285 nto_native_ops.
5286 * procfs.c (procfs_attach): Don't push the target if it is already
5287 pushed.
5288 (procfs_detach): Use inf_child_maybe_unpush_target.
5289 (procfs_mourn_inferior): Only unpush the target after mourning the
5290 inferior. Use inf_child_maybe_unpush_target.
5291 (procfs_init_inferior): Don't push the target if it is already
5292 pushed.
5293 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5294 if it is already pushed.
5295
5296 2014-05-21 Pedro Alves <palves@redhat.com>
5297
5298 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5299 and "procfs" targets are now called "native" instead.
5300
5301 2014-05-21 Pedro Alves <palves@redhat.com>
5302
5303 * go32-nat.c (go32_open): Delete.
5304 (go32_target): Don't override the to_open method.
5305
5306 2014-05-21 Pedro Alves <palves@redhat.com>
5307
5308 * nto-procfs.c (procfs_can_run): New function.
5309 (nto_procfs_ops): New global.
5310 (init_procfs_targets): New, based on procfs_target. Install
5311 "target native" in addition to "target procfs".
5312 (_initialize_procfs): Call init_procfs_targets instead of adding
5313 the target here.
5314
5315 2014-05-21 Pedro Alves <palves@redhat.com>
5316
5317 * windows-nat.c (windows_target): Don't override to_shortname,
5318 to_longname or to_doc.
5319
5320 2014-05-21 Pedro Alves <palves@redhat.com>
5321
5322 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5323 to_doc.
5324
5325 2014-05-21 Pedro Alves <palves@redhat.com>
5326
5327 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5328 to_shortname, to_longname or to_doc.
5329
5330 2014-05-21 Pedro Alves <palves@redhat.com>
5331
5332 * go32-nat.c (go32_target): Don't override to_shortname,
5333 to_longname or to_doc.
5334
5335 2014-05-21 Pedro Alves <palves@redhat.com>
5336
5337 * inf-child.c (inf_child_open): Remove mention of "child".
5338 (inf_child_target): Rename target to "native" instead of "child".
5339
5340 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5341
5342 * Makefile.in (SFILES): Delete "regset.c".
5343 (COMMON_OBS): Delete "regset.o".
5344 * regset.c: Remove.
5345 * regset.h (regset_alloc): Delete prototype.
5346
5347 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5348
5349 * sparc-linux-tdep.c (sparc32_linux_gregset)
5350 (sparc32_linux_fpregset): New static regset structures.
5351 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5352 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5353 'fpregset' fields.
5354 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5355 (sparc64_linux_fpregset): New static regset structures.
5356 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5357 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5358 New static regset structures.
5359 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5360 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5361 New static regset structures.
5362 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5363 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5364 New static regset structures.
5365 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5366 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5367 New static regset structures.
5368 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5369
5370 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5371
5372 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5373 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5374 register maps ("regmaps") from "*regset" to "*regmap". Do this
5375 for all regmap types and variables.
5376 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5377 (sparc32_linux_supply_core_gregset)
5378 (sparc32_linux_collect_core_gregset)
5379 (sparc32_linux_supply_core_fpregset)
5380 (sparc32_linux_collect_core_fpregset): Likewise.
5381 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5382 (sparc_gregmap, sparc_fpregmap): ... these.
5383 (sparc_supply_gregset, sparc_collect_gregset)
5384 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5385 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5386 (_initialize_sparc_nat): Rename regmaps.
5387 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5388 (sparc_gregmap, sparc_fpregmap): ... these.
5389 (sparc_supply_gregset, sparc_collect_gregset)
5390 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5391 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5392 Rename macros to...
5393 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5394 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5395 Likewise.
5396 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5397 Rename to...
5398 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5399 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5400 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5401 regmaps.
5402 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5403 (sparc32_bsd_fpregset): Rename to...
5404 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5405 (sparc32_bsd_fpregmap): ... these.
5406 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5407 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5408 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5409 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5410 (struct sparc_gregmap, struct sparc_fpregmap)
5411 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5412 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5413 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5414 (sparc32_supply_regset, sparc32_collect_gregset)
5415 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5416 prototypes.
5417 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5418 (sparc64_linux_ptrace_gregmap): ... this.
5419 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5420 (_initialize_sparc64_linux_nat): Rename regmaps.
5421 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5422 (sparc64_linux_core_gregmap): ... this.
5423 (sparc64_linux_supply_core_gregset)
5424 (sparc64_linux_collect_core_gregset)
5425 (sparc64_linux_supply_core_fpregset)
5426 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5427 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5428 (sparc64_sol2_fpregset): Rename to...
5429 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5430 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5431 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5432 regmaps.
5433 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5434 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5435 (sparc64_bsd_fpregset): Rename to...
5436 (struct sparc_gregmap, sparc64_sol2_gregmap)
5437 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5438 (sparc64_bsd_fpregmap): ... these.
5439 (sparc64_supply_gregset, sparc64_collect_gregset)
5440 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5441 prototypes.
5442 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5443 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5444 (sparc64fbsd_gregmap): ... this.
5445 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5446 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5447 Rename regmaps.
5448 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5449 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5450 (sparc64nbsd_collect_fpregset): Likewise.
5451 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5452 (sparc64nbsd_gregmap): ... this.
5453 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5454 regmaps.
5455 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5456 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5457 (sparc64obsd_gregmap): ... this.
5458 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5459 regmaps.
5460 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5461 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5462 (sparc32nbsd_gregmap): ... this.
5463 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5464 regmaps.
5465
5466 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467
5468 * score-tdep.c (score7_linux_gregset): New static regset
5469 structure.
5470 (score7_linux_regset_from_core_section): Remove dynamic regset
5471 allocation.
5472 (score_gdbarch_init): Drop allocation of tdep structure.
5473 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5474
5475 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5476
5477 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5478 regset structures.
5479 (am33_regset_from_core_section): Remove dynamic regset
5480 allocations.
5481
5482 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5483
5484 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5485 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5486 structures.
5487 (mips_linux_regset_from_core_section): Remove dynamic regset
5488 allocations.
5489 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5490 'gregset64', 'fpregset', and 'fpregset64'.
5491 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5492 deleted tdep fields.
5493
5494 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5495
5496 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5497 regset structures.
5498 (amd64_regset_from_core_section): Remove dynamic regset
5499 allocations.
5500 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5501 structure.
5502 (amd64obsd_regset_from_core_section): Remove dynamic regset
5503 allocation.
5504 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5505 Likewise.
5506 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5507 x86-common regset supply function.
5508 * i386-tdep.c (i386_collect_gregset): Make static.
5509 (i386_gregset): New global regset structure.
5510 (i386_fpregset, i386_xstateregset): New static regset structures.
5511 (i386_regset_from_core_section): Remove dynamic regset
5512 allocations.
5513 (i386_gdbarch_init): Remove initialization of tdep fields
5514 'gregset', 'fpregset', and 'xstateregset'.
5515 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5516 'fpregset', and 'xstateregset'.
5517 (i386_collect_gregset): Remove prototype.
5518 (i386_gregset): New declaration.
5519 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5520 structure.
5521 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5522 allocation.
5523
5524 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5525
5526 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5527 (arm_linux_vfpregset): New static regset structures.
5528 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5529 regset structures.
5530 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5531 and 'vfpregset' fields.
5532
5533 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5534
5535 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5536 (aarch64_linux_fpregset): New static regset structures.
5537 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5538 of regset structures.
5539 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5540 'fpregset' fields.
5541
5542 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5543
5544 * regset.h (struct regset): Remove gdbarch field.
5545 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5546 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5547 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5548 Likewise.
5549 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5550 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5551 (ppc32_linux_vsxregset): Likewise.
5552 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5553 via the regcache instead of the regset.
5554 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5555 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5556 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5557 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5558 Likewise.
5559
5560 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5561
5562 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5563 Constify structures.
5564 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5565 (alphanbsd_aout_gregset): Likewise.
5566 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5567 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5568 Likewise.
5569 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5570 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5571 Likewise.
5572 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5573 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5574 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5575 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5576 * m88k-tdep.c (m88k_gregset): Likewise.
5577 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5578 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5579 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5580 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5581 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5582 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5583 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5584 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5585 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5586 Likewise.
5587 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5588 * sh-tdep.h (sh_corefile_gregset): Likewise.
5589 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5590 * vax-tdep.c (vax_gregset): Likewise.
5591
5592 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 Fix TLS access for -static -pthread.
5595 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5596 (try_thread_db_load_1): Initialize it.
5597 (thread_db_get_thread_local_address): Call it if LM is zero.
5598 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5599 * target.h (struct target_ops) (to_get_thread_local_address): Add
5600 load_module_addr comment.
5601
5602 2014-05-21 Pedro Alves <palves@redhat.com>
5603
5604 * dcache.c (dcache_read_memory_partial): If reading the cache line
5605 fails, fallback to reading just the memory the caller wanted.
5606
5607 2014-05-20 Doug Evans <dje@google.com>
5608
5609 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5610 instead of get_current_arch.
5611
5612 2014-05-20 Pedro Alves <palves@redhat.com>
5613
5614 * NEWS: Mention that compare-sections now works with all targets.
5615
5616 * remote.c (PACKET_qCRC): New enum value.
5617 (remote_verify_memory): Don't send qCRC if the target has no
5618 execution. Use packet_support/packet_ok. If the target doesn't
5619 support the qCRC packet, fallback to a deep memory copy.
5620 (compare_sections_command): Say "target image" instead of "remote
5621 executable".
5622 (_initialize_remote): Add PACKET_qCRC to the list of config
5623 packets that have no associated command. Extend comment.
5624 * target.c (simple_verify_memory, default_verify_memory): New
5625 function.
5626 * target.h (struct target_ops) <to_verify_memory>: Default to
5627 default_verify_memory.
5628 (simple_verify_memory): New declaration.
5629 * target-delegates.c: Regenerate.
5630
5631 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5632
5633 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5634
5635 2014-05-20 Hui Zhu <hui@codesourcery.com>
5636 Yao Qi <yao@codesourcery.com>
5637
5638 PR backtrace/16558
5639 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5640 and change address of sp and pc.
5641
5642 2014-05-19 Tom Tromey <tromey@redhat.com>
5643
5644 * gdbtypes.c (rank_function): Use XNEWVEC.
5645 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5646
5647 2014-05-19 Doug Evans <dje@google.com>
5648
5649 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5650 build_type_unit_groups and moved closer to only caller. Remove
5651 arguments. All references updated. Remove outdated .gdb_index
5652 comment.
5653 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5654 build_type_psymtabs_1.
5655
5656 2014-05-19 Doug Evans <dje@google.com>
5657
5658 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5659 n_type_unit_groups, all_type_unit_groups. All uses removed.
5660 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5661 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5662 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5663 (add_type_unit_group_to_table): Delete.
5664
5665 2014-05-19 Doug Evans <dje@google.com>
5666
5667 * eval.c (evaluate_subexp_standard): Add some comments.
5668
5669 2014-05-17 Doug Evans <xdje42@gmail.com>
5670
5671 * progspace.c (remove_program_space): Delete, unused.
5672 * progspace.h (remove_program_space): Ditto.
5673
5674 2014-05-17 Doug Evans <xdje42@gmail.com>
5675
5676 * inferior.c (prune_inferiors): Fix comment.
5677 (remove_inferior_command): Call prune_program_spaces.
5678
5679 2014-05-16 Doug Evans <dje@google.com>
5680
5681 New command line option -D.
5682 * NEWS: Mention it.
5683 * main.c (set_gdb_data_directory): New function.
5684 (captured_main): Recognize -D. Flag error for --data-directory "".
5685 Call set_gdb_data_directory.
5686 (print_gdb_help): Print --data-directory, -D.
5687 * main.h (set_gdb_data_directory): Declare.
5688 * top.c (staged_gdb_datadir): New static global.
5689 (set_gdb_datadir): Call set_gdb_data_directory
5690 (show_gdb_datadir): New function.
5691 (init_main): Update init of data-directory parameter.
5692
5693 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5694
5695 Import the "dirfd" gnulib module.
5696 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5697 * gnulib/aclocal.m4: Update.
5698 * gnulib/config.in: Update.
5699 * gnulib/configure: Update.
5700 * gnulib/import/Makefile.am: Update.
5701 * gnulib/import/Makefile.in: Update.
5702 * gnulib/import/dirfd.c: New.
5703 * gnulib/import/m4/dirfd.m4: New.
5704 * gnulib/import/m4/gnulib-cache.m4: Update.
5705 * gnulib/import/m4/gnulib-comp.m4: Update.
5706
5707 2014-05-16 Pierre Muller <muller@sourceware.org>
5708 Yao Qi <yao@codesourcery.com>
5709
5710 * valprint.c (print_wchar): Move the code on checking whether
5711 W is a printable wide char to the default branch of switch
5712 statement below. Call wchar_printable instead of gdb_iswprint.
5713
5714 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5715
5716 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5717 ldr.w and ldrd instructions.
5718
5719 2014-05-15 Doug Evans <dje@google.com>
5720
5721 * dwarf2read.c (read_structure_type): Delete outdated comments.
5722
5723 2014-05-14 Tom Tromey <tromey@redhat.com>
5724
5725 * macrocmd.c (print_macro_definition): Reindent.
5726
5727 2014-05-13 Doug Evans <xdje42@gmail.com>
5728
5729 * python/py-cmd.c (cmdpy_completer): Add comment.
5730 (completers): Make const.
5731
5732 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5733
5734 * infrun.c (resume): Remove should_resume (unused). Move up
5735 declaration of resume_ptid.
5736
5737 2014-05-13 Tom Tromey <tromey@redhat.com>
5738
5739 * language.h (unop_type_check): Remove.
5740 (binop_type_check): Don't declare.
5741
5742 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5743
5744 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5745 call to regcache_raw_collect.
5746
5747 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5748
5749 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5750 mi_console->quote as the quoting character.
5751
5752 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5753
5754 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5755
5756 2014-04-29 Tom Tromey <tromey@redhat.com>
5757
5758 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5759 "show debug varobj".
5760
5761 2014-05-07 Kyle McMartin <kyle@redhat.com>
5762
5763 Pushed by Joel Brobecker <brobecker@adacore.com>.
5764 * aarch64-tdep.c (aarch64_software_single_step): New function.
5765 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5766 with aarch64_software_single_step.
5767
5768 2014-05-05 Joel Brobecker <brobecker@adacore.com>
5769
5770 GDB 7.7.1 released.
5771
5772 2014-05-05 Keith Seitz <keiths@redhat.com>
5773
5774 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5775 variable or history value is successfully parsed.
5776
5777 2014-05-05 Yao Qi <yao@codesourcery.com>
5778 Pedro Alves <palves@redhat.com>
5779
5780 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5781 address of blocks that intersects the requested range. Trim
5782 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5783 sections.
5784 * ctf.c (ctf_xfer_partial): Likewise.
5785
5786 2014-05-05 Yao Qi <yao@codesourcery.com>
5787
5788 * printcmd.c (display_command): Remove the check to
5789 target_has_execution.
5790
5791 2014-05-03 Mark Kettenis <kettenis@gnu.org>
5792
5793 * ppcobsd-nat.c: Include "obsd-nat.h".
5794 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5795 add_target.
5796 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5797
5798 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5799
5800 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5801 and 16-bit signed and unsigned arguments. Update comment.
5802 (stap_parse_probe_arguments): Extend code to handle such
5803 arguments. Use warning instead of complaint to notify about
5804 unrecognized bitness.
5805
5806 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5807
5808 PR breakpoints/16889
5809 * stap-probe.c (stap_parse_probe_arguments): Simplify
5810 check for non-prefixed probes (i.e., probes whose
5811 arguments do not start with "N@"). Always set the
5812 argument type to a sane value.
5813
5814 2014-05-01 David Taylor <dtaylor@emc.com>
5815
5816 * remote.c (compare_sections_command): Add -r option to compare
5817 all loadable read-only sections.
5818
5819 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5820
5821 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5822 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5823 Update all callers.
5824 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5825 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5826 Remove unused CORE_ADDR argument. Update all callers.
5827
5828 2014-04-29 Pedro Alves <palves@redhat.com>
5829
5830 * remote.c (struct packet_config) <detect>: Extend comment.
5831 (add_packet_config_cmd): Don't set the config's detect or support
5832 fields here.
5833 (init_all_packet_configs): Also initialize the config's 'detect'
5834 field.
5835 (reset_all_packet_configs_support): New function.
5836 (remote_open_1): Call reset_all_packet_configs_support instead of
5837 init_all_packet_configs.
5838 (_initialize_remote): Initialize all packet configs. Assert that
5839 all packets have an associated command, except a few known
5840 outliers.
5841
5842 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5843
5844 * dwarf2read.c (read_subrange_type): Handle dynamic
5845 DW_AT_lower_bound attributes.
5846
5847 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5848
5849 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5850 dynamic bounds before computing its upper bound.
5851 (ada_discrete_type_low_bound): Same as above with the lower bound.
5852
5853 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5854
5855 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5856 range types. Adjust the array handling implementation to
5857 take advantage of this change.
5858 (resolve_dynamic_range): New function, mostly extracted from
5859 resolve_dynamic_bounds.
5860 (resolve_dynamic_array): New function, mostly extracted from
5861 resolve_dynamic_bounds.
5862 (resolve_dynamic_bounds): Delete.
5863 (resolve_dynamic_type): Reimplement. Add handling of
5864 TYPE_CODE_RANGE types.
5865
5866 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5867
5868 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5869 handling of parallel ___XA types.
5870
5871 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5872
5873 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5874 unnecessary second call to static_unwrap_type.
5875
5876 2014-04-27 Hui Zhu <hui@codesourcery.com>
5877
5878 * stack.c (print_frame_info): Call do_gdb_disassembly with
5879 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5880
5881 2014-04-26 Doug Evans <xdje42@gmail.com>
5882
5883 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5884
5885 2014-04-25 Pedro Alves <palves@redhat.com>
5886
5887 PR server/16255
5888 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5889 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5890 and newline from built string.
5891 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5892 (linux_ptrace_attach_fail_reason): ... this.
5893 * linux-nat.c (linux_nat_attach): Adjust to use
5894 linux_ptrace_attach_fail_reason.
5895
5896 2014-04-25 Pedro Alves <palves@redhat.com>
5897
5898 * remote.c (struct remote_state): Remove multi_process_aware,
5899 non_stop_aware, cond_tracepoints, cond_breakpoints,
5900 breakpoint_commands, fast_tracepoints, static_tracepoints,
5901 install_in_trace, disconnected_tracing,
5902 enable_disable_tracepoints, string_tracing, and
5903 augmented_libraries_svr4_read fields.
5904 (remote_multi_process_p): Move further below in the file.
5905 (struct packet_config): Add comments.
5906 (update_packet_config): Delete function.
5907 (show_packet_config_cmd): Use packet_config_support.
5908 (add_packet_config_cmd): Use NULL as set callback.
5909 (packet_ok): "set remote foo-packet"-style commands no longer
5910 change config->supported -- adjust.
5911 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5912 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5913 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5914 (PACKET_QNonStop, PACKET_multiprocess_feature)
5915 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5916 (PACKET_DisconnectedTracing_feature)
5917 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5918 (set_remote_protocol_packet_cmd): Delete function.
5919 (packet_config_support, packet_support): New functions.
5920 (set_remote_protocol_Z_packet_cmd): Don't call
5921 update_packet_config.
5922 (remote_query_attached, remote_pass_signals)
5923 (remote_program_signals, remote_threads_info)
5924 (remote_threads_extra_info, remote_start_remote): Use
5925 packet_support.
5926 (remote_start_remote): Use packet_config_support and
5927 packet_support.
5928 (init_all_packet_configs): Set all packets to unknown support,
5929 instead of calling update_packet_config.
5930 (remote_check_symbols): Use packet_support.
5931 (remote_supported_packet): Unconditionally set the packet config's
5932 support status.
5933 (remote_multi_process_feature, remote_non_stop_feature)
5934 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5935 (remote_breakpoint_commands_feature)
5936 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5937 (remote_install_in_trace_feature)
5938 (remote_disconnected_tracing_feature)
5939 (remote_enable_disable_tracepoint_feature)
5940 (remote_string_tracing_feature)
5941 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5942 (remote_protocol_features): Adjust to use remote_supported_packet
5943 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5944 "ConditionalTracepoints", "ConditionalBreakpoints",
5945 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5946 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5947 "EnableDisableTracepoints", and "tracenz".
5948 (remote_query_supported): Use packet_support.
5949 (remote_open_1): Adjust.
5950 (extended_remote_attach_1): Use packet_support. Switch on the
5951 result of packet_ok instead of checking whether the packet ended
5952 up disabled.
5953 (remote_vcont_resume): Use packet_support.
5954 (remote_resume, remote_stop_ns, fetch_register_using_p)
5955 (remote_prepare_to_store, store_register_using_P)
5956 (check_binary_download, remote_write_bytes): Use packet_support.
5957 (remote_vkill): Use packet_support. Switch on the result of
5958 packet_ok instead of checking whether the packet ended up
5959 disabled.
5960 (extended_remote_supports_disable_randomization): Use
5961 packet_support.
5962 (extended_remote_run): Switch on the result of packet_ok instead
5963 of checking whether the packet ended up disabled.
5964 (remote_insert_breakpoint, remote_remove_breakpoint)
5965 (remote_insert_watchpoint, remote_remove_watchpoint)
5966 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5967 packet_support.
5968 (remote_search_memory): Use packet_config_support.
5969 (remote_get_thread_local_address, remote_get_tib_address)
5970 (remote_hostio_send_command, remote_can_execute_reverse): Use
5971 packet_support.
5972 (remote_supports_cond_tracepoints)
5973 (remote_supports_cond_breakpoints)
5974 (remote_supports_fast_tracepoints)
5975 (remote_supports_static_tracepoints)
5976 (remote_supports_install_in_trace)
5977 (remote_supports_enable_disable_tracepoint)
5978 (remote_supports_string_tracing)
5979 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5980 the packet config says the feature is enabled or disabled.
5981 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5982 (remote_get_trace_status): Use packet_support.
5983 (remote_set_disconnected_tracing): Adjust to check whether the
5984 feature is enabled with packet_support.
5985 (remote_set_trace_buffer_size, remote_use_agent)
5986 (remote_can_use_agent, remote_supports_btrace): Use
5987 packet_support.
5988 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5989 Use packet_config_support.
5990 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5991 the packet config says the feature is enabled or disabled.
5992 (set_range_stepping): Use packet_support.
5993
5994 2014-04-25 Tom Tromey <tromey@redhat.com>
5995
5996 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5997 argument.
5998
5999 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6000
6001 * NEWS: Mention support for C99 variable length arrays.
6002
6003 2014-04-24 Joel Brobecker <brobecker@adacore.com>
6004
6005 * ada-lang.c (standard_exc): Expand introductory comment.
6006
6007 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6008 Walfred Tedeschi <walfred.tedeschi@intel.com>
6009
6010 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6011 AVX512 registers.
6012 (amd64_linux_read_description): Add code to handle AVX512 xstate
6013 mask and return respective tdesc.
6014 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6015 and features/i386/x32-avx512-linux.c.
6016 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6017 (amd64_linux_core_read_description): Add code to handle AVX512
6018 xstate mask and return respective tdesc.
6019 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6020 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6021 calculation.
6022 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6023 (tdesc_amd64_avx512_linux): New prototype.
6024 (tdesc_x32_avx512_linux): Likewise.
6025 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6026 features/i386/x32-avx512.c.
6027 (amd64_ymm_avx512_names): New register names for pseudo
6028 registers YMM16-31.
6029 (amd64_ymmh_avx512_names): New register names for raw registers
6030 YMMH16-31.
6031 (amd64_k_names): New register names for K registers.
6032 (amd64_zmmh_names): New register names for ZMM raw registers.
6033 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6034 (amd64_xmm_avx512_names): New register names for XMM16-31
6035 registers.
6036 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6037 registers.
6038 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6039 if feature is present.
6040 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6041 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6042 (AMD64_NUM_REGS): Adjust to new number of registers.
6043 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6044 registers supplied via XSTATE by AVX512 registers.
6045 (i386_linux_read_description): Add case for AVX512.
6046 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6047 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6048 (i386_linux_core_read_description): Add case for AVX512.
6049 (i386_linux_init_abi): Install supported register note section
6050 for AVX512.
6051 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6052 AVX512.
6053 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6054 registers to be number of zmm7h + 1.
6055 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6056 * i386-tdep.c: Include features/i386/i386-avx512.c.
6057 (i386_zmm_names): Add ZMM pseudo register names array.
6058 (i386_zmmh_names): Add ZMM raw register names array.
6059 (i386_k_names): Add K raw register names array.
6060 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6061 registers. AVX512 has 16 more ZMM registers than there are YMM
6062 registers.
6063 (i386_zmmh_regnum_p): Add function to look up register number of
6064 ZMM raw registers.
6065 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
6066 (i386_k_regnum_p): Likewise for K raw registers.
6067 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
6068 registers added by AVX512.
6069 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
6070 registers added by AVX512.
6071 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
6072 added by AVX512.
6073 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
6074 (i386_pseudo_register_name): Add ZMM pseudo registers.
6075 (i386_zmm_type): Construct and return vector registers type for ZMM
6076 registers.
6077 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
6078 ZMM0-31 pseudo registers and K registers.
6079 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
6080 and YMM16-31 registers from register cache.
6081 (i386_pseudo_register_write): Add code to write K, ZMM and
6082 YMM16-31 registers.
6083 (i386_register_reggroup_p): Add code to include/exclude AVX512
6084 registers in/from respective register groups.
6085 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
6086 registers if feature is present in xcr0.
6087 (i386_gdbarch_init): Add code to initialize AVX512 feature
6088 variables in tdep structure, wire in pseudo registers and call
6089 initialize_tdesc_i386_avx512.
6090 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
6091 variables.
6092 (i386_regnum): Add AVX512 registers.
6093 (I386_SSE_NUM_REGS): New define for number of SSE registers.
6094 (I386_AVX_NUM_REGS): Likewise for AVX registers.
6095 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
6096 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
6097 512 bits wide.
6098 (i386_xmm_avx512_regnum_p): New prototype for register look up.
6099 (i386_ymm_avx512_regnum_p): Likewise.
6100 (i386_k_regnum_p): Likewise.
6101 (i386_zmm_regnum_p): Likewise.
6102 (i386_zmmh_regnum_p): Likewise.
6103 * i387-tdep.c : Update year in copyright notice.
6104 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
6105 XSAVE buffer.
6106 (XSAVE_YMM_AVX512_ADDR): New macro.
6107 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
6108 XSAVE buffer.
6109 (XSAVE_XMM_AVX512_ADDR): New macro.
6110 (xsave_avx512_k_offset): New table for K register offsets in
6111 XSAVE buffer.
6112 (XSAVE_AVX512_K_ADDR): New macro.
6113 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
6114 in XSAVE buffer.
6115 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
6116 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
6117 buffer.
6118 (i387_collect_xsave): Add code to collect AVX512 registers from
6119 XSAVE buffer.
6120 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
6121 of XMM16-31 registers.
6122 (I387_NUM_K_REGS): New define for number of K registers.
6123 (I387_K0_REGNUM): New define for K0 register number.
6124 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
6125 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
6126 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
6127 registers.
6128 (I387_YMM16H_REGNUM): New define for YMM16H register number.
6129 (I387_XMM16_REGNUM): New define for XMM16 register number.
6130 (I387_YMM0_REGNUM): New define for YMM0 register number.
6131 (I387_KEND_REGNUM): New define for last K register number.
6132 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
6133 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
6134 number.
6135 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
6136 number.
6137 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
6138 size.
6139 * features/Makefile: Add AVX512 related files.
6140 * features/i386/32bit-avx512.xml: New file.
6141 * features/i386/64bit-avx512.xml: Likewise.
6142 * features/i386/amd64-avx512-linux.c: Likewise.
6143 * features/i386/amd64-avx512-linux.xml: Likewise.
6144 * features/i386/amd64-avx512.c: Likewise.
6145 * features/i386/amd64-avx512.xml: Likewise.
6146 * features/i386/i386-avx512-linux.c: Likewise.
6147 * features/i386/i386-avx512-linux.xml: Likewise.
6148 * features/i386/i386-avx512.c: Likewise.
6149 * features/i386/i386-avx512.xml: Likewise.
6150 * features/i386/x32-avx512-linux.c: Likewise.
6151 * features/i386/x32-avx512-linux.xml: Likewise.
6152 * features/i386/x32-avx512.c: Likewise.
6153 * features/i386/x32-avx512.xml: Likewise.
6154 * regformats/i386/amd64-avx512-linux.dat: New file.
6155 * regformats/i386/amd64-avx512.dat: Likewise.
6156 * regformats/i386/i386-avx512-linux.dat: Likewise.
6157 * regformats/i386/i386-avx512.dat: Likewise.
6158 * regformats/i386/x32-avx512-linux.dat: Likewise.
6159 * regformats/i386/x32-avx512.dat: Likewise.
6160 * NEWS: Add note about new support for AVX512.
6161
6162
6163 2014-04-23 Pedro Alves <palves@redhat.com>
6164
6165 * breakpoint.c (insert_bp_location): Tolerate errors if the
6166 breakpoint is set in a user-loaded objfile.
6167 (remove_breakpoint_1): Likewise. Also tolerate errors if the
6168 location is marked shlib_disabled. If the breakpoint is set in a
6169 user-loaded objfile is a GDB-side memory breakpoint, validate it
6170 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
6171 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
6172 flag.
6173 * mem-break.c (memory_validate_breakpoint): New function.
6174 * objfiles.c (userloaded_objfile_contains_address_p): New
6175 function.
6176 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
6177 * target.h (memory_validate_breakpoint): New declaration.
6178
6179 2014-04-23 Pedro Alves <palves@redhat.com>
6180
6181 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
6182 the breakpoint is set in a shared library, only suppress
6183 errors for software breakpoints, not hardware breakpoints.
6184
6185 2014-04-22 Pedro Alves <palves@redhat.com>
6186
6187 * infrun.c (schedlock_applies): New function, factored out from
6188 find_thread_needs_step_over.
6189 (find_thread_needs_step_over): Use it.
6190 (switch_back_to_stepped_thread): Always clear trap_expected if the
6191 step over is finished. Return early if scheduler locking applies.
6192 Look for the stepping thread and a potential step-over thread with
6193 a single loop.
6194 (currently_stepping_or_nexting_callback): Delete.
6195
6196 2014-04-22 Nick Clifton <nickc@redhat.com>
6197
6198 * NEWS: Mention that ARM sim now supports tracing.
6199
6200 2014-04-22 Yao Qi <yao@codesourcery.com>
6201
6202 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
6203 to ...
6204 * tracefile.c (tracefile_fetch_registers): ... it. New
6205 function.
6206 * tracefile.h (tracefile_fetch_registers): Declare.
6207 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
6208 tracefile_fetch_registers.
6209
6210 2014-04-19 Eli Zaretskii <eliz@gnu.org>
6211
6212 PR gdb/14018
6213 * windows-nat.c (thread_rec): Don't display a warning when
6214 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
6215 fails for any reason, set th->suspended to -1, so that we don't
6216 try to resume such a thread. Also, don't return NULL in these
6217 cases, to avoid completely ruin the session due to "PC register is
6218 not available" error.
6219 (do_windows_fetch_inferior_registers): Check errors in
6220 GetThreadContext call.
6221 (windows_continue): Accept an additional argument KILLED; if not
6222 zero, ignore errors in the SetThreadContext call, since the
6223 inferior was killed and is shutting down.
6224 (windows_resume, get_windows_debug_event)
6225 (windows_create_inferior, windows_mourn_inferior)
6226 (windows_kill_inferior): All callers of windows_continue changed
6227 to adjust to its new calling sequence.
6228
6229 2014-04-19 Yao Qi <yao@codesourcery.com>
6230
6231 * ctf.c (ctf_open): Call post_create_inferior.
6232
6233 2014-04-19 Yao Qi <yao@codesourcery.com>
6234
6235 * ctf.c (handle_id): New static variable.
6236 (ctf_open_dir): Get handle_id from bt_context_add_trace return
6237 value. Get the declaration of event "register" and get length
6238 of field "contents".
6239
6240 2014-04-19 Yao Qi <yao@codesourcery.com>
6241
6242 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
6243
6244 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
6245
6246 * valops.c (oload_method_static): Remove unnecessary argument
6247 METHOD. Update all callers.
6248
6249 2014-04-18 Pedro alves <palves@redhat.com>
6250 Tom Tromey <tromey@redhat.com>
6251
6252 PR backtrace/15558
6253 * frame.c (get_prev_frame_1): Rename to ...
6254 (get_prev_frame_always): ... this, and make extern. Adjust.
6255 (skip_artificial_frames): Use get_prev_frame_always.
6256 (frame_unwind_caller_id, frame_pop, get_prev_frame)
6257 (get_frame_unwind_stop_reason): Adjust to rename.
6258 * frame.h (get_prev_frame_always): Declare.
6259 * inline-frame.c: Include frame.h.
6260 (inline_frame_this_id): Use get_prev_frame_always.
6261
6262 2014-04-18 Tristan Gingold <gingold@adacore.com>
6263
6264 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6265 code by using bfd_mach_o_get_base_address.
6266
6267 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6268
6269 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6270 (spu_ax_pseudo_register_collect): New function.
6271 (spu_ax_pseudo_register_push_stack): Likewise.
6272 (spu_dwarf_reg_to_regnum): Likewise.
6273 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6274
6275 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6276
6277 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6278 Replace FRAME argument with FRAME_ID.
6279 * gdbarch.c, gdbarch.h: Regenerate.
6280 * findvar.c (default_value_from_register): Add GDBARCH argument;
6281 replace FRAME by FRAME_ID. No longer call get_frame_id.
6282 (value_from_register): Update call to gdbarch_value_from_register.
6283 * value.h (default_value_from_register): Update prototype.
6284 * s390-linux-tdep.c (s390_value_from_register): Update interface
6285 and call to default_value_from_register.
6286 * spu-tdep.c (spu_value_from_register): Likewise.
6287
6288 * findvar.c (address_from_register): Remove TYPE argument.
6289 Do not call value_from_register; use gdbarch_value_from_register
6290 with null_frame_id instead.
6291 * value.h (address_from_register): Update prototype.
6292 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6293 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6294 address_from_register interface change.
6295
6296 2014-04-17 Yao Qi <yao@codesourcery.com>
6297
6298 * gdbtypes.h: Update comments to link to types and macros'
6299 definitions.
6300
6301 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6302
6303 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6304
6305 2014-04-16 Keith Seitz <keiths@redhat.com>
6306
6307 PR gdb/15827
6308 * dwarf2read.c (skip_one_die): Check that all relative-offset
6309 sibling DIEs fall within range of the current reader's buffer.
6310 (read_partial_die): Likewise.
6311
6312 2014-04-16 Keith Seitz <keiths@redhat.com>
6313
6314 PR c++/16597
6315 * cp-namespace.c (lookup_symbol_file): If the type name of
6316 `this' is NULL, return immediately.
6317
6318 2014-04-14 Keith Seitz <keiths@redhat.com>
6319
6320 PR c++/16253
6321 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6322 from symbol_matches_domain in symtab.c. All local callers
6323 of symbol_matches_domain updated.
6324 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6325 search STRUCT_DOMAIN.
6326 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6327 independently. standard_lookup will do that automatically.
6328 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6329 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6330 (cp_lookup_symbol_in_namespace): Likewise.
6331 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6332 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6333 may return a STRUCT_DOMAIN match.
6334 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6335 * cp-support.c: Include language.h.
6336 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6337 VAR_DOMAIN.
6338 * psymtab.c (match_partial_symbol): Compare the requested
6339 domain with the symbol's domain directly.
6340 (lookup_partial_symbol): Likewise.
6341 * symtab.c (lookup_symbol_in_language): Explain when/why
6342 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6343 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6344 appropriate languages.
6345 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6346 and moved to ada-lang.c
6347 (lookup_block_symbol): Explain that this function only returns
6348 symbol matching the requested DOMAIN.
6349 Compare the requested domain with the symbol's domain directly.
6350 (iterate_over_symbols): Compare the requested domain with the
6351 symbol's domain directly.
6352 * symtab.h (symbol_matches_domain): Remove.
6353
6354 2014-04-14 Tom Tromey <tromey@redhat.com>
6355
6356 PR c++/15246:
6357 * c-exp.y (type_aggregate_p): New function.
6358 (qualified_name, classify_inner_name): Use it.
6359 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6360 and TYPE_TARGET_TYPE of an enum type.
6361 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6362 an enum type.
6363 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6364 handle TYPE_DECLARED_CLASS.
6365 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6366 types.
6367 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6368 * valops.c (enum_constant_from_type): New function.
6369 (value_aggregate_elt): Use it.
6370 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6371 TYPE_CODE_ENUM.
6372
6373 2014-04-14 Tom Tromey <tromey@redhat.com>
6374
6375 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6376 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6377 const.
6378 * value.h (value_aggregate_elt): Update.
6379
6380 2014-04-14 Tom Tromey <tromey@redhat.com>
6381
6382 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6383
6384 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6385
6386 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6387 (evaluate_subexp_standard): Pass noside argument.
6388 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6389 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6390 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6391 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6392 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6393
6394 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6395
6396 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6397 points to a constant blob.
6398
6399 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6400
6401 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6402 property and store it as the high bound and flag the range accordingly.
6403 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6404 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6405 * gdbtypes.h (enum range_flags): New enum.
6406 (struct range_bounds): Add flags member.
6407
6408 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6409
6410 * c-typeprint.c (c_type_print_varspec_suffix): Added
6411 check for not yet resolved high bound. If unresolved, print
6412 "variable length" string to the console instead of random
6413 length.
6414
6415 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6416
6417 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6418 value.
6419 (ada_template_to_fixed_record_type_1): Likewise.
6420 (ada_to_fixed_type_1): Likewise.
6421 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6422 (cp_print_value): Likewise.
6423 * d-valprint.c (dynamic_array_type): Likewise.
6424 * findvar.c (address_of_variable): Likewise.
6425 * jv-valprint.c (java_value_print): Likewise.
6426 * valops.c (value_ind): Likewise.
6427 * value.c (coerce_ref): Likewise.
6428
6429 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6430
6431 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6432 value and retrieve the dynamic type size.
6433
6434 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6435
6436 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6437 passed to sizeof is dynamic evaluate the argument to compute the length.
6438
6439 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6440 Joel Brobecker <brobecker@adacore.com>
6441
6442 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6443 (dwarf2_evaluate_property): New function.
6444 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6445 * dwarf2read.c (attr_to_dynamic_prop): New function.
6446 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6447 attribute.
6448 * gdbtypes.c: Include dwarf2loc.h.
6449 (is_dynamic_type): New function.
6450 (resolve_dynamic_type): New function.
6451 (resolve_dynamic_bounds): New function.
6452 (get_type_length): New function.
6453 (check_typedef): Use get_type_length to compute type length.
6454 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6455 (TYPE_LOW_BOUND_KIND): New macro.
6456 (is_dynamic_type): New function prototype.
6457 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6458 to resolve dynamic properties of the type. Update comment.
6459 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6460
6461 2014-04-14 Richard Henderson <rth@redhat.com>
6462
6463 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6464
6465 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6466 Doug Evans <xdje42@gmail.com>
6467
6468 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6469 dereference TYPE_CODE_REF values.
6470
6471 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6472
6473 Revert the following changes due to regressions:
6474
6475 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6476 (dwarf2_evaluate_property): New function.
6477 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6478 * dwarf2read.c (attr_to_dynamic_prop): New function.
6479 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6480 attribute.
6481 * gdbtypes.c: Include dwarf2loc.h.
6482 (is_dynamic_type): New function.
6483 (resolve_dynamic_type): New function.
6484 (resolve_dynamic_bounds): New function.
6485 (get_type_length): New function.
6486 (check_typedef): Use get_type_length to compute type length.
6487 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6488 (TYPE_LOW_BOUND_KIND): New macro.
6489 (is_dynamic_type): New function prototype.
6490 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6491 to resolve dynamic properties of the type. Update comment.
6492 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6493
6494 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6495 passed to sizeof is dynamic evaluate the argument to compute the length.
6496
6497 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6498 value and retrieve the dynamic type size.
6499
6500 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6501 (ada_template_to_fixed_record_type_1): Likewise.
6502 (ada_to_fixed_type_1): Likewise.
6503 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6504 (cp_print_value): Likewise.
6505 * d-valprint.c (dynamic_array_type): Likewise.
6506 * eval.c (evaluate_subexp_with_coercion): Likewise.
6507 * findvar.c (address_of_variable): Likewise.
6508 * jv-valprint.c (java_value_print): Likewise.
6509 * valops.c (value_ind): Likewise.
6510 * value.c (coerce_ref): Likewise.
6511
6512 * c-typeprint.c (c_type_print_varspec_suffix): Added
6513 check for not yet resolved high bound. If unresolved, print
6514 "variable length" string to the console instead of random
6515 length.
6516
6517 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6518 property and store it as the high bound and flag the range accordingly.
6519 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6520 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6521 * gdbtypes.h (enum range_flags): New enum.
6522 (struct range_bounds): Add flags member.
6523
6524 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6525 points to a constant blob.
6526
6527 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6528 (evaluate_subexp_standard): Pass noside argument.
6529 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6530 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6531 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6532 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6533 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6534
6535 2014-04-11 Keith Seitz <keiths@redhat.com>
6536
6537 PR c++/16675
6538 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6539 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6540 reference types.
6541
6542 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6543
6544 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6545 (evaluate_subexp_standard): Pass noside argument.
6546 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6547 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6548 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6549 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6550 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6551
6552 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6553
6554 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6555 points to a constant blob.
6556
6557 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6558
6559 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6560 property and store it as the high bound and flag the range accordingly.
6561 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6562 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6563 * gdbtypes.h (enum range_flags): New enum.
6564 (struct range_bounds): Add flags member.
6565
6566 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6567
6568 * c-typeprint.c (c_type_print_varspec_suffix): Added
6569 check for not yet resolved high bound. If unresolved, print
6570 "variable length" string to the console instead of random
6571 length.
6572
6573 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6574
6575 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6576 (ada_template_to_fixed_record_type_1): Likewise.
6577 (ada_to_fixed_type_1): Likewise.
6578 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6579 (cp_print_value): Likewise.
6580 * d-valprint.c (dynamic_array_type): Likewise.
6581 * eval.c (evaluate_subexp_with_coercion): Likewise.
6582 * findvar.c (address_of_variable): Likewise.
6583 * jv-valprint.c (java_value_print): Likewise.
6584 * valops.c (value_ind): Likewise.
6585 * value.c (coerce_ref): Likewise.
6586
6587 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6588
6589 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6590 value and retrieve the dynamic type size.
6591
6592 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6593
6594 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6595 passed to sizeof is dynamic evaluate the argument to compute the length.
6596
6597 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6598
6599 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6600 (dwarf2_evaluate_property): New function.
6601 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6602 * dwarf2read.c (attr_to_dynamic_prop): New function.
6603 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6604 attribute.
6605 * gdbtypes.c: Include dwarf2loc.h.
6606 (is_dynamic_type): New function.
6607 (resolve_dynamic_type): New function.
6608 (resolve_dynamic_bounds): New function.
6609 (get_type_length): New function.
6610 (check_typedef): Use get_type_length to compute type length.
6611 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6612 (TYPE_LOW_BOUND_KIND): New macro.
6613 (is_dynamic_type): New function prototype.
6614 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6615 to resolve dynamic properties of the type. Update comment.
6616 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6617
6618 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6619
6620 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6621 declaring high/low bounds and change uses accordingly. Call
6622 create_range_type instead of create_static_range_type.
6623 * gdbtypes.c (create_range_type): New function.
6624 (create_range_type): Convert bounds into struct bound_prop and pass
6625 them to create_range_type.
6626 * gdbtypes.h (struct bound_prop): New struct.
6627 (create_range_type): New function prototype.
6628 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6629 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6630 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6631 part of the bound.
6632 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6633
6634 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6635
6636 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6637 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6638 * ada-lang.c: All uses of create_range_type updated.
6639 * coffread.c: All uses of create_range_type updated.
6640 * dwarf2read.c: All uses of create_range_type updated.
6641 * f-exp.y: All uses of create_range_type updated.
6642 * m2-valprint.c: All uses of create_range_type updated.
6643 * mdebugread.c: All uses of create_range_type updated.
6644 * stabsread.c: All uses of create_range_type updated.
6645 * valops.c: All uses of create_range_type updated.
6646 * valprint.c: All uses of create_range_type updated.
6647
6648 2014-04-10 Pedro Alves <palves@redhat.com>
6649
6650 * breakpoint.c (single_step_breakpoints)
6651 (single_step_gdbarch): Move up in the file.
6652 (one_breakpoint_xfer_memory): New function, factored out from ...
6653 (breakpoint_xfer_memory): ... here. Also process single-step
6654 breakpoints.
6655
6656 2014-04-09 Tristan Gingold <gingold@adacore.com>
6657
6658 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6659 comments.
6660 (darwin_decode_exception_message): Free port only after use.
6661
6662 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6663
6664 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6665 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6666 when setting the size of call_length.
6667
6668 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6669
6670 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6671 dereference TYPE_CODE_REF values.
6672
6673 2014-04-07 Joel Brobecker <brobecker@adacore.com>
6674
6675 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6676 end of warning message.
6677
6678 2014-04-03 Doug Evans <dje@google.com>
6679
6680 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6681 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6682
6683 2014-04-02 Alan Modra <amodra@gmail.com>
6684
6685 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6686 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6687 (struct symbol_file_add_from_memory_args): Add size field.
6688 (find_vdso_size): New function.
6689 (add_vsyscall_page): Attempt to find vdso size.
6690
6691 2014-04-01 Doug Evans <dje@google.com>
6692
6693 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6694
6695 2014-04-01 Tristan Gingold <gingold@adacore.com>
6696
6697 * darwin-nat.c (darwin_encode_reply): Add prototype.
6698 (darwin_decode_exception_message): Reply to unknown inferiors.
6699 (darwin_decode_message): Handle message by id. Ignore message
6700 to unknown inferior.
6701 (darwin_wait): Discard unknown messages, add debug trace.
6702
6703 2014-03-31 Doug Evans <dje@google.com>
6704
6705 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6706 comp_dir_string.
6707
6708 2014-03-31 Doug Evans <dje@google.com>
6709
6710 New option "set print symbol-loading".
6711 * NEWS: Mention it.
6712 * solib.c (solib_read_symbols): Only print symbol loading messages
6713 if requested.
6714 (solib_add): If symbol loading is in "brief" mode, notify user
6715 symbols are being loaded.
6716 (reload_shared_libraries_1): Ditto.
6717 * symfile.c (print_symbol_loading_off): New static global.
6718 (print_symbol_loading_brief): New static global.
6719 (print_symbol_loading_full): New static global.
6720 (print_symbol_loading_enums): New static global.
6721 (print_symbol_loading): New static global.
6722 (print_symbol_loading_p): New function.
6723 (symbol_file_add_with_addrs): Only print symbol loading messages
6724 if requested.
6725 (_initialize_symfile): Register "print symbol-loading" set/show
6726 command.
6727 * symfile.h (print_symbol_loading_p): Declare.
6728
6729 2014-03-30 Doug Evans <xdje42@gmail.com>
6730
6731 * infrun.c (set_last_target_status): New function.
6732 (handle_inferior_event): Call it.
6733
6734 2014-03-30 Doug Evans <xdje42@gmail.com>
6735
6736 * inferior.h (enum stop_kind): Improve comment.
6737
6738 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6739
6740 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6741 a reference, strip the reference layer before calling
6742 the lang_ops value_has_mutated callback.
6743
6744 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6745
6746 Remove some globals from our parser.
6747 * language.c (unk_lang_parser): Add "struct parser_state"
6748 argument.
6749 * language.h (struct language_defn) <la_parser>: Likewise.
6750 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6751 (initialize_expout): Add "struct parser_state" argument.
6752 Rewrite function to use the parser state.
6753 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6754 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6755 write_exp_elt_longcst, write_exp_elt_dblcst,
6756 write_exp_elt_decfloatcst, write_exp_elt_type,
6757 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6758 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6759 write_dollar_variable): Likewise.
6760 (parse_exp_in_context_1): Use parser state.
6761 (insert_type_address_space): Add "struct parser_state" argument.
6762 Use parser state.
6763 (increase_expout_size): New function.
6764 * parser-defs.h: Forward declare "struct language_defn" and
6765 "struct parser_state".
6766 (expout, expout_size, expout_ptr): Remove extern declarations.
6767 (parse_gdbarch, parse_language): Rewrite macro declarations to
6768 accept the parser state.
6769 (struct parser_state): New struct.
6770 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6771 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6772 write_exp_elt_decfloatcst, write_exp_elt_type,
6773 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6774 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6775 write_exp_msymbol, write_dollar_variable,
6776 mark_struct_expression, insert_type_address_space): Add "struct
6777 parser_state" argument.
6778 (increase_expout_size): New function.
6779 * utils.c (do_clear_parser_state): New function.
6780 (make_cleanup_clear_parser_state): Likewise.
6781 * utils.h (make_cleanup_clear_parser_state): New function
6782 prototype.
6783 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6784 Update calls to write_exp* in order to pass the parser state.
6785 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6786 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6787 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6788 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6789 * stap-probe.c (stap_parse_register_operand): Likewise.
6790 (stap_parse_single_operand): Likewise.
6791 (stap_parse_argument_1): Likewise.
6792 (stap_parse_argument): Use parser state.
6793 * stap-probe.h: Include "parser-defs.h".
6794 (struct stap_parse_info) <pstate>: New field.
6795 * c-exp.y (parse_type): Rewrite to use parser state.
6796 (yyparse): Redefine to c_parse_internal.
6797 (pstate): New global variable.
6798 (parse_number): Add "struct parser_state" argument.
6799 (write_destructor_name): Likewise.
6800 (type_exp): Update calls to write_exp* and similars in order to
6801 use parser state.
6802 (exp1, exp, variable, qualified_name, space_identifier,
6803 typename, typebase): Likewise.
6804 (write_destructor_name, parse_number, lex_one_token,
6805 classify_name, classify_inner_name, c_parse): Add "struct
6806 parser_state" argument. Update function to use parser state.
6807 * c-lang.h: Forward declare "struct parser_state".
6808 (c_parse): Add "struct parser_state" argument.
6809 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6810 (yyparse): Redefine macro to ada_parse_internal.
6811 (pstate): New variable.
6812 (write_int, write_object_renaming, write_var_or_type,
6813 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6814 type_int, type_long, type_long_long, type_float, type_double,
6815 type_long_double, type_char, type_boolean, type_system_address):
6816 Add "struct parser_state" argument.
6817 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6818 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6819 var_or_type, aggregate, aggregate_component_list,
6820 positional_list, others, component_group,
6821 component_associations): Update calls to write_exp* and similar
6822 functions in order to use parser state.
6823 (ada_parse, write_var_from_sym, write_int,
6824 write_exp_op_with_string, write_object_renaming,
6825 find_primitive_type, write_selectors, write_ambiguous_var,
6826 write_var_or_type, write_name_assoc, type_int, type_long,
6827 type_long_long, type_float, type_double, type_long_double,
6828 type_char, type_boolean, type_system_address): Add "struct
6829 parser_state" argument. Adjust function to use parser state.
6830 * ada-lang.c (parse): Likewise.
6831 * ada-lang.h: Forward declare "struct parser_state".
6832 (ada_parse): Add "struct parser_state" argument.
6833 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6834 calls to both functions.
6835 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6836 parser state.
6837 (yyparse): Redefine macro to f_parse_internal.
6838 (pstate): New variable.
6839 (parse_number): Add "struct parser_state" argument.
6840 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6841 and similars in order to use parser state.
6842 (parse_number): Adjust code to use parser state.
6843 (yylex): Likewise.
6844 (f_parse): New function.
6845 * f-lang.h: Forward declare "struct parser_state".
6846 (f_parse): Add "struct parser_state" argument.
6847 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6848 parser state.
6849 (yyparse): Redefine macro for java_parse_internal.
6850 (pstate): New variable.
6851 (push_expression_name, push_expression_name, insert_exp): Add
6852 "struct parser_state" argument.
6853 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6854 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6855 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6856 PostIncrementExpression, PostDecrementExpression,
6857 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6858 UnaryExpressionNotPlusMinus, CastExpression,
6859 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6860 RelationalExpression, EqualityExpression, AndExpression,
6861 ExclusiveOrExpression, InclusiveOrExpression,
6862 ConditionalAndExpression, ConditionalOrExpression,
6863 ConditionalExpression, Assignment, LeftHandSide): Update
6864 calls to write_exp* and similars in order to use parser state.
6865 (parse_number): Ajust code to use parser state.
6866 (yylex): Likewise.
6867 (java_parse): New function.
6868 (push_variable): Add "struct parser_state" argument. Adjust
6869 code to user parser state.
6870 (push_fieldnames, push_qualified_expression_name,
6871 push_expression_name, insert_exp): Likewise.
6872 * jv-lang.h: Forward declare "struct parser_state".
6873 (java_parse): Add "struct parser_state" argument.
6874 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6875 parser state.
6876 (yyparse): Redefine macro to m2_parse_internal.
6877 (pstate): New variable.
6878 (type_exp, exp, fblock, variable, type): Update calls to
6879 write_exp* and similars to use parser state.
6880 (yylex): Likewise.
6881 (m2_parse): New function.
6882 * m2-lang.h: Forward declare "struct parser_state".
6883 (m2_parse): Add "struct parser_state" argument.
6884 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6885 * objc-lang.h: Forward declare "struct parser_state".
6886 (end_msglist): Add "struct parser_state" argument.
6887 * p-exp.y (parse_type): Rewrite macro to use parser state.
6888 (yyparse): Redefine macro to pascal_parse_internal.
6889 (pstate): New variable.
6890 (parse_number): Add "struct parser_state" argument.
6891 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6892 write_exp* and similars in order to use parser state.
6893 (parse_number, yylex): Adjust code to use parser state.
6894 (pascal_parse): New function.
6895 * p-lang.h: Forward declare "struct parser_state".
6896 (pascal_parse): Add "struct parser_state" argument.
6897 * go-exp.y (parse_type): Rewrite macro to use parser state.
6898 (yyparse): Redefine macro to go_parse_internal.
6899 (pstate): New variable.
6900 (parse_number): Add "struct parser_state" argument.
6901 (type_exp, exp1, exp, variable, type): Update calls to
6902 write_exp* and similars in order to use parser state.
6903 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6904 to use parser state.
6905 (go_parse): Likewise.
6906 * go-lang.h: Forward declare "struct parser_state".
6907 (go_parse): Add "struct parser_state" argument.
6908
6909 2014-03-27 Doug Evans <dje@google.com>
6910
6911 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6912
6913 2014-03-27 Doug Evans <dje@google.com>
6914
6915 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6916 Remove argument abbrev_section. All callers updated.
6917
6918 2014-03-27 Doug Evans <dje@google.com>
6919
6920 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6921 addr_base, ranges_base.
6922
6923 2014-03-26 Keith Seitz <keiths@redhat.com>
6924
6925 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6926 types, not VAR_DOMAIN.
6927
6928 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6929
6930 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6931 "ra" registers.
6932 * features/nios2-linux.c: Regenerated.
6933 * features/nios2.c: Regenerated.
6934
6935 2014-03-25 Pedro Alves <palves@redhat.com>
6936
6937 * cli/cli-script.c (script_from_file): Force the interpreter to
6938 sync mode.
6939
6940 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6941
6942 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6943 small stack allocation.
6944
6945 2014-03-24 Tristan Gingold <gingold@adacore.com>
6946
6947 * darwin-nat.c (exc_server): Remove unused prototype.
6948 (darwin_dump_message): Correctly display data on x86_64.
6949 (darwin_encode_reply): Fix style.
6950 Add comments and fix indentation.
6951
6952 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6953
6954 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6955
6956 2014-03-22 Doug Evans <xdje42@gmail.com>
6957
6958 * infcmd.c: Whitespace fixes.
6959 (interrupt_command): Merge two function comments into one.
6960
6961 2014-03-22 Doug Evans <xdje42@gmail.com>
6962
6963 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6964 All uses updated.
6965
6966 2014-03-22 Yao Qi <yao@codesourcery.com>
6967
6968 * remote.c (target_read_live_memory): Remove.
6969 (memory_xfer_live_readonly_partial): Rename it to
6970 remote_xfer_live_readonly_partial. Remove argument 'object'.
6971 All callers updated. Call remote_read_bytes_1
6972 instead of target_read_live_memory.
6973 * tracepoint.c (set_traceframe_number): Remove.
6974 (make_cleanup_restore_traceframe_number): Likewise .
6975 * tracepoint.h (set_traceframe_number): Remove declaration.
6976 (make_cleanup_restore_traceframe_number): Likewise.
6977
6978 2014-03-22 Yao Qi <yao@codesourcery.com>
6979
6980 * remote.c (remote_read_bytes): Move code on reading from the
6981 remote stub to ...
6982 (remote_read_bytes_1): ... here. New function.
6983
6984 2014-03-22 Yao Qi <yao@codesourcery.com>
6985
6986 * ctf.c (ctf_xfer_partial): Check the return value of
6987 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6988 return TARGET_XFER_UNAVAILABLE.
6989 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6990 * target.c (target_read_live_memory): Move it to remote.c.
6991 (memory_xfer_live_readonly_partial): Likewise.
6992 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6993 * remote.c (target_read_live_memory): Moved from target.c.
6994 (memory_xfer_live_readonly_partial): Likewise.
6995 (remote_read_bytes): Factored out from
6996 memory_xfer_partial_1.
6997
6998 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6999
7000 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7001 NULL pointer.
7002
7003 2014-03-21 Pedro Alves <palves@redhat.com>
7004
7005 * infrun.c (normal_stop): Extend comment.
7006
7007 2014-03-21 Hui Zhu <hui@codesourcery.com>
7008 Pedro Alves <palves@redhat.com>
7009
7010 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7011 static buffer.
7012 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7013 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7014 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7015
7016 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7017
7018 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7019 `z' formatted output modifier.
7020
7021 2014-03-20 Tom Tromey <tromey@redhat.com>
7022 Sergio Durigan Junior <sergiodj@redhat.com>
7023
7024 * probe.c (parse_probes): Turn assert into an ordinary error.
7025 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7026 exceptions when parsing probes. Rearrange the code for clarity.
7027
7028 2014-03-20 Tom Tromey <tromey@redhat.com>
7029
7030 PR gdb/14135
7031 * top.c (execute_command): Only dispatch events if the command
7032 started the target.
7033
7034 2014-03-20 Tom Tromey <tromey@redhat.com>
7035
7036 PR cli/15718
7037 * infcall.c: Include event-top.h.
7038 (run_inferior_call): Call async_disable_stdin if needed.
7039
7040 2014-03-20 Pedro Alves <palves@redhat.com>
7041
7042 * infrun.c (prepare_to_proceed): Delete.
7043 (thread_still_needs_step_over): New function.
7044 (find_thread_needs_step_over): New function.
7045 (proceed): If the current thread needs a step-over, set its
7046 steping_over_breakpoint flag. Adjust to use
7047 find_thread_needs_step_over instead of prepare_to_proceed.
7048 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7049 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7050 breakpoint.
7051 (switch_back_to_stepped_thread): Step over breakpoints of all
7052 threads not the stepping thread, before switching back to the
7053 stepping thread.
7054
7055 2014-03-20 Pedro Alves <palves@redhat.com>
7056
7057 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7058 extern.
7059 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7060 * infrun.c (saved_singlestep_ptid)
7061 (stepping_past_singlestep_breakpoint): Delete.
7062 (resume): Remove stepping_past_singlestep_breakpoint handling.
7063 (proceed): Store the prev_pc of the stepping thread too.
7064 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
7065 singlestep_pc.
7066 (enum infwait_states): Delete infwait_thread_hop_state.
7067 (struct execution_control_state) <hit_singlestep_breakpoint>: New
7068 field.
7069 (handle_inferior_event): Adjust.
7070 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
7071 handling and the thread-hop code. Before removing single-step
7072 breakpoints, check whether the thread hit a single-step breakpoint
7073 of another thread. If it did, the trap is not a random signal.
7074 (switch_back_to_stepped_thread): If the event thread hit a
7075 single-step breakpoint, unblock it before switching to the
7076 stepping thread. Handle the case of the stepped thread having
7077 advanced already.
7078 (keep_going): Handle the case of the current thread moving past a
7079 single-step breakpoint.
7080
7081 2014-03-20 Pedro Alves <palves@redhat.com>
7082
7083 PR breakpoints/7143
7084 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
7085 are being stepped over.
7086 (breakpoint_address_match): Make extern.
7087 * breakpoint.h (breakpoint_address_match): New declaration.
7088 * inferior.h (stepping_past_instruction_at): New declaration.
7089 * infrun.c (struct step_over_info): New type.
7090 (step_over_info): New global.
7091 (set_step_over_info, clear_step_over_info)
7092 (stepping_past_instruction_at): New functions.
7093 (handle_inferior_event): Clear the step-over info when
7094 trap_expected is cleared.
7095 (resume): Remove now stale comment.
7096 (clear_proceed_status): Clear step-over info.
7097 (proceed): Adjust step-over handling to set or clear the step-over
7098 info instead of removing all breakpoints.
7099 (handle_signal_stop): When setting up a thread-hop, don't remove
7100 breakpoints here.
7101 (stop_stepping): Clear step-over info.
7102 (keep_going): Adjust step-over handling to set or clear step-over
7103 info and then always inserting breakpoints, instead of removing
7104 all breakpoints when stepping over one.
7105
7106 2014-03-20 Pedro Alves <palves@redhat.com>
7107
7108 * infrun.c (previous_inferior_ptid): Adjust comment.
7109 (deferred_step_ptid): Delete.
7110 (infrun_thread_ptid_changed, prepare_to_proceed)
7111 (init_wait_for_inferior): Adjust.
7112 (handle_signal_stop): Delete deferred_step_ptid handling.
7113
7114 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7115
7116 PR gdb/15358
7117 * defs.h (sync_quit_force_run): New declaration.
7118 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
7119 * event-top.c (async_sigterm_handler): New declaration.
7120 (async_sigterm_token): New variable.
7121 (async_init_signals): Create also async_sigterm_token.
7122 (async_sigterm_handler): New function.
7123 (sync_quit_force_run): New variable.
7124 (handle_sigterm): Replace quit_force call by other calls.
7125 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
7126
7127 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
7128
7129 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
7130 offset into SPE pseudo registers.
7131
7132 2014-03-18 Pedro Alves <palves@redhat.com>
7133
7134 PR gdb/13860
7135 * inferior.h (print_stop_event): Declare.
7136 * infrun.c (print_stop_event): New, factored out from ...
7137 (normal_stop): ... this.
7138 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
7139 of bpstat_print/print_stack_frame.
7140
7141 2014-03-17 Tom Tromey <tromey@redhat.com>
7142
7143 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
7144
7145 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
7146
7147 * ada-lang.c (decode_constrained_packed_array): Perform a
7148 minimal coercion for reference with coerce_ref instead of
7149 ada_coerce_ref.
7150
7151 2014-03-17 Tristan Gingold <gingold@adacore.com>
7152
7153 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
7154 (darwin_solib_create_inferior_hook): Emit a warning if version
7155 is unhandled.
7156
7157 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
7158
7159 * python/py-value.c (get_field_flag): Cast flag_name argument to
7160 PyObject_GetAttrString to support Python 2.4.
7161
7162 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7163
7164 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
7165 (Global Maintainers): Remove Jan Kratochvil.
7166
7167 2014-03-14 Pedro Alves <palves@redhat.com>
7168
7169 * inferior.h (terminal_ours_for_output): Rename to ...
7170 (child_terminal_ours_for_output): ... this.
7171 (terminal_save_ours): Rename to ...
7172 (child_terminal_save_ours): ... this.
7173 (terminal_ours): Rename to ...
7174 (child_terminal_ours): ... this.
7175 (terminal_inferior): Rename to ...
7176 (child_terminal_inferior): ... this.
7177 (terminal_init_inferior): Rename to ...
7178 (child_terminal_init_inferior): ... this.
7179 (terminal_init_inferior_with_pgrp): Rename to ...
7180 (child_terminal_init_inferior_with_pgrp): ... this.
7181 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
7182 (child_terminal_init_with_pgrp): ... this.
7183 (terminal_save_ours): Rename to ...
7184 (child_terminal_save_ours): ... this.
7185 (terminal_init_inferior): Rename to ...
7186 (child_terminal_init): ... this. Adjust.
7187 (terminal_inferior): Rename to ...
7188 (child_terminal_inferior): ... this.
7189 (terminal_ours_for_output): Rename to ...
7190 (child_terminal_ours_for_output): ... this. Adjust.
7191 (terminal_ours): Rename to ...
7192 (child_terminal_ours): ... this.
7193 (terminal_ours_1): Rename to ...
7194 (child_terminal_ours_1): ... this. Adjust.
7195 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
7196 * windows-nat.c (do_initial_windows_stuff): Adjust.
7197 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
7198 (gnu_terminal_init): ... this. Adjust.
7199 (gnu_target): Adjust.
7200 * inf-child.c (inf_child_target): Adjust.
7201
7202 2014-03-13 Doug Evans <xdje42@gmail.com>
7203
7204 PR guile/16612
7205 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
7206 new eq?-hashtab.
7207
7208 2014-03-13 Doug Evans <xdje42@gmail.com>
7209
7210 * value.c (record_latest_value): Call release_value_or_incref
7211 instead of release_value.
7212
7213 2014-03-13 Pedro Alves <palves@redhat.com>
7214
7215 * procfs.c (procfs_target): Don't override to_shortname,
7216 to_longname or to_doc.
7217
7218 2014-03-13 Pedro Alves <palves@redhat.com>
7219
7220 * inf-child.c (inf_child_open, inf_child_target): Don't mention
7221 Unix in user visible strings.
7222
7223 2014-03-12 Stan Shebs <stan@codesourcery.com>
7224
7225 * gdbtypes.h: Annotate comments for Doxygen, add a page
7226 block comment with some general info.
7227
7228 2014-03-12 Pedro Alves <palves@redhat.com>
7229
7230 * infcmd.c (prepare_execution_command): New function, factored out
7231 from several execution commands.
7232 (run_command_1, continue_command, step_1, jump_command)
7233 (signal_command, until_command, advance_command, finish_command)
7234 (attach_command): Use prepare_execution_command.
7235
7236 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
7237
7238 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
7239 (MAX_BPTS): Define.
7240 (MAX_WPTS): Define.
7241 (struct arm_linux_thread_points): Removed.
7242 (struct arm_linux_process_info): New.
7243 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
7244 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
7245 (arm_linux_find_breakpoints_by_tid): Removed.
7246 (struct arch_lwp_info): New.
7247 (arm_linux_find_process_pid): New functions.
7248 (arm_linux_add_process): New functions.
7249 (arm_linux_process_info_get): New functions.
7250 (arm_linux_forget_process): New function.
7251 (arm_linux_get_debug_reg_state): New function.
7252 (struct update_registers_data): New.
7253 (update_registers_callback): New function.
7254 (arm_linux_insert_hw_breakpoint1): Updated.
7255 (arm_linux_remove_hw_breakpoint1): Updated.
7256 (arm_linux_insert_hw_breakpoint): Updated.
7257 (arm_linux_remove_hw_breakpoint): Updated.
7258 (arm_linux_insert_watchpoint): Updated.
7259 (arm_linux_remove_watchpoint): Updated.
7260 (arm_linux_new_thread): Updated.
7261 (arm_linux_prepare_to_resume): New function.
7262 (arm_linux_new_fork): New function.
7263 (_initialize_arm_linux_nat): Updated.
7264
7265 2014-03-12 Pedro Alves <palves@redhat.com>
7266
7267 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7268
7269 2014-03-12 Tom Tromey <tromey@redhat.com>
7270
7271 * inf-child.c (return_zero): New function.
7272 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7273 * aix-thread.c (aix_thread_inferior_created): New function.
7274 (aix_thread_attach): Remove.
7275 (init_aix_thread_ops): Don't set to_attach.
7276 (_initialize_aix_thread): Register inferior_created observer.
7277 * corelow.c (init_core_ops): Don't set to_attach or
7278 to_create_inferior.
7279 * exec.c (init_exec_ops): Don't set to_attach or
7280 to_create_inferior.
7281 * infcmd.c (run_command_1): Use find_run_target. Make direct
7282 target calls.
7283 (attach_command): Use find_attach_target. Make direct target
7284 calls.
7285 * record-btrace.c (init_record_btrace_ops): Don't set
7286 to_create_inferior.
7287 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7288 Remove.
7289 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7290 set to_create_inferior.
7291 * target.c (complete_target_initialization): Add assertion.
7292 (target_create_inferior): Remove.
7293 (find_default_attach, find_default_create_inferior): Remove.
7294 (find_attach_target, find_run_target): New functions.
7295 (find_default_is_async_p, find_default_can_async_p)
7296 (target_supports_non_stop, target_attach): Remove.
7297 (init_dummy_target): Don't set to_create_inferior or
7298 to_supports_non_stop.
7299 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7300 TARGET_DEFAULT_FUNC.
7301 <to_create_inferior>: Add comment.
7302 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7303 TARGET_DEFAULT_RETURN.
7304 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7305 (find_attach_target, find_run_target): Declare.
7306 (target_create_inferior): Remove.
7307 (target_has_execution_1): Update comment.
7308 (target_supports_non_stop): Remove.
7309 * target-delegates.c: Rebuild.
7310
7311 2014-03-12 Pedro Alves <palves@redhat.com>
7312
7313 * inf-child.h: Update comment to not mention Unix.
7314
7315 2014-03-12 Pedro Alves <palves@redhat.com>
7316
7317 * inf-child.c: Update top comment to not mention Unix. Add
7318 generic comment describing how this target is meant to be used.
7319 (inf_child_post_attach, inf_child_post_startup_inferior)
7320 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7321 Unix in comment.
7322
7323 2014-03-12 Pedro Alves <palves@redhat.com>
7324
7325 * nto-procfs.c: Include inf-child.h.
7326 (procfs_ops): Delete global.
7327 (procfs_can_run): Delete method.
7328 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7329 target pointer instead of referencing procfs_ops.
7330 (procfs_prepare_to_store): Delete.
7331 (init_procfs_ops): Delete function.
7332 (procfs_target): New function, based on init_procfs_ops, but
7333 inherit inf_child_target.
7334 (_initialize_procfs): Use procfs_target.
7335
7336 2014-03-12 Pedro Alves <palves@redhat.com>
7337
7338 * windows-nat.c: Include inf-child.h.
7339 (windows_ops): Delete global.
7340 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7341 methods.
7342 (init_windows_ops): Delete function.
7343 (windows_target): New function, based on init_windows_ops, but
7344 inherit inf_child_target.
7345 (_initialize_windows_nat): Use windows_target. Install x86
7346 specific target methods here.
7347
7348 2014-03-10 Doug Evans <xdje42@gmail.com>
7349
7350 * guile/guile.c (call_initialize_gdb_module): New function.
7351 (initialize_guile): Replace call to scm_init_guile with call to
7352 scm_with_guile.
7353
7354 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7355
7356 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7357 in call to TYPE_CODE macro.
7358
7359 2014-03-10 Jerome Guitton <guitton@adacore.com>
7360
7361 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7362 Resolve tagged types to full view.
7363
7364 2014-03-10 Hui Zhu <hui@codesourcery.com>
7365
7366 * target.h (target_insert_breakpoint): Remove "hardware" from its
7367 comments.
7368
7369 2014-03-07 Doug Evans <dje@google.com>
7370
7371 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7372
7373 2014-03-07 Doug Evans <dje@google.com>
7374
7375 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7376 Remove unused local comp_dir_attr. Assert exactly one of
7377 stub_comp_unit_die, stub_comp_dir is non-NULL.
7378
7379 2014-03-07 Joel Brobecker <brobecker@adacore.com>
7380
7381 * target.h (complete_target_initialization, add_target):
7382 Add comment.
7383
7384 2014-03-07 Pedro Alves <palves@redhat.com>
7385
7386 * go32-nat.c: Include inf-child.h.
7387 (go32_ops): Delete global.
7388 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7389 Delete methods.
7390 (go32_create_inferior): Push the passed in target pointer instead
7391 of referencing go32_ops.
7392 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7393 (go32_target): New function, based on init_go32_ops, but inherit
7394 inf_child_target.
7395 (_initialize_go32_nat): Use go32_target. Move parts of
7396 init_go32_ops here.
7397
7398 2014-03-06 Joel Brobecker <brobecker@adacore.com>
7399
7400 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7401 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7402 SYMBOL_VALUE_ADDRESS.
7403 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7404
7405 2014-03-06 Yao Qi <yao@codesourcery.com>
7406
7407 * breakpoint.c (get_tracepoint_by_number): Remove argument
7408 optional_p. All callers updated. Adjust comments. Update
7409 output message.
7410 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7411
7412 2014-03-06 Yao Qi <yao@codesourcery.com>
7413
7414 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7415 early if get_number returns zero. Use 'p' instead of 'args'.
7416
7417 2014-03-06 Yao Qi <yao@codesourcery.com>
7418
7419 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7420 message.
7421
7422 2014-03-06 Yao Qi <yao@codesourcery.com>
7423
7424 PR breakpoints/16508
7425 * tracepoint.c (check_trace_running): New function.
7426 (trace_find_command): Move code to check_trace_running and
7427 call check_trace_running.
7428 (trace_find_pc_command): Likewise.
7429 (trace_find_tracepoint_command): Likewise.
7430 (trace_find_line_command): Likewise.
7431 (trace_find_range_command): Likewise.
7432 * tracepoint.h (check_trace_running): Likewise.
7433 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7434
7435 2014-03-06 Yao Qi <yao@codesourcery.com>
7436
7437 * target.h (struct target_ops) <to_traceframe_info>: Use
7438 TARGET_DEFAULT_NORETURN (tcomplain ()).
7439 * target-delegates.c: Regenerated.
7440
7441 2014-03-05 Pedro Alves <palves@redhat.com>
7442
7443 PR gdb/16575
7444 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7445 void. Update comment.
7446 (dcache_xfer_memory): Delete.
7447 (dcache_read_memory_partial): New, based on the read bits of
7448 dcache_xfer_memory.
7449 (dcache_update): Add status parameter. Use ULONGEST for len, and
7450 adjust. Discard cache lines if the reason for the update was
7451 error.
7452 * dcache.h (dcache_xfer_memory): Delete declaration.
7453 (dcache_read_memory_partial): New declaration.
7454 (dcache_update): Update prototype.
7455 * target.c (raw_memory_xfer_partial): Update the dcache here.
7456 (memory_xfer_partial_1): Don't handle dcache writes here.
7457
7458 2014-03-05 Mike Frysinger <vapier@gentoo.org>
7459
7460 * remote-sim.c (gdbsim_load): Add const to prog.
7461
7462 2014-03-03 Tom Tromey <tromey@redhat.com>
7463
7464 * elfread.c (probe_key): Change to bfd_data.
7465 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7466 now per-BFD, not per-objfile.
7467 * stap-probe.c (stap_probe_destroy): Update comment.
7468 (handle_stap_probe): Allocate on the per-BFD obstack.
7469
7470 2014-03-03 Tom Tromey <tromey@redhat.com>
7471
7472 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7473 * breakpoint.c (create_longjmp_master_breakpoint): Use
7474 get_probe_address.
7475 (add_location_to_breakpoint, bkpt_probe_insert_location)
7476 (bkpt_probe_remove_location): Update.
7477 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7478 * elfread.c (elf_symfile_relocate_probe): Remove.
7479 (elf_probe_fns): Update.
7480 (insert_exception_resume_breakpoint): Change type of "probe"
7481 parameter to bound_probe.
7482 (check_exception_resume): Update.
7483 * objfiles.c (objfile_relocate1): Don't relocate probes.
7484 * probe.c (bound_probe_s): New typedef.
7485 (parse_probes): Use get_probe_address. Set sal's objfile.
7486 (find_probe_by_pc): Return a bound_probe.
7487 (collect_probes): Return a VEC(bound_probe_s).
7488 (compare_probes): Update.
7489 (gen_ui_out_table_header_info): Change type of "probes"
7490 parameter. Update.
7491 (info_probes_for_ops): Update.
7492 (get_probe_address): New function.
7493 (probe_safe_evaluate_at_pc): Update.
7494 * probe.h (struct probe_ops) <get_probe_address>: New field.
7495 <set_semaphore, clear_semaphore>: Add objfile parameter.
7496 (struct probe) <objfile>: Remove field.
7497 <arch>: New field.
7498 <address>: Update comment.
7499 (struct bound_probe): New.
7500 (find_probe_by_pc): Return a bound_probe.
7501 (get_probe_address): Declare.
7502 * solib-svr4.c (struct probe_and_action) <address>: New field.
7503 (hash_probe_and_action, equal_probe_and_action): Update.
7504 (register_solib_event_probe): Add address parameter.
7505 (solib_event_probe_at): Update.
7506 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7507 get_probe_address.
7508 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7509 (stap_get_probe_address): New function.
7510 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7511 (compile_probe_arg): Update.
7512 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7513 address.
7514 (handle_stap_probe): Don't relocate the probe.
7515 (stap_relocate): Remove.
7516 (stap_gen_info_probes_table_values): Update.
7517 (stap_probe_ops): Remove stap_relocate.
7518 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7519 (debug_sym_probe_fns): Update.
7520 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7521 * symtab.c (init_sal): Use memset.
7522 * symtab.h (struct symtab_and_line) <objfile>: New field.
7523 * tracepoint.c (start_tracing, stop_tracing): Update.
7524
7525 2014-03-03 Tom Tromey <tromey@redhat.com>
7526
7527 * probe.h (parse_probes, find_probe_by_pc)
7528 (find_probes_in_objfile): Fix comments.
7529
7530 2014-03-02 Doug Evans <xdje42@gmail.com>
7531
7532 * infrun.c (handle_signal_stop): Replace test for
7533 TARGET_WAITKIND_STOPPED with an assert.
7534
7535 2014-03-02 Doug Evans <xdje42@gmail.com>
7536
7537 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7538
7539 2014-03-02 Doug Evans <xdje42@gmail.com>
7540
7541 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7542
7543 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7544
7545 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7546
7547 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7548
7549 * i386obsd-nat.c: Include "obsd-nat.h".
7550 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7551 add_target.
7552 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7553
7554 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7555
7556 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7557
7558 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7559
7560 * mips64obsd-nat.c: Include "obsd-nath".
7561 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7562 add_target
7563 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7564
7565 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7566
7567 * amd64obsd-nat.c: Include "obsd-nat,h.
7568 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7569 add_target.
7570 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7571
7572 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7573
7574 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7575 (find_overload_match): Update call to find_oload_champ.
7576 (find_oload_champ_namespace_loop): Likewise
7577
7578 2014-02-28 Mark Kettenis <kettenis@gnu.org>
7579
7580 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7581
7582 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7583 * config/sparc/obsd64.mh: New file.
7584 * sparc64obsd-nat.c: New file.
7585
7586 * obsd-nat.h: New file.
7587 * obsd-nat.c: New file.
7588 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7589 (ALLDEPFILES): Add obsd-nat.c.
7590
7591 2014-02-28 Tom Tromey <tromey@redhat.com>
7592
7593 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7594 * cli-out.h (cli_ui_out_impl): Now const.
7595 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7596 * ui-out.c (struct ui_out) <impl>: Now const.
7597 (default_ui_out_impl): Now const.
7598 (ui_out_new): Make 'impl' parameter const.
7599 * ui-out.h (ui_out_new): Update.
7600
7601 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7602
7603 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7604
7605 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7606
7607 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7608
7609 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7610
7611 Additional PR 8882 fix.
7612 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7613
7614 2014-02-27 Pedro Alves <palves@redhat.com>
7615
7616 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7617 isn't set.
7618
7619 2014-02-27 Pedro Alves <palves@redhat.com>
7620
7621 PR 12702
7622 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7623 * nat/linux-waitpid.c: Include string.h.
7624 (status_to_str): Moved here and made extern.
7625 * nat/linux-waitpid.h (status_to_str): New declaration.
7626
7627 2014-02-27 Hui Zhu <hui@codesourcery.com>
7628
7629 PR 12702
7630 * infrun.c (ptid_match): Move ...
7631 * common/ptid.c (ptid_match): ... here.
7632 * inferior.h (ptid_match): Move ...
7633 * common/ptid.h (ptid_match): ... here.
7634
7635 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7636
7637 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7638 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7639 gdb_target_obs.
7640
7641 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7642
7643 * obsd-tdep.c (obsd_auxv_parse): New function.
7644 (obsd_init_abi): Set auxv_parse.
7645
7646 * gdbarch.sh (auxv_parse): New.
7647 * gdbarch.h: Regenerated.
7648 * gdbarch.c: Regenerated.
7649 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7650
7651 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7652
7653 * guile/scm-value.c (gdbscm_history_append_x): New function.
7654 (value_functions): Add it.
7655
7656 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7657
7658 * dwarf2read.c (attr_value_as_address): New function.
7659 (dwarf2_find_base_address, read_call_site_scope): Use
7660 attr_value_as_address in place of DW_ADDR.
7661 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7662 the low and high addresses. Slight rework of the handling
7663 of the high pc being a constant form, and limit it to
7664 DWARF verson 4 or higher.
7665 (dwarf2_record_block_ranges): Likewise.
7666 (read_partial_die): Likewise.
7667 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7668
7669 2014-02-26 Tom Tromey <tromey@redhat.com>
7670
7671 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7672
7673 2014-02-26 Tom Tromey <tromey@redhat.com>
7674
7675 * elfread.c (elf_read_minimal_symbols): Return early if
7676 minimal symbols have already been read. Add "ei" parameter.
7677 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7678 * minsyms.c (prim_record_minimal_symbol_full): Update.
7679 * objfiles.h (struct objstats) <n_minsyms>: Move...
7680 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7681 * symmisc.c (print_objfile_statistics): Update.
7682
7683 2014-02-26 Tom Tromey <tromey@redhat.com>
7684
7685 * elfread.c (elf_read_minimal_symbols): New function, from
7686 elf_symfile_read.
7687 (elf_symfile_read): Call it.
7688
7689 2014-02-26 Tom Tromey <tromey@redhat.com>
7690
7691 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7692 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7693 (lookup_minimal_symbol_solib_trampoline)
7694 (lookup_minimal_symbol_by_pc_section_1)
7695 (lookup_minimal_symbol_and_objfile): Update.
7696 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7697 Don't allocate a minimal symbol if minsyms have already been read.
7698 (build_minimal_symbol_hash_tables): Update.
7699 (install_minimal_symbols): Do nothing if minsyms already read.
7700 Use the per-BFD obstack.
7701 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7702 * objfiles.c (allocate_objfile): Call
7703 terminate_minimal_symbol_table later.
7704 (have_minimal_symbols): Update.
7705 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7706 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7707 Move from struct objfile.
7708 <minsyms_read>: New field.
7709 (struct objfile) <msymbols, minimal_symbol_count,
7710 msymbol_hash, msymbol_demangled_hash>: Move.
7711 (ALL_OBJFILE_MSYMBOLS): Update.
7712 * symfile.c (read_symbols): Set minsyms_read.
7713 (reread_symbols): Update.
7714 * symmisc.c (dump_objfile, dump_msymbols): Update.
7715
7716 2014-02-26 Tom Tromey <tromey@redhat.com>
7717
7718 * minsyms.c (msymbols_sort): Remove.
7719 * minsyms.h (msymbols_sort): Remove.
7720 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7721 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7722 * elfread.c (elf_symtab_read): Don't add section offsets.
7723 * xcoffread.c (record_minimal_symbol): Don't add section offset
7724 to minimal symbol address.
7725 * somread.c (text_offset, data_offset): Remove.
7726 (som_symtab_read): Don't add section offsets to minimal symbol
7727 addresses.
7728 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7729 Don't add section offsets to minimal symbols.
7730 * coffread.c (coff_symtab_read): Don't add section offsets
7731 to minimal symbol addresses.
7732 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7733 to minimal symbol addresses.
7734 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7735 section offset to minimal symbol addresses.
7736 * mdebugread.c (parse_partial_symbols): Don't add section
7737 offset to minimal symbol addresses.
7738 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7739 offset to minimal symbol addresses.
7740
7741 2014-02-26 Tom Tromey <tromey@redhat.com>
7742
7743 * ada-lang.c (ada_main_name): Update.
7744 (ada_add_standard_exceptions): Update.
7745 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7746 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7747 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7748 * auxv.c (ld_so_xfer_auxv): Update.
7749 * avr-tdep.c (avr_scan_prologue): Update.
7750 * ax-gdb.c (gen_var_ref): Update.
7751 * blockframe.c (get_pc_function_start)
7752 (find_pc_partial_function_gnu_ifunc): Update.
7753 * breakpoint.c (create_overlay_event_breakpoint)
7754 (create_longjmp_master_breakpoint)
7755 (create_std_terminate_master_breakpoint)
7756 (create_exception_master_breakpoint): Update.
7757 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7758 * c-valprint.c (c_val_print): Update.
7759 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7760 * common/agent.c (agent_look_up_symbols): Update.
7761 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7762 * dwarf2loc.c (call_site_to_target_addr): Update.
7763 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7764 * elfread.c (elf_gnu_ifunc_record_cache)
7765 (elf_gnu_ifunc_resolve_by_got): Update.
7766 * findvar.c (default_read_var_value): Update.
7767 * frame.c (inside_main_func): Update.
7768 * frv-tdep.c (frv_frame_this_id): Update.
7769 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7770 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7771 Update.
7772 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7773 (hppa_hpux_find_dummy_bpaddr): Update.
7774 * hppa-tdep.c (hppa_symbol_address): Update.
7775 * infcmd.c (until_next_command): Update.
7776 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7777 Update.
7778 * linespec.c (minsym_found, add_minsym): Update.
7779 * linux-nat.c (get_signo): Update.
7780 * linux-thread-db.c (inferior_has_bug): Update.
7781 * m32c-tdep.c (m32c_return_value)
7782 (m32c_m16c_address_to_pointer): Update.
7783 * m32r-tdep.c (m32r_frame_this_id): Update.
7784 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7785 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7786 * maint.c (maintenance_translate_address): Update.
7787 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7788 (frob_address): New function.
7789 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7790 frob_address. Rename parameter to "pc_in".
7791 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7792 addresses.
7793 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7794 Update.
7795 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7796 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7797 * objc-lang.c (find_objc_msgsend): Update.
7798 * objfiles.c (objfile_relocate1): Update.
7799 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7800 * p-valprint.c (pascal_val_print): Update.
7801 * parse.c (write_exp_msymbol): Update.
7802 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7803 (ppc_elfv2_skip_entrypoint): Update.
7804 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7805 * printcmd.c (build_address_symbolic, msym_info)
7806 (address_info): Update.
7807 * proc-service.c (ps_pglobal_lookup): Update.
7808 * psymtab.c (find_pc_sect_psymtab_closer)
7809 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7810 Change msymbol parameter to bound_minimal_symbol.
7811 * ravenscar-thread.c (get_running_thread_id): Update.
7812 * remote.c (remote_check_symbols): Update.
7813 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7814 address.
7815 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7816 * solib-dsbt.c (lm_base): Update.
7817 * solib-frv.c (lm_base, main_got): Update.
7818 * solib-irix.c (locate_base): Update.
7819 * solib-som.c (som_solib_create_inferior_hook)
7820 (link_map_start): Update.
7821 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7822 * solib-svr4.c (elf_locate_base, enable_break): Update.
7823 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7824 (flush_ea_cache): Update.
7825 * stabsread.c (define_symbol, scan_file_globals): Update.
7826 * stack.c (find_frame_funname): Update.
7827 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7828 (debug_qf_find_pc_sect_symtab): Update.
7829 * symfile.c (simple_read_overlay_table)
7830 (simple_overlay_update): Update.
7831 * symfile.h (struct quick_symbol_functions)
7832 <find_pc_sect_symtab>: Change type of msymbol to
7833 bound_minimal_symbol.
7834 * symmisc.c (dump_msymbols): Update.
7835 * symtab.c (find_pc_sect_symtab_via_partial)
7836 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7837 (search_symbols, print_msymbol_info): Update.
7838 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7839 (MSYMBOL_VALUE_ADDRESS): Redefine.
7840 (BMSYMBOL_VALUE_ADDRESS): New macro.
7841 * tracepoint.c (scope_info): Update.
7842 * tui/tui-disasm.c (tui_find_disassembly_address)
7843 (tui_get_begin_asm_address): Update.
7844 * valops.c (find_function_in_inferior): Update.
7845 * value.c (value_static_field, value_fn_field): Update.
7846
7847 2014-02-26 Tom Tromey <tromey@redhat.com>
7848
7849 * ada-lang.c (ada_update_initial_language): Update.
7850 (ada_main_name, ada_has_this_exception_support): Update.
7851 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7852 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7853 * arm-tdep.c (arm_skip_stub): Update.
7854 * auxv.c (ld_so_xfer_auxv): Update.
7855 * avr-tdep.c (avr_scan_prologue): Update.
7856 * ax-gdb.c (gen_var_ref): Update.
7857 * breakpoint.c (struct breakpoint_objfile_data)
7858 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7859 type to bound_minimal_symbol.
7860 (create_overlay_event_breakpoint)
7861 (create_longjmp_master_breakpoint)
7862 (create_std_terminate_master_breakpoint)
7863 (create_exception_master_breakpoint): Update.
7864 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7865 * c-exp.y (classify_name): Update.
7866 * coffread.c (coff_symfile_read): Update.
7867 * common/agent.c (agent_look_up_symbols): Update.
7868 * d-lang.c (d_main_name): Update.
7869 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7870 * dec-thread.c (enable_dec_thread): Update.
7871 * dwarf2loc.c (call_site_to_target_addr): Update.
7872 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7873 * eval.c (evaluate_subexp_standard): Update.
7874 * findvar.c (struct minsym_lookup_data) <result>: Change type
7875 to bound_minimal_symbol.
7876 <objfile>: Remove.
7877 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7878 * frame.c (inside_main_func): Update.
7879 * frv-tdep.c (frv_frame_this_id): Update.
7880 * gcore.c (call_target_sbrk): Update.
7881 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7882 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7883 Update.
7884 * go-lang.c (go_main_name): Update.
7885 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7886 (hppa_hpux_find_import_stub_for_addr): Update.
7887 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7888 Update. Change return type.
7889 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7890 type.
7891 * jit.c (jit_breakpoint_re_set_internal): Update.
7892 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7893 Update.
7894 * linux-nat.c (get_signo): Update.
7895 * linux-thread-db.c (inferior_has_bug): Update
7896 * m32c-tdep.c (m32c_return_value)
7897 (m32c_m16c_address_to_pointer): Update.
7898 * m32r-tdep.c (m32r_frame_this_id): Update.
7899 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7900 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7901 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7902 lookup_minimal_symbol. Change return type.
7903 (lookup_minimal_symbol): Remove.
7904 (lookup_bound_minimal_symbol): Update.
7905 (lookup_minimal_symbol_text): Change return type.
7906 (lookup_minimal_symbol_solib_trampoline): Change return type.
7907 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7908 (lookup_minimal_symbol_solib_trampoline): Change return type.
7909 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7910 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7911 (value_nsstring, find_imps): Update.
7912 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7913 * p-lang.c (pascal_main_name): Update.
7914 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7915 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7916 * proc-service.c (ps_pglobal_lookup): Update.
7917 * ravenscar-thread.c (get_running_thread_msymbol): Change
7918 return type.
7919 (has_ravenscar_runtime, get_running_thread_id): Update.
7920 * remote.c (remote_check_symbols): Update.
7921 * sol-thread.c (ps_pglobal_lookup): Update.
7922 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7923 * solib-dsbt.c (lm_base): Update.
7924 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7925 Update.
7926 * solib-irix.c (locate_base): Update.
7927 * solib-som.c (som_solib_create_inferior_hook)
7928 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7929 Update.
7930 * solib-spu.c (spu_enable_break): Update.
7931 * solib-svr4.c (elf_locate_base, enable_break): Update.
7932 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7933 (flush_ea_cache): Update.
7934 * stabsread.c (define_symbol): Update.
7935 * symfile.c (simple_read_overlay_table): Update.
7936 * symtab.c (find_pc_sect_line): Update.
7937 * tracepoint.c (scope_info): Update.
7938 * tui-disasm.c (tui_get_begin_asm_address): Update.
7939 * value.c (value_static_field): Update.
7940
7941 2014-02-26 Tom Tromey <tromey@redhat.com>
7942
7943 * minsyms.c (prim_record_minimal_symbol_full): Use
7944 SET_MSYMBOL_VALUE_ADDRESS.
7945 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7946 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7947 SET_MSYMBOL_VALUE_ADDRESS.
7948 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7949 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7950
7951 2014-02-26 Tom Tromey <tromey@redhat.com>
7952
7953 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7954 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7955 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7956 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7957 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7958 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7959 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7960 * ada-lang.c (ada_main_name): Update.
7961 (ada_lookup_simple_minsym): Update.
7962 (ada_make_symbol_completion_list): Update.
7963 (ada_add_standard_exceptions): Update.
7964 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7965 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7966 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7967 * arm-tdep.c (skip_prologue_function): Update.
7968 (arm_skip_stack_protector, arm_skip_stub): Update.
7969 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7970 (arm_wince_skip_main_prologue): Update.
7971 * auxv.c (ld_so_xfer_auxv): Update.
7972 * avr-tdep.c (avr_scan_prologue): Update.
7973 * ax-gdb.c (gen_var_ref): Update.
7974 * block.c (call_site_for_pc): Update.
7975 * blockframe.c (get_pc_function_start): Update.
7976 (find_pc_partial_function_gnu_ifunc): Update.
7977 * breakpoint.c (create_overlay_event_breakpoint): Update.
7978 (create_longjmp_master_breakpoint): Update.
7979 (create_std_terminate_master_breakpoint): Update.
7980 (create_exception_master_breakpoint): Update.
7981 (resolve_sal_pc): Update.
7982 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7983 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7984 Update.
7985 * c-valprint.c (c_val_print): Update.
7986 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7987 * coffread.c (coff_symfile_read): Update.
7988 * common/agent.c (agent_look_up_symbols): Update.
7989 * dbxread.c (find_stab_function_addr): Update.
7990 (end_psymtab): Update.
7991 * dwarf2loc.c (call_site_to_target_addr): Update.
7992 (func_verify_no_selftailcall): Update.
7993 (tailcall_dump): Update.
7994 (call_site_find_chain_1): Update.
7995 (dwarf_expr_reg_to_entry_parameter): Update.
7996 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7997 (elf_gnu_ifunc_resolve_by_got): Update.
7998 * f-valprint.c (info_common_command): Update.
7999 * findvar.c (read_var_value): Update.
8000 * frame.c (get_prev_frame_1): Update.
8001 (inside_main_func): Update.
8002 * frv-tdep.c (frv_skip_main_prologue): Update.
8003 (frv_frame_this_id): Update.
8004 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8005 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8006 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8007 (gnuv3_skip_trampoline): Update.
8008 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8009 (hppa64_hpux_in_solib_call_trampoline): Update.
8010 (hppa_hpux_skip_trampoline_code): Update.
8011 (hppa64_hpux_search_dummy_call_sequence): Update.
8012 (hppa_hpux_find_import_stub_for_addr): Update.
8013 (hppa_hpux_find_dummy_bpaddr): Update.
8014 * hppa-tdep.c (hppa_symbol_address)
8015 (hppa_lookup_stub_minimal_symbol): Update.
8016 * i386-tdep.c (i386_skip_main_prologue): Update.
8017 (i386_pe_skip_trampoline_code): Update.
8018 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8019 * infcall.c (get_function_name): Update.
8020 * infcmd.c (until_next_command): Update.
8021 * jit.c (jit_breakpoint_re_set_internal): Update.
8022 (jit_inferior_init): Update.
8023 * linespec.c (minsym_found): Update.
8024 (add_minsym): Update.
8025 * linux-fork.c (info_checkpoints_command): Update.
8026 * linux-nat.c (get_signo): Update.
8027 * linux-thread-db.c (inferior_has_bug): Update.
8028 * m32c-tdep.c (m32c_return_value): Update.
8029 (m32c_m16c_address_to_pointer): Update.
8030 (m32c_m16c_pointer_to_address): Update.
8031 * m32r-tdep.c (m32r_frame_this_id): Update.
8032 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8033 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8034 * maint.c (maintenance_translate_address): Update.
8035 * minsyms.c (add_minsym_to_hash_table): Update.
8036 (add_minsym_to_demangled_hash_table): Update.
8037 (msymbol_objfile): Update.
8038 (lookup_minimal_symbol): Update.
8039 (iterate_over_minimal_symbols): Update.
8040 (lookup_minimal_symbol_text): Update.
8041 (lookup_minimal_symbol_by_pc_name): Update.
8042 (lookup_minimal_symbol_solib_trampoline): Update.
8043 (lookup_minimal_symbol_by_pc_section_1): Update.
8044 (lookup_minimal_symbol_and_objfile): Update.
8045 (prim_record_minimal_symbol_full): Update.
8046 (compare_minimal_symbols): Update.
8047 (compact_minimal_symbols): Update.
8048 (build_minimal_symbol_hash_tables): Update.
8049 (install_minimal_symbols): Update.
8050 (terminate_minimal_symbol_table): Update.
8051 (find_solib_trampoline_target): Update.
8052 (minimal_symbol_upper_bound): Update.
8053 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8054 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8055 (mips_skip_pic_trampoline_code): Update.
8056 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8057 * objc-lang.c (selectors_info): Update.
8058 (classes_info): Update.
8059 (find_methods): Update.
8060 (find_imps): Update.
8061 (find_objc_msgsend): Update.
8062 * objfiles.c (objfile_relocate1): Update.
8063 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
8064 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8065 * p-valprint.c (pascal_val_print): Update.
8066 * parse.c (write_exp_msymbol): Update.
8067 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
8068 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
8069 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8070 * printcmd.c (build_address_symbolic): Update.
8071 (sym_info): Update.
8072 (address_info): Update.
8073 * proc-service.c (ps_pglobal_lookup): Update.
8074 * psymtab.c (find_pc_sect_psymtab_closer): Update.
8075 (find_pc_sect_psymtab): Update.
8076 * python/py-framefilter.c (py_print_frame): Update.
8077 * ravenscar-thread.c (get_running_thread_id): Update.
8078 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
8079 Update.
8080 * remote.c (remote_check_symbols): Update.
8081 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
8082 (rs6000_skip_trampoline_code): Update.
8083 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
8084 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8085 * solib-dsbt.c (lm_base): Update.
8086 * solib-frv.c (lm_base): Update.
8087 (main_got): Update.
8088 * solib-irix.c (locate_base): Update.
8089 * solib-som.c (som_solib_create_inferior_hook): Update.
8090 (som_solib_desire_dynamic_linker_symbols): Update.
8091 (link_map_start): Update.
8092 * solib-spu.c (spu_enable_break): Update.
8093 (ocl_enable_break): Update.
8094 * solib-svr4.c (elf_locate_base): Update.
8095 (enable_break): Update.
8096 * spu-tdep.c (spu_get_overlay_table): Update.
8097 (spu_catch_start): Update.
8098 (flush_ea_cache): Update.
8099 * stabsread.c (define_symbol): Update.
8100 (scan_file_globals): Update.
8101 * stack.c (find_frame_funname): Update.
8102 (frame_info): Update.
8103 * symfile.c (simple_read_overlay_table): Update.
8104 (simple_overlay_update): Update.
8105 * symmisc.c (dump_msymbols): Update.
8106 * symtab.c (fixup_section): Update.
8107 (find_pc_sect_line): Update.
8108 (skip_prologue_sal): Update.
8109 (search_symbols): Update.
8110 (print_msymbol_info): Update.
8111 (rbreak_command): Update.
8112 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
8113 (completion_list_objc_symbol): Update.
8114 (default_make_symbol_completion_list_break_on): Update.
8115 * tracepoint.c (scope_info): Update.
8116 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
8117 (tui_get_begin_asm_address): Update.
8118 * valops.c (find_function_in_inferior): Update.
8119 * value.c (value_static_field): Update.
8120 (value_fn_field): Update.
8121
8122 2014-02-26 Tom Tromey <tromey@redhat.com>
8123
8124 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
8125 bound minimal symbols. Move code that knows about minsym
8126 table layout...
8127 * minsyms.c (minimal_symbol_upper_bound): ... here. New
8128 function.
8129 * minsyms.h (minimal_symbol_upper_bound): Declare.
8130 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
8131 minimal_symbol_upper_bound.
8132
8133 2014-02-27 Joel Brobecker <brobecker@adacore.com>
8134
8135 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
8136 Use the type's name if its basic type does not have a tag.
8137
8138 2014-02-27 Joel Brobecker <brobecker@adacore.com>
8139
8140 * dwarf2read.c (read_subrange_type): Add comment.
8141
8142 2014-02-27 Joel Brobecker <brobecker@adacore.com>
8143
8144 * dwarf2read.c (update_enumeration_type_from_children): New
8145 function, mostly extracted from process_structure_scope.
8146 (read_enumeration_type): Call update_enumeration_type_from_children.
8147 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
8148 and flag_flag_enum fields.
8149
8150 2014-02-26 Pedro Alves <palves@redhat.com>
8151
8152 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
8153 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
8154 to_xfer_partial method.
8155
8156 2014-02-26 Pedro Alves <palves@redhat.com>
8157
8158 * target.c (complete_target_initialization): Don't install
8159 default_xfer_partial as to_xfer_partial hook.
8160 (nomemory): Delete.
8161 (update_current_target): Don't INHERIT nor de_fault
8162 deprecated_xfer_memory. Delete de_fault macro.
8163 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
8164 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
8165 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
8166 field.
8167
8168 2014-02-26 Pedro Alves <palves@redhat.com>
8169
8170 * go32-nat.c (my_write_child): New function.
8171 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
8172 (go32_xfer_partial): New function.
8173 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
8174 Instead install a to_xfer_partial hook.
8175
8176 2014-02-26 Pedro Alves <palves@redhat.com>
8177
8178 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
8179 to_xfer_partial helper. Rewrite.
8180 (procfs_xfer_partial): New function.
8181 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
8182 Install a to_xfer_partial hook.
8183
8184 2014-02-26 Pedro Alves <palves@redhat.com>
8185
8186 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
8187 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
8188 (m32r_xfer_partial): New function.
8189 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
8190 Install a to_xfer_partial hook.
8191
8192 2014-02-26 Pedro Alves <palves@redhat.com>
8193
8194 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
8195 helper.
8196 (mips_xfer_partial): New function.
8197 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
8198 hook. Install a to_xfer_partial hook.
8199
8200 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8201
8202 * gdbtypes.h (create_array_type_with_stride): Add declaration.
8203 * gdbtypes.c (create_array_type_with_stride): New function,
8204 renaming create_array_type, but with an added parameter
8205 called "bit_stride".
8206 (create_array_type): Re-implement using
8207 create_array_type_with_stride.
8208 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
8209 and DW_AT_bit_stride attributes.
8210
8211 2014-02-26 Pedro Alves <palves@redhat.com>
8212
8213 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
8214 task-specific breakpoints.
8215
8216 2014-02-25 Pedro Alves <palves@redhat.com>
8217
8218 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
8219 handling of object == TARGET_OBJECT_UNWIND_TABLE.
8220
8221 2014-02-25 Stan Shebs <stan@codesourcery.com>
8222
8223 * defs.h: Annotate comments for Doxygen.
8224
8225 2014-02-25 Tom Tromey <tromey@redhat.com>
8226
8227 * target.h (target_ignore): Don't declare.
8228 * target.c (target_ignore): Remove.
8229
8230 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8231
8232 PR gdb/16626
8233 * auto-load.c (auto_load_objfile_script_1): Change filename to
8234 debugfile.
8235
8236 2014-02-25 Joel Brobecker <brobecker@adacore.com>
8237
8238 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
8239 documentation. Adjust prototype to match the target_ops
8240 to_xfer_partial method. Adjust implementation accordingly.
8241
8242 2014-02-25 Hui Zhu <hui@codesourcery.com>
8243
8244 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
8245 to_traceframe_info.
8246
8247 2014-02-25 Kevin Buettner <kevinb@redhat.com>
8248
8249 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
8250 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
8251 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
8252 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
8253 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8254 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
8255 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
8256 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
8257 New constants.
8258 (rl78_register_type): Use a data pointer type for SP and
8259 new pseudo registers mentioned above. Use a 16 bit integer
8260 type for all other register pairs.
8261 (rl78_register_name, rl78_g10_register_name): Update for
8262 new pseudo registers.
8263 (rl78_pseudo_register_read): Likewise.
8264 (rl78_pseudo_register_write): Likewise.
8265 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8266 to the newly added pseudo registers.
8267
8268 2014-02-24 Doug Evans <dje@google.com>
8269
8270 * value.c (record_latest_value): Fix comment.
8271 * printcmd.c (print_command_1): Remove code to handle -1 return from
8272 record_latest_value.
8273
8274 2014-02-24 Pedro Alves <palves@redhat.com>
8275
8276 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8277 deprecated_xfer_memory hook.
8278 (procfs_xfer_partial): Call procfs_xfer_memory instead
8279 of the deprecated_xfer_memory target hook.
8280 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8281 helper.
8282
8283 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8284
8285 * windows-nat.c (windows_xfer_shared_libraries): Return
8286 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8287 requested object is TARGET_OBJECT_LIBRARIES.
8288
8289 2014-02-24 Yao Qi <yao@codesourcery.com>
8290
8291 * target.h (enum target_xfer_status)
8292 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8293 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8294 explicitly. New.
8295 * corefile.c (memory_error_message): User updated.
8296 * exec.c (section_table_read_available_memory): Likewise.
8297 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8298 * target.c (target_xfer_status_to_string): Likewise.
8299 (raw_memory_xfer_partial): Likewise.
8300 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8301 * valops.c (read_value_memory): Likewise.
8302 * exec.h: Update comments.
8303
8304 2014-02-24 Yao Qi <yao@codesourcery.com>
8305
8306 * target.c (target_xfer_status_to_string): Rename argument err
8307 to status.
8308 * target.h (target_xfer_status_to_string): Update declaration.
8309 Replace target_xfer_error_to_string with
8310 target_xfer_status_to_string in comment.
8311
8312 2014-02-24 Yao Qi <yao@codesourcery.com>
8313
8314 * mips-linux-nat.c (super_close): Update its type.
8315 (mips_linux_close): Pass 'self' to super_close.
8316
8317 2014-02-24 Yao Qi <yao@codesourcery.com>
8318
8319 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8320 * corefile.c (read_memory): Adjusted.
8321 * target.c (target_write_with_progress): Adjusted.
8322
8323 2014-02-23 Yao Qi <yao@codesourcery.com>
8324
8325 Revert two patches:
8326
8327 2013-10-25 Yao Qi <yao@codesourcery.com>
8328
8329 * remote.c (remote_traceframe_info): Return early if
8330 traceframe is not selected.
8331
8332 2013-07-19 Yao Qi <yao@codesourcery.com>
8333
8334 * target.c (update_current_target): Change the default action
8335 of 'to_traceframe_info' from tcomplain to return_zero.
8336 * target.h (struct target_ops) <to_traceframe_info>: Add more
8337 comments.
8338
8339 2014-02-23 Yao Qi <yao@codesourcery.com>
8340
8341 * valops.c (read_value_memory): Rewrite it. Call
8342 target_xfer_partial in a loop.
8343 * exec.h (section_table_available_memory): Remove declaration.
8344 Move comments to ...
8345 * exec.c (section_table_available_memory): ... here. Make it
8346 static.
8347
8348 2014-02-23 Yao Qi <yao@codesourcery.com>
8349
8350 * exec.c (section_table_read_available_memory): New function.
8351 * exec.h (section_table_read_available_memory): Declare.
8352 * ctf.c (ctf_xfer_partial): Call
8353 section_table_read_available_memory.
8354 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8355
8356 2014-02-23 Yao Qi <yao@codesourcery.com>
8357
8358 * ctf.c (ctf_xfer_partial): Move code to ...
8359 * exec.c (exec_read_partial_read_only): ... it. New function.
8360 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8361 * tracefile.c: Include "exec.h".
8362 * exec.h (exec_read_partial_read_only): Declare.
8363
8364 2014-02-23 Yao Qi <yao@codesourcery.com>
8365
8366 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8367 (tfile_has_memory): Remove.
8368 (init_tfile_ops): Don't set fields to_has_all_memory and
8369 to_has_memory of tfile_ops.
8370 * tracefile.c (tracefile_has_all_memory): New function.
8371 (tracefile_has_memory): New function.
8372 (init_tracefile_ops): Initialize fields to_has_all_memory and
8373 to_has_memory of 'ops'.
8374
8375 2014-02-23 Yao Qi <yao@codesourcery.com>
8376
8377 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8378 (ctf_thread_alive, ctf_get_trace_status): Remove.
8379 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8380 init_tracefile_ops.
8381 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8382 (tfile_has_stack, tfile_has_registers): Remove.
8383 (tfile_thread_alive): Remove.
8384 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8385 init_tracefile_ops.
8386 * tracefile.c (tracefile_has_stack): New function.
8387 (tracefile_has_registers): New function.
8388 (tracefile_thread_alive): New function.
8389 (tracefile_get_trace_status): New function.
8390 (init_tracefile_ops): New function.
8391 * tracefile.h (init_tracefile_ops): Declare.
8392
8393 2014-02-23 Yao Qi <yao@codesourcery.com>
8394
8395 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8396 (O_LARGEFILE): Likewise.
8397 (tfile_ops): Likewise.
8398 (TRACE_HEADER_SIZE): Likewise.
8399 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8400 (cur_data_size): Likewise.
8401 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8402 (tfile_close, tfile_files_info): Likewise.
8403 (tfile_get_trace_status): Likewise.
8404 (tfile_get_tracepoint_status): Likewise.
8405 (tfile_get_traceframe_address): Likewise.
8406 (tfile_trace_find, match_blocktype): Likewise.
8407 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8408 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8409 (tfile_get_trace_state_variable_value): Likewise.
8410 (tfile_has_all_memory, tfile_has_memory): Likewise.
8411 (tfile_has_stack, tfile_has_registers): Likewise.
8412 (tfile_thread_alive, build_traceframe_info): Likewise.
8413 (tfile_traceframe_info, init_tfile_ops): Likewise.
8414 (_initialize_tracepoint): Don't call init_tfile_ops
8415 and add_target_with_completer.
8416 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8417 exec.h, completer.h and filenames.h.
8418 (_initialize_tracefile_tfile): New function.
8419
8420 2014-02-23 Yao Qi <yao@codesourcery.com>
8421
8422 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8423 tracefile-tfile.o.
8424 (HFILES_NO_SRCDIR): Add tracefile.h.
8425 * ctf.c: Include "tracefile.h".
8426 * tracefile.h: New file.
8427 * tracefile.c: New file
8428 * tracefile-tfile.c: New file.
8429 * tracepoint.c: Include "tracefile.h".
8430 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8431 (stop_reason_names): Add const.
8432 (trace_file_writer_xfree): Move it to tracefile.c.
8433 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8434 (trace_save_ctf): Likewise.
8435 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8436 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8437 (tfile_write_header, tfile_write_regblock_type): Likewise.
8438 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8439 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8440 (tfile_write_raw_data, tfile_end): Likewise.
8441 (tfile_trace_file_writer_new): Likewise.
8442 (free_uploaded_tp): Make it extern.
8443 (free_uploaded_tsv): Make it extern.
8444 (_initialize_tracepoint): Move code to register command 'tsave'
8445 to tracefile.c.
8446 * tracepoint.h (stop_reason_names): Declare.
8447 (struct trace_frame_write_ops): Move it to tracefile.h.
8448 (struct trace_file_write_ops): Likewise.
8449 (struct trace_file_writer): Likewise.
8450 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8451
8452 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8453
8454 PR gdb/16594
8455 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8456 process name.
8457 (get_cores_used_by_process): New parameter num_cores, use it.
8458 (linux_xfer_osdata_processes): Pass num_cores to it.
8459 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8460 process name.
8461
8462 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8463
8464 * target.c (memory_xfer_partial): Fix length arg in call to
8465 breakpoint_xfer_memory.
8466
8467 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8468
8469 PR tdep/16397
8470 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8471 number comes after the + or - signs. Adjust length of register
8472 name to be extracted.
8473
8474 2014-02-20 Tom Tromey <tromey@redhat.com>
8475
8476 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8477 (ada_varobj_ops): Mark "extern".
8478
8479 2014-02-20 Tom Tromey <tromey@redhat.com>
8480
8481 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8482
8483 2014-02-20 Doug Evans <xdje42@gmail.com>
8484
8485 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8486 All callers updated.
8487 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8488 All callers updated.
8489 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8490 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8491
8492 2014-02-20 lin zuojian <manjian2006@gmail.com>
8493 Joel Brobecker <brobecker@adacore.com>
8494 Doug Evans <xdje42@gmail.com>
8495
8496 PR symtab/16581
8497 * dwarf2read.c (struct die_info): New member in_process.
8498 (reset_die_in_process): New function.
8499 (process_die): Set it at the start, reset when returning.
8500 (inherit_abstract_dies): Only call process_die if origin_child_die
8501 not already being processed.
8502
8503 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8504
8505 * windows-nat.c (handle_unload_dll): Add function documentation.
8506 (do_initial_windows_stuff): Add comment explaining why we wait
8507 until after inferior initialization has finished before
8508 processing all DLLs.
8509
8510 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8511
8512 * windows-nat.c (get_module_name): Delete.
8513 (windows_get_exec_module_filename): New function, mostly
8514 inspired from get_module_name.
8515 (windows_pid_to_exec_file): Replace call to get_module_name
8516 by call to windows_get_exec_module_filename.
8517
8518 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8519
8520 * windows-nat.c (handle_load_dll): Rewrite this function's
8521 introductory comment. Remove code using get_module_name
8522 to get the DLL's name.
8523
8524 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8525
8526 * windows-nat.c (get_windows_debug_event): Ignore
8527 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8528 if windows_initialization_done == 0.
8529 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8530 Adjust implementation to always load all DLLs.
8531 (do_initial_windows_stuff): Replace call to
8532 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8533
8534 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8535
8536 * windows-nat.c (_initialize_windows_nat): Deprecate the
8537 "dll-symbols" command. Turn the "add-shared-symbol-files"
8538 and "assf" aliases into commands, and deprecate them as well.
8539 * NEWS: Add entry explaining that "dll-symbols" and its two
8540 aliases are now deprecated.
8541
8542 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8543
8544 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8545 new-line in debug string. Remove trailing spaces.
8546
8547 2014-02-19 Stan Shebs <stan@codesourcery.com>
8548
8549 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8550
8551 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8552
8553 * NEWS: Add entry for the new feature
8554 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8555 and class values.
8556
8557 2014-02-19 Stan Shebs <stan@codesourcery.com>
8558
8559 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8560
8561 2014-02-19 Pedro Alves <palves@redhat.com>
8562
8563 * common/ptid.h (struct ptid): Mention that process_stratum
8564 targets should prefer ptid.lwp.
8565
8566 2014-02-19 Pedro Alves <palves@redhat.com>
8567
8568 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8569 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8570 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8571 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8572 store remote thread ids rather than ptid.tid.
8573 (_initialize_remote): Adjust.
8574
8575 2014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target.c (target_get_unwinder): Rewrite.
8578 (target_get_tailcall_unwinder): Rewrite.
8579 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8580 (record_btrace_to_get_tailcall_unwinder): New function.
8581 (init_record_btrace_ops): Update.
8582 * target.h (struct target_ops) <to_get_unwinder,
8583 to_get_tailcall_unwinder>: Now function pointers. Use
8584 TARGET_DEFAULT_RETURN.
8585
8586 2014-02-19 Tom Tromey <tromey@redhat.com>
8587
8588 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8589 argument.
8590 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8591
8592 2014-02-19 Tom Tromey <tromey@redhat.com>
8593
8594 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8595 directly.
8596 * target-delegates.c: Rebuild.
8597 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8598 TARGET_DEFAULT_FUNC.
8599 * target.c (default_target_decr_pc_after_break): Rename from
8600 forward_target_decr_pc_after_break. Simplify.
8601 (target_decr_pc_after_break): Rely on delegation.
8602
8603 2014-02-19 Tom Tromey <tromey@redhat.com>
8604
8605 * target.c (update_current_target): Do not INHERIT to_doc or
8606 to_magic. Do not de_fault to_open or to_close.
8607
8608 2014-02-19 Tom Tromey <tromey@redhat.com>
8609
8610 * gcore.h (objfile_find_memory_regions): Declare.
8611 * gcore.c (objfile_find_memory_regions): No longer static. Add
8612 "self" argument.
8613 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8614 * exec.c: Include gcore.h.
8615 (exec_set_find_memory_regions): Remove.
8616 (exec_find_memory_regions): Remove.
8617 (exec_do_find_memory_regions): Remove.
8618 (init_exec_ops): Update.
8619 * defs.h (exec_set_find_memory_regions): Remove.
8620
8621 2014-02-19 Tom Tromey <tromey@redhat.com>
8622
8623 * target-delegates.c: Rebuild.
8624 * target.h (struct target_ops) <to_extra_thread_info,
8625 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8626 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8627 not 0, in TARGET_DEFAULT_RETURN.
8628
8629 2014-02-19 Tom Tromey <tromey@redhat.com>
8630
8631 * target.c (complete_target_initialization): Remove casts. Use
8632 return_zero_has_execution.
8633 (return_zero): Add "ignore" argument.
8634 (return_zero_has_execution): New function.
8635 (init_dummy_target): Remove casts. Use
8636 return_zero_has_execution.
8637
8638 2014-02-19 Tom Tromey <tromey@redhat.com>
8639
8640 * target.c (update_current_target): Update comments. Do not
8641 INHERIT to_stratum.
8642
8643 2014-02-19 Tom Tromey <tromey@redhat.com>
8644
8645 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8646 needed.
8647 * corelow.c (core_read_description): Delegate when needed.
8648 * remote.c (remote_read_description): Delegate when needed.
8649 * target-delegates.c: Rebuild.
8650 * target.c (target_read_description): Rewrite.
8651 * target.h (struct target_ops) <to_read_description>: Update
8652 comment. Use TARGET_DEFAULT_RETURN.
8653
8654 2014-02-19 Tom Tromey <tromey@redhat.com>
8655
8656 * target-delegates.c: Rebuild.
8657 * target.c (update_current_target): Don't inherit or default
8658 to_can_run.
8659 (find_default_run_target): Check against delegate_can_run.
8660 * target.h (struct target_ops) <to_can_run>: Use
8661 TARGET_DEFAULT_RETURN.
8662
8663 2014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * target-delegates.c: Rebuild.
8666 * target.c (target_disconnect): Unconditionally delegate.
8667 * target.h (struct target_ops) <to_disconnect>: Use
8668 TARGET_DEFAULT_NORETURN.
8669
8670 2014-02-19 Tom Tromey <tromey@redhat.com>
8671
8672 * record.c (record_stop): Unconditionally delegate.
8673 * target-delegates.c: Rebuild.
8674 * target.c (target_stop_recording): Unconditionally delegate.
8675 * target.h (struct target_ops) <to_stop_recording>: Use
8676 TARGET_DEFAULT_IGNORE.
8677
8678 2014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target-delegates.c: Rebuild.
8681 * target.c (target_enable_btrace): Unconditionally delegate.
8682 * target.h (struct target_ops) <to_enable_btrace>: Use
8683 TARGET_DEFAULT_NORETURN.
8684
8685 2014-02-19 Tom Tromey <tromey@redhat.com>
8686
8687 * target-delegates.c: Rebuild.
8688 * target.c (target_read_btrace): Unconditionally delegate.
8689 * target.h (struct target_ops) <to_read_btrace>: Use
8690 TARGET_DEFAULT_NORETURN.
8691
8692 2014-02-19 Tom Tromey <tromey@redhat.com>
8693
8694 * target-delegates.c: Rebuild.
8695 * target.c (target_teardown_btrace): Unconditionally delegate.
8696 * target.h (struct target_ops) <to_teardown_btrace>: Use
8697 TARGET_DEFAULT_NORETURN.
8698
8699 2014-02-19 Tom Tromey <tromey@redhat.com>
8700
8701 * target-delegates.c: Rebuild.
8702 * target.c (target_disable_btrace): Unconditionally delegate.
8703 * target.h (struct target_ops) <to_disable_btrace>: Use
8704 TARGET_DEFAULT_NORETURN.
8705
8706 2014-02-19 Tom Tromey <tromey@redhat.com>
8707
8708 * target-delegates.c: Rebuild.
8709 * target.c (default_search_memory): New function.
8710 (simple_search_memory): Update comment.
8711 (target_search_memory): Unconditionally delegate.
8712 * target.h (struct target_ops) <to_search_memory>: Use
8713 TARGET_DEFAULT_FUNC.
8714
8715 2014-02-19 Tom Tromey <tromey@redhat.com>
8716
8717 * auxv.c (default_auxv_parse): No longer static.
8718 (target_auxv_parse): Unconditionally delegate.
8719 * auxv.h (default_auxv_parse): Declare.
8720 * target-delegates.c: Rebuild.
8721 * target.c: Include auxv.h.
8722 * target.h (struct target_ops) <to_auxv_parse>: Use
8723 TARGET_DEFAULT_FUNC.
8724
8725 2014-02-19 Tom Tromey <tromey@redhat.com>
8726
8727 * target-delegates.c: Rebuild.
8728 * target.c (target_memory_map): Unconditionally delegate.
8729 * target.h (struct target_ops) <to_memory_map>: Use
8730 TARGET_DEFAULT_RETURN.
8731
8732 2014-02-19 Tom Tromey <tromey@redhat.com>
8733
8734 * target-delegates.c: Rebuild.
8735 * target.c (target_thread_alive): Unconditionally delegate.
8736 * target.h (struct target_ops) <to_thread_alive>: Use
8737 TARGET_DEFAULT_RETURN.
8738
8739 2014-02-19 Tom Tromey <tromey@redhat.com>
8740
8741 * target-delegates.c: Rebuild.
8742 * target.c (target_save_record): Unconditionally delegate.
8743 * target.h (struct target_ops) <to_save_record>: Use
8744 TARGET_DEFAULT_NORETURN.
8745
8746 2014-02-19 Tom Tromey <tromey@redhat.com>
8747
8748 * target-delegates.c: Rebuild.
8749 * target.c (target_delete_record): Unconditionally delegate.
8750 * target.h (struct target_ops) <to_delete_record>: Use
8751 TARGET_DEFAULT_NORETURN.
8752
8753 2014-02-19 Tom Tromey <tromey@redhat.com>
8754
8755 * target-delegates.c: Rebuild.
8756 * target.c (target_record_is_replaying): Unconditionally
8757 delegate.
8758 * target.h (struct target_ops) <to_record_is_replaying>: Use
8759 TARGET_DEFAULT_RETURN.
8760
8761 2014-02-19 Tom Tromey <tromey@redhat.com>
8762
8763 * target-delegates.c: Rebuild.
8764 * target.c (target_goto_record_begin): Unconditionally delegate.
8765 * target.h (struct target_ops) <to_goto_record_begin>: Use
8766 TARGET_DEFAULT_NORETURN.
8767
8768 2014-02-19 Tom Tromey <tromey@redhat.com>
8769
8770 * target-delegates.c: Rebuild.
8771 * target.c (target_goto_record_end): Unconditionally delegate.
8772 * target.h (struct target_ops) <to_goto_record_end>: Use
8773 TARGET_DEFAULT_NORETURN.
8774
8775 2014-02-19 Tom Tromey <tromey@redhat.com>
8776
8777 * target-delegates.c: Rebuild.
8778 * target.c (target_goto_record): Unconditionally delegate.
8779 * target.h (struct target_ops) <to_goto_record>: Use
8780 TARGET_DEFAULT_NORETURN.
8781
8782 2014-02-19 Tom Tromey <tromey@redhat.com>
8783
8784 * target-delegates.c: Rebuild.
8785 * target.c (target_insn_history): Unconditionally delegate.
8786 * target.h (struct target_ops) <to_insn_history>: Use
8787 TARGET_DEFAULT_NORETURN.
8788
8789 2014-02-19 Tom Tromey <tromey@redhat.com>
8790
8791 * target-delegates.c: Rebuild.
8792 * target.c (target_insn_history_from): Unconditionally delegate.
8793 * target.h (struct target_ops) <to_insn_history_from>: Use
8794 TARGET_DEFAULT_NORETURN.
8795
8796 2014-02-19 Tom Tromey <tromey@redhat.com>
8797
8798 * target-delegates.c: Rebuild.
8799 * target.c (target_insn_history_range): Unconditionally delegate.
8800 * target.h (struct target_ops) <to_insn_history_range>: Use
8801 TARGET_DEFAULT_NORETURN.
8802
8803 2014-02-19 Tom Tromey <tromey@redhat.com>
8804
8805 * target-delegates.c: Rebuild.
8806 * target.c (target_call_history): Unconditionally delegate.
8807 * target.h (struct target_ops) <to_call_history>: Use
8808 TARGET_DEFAULT_NORETURN.
8809
8810 2014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target-delegates.c: Rebuild.
8813 * target.c (target_call_history_from): Unconditionally delegate.
8814 * target.h (struct target_ops) <to_call_history_from>: Use
8815 TARGET_DEFAULT_NORETURN.
8816
8817 2014-02-19 Tom Tromey <tromey@redhat.com>
8818
8819 * target-delegates.c: Rebuild.
8820 * target.c (target_call_history_range): Unconditionally delegate.
8821 * target.h (struct target_ops) <to_call_history_range>: Use
8822 TARGET_DEFAULT_NORETURN.
8823
8824 2014-02-19 Tom Tromey <tromey@redhat.com>
8825
8826 * target-delegates.c: Rebuild.
8827 * target.c (target_verify_memory): Unconditionally delegate.
8828 * target.h (struct target_ops) <to_verify_memory>: Use
8829 TARGET_DEFAULT_NORETURN.
8830
8831 2014-02-19 Tom Tromey <tromey@redhat.com>
8832
8833 * target-delegates.c: Rebuild.
8834 * target.c (target_core_of_thread): Unconditionally delegate.
8835 * target.h (struct target_ops) <to_core_of_thread>: Use
8836 TARGET_DEFAULT_RETURN.
8837
8838 2014-02-19 Tom Tromey <tromey@redhat.com>
8839
8840 * target-delegates.c: Rebuild.
8841 * target.c (target_flash_done): Unconditionally delegate.
8842 * target.h (struct target_ops) <to_flash_done>: Use
8843 TARGET_DEFAULT_NORETURN.
8844
8845 2014-02-19 Tom Tromey <tromey@redhat.com>
8846
8847 * target-delegates.c: Rebuild.
8848 * target.c (target_flash_erase): Unconditionally delegate.
8849 * target.h (struct target_ops) <to_flash_erase>: Use
8850 TARGET_DEFAULT_NORETURN.
8851
8852 2014-02-19 Tom Tromey <tromey@redhat.com>
8853
8854 * target-delegates.c: Rebuild.
8855 * target.c (target_get_section_table): Unconditionally delegate.
8856 * target.h (struct target_ops) <to_get_section_table>: Use
8857 TARGET_DEFAULT_RETURN.
8858
8859 2014-02-19 Tom Tromey <tromey@redhat.com>
8860
8861 * target-delegates.c: Rebuild.
8862 * target.c (target_pid_to_str): Unconditionally delegate.
8863 (init_dummy_target): Don't initialize to_pid_to_str.
8864 (default_pid_to_str): Rename from dummy_pid_to_str.
8865 * target.h (struct target_ops) <to_pid_to_str>: Use
8866 TARGET_DEFAULT_FUNC.
8867
8868 2014-02-19 Tom Tromey <tromey@redhat.com>
8869
8870 * target-delegates.c: Rebuild.
8871 * target.c (target_find_new_threads): Unconditionally delegate.
8872 * target.h (struct target_ops) <to_find_new_threads>: Use
8873 TARGET_DEFAULT_RETURN.
8874
8875 2014-02-19 Tom Tromey <tromey@redhat.com>
8876
8877 * target-delegates.c: Rebuild.
8878 * target.c (target_program_signals): Unconditionally delegate.
8879 * target.h (struct target_ops) <to_program_signals>: Use
8880 TARGET_DEFAULT_IGNORE.
8881
8882 2014-02-19 Tom Tromey <tromey@redhat.com>
8883
8884 * target-delegates.c: Rebuild.
8885 * target.c (target_pass_signals): Unconditionally delegate.
8886 * target.h (struct target_ops) <to_pass_signals>: Use
8887 TARGET_DEFAULT_IGNORE.
8888
8889 2014-02-19 Tom Tromey <tromey@redhat.com>
8890
8891 * target-delegates.c: Rebuild.
8892 * target.c (default_mourn_inferior): New function.
8893 (target_mourn_inferior): Unconditionally delegate.
8894 * target.h (struct target_ops) <to_mourn_inferior>: Use
8895 TARGET_DEFAULT_FUNC.
8896
8897 2014-02-19 Tom Tromey <tromey@redhat.com>
8898
8899 * target-delegates.c: Rebuild.
8900 * target.c (default_follow_fork): New function.
8901 (target_follow_fork): Unconditionally delegate.
8902 * target.h (struct target_ops) <to_follow_fork>: Use
8903 TARGET_DEFAULT_FUNC.
8904
8905 2014-02-19 Tom Tromey <tromey@redhat.com>
8906
8907 * target-delegates.c: Rebuild.
8908 * target.c (target_kill): Unconditionally delegate.
8909 * target.h (struct target_ops) <to_kill>: Use
8910 TARGET_DEFAULT_NORETURN.
8911
8912 2014-02-19 Tom Tromey <tromey@redhat.com>
8913
8914 * target-delegates.c: Rebuild.
8915 * target.c (target_masked_watch_num_registers): Unconditionally
8916 delegate.
8917 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8918 Use TARGET_DEFAULT_RETURN.
8919
8920 2014-02-19 Tom Tromey <tromey@redhat.com>
8921
8922 * target-delegates.c: Rebuild.
8923 * target.c (target_remove_mask_watchpoint): Unconditionally
8924 delegate.
8925 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8926 TARGET_DEFAULT_RETURN.
8927
8928 2014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target-delegates.c: Rebuild.
8931 * target.c (target_insert_mask_watchpoint): Unconditionally
8932 delegate.
8933 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8934 TARGET_DEFAULT_RETURN.
8935
8936 2014-02-19 Tom Tromey <tromey@redhat.com>
8937
8938 * target-delegates.c: Rebuild.
8939 * target.c (target_ranged_break_num_registers): Unconditionally
8940 delegate.
8941 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8942 Use TARGET_DEFAULT_RETURN.
8943
8944 2014-02-19 Tom Tromey <tromey@redhat.com>
8945
8946 * target-delegates.c: Rebuild.
8947 * target.c (target_fetch_registers): Unconditionally delegate.
8948 * target.h (struct target_ops) <to_fetch_registers>: Use
8949 TARGET_DEFAULT_NORETURN.
8950
8951 2014-02-19 Tom Tromey <tromey@redhat.com>
8952
8953 * target-delegates.c: Rebuild.
8954 * target.c (update_current_target): Don't inherit or default
8955 to_stop.
8956 * target.h (struct target_ops) <to_stop>: Use
8957 TARGET_DEFAULT_IGNORE.
8958
8959 2014-02-19 Tom Tromey <tromey@redhat.com>
8960
8961 * target-delegates.c: Rebuild.
8962 * target.c (update_current_target): Don't inherit or default
8963 to_can_run_breakpoint_commands.
8964 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8965 Use TARGET_DEFAULT_RETURN.
8966
8967 2014-02-19 Tom Tromey <tromey@redhat.com>
8968
8969 * target-delegates.c: Rebuild.
8970 * target.c (update_current_target): Don't inherit or default
8971 to_supports_evaluation_of_breakpoint_conditions.
8972 * target.h (struct target_ops)
8973 <to_supports_evaluation_of_breakpoint_conditions>: Use
8974 TARGET_DEFAULT_RETURN.
8975
8976 2014-02-19 Tom Tromey <tromey@redhat.com>
8977
8978 * target-delegates.c: Rebuild.
8979 * target.c (update_current_target): Don't inherit or default
8980 to_augmented_libraries_svr4_read.
8981 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8982 Use TARGET_DEFAULT_RETURN.
8983
8984 2014-02-19 Tom Tromey <tromey@redhat.com>
8985
8986 * target-delegates.c: Rebuild.
8987 * target.c (update_current_target): Don't inherit or default
8988 to_can_use_agent.
8989 * target.h (struct target_ops) <to_can_use_agent>: Use
8990 TARGET_DEFAULT_RETURN.
8991
8992 2014-02-19 Tom Tromey <tromey@redhat.com>
8993
8994 * target-delegates.c: Rebuild.
8995 * target.c (update_current_target): Don't inherit or default
8996 to_use_agent.
8997 * target.h (struct target_ops) <to_use_agent>: Use
8998 TARGET_DEFAULT_NORETURN.
8999
9000 2014-02-19 Tom Tromey <tromey@redhat.com>
9001
9002 * target-delegates.c: Rebuild.
9003 * target.c (update_current_target): Don't inherit or default
9004 to_traceframe_info.
9005 (return_null): Remove.
9006 * target.h (struct target_ops) <to_traceframe_info>: Use
9007 TARGET_DEFAULT_RETURN.
9008
9009 2014-02-19 Tom Tromey <tromey@redhat.com>
9010
9011 * target-delegates.c: Rebuild.
9012 * target.c (update_current_target): Don't inherit or default
9013 to_static_tracepoint_markers_by_strid.
9014 * target.h (struct target_ops)
9015 <to_static_tracepoint_markers_by_strid>: Use
9016 TARGET_DEFAULT_NORETURN.
9017
9018 2014-02-19 Tom Tromey <tromey@redhat.com>
9019
9020 * target-delegates.c: Rebuild.
9021 * target.c (update_current_target): Don't inherit or default
9022 to_static_tracepoint_marker_at.
9023 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9024 Use TARGET_DEFAULT_RETURN.
9025
9026 2014-02-19 Tom Tromey <tromey@redhat.com>
9027
9028 * target-delegates.c: Rebuild.
9029 * target.c (update_current_target): Don't inherit or default
9030 to_set_permissions.
9031 * target.h (struct target_ops) <to_set_permissions>: Use
9032 TARGET_DEFAULT_IGNORE.
9033
9034 2014-02-19 Tom Tromey <tromey@redhat.com>
9035
9036 * target-delegates.c: Rebuild.
9037 * target.c (update_current_target): Don't inherit or default
9038 to_get_tib_address.
9039 * target.h (struct target_ops) <to_get_tib_address>: Use
9040 TARGET_DEFAULT_NORETURN.
9041
9042 2014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target-delegates.c: Rebuild.
9045 * target.c (update_current_target): Don't inherit or default
9046 to_set_trace_notes.
9047 * target.h (struct target_ops) <to_set_trace_notes>: Use
9048 TARGET_DEFAULT_RETURN.
9049
9050 2014-02-19 Tom Tromey <tromey@redhat.com>
9051
9052 * target-delegates.c: Rebuild.
9053 * target.c (update_current_target): Don't initialize
9054 to_set_trace_buffer_size.
9055 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9056 TARGET_DEFAULT_IGNORE.
9057
9058 2014-02-19 Tom Tromey <tromey@redhat.com>
9059
9060 * target-delegates.c: Rebuild.
9061 * target.c (update_current_target): Don't inherit or default
9062 to_set_circular_trace_buffer.
9063 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
9064 TARGET_DEFAULT_IGNORE.
9065
9066 2014-02-19 Tom Tromey <tromey@redhat.com>
9067
9068 * target-delegates.c: Rebuild.
9069 * target.c (update_current_target): Don't inherit or default
9070 to_set_disconnected_tracing.
9071 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
9072 TARGET_DEFAULT_IGNORE.
9073
9074 2014-02-19 Tom Tromey <tromey@redhat.com>
9075
9076 * target-delegates.c: Rebuild.
9077 * target.c (update_current_target): Don't inherit or default
9078 to_get_min_fast_tracepoint_insn_len.
9079 (return_minus_one): Remove.
9080 * target.h (struct target_ops)
9081 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
9082
9083 2014-02-19 Tom Tromey <tromey@redhat.com>
9084
9085 * target-delegates.c: Rebuild.
9086 * target.c (update_current_target): Don't inherit or default
9087 to_get_raw_trace_data.
9088 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
9089 TARGET_DEFAULT_NORETURN.
9090
9091 2014-02-19 Tom Tromey <tromey@redhat.com>
9092
9093 * target-delegates.c: Rebuild.
9094 * target.c (update_current_target): Don't inherit or default
9095 to_upload_trace_state_variables.
9096 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9097 Use TARGET_DEFAULT_RETURN.
9098
9099 2014-02-19 Tom Tromey <tromey@redhat.com>
9100
9101 * target-delegates.c: Rebuild.
9102 * target.c (update_current_target): Don't inherit or default
9103 to_upload_tracepoints.
9104 * target.h (struct target_ops) <to_upload_tracepoints>: Use
9105 TARGET_DEFAULT_RETURN.
9106
9107 2014-02-19 Tom Tromey <tromey@redhat.com>
9108
9109 * target-delegates.c: Rebuild.
9110 * target.c (update_current_target): Don't inherit or default
9111 to_save_trace_data.
9112 * target.h (struct target_ops) <to_save_trace_data>: Use
9113 TARGET_DEFAULT_NORETURN.
9114
9115 2014-02-19 Tom Tromey <tromey@redhat.com>
9116
9117 * target-delegates.c: Rebuild.
9118 * target.c (update_current_target): Don't inherit or default
9119 to_get_trace_state_variable_value.
9120 * target.h (struct target_ops)
9121 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9122
9123 2014-02-19 Tom Tromey <tromey@redhat.com>
9124
9125 * target-delegates.c: Rebuild.
9126 * target.c (update_current_target): Don't inherit or default
9127 to_trace_find.
9128 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
9129
9130 2014-02-19 Tom Tromey <tromey@redhat.com>
9131
9132 * target-delegates.c: Rebuild.
9133 * target.c (update_current_target): Don't inherit or default
9134 to_trace_stop.
9135 * target.h (struct target_ops) <to_trace_stop>: Use
9136 TARGET_DEFAULT_NORETURN.
9137
9138 2014-02-19 Tom Tromey <tromey@redhat.com>
9139
9140 * target-delegates.c: Rebuild.
9141 * target.c (update_current_target): Don't inherit or default
9142 to_get_tracepoint_status.
9143 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
9144 TARGET_DEFAULT_NORETURN.
9145
9146 2014-02-19 Tom Tromey <tromey@redhat.com>
9147
9148 * target-delegates.c: Rebuild.
9149 * target.c (update_current_target): Don't inherit or default
9150 to_get_trace_status.
9151 * target.h (struct target_ops) <to_get_trace_status>: Use
9152 TARGET_DEFAULT_RETURN.
9153
9154 2014-02-19 Tom Tromey <tromey@redhat.com>
9155
9156 * target-delegates.c: Rebuild.
9157 * target.c (update_current_target): Don't inherit or default
9158 to_trace_start.
9159 * target.h (struct target_ops) <to_trace_start>: Use
9160 TARGET_DEFAULT_NORETURN.
9161
9162 2014-02-19 Tom Tromey <tromey@redhat.com>
9163
9164 * target-delegates.c: Rebuild.
9165 * target.c (update_current_target): Don't inherit or default
9166 to_trace_set_readonly_regions.
9167 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9168 Use TARGET_DEFAULT_NORETURN.
9169
9170 2014-02-19 Tom Tromey <tromey@redhat.com>
9171
9172 * target-delegates.c: Rebuild.
9173 * target.c (update_current_target): Don't inherit or default
9174 to_disable_tracepoint.
9175 * target.h (struct target_ops) <to_disable_tracepoint>: Use
9176 TARGET_DEFAULT_NORETURN.
9177
9178 2014-02-19 Tom Tromey <tromey@redhat.com>
9179
9180 * target-delegates.c: Rebuild.
9181 * target.c (update_current_target): Don't inherit or default
9182 to_enable_tracepoint.
9183 * target.h (struct target_ops) <to_enable_tracepoint>: Use
9184 TARGET_DEFAULT_NORETURN.
9185
9186 2014-02-19 Tom Tromey <tromey@redhat.com>
9187
9188 * target-delegates.c: Rebuild.
9189 * target.c (update_current_target): Don't inherit or default
9190 to_download_trace_state_variable.
9191 * target.h (struct target_ops) <to_download_trace_state_variable>:
9192 Use TARGET_DEFAULT_NORETURN.
9193
9194 2014-02-19 Tom Tromey <tromey@redhat.com>
9195
9196 * target-delegates.c: Rebuild.
9197 * target.c (update_current_target): Don't inherit or default
9198 to_can_download_tracepoint.
9199 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
9200 TARGET_DEFAULT_RETURN.
9201
9202 2014-02-19 Tom Tromey <tromey@redhat.com>
9203
9204 * target-delegates.c: Rebuild.
9205 * target.c (update_current_target): Don't inherit or default
9206 to_download_tracepoint.
9207 * target.h (struct target_ops) <to_download_tracepoint>: Use
9208 TARGET_DEFAULT_NORETURN.
9209
9210 2014-02-19 Tom Tromey <tromey@redhat.com>
9211
9212 * target-delegates.c: Rebuild.
9213 * target.c (update_current_target): Don't inherit or default
9214 to_trace_init.
9215 * target.h (struct target_ops) <to_trace_init>: Use
9216 TARGET_DEFAULT_RETURN.
9217
9218 2014-02-19 Tom Tromey <tromey@redhat.com>
9219
9220 * target-delegates.c: Rebuild.
9221 * target.c (update_current_target): Don't inherit or default
9222 to_supports_string_tracing.
9223 * target.h (struct target_ops) <to_supports_string_tracing>: Use
9224 TARGET_DEFAULT_RETURN.
9225
9226 2014-02-19 Tom Tromey <tromey@redhat.com>
9227
9228 * target-delegates.c: Rebuild.
9229 * target.c (update_current_target): Don't inherit or default
9230 to_supports_enable_disable_tracepoint.
9231 * target.h (struct target_ops)
9232 <to_supports_enable_disable_tracepoint>: Use
9233 TARGET_DEFAULT_RETURN.
9234
9235 2014-02-19 Tom Tromey <tromey@redhat.com>
9236
9237 * target-delegates.c: Rebuild.
9238 * target.c (update_current_target): Don't inherit or default
9239 to_supports_multi_process.
9240 * target.h (struct target_ops) <to_supports_multi_process>: Use
9241 TARGET_DEFAULT_RETURN.
9242
9243 2014-02-19 Tom Tromey <tromey@redhat.com>
9244
9245 * target-delegates.c: Rebuild.
9246 * target.c (update_current_target): Don't inherit or default
9247 to_get_ada_task_ptid.
9248 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
9249 TARGET_DEFAULT_FUNC.
9250
9251 2014-02-19 Tom Tromey <tromey@redhat.com>
9252
9253 * target-delegates.c: Rebuild.
9254 * target.c (update_current_target): Don't inherit or default
9255 to_thread_architecture.
9256 * target.h (struct target_ops) <to_thread_architecture>: Use
9257 TARGET_DEFAULT_FUNC.
9258
9259 2014-02-19 Tom Tromey <tromey@redhat.com>
9260
9261 * target-delegates.c: Rebuild.
9262 * target.c (update_current_target): Don't inherit or default
9263 to_execution_direction.
9264 * target.h (struct target_ops) <to_execution_direction>: Use
9265 TARGET_DEFAULT_FUNC.
9266
9267 2014-02-19 Tom Tromey <tromey@redhat.com>
9268
9269 * target-delegates.c: Rebuild.
9270 * target.c (update_current_target): Don't inherit or default
9271 to_can_execute_reverse.
9272 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9273 TARGET_DEFAULT_RETURN.
9274 (target_can_execute_reverse): Unconditionally delegate.
9275
9276 2014-02-19 Tom Tromey <tromey@redhat.com>
9277
9278 * target-delegates.c: Rebuild.
9279 * target.c (update_current_target): Don't inherit or default
9280 to_goto_bookmark.
9281 (dummy_goto_bookmark): Remove.
9282 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9283 * target.h (struct target_ops) <to_goto_bookmark>: Use
9284 TARGET_DEFAULT_NORETURN.
9285
9286 2014-02-19 Tom Tromey <tromey@redhat.com>
9287
9288 * target-delegates.c: Rebuild.
9289 * target.c (update_current_target): Don't inherit or default
9290 to_get_bookmark.
9291 (dummy_get_bookmark): Remove.
9292 (init_dummy_target): Don't inherit or default to_get_bookmark.
9293 * target.h (struct target_ops) <to_get_bookmark>: Use
9294 TARGET_DEFAULT_NORETURN
9295
9296 2014-02-19 Tom Tromey <tromey@redhat.com>
9297
9298 * target-delegates.c: Rebuild.
9299 * target.c (update_current_target): Don't inherit or default
9300 to_make_corefile_notes.
9301 (init_dummy_target): Don't initialize to_make_corefile_notes.
9302 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9303 TARGET_DEFAULT_FUNC.
9304
9305 2014-02-19 Tom Tromey <tromey@redhat.com>
9306
9307 * target-delegates.c: Rebuild.
9308 * target.c (update_current_target): Don't inherit or default
9309 to_find_memory_regions.
9310 (init_dummy_target): Don't initialize to_find_memory_regions.
9311 * target.h (struct target_ops) <to_find_memory_regions>: Use
9312 TARGET_DEFAULT_FUNC.
9313
9314 2014-02-19 Tom Tromey <tromey@redhat.com>
9315
9316 * target-delegates.c: Rebuild.
9317 * target.c (update_current_target): Don't inherit or default
9318 to_log_command.
9319 * target.h (struct target_ops) <to_log_command>: Use
9320 TARGET_DEFAULT_IGNORE.
9321 (target_log_command): Unconditionally delegate.
9322
9323 2014-02-19 Tom Tromey <tromey@redhat.com>
9324
9325 * target-delegates.c: Rebuild.
9326 * target.c (update_current_target): Don't inherit or default
9327 to_pid_to_exec_file.
9328 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9329 TARGET_DEFAULT_RETURN.
9330
9331 2014-02-19 Tom Tromey <tromey@redhat.com>
9332
9333 * target-delegates.c: Rebuild.
9334 * target.c (update_current_target): Don't inherit or default
9335 to_thread_name.
9336 (target_thread_name): Unconditionally delegate.
9337 * target.h (struct target_ops) <to_thread_name>: Use
9338 TARGET_DEFAULT_RETURN.
9339
9340 2014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * target-delegates.c: Rebuild.
9343 * target.c (update_current_target): Don't inherit or default
9344 to_extra_thread_info.
9345 * target.h (struct target_ops) <to_extra_thread_info>: Use
9346 TARGET_DEFAULT_RETURN.
9347
9348 2014-02-19 Tom Tromey <tromey@redhat.com>
9349
9350 * target-delegates.c: Rebuild.
9351 * target.c (update_current_target): Don't inherit or default
9352 to_has_exited.
9353 * target.h (struct target_ops) <to_has_exited>: Use
9354 TARGET_DEFAULT_RETURN..
9355
9356 2014-02-19 Tom Tromey <tromey@redhat.com>
9357
9358 * target-delegates.c: Rebuild.
9359 * target.c (update_current_target): Don't inherit or default
9360 to_set_syscall_catchpoint.
9361 (return_one): Remove.
9362 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9363 TARGET_DEFAULT_RETURN.
9364
9365 2014-02-19 Tom Tromey <tromey@redhat.com>
9366
9367 * target-delegates.c: Rebuild.
9368 * target.c (update_current_target): Don't inherit or default
9369 to_insert_exec_catchpoint.
9370 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9371 TARGET_DEFAULT_RETURN.
9372
9373 2014-01-08 Tom Tromey <tromey@redhat.com>
9374
9375 * target-delegates.c: Rebuild.
9376 * target.c (update_current_target): Don't inherit or default
9377 to_insert_exec_catchpoint.
9378 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9379 TARGET_DEFAULT_RETURN.
9380
9381 2014-02-19 Tom Tromey <tromey@redhat.com>
9382
9383 * target-delegates.c: Rebuild.
9384 * target.c (update_current_target): Don't inherit or default
9385 to_remove_vfork_catchpoint.
9386 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9387 TARGET_DEFAULT_RETURN.
9388
9389 2014-02-19 Tom Tromey <tromey@redhat.com>
9390
9391 * target-delegates.c: Rebuild.
9392 * target.c (update_current_target): Don't inherit or default
9393 to_insert_vfork_catchpoint.
9394 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9395 TARGET_DEFAULT_RETURN.
9396
9397 2014-02-19 Tom Tromey <tromey@redhat.com>
9398
9399 * target-delegates.c: Rebuild.
9400 * target.c (update_current_target): Don't inherit or default
9401 to_remove_fork_catchpoint.
9402 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9403 TARGET_DEFAULT_RETURN.
9404
9405 2014-02-19 Tom Tromey <tromey@redhat.com>
9406
9407 * target-delegates.c: Rebuild.
9408 * target.c (update_current_target): Don't inherit or default
9409 to_insert_fork_catchpoint.
9410 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9411 TARGET_DEFAULT_RETURN.
9412
9413 2014-02-19 Tom Tromey <tromey@redhat.com>
9414
9415 * target-delegates.c: Rebuild.
9416 * target.c (update_current_target): Don't inherit or default
9417 to_post_startup_inferior.
9418 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9419 TARGET_DEFAULT_IGNORE.
9420
9421 2014-02-19 Tom Tromey <tromey@redhat.com>
9422
9423 * target-delegates.c: Rebuild.
9424 * target.c (update_current_target): Don't inherit or default
9425 to_load.
9426 * target.h (struct target_ops) <to_load>: Use
9427 TARGET_DEFAULT_NORETURN.
9428
9429 2014-02-19 Tom Tromey <tromey@redhat.com>
9430
9431 * target-delegates.c: Rebuild.
9432 * target.c (update_current_target): Don't inherit or default
9433 to_terminal_info.
9434 * target.h (struct target_ops) <to_terminal_info>: Use
9435 TARGET_DEFAULT_FUNC.
9436
9437 2014-02-19 Tom Tromey <tromey@redhat.com>
9438
9439 * target-delegates.c: Rebuild.
9440 * target.c (update_current_target): Don't inherit or default
9441 to_terminal_save_ours.
9442 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9443 TARGET_DEFAULT_IGNORE.
9444
9445 2014-02-19 Tom Tromey <tromey@redhat.com>
9446
9447 * target-delegates.c: Rebuild.
9448 * target.c (update_current_target): Don't inherit or default
9449 to_terminal_ours.
9450 * target.h (struct target_ops) <to_terminal_ours>: Use
9451 TARGET_DEFAULT_IGNORE.
9452
9453 2014-02-19 Tom Tromey <tromey@redhat.com>
9454
9455 * target-delegates.c: Rebuild.
9456 * target.c (update_current_target): Don't inherit or default
9457 to_terminal_ours_for_output.
9458 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9459 TARGET_DEFAULT_IGNORE.
9460
9461 2014-02-19 Tom Tromey <tromey@redhat.com>
9462
9463 * target-delegates.c: Rebuild.
9464 * target.c (update_current_target): Don't inherit or default
9465 to_terminal_inferior.
9466 * target.h (struct target_ops) <to_terminal_inferior>: Use
9467 TARGET_DEFAULT_IGNORE.
9468
9469 2014-02-19 Tom Tromey <tromey@redhat.com>
9470
9471 * target-delegates.c: Rebuild.
9472 * target.c (update_current_target): Don't inherit or default
9473 to_terminal_init.
9474 * target.h (struct target_ops) <to_terminal_init>: Use
9475 TARGET_DEFAULT_IGNORE.
9476
9477 2014-02-19 Tom Tromey <tromey@redhat.com>
9478
9479 * target-delegates.c: Rebuild.
9480 * target.c (update_current_target): Don't inherit or default
9481 to_can_accel_watchpoint_condition.
9482 * target.h (struct target_ops)
9483 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9484
9485 2014-02-19 Tom Tromey <tromey@redhat.com>
9486
9487 * target-delegates.c: Rebuild.
9488 * target.c (update_current_target): Don't inherit or default
9489 to_region_ok_for_hw_watchpoint.
9490 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9491 Use TARGET_DEFAULT_FUNC.
9492
9493 2014-02-19 Tom Tromey <tromey@redhat.com>
9494
9495 * target-delegates.c: Rebuild.
9496 * target.c (update_current_target): Don't inherit or default
9497 to_watchpoint_addr_within_range.
9498 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9499 Use TARGET_DEFAULT_FUNC.
9500
9501 2014-02-19 Tom Tromey <tromey@redhat.com>
9502
9503 * target-delegates.c: Rebuild.
9504 * target.c (update_current_target): Don't inherit or default
9505 to_remove_watchpoint.
9506 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9507 TARGET_DEFAULT_NORETURN.
9508
9509 2014-02-19 Tom Tromey <tromey@redhat.com>
9510
9511 * target-delegates.c: Rebuild.
9512 * target.c (update_current_target): Don't inherit or default
9513 to_insert_watchpoint.
9514 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9515 TARGET_DEFAULT_RETURN.
9516
9517 2014-02-19 Tom Tromey <tromey@redhat.com>
9518
9519 * target-delegates.c: Rebuild.
9520 * target.c (update_current_target): Don't inherit or default
9521 to_remove_hw_breakpoint.
9522 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9523 TARGET_DEFAULT_RETURN.
9524
9525 2014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * target-delegates.c: Rebuild.
9528 * target.c (update_current_target): Don't inherit or default
9529 to_insert_hw_breakpoint.
9530 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9531 TARGET_DEFAULT_RETURN.
9532
9533 2014-02-19 Tom Tromey <tromey@redhat.com>
9534
9535 * target-delegates.c: Rebuild.
9536 * target.c (update_current_target): Don't inherit or default
9537 to_can_use_hw_breakpoint.
9538 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9539 TARGET_DEFAULT_RETURN.
9540
9541 2014-02-19 Tom Tromey <tromey@redhat.com>
9542
9543 * target-delegates.c: Rebuild.
9544 * target.c (update_current_target): Don't inherit or default
9545 to_files_info.
9546 * target.h (struct target_ops) <to_files_info>: Use
9547 TARGET_DEFAULT_IGNORE.
9548
9549 2014-02-19 Tom Tromey <tromey@redhat.com>
9550
9551 * target-delegates.c: Rebuild.
9552 * target.c (update_current_target): Don't inherit or default
9553 to_store.
9554 * target.h (struct target_ops) <to_store>: Use
9555 TARGET_DEFAULT_NORETURN.
9556
9557 2014-02-19 Tom Tromey <tromey@redhat.com>
9558
9559 * target-delegates.c: Rebuild.
9560 * target.c (update_current_target): Don't inherit or default
9561 to_post_attach.
9562 * target.h (struct target_ops) <to_post_attach>: Use
9563 TARGET_DEFAULT_IGNORE.
9564
9565 2014-02-19 Tom Tromey <tromey@redhat.com>
9566
9567 * target-delegates.c: Rebuild.
9568 * target.c (update_current_target): Don't inherit or default
9569 to_rcmd.
9570 (default_rcmd): New function.
9571 (do_monitor_command): Unconditionally delegate.
9572 * target.h (struct target_ops) <to_rmcd>: Use
9573 TARGET_DEFAULT_FUNC.
9574
9575 2014-02-19 Tom Tromey <tromey@redhat.com>
9576
9577 * target-delegates.c: Rebuild.
9578 * target.c (init_dummy_target): Don't initialize to_attach.
9579 (target_attach): Unconditionally delegate.
9580 * target.h (struct target_ops) <to_attach>: Use
9581 TARGET_DEFAULT_FUNC.
9582
9583 2014-02-19 Tom Tromey <tromey@redhat.com>
9584
9585 * target-delegates.c: Rebuild.
9586 * target.c (target_detach): Unconditionally delegate.
9587 (init_dummy_target): Don't initialize to_detach.
9588 * target.h (struct target_ops) <to_detach>: Use
9589 TARGET_DEFAULT_IGNORE.
9590
9591 2014-02-19 Tom Tromey <tromey@redhat.com>
9592
9593 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9594 Add argument.
9595 (target_augmented_libraries_svr4_read): Add argument.
9596 * target.c (update_current_target): Update.
9597 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9598 argument.
9599
9600 2014-02-19 Tom Tromey <tromey@redhat.com>
9601
9602 * target.h (struct target_ops) <to_call_history_range>: Add
9603 argument.
9604 * target.c (target_call_history_range): Add argument.
9605 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9606 argument.
9607 (record_btrace_call_history_from): Update.
9608
9609 2014-02-19 Tom Tromey <tromey@redhat.com>
9610
9611 * target.h (struct target_ops) <to_call_history_from>: Add
9612 argument.
9613 * target.c (target_call_history_from): Add argument.
9614 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9615 argument.
9616
9617 2014-02-19 Tom Tromey <tromey@redhat.com>
9618
9619 * target.h (struct target_ops) <to_call_history>: Add argument.
9620 * target.c (target_call_history): Add argument.
9621 * record-btrace.c (record_btrace_call_history): Add 'self'
9622 argument.
9623
9624 2014-02-19 Tom Tromey <tromey@redhat.com>
9625
9626 * target.h (struct target_ops) <to_insn_history_range>: Add
9627 argument.
9628 * target.c (target_insn_history_range): Add argument.
9629 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9630 argument.
9631 (record_btrace_insn_history_from): Update.
9632
9633 2014-02-19 Tom Tromey <tromey@redhat.com>
9634
9635 * target.h (struct target_ops) <to_insn_history_from>: Add
9636 argument.
9637 * target.c (target_insn_history_from): Add argument.
9638 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9639 argument.
9640
9641 2014-02-19 Tom Tromey <tromey@redhat.com>
9642
9643 * target.h (struct target_ops) <to_insn_history>: Add argument.
9644 * target.c (target_insn_history): Add argument.
9645 * record-btrace.c (record_btrace_insn_history): Add 'self'
9646 argument.
9647
9648 2014-02-19 Tom Tromey <tromey@redhat.com>
9649
9650 * target.h (struct target_ops) <to_goto_record>: Add argument.
9651 * target.c (target_goto_record): Add argument.
9652 * record-full.c (record_full_goto): Add 'self' argument.
9653 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9654
9655 2014-02-19 Tom Tromey <tromey@redhat.com>
9656
9657 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9658 * target.c (target_goto_record_end): Add argument.
9659 * record-full.c (record_full_goto_end): Add 'self' argument.
9660 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9661
9662 2014-02-19 Tom Tromey <tromey@redhat.com>
9663
9664 * target.h (struct target_ops) <to_goto_record_begin>: Add
9665 argument.
9666 * target.c (target_goto_record_begin): Add argument.
9667 * record-full.c (record_full_goto_begin): Add 'self' argument.
9668 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9669 argument.
9670
9671 2014-02-19 Tom Tromey <tromey@redhat.com>
9672
9673 * target.h (struct target_ops) <to_record_is_replaying>: Add
9674 argument.
9675 * target.c (target_record_is_replaying): Add argument.
9676 * record-full.c (record_full_is_replaying): Add 'self' argument.
9677 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9678 argument.
9679 (record_btrace_xfer_partial, record_btrace_store_registers)
9680 (record_btrace_prepare_to_store, record_btrace_resume)
9681 (record_btrace_wait, record_btrace_decr_pc_after_break)
9682 (record_btrace_find_new_threads, record_btrace_thread_alive):
9683 Update.
9684
9685 2014-02-19 Tom Tromey <tromey@redhat.com>
9686
9687 * target.h (struct target_ops) <to_delete_record>: Add argument.
9688 * target.c (target_delete_record): Add argument.
9689 * record-full.c (record_full_delete): Add 'self' argument.
9690
9691 2014-02-19 Tom Tromey <tromey@redhat.com>
9692
9693 * target.h (struct target_ops) <to_save_record>: Add argument.
9694 * target.c (target_save_record): Add argument.
9695 * record-full.c (record_full_save): Add 'self' argument.
9696 (record_full_save): Add 'self' argument.
9697
9698 2014-02-19 Tom Tromey <tromey@redhat.com>
9699
9700 * target.h (struct target_ops) <to_info_record>: Add argument.
9701 * target.c (target_info_record): Add argument.
9702 * record.c (info_record_command): Add argument.
9703 * record-full.c (record_full_info): Add 'self' argument.
9704 * record-btrace.c (record_btrace_info): Add 'self' argument.
9705
9706 2014-02-19 Tom Tromey <tromey@redhat.com>
9707
9708 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9709 * target.c (target_stop_recording): Add argument.
9710 * record.c (record_stop): Add argument.
9711 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9712 argument.
9713
9714 2014-02-19 Tom Tromey <tromey@redhat.com>
9715
9716 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9717 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9718 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9719 argument.
9720 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9721 (_initialize_amd64_linux_nat): Use it.
9722 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9723 (_initialize_i386_linux_nat): Use it.
9724
9725 2014-02-19 Tom Tromey <tromey@redhat.com>
9726
9727 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9728 * target.c (target_teardown_btrace): Add argument.
9729 * remote.c (remote_teardown_btrace): Add 'self' argument.
9730 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9731 argument.
9732 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9733 argument.
9734
9735 2014-02-19 Tom Tromey <tromey@redhat.com>
9736
9737 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9738 * target.c (target_disable_btrace): Add argument.
9739 * remote.c (remote_disable_btrace): Add 'self' argument.
9740 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9741 argument.
9742 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9743 argument.
9744
9745 2014-02-19 Tom Tromey <tromey@redhat.com>
9746
9747 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9748 * target.c (target_enable_btrace): Add argument.
9749 * remote.c (remote_enable_btrace): Add 'self' argument.
9750 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9751 argument.
9752 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9753 argument.
9754
9755 2014-02-19 Tom Tromey <tromey@redhat.com>
9756
9757 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9758 (target_can_use_agent): Add argument.
9759 * target.c (update_current_target): Update.
9760 * remote.c (remote_can_use_agent): Add 'self' argument.
9761 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9762
9763 2014-02-19 Tom Tromey <tromey@redhat.com>
9764
9765 * target.h (struct target_ops) <to_use_agent>: Add argument.
9766 (target_use_agent): Add argument.
9767 * target.c (update_current_target): Update.
9768 * remote.c (remote_use_agent): Add 'self' argument.
9769 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9770
9771 2014-02-19 Tom Tromey <tromey@redhat.com>
9772
9773 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9774 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9775 (target_traceframe_info): Add argument.
9776 * target.c (update_current_target): Update.
9777 * remote.c (remote_traceframe_info): Add 'self' argument.
9778 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9779
9780 2014-02-19 Tom Tromey <tromey@redhat.com>
9781
9782 * target.h (target_static_tracepoint_markers_by_strid): Add
9783 argument.
9784 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9785 'self' argument.
9786 * target.c (update_current_target): Update.
9787 * remote.c (struct target_ops)
9788 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9789 * linux-nat.c (struct target_ops)
9790 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9791
9792 2014-02-19 Tom Tromey <tromey@redhat.com>
9793
9794 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9795 Add argument.
9796 (target_static_tracepoint_marker_at): Add argument.
9797 * target.c (update_current_target): Update.
9798 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9799 argument.
9800
9801 2014-02-19 Tom Tromey <tromey@redhat.com>
9802
9803 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9804 (target_set_permissions): Add argument.
9805 * target.c (update_current_target): Update.
9806 * remote.c (remote_set_permissions): Add 'self' argument.
9807 (remote_start_remote): Update.
9808
9809 2014-02-19 Tom Tromey <tromey@redhat.com>
9810
9811 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9812 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9813 (target_get_tib_address): Add argument.
9814 * target.c (update_current_target): Update.
9815 * remote.c (remote_get_tib_address): Add 'self' argument.
9816
9817 2014-02-19 Tom Tromey <tromey@redhat.com>
9818
9819 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9820 (target_set_trace_notes): Add argument.
9821 * target.c (update_current_target): Update.
9822 * remote.c (remote_set_trace_notes): Add 'self' argument.
9823
9824 2014-02-19 Tom Tromey <tromey@redhat.com>
9825
9826 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9827 argument.
9828 (target_set_trace_buffer_size): Add argument.
9829 * target.c (update_current_target): Update.
9830 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9831
9832 2014-02-19 Tom Tromey <tromey@redhat.com>
9833
9834 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9835 argument.
9836 (target_set_circular_trace_buffer): Add argument.
9837 * target.c (update_current_target): Update.
9838 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9839 argument.
9840
9841 2014-02-19 Tom Tromey <tromey@redhat.com>
9842
9843 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9844 argument.
9845 (target_set_disconnected_tracing): Add argument.
9846 * target.c (update_current_target): Update.
9847 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9848
9849 2014-02-19 Tom Tromey <tromey@redhat.com>
9850
9851 * target.h (struct target_ops)
9852 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9853 (target_get_min_fast_tracepoint_insn_len): Add argument.
9854 * target.c (update_current_target): Update.
9855 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9856 argument.
9857
9858 2014-02-19 Tom Tromey <tromey@redhat.com>
9859
9860 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9861 argument.
9862 (target_get_raw_trace_data): Add argument.
9863 * target.c (update_current_target): Update.
9864 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9865
9866 2014-02-19 Tom Tromey <tromey@redhat.com>
9867
9868 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9869 Add argument.
9870 (target_upload_trace_state_variables): Add argument.
9871 * target.c (update_current_target): Update.
9872 * remote.c (remote_upload_trace_state_variables): Add 'self'
9873 argument.
9874 (remote_start_remote): Update.
9875
9876 2014-02-19 Tom Tromey <tromey@redhat.com>
9877
9878 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9879 argument.
9880 (target_upload_tracepoints): Add argument.
9881 * target.c (update_current_target): Update.
9882 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9883 (remote_start_remote): Update.
9884
9885 2014-02-19 Tom Tromey <tromey@redhat.com>
9886
9887 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9888 (target_save_trace_data): Add argument.
9889 * target.c (update_current_target): Update.
9890 * remote.c (remote_save_trace_data): Add 'self' argument.
9891
9892 2014-02-19 Tom Tromey <tromey@redhat.com>
9893
9894 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9895 argument.
9896 * target.h (struct target_ops)
9897 <to_get_trace_state_variable_value>: Add argument.
9898 (target_get_trace_state_variable_value): Add argument.
9899 * target.c (update_current_target): Update.
9900 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9901 argument.
9902 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9903
9904 2014-02-19 Tom Tromey <tromey@redhat.com>
9905
9906 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9907 * target.h (struct target_ops) <to_trace_find>: Add argument.
9908 (target_trace_find): Add argument.
9909 * target.c (update_current_target): Update.
9910 * remote.c (remote_trace_find): Add 'self' argument.
9911 * ctf.c (ctf_trace_find): Add 'self' argument.
9912
9913 2014-02-19 Tom Tromey <tromey@redhat.com>
9914
9915 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9916 (target_trace_stop): Add argument.
9917 * target.c (update_current_target): Update.
9918 * remote.c (remote_trace_stop): Add 'self' argument.
9919
9920 2014-02-19 Tom Tromey <tromey@redhat.com>
9921
9922 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9923 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9924 argument.
9925 (target_get_tracepoint_status): Add argument.
9926 * target.c (update_current_target): Update.
9927 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9928
9929 2014-02-19 Tom Tromey <tromey@redhat.com>
9930
9931 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9932 * target.h (struct target_ops) <to_get_trace_status>: Add
9933 argument.
9934 (target_get_trace_status): Add argument.
9935 * target.c (update_current_target): Update.
9936 * remote.c (remote_get_trace_status): Add 'self' argument.
9937 (remote_start_remote, remote_can_download_tracepoint): Update.
9938 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9939
9940 2014-02-19 Tom Tromey <tromey@redhat.com>
9941
9942 * target.h (struct target_ops) <to_trace_start>: Add argument.
9943 (target_trace_start): Add argument.
9944 * target.c (update_current_target): Update.
9945 * remote.c (remote_trace_start): Add 'self' argument.
9946
9947 2014-02-19 Tom Tromey <tromey@redhat.com>
9948
9949 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9950 Add argument.
9951 (target_trace_set_readonly_regions): Add argument.
9952 * target.c (update_current_target): Update.
9953 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9954 argument.
9955
9956 2014-02-19 Tom Tromey <tromey@redhat.com>
9957
9958 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9959 argument.
9960 (target_disable_tracepoint): Add argument.
9961 * target.c (update_current_target): Update.
9962 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9963
9964 2014-02-19 Tom Tromey <tromey@redhat.com>
9965
9966 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9967 argument.
9968 (target_enable_tracepoint): Add argument.
9969 * target.c (update_current_target): Update.
9970 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9971
9972 2014-02-19 Tom Tromey <tromey@redhat.com>
9973
9974 * target.h (struct target_ops) <to_download_trace_state_variable>:
9975 Add argument.
9976 (target_download_trace_state_variable): Add argument.
9977 * target.c (update_current_target): Update.
9978 * remote.c (remote_download_trace_state_variable): Add 'self'
9979 argument.
9980
9981 2014-02-19 Tom Tromey <tromey@redhat.com>
9982
9983 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9984 argument.
9985 (target_can_download_tracepoint): Add argument.
9986 * target.c (update_current_target): Update.
9987 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9988
9989 2014-02-19 Tom Tromey <tromey@redhat.com>
9990
9991 * target.h (struct target_ops) <to_download_tracepoint>: Add
9992 argument.
9993 (target_download_tracepoint): Add argument.
9994 * target.c (update_current_target): Update.
9995 * remote.c (remote_download_tracepoint): Add 'self' argument.
9996
9997 2014-02-19 Tom Tromey <tromey@redhat.com>
9998
9999 * target.h (struct target_ops) <to_trace_init>: Add argument.
10000 (target_trace_init): Add argument.
10001 * target.c (update_current_target): Update.
10002 * remote.c (remote_trace_init): Add 'self' argument.
10003
10004 2014-02-19 Tom Tromey <tromey@redhat.com>
10005
10006 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10007 * target.c (target_fileio_readlink): Add argument.
10008 * remote.c (remote_hostio_readlink): Add 'self' argument.
10009 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10010
10011 2014-02-19 Tom Tromey <tromey@redhat.com>
10012
10013 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10014 * target.c (target_fileio_unlink): Add argument.
10015 * remote.c (remote_hostio_unlink): Add 'self' argument.
10016 (remote_file_delete): Update.
10017 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10018
10019 2014-02-19 Tom Tromey <tromey@redhat.com>
10020
10021 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10022 * target.c (target_fileio_close): Add argument.
10023 * remote.c (remote_hostio_close): Add 'self' argument.
10024 (remote_hostio_close_cleanup): Update.
10025 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10026 Update.
10027 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10028
10029 2014-02-19 Tom Tromey <tromey@redhat.com>
10030
10031 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10032 * target.c (target_fileio_pread): Add argument.
10033 * remote.c (remote_hostio_pread): Add 'self' argument.
10034 (remote_bfd_iovec_pread, remote_file_get): Update.
10035 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10036
10037 2014-02-19 Tom Tromey <tromey@redhat.com>
10038
10039 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10040 * target.c (target_fileio_pwrite): Add argument.
10041 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10042 (remote_file_put): Update.
10043 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10044
10045 2014-02-19 Tom Tromey <tromey@redhat.com>
10046
10047 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10048 * target.c (target_fileio_open): Add argument.
10049 * remote.c (remote_hostio_open): Add 'self' argument.
10050 (remote_bfd_iovec_open): Add 'self' argument.
10051 (remote_file_put): Add 'self' argument.
10052 (remote_file_get): Add 'self' argument.
10053 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10054
10055 2014-02-19 Tom Tromey <tromey@redhat.com>
10056
10057 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10058 Add argument.
10059 (target_can_run_breakpoint_commands): Add argument.
10060 * target.c (update_current_target): Update.
10061 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
10062 argument.
10063 (remote_insert_breakpoint): Add 'self' argument.
10064 (remote_insert_hw_breakpoint): Add 'self' argument.
10065 (remote_can_run_breakpoint_commands): Add 'self' argument.
10066
10067 2014-02-19 Tom Tromey <tromey@redhat.com>
10068
10069 * target.h (struct target_ops)
10070 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
10071 (target_supports_evaluation_of_breakpoint_conditions): Add
10072 argument.
10073 * target.c (update_current_target): Update.
10074 * remote.c (remote_supports_cond_breakpoints): Add 'self'
10075 argument.
10076 (remote_insert_breakpoint): Add 'self' argument.
10077 (remote_insert_hw_breakpoint): Add 'self' argument.
10078 (remote_supports_cond_breakpoints): Add 'self' argument.
10079
10080 2014-02-19 Tom Tromey <tromey@redhat.com>
10081
10082 * target.h (struct target_ops) <to_supports_string_tracing>: Add
10083 argument.
10084 (target_supports_string_tracing): Add argument.
10085 * target.c (update_current_target): Update.
10086 * remote.c (remote_supports_string_tracing): Add 'self' argument.
10087
10088 2014-02-19 Tom Tromey <tromey@redhat.com>
10089
10090 * target.h (struct target_ops)
10091 <to_supports_disable_randomization>: Add argument.
10092 * target.c (find_default_supports_disable_randomization): Add
10093 argument.
10094 (target_supports_disable_randomization): Add argument.
10095 (find_default_supports_disable_randomization): Add 'self'
10096 argument.
10097 * remote.c (extended_remote_supports_disable_randomization): Add
10098 'self' argument.
10099 (remote_supports_disable_randomization): Add 'self' argument.
10100 (extended_remote_create_inferior): Update.
10101 * linux-nat.c (linux_nat_supports_disable_randomization): Add
10102 'self' argument.
10103
10104 2014-02-19 Tom Tromey <tromey@redhat.com>
10105
10106 * target.h (struct target_ops)
10107 <to_supports_enable_disable_tracepoint>: Add argument.
10108 (target_supports_enable_disable_tracepoint): Add argument.
10109 * target.c (update_current_target): Update.
10110 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
10111 argument.
10112
10113 2014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target.h (struct target_ops) <to_supports_multi_process>: Add
10116 argument.
10117 (target_supports_multi_process): Add argument.
10118 * target.c (update_current_target): Update.
10119 * remote.c (remote_supports_multi_process): Add 'self' argument.
10120 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
10121 argument.
10122 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
10123 argument.
10124
10125 2014-02-19 Tom Tromey <tromey@redhat.com>
10126
10127 * target.h (struct target_ops) <to_execution_direction>: Add
10128 argument.
10129 (target_execution_direction): Add argument.
10130 * target.c (default_execution_direction): Add 'self' argument.
10131 * record-full.c (record_full_execution_direction): Add 'self'
10132 argument.
10133
10134 2014-02-19 Tom Tromey <tromey@redhat.com>
10135
10136 * target.h (struct target_ops) <to_can_execute_reverse>: Add
10137 argument.
10138 (target_can_execute_reverse): Add argument.
10139 * remote.c (remote_can_execute_reverse): Add 'self' argument.
10140 * record-full.c (record_full_can_execute_reverse): Add 'self'
10141 argument.
10142 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
10143 argument.
10144
10145 2014-02-19 Tom Tromey <tromey@redhat.com>
10146
10147 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
10148 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
10149 argument.
10150 (target_get_ada_task_ptid): Add argument.
10151 * target.c (update_current_target): Update.
10152 (default_get_ada_task_ptid): Add 'self' argument.
10153 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
10154 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
10155 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
10156 argument.
10157 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
10158 argument.
10159 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
10160 argument.
10161 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
10162 argument.
10163 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
10164 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
10165 argument.
10166
10167 2014-02-19 Tom Tromey <tromey@redhat.com>
10168
10169 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
10170 (target_goto_bookmark): Add argument.
10171 * target.c (dummy_goto_bookmark): Add 'self' argument.
10172 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
10173
10174 2014-02-19 Tom Tromey <tromey@redhat.com>
10175
10176 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
10177 (target_get_bookmark): Add argument.
10178 * target.c (dummy_get_bookmark): Add 'self' argument.
10179 * record-full.c (record_full_get_bookmark): Add 'self' argument.
10180
10181 2014-02-19 Tom Tromey <tromey@redhat.com>
10182
10183 * target.h (struct target_ops) <to_make_corefile_notes>: Add
10184 argument.
10185 (target_make_corefile_notes): Add argument.
10186 * target.c (dummy_make_corefile_notes): Add 'self' argument.
10187 * procfs.c (procfs_make_note_section): Add 'self' argument.
10188 (procfs_make_note_section): Add 'self' argument.
10189 (procfs_make_note_section): Add 'self' argument.
10190 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
10191 argument.
10192 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
10193 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
10194 * exec.c (exec_make_note_section): Add 'self' argument.
10195 (exec_make_note_section): Add 'self' argument.
10196
10197 2014-02-19 Tom Tromey <tromey@redhat.com>
10198
10199 * target.h (struct target_ops) <to_find_memory_regions>: Add
10200 argument.
10201 (target_find_memory_regions): Add argument.
10202 * target.c (dummy_find_memory_regions): Add 'self' argument.
10203 * procfs.c (proc_find_memory_regions): Add 'self' argument.
10204 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
10205 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
10206 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
10207 * exec. (exec_do_find_memory_regions): New global.
10208 (exec_set_find_memory_regions): Rewrite.
10209 (exec_find_memory_regions): New function.
10210 (init_exec_ops): Use exec_find_memory_regions.
10211
10212 2014-02-19 Tom Tromey <tromey@redhat.com>
10213
10214 * target.h (struct target_ops) <to_supports_non_stop>: Add
10215 argument.
10216 * target.c (find_default_supports_non_stop): Add argument.
10217 (target_supports_non_stop): Add argument.
10218 (find_default_supports_non_stop): Add 'self' argument.
10219 * remote.c (remote_supports_non_stop): Add 'self' argument.
10220 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
10221
10222 2014-02-19 Tom Tromey <tromey@redhat.com>
10223
10224 * target.h (struct target_ops) <to_log_command>: Add argument.
10225 (target_log_command): Add argument.
10226 * serial.h (serial_log_command): Add 'self' argument.
10227 * serial.c (serial_log_command): Add 'self' argument.
10228
10229 2014-02-19 Tom Tromey <tromey@redhat.com>
10230
10231 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
10232 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
10233 argument.
10234 (target_pid_to_exec_file): Add argument.
10235 * target.c (debug_to_pid_to_exec_file): Add argument.
10236 (update_current_target): Update.
10237 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
10238 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
10239 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
10240 (linux_handle_extended_wait): Update.
10241 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
10242 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
10243 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
10244 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
10245
10246 2014-02-19 Tom Tromey <tromey@redhat.com>
10247
10248 * target.h (struct target_ops) <to_rcmd>: Add argument.
10249 (target_rcmd): Add argument.
10250 * target.c (debug_to_rcmd): Add argument.
10251 (update_current_target, do_monitor_command): Update.
10252 * remote.c (remote_rcmd): Add 'self' argument.
10253 * monitor.c (monitor_rcmd): Add 'self' argument.
10254
10255 2014-02-19 Tom Tromey <tromey@redhat.com>
10256
10257 * windows-nat.c (windows_stop): Add 'self' argument.
10258 * target.h (struct target_ops) <to_stop>: Add argument.
10259 * target.c (target_stop): Add argument.
10260 (debug_to_stop): Add argument.
10261 (update_current_target): Update.
10262 * remote.c (remote_stop): Add 'self' argument.
10263 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10264 (gdbsim_cntrl_c): Update.
10265 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10266 * procfs.c (procfs_stop): Add 'self' argument.
10267 * nto-procfs.c (procfs_stop): Add 'self' argument.
10268 * monitor.c (monitor_stop): Add 'self' argument.
10269 (monitor_open): Update.
10270 * linux-nat.c (linux_nat_stop): Add argument.
10271 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10272 * gnu-nat.c (gnu_stop): Add 'self' argument.
10273 * darwin-nat.c (darwin_stop): Add 'self' argument.
10274
10275 2014-02-19 Tom Tromey <tromey@redhat.com>
10276
10277 * target.h (struct target_ops) <to_thread_name>: Add argument.
10278 * target.c (target_thread_name): Add argument.
10279 (update_current_target): Update.
10280 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10281
10282 2014-02-19 Tom Tromey <tromey@redhat.com>
10283
10284 * target.h (struct target_ops) <to_extra_thread_info>: Add
10285 argument.
10286 (target_extra_thread_info): Add argument.
10287 * target.c (update_current_target): Update.
10288 * remote.c (remote_threads_extra_info): Add 'self' argument.
10289 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10290 argument.
10291 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10292 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10293 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10294 argument.
10295 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10296 argument.
10297 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10298 argument.
10299 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10300 argument.
10301
10302 2014-02-19 Tom Tromey <tromey@redhat.com>
10303
10304 * target.h (struct target_ops) <to_program_signals>: Add argument.
10305 * target.c (target_program_signals): Add argument.
10306 * remote.c (remote_program_signals): Add 'self' argument.
10307
10308 2014-02-19 Tom Tromey <tromey@redhat.com>
10309
10310 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10311 * target.c (target_pass_signals): Add argument.
10312 * remote.c (remote_pass_signals): Add 'self' argument.
10313 (remote_start_remote): Update.
10314 * procfs.c (procfs_pass_signals): Add 'self' argument.
10315 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10316 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10317 (linux_nat_create_inferior, linux_nat_attach): Update.
10318
10319 2014-02-19 Tom Tromey <tromey@redhat.com>
10320
10321 * windows-nat.c (windows_can_run): Add 'self' argument.
10322 * target.h (struct target_ops) <to_can_run>: Add argument.
10323 (target_can_run): Add argument.
10324 * target.c (debug_to_can_run): Add argument.
10325 (update_current_target): Update.
10326 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10327 * inf-child.c (inf_child_can_run): Add 'self' argument.
10328 * go32-nat.c (go32_can_run): Add 'self' argument.
10329
10330 2014-02-19 Tom Tromey <tromey@redhat.com>
10331
10332 * target.h (struct target_ops) <to_has_exited>: Add argument.
10333 (target_has_exited): Add argument.
10334 * target.c (debug_to_has_exited): Add argument.
10335 (update_current_target): Update.
10336
10337 2014-02-19 Tom Tromey <tromey@redhat.com>
10338
10339 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10340 argument.
10341 (target_set_syscall_catchpoint): Add argument.
10342 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10343 argument.
10344 * target.c (update_current_target): Update.
10345
10346 2014-02-19 Tom Tromey <tromey@redhat.com>
10347
10348 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10349 argument.
10350 (target_remove_exec_catchpoint): Add argument.
10351 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10352 (update_current_target): Update.
10353 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10354 argument.
10355
10356 2014-02-19 Tom Tromey <tromey@redhat.com>
10357
10358 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10359 argument.
10360 (target_insert_exec_catchpoint): Add argument.
10361 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10362 (update_current_target): Update.
10363 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10364 argument.
10365
10366 2014-02-19 Tom Tromey <tromey@redhat.com>
10367
10368 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10369 argument.
10370 (target_remove_vfork_catchpoint): Add argument.
10371 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10372 (update_current_target): Update.
10373 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10374 argument.
10375
10376 2014-02-19 Tom Tromey <tromey@redhat.com>
10377
10378 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10379 argument.
10380 (target_insert_vfork_catchpoint): Add argument.
10381 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10382 (update_current_target): Update.
10383 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10384 argument.
10385
10386 2014-02-19 Tom Tromey <tromey@redhat.com>
10387
10388 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10389 argument.
10390 (target_remove_fork_catchpoint): Add argument.
10391 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10392 (update_current_target): Update.
10393 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10394 argument.
10395
10396 2014-02-19 Tom Tromey <tromey@redhat.com>
10397
10398 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10399 argument.
10400 (target_insert_fork_catchpoint): Add argument.
10401 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10402 (update_current_target): Update.
10403 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10404 argument.
10405
10406 2014-02-19 Tom Tromey <tromey@redhat.com>
10407
10408 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10409 argument.
10410 (target_post_startup_inferior): Add argument.
10411 * target.c (debug_to_post_startup_inferior): Add argument.
10412 (update_current_target): Update.
10413 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10414 argument.
10415 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10416 argument.
10417 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10418 argument.
10419 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10420 argument.
10421 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10422 'self' argument.
10423 (super_post_startup_inferior): Likewise.
10424 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10425 'self' argument.
10426 (super_post_startup_inferior): Likewise.
10427 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10428 Add 'self' argument.
10429 (super_post_startup_inferior): Likewise.
10430
10431 2014-02-19 Tom Tromey <tromey@redhat.com>
10432
10433 * target.h (struct target_ops) <to_load>: Add argument.
10434 * target.c (target_load): Add argument.
10435 (debug_to_load): Add argument.
10436 (update_current_target): Update.
10437 * remote.c (remote_load): Add 'self' argument.
10438 * remote-sim.c (gdbsim_load): Add 'self' argument.
10439 * remote-mips.c (mips_load): Add 'self' argument.
10440 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10441 * monitor.c (monitor_load): Add 'self' argument.
10442 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10443
10444 2014-02-19 Tom Tromey <tromey@redhat.com>
10445
10446 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10447 (target_terminal_info): Add argument.
10448 * target.c (debug_to_terminal_info): Add argument.
10449 (default_terminal_info): Likewise.
10450 * inflow.c (child_terminal_info): Add 'self' argument.
10451 * inferior.h (child_terminal_info): Add 'self' argument.
10452 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10453
10454 2014-02-19 Tom Tromey <tromey@redhat.com>
10455
10456 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10457 argument.
10458 (target_terminal_save_ours): Add argument.
10459 * target.c (debug_to_terminal_save_ours): Add argument.
10460 (update_current_target): Update.
10461 * inflow.c (terminal_save_ours): Add 'self' argument.
10462 * inferior.h (terminal_save_ours): Add 'self' argument.
10463
10464 2014-02-19 Tom Tromey <tromey@redhat.com>
10465
10466 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10467 (target_terminal_ours): Add argument.
10468 * target.c (debug_to_terminal_ours): Add argument.
10469 (update_current_target): Update.
10470 * remote.c (remote_terminal_ours): Add 'self' argument.
10471 (remote_close): Update.
10472 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10473 * inflow.c (terminal_ours): Add 'self' argument.
10474 * inferior.h (terminal_ours): Add 'self' argument.
10475 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10476
10477 2014-02-19 Pedro Alves <palves@redhat.com>
10478 Tom Tromey <tromey@redhat.com>
10479
10480 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10481 argument.
10482 (target_terminal_ours_for_output): Add argument.
10483 * target.c (debug_to_terminal_ours_for_output): Add argument.
10484 (update_current_target): Update.
10485 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10486 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10487 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10488
10489 2014-02-19 Tom Tromey <tromey@redhat.com>
10490
10491 * target.h (struct target_ops) <to_terminal_inferior>: Add
10492 argument.
10493 * target.c (target_terminal_inferior): Add argument.
10494 (update_current_target): Update.
10495 * remote.c (remote_terminal_inferior): Add 'self' argument.
10496 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10497 * inflow.c (terminal_inferior): Add 'self' argument.
10498 * inferior.h (terminal_inferior): Add 'self' argument.
10499 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10500 (go32_terminal_inferior): Add 'self' argument.
10501
10502 2014-02-19 Tom Tromey <tromey@redhat.com>
10503
10504 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10505 (target_terminal_init): Add argument.
10506 * target.c (debug_to_terminal_init): Add argument.
10507 (update_current_target): Update.
10508 * inflow.c (terminal_init_inferior): Add 'self' argument.
10509 * inferior.h (terminal_init_inferior): Add 'self' argument.
10510 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10511 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10512
10513 2014-02-19 Tom Tromey <tromey@redhat.com>
10514
10515 * target.h (struct target_ops)
10516 <to_can_accel_watchpoint_condition>: Add argument.
10517 (target_can_accel_watchpoint_condition): Add argument.
10518 * target.c (debug_to_can_accel_watchpoint_condition): Add
10519 argument.
10520 (update_current_target): Update.
10521 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10522 'self' argument.
10523
10524 2014-02-19 Tom Tromey <tromey@redhat.com>
10525
10526 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10527 Add argument.
10528 (target_region_ok_for_hw_watchpoint): Add argument.
10529 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10530 (default_region_ok_for_hw_watchpoint): Add argument.
10531 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10532 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10533 argument.
10534 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10535 argument.
10536 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10537 argument.
10538 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10539 'self' argument.
10540 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10541 'self' argument.
10542 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10543 'self' argument.
10544 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10545 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10546 'self' argument.
10547 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10548 Add 'self' argument.
10549
10550 2014-02-19 Tom Tromey <tromey@redhat.com>
10551
10552 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10553 argument.
10554 (target_insert_watchpoint): Add argument.
10555 * target.c (debug_to_insert_watchpoint): Add argument.
10556 (update_current_target): Update.
10557 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10558 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10559 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10560 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10561 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10562 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10563 argument.
10564 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10565 (procfs_insert_hw_watchpoint): Add 'self' argument.
10566 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10567 argument.
10568 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10569 argument.
10570 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10571 argument.
10572 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10573 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10574 argument.
10575 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10576 'self' argument.
10577
10578 2014-02-19 Tom Tromey <tromey@redhat.com>
10579
10580 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10581 argument.
10582 (target_remove_watchpoint): Add argument.
10583 * target.c (debug_to_remove_watchpoint): Add argument.
10584 (update_current_target): Update.
10585 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10586 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10587 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10588 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10589 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10590 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10591 argument.
10592 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10593 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10594 argument.
10595 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10596 argument.
10597 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10598 argument.
10599 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10600 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10601 argument.
10602 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10603 'self' argument.
10604
10605 2014-02-19 Tom Tromey <tromey@redhat.com>
10606
10607 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10608 argument.
10609 (target_remove_hw_breakpoint): Add argument.
10610 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10611 (update_current_target): Update.
10612 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10613 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10614 argument.
10615 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10616 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10617 argument.
10618 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10619 'self' argument.
10620
10621 2014-02-19 Tom Tromey <tromey@redhat.com>
10622
10623 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10624 argument.
10625 (target_insert_hw_breakpoint): Add argument.
10626 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10627 (update_current_target): Update.
10628 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10629 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10630 argument.
10631 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10632 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10633 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10634 argument.
10635 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10636 'self' argument.
10637
10638 2014-02-19 Tom Tromey <tromey@redhat.com>
10639
10640 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10641 argument.
10642 (target_can_use_hardware_watchpoint): Add argument.
10643 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10644 (update_current_target): Update.
10645 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10646 argument.
10647 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10648 argument.
10649 * remote.c (remote_check_watch_resources): Add 'self' argument.
10650 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10651 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10652 argument.
10653 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10654 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10655 argument.
10656 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10657 argument.
10658 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10659 argument.
10660 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10661 argument.
10662 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10663 argument.
10664 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10665 argument.
10666 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10667 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10668 argument.
10669 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10670 'self' argument.
10671
10672 2014-02-19 Tom Tromey <tromey@redhat.com>
10673
10674 * target.h (struct target_ops) <to_post_attach>: Add argument.
10675 (target_post_attach): Add argument.
10676 * target.c (debug_to_post_attach): Add argument.
10677 (update_current_target): Update.
10678 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10679 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10680 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10681 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10682 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10683
10684 2014-02-19 Tom Tromey <tromey@redhat.com>
10685
10686 * windows-nat.c (windows_close): Add 'self' argument.
10687 * tracepoint.c (tfile_close): Add 'self' argument.
10688 * target.h (struct target_ops) <to_close>: Add argument.
10689 * target.c (target_close): Add argument.
10690 (update_current_target): Update.
10691 * remote.c (remote_close): Add 'self' argument.
10692 * remote-sim.c (gdbsim_close): Add 'self' argument.
10693 * remote-mips.c (mips_close): Add 'self' argument.
10694 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10695 * record-full.c (record_full_close): Add 'self' argument.
10696 * record-btrace.c (record_btrace_close): Add 'self' argument.
10697 * monitor.h (monitor_close): Add 'self' argument.
10698 * monitor.c (monitor_close): Add 'self' argument.
10699 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10700 * linux-nat.c (linux_nat_close): Add argument.
10701 * go32-nat.c (go32_close): Add 'self' argument.
10702 * exec.c (exec_close_1): Add 'self' argument.
10703 * ctf.c (ctf_close): Add 'self' argument.
10704 * corelow.c (core_close): Add 'self' argument.
10705 (core_close_cleanup): Update.
10706 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10707 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10708
10709 2014-02-19 Tom Tromey <tromey@redhat.com>
10710
10711 * remote.c (remote_load): New function.
10712 (init_remote_ops): Use it.
10713
10714 2014-02-19 Tom Tromey <tromey@redhat.com>
10715
10716 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10717 argument.
10718 * common/linux-btrace.h (linux_supports_btrace): Update.
10719 * remote.c (remote_supports_btrace): Add "self" argument.
10720 * target-delegates.c: Rebuild.
10721 * target.c (target_supports_btrace): Remove.
10722 * target.h (struct target_ops) <to_supports_btrace>: Add
10723 target_ops argument.
10724 (target_supports_btrace): New define.
10725
10726 2014-02-19 Tom Tromey <tromey@redhat.com>
10727
10728 * record-full.c (record_full_beneath_to_resume_ops)
10729 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10730 (record_full_beneath_to_wait)
10731 (record_full_beneath_to_store_registers_ops)
10732 (record_full_beneath_to_store_registers)
10733 (record_full_beneath_to_xfer_partial_ops)
10734 (record_full_beneath_to_xfer_partial)
10735 (record_full_beneath_to_insert_breakpoint_ops)
10736 (record_full_beneath_to_insert_breakpoint)
10737 (record_full_beneath_to_remove_breakpoint_ops)
10738 (record_full_beneath_to_remove_breakpoint)
10739 (record_full_beneath_to_stopped_by_watchpoint)
10740 (record_full_beneath_to_stopped_data_address)
10741 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10742 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10743 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10744 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10745 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10746 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10747 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10748 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10749 (record_full_resume, record_full_wait_1)
10750 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10751 (record_full_store_registers, record_full_xfer_partial)
10752 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10753 (record_full_async, record_full_core_xfer_partial): Use target
10754 delegation.
10755 * target-delegates.c: Rebuild.
10756 * target.c (current_xfer_partial): Remove.
10757 (update_current_target): Do not INHERIT or de_fault
10758 to_insert_breakpoint, to_remove_breakpoint,
10759 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10760 to_is_async_p, to_async. Do not set to_xfer_partial field.
10761 (default_xfer_partial): Simplify.
10762 (current_xfer_partial): Remove.
10763 (target_wait, target_resume): Simplify.
10764 (find_default_can_async_p, find_default_is_async_p): Update.
10765 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10766 to_xfer_partial, to_stopped_by_watchpoint,
10767 to_stopped_data_address.
10768 (target_store_registers): Simplify.
10769 (forward_target_remove_breakpoint)
10770 (forward_target_insert_breakpoint): Remove.
10771 (target_remove_breakpoint, target_insert_breakpoint)
10772 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10773 * target.h (struct target_ops) <to_resume, to_wait,
10774 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10775 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10776 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10777 markup.
10778 (forward_target_remove_breakpoint)
10779 (forward_target_insert_breakpoint): Remove.
10780 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10781 directly.
10782 (record_btrace_insert_breakpoint): Delegate directly.
10783
10784 2014-02-19 Tom Tromey <tromey@redhat.com>
10785
10786 PR build/7701:
10787 * target-delegates.c: New file.
10788 * target.c: Include target-delegates.c.
10789 (init_dummy_target): Call install_dummy_methods.
10790 (complete_target_initialization): Call install_delegators.
10791 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10792 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10793 * make-target-delegates: New file.
10794
10795 2014-02-19 Tom Tromey <tromey@redhat.com>
10796
10797 * record.c (find_record_target): Use find_target_at.
10798 * target.c (find_target_at): New function.
10799 * target.h (find_target_at): Declare.
10800
10801 2014-02-19 Tom Tromey <tromey@redhat.com>
10802
10803 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10804 Add 'ops' argument.
10805 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10806 'ops' argument.
10807 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10808 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10809 'ops' argument.
10810 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10811 argument.
10812 * linux-nat.c (save_sigtrap): Update.
10813 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10814 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10815 (linux_nat_close): Update.
10816 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10817 argument.
10818 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10819 argument.
10820 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10821 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10822 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10823 (tmp_to_async): Add 'ops' argument.
10824 (record_full_stopped_by_watchpoint, record_full_async)
10825 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10826 argument.
10827 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10828 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10829 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10830 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10831 (remote_is_async_p, remote_async): Add 'ops' argument.
10832 (remote_stopped_data_address): Update.
10833 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10834 * target.c (update_current_target)
10835 (find_default_can_async_p, find_default_is_async_p): Update.
10836 (init_dummy_target): Update.
10837 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10838 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10839 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10840 (target_can_async_p, target_is_async_p, target_async)
10841 (target_stopped_by_watchpoint): Update.
10842
10843 2014-02-19 Yao Qi <yao@codesourcery.com>
10844
10845 PR gdb/16220
10846 * gdbarch.sh: Remove startup_gdbarch.
10847 * gdbarch.c: Regenerated.
10848 * gdbarch.h: Likewise.
10849
10850 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10851
10852 * rl78-tdep.c (rl78_g10_register_name): New function.
10853 (rl78_return_value): Add g10 support.
10854 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10855 g10.
10856
10857 2014-02-17 Doug Evans <xdje42@gmail.com>
10858
10859 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10860 (SUBDIR_GUILE_SRCS): Ditto.
10861 (scm-gsmob.o): Ditto.
10862
10863 2014-02-17 Yao Qi <yao@codesourcery.com>
10864
10865 * gnu-nat.c (ILL_RPC): Declare defined function.
10866
10867 2014-02-17 Yao Qi <yao@codesourcery.com>
10868
10869 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10870 mach_msg_type_number_t.
10871 (gnu_write_inferior): Likewise.
10872
10873 2014-02-17 Yao Qi <yao@codesourcery.com>
10874
10875 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10876 in format string.
10877 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10878 (inf_validate_procs, inf_signal): Likewise.
10879 (S_exception_raise_request): Likewise.
10880 (do_mach_notify_dead_name): Likewise.
10881 (steal_exc_port): Likewise.
10882 (gnu_read_inferior): Change 'copy_count''s type to
10883 mach_msg_type_number_t.
10884 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10885 format string.
10886
10887 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10888
10889 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10890 flag. Adjust all users; in particular...
10891 (gnu_wait): ..., don't decrement its value in here...
10892 (gnu_create_inferior): ..., and instead set the flag in here,
10893 around the startup_inferior call, and call that one with
10894 START_INFERIOR_TRAPS_EXPECTED.
10895
10896 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10897 (ILL_RPC): ... new macro.
10898 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10899 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10900 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10901 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10902 functions with ILL_RPC macro.
10903 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10904 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10905 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10906 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10907 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10908 (S_proc_getlogin_reply, S_proc_getsid_reply)
10909 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10910 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10911 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10912 (S_proc_getnports_reply, S_proc_is_important_reply)
10913 (S_proc_get_code_reply): New stub functions, generated with
10914 ILL_RPC macro.
10915
10916 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10917 collected the type check structures.
10918
10919 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10920
10921 2014-02-14 Doug Evans <dje@google.com>
10922
10923 * target.c (target_write_partial): Fix result type.
10924
10925 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10926
10927 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10928 the proper offsets to access fpregset_t.
10929
10930 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10931
10932 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10933 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10934 * h8300-tdep.c (setmachinelist): Remove global.
10935 * hppa-tdep.c (hppa_sigtramp): Remove global.
10936 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10937 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10938 * ravenscar-thread.c (update_target_observer): Remove global.
10939 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10940
10941 2014-02-12 Tom Tromey <tromey@redhat.com>
10942
10943 * common/rsp-low.c: Update comments.
10944 * common/rsp-low.h: Update comments.
10945
10946 2014-02-12 Tom Tromey <tromey@redhat.com>
10947
10948 * common/rsp-low.c (convert_ascii_to_int): Remove.
10949 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10950
10951 2014-02-12 Tom Tromey <tromey@redhat.com>
10952
10953 * common/rsp-low.h (unhexify): Don't declare.
10954 * common/rsp-low.c (unhexify): Remove.
10955
10956 2014-02-12 Tom Tromey <tromey@redhat.com>
10957
10958 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10959 * common/rsp-low.c (convert_int_to_ascii): Remove.
10960
10961 2014-02-12 Tom Tromey <tromey@redhat.com>
10962
10963 * common/rsp-low.h (hexify): Don't declare.
10964 * common/rsp-low.c (hexify): Remove.
10965
10966 2014-02-12 Tom Tromey <tromey@redhat.com>
10967
10968 * common/rsp-low.c (hexify): Never take strlen of argument.
10969
10970 2014-02-12 Tom Tromey <tromey@redhat.com>
10971
10972 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10973 * remote.c (extended_remote_run, remote_rcmd)
10974 (remote_download_trace_state_variable, remote_save_trace_data)
10975 (remote_set_trace_notes): Update.
10976 * tracepoint.c (encode_source_string, tfile_write_status)
10977 (tfile_write_uploaded_tsv): Update.
10978
10979 2014-02-12 Tom Tromey <tromey@redhat.com>
10980
10981 * tracepoint.c: Include rsp-low.h.
10982 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10983 * remote.c: Include rsp-low.h.
10984 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10985 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10986 (remote_unescape_input): Move to common/rsp-low.c.
10987 * common/rsp-low.h: New file.
10988 * common/rsp-low.c: New file.
10989 * Makefile.in (SFILES): Add common/rsp-low.c.
10990 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10991 (COMMON_OBS): Add rsp-low.o.
10992 (rsp-low.o): New target.
10993
10994 2014-02-12 Tom Tromey <tromey@redhat.com>
10995
10996 * utils.h: Include print-utils.h.
10997 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10998 (int_string, core_addr_to_string, core_addr_to_string_nz)
10999 (hex_string, hex_string_custom): Don't declare.
11000 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11001 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11002 (hex_string_custom, int_string, core_addr_to_string)
11003 (core_addr_to_string_nz, host_address_to_string): Move to
11004 common/print-utils.c.
11005 * common/print-utils.h: New file.
11006 * common/print-utils.c: New file
11007 * Makefile.in (SFILES): Add common/print-utils.c.
11008 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11009 (COMMON_OBS): Add print-utils.o.
11010 (print-utils.o): New target.
11011
11012 2014-02-12 Tom Tromey <tromey@redhat.com>
11013
11014 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11015
11016 2014-02-12 Mark Kettenis <kettenis@gnu.org>
11017
11018 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11019
11020 2014-02-12 Mark Kettenis <kettenis@gnu.org>
11021
11022 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11023 if a PT_IO ptrace request returns sucessfully but indicates that 0
11024 bytes were transferred.
11025
11026 2014-02-12 Pedro Alves <palves@redhat.com>
11027 Kevin Buettner <kevinb@redhat.com>
11028
11029 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11030 TYPE_INSTANCE_FLAG_CODE_SPACE.
11031
11032 2014-02-12 Pedro Alves <palves@redhat.com>
11033
11034 * h8300-tdep.c (pseudo_from_raw_register)
11035 (raw_from_pseudo_register): New functions.
11036 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11037 them.
11038
11039 2014-02-12 Pedro Alves <palves@redhat.com>
11040
11041 * h8300-tdep.c (h8300_register_sim_regno): New function.
11042 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11043 gdbarch_register_sim_regno hook.
11044
11045 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11046
11047 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11048
11049 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11050
11051 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11052
11053 2014-02-12 Mark Kettenis <kettenis@gnu.org>
11054
11055 * obsd-tdep.h (obsd_init_abi): New prototype.
11056 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11057 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11058 (obsd_init_abi): New functions.
11059 * i386obsd-tdep.c: Include "obsd-tdep.h".
11060 (i386obsd_init_abi): Call obsd_init_abi.
11061 * amd64obsd-tdep.c: Include "obsd-tdep.h".
11062 (amd64obsd_init_abi): Call obsd_init_abi.
11063 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
11064 obsd-tdep.c to gdb_target_obs.
11065
11066 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
11067
11068 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
11069 double float arguments to 16-byte in the argument slots.
11070
11071 2014-02-11 Doug Evans <xdje42@gmail.com>
11072
11073 * configure.ac: Don't crash if pkg-config is not found and guile
11074 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
11075 in guile checks.
11076 * configure: Regenerate.
11077
11078 2014-02-11 Yao Qi <yao@codesourcery.com>
11079
11080 * aix-thread.c (aix_thread_xfer_partial): Update comments.
11081 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
11082 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11083 * gnu-nat.c (gnu_xfer_memory): Likewise.
11084 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11085 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11086 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11087 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11088
11089 2014-02-11 Yao Qi <yao@codesourcery.com>
11090
11091 * target.h (enum target_xfer_error): Rename to ...
11092 (enum target_xfer_status): ... it. New. All users updated.
11093 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
11094 New.
11095 (TARGET_XFER_STATUS_ERROR_P): New macro.
11096 (target_xfer_error_to_string): Remove declaration.
11097 (target_xfer_status_to_string): Declare.
11098 (target_xfer_partial_ftype): Adjust it.
11099 (struct target_ops) <to_xfer_partial>: Return
11100 target_xfer_status. Add argument xfered_len. Update
11101 comments.
11102 * target.c (target_xfer_error_to_string): Rename to ...
11103 (target_xfer_status_to_string): ... it. New. All callers
11104 updated.
11105 (target_read_live_memory): Likewise. Call target_xfer_partial
11106 instead of target_read.
11107 (memory_xfer_live_readonly_partial): Return
11108 target_xfer_status. Add argument xfered_len.
11109 (raw_memory_xfer_partial): Likewise.
11110 (memory_xfer_partial_1): Likewise.
11111 (memory_xfer_partial): Likewise.
11112 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
11113 properly. Update debug message.
11114 (default_xfer_partial, current_xfer_partial): Likewise.
11115 (target_write_partial): Likewise.
11116 (target_read_partial): Likewise. All callers updated.
11117 (read_whatever_is_readable): Likewise.
11118 (target_write_with_progress): Likewise.
11119 (target_read_alloc_1): Likewise.
11120
11121 * aix-thread.c (aix_thread_xfer_partial): Likewise.
11122 * auxv.c (procfs_xfer_auxv): Likewise.
11123 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
11124 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11125 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11126 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
11127 * corefile.c (read_memory): Adjust.
11128 * corelow.c (core_xfer_partial): Likewise.
11129 * ctf.c (ctf_xfer_partial): Likewise.
11130 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
11131 updated.
11132 (darwin_xfer_partial): Likewise.
11133 * exec.c (section_table_xfer_memory_partial): Likewise. All
11134 callers updated.
11135 (exec_xfer_partial): Likewise.
11136 * exec.h (section_table_xfer_memory_partial): Update
11137 declaration.
11138 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
11139 negative.
11140 (gnu_xfer_partial): Likewise.
11141 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
11142 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
11143 (ia64_hpux_xfer_solib_got): Likewise.
11144 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
11145 type of 'partial_len' to ULONGEST.
11146 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11147 * linux-nat.c (linux_xfer_siginfo ): Likewise.
11148 (linux_nat_xfer_partial): Likewise.
11149 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
11150 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
11151 * monitor.c (monitor_xfer_memory): Likewise.
11152 (monitor_xfer_partial): Likewise.
11153 * procfs.c (procfs_xfer_partial): Likewise.
11154 * record-btrace.c (record_btrace_xfer_partial): Likewise.
11155 * record-full.c (record_full_xfer_partial): Likewise.
11156 (record_full_core_xfer_partial): Likewise.
11157 * remote-sim.c (gdbsim_xfer_memory): Likewise.
11158 (gdbsim_xfer_partial): Likewise.
11159 * remote.c (remote_write_bytes_aux): Likewise. All callers
11160 updated.
11161 (remote_write_bytes, remote_read_bytes): Likewise. All
11162 callers updated.
11163 (remote_flash_erase): Likewise. All callers updated.
11164 (remote_write_qxfer): Likewise. All callers updated.
11165 (remote_read_qxfer): Likewise. All callers updated.
11166 (remote_xfer_partial): Likewise.
11167 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11168 (rs6000_xfer_shared_libraries): Likewise.
11169 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11170 (sol_thread_xfer_partial): Likewise.
11171 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11172 (sparc_xfer_partial): Likewise.
11173 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
11174 updated.
11175 (spu_xfer_partial): Likewise.
11176 * spu-multiarch.c (spu_xfer_partial): Likewise.
11177 * tracepoint.c (tfile_xfer_partial): Likewise.
11178 * windows-nat.c (windows_xfer_memory): Likewise.
11179 (windows_xfer_shared_libraries): Likewise.
11180 (windows_xfer_partial): Likewise.
11181 * valprint.c: Replace 'target_xfer_error' with
11182 'target_xfer_status' in comments.
11183
11184 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
11185
11186 Checked in by Joel Brobecker <brobecker@adacore.com>.
11187 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
11188
11189 2014-02-11 Joel Brobecker <brobecker@adacore.com>
11190
11191 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
11192 function parameters.
11193
11194 2014-02-10 Will Newton <will.newton@linaro.org>
11195
11196 * elfread.c (elf_rel_plt_read): Look for a .got section if
11197 looking up .got.plt fails.
11198 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11199 on address passed to elf_gnu_ifunc_record_cache.
11200 (elf_gnu_ifunc_resolve_addr): Likewise.
11201 (elf_gnu_ifunc_resolver_return_stop): Likewise.
11202
11203 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
11204
11205 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
11206 (X_RETTURN): New macro.
11207 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
11208
11209 * sparc64-tdep.c (sparc64_init_abi): Hook
11210 sparc_in_function_epilogue_p.
11211
11212 2014-02-10 Gary Benson <gbenson@redhat.com>
11213
11214 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11215 Rename name_matcher to symbol_matcher.
11216
11217 2014-02-10 Gary Benson <gbenson@redhat.com>
11218
11219 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11220 Use expand_symtabs_file_matcher_ftype and
11221 expand_symtabs_symbol_matcher_ftype.
11222
11223 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11224
11225 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
11226 (struct ada_symbol_cache): New.
11227 (ada_free_symbol_cache): Forward declare.
11228 (struct ada_pspace_data): New.
11229 (ada_pspace_data_handle): New static global.
11230 (get_ada_pspace_data, ada_pspace_data_cleanup)
11231 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
11232 (cache_space, cache): Delete, now folded inside struct
11233 ada_pspace_data.
11234 (ada_get_symbol_cache): New function.
11235 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
11236 implementation.
11237 (_initialize_ada_language): Remove initialization of cache_space.
11238 Move call to observer_attach_inferior_exit up, grouping it
11239 with the other observer registrations inside this function.
11240 Rename command to be more general. Add call to
11241 register_program_space_data_with_cleanup.
11242
11243 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11244
11245 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
11246 ada_new_objfile_observer.
11247 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
11248 (_initialize_tasks): Update uses of ada_new_objfile_observer
11249 and ada_tasks_normal_stop_observer.
11250
11251 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11252
11253 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
11254 returned by the 'Length attribute to integer.
11255
11256 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11257
11258 * ada-lang.c (_initialize_ada_language): Initialize
11259 cache_space obstack.
11260
11261 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11262
11263 * ada-lang.c (HASH_SIZE): New macro.
11264 (struct cache_entry): New type.
11265 (cache_space, cache): New static globals.
11266 (ada_clear_symbol_cache, find_entry): New functions.
11267 (lookup_cached_symbol, cache_symbol): Implement.
11268 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11269 (_initialize_ada_language): Attach ada_new_objfile_observer
11270 and ada_free_objfile_observer.
11271
11272 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11273
11274 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11275 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11276 struct block * parameter.
11277 (ada_lookup_symbol_list_worker): Constify local variable "block".
11278 Remove cast which is no longer necessary.
11279
11280 2014-02-10 Doug Evans <xdje42@gmail.com>
11281
11282 Add Guile as an extension language.
11283 * NEWS: Mention Guile scripting.
11284 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11285 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11286 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11287 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11288 (CLIBS): Add GUILE_LIBS.
11289 (install-guile): New rule.
11290 (guile.o): New rule.
11291 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11292 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11293 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11294 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11295 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11296 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11297 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11298 * configure.ac: New option --with-guile.
11299 * configure: Regenerate.
11300 * config.in: Regenerate.
11301 * auto-load.c: Remove #include "python/python.h". Add #include
11302 "gdb/section-scripts.h".
11303 (source_section_scripts): Handle Guile scripts.
11304 (_initialize_auto_load): Add name of Guile objfile script to
11305 scripts-directory help text.
11306 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11307 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11308 (struct breakpoint): New member scm_bp_object.
11309 * defs.h (enum command_control_type): New value guile_control.
11310 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11311 "extension.h".
11312 (show_user): Update comment.
11313 (_initialize_cli_cmds): Update help text for "show user". Update help
11314 text for max-user-call-depth.
11315 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11316 "extension.h".
11317 (multi_line_command_p): Add guile_control.
11318 (print_command_lines): Handle guile_control.
11319 (execute_control_command, recurse_read_control_structure): Ditto.
11320 (process_next_line): Recognize "guile" commands.
11321 * disasm.c (gdb_disassemble_info): Make non-static.
11322 * disasm.h: #include "dis-asm.h".
11323 (struct gdbarch): Add forward decl.
11324 (gdb_disassemble_info): Declare.
11325 * extension.c: #include "guile/guile.h".
11326 (extension_languages): Add guile.
11327 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11328 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11329 * gdbtypes.c (get_unsigned_type_max): New function.
11330 (get_signed_type_minmax): New function.
11331 * gdbtypes.h (get_unsigned_type_max): Declare.
11332 (get_signed_type_minmax): Declare.
11333 * guile/README: New file.
11334 * guile/guile-internal.h: New file.
11335 * guile/guile.c: New file.
11336 * guile/guile.h: New file.
11337 * guile/scm-arch.c: New file.
11338 * guile/scm-auto-load.c: New file.
11339 * guile/scm-block.c: New file.
11340 * guile/scm-breakpoint.c: New file.
11341 * guile/scm-disasm.c: New file.
11342 * guile/scm-exception.c: New file.
11343 * guile/scm-frame.c: New file.
11344 * guile/scm-gsmob.c: New file.
11345 * guile/scm-iterator.c: New file.
11346 * guile/scm-lazy-string.c: New file.
11347 * guile/scm-math.c: New file.
11348 * guile/scm-objfile.c: New file.
11349 * guile/scm-ports.c: New file.
11350 * guile/scm-pretty-print.c: New file.
11351 * guile/scm-safe-call.c: New file.
11352 * guile/scm-string.c: New file.
11353 * guile/scm-symbol.c: New file.
11354 * guile/scm-symtab.c: New file.
11355 * guile/scm-type.c: New file.
11356 * guile/scm-utils.c: New file.
11357 * guile/scm-value.c: New file.
11358 * guile/lib/gdb.scm: New file.
11359 * guile/lib/gdb/boot.scm: New file.
11360 * guile/lib/gdb/experimental.scm: New file.
11361 * guile/lib/gdb/init.scm: New file.
11362 * guile/lib/gdb/iterator.scm: New file.
11363 * guile/lib/gdb/printing.scm: New file.
11364 * guile/lib/gdb/types.scm: New file.
11365 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11366 (VPATH): Add $(GUILE_SRCDIR).
11367 (GUILE_DIR): New variable.
11368 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11369 (all): Add stamp-guile dependency.
11370 (stamp-guile): New rule.
11371 (clean-guile, install-guile, uninstall-guile): New rules.
11372 (install-only): Add install-guile dependency.
11373 (uninstall): Add uninstall-guile dependency.
11374 (clean): Add clean-guile dependency.
11375
11376 2014-02-09 Doug Evans <xdje42@gmail.com>
11377
11378 Revert this patch (which I approved, mea culpa).
11379
11380 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11381
11382 * Makefile.in (all-lib): Remove.
11383 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11384
11385 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 Fix Python stack corruption.
11388 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11389 gdb_py_longest.
11390
11391 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11392
11393 * Makefile.in (all-lib): Remove.
11394 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11395
11396 2014-02-07 Doug Evans <dje@google.com>
11397
11398 * extension-priv.h (extension_language_script_ops): Add comment.
11399 (extension_language_ops): Add comment.
11400 (active_ext_lang_state): Fix typo in comment.
11401
11402 2014-02-07 Pedro Alves <palves@redhat.com>
11403
11404 PR breakpoints/16292
11405 * infrun.c (handle_signal_stop) <signal arrives while stepping
11406 over a breakpoint>: Switch back to the stepping thread.
11407
11408 2014-02-07 Yao Qi <yao@codesourcery.com>
11409
11410 * target.c (target_xfer_partial): Return zero if LEN is zero.
11411
11412 2014-02-07 Yao Qi <yao@codesourcery.com>
11413
11414 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11415 (ld_so_xfer_auxv): Likewise.
11416 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11417 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11418 * corelow.c (core_xfer_partial): Likewise.
11419 * ctf.c (ctf_xfer_partial): Likewise.
11420 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11421 (darwin_xfer_partial): Likewise.
11422 * exec.c (exec_xfer_partial): Likewise.
11423 * gnu-nat.c (gnu_xfer_partial): Likewise.
11424 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11425 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11426 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11427 * linux-nat.c (linux_xfer_siginfo): Likewise.
11428 (linux_proc_xfer_spu): Likewise.
11429 * procfs.c (procfs_xfer_partial): Likewise.
11430 * record-full.c (record_full_xfer_partial): Likewise.
11431 (record_full_core_xfer_partial): Likewise.
11432 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11433 * remote.c (remote_write_qxfer): Likewise.
11434 (remote_write_qxfer, remote_read_qxfer): Likewise.
11435 (remote_xfer_partial): Likewise.
11436 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11437 (rs6000_xfer_shared_libraries): Likewise.
11438 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11439 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11440 (spu_xfer_partial): Likewise.
11441 * target.c (memory_xfer_partial_1): Likewise.
11442 * tracepoint.c (tfile_xfer_partial): Likewise.
11443 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11444 (windows_xfer_partial): Likewise.
11445
11446 2014-02-07 Yao Qi <yao@codesourcery.com>
11447
11448 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11449 comments.
11450 (core_xfer_shared_libraries_aix): Likewise.
11451 * gdbarch.c, gdbarch.h: Regenerated.
11452 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11453 ULONGEST. Change 'len_avail' type to ULONGEST.
11454 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11455 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11456 declaration.
11457 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11458
11459 2014-02-07 Yao Qi <yao@codesourcery.com>
11460
11461 * corefile.c (memory_error): Get 'exception' from ERR and pass
11462 'exception' to throw_error.
11463
11464 2014-02-06 Doug Evans <xdje42@gmail.com>
11465
11466 * configure.ac (libpython checking): Remove all but python.o from
11467 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11468 * configure: Regenerate.
11469
11470 * Makefile.in (SFILES): Add extension.c.
11471 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11472 (COMMON_OBS): Add extension.o.
11473 * extension.h: New file.
11474 * extension-priv.h: New file.
11475 * extension.c: New file.
11476
11477 * python/python-internal.h: #include "extension.h".
11478 (gdbpy_auto_load_enabled): Declare.
11479 (gdbpy_apply_val_pretty_printer): Declare.
11480 (gdbpy_apply_frame_filter): Declare.
11481 (gdbpy_preserve_values): Declare.
11482 (gdbpy_breakpoint_cond_says_stop): Declare.
11483 (gdbpy_breakpoint_has_cond): Declare.
11484 (void source_python_script_for_objfile): Delete.
11485 * python/python.c: #include "extension-priv.h".
11486 Delete inclusion of "observer.h".
11487 (extension_language_python): Moved here and renamed from
11488 script_language_python in py-auto-load.c.
11489 Redefined to be of type extension_language_defn.
11490 (python_extension_script_ops): New global.
11491 (python_extension_ops): New global.
11492 (struct python_env): New member previous_active.
11493 (restore_python_env): Call restore_active_ext_lang.
11494 (ensure_python_env): Call set_active_ext_lang.
11495 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11496 New arg extlang.
11497 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11498 New arg extlang.
11499 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11500 New arg extlang.
11501 (gdbpy_eval_from_control_command): Renamed from
11502 eval_python_from_control_command, made static. New arg extlang.
11503 (gdbpy_source_script) Renamed from source_python_script, made static.
11504 New arg extlang.
11505 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11506 result to int. New arg extlang.
11507 (gdbpy_source_objfile_script): Renamed from
11508 source_python_script_for_objfile, made static. New arg extlang.
11509 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11510 static. New args extlang, extlang_printers. Change result type to
11511 "void".
11512 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11513 static. New arg extlang. Rename arg printers to extlang_printers
11514 and change type to ext_lang_type_printers *.
11515 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11516 static. Replace argument arg with extlang, extlang_printers.
11517 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11518 (!HAVE_PYTHON, source_python_script): Delete.
11519 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11520 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11521 (!HAVE_PYTHON, start_type_printers): Delete.
11522 (!HAVE_PYTHON, apply_type_printers): Delete.
11523 (!HAVE_PYTHON, free_type_printers): Delete.
11524 (_initialize_python): Delete call to observer_attach_before_prompt.
11525 (finalize_python): Set/restore active extension language.
11526 (gdbpy_finish_initialization) Renamed from
11527 finish_python_initialization, made static. New arg extlang.
11528 (gdbpy_initialized): New function.
11529 * python/python.h: #include "extension.h". Delete #include
11530 "value.h", "mi/mi-cmds.h".
11531 (extension_language_python): Declare.
11532 (GDBPY_AUTO_FILE_NAME): Delete.
11533 (enum py_bt_status): Moved to extension.h and renamed to
11534 ext_lang_bt_status.
11535 (enum frame_filter_flags): Moved to extension.h.
11536 (enum py_frame_args): Moved to extension.h and renamed to
11537 ext_lang_frame_args.
11538 (finish_python_initialization): Delete.
11539 (eval_python_from_control_command): Delete.
11540 (source_python_script): Delete.
11541 (apply_val_pretty_printer): Delete.
11542 (apply_frame_filter): Delete.
11543 (preserve_python_values): Delete.
11544 (gdbpy_script_language_defn): Delete.
11545 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11546 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11547
11548 * auto-load.c: #include "extension.h".
11549 (GDB_AUTO_FILE_NAME): Delete.
11550 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11551 (script_language_gdb): Delete, moved to extension.c and renamed to
11552 extension_language_gdb.
11553 (source_gdb_script_for_objfile): Delete.
11554 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11555 (loaded_script): Change type of language member to
11556 struct extension_language_defn *.
11557 (init_loaded_scripts_info): Initialize
11558 unsupported_script_warning_printed.
11559 (maybe_add_script): Make static. Change type of language arg to
11560 struct extension_language_defn *.
11561 (clear_section_scripts): Reset unsupported_script_warning_printed.
11562 (auto_load_objfile_script_1): Rewrite to use extension language API.
11563 (auto_load_objfile_script): Make public. Remove support-compiled-in
11564 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11565 (source_section_scripts): Rewrite to use extension language API.
11566 (load_auto_scripts_for_objfile): Rewrite to use
11567 auto_load_scripts_for_objfile.
11568 (collect_matching_scripts_data): Change type of language member to
11569 struct extension_language_defn *.
11570 (auto_load_info_scripts): Change type of language arg to
11571 struct extension_language_defn *.
11572 (unsupported_script_warning_print): New function.
11573 (script_not_found_warning_print): Make static.
11574 (_initialize_auto_load): Rewrite construction of scripts-directory
11575 help.
11576 * auto-load.h (struct objfile): Add forward decl.
11577 (struct script_language): Delete.
11578 (struct auto_load_pspace_info): Add forward decl.
11579 (struct extension_language_defn): Add forward decl.
11580 (maybe_add_script): Delete.
11581 (auto_load_objfile_script): Declare.
11582 (script_not_found_warning_print): Delete.
11583 (auto_load_info_scripts): Update prototype.
11584 (auto_load_gdb_scripts_enabled): Declare.
11585 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11586 auto_load_python_scripts_enabled and made public.
11587 (script_language_python): Delete, moved to python.c.
11588 (gdbpy_script_language_defn): Delete.
11589 (info_auto_load_python_scripts): Update to use
11590 extension_language_python.
11591
11592 * breakpoint.c (condition_command): Replace call to
11593 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11594 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11595 with call to breakpoint_ext_lang_cond_says_stop.
11596 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11597 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11598 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11599 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11600 New arg slang.
11601 (local_setattro): Print name of extension language with existing
11602 stop condition.
11603
11604 * valprint.c (val_print, value_print): Update to call
11605 apply_ext_lang_val_pretty_printer.
11606 * cp-valprint.c (cp_print_value): Update call to
11607 apply_ext_lang_val_pretty_printer.
11608 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11609 (gdbpy_apply_val_pretty_printer): Renamed from
11610 apply_val_pretty_printer. New arg extlang.
11611 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11612
11613 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11614 extension language API.
11615 * cli/cli-script.c (execute_control_command): Update to call
11616 eval_ext_lang_from_control_command.
11617
11618 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11619 enum ext_lang_bt_status values. Update call to
11620 apply_ext_lang_frame_filter.
11621 (mi_cmd_stack_list_locals): Ditto.
11622 (mi_cmd_stack_list_args): Ditto.
11623 (mi_cmd_stack_list_variables): Ditto.
11624 * mi/mi-main.c: Delete #include "python/python-internal.h".
11625 Add #include "extension.h".
11626 (mi_cmd_list_features): Replace reference to python internal variable
11627 gdb_python_initialized with call to ext_lang_initialized_p.
11628
11629 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11630 Update to use enum ext_lang_frame_args. Update to call
11631 apply_ext_lang_frame_filter.
11632 * python/py-framefilter.c (extract_sym): Update to use enum
11633 ext_lang_bt_status.
11634 (extract_value, py_print_type, py_print_value): Ditto.
11635 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11636 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11637 (py_print_frame): Ditto.
11638 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11639 New arg extlang. Update to use enum ext_lang_bt_status.
11640
11641 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11642 finish_python_initialization. Replace with call to
11643 finish_ext_lang_initialization.
11644
11645 * typeprint.c (do_free_global_table): Update to call
11646 free_ext_lang_type_printers.
11647 (create_global_typedef_table): Update to call
11648 start_ext_lang_type_printers.
11649 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11650 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11651 (type_print_options): Change type of global_printers from "void *"
11652 to "struct ext_lang_type_printers *".
11653
11654 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11655 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11656 (gdbpy_preserve_values): Renamed from preserve_python_values.
11657 New arg extlang.
11658 (!HAVE_PYTHON, preserve_python_values): Delete.
11659
11660 * utils.c (quit_flag): Delete, moved to extension.c.
11661 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11662 extension.c.
11663
11664 * eval.c: Delete #include "python/python.h".
11665 * main.c: Delete #include "python/python.h".
11666
11667 * defs.h: Update comment.
11668
11669 2014-02-06 Joel Brobecker <brobecker@adacore.com>
11670
11671 GDB 7.7 released.
11672
11673 2014-02-05 Mark Kettenis <kettenis@gnu.org>
11674
11675 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11676 defined.
11677
11678 2014-02-05 Yao Qi <yao@codesourcery.com>
11679
11680 * remote.c (remote_pass_signals): Remove local 'buf' and use
11681 rs->buf.
11682 (remote_program_signals): Likewise.
11683
11684 2014-02-05 Yao Qi <yao@codesourcery.com>
11685
11686 * ctf.c: Include "inferior.h" and "gdbthread.h".
11687 (CTF_PID): A new macro.
11688 (ctf_open): Call inferior_appeared and add_thread_silent.
11689 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11690 (ctf_thread_alive): New function.
11691 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11692
11693 2014-02-05 Yao Qi <yao@codesourcery.com>
11694
11695 Revert this patch:
11696
11697 2013-05-24 Yao Qi <yao@codesourcery.com>
11698
11699 * tracepoint.c (TFILE_PID): Remove.
11700 (tfile_open): Don't add thread and inferior.
11701 (tfile_close): Don't set 'inferior_ptid'. Don't call
11702 exit_inferior_silent.
11703 (tfile_thread_alive): Remove.
11704 (init_tfile_ops): Don't set field 'to_thread_alive' of
11705 tfile_ops.
11706
11707 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11708
11709 * remote.c (remote_start_remote): Call remote_check_symbols even
11710 if only symbol-file (not file) has been given.
11711
11712 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11713
11714 * gdbarch.sh (skip_entrypoint): New callback.
11715 * gdbarch.c, gdbarch.h: Regenerate.
11716 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11717 * infrun.c (fill_in_stop_func): Likewise.
11718 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11719 (ppc_elfv2_elf_make_msymbol_special): New function.
11720 (ppc_elfv2_skip_entrypoint): Likewise.
11721 (ppc_linux_init_abi): Install them for ELFv2.
11722
11723 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11724
11725 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11726 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11727 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11728 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11729 structures returned in GPRs.
11730
11731 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11732
11733 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11734 offset to the stack parameter list for the ELFv2 ABI.
11735
11736 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11737
11738 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11739 set_gdbarch_convert_from_func_ptr_addr and
11740 set_gdbarch_elf_make_msymbol_special for ELFv1.
11741 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11742 function descriptors on ELFv1.
11743 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11744 set up r12 at function entry.
11745
11746 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11747
11748 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11749 (struct gdbarch_tdep): New member elf_abi.
11750
11751 * rs6000-tdep.c: Include "elf/ppc64.h".
11752 (rs6000_gdbarch_init): Detect ELF ABI version.
11753
11754 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11755
11756 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11757 within a register pair holding a DFP 128-bit value on little-endian.
11758 (ppc64_sysv_abi_return_value_base): Likewise.
11759 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11760 (dfp_pseudo_register_write): Likewise.
11761
11762 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11763
11764 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11765 offset on little-endian when passing _Decimal32.
11766 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11767
11768 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11769
11770 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11771 of the overlapped FP register within the VSX register on little-
11772 endian platforms.
11773 (efpr_pseudo_register_write): Likewise.
11774
11775 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11776
11777 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11778 offset on little-endian when passing small structures.
11779
11780 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11781
11782 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11783 (struct ppc64_sysv_argpos): New data structure.
11784 (ppc64_sysv_abi_push_float): Remove.
11785 (ppc64_sysv_abi_push_val): New function.
11786 (ppc64_sysv_abi_push_integer): Likewise.
11787 (ppc64_sysv_abi_push_freg): Likewise.
11788 (ppc64_sysv_abi_push_vreg): Likewise.
11789 (ppc64_sysv_abi_push_param): Likewise.
11790 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11791 (ppc64_sysv_abi_return_value_base): New function.
11792 (ppc64_sysv_abi_return_value): Refactor to use it.
11793
11794 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11795
11796 * NEWS: Document new target powerpc64le-*-linux*.
11797
11798 2014-02-04 Mark Kettenis <kettenis@gnu.org>
11799
11800 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11801 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11802 core dumps.
11803 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11804 register set used in ELF core dumps. Add floating-point register set.
11805
11806 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11807
11808 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11809 dwarf2_to_gdb[] table using symbolic constants. Adjust
11810 penultimate entry from number representing the PC register
11811 to symbolic constant representing the MDR register. Add
11812 constant for the PC register to the end of the table.
11813
11814 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11815
11816 * bsd-kvm.c: Include <sys/param.h>
11817
11818 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11819
11820 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11821
11822 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11823
11824 * ada-lang.h (clear_ada_sym_cache): Delete.
11825
11826 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11827
11828 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11829
11830 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11831
11832 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11833 the sigreturn register save area only if the syscall is
11834 sigreturn.
11835
11836 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11837
11838 * valops.c (value_slice): Minor reformatting.
11839
11840 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11841
11842 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11843
11844 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11845
11846 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11847 New static globals.
11848 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11849 (ada_ignore_descriptive_types_p): New static global.
11850 (find_parallel_type_by_descriptive_type): Return immediately
11851 if ada_ignore_descriptive_types_p is set.
11852 (_initialize_ada_language): Register new commands "maintenance
11853 set ada", "maintenance show ada", "maintenance set ada
11854 ignore-descriptive-types" and "maintenance show ada
11855 ignore-descriptive-types".
11856 * NEWS: Add entry for new "maint ada set/show
11857 ignore-descriptive-types" commands.
11858
11859 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11860
11861 * record-btrace.c (record_btrace_close): Call btrace_teardown
11862 for all threads.
11863
11864 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11865
11866 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11867 "ui-out.h".
11868
11869 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11870
11871 * ada-typeprint (type_is_full_subrange_of_target_type):
11872 New function.
11873 (print_range): Add parameter bounds_prefered_p. If not set,
11874 try printing range types using the name of their base type.
11875 (print_range_type): Add parameter bounds_prefered_p.
11876 Use it in call to print_range.
11877 (print_array_type, ada_print_type): Update calls to print_range
11878 and print_range_type.
11879
11880 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11881
11882 * ada-typeprint.c (print_array_type, print_choices, print_range)
11883 (print_range_bound, print_dynamic_range_bound, print_range_type):
11884 Remove declaration.
11885
11886 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11887
11888 * ada-typeprint.c (print_range): Add missing empty line
11889 after local declaration.
11890
11891 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11892
11893 * ada-valprint.c (print_optional_low_bound): Get index_type's
11894 target type for as long as it is a TYPE_CODE_RANGE.
11895
11896 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11897
11898 * procfs.c (procfs_make_note_section): Remove assertion and
11899 associated comment.
11900
11901 2014-01-24 Yao Qi <yao@codesourcery.com>
11902
11903 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11904 * corelow.c (get_core_siginfo): Likewise.
11905
11906 2014-01-24 Yao Qi <yao@codesourcery.com>
11907
11908 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11909 ULONGEST. Don't check 'len' is negative.
11910 (remote_write_bytes): Change type of 'len' to ULONGEST.
11911
11912 2014-01-23 Tom Tromey <tromey@redhat.com>
11913
11914 PR python/16485:
11915 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11916 Handle exception from frame.block.
11917 (FrameVars.fetch_frame_locals): Likewise.
11918
11919 2014-01-23 Tom Tromey <tromey@redhat.com>
11920
11921 PR python/16487:
11922 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11923 on a NULL pointer. Move "goto error" to correct place.
11924
11925 2014-01-23 Tom Tromey <tromey@redhat.com>
11926
11927 PR python/16491:
11928 * python/py-framefilter.c (apply_frame_filter): Call
11929 ensure_python_env after computing gdbarch.
11930
11931 2014-01-23 Yao Qi <yao@codesourcery.com>
11932
11933 * target.c (raw_memory_xfer_partial): Change argument type
11934 from void * to gdb_byte *.
11935 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11936
11937 2014-01-22 Doug Evans <dje@google.com>
11938
11939 New gdbserver option --debug-format=timestamp.
11940 * NEWS: Mention it.
11941
11942 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11943
11944 * syscalls/s390x-linux.xml: New file.
11945 * syscalls/s390-linux.xml: New file.
11946 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11947 (XML_SYSCALL_FILENAME_S390X): Likewise.
11948 (op_svc): New enum value for SVC opcode.
11949 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11950 (s390_linux_get_syscall_number): New function.
11951 (s390_gdbarch_init): Register '*get_syscall_number' and the
11952 syscall xml file name.
11953 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11954 "s390-linux.xml" and "s390x-linux.xml".
11955 * NEWS: Announce new feature.
11956
11957 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11958
11959 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11960
11961 2014-01-22 Pedro Alves <palves@redhat.com>
11962
11963 * xtensa-config.c: Include defs.h.
11964
11965 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11966
11967 * common/common-utils.h: Add "ARI:" comment beside __func__
11968 reference.
11969
11970 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11971
11972 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11973 documentation a bit.
11974
11975 2014-01-21 Roland McGrath <mcgrathr@google.com>
11976
11977 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11978 * configure: Regenerate.
11979 * aclocal.m4: Regenerate.
11980 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11981 New substituted variables.
11982 (install-strip): New target.
11983 (INSTALL_SCRIPT): New substituted variable.
11984 (FLAGS_TO_PASS): Add it.
11985 (install-only): Use $(INSTALL_SCRIPT) rather than
11986 $(INSTALL_PROGRAM) for gcore.
11987
11988 2014-01-20 Tom Tromey <tromey@redhat.com>
11989
11990 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11991 together.
11992
11993 2014-01-20 Tom Tromey <tromey@redhat.com>
11994
11995 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11996 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11997 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11998 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11999 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12000 (struct cmd_list_element) <flags>: Remove.
12001 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12002 doc_allocated>: New fields.
12003 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12004 bitfields.
12005 * maint.c (maintenance_do_deprecate): Update.
12006 * top.c (execute_command): Update.
12007
12008 2014-01-20 Baruch Siach <baruch@tkos.co.il>
12009
12010 * xtensa-linux-nat.c: Include asm/ptrace.h.
12011
12012 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12013
12014 * Makefile.in (SFILES): Add d-support.c.
12015 (COMMON_OBS): Add d-support.o.
12016 * d-lang.h (d_parse_symbol): Add comment, now defined in
12017 d-support.c.
12018 * d-lang.c (parse_call_convention)
12019 (parse_attributes, parse_function_types)
12020 (parse_function_args, parse_type, parse_identifier)
12021 (call_convention_p, d_parse_symbol): Move functions to ...
12022 * d-support.c: ... New file.
12023
12024 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12025
12026 * d-lang.h (d_parse_symbol): Add declaration.
12027 * d-lang.c (extract_identifiers)
12028 (extract_type_info): Remove functions.
12029 (parse_call_convention, parse_attributes)
12030 (parse_function_types, parse_function_args)
12031 (parse_type, parse_identifier, call_convention_p)
12032 (d_parse_symbol): New functions.
12033 (d_demangle): Use d_parse_symbol to demangle D symbols.
12034
12035 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12036
12037 * d-lang.h (struct builtin_d_type): New data type.
12038 (builtin_d_type): Add declaration.
12039 * d-lang.c (d_language_arch_info, build_d_types)
12040 (builtin_d_type): New functions.
12041 (enum d_primitive_types): New data type.
12042 (d_language_defn): Change c_language_arch_info to
12043 d_language_arch_info.
12044 (d_type_data): New static variable.
12045 (_initialize_d_language): Initialize d_type_data.
12046
12047 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12048
12049 * d-lang.h (d_main_name): Add declaration.
12050 * d-lang.c (d_main_name): New function.
12051 * symtab.c (find_main_name): Add call to d_main_name.
12052
12053 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12054
12055 * d-lang.c (d_language_defn): Change macro_expansion_c to
12056 macro_expansion_no.
12057
12058 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12059
12060 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12061
12062 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
12063
12064 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
12065 gdb_exception" declaration.
12066 * remote.c (getpkt_or_notif_sane): Likewise.
12067
12068 2014-01-17 Doug Evans <dje@google.com>
12069
12070 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
12071 function, contents of dirnames_to_char_ptr_vec_append moved here.
12072 (delim_string_to_char_ptr_vec): New function.
12073 (dirnames_to_char_ptr_vec_append): Rewrite.
12074 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
12075
12076 2014-01-17 Doug Evans <dje@google.com>
12077
12078 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
12079 and moved here ...
12080 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
12081 #include "common-utils.h".
12082 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
12083 * common/vec.h (VEC_ASSERT_PASS): Update.
12084 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
12085 (MACH_CHECK_ERROR): Update.
12086
12087 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
12088
12089 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
12090 comments.
12091 * gdbarch.h: Regenerate.
12092
12093 2014-01-16 Tom Tromey <tromey@redhat.com>
12094
12095 * value.c (struct value) <regnum>: Move earlier.
12096
12097 2014-01-16 Tom Tromey <tromey@redhat.com>
12098
12099 * remote.c (extended_remote_create_inferior): Rename from
12100 extended_remote_create_inferior_1. Add "ops" argument. Remove
12101 old implementation.
12102
12103 2014-01-16 Pedro Alves <palves@redhat.com>
12104
12105 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
12106 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
12107 the backchain.
12108
12109 2014-01-16 Doug Evans <dje@google.com>
12110
12111 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
12112
12113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12114
12115 * btrace.h (btrace_thread_flag): New.
12116 (struct btrace_thread_info) <flags>: New.
12117 * record-btrace.c (record_btrace_resume_thread)
12118 (record_btrace_find_thread_to_move, btrace_step_no_history)
12119 (btrace_step_stopped, record_btrace_start_replaying)
12120 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
12121 (record_btrace_find_resume_thread): New.
12122 (record_btrace_resume, record_btrace_wait): Extend.
12123 (record_btrace_can_execute_reverse): New.
12124 (record_btrace_open): Fail in non-stop mode.
12125 (record_btrace_set_replay): Split into this, ...
12126 (record_btrace_stop_replaying): ... this, ...
12127 (record_btrace_clear_histories): ... and this.
12128 (init_record_btrace_ops): Init to_can_execute_reverse.
12129 * NEWS: Announce it.
12130
12131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12132
12133 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
12134 (forward_target_decr_pc_after_break)
12135 (target_decr_pc_after_break): New.
12136 * target.c (forward_target_decr_pc_after_break)
12137 (target_decr_pc_after_break): New.
12138 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
12139 instead of gdbarch_decr_pc_after_break.
12140 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12141 instead of gdbarch_decr_pc_after_break.
12142 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
12143 instead of gdbarch_decr_pc_after_break.
12144 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12145 instead of gdbarch_decr_pc_after_break.
12146 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
12147 instead of gdbarch_decr_pc_after_break.
12148 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
12149 instead of gdbarch_decr_pc_after_break.
12150
12151 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12152
12153 * btrace.c: Include regcache.h.
12154 (btrace_add_pc): New.
12155 (btrace_enable): Call btrace_add_pc.
12156 (btrace_is_empty): New.
12157 * btrace.h (btrace_is_empty): New.
12158 * record-btrace.c (require_btrace, record_btrace_info): Call
12159 btrace_is_empty.
12160
12161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12162
12163 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
12164 Support delta reads.
12165 (linux_disable_btrace): Change return type.
12166 * common/linux-btrace.h (linux_read_btrace): Change parameters
12167 and return type to allow error reporting. Update users.
12168 (linux_disable_btrace): Change return type. Update users.
12169 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
12170 New.
12171 (btrace_error): New.
12172 (btrace_block) <begin>: Comment on BEGIN == 0.
12173 * btrace.c (btrace_compute_ftrace): Start from the end of
12174 the current trace.
12175 (btrace_stitch_trace, btrace_clear_history): New.
12176 (btrace_fetch): Read delta trace, return if replaying.
12177 (btrace_clear): Move clear history code to btrace_clear_history.
12178 (parse_xml_btrace): Throw an error if parsing failed.
12179 * target.h (struct target_ops) <to_read_btrace>: Change parameters
12180 and return type to allow error reporting.
12181 (target_read_btrace): Change parameters and return type to allow
12182 error reporting.
12183 * target.c (target_read_btrace): Update.
12184 * remote.c (remote_read_btrace): Support delta reads. Pass
12185 errors on.
12186 * NEWS: Announce it.
12187
12188 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12189
12190 * record.h (record_btrace_frame_unwind)
12191 (record_btrace_tailcall_frame_unwind): New declarations.
12192 * dwarf2-frame: Include record.h
12193 (dwarf2_frame_cfa): Throw an error for btrace frames.
12194 * record-btrace.c: Include hashtab.h.
12195 (btrace_get_bfun_name): New.
12196 (btrace_call_history): Call btrace_get_bfun_name.
12197 (struct btrace_frame_cache): New.
12198 (bfcache): New.
12199 (bfcache_hash, bfcache_eq, bfcache_new): New.
12200 (btrace_get_frame_function): New.
12201 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
12202 (record_btrace_frame_this_id): Compute own id.
12203 (record_btrace_frame_prev_register): Provide PC, throw_error
12204 for all other registers.
12205 (record_btrace_frame_sniffer): Detect btrace frames.
12206 (record_btrace_tailcall_frame_sniffer): New.
12207 (record_btrace_frame_dealloc_cache): New.
12208 (record_btrace_frame_unwind): Add new functions.
12209 (record_btrace_tailcall_frame_unwind): New.
12210 (_initialize_record_btrace): Allocate cache.
12211 * btrace.c (btrace_clear): Call reinit_frame_cache.
12212 * NEWS: Announce it.
12213
12214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12215
12216 * record-btrace.c (record_btrace_set_replay)
12217 (record_btrace_goto_begin, record_btrace_goto_end)
12218 (record_btrace_goto): New.
12219 (init_record_btrace_ops): Initialize them.
12220 * NEWS: Announce it.
12221
12222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12223
12224 * record-btrace.c (record_btrace_find_new_threads)
12225 (record_btrace_thread_alive): New.
12226 (init_record_btrace_ops): Initialize to_find_new_threads and
12227 to_thread_alive.
12228
12229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12230
12231 * record-btrace.c (record_btrace_resume): New.
12232 (record_btrace_wait): New.
12233 (init_record_btrace_ops): Initialize to_wait and to_resume.
12234
12235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12236
12237 * record-btrace.c (record_btrace_xfer_partial)
12238 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
12239 (record_btrace_allow_memory_access): New.
12240 (init_record_btrace_ops): Initialize new methods.
12241 * target.c (raw_memory_xfer_partial): Bail out if target reports
12242 that this memory is not available.
12243
12244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12245
12246 * target.h (target_ops) <to_insert_breakpoint>
12247 <to_remove_breakpoint>: Add target_ops parameter.
12248 (forward_target_insert_breakpoint): New.
12249 (forward_target_remove_breakpoint): New.
12250 (memory_remove_breakpoint, memory_insert_breakpoint):
12251 Add target_ops parameter.
12252 * target.c (target_insert_breakpoint): Split into this and ...
12253 (forward_target_insert_breakpoint): ... this.
12254 (target_remove_breakpoint): Split into this and ...
12255 (forward_target_remove_breakpoint): ... this.
12256 (debug_to_insert_breakpoint): Add target_ops parameter.
12257 Call forward_target_insert_breakpoint.
12258 (debug_to_remove_breakpoint): Add target_ops parameter.
12259 Call forward_target_remove_breakpoint.
12260 (update_current_target): Do not inherit or default to_insert_breakpoint
12261 and to_remove_breakpoint.
12262 * corelow.c (ignore): Add target_ops parameter.
12263 * exec.c (ignore): Add target_ops parameter.
12264 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12265 Add target_ops parameter.
12266 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12267 Add target_ops parameter.
12268 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12269 Add target_ops parameter.
12270 * record-full.c (record_full_beneath_to_insert_breakpoint)
12271 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12272 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12273 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12274 (record_full_core_remove_breakpoint): Add target_ops parameter.
12275 Update users.
12276 (record_full_beneath_to_insert_breakpoint_ops)
12277 (record_full_beneath_to_remove_breakpoint_ops)
12278 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12279 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12280 tmp_to_remove_breakpoint_ops,
12281 record_full_beneath_to_insert_breakpoint_ops, and
12282 record_full_beneath_to_remove_breakpoint_ops.
12283 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12284 (m32r_remove_breakpoint): Add target_ops parameter.
12285 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12286 Add target_ops parameter.
12287 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12288 Add target_ops parameter.
12289
12290 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12291 Markus Metzger <markus.t.metzger@intel.com>
12292
12293 * record-btrace.c: Include frame-unwind.h.
12294 (record_btrace_frame_unwind_stop_reason)
12295 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12296 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12297 New.
12298 (init_record_btrace_ops): Install it.
12299
12300 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12301
12302 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12303 get_prev_frame_1.
12304
12305 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12306
12307 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12308 earlier.
12309
12310 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12311
12312 * frame-unwind.c: Include target.h.
12313 (frame_unwind_try_unwinder): New function with code from ...
12314 (frame_unwind_find_by_frame): ... here. New variable
12315 unwinder_from_target, call also target_get_unwinder)
12316 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12317 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12318 * target.h (struct target_ops): New fields to_get_unwinder and
12319 to_get_tailcall_unwinder.
12320 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12321
12322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12323
12324 * record-btrace.c (record_btrace_fetch_registers)
12325 (record_btrace_store_registers)
12326 (record_btrace_to_prepare_to_store): New.
12327 (init_record_btrace_ops): Add the above.
12328
12329 2014-01-16 Tom Tromey <tromey@redhat.com>
12330
12331 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12332 * target.h (struct target_ops) <to_prepare_to_store>: Add
12333 argument.
12334 (target_prepare_to_store): Add argument.
12335 * target.c (debug_to_prepare_to_store): Add argument.
12336 (update_current_target): Update.
12337 * remote.c (remote_prepare_to_store): Add 'self' argument.
12338 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12339 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12340 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12341 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12342 argument.
12343 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12344 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12345 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12346 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12347 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12348
12349 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12350
12351 * btrace.h (replay) <replay>: New.
12352 (btrace_is_replaying): New.
12353 * btrace.c (btrace_clear): Free replay iterator.
12354 (btrace_is_replaying): New.
12355 * record-btrace.c (record_btrace_is_replaying): New.
12356 (record_btrace_info): Print insn number if replaying.
12357 (record_btrace_insn_history): Start at replay position.
12358 (record_btrace_call_history): Start at replay position.
12359 (init_record_btrace_ops): Init to_record_is_replaying.
12360
12361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12362
12363 * record-btrace.c (record_btrace_insn_history_range): Include
12364 end.
12365 (record_btrace_insn_history_from): Adjust range.
12366 (record_btrace_call_history_range): Include
12367 end.
12368 (record_btrace_call_history_from): Adjust range.
12369 * NEWS: Announce changes.
12370
12371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12372
12373 * record.h (enum record_print_flag)
12374 <record_print_indent_calls>: New.
12375 * record.c (get_call_history_modifiers): Recognize /c modifier.
12376 (_initialize_record): Document /c modifier.
12377 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12378 Reorder fields. Optionally indent the function name. Update
12379 all users.
12380 * NEWS: Announce changes.
12381
12382 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12383
12384 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12385
12386 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12387
12388 * btrace.c (ftrace_new_function): Start counting at one.
12389 * record-btrace.c (record_btrace_info): Adjust number of calls
12390 and insns.
12391 * NEWS: Announce it.
12392
12393 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12394
12395 * record-btrace.c (btrace_call_history_insn_range): Print
12396 insn range as [begin, end].
12397
12398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12399
12400 * btrace.h (struct btrace_func_link): New.
12401 (enum btrace_function_flag): New.
12402 (struct btrace_inst): Rename to ...
12403 (struct btrace_insn): ...this. Update all users.
12404 (struct btrace_func) <ibegin, iend>: Remove.
12405 (struct btrace_func_link): New.
12406 (struct btrace_func): Rename to ...
12407 (struct btrace_function): ...this. Update all users.
12408 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12409 (number, level, flags>: New.
12410 (struct btrace_insn_iterator): Rename to ...
12411 (struct btrace_insn_history): ...this.
12412 Update all users.
12413 (struct btrace_insn_iterator, btrace_call_iterator): New.
12414 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12415 (struct btrace_target_info) <begin, end, level>
12416 <insn_history, call_history>: New.
12417 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12418 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12419 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12420 (btrace_call_number, btrace_call_begin, btrace_call_end)
12421 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12422 (btrace_find_function_by_number, btrace_set_insn_history)
12423 (btrace_set_call_history): New.
12424 * btrace.c (btrace_init_insn_iterator)
12425 (btrace_init_func_iterator, compute_itrace): Remove.
12426 (ftrace_print_function_name, ftrace_print_filename)
12427 (ftrace_skip_file): Change
12428 parameter to const.
12429 (ftrace_init_func): Remove.
12430 (ftrace_debug): Use new btrace_function fields.
12431 (ftrace_function_switched): Also consider gaining and
12432 losing symbol information).
12433 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12434 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12435 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12436 New.
12437 (ftrace_new_function): Move. Remove debug print.
12438 (ftrace_update_lines, ftrace_update_insns): New.
12439 (ftrace_update_function): Check for call, ret, and jump.
12440 (compute_ftrace): Renamed to ...
12441 (btrace_compute_ftrace): ...this. Rewritten to compute call
12442 stack.
12443 (btrace_fetch, btrace_clear): Updated.
12444 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12445 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12446 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12447 (btrace_call_number, btrace_call_begin, btrace_call_end)
12448 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12449 (btrace_find_function_by_number, btrace_set_insn_history)
12450 (btrace_set_call_history): New.
12451 * record-btrace.c (require_btrace): Use new btrace thread
12452 info fields.
12453 (record_btrace_info, btrace_insn_history)
12454 (record_btrace_insn_history, record_btrace_insn_history_range):
12455 Use new btrace thread info fields and new iterator.
12456 (btrace_func_history_src_line): Rename to ...
12457 (btrace_call_history_src_line): ...this. Use new btrace
12458 thread info fields.
12459 (btrace_func_history): Rename to ...
12460 (btrace_call_history): ...this. Use new btrace thread info
12461 fields and new iterator.
12462 (record_btrace_call_history, record_btrace_call_history_range):
12463 Use new btrace thread info fields and new iterator.
12464
12465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12466
12467 * frame.h (frame_id_build_unavailable_stack_special): New.
12468 * frame.c (frame_id_build_unavailable_stack_special): New.
12469
12470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12471
12472 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12473 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12474 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12475 to gdbarch.
12476 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12477 (i386_insn_is_jump, i386_jmp_p): New.
12478 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12479 insn_is_jump to gdbarch.
12480 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12481 * gdbarch.h: Regenerated.
12482 * gdbarch.c: Regenerated.
12483 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12484 (default_insn_is_jump): New.
12485 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12486 (default_insn_is_jump): New.
12487
12488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12489
12490 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12491 Change to ...
12492 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12493 (btrace_read_type) <btrace_read_new>: Change to ...
12494 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12495
12496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12497
12498 * common/linux-btrace.c (linux_read_btrace): Free trace from
12499 previous iteration.
12500
12501 2014-01-15 Doug Evans <dje@google.com>
12502
12503 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12504 uint32_t.
12505
12506 2014-01-15 Tom Tromey <tromey@redhat.com>
12507
12508 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12509 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12510 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12511 (set_objfile_main_name): New function.
12512 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12513 language_of_main>: New fields.
12514 (set_objfile_main_name): Declare.
12515 * symtab.c (find_main_name): Loop over objfiles to find the main
12516 name and language.
12517 (set_main_name): Now static.
12518 (get_main_info): Add comment.
12519 * symtab.h (set_main_name): Don't declare.
12520
12521 2014-01-15 Tom Tromey <tromey@redhat.com>
12522
12523 * symtab.c (main_progspace_key): New global.
12524 (struct main_info): New.
12525 (name_of_main, language_of_main): Remove.
12526 (get_main_info, main_info_cleanup): New function.
12527 (set_main_name, main_name, main_language): Use get_main_info.
12528 (_initialize_symtab): Initialize main_progspace_key.
12529
12530 2014-01-15 Tom Tromey <tromey@redhat.com>
12531
12532 * dbxread.c (process_one_symbol): Update.
12533 * dwarf2read.c (read_partial_die): Update.
12534 * symfile.c (set_initial_language): Call main_language.
12535 * symtab.c (language_of_main): Now static.
12536 (set_main_name): Add 'lang' parameter.
12537 (find_main_name): Update.
12538 (main_language): New function.
12539 (symtab_observer_executable_changed): Update.
12540 * symtab.h (set_main_name): Update.
12541 (language_of_main): Remove.
12542 (main_language): Declare.
12543
12544 2014-01-15 Tom Tromey <tromey@redhat.com>
12545
12546 * symfile.c (init_entry_point_info): Use new "initialized" field.
12547 Update.
12548 * objfiles.h (struct entry_point) <initialized>: New field.
12549 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12550 (struct objfile) <ei>: ...here. Remove.
12551 * objfiles.c (entry_point_address_query): Update.
12552
12553 2014-01-15 Tom Tromey <tromey@redhat.com>
12554
12555 * objfiles.c (entry_point_address_query): Relocate entry point
12556 address.
12557 (objfile_relocate1): Do not relocate entry point address.
12558 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12559 <the_bfd_section_index>: New field.
12560 * symfile.c (init_entry_point_info): Find the entry point's
12561 section.
12562
12563 2014-01-15 Tom Tromey <tromey@redhat.com>
12564
12565 * solib-frv.c (enable_break): Use entry_point_address_query.
12566
12567 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12568
12569 * NEWS: Add note on improved process record-replay on
12570 arm*-linux* targets.
12571
12572 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12573
12574 * arm-tdep.c (enum arm_record_result): New enum.
12575 (arm_record_unsupported_insn): New function.
12576 (arm_record_coproc_data_proc): Removed.
12577 (thumb2_record_ld_st_multiple): New function.
12578 (thumb2_record_ld_st_dual_ex_tbb): New function.
12579 (thumb2_record_data_proc_sreg_mimm): New function.
12580 (thumb2_record_ps_dest_generic): New function.
12581 (thumb2_record_branch_misc_cntrl): New function.
12582 (thumb2_record_str_single_data): New function.
12583 (thumb2_record_ld_mem_hints): New function.
12584 (thumb2_record_ld_word): New function.
12585 (thumb2_record_lmul_lmla_div): New function.
12586 (thumb2_record_decode_insn_handler): New function.
12587 (decode_insn): Add thumb32 instruction handlers.
12588
12589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12590
12591 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12592 (struct arm_linux_record_tdep): Declare.
12593 (arm_canonicalize_syscall): New function.
12594 (arm_all_but_pc_registers_record): New function.
12595 (arm_linux_syscall_record): New function.
12596 (arm_linux_init_abi): Add syscall recording constructs.
12597 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12598 decoding. (arm_record_coproc_data_proc): Update arm syscall
12599 decoding.
12600 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12601 <arm_syscall_record>: New field.
12602 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12603 gdb_target_obs.
12604
12605 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12606
12607 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12608 register for push instruction recording.
12609
12610 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12611
12612 * arm-tdep.c (thumb_record_misc): Update to correct logical
12613 error while recording ldm, ldmia and pop instructions.
12614
12615 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12616
12617 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12618
12619 2014-01-15 Pedro Alves <palves@redhat.com>
12620
12621 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12622 (go32_resume, go32_fetch_registers, store_register)
12623 (go32_store_registers, go32_prepare_to_store)
12624 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12625 (go32_create_inferior, go32_can_run, go32_terminal_init)
12626 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12627 declarations.
12628
12629 2014-01-15 Tom Tromey <tromey@redhat.com>
12630
12631 * target.h (async_callback_ftype): New typedef.
12632 (struct target_ops) <to_async>: Use it.
12633
12634 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12635
12636 * python/py-value.c (get_field_type): Remove unnecessary curly
12637 braces for single-statement if block.
12638
12639 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12640
12641 * python/py-type.c (convert_field): Add missing empty line
12642 after declarations.
12643
12644 2014-01-14 Doug Evans <dje@google.com>
12645
12646 * symfile.h (expand_symtabs_matching): Renamed from
12647 expand_partial_symbol_names. Update prototype.
12648 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12649 * symfile.c (expand_symtabs_matching): Renamed from
12650 expand_partial_symbol_names. New args file_matcher, kind.
12651 Rename arg fun to symbol_matcher.
12652 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12653 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12654 ada_expand_partial_symbol_name.
12655 (ada_make_symbol_completion_list): Update to call
12656 expand_symtabs_matching.
12657 (ada_add_global_exceptions): Call expand_symtabs_matching.
12658 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12659 call map_symbol_filenames.
12660 * symtab.c (sources_info): Update to call map_symbol_filenames.
12661 (search_symbols): Call expand_symtabs_matching.
12662 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12663 (default_make_symbol_completion_list_break_on): Update to call
12664 expand_symtabs_matching.
12665 (make_source_files_completion_list): Update to call
12666 map_symbol_filenames.
12667
12668 2014-01-14 Doug Evans <dje@google.com>
12669
12670 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12671 (expand_symtabs_symbol_matcher_ftype): New typedef.
12672 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12673 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12674 * symfile.c (expand_partial_symbol_names): Update to use
12675 expand_symtabs_symbol_matcher_ftype.
12676 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12677 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12678 Arg name_matcher renamed to symbol_matcher.
12679 * psymtab.c (recursively_search_psymtabs): Update to use
12680 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12681 sym_matcher.
12682 (expand_symtabs_matching_via_partial): Update to use
12683 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12684 Arg name_matcher renamed to symbol_matcher.
12685
12686 2014-01-14 Doug Evans <dje@google.com>
12687
12688 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12689 (map_partial_symbol_filenames): Ditto.
12690 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12691 (map_partial_symbol_filenames): Ditto.
12692 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12693 (map_partial_symbol_filenames): Ditto.
12694 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12695 (map_partial_symbol_filenames): Ditto.
12696 * symtab.c: Delete #include "psymtab.h".
12697
12698 2014-01-14 Pedro Alves <palves@redhat.com>
12699 Tom Tromey <tromey@redhat.com>
12700
12701 * infrun.c (use_displaced_stepping): Use find_record_target
12702 instead of RECORD_IS_USED.
12703 (adjust_pc_after_break): Use record_full_is_used instead of
12704 RECORD_IS_USED.
12705 * record-btrace.c (record_btrace_open): Call record_preopen
12706 instead of checking RECORD_IS_USED.
12707 * record-full.c (record_full_shortname)
12708 (record_full_core_shortname): New globals.
12709 (record_full_is_used): New function.
12710 (find_full_open): Call record_preopen instead of checking
12711 RECORD_IS_USED.
12712 (init_record_full_ops): Set the target's shortname to
12713 record_full_shortname.
12714 (init_record_full_core_ops): Set the target's shortname to
12715 record_full_core_shortname.
12716 * record-full.h (record_full_is_used): Declare.
12717 * record.c (find_record_target): Make extern.
12718 (record_preopen): New function.
12719 * record.h (RECORD_IS_USED): Delete macro.
12720 (find_record_target, record_preopen): Declare functions.
12721
12722 2014-01-14 Yao Qi <yao@codesourcery.com>
12723
12724 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12725 'len''s type to ULONGEST.
12726 (core_xfer_shared_libraries_aix): Likewise.
12727 * gdbarch.c, gdbarch.h: Regenerated.
12728 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12729 Change type of 'len' to ULONGEST.
12730 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12731 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12732
12733 2014-01-14 Yao Qi <yao@codesourcery.com>
12734
12735 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12736 type of 'len' to ULONGEST.
12737 (linux_xfer_osdata_processgroups): Likewise.
12738 (linux_xfer_osdata_threads): Likewise.
12739 (linux_xfer_osdata_fds): Likewise.
12740 (linux_xfer_osdata_isockets): Likewise.
12741 (linux_xfer_osdata_shm): Likewise.
12742 (linux_xfer_osdata_sem): Likewise.
12743 (linux_xfer_osdata_msg): Likewise.
12744 (linux_common_xfer_osdata): Likewise.
12745 (struct osdata_type) <getter>: Likewise.
12746 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12747 the declaration.
12748
12749 2014-01-14 Yao Qi <yao@codesourcery.com>
12750
12751 * target.h (target_xfer_partial_ftype): Update.
12752 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12753 ULONGEST.
12754 * aix-thread.c (aix_thread_xfer_partial): Change type of
12755 argument 'len' to ULONGEST.
12756 * auxv.c (procfs_xfer_auxv): Likewise.
12757 (ld_so_xfer_auxv): Likewise.
12758 (memory_xfer_auxv): Likewise.
12759 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12760 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12761 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12762 * corelow.c (core_xfer_partial): Likewise.
12763 * ctf.c (ctf_xfer_partial): Likewise.
12764 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12765 '%u'.
12766 (darwin_read_dyld_info): Likewise.
12767 (darwin_xfer_partial): Likewise.
12768 * exec.c (section_table_xfer_memory_partial): Likewise.
12769 (exec_xfer_partial): Likewise.
12770 * exec.h (section_table_xfer_memory_partial): Update
12771 declaration.
12772 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12773 instead of plongest.
12774 (gnu_xfer_partial): Likewise.
12775 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12776 (ia64_hpux_xfer_solib_got): Likewise.
12777 (ia64_hpux_xfer_partial): Likewise.
12778 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12779 * inf-ptrace.c (inf_ptrace_xfer_partial):
12780 * inf-ttrace.c (inf_ttrace_xfer_partial):
12781 * linux-nat.c (linux_xfer_siginfo): Likewise.
12782 (linux_nat_xfer_partial): Likewise.
12783 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12784 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12785 * monitor.c (monitor_xfer_memory): Likewise.
12786 (monitor_xfer_partial): Likewise.
12787 * procfs.c (procfs_xfer_partial): Likewise.
12788 * record-full.c (record_full_xfer_partial): Likewise.
12789 (record_full_core_xfer_partial): Likewise.
12790 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12791 instead of plongest.
12792 (gdbsim_xfer_partial): Likewise.
12793 * remote.c (remote_xfer_partial): Likewise.
12794 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12795 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12796 declaration.
12797 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12798 (rs6000_xfer_shared_libraries): Likewise.
12799 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12800 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12801 (sparc_xfer_partial): Likewise.
12802 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12803 (spu_xfer_partial): Likewise.
12804 * spu-multiarch.c (spu_xfer_partial): Likewise.
12805 * target.c (target_read_live_memory): Likewise.
12806 (memory_xfer_live_readonly_partial): Likewise.
12807 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12808 (target_xfer_partial, default_xfer_partial): Likewise.
12809 (current_xfer_partial): Likewise.
12810 * tracepoint.c (tfile_xfer_partial): Likewise.
12811 * windows-nat.c (windows_xfer_memory): Likewise. Call
12812 pulongest instead of plongest.
12813 (windows_xfer_partial): Likewise.
12814 (windows_xfer_shared_libraries): Likewise.
12815
12816 2014-01-14 Yao Qi <yao@codesourcery.com>
12817
12818 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12819 target_xfer_partial_ftype.
12820
12821 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12822
12823 PR python/15464
12824 PR python/16113
12825 * valops.c (value_struct_elt_bitpos): New function
12826 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12827 object to 'None' if the field name is an empty string ("").
12828 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12829 attribute to look for a field when 'name' is 'None'.
12830 (get_field_type): New function
12831
12832 2014-01-13 Doug Evans <dje@google.com>
12833
12834 PR symtab/16426
12835 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12836 (try_open_dwop_file): Ditto.
12837 * gdb_bfd.c: #include "vec.h".
12838 (bfdp): New typedef.
12839 (struct gdb_bfd_data): New member included_bfds.
12840 (gdb_bfd_unref): Unref all included bfds.
12841 (gdb_bfd_record_inclusion): New function.
12842 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12843
12844 2014-01-13 Tom Tromey <tromey@redhat.com>
12845
12846 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12847
12848 2014-01-13 Tom Tromey <tromey@redhat.com>
12849
12850 * defs.h (use_windows): Remove.
12851 * gdb.c (main): Update.
12852 * main.c (captured_main, gdb_main): Update.
12853 * main.h (struct captured_main_args) <use_windows>: Remove.
12854 * top.c (use_windows): Remove.
12855
12856 2014-01-13 Tom Tromey <tromey@redhat.com>
12857
12858 * defs.h (deprecated_flush_hook): Remove.
12859
12860 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12861
12862 PR threads/16216
12863 * linux-thread-db.c (try_thread_db_load): Add parameter
12864 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12865 (try_thread_db_load_from_pdir_1): Move it there from here.
12866 (try_thread_db_load_from_sdir): Update caller.
12867 (try_thread_db_load_from_dir): Move it there from here.
12868
12869 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12870
12871 * regformats/regdat.sh: Always rewrite the register file.
12872
12873 2014-01-13 Pedro Alves <palves@redhat.com>
12874
12875 * Makefile.in (CHECK_HEADERS): New variable.
12876 (check-headers:): New rule.
12877
12878 2014-01-13 Tom Tromey <tromey@redhat.com>
12879
12880 * cli/cli-setshow.c (do_set_command): Update.
12881 * defs.h (deprecated_set_hook): Remove.
12882 * top.c (deprecated_set_hook): Remove.
12883
12884 2014-01-13 Pedro Alves <palves@redhat.com>
12885
12886 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12887 the tracepoint if the PC is a pseudo-register.
12888
12889 2014-01-13 Tom Tromey <tromey@redhat.com>
12890
12891 * defs.h (XCALLOC): Remove.
12892 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12893 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12894 * dwarf2loc.c (allocate_piece_closure): Likewise.
12895 * elfread.c (elf_symfile_segments): Likewise.
12896 (elf_symfile_segments): Likewise.
12897 * gdbtypes.c (copy_type_recursive): Likewise.
12898 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12899 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12900 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12901 XCALLOC.
12902 * mt-tdep.c (mt_gdbarch_init): Likewise.
12903 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12904 XCALLOC.
12905 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12906 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12907 * registry.c (registry_alloc_data): Likewise.
12908 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12909 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12910 * serial.c (serial_fdopen_ops): Likewise.
12911 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12912 XCALLOC.
12913 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12914 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12915 not XCALLOC.
12916
12917 2014-01-13 Tom Tromey <tromey@redhat.com>
12918
12919 * defs.h (XMALLOC): Remove.
12920 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12921 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12922 * cli-out.c (struct ui_out *): Likewise.
12923 * cli/cli-dump.c (add_dump_command): Likewise.
12924 (add_dump_command): Likewise.
12925 * complaints.c (get_complaints): Likewise.
12926 (find_complaint): Likewise.
12927 * dwarf2-frame.c (execute_cfa_program): Likewise.
12928 * dwarf2read.c (abbrev_table_read_table): Likewise.
12929 * gdbarch.sh: Likewise.
12930 * gdbarch.c: Rebuild.
12931 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12932 * interps.c (interp_new): Likewise.
12933 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12934 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12935 * mi/mi-console.c (mi_console_file_new): Likewise.
12936 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12937 * mi/mi-out.c (mi_out_new): Likewise.
12938 * mi/mi-parse.c (mi_parse): Likewise.
12939 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12940 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12941 * observer.c (xalloc_observer_list_node): Likewise.
12942 * regcache.c (regcache_xmalloc_1): Likewise.
12943 * reggroups.c (reggroup_new): Likewise.
12944 (_initialize_reggroup): Likewise.
12945 * registry.c (register_data_with_cleanup): Likewise.
12946 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12947 * ser-base.c (serial_ttystate): Likewise.
12948 * ser-mingw.c (make_pipe_state): Likewise.
12949 * ser-pipe.c (pipe_open): Likewise.
12950 * serial.c (serial_open): Likewise.
12951 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12952 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12953 (tui_alloc_win_info): Likewise.
12954 (tui_add_content_elements): Likewise.
12955 * tui/tui-file.c (tui_file_new): Likewise.
12956 * tui/tui-out.c (tui_out_new): Likewise.
12957 * ui-file.c (mem_file_new): Likewise.
12958 * ui-out.c (push_level): Likewise.
12959 (make_cleanup_ui_out_end): Likewise.
12960 (append_header_to_list): Likewise.
12961 (ui_out_new): Likewise.
12962 * user-regs.c (user_reg_add_builtin): Likewise.
12963
12964 2014-01-13 Tom Tromey <tromey@redhat.com>
12965
12966 * defs.h (XZALLOC): Remove.
12967 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12968 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12969 (get_ada_tasks_inferior_data): Likewise.
12970 * auto-load.c (get_auto_load_pspace_data): Likewise.
12971 * auxv.c (get_auxv_inferior_data): Likewise.
12972 * bfd-target.c (target_bfd_reopen): Likewise.
12973 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12974 (deprecated_insert_raw_breakpoint): Likewise.
12975 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12976 * corelow.c (core_open): Likewise.
12977 * darwin-nat.c (darwin_check_new_threads): Likewise.
12978 (darwin_attach_pid): Likewise.
12979 * dummy-frame.c (dummy_frame_push): Likewise.
12980 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12981 * dwarf2loc.c (allocate_piece_closure): Likewise.
12982 * elfread.c (elf_symfile_segments): Likewise.
12983 * eval.c (ptrmath_type_p): Likewise.
12984 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12985 * gdbtypes.c (alloc_type_arch): Likewise.
12986 (alloc_type_instance): Likewise.
12987 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12988 * inf-child.c (inf_child_can_use_agent): Likewise.
12989 * inflow.c (get_inflow_inferior_data): Likewise.
12990 * infrun.c (save_infcall_suspend_state): Likewise.
12991 * jit.c (jit_reader_load): Likewise.
12992 (get_jit_objfile_data): Likewise.
12993 (get_jit_program_space_data): Likewise.
12994 (jit_object_open_impl): Likewise.
12995 (jit_symtab_open_impl): Likewise.
12996 (jit_block_open_impl): Likewise.
12997 (jit_frame_sniffer): Likewise.
12998 * linux-fork.c (add_fork): Likewise.
12999 * maint.c (make_command_stats_cleanup): Likewise.
13000 * objfiles.c (get_objfile_pspace_data): Likewise.
13001 * opencl-lang.c (struct lval_closure): Likewise.
13002 * osdata.c (osdata_start_osdata): Likewise.
13003 * progspace.c (new_address_space): Likewise.
13004 (add_program_space): Likewise.
13005 * remote-sim.c (get_sim_inferior_data): Likewise.
13006 * sh-tdep.c (sh_gdbarch_init): Likewise.
13007 * skip.c (Ignore): Likewise.
13008 (skip_delete_command): Likewise.
13009 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13010 (library_list_start_library): Likewise.
13011 (solib_aix_current_sos): Likewise.
13012 * solib-darwin.c (get_darwin_info): Likewise.
13013 (darwin_current_sos): Likewise.
13014 * solib-dsbt.c (get_dsbt_info): Likewise.
13015 * solib-ia64-hpux.c (new_so_list): Likewise.
13016 (ia64_hpux_get_solib_linkage_addr): Likewise.
13017 * solib-spu.c (append_ocl_sos): Likewise.
13018 (spu_current_sos): Likewise.
13019 * solib-svr4.c (get_svr4_info): Likewise.
13020 (svr4_keep_data_in_core): Likewise.
13021 (library_list_start_library): Likewise.
13022 (svr4_default_sos): Likewise.
13023 (svr4_read_so_list): Likewise.
13024 * solib-target.c (library_list_start_library): Likewise.
13025 (solib_target_current_sos): Likewise.
13026 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13027 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13028 * symfile.c (default_symfile_segments): Likewise.
13029 * target-descriptions.c (tdesc_data_init): Likewise.
13030 (tdesc_create_reg): Likewise.
13031 (struct tdesc_type *): Likewise.
13032 (tdesc_create_vector): Likewise.
13033 (tdesc_set_struct_size): Likewise.
13034 (struct tdesc_type *): Likewise.
13035 (tdesc_free_feature): Likewise.
13036 (tdesc_create_feature): Likewise.
13037 * windows-nat.c (windows_add_thread): Likewise.
13038 (windows_make_so): Likewise.
13039 * xml-support.c (gdb_xml_body_text): Likewise.
13040 (gdb_xml_create_parser_and_cleanup): Likewise.
13041 (xml_process_xincludes): Likewise.
13042 * xml-syscall.c (allocate_syscalls_info): Likewise.
13043 (syscall_create_syscall_desc): Likewise.
13044
13045 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13046
13047 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13048 function, with code from i386_stap_parse_special_token.
13049 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13050 (i386_stap_parse_special_token): Move code to the two functions
13051 above; simplify it.
13052
13053 2014-01-09 Pedro Alves <palves@redhat.com>
13054 Hui Zhu <hui@codesourcery.com>
13055
13056 PR gdb/16101
13057 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13058 bp_err_string. Don't mark the location shlib_disabled if the
13059 error thrown wasn't a generic or memory error. Catch errors
13060 thrown while inserting breakpoints in overlayed code. Output
13061 error message of software breakpoints.
13062 * remote.c (remote_insert_breakpoint): If this breakpoint has
13063 target-side commands but this stub doesn't support Z0 packets,
13064 throw NOT_SUPPORTED_ERROR error.
13065 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
13066 * target.h (target_insert_breakpoint): Extend comment.
13067 (target_insert_hw_breakpoint): Add comment.
13068
13069 2014-01-08 Pedro Alves <palves@redhat.com>
13070
13071 * remote.c (remote_add_thread): Add threads silently if starting
13072 up.
13073 (remote_notice_new_inferior): If in all-stop, and starting up,
13074 don't call notice_new_inferior.
13075 (get_current_thread): New function, factored out from ...
13076 (add_current_inferior_and_thread): ... this. Adjust.
13077 (remote_start_remote) <all-stop>: Fetch the thread list. If we
13078 found any thread, then select the remote's current thread as GDB's
13079 current thread too.
13080
13081 2014-01-08 Joel Brobecker <brobecker@adacore.com>
13082
13083 * NEWS: Create a new section for the next release branch.
13084 Rename the section of the current branch, now that it has
13085 been cut.
13086
13087 2014-01-08 Joel Brobecker <brobecker@adacore.com>
13088
13089 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
13090 * version.in: Bump version to 7.7.50.DATE-cvs.
13091
13092 2014-01-08 Yao Qi <yao@codesourcery.com>
13093
13094 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
13095 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
13096 (spu_xfer_partial): Cast 'buf' to 'const char *'.
13097
13098 2014-01-08 Yao Qi <yao@codesourcery.com>
13099
13100 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
13101 return value of bfd_get_filename to symbol_file_add_from_bfd.
13102
13103 2014-01-08 Pierre Muller <muller@sourceware.org>
13104
13105 Fix PR16201.
13106 * coff-pe-read.c (struct read_pe_section_data): Add index field.
13107 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
13108 to prim_record_mininal_symbol_and_info.
13109 (add_pe_forwarded_sym): Use known section number of forwarded symbol
13110 in call to prim_record_minimal_symbol_and_info.
13111 (read_pe_exported_syms): Set index field of section_data.
13112
13113 2014-01-07 Andrew Pinski <apinski@cavium.com>
13114
13115 * features/aarch64-core.xml (cpsr): Change to be 64bit.
13116 * features/aarch64.c: Regenerate.
13117
13118 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
13119
13120 * target.c (return_null): Define.
13121 (update_current_target): Use it instead of return_zero for
13122 functions that return a pointer.
13123
13124 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13125
13126 * source.c (add_path): Fix check for duplicated paths in the previously
13127 included paths.
13128
13129 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
13130
13131 * ada-lang.c: Remove duplicated include statements.
13132 * alphabsd-nat.c: Ditto.
13133 * amd64-darwin-tdep.c: Ditto.
13134 * amd64fbsd-nat.c: Ditto.
13135 * auto-load.c: Ditto.
13136 * ax-gdb.c: Ditto.
13137 * breakpoint.c: Ditto.
13138 * dbxread.c: Ditto.
13139 * fork-child.c: Ditto.
13140 * gdb_usleep.c: Ditto.
13141 * i386-darwin-tdep.c: Ditto.
13142 * i386fbsd-nat.c: Ditto.
13143 * infcmd.c: Ditto.
13144 * inferior.c: Ditto.
13145 * jv-lang.c: Ditto.
13146 * linux-nat.c: Ditto.
13147 * linux-tdep.c: Ditto.
13148 * m68kbsd-nat.c: Ditto.
13149 * m68klinux-nat.c: Ditto.
13150 * microblaze-tdep.c: Ditto.
13151 * mips-linux-tdep.c: Ditto.
13152 * mn10300-tdep.c: Ditto.
13153 * nto-tdep.c: Ditto.
13154 * opencl-lang.c: Ditto.
13155 * osdata.c: Ditto.
13156 * printcmd.c: Ditto.
13157 * regcache.c: Ditto.
13158 * remote-m32r-sdi.c: Ditto.
13159 * remote.c: Ditto.
13160 * symfile.c: Ditto.
13161 * symtab.c: Ditto.
13162 * tilegx-linux-nat.c: Ditto.
13163 * tilegx-tdep.c: Ditto.
13164 * tracepoint.c: Ditto.
13165 * valops.c: Ditto.
13166 * vaxbsd-nat.c: Ditto.
13167 * windows-nat.c: Ditto.
13168 * xtensa-tdep.c: Ditto.
13169
13170 2014-01-07 Yao Qi <yao@codesourcery.com>
13171
13172 * spu-linux-nat.c (_initialize_spu_nat): Declare.
13173
13174 2014-01-07 Yao Qi <yao@codesourcery.com>
13175 Joel Brobecker <brobecker@adacore.com>
13176
13177 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
13178 (pdc_write_regs): Likewise.
13179 (fetch_regs_kernel_thread): Likewise.
13180 (store_regs_kernel_thread): Likewise.
13181
13182 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13183
13184 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
13185 tagged type objects to their actual type.
13186
13187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13188
13189 * ada-valprint.c (print_field_values): Add "language" parameter.
13190 Update calls to print_field_values and print_variant_part.
13191 Pass new parameter "language" in call to val_print instead
13192 of "current_language". Replace call to ada_val_print by call
13193 to val_print.
13194 (print_variant_part): Add "language" parameter.
13195 (ada_val_print_struct_union): Update call to print_field_values.
13196
13197 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13198
13199 * ada-valprint.c (ui_memcpy): Delete.
13200 (ada_print_floating): Update documentation. Add empty line
13201 between between function documentation and implementation.
13202 Delete variable "buffer". Use ui_file_xstrdup in place of
13203 ui_file_put. Minor adjustments following this change.
13204
13205 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13206
13207 * ada-valprint.c (ada_val_print_string): New function,
13208 extracted from ada_val_print_array.
13209 (ada_val_print_array): Replace extracted code by call
13210 to ada_val_print_string followed by a return. Move
13211 "else" branch to the function's top block.
13212
13213 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13214
13215 * ada-valprint.c (ada_val_print_array): Move implementation
13216 down. Rename parameter "offset" and "val" into "offset_aligned"
13217 and "original_value" respectively. Add parameter "offset".
13218
13219 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13220
13221 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
13222 re-organizing the code. Change the "???" message printed
13223 when target type is a TYPE_CODE_UNDEF into
13224 "<ref to undefined type>".
13225
13226 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13227
13228 * ada-valprint.c (print_record): Delete, implementation inlined...
13229 (ada_val_print_struct_union): ... here. Remove call to
13230 ada_check_typedef in inlined implementation.
13231
13232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13233
13234 * ada-valprint.c (ada_val_print_gnat_array): New function,
13235 extracted from ada_val_print_1;
13236 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
13237 (ada_val_print_flt, ada_val_print_struct_union)
13238 (ada_val_print_ref): Likewise.
13239 (ada_val_print_1): Delete variables i and elttype.
13240 Replace extracted-out code by call to corresponding
13241 new functions.
13242
13243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13244
13245 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
13246
13247 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13248
13249 * ada-valprint.c (ada_val_print_1): Replace calls to
13250 ada_val_print_1 by calls to val_print.
13251
13252 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13253
13254 * ada-valprint.c (ada_val_print_1): Add parameter "language".
13255 Update calls to self accordingly. Replace calls to c_val_print
13256 by calls to val_print.
13257
13258 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13259
13260 * ada-valprint.c (print_record): Delete declaration.
13261 (adjust_type_signedness, ada_val_print_1): Likewise.
13262 (ada_val_print): Move function implementation down.
13263 (print_variant_part, print_field_values, print_record):
13264 Move function implementation up.
13265
13266 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13267
13268 * python/py-type.c (typy_get_name): New function.
13269 (type_object_getset): Add entry for attribute "name".
13270 * NEWS: Add entry mentioning this new attribute.
13271
13272 2014-01-07 Yao Qi <yao@codesourcery.com>
13273
13274 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13275 statement.
13276
13277 2014-01-07 Yao Qi <yao@codesourcery.com>
13278
13279 * gnu-nat.c (info_port_rights): Add qualifier const to
13280 argument args.
13281
13282 2014-01-07 Yao Qi <yao@codesourcery.com>
13283
13284 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13285
13286 2014-01-07 Yao Qi <yao@codesourcery.com>
13287
13288 * gnu-nat.c (make_inf) Update declaration.
13289 (make_inf): Make it static.
13290 (inf_set_traced): Likewise.
13291 (inf_port_to_thread, inf_task_died_status): Likewise.
13292
13293 2014-01-07 Yao Qi <yao@codesourcery.com>
13294
13295 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13296
13297 2014-01-07 Yao Qi <yao@codesourcery.com>
13298
13299 * gnu-nat.c (_initialize_gnu_nat): Declare.
13300
13301 2014-01-07 Yao Qi <yao@codesourcery.com>
13302
13303 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13304 'enum bfd_endian'.
13305 (struct gdbarch_info) <byte_order>: Change type to
13306 'enum bfd_endian'.
13307 <byte_order_for_code>: Likewise.
13308 * gdbarch.c, gdbarch.h: Regenerated.
13309
13310 2014-01-06 Sasha Smundak <asmundak@google.com>
13311
13312 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13313
13314 2014-01-06 Tom Tromey <tromey@redhat.com>
13315
13316 * doublest.c (convert_doublest_to_floatformat): Use const, not
13317 CONST.
13318 * somread.c (som_symtab_read): Likewise.
13319
13320 2014-01-07 Hui Zhu <hui@codesourcery.com>
13321
13322 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13323 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13324 (gdb_bfd_fopen): Ditto.
13325 (gdb_bfd_openr): Ditto.
13326 (gdb_bfd_openw): Ditto.
13327 (gdb_bfd_openr_iovec): Ditto.
13328 (gdb_bfd_fdopenr): Ditto.
13329 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13330 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13331 with xstrdup.
13332 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13333 with xstrdup.
13334 * symfile-mem.c (symbol_file_add_from_memory): Removed
13335 gdb_bfd_stash_filename.
13336
13337 2014-01-03 Doug Evans <dje@google.com>
13338
13339 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13340 output.
13341
13342 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13343
13344 Update year range in copyright notice of all files.
13345
13346 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13347
13348 * top.c (print_gdb_version): Set copyright year to 2014.
13349
13350 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13351
13352 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13353
13354 For older changes see ChangeLog-2013.
13355 \f
13356 Local Variables:
13357 mode: change-log
13358 left-margin: 8
13359 fill-column: 74
13360 version-control: never
13361 coding: utf-8
13362 End:
This page took 0.30358 seconds and 4 git commands to generate.