XTENSA: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
97094034
AA
12014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
4 (xtensa_iterate_over_regset_sections): New.
5 (xtensa_gdbarch_init): Adjust gdbarch initialization.
6
f73d3ce7
AA
72014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8
9 * vax-tdep.c (vax_regset_from_core_section): Remove.
10 (vax_iterate_over_regset_sections): New.
11 (vax_gdbarch_init): Adjust gdbarch initialization.
12
cb24567a
AA
132014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14
15 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
16 (tilegx_regset_from_core_section): Remove.
17 (tilegx_iterate_over_regset_sections): New.
18 (tilegx_linux_init_abi): Adjust gdbarch initialization.
19
e5139de8
AA
202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21
22 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
23 (sparc_iterate_over_regset_sections): New.
24 (sparc32_gdbarch_init): Adjust gdbarch initialization.
25 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
26 targets.
27 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
28 (sparc64fbsd_init_abi): Call fbsd_init_abi.
29 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
30 target method 'make_corefile_notes'.
31
c6d41a6f
AA
322014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
33
34 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
35 'sizeof_gregset' and 'sizeof_fpregset'.
36 * sh-tdep.c (sh_regset_from_core_section): Remove.
37 (sh_iterate_over_regset_sections): New.
38 (sh_gdbarch_init): Adjust gdbarch initialization.
39 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
40 sizeof_fpregset.
41 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
42 'sizeof_gregset'.
43
9845a0b5
AA
442014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
45
46 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
47 (score7_linux_iterate_over_regset_sections): New.
48 (score_gdbarch_init): Adjust gdbarch initialization.
49
23ea9aeb
AA
502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
51
52 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
53 FreeBSD targets.
54 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
55 method 'make_corefile_notes'.
56 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
57 (ppcfbsd_regset_from_core_section): Remove.
58 (ppcfbsd_iterate_over_regset_sections): New.
59 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
60 initialization.
61 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
62 (ppcnbsd_iterate_over_regset_sections): New.
63 (ppcnbsd_init_abi): Adjust.
64 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
65 (ppcobsd_iterate_over_regset_sections): New.
66 (ppcobsd_init_abi): Adjust.
67 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
68 (rs6000_aix_iterate_over_regset_sections): New.
69 (rs6000_aix_init_osabi): Adjust.
70
c5b8d704
AA
712014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
72
73 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
74 (nios2_regset_from_core_section): Remove.
75 (nios2_iterate_over_regset_sections): New.
76 (nios2_linux_init_abi): Adjust gdbarch initialization.
77
3636e608
AA
782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
79
80 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
81 (am33_iterate_over_regset_sections): New.
82 (am33_linux_init_osabi): Adjust gdbarch initialization.
83
d4036235
AA
842014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
85
86 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
87 (mips_linux_iterate_over_regset_sections): New.
88 (mips_linux_init_abi): Adjust gdbarch initialization.
89 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
90 (mips64obsd_iterate_over_regset_sections): New.
91 (mips64obsd_init_abi): Adjust.
92 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
93 (mipsnbsd_iterate_over_regset_sections): New.
94 (mipsnbsd_init_abi): Adjust.
95
b61ddd6e
AA
962014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
97
98 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
99 (m88k_iterate_over_regset_sections): New.
100 (m88k_gdbarch_init): Adjust gdbarch initialization.
101
55a2906a
AA
1022014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
103
104 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
105 (ia64_linux_iterate_over_regset_sections): New.
106 (ia64_linux_init_abi): Adjust gdbarch initialization.
107
022c98ab
AA
1082014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
111 (m68kbsd_iterate_over_regset_sections): New.
112 (m68kbsd_init_abi): Adjust gdbarch initialization.
113 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
114 (m68k_linux_iterate_over_regset_sections): New.
115 (m68k_linux_init_abi): Adjust gdbarch initialization.
116
5fac247f
AA
1172014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
118
119 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
120 (m32r_linux_regset_from_core_section): Remove.
121 (m32r_linux_iterate_over_regset_sections): New.
122 (m32r_linux_init_abi): Adjust gdbarch initialization.
123
490496c3
AA
1242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
125
126 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
127 (amd64obsd_iterate_over_regset_sections): New.
128 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
129 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
130 Remove.
131 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
132 regset_from_core_section initialization.
133 * i386-tdep.c (i386_regset_from_core_section): Remove.
134 (i386_iterate_over_regset_sections): New.
135 (i386_gdbarch_init): Adjust gdbarch initialization.
136 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
137 (i386_iterate_over_regset_sections): New prototype.
138 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
139 Remove.
140 (i386obsd_aout_iterate_over_regset_sections): New.
141 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
142 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
143 targets.
144 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
145 (amd64fbsd_init_abi): Call fbsd_init_abi.
146 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
147 (i386fbsd4_init_abi): Call fbsd_init_abi.
148 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
149 target method 'make_corefile_notes'.
150 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
151
50c5eb53
AA
1522014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
153
154 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
155 (hppa_hpux_iterate_over_regset_sections): New.
156 (hppa_hpux_init_abi): Adjust gdbarch initialization.
157 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
158 (hppa_linux_iterate_over_regset_sections): New.
159 (hppa_linux_init_abi): Adjust.
160 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
161 (hppanbsd_iterate_over_regset_sections): New.
162 (hppanbsd_init_abi): Adjust.
163 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
164 (hppaobsd_iterate_over_regset_sections): New.
165 (hppaobsd_init_abi): Adjust.
166
66afae4f
AA
1672014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
168
169 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
170 (frv_linux_iterate_over_regset_sections): New.
171 (frv_linux_init_abi): Adjust gdbarch initialization.
172
ed09174e
AA
1732014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
174
175 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
176 (armbsd_iterate_over_regset_sections): New prototype.
177 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
178 (armbsd_iterate_over_regset_sections): New.
179 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
180 initialization.
181
dff2166e
AA
1822014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
183
184 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
185 (alpha_linux_iterate_over_regset_sections): New.
186 (alpha_linux_init_abi): Adjust gdbarch initialization.
187 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
188 prototype.
189 (alphanbsd_iterate_over_regset_sections): New prototype.
190
4108500a
AA
1912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
192
193 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
194 Remove.
195 (aarch64_linux_iterate_over_regset_sections): New.
196 (aarch64_linux_init_abi): Adjust gdbarch initialization.
197
a904c024
AA
1982014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
199
200 * fbsd-tdep.c: New file.
201 * fbsd-tdep.h: New file.
202 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
203 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
204 (ALLDEPFILES): Add fbsd-tdep.c.
205
8f0435f7
AA
2062014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
207
208 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
209 parameter.
210 * gdbarch.h: Regenerate.
211 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
212 iterator.
213 (get_core_register_section): Add parameter 'regset' and use it, if
214 set. Add parameter 'min_size' and verify the bfd section size
215 against it.
216 (get_core_registers_cb): Add parameter 'regset' and pass it to
217 get_core_register section. For the "standard" register sections
218 ".reg" and ".reg2", set an appropriate default for human_name.
219 (get_core_registers): Don't abort when the gdbarch has an iterator
220 but no regset_from_core_section. Add NULL/0 for parameters
221 'regset'/'min_size' in calls to get_core_register_section.
222 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
223 'regset' and use it instead of calling the
224 regset_from_core_section gdbarch method.
225 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
226 * i386-tdep.c (i386_supply_xstateregset)
227 (i386_collect_xstateregset, i386_xstateregset): Moved to
228 i386-linux-tdep.c.
229 (i386_regset_from_core_section): Drop handling for .reg-xfp and
230 .reg-xstate.
231 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
232 core file support only if the regset iterator hasn't been set.
233 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
234 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
235 Moved from i386-tdep.c and renamed to *_linux*.
236 (i386_linux_iterate_over_regset_sections): Add regset parameter to
237 each callback invocation. Allow any .reg-xstate size when reading
238 from a core file.
239 * amd64-tdep.c (amd64_supply_xstateregset)
240 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
241 amd64-linux-tdep.c.
242 (amd64_regset_from_core_section): Remove.
243 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
244 install an amd64-specific regset_from_core_section gdbarch method.
245 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
246 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
247 Moved from amd64-tdep.c and renamed to *_linux*.
248 (amd64_linux_iterate_over_regset_sections): Add regset parameter
249 to each callback invocation. Allow any .reg-xstate size when
250 reading from a core file.
251 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
252 (arm_linux_iterate_over_regset_sections): Add regset parameter to
253 each callback invocation.
254 (arm_linux_init_abi): No longer set the regset_from_core_section
255 gdbarch method.
256 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
257 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
258 each callback invocation.
259 (ppc_linux_init_abi): No longer set the regset_from_core_section
260 gdbarch method.
261 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
262 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
263 (s390_regset_from_core_section): Remove.
264 (s390_iterate_over_regset_sections): Add regset parameter to each
265 callback invocation.
266 (s390_gdbarch_init): No longer set the regset_from_core_section
267 gdbarch method. Drop initialization of deleted tdep fields.
268
5aa82d05
AA
2692014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
270
271 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
272 (amd64_linux_iterate_over_regset_sections): New.
273 (amd64_linux_init_abi_common): Don't install the regset section
274 list, but the new iterator in gdbarch.
275 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
276 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
277 (arm_linux_iterate_over_regset_sections): ...here. New function.
278 (arm_linux_init_abi): Set iterator instead of section list.
279 * corelow.c (get_core_registers_cb): New function, logic moved
280 from...
281 (get_core_registers): ...loop body here. Use new iterator method
282 instead of walking through the regset section list.
283 * gdbarch.sh: Remove 'core_regset_sections'. New method
284 'iterate_over_regset_sections'. New typedef
285 'iterate_over_regset_sections_cb'.
286 * gdbarch.c: Regenerate.
287 * gdbarch.h: Likewise.
288 * i386-linux-tdep.c (i386_linux_regset_sections)
289 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
290 Remove.
291 (i386_linux_iterate_over_regset_sections): New.
292 (i386_linux_init_abi): Don't choose a regset section list, but
293 install new iterator in gdbarch.
294 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
295 (linux_collect_regset_section_cb): New function, logic moved
296 from...
297 (linux_collect_thread_registers): ...loop body here. Use iterator
298 method instead of walking through list.
299 (linux_make_corefile_notes_1): Check for presence of iterator
300 method instead of regset section list.
301 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
302 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
303 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
304 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
305 (ppc_linux_iterate_over_regset_sections): ...here. New function.
306 (ppc_linux_init_abi): Don't choose from above regset section
307 lists, but install new iterator in gdbarch.
308 * regset.h (struct core_regset_section): Remove.
309 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
310 have_linux_v1, have_linux_v2, and have_tdb.
311 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
312 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
313 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
314 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
315 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
316 (s390_iterate_over_regset_sections): ...here. New function. Use
317 new tdep fields.
318 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
319 regset section lists, but install new iterator.
320
2eca4a8d
JK
3212014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
324
a73c2b56
SM
3252014-09-26 Simon Marchi <simon.marchi@ericsson.com>
326
327 * progspace.c (print_program_space): Don't prune program spaces
328 before printing them.
329
03d46957
PA
3302014-09-25 Pedro Alves <palves@redhat.com>
331
332 * infrun.c (user_visible_resume_ptid): Don't check
333 singlestep_breakpoints_inserted_p.
334
e558d7c1
PA
3352014-09-25 Pedro Alves <palves@redhat.com>
336
337 * breakpoint.c (should_be_inserted): Add debug output.
338
7f89fd65
PA
3392014-09-25 Pedro Alves <palves@redhat.com>
340
341 * infrun.c (stepping_past_instruction_at)
342 (clear_exit_convenience_vars): Point at infrun.h instead of
343 inferior.h.
344 (handle_signal_stop): Fix typo.
345
b7576e5c
YQ
3462014-09-24 Yao Qi <yao@codesourcery.com>
347
348 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
349 bitmask.
350
9a6cf368
GB
3512014-09-22 Gary Benson <gbenson@redhat.com>
352
353 * target.c (target_stop): Updated comment.
354
03f4463b
GB
3552014-09-22 Gary Benson <gbenson@redhat.com>
356
357 * target/target.h (target_stop_ptid): Renamed as...
358 (target_stop_and_wait): New function. Updated comment.
359 All uses updated.
360 (target_continue_ptid): Renamed as...
361 (target_continue_no_signal): New function. Updated comment.
362 All uses updated.
363
a25a5a45
PA
3642014-09-22 Pedro Alves <palves@redhat.com>
365
366 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
367 and "auto" merged.
368 * breakpoint.c (enum ugll_insert_mode): New enum.
369 (always_inserted_mode): Now a plain boolean.
370 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
371 (breakpoints_always_inserted_mode): Delete.
372 (breakpoints_should_be_inserted_now): New function.
373 (insert_breakpoints): Pass UGLL_INSERT to
374 update_global_location_list instead of calling
375 insert_breakpoint_locations manually.
376 (create_solib_event_breakpoint_1): New, factored out from ...
377 (create_solib_event_breakpoint): ... this.
378 (create_and_insert_solib_event_breakpoint): Use
379 create_solib_event_breakpoint_1 instead of calling
380 insert_breakpoint_locations manually.
381 (update_global_location_list): Change parameter type from boolean
382 to enum ugll_insert_mode. All callers adjusted. Adjust to use
383 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
384 (update_global_location_list_nothrow): Change parameter type from
385 boolean to enum ugll_insert_mode.
386 (_initialize_breakpoint): "breakpoint always-inserted" option is
387 now a boolean command. Update help text.
388 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
389 (breakpoints_should_be_inserted_now): New declaration.
390 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
391 Remove breakpoints_always_inserted_mode check.
392 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
393 * remote.c (remote_start_remote): Likewise.
394
04086b45
PA
3952014-09-22 Pedro Alves <palves@redhat.com>
396
397 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
398 (insert_breakpoints): Don't call insert_breakpoint_locations here.
399 Instead, pass UGLL_INSERT to update_global_location_list.
400 (update_global_location_list): Change parameter type from boolean
401 to enum ugll_insert_mode. All callers adjusted. Adjust to use
402 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
403 (create_solib_event_breakpoint_1): New, factored out from ...
404 (create_solib_event_breakpoint): ... this.
405 (create_and_insert_solib_event_breakpoint): Use
406 create_solib_event_breakpoint_1 instead of calling
407 insert_breakpoint_locations manually.
408 (update_global_location_list): Handle UGLL_INSERT.
409
44702360
PA
4102014-09-22 Pedro Alves <palves@redhat.com>
411
412 * breakpoint.c (enum ugll_insert_mode): New enum.
413 (update_global_location_list)
414 (update_global_location_list_nothrow): Change parameter type from
415 boolean to enum ugll_insert_mode. All callers adjusted.
416
93c6145a
JB
4172014-09-19 Joel Brobecker <brobecker@adacore.com>
418
419 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
420 SystemTap support in GDB.
421
89a5711c
DB
4222014-09-19 Don Breazeal <donb@codesourcery.com>
423
424 * linux-nat.c (linux_handle_extended_wait): Call
425 linux_ptrace_get_extended_event.
426 (wait_lwp): Call linux_is_extended_waitstatus.
427 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
428 and linux_is_extended_waitstatus.
429 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
430 linux_ptrace_get_extended_event.
431 (linux_ptrace_get_extended_event): New function.
432 (linux_is_extended_waitstatus): New function.
433 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
434 (linux_is_extended_waitstatus): New declarations.
435
c3b7b696
YQ
4362014-09-19 Yao Qi <yao@codesourcery.com>
437
438 * dwarf2read.c (dwarf_decode_lines): Update declaration.
439 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
440 comments. Callers update.
441 (dwarf_decode_lines): Likewise.
442 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
443 comments. Skip the line table if 'lowpc' is greater than
444 'address'. Don't check
445 dwarf2_per_objfile->has_section_at_zero.
446
2b4fd423
DE
4472014-09-18 Doug Evans <dje@google.com>
448
449 * NEWS: Mention new "producer" attribute of gdb.Symtab.
450 * python/py-symtab.c (stpy_get_producer): New function.
451 (symtab_object_getset): Add "producer" attribute.
452
5e43d467
UW
4532014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
454
455 PR gdb/17384
456 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
457 (do_captured_read_memory_integer): Remove.
458 (safe_read_memory_integer): Use target_read_memory directly instead
459 of catching errors in do_captured_read_memory_integer.
460
04e79979
MR
4612014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
462
463 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
464 not gdb/doc.
465
76aeec5b
SDJ
4662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
467
468 * objc-lang.c (find_implementation_from_class): Remove dead code.
469
2f693f9d
SDJ
4702014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
471
472 PR cli/7233
473 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
474 "fprintf_unfiltered (gdb_stdlog...)".
475
bb9d5f81
PP
4762014-09-16 Patrick Palka <patrick@parcs.ath.cx>
477
478 PR breakpoints/12526
479 * breakpoint.h (struct watchpoint): New fields val_bitpos and
480 val_bitsize.
481 * breakpoint.c (watch_command_1): Use these fields to retain
482 bitfield information.
483 (extract_bitfield_from_watchpoint_value): New function.
484 (watchpoint_check): Use it.
485 (update_watchpoint): Use it. Optimize the address and length of a
486 HW watchpoint pointing to a bitfield.
487 * value.h (unpack_value_bitfield): New prototype.
488 * value.c (unpack_value_bitfield): Make extern.
489
05db5edd
ST
4902014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
491
492 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
493 x86-dregs.o.
494 * gnu-nat.c (inf_threads): New function.
495 * gnu-nat.h (inf_threads_ftype): New typedef.
496 (inf_threads): New declaration.
497 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
498 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
499 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
500 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
501 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
502 (i386_gnu_dr_get_control): New functions.
503 (reg_addr): New structure.
504 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
505 i386 debugging register hooks.
506 * NEWS: Mention this.
507
5a578da5
OJ
5082014-08-13 Omair Javaid <omair.javaid@linaro.org>
509
510 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
511 vector data transfer instructions.
512 (arm_record_coproc_data_proc): Updated.
513
f20f80dd
OJ
5142014-08-13 Omair Javaid <omair.javaid@linaro.org>
515
516 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
517 arm_record_exreg_ld_st_insn.
518 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
519 load/store insns.
520
851f26ae
OJ
5212014-08-13 Omair Javaid <omair.javaid@linaro.org>
522
523 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
524 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
525 processing instructions.
526
1e1b6563
OJ
5272014-08-13 Omair Javaid <omair.javaid@linaro.org>
528
529 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
530 for advance SIMD struct ld/st insn.
531 (thumb2_record_decode_insn_handler): Replace stub handler with
532 thumb2_record_asimd_struct_ld_st.
533
60cc5e93
OJ
5342014-08-13 Omair Javaid <omair.javaid@linaro.org>
535
536 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
537 for asimd, vfp and coprocessor insns.
538 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
539 and coprocessor insns.
540 (thumb2_record_coproc_insn): New function.
541 (thumb2_record_decode_insn_handler): Update coprocessor insns record
542 handlers.
543 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
544 opcode 110 insns.
545
81219e53
DE
5462014-09-13 Doug Evans <xdje42@gmail.com>
547
548 * NEWS: Mention new "queue-signal" command.
549 * infcmd.c (queue_signal_command): New function.
550 (_initialize_infcmd): Add new queue-signal command.
551
d36bf488
DE
5522014-09-13 Doug Evans <xdje42@gmail.com>
553
554 * linux-nat.c (wait_lwp): Add debugging printf.
555 (linux_nat_wait_1): Ditto.
556
f37f681c
PA
5572014-09-12 Pedro Alves <palves@redhat.com>
558
559 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
560 (create_and_insert_solib_event_breakpoint): New functions.
561 * breakpoint.h (create_and_insert_solib_event_breakpoint)
562 (remove_solib_event_breakpoints_at_next_stop): New declarations.
563 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
564 (remove_dbx_link_breakpoint): Delete function.
565 (insert_dbx_link_bpt_in_file): Use
566 create_and_insert_solib_event_breakpoint instead of
567 deprecated_insert_raw_breakpoint.
568 (procfs_wait): Don't check whether we hit __dbx_link here.
569 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
570 here.
571 * solib-irix.c (base_breakpoint): Delete global.
572 (disable_break): Delete function.
573 (enable_break): Use create_solib_event_breakpoint
574 instead of deprecated_insert_raw_breakpoint.
575 (irix_solib_handle_event): New function.
576 (irix_solib_create_inferior_hook): Don't run the target or disable
577 the mapping-complete breakpoint here.
578 (_initialize_irix_solib): Install irix_solib_handle_event as
579 so_ops->handle_event hook.
580
9d9bf2df
EBM
5812014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
582 Ulrich Weigand  <uweigand@de.ibm.com>
583
584 PR tdep/17379
585 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
586 instead of read_memory_unsigned_integer.
587
b006a80e
GB
5882014-09-12 Gary Benson <gbenson@redhat.com>
589
590 * nat/linux-waitpid.c: Include common-defs.h.
591 [GDBSERVER]: Add FIXME comment.
592 [!GDBSERVER]: Don't include defs.h or signal.h.
593 (linux_debug) [!GDBSERVER]: Remove empty block.
594
296b1496
GB
5952014-09-12 Gary Benson <gbenson@redhat.com>
596
597 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
598 Don't include defs.h or server.h.
599
53f81362
GB
6002014-09-12 Gary Benson <gbenson@redhat.com>
601
602 * nat/linux-btrace.c: Include common-defs.h.
603 Don't include defs.h, server.h or gdbthread.h.
604 * nat/linux-btrace.h (struct target_ops): New forward declaration.
605
727605ca
GB
6062014-09-12 Gary Benson <gbenson@redhat.com>
607
608 * common/agent.c: Include common-defs.h.
609 Don't include defs.h or server.h.
610 * common/buffer.c: Likewise.
611 * common/common-debug.c: Likewise.
612 * common/common-utils.c: Likewise.
613 * common/errors.c: Likewise.
614 * common/filestuff.c: Likewise.
615 * common/format.c: Likewise.
616 * common/gdb_vecs.c: Likewise.
617 * common/print-utils.c: Likewise.
618 * common/ptid.c: Likewise.
619 * common/rsp-low.c: Likewise.
620 * common/signals.c: Likewise.
621 * common/vec.c: Likewise.
622 * common/xml-utils.c: Likewise.
623 * nat/linux-osdata.c: Likewise.
624 * nat/linux-procfs.c: Likewise.
625 * nat/linux-ptrace.c: Likewise.
626 * nat/mips-linux-watch.c: Likewise.
627 * target/waitstatus.c: Likewise.
628
361c8ade
GB
6292014-09-12 Tom Tromey <tromey@redhat.com>
630 Gary Benson <gbenson@redhat.com>
631
632 * common/common-regcache.h: New file.
633 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
634 * regcache.h: Include common-regcache.h.
635 (regcache_read_pc): Don't declare.
636 * regcache.c (get_thread_regcache_for_ptid): New function.
637 * nat/linux-btrace.c: Don't include regcache.h.
638 Include common-regcache.h.
639 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
640
a01cbb49
TS
6412014-09-11 Thomas Schwinge <thomas@codesourcery.com>
642
643 * regcache.h (struct regset): Declare.
644
98880d46
PA
6452014-09-11 Pedro Alves <palves@redhat.com>
646
647 PR gdb/17347
648 * main.c: Include "infrun.h".
649 (catch_command_errors, catch_command_errors_const): Wait for the
650 foreground command to complete.
651 * top.c (maybe_wait_sync_command_done): New function, factored out
652 from ...
653 (maybe_wait_sync_command_done): ... here.
654 * top.h (maybe_wait_sync_command_done): New declaration.
655
bd9269f7
GB
6562014-09-11 Tom Tromey <tromey@redhat.com>
657 Gary Benson <gbenson@redhat.com>
658
659 * common/symbol.h: New file.
660 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
661 * minsyms.c (find_minimal_symbol_address): New function.
662 * common/agent.c: Include common/symbol.h.
663 [!GDBSERVER]: Don't include objfiles.h.
664 (agent_look_up_symbols): Use find_minimal_symbol_address.
665
f8c1d06b
GB
6662014-09-11 Gary Benson <gbenson@redhat.com>
667
668 * target/target.h (target_stop_ptid, target_continue_ptid):
669 Declare.
670 * target.c (target_stop_ptid, target_continue_ptid): New
671 functions.
672 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
673 (agent_run_command): Always use target_stop_ptid and
674 target_continue_ptid.
675
721ec300
GB
6762014-09-11 Tom Tromey <tromey@redhat.com>
677 Gary Benson <gbenson@redhat.com>
678
679 * target/target.h: New file.
680 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
681 * target.h: Include target/target.h.
682 (target_read_memory, target_write_memory): Don't declare.
683 * target.c (target_read_uint32): New function.
684 * common/agent.c: Include target/target.h.
685 [!GDBSERVER]: Don't include target.h.
686 (helper_thread_id): Type changed to uint32_t.
687 (agent_get_helper_thread_id): Use target_read_uint32.
688 (agent_run_command): Always use target_read_memory and
689 target_write_memory.
690 (agent_capability): Type changed to uint32_t.
691 (agent_capability_check): Use target_read_uint32.
692
c5e92cca
GB
6932014-09-11 Gary Benson <gbenson@redhat.com>
694
695 * common/common-debug.h (show_debug_regs): Declare.
696 * common/common-debug.c (show_debug_regs): Define.
697 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
698 all uses with show_debug_regs. Replace all uses that considered
699 debug_hw_points as a multi-value integer with straight boolean
700 uses.
701 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
702 with show_debug_regs.
703 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
704 all uses with show_debug_regs.
705 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
706 uses with show_debug_regs.
707
eeef931a
UW
7082014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
709
710 * findvar.c (address_from_register): Handle targets requiring
711 a special conversion routine even for plain pointer types.
712
8efa9855
UW
7132014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
714
715 * rs6000-nat.c (exec_one_dummy_insn): Remove.
716 (store_register): Do not call exec_one_dummy_insn.
717
eb479039
JB
7182014-09-10 Joel Brobecker <brobecker@adacore.com>
719
720 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
721 dereference it first. Use value_enclosing_type instead of
722 value_type.
723 (ada_array_length): Likewise.
724
deede10c
JB
7252014-09-10 Joel Brobecker <brobecker@adacore.com>
726
727 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
728 Adjust function implementation and documentation accordingly.
729 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
730 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
731 Update call to ada_value_ptr_subscript.
732
7828a5f5
JB
7332014-09-10 Joel Brobecker <brobecker@adacore.com>
734
735 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
736 instead of VAL's type.
737
35782f14
JB
7382014-09-10 Joel Brobecker <brobecker@adacore.com>
739
740 * amd64-linux-nat.c: Add <sys/uio.h> #include.
741
d342a0da
DE
7422014-09-09 Doug Evans <xdje42@gmail.com>
743
744 PR guile/17367
745 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
746 last parameter to pkg-config, not first.
747 * configure.ac: Pass --with-guile provided pkg-config path to
748 GDB_GUILE_PROGRAM_NAMES.
749 * configure: Regenerate.
750
b4a3d263
GKB
7512014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
752
753 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
754 Bertazi".
755
6e466374
MR
7562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
757
758 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
759 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
760 the list of sections determining GDB_OSABI_IRIX.
761
a1ada89a
JH
7622014-09-09 James Hogan <james.hogan@imgtec.com>
763
764 * MAINTAINERS (Write After Approval): Add "James Hogan".
765
86db008d
JH
7662014-09-09 James Hogan <james.hogan@imgtec.com>
767
768 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
769
72fde3df
JB
7702014-09-09 Joel Brobecker <brobecker@adacore.com>
771
772 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
773
92d8d229
DE
7742014-09-08 Doug Evans <xdje42@gmail.com>
775
776 PR 17247
777 * guile.c: #include <signal.h>.
778 (_initialize_guile): Block SIGCHLD while initializing Guile.
779
780 Replaces the following, which is reverted.
781
782 2014-07-26 Doug Evans <xdje42@gmail.com>
783
784 PR 17185
785 * configure.ac: Add check for header gc/gc.h.
786 Add check for function setenv.
787 * configure: Regenerate.
788 * config.in: Regenerate.
789 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
790
d81412aa
DE
7912014-09-08 Doug Evans <xdje42@gmail.com>
792
793 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
794 with named constant. Fix style of pointer comparison.
795 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
796
a9f116cb
GKB
7972014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
798
799 PR gdb/17035
800 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
801 decide whether we display the command on "show user".
802 * cli/cli-script.c (show_user_1): Only verify cmdlines after
803 printing command name.
804 * cli/cli-decode.h (cli_user_command_p): Declare new function.
805 * cli/cli-decode.c (cli_user_command_p): Create helper function
806 to verify whether cmd_list_element is a user-defined command.
807
c75bd3a2
JK
8082014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
809
810 PR python/17355
811 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
812 Fix goto out of TRY_CATCH.
813
faa42425 8142014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 815 Tom Tromey <tromey@redhat.com>
faa42425
DE
816
817 PR 15276
818 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
819 $_any_caller_matches.
820 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
821 * python/lib/gdb/function/caller_is.py: New file.
822
0d41ba00
DE
8232014-09-06 Doug Evans <xdje42@gmail.com>
824
825 * infcmd.c (program_info): Fix typo.
826
474ca4f6
SDJ
8272014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
828
829 PR gdb/17235
830 * stap-probe.c (stap_parse_single_operand): Delete unused variable
831 'number'. New variable 'has_digit'. Rewrite code to deal with
832 subexpressions on SDT probes.
833
ebf13736
PA
8342014-09-04 Pedro Alves <palves@redhat.com>
835
836 * c-exp.y (parse_number): Skip handling base-switching prefixes if
837 the input is only one character long.
838
eb0b0463
SDJ
8392014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
840
841 PR fortran/17237
842 * f-valprint.c (f_val_print): Specify the correct print option to
843 use when printing integer values.
844
5ee44bfa
GB
8452014-09-04 Gary Benson <gbenson@redhat.com>
846
847 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
848 Remove code to cope with LWPs wrapped as PIDs.
849 Add assertions to ensure no wrapped LWPs are passed.
850
4875ffdb
PA
8512014-09-04 Pedro Alves <palves@redhat.com>
852
853 * value.c (value_ranges_copy_adjusted): New function, factored out
854 from ...
855 (value_contents_copy_raw): ... here.
856 (unpack_value_bits_as_long_1): Rename back to ...
857 (unpack_bits_as_long): ... this. Remove 'original_value' and
858 'result' parameters. Change return type to LONGEST.
859 (unpack_value_bits_as_long): Delete.
860 (unpack_value_field_as_long_1): Delete.
861 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
862 (unpack_value_bitfield): New function.
863 (value_field_bitfield): Reimplement using unpack_value_bitfield.
864 (value_fetch_lazy): Use unpack_value_bitfield.
865 * value.h (unpack_value_bits_as_long): Delete declaration.
866
5f3b99cf
SS
8672014-09-03 Sasha Smundak <asmundak@google.com>
868
869 * python/py-frame.c (frapy_read_register): New function.
870
ac740bc7
JH
8712014-09-03 James Hogan <james.hogan@imgtec.com>
872
873 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
874 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
875
7d793aa9
SDJ
8762014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
877
878 PR python/16699
879 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
880 function.
881 (add_cmd): Set "completer_handle_brkchars" to NULL.
882 * cli/cli-decode.h (struct cmd_list_element)
883 <completer_handle_brkchars>: New field.
884 * command.h (completer_ftype_void): New typedef.
885 (set_cmd_completer_handle_brkchars): New prototype.
886 * completer.c (set_gdb_completion_word_break_characters): New
887 function.
888 (complete_line_internal): Call "completer_handle_brkchars"
889 callback from command.
890 * completer.h: Include "command.h".
891 (set_gdb_completion_word_break_characters): New prototype.
892 * python/py-cmd.c (cmdpy_completer_helper): New function.
893 (cmdpy_completer_handle_brkchars): New function.
894 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
895 (cmdpy_init): Set completer_handle_brkchars to
896 cmdpy_completer_handle_brkchars.
897
97ea6506
GB
8982014-09-03 Gary Benson <gbenson@redhat.com>
899
900 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
901 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
902 Loop conditions changed to equivalent form.
903 (struct x86_debug_reg_state): Updated dr_ref_count comment.
904 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
905 ALL_DEBUG_ADDRESS_REGISTERS.
906
d1437815
JB
9072014-09-03 Joel Brobecker <brobecker@adacore.com>
908
909 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
910 description fix.
911
9b94fcf1
DE
9122014-09-02 Doug Evans <dje@google.com>
913
914 * typeprint.c (find_global_typedef): Fix comment.
915
df7e5265
GB
9162014-09-02 Gary Benson <gbenson@redhat.com>
917
918 * i386-nat.h: Renamed as...
919 * x86-nat.h: New file. All type, function and variable name
920 prefixes changed from "i386_" to "x86_". All references updated.
921 * i386-nat.c: Renamed as...
922 * x86-nat.c: New file. All type, function and variable name
923 prefixes changed from "i386_" to "x86_". All references updated.
924 * common/i386-xstate.h: Renamed as...
925 * common/x86-xstate.h: New file. All type, function and variable
926 name prefixes changed from "i386_" to "x86_". All references
927 updated.
928 * nat/i386-cpuid.h: Renamed as...
929 * nat/x86-cpuid.h: New file. All type, function and variable name
930 prefixes changed from "i386_" to "x86_". All references updated.
931 * nat/i386-gcc-cpuid.h: Renamed as...
932 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
933 name prefixes changed from "i386_" to "x86_". All references
934 updated.
935 * nat/i386-dregs.h: Renamed as...
936 * nat/x86-dregs.h: New file. All type, function and variable name
937 prefixes changed from "i386_" to "x86_". All references updated.
938 * nat/i386-dregs.c: Renamed as...
939 * nat/x86-dregs.c: New file. All type, function and variable name
940 prefixes changed from "i386_" to "x86_". All references updated.
941
1c3569d4
MR
9422014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
943
944 * varobj.c (_initialize_varobj): Move to the end of file.
945
ff55e1b5
GB
9462014-08-29 Gary Benson <gbenson@redhat.com>
947
948 * common/common-exceptions.h: New file.
949 * common/common-exceptions.c: Likewise.
950 * Makefile.in (SFILES): Add common/common-exceptions.c.
951 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
952 (COMMON_OBS): Add common-exceptions.o.
953 (common-exceptions.o): New rule.
954 * exceptions.h (common-exceptions.h): Include.
955 (gdb_setjmp.h): Do not include.
956 (return_reason): Moved to common-exceptions.h.
957 (enum return_reason): Likewise.
958 (RETURN_MASK): Likewise.
959 (typedef return_mask): Likewise.
960 (enum errors): Likewise.
961 (struct gdb_exception): Likewise.
962 (exceptions_state_mc_init): Likewise.
963 (exceptions_state_mc_action_iter): Likewise.
964 (exceptions_state_mc_action_iter_1): Likewise.
965 (TRY_CATCH): Likewise.
966 (throw_exception): Likewise.
967 (throw_verror): Likewise.
968 (throw_vquit): Likewise.
969 (throw_error): Likewise.
970 (throw_quit): Likewise.
971 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
972 (enum catcher_action): Likewise.
973 (struct catcher): Likewise.
974 (current_catcher): Likewise.
975 (catcher_list_size): Likewise.
976 (exceptions_state_mc_init): Likewise.
977 (catcher_pop): Likewise.
978 (exceptions_state_mc): Likewise.
979 (exceptions_state_mc_action_iter): Likewise.
980 (exceptions_state_mc_action_iter_1): Likewise.
981 (throw_exception): Likewise.
982 (exception_messages): Likewise.
983 (exception_messages_size): Likewise.
984 (throw_it): Likewise.
985 (throw_verror): Likewise.
986 (throw_vquit): Likewise.
987 (throw_error): Likewise.
988 (throw_quit): Likewise.
989 (prepare_to_throw_exception): New function.
990
e9bcb658
GB
9912014-08-29 Gary Benson <gbenson@redhat.com>
992
993 * common/gdb_setjmp.h: New file.
994 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
995 * configure.ac: Move sigsetjmp check...
996 * common/common.m4: ...here.
997 * configure: Regenerate.
998 * cp-support.c (SIGJMP_BUF): Delete.
999 (SIGSETJMP): Likewise.
1000 (SIGLONGJMP): Likewise.
1001 * exceptions.h (gdb_setjmp.h): Include.
1002 (setjmp.h): Do not include.
1003 (EXCEPTIONS_SIGJMP_BUF): Delete.
1004 (EXCEPTIONS_SIGSETJMP): Likewise.
1005 (EXCEPTIONS_SIGLONGJMP): Likewise.
1006 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1007 from gdb_setjmp.h.
1008 * exceptions.c: Likewise.
1009
e3180625
GB
10102014-08-29 Gary Benson <gbenson@redhat.com>
1011
1012 * cleanups.h: Moved to...
1013 * common/cleanups.h: New file.
1014 * cleanups.c: Moved to...
1015 * common/cleanups.c: New file. Include common-defs.h and
1016 cleanups.h. Do not include defs.h.
1017 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1018 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1019 (cleanups.o): New rule.
1020
e3d6ba5d
GB
10212014-08-29 Gary Benson <gbenson@redhat.com>
1022
1023 * common/errors.h (internal_warning): New declaration.
1024 (internal_vwarning): Likewise.
1025 * common/errors.c (internal_warning): New function.
1026 * utils.h (internal_warning): Don't declare.
1027 (internal_vwarning): Likewise.
1028 * utils.c (internal_warning): Removed.
1029
075c7033
GB
10302014-08-29 Gary Benson <gbenson@redhat.com>
1031
1032 * main.c (captured_main): Use warning during startup.
1033 Prefix startup warning messages with command name.
1034
91b35fd0
GB
10352014-08-29 Gary Benson <gbenson@redhat.com>
1036
1037 * main.c (captured_main): Handle usage errors with error.
1038
b1ec390e
GB
10392014-08-29 Gary Benson <gbenson@redhat.com>
1040
1041 * go32-nat.c (go32_create_inferior): Replace a fprintf/
1042 exit pair with a call to error. Wrap the message with _().
1043
fd0ef3dd
GB
10442014-08-29 Gary Benson <gbenson@redhat.com>
1045
1046 * main.c (captured_main): Replace a fprintf/exit
1047 pair with a call to error. Wrap the message with _().
1048
e0e6bcab
GB
10492014-08-29 Gary Benson <gbenson@redhat.com>
1050
1051 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
1052 pairs with calls to error. Wrap the message with _().
1053
0d2f5c07
GB
10542014-08-29 Gary Benson <gbenson@redhat.com>
1055
1056 * utils.c (vwarning): Protect calls to target_terminal_ours
1057 and wrap_here.
1058
5df43998
GB
10592014-08-29 Gary Benson <gbenson@redhat.com>
1060
1061 * exceptions.c (print_flush): Protect calls to
1062 target_terminal_ours and wrap_here.
1063
2437fd32
GB
10642014-08-29 Gary Benson <gbenson@redhat.com>
1065
1066 * utils.h (filtered_printing_initialized): New declaration.
1067 * utils.c (abort_with_message): New function.
1068 (internal_vproblem): Use abort_with_message for first level
1069 recursive internal problems, and if gdb_stderr is not set up.
1070 Protect calls to target_terminal_ours, begin_line and query.
1071
f1f58506
DE
10722014-08-28 Doug Evans <dje@google.com>
1073
1074 * symtab.c (in_prologue): Move definition to better spot.
1075 (skip_prologue_using_sal): Ditto.
1076
aab2f208
DE
10772014-08-28 Doug Evans <dje@google.com>
1078
1079 * symtab.c (find_function_start_sal): Move definition to better spot.
1080
6b65d1b6
YQ
10812014-08-28 Yao Qi <yao@codesourcery.com>
1082
1083 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1084 found_stack_adjust in forward scan. Remove condition check
1085 on found_stack_adjust which is always true. Indent the code.
1086
a1b34d15
YQ
10872014-08-28 Yao Qi <yao@codesourcery.com>
1088
1089 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1090 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1091 (dwarf_decode_lines): Remove argument
1092 want_line_info. Remove condition check on want_line_info.
1093 Callers update.
1094
d5962de5
DE
10952014-08-27 Doug Evans <dje@google.com>
1096
1097 * dwarf2read.c (dwarf_record_line): Fix typo.
1098
9b139002
SDJ
10992014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1100
1101 * target.h (struct target_ops::to_terminal_save_ours): Remove
1102 declaration.
1103 (target_terminal_save_ours): Remove macro.
1104 * target-delegates.c: Regenerate.
1105 * inf-child.c (inf_child_target): Don't set the nonexistent
1106 field to_terminal_save_ours.
1107 * inferior.h (child_terminal_save_ours): Remove declaration.
1108 * terminal.h (gdb_save_tty_state): New declaration.
1109 * inflow.c (child_terminal_save_ours): Rename to ...
1110 (gdb_save_tty_state): ... this.
1111 * tui/tui.c: Include terminal.h.
1112 (tui_enable): Use gdb_save_tty_state instead of
1113 target_terminal_save_ours.
1114 (tui_disable): Likewise.
1115
9debeba0
DE
11162014-08-25 Doug Evans <dje@google.com>
1117
1118 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1119 Pass NULL instead of 0 for context pointer.
1120
428fc5fc
YQ
11212014-08-25 Yao Qi <yao@codesourcery.com>
1122
1123 * dwarf2read.c: Fix grammatical error.
1124
cdc07690
YQ
11252014-08-24 Yao Qi <yao@codesourcery.com>
1126
1127 * dwarf2read.c (scan_partial_symbols): Update comments.
1128 Rename argument 'need_pc' with 'set_addrmap'.
1129 (add_partial_namespace): Rename argument 'need_pc' with
1130 'set_addrmap'.
1131 (add_partial_module): Likewise.
1132 (add_partial_subprogram): Likewise. Update comments.
1133 (dwarf2_name): Fix typo.
1134
a05a36a5
DE
11352014-08-22 Doug Evans <dje@google.com>
1136
1137 PR 17276
1138 * dwarf2read.c (dwarf_record_line_p): New function.
1139 (dwarf_decode_lines_1): Ignore subsequent line number entries
1140 for the same line if any entry had a non-zero discriminator.
1141
252a6764
DE
11422014-08-22 Doug Evans <dje@google.com>
1143
1144 * buildsym.h (record_line_ftype): New typedef.
1145 (record_line): Use it.
1146 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
1147 (dwarf_decode_lines_1): Call them.
1148
510db052
YQ
11492014-08-22 Yao Qi <yao@codesourcery.com>
1150
1151 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
1152 (ctf_end): Remove code.
1153
22fd09ae
JK
11542014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
1157 (linux_make_corefile_notes): call update_thread_list, protected against
1158 exceptions.
1159
656e8868
PA
11602014-08-21 Pedro Alves <palves@redhat.com>
1161
1162 * infcmd.c (attach_command): Remove comment.
1163
de589d04
WN
11642014-08-21 Bin Cheng <bin.cheng@arm.com>
1165
1166 * aarch64-linux-nat.c (dr_changed_t): Change the type from
1167 unsigned LONGEST to ULONGEST.
1168
2a31c623
PA
11692014-08-20 Pedro Alves <palves@redhat.com>
1170
1171 * Makefile.in (check-read1): New rule.
1172
d36430db
JB
11732014-08-20 Joel Brobecker <brobecker@adacore.com>
1174
1175 * value.c (value_from_contents_and_address): Strip resolved_type's
1176 typedef layers before checking its TYPE_DATA_LOCATION.
1177
000339af
PA
11782014-08-20 Pedro Alves <palves@redhat.com>
1179
1180 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
1181
5f52445b
YQ
11822014-08-20 Yao Qi <yao@codesourcery.com>
1183
1184 * amd64-tdep.c (amd64_classify): Add a blank line after the
1185 example. Move "*/" to a new line.
1186 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
1187 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
1188 * dwarf2read.c (psymtab_include_file_name): Likewise.
1189
9a0dc9e3
PA
11902014-08-19 Andrew Burgess <aburgess@broadcom.com>
1191 Pedro Alves <palves@redhat.com>
1192
1193 PR symtab/14604
1194 PR symtab/14605
1195 * ada-lang.c (coerce_unspec_val_to_type): Use
1196 value_contents_copy_raw.
1197 * ada-valprint.c (val_print_packed_array_elements): Adjust.
1198 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
1199 * cp-valprint.c (cp_print_value_fields): Let the common printing
1200 code handle optimized out values.
1201 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
1202 * d-valprint.c (dynamic_array_type): Use
1203 value_bits_any_optimized_out.
1204 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
1205 check_any_valid fields.
1206 (check_pieced_value_bits): Delete and inline ...
1207 (check_pieced_synthetic_pointer): ... here.
1208 (check_pieced_value_validity): Delete.
1209 (check_pieced_value_invalid): Delete.
1210 (pieced_value_funcs): Remove check_validity and check_any_valid
1211 fields.
1212 (read_pieced_value): Use mark_value_bits_optimized_out.
1213 (write_pieced_value): Switch to use
1214 mark_value_bytes_optimized_out.
1215 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
1216 of assuming the whole value is optimized out.
1217 * findvar.c (read_frame_register_value): Remove special handling
1218 of optimized out registers.
1219 (value_from_register): Use mark_value_bytes_optimized_out.
1220 * frame-unwind.c (frame_unwind_got_optimized): Use
1221 mark_value_bytes_optimized_out.
1222 * jv-valprint.c (java_value_print): Adjust.
1223 (java_print_value_fields): Let the common printing code handle
1224 optimized out values.
1225 * mips-tdep.c (mips_print_register): Remove special handling of
1226 optimized out registers.
1227 * opencl-lang.c (lval_func_check_validity): Delete.
1228 (lval_func_check_any_valid): Delete.
1229 (opencl_value_funcs): Remove check_validity and check_any_valid
1230 fields.
1231 * p-valprint.c (pascal_object_print_value_fields): Let the common
1232 printing code handle optimized out values.
1233 * stack.c (read_frame_arg): Remove special handling of optimized
1234 out values. Fetch both VAL and ENTRYVAL before comparing
1235 contents. Adjust to value_available_contents_eq rename.
1236 * valprint.c (valprint_check_validity)
1237 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
1238 (val_print_array_elements): Adjust.
1239 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
1240 (value_bits_any_optimized_out): New function.
1241 (value_entirely_covered_by_range_vector): New function, factored
1242 out from value_entirely_unavailable.
1243 (value_entirely_unavailable): Reimplement.
1244 (value_entirely_optimized_out): New function.
1245 (insert_into_bit_range_vector): New function, factored out from
1246 mark_value_bits_unavailable.
1247 (mark_value_bits_unavailable): Reimplement.
1248 (struct ranges_and_idx): New struct.
1249 (find_first_range_overlap_and_match): New function, factored out
1250 from value_available_contents_bits_eq.
1251 (value_available_contents_bits_eq): Rename to ...
1252 (value_contents_bits_eq): ... this. Check both unavailable
1253 contents and optimized out contents.
1254 (value_available_contents_eq): Rename to ...
1255 (value_contents_eq): ... this.
1256 (allocate_value_lazy): Remove reference to the old optimized_out
1257 boolean.
1258 (allocate_optimized_out_value): Use
1259 mark_value_bytes_optimized_out.
1260 (require_not_optimized_out): Adjust to check whether the
1261 optimized_out vec is empty.
1262 (ranges_copy_adjusted): New function, factored out from
1263 value_contents_copy_raw.
1264 (value_contents_copy_raw): Also copy the optimized out ranges.
1265 Assert the destination ranges aren't optimized out.
1266 (value_contents_copy): Update comment, remove call to
1267 require_not_optimized_out.
1268 (value_contents_equal): Adjust to check whether the optimized_out
1269 vec is empty.
1270 (set_value_optimized_out, value_optimized_out_const): Delete.
1271 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1272 New functions.
1273 (value_entirely_optimized_out, value_bits_valid): Delete.
1274 (value_copy): Take a VEC copy of the 'optimized_out' field.
1275 (value_primitive_field): Remove special handling of optimized out.
1276 (value_fetch_lazy): Assert that lazy values have no unavailable
1277 regions. Use value_bits_any_optimized_out. Remove some special
1278 handling for optimized out values.
1279 * value.h: Add intro comment about <optimized out> and
1280 <unavailable>.
1281 (struct lval_funcs): Remove check_validity and check_any_valid
1282 fields.
1283 (set_value_optimized_out, value_optimized_out_const): Remove.
1284 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1285 New declarations.
1286 (value_bits_any_optimized_out): New declaration.
1287 (value_bits_valid): Delete declaration.
1288 (value_available_contents_eq): Rename to ...
1289 (value_contents_eq): ... this, and extend comments.
1290
6694c411
JK
12912014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 Fix -fsanitize=address on unreadable inferior strings.
1294 * valprint.c (val_print_string): Fix access before BUFFER.
1295
89a1c21a
SM
12962014-08-19 Simon Marchi <simon.marchi@ericsson.com>
1297
1298 * target.c (target_struct_size): Remove.
1299 (target_struct_allocsize): Remove.
1300 (DEFAULT_ALLOCSIZE): Remove.
1301 (target_ops_p): New typedef.
1302 (DEF_VEC_P (target_ops_p)): New vector type.
1303 (target_structs): Change type to VEC (target_ops_p).
1304 (add_target_with_completer): Replace "push" code by VEC_safe_push.
1305 (find_default_run_target): Rewrite for loop following changes to
1306 target_structs.
1307
cb417230
JB
13082014-08-19 Joel Brobecker <brobecker@adacore.com>
1309
1310 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
1311 Adjust code accordingly. Adjust function description comment.
1312
817e0957
YQ
13132014-08-19 Yao Qi <yao@codesourcery.com>
1314
1315 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
1316 types.
1317
2974be62
AM
13182014-08-19 Alan Modra <amodra@gmail.com>
1319
1320 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
1321 * config.in: Regenerate.
1322 * configure: Regenerate.
1323
34abf635
GB
13242014-08-19 Tom Tromey <tromey@redhat.com>
1325 Gary Benson <gbenson@redhat.com>
1326
1327 * common/common-debug.h: New file.
1328 * common/common-debug.c: Likewise.
1329 * debug.c: Likewise.
1330 * Makefile.in (SFILES): Add common/common-debug.c.
1331 (HFILES_NO_SRCDIR): Add common/common-debug.h.
1332 (COMMON_OBS): Add common-debug.o and debug.o.
1333 (common-debug.o): New rule.
1334 * common/common-defs.h: Include common-debug.h.
1335 * common/agent.c (debug_agent_printf): New function.
1336 (DEBUG_AGENT): Redefine.
1337 * nat/i386-dregs.c (debug_printf): Undefine.
1338
f6e94d78
GB
13392014-08-19 Gary Benson <gbenson@redhat.com>
1340
1341 * common/common-defs.h: Include print-utils.h.
1342 * utils.h: Do not include print-utils.h.
1343
9239eeab
GB
13442014-08-19 Tom Tromey <tromey@redhat.com>
1345 Gary Benson <gbenson@redhat.com>
1346
1347 * common/common-types.h: New file.
1348 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1349 * common/common-defs.h: Include common-types.h.
1350 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1351 (ULONGEST): Remove.
1352
ef87c8bb
GB
13532014-08-19 Tom Tromey <tromey@redhat.com>
1354 Gary Benson <gbenson@redhat.com>
1355
1356 * common/errors.h: New file.
1357 * common/errors.c: Likewise.
1358 * Makefile.in (SFILES): Add common/errors.c.
1359 (HFILES_NO_SRCDIR): Add common/errors.h.
1360 (COMMON_OBS): Add errors.o.
1361 (errors.o): New rule.
1362 * common/common-defs.h: Include errors.h.
1363 * utils.h (perror_with_name, error, verror, warning, vwarning):
1364 Don't declare.
1365 * common/common-utils.h: (malloc_failure, internal_error):
1366 Likewise.
1367
196a707b
GB
13682014-08-19 Gary Benson <gbenson@redhat.com>
1369
1370 * utils.c (internal_vproblem): Always print the message.
1371
ded4fc8f
DE
13722014-08-18 Doug Evans <dje@google.com>
1373
1374 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1375
950c97d8
JB
13762014-08-18 Joel Brobecker <brobecker@adacore.com>
1377
1378 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1379 Return 0 if TYPE is dynamic.
1380 (print_range): Add handling of dynamic ranges.
1381
3cdcd0ce
JB
13822014-08-18 Keven Boell <keven.boell@intel.com>
1383 Joel Brobecker <brobecker@adacore.com>
1384
1385 * gdbtypes.h (struct main_type): Add field "data_location".
1386 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1387 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1388 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1389 a dynamic data location.
1390 (resolve_dynamic_type): Add DW_AT_data_location handling.
1391 (copy_recursive, copy_type): Copy the data_location information
1392 when present.
1393 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1394 * value.c (value_from_contents_and_address): Add
1395 DW_AT_data_location handling.
1396
08412b07
JB
13972014-08-18 Keven Boell <keven.boell@intel.com>
1398 Joel Brobecker <brobecker@adacore.com>
1399
1400 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1401 field "get_object_address".
1402 * dwarf2expr.c (execute_stack_op): Add handling for
1403 DW_OP_push_object_address.
1404 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1405 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1406 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1407 (dwarf_expr_get_obj_addr): New function.
1408 (dwarf_expr_ctx_funcs): Add get_object_address field.
1409 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1410 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1411 (dwarf2_evaluate_property): Add parameter "address". Use it.
1412 (needs_get_obj_addr): New function.
1413 (needs_frame_ctx_funcs): Add get_object_address field.
1414 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1415 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1416 (resolve_dynamic_array): Likewise.
1417
84754697
JB
14182014-08-18 Joel Brobecker <brobecker@adacore.com>
1419
1420 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1421 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1422 fixed value for records and unions for which some GNAT encodings
1423 are present.
1424
da5c522f
JB
14252014-08-18 Joel Brobecker <brobecker@adacore.com>
1426
1427 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1428 rewrite to avoid "else if" and "else" constructs. Should be
1429 a no-op in practice.
1430
0d72a7c3
JB
14312014-08-18 Joel Brobecker <brobecker@adacore.com>
1432
1433 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1434 of lexical block.
1435
e66d4446
SC
14362014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1437
1438 PR c++/17132
1439 * eval.c: Update all calls to find_overload_match.
1440 * valarith.c: Likewise.
1441 (value_user_defined_cpp_op, value_user_defined_op): New
1442 argument NOSIDE. Update all callers.
1443 * valops.c (find_overload_match): New argument NOSIDE.
1444 * value.h (find_overload_match): Update signature.
1445
940df408
SC
14462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1447
1448 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1449 'items' methods instead of 'iteritems' method on dictionaries.
1450
699ca60a
DE
14512014-08-15 Doug Evans <dje@google.com>
1452
1453 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1454 closer to use.
1455
37780ee5
DE
14562014-08-15 Doug Evans <dje@google.com>
1457
1458 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1459
0ad93d4f
DE
14602014-08-15 Doug Evans <dje@google.com>
1461
1462 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1463
20d8c372
DE
14642014-08-15 Doug Evans <dje@google.com>
1465
1466 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1467 unused.
1468
cb039ba4
EZ
14692014-08-15 Eli Zaretskii <eliz@gnu.org>
1470
1471 * dcache.h: Include target.h, to avoid compile time warnings.
1472
eb7a547a
JB
14732014-08-15 Joel Brobecker <brobecker@adacore.com>
1474
1475 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1476 frame_info" partial declaration.
1477 * gdbarch.h: Regenerate.
1478
783cecc8
YQ
14792014-08-15 Yao Qi <yao@codesourcery.com>
1480
1481 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1482 Add parameter 'decode_for_pst_p'. Callers update.
1483
65c749e7
YQ
14842014-08-13 Yao Qi <yao@codesourcery.com>
1485
1486 PR build/17104
1487 * configure.ac: Use local variable 'pos'.
1488 * configure: Regenerated.
1489
d769e349
DE
14902014-08-11 Doug Evans <dje@google.com>
1491
1492 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1493 message, it is redundant with "Reading symbols from ..." message.
1494
24f1235e
DE
14952014-08-10 Doug Evans <xdje42@gmail.com>
1496
1497 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1498
dcd2e6ef
YQ
14992014-08-09 Yao Qi <yao@codesourcery.com>
1500
1501 PR remote/9053
1502 * remote.c (remote_xfer_partial): Remove dead code.
1503
070bdf0b
AA
15042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1505
1506 * ia64-linux-tdep.c: Include "regset.h".
1507 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1508 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1509 (ia64_linux_supply_fpregset): New function.
1510 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1511 (ia64_linux_regset_from_core_section): New function.
1512 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1513 method.
1514
08f9f542
AA
15152014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1516
1517 * m68klinux-tdep.c: Include "regset.h".
1518 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1519 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1520 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1521 (m68k_linux_regset_from_core_section): New function.
1522 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1523 method.
1524
8f1cee41
AA
15252014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1526
1527 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1528 function. Move logic to...
1529 (tilegx_linux_regmap): ... this new register map.
1530 (tilegx_linux_regset): Refer to register map, replace supply
1531 method by regcache_supply_regset, and add collect method.
1532 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1533 TILEGX_FIRST_EASY_REGNUM.
1534
c5741217
AA
15352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1536
1537 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1538 that calls regcache_supply_regset and handles the EPC register
1539 separately. Move main logic to...
1540 (score7_linux_gregmap): ... this new register map.
1541 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1542 (score7_linux_gregset): Refer to register map. Add collect method.
1543 (score7_linux_regset_from_core_section): Replace
1544 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1545 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1546 (struct regset): Delete unused forward declaraction.
1547 (struct pt_regs): Delete structure definition.
1548 (elf_gregset_t): Delete typedef.
1549
81580573
AA
15502014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1551
1552 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1553 (nios2_core_regset): Add collect method.
1554
ba199d7d
AA
15552014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1556
1557 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1558 platform-independent and don't write to read-only input buffer.
1559 (m32r_linux_collect_gregset): New function.
1560 (m32r_linux_gregset): Add collect method.
1561
0006a9da
AA
15622014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563
1564 * hppa-linux-tdep.c (greg_map): Rename to...
1565 (hppa_linux_gregmap): ... this. Also convert to
1566 regcache_map_entry format.
1567 (hppa_linux_supply_regset): Delete function.
1568 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1569 (hppa_linux_fpregmap): ... this new register map.
1570 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1571 register map, replace supply method by regcache_supply_regset, and
1572 add collect method regcache_collect_regset.
1573
901e1b23
AA
15742014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1575
1576 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1577 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1578 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1579 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1580 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1581 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1582 (frv_linux_supply_gregset): Replace main logic by call to
1583 regcache_supply_regset, but keep clearing gr32-gr63.
1584 (frv_linux_supply_fpregset): Delete function.
1585 (frv_linux_gregset): Refer to appropriate register map and add
1586 regcache_collect_regset as the collect method.
1587 (frv_linux_fpregset): Likewise. Also exchange the supply method
1588 by regcache_supply_regset.
1589
1d6e7555
AA
15902014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1591
1592 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1593 by call to alpha_supply_int_regs.
1594 (alpha_linux_collect_gregset): New function.
1595 (alpha_linux_supply_fpregset): Replace logic by call to
1596 alpha_supply_fp_regs.
1597 (alpha_linux_collect_fpregset): New function.
1598 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1599
d4d793bf
AA
16002014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1601
1602 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1603 by call to regcache_collect_regset.
1604 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1605 instead of aarch64_linux_supply_gregset/_fpregset.
1606 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1607 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1608 header file instead.
1609 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1610 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1611 functions. Move logic to ...
1612 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1613 register maps.
1614 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1615 refer to new register maps, replace *_regset_from_core by
1616 regcache_supply_regset, and also use regcache_collect_regset.
1617 * aarch64-linux-tdep.h: Include "regset.h".
1618 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1619 Delete prototypes.
1620 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1621 macros, moved from C source file.
1622 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1623 variable declarations.
1624
99b7da5d
AA
16252014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1626
1627 * s390-linux-nat.c: Include "regset.h".
1628 (regmap_gregset): Delete macro.
1629 (s390_64_regmap_gregset): New register map for
1630 regcache_supply/_collect_regset.
1631 (s390_64_gregset): New regset.
1632 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1633 (regmap_fpregset): Delete macro.
1634 (s390_native_supply, s390_native_collect): Delete functions.
1635 (supply_gregset, fill_gregset): Replace s390-specific regmap
1636 handling by a call to regcache_supply/_collect_regset.
1637 (supply_fpregset, fill_fpregset): Call regcache_supply/
1638 _collect_regset instead of s390_native_supply/_collect.
1639 (fetch_regset, store_regset): Likewise. Also change the last
1640 parameter to a regset instead of a regmap.
1641 (s390_linux_fetch_inferior_registers)
1642 (390_linux_store_inferior_registers): Adjust last parameter in
1643 calls to fetch_regset and store_regset.
1644 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1645 (s390_gregmap): ... this. Also make static const and convert to
1646 regcache_map_entry format.
1647 (s390x_regmap_gregset): Delete.
1648 (s390_regmap_fpregset): Rename to...
1649 (s390_fpregmap): ... this. Make static const and convert to
1650 regcache_map_entry format.
1651 (s390_regmap_upper, s390_regmap_last_break)
1652 (s390x_regmap_last_break, s390_regmap_system_call)
1653 (s390_regmap_tdb): Likewise.
1654 (s390_supply_regset, s390_collect_regset): Remove functions.
1655 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1656 s390_supply_regset.
1657 (s390_gregset, s390_fpregset, s390_upper_regset)
1658 (s390_last_break_regset, s390x_last_break_regset)
1659 (s390_system_call_regset, s390_tdb_regset): Make global and
1660 replace s390_supply/_collect_regset by regcache_supply/
1661 _collect_regset.
1662 (s390x_gregset): Delete.
1663 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1664 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1665 (s390_regmap_fpregset, s390_regmap_last_break)
1666 (s390x_regmap_last_break, s390_regmap_system_call)
1667 (s390_regmap_tdb): Delete global variable declarations.
1668 (s390_gregset, s390_fpregset, s390_last_break_regset)
1669 (s390x_last_break_regset, s390_system_call_regset)
1670 (s390_tdb_regset): New global variable declarations.
1671
0b309272
AA
16722014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1673
1674 * regcache.c: Include "regset.h".
1675 (regcache_transfer_regset): New local function.
1676 (regcache_supply_regset, regcache_collect_regset): New functions.
1677 * regcache.h (struct regcache_map_entry): New structure.
1678 (REGCACHE_MAP_SKIP): New enum value.
1679 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1680
7fefa8d7
AA
16812014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682
1683 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1684 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1685 (ppc_linux_collect_gregset ): Likewise.
1686 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1687 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1688 (ppc_collect_vrregset): Likewise.
1689 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1690 Likewise.
1691
96c4f946
YQ
16922014-08-07 Yao Qi <yao@codesourcery.com>
1693
1694 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1695 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1696 * remote.c (remote_read_bytes): Likewise.
1697
fffbe6a8
YQ
16982014-08-07 Yao Qi <yao@codesourcery.com>
1699
1700 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1701
5ee8a82c
YQ
17022014-08-07 Yao Qi <yao@codesourcery.com>
1703
1704 PR remote/17230
1705 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1706 TARGET_XFER_OK instead of 0.
1707
bb974a24
GB
17082014-08-07 Gary Benson <gbenson@redhat.com>
1709
1710 * common/common-defs.h: Include errno.h.
1711 * defs.h: Do not include errno.h.
1712 * ada-typeprint.c: Likewise.
1713 * c-typeprint.c: Likewise.
1714 * core-regset.c: Likewise.
1715 * corefile.c: Likewise.
1716 * corelow.c: Likewise.
1717 * event-loop.c: Likewise.
1718 * f-typeprint.c: Likewise.
1719 * gnu-nat.c: Likewise.
1720 * go32-nat.c: Likewise.
1721 * i386gnu-nat.c: Likewise.
1722 * m2-typeprint.c: Likewise.
1723 * nat/linux-btrace.c: Likewise.
1724 * p-typeprint.c: Likewise.
1725 * procfs.c: Likewise.
1726 * remote-sim.c: Likewise.
1727 * rs6000-nat.c: Likewise.
1728 * target.c: Likewise.
1729 * typeprint.c: Likewise.
1730 * ui-file.c: Likewise.
1731 * valops.c: Likewise.
1732 * valprint.c: Likewise.
1733
6d3d12eb
GB
17342014-08-07 Gary Benson <gbenson@redhat.com>
1735
1736 * common/common-defs.h: Include string.h.
1737 * aarch64-tdep.c: Do not include string.h.
1738 * ada-exp.y: Likewise.
1739 * ada-lang.c: Likewise.
1740 * ada-lex.l: Likewise.
1741 * ada-typeprint.c: Likewise.
1742 * ada-valprint.c: Likewise.
1743 * aix-thread.c: Likewise.
1744 * alpha-linux-tdep.c: Likewise.
1745 * alpha-mdebug-tdep.c: Likewise.
1746 * alpha-nat.c: Likewise.
1747 * alpha-osf1-tdep.c: Likewise.
1748 * alpha-tdep.c: Likewise.
1749 * alphanbsd-tdep.c: Likewise.
1750 * amd64-dicos-tdep.c: Likewise.
1751 * amd64-linux-tdep.c: Likewise.
1752 * amd64-nat.c: Likewise.
1753 * amd64-sol2-tdep.c: Likewise.
1754 * amd64fbsd-tdep.c: Likewise.
1755 * amd64obsd-tdep.c: Likewise.
1756 * arch-utils.c: Likewise.
1757 * arm-linux-nat.c: Likewise.
1758 * arm-linux-tdep.c: Likewise.
1759 * arm-tdep.c: Likewise.
1760 * arm-wince-tdep.c: Likewise.
1761 * armbsd-tdep.c: Likewise.
1762 * armnbsd-nat.c: Likewise.
1763 * armnbsd-tdep.c: Likewise.
1764 * armobsd-tdep.c: Likewise.
1765 * avr-tdep.c: Likewise.
1766 * ax-gdb.c: Likewise.
1767 * ax-general.c: Likewise.
1768 * bcache.c: Likewise.
1769 * bfin-tdep.c: Likewise.
1770 * breakpoint.c: Likewise.
1771 * build-id.c: Likewise.
1772 * buildsym.c: Likewise.
1773 * c-exp.y: Likewise.
1774 * c-lang.c: Likewise.
1775 * c-typeprint.c: Likewise.
1776 * c-valprint.c: Likewise.
1777 * charset.c: Likewise.
1778 * cli-out.c: Likewise.
1779 * cli/cli-cmds.c: Likewise.
1780 * cli/cli-decode.c: Likewise.
1781 * cli/cli-dump.c: Likewise.
1782 * cli/cli-interp.c: Likewise.
1783 * cli/cli-logging.c: Likewise.
1784 * cli/cli-script.c: Likewise.
1785 * cli/cli-setshow.c: Likewise.
1786 * cli/cli-utils.c: Likewise.
1787 * coffread.c: Likewise.
1788 * common/agent.c: Likewise.
1789 * common/buffer.c: Likewise.
1790 * common/buffer.h: Likewise.
1791 * common/common-utils.c: Likewise.
1792 * common/filestuff.c: Likewise.
1793 * common/filestuff.c: Likewise.
1794 * common/format.c: Likewise.
1795 * common/print-utils.c: Likewise.
1796 * common/rsp-low.c: Likewise.
1797 * common/signals.c: Likewise.
1798 * common/vec.h: Likewise.
1799 * common/xml-utils.c: Likewise.
1800 * core-regset.c: Likewise.
1801 * corefile.c: Likewise.
1802 * corelow.c: Likewise.
1803 * cp-abi.c: Likewise.
1804 * cp-name-parser.y: Likewise.
1805 * cp-support.c: Likewise.
1806 * cp-valprint.c: Likewise.
1807 * cris-tdep.c: Likewise.
1808 * d-exp.y: Likewise.
1809 * darwin-nat.c: Likewise.
1810 * dbxread.c: Likewise.
1811 * dcache.c: Likewise.
1812 * demangle.c: Likewise.
1813 * dicos-tdep.c: Likewise.
1814 * disasm.c: Likewise.
1815 * doublest.c: Likewise.
1816 * dsrec.c: Likewise.
1817 * dummy-frame.c: Likewise.
1818 * dwarf2-frame.c: Likewise.
1819 * dwarf2loc.c: Likewise.
1820 * dwarf2read.c: Likewise.
1821 * elfread.c: Likewise.
1822 * environ.c: Likewise.
1823 * eval.c: Likewise.
1824 * event-loop.c: Likewise.
1825 * exceptions.c: Likewise.
1826 * exec.c: Likewise.
1827 * expprint.c: Likewise.
1828 * f-exp.y: Likewise.
1829 * f-lang.c: Likewise.
1830 * f-typeprint.c: Likewise.
1831 * f-valprint.c: Likewise.
1832 * fbsd-nat.c: Likewise.
1833 * findcmd.c: Likewise.
1834 * findvar.c: Likewise.
1835 * fork-child.c: Likewise.
1836 * frame.c: Likewise.
1837 * frv-linux-tdep.c: Likewise.
1838 * frv-tdep.c: Likewise.
1839 * gdb.c: Likewise.
1840 * gdb_bfd.c: Likewise.
1841 * gdbarch.c: Likewise.
1842 * gdbarch.sh: Likewise.
1843 * gdbtypes.c: Likewise.
1844 * gnu-nat.c: Likewise.
1845 * gnu-v2-abi.c: Likewise.
1846 * gnu-v3-abi.c: Likewise.
1847 * go-exp.y: Likewise.
1848 * go-lang.c: Likewise.
1849 * go32-nat.c: Likewise.
1850 * guile/guile.c: Likewise.
1851 * guile/scm-auto-load.c: Likewise.
1852 * hppa-hpux-tdep.c: Likewise.
1853 * hppa-linux-nat.c: Likewise.
1854 * hppanbsd-tdep.c: Likewise.
1855 * hppaobsd-tdep.c: Likewise.
1856 * i386-cygwin-tdep.c: Likewise.
1857 * i386-dicos-tdep.c: Likewise.
1858 * i386-linux-tdep.c: Likewise.
1859 * i386-nto-tdep.c: Likewise.
1860 * i386-sol2-tdep.c: Likewise.
1861 * i386-tdep.c: Likewise.
1862 * i386bsd-tdep.c: Likewise.
1863 * i386gnu-nat.c: Likewise.
1864 * i386nbsd-tdep.c: Likewise.
1865 * i386obsd-tdep.c: Likewise.
1866 * i387-tdep.c: Likewise.
1867 * ia64-libunwind-tdep.c: Likewise.
1868 * ia64-linux-nat.c: Likewise.
1869 * inf-child.c: Likewise.
1870 * inf-ptrace.c: Likewise.
1871 * inf-ttrace.c: Likewise.
1872 * infcall.c: Likewise.
1873 * infcmd.c: Likewise.
1874 * inflow.c: Likewise.
1875 * infrun.c: Likewise.
1876 * interps.c: Likewise.
1877 * iq2000-tdep.c: Likewise.
1878 * irix5-nat.c: Likewise.
1879 * jv-exp.y: Likewise.
1880 * jv-lang.c: Likewise.
1881 * jv-typeprint.c: Likewise.
1882 * jv-valprint.c: Likewise.
1883 * language.c: Likewise.
1884 * linux-fork.c: Likewise.
1885 * linux-nat.c: Likewise.
1886 * lm32-tdep.c: Likewise.
1887 * m2-exp.y: Likewise.
1888 * m2-typeprint.c: Likewise.
1889 * m32c-tdep.c: Likewise.
1890 * m32r-linux-nat.c: Likewise.
1891 * m32r-linux-tdep.c: Likewise.
1892 * m32r-rom.c: Likewise.
1893 * m32r-tdep.c: Likewise.
1894 * m68hc11-tdep.c: Likewise.
1895 * m68k-tdep.c: Likewise.
1896 * m68kbsd-tdep.c: Likewise.
1897 * m68klinux-nat.c: Likewise.
1898 * m68klinux-tdep.c: Likewise.
1899 * m88k-tdep.c: Likewise.
1900 * machoread.c: Likewise.
1901 * macrocmd.c: Likewise.
1902 * main.c: Likewise.
1903 * mdebugread.c: Likewise.
1904 * mem-break.c: Likewise.
1905 * memattr.c: Likewise.
1906 * memory-map.c: Likewise.
1907 * mep-tdep.c: Likewise.
1908 * mi/mi-cmd-break.c: Likewise.
1909 * mi/mi-cmd-disas.c: Likewise.
1910 * mi/mi-cmd-env.c: Likewise.
1911 * mi/mi-cmd-stack.c: Likewise.
1912 * mi/mi-cmd-var.c: Likewise.
1913 * mi/mi-cmds.c: Likewise.
1914 * mi/mi-console.c: Likewise.
1915 * mi/mi-getopt.c: Likewise.
1916 * mi/mi-interp.c: Likewise.
1917 * mi/mi-main.c: Likewise.
1918 * mi/mi-parse.c: Likewise.
1919 * microblaze-rom.c: Likewise.
1920 * microblaze-tdep.c: Likewise.
1921 * mingw-hdep.c: Likewise.
1922 * minidebug.c: Likewise.
1923 * minsyms.c: Likewise.
1924 * mips-irix-tdep.c: Likewise.
1925 * mips-linux-tdep.c: Likewise.
1926 * mips-tdep.c: Likewise.
1927 * mips64obsd-tdep.c: Likewise.
1928 * mipsnbsd-tdep.c: Likewise.
1929 * mipsread.c: Likewise.
1930 * mn10300-linux-tdep.c: Likewise.
1931 * mn10300-tdep.c: Likewise.
1932 * monitor.c: Likewise.
1933 * moxie-tdep.c: Likewise.
1934 * mt-tdep.c: Likewise.
1935 * nat/linux-btrace.c: Likewise.
1936 * nat/linux-osdata.c: Likewise.
1937 * nat/linux-procfs.c: Likewise.
1938 * nat/linux-ptrace.c: Likewise.
1939 * nat/linux-waitpid.c: Likewise.
1940 * nbsd-tdep.c: Likewise.
1941 * nios2-linux-tdep.c: Likewise.
1942 * nto-procfs.c: Likewise.
1943 * nto-tdep.c: Likewise.
1944 * objc-lang.c: Likewise.
1945 * objfiles.c: Likewise.
1946 * opencl-lang.c: Likewise.
1947 * osabi.c: Likewise.
1948 * osdata.c: Likewise.
1949 * p-exp.y: Likewise.
1950 * p-lang.c: Likewise.
1951 * p-typeprint.c: Likewise.
1952 * parse.c: Likewise.
1953 * posix-hdep.c: Likewise.
1954 * ppc-linux-nat.c: Likewise.
1955 * ppc-sysv-tdep.c: Likewise.
1956 * ppcfbsd-tdep.c: Likewise.
1957 * ppcnbsd-tdep.c: Likewise.
1958 * ppcobsd-tdep.c: Likewise.
1959 * printcmd.c: Likewise.
1960 * procfs.c: Likewise.
1961 * prologue-value.c: Likewise.
1962 * python/py-auto-load.c: Likewise.
1963 * python/py-gdb-readline.c: Likewise.
1964 * ravenscar-thread.c: Likewise.
1965 * regcache.c: Likewise.
1966 * registry.c: Likewise.
1967 * remote-fileio.c: Likewise.
1968 * remote-m32r-sdi.c: Likewise.
1969 * remote-mips.c: Likewise.
1970 * remote-notif.c: Likewise.
1971 * remote-sim.c: Likewise.
1972 * remote.c: Likewise.
1973 * reverse.c: Likewise.
1974 * rs6000-aix-tdep.c: Likewise.
1975 * ser-base.c: Likewise.
1976 * ser-go32.c: Likewise.
1977 * ser-mingw.c: Likewise.
1978 * ser-pipe.c: Likewise.
1979 * ser-tcp.c: Likewise.
1980 * ser-unix.c: Likewise.
1981 * serial.c: Likewise.
1982 * sh-tdep.c: Likewise.
1983 * sh64-tdep.c: Likewise.
1984 * shnbsd-tdep.c: Likewise.
1985 * skip.c: Likewise.
1986 * sol-thread.c: Likewise.
1987 * solib-dsbt.c: Likewise.
1988 * solib-frv.c: Likewise.
1989 * solib-osf.c: Likewise.
1990 * solib-som.c: Likewise.
1991 * solib-spu.c: Likewise.
1992 * solib-target.c: Likewise.
1993 * solib.c: Likewise.
1994 * somread.c: Likewise.
1995 * source.c: Likewise.
1996 * sparc-nat.c: Likewise.
1997 * sparc-sol2-tdep.c: Likewise.
1998 * sparc-tdep.c: Likewise.
1999 * sparc64-tdep.c: Likewise.
2000 * sparc64fbsd-tdep.c: Likewise.
2001 * sparc64nbsd-tdep.c: Likewise.
2002 * sparcnbsd-tdep.c: Likewise.
2003 * spu-linux-nat.c: Likewise.
2004 * spu-multiarch.c: Likewise.
2005 * spu-tdep.c: Likewise.
2006 * stabsread.c: Likewise.
2007 * stack.c: Likewise.
2008 * std-regs.c: Likewise.
2009 * symfile.c: Likewise.
2010 * symmisc.c: Likewise.
2011 * symtab.c: Likewise.
2012 * target.c: Likewise.
2013 * thread.c: Likewise.
2014 * tilegx-linux-nat.c: Likewise.
2015 * tilegx-tdep.c: Likewise.
2016 * top.c: Likewise.
2017 * tracepoint.c: Likewise.
2018 * tui/tui-command.c: Likewise.
2019 * tui/tui-data.c: Likewise.
2020 * tui/tui-disasm.c: Likewise.
2021 * tui/tui-file.c: Likewise.
2022 * tui/tui-layout.c: Likewise.
2023 * tui/tui-out.c: Likewise.
2024 * tui/tui-regs.c: Likewise.
2025 * tui/tui-source.c: Likewise.
2026 * tui/tui-stack.c: Likewise.
2027 * tui/tui-win.c: Likewise.
2028 * tui/tui-windata.c: Likewise.
2029 * tui/tui-winsource.c: Likewise.
2030 * typeprint.c: Likewise.
2031 * ui-file.c: Likewise.
2032 * ui-out.c: Likewise.
2033 * user-regs.c: Likewise.
2034 * utils.c: Likewise.
2035 * v850-tdep.c: Likewise.
2036 * valarith.c: Likewise.
2037 * valops.c: Likewise.
2038 * valprint.c: Likewise.
2039 * value.c: Likewise.
2040 * varobj.c: Likewise.
2041 * vax-tdep.c: Likewise.
2042 * vaxnbsd-tdep.c: Likewise.
2043 * vaxobsd-tdep.c: Likewise.
2044 * windows-nat.c: Likewise.
2045 * xcoffread.c: Likewise.
2046 * xml-support.c: Likewise.
2047 * xstormy16-tdep.c: Likewise.
2048 * xtensa-linux-nat.c: Likewise.
2049
dccbb609
GB
20502014-08-07 Gary Benson <gbenson@redhat.com>
2051
2052 * common/common-defs.h: Include gdb_assert.h.
2053 * aarch64-tdep.c: Do not include gdb_assert.h.
2054 * addrmap.c: Likewise.
2055 * aix-thread.c: Likewise.
2056 * alpha-linux-tdep.c: Likewise.
2057 * alpha-mdebug-tdep.c: Likewise.
2058 * alphanbsd-tdep.c: Likewise.
2059 * amd64-nat.c: Likewise.
2060 * amd64-tdep.c: Likewise.
2061 * amd64bsd-nat.c: Likewise.
2062 * amd64fbsd-nat.c: Likewise.
2063 * amd64fbsd-tdep.c: Likewise.
2064 * amd64nbsd-nat.c: Likewise.
2065 * amd64nbsd-tdep.c: Likewise.
2066 * amd64obsd-nat.c: Likewise.
2067 * amd64obsd-tdep.c: Likewise.
2068 * arch-utils.c: Likewise.
2069 * arm-tdep.c: Likewise.
2070 * armbsd-tdep.c: Likewise.
2071 * auxv.c: Likewise.
2072 * bcache.c: Likewise.
2073 * bfin-tdep.c: Likewise.
2074 * blockframe.c: Likewise.
2075 * breakpoint.c: Likewise.
2076 * bsd-kvm.c: Likewise.
2077 * bsd-uthread.c: Likewise.
2078 * buildsym.c: Likewise.
2079 * c-exp.y: Likewise.
2080 * c-lang.c: Likewise.
2081 * charset.c: Likewise.
2082 * cleanups.c: Likewise.
2083 * cli-out.c: Likewise.
2084 * cli/cli-decode.c: Likewise.
2085 * cli/cli-dump.c: Likewise.
2086 * cli/cli-logging.c: Likewise.
2087 * cli/cli-script.c: Likewise.
2088 * cli/cli-utils.c: Likewise.
2089 * coffread.c: Likewise.
2090 * common/common-utils.c: Likewise.
2091 * common/queue.h: Likewise.
2092 * common/signals.c: Likewise.
2093 * common/vec.h: Likewise.
2094 * complaints.c: Likewise.
2095 * completer.c: Likewise.
2096 * corelow.c: Likewise.
2097 * cp-abi.c: Likewise.
2098 * cp-name-parser.y: Likewise.
2099 * cp-namespace.c: Likewise.
2100 * cp-support.c: Likewise.
2101 * cris-tdep.c: Likewise.
2102 * dbxread.c: Likewise.
2103 * dictionary.c: Likewise.
2104 * doublest.c: Likewise.
2105 * dsrec.c: Likewise.
2106 * dummy-frame.c: Likewise.
2107 * dwarf2-frame-tailcall.c: Likewise.
2108 * dwarf2-frame.c: Likewise.
2109 * dwarf2expr.c: Likewise.
2110 * dwarf2loc.c: Likewise.
2111 * dwarf2read.c: Likewise.
2112 * eval.c: Likewise.
2113 * event-loop.c: Likewise.
2114 * exceptions.c: Likewise.
2115 * expprint.c: Likewise.
2116 * f-valprint.c: Likewise.
2117 * fbsd-nat.c: Likewise.
2118 * findvar.c: Likewise.
2119 * frame-unwind.c: Likewise.
2120 * frame.c: Likewise.
2121 * frv-tdep.c: Likewise.
2122 * gcore.c: Likewise.
2123 * gdb-dlfcn.c: Likewise.
2124 * gdb_bfd.c: Likewise.
2125 * gdbarch.c: Likewise.
2126 * gdbarch.sh: Likewise.
2127 * gdbtypes.c: Likewise.
2128 * gnu-nat.c: Likewise.
2129 * gnu-v3-abi.c: Likewise.
2130 * go-lang.c: Likewise.
2131 * guile/scm-exception.c: Likewise.
2132 * guile/scm-gsmob.c: Likewise.
2133 * guile/scm-lazy-string.c: Likewise.
2134 * guile/scm-math.c: Likewise.
2135 * guile/scm-pretty-print.c: Likewise.
2136 * guile/scm-safe-call.c: Likewise.
2137 * guile/scm-utils.c: Likewise.
2138 * guile/scm-value.c: Likewise.
2139 * h8300-tdep.c: Likewise.
2140 * hppa-hpux-nat.c: Likewise.
2141 * hppa-tdep.c: Likewise.
2142 * hppanbsd-tdep.c: Likewise.
2143 * hppaobsd-tdep.c: Likewise.
2144 * i386-darwin-nat.c: Likewise.
2145 * i386-darwin-tdep.c: Likewise.
2146 * i386-nto-tdep.c: Likewise.
2147 * i386-tdep.c: Likewise.
2148 * i386bsd-nat.c: Likewise.
2149 * i386fbsd-tdep.c: Likewise.
2150 * i386gnu-nat.c: Likewise.
2151 * i386nbsd-tdep.c: Likewise.
2152 * i386obsd-tdep.c: Likewise.
2153 * i387-tdep.c: Likewise.
2154 * ia64-libunwind-tdep.c: Likewise.
2155 * ia64-tdep.c: Likewise.
2156 * inf-ptrace.c: Likewise.
2157 * inf-ttrace.c: Likewise.
2158 * infcall.c: Likewise.
2159 * infcmd.c: Likewise.
2160 * infrun.c: Likewise.
2161 * inline-frame.c: Likewise.
2162 * interps.c: Likewise.
2163 * jv-lang.c: Likewise.
2164 * jv-typeprint.c: Likewise.
2165 * linux-fork.c: Likewise.
2166 * linux-nat.c: Likewise.
2167 * linux-thread-db.c: Likewise.
2168 * m32c-tdep.c: Likewise.
2169 * m32r-linux-nat.c: Likewise.
2170 * m32r-tdep.c: Likewise.
2171 * m68k-tdep.c: Likewise.
2172 * m68kbsd-nat.c: Likewise.
2173 * m68kbsd-tdep.c: Likewise.
2174 * m88k-tdep.c: Likewise.
2175 * machoread.c: Likewise.
2176 * macroexp.c: Likewise.
2177 * macrotab.c: Likewise.
2178 * maint.c: Likewise.
2179 * mdebugread.c: Likewise.
2180 * memory-map.c: Likewise.
2181 * mep-tdep.c: Likewise.
2182 * mi/mi-common.c: Likewise.
2183 * microblaze-tdep.c: Likewise.
2184 * mingw-hdep.c: Likewise.
2185 * mips-linux-nat.c: Likewise.
2186 * mips-linux-tdep.c: Likewise.
2187 * mips-tdep.c: Likewise.
2188 * mips64obsd-tdep.c: Likewise.
2189 * mipsnbsd-tdep.c: Likewise.
2190 * mn10300-linux-tdep.c: Likewise.
2191 * mn10300-tdep.c: Likewise.
2192 * moxie-tdep.c: Likewise.
2193 * mt-tdep.c: Likewise.
2194 * nat/linux-btrace.c: Likewise.
2195 * nat/linux-osdata.c: Likewise.
2196 * nat/linux-ptrace.c: Likewise.
2197 * nat/mips-linux-watch.c: Likewise.
2198 * nios2-linux-tdep.c: Likewise.
2199 * nios2-tdep.c: Likewise.
2200 * objc-lang.c: Likewise.
2201 * objfiles.c: Likewise.
2202 * obsd-nat.c: Likewise.
2203 * opencl-lang.c: Likewise.
2204 * osabi.c: Likewise.
2205 * parse.c: Likewise.
2206 * ppc-linux-nat.c: Likewise.
2207 * ppc-sysv-tdep.c: Likewise.
2208 * ppcfbsd-nat.c: Likewise.
2209 * ppcfbsd-tdep.c: Likewise.
2210 * ppcnbsd-nat.c: Likewise.
2211 * ppcnbsd-tdep.c: Likewise.
2212 * ppcobsd-nat.c: Likewise.
2213 * ppcobsd-tdep.c: Likewise.
2214 * printcmd.c: Likewise.
2215 * procfs.c: Likewise.
2216 * prologue-value.c: Likewise.
2217 * psymtab.c: Likewise.
2218 * python/py-lazy-string.c: Likewise.
2219 * python/py-value.c: Likewise.
2220 * regcache.c: Likewise.
2221 * reggroups.c: Likewise.
2222 * registry.c: Likewise.
2223 * remote-sim.c: Likewise.
2224 * remote.c: Likewise.
2225 * rs6000-aix-tdep.c: Likewise.
2226 * rs6000-tdep.c: Likewise.
2227 * s390-linux-tdep.c: Likewise.
2228 * score-tdep.c: Likewise.
2229 * ser-base.c: Likewise.
2230 * ser-mingw.c: Likewise.
2231 * sh-tdep.c: Likewise.
2232 * sh64-tdep.c: Likewise.
2233 * solib-darwin.c: Likewise.
2234 * solib-spu.c: Likewise.
2235 * solib-svr4.c: Likewise.
2236 * source.c: Likewise.
2237 * sparc-nat.c: Likewise.
2238 * sparc-sol2-tdep.c: Likewise.
2239 * sparc-tdep.c: Likewise.
2240 * sparc64-sol2-tdep.c: Likewise.
2241 * sparc64-tdep.c: Likewise.
2242 * sparc64fbsd-tdep.c: Likewise.
2243 * sparc64nbsd-tdep.c: Likewise.
2244 * sparc64obsd-tdep.c: Likewise.
2245 * sparcnbsd-tdep.c: Likewise.
2246 * sparcobsd-tdep.c: Likewise.
2247 * spu-multiarch.c: Likewise.
2248 * spu-tdep.c: Likewise.
2249 * stabsread.c: Likewise.
2250 * stack.c: Likewise.
2251 * symfile.c: Likewise.
2252 * symtab.c: Likewise.
2253 * target-descriptions.c: Likewise.
2254 * target-memory.c: Likewise.
2255 * target.c: Likewise.
2256 * tic6x-linux-tdep.c: Likewise.
2257 * tic6x-tdep.c: Likewise.
2258 * tilegx-linux-nat.c: Likewise.
2259 * tilegx-tdep.c: Likewise.
2260 * top.c: Likewise.
2261 * tramp-frame.c: Likewise.
2262 * tui/tui-out.c: Likewise.
2263 * tui/tui-winsource.c: Likewise.
2264 * ui-out.c: Likewise.
2265 * user-regs.c: Likewise.
2266 * utils.c: Likewise.
2267 * v850-tdep.c: Likewise.
2268 * valops.c: Likewise.
2269 * value.c: Likewise.
2270 * varobj.c: Likewise.
2271 * vax-nat.c: Likewise.
2272 * xml-syscall.c: Likewise.
2273 * xml-tdesc.c: Likewise.
2274 * xstormy16-tdep.c: Likewise.
2275 * xtensa-linux-nat.c: Likewise.
2276 * xtensa-tdep.c: Likewise.
2277
e76df0d0
GB
22782014-08-07 Gary Benson <gbenson@redhat.com>
2279
2280 * common/common-defs.h: Include common-utils.h.
2281 * defs.h: Do not include common-utils.h.
2282 * common/gdb_assert.h: Likewise.
2283 * darwin-nat.h: Likewise.
2284 * nat/linux-btrace.c: Likewise.
2285 * target/waitstatus.h: Likewise.
2286
4cb9c816
GB
22872014-08-07 Gary Benson <gbenson@redhat.com>
2288
2289 * common/common-defs.h: Include ptid.h.
2290 * defs.h: Do not include ptid.h.
2291 * inferior.h: Likewise.
2292 * infrun.h: Likewise.
2293 * nat/linux-btrace.h: Likewise.
2294 * nat/linux-osdata.h: Likewise.
2295 * target/waitstatus.h: Likewise.
2296
3995eeee
GB
22972014-08-07 Gary Benson <gbenson@redhat.com>
2298
2299 * common/common-defs.h: Include gdb_locale.h.
2300 * defs.h: Do not include gdb_locale.h.
2301
cb9f1a9b
GB
23022014-08-07 Gary Benson <gbenson@redhat.com>
2303
2304 * common/common-defs.h: Include gdb/signals.h.
2305 * defs.h: Do not include gdb/signals.h.
2306
a5fceff8
GB
23072014-08-07 Gary Benson <gbenson@redhat.com>
2308
2309 * common/common-defs.h: Include pathmax.h.
2310 * defs.h: Do not include pathmax.h.
2311
b9391142
GB
23122014-08-07 Gary Benson <gbenson@redhat.com>
2313
2314 * common/common-defs.h: Include libiberty.h.
2315 * defs.h: Do not include libiberty.h.
2316 * common/queue.h: Likewise.
2317 * cp-name-parser.y: Likewise.
2318 * mi/mi-cmd-catch.c: Likewise.
2319 * python/python.c: Likewise.
2320
0e443c87
GB
23212014-08-07 Gary Benson <gbenson@redhat.com>
2322
2323 * common/common-defs.h: Include ansidecl.h.
2324 * defs.h: Do not include ansidecl.h.
2325 * common/buffer.h: Likewise.
2326 * common/common-utils.h: Likewise.
2327
8ebb3f56
GB
23282014-08-07 Gary Benson <gbenson@redhat.com>
2329
2330 * common/common-defs.h: Include stddef.h.
2331 * defs.h: Do not include stddef.h.
2332 * common/common-utils.h: Likewise.
2333 * amd64fbsd-nat.c: Likewise.
2334 * bcache.c: Likewise.
2335 * charset.c: Likewise.
2336 * common/buffer.h: Likewise.
2337 * common/vec.h: Likewise.
2338 * i386bsd-nat.c: Likewise.
2339 * nat/linux-btrace.h: Likewise.
2340 * ppcfbsd-nat.c: Likewise.
2341 * ppcnbsd-tdep.h: Likewise.
2342 * ppcobsd-nat.c: Likewise.
2343 * ppcobsd-tdep.h: Likewise.
2344 * python/py-gdb-readline.c: Likewise.
2345
8980bdf6
GB
23462014-08-07 Gary Benson <gbenson@redhat.com>
2347
2348 * common/common-defs.h: Include stdarg.h.
2349 * defs.h: Do not include stdarg.h.
2350 * ada-lang.c: Likewise.
2351 * common/common-utils.h: Likewise.
2352 * guile/scm-string.c: Likewise.
2353 * guile/scm-utils.c: Likewise.
2354 * m32c-tdep.c: Likewise.
2355
d7096f71
GB
23562014-08-07 Gary Benson <gbenson@redhat.com>
2357
2358 * common/common-defs.h: Include stdlib.h.
2359 * defs.h: Do not include stdlib.h.
2360 * addrmap.c: Likewise.
2361 * bcache.c: Likewise.
2362 * common/buffer.c: Likewise.
2363 * common/common-utils.c: Likewise.
2364 * cp-name-parser.y: Likewise.
2365 * go32-nat.c: Likewise.
2366 * mn10300-linux-tdep.c: Likewise.
2367 * nat/linux-osdata.c: Likewise.
2368 * tui/tui.c: Likewise.
2369 * windows-nat.c: Likewise.
2370
d02f550d
GB
23712014-08-07 Gary Benson <gbenson@redhat.com>
2372
2373 * common/common-defs.h: Include stdio.h.
2374 * defs.h: Do not include stdio.h.
2375 * ada-lang.c: Likewise.
2376 * common/buffer.c: Likewise.
2377 * common/common-utils.c: Likewise.
2378 * cp-name-parser.y: Likewise.
2379 * gnu-nat.c: Likewise.
2380 * go32-nat.c: Likewise.
2381 * i386gnu-nat.c: Likewise.
2382 * proc-api.c: Likewise.
2383 * proc-events.c: Likewise.
2384 * proc-flags.c: Likewise.
2385 * proc-why.c: Likewise.
2386 * python/python-internal.h: Likewise.
2387 * target-memory.c: Likewise.
2388 * tui/tui-io.c: Likewise.
2389 * tui/tui.c: Likewise.
2390
b6d7a4bf
SM
23912014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2392
2393 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2394 (scan_dyntag_auxv): Same.
2395
af19829b
YQ
23962014-08-06 Yao Qi <yao@codesourcery.com>
2397
2398 * amd64-linux-nat.c: Remove duplicated include
2399 "x86-linux-nat.h".
2400 * i386-linux-nat.c: Likewise.
2401
8e07a239
YQ
24022014-08-06 Yao Qi <yao@codesourcery.com>
2403
2404 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2405 operand" with "Special opcode" in comments.
2406
7bfe8241
GB
24072014-08-05 Gary Benson <gbenson@redhat.com>
2408
2409 * interps.c (initialize_interps): Remove prototype.
2410 (interpreter_initialized): Remove static global.
2411 (interp_add): Do not call initialize_interps.
2412 (initialize_interps): Remove function.
2413
d6c95504
GB
24142014-08-05 Gary Benson <gbenson@redhat.com>
2415
2416 * utils.c (vwarning): Remove spurious va_end.
2417
241fd515
AM
24182014-08-05 Alan Modra <amodra@gmail.com>
2419
2420 * charset.c (convert_between_encodings): Cast result of obstack_base.
2421 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2422 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2423 (read_unwind_info): Use size_t for some locals.
2424 * jit.c (finalize_symtab): Likewise.
2425 * utils.c (hashtab_obstack_allocate): Likewise.
2426 * symmisc.c (print_objfile_statistics): Update format strings.
2427
dc304a94
JK
24282014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2429
2430 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2431 (Changes in GDB 7.8): ... here.
2432
3cecbbbe
TT
24332014-08-04 Tom Tromey <tromey@redhat.com>
2434
2435 * target.c (set_targetdebug): New function.
2436 (initialize_targets): Pass set_targetdebug when creating "set
2437 debug target".
2438
6908c509
JB
24392014-08-01 Joel Brobecker <brobecker@adacore.com>
2440
2441 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2442 if detecting a variable-sized field that is not the last field.
2443 Fix struct type length computation.
2444
53e8f97d
JB
24452014-08-01 Joel Brobecker <brobecker@adacore.com>
2446
2447 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2448 Add debug trace.
2449
e068c55d
JB
24502014-08-01 Joel Brobecker <brobecker@adacore.com>
2451
2452 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2453 Remove "+ 8" offset in computation of CHAIN_VMA.
2454
4d4ca2a1
DE
24552014-07-31 Doug Evans <dje@google.com>
2456
2457 * inflow.c (child_terminal_inferior): Add comment.
2458 (child_terminal_ours_for_output): Add comment.
2459 (child_terminal_ours): Add comment.
2460 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2461 (linux_nat_terminal_ours): Add comment.
2462
462f517e
GB
24632014-07-31 Gary Benson <gbenson@redhat.com>
2464
2465 * common/btrace-common.h: Do not include defs.h or server.h.
2466 * nat/mips-linux-watch.h: Likewise.
2467 * gdb-dlfcn.h: Do not include defs.h.
2468 * tracefile.h: Likewise.
2469
74228e77
RM
24702014-07-30 Roland McGrath <mcgrathr@google.com>
2471
2472 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2473
014f9477
TT
24742014-07-30 Tom Tromey <tromey@redhat.com>
2475
2476 * bsd-kvm.c (bsd_kvm_open): Constify.
2477 * corelow.c (core_open): Constify.
2478 * ctf.c (ctf_open): Constify.
2479 * dbug-rom.c (dbug_open): Constify.
2480 * exec.c (exec_open): Constify.
2481 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2482 * microblaze-rom.c (picobug_open): Constify.
2483 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2484 Constify.
2485 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2486 * record-btrace.c (record_btrace_open): Constify.
2487 * record-full.c (record_full_core_open_1, record_full_open_1)
2488 (record_full_open): Constify.
2489 * remote-m32r-sdi.c (m32r_open): Constify.
2490 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2491 (rockhopper_open, lsi_open): Constify.
2492 * remote-sim.c (gdbsim_open): Constify.
2493 * remote.c (remote_open, extended_remote_open, remote_open_1):
2494 Constify.
2495 * target.h (struct target_ops) <to_open>: Make "arg" const.
2496 * tracefile-tfile.c (tfile_open): Constify.
2497
e799154c
TT
24982014-07-30 Tom Tromey <tromey@redhat.com>
2499
2500 * breakpoint.c (map_breakpoint_numbers): Update.
2501 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2502 (get_number_const): New function.
2503 (get_number): Rewrite using get_number_const.
2504 (init_number_or_range): Make "string" const.
2505 (number_is_in_list): Make "list" const.
2506 * cli/cli-utils.h (get_number_const): Declare.
2507 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2508 (init_number_or_range, number_is_in_list): Update.
2509 * printcmd.c (map_display_numbers): Update.
2510 * value.c (value_from_history_ref): Constify.
2511 * value.h (value_from_history_ref): Update.
2512
5f08566b
TT
25132014-07-30 Tom Tromey <tromey@redhat.com>
2514
2515 * corefile.c (hook_type, call_extra_exec_file_hooks)
2516 (specify_exec_file_hook): Constify.
2517 * exec.c (exec_file_attach): Make "filename" const.
2518 * gdbcore.h (deprecated_exec_file_display_hook)
2519 (specify_exec_file_hook, exec_file_attach): Constify.
2520 * main.c (captured_main): Use catch_command_errors_const.
2521
8981c758
TT
25222014-07-30 Tom Tromey <tromey@redhat.com>
2523
2524 * target.c (open_target): New function.
2525 (add_target_with_completer, add_deprecated_target_alias): Use
2526 set_cmd_sfunc, set_cmd_context.
2527 (debug_to_open): Remove.
2528 (setup_target_debug): Update.
2529
a1c7835a
YQ
25302014-07-30 Yao Qi <yao@codesourcery.com>
2531
2532 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2533 comments.
2534 * parse.c (exp_iterate): Update comments.
2535
976411d6
GB
25362014-07-30 Gary Benson <gbenson@redhat.com>
2537
2538 * common/common-defs.h: New file.
2539 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2540 * defs.h: Include common-defs.h.
2541 Do not include config.h or build-gnulib/config.h.
2542
5d4848a4
GB
25432014-07-30 Gary Benson <gbenson@redhat.com>
2544
2545 * common/common-utils.h: Do not include config.h.
2546 * nat/linux-btrace.h: Likewise.
2547
d41f6d8e
GB
25482014-07-30 Gary Benson <gbenson@redhat.com>
2549
2550 * btrace.c: Include defs.h.
2551 * common/ptid.c: Include defs.h or server.h as appropriate.
2552 * nat/mips-linux-watch.c: Likewise.
2553
84202f9c
TT
25542014-07-29 Tom Tromey <tromey@redhat.com>
2555
2556 * target.c (target_is_pushed): Simplify.
2557
2530441c
JB
25582014-07-29 Joel Brobecker <brobecker@adacore.com>
2559
2560 GDB 7.8 released.
2561
7e09a223
YQ
25622014-07-29 Yao Qi <yao@codesourcery.com>
2563
2564 PR gdb/17206
2565 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2566
7ebdbe92
DE
25672014-07-28 Doug Evans <xdje42@gmail.com>
2568
2569 PR guile/17203
2570 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2571 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2572 parameters.
2573
f347ffc9
WN
25742014-07-28 Will Newton <will.newton@linaro.org>
2575
2576 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2577 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2578 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2579 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2580 (THUMB2_EABI_SYSCALL): Likewise.
2581 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2582 struct tramp_frame.
2583 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2584 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2585
37c5f1f7
DE
25862014-07-27 Doug Evans <xdje42@gmail.com>
2587
2588 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2589
0c3abbc7
DE
25902014-07-27 Doug Evans <xdje42@gmail.com>
2591
2592 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2593
e76c5d17
DE
25942014-07-26 Ludovic Courtès <ludo@gnu.org>
2595 Doug Evans <xdje42@gmail.com>
2596
2597 PR guile/17146
2598 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2599 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2600 * configure.ac: Try to use guild to compile an scm file, if it fails
2601 then disable guile support.
2602 * configure: Regenerate.
2603 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2604 GUILE_FILE_LIST.
2605 (GUILE_COMPILED_FILES): New variable.
2606 (GUILE_FILES) Update.
2607 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2608 (stamp-guile): Compile scm files.
2609 * guile/guile.c (boot_guile_support): New function.
2610 (standard_throw_args_p): New function.
2611 (print_standard_throw_error, print_throw_error): New functions.
2612 (handle_boot_error): New function.
2613 (initialize_scheme_side): Rewrite to call boot_guile_support.
2614 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2615 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2616
186fcde0
DE
26172014-07-26 Ludovic Courtès <ludo@gnu.org>
2618 Doug Evans <xdje42@gmail.com>
2619
2620 PR guile/17146
2621 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2622 * guile/lib/gdb/support.scm: New file.
2623 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2624 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2625 All uses updated.
2626 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2627 All uses updated.
2628 (%assert-type): Ditto, and renamed to assert-type.
2629 (%exception-print-style): Delete.
2630
4df42755
DE
26312014-07-26 Doug Evans <xdje42@gmail.com>
2632
2633 PR build/17105
2634 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2635 * configure: Regenerate.
2636 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2637 PYTHON_FILES.
2638 (PYTHON_FILES): New variable.
2639 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2640 (GUILE_FILES): New variable.
2641 (stamp-python, install-python, uninstall-python): Handle empty
2642 file list.
2643 (stamp-guile, install-guile, uninstall-guile): Ditto.
2644
ee7333ae
DE
26452014-07-26 Doug Evans <xdje42@gmail.com>
2646
2647 PR guile/17177
2648 * guile/lib/gdb.scm (pretty-printers): Export.
2649 (set-pretty-printers!): Export.
2650 * guile/lib/gdb/printing.scm (gdb module): Update.
2651 (prepend-pretty-printer!, append-pretty-printer!): Update.
2652 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2653 (pretty_printer_list_var): Delete.
2654 (pretty_printer_list): New static global.
2655 (gdbscm_pretty_printers): New function.
2656 (gdbscm_set_pretty_printers_x): New function.
2657 (ppscm_find_pretty_printer_from_gdb): Update.
2658 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2659 (gdbscm_initialize_pretty_printers): Update.
2660
74edf516
DE
26612014-07-26 Doug Evans <xdje42@gmail.com>
2662
2663 PR 17185
2664 * configure.ac: Add check for header gc/gc.h.
2665 Add check for function setenv.
2666 * configure: Regenerate.
2667 * config.in: Regenerate.
2668 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2669
d54398a7
MR
26702014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2671
2672 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2673 variation in gdbarch matching.
2674
ab16fce8
TT
26752014-07-25 Tom Tromey <tromey@redhat.com>
2676
2677 * exec.c (using_exec_ops): Remove.
2678 (exec_close_1): Update. Remove extraneous block, reindent.
2679 (add_target_sections): Use target_is_pushed.
2680
88056fbb
PA
26812014-07-25 Pedro Alves <palves@redhat.com>
2682
2683 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2684 * monitor.c (monitor_create_inferior): Likewise.
2685 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2686 * remote-sim.c (gdbsim_create_inferior): Likewise.
2687 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2688 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2689 * windows-nat.c (do_initial_windows_stuff): Likewise.
2690
70509625
PA
26912014-07-25 Pedro Alves <palves@redhat.com>
2692
2693 * NEWS: Mention signal passing and "signal" command changes.
2694 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2695 comment.
2696 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2697 call.
2698 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2699 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2700 (jump_command): Adjust clear_proceed_status call.
2701 (signal_command): Warn if other thread that are resumed have
2702 signals that will be delivered. Adjust clear_proceed_status call.
2703 (until_next_command, finish_command)
2704 (proceed_after_attach_callback, attach_command_post_wait)
2705 (attach_command): Adjust clear_proceed_status call.
2706 * infrun.c (proceed_after_vfork_done): Likewise.
2707 (proceed_after_attach_callback): Adjust comment.
2708 (clear_proceed_status_thread): Clear stop_signal if not in pass
2709 state.
2710 (clear_proceed_status_callback): Delete.
2711 (clear_proceed_status): New 'step' parameter. Only clear the
2712 proceed status of threads the command being prepared is about to
2713 resume.
2714 (proceed): If passed in an explicit signal, override stop_signal
2715 with it. Don't pass the last stop signal to the thread we're
2716 resuming.
2717 (init_wait_for_inferior): Adjust clear_proceed_status call.
2718 (switch_back_to_stepped_thread): Clear the signal if it should not
2719 be passed.
2720 * infrun.h (clear_proceed_status): New 'step' parameter.
2721 (user_visible_resume_ptid): Add comment.
2722 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2723 signal is in pass state.
2724 * remote.c (append_pending_thread_resumptions): Likewise.
2725 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2726
d8be2939
TT
27272014-07-25 Tom Tromey <tromey@redhat.com>
2728
2729 * target.h (target_stopped_data_address)
2730 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2731 parentheses.
2732
7d0d9d2b
PL
27332014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2734
2735 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2736 comments.
2737 (avr_pointer_to_address): Likewise.
2738
e9e7f724
TT
27392014-07-24 Tom Tromey <tromey@redhat.com>
2740
2741 * monitor.c (compile_pattern): Update.
2742 * target.h (struct target_ops) <to_shortname, to_longname,
2743 to_doc>: Now const.
2744
1947513d
TT
27452014-07-24 Tom Tromey <tromey@redhat.com>
2746
2747 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2748 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2749 (add_info_alias, add_com): Make "doc" const.
2750 (print_doc_line): Make "str" const.
2751 (delete_cmd): Update.
2752 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2753 (print_doc_line): Update.
2754 * cli/cli-script.c (document_command): Update.
2755 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2756 (add_com, add_info, add_info_alias): Update.
2757 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2758 * python/py-cmd.c (cmdpy_destroyer): Update.
2759
64e61d29
TT
27602014-07-24 Tom Tromey <tromey@redhat.com>
2761
2762 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2763 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2764 (help_cmd_list): Constify.
2765 (lookup_cmd): Update.
2766 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2767 const.
2768 (help_cmd_list, apropos_cmd): Update.
2769 * cli/cli-script.c (show_user): Update.
2770 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2771 * cli/cli-setshow.h (cmd_show_list): Update.
2772 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2773 (cmd_show_list): Update.
2774 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2775 * python/py-cmd.c (cmdpy_destroyer): Update.
2776
429e55ea
TT
27772014-07-24 Tom Tromey <tromey@redhat.com>
2778
2779 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2780 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2781 const.
2782 * command.h (deprecate_cmd): Update.
2783 * maint.c (maintenance_do_deprecate): Add casts.
2784
64669f3b
TT
27852014-07-24 Tom Tromey <tromey@redhat.com>
2786
2787 * cli/cli-decode.c (help_cmd): Make parameter "const".
2788 * cli/cli-decode.h (help_cmd): Update.
2789
d3d3328b
TT
27902014-07-24 Tom Tromey <tromey@redhat.com>
2791
2792 * stack.c (up_silently_base, down_silently_base): Make argument
2793 const.
2794
414842dc
TT
27952014-07-24 Tom Tromey <tromey@redhat.com>
2796
2797 * solib.c (solib_add): Make "pattern" const.
2798 * solib.h (solib_add): Update.
2799
baa336ce
TT
28002014-07-24 Tom Tromey <tromey@redhat.com>
2801
2802 * remote.c (remote_serial_open, print_packet, putpkt)
2803 (putpkt_binary): Constify.
2804 * remote.h (putpkt): Update.
2805
5a19e2d0
TT
28062014-07-24 Tom Tromey <tromey@redhat.com>
2807
2808 * monitor.c (monitor_open): Make "args" const.
2809 * monitor.h (monitor_open): Update.
2810
fc4baa5e
TT
28112014-07-24 Tom Tromey <tromey@redhat.com>
2812
2813 * maint.c (match_bfd_flags): Make "string" const.
2814 (print_bfd_section_info): Remove casts.
2815 (print_objfile_section_info): Make "string" const.
2816
0d5f0dbe
TT
28172014-07-24 Tom Tromey <tromey@redhat.com>
2818
2819 * inf-child.c (inf_child_open_target): Make "arg" const.
2820 * inf-child.h (inf_child_open_target): Update.
2821
41c77899
TT
28222014-07-24 Tom Tromey <tromey@redhat.com>
2823
2824 * environ.c (unset_in_environ): Make "var" const.
2825 * environ.h (unset_in_environ): Update.
2826
93db0d79
TT
28272014-07-24 Tom Tromey <tromey@redhat.com>
2828
2829 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2830 Make "cmd" const.
2831 (scan_filename_with_cleanup): Likewise.
2832 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2833 Make arguments const.
2834 (restore_command): Update.
2835
36d6eb95
PA
28362014-07-24 Pedro Alves <palves@redhat.com>
2837
2838 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2839
8009206a
TT
28402014-07-24 Tom Tromey <tromey@redhat.com>
2841 Gary Benson <gbenson@redhat.com>
2842
2843 * nat/linux-ptrace.c (additional_flags): New global.
2844 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2845 additional_flags; don't check GDBSERVER.
2846 (linux_ptrace_set_additional_flags): New function.
2847 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2848 Declare.
2849 * linux-nat.c (_initialize_linux_nat): Call
2850 linux_ptrace_set_additional_flags.
2851
a7068b60
TT
28522014-07-24 Tom Tromey <tromey@redhat.com>
2853
2854 * make-target-delegates (munge_type, write_debugmethod): New
2855 functions.
2856 (debug_names): New global.
2857 ($TARGET_DEBUG_PRINTER): New global.
2858 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2859 name.
2860 Write debug methods. Generate init_debug_target.
2861 * target-debug.h: New file.
2862 * target-delegates.c: Rebuild.
2863 * target.c: Include target-debug.h.
2864 (debug_target): Hoist definition.
2865 (target_kill, target_get_section_table, target_memory_map)
2866 (target_flash_erase, target_flash_done, target_detach)
2867 (target_disconnect, target_wait, target_resume)
2868 (target_pass_signals, target_program_signals, target_follow_fork)
2869 (target_mourn_inferior, target_search_memory)
2870 (target_thread_address_space, target_close)
2871 (target_find_new_threads, target_core_of_thread)
2872 (target_verify_memory, target_insert_mask_watchpoint)
2873 (target_remove_mask_watchpoint): Remove targetdebug code.
2874 (debug_to_post_attach, debug_to_prepare_to_store)
2875 (debug_to_files_info, debug_to_insert_breakpoint)
2876 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2877 (debug_to_region_ok_for_hw_watchpoint)
2878 (debug_to_can_accel_watchpoint_condition)
2879 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2880 (debug_to_watchpoint_addr_within_range)
2881 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2882 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2883 (debug_to_terminal_init, debug_to_terminal_inferior)
2884 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2885 (debug_to_terminal_save_ours, debug_to_terminal_info)
2886 (debug_to_load, debug_to_post_startup_inferior)
2887 (debug_to_insert_fork_catchpoint)
2888 (debug_to_remove_fork_catchpoint)
2889 (debug_to_insert_vfork_catchpoint)
2890 (debug_to_remove_vfork_catchpoint)
2891 (debug_to_insert_exec_catchpoint)
2892 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2893 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2894 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2895 (setup_target_debug): Call init_debug_target.
2896 * target.h (TARGET_DEBUG_PRINTER): New macro.
2897 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2898 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2899
2c51604d
GB
29002014-07-24 Gary Benson <gbenson@redhat.com>
2901
2902 * exceptions.h (throw_vfatal): Renamed to...
2903 (throw_vquit): New declaration.
2904 (throw_quit): Likewise.
2905 * exceptions.c (throw_vfatal): Renamed to...
2906 (throw_vquit): New function.
2907 (throw_quit): Likewise.
2908 (throw_error): Call throw_verror rather than throw_it.
2909 * utils.h (vfatal): Removed.
2910 (fatal): Likewise.
2911 * utils.c (vfatal): Removed.
2912 (fatal): Likewise.
2913 (internal_verror): Replaced call to fatal with call to throw_quit.
2914 (quit): Replaced calls to fatal with calls to throw_quit.
2915
34211963
ME
29162014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2917
2918 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2919 target_read_code.
2920
a52b4d3e
ME
29212014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2922
2923 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2924 less than zero in conditional expression.
2925
a8bdc56b
TT
29262014-07-23 Tom Tromey <tromey@redhat.com>
2927
2928 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2929 ($INTRO_PART): Don't match whitespace.
2930 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2931 argument matching.
2932 ($METHOD): Add $METHOD_TRAILER.
2933 (trim): Rewrite.
2934 (scan_target_h): New sub.
2935 Change main loop not to collect state.
2936 * target-delegates.c: Rebuild.
2937
91b52240
GB
29382014-07-23 Gary Benson <gbenson@redhat.com>
2939
2940 * cp-support.c (gdb_demangle): Fix build on systems without
2941 sigaltstack.
2942
45326f6f
JK
29432014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2944
2945 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2946 for reference entry value target data value.
2947
e214cf6c
JK
29482014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2949
2950 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2951 value_available_contents_eq.
2952
bddbbedd
PA
29532014-07-22 Pedro Alves <palves@redhat.com>
2954
2955 * value.c (allocate_optimized_out_value): Don't mark value as
2956 non-lazy.
2957
45c71484
JW
29582014-07-22 Jiong Wang <jiong.wang@arm.com>
2959
2960 * MAINTAINERS (Write After Approval): Update my email address.
2961
9597b22a
DE
29622014-07-20 Doug Evans <dje@google.com>
2963
2964 PR server/17147
2965 * remote.c (putpkt_binary): Add text to error message.
2966
91101fe5
YQ
29672014-07-20 Yao Qi <yao@codesourcery.com>
2968
2969 * eval.c: Remove "Chill" from comments.
2970 * gdbtypes.h: Likewise.
2971 * symtab.h: Likewise.
2972
c9402c95
YQ
29732014-07-20 Yao Qi <yao@codesourcery.com>
2974
2975 * std-operator.def: Update comments to TERNOP_SLICE.
2976
ae8fddda
YQ
29772014-07-20 Yao Qi <yao@codesourcery.com>
2978
2979 * std-operator.def: Remove BINOP_RANGE.
2980 * breakpoint.c (watchpoint_exp_is_const): Update.
2981 * expprint.c (dump_subexp_body_standard): Likewise.
2982 * eval.c (init_array_element): Remove dead code.
2983 (evaluate_subexp_standard): Likewise.
2984
9c816640
YQ
29852014-07-20 Yao Qi <yao@codesourcery.com>
2986
2987 * std-operator.def: Remove BINOP_IN.
2988 * breakpoint.c (watchpoint_exp_is_const): Update.
2989 * eval.c (evaluate_subexp_standard): Likewise.
2990 * expprint.c (dump_subexp_body_standard): Likewise.
2991
164224e9
ME
29922014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2993
2994 * microblaze-tdep.c (microblaze_register_names): Add
2995 the rshr and rslr register names.
2996 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2997 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2998 Use of tdesc_numbered_register. Use of
2999 microblaze_register_g_packet_guesses. Use of
3000 tdesc_use_registers. Use of set_gdbarch_register_type.
3001 (microblaze_register_g_packet_guesses): New.
3002 * microblaze-tdep.h (microblaze_reg_num): Add
3003 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3004 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3005 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3006 * features/microblaze-core.xml: New file.
3007 * features/microblaze-stack-protect.xml: New file.
3008 * features/microblaze-with-stack-protect.c: New file.
3009 * features/microblaze-with-stack-protect.xml: New file.
3010 * features/microblaze.xml: New file.
3011 * features/microblaze.c: New file.
3012 * features/Makefile (microblaze-with-stack-protect): Add
3013 microblaze-with-stack-protect microblaze and microblaze-expedite.
3014 * regformats/microblaze-with-stack-protect.dat: New file.
3015 * regformats/microblaze.dat: New file.
3016 * doc/gdb.texinfo (MicroBlaze Features): Added.
3017
e8b2341c
TT
30182014-07-18 Tom Tromey <tromey@redhat.com>
3019
3020 * exec.c (exec_ops): Now static.
3021 * exec.h (exec_ops): Don't declare.
3022
44e89118
TT
30232014-07-18 Tom Tromey <tromey@redhat.com>
3024
3025 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3026 to find_target_beneath.
3027 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
3028 find_target_beneath.
3029 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
3030
b0ed115f
TT
30312014-07-18 Tom Tromey <tromey@redhat.com>
3032
3033 PR gdb/17130:
3034 * utils.c (quit): Use target_supports_terminal_ours.
3035 * target.h (target_supports_terminal_ours): Declare.
3036 * target.c (target_supports_delete_record): Don't check
3037 to_delete_record against NULL.
3038 (target_supports_terminal_ours): New function.
3039
e75fdfca
TT
30402014-07-18 Tom Tromey <tromey@redhat.com>
3041
3042 PR gdb/17130:
3043 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
3044 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
3045 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
3046 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
3047 * windows-nat.c (windows_xfer_partial): Always delegate.
3048 * record-btrace.c (record_btrace_xfer_partial): Simplify
3049 delegation.
3050 (record_btrace_fetch_registers, record_btrace_store_registers)
3051 (record_btrace_prepare_to_store, record_btrace_resume)
3052 (record_btrace_wait, record_btrace_find_new_threads)
3053 (record_btrace_thread_alive): Likewise.
3054 * procfs.c (procfs_xfer_partial): Always delegate.
3055 * corelow.c (core_xfer_partial): Always delegate.
3056 * sol-thread.c (sol_find_new_threads): Simplify delegation.
3057
83814951
TT
30582014-07-18 Tom Tromey <tromey@redhat.com>
3059
3060 * exec.c (exec_make_note_section): Move earlier.
3061
b8b8facf
DE
30622014-07-17 Doug Evans <dje@google.com>
3063
74b49205 3064 PR gdb/17170
b8b8facf
DE
3065 * maint.c (count_symtabs_and_blocks): Handle NULL
3066 current_program_space.
3067 (report_command_stats): Check global enabled flag in addition to
3068 recorded enabled flag.
3069 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3070
69ff6be5
PA
30712014-07-16 Pedro Alves <palves@redhat.com>
3072
3073 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3074
252db1b5
TT
30752014-07-16 Tom Tromey <tromey@redhat.com>
3076
3077 * target.h (struct target_ops) <to_delete_record>: Reformat
3078 comment.
3079
a432721e
TT
30802014-07-16 Tom Tromey <tromey@redhat.com>
3081
3082 * target-delegates.c: Rebuild.
3083
487d9753
PL
30842014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3085
3086 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3087 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3088 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3089 (avr_pointer_to_address): Likewise.
3090 (avr_address_class_type_flags): New function.
3091 (avr_address_class_type_flags_to_name): Likewise.
3092 (avr_address_class_name_to_type_flags): Likewise.
3093 (avr_gdbarch_init): Set address_class_type_flags,
3094 address_class_type_flags_to_name and
3095 address_class_name_to_type_flags.
3096
57745c90
PA
30972014-07-15 Pedro Alves <palves@redhat.com>
3098
3099 * linux-nat.c (kill_callback): Save errno and work with saved
3100 copy.
3101
2d40be18
SM
31022014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3103
3104 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3105
572f6555
EBM
31062014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3107
3108 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3109 breakpoint support correctly.
3110
cc1c52ad
PA
31112014-07-14 Pedro Alves <palves@redhat.com>
3112
3113 * utils.c (prompt_for_continue): Call target_terminal_ours.
3114
1e973570
PA
31152014-07-14 Pedro Alves <palves@redhat.com>
3116
3117 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3118 catch_errors. Don't re-enable stdin or notify observers where,
3119 and rethrow error.
3120 (fetch_inferior_event_wrapper): Delete.
3121
93d6eb10
PA
31222014-07-14 Pedro Alves <palves@redhat.com>
3123
3124 PR gdb/17072
3125 * top.c: Include "inf-loop.h".
3126 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3127 field.
3128 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3129 was async before.
3130 (gdb_readline_wrapper): Store whether the target is async, and
3131 make it sync.
3132
0017922d
PA
31332014-07-14 Pedro Alves <palves@redhat.com>
3134
3135 PR gdb/17072
3136 * top.c (gdb_readline_wrapper_line): Tweak comment.
3137 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
3138 the input handler callback.
3139
94696ad3
PA
31402014-07-14 Pedro Alves <palves@redhat.com>
3141
3142 PR gdb/17072
3143 * main.c: Include event-top.h.
3144 (handle_command_errors): New function.
3145 (catch_command_errors, catch_command_errors_const): Use it.
3146
9d1e69a2
PA
31472014-07-14 Pedro Alves <palves@redhat.com>
3148
3149 * exceptions.c (catch_command_errors, catch_command_errors_const):
3150 Moved to main.c.
3151 * exceptions.h (catch_command_errors_ftype)
3152 (catch_command_errors_const_ftype): Moved to main.c.
3153 (catch_command_errors, catch_command_errors_const): Delete
3154 declarations.
3155 * main.c (catch_command_errors_ftype)
3156 (catch_command_errors_const_ftype): Moved here from exceptions.h.
3157 (catch_command_errors, catch_command_errors_const)): Moved here
3158 from exceptions.c and make static.
3159
feefc97b
PA
31602014-07-14 Pedro Alves <palves@redhat.com>
3161
3162 * exceptions.c (print_any_exception): Delete.
3163 (catch_exceptions_with_msg): Use exception_print instead of
3164 print_any_exception.
3165 (catch_errors): Use exception_fprintf instead of
3166 print_any_exception.
3167 (catch_command_errors, catch_command_errors_const): Use
3168 exception_print instead of print_any_exception.
3169
c933f875
PA
31702014-07-14 Pedro Alves <palves@redhat.com>
3171
3172 * infcall.c (run_inferior_call): Set 'sync_execution' while
3173 running the inferior call.
3174
feb6f816
PA
31752014-07-14 Pedro Alves <palves@redhat.com>
3176
3177 * value.c (value_contents_equal): Delete function.
3178 * value.h (value_contents_equal): Delete declaration.
3179
d98b7a16
TT
31802014-07-14 Tom Tromey <tromey@redhat.com>
3181
3182 PR exp/17106:
3183 * gdbtypes.c (is_dynamic_type_internal): New function, from
3184 is_dynamic_type.
3185 (is_dynamic_type): Rewrite.
3186 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
3187 (resolve_dynamic_struct): Likewise.
3188 (resolve_dynamic_type_internal): New function, from
3189 resolve_dynamic_type.
3190 (resolve_dynamic_type): Rewrite.
3191
548740d6
TT
31922014-07-14 Tom Tromey <tromey@redhat.com>
3193
3194 * target.c (target_require_runnable): Also check record_stratum.
3195 Update comment.
3196
808f7ab1
YQ
31972014-07-11 Yao Qi <yao@codesourcery.com>
3198
3199 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
3200 thumb_instruction_restores_sp return true.
3201
540314bd
YQ
32022014-07-11 Yao Qi <yao@codesourcery.com>
3203
3204 * arm-tdep.c (thumb_instruction_restores_sp): New function.
3205 (thumb_in_function_epilogue_p): Call
3206 thumb_instruction_restores_sp.
3207
1db01f22
YQ
32082014-07-11 Yao Qi <yao@codesourcery.com>
3209
3210 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
3211 'add sp, #imm'.
3212 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
3213
3116063b
GB
32142014-07-11 Gary Benson <gbenson@redhat.com>
3215
3216 * amd64-linux-nat.c (gdbcore.h): Remove include.
3217 (regset.h): Likewise.
3218 (nat/linux-btrace.h): Likewise.
3219 (btrace.h): Likewise.
3220 (gdb_assert.h): Likewise.
3221 (string.h): Likewise.
3222 (sys/uio.h): Likewise.
3223 (sys/debugreg.h): Likewise.
3224 (sys/syscall.h): Likewise.
3225 (sys/procfs.h): Likewise.
3226 (sys/user.h): Likewise.
3227 (asm/ptrace.h): Likewise.
3228 (i386-nat.h): Likewise.
3229 * i386-linux-nat.c (i386-nat.h): Likewise.
3230 (regset.h): Likewise.
3231 (target.h): Likewise.
3232 (linux-nat.h): Likewise.
3233 (nat/linux-btrace.h): Likewise.
3234 (btrace.h): Likewise.
3235 (gdb_assert.h): Likewise.
3236 (string.h): Likewise.
3237 (sys/uio.h): Likewise.
3238 (sys/user.h): Likewise.
3239 (sys/procfs.h): Likewise.
3240 (sys/reg.h): Likewise.
3241 (sys/debugreg.h): Likewise.
3242 (ORIG_EAX): Remove definition.
3243
040baaf6
GB
32442014-07-11 Gary Benson <gbenson@redhat.com>
3245
3246 * i386-linux-nat.h: New file.
3247 * x86-linux-nat.h: Likewise.
3248 * x86-linux-nat.c: Likewise.
3249 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
3250 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
3251 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3252 * amd64-linux-nat.c (x86-linux-nat.h): New include.
3253 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3254 (PTRACE_SETREGSET): Likewise.
3255 (arch_lwp_info): Now in x86-linux-nat.c.
3256 (have_ptrace_getregset): Now in x86-linux-nat.h.
3257 (x86_linux_dr_get): Now in x86-linux-nat.c.
3258 (x86_linux_dr_set): Likewise.
3259 (x86_linux_dr_get_addr): Likewise.
3260 (x86_linux_dr_get_control): Likewise.
3261 (x86_linux_dr_get_status): Likewise.
3262 (update_debug_registers_callback): Likewise.
3263 (x86_linux_dr_set_control): Likewise.
3264 (x86_linux_dr_set_addr): Likewise.
3265 (x86_linux_prepare_to_resume): Likewise.
3266 (x86_linux_new_thread): Likewise.
3267 (x86_linux_new_fork): Likewise.
3268 (x86_linux_get_thread_area): Likewise.
3269 (super_post_startup_inferior): Likewise.
3270 (x86_linux_child_post_startup_inferior): Likewise.
3271 (AMD64_LINUX_USER64_CS): Likewise.
3272 (AMD64_LINUX_X32_DS): Likewise.
3273 (x86_linux_read_description): Likewise.
3274 (x86_linux_enable_btrace): Likewise.
3275 (x86_linux_disable_btrace): Likewise.
3276 (x86_linux_teardown_btrace): Likewise.
3277 (x86_linux_read_btrace): Likewise.
3278 (x86_linux_create_target): Likewise.
3279 (x86_linux_add_target): Likewise.
3280 * i386-linux-nat.c (x86-linux-nat.h): New include.
3281 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3282 (PTRACE_SETREGSET): Likewise.
3283 (arch_lwp_info): Now in x86-linux-nat.c.
3284 (have_ptrace_getregset): Now in x86-linux-nat.h.
3285 (x86_linux_dr_get): Now in x86-linux-nat.c.
3286 (x86_linux_dr_set): Likewise.
3287 (x86_linux_dr_get_addr): Likewise.
3288 (x86_linux_dr_get_control): Likewise.
3289 (x86_linux_dr_get_status): Likewise.
3290 (update_debug_registers_callback): Likewise.
3291 (x86_linux_dr_set_control): Likewise.
3292 (x86_linux_dr_set_addr): Likewise.
3293 (x86_linux_prepare_to_resume): Likewise.
3294 (x86_linux_new_thread): Likewise.
3295 (x86_linux_new_fork): Likewise.
3296 (x86_linux_get_thread_area): Likewise.
3297 (super_post_startup_inferior): Likewise.
3298 (x86_linux_child_post_startup_inferior): Likewise.
3299 (AMD64_LINUX_USER64_CS): Likewise.
3300 (AMD64_LINUX_X32_DS): Likewise.
3301 (x86_linux_read_description): Likewise.
3302 (x86_linux_enable_btrace): Likewise.
3303 (x86_linux_disable_btrace): Likewise.
3304 (x86_linux_teardown_btrace): Likewise.
3305 (x86_linux_read_btrace): Likewise.
3306 (x86_linux_create_target): Likewise.
3307 (x86_linux_add_target): Likewise.
3308
1aa7e42c
GB
33092014-07-11 Gary Benson <gbenson@redhat.com>
3310
3311 * amd64-linux-nat.c: Comment and whitespace changes.
3312 * i386-linux-nat.c: Comment and whitespace changes.
3313
c1e246a0
GB
33142014-07-11 Gary Benson <gbenson@redhat.com>
3315
3316 * amd64-linux-nat.c (x86_linux_create_target): New function.
3317 (x86_linux_add_target): Likewise.
3318 (_initialize_amd64_linux_nat): Delegate to the above new functions.
3319 * i386-linux-nat.c (x86_linux_create_target): New function.
3320 (x86_linux_add_target): Likewise.
3321 (_initialize_i386_linux_nat): Delegate to the above new functions.
3322
8c420b8d
GB
33232014-07-11 Gary Benson <gbenson@redhat.com>
3324
3325 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
3326 (ps_get_thread_area): Delegate to the above in 32-bit mode.
3327 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
3328 (ps_get_thread_area): Delegate to the above.
3329
cb1da100
GB
33302014-07-11 Gary Benson <gbenson@redhat.com>
3331
3332 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
3333 x86_linux_read_description. All uses updated. amd64-specific
3334 code conditionalized. Conditionalized i386-specific code added.
3335 Redundant cast removed.
3336 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3337 x86_linux_read_description. All uses updated. i386-specific
3338 code conditionalized. Conditionalized amd64-specific code added.
3339 One sizeof replaced with the actual type it is describing.
3340
2acf3cd0
GB
33412014-07-11 Gary Benson <gbenson@redhat.com>
3342
3343 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3344 x86_linux_dr_get. All uses updated.
3345 (amd64_linux_dr_set): Renamed to
3346 x86_linux_dr_set. All uses updated.
3347 (amd64_linux_dr_get_addr): Renamed to
3348 x86_linux_dr_get_addr. All uses updated.
3349 (amd64_linux_dr_get_control): Renamed to
3350 x86_linux_dr_get_control. All uses updated.
3351 (amd64_linux_dr_get_status): Renamed to
3352 x86_linux_dr_get_status. All uses updated.
3353 (amd64_linux_dr_set_control): Renamed to
3354 x86_linux_dr_set_control. All uses updated.
3355 (amd64_linux_dr_set_addr): Renamed to
3356 x86_linux_dr_set_addr. All uses updated.
3357 (amd64_linux_prepare_to_resume): Renamed to
3358 x86_linux_prepare_to_resume. All uses updated.
3359 (amd64_linux_new_thread): Renamed to
3360 x86_linux_new_thread. All uses updated.
3361 (amd64_linux_new_fork): Renamed to
3362 x86_linux_new_fork. All uses updated.
3363 (amd64_linux_child_post_startup_inferior): Renamed to
3364 x86_linux_child_post_startup_inferior. All uses updated.
3365 (amd64_linux_enable_btrace): Renamed to
3366 x86_linux_enable_btrace. All uses updated.
3367 (amd64_linux_disable_btrace): Renamed to
3368 x86_linux_disable_btrace. All uses updated.
3369 (amd64_linux_teardown_btrace): Renamed to
3370 x86_linux_teardown_btrace. All uses updated.
3371 (amd64_linux_read_btrace): Renamed to
3372 x86_linux_read_btrace. All uses updated.
3373 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3374 x86_linux_dr_get. All uses updated.
3375 (i386_linux_dr_set): Renamed to
3376 x86_linux_dr_set. All uses updated.
3377 (i386_linux_dr_get_addr): Renamed to
3378 x86_linux_dr_get_addr. All uses updated.
3379 (i386_linux_dr_get_control): Renamed to
3380 x86_linux_dr_get_control. All uses updated.
3381 (i386_linux_dr_get_status): Renamed to
3382 x86_linux_dr_get_status. All uses updated.
3383 (i386_linux_dr_set_control): Renamed to
3384 x86_linux_dr_set_control. All uses updated.
3385 (i386_linux_dr_set_addr): Renamed to
3386 x86_linux_dr_set_addr. All uses updated.
3387 (i386_linux_prepare_to_resume): Renamed to
3388 x86_linux_prepare_to_resume. All uses updated.
3389 (i386_linux_new_thread): Renamed to
3390 x86_linux_new_thread. All uses updated.
3391 (i386_linux_new_fork): Renamed to
3392 x86_linux_new_fork. All uses updated.
3393 (i386_linux_child_post_startup_inferior): Renamed to
3394 x86_linux_child_post_startup_inferior. All uses updated.
3395 (i386_linux_enable_btrace): Renamed to
3396 x86_linux_enable_btrace. All uses updated.
3397 (i386_linux_disable_btrace): Renamed to
3398 x86_linux_disable_btrace. All uses updated.
3399 (i386_linux_teardown_btrace): Renamed to
3400 x86_linux_teardown_btrace. All uses updated.
3401 (i386_linux_read_btrace): Renamed to
3402 x86_linux_read_btrace. All uses updated.
3403
b9c1d481
AS
34042014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3405
3406 * remote.c (extended_remote_post_attach): New function.
3407 (init_extended_remote_ops): Install it as to_post_attach method.
3408
7180e04a
PA
34092014-07-09 Pedro Alves <palves@redhat.com>
3410
3411 * infcmd.c (attach_command_post_wait): Don't call
3412 target_terminal_inferior here.
3413 (attach_command): Call it here instead.
3414
9a9a7608
AB
34152014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3416
3417 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3418 field.
3419 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3420 from varobj.c, with additional checks.
3421 (c_varobj_ops): Fill in is_path_expr_parent field.
3422 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3423 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3424 field.
3425 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3426 ops method.
3427 (varobj_default_is_path_expr_parent): New function.
3428 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3429 (varobj_default_is_path_expr_parent): Declare new function.
3430
1f267ae3
MM
34312014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3432
3433 * infcmd.c (finish_backward): Turn internal error into normal error.
3434
b2ee242b
PA
34352014-07-07 Pedro Alves <palves@redhat.com>
3436
8a869bca 3437 PR gdb/17096
b2ee242b
PA
3438 * remote.c (async_handle_remote_sigint)
3439 (async_handle_remote_sigint_twice): Call
3440 gdb_call_async_signal_handler instead of
3441 mark_async_signal_handler.
3442
38e229b2
TT
34432014-07-07 Tom Tromey <tromey@redhat.com>
3444
3445 * target-delegates.c: Rebuild.
3446 * target.c (target_info_record): Remove.
3447 * record.c (info_record_command): Unconditionally call
3448 to_info_record.
3449 * target.h (struct target_ops) <to_info_record>: Use
3450 TARGET_DEFAULT_IGNORE.
3451 (target_info_record): Remove.
3452
f0f9ff95
TT
34532014-07-07 Tom Tromey <tromey@redhat.com>
3454
3455 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3456 TARGET_DEFAULT_NORETURN.
3457 * target.c (generic_tls_error): New function.
3458 (target_translate_tls_address): Don't search target stack.
3459 * target-delegates.c: Rebuild.
3460 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3461 stack.
3462 * linux-thread-db.c (thread_db_get_thread_local_address):
3463 Unconditionally call beneath target.
3464
4a5be5ee
MK
34652014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3466
3467 * cli/cli-logging.c (pop_output_files): Assign targerr to
3468 gdb_stdtargerr.
3469
92c3b204
AB
34702014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3471
3472 * MAINTAINERS (Write After Approval): Update my email address.
3473
9b11e3a7
GB
34742014-07-02 Gary Benson <gbenson@redhat.com>
3475
3476 * proc-service.c (ps_xfer_memory): Update comment.
3477 (ps_pstop): Remove unused function.
3478 (ps_pcontinue): Likewise.
3479 (ps_lstop): Likewise.
3480 (ps_lcontinue): Likewise.
3481 (ps_lgetxregsize): Likewise.
3482 (ps_lgetxregs): Likewise.
3483 (ps_lsetxregs): Likewise.
3484 (ps_plog): Likewise.
3485 (ps_ptread): Likewise.
3486 (ps_ptwrite): Likewise.
3487
cf363f18
MW
34882014-07-01 Mark Wielaard <mjw@redhat.com>
3489
3490 * dwarf2read.c (add_array_cv_type): New function.
3491 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3492 (read_tag_volatile_type): Likewise.
3493
82ae6c8d
TT
34942014-07-01 Tom Tromey <tromey@redhat.com>
3495
3496 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3497 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3498 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3499 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3500 * command.h (cmd_cfunc_ftype): Move earlier.
3501 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3502 (add_com, add_info): Use cmd_cfunc_ftype.
3503
96142726
TT
35042014-06-30 Tom Tromey <tromey@redhat.com>
3505
3506 * symtab.c (operator_chars): Make parameters and return type
3507 const.
3508 (file_matches): Make "files" const.
3509 (struct search_symbols_data) <files>: Now const.
3510 (search_symbols): Make "regexp" and "files" parameters const.
3511 Update.
3512 (symtab_symbol_info): Remove cast.
3513 (rbreak_command): Update.
3514 * symtab.h (search_symbols): Update.
3515
b67a2c6f
YQ
35162014-06-27 Yao Qi <yao@codesourcery.com>
3517
3518 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3519 Change parameter type to 'struct thread_info *'. Caller
3520 updated.
3521 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3522 Update declaration.
3523 * dummy-frame.c (struct dummy_frame_id): New.
3524 (dummy_frame_id_eq): New function.
3525 (struct dummy_frame) <id>: Change its type to 'struct
3526 dummy_frame_id'.
3527 (dummy_frame_push): Add parameter ptid and save it in
3528 dummy_frame_id.
3529 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3530 inferior_ptid.
3531 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3532 to inferior_ptid.
3533 (lookup_dummy_frame): Change parameter type to 'struct
3534 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3535 instead of frame_id_eq.
3536 (dummy_frame_pop): Add parameter ptid. Callers updated.
3537 Update comments. Compose dummy_frame_id and pass it to
3538 lookup_dummy_frame.
3539 (dummy_frame_discard): Add parameter ptid.
3540 (dummy_frame_sniffer): Compose dummy_frame_id and call
3541 dummy_frame_id_eq instead of frame_id_eq.
3542 (fprint_dummy_frames): Print ptid.
3543 * dummy-frame.h: Remove comments.
3544 (dummy_frame_push): Add ptid in declaration.
3545 (dummy_frame_pop, dummy_frame_discard): Likewise.
3546
5b10184c
TT
35472014-06-26 Tom Tromey <tromey@redhat.com>
3548
3549 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3550 * command.h (error_no_arg): Update.
3551
06900326
TT
35522014-06-26 Tom Tromey <tromey@redhat.com>
3553
3554 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3555 (do_show_command): Make "arg" const.
3556 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3557
c2bcbb1d
TT
35582014-06-26 Tom Tromey <tromey@redhat.com>
3559
3560 * record-full.c (record_full_get_bookmark): Make "args" const.
3561 (record_full_goto_bookmark): Make "raw_bookmark" const.
3562 * record.c (record_goto): New function.
3563 (cmd_record_goto): Use it. Now static.
3564 * record.h (record_goto): Declare.
3565 (cmd_record_goto): Remove declaration.
3566 * target-delegates.c: Rebuild.
3567 * target.h (struct target_ops) <to_get_bookmark,
3568 to_goto_bookmark>: Make parameter const.
3569
9cbe5fff
TT
35702014-06-26 Tom Tromey <tromey@redhat.com>
3571
3572 * defs.h (generic_load): Update.
3573 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3574 * monitor.c (monitor_load): Make "args" const.
3575 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3576 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3577 const.
3578 (mips_load): Make "file" const.
3579 * remote-sim.c (gdbsim_load): Make "args" const.
3580 * remote.c (remote_load): Make "name" const.
3581 * symfile.c (generic_load): Make "args" const.
3582 * target-delegates.c: Rebuild.
3583 * target.c (target_load): Make "arg" const.
3584 (debug_to_load): Make "args" const.
3585 * target.h (struct target_ops) <to_load>: Make parameter const.
3586 (target_load): Update.
3587
34a68019
TT
35882014-06-26 Tom Tromey <tromey@redhat.com>
3589
3590 PR symtab/16902:
3591 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3592 (dwarf2_physname, read_partial_die)
3593 (guess_partial_die_structure_name, fixup_partial_die)
3594 (guess_full_die_structure_name, anonymous_struct_prefix)
3595 (dwarf2_name): Use per-BFD obstack.
3596
efc889c1
YQ
35972014-06-26 Yao Qi <yao@codesourcery.com>
3598
3599 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3600 dummyframe and this_id into inner block below.
3601
4395285e
YQ
36022014-06-26 Yao Qi <yao@codesourcery.com>
3603
3604 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3605 with "signal_pass[0]" in the initialization of signal_pass.
3606
aef92902
MM
36072014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3608
3609 * record-btrace.c (record_btrace_generating_corefile)
3610 (record_btrace_prepare_to_generate_core)
3611 (record_btrace_done_generating_core): New.
3612 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3613 (record_btrace_store_registers, record_btrace_prepare_to_store):
3614 Forward request when generating a core file.
3615 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3616 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3617 to_done_generating_core.
3618
5fff78c4
MM
36192014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3620
3621 * target.h (target_ops) <to_prepare_to_generate_core>
3622 <to_done_generating_core>: New.
3623 (target_prepare_to_generate_core, target_done_generating_core): New.
3624 * target.c (target_prepare_to_generate_core)
3625 (target_done_generating_core): New.
3626 * target-delegates.c: Regenerate.
3627 * gcore.c: (write_gcore_file): Rename to ...
3628 (write_gcore_file_1): ...this.
3629 (write_gcore_file): Call target_prepare_to_generate_core
3630 and target_done_generating_core.
3631
1d1f1ccb
MM
36322014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3633
3634 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3635 * gcore.c (write_gcore_file): Free memory returned from
3636 make_corefile_notes.
3637 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3638 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3639
3343ef86
YQ
36402014-06-24 Yao Qi <yao@codesourcery.com>
3641
3642 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3643 (arm_linux_init_abi): Set skip_trampoline_code with
3644 gdbarch_skip_trampoline_code instead of
3645 find_solib_trampoline_target.
3646
18d18ac8
YQ
36472014-06-24 Yao Qi <yao@codesourcery.com>
3648
3649 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3650 arm_skip_bx_reg returns non-zero.
3651
80d8d390
YQ
36522014-06-24 Yao Qi <yao@codesourcery.com>
3653
3654 * arm-tdep.c (arm_skip_bx_reg): New function.
3655 (arm_skip_stub): Call arm_skip_bx_reg.
3656
6a18a01c
DB
36572014-06-23 Don Breazeal <donb@codesourcery.com>
3658
3659 * MAINTAINERS: Add myself as write-after-approval maintainer.
3660
8e9db26e
PA
36612014-06-23 Pedro Alves <palves@redhat.com>
3662
3663 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3664 DR_CONTROL before setting DR0..DR3.
3665 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3666 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3667 bits of DR_CONTROL related to the debug register slot being
3668 disabled. If all slots are vacant, clear local slowdown as well,
3669 and assert DR_CONTROL is 0.
3670
70afc5b7
SC
36712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3672
3673 * python/lib/gdb/command/xmethods.py
3674 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3675 current progspace only if the string "progspace" matches LOCUS_RE.
3676
840ed64d
JK
36772014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3678
3679 Fix --with-system-readline with readline-6.3 patch 5.
3680 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3681 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3682 types.
3683
26f2dc30
TT
36842014-06-20 Tom Tromey <tromey@redhat.com>
3685
3686 * dwarf2read.c (dw2_get_real_path): Use correct type in
3687 OBSTACK_CALLOC.
3688 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3689
125f8a3d
GB
36902014-06-20 Gary Benson <gbenson@redhat.com>
3691
3692 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3693 * common/glibc_thread_db.h: Likewise.
3694 * common/i386-cpuid.h: Likewise.
3695 * common/i386-gcc-cpuid.h: Likewise.
3696 * common/linux-btrace.h: Likewise.
3697 * common/linux-osdata.h: Likewise.
3698 * common/linux-procfs.h: Likewise.
3699 * common/linux-ptrace.h: Likewise.
3700 * common/mips-linux-watch.h: Likewise.
3701 * common/linux-btrace.c: Moved to nat.
3702 * common/linux-osdata.c: Likewise.
3703 * common/linux-procfs.c: Likewise.
3704 * common/linux-ptrace.c: Likewise.
3705 * common/mips-linux-watch.c: Likewise.
3706 * nat/gdb_thread_db.h: Moved from common.
3707 * nat/glibc_thread_db.h: Likewise.
3708 * nat/i386-cpuid.h: Likewise.
3709 * nat/i386-gcc-cpuid.h: Likewise.
3710 * nat/linux-btrace.c: Likewise.
3711 * nat/linux-btrace.h: Likewise.
3712 * nat/linux-osdata.c: Likewise.
3713 * nat/linux-osdata.h: Likewise.
3714 * nat/linux-procfs.c: Likewise.
3715 * nat/linux-procfs.h: Likewise.
3716 * nat/linux-ptrace.c: Likewise.
3717 * nat/linux-ptrace.h: Likewise.
3718 * nat/mips-linux-watch.c: Likewise.
3719 * nat/mips-linux-watch.h: Likewise.
3720 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3721 (object file files): Reordered.
3722 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3723 of glibc_thread_db.h.
3724
42995dbd
GB
37252014-06-20 Gary Benson <gbenson@redhat.com>
3726
3727 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3728 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3729 (i386_dr_low): Likewise.
3730 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3731 (i386_dr_low_set_addr): Likewise.
3732 (i386_dr_low_get_addr): Likewise.
3733 (i386_dr_low_can_set_control): Likewise.
3734 (i386_dr_low_set_control): Likewise.
3735 (i386_dr_low_get_control): Likewise.
3736 (i386_dr_low_get_status): Likewise.
3737 (i386_get_debug_register_length): Likewise.
3738 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3739 (i386_dr_low): Likewise.
3740 * nat/i386-dregs.c (i386-low.h): Remove include.
3741 (i386-nat.h): Likewise.
3742 (nat/i386-dregs.h): New include.
3743 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3744 (i386_dr_low_set_addr): Likewise.
3745 (i386_dr_low_get_addr): Likewise.
3746 (i386_dr_low_can_set_control): Likewise.
3747 (i386_dr_low_set_control): Likewise.
3748 (i386_dr_low_get_control): Likewise.
3749 (i386_dr_low_get_status): Likewise.
3750 (i386_get_debug_register_length): Likewise.
3751 (debug_hw_points): Likewise.
3752
3ed9baed
IB
37532014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3754
3755 * Makefile.in (SFILES): Add d-exp.y.
3756 (YYFILES): Add d-exp.c.
3757 (YYOBJ): Add d-exp.o.
3758 (local-maintainer-clean): Delete d-exp.c.
3759 * d-exp.y: New file.
3760 * d-lang.h (d_parse): New declaration.
3761 (d_error): New declaration.
3762 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3763 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3764 PREC_ORDER operators.
3765 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3766
78c164b0
YQ
37672014-06-19 Yao Qi <yao@codesourcery.com>
3768
3769 * gdbthread.h (any_running): Remove the declaration.
3770 * thread.c (any_running): Remove.
3771
f6e29b6e
YQ
37722014-06-19 Yao Qi <yao@codesourcery.com>
3773
3774 * gdbthread.h (struct thread_info) <state>: Change its type to
3775 'enum thread_state'. Update comments.
3776
034f788c
PA
37772014-06-19 Pedro Alves <palves@redhat.com>
3778
3779 * gdbthread.h (ALL_THREADS): Delete.
3780 (ALL_NON_EXITED_THREADS): New macro.
3781 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3782 instead of ALL_THREADS.
3783 * infrun.c (find_thread_needs_step_over)
3784 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3785 instead of ALL_THREADS.
3786 * record-btrace.c (record_btrace_open)
3787 (record_btrace_stop_recording, record_btrace_close)
3788 (record_btrace_is_replaying, record_btrace_resume)
3789 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3790 * remote.c (append_pending_thread_resumptions): Likewise.
3791 * thread.c (thread_apply_all_command): Likewise.
3792
46e33252
GB
37932014-06-19 Gary Benson <gbenson@redhat.com>
3794
3795 * i386-nat.c (i386_stopped_by_watchpoint):
3796 Use i386_dr_stopped_by_watchpoint.
3797 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3798 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3799
3a8ee006
GB
38002014-06-19 Gary Benson <gbenson@redhat.com>
3801
3802 * nat/i386-dregs.c: New file.
3803 * Makefile.in (i386-dregs.o): New rule.
3804 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3805 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3806 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3807 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3808 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3809 * config/i386/go32.mh (NATDEPFILES): Likewise.
3810 * config/i386/linux.mh (NATDEPFILES): Likewise.
3811 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3812 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3813 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3814 * i386-nat.h (debug_hw_points): New declaration.
3815 * i386-nat.c (breakpoint.h): Remove include.
3816 (command.h): Likewise.
3817 (target.h): Likewise.
3818 (gdb_assert.h): Likewise.
3819 (debug_hw_points): Made nonstatic.
3820 (debug_printf): Now in i386-dregs.c.
3821 (TARGET_HAS_DR_LEN_8): Likewise.
3822 (DR_CONTROL_SHIFT): Likewise.
3823 (DR_CONTROL_SIZE): Likewise.
3824 (DR_RW_EXECUTE): Likewise.
3825 (DR_RW_WRITE): Likewise.
3826 (DR_RW_READ): Likewise.
3827 (DR_RW_IORW): Likewise.
3828 (DR_LEN_1): Likewise.
3829 (DR_LEN_2): Likewise.
3830 (DR_LEN_4): Likewise.
3831 (DR_LEN_8): Likewise.
3832 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3833 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3834 (DR_ENABLE_SIZE): Likewise.
3835 (DR_LOCAL_SLOWDOWN): Likewise.
3836 (DR_GLOBAL_SLOWDOWN): Likewise.
3837 (DR_CONTROL_RESERVED): Likewise.
3838 (I386_DR_CONTROL_MASK): Likewise.
3839 (I386_DR_VACANT): Likewise.
3840 (I386_DR_LOCAL_ENABLE): Likewise.
3841 (I386_DR_GLOBAL_ENABLE): Likewise.
3842 (I386_DR_DISABLE): Likewise.
3843 (I386_DR_SET_RW_LEN): Likewise.
3844 (I386_DR_GET_RW_LEN): Likewise.
3845 (I386_DR_WATCH_HIT): Likewise.
3846 (i386_wp_op_t): Likewise.
3847 (i386_show_dr): Likewise.
3848 (i386_length_and_rw_bits): Likewise.
3849 (i386_insert_aligned_watchpoint): Likewise.
3850 (i386_remove_aligned_watchpoint): Likewise.
3851 (i386_handle_nonaligned_watchpoint): Likewise.
3852 (i386_update_inferior_debug_regs): Likewise.
3853 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3854 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3855 (i386_region_ok_for_watchpoint):
3856 Use i386_dr_region_ok_for_watchpoint.
3857 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3858
322a8e06
GB
38592014-06-19 Gary Benson <gbenson@redhat.com>
3860
3861 * i386-nat.c (i386_insert_hw_breakpoint): Use
3862 i386_insert_watchpoint.
3863 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3864
8f26655c
GB
38652014-06-19 Gary Benson <gbenson@redhat.com>
3866
3867 * i386-nat.c (i386_dr_show): Renamed to
3868 i386_show_dr and made static. All uses updated.
3869 (i386_dr_length_and_rw_bits): Renamed to
3870 i386_length_and_rw_bits and made static.
3871 All uses updated.
3872 (i386_dr_insert_aligned_watchpoint): Renamed to
3873 i386_insert_aligned_watchpoint and made static.
3874 All uses updated.
3875 (i386_dr_remove_aligned_watchpoint): Renamed to
3876 i386_remove_aligned_watchpoint and made static.
3877 All uses updated.
3878 (i386_dr_update_inferior_debug_regs): Renamed to
3879 i386_update_inferior_debug_regs and made static.
3880 All uses updated.
3881 * nat/i386-dregs.h (i386_dr_show): Removed.
3882 (i386_dr_length_and_rw_bits): Likewise.
3883 (i386_dr_insert_aligned_watchpoint): Likewise.
3884 (i386_dr_remove_aligned_watchpoint): Likewise.
3885 (i386_dr_update_inferior_debug_regs): Likewise.
3886
992c7d70
GB
38872014-06-19 Gary Benson <gbenson@redhat.com>
3888
3889 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3890 * configure: Regenerate.
3891 * config.in: Likewise.
3892 * main.c (signal.h): New include.
3893 (setup_alternate_signal_stack): New function.
3894 (captured_main): Call the above.
3895 * cp-support.c (signal.h): New include.
3896 (catch_demangler_crashes): New flag.
3897 (SIGJMP_BUF): New define.
3898 (SIGSETJMP): Likewise.
3899 (SIGLONGJMP): Likewise.
3900 (gdb_demangle_jmp_buf): New static global.
3901 (gdb_demangle_attempt_core_dump): Likewise.
3902 (gdb_demangle_signal_handler): New function.
3903 (gdb_demangle): If catch_demangler_crashes is set, install the
3904 above signal handler before calling bfd_demangle, and restore
3905 the original signal handler afterwards. Display the offending
3906 symbol and call demangler_warning the first time a segmentation
3907 fault is caught.
3908 (_initialize_cp_support): New maint set/show command.
3909
eae7090b
GB
39102014-06-19 Gary Benson <gbenson@redhat.com>
3911
3912 * utils.h (resource_limit_kind): New enum.
3913 (can_dump_core): New declaration.
3914 (warn_cant_dump_core): Likewise.
3915 (dump_core): Likewise.
3916 * utils.c (dump_core): Made nonstatic. Added new
3917 parameter "limit_kind".
3918 (can_dump_core): Made nonstatic. Moved printing code to...
3919 (warn_cant_dump_core): New function.
3920 (can_dump_core_warn): Likewise.
3921 (internal_vproblem): Replace calls to can_dump_core with
3922 calls to can_dump_core_warn. Supply new argument to each.
3923
57fcfb1b
GB
39242014-06-19 Gary Benson <gbenson@redhat.com>
3925
3926 * utils.h (demangler_vwarning): New declaration.
3927 (demangler_warning): Likewise.
3928 * utils.c (struct internal_problem)
3929 <user_settable_should_quit>: New field.
3930 <user_settable_should_dump_core>: Likewise
3931 (internal_error_problem): Add values for above new fields.
3932 (internal_warning_problem): Likewise.
3933 (demangler_warning_problem): New static global.
3934 (demangler_vwarning): New function.
3935 (demangler_warning): Likewise.
3936 (add_internal_problem_command): Selectively add commands.
3937 (_initialize_utils): New internal problem command.
3938 * maint.c (maintenance_demangler_warning): New function.
3939 (_initialize_maint_cmds): New command.
3940
17a40b44
TT
39412014-06-18 Tom Tromey <tromey@redhat.com>
3942
3943 * f-valprint.c (info_common_command_for_block): Update.
3944 * symtab.h (struct general_symbol_info) <common_block>: Now
3945 const.
3946
346d1dfe
TT
39472014-06-18 Tom Tromey <tromey@redhat.com>
3948
3949 * symtab.h (struct symtab) <blockvector>: Now const.
3950 * ada-lang.c (ada_add_global_exceptions): Update.
3951 * buildsym.c (augment_type_symtab): Update.
3952 * dwarf2read.c (dw2_lookup_symbol): Update.
3953 * jit.c (finalize_symtab): Update.
3954 * jv-lang.c (add_class_symtab_symbol): Update.
3955 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3956 Update.
3957 * objfiles.c (objfile_relocate1): Update.
3958 * psymtab.c (lookup_symbol_aux_psymtabs)
3959 (maintenance_check_psymtabs): Update.
3960 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3961 Update.
3962 * spu-tdep.c (spu_catch_start): Update.
3963 * symmisc.c (dump_symtab_1): Update.
3964 * symtab.c (lookup_global_symbol_from_objfile)
3965 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3966 (basic_lookup_transparent_type_quick)
3967 (basic_lookup_transparent_type, find_pc_sect_symtab)
3968 (find_pc_sect_line, search_symbols): Update.
3969 * block.c (find_block_in_blockvector): Make "bl" const.
3970 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3971 const.
3972 (blockvector_contains_pc): Make "bv" const.
3973 (block_for_pc_sect): Update.
3974 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3975 (blockvector_contains_pc): Update.
3976 * breakpoint.c (resolve_sal_pc): Update.
3977 * inline-frame.c (block_starting_point_at): Update.
3978
1834676b
TT
39792014-06-18 Tom Tromey <tromey@redhat.com>
3980
3981 * completer.c (complete_line): Make "line_buffer" const.
3982 * completer.h (complete_line): Update.
3983
ac1a991b
TT
39842014-06-18 Tom Tromey <tromey@redhat.com>
3985
3986 * symtab.c (add_macro_name): Remove unneeded cast.
3987
5bc98e52
TT
39882014-06-18 Tom Tromey <tromey@redhat.com>
3989
3990 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3991 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3992
8236def8
TT
39932014-06-18 Tom Tromey <tromey@redhat.com>
3994
3995 * probe.c (info_probes_for_ops): Make "arg" const.
3996 * probe.h (info_probes_for_ops): Update.
3997
3977b71f
TT
39982014-06-18 Tom Tromey <tromey@redhat.com>
3999
4000 * varobj.c (varobj_create): Update.
4001 * valops.c (value_of_this): Update.
4002 * tracepoint.c (add_local_symbols, scope_info): Update.
4003 * symtab.h (struct general_symbol_info) <block>: Now const.
4004 * symtab.c (skip_prologue_sal)
4005 (default_make_symbol_completion_list_break_on)
4006 (skip_prologue_using_sal): Update.
4007 * stack.h (iterate_over_block_locals)
4008 (iterate_over_block_local_vars): Update.
4009 * stack.c (print_frame_args): Update.
4010 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4011 parameter const.
4012 (get_selected_block): Make return type const.
4013 * python/py-frame.c (frapy_block): Update.
4014 * python/py-block.c (gdbpy_block_for_pc): Update.
4015 * p-exp.y (%union) <bval>: Now const.
4016 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4017 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4018 * m2-exp.y (%union) <bval>: Now const.
4019 * linespec.c (get_current_search_block): Make return type const.
4020 (create_sals_line_offset, find_label_symbols): Update.
4021 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4022 Update.
4023 (block_starting_point_at): Make "block" const.
4024 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4025 (check_exception_resume): Update.
4026 * guile/scm-frame.c (gdbscm_frame_block): Update.
4027 * guile/scm-block.c (gdbscm_lookup_block): Update.
4028 * frame.h (get_frame_block): Update.
4029 (get_selected_block): Make return type const.
4030 * frame.c (frame_id_inner): Update.
4031 * f-valprint.c (info_common_command_for_block)
4032 (info_common_command): Update.
4033 * dwarf2loc.c (dwarf2_find_location_expression)
4034 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
4035 (locexpr_describe_location_piece): Update.
4036 * c-exp.y (%union) <bval>: Now const.
4037 * breakpoint.c (resolve_sal_pc): Update.
4038 * blockframe.c (get_frame_block):Make return type const.
4039 (get_pc_function_start, get_frame_function, find_pc_sect_function)
4040 (block_innermost_frame): Update.
4041 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4042 (block_for_pc, block_for_pc_sect): Update.
4043 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
4044 'pblock' const.
4045 (block_for_pc_sect, block_for_pc): Make return type const.
4046 * ax-gdb.c (gen_expr): Update.
4047 * alpha-mdebug-tdep.c (find_proc_desc): Update.
4048 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
4049 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
4050 (ada_read_var_value): Update.
4051 * ada-exp.y (struct name_info) <block>: Now const.
4052 (%union): Likewise.
4053 (block_lookup): Constify.
4054
b9228891
GB
40552014-06-18 Gary Benson <gbenson@redhat.com>
4056
4057 * nat/i386-dregs.h: New file.
4058 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
4059 * i386-nat.h (i386-dregs.h): New include.
4060 (DR_FIRSTADDR): Now in i386-dregs.h.
4061 (DR_LASTADDR): Likewise.
4062 (DR_NADDR): Likewise.
4063 (DR_STATUS): Likewise.
4064 (DR_CONTROL): Likewise.
4065 (i386_debug_reg_state): Likewise.
4066 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
4067
a1aa2221
LM
40682014-06-18 Don Breazeal <donb@codesourcery.com>
4069
4070 * breakpoint.c (set_longjmp_breakpoint): Call
4071 momentary_breakpoint_from_master with additional argument.
4072 (set_longjmp_breakpoint_for_call_dummy): Call
4073 momentary_breakpoint_from_master with additional argument.
4074 (set_std_terminate_breakpoint): Call
4075 momentary_breakpoint_from_master with additional argument.
4076 (momentary_breakpoint_from_master): Add argument to function
4077 definition and use it to initialize structure member flag.
74228e77 4078 (clone_momentary_breakpoint): Call
a1aa2221
LM
4079 momentary_breakpoint_from_master with additional argument.
4080 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4081 member flags set in momentary_breakpoint_from_master.
4082
4be83cc2
GB
40832014-06-18 Gary Benson <gbenson@redhat.com>
4084
4085 * i386-nat.c (i386_show_dr): Renamed to
4086 i386_dr_show and made nonstatic. All uses updated.
4087 (i386_length_and_rw_bits): Renamed to
4088 i386_dr_length_and_rw_bits and made nonstatic.
4089 All uses updated.
4090 (i386_insert_aligned_watchpoint): Renamed to
4091 i386_dr_insert_aligned_watchpoint and made nonstatic.
4092 All uses updated.
4093 (i386_remove_aligned_watchpoint): Renamed to
4094 i386_dr_remove_aligned_watchpoint and made nonstatic.
4095 All uses updated.
4096 (i386_update_inferior_debug_regs): Renamed to
4097 i386_dr_update_inferior_debug_regs and made nonstatic.
4098 All uses updated.
4099
131aa0d4
GB
41002014-06-18 Gary Benson <gbenson@redhat.com>
4101
4102 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4103 (i386_dr_low_can_set_control): Likewise.
4104 (i386_dr_low_set_addr): Likewise.
4105 (i386_dr_low_set_control): Likewise.
4106 (i386_dr_low_get_addr): Likewise.
4107 (i386_dr_low_get_status): Likewise.
4108 (i386_dr_low_get_control): Likewise.
4109 (i386_insert_aligned_watchpoint): Use new macros.
4110 (i386_update_inferior_debug_regs): Likewise.
4111 (i386_stopped_data_address): Likewise.
4112
d9305f7f
GB
41132014-06-18 Gary Benson <gbenson@redhat.com>
4114
4115 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4116 New parameter. All uses updated.
4117
ea008da4
GB
41182014-06-18 Gary Benson <gbenson@redhat.com>
4119
4120 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4121 All uses updated.
4122
1b6d4134
GB
41232014-06-18 Gary Benson <gbenson@redhat.com>
4124
4125 * i386-nat.c (debug_printf): New macro.
4126 (i386_get_debug_register_length): Likewise.
4127 (TARGET_HAS_DR_LEN_8): Use above macro.
4128 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4129 and printf_unfiltered. Use phex to format values.
4130
9b4550ef
GB
41312014-06-18 Gary Benson <gbenson@redhat.com>
4132
4133 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
4134 Make const.
4135
6e62758f
GB
41362014-06-18 Gary Benson <gbenson@redhat.com>
4137
4138 * i386-nat.c: Comment changes.
4139
51c79e94
GB
41402014-06-18 Gary Benson <gbenson@redhat.com>
4141
4142 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
4143
3e11889a
GB
41442014-06-18 Gary Benson <gbenson@redhat.com>
4145
4146 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
4147 (i386_insert_aligned_watchpoint): Likewise.
4148 (i386_remove_aligned_watchpoint): Likewise.
4149 (i386_handle_nonaligned_watchpoint): Likewise.
4150
fc6e2f03
GB
41512014-06-18 Gary Benson <gbenson@redhat.com>
4152
4153 * i386-nat.c: Whitespace changes.
4154
2afe7d50
SB
41552014-06-17 Samuel Bronson <naesten@gmail.com>
4156
4157 * MAINTAINERS: Update Roland McGrath's email address.
4158 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 4159 Red Hat a while ago, and giving me a current address.
2afe7d50 4160
3bca49ee
TT
41612014-06-17 Tom Tromey <tromey@redhat.com>
4162
4163 * utils.h (savestring): Remove declaration.
4164
6e366df1
TT
41652014-06-17 Tom Tromey <tromey@redhat.com>
4166
4167 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
4168
6be47f0c
KS
41692014-06-16 Keith Seitz <keiths@redhat.com>
4170
4171 PR mi/15863
4172 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
4173 to update the varobj if inferior_ptid is null_ptid.
4174
7bc112c1
TT
41752014-06-16 Tom Tromey <tromey@redhat.com>
4176
4177 * target.h (struct target_ops) <to_info_proc>: Make parameter
4178 const.
4179 (target_info_proc): Update.
4180 * target.c (target_info_proc): Make "args" const.
4181 * procfs.c (procfs_info_proc): Update.
4182 * linux-tdep.c (linux_info_proc): Update.
4183 (linux_core_info_proc_mappings): Make "args" const.
4184 (linux_core_info_proc): Update.
4185 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
4186 * gdbarch.c: Rebuild.
4187 * gdbarch.h: Rebuild.
4188 * corelow.c (core_info_proc): Update.
4189
fee354ee
TT
41902014-06-16 Tom Tromey <tromey@redhat.com>
4191
4192 * target.h (struct target_ops) <to_disconnect>: Make parameter
4193 const.
4194 (target_disconnect): Update.
4195 * target.c (target_disconnect): Make "args" const.
4196 * target-delegates.c: Rebuild.
4197 * remote.c (remote_disconnect): Update.
4198 * record.h (record_disconnect): Update.
4199 * record.c (record_disconnect): Update.
4200 * inf-child.c (inf_child_disconnect): Update.
4201
a30bf1f1
TT
42022014-06-16 Tom Tromey <tromey@redhat.com>
4203
4204 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
4205 * target.c (debug_to_rcmd, default_rcmd): Update.
4206 * target-delegates.c: Rebuild.
4207 * remote.c (remote_rcmd): Update.
4208 * monitor.c (monitor_rcmd): Update.
4209
d03de421
PA
42102014-06-16 Pedro Alves <palves@redhat.com>
4211
4212 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
4213 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
4214 have OBJF_SHARED set.
4215 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
4216 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
4217 instead of OBJF_USERLOADED.
4218 * objfiles.h (OBJF_SHARED): Update comment.
4219 (userloaded_objfile_contains_address_p): Rename to ...
4220 (shared_objfile_contains_address_p): ... this, and update
4221 comments.
4222 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
4223 new objfile.
4224 (remove_symbol_file_command): Skip objfiles that don't have
4225 OBJF_SHARED set.
4226
99f4262f
TT
42272014-06-16 Tom Tromey <tromey@redhat.com>
4228
4229 * minsyms.h (prim_record_minimal_symbol)
4230 (prim_record_minimal_symbol_and_info): Update comments.
4231
97d66cc6
EZ
42322014-06-14 Eli Zaretskii <eliz@gnu.org>
4233
4234 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
4235 or --without-guile, according to how GDB was built.
4236
635c7e8a
TT
42372014-06-13 Tom Tromey <tromey@redhat.com>
4238
4239 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
4240 to help_list.
4241 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
4242 to help_list.
4243 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
4244 help_list.
4245 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
4246 help_list.Pass all_commands, not -1, to help_list.
4247 * cli/cli-dump.c (dump_command, append_command)
4248 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
4249 (binary_dump_command, binary_append_command): Pass all_commands,
4250 not -1, to help_list.
4251 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
4252 -1, to help_list.
4253 * valprint.c (set_print, set_print_raw): Pass all_commands, not
4254 -1, to help_list.
4255 * typeprint.c (set_print_type): Pass all_commands, not -1, to
4256 help_list.
4257 * top.c (set_history): Pass all_commands, not -1, to help_list.
4258 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
4259 all_commands, not -1, to help_list.
4260 * symfile.c (overlay_command): Pass all_commands, not -1, to
4261 help_list.
4262 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
4263 help_list.
4264 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
4265 help_list.
4266 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
4267 -1, to help_list.
4268 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
4269 not -1, to help_list.
4270 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
4271 not -1, to help_list.
4272 * maint.c (maintenance_command, maintenance_info_command)
4273 (maintenance_print_command, maintenance_set_cmd): Pass
4274 all_commands, not -1, to help_list.
4275 * macrocmd.c (macro_command): Pass all_commands, not -1, to
4276 help_list.
4277 * language.c (set_check): Pass all_commands, not -1, to help_list.
4278 * infcmd.c (unset_command): Pass all_commands, not -1, to
4279 help_list.
4280 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
4281 help_list.
4282 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
4283 help_list.
4284 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
4285 help_list.
4286 * breakpoint.c (save_command): Pass all_commands, not -1, to
4287 help_list.
4288 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
4289 all_commands, not -1, to help_list.
4290
b94ade42
PL
42912014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
4292
4293 * regcache.c (struct register_to_invalidate): New structure.
4294 (do_register_invalidate, make_cleanup_regcache_invalidate): New
4295 functions.
4296 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
4297
31f628ae
YQ
42982014-06-12 Yao Qi <yao@codesourcery.com>
4299
4300 * varobj.c (varobj_get_num_children): Call
4301 varobj_is_dynamic_p.
4302 (varobj_list_children): Likewise.
4303 (varobj_update): Likewise. Update comments.
4304
cde5ef40
YQ
43052014-06-12 Yao Qi <yao@codesourcery.com>
4306
4307 * varobj.c (varobj_pretty_printed_p): Rename to ...
4308 (varobj_is_dynamic_p): ... this. New function.
4309 * varobj.h (varobj_pretty_printed_p): Remove declaration.
4310 (varobj_is_dynamic_p): Declare.
4311 * mi/mi-cmd-var.c (print_varobj): All callers updated.
4312 (mi_print_value_p, varobj_update_one): Likewise.
4313
576ea091
YQ
43142014-06-12 Pedro Alves <pedro@codesourcery.com>
4315 Yao Qi <yao@codesourcery.com>
4316
4317 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
4318 (varobj_get_iterator): Wrap up code for pretty-printer by
4319 "#if HAVE_PYTHON" and "#endif".
4320 (update_dynamic_varobj_children): Likewise.
4321
827f100c
YQ
43222014-06-12 Pedro Alves <pedro@codesourcery.com>
4323 Yao Qi <yao@codesourcery.com>
4324
4325 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
4326 gdb_python_initialized is false. Move some code from varobj.c.
4327 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
4328 * varobj.c: Move "varobj-iter.h" inclusion earlier.
4329 (struct varobj_item): Moved to varobj-iter.h".
4330 (varobj_clear_saved_item): New function.
4331 (update_dynamic_varobj_children): Move python-related code to
4332 py-varobj.c.
4333 (free_variable): Call varobj_clear_saved_item and
4334 varobj_iter_delete.
4335
e5250216
YQ
43362014-06-12 Pedro Alves <pedro@codesourcery.com>
4337 Yao Qi <yao@codesourcery.com>
4338
4339 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4340 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4341 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4342 (py-varobj.o): New rule.
4343 * python/py-varobj.c: New file.
4344 * python/python-internal.h (py_varobj_get_iterator): Declare.
4345 * varobj-iter.h: New file.
4346 * varobj.c: Include "varobj-iter.h"
4347 (struct varobj) <child_iter>: Change its type from "PyObject *"
4348 to "struct varobj_iter *".
4349 <saved_item>: Likewise.
4350 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4351 [HAVE_PYTHON] (varobj_get_iterator): New function.
4352 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4353 python-specific code to python/py-varobj.c.
4354 (install_visualizer): Call varobj_iter_delete instead of
4355 Py_XDECREF.
4356 * varobj.h (varobj_ensure_python_env): Declare.
4357
5a2e0d6e
YQ
43582014-06-12 Yao Qi <yao@codesourcery.com>
4359
4360 * varobj.c (struct varobj_item): New structure.
4361 (create_child_with_value): Update declaration.
4362 (varobj_add_child): Replace arguments 'name' and 'value' with
4363 'item'. All callers updated.
4364 (install_dynamic_child): Likewise.
4365 (update_dynamic_varobj_children): Likewise.
4366 (varobj_add_child): Likewise.
4367 (create_child_with_value): Likewise.
4368
919b9a93
JB
43692014-06-11 Joel Brobecker <brobecker@adacore.com>
4370
4371 * NEWS: Create a new section for the next release branch.
4372 Rename the section of the current branch, now that it has
4373 been cut.
4374
71a55bdf
JB
43752014-06-11 Joel Brobecker <brobecker@adacore.com>
4376
4377 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4378 * version.in: Bump version to 7.8.50.DATE-cvs.
4379
364fe1f7
PA
43802014-06-11 Pedro Alves <palves@redhat.com>
4381
4382 PR remote/17028
4383 * ser-mingw.c (net_windows_socket_check_pending): New function.
4384 (net_windows_select_thread): Ignore spurious wakeups. Use
4385 net_windows_socket_check_pending.
4386 (net_windows_wait_handle): Check for pending events with
4387 ioctlsocket, through net_windows_socket_check_pending, instead of
4388 checking the socket's event.
4389
5a6c7709
SC
43902014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4391
4392 * python/python-internal.h (gdb_PyObject_GetAttrString)
4393 (gdb_PyObject_HasAttrString): New inline function definitions.
4394 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4395 char * of the second argument to PyObject_GetAttrString.
74228e77 4396
0e58ee40
JB
43972014-06-10 Joel Brobecker <brobecker@adacore.com>
4398
4399 * serial.c (serial_write): Fix index of character to be printed
4400 in call to serial_logchar when serial debug traces are enabled.
4401
d190df30
JB
44022014-06-10 Joel Brobecker <brobecker@adacore.com>
4403
4404 * gdbtypes (resolve_dynamic_range): Add function description.
4405
b4b01d36
PA
44062014-06-09 Pedro Alves <palves@redhat.com>
4407
4408 * linux-nat.c (linux_child_follow_fork): Initialize status with
4409 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4410 inner block. Only pass the signal to PTRACE_DETACH if in pass
4411 state.
4412
3657956b
GB
44132014-06-09 Gary Benson <gbenson@redhat.com>
4414
4415 * common/signals.c (gdb_signal_from_host): Reorder to separate
4416 the always-available ANSI-standard signals from the signals that
4417 require checking.
4418 (do_gdb_signal_to_host): Likewise.
4419 * proc-events.c (signal_table): Likewise.
4420
c077881a
HZ
44212014-06-08 Hui Zhu <hui@codesourcery.com>
4422
4423 * common/linux-ptrace.c (linux_disable_event_reporting): New
4424 function.
4425 * common/linux-ptrace.h (linux_disable_event_reporting): New
4426 declaration.
4427 * linux-nat.c (linux_child_follow_fork): Do a single step before
4428 detach.
4429
4186eb54
KS
44302014-06-07 Keith Seitz <keiths@redhat.com>
4431
4432 Revert:
4433 PR c++/16253
4434 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4435 from symbol_matches_domain in symtab.c. All local callers
4436 of symbol_matches_domain updated.
4437 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4438 search STRUCT_DOMAIN.
4439 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4440 independently. standard_lookup will do that automatically.
4441 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4442 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4443 (cp_lookup_symbol_in_namespace): Likewise.
4444 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4445 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4446 may return a STRUCT_DOMAIN match.
4447 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4448 * cp-support.c: Include language.h.
4449 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4450 VAR_DOMAIN.
4451 * psymtab.c (match_partial_symbol): Compare the requested
4452 domain with the symbol's domain directly.
4453 (lookup_partial_symbol): Likewise.
4454 * symtab.c (lookup_symbol_in_language): Explain when/why
4455 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4456 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4457 appropriate languages.
4458 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4459 and moved to ada-lang.c
4460 (lookup_block_symbol): Explain that this function only returns
4461 symbol matching the requested DOMAIN.
4462 Compare the requested domain with the symbol's domain directly.
4463 (iterate_over_symbols): Compare the requested domain with the
4464 symbol's domain directly.
4465 * symtab.h (symbol_matches_domain): Remove.
4466
25326a28 44672014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4468
4469 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4470 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4471 (gdbscm_guile_version_is_at_least): Declare.
4472 (gdbscm_scm_string_to_int): Declare.
4473 * guile/guile.c (gdbscm_guile_major_version): New global.
4474 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4475 (guile_datadir): New static global.
4476 (gdbscm_guile_data_directory): New function.
4477 (initialize_scheme_side): Update.
4478 (misc_guile_functions): Add guile-data-directory.
4479 (initialize_gdb_module): Fetch guile version number.
4480 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4481 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4482 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4483 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4484 comments.
4485 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4486 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4487 * guile/scm-value.c (gdbscm_value_to_string): Only call
4488 scm_port_conversion_strategy if Guile version >= 2.0.6.
4489
0a770bb2 44902014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4491
4492 * main.c (print_gdb_help): Add -q and --silent.
4493
73ba372c
GB
44942014-06-06 Gary Benson <gbenson@redhat.com>
4495
4496 * common/signals.c: Remove preprocessor conditionals for
4497 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4498 SIGSEGV and SIGTERM.
4499 * proc-events.c: Likewise.
4500
c33b2f12
MM
45012014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4502
4503 * symfile.c (symfile_free_objfile): Remove restriction to
4504 OBJF_USERLOADED.
4505 * symfile-mem.c (symbol_file_add_from_memory): Call
4506 add_target_sections_of_objfile.
4507
fb934770
LC
45082014-06-05 Ludovic Courtès <ludo@gnu.org>
4509
4510 * guile/scm-value.c (gdbscm_history_append_x): Use
4511 'vlscm_get_value_smob_arg_unsafe' instead of
4512 'vlscm_scm_to_value'.
4513
6ef284bd
SM
45142014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4515
4516 PR mi/15806
4517 * utils.c (printchar): Don't escape at all if quoter is NUL.
4518 Update function documentation to clarify effect of parameter
4519 QUOTER.
4520 * remote.c (escape_buffer): Pass '\\' as the quoter to
4521 fputstrn_unfiltered.
4522 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4523 generate the output.
4524 (mi_solib_unloaded): Same.
4525
270c9937
JB
45262014-06-05 Joel Brobecker <brobecker@adacore.com>
4527
4528 * development.sh: Delete.
4529 * Makefile.in (config.status): Adjust dependency on development.sh.
4530 * configure.ac: Adjust development.sh source call.
4531 * configure: Regenerate.
4532
16f691fb
DE
45332014-06-04 Doug Evans <xdje42@gmail.com>
4534
4535 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4536 is_scheme_bkpt, spec.
4537 (bpscm_make_breakpoint_smob): Initialize new members.
4538 (gdbscm_create_breakpoint_x): Split into two ...
4539 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4540 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4541 (scheme_function breakpoint_functions): Update.
4542 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4543 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4544 register-breakpoint!.
4545
ef7cab6b
JB
45462014-06-04 Joel Brobecker <brobecker@adacorer.com>
4547
4548 PR server/17023
4549 * mem-break.c (z_type_supported): Return zero if
4550 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4551
012370f6
TT
45522014-06-04 Tom Tromey <tromey@redhat.com>
4553
4554 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4555 value_from_contents_and_address_unresolved.
4556 (ada_template_to_fixed_record_type_1): Likewise.
4557 (ada_which_variant_applies): Likewise.
4558 * value.h (value_from_contents_and_address_unresolved): Declare.
4559 * value.c (value_from_contents_and_address_unresolved): New
4560 function.
4561 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4562 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4563 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4564
92e2a17f
TT
45652014-06-04 Tom Tromey <tromey@redhat.com>
4566
4567 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4568
c0939df1
TT
45692014-06-04 Tom Tromey <tromey@redhat.com>
4570
4571 * procfs.c (procfs_attach): Make "args" const.
4572 * windows-nat.c (windows_attach): Make "args" const.
4573 * nto-procfs.c (procfs_attach): Make "args" const.
4574 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4575 * go32-nat.c (go32_attach): Make "args" const.
4576 * gnu-nat.c (gnu_attach): Make "args" const.
4577 * darwin-nat.c (darwin_attach): Make "args" const.
4578 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4579 * linux-nat.c (linux_nat_attach): Make "args" const.
4580 * remote.c (extended_remote_attach_1, extended_remote_attach):
4581 Make "args" const.
4582 * target.h (struct target_ops) <to_attach>: Make "args" const.
4583 (find_default_attach): Likewise.
4584 * utils.c (parse_pid_to_attach): Make "args" const.
4585 * utils.h (parse_pid_to_attach): Update.
4586
8eaff7cd
TT
45872014-06-04 Tom Tromey <tromey@redhat.com>
4588
4589 * target-delegates.c: Rebuild.
4590 * target.c (default_thread_address_space): New function.
4591 (target_thread_address_space): Simplify.
4592 * target.h (struct target_ops) <to_thread_address_space>: Add
4593 TARGET_DEFAULT_FUNC.
4594
1913f160
DE
45952014-06-04 Doug Evans <xdje42@gmail.com>
4596
4597 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4598
70ad5bff
MM
45992014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4600
4601 * record-btrace.c: Include event-loop.h and inf-loop.h.
4602 (record_btrace_resume_exec_dir)
4603 (record_btrace_async_inferior_event_handler)
4604 (record_btrace_handle_async_inferior_event): New.
4605 (record_btrace_open): Create async event handler.
4606 (record_btrace_close): Delete async event handler.
4607 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4608 Mark async event handler.
4609 (record_btrace_execution_direction): New.
4610 (init_record_btrace_ops): Initialize to_execution_direction.
4611
b6210538
DE
46122014-06-03 Doug Evans <xdje42@gmail.com>
4613
4614 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4615 (gdbscm_make_parameter): Ditto.
4616
a5b1fd27
DE
46172014-06-03 Doug Evans <dje@google.com>
4618
4619 * exec.c (exec_close_1): Call clear_section_table instead of
4620 resize_section_table.
4621 (clear_section_table): New function.
4622 (resize_section_table): Make static. Rename arg num_added to
4623 adjustment.
4624 * exec.h (clear_section_table): Declare.
4625 (resize_section_table): Delete.
4626 * progspace.c (release_program_space): Call clear_section_table
4627 instead of resize_section_table.
4628
0c6e92a5
SC
46292014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4630
4631 * NEWS (Python Scripting): Add entry about the new xmethods
4632 feature.
4633
883964a7
SC
46342014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4635
4636 * python/py-xmethods.c: New file.
4637 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4638 (objfpy_dealloc): XDECREF on the new xmethods field.
4639 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4640 field.
4641 (objfpy_get_xmethods): New function.
4642 (objfile_getset): New entry 'xmethods'.
4643 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4644 (pspy_dealloc): XDECREF on the new xmethods field.
4645 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4646 field.
4647 (pspy_get_xmethods): New function.
4648 (pspace_getset): New entry 'xmethods'.
4649 * python/python-internal.h: Add declarations for new functions.
4650 * python/python.c (_initialize_python): Invoke
4651 gdbpy_initialize_xmethods.
4652 * python/lib/gdb/__init__.py (xmethods): New
4653 attribute.
4654 * python/lib/gdb/xmethod.py: New file.
4655 * python/lib/gdb/command/xmethods.py: New file.
4656
58992dc5
SC
46572014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4658
4659 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4660 best match method returned by find_overload_match is an xmethod.
4661 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4662 the best matching operator returned by find_overload_match is an
4663 xmethod.
4664 * valops.c: #include "extension.h".
4665 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4666 Return void. The list of matching source methods is returned in
4667 "fn_list" and a vector of matching debug method workers is
4668 returned in "xm_worker_vec". Update all callers.
4669 (value_find_oload_method_list): Likewise.
4670 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4671 non-NULL, then the index of the best matching method in this
4672 vector is returned. Update all callers.
4673 (find_overload_match): Include xmethods while performing overload
4674 resolution.
4675
e81e7f5e
SC
46762014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4677
4678 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4679 * extension-priv.h (struct extension_language_ops): Add the
4680 xmethod interface.
4681 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4682 get_matching_xmethod_workers, get_xmethod_argtypes,
4683 invoke_xmethod, free_xmethod_worker,
4684 free_xmethod_worker_vec): New functions.
4685 * extension.h: #include "common/vec.h".
4686 New function declarations.
4687 (struct xmethod_worker): New struct.
4688 (VEC (xmethod_worker_ptr)): New vector type.
4689 (xmethod_worker_ptr): New typedef.
4690 (xmethod_worker_vec): Likewise.
4691 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4692 builtin_type.
4693 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4694 (struct builtin_type): New field "xmethod".
4695 * valarith.c (value_ptradd): Assert that the value argument is not
4696 lval_xcallable.
4697 * valops.c (value_must_coerce_to_target): Return 0 for
4698 lval_xcallable values.
4699 * value.c (struct value): New field XM_WORKER in the field
4700 LOCATION.
4701 (value_address, value_raw_address): Return 0 for lval_xcallable
4702 values.
4703 (set_value_address): Assert that the value is not an
4704 lval_xcallable.
4705 (value_free): Free the associated xmethod worker when freeing
4706 lval_xcallable values.
4707 (set_value_component_location): Assert that the WHOLE value is not
4708 lval_xcallable.
4709 (value_of_xmethod, call_xmethod): New functions.
4710 * value.h: Declare "struct xmethod_worker".
4711 Declare new functions value_of_xmethod, call_xmethod.
4712
ef370185
JB
47132014-06-03 Joel Brobecker <brobecker@adacore.com>
4714 Pedro Alves <palves@redhat.com>
4715
4716 PR breakpoints/17000
4717 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4718 New function, extracted from software_breakpoint_inserted_here_p.
4719 (software_breakpoint_inserted_here_p): Replace factored out code
4720 by call to find_non_raw_software_breakpoint_inserted_here.
4721 (bp_target_info_copy_insertion_state): New function.
4722 (bkpt_insert_location): Handle the case of a single-step
4723 breakpoint already inserted at the same address.
4724 (bkpt_remove_location): Handle the case of a single-step
4725 breakpoint still inserted at the same address.
4726 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4727 breakpoint already inserted at the same address.
4728 (deprecated_remove_raw_breakpoint): Handle the case of a
4729 non-raw breakpoint still inserted at the same address.
4730 (find_single_step_breakpoint): New function, extracted from
4731 single_step_breakpoint_inserted_here_p.
4732 (find_single_step_breakpoint): New function,
4733 factored out from single_step_breakpoint_inserted_here_p.
4734 (single_step_breakpoint_inserted_here_p): Reimplement.
4735
1e2ccb61
BM
47362014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4737
4738 Pushed by Joel Brobecker <brobecker@adacore.com>
4739 * source.c (show_substitute_path_command): Fix display of matching
4740 substitution rules.
4741
d3448d85
GB
47422014-06-03 Gary Benson <gbenson@redhat.com>
4743
4744 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4745
06eb1586
DE
47462014-06-02 Doug Evans <xdje42@gmail.com>
4747
4748 Add parameter support for Guile.
4749 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4750 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4751 (scm-param.o): New rule.
4752 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4753 (gdbscm_misc_error): Declare.
4754 (gdbscm_canonicalize_command_name): Declare.
4755 (gdbscm_scm_to_host_string): Declare.
4756 (gdbscm_scm_from_host_string): Declare.
4757 (gdbscm_initialize_parameters): Declare.
4758 * guile/guile.c (initialize_gdb_module): Call
4759 gdbscm_initialize_parameters.
4760 * guile/lib/gdb.scm: Export parameter symbols.
4761 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4762 cmdscm_canonicalize_name and made public. All callers updated.
4763 * guile/scm-exception.c (gdbscm_misc_error): New function.
4764 * guile/scm-param.c: New file.
4765 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4766 (gdbscm_scm_to_host_string): New function.
4767 (gdbscm_scm_from_host_string): New function.
4768 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4769
e698b8c4
DE
47702014-06-02 Doug Evans <xdje42@gmail.com>
4771
4772 Add command support for Guile.
4773 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4774 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4775 (scm-cmd.o): New rule.
4776 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4777 (gdbscm_user_error_p): Declare.
4778 (gdbscm_parse_command_name): Declare.
4779 (gdbscm_valid_command_class_p): Declare.
4780 (gdbscm_initialize_commands): Declare.
4781 * guile/guile.c (initialize_gdb_module): Call
4782 gdbscm_initialize_commands.
4783 * guile/lib/gdb.scm: Export command symbols.
4784 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4785 (throw-user-error): New function.
4786 * guile/scm-cmd.c: New file.
4787 * guile/scm-exception.c (user_error_symbol): New static global.
4788 (gdbscm_user_error_p): New function.
4789 (gdbscm_initialize_exceptions): Set user_error_symbol.
4790 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4791
fb1f94b0
PM
47922014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4793
4794 * top.c (command_loop): Handle comments here...
4795 (command_line_input): ... not here.
4796
ded03782
DE
47972014-06-02 Doug Evans <xdje42@gmail.com>
4798
4799 Add progspace support for Guile.
4800 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4801 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4802 (scm-progspace.o): New rule.
4803 * guile/guile-internal.h (pspace_smob): New typedef.
4804 (psscm_pspace_smob_pretty_printers): Declare.
4805 (psscm_pspace_smob_from_pspace): Declare.
4806 (psscm_scm_from_pspace): Declare.
4807 * guile/guile.c (initialize_gdb_module): Call
4808 gdbscm_initialize_pspaces.
4809 * guile/lib/gdb.scm: Export progspace symbols.
4810 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4811 support.
4812 (append-pretty-printer!): Ditto.
4813 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4814 Implement.
4815 * guile/scm-progspace.c: New file.
4816
397998fc
AM
48172014-06-03 Alan Modra <amodra@gmail.com>
4818
4819 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4820 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4821
6aa5f3a6
DE
48222014-06-02 Doug Evans <dje@google.com>
4823
4824 Add support for skeletonless type units.
4825 * dwarf2read.c (struct dwarf2_per_objfile): New member
4826 n_allocated_type_units.
4827 (struct dwarf2_per_objfile) <tu_stats>: New member
4828 nr_all_type_units_reallocs.
4829 (create_signatured_type_table_from_index): Initialize
4830 n_allocated_type_units
4831 (create_all_type_units): Ditto.
4832 (add_type_unit): Move up in file. New arg slot.
4833 All callers updated. Increase space for all_type_units more
4834 efficiently.
4835 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4836 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4837 (lookup_dwp_signatured_type): Ditto.
4838 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4839 All callers updated.
4840 (build_type_psymtabs_1): Leave type_unit_groups as
4841 NULL if no TUs present.
4842 (print_tu_stats): New function.
4843 (process_skeletonless_type_unit): New function.
4844 (process_dwo_file_for_skeletonless_type_units): New
4845 function.
4846 (process_skeletonless_type_units): New function.
4847 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4848 Call print tu_stats if debugging enabled.
4849
41fac0cf
PA
48502014-06-02 Pedro Alves <palves@redhat.com>
4851
4852 * breakpoint.c (build_target_command_list): Don't build a command
4853 list if we have any duplicate location that isn't a dprintf.
4854
cd1608cc
PA
48552014-06-02 Pedro Alves <palves@redhat.com>
4856
4857 * breakpoint.c (dprintf_breakpoint_hit): New function.
4858 (initialize_breakpoint_ops): Install it as dprintf's
4859 breakpoint_hit method.
4860
486ef3b9
JB
48612014-06-02 Joel Brobecker <brobecker@adacore.com>
4862
4863 * source.c (substitute_path_rule_matches): Simplify using
4864 filename_ncmp instead of FILENAME_CMP.
4865
230cd560
JB
48662014-06-02 Joel Brobecker <brobecker@adacore.com>
4867
4868 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4869
16954d5d
LC
48702014-06-01 Ludovic Courtès <ludo@gnu.org>
4871
4872 * configure.ac: When Guile is available, check for the
4873 availability of 'scm_new_smob'.
4874 * configure, config.h.in: Regenerate.
4875 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4876 function.
4877
53e8a631
AB
48782014-05-30 Andrew Burgess <aburgess@broadcom.com>
4879
4880 * frame.c (struct frame_info): Add stop_string field.
4881 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4882 (get_prev_frame_always): Old content moved into
4883 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4884 TRY_CATCH, handle MEMORY_ERROR exceptions.
4885 (frame_stop_reason_string): New function definition.
4886 * frame.h (unwind_stop_reason_to_string): Extend comment to
4887 mention frame_stop_reason_string.
4888 (frame_stop_reason_string): New function declaration.
4889 * stack.c (frame_info): Switch to frame_stop_reason_string.
4890 (backtrace_command_1): Switch to frame_stop_reason_string.
4891 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4892 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4893 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4894
70e38b8e
AB
48952014-05-30 Andrew Burgess <aburgess@broadcom.com>
4896
4897 * frame.c (frame_stop_reason_string): Rename to ...
4898 (unwind_stop_reason_to_string): this.
4899 * frame.h (frame_stop_reason_string): Rename to ...
4900 (unwind_stop_reason_to_string): this.
4901 * stack.c (frame_info): Update call to frame_stop_reason_string.
4902 (backtrace_command_1): Likewise.
4903 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4904 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4905
938f0e2f
AB
49062014-05-30 Andrew Burgess <aburgess@broadcom.com>
4907
4908 * frame.c (remove_prev_frame): New function.
4909 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4910 remove_prev_frame.
4911
a09dd441
PA
49122014-05-29 Pedro Alves <palves@redhat.com>
4913
4914 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4915 and make it const. When a single-step decays to a continue,
4916 clear 'step', not 'hw_step'. Pass whether the caller wanted
4917 to step to user_visible_resume_ptid, not what we ask the
4918 target to do.
4919
bdc36728
PA
49202014-05-29 Pedro Alves <palves@redhat.com>
4921
4922 * infrun.c (process_event_stop_test, handle_step_into_function)
4923 (handle_step_into_function_backward): Adjust.
4924 Don't set the even thread's stop_step and call stop_waiting before
4925 calling end_stepping_range. Instead do that ...
4926 (end_stepping_range): ... here. Take an ecs pointer parameter.
4927
22bcd14b
PA
49282014-05-29 Pedro Alves <palves@redhat.com>
4929
4930 * infrun.c (stop_stepping): Rename to ...
4931 (stop_waiting): ... this.
4932 (proceed): Update comment.
4933 (process_event_stop_test, handle_inferior_event)
4934 (handle_signal_stop, handle_step_into_function)
4935 (handle_step_into_function_backward): Update.
4936
4ae57c05
PA
49372014-05-29 Pedro Alves <palves@redhat.com>
4938
4939 * infcall.c (run_inferior_call): Don't check whether the current
4940 thread is running after the proceed call.
4941
329ea579
PA
49422014-05-29 Pedro Alves <palves@redhat.com>
4943 Tom Tromey <tromey@redhat.com>
4944
4945 * NEWS: Mention "maint set target-async", "set mi-async", and that
4946 background execution commands are now always available.
4947 * target.h (target_async_permitted): Update comment.
4948 * target.c (target_async_permitted, target_async_permitted_1):
4949 Default to 1.
4950 (set_target_async_command): Rename to ...
4951 (maint_set_target_async_command): ... this.
4952 (show_target_async_command): Rename to ...
4953 (maint_show_target_async_command): ... this.
4954 (_initialize_target): Adjust.
4955 * infcmd.c (prepare_execution_command): Make extern.
4956 * inferior.h (prepare_execution_command): Declare.
4957 * infrun.c (set_observer_mode): Leave target async alone.
4958 * mi/mi-interp.c (mi_interpreter_init): Install
4959 mi_on_sync_execution_done as sync_execution_done observer.
4960 (mi_on_sync_execution_done): New function.
4961 (mi_execute_command_input_handler): Don't print the prompt if we
4962 just started a synchronous command with an async target.
4963 (mi_on_resume): Check sync_execution before printing prompt.
4964 * mi/mi-main.h (mi_async_p): Declare.
4965 * mi/mi-main.c: Include gdbcmd.h.
4966 (mi_async_p): New function.
4967 (mi_async, mi_async_1): New globals.
4968 (set_mi_async_command, show_mi_async_command, mi_async): New
4969 functions.
4970 (exec_continue): Call prepare_execution_command.
4971 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4972 (mi_execute_async_cli_command): Use mi_async_p.
4973 (_initialize_mi_main): Install "set mi-async". Make
4974 "target-async" a deprecated alias.
4975
92bcb5f9
PA
49762014-05-29 Pedro Alves <palves@redhat.com>
4977
4978 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4979 (_initialize_cli_interp): Adjust.
4980 * event-loop.c: Include "observer.h".
4981 (start_event_loop): Notify 'command_error' observers instead of
4982 calling display_gdb_prompt. Remove FIXME comment.
4983 * event-top.c (display_gdb_prompt): Remove call into the
4984 interpreters.
4985 * inf-loop.c: Include "observer.h".
4986 (inferior_event_handler): Notify 'command_error' observers instead
4987 of calling display_gdb_prompt.
4988 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4989 observers instead of calling display_gdb_prompt.
4990 * interps.c (interp_set): Don't call display_gdb_prompt.
4991 (current_interp_display_prompt_p): Delete.
4992 * interps.h (interp_prompt_p): Delete declaration.
4993 (interp_prompt_p_ftype): Delete.
4994 (struct interp_procs) <prompt_proc_p>: Delete field.
4995 (current_interp_display_prompt_p): Delete declaration.
4996 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4997 (_initialize_mi_interp): Adjust.
4998 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4999 'command_error' observers.
5000 (tui_on_sync_execution_done, tui_on_command_error): New
5001 functions.
5002 (tui_display_prompt_p): Delete.
5003 (_initialize_tui_interp): Adjust.
5004
fd664c91
PA
50052014-05-29 Pedro Alves <palves@redhat.com>
5006
5007 PR gdb/13860
5008 * cli/cli-interp.c: Include infrun.h and observer.h.
5009 (cli_uiout, cli_interp): New globals.
5010 (cli_on_signal_received, cli_on_end_stepping_range)
5011 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5012 functions.
5013 (cli_interpreter_init): Install them as 'end_stepping_range',
5014 'signal_received' 'signal_exited', 'exited' and 'no_history'
5015 observers.
5016 (_initialize_cli_interp): Remove cli_interp local.
5017 * infrun.c (handle_inferior_event): Call the several stop reason
5018 observers instead of printing the stop reason directly.
5019 (end_stepping_range): New function.
5020 (print_end_stepping_range_reason, print_signal_exited_reason)
5021 (print_exited_reason, print_signal_received_reason)
5022 (print_no_history_reason): Make static, and add an uiout
5023 parameter. Print to that instead of to CURRENT_UIOUT.
5024 * infrun.h (print_end_stepping_range_reason)
5025 (print_signal_exited_reason, print_exited_reason)
5026 (print_signal_received_reason print_no_history_reason): New
5027 declarations.
5028 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
5029 'mi_uiout'.
5030 <cli_uiout>: New field.
5031 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
5032 uiout for CLI output. Install 'signal_received',
5033 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
5034 observers.
5035 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
5036 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
5037 (mi_on_no_history): New functions.
5038 (ui_out_free_cleanup): Delete function.
5039 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
5040 instead use the one already stored in the MI interpreter data.
5041 (mi_ui_out): Adjust.
5042 * tui/tui-interp.c: Include infrun.h and observer.h.
5043 (tui_interp): New global.
5044 (tui_on_signal_received, tui_on_end_stepping_range)
5045 (tui_on_signal_exited, tui_on_exited)
5046 (tui_on_no_history): New functions.
5047 (tui_init): Install them as 'end_stepping_range',
5048 'signal_received' 'signal_exited', 'exited' and 'no_history'
5049 observers.
5050 (_initialize_tui_interp): Delete tui_interp local.
5051
8817a6f2
PA
50522014-05-29 Pedro Alves <palves@redhat.com>
5053
5054 PR gdb/15713
5055 * linux-nat.c (linux_nat_resume_callback): Rename the second
5056 parameter to 'except'. Skip LP if it points to EXCEPT.
5057 (linux_nat_resume): Don't mark the event lwp as not stopped
5058 before resuming sibling lwps. Instead ask
5059 linux_nat_resume_callback to skip the event lwp. Mark it as not
5060 stopped after actually resuming it.
5061 (linux_handle_syscall_trap): Mark the lwp as not stopped after
5062 resuming it.
5063 (wait_lwp): Mark the lwp as stopped here.
5064 (stop_wait_callback): Mark the lwp as not stopped right after
5065 resuming it. Don't mark lwps as stopped here.
5066 (linux_nat_filter_event): Mark the lwp as stopped earlier.
5067 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
5068
251bde03
PA
50692014-05-29 Pedro Alves <palves@redhat.com>
5070
5071 PR PR15693
5072 * infrun.c (resume): Determine how much to resume depending on
5073 whether the caller wanted a step, not whether we can hardware step
5074 the target. Mark all threads that we intend to run as running,
5075 unless we're calling an inferior function.
5076 (normal_stop): If the thread is running an infcall, don't finish
5077 thread state.
5078 * target.c (target_resume): Don't mark threads as running here.
5079
7f3c0343
JB
50802014-05-28 Joel Brobecker <brobecker@adacore.com>
5081
5082 * serial.c (_initialize_serial): Remove support for
5083 the "set remotebaud" and "show remotebaud" commands.
5084 * NEWS: Add entry documenting the removal of that command.
5085
ee34b3f9
YQ
50862014-05-28 Yao Qi <yao@codesourcery.com>
5087
5088 * charset.c: Fix typo in comments.
5089
add6c04d
GB
50902014-05-27 Gary Benson <gbenson@redhat.com>
5091
5092 * utils.c (internal_vproblem): Prompt for a bug report.
5093
92c48fc5
AW
50942014-05-26 Andy Wingo <wingo@igalia.com>
5095
5096 * guile/scm-arch.c (arscm_mark_arch_smob):
5097 * guile/scm-block.c (bkscm_mark_block_smob)
5098 (bkscm_mark_block_syms_progress_smob):
5099 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5100 * guile/scm-exception.c (exscm_mark_exception_smob):
5101 * guile/scm-frame.c (frscm_mark_frame_smob):
5102 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5103 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5104 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5105 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5106 (ppscm_mark_pretty_printer_worker_smob):
5107 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5108 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5109 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5110 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5111 mark functions.
5112 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5113 function.
5114
b2715b27
AW
51152014-05-26 Andy Wingo <wingo@igalia.com>
5116 Doug Evans <xdje42@gmail.com>
5117
5118 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5119 empty_base_class. All uses updated.
5120 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5121 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5122 Adapt all callers.
5123 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5124 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5125 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5126 (gdbscm_gsmob_has_property_p, add_property_name)
5127 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5128 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5129 (gdb-object-has-property?, gdb-object-properties): Remove.
5130 (gdb-object-kind): Renamed from gsmob-kind.
5131
214ab2da
AW
51322014-05-26 Andy Wingo <wingo@igalia.com>
5133
5134 * configure.ac (try_guile_versions): Allow building with guile 2.2.
5135 * configure: Regenerate.
5136
589fdceb
MM
51372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5138
5139 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
5140
67b5c0c1
MM
51412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5142
5143 * record-btrace.c (record_btrace_allow_memory_access): Remove.
5144 (replay_memory_access_read_only, replay_memory_access_read_write)
5145 (replay_memory_access_types, replay_memory_access)
5146 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
5147 (cmd_set_record_btrace, cmd_show_record_btrace)
5148 (cmd_show_replay_memory_access): New.
5149 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
5150 (record_btrace_remove_breakpoint): Replace
5151 record_btrace_allow_memory_access with replay_memory_access.
5152 (_initialize_record_btrace): Add commands.
5153 * NEWS: Announce it.
5154
036cd381
RR
51552014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5156
5157 * aarch64-linux-nat.c (asm/ptrace.h): Include.
5158
c77c1e42
RR
51592014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5160
5161 * MAINTAINERS (Write After Approval): Move self back from
5162 paper trail.
5163
45741a9c
PA
51642014-05-22 Pedro Alves <palves@redhat.com>
5165
5166 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
5167 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
5168 (disable_randomization, enum exec_direction_kind)
5169 (execution_direction, stop_registers, start_remote)
5170 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
5171 (wait_for_inferior, normal_stop, get_last_target_status)
5172 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
5173 (insert_step_resume_breakpoint_at_sal)
5174 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
5175 (set_step_info, print_stop_event, signal_stop_state)
5176 (signal_print_state, signal_pass_state, signal_stop_update)
5177 (signal_print_update, signal_pass_update)
5178 (update_signals_program_target, clear_exit_convenience_vars)
5179 (displaced_step_dump_bytes, update_observer_mode)
5180 (signal_catch_update, gdb_signal_from_command): Move
5181 declarations ...
5182 * infrun.h: ... to this new file.
5183 * amd64-tdep.c: Include infrun.h.
5184 * annotate.c: Include infrun.h.
5185 * arch-utils.c: Include infrun.h.
5186 * arm-linux-tdep.c: Include infrun.h.
5187 * arm-tdep.c: Include infrun.h.
5188 * break-catch-sig.c: Include infrun.h.
5189 * breakpoint.c: Include infrun.h.
5190 * common/agent.c: Include infrun.h instead of inferior.h.
5191 * corelow.c: Include infrun.h.
5192 * event-top.c: Include infrun.h.
5193 * go32-nat.c: Include infrun.h.
5194 * i386-tdep.c: Include infrun.h.
5195 * inf-loop.c: Include infrun.h.
5196 * infcall.c: Include infrun.h.
5197 * infcmd.c: Include infrun.h.
5198 * infrun.c: Include infrun.h.
5199 * linux-fork.c: Include infrun.h.
5200 * linux-nat.c: Include infrun.h.
5201 * linux-thread-db.c: Include infrun.h.
5202 * monitor.c: Include infrun.h.
5203 * nto-tdep.c: Include infrun.h.
5204 * procfs.c: Include infrun.h.
5205 * record-btrace.c: Include infrun.h.
5206 * record-full.c: Include infrun.h.
5207 * remote-m32r-sdi.c: Include infrun.h.
5208 * remote-mips.c: Include infrun.h.
5209 * remote-notif.c: Include infrun.h.
5210 * remote-sim.c: Include infrun.h.
5211 * remote.c: Include infrun.h.
5212 * reverse.c: Include infrun.h.
5213 * rs6000-tdep.c: Include infrun.h.
5214 * s390-linux-tdep.c: Include infrun.h.
5215 * solib-irix.c: Include infrun.h.
5216 * solib-osf.c: Include infrun.h.
5217 * solib-svr4.c: Include infrun.h.
5218 * target.c: Include infrun.h.
5219 * top.c: Include infrun.h.
5220 * windows-nat.c: Include infrun.h.
5221 * mi/mi-interp.c: Include infrun.h.
5222 * mi/mi-main.c: Include infrun.h.
5223 * python/py-threadevent.c: Include infrun.h.
5224
98eb56a4
PA
52252014-05-22 Pedro Alves <palves@redhat.com>
5226
5227 * infrun.c (handle_inferior_event): Store the exit code for
5228 --return-child-result here, instead of ...
5229 (print_exited_reason): ... here.
5230
17b2616c
PA
52312014-05-21 Pedro Alves <palves@redhat.com>
5232
5233 PR gdb/13860
5234 * gdbthread.h (struct thread_control_state): New field
5235 `command_interp'.
5236 * infrun.c (follow_fork): Copy the new thread control field to the
5237 child fork thread.
5238 (clear_proceed_status_thread): Clear the new thread control field.
5239 (proceed): Set the new thread control field.
5240 * interps.h (command_interp): Declare.
5241 * interps.c (command_interpreter): New global.
5242 (command_interp): New function.
5243 (interp_exec): Set `command_interpreter' while here.
5244 * cli-out.c (cli_uiout_dtor): New function.
5245 (cli_ui_out_impl): Install it.
5246 * mi/mi-interp.c: Include cli-out.h.
5247 (mi_cmd_interpreter_exec): Add comment.
5248 (restore_current_uiout_cleanup): New function.
5249 (ui_out_free_cleanup): New function.
5250 (mi_on_normal_stop): If finishing an execution command started by
5251 a CLI command, or any kind of breakpoint-like event triggered,
5252 print the stop event to the output (CLI) stream.
5253 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
5254
5166082f
PA
52552014-05-21 Pedro Alves <palves@redhat.com>
5256
5257 * cli/cli-cmds.c (list_command): Handle the first "list" after the
5258 current source line having changed.
5259 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
5260 * infrun.c (normal_stop): Adjust call to
5261 set_current_sal_from_frame.
5262 * source.c (clear_lines_listed_range): New function.
5263 (set_current_source_symtab_and_line, identify_source_line): Clear
5264 the lines listed range.
5265 (line_info): Handle the first "info line" after the current source
5266 line having changed.
5267 * stack.c (print_stack_frame): Remove center handling.
5268 (set_current_sal_from_frame): Remove 'center' parameter. Don't
5269 center sal.line.
5270
c1ee2fb3
PA
52712014-05-21 Pedro Alves <palves@redhat.com>
5272
5273 * inf-child.c (inf_child_mourn_inferior): New function.
5274 * inf-child.h (inf_child_mourn_inferior): New declaration.
5275 * darwin-nat.c (darwin_mourn_inferior): Use
5276 inf_child_mourn_inferior.
5277 * gnu-nat.c (gnu_mourn_inferior): Likewise.
5278 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
5279 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
5280 * nto-procfs.c (procfs_mourn_inferior): Likewise.
5281 * windows-nat.c (windows_mourn_inferior): Likewise.
5282
5c6d4fb2
DE
52832014-05-21 Doug Evans <xdje42@gmail.com>
5284
250748cb 5285 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 5286
4a2722c5
DE
52872014-05-21 Doug Evans <xdje42@gmail.com>
5288
17292b30 5289 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
5290 (gdbscm_out_of_range_error): Ditto.
5291 (gdbscm_memory_error): Ditto.
250748cb
DE
5292 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
5293 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
5294 (gdbscm_out_of_range_error): Update.
5295 (gdbscm_memory_error): Update.
5296 (gdbscm_scm_to_target_string_unsafe): Delete.
5297
6a3cb8e8
PA
52982014-05-21 Pedro Alves <palves@redhat.com>
5299
5300 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
5301 globals.
5302 (inf_child_open_target): New function.
5303 (inf_child_open): Use inf_child_open_target to push the target
5304 instead of erroring out.
5305 (inf_child_disconnect, inf_child_close)
5306 (inf_child_maybe_unpush_target): New functions.
5307 (inf_child_target): Install inf_child_disconnect and
5308 inf_child_close. Store a pointer to the returned object.
5309 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
5310 declarations.
5311 * target.c (auto_connect_native_target): New global.
5312 (show_default_run_target): New function.
5313 (find_default_run_target): Return NULL if automatically connecting
5314 to the native target is disabled.
5315 (_initialize_target): Install set/show auto-connect-native-target.
5316 * NEWS: Mention "set auto-connect-native-target", and "target
5317 native".
5318 * linux-nat.c (super_close): New global.
5319 (linux_nat_close): Call super_close.
5320 (linux_nat_add_target): Store a pointer to the base class's
5321 to_close method.
5322 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
5323 inf_child_maybe_unpush.
5324 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
5325 already pushed.
5326 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
5327 the inferior. Use inf_child_maybe_unpush_target.
5328 (inf_ttrace_attach): Don't push the target if it is already
5329 pushed.
5330 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
5331 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
5332 after mourning the inferior. Use inf_child_maybe_unpush_target.
5333 (darwin_attach_pid): Don't push the target if it is already
5334 pushed.
5335 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5336 mourning the inferior. Use inf_child_maybe_unpush_target.
5337 (gnu_detach): Use inf_child_maybe_unpush_target.
5338 * go32-nat.c (go32_create_inferior): Don't push the target if it
5339 is already pushed.
5340 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5341 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5342 (procfs_open): Rename to ...
5343 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5344 comments. Can target_preopen before changing node. Call
5345 inf_child_open_target to push the target explicitly.
5346 (procfs_attach): Don't push the target if it is already pushed.
5347 (procfs_detach): Use inf_child_maybe_unpush_target.
5348 (procfs_create_inferior): Don't push the target if it is already
5349 pushed.
5350 (nto_native_ops): New global.
5351 (procfs_open): Reimplement.
5352 (procfs_native_open): New function.
5353 (init_procfs_targets): Install procfs_native_open as to_open of
5354 "target native". Store a pointer to the "native" target in
5355 nto_native_ops.
5356 * procfs.c (procfs_attach): Don't push the target if it is already
5357 pushed.
5358 (procfs_detach): Use inf_child_maybe_unpush_target.
5359 (procfs_mourn_inferior): Only unpush the target after mourning the
5360 inferior. Use inf_child_maybe_unpush_target.
5361 (procfs_init_inferior): Don't push the target if it is already
5362 pushed.
5363 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5364 if it is already pushed.
5365
930ee1b1
PA
53662014-05-21 Pedro Alves <palves@redhat.com>
5367
5368 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5369 and "procfs" targets are now called "native" instead.
5370
1f5d1b13
PA
53712014-05-21 Pedro Alves <palves@redhat.com>
5372
5373 * go32-nat.c (go32_open): Delete.
5374 (go32_target): Don't override the to_open method.
5375
132f8e03
PA
53762014-05-21 Pedro Alves <palves@redhat.com>
5377
5378 * nto-procfs.c (procfs_can_run): New function.
5379 (nto_procfs_ops): New global.
5380 (init_procfs_targets): New, based on procfs_target. Install
5381 "target native" in addition to "target procfs".
5382 (_initialize_procfs): Call init_procfs_targets instead of adding
5383 the target here.
5384
03c136c3
PA
53852014-05-21 Pedro Alves <palves@redhat.com>
5386
5387 * windows-nat.c (windows_target): Don't override to_shortname,
5388 to_longname or to_doc.
5389
a635d0f3
PA
53902014-05-21 Pedro Alves <palves@redhat.com>
5391
5392 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5393 to_doc.
5394
4f9b5133
PA
53952014-05-21 Pedro Alves <palves@redhat.com>
5396
5397 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5398 to_shortname, to_longname or to_doc.
5399
bc85afde
PA
54002014-05-21 Pedro Alves <palves@redhat.com>
5401
5402 * go32-nat.c (go32_target): Don't override to_shortname,
5403 to_longname or to_doc.
5404
4ebfc96e
PA
54052014-05-21 Pedro Alves <palves@redhat.com>
5406
5407 * inf-child.c (inf_child_open): Remove mention of "child".
5408 (inf_child_target): Rename target to "native" instead of "child".
5409
2648dfed
AA
54102014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5411
5412 * Makefile.in (SFILES): Delete "regset.c".
5413 (COMMON_OBS): Delete "regset.o".
5414 * regset.c: Remove.
5415 * regset.h (regset_alloc): Delete prototype.
5416
b13feb94
AA
54172014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5418
5419 * sparc-linux-tdep.c (sparc32_linux_gregset)
5420 (sparc32_linux_fpregset): New static regset structures.
5421 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5422 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5423 'fpregset' fields.
5424 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5425 (sparc64_linux_fpregset): New static regset structures.
5426 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5427 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5428 New static regset structures.
5429 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5430 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5431 New static regset structures.
5432 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5433 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5434 New static regset structures.
5435 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5436 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5437 New static regset structures.
5438 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5439
b4fd25c9
AA
54402014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5441
5442 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5443 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5444 register maps ("regmaps") from "*regset" to "*regmap". Do this
5445 for all regmap types and variables.
5446 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5447 (sparc32_linux_supply_core_gregset)
5448 (sparc32_linux_collect_core_gregset)
5449 (sparc32_linux_supply_core_fpregset)
5450 (sparc32_linux_collect_core_fpregset): Likewise.
5451 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5452 (sparc_gregmap, sparc_fpregmap): ... these.
5453 (sparc_supply_gregset, sparc_collect_gregset)
5454 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5455 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5456 (_initialize_sparc_nat): Rename regmaps.
5457 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5458 (sparc_gregmap, sparc_fpregmap): ... these.
5459 (sparc_supply_gregset, sparc_collect_gregset)
5460 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5461 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5462 Rename macros to...
5463 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5464 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5465 Likewise.
5466 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5467 Rename to...
5468 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5469 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5470 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5471 regmaps.
5472 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5473 (sparc32_bsd_fpregset): Rename to...
5474 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5475 (sparc32_bsd_fpregmap): ... these.
5476 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5477 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5478 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5479 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5480 (struct sparc_gregmap, struct sparc_fpregmap)
5481 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5482 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5483 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5484 (sparc32_supply_regset, sparc32_collect_gregset)
5485 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5486 prototypes.
5487 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5488 (sparc64_linux_ptrace_gregmap): ... this.
5489 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5490 (_initialize_sparc64_linux_nat): Rename regmaps.
5491 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5492 (sparc64_linux_core_gregmap): ... this.
5493 (sparc64_linux_supply_core_gregset)
5494 (sparc64_linux_collect_core_gregset)
5495 (sparc64_linux_supply_core_fpregset)
5496 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5497 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5498 (sparc64_sol2_fpregset): Rename to...
5499 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5500 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5501 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5502 regmaps.
5503 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5504 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5505 (sparc64_bsd_fpregset): Rename to...
5506 (struct sparc_gregmap, sparc64_sol2_gregmap)
5507 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5508 (sparc64_bsd_fpregmap): ... these.
5509 (sparc64_supply_gregset, sparc64_collect_gregset)
5510 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5511 prototypes.
5512 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5513 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5514 (sparc64fbsd_gregmap): ... this.
5515 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5516 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5517 Rename regmaps.
5518 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5519 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5520 (sparc64nbsd_collect_fpregset): Likewise.
5521 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5522 (sparc64nbsd_gregmap): ... this.
5523 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5524 regmaps.
5525 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5526 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5527 (sparc64obsd_gregmap): ... this.
5528 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5529 regmaps.
5530 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5531 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5532 (sparc32nbsd_gregmap): ... this.
5533 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5534 regmaps.
5535
8fea3224
AA
55362014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5537
5538 * score-tdep.c (score7_linux_gregset): New static regset
5539 structure.
5540 (score7_linux_regset_from_core_section): Remove dynamic regset
5541 allocation.
5542 (score_gdbarch_init): Drop allocation of tdep structure.
5543 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5544
24534243
AA
55452014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5546
5547 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5548 regset structures.
5549 (am33_regset_from_core_section): Remove dynamic regset
5550 allocations.
5551
b7195f27
AA
55522014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5553
5554 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5555 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5556 structures.
5557 (mips_linux_regset_from_core_section): Remove dynamic regset
5558 allocations.
5559 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5560 'gregset64', 'fpregset', and 'fpregset64'.
5561 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5562 deleted tdep fields.
5563
ecc37a5a
AA
55642014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5565
5566 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5567 regset structures.
5568 (amd64_regset_from_core_section): Remove dynamic regset
5569 allocations.
5570 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5571 structure.
5572 (amd64obsd_regset_from_core_section): Remove dynamic regset
5573 allocation.
5574 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5575 Likewise.
5576 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5577 x86-common regset supply function.
5578 * i386-tdep.c (i386_collect_gregset): Make static.
5579 (i386_gregset): New global regset structure.
5580 (i386_fpregset, i386_xstateregset): New static regset structures.
5581 (i386_regset_from_core_section): Remove dynamic regset
5582 allocations.
5583 (i386_gdbarch_init): Remove initialization of tdep fields
5584 'gregset', 'fpregset', and 'xstateregset'.
5585 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5586 'fpregset', and 'xstateregset'.
5587 (i386_collect_gregset): Remove prototype.
5588 (i386_gregset): New declaration.
5589 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5590 structure.
5591 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5592 allocation.
5593
b7611c43
AA
55942014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5595
5596 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5597 (arm_linux_vfpregset): New static regset structures.
5598 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5599 regset structures.
5600 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5601 and 'vfpregset' fields.
5602
a069a2bd
AA
56032014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5604
5605 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5606 (aarch64_linux_fpregset): New static regset structures.
5607 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5608 of regset structures.
5609 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5610 'fpregset' fields.
5611
09424cff
AA
56122014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5613
5614 * regset.h (struct regset): Remove gdbarch field.
5615 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5616 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5617 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5618 Likewise.
5619 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5620 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5621 (ppc32_linux_vsxregset): Likewise.
5622 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5623 via the regcache instead of the regset.
5624 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5625 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5626 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5627 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5628 Likewise.
5629
3ca7dae4
AA
56302014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5631
5632 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5633 Constify structures.
5634 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5635 (alphanbsd_aout_gregset): Likewise.
5636 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5637 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5638 Likewise.
5639 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5640 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5641 Likewise.
5642 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5643 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5644 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5645 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5646 * m88k-tdep.c (m88k_gregset): Likewise.
5647 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5648 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5649 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5650 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5651 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5652 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5653 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5654 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5655 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5656 Likewise.
5657 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5658 * sh-tdep.h (sh_corefile_gregset): Likewise.
5659 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5660 * vax-tdep.c (vax_gregset): Likewise.
5661
5876f503
JK
56622014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5663
5664 Fix TLS access for -static -pthread.
5665 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5666 (try_thread_db_load_1): Initialize it.
5667 (thread_db_get_thread_local_address): Call it if LM is zero.
5668 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5669 * target.h (struct target_ops) (to_get_thread_local_address): Add
5670 load_module_addr comment.
5671
0256a6ac
PA
56722014-05-21 Pedro Alves <palves@redhat.com>
5673
5674 * dcache.c (dcache_read_memory_partial): If reading the cache line
5675 fails, fallback to reading just the memory the caller wanted.
5676
227533ac
DE
56772014-05-20 Doug Evans <dje@google.com>
5678
5679 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5680 instead of get_current_arch.
5681
936d2992
PA
56822014-05-20 Pedro Alves <palves@redhat.com>
5683
5684 * NEWS: Mention that compare-sections now works with all targets.
5685
5686 * remote.c (PACKET_qCRC): New enum value.
5687 (remote_verify_memory): Don't send qCRC if the target has no
5688 execution. Use packet_support/packet_ok. If the target doesn't
5689 support the qCRC packet, fallback to a deep memory copy.
5690 (compare_sections_command): Say "target image" instead of "remote
5691 executable".
5692 (_initialize_remote): Add PACKET_qCRC to the list of config
5693 packets that have no associated command. Extend comment.
5694 * target.c (simple_verify_memory, default_verify_memory): New
5695 function.
5696 * target.h (struct target_ops) <to_verify_memory>: Default to
5697 default_verify_memory.
5698 (simple_verify_memory): New declaration.
5699 * target-delegates.c: Regenerate.
5700
e59fa00f
MM
57012014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5702
5703 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5704
f2205de0
HZ
57052014-05-20 Hui Zhu <hui@codesourcery.com>
5706 Yao Qi <yao@codesourcery.com>
5707
5708 PR backtrace/16558
5709 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5710 and change address of sp and pc.
5711
c4e54771
TT
57122014-05-19 Tom Tromey <tromey@redhat.com>
5713
5714 * gdbtypes.c (rank_function): Use XNEWVEC.
5715 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5716
73051182
DE
57172014-05-19 Doug Evans <dje@google.com>
5718
5719 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5720 build_type_unit_groups and moved closer to only caller. Remove
5721 arguments. All references updated. Remove outdated .gdb_index
5722 comment.
5723 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5724 build_type_psymtabs_1.
5725
8832e7e3
DE
57262014-05-19 Doug Evans <dje@google.com>
5727
5728 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5729 n_type_unit_groups, all_type_unit_groups. All uses removed.
5730 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5731 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5732 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5733 (add_type_unit_group_to_table): Delete.
5734
cd8ae15e
DE
57352014-05-19 Doug Evans <dje@google.com>
5736
5737 * eval.c (evaluate_subexp_standard): Add some comments.
5738
08f4850b
DE
57392014-05-17 Doug Evans <xdje42@gmail.com>
5740
5741 * progspace.c (remove_program_space): Delete, unused.
5742 * progspace.h (remove_program_space): Ditto.
5743
bed8455c
DE
57442014-05-17 Doug Evans <xdje42@gmail.com>
5745
5746 * inferior.c (prune_inferiors): Fix comment.
5747 (remove_inferior_command): Call prune_program_spaces.
5748
8d551b02
DE
57492014-05-16 Doug Evans <dje@google.com>
5750
5751 New command line option -D.
5752 * NEWS: Mention it.
5753 * main.c (set_gdb_data_directory): New function.
5754 (captured_main): Recognize -D. Flag error for --data-directory "".
5755 Call set_gdb_data_directory.
5756 (print_gdb_help): Print --data-directory, -D.
5757 * main.h (set_gdb_data_directory): Declare.
5758 * top.c (staged_gdb_datadir): New static global.
5759 (set_gdb_datadir): Call set_gdb_data_directory
5760 (show_gdb_datadir): New function.
5761 (init_main): Update init of data-directory parameter.
5762
18848e28
GF
57632014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5764
5765 Import the "dirfd" gnulib module.
5766 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5767 * gnulib/aclocal.m4: Update.
5768 * gnulib/config.in: Update.
5769 * gnulib/configure: Update.
5770 * gnulib/import/Makefile.am: Update.
5771 * gnulib/import/Makefile.in: Update.
5772 * gnulib/import/dirfd.c: New.
5773 * gnulib/import/m4/dirfd.m4: New.
5774 * gnulib/import/m4/gnulib-cache.m4: Update.
5775 * gnulib/import/m4/gnulib-comp.m4: Update.
5776
95c64f92
YQ
57772014-05-16 Pierre Muller <muller@sourceware.org>
5778 Yao Qi <yao@codesourcery.com>
5779
5780 * valprint.c (print_wchar): Move the code on checking whether
5781 W is a printable wide char to the default branch of switch
5782 statement below. Call wchar_printable instead of gdb_iswprint.
5783
cac395ea
TM
57842014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5785
19679eca 5786 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
5787 ldr.w and ldrd instructions.
5788
83655187
DE
57892014-05-15 Doug Evans <dje@google.com>
5790
5791 * dwarf2read.c (read_structure_type): Delete outdated comments.
5792
dd756689
TT
57932014-05-14 Tom Tromey <tromey@redhat.com>
5794
5795 * macrocmd.c (print_macro_definition): Reindent.
5796
75ddda77
DE
57972014-05-13 Doug Evans <xdje42@gmail.com>
5798
5799 * python/py-cmd.c (cmdpy_completer): Add comment.
5800 (completers): Make const.
5801
b0f16a3e
SM
58022014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5803
5804 * infrun.c (resume): Remove should_resume (unused). Move up
5805 declaration of resume_ptid.
5806
033c3379
TT
58072014-05-13 Tom Tromey <tromey@redhat.com>
5808
5809 * language.h (unop_type_check): Remove.
5810 (binop_type_check): Don't declare.
5811
9b44a3a5
AA
58122014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5813
5814 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5815 call to regcache_raw_collect.
5816
303a33fa
SM
58172014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5818
5819 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5820 mi_console->quote as the quoting character.
5821
196100a0
SM
58222014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5823
5824 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5825
f989a1c8
TT
58262014-04-29 Tom Tromey <tromey@redhat.com>
5827
5828 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5829 "show debug varobj".
5830
9404b58f
KM
58312014-05-07 Kyle McMartin <kyle@redhat.com>
5832
5833 Pushed by Joel Brobecker <brobecker@adacore.com>.
5834 * aarch64-tdep.c (aarch64_software_single_step): New function.
5835 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5836 with aarch64_software_single_step.
5837
5e49ba57
JB
58382014-05-05 Joel Brobecker <brobecker@adacore.com>
5839
5840 GDB 7.7.1 released.
5841
c888a17d
KS
58422014-05-05 Keith Seitz <keiths@redhat.com>
5843
5844 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5845 variable or history value is successfully parsed.
5846
290a839c
YQ
58472014-05-05 Yao Qi <yao@codesourcery.com>
5848 Pedro Alves <palves@redhat.com>
5849
5850 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5851 address of blocks that intersects the requested range. Trim
5852 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5853 sections.
5854 * ctf.c (ctf_xfer_partial): Likewise.
5855
91256dc2
YQ
58562014-05-05 Yao Qi <yao@codesourcery.com>
5857
5858 * printcmd.c (display_command): Remove the check to
5859 target_has_execution.
5860
07284463
MK
58612014-05-03 Mark Kettenis <kettenis@gnu.org>
5862
5863 * ppcobsd-nat.c: Include "obsd-nat.h".
5864 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5865 add_target.
5866 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5867
30a1e6cc
SDJ
58682014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5869
5870 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5871 and 16-bit signed and unsigned arguments. Update comment.
5872 (stap_parse_probe_arguments): Extend code to handle such
5873 arguments. Use warning instead of complaint to notify about
5874 unrecognized bitness.
5875
f33da99a
SDJ
58762014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5877
5878 PR breakpoints/16889
5879 * stap-probe.c (stap_parse_probe_arguments): Simplify
5880 check for non-prefixed probes (i.e., probes whose
5881 arguments do not start with "N@"). Always set the
5882 argument type to a sane value.
5883
95cf3b38
DT
58842014-05-01 David Taylor <dtaylor@emc.com>
5885
5886 * remote.c (compare_sections_command): Add -r option to compare
5887 all loadable read-only sections.
5888
1cfdf534
SC
58892014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5890
5891 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5892 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5893 Update all callers.
5894 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5895 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5896 Remove unused CORE_ADDR argument. Update all callers.
5897
ca4f7f8b
PA
58982014-04-29 Pedro Alves <palves@redhat.com>
5899
5900 * remote.c (struct packet_config) <detect>: Extend comment.
5901 (add_packet_config_cmd): Don't set the config's detect or support
5902 fields here.
5903 (init_all_packet_configs): Also initialize the config's 'detect'
5904 field.
5905 (reset_all_packet_configs_support): New function.
5906 (remote_open_1): Call reset_all_packet_configs_support instead of
5907 init_all_packet_configs.
5908 (_initialize_remote): Initialize all packet configs. Assert that
5909 all packets have an associated command, except a few known
5910 outliers.
5911
11c1ba78
JB
59122014-04-28 Joel Brobecker <brobecker@adacore.com>
5913
5914 * dwarf2read.c (read_subrange_type): Handle dynamic
5915 DW_AT_lower_bound attributes.
5916
8739bc53
JB
59172014-04-28 Joel Brobecker <brobecker@adacore.com>
5918
5919 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5920 dynamic bounds before computing its upper bound.
5921 (ada_discrete_type_low_bound): Same as above with the lower bound.
5922
6f8a3220
JB
59232014-04-28 Joel Brobecker <brobecker@adacore.com>
5924
5925 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5926 range types. Adjust the array handling implementation to
5927 take advantage of this change.
5928 (resolve_dynamic_range): New function, mostly extracted from
5929 resolve_dynamic_bounds.
5930 (resolve_dynamic_array): New function, mostly extracted from
5931 resolve_dynamic_bounds.
5932 (resolve_dynamic_bounds): Delete.
5933 (resolve_dynamic_type): Reimplement. Add handling of
5934 TYPE_CODE_RANGE types.
5935
4d072ce4
JB
59362014-04-28 Joel Brobecker <brobecker@adacore.com>
5937
5938 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5939 handling of parallel ___XA types.
5940
52865325
JB
59412014-04-28 Joel Brobecker <brobecker@adacore.com>
5942
5943 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5944 unnecessary second call to static_unwrap_type.
5945
433e77fa
HZ
59462014-04-27 Hui Zhu <hui@codesourcery.com>
5947
5948 * stack.c (print_frame_info): Call do_gdb_disassembly with
5949 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5950
b51a69ee
DE
59512014-04-26 Doug Evans <xdje42@gmail.com>
5952
5953 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5954
7ae1a6a6
PA
59552014-04-25 Pedro Alves <palves@redhat.com>
5956
5957 PR server/16255
5958 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5959 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5960 and newline from built string.
5961 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5962 (linux_ptrace_attach_fail_reason): ... this.
5963 * linux-nat.c (linux_nat_attach): Adjust to use
5964 linux_ptrace_attach_fail_reason.
5965
4082afcc
PA
59662014-04-25 Pedro Alves <palves@redhat.com>
5967
5968 * remote.c (struct remote_state): Remove multi_process_aware,
5969 non_stop_aware, cond_tracepoints, cond_breakpoints,
5970 breakpoint_commands, fast_tracepoints, static_tracepoints,
5971 install_in_trace, disconnected_tracing,
5972 enable_disable_tracepoints, string_tracing, and
5973 augmented_libraries_svr4_read fields.
5974 (remote_multi_process_p): Move further below in the file.
5975 (struct packet_config): Add comments.
5976 (update_packet_config): Delete function.
5977 (show_packet_config_cmd): Use packet_config_support.
5978 (add_packet_config_cmd): Use NULL as set callback.
5979 (packet_ok): "set remote foo-packet"-style commands no longer
5980 change config->supported -- adjust.
5981 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5982 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5983 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5984 (PACKET_QNonStop, PACKET_multiprocess_feature)
5985 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5986 (PACKET_DisconnectedTracing_feature)
5987 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5988 (set_remote_protocol_packet_cmd): Delete function.
5989 (packet_config_support, packet_support): New functions.
5990 (set_remote_protocol_Z_packet_cmd): Don't call
5991 update_packet_config.
5992 (remote_query_attached, remote_pass_signals)
5993 (remote_program_signals, remote_threads_info)
5994 (remote_threads_extra_info, remote_start_remote): Use
5995 packet_support.
5996 (remote_start_remote): Use packet_config_support and
5997 packet_support.
5998 (init_all_packet_configs): Set all packets to unknown support,
5999 instead of calling update_packet_config.
6000 (remote_check_symbols): Use packet_support.
6001 (remote_supported_packet): Unconditionally set the packet config's
6002 support status.
6003 (remote_multi_process_feature, remote_non_stop_feature)
6004 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6005 (remote_breakpoint_commands_feature)
6006 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6007 (remote_install_in_trace_feature)
6008 (remote_disconnected_tracing_feature)
6009 (remote_enable_disable_tracepoint_feature)
6010 (remote_string_tracing_feature)
6011 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6012 (remote_protocol_features): Adjust to use remote_supported_packet
6013 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6014 "ConditionalTracepoints", "ConditionalBreakpoints",
6015 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6016 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6017 "EnableDisableTracepoints", and "tracenz".
6018 (remote_query_supported): Use packet_support.
6019 (remote_open_1): Adjust.
6020 (extended_remote_attach_1): Use packet_support. Switch on the
6021 result of packet_ok instead of checking whether the packet ended
6022 up disabled.
6023 (remote_vcont_resume): Use packet_support.
6024 (remote_resume, remote_stop_ns, fetch_register_using_p)
6025 (remote_prepare_to_store, store_register_using_P)
6026 (check_binary_download, remote_write_bytes): Use packet_support.
6027 (remote_vkill): Use packet_support. Switch on the result of
6028 packet_ok instead of checking whether the packet ended up
6029 disabled.
6030 (extended_remote_supports_disable_randomization): Use
6031 packet_support.
6032 (extended_remote_run): Switch on the result of packet_ok instead
6033 of checking whether the packet ended up disabled.
6034 (remote_insert_breakpoint, remote_remove_breakpoint)
6035 (remote_insert_watchpoint, remote_remove_watchpoint)
6036 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
6037 packet_support.
6038 (remote_search_memory): Use packet_config_support.
6039 (remote_get_thread_local_address, remote_get_tib_address)
6040 (remote_hostio_send_command, remote_can_execute_reverse): Use
6041 packet_support.
6042 (remote_supports_cond_tracepoints)
6043 (remote_supports_cond_breakpoints)
6044 (remote_supports_fast_tracepoints)
6045 (remote_supports_static_tracepoints)
6046 (remote_supports_install_in_trace)
6047 (remote_supports_enable_disable_tracepoint)
6048 (remote_supports_string_tracing)
6049 (remote_can_run_breakpoint_commands): Rewrite, checking whether
6050 the packet config says the feature is enabled or disabled.
6051 (remote_download_tracepoint, remote_trace_set_readonly_regions)
6052 (remote_get_trace_status): Use packet_support.
6053 (remote_set_disconnected_tracing): Adjust to check whether the
6054 feature is enabled with packet_support.
6055 (remote_set_trace_buffer_size, remote_use_agent)
6056 (remote_can_use_agent, remote_supports_btrace): Use
6057 packet_support.
6058 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
6059 Use packet_config_support.
6060 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
6061 the packet config says the feature is enabled or disabled.
6062 (set_range_stepping): Use packet_support.
6063
bdb52a22
TT
60642014-04-25 Tom Tromey <tromey@redhat.com>
6065
6066 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
6067 argument.
6068
e9475ead
SA
60692014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6070
6071 * NEWS: Mention support for C99 variable length arrays.
6072
82eacd52
JB
60732014-04-24 Joel Brobecker <brobecker@adacore.com>
6074
6075 * ada-lang.c (standard_exc): Expand introductory comment.
6076
01f9f808
MS
60772014-04-24 Michael Sturm <michael.sturm@mintel.com>
6078 Walfred Tedeschi <walfred.tedeschi@intel.com>
6079
6080 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6081 AVX512 registers.
6082 (amd64_linux_read_description): Add code to handle AVX512 xstate
6083 mask and return respective tdesc.
6084 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6085 and features/i386/x32-avx512-linux.c.
6086 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6087 (amd64_linux_core_read_description): Add code to handle AVX512
6088 xstate mask and return respective tdesc.
6089 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6090 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6091 calculation.
6092 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6093 (tdesc_amd64_avx512_linux): New prototype.
6094 (tdesc_x32_avx512_linux): Likewise.
6095 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6096 features/i386/x32-avx512.c.
6097 (amd64_ymm_avx512_names): New register names for pseudo
6098 registers YMM16-31.
6099 (amd64_ymmh_avx512_names): New register names for raw registers
6100 YMMH16-31.
6101 (amd64_k_names): New register names for K registers.
6102 (amd64_zmmh_names): New register names for ZMM raw registers.
6103 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6104 (amd64_xmm_avx512_names): New register names for XMM16-31
6105 registers.
6106 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6107 registers.
6108 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6109 if feature is present.
6110 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6111 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6112 (AMD64_NUM_REGS): Adjust to new number of registers.
6113 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6114 registers supplied via XSTATE by AVX512 registers.
6115 (i386_linux_read_description): Add case for AVX512.
6116 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6117 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6118 (i386_linux_core_read_description): Add case for AVX512.
6119 (i386_linux_init_abi): Install supported register note section
6120 for AVX512.
6121 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6122 AVX512.
6123 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6124 registers to be number of zmm7h + 1.
6125 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6126 * i386-tdep.c: Include features/i386/i386-avx512.c.
6127 (i386_zmm_names): Add ZMM pseudo register names array.
6128 (i386_zmmh_names): Add ZMM raw register names array.
6129 (i386_k_names): Add K raw register names array.
6130 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6131 registers. AVX512 has 16 more ZMM registers than there are YMM
6132 registers.
6133 (i386_zmmh_regnum_p): Add function to look up register number of
6134 ZMM raw registers.
6135 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
6136 (i386_k_regnum_p): Likewise for K raw registers.
6137 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
6138 registers added by AVX512.
6139 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
6140 registers added by AVX512.
6141 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
6142 added by AVX512.
6143 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
6144 (i386_pseudo_register_name): Add ZMM pseudo registers.
6145 (i386_zmm_type): Construct and return vector registers type for ZMM
6146 registers.
6147 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
6148 ZMM0-31 pseudo registers and K registers.
6149 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
6150 and YMM16-31 registers from register cache.
6151 (i386_pseudo_register_write): Add code to write K, ZMM and
6152 YMM16-31 registers.
6153 (i386_register_reggroup_p): Add code to include/exclude AVX512
6154 registers in/from respective register groups.
6155 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
6156 registers if feature is present in xcr0.
6157 (i386_gdbarch_init): Add code to initialize AVX512 feature
6158 variables in tdep structure, wire in pseudo registers and call
6159 initialize_tdesc_i386_avx512.
6160 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
6161 variables.
6162 (i386_regnum): Add AVX512 registers.
6163 (I386_SSE_NUM_REGS): New define for number of SSE registers.
6164 (I386_AVX_NUM_REGS): Likewise for AVX registers.
6165 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
6166 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
6167 512 bits wide.
6168 (i386_xmm_avx512_regnum_p): New prototype for register look up.
6169 (i386_ymm_avx512_regnum_p): Likewise.
6170 (i386_k_regnum_p): Likewise.
6171 (i386_zmm_regnum_p): Likewise.
6172 (i386_zmmh_regnum_p): Likewise.
6173 * i387-tdep.c : Update year in copyright notice.
6174 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
6175 XSAVE buffer.
6176 (XSAVE_YMM_AVX512_ADDR): New macro.
6177 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
6178 XSAVE buffer.
6179 (XSAVE_XMM_AVX512_ADDR): New macro.
6180 (xsave_avx512_k_offset): New table for K register offsets in
6181 XSAVE buffer.
6182 (XSAVE_AVX512_K_ADDR): New macro.
6183 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
6184 in XSAVE buffer.
6185 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
6186 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
6187 buffer.
6188 (i387_collect_xsave): Add code to collect AVX512 registers from
6189 XSAVE buffer.
6190 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
6191 of XMM16-31 registers.
6192 (I387_NUM_K_REGS): New define for number of K registers.
6193 (I387_K0_REGNUM): New define for K0 register number.
6194 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
6195 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
6196 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
6197 registers.
6198 (I387_YMM16H_REGNUM): New define for YMM16H register number.
6199 (I387_XMM16_REGNUM): New define for XMM16 register number.
6200 (I387_YMM0_REGNUM): New define for YMM0 register number.
6201 (I387_KEND_REGNUM): New define for last K register number.
6202 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
6203 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
6204 number.
6205 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
6206 number.
6207 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
6208 size.
6209 * features/Makefile: Add AVX512 related files.
6210 * features/i386/32bit-avx512.xml: New file.
6211 * features/i386/64bit-avx512.xml: Likewise.
6212 * features/i386/amd64-avx512-linux.c: Likewise.
6213 * features/i386/amd64-avx512-linux.xml: Likewise.
6214 * features/i386/amd64-avx512.c: Likewise.
6215 * features/i386/amd64-avx512.xml: Likewise.
6216 * features/i386/i386-avx512-linux.c: Likewise.
6217 * features/i386/i386-avx512-linux.xml: Likewise.
6218 * features/i386/i386-avx512.c: Likewise.
6219 * features/i386/i386-avx512.xml: Likewise.
6220 * features/i386/x32-avx512-linux.c: Likewise.
6221 * features/i386/x32-avx512-linux.xml: Likewise.
6222 * features/i386/x32-avx512.c: Likewise.
6223 * features/i386/x32-avx512.xml: Likewise.
6224 * regformats/i386/amd64-avx512-linux.dat: New file.
6225 * regformats/i386/amd64-avx512.dat: Likewise.
6226 * regformats/i386/i386-avx512-linux.dat: Likewise.
6227 * regformats/i386/i386-avx512.dat: Likewise.
6228 * regformats/i386/x32-avx512-linux.dat: Likewise.
6229 * regformats/i386/x32-avx512.dat: Likewise.
6230 * NEWS: Add note about new support for AVX512.
6231
6232
08351840
PA
62332014-04-23 Pedro Alves <palves@redhat.com>
6234
6235 * breakpoint.c (insert_bp_location): Tolerate errors if the
6236 breakpoint is set in a user-loaded objfile.
6237 (remove_breakpoint_1): Likewise. Also tolerate errors if the
6238 location is marked shlib_disabled. If the breakpoint is set in a
6239 user-loaded objfile is a GDB-side memory breakpoint, validate it
6240 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
6241 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
6242 flag.
6243 * mem-break.c (memory_validate_breakpoint): New function.
6244 * objfiles.c (userloaded_objfile_contains_address_p): New
6245 function.
6246 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
6247 * target.h (memory_validate_breakpoint): New declaration.
6248
076855f9
PA
62492014-04-23 Pedro Alves <palves@redhat.com>
6250
6251 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
6252 the breakpoint is set in a shared library, only suppress
6253 errors for software breakpoints, not hardware breakpoints.
6254
483805cf
PA
62552014-04-22 Pedro Alves <palves@redhat.com>
6256
6257 * infrun.c (schedlock_applies): New function, factored out from
6258 find_thread_needs_step_over.
6259 (find_thread_needs_step_over): Use it.
6260 (switch_back_to_stepped_thread): Always clear trap_expected if the
6261 step over is finished. Return early if scheduler locking applies.
6262 Look for the stepping thread and a potential step-over thread with
6263 a single loop.
6264 (currently_stepping_or_nexting_callback): Delete.
6265
a75fef0e
NC
62662014-04-22 Nick Clifton <nickc@redhat.com>
6267
6268 * NEWS: Mention that ARM sim now supports tracing.
6269
48b6e87e
YQ
62702014-04-22 Yao Qi <yao@codesourcery.com>
6271
6272 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
6273 to ...
6274 * tracefile.c (tracefile_fetch_registers): ... it. New
6275 function.
6276 * tracefile.h (tracefile_fetch_registers): Declare.
6277 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
6278 tracefile_fetch_registers.
6279
17617f2d
EZ
62802014-04-19 Eli Zaretskii <eliz@gnu.org>
6281
6282 PR gdb/14018
6283 * windows-nat.c (thread_rec): Don't display a warning when
6284 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
6285 fails for any reason, set th->suspended to -1, so that we don't
6286 try to resume such a thread. Also, don't return NULL in these
6287 cases, to avoid completely ruin the session due to "PC register is
6288 not available" error.
6289 (do_windows_fetch_inferior_registers): Check errors in
6290 GetThreadContext call.
6291 (windows_continue): Accept an additional argument KILLED; if not
6292 zero, ignore errors in the SetThreadContext call, since the
6293 inferior was killed and is shutting down.
6294 (windows_resume, get_windows_debug_event)
6295 (windows_create_inferior, windows_mourn_inferior)
6296 (windows_kill_inferior): All callers of windows_continue changed
6297 to adjust to its new calling sequence.
6298
5723a6fd
YQ
62992014-04-19 Yao Qi <yao@codesourcery.com>
6300
6301 * ctf.c (ctf_open): Call post_create_inferior.
6302
614d5099
YQ
63032014-04-19 Yao Qi <yao@codesourcery.com>
6304
6305 * ctf.c (handle_id): New static variable.
6306 (ctf_open_dir): Get handle_id from bt_context_add_trace return
6307 value. Get the declaration of event "register" and get length
6308 of field "contents".
6309
dac3e710
YQ
63102014-04-19 Yao Qi <yao@codesourcery.com>
6311
6312 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
6313
2bca57ba
SC
63142014-04-18 Siva Chandra Reddy <sivachandra@google.com>
6315
6316 * valops.c (oload_method_static): Remove unnecessary argument
6317 METHOD. Update all callers.
6318
51d48146
PA
63192014-04-18 Pedro alves <palves@redhat.com>
6320 Tom Tromey <tromey@redhat.com>
6321
6322 PR backtrace/15558
6323 * frame.c (get_prev_frame_1): Rename to ...
6324 (get_prev_frame_always): ... this, and make extern. Adjust.
6325 (skip_artificial_frames): Use get_prev_frame_always.
6326 (frame_unwind_caller_id, frame_pop, get_prev_frame)
6327 (get_frame_unwind_stop_reason): Adjust to rename.
6328 * frame.h (get_prev_frame_always): Declare.
6329 * inline-frame.c: Include frame.h.
6330 (inline_frame_this_id): Use get_prev_frame_always.
6331
1bdad2e0
TG
63322014-04-18 Tristan Gingold <gingold@adacore.com>
6333
6334 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6335 code by using bfd_mach_o_get_base_address.
6336
7ce16bd4
UW
63372014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6338
6339 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6340 (spu_ax_pseudo_register_collect): New function.
6341 (spu_ax_pseudo_register_push_stack): Likewise.
6342 (spu_dwarf_reg_to_regnum): Likewise.
6343 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6344
2ed3c037
UW
63452014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6346
6347 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6348 Replace FRAME argument with FRAME_ID.
6349 * gdbarch.c, gdbarch.h: Regenerate.
6350 * findvar.c (default_value_from_register): Add GDBARCH argument;
6351 replace FRAME by FRAME_ID. No longer call get_frame_id.
6352 (value_from_register): Update call to gdbarch_value_from_register.
6353 * value.h (default_value_from_register): Update prototype.
6354 * s390-linux-tdep.c (s390_value_from_register): Update interface
6355 and call to default_value_from_register.
6356 * spu-tdep.c (spu_value_from_register): Likewise.
6357
6358 * findvar.c (address_from_register): Remove TYPE argument.
6359 Do not call value_from_register; use gdbarch_value_from_register
6360 with null_frame_id instead.
6361 * value.h (address_from_register): Update prototype.
6362 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6363 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6364 address_from_register interface change.
6365
71e50e83
YQ
63662014-04-17 Yao Qi <yao@codesourcery.com>
6367
6368 * gdbtypes.h: Update comments to link to types and macros'
6369 definitions.
6370
7a23c549
SC
63712014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6372
6373 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6374
22869d73
KS
63752014-04-16 Keith Seitz <keiths@redhat.com>
6376
6377 PR gdb/15827
6378 * dwarf2read.c (skip_one_die): Check that all relative-offset
6379 sibling DIEs fall within range of the current reader's buffer.
6380 (read_partial_die): Likewise.
6381
c4f87ca6
KS
63822014-04-16 Keith Seitz <keiths@redhat.com>
6383
6384 PR c++/16597
6385 * cp-namespace.c (lookup_symbol_file): If the type name of
6386 `this' is NULL, return immediately.
6387
b50c8614
KS
63882014-04-14 Keith Seitz <keiths@redhat.com>
6389
6390 PR c++/16253
6391 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6392 from symbol_matches_domain in symtab.c. All local callers
6393 of symbol_matches_domain updated.
6394 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6395 search STRUCT_DOMAIN.
6396 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6397 independently. standard_lookup will do that automatically.
6398 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6399 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6400 (cp_lookup_symbol_in_namespace): Likewise.
6401 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6402 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6403 may return a STRUCT_DOMAIN match.
6404 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6405 * cp-support.c: Include language.h.
6406 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6407 VAR_DOMAIN.
6408 * psymtab.c (match_partial_symbol): Compare the requested
6409 domain with the symbol's domain directly.
6410 (lookup_partial_symbol): Likewise.
6411 * symtab.c (lookup_symbol_in_language): Explain when/why
6412 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6413 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6414 appropriate languages.
6415 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6416 and moved to ada-lang.c
6417 (lookup_block_symbol): Explain that this function only returns
6418 symbol matching the requested DOMAIN.
6419 Compare the requested domain with the symbol's domain directly.
6420 (iterate_over_symbols): Compare the requested domain with the
6421 symbol's domain directly.
6422 * symtab.h (symbol_matches_domain): Remove.
6423
3d567982
TT
64242014-04-14 Tom Tromey <tromey@redhat.com>
6425
6426 PR c++/15246:
6427 * c-exp.y (type_aggregate_p): New function.
6428 (qualified_name, classify_inner_name): Use it.
6429 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6430 and TYPE_TARGET_TYPE of an enum type.
6431 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6432 an enum type.
6433 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6434 handle TYPE_DECLARED_CLASS.
6435 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6436 types.
6437 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6438 * valops.c (enum_constant_from_type): New function.
6439 (value_aggregate_elt): Use it.
6440 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6441 TYPE_CODE_ENUM.
6442
c848d642
TT
64432014-04-14 Tom Tromey <tromey@redhat.com>
6444
6445 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6446 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6447 const.
6448 * value.h (value_aggregate_elt): Update.
6449
0626fc76
TT
64502014-04-14 Tom Tromey <tromey@redhat.com>
6451
6452 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6453
5ecaaa66
SA
64542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6455
6456 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6457 (evaluate_subexp_standard): Pass noside argument.
6458 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6459 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6460 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6461 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6462 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6463
1612e0c0
SA
64642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6465
6466 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6467 points to a constant blob.
6468
c451ebe5
SA
64692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6470
6471 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6472 property and store it as the high bound and flag the range accordingly.
6473 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6474 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6475 * gdbtypes.h (enum range_flags): New enum.
6476 (struct range_bounds): Add flags member.
6477
1d42e4c4
SA
64782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6479
6480 * c-typeprint.c (c_type_print_varspec_suffix): Added
6481 check for not yet resolved high bound. If unresolved, print
6482 "variable length" string to the console instead of random
6483 length.
6484
9f1f738a
SA
64852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6486
6487 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6488 value.
6489 (ada_template_to_fixed_record_type_1): Likewise.
6490 (ada_to_fixed_type_1): Likewise.
6491 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6492 (cp_print_value): Likewise.
6493 * d-valprint.c (dynamic_array_type): Likewise.
6494 * findvar.c (address_of_variable): Likewise.
6495 * jv-valprint.c (java_value_print): Likewise.
6496 * valops.c (value_ind): Likewise.
6497 * value.c (coerce_ref): Likewise.
6498
3c8452d4
SA
64992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6500
6501 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6502 value and retrieve the dynamic type size.
6503
4ad88275
SA
65042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6505
6506 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6507 passed to sizeof is dynamic evaluate the argument to compute the length.
6508
80180f79
SA
65092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6510 Joel Brobecker <brobecker@adacore.com>
6511
6512 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6513 (dwarf2_evaluate_property): New function.
6514 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6515 * dwarf2read.c (attr_to_dynamic_prop): New function.
6516 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6517 attribute.
6518 * gdbtypes.c: Include dwarf2loc.h.
6519 (is_dynamic_type): New function.
6520 (resolve_dynamic_type): New function.
6521 (resolve_dynamic_bounds): New function.
6522 (get_type_length): New function.
6523 (check_typedef): Use get_type_length to compute type length.
6524 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6525 (TYPE_LOW_BOUND_KIND): New macro.
6526 (is_dynamic_type): New function prototype.
6527 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6528 to resolve dynamic properties of the type. Update comment.
6529 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6530
a1556843
RH
65312014-04-14 Richard Henderson <rth@redhat.com>
6532
6533 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6534
0be03e84
DE
65352014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6536 Doug Evans <xdje42@gmail.com>
6537
6538 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6539 dereference TYPE_CODE_REF values.
6540
6b662e19
JB
65412014-04-11 Joel Brobecker <brobecker@adacore.com>
6542
6543 Revert the following changes due to regressions:
6544
6545 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6546 (dwarf2_evaluate_property): New function.
6547 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6548 * dwarf2read.c (attr_to_dynamic_prop): New function.
6549 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6550 attribute.
6551 * gdbtypes.c: Include dwarf2loc.h.
6552 (is_dynamic_type): New function.
6553 (resolve_dynamic_type): New function.
6554 (resolve_dynamic_bounds): New function.
6555 (get_type_length): New function.
6556 (check_typedef): Use get_type_length to compute type length.
6557 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6558 (TYPE_LOW_BOUND_KIND): New macro.
6559 (is_dynamic_type): New function prototype.
6560 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6561 to resolve dynamic properties of the type. Update comment.
6562 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6563
6564 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6565 passed to sizeof is dynamic evaluate the argument to compute the length.
6566
6567 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6568 value and retrieve the dynamic type size.
6569
6570 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6571 (ada_template_to_fixed_record_type_1): Likewise.
6572 (ada_to_fixed_type_1): Likewise.
6573 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6574 (cp_print_value): Likewise.
6575 * d-valprint.c (dynamic_array_type): Likewise.
6576 * eval.c (evaluate_subexp_with_coercion): Likewise.
6577 * findvar.c (address_of_variable): Likewise.
6578 * jv-valprint.c (java_value_print): Likewise.
6579 * valops.c (value_ind): Likewise.
6580 * value.c (coerce_ref): Likewise.
6581
6582 * c-typeprint.c (c_type_print_varspec_suffix): Added
6583 check for not yet resolved high bound. If unresolved, print
6584 "variable length" string to the console instead of random
6585 length.
6586
6587 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6588 property and store it as the high bound and flag the range accordingly.
6589 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6590 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6591 * gdbtypes.h (enum range_flags): New enum.
6592 (struct range_bounds): Add flags member.
6593
6594 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6595 points to a constant blob.
6596
6597 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6598 (evaluate_subexp_standard): Pass noside argument.
6599 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6600 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6601 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6602 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6603 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6604
245a5f0b
KS
66052014-04-11 Keith Seitz <keiths@redhat.com>
6606
6607 PR c++/16675
6608 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6609 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6610 reference types.
6611
3bce8237
SA
66122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6613
6614 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6615 (evaluate_subexp_standard): Pass noside argument.
6616 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6617 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6618 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6619 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6620 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6621
92b09522
SA
66222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6623
6624 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6625 points to a constant blob.
6626
e1969afb
SA
66272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6628
6629 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6630 property and store it as the high bound and flag the range accordingly.
6631 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6632 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6633 * gdbtypes.h (enum range_flags): New enum.
6634 (struct range_bounds): Add flags member.
6635
b86138fb
SA
66362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6637
6638 * c-typeprint.c (c_type_print_varspec_suffix): Added
6639 check for not yet resolved high bound. If unresolved, print
6640 "variable length" string to the console instead of random
6641 length.
6642
bcd629a4
SA
66432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6644
6645 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6646 (ada_template_to_fixed_record_type_1): Likewise.
6647 (ada_to_fixed_type_1): Likewise.
6648 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6649 (cp_print_value): Likewise.
6650 * d-valprint.c (dynamic_array_type): Likewise.
6651 * eval.c (evaluate_subexp_with_coercion): Likewise.
6652 * findvar.c (address_of_variable): Likewise.
6653 * jv-valprint.c (java_value_print): Likewise.
6654 * valops.c (value_ind): Likewise.
6655 * value.c (coerce_ref): Likewise.
6656
04b19544
SA
66572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6658
6659 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6660 value and retrieve the dynamic type size.
6661
26cb189f
SA
66622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6663
6664 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6665 passed to sizeof is dynamic evaluate the argument to compute the length.
6666
37c1ab67
SA
66672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6668
6669 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6670 (dwarf2_evaluate_property): New function.
6671 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6672 * dwarf2read.c (attr_to_dynamic_prop): New function.
6673 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6674 attribute.
6675 * gdbtypes.c: Include dwarf2loc.h.
6676 (is_dynamic_type): New function.
6677 (resolve_dynamic_type): New function.
6678 (resolve_dynamic_bounds): New function.
6679 (get_type_length): New function.
6680 (check_typedef): Use get_type_length to compute type length.
6681 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6682 (TYPE_LOW_BOUND_KIND): New macro.
6683 (is_dynamic_type): New function prototype.
6684 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6685 to resolve dynamic properties of the type. Update comment.
6686 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6687
729efb13
SA
66882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6689
6690 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6691 declaring high/low bounds and change uses accordingly. Call
6692 create_range_type instead of create_static_range_type.
6693 * gdbtypes.c (create_range_type): New function.
6694 (create_range_type): Convert bounds into struct bound_prop and pass
6695 them to create_range_type.
6696 * gdbtypes.h (struct bound_prop): New struct.
6697 (create_range_type): New function prototype.
6698 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6699 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6700 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6701 part of the bound.
6702 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6703
0c9c3474
SA
67042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6705
6706 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6707 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6708 * ada-lang.c: All uses of create_range_type updated.
6709 * coffread.c: All uses of create_range_type updated.
6710 * dwarf2read.c: All uses of create_range_type updated.
6711 * f-exp.y: All uses of create_range_type updated.
6712 * m2-valprint.c: All uses of create_range_type updated.
6713 * mdebugread.c: All uses of create_range_type updated.
6714 * stabsread.c: All uses of create_range_type updated.
6715 * valops.c: All uses of create_range_type updated.
6716 * valprint.c: All uses of create_range_type updated.
6717
9d497a19
PA
67182014-04-10 Pedro Alves <palves@redhat.com>
6719
6720 * breakpoint.c (single_step_breakpoints)
6721 (single_step_gdbarch): Move up in the file.
6722 (one_breakpoint_xfer_memory): New function, factored out from ...
6723 (breakpoint_xfer_memory): ... here. Also process single-step
6724 breakpoints.
6725
15a9128a
TG
67262014-04-09 Tristan Gingold <gingold@adacore.com>
6727
6728 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6729 comments.
6730 (darwin_decode_exception_message): Free port only after use.
6731
9c97a070
PL
67322014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6733
6734 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6735 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6736 when setting the size of call_length.
6737
7af389b8
SC
67382014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6739
6740 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6741 dereference TYPE_CODE_REF values.
6742
86ad98c3
JB
67432014-04-07 Joel Brobecker <brobecker@adacore.com>
6744
6745 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6746 end of warning message.
6747
b0aeadb3
DE
67482014-04-03 Doug Evans <dje@google.com>
6749
6750 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6751 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6752
5979d6b6
AM
67532014-04-02 Alan Modra <amodra@gmail.com>
6754
6755 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6756 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6757 (struct symbol_file_add_from_memory_args): Add size field.
6758 (find_vdso_size): New function.
6759 (add_vsyscall_page): Attempt to find vdso size.
6760
0d60c288
DE
67612014-04-01 Doug Evans <dje@google.com>
6762
6763 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6764
a41f2563
TG
67652014-04-01 Tristan Gingold <gingold@adacore.com>
6766
6767 * darwin-nat.c (darwin_encode_reply): Add prototype.
6768 (darwin_decode_exception_message): Reply to unknown inferiors.
6769 (darwin_decode_message): Handle message by id. Ignore message
6770 to unknown inferior.
6771 (darwin_wait): Discard unknown messages, add debug trace.
6772
11a865c8
DE
67732014-03-31 Doug Evans <dje@google.com>
6774
6775 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6776 comp_dir_string.
6777
770e7fc7
DE
67782014-03-31 Doug Evans <dje@google.com>
6779
6780 New option "set print symbol-loading".
6781 * NEWS: Mention it.
6782 * solib.c (solib_read_symbols): Only print symbol loading messages
6783 if requested.
6784 (solib_add): If symbol loading is in "brief" mode, notify user
6785 symbols are being loaded.
6786 (reload_shared_libraries_1): Ditto.
6787 * symfile.c (print_symbol_loading_off): New static global.
6788 (print_symbol_loading_brief): New static global.
6789 (print_symbol_loading_full): New static global.
6790 (print_symbol_loading_enums): New static global.
6791 (print_symbol_loading): New static global.
6792 (print_symbol_loading_p): New function.
6793 (symbol_file_add_with_addrs): Only print symbol loading messages
6794 if requested.
6795 (_initialize_symfile): Register "print symbol-loading" set/show
6796 command.
6797 * symfile.h (print_symbol_loading_p): Declare.
6798
c32c64b7
DE
67992014-03-30 Doug Evans <xdje42@gmail.com>
6800
6801 * infrun.c (set_last_target_status): New function.
6802 (handle_inferior_event): Call it.
6803
7c0bc051
DE
68042014-03-30 Doug Evans <xdje42@gmail.com>
6805
6806 * inferior.h (enum stop_kind): Improve comment.
6807
8776cfe9
JB
68082014-03-28 Joel Brobecker <brobecker@adacore.com>
6809
6810 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6811 a reference, strip the reference layer before calling
6812 the lang_ops value_has_mutated callback.
6813
410a0ff2
SDJ
68142014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6815
6816 Remove some globals from our parser.
6817 * language.c (unk_lang_parser): Add "struct parser_state"
6818 argument.
6819 * language.h (struct language_defn) <la_parser>: Likewise.
6820 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6821 (initialize_expout): Add "struct parser_state" argument.
6822 Rewrite function to use the parser state.
6823 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6824 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6825 write_exp_elt_longcst, write_exp_elt_dblcst,
6826 write_exp_elt_decfloatcst, write_exp_elt_type,
6827 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6828 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6829 write_dollar_variable): Likewise.
6830 (parse_exp_in_context_1): Use parser state.
6831 (insert_type_address_space): Add "struct parser_state" argument.
6832 Use parser state.
6833 (increase_expout_size): New function.
6834 * parser-defs.h: Forward declare "struct language_defn" and
6835 "struct parser_state".
6836 (expout, expout_size, expout_ptr): Remove extern declarations.
6837 (parse_gdbarch, parse_language): Rewrite macro declarations to
6838 accept the parser state.
6839 (struct parser_state): New struct.
6840 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6841 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6842 write_exp_elt_decfloatcst, write_exp_elt_type,
6843 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6844 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6845 write_exp_msymbol, write_dollar_variable,
6846 mark_struct_expression, insert_type_address_space): Add "struct
6847 parser_state" argument.
6848 (increase_expout_size): New function.
6849 * utils.c (do_clear_parser_state): New function.
6850 (make_cleanup_clear_parser_state): Likewise.
6851 * utils.h (make_cleanup_clear_parser_state): New function
6852 prototype.
6853 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6854 Update calls to write_exp* in order to pass the parser state.
6855 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6856 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6857 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6858 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6859 * stap-probe.c (stap_parse_register_operand): Likewise.
6860 (stap_parse_single_operand): Likewise.
6861 (stap_parse_argument_1): Likewise.
6862 (stap_parse_argument): Use parser state.
6863 * stap-probe.h: Include "parser-defs.h".
6864 (struct stap_parse_info) <pstate>: New field.
6865 * c-exp.y (parse_type): Rewrite to use parser state.
6866 (yyparse): Redefine to c_parse_internal.
6867 (pstate): New global variable.
6868 (parse_number): Add "struct parser_state" argument.
6869 (write_destructor_name): Likewise.
6870 (type_exp): Update calls to write_exp* and similars in order to
6871 use parser state.
6872 (exp1, exp, variable, qualified_name, space_identifier,
6873 typename, typebase): Likewise.
6874 (write_destructor_name, parse_number, lex_one_token,
6875 classify_name, classify_inner_name, c_parse): Add "struct
6876 parser_state" argument. Update function to use parser state.
6877 * c-lang.h: Forward declare "struct parser_state".
6878 (c_parse): Add "struct parser_state" argument.
6879 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6880 (yyparse): Redefine macro to ada_parse_internal.
6881 (pstate): New variable.
6882 (write_int, write_object_renaming, write_var_or_type,
6883 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6884 type_int, type_long, type_long_long, type_float, type_double,
6885 type_long_double, type_char, type_boolean, type_system_address):
6886 Add "struct parser_state" argument.
6887 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6888 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6889 var_or_type, aggregate, aggregate_component_list,
6890 positional_list, others, component_group,
6891 component_associations): Update calls to write_exp* and similar
6892 functions in order to use parser state.
6893 (ada_parse, write_var_from_sym, write_int,
6894 write_exp_op_with_string, write_object_renaming,
6895 find_primitive_type, write_selectors, write_ambiguous_var,
6896 write_var_or_type, write_name_assoc, type_int, type_long,
6897 type_long_long, type_float, type_double, type_long_double,
6898 type_char, type_boolean, type_system_address): Add "struct
6899 parser_state" argument. Adjust function to use parser state.
6900 * ada-lang.c (parse): Likewise.
6901 * ada-lang.h: Forward declare "struct parser_state".
6902 (ada_parse): Add "struct parser_state" argument.
6903 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6904 calls to both functions.
6905 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6906 parser state.
6907 (yyparse): Redefine macro to f_parse_internal.
6908 (pstate): New variable.
6909 (parse_number): Add "struct parser_state" argument.
6910 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6911 and similars in order to use parser state.
6912 (parse_number): Adjust code to use parser state.
6913 (yylex): Likewise.
6914 (f_parse): New function.
6915 * f-lang.h: Forward declare "struct parser_state".
6916 (f_parse): Add "struct parser_state" argument.
6917 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6918 parser state.
6919 (yyparse): Redefine macro for java_parse_internal.
6920 (pstate): New variable.
6921 (push_expression_name, push_expression_name, insert_exp): Add
6922 "struct parser_state" argument.
6923 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6924 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6925 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6926 PostIncrementExpression, PostDecrementExpression,
6927 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6928 UnaryExpressionNotPlusMinus, CastExpression,
6929 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6930 RelationalExpression, EqualityExpression, AndExpression,
6931 ExclusiveOrExpression, InclusiveOrExpression,
6932 ConditionalAndExpression, ConditionalOrExpression,
6933 ConditionalExpression, Assignment, LeftHandSide): Update
6934 calls to write_exp* and similars in order to use parser state.
6935 (parse_number): Ajust code to use parser state.
6936 (yylex): Likewise.
6937 (java_parse): New function.
6938 (push_variable): Add "struct parser_state" argument. Adjust
6939 code to user parser state.
6940 (push_fieldnames, push_qualified_expression_name,
6941 push_expression_name, insert_exp): Likewise.
6942 * jv-lang.h: Forward declare "struct parser_state".
6943 (java_parse): Add "struct parser_state" argument.
6944 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6945 parser state.
6946 (yyparse): Redefine macro to m2_parse_internal.
6947 (pstate): New variable.
6948 (type_exp, exp, fblock, variable, type): Update calls to
6949 write_exp* and similars to use parser state.
6950 (yylex): Likewise.
6951 (m2_parse): New function.
6952 * m2-lang.h: Forward declare "struct parser_state".
6953 (m2_parse): Add "struct parser_state" argument.
6954 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6955 * objc-lang.h: Forward declare "struct parser_state".
6956 (end_msglist): Add "struct parser_state" argument.
6957 * p-exp.y (parse_type): Rewrite macro to use parser state.
6958 (yyparse): Redefine macro to pascal_parse_internal.
6959 (pstate): New variable.
6960 (parse_number): Add "struct parser_state" argument.
6961 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6962 write_exp* and similars in order to use parser state.
6963 (parse_number, yylex): Adjust code to use parser state.
6964 (pascal_parse): New function.
6965 * p-lang.h: Forward declare "struct parser_state".
6966 (pascal_parse): Add "struct parser_state" argument.
6967 * go-exp.y (parse_type): Rewrite macro to use parser state.
6968 (yyparse): Redefine macro to go_parse_internal.
6969 (pstate): New variable.
6970 (parse_number): Add "struct parser_state" argument.
6971 (type_exp, exp1, exp, variable, type): Update calls to
6972 write_exp* and similars in order to use parser state.
6973 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6974 to use parser state.
6975 (go_parse): Likewise.
6976 * go-lang.h: Forward declare "struct parser_state".
6977 (go_parse): Add "struct parser_state" argument.
6978
342587c4
DE
69792014-03-27 Doug Evans <dje@google.com>
6980
6981 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6982
33e80786
DE
69832014-03-27 Doug Evans <dje@google.com>
6984
6985 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6986 Remove argument abbrev_section. All callers updated.
6987
1dbab08b
DE
69882014-03-27 Doug Evans <dje@google.com>
6989
6990 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6991 addr_base, ranges_base.
6992
318d3177
KS
69932014-03-26 Keith Seitz <keiths@redhat.com>
6994
6995 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6996 types, not VAR_DOMAIN.
6997
1e54db15
SL
69982014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6999
7000 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7001 "ra" registers.
7002 * features/nios2-linux.c: Regenerated.
7003 * features/nios2.c: Regenerated.
7004
d3839ede
PA
70052014-03-25 Pedro Alves <palves@redhat.com>
7006
7007 * cli/cli-script.c (script_from_file): Force the interpreter to
7008 sync mode.
7009
7588d2ec
PL
70102014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7011
7012 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7013 small stack allocation.
7014
a6290449
TG
70152014-03-24 Tristan Gingold <gingold@adacore.com>
7016
7017 * darwin-nat.c (exc_server): Remove unused prototype.
7018 (darwin_dump_message): Correctly display data on x86_64.
7019 (darwin_encode_reply): Fix style.
7020 Add comments and fix indentation.
7021
31ae9d24 70222014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7023
7024 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7025
6339bfc4
DE
70262014-03-22 Doug Evans <xdje42@gmail.com>
7027
7028 * infcmd.c: Whitespace fixes.
7029 (interrupt_command): Merge two function comments into one.
7030
0a07590b
DE
70312014-03-22 Doug Evans <xdje42@gmail.com>
7032
7033 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
7034 All uses updated.
7035
b55fbac4
YQ
70362014-03-22 Yao Qi <yao@codesourcery.com>
7037
7038 * remote.c (target_read_live_memory): Remove.
7039 (memory_xfer_live_readonly_partial): Rename it to
7040 remote_xfer_live_readonly_partial. Remove argument 'object'.
7041 All callers updated. Call remote_read_bytes_1
7042 instead of target_read_live_memory.
7043 * tracepoint.c (set_traceframe_number): Remove.
7044 (make_cleanup_restore_traceframe_number): Likewise .
7045 * tracepoint.h (set_traceframe_number): Remove declaration.
7046 (make_cleanup_restore_traceframe_number): Likewise.
7047
9217e74e
YQ
70482014-03-22 Yao Qi <yao@codesourcery.com>
7049
7050 * remote.c (remote_read_bytes): Move code on reading from the
7051 remote stub to ...
7052 (remote_read_bytes_1): ... here. New function.
7053
8acf9577
YQ
70542014-03-22 Yao Qi <yao@codesourcery.com>
7055
7056 * ctf.c (ctf_xfer_partial): Check the return value of
7057 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
7058 return TARGET_XFER_UNAVAILABLE.
7059 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7060 * target.c (target_read_live_memory): Move it to remote.c.
7061 (memory_xfer_live_readonly_partial): Likewise.
7062 (memory_xfer_partial_1): Move some code to remote_read_bytes.
7063 * remote.c (target_read_live_memory): Moved from target.c.
7064 (memory_xfer_live_readonly_partial): Likewise.
7065 (remote_read_bytes): Factored out from
7066 memory_xfer_partial_1.
7067
feef67ab
DE
70682014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
7069
7070 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7071 NULL pointer.
7072
b65dc60b
PA
70732014-03-21 Pedro Alves <palves@redhat.com>
7074
7075 * infrun.c (normal_stop): Extend comment.
7076
b4ab256d
HZ
70772014-03-21 Hui Zhu <hui@codesourcery.com>
7078 Pedro Alves <palves@redhat.com>
7079
7080 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7081 static buffer.
7082 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7083 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7084 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7085
deba7593
MR
70862014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7087
7088 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7089 `z' formatted output modifier.
7090
1bff71c3
SDJ
70912014-03-20 Tom Tromey <tromey@redhat.com>
7092 Sergio Durigan Junior <sergiodj@redhat.com>
7093
7094 * probe.c (parse_probes): Turn assert into an ordinary error.
7095 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7096 exceptions when parsing probes. Rearrange the code for clarity.
7097
90e28950
TT
70982014-03-20 Tom Tromey <tromey@redhat.com>
7099
7100 PR gdb/14135
7101 * top.c (execute_command): Only dispatch events if the command
7102 started the target.
7103
beb460e8
PA
71042014-03-20 Tom Tromey <tromey@redhat.com>
7105
7106 PR cli/15718
7107 * infcall.c: Include event-top.h.
7108 (run_inferior_call): Call async_disable_stdin if needed.
7109
99619bea
PA
71102014-03-20 Pedro Alves <palves@redhat.com>
7111
7112 * infrun.c (prepare_to_proceed): Delete.
7113 (thread_still_needs_step_over): New function.
7114 (find_thread_needs_step_over): New function.
7115 (proceed): If the current thread needs a step-over, set its
7116 steping_over_breakpoint flag. Adjust to use
7117 find_thread_needs_step_over instead of prepare_to_proceed.
7118 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7119 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7120 breakpoint.
7121 (switch_back_to_stepped_thread): Step over breakpoints of all
7122 threads not the stepping thread, before switching back to the
7123 stepping thread.
7124
2adfaa28
PA
71252014-03-20 Pedro Alves <palves@redhat.com>
7126
7127 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7128 extern.
7129 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7130 * infrun.c (saved_singlestep_ptid)
7131 (stepping_past_singlestep_breakpoint): Delete.
7132 (resume): Remove stepping_past_singlestep_breakpoint handling.
7133 (proceed): Store the prev_pc of the stepping thread too.
7134 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
7135 singlestep_pc.
7136 (enum infwait_states): Delete infwait_thread_hop_state.
7137 (struct execution_control_state) <hit_singlestep_breakpoint>: New
7138 field.
7139 (handle_inferior_event): Adjust.
7140 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
7141 handling and the thread-hop code. Before removing single-step
7142 breakpoints, check whether the thread hit a single-step breakpoint
7143 of another thread. If it did, the trap is not a random signal.
7144 (switch_back_to_stepped_thread): If the event thread hit a
7145 single-step breakpoint, unblock it before switching to the
7146 stepping thread. Handle the case of the stepped thread having
7147 advanced already.
7148 (keep_going): Handle the case of the current thread moving past a
7149 single-step breakpoint.
7150
31e77af2
PA
71512014-03-20 Pedro Alves <palves@redhat.com>
7152
7153 PR breakpoints/7143
7154 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
7155 are being stepped over.
7156 (breakpoint_address_match): Make extern.
7157 * breakpoint.h (breakpoint_address_match): New declaration.
7158 * inferior.h (stepping_past_instruction_at): New declaration.
7159 * infrun.c (struct step_over_info): New type.
7160 (step_over_info): New global.
7161 (set_step_over_info, clear_step_over_info)
7162 (stepping_past_instruction_at): New functions.
7163 (handle_inferior_event): Clear the step-over info when
7164 trap_expected is cleared.
7165 (resume): Remove now stale comment.
7166 (clear_proceed_status): Clear step-over info.
7167 (proceed): Adjust step-over handling to set or clear the step-over
7168 info instead of removing all breakpoints.
7169 (handle_signal_stop): When setting up a thread-hop, don't remove
7170 breakpoints here.
7171 (stop_stepping): Clear step-over info.
7172 (keep_going): Adjust step-over handling to set or clear step-over
7173 info and then always inserting breakpoints, instead of removing
7174 all breakpoints when stepping over one.
7175
b9f437de
PA
71762014-03-20 Pedro Alves <palves@redhat.com>
7177
7178 * infrun.c (previous_inferior_ptid): Adjust comment.
7179 (deferred_step_ptid): Delete.
7180 (infrun_thread_ptid_changed, prepare_to_proceed)
7181 (init_wait_for_inferior): Adjust.
7182 (handle_signal_stop): Delete deferred_step_ptid handling.
7183
06c868a8
JK
71842014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7185
7186 PR gdb/15358
7187 * defs.h (sync_quit_force_run): New declaration.
7188 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
7189 * event-top.c (async_sigterm_handler): New declaration.
7190 (async_sigterm_token): New variable.
7191 (async_init_signals): Create also async_sigterm_token.
7192 (async_sigterm_handler): New function.
7193 (sync_quit_force_run): New variable.
7194 (handle_sigterm): Replace quit_force call by other calls.
7195 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
7196
dea80df0
MR
71972014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
7198
7199 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
7200 offset into SPE pseudo registers.
7201
0c7e1a46
PA
72022014-03-18 Pedro Alves <palves@redhat.com>
7203
7204 PR gdb/13860
7205 * inferior.h (print_stop_event): Declare.
7206 * infrun.c (print_stop_event): New, factored out from ...
7207 (normal_stop): ... this.
7208 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
7209 of bpstat_print/print_stack_frame.
7210
9c1fcd01
TT
72112014-03-17 Tom Tromey <tromey@redhat.com>
7212
7213 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
7214
11aa919a
PMR
72152014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
7216
7217 * ada-lang.c (decode_constrained_packed_array): Perform a
7218 minimal coercion for reference with coerce_ref instead of
7219 ada_coerce_ref.
7220
d4ccb5e0
TG
72212014-03-17 Tristan Gingold <gingold@adacore.com>
7222
7223 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
7224 (darwin_solib_create_inferior_hook): Emit a warning if version
7225 is unhandled.
7226
49840f2a
UW
72272014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
7228
7229 * python/py-value.c (get_field_flag): Cast flag_name argument to
7230 PyObject_GetAttrString to support Python 2.4.
7231
ed4123e5
JK
72322014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7233
7234 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
7235 (Global Maintainers): Remove Jan Kratochvil.
7236
d6b64346
PA
72372014-03-14 Pedro Alves <palves@redhat.com>
7238
7239 * inferior.h (terminal_ours_for_output): Rename to ...
7240 (child_terminal_ours_for_output): ... this.
7241 (terminal_save_ours): Rename to ...
7242 (child_terminal_save_ours): ... this.
7243 (terminal_ours): Rename to ...
7244 (child_terminal_ours): ... this.
7245 (terminal_inferior): Rename to ...
7246 (child_terminal_inferior): ... this.
7247 (terminal_init_inferior): Rename to ...
7248 (child_terminal_init_inferior): ... this.
7249 (terminal_init_inferior_with_pgrp): Rename to ...
7250 (child_terminal_init_inferior_with_pgrp): ... this.
7251 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
7252 (child_terminal_init_with_pgrp): ... this.
7253 (terminal_save_ours): Rename to ...
7254 (child_terminal_save_ours): ... this.
7255 (terminal_init_inferior): Rename to ...
7256 (child_terminal_init): ... this. Adjust.
7257 (terminal_inferior): Rename to ...
7258 (child_terminal_inferior): ... this.
7259 (terminal_ours_for_output): Rename to ...
7260 (child_terminal_ours_for_output): ... this. Adjust.
7261 (terminal_ours): Rename to ...
7262 (child_terminal_ours): ... this.
7263 (terminal_ours_1): Rename to ...
7264 (child_terminal_ours_1): ... this. Adjust.
7265 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
7266 * windows-nat.c (do_initial_windows_stuff): Adjust.
7267 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
7268 (gnu_terminal_init): ... this. Adjust.
7269 (gnu_target): Adjust.
7270 * inf-child.c (inf_child_target): Adjust.
7271
5a1e8c7a
DE
72722014-03-13 Doug Evans <xdje42@gmail.com>
7273
7274 PR guile/16612
7275 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
7276 new eq?-hashtab.
7277
350e1a76
DE
72782014-03-13 Doug Evans <xdje42@gmail.com>
7279
7280 * value.c (record_latest_value): Call release_value_or_incref
7281 instead of release_value.
7282
a69900ae
PA
72832014-03-13 Pedro Alves <palves@redhat.com>
7284
7285 * procfs.c (procfs_target): Don't override to_shortname,
7286 to_longname or to_doc.
7287
5db9f0bd
PA
72882014-03-13 Pedro Alves <palves@redhat.com>
7289
7290 * inf-child.c (inf_child_open, inf_child_target): Don't mention
7291 Unix in user visible strings.
7292
5e3a2c38
SS
72932014-03-12 Stan Shebs <stan@codesourcery.com>
7294
7295 * gdbtypes.h: Annotate comments for Doxygen, add a page
7296 block comment with some general info.
7297
8bc2fe48
PA
72982014-03-12 Pedro Alves <palves@redhat.com>
7299
7300 * infcmd.c (prepare_execution_command): New function, factored out
7301 from several execution commands.
7302 (run_command_1, continue_command, step_1, jump_command)
7303 (signal_command, until_command, advance_command, finish_command)
7304 (attach_command): Use prepare_execution_command.
7305
638c5f49
OJ
73062014-03-12 Omair Javaid <omair.javaid@linaro.org>
7307
7308 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
7309 (MAX_BPTS): Define.
7310 (MAX_WPTS): Define.
7311 (struct arm_linux_thread_points): Removed.
7312 (struct arm_linux_process_info): New.
7313 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
7314 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
7315 (arm_linux_find_breakpoints_by_tid): Removed.
7316 (struct arch_lwp_info): New.
7317 (arm_linux_find_process_pid): New functions.
7318 (arm_linux_add_process): New functions.
7319 (arm_linux_process_info_get): New functions.
7320 (arm_linux_forget_process): New function.
7321 (arm_linux_get_debug_reg_state): New function.
7322 (struct update_registers_data): New.
7323 (update_registers_callback): New function.
7324 (arm_linux_insert_hw_breakpoint1): Updated.
7325 (arm_linux_remove_hw_breakpoint1): Updated.
7326 (arm_linux_insert_hw_breakpoint): Updated.
7327 (arm_linux_remove_hw_breakpoint): Updated.
7328 (arm_linux_insert_watchpoint): Updated.
7329 (arm_linux_remove_watchpoint): Updated.
7330 (arm_linux_new_thread): Updated.
7331 (arm_linux_prepare_to_resume): New function.
7332 (arm_linux_new_fork): New function.
7333 (_initialize_arm_linux_nat): Updated.
7334
6d03af93
PA
73352014-03-12 Pedro Alves <palves@redhat.com>
7336
7337 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7338
b3ccfe11
TT
73392014-03-12 Tom Tromey <tromey@redhat.com>
7340
7341 * inf-child.c (return_zero): New function.
7342 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7343 * aix-thread.c (aix_thread_inferior_created): New function.
7344 (aix_thread_attach): Remove.
7345 (init_aix_thread_ops): Don't set to_attach.
7346 (_initialize_aix_thread): Register inferior_created observer.
7347 * corelow.c (init_core_ops): Don't set to_attach or
7348 to_create_inferior.
7349 * exec.c (init_exec_ops): Don't set to_attach or
7350 to_create_inferior.
7351 * infcmd.c (run_command_1): Use find_run_target. Make direct
7352 target calls.
7353 (attach_command): Use find_attach_target. Make direct target
7354 calls.
7355 * record-btrace.c (init_record_btrace_ops): Don't set
7356 to_create_inferior.
7357 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7358 Remove.
7359 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7360 set to_create_inferior.
7361 * target.c (complete_target_initialization): Add assertion.
7362 (target_create_inferior): Remove.
7363 (find_default_attach, find_default_create_inferior): Remove.
7364 (find_attach_target, find_run_target): New functions.
7365 (find_default_is_async_p, find_default_can_async_p)
7366 (target_supports_non_stop, target_attach): Remove.
7367 (init_dummy_target): Don't set to_create_inferior or
7368 to_supports_non_stop.
7369 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7370 TARGET_DEFAULT_FUNC.
7371 <to_create_inferior>: Add comment.
7372 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7373 TARGET_DEFAULT_RETURN.
7374 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7375 (find_attach_target, find_run_target): Declare.
7376 (target_create_inferior): Remove.
7377 (target_has_execution_1): Update comment.
7378 (target_supports_non_stop): Remove.
7379 * target-delegates.c: Rebuild.
7380
91f83b02
PA
73812014-03-12 Pedro Alves <palves@redhat.com>
7382
7383 * inf-child.h: Update comment to not mention Unix.
7384
f1aea813
PA
73852014-03-12 Pedro Alves <palves@redhat.com>
7386
7387 * inf-child.c: Update top comment to not mention Unix. Add
7388 generic comment describing how this target is meant to be used.
7389 (inf_child_post_attach, inf_child_post_startup_inferior)
7390 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7391 Unix in comment.
7392
ee8e9165
PA
73932014-03-12 Pedro Alves <palves@redhat.com>
7394
7395 * nto-procfs.c: Include inf-child.h.
7396 (procfs_ops): Delete global.
7397 (procfs_can_run): Delete method.
7398 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7399 target pointer instead of referencing procfs_ops.
7400 (procfs_prepare_to_store): Delete.
7401 (init_procfs_ops): Delete function.
7402 (procfs_target): New function, based on init_procfs_ops, but
7403 inherit inf_child_target.
7404 (_initialize_procfs): Use procfs_target.
7405
51a9c8c5
PA
74062014-03-12 Pedro Alves <palves@redhat.com>
7407
7408 * windows-nat.c: Include inf-child.h.
7409 (windows_ops): Delete global.
7410 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7411 methods.
7412 (init_windows_ops): Delete function.
7413 (windows_target): New function, based on init_windows_ops, but
7414 inherit inf_child_target.
7415 (_initialize_windows_nat): Use windows_target. Install x86
7416 specific target methods here.
7417
c1966e26
DE
74182014-03-10 Doug Evans <xdje42@gmail.com>
7419
7420 * guile/guile.c (call_initialize_gdb_module): New function.
7421 (initialize_guile): Replace call to scm_init_guile with call to
7422 scm_with_guile.
7423
023db19c
JB
74242014-03-10 Joel Brobecker <brobecker@adacore.com>
7425
7426 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7427 in call to TYPE_CODE macro.
7428
5ec18f2b
JG
74292014-03-10 Jerome Guitton <guitton@adacore.com>
7430
8668be63
JB
7431 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7432 Resolve tagged types to full view.
5ec18f2b 7433
7d03f2eb
HZ
74342014-03-10 Hui Zhu <hui@codesourcery.com>
7435
7436 * target.h (target_insert_breakpoint): Remove "hardware" from its
7437 comments.
7438
c5164cbc
DE
74392014-03-07 Doug Evans <dje@google.com>
7440
7441 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7442
c4a3fee2
DE
74432014-03-07 Doug Evans <dje@google.com>
7444
7445 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7446 Remove unused local comp_dir_attr. Assert exactly one of
7447 stub_comp_unit_die, stub_comp_dir is non-NULL.
7448
3156469c
JB
74492014-03-07 Joel Brobecker <brobecker@adacore.com>
7450
7451 * target.h (complete_target_initialization, add_target):
7452 Add comment.
7453
c1a7b7c6
PA
74542014-03-07 Pedro Alves <palves@redhat.com>
7455
7456 * go32-nat.c: Include inf-child.h.
7457 (go32_ops): Delete global.
7458 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7459 Delete methods.
7460 (go32_create_inferior): Push the passed in target pointer instead
7461 of referencing go32_ops.
7462 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7463 (go32_target): New function, based on init_go32_ops, but inherit
7464 inf_child_target.
7465 (_initialize_go32_nat): Use go32_target. Move parts of
7466 init_go32_ops here.
7467
d3c1a85f
JB
74682014-03-06 Joel Brobecker <brobecker@adacore.com>
7469
7470 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7471 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7472 SYMBOL_VALUE_ADDRESS.
7473 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7474
5fa1d40e
YQ
74752014-03-06 Yao Qi <yao@codesourcery.com>
7476
7477 * breakpoint.c (get_tracepoint_by_number): Remove argument
7478 optional_p. All callers updated. Adjust comments. Update
7479 output message.
7480 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7481
0c13193f
YQ
74822014-03-06 Yao Qi <yao@codesourcery.com>
7483
7484 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7485 early if get_number returns zero. Use 'p' instead of 'args'.
7486
2217da06
YQ
74872014-03-06 Yao Qi <yao@codesourcery.com>
7488
7489 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7490 message.
7491
cc3da688
YQ
74922014-03-06 Yao Qi <yao@codesourcery.com>
7493
7494 PR breakpoints/16508
7495 * tracepoint.c (check_trace_running): New function.
7496 (trace_find_command): Move code to check_trace_running and
7497 call check_trace_running.
7498 (trace_find_pc_command): Likewise.
7499 (trace_find_tracepoint_command): Likewise.
7500 (trace_find_line_command): Likewise.
7501 (trace_find_range_command): Likewise.
7502 * tracepoint.h (check_trace_running): Likewise.
7503 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7504
6a5f844b
YQ
75052014-03-06 Yao Qi <yao@codesourcery.com>
7506
7507 * target.h (struct target_ops) <to_traceframe_info>: Use
7508 TARGET_DEFAULT_NORETURN (tcomplain ()).
7509 * target-delegates.c: Regenerated.
7510
0f26cec1
PA
75112014-03-05 Pedro Alves <palves@redhat.com>
7512
7513 PR gdb/16575
7514 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7515 void. Update comment.
7516 (dcache_xfer_memory): Delete.
7517 (dcache_read_memory_partial): New, based on the read bits of
7518 dcache_xfer_memory.
7519 (dcache_update): Add status parameter. Use ULONGEST for len, and
7520 adjust. Discard cache lines if the reason for the update was
7521 error.
7522 * dcache.h (dcache_xfer_memory): Delete declaration.
7523 (dcache_read_memory_partial): New declaration.
7524 (dcache_update): Update prototype.
7525 * target.c (raw_memory_xfer_partial): Update the dcache here.
7526 (memory_xfer_partial_1): Don't handle dcache writes here.
7527
b2b255bd
MF
75282014-03-05 Mike Frysinger <vapier@gentoo.org>
7529
7530 * remote-sim.c (gdbsim_load): Add const to prog.
7531
5d9cf8a4
TT
75322014-03-03 Tom Tromey <tromey@redhat.com>
7533
7534 * elfread.c (probe_key): Change to bfd_data.
7535 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7536 now per-BFD, not per-objfile.
7537 * stap-probe.c (stap_probe_destroy): Update comment.
7538 (handle_stap_probe): Allocate on the per-BFD obstack.
7539
729662a5
TT
75402014-03-03 Tom Tromey <tromey@redhat.com>
7541
7542 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7543 * breakpoint.c (create_longjmp_master_breakpoint): Use
7544 get_probe_address.
7545 (add_location_to_breakpoint, bkpt_probe_insert_location)
7546 (bkpt_probe_remove_location): Update.
7547 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7548 * elfread.c (elf_symfile_relocate_probe): Remove.
7549 (elf_probe_fns): Update.
7550 (insert_exception_resume_breakpoint): Change type of "probe"
7551 parameter to bound_probe.
7552 (check_exception_resume): Update.
7553 * objfiles.c (objfile_relocate1): Don't relocate probes.
7554 * probe.c (bound_probe_s): New typedef.
7555 (parse_probes): Use get_probe_address. Set sal's objfile.
7556 (find_probe_by_pc): Return a bound_probe.
7557 (collect_probes): Return a VEC(bound_probe_s).
7558 (compare_probes): Update.
7559 (gen_ui_out_table_header_info): Change type of "probes"
7560 parameter. Update.
7561 (info_probes_for_ops): Update.
7562 (get_probe_address): New function.
7563 (probe_safe_evaluate_at_pc): Update.
7564 * probe.h (struct probe_ops) <get_probe_address>: New field.
7565 <set_semaphore, clear_semaphore>: Add objfile parameter.
7566 (struct probe) <objfile>: Remove field.
7567 <arch>: New field.
7568 <address>: Update comment.
7569 (struct bound_probe): New.
7570 (find_probe_by_pc): Return a bound_probe.
7571 (get_probe_address): Declare.
7572 * solib-svr4.c (struct probe_and_action) <address>: New field.
7573 (hash_probe_and_action, equal_probe_and_action): Update.
7574 (register_solib_event_probe): Add address parameter.
7575 (solib_event_probe_at): Update.
7576 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7577 get_probe_address.
7578 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7579 (stap_get_probe_address): New function.
7580 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7581 (compile_probe_arg): Update.
7582 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7583 address.
7584 (handle_stap_probe): Don't relocate the probe.
7585 (stap_relocate): Remove.
7586 (stap_gen_info_probes_table_values): Update.
7587 (stap_probe_ops): Remove stap_relocate.
7588 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7589 (debug_sym_probe_fns): Update.
7590 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7591 * symtab.c (init_sal): Use memset.
7592 * symtab.h (struct symtab_and_line) <objfile>: New field.
7593 * tracepoint.c (start_tracing, stop_tracing): Update.
7594
ff887920
TT
75952014-03-03 Tom Tromey <tromey@redhat.com>
7596
7597 * probe.h (parse_probes, find_probe_by_pc)
7598 (find_probes_in_objfile): Fix comments.
7599
f0407826
DE
76002014-03-02 Doug Evans <xdje42@gmail.com>
7601
7602 * infrun.c (handle_signal_stop): Replace test for
7603 TARGET_WAITKIND_STOPPED with an assert.
7604
35e6a711
DE
76052014-03-02 Doug Evans <xdje42@gmail.com>
7606
7607 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7608
667f9d0b
DE
76092014-03-02 Doug Evans <xdje42@gmail.com>
7610
7611 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7612
dc92ace0
MK
76132014-03-01 Mark Kettenis <kettenis@gnu.org>
7614
7615 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7616
a900370f
MK
76172014-03-01 Mark Kettenis <kettenis@gnu.org>
7618
7619 * i386obsd-nat.c: Include "obsd-nat.h".
7620 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7621 add_target.
7622 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7623
b72a7981
MK
76242014-03-01 Mark Kettenis <kettenis@gnu.org>
7625
7626 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7627
96c70aba
MK
76282014-03-01 Mark Kettenis <kettenis@gnu.org>
7629
7630 * mips64obsd-nat.c: Include "obsd-nath".
7631 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7632 add_target
7633 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7634
874a80af
MK
76352014-03-01 Mark Kettenis <kettenis@gnu.org>
7636
8fd408f1
MK
7637 * amd64obsd-nat.c: Include "obsd-nat,h.
7638 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7639 add_target.
874a80af
MK
7640 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7641
9cf95373
SC
76422014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7643
7644 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7645 (find_overload_match): Update call to find_oload_champ.
7646 (find_oload_champ_namespace_loop): Likewise
7647
863e4da4
MK
76482014-02-28 Mark Kettenis <kettenis@gnu.org>
7649
025cac40
MK
7650 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7651
1ed586ce
MK
7652 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7653 * config/sparc/obsd64.mh: New file.
7654 * sparc64obsd-nat.c: New file.
7655
863e4da4
MK
7656 * obsd-nat.h: New file.
7657 * obsd-nat.c: New file.
7658 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7659 (ALLDEPFILES): Add obsd-nat.c.
7660
89de4da4
TT
76612014-02-28 Tom Tromey <tromey@redhat.com>
7662
7663 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7664 * cli-out.h (cli_ui_out_impl): Now const.
7665 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7666 * ui-out.c (struct ui_out) <impl>: Now const.
7667 (default_ui_out_impl): Now const.
7668 (ui_out_new): Make 'impl' parameter const.
7669 * ui-out.h (ui_out_new): Update.
7670
c725e7b6
MK
76712014-02-27 Mark Kettenis <kettenis@gnu.org>
7672
7673 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7674
670b46b3
MK
76752014-02-27 Mark Kettenis <kettenis@gnu.org>
7676
7677 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7678
c91550fc
JK
76792014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 Additional PR 8882 fix.
7682 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7683
2fa0369e
PA
76842014-02-27 Pedro Alves <palves@redhat.com>
7685
7686 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7687 isn't set.
7688
d632a097
PA
76892014-02-27 Pedro Alves <palves@redhat.com>
7690
7691 PR 12702
7692 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7693 * nat/linux-waitpid.c: Include string.h.
7694 (status_to_str): Moved here and made extern.
7695 * nat/linux-waitpid.h (status_to_str): New declaration.
7696
2ebd5a35
HZ
76972014-02-27 Hui Zhu <hui@codesourcery.com>
7698
7699 PR 12702
7700 * infrun.c (ptid_match): Move ...
7701 * common/ptid.c (ptid_match): ... here.
7702 * inferior.h (ptid_match): Move ...
7703 * common/ptid.h (ptid_match): ... here.
7704
3cdd631f
MK
77052014-02-27 Mark Kettenis <kettenis@gnu.org>
7706
7707 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7708 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7709 gdb_target_obs.
7710
bee30a64
MK
77112014-02-27 Mark Kettenis <kettenis@gnu.org>
7712
7713 * obsd-tdep.c (obsd_auxv_parse): New function.
7714 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
7715
7716 * gdbarch.sh (auxv_parse): New.
7717 * gdbarch.h: Regenerated.
7718 * gdbarch.c: Regenerated.
7719 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7720
7a5a839f
LC
77212014-02-26 Ludovic Courtès <ludo@gnu.org>
7722
7723 * guile/scm-value.c (gdbscm_history_append_x): New function.
7724 (value_functions): Add it.
7725
31aa7e4e
JB
77262014-02-27 Joel Brobecker <brobecker@adacore.com>
7727
7728 * dwarf2read.c (attr_value_as_address): New function.
7729 (dwarf2_find_base_address, read_call_site_scope): Use
7730 attr_value_as_address in place of DW_ADDR.
7731 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7732 the low and high addresses. Slight rework of the handling
7733 of the high pc being a constant form, and limit it to
7734 DWARF verson 4 or higher.
7735 (dwarf2_record_block_ranges): Likewise.
7736 (read_partial_die): Likewise.
7737 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7738
9b333ba3
TT
77392014-02-26 Tom Tromey <tromey@redhat.com>
7740
7741 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7742
5f6cac40
TT
77432014-02-26 Tom Tromey <tromey@redhat.com>
7744
7745 * elfread.c (elf_read_minimal_symbols): Return early if
7746 minimal symbols have already been read. Add "ei" parameter.
7747 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7748 * minsyms.c (prim_record_minimal_symbol_full): Update.
7749 * objfiles.h (struct objstats) <n_minsyms>: Move...
7750 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7751 * symmisc.c (print_objfile_statistics): Update.
7752
2750ef27
TT
77532014-02-26 Tom Tromey <tromey@redhat.com>
7754
7755 * elfread.c (elf_read_minimal_symbols): New function, from
7756 elf_symfile_read.
7757 (elf_symfile_read): Call it.
7758
34643a32
TT
77592014-02-26 Tom Tromey <tromey@redhat.com>
7760
7761 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7762 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7763 (lookup_minimal_symbol_solib_trampoline)
7764 (lookup_minimal_symbol_by_pc_section_1)
7765 (lookup_minimal_symbol_and_objfile): Update.
7766 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7767 Don't allocate a minimal symbol if minsyms have already been read.
7768 (build_minimal_symbol_hash_tables): Update.
7769 (install_minimal_symbols): Do nothing if minsyms already read.
7770 Use the per-BFD obstack.
7771 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7772 * objfiles.c (allocate_objfile): Call
7773 terminate_minimal_symbol_table later.
7774 (have_minimal_symbols): Update.
7775 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7776 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7777 Move from struct objfile.
7778 <minsyms_read>: New field.
7779 (struct objfile) <msymbols, minimal_symbol_count,
7780 msymbol_hash, msymbol_demangled_hash>: Move.
7781 (ALL_OBJFILE_MSYMBOLS): Update.
7782 * symfile.c (read_symbols): Set minsyms_read.
7783 (reread_symbols): Update.
7784 * symmisc.c (dump_objfile, dump_msymbols): Update.
7785
2273f0ac
TT
77862014-02-26 Tom Tromey <tromey@redhat.com>
7787
7788 * minsyms.c (msymbols_sort): Remove.
7789 * minsyms.h (msymbols_sort): Remove.
7790 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7791 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7792 * elfread.c (elf_symtab_read): Don't add section offsets.
7793 * xcoffread.c (record_minimal_symbol): Don't add section offset
7794 to minimal symbol address.
7795 * somread.c (text_offset, data_offset): Remove.
7796 (som_symtab_read): Don't add section offsets to minimal symbol
7797 addresses.
7798 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7799 Don't add section offsets to minimal symbols.
7800 * coffread.c (coff_symtab_read): Don't add section offsets
7801 to minimal symbol addresses.
7802 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7803 to minimal symbol addresses.
7804 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7805 section offset to minimal symbol addresses.
7806 * mdebugread.c (parse_partial_symbols): Don't add section
7807 offset to minimal symbol addresses.
7808 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7809 offset to minimal symbol addresses.
7810
77e371c0
TT
78112014-02-26 Tom Tromey <tromey@redhat.com>
7812
7813 * ada-lang.c (ada_main_name): Update.
7814 (ada_add_standard_exceptions): Update.
7815 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7816 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7817 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7818 * auxv.c (ld_so_xfer_auxv): Update.
7819 * avr-tdep.c (avr_scan_prologue): Update.
7820 * ax-gdb.c (gen_var_ref): Update.
7821 * blockframe.c (get_pc_function_start)
7822 (find_pc_partial_function_gnu_ifunc): Update.
7823 * breakpoint.c (create_overlay_event_breakpoint)
7824 (create_longjmp_master_breakpoint)
7825 (create_std_terminate_master_breakpoint)
7826 (create_exception_master_breakpoint): Update.
7827 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7828 * c-valprint.c (c_val_print): Update.
7829 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7830 * common/agent.c (agent_look_up_symbols): Update.
7831 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7832 * dwarf2loc.c (call_site_to_target_addr): Update.
7833 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7834 * elfread.c (elf_gnu_ifunc_record_cache)
7835 (elf_gnu_ifunc_resolve_by_got): Update.
7836 * findvar.c (default_read_var_value): Update.
7837 * frame.c (inside_main_func): Update.
7838 * frv-tdep.c (frv_frame_this_id): Update.
7839 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7840 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7841 Update.
7842 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7843 (hppa_hpux_find_dummy_bpaddr): Update.
7844 * hppa-tdep.c (hppa_symbol_address): Update.
7845 * infcmd.c (until_next_command): Update.
7846 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7847 Update.
7848 * linespec.c (minsym_found, add_minsym): Update.
7849 * linux-nat.c (get_signo): Update.
7850 * linux-thread-db.c (inferior_has_bug): Update.
7851 * m32c-tdep.c (m32c_return_value)
7852 (m32c_m16c_address_to_pointer): Update.
7853 * m32r-tdep.c (m32r_frame_this_id): Update.
7854 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7855 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7856 * maint.c (maintenance_translate_address): Update.
7857 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7858 (frob_address): New function.
7859 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7860 frob_address. Rename parameter to "pc_in".
7861 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7862 addresses.
7863 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7864 Update.
7865 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7866 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7867 * objc-lang.c (find_objc_msgsend): Update.
7868 * objfiles.c (objfile_relocate1): Update.
7869 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7870 * p-valprint.c (pascal_val_print): Update.
7871 * parse.c (write_exp_msymbol): Update.
7872 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7873 (ppc_elfv2_skip_entrypoint): Update.
7874 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7875 * printcmd.c (build_address_symbolic, msym_info)
7876 (address_info): Update.
7877 * proc-service.c (ps_pglobal_lookup): Update.
7878 * psymtab.c (find_pc_sect_psymtab_closer)
7879 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7880 Change msymbol parameter to bound_minimal_symbol.
7881 * ravenscar-thread.c (get_running_thread_id): Update.
7882 * remote.c (remote_check_symbols): Update.
7883 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7884 address.
7885 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7886 * solib-dsbt.c (lm_base): Update.
7887 * solib-frv.c (lm_base, main_got): Update.
7888 * solib-irix.c (locate_base): Update.
7889 * solib-som.c (som_solib_create_inferior_hook)
7890 (link_map_start): Update.
7891 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7892 * solib-svr4.c (elf_locate_base, enable_break): Update.
7893 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7894 (flush_ea_cache): Update.
7895 * stabsread.c (define_symbol, scan_file_globals): Update.
7896 * stack.c (find_frame_funname): Update.
7897 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7898 (debug_qf_find_pc_sect_symtab): Update.
7899 * symfile.c (simple_read_overlay_table)
7900 (simple_overlay_update): Update.
7901 * symfile.h (struct quick_symbol_functions)
7902 <find_pc_sect_symtab>: Change type of msymbol to
7903 bound_minimal_symbol.
7904 * symmisc.c (dump_msymbols): Update.
7905 * symtab.c (find_pc_sect_symtab_via_partial)
7906 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7907 (search_symbols, print_msymbol_info): Update.
7908 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7909 (MSYMBOL_VALUE_ADDRESS): Redefine.
7910 (BMSYMBOL_VALUE_ADDRESS): New macro.
7911 * tracepoint.c (scope_info): Update.
7912 * tui/tui-disasm.c (tui_find_disassembly_address)
7913 (tui_get_begin_asm_address): Update.
7914 * valops.c (find_function_in_inferior): Update.
7915 * value.c (value_static_field, value_fn_field): Update.
7916
3b7344d5
TT
79172014-02-26 Tom Tromey <tromey@redhat.com>
7918
7919 * ada-lang.c (ada_update_initial_language): Update.
7920 (ada_main_name, ada_has_this_exception_support): Update.
7921 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7922 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7923 * arm-tdep.c (arm_skip_stub): Update.
7924 * auxv.c (ld_so_xfer_auxv): Update.
7925 * avr-tdep.c (avr_scan_prologue): Update.
7926 * ax-gdb.c (gen_var_ref): Update.
7927 * breakpoint.c (struct breakpoint_objfile_data)
7928 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7929 type to bound_minimal_symbol.
7930 (create_overlay_event_breakpoint)
7931 (create_longjmp_master_breakpoint)
7932 (create_std_terminate_master_breakpoint)
7933 (create_exception_master_breakpoint): Update.
7934 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7935 * c-exp.y (classify_name): Update.
7936 * coffread.c (coff_symfile_read): Update.
7937 * common/agent.c (agent_look_up_symbols): Update.
7938 * d-lang.c (d_main_name): Update.
7939 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7940 * dec-thread.c (enable_dec_thread): Update.
7941 * dwarf2loc.c (call_site_to_target_addr): Update.
7942 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7943 * eval.c (evaluate_subexp_standard): Update.
7944 * findvar.c (struct minsym_lookup_data) <result>: Change type
7945 to bound_minimal_symbol.
7946 <objfile>: Remove.
7947 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7948 * frame.c (inside_main_func): Update.
7949 * frv-tdep.c (frv_frame_this_id): Update.
7950 * gcore.c (call_target_sbrk): Update.
7951 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7952 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7953 Update.
7954 * go-lang.c (go_main_name): Update.
7955 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7956 (hppa_hpux_find_import_stub_for_addr): Update.
7957 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7958 Update. Change return type.
7959 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7960 type.
7961 * jit.c (jit_breakpoint_re_set_internal): Update.
7962 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7963 Update.
7964 * linux-nat.c (get_signo): Update.
7965 * linux-thread-db.c (inferior_has_bug): Update
7966 * m32c-tdep.c (m32c_return_value)
7967 (m32c_m16c_address_to_pointer): Update.
7968 * m32r-tdep.c (m32r_frame_this_id): Update.
7969 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7970 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7971 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7972 lookup_minimal_symbol. Change return type.
7973 (lookup_minimal_symbol): Remove.
7974 (lookup_bound_minimal_symbol): Update.
7975 (lookup_minimal_symbol_text): Change return type.
7976 (lookup_minimal_symbol_solib_trampoline): Change return type.
7977 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7978 (lookup_minimal_symbol_solib_trampoline): Change return type.
7979 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7980 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7981 (value_nsstring, find_imps): Update.
7982 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7983 * p-lang.c (pascal_main_name): Update.
7984 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7985 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7986 * proc-service.c (ps_pglobal_lookup): Update.
7987 * ravenscar-thread.c (get_running_thread_msymbol): Change
7988 return type.
7989 (has_ravenscar_runtime, get_running_thread_id): Update.
7990 * remote.c (remote_check_symbols): Update.
7991 * sol-thread.c (ps_pglobal_lookup): Update.
7992 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7993 * solib-dsbt.c (lm_base): Update.
7994 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7995 Update.
7996 * solib-irix.c (locate_base): Update.
7997 * solib-som.c (som_solib_create_inferior_hook)
7998 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7999 Update.
8000 * solib-spu.c (spu_enable_break): Update.
8001 * solib-svr4.c (elf_locate_base, enable_break): Update.
8002 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8003 (flush_ea_cache): Update.
8004 * stabsread.c (define_symbol): Update.
8005 * symfile.c (simple_read_overlay_table): Update.
8006 * symtab.c (find_pc_sect_line): Update.
8007 * tracepoint.c (scope_info): Update.
8008 * tui-disasm.c (tui_get_begin_asm_address): Update.
8009 * value.c (value_static_field): Update.
8010
40c1a007
TT
80112014-02-26 Tom Tromey <tromey@redhat.com>
8012
8013 * minsyms.c (prim_record_minimal_symbol_full): Use
8014 SET_MSYMBOL_VALUE_ADDRESS.
8015 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8016 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8017 SET_MSYMBOL_VALUE_ADDRESS.
8018 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8019 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8020
efd66ac6
TT
80212014-02-26 Tom Tromey <tromey@redhat.com>
8022
8023 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8024 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8025 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8026 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8027 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8028 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
8029 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
8030 * ada-lang.c (ada_main_name): Update.
8031 (ada_lookup_simple_minsym): Update.
8032 (ada_make_symbol_completion_list): Update.
8033 (ada_add_standard_exceptions): Update.
8034 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
8035 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8036 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
8037 * arm-tdep.c (skip_prologue_function): Update.
8038 (arm_skip_stack_protector, arm_skip_stub): Update.
8039 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
8040 (arm_wince_skip_main_prologue): Update.
8041 * auxv.c (ld_so_xfer_auxv): Update.
8042 * avr-tdep.c (avr_scan_prologue): Update.
8043 * ax-gdb.c (gen_var_ref): Update.
8044 * block.c (call_site_for_pc): Update.
8045 * blockframe.c (get_pc_function_start): Update.
8046 (find_pc_partial_function_gnu_ifunc): Update.
8047 * breakpoint.c (create_overlay_event_breakpoint): Update.
8048 (create_longjmp_master_breakpoint): Update.
8049 (create_std_terminate_master_breakpoint): Update.
8050 (create_exception_master_breakpoint): Update.
8051 (resolve_sal_pc): Update.
8052 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8053 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
8054 Update.
8055 * c-valprint.c (c_val_print): Update.
8056 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8057 * coffread.c (coff_symfile_read): Update.
8058 * common/agent.c (agent_look_up_symbols): Update.
8059 * dbxread.c (find_stab_function_addr): Update.
8060 (end_psymtab): Update.
8061 * dwarf2loc.c (call_site_to_target_addr): Update.
8062 (func_verify_no_selftailcall): Update.
8063 (tailcall_dump): Update.
8064 (call_site_find_chain_1): Update.
8065 (dwarf_expr_reg_to_entry_parameter): Update.
8066 * elfread.c (elf_gnu_ifunc_record_cache): Update.
8067 (elf_gnu_ifunc_resolve_by_got): Update.
8068 * f-valprint.c (info_common_command): Update.
8069 * findvar.c (read_var_value): Update.
8070 * frame.c (get_prev_frame_1): Update.
8071 (inside_main_func): Update.
8072 * frv-tdep.c (frv_skip_main_prologue): Update.
8073 (frv_frame_this_id): Update.
8074 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8075 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8076 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8077 (gnuv3_skip_trampoline): Update.
8078 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8079 (hppa64_hpux_in_solib_call_trampoline): Update.
8080 (hppa_hpux_skip_trampoline_code): Update.
8081 (hppa64_hpux_search_dummy_call_sequence): Update.
8082 (hppa_hpux_find_import_stub_for_addr): Update.
8083 (hppa_hpux_find_dummy_bpaddr): Update.
8084 * hppa-tdep.c (hppa_symbol_address)
8085 (hppa_lookup_stub_minimal_symbol): Update.
8086 * i386-tdep.c (i386_skip_main_prologue): Update.
8087 (i386_pe_skip_trampoline_code): Update.
8088 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8089 * infcall.c (get_function_name): Update.
8090 * infcmd.c (until_next_command): Update.
8091 * jit.c (jit_breakpoint_re_set_internal): Update.
8092 (jit_inferior_init): Update.
8093 * linespec.c (minsym_found): Update.
8094 (add_minsym): Update.
8095 * linux-fork.c (info_checkpoints_command): Update.
8096 * linux-nat.c (get_signo): Update.
8097 * linux-thread-db.c (inferior_has_bug): Update.
8098 * m32c-tdep.c (m32c_return_value): Update.
8099 (m32c_m16c_address_to_pointer): Update.
8100 (m32c_m16c_pointer_to_address): Update.
8101 * m32r-tdep.c (m32r_frame_this_id): Update.
8102 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8103 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8104 * maint.c (maintenance_translate_address): Update.
8105 * minsyms.c (add_minsym_to_hash_table): Update.
8106 (add_minsym_to_demangled_hash_table): Update.
8107 (msymbol_objfile): Update.
8108 (lookup_minimal_symbol): Update.
8109 (iterate_over_minimal_symbols): Update.
8110 (lookup_minimal_symbol_text): Update.
8111 (lookup_minimal_symbol_by_pc_name): Update.
8112 (lookup_minimal_symbol_solib_trampoline): Update.
8113 (lookup_minimal_symbol_by_pc_section_1): Update.
8114 (lookup_minimal_symbol_and_objfile): Update.
8115 (prim_record_minimal_symbol_full): Update.
8116 (compare_minimal_symbols): Update.
8117 (compact_minimal_symbols): Update.
8118 (build_minimal_symbol_hash_tables): Update.
8119 (install_minimal_symbols): Update.
8120 (terminate_minimal_symbol_table): Update.
8121 (find_solib_trampoline_target): Update.
8122 (minimal_symbol_upper_bound): Update.
8123 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8124 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8125 (mips_skip_pic_trampoline_code): Update.
8126 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8127 * objc-lang.c (selectors_info): Update.
8128 (classes_info): Update.
8129 (find_methods): Update.
8130 (find_imps): Update.
8131 (find_objc_msgsend): Update.
8132 * objfiles.c (objfile_relocate1): Update.
8133 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
8134 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8135 * p-valprint.c (pascal_val_print): Update.
8136 * parse.c (write_exp_msymbol): Update.
8137 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
8138 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
8139 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8140 * printcmd.c (build_address_symbolic): Update.
8141 (sym_info): Update.
8142 (address_info): Update.
8143 * proc-service.c (ps_pglobal_lookup): Update.
8144 * psymtab.c (find_pc_sect_psymtab_closer): Update.
8145 (find_pc_sect_psymtab): Update.
8146 * python/py-framefilter.c (py_print_frame): Update.
8147 * ravenscar-thread.c (get_running_thread_id): Update.
8148 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
8149 Update.
8150 * remote.c (remote_check_symbols): Update.
8151 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
8152 (rs6000_skip_trampoline_code): Update.
8153 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
8154 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8155 * solib-dsbt.c (lm_base): Update.
8156 * solib-frv.c (lm_base): Update.
8157 (main_got): Update.
8158 * solib-irix.c (locate_base): Update.
8159 * solib-som.c (som_solib_create_inferior_hook): Update.
8160 (som_solib_desire_dynamic_linker_symbols): Update.
8161 (link_map_start): Update.
8162 * solib-spu.c (spu_enable_break): Update.
8163 (ocl_enable_break): Update.
8164 * solib-svr4.c (elf_locate_base): Update.
8165 (enable_break): Update.
8166 * spu-tdep.c (spu_get_overlay_table): Update.
8167 (spu_catch_start): Update.
8168 (flush_ea_cache): Update.
8169 * stabsread.c (define_symbol): Update.
8170 (scan_file_globals): Update.
8171 * stack.c (find_frame_funname): Update.
8172 (frame_info): Update.
8173 * symfile.c (simple_read_overlay_table): Update.
8174 (simple_overlay_update): Update.
8175 * symmisc.c (dump_msymbols): Update.
8176 * symtab.c (fixup_section): Update.
8177 (find_pc_sect_line): Update.
8178 (skip_prologue_sal): Update.
8179 (search_symbols): Update.
8180 (print_msymbol_info): Update.
8181 (rbreak_command): Update.
8182 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
8183 (completion_list_objc_symbol): Update.
8184 (default_make_symbol_completion_list_break_on): Update.
8185 * tracepoint.c (scope_info): Update.
8186 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
8187 (tui_get_begin_asm_address): Update.
8188 * valops.c (find_function_in_inferior): Update.
8189 * value.c (value_static_field): Update.
8190 (value_fn_field): Update.
8191
50e65b17
TT
81922014-02-26 Tom Tromey <tromey@redhat.com>
8193
8194 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
8195 bound minimal symbols. Move code that knows about minsym
8196 table layout...
8197 * minsyms.c (minimal_symbol_upper_bound): ... here. New
8198 function.
8199 * minsyms.h (minimal_symbol_upper_bound): Declare.
8200 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
8201 minimal_symbol_upper_bound.
8202
1b588015
JB
82032014-02-27 Joel Brobecker <brobecker@adacore.com>
8204
8205 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
8206 Use the type's name if its basic type does not have a tag.
8207
dbb9c2b1
JB
82082014-02-27 Joel Brobecker <brobecker@adacore.com>
8209
8210 * dwarf2read.c (read_subrange_type): Add comment.
8211
55426c9d
JB
82122014-02-27 Joel Brobecker <brobecker@adacore.com>
8213
8214 * dwarf2read.c (update_enumeration_type_from_children): New
8215 function, mostly extracted from process_structure_scope.
8216 (read_enumeration_type): Call update_enumeration_type_from_children.
8217 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
8218 and flag_flag_enum fields.
8219
f2fce0ca
PA
82202014-02-26 Pedro Alves <palves@redhat.com>
8221
8222 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
8223 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
8224 to_xfer_partial method.
8225
7a44e40e
PA
82262014-02-26 Pedro Alves <palves@redhat.com>
8227
8228 * target.c (complete_target_initialization): Don't install
8229 default_xfer_partial as to_xfer_partial hook.
8230 (nomemory): Delete.
8231 (update_current_target): Don't INHERIT nor de_fault
8232 deprecated_xfer_memory. Delete de_fault macro.
8233 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
8234 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
8235 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
8236 field.
8237
bd265cd0
PA
82382014-02-26 Pedro Alves <palves@redhat.com>
8239
8240 * go32-nat.c (my_write_child): New function.
8241 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
8242 (go32_xfer_partial): New function.
8243 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
8244 Instead install a to_xfer_partial hook.
8245
9d46c4e5
PA
82462014-02-26 Pedro Alves <palves@redhat.com>
8247
8248 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
8249 to_xfer_partial helper. Rewrite.
8250 (procfs_xfer_partial): New function.
8251 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
8252 Install a to_xfer_partial hook.
8253
a1583b1f
PA
82542014-02-26 Pedro Alves <palves@redhat.com>
8255
8256 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
8257 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
8258 (m32r_xfer_partial): New function.
8259 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
8260 Install a to_xfer_partial hook.
8261
6df1b29f
PA
82622014-02-26 Pedro Alves <palves@redhat.com>
8263
8264 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
8265 helper.
8266 (mips_xfer_partial): New function.
8267 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
8268 hook. Install a to_xfer_partial hook.
8269
dc53a7ad
JB
82702014-02-26 Joel Brobecker <brobecker@adacore.com>
8271
8272 * gdbtypes.h (create_array_type_with_stride): Add declaration.
8273 * gdbtypes.c (create_array_type_with_stride): New function,
8274 renaming create_array_type, but with an added parameter
8275 called "bit_stride".
8276 (create_array_type): Re-implement using
8277 create_array_type_with_stride.
8278 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
8279 and DW_AT_bit_stride attributes.
8280
12ab52e9
PA
82812014-02-26 Pedro Alves <palves@redhat.com>
8282
8283 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
8284 task-specific breakpoints.
8285
d16461ae
PA
82862014-02-25 Pedro Alves <palves@redhat.com>
8287
8288 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
8289 handling of object == TARGET_OBJECT_UNWIND_TABLE.
8290
a8b16220
SS
82912014-02-25 Stan Shebs <stan@codesourcery.com>
8292
8293 * defs.h: Annotate comments for Doxygen.
8294
b9e795ee
TT
82952014-02-25 Tom Tromey <tromey@redhat.com>
8296
8297 * target.h (target_ignore): Don't declare.
8298 * target.c (target_ignore): Remove.
8299
849c862e
JK
83002014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8301
8302 PR gdb/16626
8303 * auto-load.c (auto_load_objfile_script_1): Change filename to
8304 debugfile.
8305
475109d8
JB
83062014-02-25 Joel Brobecker <brobecker@adacore.com>
8307
8308 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
8309 documentation. Adjust prototype to match the target_ops
8310 to_xfer_partial method. Adjust implementation accordingly.
8311
e186c3bd
HZ
83122014-02-25 Hui Zhu <hui@codesourcery.com>
8313
8314 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
8315 to_traceframe_info.
8316
6d451942
KB
83172014-02-25 Kevin Buettner <kevinb@redhat.com>
8318
041ab8b4 8319 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
8320 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
8321 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
8322 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
8323 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8324 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
8325 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
8326 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
8327 New constants.
8328 (rl78_register_type): Use a data pointer type for SP and
8329 new pseudo registers mentioned above. Use a 16 bit integer
8330 type for all other register pairs.
8331 (rl78_register_name, rl78_g10_register_name): Update for
8332 new pseudo registers.
8333 (rl78_pseudo_register_read): Likewise.
8334 (rl78_pseudo_register_write): Likewise.
8335 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8336 to the newly added pseudo registers.
8337
eddf0bae
DE
83382014-02-24 Doug Evans <dje@google.com>
8339
8340 * value.c (record_latest_value): Fix comment.
8341 * printcmd.c (print_command_1): Remove code to handle -1 return from
8342 record_latest_value.
8343
e96027e0
PA
83442014-02-24 Pedro Alves <palves@redhat.com>
8345
8346 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8347 deprecated_xfer_memory hook.
8348 (procfs_xfer_partial): Call procfs_xfer_memory instead
8349 of the deprecated_xfer_memory target hook.
8350 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8351 helper.
8352
0837c976
YZ
83532014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8354
8355 * windows-nat.c (windows_xfer_shared_libraries): Return
8356 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8357 requested object is TARGET_OBJECT_LIBRARIES.
8358
bc113b4e
YQ
83592014-02-24 Yao Qi <yao@codesourcery.com>
8360
8361 * target.h (enum target_xfer_status)
8362 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8363 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8364 explicitly. New.
8365 * corefile.c (memory_error_message): User updated.
8366 * exec.c (section_table_read_available_memory): Likewise.
8367 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8368 * target.c (target_xfer_status_to_string): Likewise.
8369 (raw_memory_xfer_partial): Likewise.
8370 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8371 * valops.c (read_value_memory): Likewise.
8372 * exec.h: Update comments.
8373
01cb8804
YQ
83742014-02-24 Yao Qi <yao@codesourcery.com>
8375
8376 * target.c (target_xfer_status_to_string): Rename argument err
8377 to status.
8378 * target.h (target_xfer_status_to_string): Update declaration.
8379 Replace target_xfer_error_to_string with
8380 target_xfer_status_to_string in comment.
8381
93063aa6
YQ
83822014-02-24 Yao Qi <yao@codesourcery.com>
8383
8384 * mips-linux-nat.c (super_close): Update its type.
8385 (mips_linux_close): Pass 'self' to super_close.
8386
5c328c05
YQ
83872014-02-24 Yao Qi <yao@codesourcery.com>
8388
8389 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8390 * corefile.c (read_memory): Adjusted.
8391 * target.c (target_write_with_progress): Adjusted.
8392
f73023dd
YQ
83932014-02-23 Yao Qi <yao@codesourcery.com>
8394
8395 Revert two patches:
8396
8397 2013-10-25 Yao Qi <yao@codesourcery.com>
8398
8399 * remote.c (remote_traceframe_info): Return early if
8400 traceframe is not selected.
8401
8402 2013-07-19 Yao Qi <yao@codesourcery.com>
8403
8404 * target.c (update_current_target): Change the default action
8405 of 'to_traceframe_info' from tcomplain to return_zero.
8406 * target.h (struct target_ops) <to_traceframe_info>: Add more
8407 comments.
8408
5a2eb0ef
YQ
84092014-02-23 Yao Qi <yao@codesourcery.com>
8410
8411 * valops.c (read_value_memory): Rewrite it. Call
8412 target_xfer_partial in a loop.
8413 * exec.h (section_table_available_memory): Remove declaration.
8414 Move comments to ...
8415 * exec.c (section_table_available_memory): ... here. Make it
8416 static.
8417
1ee79381
YQ
84182014-02-23 Yao Qi <yao@codesourcery.com>
8419
8420 * exec.c (section_table_read_available_memory): New function.
8421 * exec.h (section_table_read_available_memory): Declare.
8422 * ctf.c (ctf_xfer_partial): Call
8423 section_table_read_available_memory.
8424 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8425
1ca49d37
YQ
84262014-02-23 Yao Qi <yao@codesourcery.com>
8427
8428 * ctf.c (ctf_xfer_partial): Move code to ...
8429 * exec.c (exec_read_partial_read_only): ... it. New function.
8430 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8431 * tracefile.c: Include "exec.h".
8432 * exec.h (exec_read_partial_read_only): Declare.
8433
a283690e
YQ
84342014-02-23 Yao Qi <yao@codesourcery.com>
8435
8436 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8437 (tfile_has_memory): Remove.
8438 (init_tfile_ops): Don't set fields to_has_all_memory and
8439 to_has_memory of tfile_ops.
8440 * tracefile.c (tracefile_has_all_memory): New function.
8441 (tracefile_has_memory): New function.
8442 (init_tracefile_ops): Initialize fields to_has_all_memory and
8443 to_has_memory of 'ops'.
8444
12e03cd0
YQ
84452014-02-23 Yao Qi <yao@codesourcery.com>
8446
8447 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8448 (ctf_thread_alive, ctf_get_trace_status): Remove.
8449 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8450 init_tracefile_ops.
8451 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8452 (tfile_has_stack, tfile_has_registers): Remove.
8453 (tfile_thread_alive): Remove.
8454 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8455 init_tracefile_ops.
8456 * tracefile.c (tracefile_has_stack): New function.
8457 (tracefile_has_registers): New function.
8458 (tracefile_thread_alive): New function.
8459 (tracefile_get_trace_status): New function.
8460 (init_tracefile_ops): New function.
8461 * tracefile.h (init_tracefile_ops): Declare.
8462
11395323
YQ
84632014-02-23 Yao Qi <yao@codesourcery.com>
8464
8465 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8466 (O_LARGEFILE): Likewise.
8467 (tfile_ops): Likewise.
8468 (TRACE_HEADER_SIZE): Likewise.
8469 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8470 (cur_data_size): Likewise.
8471 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8472 (tfile_close, tfile_files_info): Likewise.
8473 (tfile_get_trace_status): Likewise.
8474 (tfile_get_tracepoint_status): Likewise.
8475 (tfile_get_traceframe_address): Likewise.
8476 (tfile_trace_find, match_blocktype): Likewise.
8477 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8478 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8479 (tfile_get_trace_state_variable_value): Likewise.
8480 (tfile_has_all_memory, tfile_has_memory): Likewise.
8481 (tfile_has_stack, tfile_has_registers): Likewise.
8482 (tfile_thread_alive, build_traceframe_info): Likewise.
8483 (tfile_traceframe_info, init_tfile_ops): Likewise.
8484 (_initialize_tracepoint): Don't call init_tfile_ops
8485 and add_target_with_completer.
8486 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8487 exec.h, completer.h and filenames.h.
8488 (_initialize_tracefile_tfile): New function.
8489
7951c4eb
YQ
84902014-02-23 Yao Qi <yao@codesourcery.com>
8491
8492 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8493 tracefile-tfile.o.
8494 (HFILES_NO_SRCDIR): Add tracefile.h.
8495 * ctf.c: Include "tracefile.h".
8496 * tracefile.h: New file.
8497 * tracefile.c: New file
8498 * tracefile-tfile.c: New file.
8499 * tracepoint.c: Include "tracefile.h".
8500 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8501 (stop_reason_names): Add const.
8502 (trace_file_writer_xfree): Move it to tracefile.c.
8503 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8504 (trace_save_ctf): Likewise.
8505 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8506 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8507 (tfile_write_header, tfile_write_regblock_type): Likewise.
8508 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8509 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8510 (tfile_write_raw_data, tfile_end): Likewise.
8511 (tfile_trace_file_writer_new): Likewise.
8512 (free_uploaded_tp): Make it extern.
8513 (free_uploaded_tsv): Make it extern.
8514 (_initialize_tracepoint): Move code to register command 'tsave'
8515 to tracefile.c.
8516 * tracepoint.h (stop_reason_names): Declare.
8517 (struct trace_frame_write_ops): Move it to tracefile.h.
8518 (struct trace_file_write_ops): Likewise.
8519 (struct trace_file_writer): Likewise.
8520 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8521
184cd072
JK
85222014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8523
8524 PR gdb/16594
8525 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8526 process name.
8527 (get_cores_used_by_process): New parameter num_cores, use it.
8528 (linux_xfer_osdata_processes): Pass num_cores to it.
8529 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8530 process name.
8531
c63528fc
AK
85322014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8533
8534 * target.c (memory_xfer_partial): Fix length arg in call to
8535 breakpoint_xfer_memory.
8536
d7b30f67
SDJ
85372014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8538
8539 PR tdep/16397
8540 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8541 number comes after the + or - signs. Adjust length of register
8542 name to be extracted.
8543
8838afaf
TT
85442014-02-20 Tom Tromey <tromey@redhat.com>
8545
8546 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8547 (ada_varobj_ops): Mark "extern".
8548
05227d14
TT
85492014-02-20 Tom Tromey <tromey@redhat.com>
8550
8551 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8552
1254eefc
DE
85532014-02-20 Doug Evans <xdje42@gmail.com>
8554
8555 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8556 All callers updated.
8557 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8558 All callers updated.
8559 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8560 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8561
adde2bff
DE
85622014-02-20 lin zuojian <manjian2006@gmail.com>
8563 Joel Brobecker <brobecker@adacore.com>
8564 Doug Evans <xdje42@gmail.com>
8565
8566 PR symtab/16581
8567 * dwarf2read.c (struct die_info): New member in_process.
8568 (reset_die_in_process): New function.
8569 (process_die): Set it at the start, reset when returning.
8570 (inherit_abstract_dies): Only call process_die if origin_child_die
8571 not already being processed.
8572
3be75f87
JB
85732014-02-20 Joel Brobecker <brobecker@adacore.com>
8574
8575 * windows-nat.c (handle_unload_dll): Add function documentation.
8576 (do_initial_windows_stuff): Add comment explaining why we wait
8577 until after inferior initialization has finished before
8578 processing all DLLs.
8579
47f7ffdb
JB
85802014-02-20 Joel Brobecker <brobecker@adacore.com>
8581
8582 * windows-nat.c (get_module_name): Delete.
8583 (windows_get_exec_module_filename): New function, mostly
8584 inspired from get_module_name.
8585 (windows_pid_to_exec_file): Replace call to get_module_name
8586 by call to windows_get_exec_module_filename.
8587
1cd9feab
JB
85882014-02-20 Joel Brobecker <brobecker@adacore.com>
8589
8590 * windows-nat.c (handle_load_dll): Rewrite this function's
8591 introductory comment. Remove code using get_module_name
8592 to get the DLL's name.
8593
ea39ad35
JB
85942014-02-20 Joel Brobecker <brobecker@adacore.com>
8595
8596 * windows-nat.c (get_windows_debug_event): Ignore
8597 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8598 if windows_initialization_done == 0.
8599 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8600 Adjust implementation to always load all DLLs.
8601 (do_initial_windows_stuff): Replace call to
8602 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8603
95060284
JB
86042014-02-20 Joel Brobecker <brobecker@adacore.com>
8605
8606 * windows-nat.c (_initialize_windows_nat): Deprecate the
8607 "dll-symbols" command. Turn the "add-shared-symbol-files"
8608 and "assf" aliases into commands, and deprecate them as well.
8609 * NEWS: Add entry explaining that "dll-symbols" and its two
8610 aliases are now deprecated.
8611
8d4fdb12
JB
86122014-02-20 Joel Brobecker <brobecker@adacore.com>
8613
8614 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8615 new-line in debug string. Remove trailing spaces.
8616
1b281443
SS
86172014-02-19 Stan Shebs <stan@codesourcery.com>
8618
8619 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8620
f7bd0f78
SC
86212014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8622
8623 * NEWS: Add entry for the new feature
8624 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8625 and class values.
8626
399ebc3d
SS
86272014-02-19 Stan Shebs <stan@codesourcery.com>
8628
8629 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8630
c658158d
PA
86312014-02-19 Pedro Alves <palves@redhat.com>
8632
8633 * common/ptid.h (struct ptid): Mention that process_stratum
8634 targets should prefer ptid.lwp.
8635
ba348170
PA
86362014-02-19 Pedro Alves <palves@redhat.com>
8637
8638 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8639 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8640 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8641 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8642 store remote thread ids rather than ptid.tid.
8643 (_initialize_remote): Adjust.
8644
ac01945b
TT
86452014-02-19 Tom Tromey <tromey@redhat.com>
8646
8647 * target.c (target_get_unwinder): Rewrite.
8648 (target_get_tailcall_unwinder): Rewrite.
8649 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8650 (record_btrace_to_get_tailcall_unwinder): New function.
8651 (init_record_btrace_ops): Update.
8652 * target.h (struct target_ops) <to_get_unwinder,
8653 to_get_tailcall_unwinder>: Now function pointers. Use
8654 TARGET_DEFAULT_RETURN.
8655
8476dc92
TT
86562014-02-19 Tom Tromey <tromey@redhat.com>
8657
8658 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8659 argument.
8660 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8661
c0eca49f
TT
86622014-02-19 Tom Tromey <tromey@redhat.com>
8663
8664 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8665 directly.
8666 * target-delegates.c: Rebuild.
8667 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8668 TARGET_DEFAULT_FUNC.
8669 * target.c (default_target_decr_pc_after_break): Rename from
8670 forward_target_decr_pc_after_break. Simplify.
8671 (target_decr_pc_after_break): Rely on delegation.
8672
596b6b39
TT
86732014-02-19 Tom Tromey <tromey@redhat.com>
8674
8675 * target.c (update_current_target): Do not INHERIT to_doc or
8676 to_magic. Do not de_fault to_open or to_close.
8677
b427c1bc
TT
86782014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * gcore.h (objfile_find_memory_regions): Declare.
8681 * gcore.c (objfile_find_memory_regions): No longer static. Add
8682 "self" argument.
8683 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8684 * exec.c: Include gcore.h.
8685 (exec_set_find_memory_regions): Remove.
8686 (exec_find_memory_regions): Remove.
8687 (exec_do_find_memory_regions): Remove.
8688 (init_exec_ops): Update.
8689 * defs.h (exec_set_find_memory_regions): Remove.
8690
9b144037
TT
86912014-02-19 Tom Tromey <tromey@redhat.com>
8692
8693 * target-delegates.c: Rebuild.
8694 * target.h (struct target_ops) <to_extra_thread_info,
8695 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8696 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8697 not 0, in TARGET_DEFAULT_RETURN.
8698
555bbdeb
TT
86992014-02-19 Tom Tromey <tromey@redhat.com>
8700
8701 * target.c (complete_target_initialization): Remove casts. Use
8702 return_zero_has_execution.
8703 (return_zero): Add "ignore" argument.
8704 (return_zero_has_execution): New function.
8705 (init_dummy_target): Remove casts. Use
8706 return_zero_has_execution.
8707
be4ddd36
TT
87082014-02-19 Tom Tromey <tromey@redhat.com>
8709
8710 * target.c (update_current_target): Update comments. Do not
8711 INHERIT to_stratum.
8712
2117c711
TT
87132014-02-19 Tom Tromey <tromey@redhat.com>
8714
8715 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8716 needed.
8717 * corelow.c (core_read_description): Delegate when needed.
8718 * remote.c (remote_read_description): Delegate when needed.
8719 * target-delegates.c: Rebuild.
8720 * target.c (target_read_description): Rewrite.
8721 * target.h (struct target_ops) <to_read_description>: Update
8722 comment. Use TARGET_DEFAULT_RETURN.
8723
e88ef65c
TT
87242014-02-19 Tom Tromey <tromey@redhat.com>
8725
8726 * target-delegates.c: Rebuild.
8727 * target.c (update_current_target): Don't inherit or default
8728 to_can_run.
8729 (find_default_run_target): Check against delegate_can_run.
8730 * target.h (struct target_ops) <to_can_run>: Use
8731 TARGET_DEFAULT_RETURN.
8732
86a0854a
TT
87332014-02-19 Tom Tromey <tromey@redhat.com>
8734
8735 * target-delegates.c: Rebuild.
8736 * target.c (target_disconnect): Unconditionally delegate.
8737 * target.h (struct target_ops) <to_disconnect>: Use
8738 TARGET_DEFAULT_NORETURN.
8739
ee97f592
TT
87402014-02-19 Tom Tromey <tromey@redhat.com>
8741
8742 * record.c (record_stop): Unconditionally delegate.
8743 * target-delegates.c: Rebuild.
8744 * target.c (target_stop_recording): Unconditionally delegate.
8745 * target.h (struct target_ops) <to_stop_recording>: Use
8746 TARGET_DEFAULT_IGNORE.
8747
6dc7fcf4
TT
87482014-02-19 Tom Tromey <tromey@redhat.com>
8749
8750 * target-delegates.c: Rebuild.
8751 * target.c (target_enable_btrace): Unconditionally delegate.
8752 * target.h (struct target_ops) <to_enable_btrace>: Use
8753 TARGET_DEFAULT_NORETURN.
8754
eb5b20d4
TT
87552014-02-19 Tom Tromey <tromey@redhat.com>
8756
8757 * target-delegates.c: Rebuild.
8758 * target.c (target_read_btrace): Unconditionally delegate.
8759 * target.h (struct target_ops) <to_read_btrace>: Use
8760 TARGET_DEFAULT_NORETURN.
8761
9ace480d
TT
87622014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target-delegates.c: Rebuild.
8765 * target.c (target_teardown_btrace): Unconditionally delegate.
8766 * target.h (struct target_ops) <to_teardown_btrace>: Use
8767 TARGET_DEFAULT_NORETURN.
8768
8dc292d3
TT
87692014-02-19 Tom Tromey <tromey@redhat.com>
8770
8771 * target-delegates.c: Rebuild.
8772 * target.c (target_disable_btrace): Unconditionally delegate.
8773 * target.h (struct target_ops) <to_disable_btrace>: Use
8774 TARGET_DEFAULT_NORETURN.
8775
58a5184e
TT
87762014-02-19 Tom Tromey <tromey@redhat.com>
8777
8778 * target-delegates.c: Rebuild.
8779 * target.c (default_search_memory): New function.
8780 (simple_search_memory): Update comment.
8781 (target_search_memory): Unconditionally delegate.
8782 * target.h (struct target_ops) <to_search_memory>: Use
8783 TARGET_DEFAULT_FUNC.
8784
8de71aab
TT
87852014-02-19 Tom Tromey <tromey@redhat.com>
8786
8787 * auxv.c (default_auxv_parse): No longer static.
8788 (target_auxv_parse): Unconditionally delegate.
8789 * auxv.h (default_auxv_parse): Declare.
8790 * target-delegates.c: Rebuild.
8791 * target.c: Include auxv.h.
8792 * target.h (struct target_ops) <to_auxv_parse>: Use
8793 TARGET_DEFAULT_FUNC.
8794
6b2c5a57
TT
87952014-02-19 Tom Tromey <tromey@redhat.com>
8796
8797 * target-delegates.c: Rebuild.
8798 * target.c (target_memory_map): Unconditionally delegate.
8799 * target.h (struct target_ops) <to_memory_map>: Use
8800 TARGET_DEFAULT_RETURN.
8801
cbffc065
TT
88022014-02-19 Tom Tromey <tromey@redhat.com>
8803
8804 * target-delegates.c: Rebuild.
8805 * target.c (target_thread_alive): Unconditionally delegate.
8806 * target.h (struct target_ops) <to_thread_alive>: Use
8807 TARGET_DEFAULT_RETURN.
8808
f09e2107
TT
88092014-02-19 Tom Tromey <tromey@redhat.com>
8810
8811 * target-delegates.c: Rebuild.
8812 * target.c (target_save_record): Unconditionally delegate.
8813 * target.h (struct target_ops) <to_save_record>: Use
8814 TARGET_DEFAULT_NORETURN.
8815
07366925
TT
88162014-02-19 Tom Tromey <tromey@redhat.com>
8817
8818 * target-delegates.c: Rebuild.
8819 * target.c (target_delete_record): Unconditionally delegate.
8820 * target.h (struct target_ops) <to_delete_record>: Use
8821 TARGET_DEFAULT_NORETURN.
8822
dd2e9d25
TT
88232014-02-19 Tom Tromey <tromey@redhat.com>
8824
8825 * target-delegates.c: Rebuild.
8826 * target.c (target_record_is_replaying): Unconditionally
8827 delegate.
8828 * target.h (struct target_ops) <to_record_is_replaying>: Use
8829 TARGET_DEFAULT_RETURN.
8830
671e76cc
TT
88312014-02-19 Tom Tromey <tromey@redhat.com>
8832
8833 * target-delegates.c: Rebuild.
8834 * target.c (target_goto_record_begin): Unconditionally delegate.
8835 * target.h (struct target_ops) <to_goto_record_begin>: Use
8836 TARGET_DEFAULT_NORETURN.
8837
e9179bb3
TT
88382014-02-19 Tom Tromey <tromey@redhat.com>
8839
8840 * target-delegates.c: Rebuild.
8841 * target.c (target_goto_record_end): Unconditionally delegate.
8842 * target.h (struct target_ops) <to_goto_record_end>: Use
8843 TARGET_DEFAULT_NORETURN.
8844
05969c84
TT
88452014-02-19 Tom Tromey <tromey@redhat.com>
8846
8847 * target-delegates.c: Rebuild.
8848 * target.c (target_goto_record): Unconditionally delegate.
8849 * target.h (struct target_ops) <to_goto_record>: Use
8850 TARGET_DEFAULT_NORETURN.
8851
3679abfa
TT
88522014-02-19 Tom Tromey <tromey@redhat.com>
8853
8854 * target-delegates.c: Rebuild.
8855 * target.c (target_insn_history): Unconditionally delegate.
8856 * target.h (struct target_ops) <to_insn_history>: Use
8857 TARGET_DEFAULT_NORETURN.
8858
8444ab58
TT
88592014-02-19 Tom Tromey <tromey@redhat.com>
8860
8861 * target-delegates.c: Rebuild.
8862 * target.c (target_insn_history_from): Unconditionally delegate.
8863 * target.h (struct target_ops) <to_insn_history_from>: Use
8864 TARGET_DEFAULT_NORETURN.
8865
c29302cc
TT
88662014-02-19 Tom Tromey <tromey@redhat.com>
8867
8868 * target-delegates.c: Rebuild.
8869 * target.c (target_insn_history_range): Unconditionally delegate.
8870 * target.h (struct target_ops) <to_insn_history_range>: Use
8871 TARGET_DEFAULT_NORETURN.
8872
170049d4
TT
88732014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target-delegates.c: Rebuild.
8876 * target.c (target_call_history): Unconditionally delegate.
8877 * target.h (struct target_ops) <to_call_history>: Use
8878 TARGET_DEFAULT_NORETURN.
8879
16fc27d6
TT
88802014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target-delegates.c: Rebuild.
8883 * target.c (target_call_history_from): Unconditionally delegate.
8884 * target.h (struct target_ops) <to_call_history_from>: Use
8885 TARGET_DEFAULT_NORETURN.
8886
115d9817
TT
88872014-02-19 Tom Tromey <tromey@redhat.com>
8888
8889 * target-delegates.c: Rebuild.
8890 * target.c (target_call_history_range): Unconditionally delegate.
8891 * target.h (struct target_ops) <to_call_history_range>: Use
8892 TARGET_DEFAULT_NORETURN.
8893
eb276a6b
TT
88942014-02-19 Tom Tromey <tromey@redhat.com>
8895
8896 * target-delegates.c: Rebuild.
8897 * target.c (target_verify_memory): Unconditionally delegate.
8898 * target.h (struct target_ops) <to_verify_memory>: Use
8899 TARGET_DEFAULT_NORETURN.
8900
9e538d0d
TT
89012014-02-19 Tom Tromey <tromey@redhat.com>
8902
8903 * target-delegates.c: Rebuild.
8904 * target.c (target_core_of_thread): Unconditionally delegate.
8905 * target.h (struct target_ops) <to_core_of_thread>: Use
8906 TARGET_DEFAULT_RETURN.
8907
f6fb2925
TT
89082014-02-19 Tom Tromey <tromey@redhat.com>
8909
8910 * target-delegates.c: Rebuild.
8911 * target.c (target_flash_done): Unconditionally delegate.
8912 * target.h (struct target_ops) <to_flash_done>: Use
8913 TARGET_DEFAULT_NORETURN.
8914
e8a6c6ac
TT
89152014-02-19 Tom Tromey <tromey@redhat.com>
8916
8917 * target-delegates.c: Rebuild.
8918 * target.c (target_flash_erase): Unconditionally delegate.
8919 * target.h (struct target_ops) <to_flash_erase>: Use
8920 TARGET_DEFAULT_NORETURN.
8921
7e35c012
TT
89222014-02-19 Tom Tromey <tromey@redhat.com>
8923
8924 * target-delegates.c: Rebuild.
8925 * target.c (target_get_section_table): Unconditionally delegate.
8926 * target.h (struct target_ops) <to_get_section_table>: Use
8927 TARGET_DEFAULT_RETURN.
8928
770234d3
TT
89292014-02-19 Tom Tromey <tromey@redhat.com>
8930
8931 * target-delegates.c: Rebuild.
8932 * target.c (target_pid_to_str): Unconditionally delegate.
8933 (init_dummy_target): Don't initialize to_pid_to_str.
8934 (default_pid_to_str): Rename from dummy_pid_to_str.
8935 * target.h (struct target_ops) <to_pid_to_str>: Use
8936 TARGET_DEFAULT_FUNC.
8937
09b0dc2b
TT
89382014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * target-delegates.c: Rebuild.
8941 * target.c (target_find_new_threads): Unconditionally delegate.
8942 * target.h (struct target_ops) <to_find_new_threads>: Use
8943 TARGET_DEFAULT_RETURN.
8944
7d4f8efa
TT
89452014-02-19 Tom Tromey <tromey@redhat.com>
8946
8947 * target-delegates.c: Rebuild.
8948 * target.c (target_program_signals): Unconditionally delegate.
8949 * target.h (struct target_ops) <to_program_signals>: Use
8950 TARGET_DEFAULT_IGNORE.
8951
035cad7f
TT
89522014-02-19 Tom Tromey <tromey@redhat.com>
8953
8954 * target-delegates.c: Rebuild.
8955 * target.c (target_pass_signals): Unconditionally delegate.
8956 * target.h (struct target_ops) <to_pass_signals>: Use
8957 TARGET_DEFAULT_IGNORE.
8958
8d657035
TT
89592014-02-19 Tom Tromey <tromey@redhat.com>
8960
8961 * target-delegates.c: Rebuild.
8962 * target.c (default_mourn_inferior): New function.
8963 (target_mourn_inferior): Unconditionally delegate.
8964 * target.h (struct target_ops) <to_mourn_inferior>: Use
8965 TARGET_DEFAULT_FUNC.
8966
098dba18
TT
89672014-02-19 Tom Tromey <tromey@redhat.com>
8968
8969 * target-delegates.c: Rebuild.
8970 * target.c (default_follow_fork): New function.
8971 (target_follow_fork): Unconditionally delegate.
8972 * target.h (struct target_ops) <to_follow_fork>: Use
8973 TARGET_DEFAULT_FUNC.
8974
423a4807
TT
89752014-02-19 Tom Tromey <tromey@redhat.com>
8976
8977 * target-delegates.c: Rebuild.
8978 * target.c (target_kill): Unconditionally delegate.
8979 * target.h (struct target_ops) <to_kill>: Use
8980 TARGET_DEFAULT_NORETURN.
8981
6c7e5e5c
TT
89822014-02-19 Tom Tromey <tromey@redhat.com>
8983
8984 * target-delegates.c: Rebuild.
8985 * target.c (target_masked_watch_num_registers): Unconditionally
8986 delegate.
8987 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8988 Use TARGET_DEFAULT_RETURN.
8989
8b1c364c
TT
89902014-02-19 Tom Tromey <tromey@redhat.com>
8991
8992 * target-delegates.c: Rebuild.
8993 * target.c (target_remove_mask_watchpoint): Unconditionally
8994 delegate.
8995 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8996 TARGET_DEFAULT_RETURN.
8997
cd4ae029
TT
89982014-02-19 Tom Tromey <tromey@redhat.com>
8999
9000 * target-delegates.c: Rebuild.
9001 * target.c (target_insert_mask_watchpoint): Unconditionally
9002 delegate.
9003 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9004 TARGET_DEFAULT_RETURN.
9005
a134316b
TT
90062014-02-19 Tom Tromey <tromey@redhat.com>
9007
9008 * target-delegates.c: Rebuild.
9009 * target.c (target_ranged_break_num_registers): Unconditionally
9010 delegate.
9011 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9012 Use TARGET_DEFAULT_RETURN.
9013
ad5989bd
TT
90142014-02-19 Tom Tromey <tromey@redhat.com>
9015
9016 * target-delegates.c: Rebuild.
9017 * target.c (target_fetch_registers): Unconditionally delegate.
9018 * target.h (struct target_ops) <to_fetch_registers>: Use
9019 TARGET_DEFAULT_NORETURN.
9020
46ee7e8d
TT
90212014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target-delegates.c: Rebuild.
9024 * target.c (update_current_target): Don't inherit or default
9025 to_stop.
9026 * target.h (struct target_ops) <to_stop>: Use
9027 TARGET_DEFAULT_IGNORE.
9028
843f59ed
TT
90292014-02-19 Tom Tromey <tromey@redhat.com>
9030
9031 * target-delegates.c: Rebuild.
9032 * target.c (update_current_target): Don't inherit or default
9033 to_can_run_breakpoint_commands.
9034 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9035 Use TARGET_DEFAULT_RETURN.
9036
ccfde2a0
TT
90372014-02-19 Tom Tromey <tromey@redhat.com>
9038
9039 * target-delegates.c: Rebuild.
9040 * target.c (update_current_target): Don't inherit or default
9041 to_supports_evaluation_of_breakpoint_conditions.
9042 * target.h (struct target_ops)
9043 <to_supports_evaluation_of_breakpoint_conditions>: Use
9044 TARGET_DEFAULT_RETURN.
9045
0de91722
TT
90462014-02-19 Tom Tromey <tromey@redhat.com>
9047
9048 * target-delegates.c: Rebuild.
9049 * target.c (update_current_target): Don't inherit or default
9050 to_augmented_libraries_svr4_read.
9051 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9052 Use TARGET_DEFAULT_RETURN.
9053
9a7d8b48
TT
90542014-02-19 Tom Tromey <tromey@redhat.com>
9055
9056 * target-delegates.c: Rebuild.
9057 * target.c (update_current_target): Don't inherit or default
9058 to_can_use_agent.
9059 * target.h (struct target_ops) <to_can_use_agent>: Use
9060 TARGET_DEFAULT_RETURN.
9061
d9db5b21
TT
90622014-02-19 Tom Tromey <tromey@redhat.com>
9063
9064 * target-delegates.c: Rebuild.
9065 * target.c (update_current_target): Don't inherit or default
9066 to_use_agent.
9067 * target.h (struct target_ops) <to_use_agent>: Use
9068 TARGET_DEFAULT_NORETURN.
9069
92155eeb
TT
90702014-02-19 Tom Tromey <tromey@redhat.com>
9071
9072 * target-delegates.c: Rebuild.
9073 * target.c (update_current_target): Don't inherit or default
9074 to_traceframe_info.
9075 (return_null): Remove.
9076 * target.h (struct target_ops) <to_traceframe_info>: Use
9077 TARGET_DEFAULT_RETURN.
9078
d6522a22
TT
90792014-02-19 Tom Tromey <tromey@redhat.com>
9080
9081 * target-delegates.c: Rebuild.
9082 * target.c (update_current_target): Don't inherit or default
9083 to_static_tracepoint_markers_by_strid.
9084 * target.h (struct target_ops)
9085 <to_static_tracepoint_markers_by_strid>: Use
9086 TARGET_DEFAULT_NORETURN.
9087
4c3e4425
TT
90882014-02-19 Tom Tromey <tromey@redhat.com>
9089
9090 * target-delegates.c: Rebuild.
9091 * target.c (update_current_target): Don't inherit or default
9092 to_static_tracepoint_marker_at.
9093 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9094 Use TARGET_DEFAULT_RETURN.
9095
dcd6917f
TT
90962014-02-19 Tom Tromey <tromey@redhat.com>
9097
9098 * target-delegates.c: Rebuild.
9099 * target.c (update_current_target): Don't inherit or default
9100 to_set_permissions.
9101 * target.h (struct target_ops) <to_set_permissions>: Use
9102 TARGET_DEFAULT_IGNORE.
9103
22bcceee
TT
91042014-02-19 Tom Tromey <tromey@redhat.com>
9105
9106 * target-delegates.c: Rebuild.
9107 * target.c (update_current_target): Don't inherit or default
9108 to_get_tib_address.
9109 * target.h (struct target_ops) <to_get_tib_address>: Use
9110 TARGET_DEFAULT_NORETURN.
9111
8586ccaa
TT
91122014-02-19 Tom Tromey <tromey@redhat.com>
9113
9114 * target-delegates.c: Rebuild.
9115 * target.c (update_current_target): Don't inherit or default
9116 to_set_trace_notes.
9117 * target.h (struct target_ops) <to_set_trace_notes>: Use
9118 TARGET_DEFAULT_RETURN.
9119
91df8d1d
TT
91202014-02-19 Tom Tromey <tromey@redhat.com>
9121
9122 * target-delegates.c: Rebuild.
9123 * target.c (update_current_target): Don't initialize
9124 to_set_trace_buffer_size.
9125 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9126 TARGET_DEFAULT_IGNORE.
9127
8d526939
TT
91282014-02-19 Tom Tromey <tromey@redhat.com>
9129
9130 * target-delegates.c: Rebuild.
9131 * target.c (update_current_target): Don't inherit or default
9132 to_set_circular_trace_buffer.
9133 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
9134 TARGET_DEFAULT_IGNORE.
9135
0bcfeddf
TT
91362014-02-19 Tom Tromey <tromey@redhat.com>
9137
9138 * target-delegates.c: Rebuild.
9139 * target.c (update_current_target): Don't inherit or default
9140 to_set_disconnected_tracing.
9141 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
9142 TARGET_DEFAULT_IGNORE.
9143
9249843f
TT
91442014-02-19 Tom Tromey <tromey@redhat.com>
9145
9146 * target-delegates.c: Rebuild.
9147 * target.c (update_current_target): Don't inherit or default
9148 to_get_min_fast_tracepoint_insn_len.
9149 (return_minus_one): Remove.
9150 * target.h (struct target_ops)
9151 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
9152
ace92e7d
TT
91532014-02-19 Tom Tromey <tromey@redhat.com>
9154
9155 * target-delegates.c: Rebuild.
9156 * target.c (update_current_target): Don't inherit or default
9157 to_get_raw_trace_data.
9158 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
9159 TARGET_DEFAULT_NORETURN.
9160
08120467
TT
91612014-02-19 Tom Tromey <tromey@redhat.com>
9162
9163 * target-delegates.c: Rebuild.
9164 * target.c (update_current_target): Don't inherit or default
9165 to_upload_trace_state_variables.
9166 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9167 Use TARGET_DEFAULT_RETURN.
9168
1e949b00
TT
91692014-02-19 Tom Tromey <tromey@redhat.com>
9170
9171 * target-delegates.c: Rebuild.
9172 * target.c (update_current_target): Don't inherit or default
9173 to_upload_tracepoints.
9174 * target.h (struct target_ops) <to_upload_tracepoints>: Use
9175 TARGET_DEFAULT_RETURN.
9176
a2e6c147
TT
91772014-02-19 Tom Tromey <tromey@redhat.com>
9178
9179 * target-delegates.c: Rebuild.
9180 * target.c (update_current_target): Don't inherit or default
9181 to_save_trace_data.
9182 * target.h (struct target_ops) <to_save_trace_data>: Use
9183 TARGET_DEFAULT_NORETURN.
9184
959bcd0b
TT
91852014-02-19 Tom Tromey <tromey@redhat.com>
9186
9187 * target-delegates.c: Rebuild.
9188 * target.c (update_current_target): Don't inherit or default
9189 to_get_trace_state_variable_value.
9190 * target.h (struct target_ops)
9191 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9192
afc94e66
TT
91932014-02-19 Tom Tromey <tromey@redhat.com>
9194
9195 * target-delegates.c: Rebuild.
9196 * target.c (update_current_target): Don't inherit or default
9197 to_trace_find.
9198 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
9199
e51c07ea
TT
92002014-02-19 Tom Tromey <tromey@redhat.com>
9201
9202 * target-delegates.c: Rebuild.
9203 * target.c (update_current_target): Don't inherit or default
9204 to_trace_stop.
9205 * target.h (struct target_ops) <to_trace_stop>: Use
9206 TARGET_DEFAULT_NORETURN.
9207
6fea14cd
TT
92082014-02-19 Tom Tromey <tromey@redhat.com>
9209
9210 * target-delegates.c: Rebuild.
9211 * target.c (update_current_target): Don't inherit or default
9212 to_get_tracepoint_status.
9213 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
9214 TARGET_DEFAULT_NORETURN.
9215
4072d4ff
TT
92162014-02-19 Tom Tromey <tromey@redhat.com>
9217
9218 * target-delegates.c: Rebuild.
9219 * target.c (update_current_target): Don't inherit or default
9220 to_get_trace_status.
9221 * target.h (struct target_ops) <to_get_trace_status>: Use
9222 TARGET_DEFAULT_RETURN.
9223
25da2e80
TT
92242014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target-delegates.c: Rebuild.
9227 * target.c (update_current_target): Don't inherit or default
9228 to_trace_start.
9229 * target.h (struct target_ops) <to_trace_start>: Use
9230 TARGET_DEFAULT_NORETURN.
9231
86dd181d
TT
92322014-02-19 Tom Tromey <tromey@redhat.com>
9233
9234 * target-delegates.c: Rebuild.
9235 * target.c (update_current_target): Don't inherit or default
9236 to_trace_set_readonly_regions.
9237 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9238 Use TARGET_DEFAULT_NORETURN.
9239
05c41993
TT
92402014-02-19 Tom Tromey <tromey@redhat.com>
9241
9242 * target-delegates.c: Rebuild.
9243 * target.c (update_current_target): Don't inherit or default
9244 to_disable_tracepoint.
9245 * target.h (struct target_ops) <to_disable_tracepoint>: Use
9246 TARGET_DEFAULT_NORETURN.
9247
151f70f1
TT
92482014-02-19 Tom Tromey <tromey@redhat.com>
9249
9250 * target-delegates.c: Rebuild.
9251 * target.c (update_current_target): Don't inherit or default
9252 to_enable_tracepoint.
9253 * target.h (struct target_ops) <to_enable_tracepoint>: Use
9254 TARGET_DEFAULT_NORETURN.
9255
94eb98b9
TT
92562014-02-19 Tom Tromey <tromey@redhat.com>
9257
9258 * target-delegates.c: Rebuild.
9259 * target.c (update_current_target): Don't inherit or default
9260 to_download_trace_state_variable.
9261 * target.h (struct target_ops) <to_download_trace_state_variable>:
9262 Use TARGET_DEFAULT_NORETURN.
9263
719acc4a
TT
92642014-02-19 Tom Tromey <tromey@redhat.com>
9265
9266 * target-delegates.c: Rebuild.
9267 * target.c (update_current_target): Don't inherit or default
9268 to_can_download_tracepoint.
9269 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
9270 TARGET_DEFAULT_RETURN.
9271
9a980a22
TT
92722014-02-19 Tom Tromey <tromey@redhat.com>
9273
9274 * target-delegates.c: Rebuild.
9275 * target.c (update_current_target): Don't inherit or default
9276 to_download_tracepoint.
9277 * target.h (struct target_ops) <to_download_tracepoint>: Use
9278 TARGET_DEFAULT_NORETURN.
9279
5536135b
TT
92802014-02-19 Tom Tromey <tromey@redhat.com>
9281
9282 * target-delegates.c: Rebuild.
9283 * target.c (update_current_target): Don't inherit or default
9284 to_trace_init.
9285 * target.h (struct target_ops) <to_trace_init>: Use
9286 TARGET_DEFAULT_RETURN.
9287
9409d39e
TT
92882014-02-19 Tom Tromey <tromey@redhat.com>
9289
9290 * target-delegates.c: Rebuild.
9291 * target.c (update_current_target): Don't inherit or default
9292 to_supports_string_tracing.
9293 * target.h (struct target_ops) <to_supports_string_tracing>: Use
9294 TARGET_DEFAULT_RETURN.
9295
aab1b22d
TT
92962014-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_supports_enable_disable_tracepoint.
9301 * target.h (struct target_ops)
9302 <to_supports_enable_disable_tracepoint>: Use
9303 TARGET_DEFAULT_RETURN.
9304
a7304748
TT
93052014-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_supports_multi_process.
9310 * target.h (struct target_ops) <to_supports_multi_process>: Use
9311 TARGET_DEFAULT_RETURN.
9312
4229b31d
TT
93132014-02-19 Tom Tromey <tromey@redhat.com>
9314
9315 * target-delegates.c: Rebuild.
9316 * target.c (update_current_target): Don't inherit or default
9317 to_get_ada_task_ptid.
9318 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
9319 TARGET_DEFAULT_FUNC.
9320
43eba180
TT
93212014-02-19 Tom Tromey <tromey@redhat.com>
9322
9323 * target-delegates.c: Rebuild.
9324 * target.c (update_current_target): Don't inherit or default
9325 to_thread_architecture.
9326 * target.h (struct target_ops) <to_thread_architecture>: Use
9327 TARGET_DEFAULT_FUNC.
9328
fe31bf5b
TT
93292014-02-19 Tom Tromey <tromey@redhat.com>
9330
9331 * target-delegates.c: Rebuild.
9332 * target.c (update_current_target): Don't inherit or default
9333 to_execution_direction.
9334 * target.h (struct target_ops) <to_execution_direction>: Use
9335 TARGET_DEFAULT_FUNC.
9336
53e1cfc7
TT
93372014-02-19 Tom Tromey <tromey@redhat.com>
9338
9339 * target-delegates.c: Rebuild.
9340 * target.c (update_current_target): Don't inherit or default
9341 to_can_execute_reverse.
9342 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9343 TARGET_DEFAULT_RETURN.
9344 (target_can_execute_reverse): Unconditionally delegate.
9345
9bb9d61d
TT
93462014-02-19 Tom Tromey <tromey@redhat.com>
9347
9348 * target-delegates.c: Rebuild.
9349 * target.c (update_current_target): Don't inherit or default
9350 to_goto_bookmark.
9351 (dummy_goto_bookmark): Remove.
9352 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9353 * target.h (struct target_ops) <to_goto_bookmark>: Use
9354 TARGET_DEFAULT_NORETURN.
9355
3dbafbbb
TT
93562014-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_get_bookmark.
9361 (dummy_get_bookmark): Remove.
9362 (init_dummy_target): Don't inherit or default to_get_bookmark.
9363 * target.h (struct target_ops) <to_get_bookmark>: Use
9364 TARGET_DEFAULT_NORETURN
9365
16f796b1
TT
93662014-02-19 Tom Tromey <tromey@redhat.com>
9367
9368 * target-delegates.c: Rebuild.
9369 * target.c (update_current_target): Don't inherit or default
9370 to_make_corefile_notes.
9371 (init_dummy_target): Don't initialize to_make_corefile_notes.
9372 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9373 TARGET_DEFAULT_FUNC.
9374
0b5a2719
TT
93752014-02-19 Tom Tromey <tromey@redhat.com>
9376
9377 * target-delegates.c: Rebuild.
9378 * target.c (update_current_target): Don't inherit or default
9379 to_find_memory_regions.
9380 (init_dummy_target): Don't initialize to_find_memory_regions.
9381 * target.h (struct target_ops) <to_find_memory_regions>: Use
9382 TARGET_DEFAULT_FUNC.
9383
d9cb0195
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * target-delegates.c: Rebuild.
9387 * target.c (update_current_target): Don't inherit or default
9388 to_log_command.
9389 * target.h (struct target_ops) <to_log_command>: Use
9390 TARGET_DEFAULT_IGNORE.
9391 (target_log_command): Unconditionally delegate.
9392
830ca330
TT
93932014-02-19 Tom Tromey <tromey@redhat.com>
9394
9395 * target-delegates.c: Rebuild.
9396 * target.c (update_current_target): Don't inherit or default
9397 to_pid_to_exec_file.
9398 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9399 TARGET_DEFAULT_RETURN.
9400
825828fc
TT
94012014-02-19 Tom Tromey <tromey@redhat.com>
9402
9403 * target-delegates.c: Rebuild.
9404 * target.c (update_current_target): Don't inherit or default
9405 to_thread_name.
9406 (target_thread_name): Unconditionally delegate.
9407 * target.h (struct target_ops) <to_thread_name>: Use
9408 TARGET_DEFAULT_RETURN.
9409
4a7e6dda
TT
94102014-02-19 Tom Tromey <tromey@redhat.com>
9411
9412 * target-delegates.c: Rebuild.
9413 * target.c (update_current_target): Don't inherit or default
9414 to_extra_thread_info.
9415 * target.h (struct target_ops) <to_extra_thread_info>: Use
9416 TARGET_DEFAULT_RETURN.
9417
0db88c1d
TT
94182014-02-19 Tom Tromey <tromey@redhat.com>
9419
9420 * target-delegates.c: Rebuild.
9421 * target.c (update_current_target): Don't inherit or default
9422 to_has_exited.
9423 * target.h (struct target_ops) <to_has_exited>: Use
9424 TARGET_DEFAULT_RETURN..
9425
6a9fa051
TT
94262014-02-19 Tom Tromey <tromey@redhat.com>
9427
9428 * target-delegates.c: Rebuild.
9429 * target.c (update_current_target): Don't inherit or default
9430 to_set_syscall_catchpoint.
9431 (return_one): Remove.
9432 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9433 TARGET_DEFAULT_RETURN.
9434
62f64d7a
TT
94352014-02-19 Tom Tromey <tromey@redhat.com>
9436
9437 * target-delegates.c: Rebuild.
9438 * target.c (update_current_target): Don't inherit or default
9439 to_insert_exec_catchpoint.
9440 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9441 TARGET_DEFAULT_RETURN.
9442
cda0f38c
TT
94432014-01-08 Tom Tromey <tromey@redhat.com>
9444
9445 * target-delegates.c: Rebuild.
9446 * target.c (update_current_target): Don't inherit or default
9447 to_insert_exec_catchpoint.
9448 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9449 TARGET_DEFAULT_RETURN.
9450
95c3375e
TT
94512014-02-19 Tom Tromey <tromey@redhat.com>
9452
9453 * target-delegates.c: Rebuild.
9454 * target.c (update_current_target): Don't inherit or default
9455 to_remove_vfork_catchpoint.
9456 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9457 TARGET_DEFAULT_RETURN.
9458
7e18a8dc
TT
94592014-02-19 Tom Tromey <tromey@redhat.com>
9460
9461 * target-delegates.c: Rebuild.
9462 * target.c (update_current_target): Don't inherit or default
9463 to_insert_vfork_catchpoint.
9464 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9465 TARGET_DEFAULT_RETURN.
9466
e1a21fb7
TT
94672014-02-19 Tom Tromey <tromey@redhat.com>
9468
9469 * target-delegates.c: Rebuild.
9470 * target.c (update_current_target): Don't inherit or default
9471 to_remove_fork_catchpoint.
9472 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9473 TARGET_DEFAULT_RETURN.
9474
5958ebeb
TT
94752014-02-19 Tom Tromey <tromey@redhat.com>
9476
9477 * target-delegates.c: Rebuild.
9478 * target.c (update_current_target): Don't inherit or default
9479 to_insert_fork_catchpoint.
9480 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9481 TARGET_DEFAULT_RETURN.
9482
340ba4bf
TT
94832014-02-19 Tom Tromey <tromey@redhat.com>
9484
9485 * target-delegates.c: Rebuild.
9486 * target.c (update_current_target): Don't inherit or default
9487 to_post_startup_inferior.
9488 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9489 TARGET_DEFAULT_IGNORE.
9490
7634da87
TT
94912014-02-19 Tom Tromey <tromey@redhat.com>
9492
9493 * target-delegates.c: Rebuild.
9494 * target.c (update_current_target): Don't inherit or default
9495 to_load.
9496 * target.h (struct target_ops) <to_load>: Use
9497 TARGET_DEFAULT_NORETURN.
9498
e19e919f
TT
94992014-02-19 Tom Tromey <tromey@redhat.com>
9500
9501 * target-delegates.c: Rebuild.
9502 * target.c (update_current_target): Don't inherit or default
9503 to_terminal_info.
9504 * target.h (struct target_ops) <to_terminal_info>: Use
9505 TARGET_DEFAULT_FUNC.
9506
c6ea8f79
TT
95072014-02-19 Tom Tromey <tromey@redhat.com>
9508
9509 * target-delegates.c: Rebuild.
9510 * target.c (update_current_target): Don't inherit or default
9511 to_terminal_save_ours.
9512 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9513 TARGET_DEFAULT_IGNORE.
9514
e4a733f1
TT
95152014-02-19 Tom Tromey <tromey@redhat.com>
9516
9517 * target-delegates.c: Rebuild.
9518 * target.c (update_current_target): Don't inherit or default
9519 to_terminal_ours.
9520 * target.h (struct target_ops) <to_terminal_ours>: Use
9521 TARGET_DEFAULT_IGNORE.
9522
74fcbef9
TT
95232014-02-19 Tom Tromey <tromey@redhat.com>
9524
9525 * target-delegates.c: Rebuild.
9526 * target.c (update_current_target): Don't inherit or default
9527 to_terminal_ours_for_output.
9528 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9529 TARGET_DEFAULT_IGNORE.
9530
ddeaacc9
TT
95312014-02-19 Tom Tromey <tromey@redhat.com>
9532
9533 * target-delegates.c: Rebuild.
9534 * target.c (update_current_target): Don't inherit or default
9535 to_terminal_inferior.
9536 * target.h (struct target_ops) <to_terminal_inferior>: Use
9537 TARGET_DEFAULT_IGNORE.
9538
0343661d
TT
95392014-02-19 Tom Tromey <tromey@redhat.com>
9540
9541 * target-delegates.c: Rebuild.
9542 * target.c (update_current_target): Don't inherit or default
9543 to_terminal_init.
9544 * target.h (struct target_ops) <to_terminal_init>: Use
9545 TARGET_DEFAULT_IGNORE.
9546
77cdffe9
TT
95472014-02-19 Tom Tromey <tromey@redhat.com>
9548
9549 * target-delegates.c: Rebuild.
9550 * target.c (update_current_target): Don't inherit or default
9551 to_can_accel_watchpoint_condition.
9552 * target.h (struct target_ops)
9553 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9554
d03655e4
TT
95552014-02-19 Tom Tromey <tromey@redhat.com>
9556
9557 * target-delegates.c: Rebuild.
9558 * target.c (update_current_target): Don't inherit or default
9559 to_region_ok_for_hw_watchpoint.
9560 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9561 Use TARGET_DEFAULT_FUNC.
9562
65f160a9
TT
95632014-02-19 Tom Tromey <tromey@redhat.com>
9564
9565 * target-delegates.c: Rebuild.
9566 * target.c (update_current_target): Don't inherit or default
9567 to_watchpoint_addr_within_range.
9568 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9569 Use TARGET_DEFAULT_FUNC.
9570
61dd109f
TT
95712014-02-19 Tom Tromey <tromey@redhat.com>
9572
9573 * target-delegates.c: Rebuild.
9574 * target.c (update_current_target): Don't inherit or default
9575 to_remove_watchpoint.
9576 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9577 TARGET_DEFAULT_NORETURN.
9578
016facd4
TT
95792014-02-19 Tom Tromey <tromey@redhat.com>
9580
9581 * target-delegates.c: Rebuild.
9582 * target.c (update_current_target): Don't inherit or default
9583 to_insert_watchpoint.
9584 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9585 TARGET_DEFAULT_RETURN.
9586
418dabac
TT
95872014-02-19 Tom Tromey <tromey@redhat.com>
9588
9589 * target-delegates.c: Rebuild.
9590 * target.c (update_current_target): Don't inherit or default
9591 to_remove_hw_breakpoint.
9592 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9593 TARGET_DEFAULT_RETURN.
9594
61b371f9
TT
95952014-02-19 Tom Tromey <tromey@redhat.com>
9596
9597 * target-delegates.c: Rebuild.
9598 * target.c (update_current_target): Don't inherit or default
9599 to_insert_hw_breakpoint.
9600 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9601 TARGET_DEFAULT_RETURN.
9602
52b51d06
TT
96032014-02-19 Tom Tromey <tromey@redhat.com>
9604
9605 * target-delegates.c: Rebuild.
9606 * target.c (update_current_target): Don't inherit or default
9607 to_can_use_hw_breakpoint.
9608 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9609 TARGET_DEFAULT_RETURN.
9610
f86e59b2
TT
96112014-02-19 Tom Tromey <tromey@redhat.com>
9612
9613 * target-delegates.c: Rebuild.
9614 * target.c (update_current_target): Don't inherit or default
9615 to_files_info.
9616 * target.h (struct target_ops) <to_files_info>: Use
9617 TARGET_DEFAULT_IGNORE.
9618
6c628163
TT
96192014-02-19 Tom Tromey <tromey@redhat.com>
9620
9621 * target-delegates.c: Rebuild.
9622 * target.c (update_current_target): Don't inherit or default
9623 to_store.
9624 * target.h (struct target_ops) <to_store>: Use
9625 TARGET_DEFAULT_NORETURN.
9626
bebd3233
TT
96272014-02-19 Tom Tromey <tromey@redhat.com>
9628
9629 * target-delegates.c: Rebuild.
9630 * target.c (update_current_target): Don't inherit or default
9631 to_post_attach.
9632 * target.h (struct target_ops) <to_post_attach>: Use
9633 TARGET_DEFAULT_IGNORE.
9634
a53f3625
TT
96352014-02-19 Tom Tromey <tromey@redhat.com>
9636
9637 * target-delegates.c: Rebuild.
9638 * target.c (update_current_target): Don't inherit or default
9639 to_rcmd.
9640 (default_rcmd): New function.
9641 (do_monitor_command): Unconditionally delegate.
9642 * target.h (struct target_ops) <to_rmcd>: Use
9643 TARGET_DEFAULT_FUNC.
9644
e9a29200
TT
96452014-02-19 Tom Tromey <tromey@redhat.com>
9646
9647 * target-delegates.c: Rebuild.
9648 * target.c (init_dummy_target): Don't initialize to_attach.
9649 (target_attach): Unconditionally delegate.
9650 * target.h (struct target_ops) <to_attach>: Use
9651 TARGET_DEFAULT_FUNC.
9652
09da0d0a
TT
96532014-02-19 Tom Tromey <tromey@redhat.com>
9654
9655 * target-delegates.c: Rebuild.
9656 * target.c (target_detach): Unconditionally delegate.
9657 (init_dummy_target): Don't initialize to_detach.
9658 * target.h (struct target_ops) <to_detach>: Use
9659 TARGET_DEFAULT_IGNORE.
9660
5436ff03
TT
96612014-02-19 Tom Tromey <tromey@redhat.com>
9662
9663 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9664 Add argument.
9665 (target_augmented_libraries_svr4_read): Add argument.
9666 * target.c (update_current_target): Update.
9667 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9668 argument.
9669
f0d960ea
TT
96702014-02-19 Tom Tromey <tromey@redhat.com>
9671
9672 * target.h (struct target_ops) <to_call_history_range>: Add
9673 argument.
9674 * target.c (target_call_history_range): Add argument.
9675 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9676 argument.
9677 (record_btrace_call_history_from): Update.
9678
ec0aea04
TT
96792014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target.h (struct target_ops) <to_call_history_from>: Add
9682 argument.
9683 * target.c (target_call_history_from): Add argument.
9684 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9685 argument.
9686
5df2fcba
TT
96872014-02-19 Tom Tromey <tromey@redhat.com>
9688
9689 * target.h (struct target_ops) <to_call_history>: Add argument.
9690 * target.c (target_call_history): Add argument.
9691 * record-btrace.c (record_btrace_call_history): Add 'self'
9692 argument.
9693
4e99c6b7
TT
96942014-02-19 Tom Tromey <tromey@redhat.com>
9695
9696 * target.h (struct target_ops) <to_insn_history_range>: Add
9697 argument.
9698 * target.c (target_insn_history_range): Add argument.
9699 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9700 argument.
9701 (record_btrace_insn_history_from): Update.
9702
9abc3ff3
TT
97032014-02-19 Tom Tromey <tromey@redhat.com>
9704
9705 * target.h (struct target_ops) <to_insn_history_from>: Add
9706 argument.
9707 * target.c (target_insn_history_from): Add argument.
9708 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9709 argument.
9710
7a6c5609
TT
97112014-02-19 Tom Tromey <tromey@redhat.com>
9712
9713 * target.h (struct target_ops) <to_insn_history>: Add argument.
9714 * target.c (target_insn_history): Add argument.
9715 * record-btrace.c (record_btrace_insn_history): Add 'self'
9716 argument.
9717
606183ac
TT
97182014-02-19 Tom Tromey <tromey@redhat.com>
9719
9720 * target.h (struct target_ops) <to_goto_record>: Add argument.
9721 * target.c (target_goto_record): Add argument.
9722 * record-full.c (record_full_goto): Add 'self' argument.
9723 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9724
307a1b91
TT
97252014-02-19 Tom Tromey <tromey@redhat.com>
9726
9727 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9728 * target.c (target_goto_record_end): Add argument.
9729 * record-full.c (record_full_goto_end): Add 'self' argument.
9730 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9731
08475817
TT
97322014-02-19 Tom Tromey <tromey@redhat.com>
9733
9734 * target.h (struct target_ops) <to_goto_record_begin>: Add
9735 argument.
9736 * target.c (target_goto_record_begin): Add argument.
9737 * record-full.c (record_full_goto_begin): Add 'self' argument.
9738 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9739 argument.
9740
1c63c994
TT
97412014-02-19 Tom Tromey <tromey@redhat.com>
9742
9743 * target.h (struct target_ops) <to_record_is_replaying>: Add
9744 argument.
9745 * target.c (target_record_is_replaying): Add argument.
9746 * record-full.c (record_full_is_replaying): Add 'self' argument.
9747 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9748 argument.
9749 (record_btrace_xfer_partial, record_btrace_store_registers)
9750 (record_btrace_prepare_to_store, record_btrace_resume)
9751 (record_btrace_wait, record_btrace_decr_pc_after_break)
9752 (record_btrace_find_new_threads, record_btrace_thread_alive):
9753 Update.
9754
d1b55219
TT
97552014-02-19 Tom Tromey <tromey@redhat.com>
9756
9757 * target.h (struct target_ops) <to_delete_record>: Add argument.
9758 * target.c (target_delete_record): Add argument.
9759 * record-full.c (record_full_delete): Add 'self' argument.
9760
1390f529
TT
97612014-02-19 Tom Tromey <tromey@redhat.com>
9762
9763 * target.h (struct target_ops) <to_save_record>: Add argument.
9764 * target.c (target_save_record): Add argument.
9765 * record-full.c (record_full_save): Add 'self' argument.
9766 (record_full_save): Add 'self' argument.
9767
630d6a4a
TT
97682014-02-19 Tom Tromey <tromey@redhat.com>
9769
9770 * target.h (struct target_ops) <to_info_record>: Add argument.
9771 * target.c (target_info_record): Add argument.
9772 * record.c (info_record_command): Add argument.
9773 * record-full.c (record_full_info): Add 'self' argument.
9774 * record-btrace.c (record_btrace_info): Add 'self' argument.
9775
c6cd7c02
TT
97762014-02-19 Tom Tromey <tromey@redhat.com>
9777
9778 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9779 * target.c (target_stop_recording): Add argument.
9780 * record.c (record_stop): Add argument.
9781 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9782 argument.
9783
39c49f83
TT
97842014-02-19 Tom Tromey <tromey@redhat.com>
9785
9786 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9787 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9788 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9789 argument.
9790 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9791 (_initialize_amd64_linux_nat): Use it.
9792 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9793 (_initialize_i386_linux_nat): Use it.
9794
1777056d
TT
97952014-02-19 Tom Tromey <tromey@redhat.com>
9796
9797 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9798 * target.c (target_teardown_btrace): Add argument.
9799 * remote.c (remote_teardown_btrace): Add 'self' argument.
9800 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9801 argument.
9802 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9803 argument.
9804
25e95349
TT
98052014-02-19 Tom Tromey <tromey@redhat.com>
9806
9807 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9808 * target.c (target_disable_btrace): Add argument.
9809 * remote.c (remote_disable_btrace): Add 'self' argument.
9810 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9811 argument.
9812 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9813 argument.
9814
e3c49f88
TT
98152014-02-19 Tom Tromey <tromey@redhat.com>
9816
9817 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9818 * target.c (target_enable_btrace): Add argument.
9819 * remote.c (remote_enable_btrace): Add 'self' argument.
9820 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9821 argument.
9822 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9823 argument.
9824
fe38f897
TT
98252014-02-19 Tom Tromey <tromey@redhat.com>
9826
9827 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9828 (target_can_use_agent): Add argument.
9829 * target.c (update_current_target): Update.
9830 * remote.c (remote_can_use_agent): Add 'self' argument.
9831 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9832
2c152180
TT
98332014-02-19 Tom Tromey <tromey@redhat.com>
9834
9835 * target.h (struct target_ops) <to_use_agent>: Add argument.
9836 (target_use_agent): Add argument.
9837 * target.c (update_current_target): Update.
9838 * remote.c (remote_use_agent): Add 'self' argument.
9839 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9840
a893e81f
TT
98412014-02-19 Tom Tromey <tromey@redhat.com>
9842
9843 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9844 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9845 (target_traceframe_info): Add argument.
9846 * target.c (update_current_target): Update.
9847 * remote.c (remote_traceframe_info): Add 'self' argument.
9848 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9849
c686c57f
TT
98502014-02-19 Tom Tromey <tromey@redhat.com>
9851
9852 * target.h (target_static_tracepoint_markers_by_strid): Add
9853 argument.
9854 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9855 'self' argument.
9856 * target.c (update_current_target): Update.
9857 * remote.c (struct target_ops)
9858 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9859 * linux-nat.c (struct target_ops)
9860 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9861
61fc905d
TT
98622014-02-19 Tom Tromey <tromey@redhat.com>
9863
9864 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9865 Add argument.
9866 (target_static_tracepoint_marker_at): Add argument.
9867 * target.c (update_current_target): Update.
9868 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9869 argument.
9870
c378d69d
TT
98712014-02-19 Tom Tromey <tromey@redhat.com>
9872
9873 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9874 (target_set_permissions): Add argument.
9875 * target.c (update_current_target): Update.
9876 * remote.c (remote_set_permissions): Add 'self' argument.
9877 (remote_start_remote): Update.
9878
bd7ae0f5
TT
98792014-02-19 Tom Tromey <tromey@redhat.com>
9880
9881 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9882 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9883 (target_get_tib_address): Add argument.
9884 * target.c (update_current_target): Update.
9885 * remote.c (remote_get_tib_address): Add 'self' argument.
9886
d9e68a2c
TT
98872014-02-19 Tom Tromey <tromey@redhat.com>
9888
9889 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9890 (target_set_trace_notes): Add argument.
9891 * target.c (update_current_target): Update.
9892 * remote.c (remote_set_trace_notes): Add 'self' argument.
9893
4da384be
TT
98942014-02-19 Tom Tromey <tromey@redhat.com>
9895
9896 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9897 argument.
9898 (target_set_trace_buffer_size): Add argument.
9899 * target.c (update_current_target): Update.
9900 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9901
736d5b1f
TT
99022014-02-19 Tom Tromey <tromey@redhat.com>
9903
9904 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9905 argument.
9906 (target_set_circular_trace_buffer): Add argument.
9907 * target.c (update_current_target): Update.
9908 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9909 argument.
9910
37b25738
TT
99112014-02-19 Tom Tromey <tromey@redhat.com>
9912
9913 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9914 argument.
9915 (target_set_disconnected_tracing): Add argument.
9916 * target.c (update_current_target): Update.
9917 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9918
0e67620a
TT
99192014-02-19 Tom Tromey <tromey@redhat.com>
9920
9921 * target.h (struct target_ops)
9922 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9923 (target_get_min_fast_tracepoint_insn_len): Add argument.
9924 * target.c (update_current_target): Update.
9925 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9926 argument.
9927
88ee6f45
TT
99282014-02-19 Tom Tromey <tromey@redhat.com>
9929
9930 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9931 argument.
9932 (target_get_raw_trace_data): Add argument.
9933 * target.c (update_current_target): Update.
9934 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9935
181e3713
TT
99362014-02-19 Tom Tromey <tromey@redhat.com>
9937
9938 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9939 Add argument.
9940 (target_upload_trace_state_variables): Add argument.
9941 * target.c (update_current_target): Update.
9942 * remote.c (remote_upload_trace_state_variables): Add 'self'
9943 argument.
9944 (remote_start_remote): Update.
9945
ab6617cc
TT
99462014-02-19 Tom Tromey <tromey@redhat.com>
9947
9948 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9949 argument.
9950 (target_upload_tracepoints): Add argument.
9951 * target.c (update_current_target): Update.
9952 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9953 (remote_start_remote): Update.
9954
dc3decaf
TT
99552014-02-19 Tom Tromey <tromey@redhat.com>
9956
9957 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9958 (target_save_trace_data): Add argument.
9959 * target.c (update_current_target): Update.
9960 * remote.c (remote_save_trace_data): Add 'self' argument.
9961
4011015b
TT
99622014-02-19 Tom Tromey <tromey@redhat.com>
9963
9964 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9965 argument.
9966 * target.h (struct target_ops)
9967 <to_get_trace_state_variable_value>: Add argument.
9968 (target_get_trace_state_variable_value): Add argument.
9969 * target.c (update_current_target): Update.
9970 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9971 argument.
9972 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9973
bd4c6793
TT
99742014-02-19 Tom Tromey <tromey@redhat.com>
9975
9976 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9977 * target.h (struct target_ops) <to_trace_find>: Add argument.
9978 (target_trace_find): Add argument.
9979 * target.c (update_current_target): Update.
9980 * remote.c (remote_trace_find): Add 'self' argument.
9981 * ctf.c (ctf_trace_find): Add 'self' argument.
9982
74499f1b
TT
99832014-02-19 Tom Tromey <tromey@redhat.com>
9984
9985 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9986 (target_trace_stop): Add argument.
9987 * target.c (update_current_target): Update.
9988 * remote.c (remote_trace_stop): Add 'self' argument.
9989
db90e85c
TT
99902014-02-19 Tom Tromey <tromey@redhat.com>
9991
9992 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9993 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9994 argument.
9995 (target_get_tracepoint_status): Add argument.
9996 * target.c (update_current_target): Update.
9997 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9998
8bd200f1
TT
99992014-02-19 Tom Tromey <tromey@redhat.com>
10000
10001 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10002 * target.h (struct target_ops) <to_get_trace_status>: Add
10003 argument.
10004 (target_get_trace_status): Add argument.
10005 * target.c (update_current_target): Update.
10006 * remote.c (remote_get_trace_status): Add 'self' argument.
10007 (remote_start_remote, remote_can_download_tracepoint): Update.
10008 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10009
e2d1aae3
TT
100102014-02-19 Tom Tromey <tromey@redhat.com>
10011
10012 * target.h (struct target_ops) <to_trace_start>: Add argument.
10013 (target_trace_start): Add argument.
10014 * target.c (update_current_target): Update.
10015 * remote.c (remote_trace_start): Add 'self' argument.
10016
583f9a86
TT
100172014-02-19 Tom Tromey <tromey@redhat.com>
10018
10019 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10020 Add argument.
10021 (target_trace_set_readonly_regions): Add argument.
10022 * target.c (update_current_target): Update.
10023 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10024 argument.
10025
780b049c
TT
100262014-02-19 Tom Tromey <tromey@redhat.com>
10027
10028 * target.h (struct target_ops) <to_disable_tracepoint>: Add
10029 argument.
10030 (target_disable_tracepoint): Add argument.
10031 * target.c (update_current_target): Update.
10032 * remote.c (remote_disable_tracepoint): Add 'self' argument.
10033
46670d57
TT
100342014-02-19 Tom Tromey <tromey@redhat.com>
10035
10036 * target.h (struct target_ops) <to_enable_tracepoint>: Add
10037 argument.
10038 (target_enable_tracepoint): Add argument.
10039 * target.c (update_current_target): Update.
10040 * remote.c (remote_enable_tracepoint): Add 'self' argument.
10041
559d2b81
TT
100422014-02-19 Tom Tromey <tromey@redhat.com>
10043
10044 * target.h (struct target_ops) <to_download_trace_state_variable>:
10045 Add argument.
10046 (target_download_trace_state_variable): Add argument.
10047 * target.c (update_current_target): Update.
10048 * remote.c (remote_download_trace_state_variable): Add 'self'
10049 argument.
10050
a52a8357
TT
100512014-02-19 Tom Tromey <tromey@redhat.com>
10052
10053 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
10054 argument.
10055 (target_can_download_tracepoint): Add argument.
10056 * target.c (update_current_target): Update.
10057 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
10058
548f7808
TT
100592014-02-19 Tom Tromey <tromey@redhat.com>
10060
10061 * target.h (struct target_ops) <to_download_tracepoint>: Add
10062 argument.
10063 (target_download_tracepoint): Add argument.
10064 * target.c (update_current_target): Update.
10065 * remote.c (remote_download_tracepoint): Add 'self' argument.
10066
ecae04e1
TT
100672014-02-19 Tom Tromey <tromey@redhat.com>
10068
10069 * target.h (struct target_ops) <to_trace_init>: Add argument.
10070 (target_trace_init): Add argument.
10071 * target.c (update_current_target): Update.
10072 * remote.c (remote_trace_init): Add 'self' argument.
10073
fab5aa7c
TT
100742014-02-19 Tom Tromey <tromey@redhat.com>
10075
10076 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10077 * target.c (target_fileio_readlink): Add argument.
10078 * remote.c (remote_hostio_readlink): Add 'self' argument.
10079 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10080
dbbca37d
TT
100812014-02-19 Tom Tromey <tromey@redhat.com>
10082
10083 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10084 * target.c (target_fileio_unlink): Add argument.
10085 * remote.c (remote_hostio_unlink): Add 'self' argument.
10086 (remote_file_delete): Update.
10087 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10088
df39ea25
TT
100892014-02-19 Tom Tromey <tromey@redhat.com>
10090
10091 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10092 * target.c (target_fileio_close): Add argument.
10093 * remote.c (remote_hostio_close): Add 'self' argument.
10094 (remote_hostio_close_cleanup): Update.
10095 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10096 Update.
10097 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10098
a3be983c
TT
100992014-02-19 Tom Tromey <tromey@redhat.com>
10100
10101 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10102 * target.c (target_fileio_pread): Add argument.
10103 * remote.c (remote_hostio_pread): Add 'self' argument.
10104 (remote_bfd_iovec_pread, remote_file_get): Update.
10105 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10106
0d866f62
TT
101072014-02-19 Tom Tromey <tromey@redhat.com>
10108
10109 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10110 * target.c (target_fileio_pwrite): Add argument.
10111 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10112 (remote_file_put): Update.
10113 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10114
cd897586
TT
101152014-02-19 Tom Tromey <tromey@redhat.com>
10116
10117 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10118 * target.c (target_fileio_open): Add argument.
10119 * remote.c (remote_hostio_open): Add 'self' argument.
10120 (remote_bfd_iovec_open): Add 'self' argument.
10121 (remote_file_put): Add 'self' argument.
10122 (remote_file_get): Add 'self' argument.
10123 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10124
78eff0ec
TT
101252014-02-19 Tom Tromey <tromey@redhat.com>
10126
10127 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10128 Add argument.
10129 (target_can_run_breakpoint_commands): Add argument.
10130 * target.c (update_current_target): Update.
10131 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
10132 argument.
10133 (remote_insert_breakpoint): Add 'self' argument.
10134 (remote_insert_hw_breakpoint): Add 'self' argument.
10135 (remote_can_run_breakpoint_commands): Add 'self' argument.
10136
efcc2da7
TT
101372014-02-19 Tom Tromey <tromey@redhat.com>
10138
10139 * target.h (struct target_ops)
10140 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
10141 (target_supports_evaluation_of_breakpoint_conditions): Add
10142 argument.
10143 * target.c (update_current_target): Update.
10144 * remote.c (remote_supports_cond_breakpoints): Add 'self'
10145 argument.
10146 (remote_insert_breakpoint): Add 'self' argument.
10147 (remote_insert_hw_breakpoint): Add 'self' argument.
10148 (remote_supports_cond_breakpoints): Add 'self' argument.
10149
6de37a3a
TT
101502014-02-19 Tom Tromey <tromey@redhat.com>
10151
10152 * target.h (struct target_ops) <to_supports_string_tracing>: Add
10153 argument.
10154 (target_supports_string_tracing): Add argument.
10155 * target.c (update_current_target): Update.
10156 * remote.c (remote_supports_string_tracing): Add 'self' argument.
10157
2bfc0540
TT
101582014-02-19 Tom Tromey <tromey@redhat.com>
10159
10160 * target.h (struct target_ops)
10161 <to_supports_disable_randomization>: Add argument.
10162 * target.c (find_default_supports_disable_randomization): Add
10163 argument.
10164 (target_supports_disable_randomization): Add argument.
10165 (find_default_supports_disable_randomization): Add 'self'
10166 argument.
10167 * remote.c (extended_remote_supports_disable_randomization): Add
10168 'self' argument.
10169 (remote_supports_disable_randomization): Add 'self' argument.
10170 (extended_remote_create_inferior): Update.
10171 * linux-nat.c (linux_nat_supports_disable_randomization): Add
10172 'self' argument.
10173
7d178d6a
TT
101742014-02-19 Tom Tromey <tromey@redhat.com>
10175
10176 * target.h (struct target_ops)
10177 <to_supports_enable_disable_tracepoint>: Add argument.
10178 (target_supports_enable_disable_tracepoint): Add argument.
10179 * target.c (update_current_target): Update.
10180 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
10181 argument.
10182
86ce2668
TT
101832014-02-19 Tom Tromey <tromey@redhat.com>
10184
10185 * target.h (struct target_ops) <to_supports_multi_process>: Add
10186 argument.
10187 (target_supports_multi_process): Add argument.
10188 * target.c (update_current_target): Update.
10189 * remote.c (remote_supports_multi_process): Add 'self' argument.
10190 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
10191 argument.
10192 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
10193 argument.
10194
4c612759
TT
101952014-02-19 Tom Tromey <tromey@redhat.com>
10196
10197 * target.h (struct target_ops) <to_execution_direction>: Add
10198 argument.
10199 (target_execution_direction): Add argument.
10200 * target.c (default_execution_direction): Add 'self' argument.
10201 * record-full.c (record_full_execution_direction): Add 'self'
10202 argument.
10203
19db3e69
TT
102042014-02-19 Tom Tromey <tromey@redhat.com>
10205
10206 * target.h (struct target_ops) <to_can_execute_reverse>: Add
10207 argument.
10208 (target_can_execute_reverse): Add argument.
10209 * remote.c (remote_can_execute_reverse): Add 'self' argument.
10210 * record-full.c (record_full_can_execute_reverse): Add 'self'
10211 argument.
10212 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
10213 argument.
10214
1e6b91a4
TT
102152014-02-19 Tom Tromey <tromey@redhat.com>
10216
10217 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
10218 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
10219 argument.
10220 (target_get_ada_task_ptid): Add argument.
10221 * target.c (update_current_target): Update.
10222 (default_get_ada_task_ptid): Add 'self' argument.
10223 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
10224 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
10225 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
10226 argument.
10227 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
10228 argument.
10229 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
10230 argument.
10231 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
10232 argument.
10233 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
10234 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
10235 argument.
10236
3c80fb48
TT
102372014-02-19 Tom Tromey <tromey@redhat.com>
10238
10239 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
10240 (target_goto_bookmark): Add argument.
10241 * target.c (dummy_goto_bookmark): Add 'self' argument.
10242 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
10243
dd0e2830
TT
102442014-02-19 Tom Tromey <tromey@redhat.com>
10245
10246 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
10247 (target_get_bookmark): Add argument.
10248 * target.c (dummy_get_bookmark): Add 'self' argument.
10249 * record-full.c (record_full_get_bookmark): Add 'self' argument.
10250
fc6691b2
TT
102512014-02-19 Tom Tromey <tromey@redhat.com>
10252
10253 * target.h (struct target_ops) <to_make_corefile_notes>: Add
10254 argument.
10255 (target_make_corefile_notes): Add argument.
10256 * target.c (dummy_make_corefile_notes): Add 'self' argument.
10257 * procfs.c (procfs_make_note_section): Add 'self' argument.
10258 (procfs_make_note_section): Add 'self' argument.
10259 (procfs_make_note_section): Add 'self' argument.
10260 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
10261 argument.
10262 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
10263 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
10264 * exec.c (exec_make_note_section): Add 'self' argument.
10265 (exec_make_note_section): Add 'self' argument.
10266
2e73927c
TT
102672014-02-19 Tom Tromey <tromey@redhat.com>
10268
10269 * target.h (struct target_ops) <to_find_memory_regions>: Add
10270 argument.
10271 (target_find_memory_regions): Add argument.
10272 * target.c (dummy_find_memory_regions): Add 'self' argument.
10273 * procfs.c (proc_find_memory_regions): Add 'self' argument.
10274 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
10275 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
10276 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
10277 * exec. (exec_do_find_memory_regions): New global.
10278 (exec_set_find_memory_regions): Rewrite.
10279 (exec_find_memory_regions): New function.
10280 (init_exec_ops): Use exec_find_memory_regions.
10281
2a9a2795
TT
102822014-02-19 Tom Tromey <tromey@redhat.com>
10283
10284 * target.h (struct target_ops) <to_supports_non_stop>: Add
10285 argument.
10286 * target.c (find_default_supports_non_stop): Add argument.
10287 (target_supports_non_stop): Add argument.
10288 (find_default_supports_non_stop): Add 'self' argument.
10289 * remote.c (remote_supports_non_stop): Add 'self' argument.
10290 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
10291
4ab76ea3
TT
102922014-02-19 Tom Tromey <tromey@redhat.com>
10293
10294 * target.h (struct target_ops) <to_log_command>: Add argument.
10295 (target_log_command): Add argument.
10296 * serial.h (serial_log_command): Add 'self' argument.
10297 * serial.c (serial_log_command): Add 'self' argument.
10298
8dd27370
TT
102992014-02-19 Tom Tromey <tromey@redhat.com>
10300
10301 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
10302 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
10303 argument.
10304 (target_pid_to_exec_file): Add argument.
10305 * target.c (debug_to_pid_to_exec_file): Add argument.
10306 (update_current_target): Update.
10307 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
10308 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
10309 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
10310 (linux_handle_extended_wait): Update.
10311 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
10312 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
10313 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
10314 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
10315
1aac633b
TT
103162014-02-19 Tom Tromey <tromey@redhat.com>
10317
10318 * target.h (struct target_ops) <to_rcmd>: Add argument.
10319 (target_rcmd): Add argument.
10320 * target.c (debug_to_rcmd): Add argument.
10321 (update_current_target, do_monitor_command): Update.
10322 * remote.c (remote_rcmd): Add 'self' argument.
10323 * monitor.c (monitor_rcmd): Add 'self' argument.
10324
1eab8a48
TT
103252014-02-19 Tom Tromey <tromey@redhat.com>
10326
10327 * windows-nat.c (windows_stop): Add 'self' argument.
10328 * target.h (struct target_ops) <to_stop>: Add argument.
10329 * target.c (target_stop): Add argument.
10330 (debug_to_stop): Add argument.
10331 (update_current_target): Update.
10332 * remote.c (remote_stop): Add 'self' argument.
10333 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10334 (gdbsim_cntrl_c): Update.
10335 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10336 * procfs.c (procfs_stop): Add 'self' argument.
10337 * nto-procfs.c (procfs_stop): Add 'self' argument.
10338 * monitor.c (monitor_stop): Add 'self' argument.
10339 (monitor_open): Update.
10340 * linux-nat.c (linux_nat_stop): Add argument.
10341 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10342 * gnu-nat.c (gnu_stop): Add 'self' argument.
10343 * darwin-nat.c (darwin_stop): Add 'self' argument.
10344
503a628d
TT
103452014-02-19 Tom Tromey <tromey@redhat.com>
10346
10347 * target.h (struct target_ops) <to_thread_name>: Add argument.
10348 * target.c (target_thread_name): Add argument.
10349 (update_current_target): Update.
10350 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10351
c15906d8
TT
103522014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * target.h (struct target_ops) <to_extra_thread_info>: Add
10355 argument.
10356 (target_extra_thread_info): Add argument.
10357 * target.c (update_current_target): Update.
10358 * remote.c (remote_threads_extra_info): Add 'self' argument.
10359 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10360 argument.
10361 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10362 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10363 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10364 argument.
10365 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10366 argument.
10367 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10368 argument.
10369 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10370 argument.
10371
daf5e9b6
TT
103722014-02-19 Tom Tromey <tromey@redhat.com>
10373
10374 * target.h (struct target_ops) <to_program_signals>: Add argument.
10375 * target.c (target_program_signals): Add argument.
10376 * remote.c (remote_program_signals): Add 'self' argument.
10377
94bedb42
TT
103782014-02-19 Tom Tromey <tromey@redhat.com>
10379
10380 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10381 * target.c (target_pass_signals): Add argument.
10382 * remote.c (remote_pass_signals): Add 'self' argument.
10383 (remote_start_remote): Update.
10384 * procfs.c (procfs_pass_signals): Add 'self' argument.
10385 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10386 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10387 (linux_nat_create_inferior, linux_nat_attach): Update.
10388
da82bd6b
TT
103892014-02-19 Tom Tromey <tromey@redhat.com>
10390
10391 * windows-nat.c (windows_can_run): Add 'self' argument.
10392 * target.h (struct target_ops) <to_can_run>: Add argument.
10393 (target_can_run): Add argument.
10394 * target.c (debug_to_can_run): Add argument.
10395 (update_current_target): Update.
10396 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10397 * inf-child.c (inf_child_can_run): Add 'self' argument.
10398 * go32-nat.c (go32_can_run): Add 'self' argument.
10399
d796e1d6
TT
104002014-02-19 Tom Tromey <tromey@redhat.com>
10401
10402 * target.h (struct target_ops) <to_has_exited>: Add argument.
10403 (target_has_exited): Add argument.
10404 * target.c (debug_to_has_exited): Add argument.
10405 (update_current_target): Update.
10406
ff214e67
TT
104072014-02-19 Tom Tromey <tromey@redhat.com>
10408
10409 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10410 argument.
10411 (target_set_syscall_catchpoint): Add argument.
10412 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10413 argument.
10414 * target.c (update_current_target): Update.
10415
758e29d2
TT
104162014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10419 argument.
10420 (target_remove_exec_catchpoint): Add argument.
10421 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10422 (update_current_target): Update.
10423 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10424 argument.
10425
ba025e51
TT
104262014-02-19 Tom Tromey <tromey@redhat.com>
10427
10428 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10429 argument.
10430 (target_insert_exec_catchpoint): Add argument.
10431 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10432 (update_current_target): Update.
10433 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10434 argument.
10435
e98cf0cd
TT
104362014-02-19 Tom Tromey <tromey@redhat.com>
10437
10438 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10439 argument.
10440 (target_remove_vfork_catchpoint): Add argument.
10441 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10442 (update_current_target): Update.
10443 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10444 argument.
10445
3ecc7da0
TT
104462014-02-19 Tom Tromey <tromey@redhat.com>
10447
10448 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10449 argument.
10450 (target_insert_vfork_catchpoint): Add argument.
10451 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10452 (update_current_target): Update.
10453 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10454 argument.
10455
973fc227
TT
104562014-02-19 Tom Tromey <tromey@redhat.com>
10457
10458 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10459 argument.
10460 (target_remove_fork_catchpoint): Add argument.
10461 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10462 (update_current_target): Update.
10463 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10464 argument.
10465
a863b201
TT
104662014-02-19 Tom Tromey <tromey@redhat.com>
10467
10468 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10469 argument.
10470 (target_insert_fork_catchpoint): Add argument.
10471 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10472 (update_current_target): Update.
10473 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10474 argument.
10475
2e97a79e
TT
104762014-02-19 Tom Tromey <tromey@redhat.com>
10477
10478 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10479 argument.
10480 (target_post_startup_inferior): Add argument.
10481 * target.c (debug_to_post_startup_inferior): Add argument.
10482 (update_current_target): Update.
10483 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10484 argument.
10485 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10486 argument.
10487 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10488 argument.
10489 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10490 argument.
10491 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10492 'self' argument.
10493 (super_post_startup_inferior): Likewise.
10494 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10495 'self' argument.
10496 (super_post_startup_inferior): Likewise.
10497 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10498 Add 'self' argument.
10499 (super_post_startup_inferior): Likewise.
10500
71a9f134
TT
105012014-02-19 Tom Tromey <tromey@redhat.com>
10502
10503 * target.h (struct target_ops) <to_load>: Add argument.
10504 * target.c (target_load): Add argument.
10505 (debug_to_load): Add argument.
10506 (update_current_target): Update.
10507 * remote.c (remote_load): Add 'self' argument.
10508 * remote-sim.c (gdbsim_load): Add 'self' argument.
10509 * remote-mips.c (mips_load): Add 'self' argument.
10510 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10511 * monitor.c (monitor_load): Add 'self' argument.
10512 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10513
0a4f40a2
TT
105142014-02-19 Tom Tromey <tromey@redhat.com>
10515
10516 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10517 (target_terminal_info): Add argument.
10518 * target.c (debug_to_terminal_info): Add argument.
10519 (default_terminal_info): Likewise.
10520 * inflow.c (child_terminal_info): Add 'self' argument.
10521 * inferior.h (child_terminal_info): Add 'self' argument.
10522 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10523
ae3bd431
TT
105242014-02-19 Tom Tromey <tromey@redhat.com>
10525
10526 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10527 argument.
10528 (target_terminal_save_ours): Add argument.
10529 * target.c (debug_to_terminal_save_ours): Add argument.
10530 (update_current_target): Update.
10531 * inflow.c (terminal_save_ours): Add 'self' argument.
10532 * inferior.h (terminal_save_ours): Add 'self' argument.
10533
e3594fd1
TT
105342014-02-19 Tom Tromey <tromey@redhat.com>
10535
10536 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10537 (target_terminal_ours): Add argument.
10538 * target.c (debug_to_terminal_ours): Add argument.
10539 (update_current_target): Update.
10540 * remote.c (remote_terminal_ours): Add 'self' argument.
10541 (remote_close): Update.
10542 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10543 * inflow.c (terminal_ours): Add 'self' argument.
10544 * inferior.h (terminal_ours): Add 'self' argument.
10545 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10546
2e1e1a19
TT
105472014-02-19 Pedro Alves <palves@redhat.com>
10548 Tom Tromey <tromey@redhat.com>
10549
10550 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10551 argument.
10552 (target_terminal_ours_for_output): Add argument.
10553 * target.c (debug_to_terminal_ours_for_output): Add argument.
10554 (update_current_target): Update.
10555 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10556 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10557 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10558
d2f640d4
TT
105592014-02-19 Tom Tromey <tromey@redhat.com>
10560
10561 * target.h (struct target_ops) <to_terminal_inferior>: Add
10562 argument.
10563 * target.c (target_terminal_inferior): Add argument.
10564 (update_current_target): Update.
10565 * remote.c (remote_terminal_inferior): Add 'self' argument.
10566 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10567 * inflow.c (terminal_inferior): Add 'self' argument.
10568 * inferior.h (terminal_inferior): Add 'self' argument.
10569 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10570 (go32_terminal_inferior): Add 'self' argument.
10571
c42bf286
TT
105722014-02-19 Tom Tromey <tromey@redhat.com>
10573
10574 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10575 (target_terminal_init): Add argument.
10576 * target.c (debug_to_terminal_init): Add argument.
10577 (update_current_target): Update.
10578 * inflow.c (terminal_init_inferior): Add 'self' argument.
10579 * inferior.h (terminal_init_inferior): Add 'self' argument.
10580 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10581 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10582
c3a5ff89
TT
105832014-02-19 Tom Tromey <tromey@redhat.com>
10584
10585 * target.h (struct target_ops)
10586 <to_can_accel_watchpoint_condition>: Add argument.
10587 (target_can_accel_watchpoint_condition): Add argument.
10588 * target.c (debug_to_can_accel_watchpoint_condition): Add
10589 argument.
10590 (update_current_target): Update.
10591 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10592 'self' argument.
10593
31568a15
TT
105942014-02-19 Tom Tromey <tromey@redhat.com>
10595
10596 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10597 Add argument.
10598 (target_region_ok_for_hw_watchpoint): Add argument.
10599 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10600 (default_region_ok_for_hw_watchpoint): Add argument.
10601 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10602 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10603 argument.
10604 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10605 argument.
10606 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10607 argument.
10608 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10609 'self' argument.
10610 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10611 'self' argument.
10612 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10613 'self' argument.
10614 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10615 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10616 'self' argument.
10617 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10618 Add 'self' argument.
10619
7bb99c53
TT
106202014-02-19 Tom Tromey <tromey@redhat.com>
10621
10622 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10623 argument.
10624 (target_insert_watchpoint): Add argument.
10625 * target.c (debug_to_insert_watchpoint): Add argument.
10626 (update_current_target): Update.
10627 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10628 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10629 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10630 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10631 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10632 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10633 argument.
10634 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10635 (procfs_insert_hw_watchpoint): Add 'self' argument.
10636 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10637 argument.
10638 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10639 argument.
10640 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10641 argument.
10642 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10643 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10644 argument.
10645 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10646 'self' argument.
10647
11b5219a
TT
106482014-02-19 Tom Tromey <tromey@redhat.com>
10649
10650 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10651 argument.
10652 (target_remove_watchpoint): Add argument.
10653 * target.c (debug_to_remove_watchpoint): Add argument.
10654 (update_current_target): Update.
10655 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10656 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10657 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10658 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10659 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10660 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10661 argument.
10662 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10663 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10664 argument.
10665 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10666 argument.
10667 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10668 argument.
10669 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10670 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10671 argument.
10672 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10673 'self' argument.
10674
a64dc96c
TT
106752014-02-19 Tom Tromey <tromey@redhat.com>
10676
10677 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10678 argument.
10679 (target_remove_hw_breakpoint): Add argument.
10680 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10681 (update_current_target): Update.
10682 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10683 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10684 argument.
10685 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10686 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10687 argument.
10688 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10689 'self' argument.
10690
23a26771
TT
106912014-02-19 Tom Tromey <tromey@redhat.com>
10692
10693 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10694 argument.
10695 (target_insert_hw_breakpoint): Add argument.
10696 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10697 (update_current_target): Update.
10698 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10699 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10700 argument.
10701 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10702 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10703 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10704 argument.
10705 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10706 'self' argument.
10707
5461485a
TT
107082014-02-19 Tom Tromey <tromey@redhat.com>
10709
10710 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10711 argument.
10712 (target_can_use_hardware_watchpoint): Add argument.
10713 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10714 (update_current_target): Update.
10715 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10716 argument.
10717 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10718 argument.
10719 * remote.c (remote_check_watch_resources): Add 'self' argument.
10720 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10721 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10722 argument.
10723 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10724 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10725 argument.
10726 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10727 argument.
10728 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10729 argument.
10730 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10731 argument.
10732 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10733 argument.
10734 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10735 argument.
10736 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10737 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10738 argument.
10739 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10740 'self' argument.
10741
f045800c
TT
107422014-02-19 Tom Tromey <tromey@redhat.com>
10743
10744 * target.h (struct target_ops) <to_post_attach>: Add argument.
10745 (target_post_attach): Add argument.
10746 * target.c (debug_to_post_attach): Add argument.
10747 (update_current_target): Update.
10748 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10749 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10750 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10751 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10752 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10753
de90e03d
TT
107542014-02-19 Tom Tromey <tromey@redhat.com>
10755
10756 * windows-nat.c (windows_close): Add 'self' argument.
10757 * tracepoint.c (tfile_close): Add 'self' argument.
10758 * target.h (struct target_ops) <to_close>: Add argument.
10759 * target.c (target_close): Add argument.
10760 (update_current_target): Update.
10761 * remote.c (remote_close): Add 'self' argument.
10762 * remote-sim.c (gdbsim_close): Add 'self' argument.
10763 * remote-mips.c (mips_close): Add 'self' argument.
10764 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10765 * record-full.c (record_full_close): Add 'self' argument.
10766 * record-btrace.c (record_btrace_close): Add 'self' argument.
10767 * monitor.h (monitor_close): Add 'self' argument.
10768 * monitor.c (monitor_close): Add 'self' argument.
10769 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10770 * linux-nat.c (linux_nat_close): Add argument.
10771 * go32-nat.c (go32_close): Add 'self' argument.
10772 * exec.c (exec_close_1): Add 'self' argument.
10773 * ctf.c (ctf_close): Add 'self' argument.
10774 * corelow.c (core_close): Add 'self' argument.
10775 (core_close_cleanup): Update.
10776 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10777 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10778
9dd130a0
TT
107792014-02-19 Tom Tromey <tromey@redhat.com>
10780
10781 * remote.c (remote_load): New function.
10782 (init_remote_ops): Use it.
10783
46917d26
TT
107842014-02-19 Tom Tromey <tromey@redhat.com>
10785
10786 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10787 argument.
10788 * common/linux-btrace.h (linux_supports_btrace): Update.
10789 * remote.c (remote_supports_btrace): Add "self" argument.
10790 * target-delegates.c: Rebuild.
10791 * target.c (target_supports_btrace): Remove.
10792 * target.h (struct target_ops) <to_supports_btrace>: Add
10793 target_ops argument.
10794 (target_supports_btrace): New define.
10795
6b84065d
TT
107962014-02-19 Tom Tromey <tromey@redhat.com>
10797
10798 * record-full.c (record_full_beneath_to_resume_ops)
10799 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10800 (record_full_beneath_to_wait)
10801 (record_full_beneath_to_store_registers_ops)
10802 (record_full_beneath_to_store_registers)
10803 (record_full_beneath_to_xfer_partial_ops)
10804 (record_full_beneath_to_xfer_partial)
10805 (record_full_beneath_to_insert_breakpoint_ops)
10806 (record_full_beneath_to_insert_breakpoint)
10807 (record_full_beneath_to_remove_breakpoint_ops)
10808 (record_full_beneath_to_remove_breakpoint)
10809 (record_full_beneath_to_stopped_by_watchpoint)
10810 (record_full_beneath_to_stopped_data_address)
10811 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10812 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10813 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10814 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10815 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10816 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10817 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10818 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10819 (record_full_resume, record_full_wait_1)
10820 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10821 (record_full_store_registers, record_full_xfer_partial)
10822 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10823 (record_full_async, record_full_core_xfer_partial): Use target
10824 delegation.
10825 * target-delegates.c: Rebuild.
10826 * target.c (current_xfer_partial): Remove.
10827 (update_current_target): Do not INHERIT or de_fault
10828 to_insert_breakpoint, to_remove_breakpoint,
10829 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10830 to_is_async_p, to_async. Do not set to_xfer_partial field.
10831 (default_xfer_partial): Simplify.
10832 (current_xfer_partial): Remove.
10833 (target_wait, target_resume): Simplify.
10834 (find_default_can_async_p, find_default_is_async_p): Update.
10835 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10836 to_xfer_partial, to_stopped_by_watchpoint,
10837 to_stopped_data_address.
10838 (target_store_registers): Simplify.
10839 (forward_target_remove_breakpoint)
10840 (forward_target_insert_breakpoint): Remove.
10841 (target_remove_breakpoint, target_insert_breakpoint)
10842 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10843 * target.h (struct target_ops) <to_resume, to_wait,
10844 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10845 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10846 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10847 markup.
10848 (forward_target_remove_breakpoint)
10849 (forward_target_insert_breakpoint): Remove.
10850 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10851 directly.
10852 (record_btrace_insert_breakpoint): Delegate directly.
10853
1101cb7b
TT
108542014-02-19 Tom Tromey <tromey@redhat.com>
10855
10856 PR build/7701:
10857 * target-delegates.c: New file.
10858 * target.c: Include target-delegates.c.
10859 (init_dummy_target): Call install_dummy_methods.
10860 (complete_target_initialization): Call install_delegators.
10861 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10862 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10863 * make-target-delegates: New file.
10864
8b06beed
TT
108652014-02-19 Tom Tromey <tromey@redhat.com>
10866
10867 * record.c (find_record_target): Use find_target_at.
10868 * target.c (find_target_at): New function.
10869 * target.h (find_target_at): Declare.
10870
6a109b6b
TT
108712014-02-19 Tom Tromey <tromey@redhat.com>
10872
10873 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10874 Add 'ops' argument.
10875 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10876 'ops' argument.
10877 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10878 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10879 'ops' argument.
10880 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10881 argument.
10882 * linux-nat.c (save_sigtrap): Update.
10883 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10884 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10885 (linux_nat_close): Update.
10886 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10887 argument.
10888 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10889 argument.
10890 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10891 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10892 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10893 (tmp_to_async): Add 'ops' argument.
10894 (record_full_stopped_by_watchpoint, record_full_async)
10895 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10896 argument.
10897 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10898 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10899 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10900 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10901 (remote_is_async_p, remote_async): Add 'ops' argument.
10902 (remote_stopped_data_address): Update.
10903 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10904 * target.c (update_current_target)
10905 (find_default_can_async_p, find_default_is_async_p): Update.
10906 (init_dummy_target): Update.
10907 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10908 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10909 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10910 (target_can_async_p, target_is_async_p, target_async)
10911 (target_stopped_by_watchpoint): Update.
10912
e095146b
YQ
109132014-02-19 Yao Qi <yao@codesourcery.com>
10914
10915 PR gdb/16220
10916 * gdbarch.sh: Remove startup_gdbarch.
10917 * gdbarch.c: Regenerated.
10918 * gdbarch.h: Likewise.
10919
bc3c6b36
KB
109202014-02-17 Kevin Buettner <kevinb@redhat.com>
10921
10922 * rl78-tdep.c (rl78_g10_register_name): New function.
10923 (rl78_return_value): Add g10 support.
10924 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10925 g10.
10926
98dc0167 109272014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10928
10929 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10930 (SUBDIR_GUILE_SRCS): Ditto.
10931 (scm-gsmob.o): Ditto.
10932
842c05cd
YQ
109332014-02-17 Yao Qi <yao@codesourcery.com>
10934
10935 * gnu-nat.c (ILL_RPC): Declare defined function.
10936
25c0bd04
YQ
109372014-02-17 Yao Qi <yao@codesourcery.com>
10938
10939 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10940 mach_msg_type_number_t.
10941 (gnu_write_inferior): Likewise.
10942
a9a758e3
YQ
109432014-02-17 Yao Qi <yao@codesourcery.com>
10944
10945 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10946 in format string.
10947 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10948 (inf_validate_procs, inf_signal): Likewise.
10949 (S_exception_raise_request): Likewise.
10950 (do_mach_notify_dead_name): Likewise.
10951 (steal_exc_port): Likewise.
10952 (gnu_read_inferior): Change 'copy_count''s type to
10953 mach_msg_type_number_t.
10954 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10955 format string.
10956
bae8023e
TS
109572014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10958
c82f56d9
TS
10959 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10960 flag. Adjust all users; in particular...
10961 (gnu_wait): ..., don't decrement its value in here...
10962 (gnu_create_inferior): ..., and instead set the flag in here,
10963 around the startup_inferior call, and call that one with
10964 START_INFERIOR_TRAPS_EXPECTED.
10965
3398af6a
TS
10966 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10967 (ILL_RPC): ... new macro.
10968 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10969 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10970 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10971 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10972 functions with ILL_RPC macro.
10973 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10974 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10975 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10976 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10977 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10978 (S_proc_getlogin_reply, S_proc_getsid_reply)
10979 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10980 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10981 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10982 (S_proc_getnports_reply, S_proc_is_important_reply)
10983 (S_proc_get_code_reply): New stub functions, generated with
10984 ILL_RPC macro.
10985
d47642c9
TS
10986 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10987 collected the type check structures.
10988
bae8023e
TS
10989 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10990
8a55ffb0
DE
109912014-02-14 Doug Evans <dje@google.com>
10992
10993 * target.c (target_write_partial): Fix result type.
10994
c2853f3d
JM
109952014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10996
10997 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10998 the proper offsets to access fpregset_t.
10999
ac61d2db
SA
110002014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11001
11002 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11003 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11004 * h8300-tdep.c (setmachinelist): Remove global.
11005 * hppa-tdep.c (hppa_sigtramp): Remove global.
11006 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11007 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11008 * ravenscar-thread.c (update_target_observer): Remove global.
11009 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11010
9d2d0b8b
TT
110112014-02-12 Tom Tromey <tromey@redhat.com>
11012
11013 * common/rsp-low.c: Update comments.
11014 * common/rsp-low.h: Update comments.
11015
a7191e8b
TT
110162014-02-12 Tom Tromey <tromey@redhat.com>
11017
11018 * common/rsp-low.c (convert_ascii_to_int): Remove.
11019 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11020
ff0e980e
TT
110212014-02-12 Tom Tromey <tromey@redhat.com>
11022
11023 * common/rsp-low.h (unhexify): Don't declare.
11024 * common/rsp-low.c (unhexify): Remove.
11025
e9371aff
TT
110262014-02-12 Tom Tromey <tromey@redhat.com>
11027
11028 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
11029 * common/rsp-low.c (convert_int_to_ascii): Remove.
11030
971dc0b8
TT
110312014-02-12 Tom Tromey <tromey@redhat.com>
11032
11033 * common/rsp-low.h (hexify): Don't declare.
11034 * common/rsp-low.c (hexify): Remove.
11035
0a822afb
TT
110362014-02-12 Tom Tromey <tromey@redhat.com>
11037
11038 * common/rsp-low.c (hexify): Never take strlen of argument.
11039
9f1b45b0
TT
110402014-02-12 Tom Tromey <tromey@redhat.com>
11041
11042 * common/rsp-low.c (bin2hex): Never take strlen of argument.
11043 * remote.c (extended_remote_run, remote_rcmd)
11044 (remote_download_trace_state_variable, remote_save_trace_data)
11045 (remote_set_trace_notes): Update.
11046 * tracepoint.c (encode_source_string, tfile_write_status)
11047 (tfile_write_uploaded_tsv): Update.
11048
9c3d6531
TT
110492014-02-12 Tom Tromey <tromey@redhat.com>
11050
11051 * tracepoint.c: Include rsp-low.h.
11052 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
11053 * remote.c: Include rsp-low.h.
11054 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
11055 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
11056 (remote_unescape_input): Move to common/rsp-low.c.
11057 * common/rsp-low.h: New file.
11058 * common/rsp-low.c: New file.
11059 * Makefile.in (SFILES): Add common/rsp-low.c.
11060 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
11061 (COMMON_OBS): Add rsp-low.o.
11062 (rsp-low.o): New target.
11063
01fd3ea5
TT
110642014-02-12 Tom Tromey <tromey@redhat.com>
11065
11066 * utils.h: Include print-utils.h.
11067 (host_address_to_string, plongest, pulongest, phex, phex_nz)
11068 (int_string, core_addr_to_string, core_addr_to_string_nz)
11069 (hex_string, hex_string_custom): Don't declare.
11070 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11071 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11072 (hex_string_custom, int_string, core_addr_to_string)
11073 (core_addr_to_string_nz, host_address_to_string): Move to
11074 common/print-utils.c.
11075 * common/print-utils.h: New file.
11076 * common/print-utils.c: New file
11077 * Makefile.in (SFILES): Add common/print-utils.c.
11078 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11079 (COMMON_OBS): Add print-utils.o.
11080 (print-utils.o): New target.
11081
9fb50108
TT
110822014-02-12 Tom Tromey <tromey@redhat.com>
11083
11084 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11085
0548b5db
MK
110862014-02-12 Mark Kettenis <kettenis@gnu.org>
11087
11088 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11089
493443a4
MK
110902014-02-12 Mark Kettenis <kettenis@gnu.org>
11091
11092 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11093 if a PT_IO ptrace request returns sucessfully but indicates that 0
11094 bytes were transferred.
11095
706d0883
PA
110962014-02-12 Pedro Alves <palves@redhat.com>
11097 Kevin Buettner <kevinb@redhat.com>
11098
11099 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11100 TYPE_INSTANCE_FLAG_CODE_SPACE.
11101
5caa2f0b
PA
111022014-02-12 Pedro Alves <palves@redhat.com>
11103
11104 * h8300-tdep.c (pseudo_from_raw_register)
11105 (raw_from_pseudo_register): New functions.
11106 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11107 them.
11108
76fd5f74
PA
111092014-02-12 Pedro Alves <palves@redhat.com>
11110
11111 * h8300-tdep.c (h8300_register_sim_regno): New function.
11112 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11113 gdbarch_register_sim_regno hook.
11114
8f008406
SA
111152014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11116
11117 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11118
195abc10
SA
111192014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11120
11121 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11122
93ffa5b9
MK
111232014-02-12 Mark Kettenis <kettenis@gnu.org>
11124
11125 * obsd-tdep.h (obsd_init_abi): New prototype.
11126 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11127 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11128 (obsd_init_abi): New functions.
11129 * i386obsd-tdep.c: Include "obsd-tdep.h".
11130 (i386obsd_init_abi): Call obsd_init_abi.
11131 * amd64obsd-tdep.c: Include "obsd-tdep.h".
11132 (amd64obsd_init_abi): Call obsd_init_abi.
11133 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
11134 obsd-tdep.c to gdb_target_obs.
11135
49caec94
JM
111362014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
11137
11138 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
11139 double float arguments to 16-byte in the argument slots.
11140
e1402065
DE
111412014-02-11 Doug Evans <xdje42@gmail.com>
11142
11143 * configure.ac: Don't crash if pkg-config is not found and guile
11144 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
11145 in guile checks.
11146 * configure: Regenerate.
11147
edcc890f
YQ
111482014-02-11 Yao Qi <yao@codesourcery.com>
11149
11150 * aix-thread.c (aix_thread_xfer_partial): Update comments.
11151 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
11152 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11153 * gnu-nat.c (gnu_xfer_memory): Likewise.
11154 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11155 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11156 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11157 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11158
9b409511
YQ
111592014-02-11 Yao Qi <yao@codesourcery.com>
11160
11161 * target.h (enum target_xfer_error): Rename to ...
11162 (enum target_xfer_status): ... it. New. All users updated.
11163 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
11164 New.
11165 (TARGET_XFER_STATUS_ERROR_P): New macro.
11166 (target_xfer_error_to_string): Remove declaration.
11167 (target_xfer_status_to_string): Declare.
11168 (target_xfer_partial_ftype): Adjust it.
11169 (struct target_ops) <to_xfer_partial>: Return
11170 target_xfer_status. Add argument xfered_len. Update
11171 comments.
11172 * target.c (target_xfer_error_to_string): Rename to ...
11173 (target_xfer_status_to_string): ... it. New. All callers
11174 updated.
11175 (target_read_live_memory): Likewise. Call target_xfer_partial
11176 instead of target_read.
11177 (memory_xfer_live_readonly_partial): Return
11178 target_xfer_status. Add argument xfered_len.
11179 (raw_memory_xfer_partial): Likewise.
11180 (memory_xfer_partial_1): Likewise.
11181 (memory_xfer_partial): Likewise.
11182 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
11183 properly. Update debug message.
11184 (default_xfer_partial, current_xfer_partial): Likewise.
11185 (target_write_partial): Likewise.
11186 (target_read_partial): Likewise. All callers updated.
11187 (read_whatever_is_readable): Likewise.
11188 (target_write_with_progress): Likewise.
11189 (target_read_alloc_1): Likewise.
11190
11191 * aix-thread.c (aix_thread_xfer_partial): Likewise.
11192 * auxv.c (procfs_xfer_auxv): Likewise.
11193 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
11194 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11195 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11196 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
11197 * corefile.c (read_memory): Adjust.
11198 * corelow.c (core_xfer_partial): Likewise.
11199 * ctf.c (ctf_xfer_partial): Likewise.
11200 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
11201 updated.
11202 (darwin_xfer_partial): Likewise.
11203 * exec.c (section_table_xfer_memory_partial): Likewise. All
11204 callers updated.
11205 (exec_xfer_partial): Likewise.
11206 * exec.h (section_table_xfer_memory_partial): Update
11207 declaration.
11208 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
11209 negative.
11210 (gnu_xfer_partial): Likewise.
11211 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
11212 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
11213 (ia64_hpux_xfer_solib_got): Likewise.
11214 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
11215 type of 'partial_len' to ULONGEST.
11216 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11217 * linux-nat.c (linux_xfer_siginfo ): Likewise.
11218 (linux_nat_xfer_partial): Likewise.
11219 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
11220 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
11221 * monitor.c (monitor_xfer_memory): Likewise.
11222 (monitor_xfer_partial): Likewise.
11223 * procfs.c (procfs_xfer_partial): Likewise.
11224 * record-btrace.c (record_btrace_xfer_partial): Likewise.
11225 * record-full.c (record_full_xfer_partial): Likewise.
11226 (record_full_core_xfer_partial): Likewise.
11227 * remote-sim.c (gdbsim_xfer_memory): Likewise.
11228 (gdbsim_xfer_partial): Likewise.
11229 * remote.c (remote_write_bytes_aux): Likewise. All callers
11230 updated.
11231 (remote_write_bytes, remote_read_bytes): Likewise. All
11232 callers updated.
11233 (remote_flash_erase): Likewise. All callers updated.
11234 (remote_write_qxfer): Likewise. All callers updated.
11235 (remote_read_qxfer): Likewise. All callers updated.
11236 (remote_xfer_partial): Likewise.
11237 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11238 (rs6000_xfer_shared_libraries): Likewise.
11239 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11240 (sol_thread_xfer_partial): Likewise.
11241 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11242 (sparc_xfer_partial): Likewise.
11243 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
11244 updated.
11245 (spu_xfer_partial): Likewise.
11246 * spu-multiarch.c (spu_xfer_partial): Likewise.
11247 * tracepoint.c (tfile_xfer_partial): Likewise.
11248 * windows-nat.c (windows_xfer_memory): Likewise.
11249 (windows_xfer_shared_libraries): Likewise.
11250 (windows_xfer_partial): Likewise.
11251 * valprint.c: Replace 'target_xfer_error' with
11252 'target_xfer_status' in comments.
11253
a8e63083
JB
112542014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
11255
11256 Checked in by Joel Brobecker <brobecker@adacore.com>.
11257 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
11258
e86b67d3
JB
112592014-02-11 Joel Brobecker <brobecker@adacore.com>
11260
11261 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
11262 function parameters.
11263
4b7d1f7f
WN
112642014-02-10 Will Newton <will.newton@linaro.org>
11265
11266 * elfread.c (elf_rel_plt_read): Look for a .got section if
11267 looking up .got.plt fails.
11268 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11269 on address passed to elf_gnu_ifunc_record_cache.
11270 (elf_gnu_ifunc_resolve_addr): Likewise.
11271 (elf_gnu_ifunc_resolver_return_stop): Likewise.
11272
961842b2
JM
112732014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
11274
11275 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
11276 (X_RETTURN): New macro.
11277 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
11278
11279 * sparc64-tdep.c (sparc64_init_abi): Hook
11280 sparc_in_function_epilogue_p.
11281
3f03e7b1
GB
112822014-02-10 Gary Benson <gbenson@redhat.com>
11283
11284 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11285 Rename name_matcher to symbol_matcher.
11286
96f861ef
GB
112872014-02-10 Gary Benson <gbenson@redhat.com>
11288
11289 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11290 Use expand_symtabs_file_matcher_ftype and
11291 expand_symtabs_symbol_matcher_ftype.
11292
ee01b665
JB
112932014-02-10 Joel Brobecker <brobecker@adacore.com>
11294
11295 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
11296 (struct ada_symbol_cache): New.
11297 (ada_free_symbol_cache): Forward declare.
11298 (struct ada_pspace_data): New.
11299 (ada_pspace_data_handle): New static global.
11300 (get_ada_pspace_data, ada_pspace_data_cleanup)
11301 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
11302 (cache_space, cache): Delete, now folded inside struct
11303 ada_pspace_data.
11304 (ada_get_symbol_cache): New function.
11305 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
11306 implementation.
11307 (_initialize_ada_language): Remove initialization of cache_space.
11308 Move call to observer_attach_inferior_exit up, grouping it
11309 with the other observer registrations inside this function.
11310 Rename command to be more general. Add call to
11311 register_program_space_data_with_cleanup.
11312
143adbbf
JB
113132014-02-10 Joel Brobecker <brobecker@adacore.com>
11314
11315 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
11316 ada_new_objfile_observer.
11317 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
11318 (_initialize_tasks): Update uses of ada_new_objfile_observer
11319 and ada_tasks_normal_stop_observer.
11320
aa4fb036
JB
113212014-02-10 Joel Brobecker <brobecker@adacore.com>
11322
11323 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
11324 returned by the 'Length attribute to integer.
11325
9dee8cc6
JB
113262014-02-10 Joel Brobecker <brobecker@adacore.com>
11327
11328 * ada-lang.c (_initialize_ada_language): Initialize
11329 cache_space obstack.
11330
3d9434b5
JB
113312014-02-10 Joel Brobecker <brobecker@adacore.com>
11332
11333 * ada-lang.c (HASH_SIZE): New macro.
11334 (struct cache_entry): New type.
11335 (cache_space, cache): New static globals.
11336 (ada_clear_symbol_cache, find_entry): New functions.
11337 (lookup_cached_symbol, cache_symbol): Implement.
11338 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11339 (_initialize_ada_language): Attach ada_new_objfile_observer
11340 and ada_free_objfile_observer.
11341
f0c5f9b2
JB
113422014-02-10 Joel Brobecker <brobecker@adacore.com>
11343
11344 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11345 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11346 struct block * parameter.
11347 (ada_lookup_symbol_list_worker): Constify local variable "block".
11348 Remove cast which is no longer necessary.
11349
ed3ef339
DE
113502014-02-10 Doug Evans <xdje42@gmail.com>
11351
11352 Add Guile as an extension language.
11353 * NEWS: Mention Guile scripting.
11354 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11355 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11356 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11357 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11358 (CLIBS): Add GUILE_LIBS.
11359 (install-guile): New rule.
11360 (guile.o): New rule.
11361 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11362 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11363 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11364 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11365 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11366 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11367 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11368 * configure.ac: New option --with-guile.
11369 * configure: Regenerate.
11370 * config.in: Regenerate.
11371 * auto-load.c: Remove #include "python/python.h". Add #include
11372 "gdb/section-scripts.h".
11373 (source_section_scripts): Handle Guile scripts.
11374 (_initialize_auto_load): Add name of Guile objfile script to
11375 scripts-directory help text.
11376 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11377 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11378 (struct breakpoint): New member scm_bp_object.
11379 * defs.h (enum command_control_type): New value guile_control.
11380 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11381 "extension.h".
11382 (show_user): Update comment.
11383 (_initialize_cli_cmds): Update help text for "show user". Update help
11384 text for max-user-call-depth.
11385 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11386 "extension.h".
11387 (multi_line_command_p): Add guile_control.
11388 (print_command_lines): Handle guile_control.
11389 (execute_control_command, recurse_read_control_structure): Ditto.
11390 (process_next_line): Recognize "guile" commands.
11391 * disasm.c (gdb_disassemble_info): Make non-static.
11392 * disasm.h: #include "dis-asm.h".
11393 (struct gdbarch): Add forward decl.
11394 (gdb_disassemble_info): Declare.
11395 * extension.c: #include "guile/guile.h".
11396 (extension_languages): Add guile.
11397 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11398 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11399 * gdbtypes.c (get_unsigned_type_max): New function.
11400 (get_signed_type_minmax): New function.
11401 * gdbtypes.h (get_unsigned_type_max): Declare.
11402 (get_signed_type_minmax): Declare.
11403 * guile/README: New file.
11404 * guile/guile-internal.h: New file.
11405 * guile/guile.c: New file.
11406 * guile/guile.h: New file.
11407 * guile/scm-arch.c: New file.
11408 * guile/scm-auto-load.c: New file.
11409 * guile/scm-block.c: New file.
11410 * guile/scm-breakpoint.c: New file.
11411 * guile/scm-disasm.c: New file.
11412 * guile/scm-exception.c: New file.
11413 * guile/scm-frame.c: New file.
11414 * guile/scm-gsmob.c: New file.
11415 * guile/scm-iterator.c: New file.
11416 * guile/scm-lazy-string.c: New file.
11417 * guile/scm-math.c: New file.
11418 * guile/scm-objfile.c: New file.
11419 * guile/scm-ports.c: New file.
11420 * guile/scm-pretty-print.c: New file.
11421 * guile/scm-safe-call.c: New file.
11422 * guile/scm-string.c: New file.
11423 * guile/scm-symbol.c: New file.
11424 * guile/scm-symtab.c: New file.
11425 * guile/scm-type.c: New file.
11426 * guile/scm-utils.c: New file.
11427 * guile/scm-value.c: New file.
11428 * guile/lib/gdb.scm: New file.
11429 * guile/lib/gdb/boot.scm: New file.
11430 * guile/lib/gdb/experimental.scm: New file.
11431 * guile/lib/gdb/init.scm: New file.
11432 * guile/lib/gdb/iterator.scm: New file.
11433 * guile/lib/gdb/printing.scm: New file.
11434 * guile/lib/gdb/types.scm: New file.
11435 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11436 (VPATH): Add $(GUILE_SRCDIR).
11437 (GUILE_DIR): New variable.
11438 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11439 (all): Add stamp-guile dependency.
11440 (stamp-guile): New rule.
11441 (clean-guile, install-guile, uninstall-guile): New rules.
11442 (install-only): Add install-guile dependency.
11443 (uninstall): Add uninstall-guile dependency.
11444 (clean): Add clean-guile dependency.
11445
ac020ec5
DE
114462014-02-09 Doug Evans <xdje42@gmail.com>
11447
11448 Revert this patch (which I approved, mea culpa).
11449
11450 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11451
11452 * Makefile.in (all-lib): Remove.
11453 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11454
2a081c59
JK
114552014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11456
11457 Fix Python stack corruption.
11458 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11459 gdb_py_longest.
11460
0a6bd22d
MK
114612014-02-08 Mark Kettenis <kettenis@gnu.org>
11462
11463 * Makefile.in (all-lib): Remove.
11464 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11465
1a860409
DE
114662014-02-07 Doug Evans <dje@google.com>
11467
11468 * extension-priv.h (extension_language_script_ops): Add comment.
11469 (extension_language_ops): Add comment.
caf5a491 11470 (active_ext_lang_state): Fix typo in comment.
1a860409 11471
d137e6dc
PA
114722014-02-07 Pedro Alves <palves@redhat.com>
11473
0dcb32c3 11474 PR breakpoints/16292
d137e6dc
PA
11475 * infrun.c (handle_signal_stop) <signal arrives while stepping
11476 over a breakpoint>: Switch back to the stepping thread.
11477
ce6d0892
YQ
114782014-02-07 Yao Qi <yao@codesourcery.com>
11479
11480 * target.c (target_xfer_partial): Return zero if LEN is zero.
11481
2ed4b548
YQ
114822014-02-07 Yao Qi <yao@codesourcery.com>
11483
11484 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11485 (ld_so_xfer_auxv): Likewise.
11486 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11487 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11488 * corelow.c (core_xfer_partial): Likewise.
11489 * ctf.c (ctf_xfer_partial): Likewise.
11490 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11491 (darwin_xfer_partial): Likewise.
11492 * exec.c (exec_xfer_partial): Likewise.
11493 * gnu-nat.c (gnu_xfer_partial): Likewise.
11494 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11495 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11496 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11497 * linux-nat.c (linux_xfer_siginfo): Likewise.
11498 (linux_proc_xfer_spu): Likewise.
11499 * procfs.c (procfs_xfer_partial): Likewise.
11500 * record-full.c (record_full_xfer_partial): Likewise.
11501 (record_full_core_xfer_partial): Likewise.
11502 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11503 * remote.c (remote_write_qxfer): Likewise.
11504 (remote_write_qxfer, remote_read_qxfer): Likewise.
11505 (remote_xfer_partial): Likewise.
11506 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11507 (rs6000_xfer_shared_libraries): Likewise.
11508 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11509 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11510 (spu_xfer_partial): Likewise.
11511 * target.c (memory_xfer_partial_1): Likewise.
11512 * tracepoint.c (tfile_xfer_partial): Likewise.
11513 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11514 (windows_xfer_partial): Likewise.
11515
c09f20e4
YQ
115162014-02-07 Yao Qi <yao@codesourcery.com>
11517
11518 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11519 comments.
11520 (core_xfer_shared_libraries_aix): Likewise.
11521 * gdbarch.c, gdbarch.h: Regenerated.
11522 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11523 ULONGEST. Change 'len_avail' type to ULONGEST.
11524 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11525 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11526 declaration.
11527 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11528
8635b3bf
YQ
115292014-02-07 Yao Qi <yao@codesourcery.com>
11530
11531 * corefile.c (memory_error): Get 'exception' from ERR and pass
11532 'exception' to throw_error.
11533
6dddc817
DE
115342014-02-06 Doug Evans <xdje42@gmail.com>
11535
11536 * configure.ac (libpython checking): Remove all but python.o from
11537 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11538 * configure: Regenerate.
11539
11540 * Makefile.in (SFILES): Add extension.c.
11541 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11542 (COMMON_OBS): Add extension.o.
11543 * extension.h: New file.
11544 * extension-priv.h: New file.
11545 * extension.c: New file.
11546
11547 * python/python-internal.h: #include "extension.h".
11548 (gdbpy_auto_load_enabled): Declare.
11549 (gdbpy_apply_val_pretty_printer): Declare.
11550 (gdbpy_apply_frame_filter): Declare.
11551 (gdbpy_preserve_values): Declare.
11552 (gdbpy_breakpoint_cond_says_stop): Declare.
11553 (gdbpy_breakpoint_has_cond): Declare.
11554 (void source_python_script_for_objfile): Delete.
11555 * python/python.c: #include "extension-priv.h".
11556 Delete inclusion of "observer.h".
11557 (extension_language_python): Moved here and renamed from
11558 script_language_python in py-auto-load.c.
11559 Redefined to be of type extension_language_defn.
11560 (python_extension_script_ops): New global.
11561 (python_extension_ops): New global.
11562 (struct python_env): New member previous_active.
11563 (restore_python_env): Call restore_active_ext_lang.
11564 (ensure_python_env): Call set_active_ext_lang.
11565 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11566 New arg extlang.
11567 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11568 New arg extlang.
11569 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11570 New arg extlang.
11571 (gdbpy_eval_from_control_command): Renamed from
11572 eval_python_from_control_command, made static. New arg extlang.
11573 (gdbpy_source_script) Renamed from source_python_script, made static.
11574 New arg extlang.
11575 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11576 result to int. New arg extlang.
11577 (gdbpy_source_objfile_script): Renamed from
11578 source_python_script_for_objfile, made static. New arg extlang.
11579 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11580 static. New args extlang, extlang_printers. Change result type to
11581 "void".
11582 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11583 static. New arg extlang. Rename arg printers to extlang_printers
11584 and change type to ext_lang_type_printers *.
11585 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11586 static. Replace argument arg with extlang, extlang_printers.
11587 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11588 (!HAVE_PYTHON, source_python_script): Delete.
11589 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11590 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11591 (!HAVE_PYTHON, start_type_printers): Delete.
11592 (!HAVE_PYTHON, apply_type_printers): Delete.
11593 (!HAVE_PYTHON, free_type_printers): Delete.
11594 (_initialize_python): Delete call to observer_attach_before_prompt.
11595 (finalize_python): Set/restore active extension language.
11596 (gdbpy_finish_initialization) Renamed from
11597 finish_python_initialization, made static. New arg extlang.
11598 (gdbpy_initialized): New function.
11599 * python/python.h: #include "extension.h". Delete #include
11600 "value.h", "mi/mi-cmds.h".
11601 (extension_language_python): Declare.
11602 (GDBPY_AUTO_FILE_NAME): Delete.
11603 (enum py_bt_status): Moved to extension.h and renamed to
11604 ext_lang_bt_status.
11605 (enum frame_filter_flags): Moved to extension.h.
11606 (enum py_frame_args): Moved to extension.h and renamed to
11607 ext_lang_frame_args.
11608 (finish_python_initialization): Delete.
11609 (eval_python_from_control_command): Delete.
11610 (source_python_script): Delete.
11611 (apply_val_pretty_printer): Delete.
11612 (apply_frame_filter): Delete.
11613 (preserve_python_values): Delete.
11614 (gdbpy_script_language_defn): Delete.
11615 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11616 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11617
11618 * auto-load.c: #include "extension.h".
11619 (GDB_AUTO_FILE_NAME): Delete.
11620 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11621 (script_language_gdb): Delete, moved to extension.c and renamed to
11622 extension_language_gdb.
11623 (source_gdb_script_for_objfile): Delete.
11624 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11625 (loaded_script): Change type of language member to
11626 struct extension_language_defn *.
11627 (init_loaded_scripts_info): Initialize
11628 unsupported_script_warning_printed.
11629 (maybe_add_script): Make static. Change type of language arg to
11630 struct extension_language_defn *.
11631 (clear_section_scripts): Reset unsupported_script_warning_printed.
11632 (auto_load_objfile_script_1): Rewrite to use extension language API.
11633 (auto_load_objfile_script): Make public. Remove support-compiled-in
11634 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11635 (source_section_scripts): Rewrite to use extension language API.
11636 (load_auto_scripts_for_objfile): Rewrite to use
11637 auto_load_scripts_for_objfile.
11638 (collect_matching_scripts_data): Change type of language member to
11639 struct extension_language_defn *.
11640 (auto_load_info_scripts): Change type of language arg to
11641 struct extension_language_defn *.
11642 (unsupported_script_warning_print): New function.
11643 (script_not_found_warning_print): Make static.
11644 (_initialize_auto_load): Rewrite construction of scripts-directory
11645 help.
11646 * auto-load.h (struct objfile): Add forward decl.
11647 (struct script_language): Delete.
11648 (struct auto_load_pspace_info): Add forward decl.
11649 (struct extension_language_defn): Add forward decl.
11650 (maybe_add_script): Delete.
11651 (auto_load_objfile_script): Declare.
11652 (script_not_found_warning_print): Delete.
11653 (auto_load_info_scripts): Update prototype.
11654 (auto_load_gdb_scripts_enabled): Declare.
11655 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11656 auto_load_python_scripts_enabled and made public.
11657 (script_language_python): Delete, moved to python.c.
11658 (gdbpy_script_language_defn): Delete.
11659 (info_auto_load_python_scripts): Update to use
11660 extension_language_python.
11661
11662 * breakpoint.c (condition_command): Replace call to
11663 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11664 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11665 with call to breakpoint_ext_lang_cond_says_stop.
11666 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11667 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11668 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11669 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11670 New arg slang.
11671 (local_setattro): Print name of extension language with existing
11672 stop condition.
11673
11674 * valprint.c (val_print, value_print): Update to call
11675 apply_ext_lang_val_pretty_printer.
11676 * cp-valprint.c (cp_print_value): Update call to
11677 apply_ext_lang_val_pretty_printer.
11678 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11679 (gdbpy_apply_val_pretty_printer): Renamed from
11680 apply_val_pretty_printer. New arg extlang.
11681 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11682
11683 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11684 extension language API.
11685 * cli/cli-script.c (execute_control_command): Update to call
11686 eval_ext_lang_from_control_command.
11687
11688 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11689 enum ext_lang_bt_status values. Update call to
11690 apply_ext_lang_frame_filter.
11691 (mi_cmd_stack_list_locals): Ditto.
11692 (mi_cmd_stack_list_args): Ditto.
11693 (mi_cmd_stack_list_variables): Ditto.
11694 * mi/mi-main.c: Delete #include "python/python-internal.h".
11695 Add #include "extension.h".
11696 (mi_cmd_list_features): Replace reference to python internal variable
11697 gdb_python_initialized with call to ext_lang_initialized_p.
11698
11699 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11700 Update to use enum ext_lang_frame_args. Update to call
11701 apply_ext_lang_frame_filter.
11702 * python/py-framefilter.c (extract_sym): Update to use enum
11703 ext_lang_bt_status.
11704 (extract_value, py_print_type, py_print_value): Ditto.
11705 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11706 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11707 (py_print_frame): Ditto.
11708 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11709 New arg extlang. Update to use enum ext_lang_bt_status.
11710
11711 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11712 finish_python_initialization. Replace with call to
11713 finish_ext_lang_initialization.
11714
11715 * typeprint.c (do_free_global_table): Update to call
11716 free_ext_lang_type_printers.
11717 (create_global_typedef_table): Update to call
11718 start_ext_lang_type_printers.
11719 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11720 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11721 (type_print_options): Change type of global_printers from "void *"
11722 to "struct ext_lang_type_printers *".
11723
11724 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11725 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11726 (gdbpy_preserve_values): Renamed from preserve_python_values.
11727 New arg extlang.
11728 (!HAVE_PYTHON, preserve_python_values): Delete.
11729
11730 * utils.c (quit_flag): Delete, moved to extension.c.
11731 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11732 extension.c.
11733
11734 * eval.c: Delete #include "python/python.h".
11735 * main.c: Delete #include "python/python.h".
11736
11737 * defs.h: Update comment.
11738
6af79985
JB
117392014-02-06 Joel Brobecker <brobecker@adacore.com>
11740
11741 GDB 7.7 released.
11742
12c5175d
MK
117432014-02-05 Mark Kettenis <kettenis@gnu.org>
11744
11745 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11746 defined.
11747
8dc5b319
YQ
117482014-02-05 Yao Qi <yao@codesourcery.com>
11749
11750 * remote.c (remote_pass_signals): Remove local 'buf' and use
11751 rs->buf.
11752 (remote_program_signals): Likewise.
11753
de7b2893
YQ
117542014-02-05 Yao Qi <yao@codesourcery.com>
11755
11756 * ctf.c: Include "inferior.h" and "gdbthread.h".
11757 (CTF_PID): A new macro.
11758 (ctf_open): Call inferior_appeared and add_thread_silent.
11759 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11760 (ctf_thread_alive): New function.
11761 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11762
66d032ac
YQ
117632014-02-05 Yao Qi <yao@codesourcery.com>
11764
11765 Revert this patch:
11766
11767 2013-05-24 Yao Qi <yao@codesourcery.com>
11768
11769 * tracepoint.c (TFILE_PID): Remove.
11770 (tfile_open): Don't add thread and inferior.
11771 (tfile_close): Don't set 'inferior_ptid'. Don't call
11772 exit_inferior_silent.
11773 (tfile_thread_alive): Remove.
11774 (init_tfile_ops): Don't set field 'to_thread_alive' of
11775 tfile_ops.
11776
f4ccffad
CE
117772014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11778
11779 * remote.c (remote_start_remote): Call remote_check_symbols even
11780 if only symbol-file (not file) has been given.
11781
591a12a1
UW
117822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11783
11784 * gdbarch.sh (skip_entrypoint): New callback.
11785 * gdbarch.c, gdbarch.h: Regenerate.
11786 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11787 * infrun.c (fill_in_stop_func): Likewise.
11788 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11789 (ppc_elfv2_elf_make_msymbol_special): New function.
11790 (ppc_elfv2_skip_entrypoint): Likewise.
11791 (ppc_linux_init_abi): Install them for ELFv2.
11792
cc0e89c5
UW
117932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11794
11795 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11796 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11797 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11798 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11799 structures returned in GPRs.
11800
52f548e4
UW
118012014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11802
11803 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11804 offset to the stack parameter list for the ELFv2 ABI.
11805
d4094b6a
UW
118062014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11807
11808 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11809 set_gdbarch_convert_from_func_ptr_addr and
11810 set_gdbarch_elf_make_msymbol_special for ELFv1.
11811 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11812 function descriptors on ELFv1.
11813 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11814 set up r12 at function entry.
11815
cd453cd0
UW
118162014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11817
11818 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11819 (struct gdbarch_tdep): New member elf_abi.
11820
11821 * rs6000-tdep.c: Include "elf/ppc64.h".
11822 (rs6000_gdbarch_init): Detect ELF ABI version.
11823
0ff3e01f
UW
118242014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11825
11826 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11827 within a register pair holding a DFP 128-bit value on little-endian.
11828 (ppc64_sysv_abi_return_value_base): Likewise.
11829 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11830 (dfp_pseudo_register_write): Likewise.
11831
5b757e5d
UW
118322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11833
11834 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11835 offset on little-endian when passing _Decimal32.
11836 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11837
084ee545
UW
118382014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11839
11840 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11841 of the overlapped FP register within the VSX register on little-
11842 endian platforms.
11843 (efpr_pseudo_register_write): Likewise.
11844
d63167af
UW
118452014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11846
11847 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11848 offset on little-endian when passing small structures.
11849
e765b44c
UW
118502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11851
11852 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11853 (struct ppc64_sysv_argpos): New data structure.
11854 (ppc64_sysv_abi_push_float): Remove.
11855 (ppc64_sysv_abi_push_val): New function.
11856 (ppc64_sysv_abi_push_integer): Likewise.
11857 (ppc64_sysv_abi_push_freg): Likewise.
11858 (ppc64_sysv_abi_push_vreg): Likewise.
11859 (ppc64_sysv_abi_push_param): Likewise.
11860 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11861 (ppc64_sysv_abi_return_value_base): New function.
11862 (ppc64_sysv_abi_return_value): Refactor to use it.
11863
36c24d95
UW
118642014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11865
11866 * NEWS: Document new target powerpc64le-*-linux*.
11867
26fd9228
MK
118682014-02-04 Mark Kettenis <kettenis@gnu.org>
11869
11870 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11871 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11872 core dumps.
11873 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11874 register set used in ELF core dumps. Add floating-point register set.
11875
c5bb7362
KB
118762014-02-03 Kevin Buettner <kevinb@redhat.com>
11877
74228e77 11878 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
11879 dwarf2_to_gdb[] table using symbolic constants. Adjust
11880 penultimate entry from number representing the PC register
11881 to symbolic constant representing the MDR register. Add
11882 constant for the PC register to the end of the table.
11883
af09351e
MK
118842014-02-03 Mark Kettenis <kettenis@gnu.org>
11885
11886 * bsd-kvm.c: Include <sys/param.h>
11887
8507e05d
MK
118882014-02-03 Mark Kettenis <kettenis@gnu.org>
11889
11890 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11891
ae56bfb8
JB
118922014-01-31 Joel Brobecker <brobecker@adacore.com>
11893
11894 * ada-lang.h (clear_ada_sym_cache): Delete.
11895
718ee4dc
UW
118962014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11897
11898 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11899
401e27fd
JM
119002014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11901
11902 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11903 the sigreturn register save area only if the syscall is
11904 sigreturn.
11905
a7c88acd
JB
119062014-01-29 Joel Brobecker <brobecker@adacore.com>
11907
11908 * valops.c (value_slice): Minor reformatting.
11909
fa0079ea
UW
119102014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11911
11912 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11913
c6044dd1
JB
119142014-01-28 Joel Brobecker <brobecker@adacore.com>
11915
11916 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11917 New static globals.
11918 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11919 (ada_ignore_descriptive_types_p): New static global.
11920 (find_parallel_type_by_descriptive_type): Return immediately
11921 if ada_ignore_descriptive_types_p is set.
11922 (_initialize_ada_language): Register new commands "maintenance
11923 set ada", "maintenance show ada", "maintenance set ada
11924 ignore-descriptive-types" and "maintenance show ada
11925 ignore-descriptive-types".
11926 * NEWS: Add entry for new "maint ada set/show
11927 ignore-descriptive-types" commands.
11928
568e808b
MM
119292014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11930
11931 * record-btrace.c (record_btrace_close): Call btrace_teardown
11932 for all threads.
11933
467d141b
JB
119342014-01-27 Joel Brobecker <brobecker@adacore.com>
11935
11936 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11937 "ui-out.h".
11938
fb151210
JB
119392014-01-27 Joel Brobecker <brobecker@adacore.com>
11940
11941 * ada-typeprint (type_is_full_subrange_of_target_type):
11942 New function.
11943 (print_range): Add parameter bounds_prefered_p. If not set,
11944 try printing range types using the name of their base type.
11945 (print_range_type): Add parameter bounds_prefered_p.
11946 Use it in call to print_range.
11947 (print_array_type, ada_print_type): Update calls to print_range
11948 and print_range_type.
11949
aba02109
JB
119502014-01-27 Joel Brobecker <brobecker@adacore.com>
11951
11952 * ada-typeprint.c (print_array_type, print_choices, print_range)
11953 (print_range_bound, print_dynamic_range_bound, print_range_type):
11954 Remove declaration.
11955
e62e21fd
JB
119562014-01-27 Joel Brobecker <brobecker@adacore.com>
11957
11958 * ada-typeprint.c (print_range): Add missing empty line
11959 after local declaration.
11960
859cf5d1
JB
119612014-01-27 Joel Brobecker <brobecker@adacore.com>
11962
11963 * ada-valprint.c (print_optional_low_bound): Get index_type's
11964 target type for as long as it is a TYPE_CODE_RANGE.
11965
25790f6f
JB
119662014-01-27 Joel Brobecker <brobecker@adacore.com>
11967
11968 * procfs.c (procfs_make_note_section): Remove assertion and
11969 associated comment.
11970
6b6aa828
YQ
119712014-01-24 Yao Qi <yao@codesourcery.com>
11972
11973 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11974 * corelow.c (get_core_siginfo): Likewise.
11975
5d6df423
YQ
119762014-01-24 Yao Qi <yao@codesourcery.com>
11977
11978 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11979 ULONGEST. Don't check 'len' is negative.
11980 (remote_write_bytes): Change type of 'len' to ULONGEST.
11981
83b645b8
TT
119822014-01-23 Tom Tromey <tromey@redhat.com>
11983
11984 PR python/16485:
11985 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11986 Handle exception from frame.block.
11987 (FrameVars.fetch_frame_locals): Likewise.
11988
0740f8d8
TT
119892014-01-23 Tom Tromey <tromey@redhat.com>
11990
11991 PR python/16487:
11992 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11993 on a NULL pointer. Move "goto error" to correct place.
11994
21909fa1
TT
119952014-01-23 Tom Tromey <tromey@redhat.com>
11996
11997 PR python/16491:
11998 * python/py-framefilter.c (apply_frame_filter): Call
11999 ensure_python_env after computing gdbarch.
12000
17fde6d0
YQ
120012014-01-23 Yao Qi <yao@codesourcery.com>
12002
12003 * target.c (raw_memory_xfer_partial): Change argument type
12004 from void * to gdb_byte *.
12005 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12006
87ce2a04
DE
120072014-01-22 Doug Evans <dje@google.com>
12008
12009 New gdbserver option --debug-format=timestamp.
12010 * NEWS: Mention it.
12011
237b092b
AA
120122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12013
12014 * syscalls/s390x-linux.xml: New file.
12015 * syscalls/s390-linux.xml: New file.
12016 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12017 (XML_SYSCALL_FILENAME_S390X): Likewise.
12018 (op_svc): New enum value for SVC opcode.
12019 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12020 (s390_linux_get_syscall_number): New function.
12021 (s390_gdbarch_init): Register '*get_syscall_number' and the
12022 syscall xml file name.
12023 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12024 "s390-linux.xml" and "s390x-linux.xml".
12025 * NEWS: Announce new feature.
12026
54bff650
BS
120272014-01-22 Baruch Siach <baruch@tkos.co.il>
12028
12029 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
12030
14e361d7
PA
120312014-01-22 Pedro Alves <palves@redhat.com>
12032
12033 * xtensa-config.c: Include defs.h.
12034
46bbb3ed
JB
120352014-01-22 Joel Brobecker <brobecker@adacore.com>
12036
12037 * common/common-utils.h: Add "ARI:" comment beside __func__
12038 reference.
12039
3a80edfc
JB
120402014-01-22 Joel Brobecker <brobecker@adacore.com>
12041
12042 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
12043 documentation a bit.
12044
4869db5e
RM
120452014-01-21 Roland McGrath <mcgrathr@google.com>
12046
12047 * configure.ac: Call AM_PROG_INSTALL_STRIP.
12048 * configure: Regenerate.
12049 * aclocal.m4: Regenerate.
12050 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
12051 New substituted variables.
12052 (install-strip): New target.
12053 (INSTALL_SCRIPT): New substituted variable.
12054 (FLAGS_TO_PASS): Add it.
12055 (install-only): Use $(INSTALL_SCRIPT) rather than
12056 $(INSTALL_PROGRAM) for gcore.
12057
9ea4267d
TT
120582014-01-20 Tom Tromey <tromey@redhat.com>
12059
12060 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
12061 together.
12062
1f2bdf09
TT
120632014-01-20 Tom Tromey <tromey@redhat.com>
12064
12065 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
12066 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
12067 (deprecated_cmd_warning, complete_on_cmdlist): Update.
12068 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
12069 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12070 (struct cmd_list_element) <flags>: Remove.
12071 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12072 doc_allocated>: New fields.
12073 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12074 bitfields.
12075 * maint.c (maintenance_do_deprecate): Update.
12076 * top.c (execute_command): Update.
12077
e671835b
BS
120782014-01-20 Baruch Siach <baruch@tkos.co.il>
12079
12080 * xtensa-linux-nat.c: Include asm/ptrace.h.
12081
50367cd2
IB
120822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12083
12084 * Makefile.in (SFILES): Add d-support.c.
12085 (COMMON_OBS): Add d-support.o.
12086 * d-lang.h (d_parse_symbol): Add comment, now defined in
12087 d-support.c.
12088 * d-lang.c (parse_call_convention)
12089 (parse_attributes, parse_function_types)
12090 (parse_function_args, parse_type, parse_identifier)
12091 (call_convention_p, d_parse_symbol): Move functions to ...
12092 * d-support.c: ... New file.
12093
ec9f644a
IB
120942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12095
12096 * d-lang.h (d_parse_symbol): Add declaration.
12097 * d-lang.c (extract_identifiers)
12098 (extract_type_info): Remove functions.
12099 (parse_call_convention, parse_attributes)
12100 (parse_function_types, parse_function_args)
12101 (parse_type, parse_identifier, call_convention_p)
12102 (d_parse_symbol): New functions.
12103 (d_demangle): Use d_parse_symbol to demangle D symbols.
12104
94b1b47e
IB
121052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12106
12107 * d-lang.h (struct builtin_d_type): New data type.
12108 (builtin_d_type): Add declaration.
12109 * d-lang.c (d_language_arch_info, build_d_types)
12110 (builtin_d_type): New functions.
12111 (enum d_primitive_types): New data type.
12112 (d_language_defn): Change c_language_arch_info to
12113 d_language_arch_info.
12114 (d_type_data): New static variable.
12115 (_initialize_d_language): Initialize d_type_data.
12116
63778547
IB
121172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12118
12119 * d-lang.h (d_main_name): Add declaration.
12120 * d-lang.c (d_main_name): New function.
12121 * symtab.c (find_main_name): Add call to d_main_name.
12122
3271ba66
IB
121232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12124
12125 * d-lang.c (d_language_defn): Change macro_expansion_c to
12126 macro_expansion_no.
12127
d36b3012
IB
121282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12129
12130 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12131
c90a6fb7
SDJ
121322014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
12133
12134 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
12135 gdb_exception" declaration.
12136 * remote.c (getpkt_or_notif_sane): Likewise.
12137
749234e5
DE
121382014-01-17 Doug Evans <dje@google.com>
12139
12140 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
12141 function, contents of dirnames_to_char_ptr_vec_append moved here.
12142 (delim_string_to_char_ptr_vec): New function.
12143 (dirnames_to_char_ptr_vec_append): Rewrite.
12144 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
12145
df049a58
DE
121462014-01-17 Doug Evans <dje@google.com>
12147
12148 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
12149 and moved here ...
12150 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
12151 #include "common-utils.h".
12152 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
12153 * common/vec.h (VEC_ASSERT_PASS): Update.
12154 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
12155 (MACH_CHECK_ERROR): Update.
12156
69f97648
SM
121572014-01-17 Simon Marchi <simon.marchi@ericsson.com>
12158
12159 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
12160 comments.
12161 * gdbarch.h: Regenerate.
12162
98b1cfdc
TT
121632014-01-16 Tom Tromey <tromey@redhat.com>
12164
12165 * value.c (struct value) <regnum>: Move earlier.
12166
77a19445
TT
121672014-01-16 Tom Tromey <tromey@redhat.com>
12168
12169 * remote.c (extended_remote_create_inferior): Rename from
12170 extended_remote_create_inferior_1. Add "ops" argument. Remove
12171 old implementation.
12172
62261490
PA
121732014-01-16 Pedro Alves <palves@redhat.com>
12174
12175 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
12176 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
12177 the backchain.
12178
4d65956b
DE
121792014-01-16 Doug Evans <dje@google.com>
12180
12181 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
12182
52834460
MM
121832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12184
12185 * btrace.h (btrace_thread_flag): New.
12186 (struct btrace_thread_info) <flags>: New.
12187 * record-btrace.c (record_btrace_resume_thread)
12188 (record_btrace_find_thread_to_move, btrace_step_no_history)
12189 (btrace_step_stopped, record_btrace_start_replaying)
12190 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
12191 (record_btrace_find_resume_thread): New.
12192 (record_btrace_resume, record_btrace_wait): Extend.
12193 (record_btrace_can_execute_reverse): New.
12194 (record_btrace_open): Fail in non-stop mode.
12195 (record_btrace_set_replay): Split into this, ...
12196 (record_btrace_stop_replaying): ... this, ...
12197 (record_btrace_clear_histories): ... and this.
12198 (init_record_btrace_ops): Init to_can_execute_reverse.
12199 * NEWS: Announce it.
12200
118e6252
MM
122012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12202
12203 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
12204 (forward_target_decr_pc_after_break)
12205 (target_decr_pc_after_break): New.
12206 * target.c (forward_target_decr_pc_after_break)
12207 (target_decr_pc_after_break): New.
12208 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
12209 instead of gdbarch_decr_pc_after_break.
12210 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12211 instead of gdbarch_decr_pc_after_break.
12212 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
12213 instead of gdbarch_decr_pc_after_break.
12214 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12215 instead of gdbarch_decr_pc_after_break.
12216 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
12217 instead of gdbarch_decr_pc_after_break.
12218 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
12219 instead of gdbarch_decr_pc_after_break.
12220
6e07b1d2
MM
122212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12222
12223 * btrace.c: Include regcache.h.
12224 (btrace_add_pc): New.
12225 (btrace_enable): Call btrace_add_pc.
12226 (btrace_is_empty): New.
12227 * btrace.h (btrace_is_empty): New.
12228 * record-btrace.c (require_btrace, record_btrace_info): Call
12229 btrace_is_empty.
12230
969c39fb
MM
122312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12232
12233 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
12234 Support delta reads.
12235 (linux_disable_btrace): Change return type.
12236 * common/linux-btrace.h (linux_read_btrace): Change parameters
12237 and return type to allow error reporting. Update users.
12238 (linux_disable_btrace): Change return type. Update users.
12239 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
12240 New.
12241 (btrace_error): New.
12242 (btrace_block) <begin>: Comment on BEGIN == 0.
12243 * btrace.c (btrace_compute_ftrace): Start from the end of
12244 the current trace.
12245 (btrace_stitch_trace, btrace_clear_history): New.
12246 (btrace_fetch): Read delta trace, return if replaying.
12247 (btrace_clear): Move clear history code to btrace_clear_history.
12248 (parse_xml_btrace): Throw an error if parsing failed.
12249 * target.h (struct target_ops) <to_read_btrace>: Change parameters
12250 and return type to allow error reporting.
12251 (target_read_btrace): Change parameters and return type to allow
12252 error reporting.
12253 * target.c (target_read_btrace): Update.
12254 * remote.c (remote_read_btrace): Support delta reads. Pass
12255 errors on.
12256 * NEWS: Announce it.
12257
0b722aec
MM
122582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12259
12260 * record.h (record_btrace_frame_unwind)
12261 (record_btrace_tailcall_frame_unwind): New declarations.
12262 * dwarf2-frame: Include record.h
12263 (dwarf2_frame_cfa): Throw an error for btrace frames.
12264 * record-btrace.c: Include hashtab.h.
12265 (btrace_get_bfun_name): New.
12266 (btrace_call_history): Call btrace_get_bfun_name.
12267 (struct btrace_frame_cache): New.
12268 (bfcache): New.
12269 (bfcache_hash, bfcache_eq, bfcache_new): New.
12270 (btrace_get_frame_function): New.
12271 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
12272 (record_btrace_frame_this_id): Compute own id.
12273 (record_btrace_frame_prev_register): Provide PC, throw_error
12274 for all other registers.
12275 (record_btrace_frame_sniffer): Detect btrace frames.
12276 (record_btrace_tailcall_frame_sniffer): New.
12277 (record_btrace_frame_dealloc_cache): New.
12278 (record_btrace_frame_unwind): Add new functions.
12279 (record_btrace_tailcall_frame_unwind): New.
12280 (_initialize_record_btrace): Allocate cache.
12281 * btrace.c (btrace_clear): Call reinit_frame_cache.
12282 * NEWS: Announce it.
12283
066ce621
MM
122842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12285
12286 * record-btrace.c (record_btrace_set_replay)
12287 (record_btrace_goto_begin, record_btrace_goto_end)
12288 (record_btrace_goto): New.
12289 (init_record_btrace_ops): Initialize them.
12290 * NEWS: Announce it.
12291
e2887aa3
MM
122922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12293
12294 * record-btrace.c (record_btrace_find_new_threads)
12295 (record_btrace_thread_alive): New.
12296 (init_record_btrace_ops): Initialize to_find_new_threads and
12297 to_thread_alive.
12298
b2f4cfde
MM
122992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12300
12301 * record-btrace.c (record_btrace_resume): New.
12302 (record_btrace_wait): New.
12303 (init_record_btrace_ops): Initialize to_wait and to_resume.
12304
633785ff
MM
123052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12306
12307 * record-btrace.c (record_btrace_xfer_partial)
12308 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
12309 (record_btrace_allow_memory_access): New.
12310 (init_record_btrace_ops): Initialize new methods.
12311 * target.c (raw_memory_xfer_partial): Bail out if target reports
12312 that this memory is not available.
12313
3db08215
MM
123142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12315
12316 * target.h (target_ops) <to_insert_breakpoint>
12317 <to_remove_breakpoint>: Add target_ops parameter.
12318 (forward_target_insert_breakpoint): New.
12319 (forward_target_remove_breakpoint): New.
12320 (memory_remove_breakpoint, memory_insert_breakpoint):
12321 Add target_ops parameter.
12322 * target.c (target_insert_breakpoint): Split into this and ...
12323 (forward_target_insert_breakpoint): ... this.
12324 (target_remove_breakpoint): Split into this and ...
12325 (forward_target_remove_breakpoint): ... this.
12326 (debug_to_insert_breakpoint): Add target_ops parameter.
12327 Call forward_target_insert_breakpoint.
12328 (debug_to_remove_breakpoint): Add target_ops parameter.
12329 Call forward_target_remove_breakpoint.
12330 (update_current_target): Do not inherit or default to_insert_breakpoint
12331 and to_remove_breakpoint.
12332 * corelow.c (ignore): Add target_ops parameter.
12333 * exec.c (ignore): Add target_ops parameter.
12334 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12335 Add target_ops parameter.
12336 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12337 Add target_ops parameter.
12338 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12339 Add target_ops parameter.
12340 * record-full.c (record_full_beneath_to_insert_breakpoint)
12341 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12342 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12343 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12344 (record_full_core_remove_breakpoint): Add target_ops parameter.
12345 Update users.
12346 (record_full_beneath_to_insert_breakpoint_ops)
12347 (record_full_beneath_to_remove_breakpoint_ops)
12348 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12349 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12350 tmp_to_remove_breakpoint_ops,
12351 record_full_beneath_to_insert_breakpoint_ops, and
12352 record_full_beneath_to_remove_breakpoint_ops.
12353 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12354 (m32r_remove_breakpoint): Add target_ops parameter.
12355 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12356 Add target_ops parameter.
12357 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12358 Add target_ops parameter.
12359
cecac1ab
MM
123602014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12361 Markus Metzger <markus.t.metzger@intel.com>
12362
12363 * record-btrace.c: Include frame-unwind.h.
12364 (record_btrace_frame_unwind_stop_reason)
12365 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12366 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12367 New.
12368 (init_record_btrace_ops): Install it.
12369
824344ca
MM
123702014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12371
12372 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12373 get_prev_frame_1.
12374
32261e52
MM
123752014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12376
12377 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12378 earlier.
12379
ea001bdc
MM
123802014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12381
12382 * frame-unwind.c: Include target.h.
12383 (frame_unwind_try_unwinder): New function with code from ...
12384 (frame_unwind_find_by_frame): ... here. New variable
12385 unwinder_from_target, call also target_get_unwinder)
12386 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12387 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12388 * target.h (struct target_ops): New fields to_get_unwinder and
12389 to_get_tailcall_unwinder.
12390 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12391
1f3ef581
MM
123922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12393
12394 * record-btrace.c (record_btrace_fetch_registers)
12395 (record_btrace_store_registers)
12396 (record_btrace_to_prepare_to_store): New.
12397 (init_record_btrace_ops): Add the above.
12398
f32dbf8c
MM
123992014-01-16 Tom Tromey <tromey@redhat.com>
12400
12401 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12402 * target.h (struct target_ops) <to_prepare_to_store>: Add
12403 argument.
12404 (target_prepare_to_store): Add argument.
12405 * target.c (debug_to_prepare_to_store): Add argument.
12406 (update_current_target): Update.
12407 * remote.c (remote_prepare_to_store): Add 'self' argument.
12408 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12409 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12410 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12411 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12412 argument.
12413 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12414 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12415 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12416 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12417 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12418
07bbe694
MM
124192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12420
12421 * btrace.h (replay) <replay>: New.
12422 (btrace_is_replaying): New.
12423 * btrace.c (btrace_clear): Free replay iterator.
12424 (btrace_is_replaying): New.
12425 * record-btrace.c (record_btrace_is_replaying): New.
12426 (record_btrace_info): Print insn number if replaying.
12427 (record_btrace_insn_history): Start at replay position.
12428 (record_btrace_call_history): Start at replay position.
12429 (init_record_btrace_ops): Init to_record_is_replaying.
12430
0688d04e
MM
124312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12432
12433 * record-btrace.c (record_btrace_insn_history_range): Include
12434 end.
12435 (record_btrace_insn_history_from): Adjust range.
12436 (record_btrace_call_history_range): Include
12437 end.
12438 (record_btrace_call_history_from): Adjust range.
12439 * NEWS: Announce changes.
12440
8710b709
MM
124412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12442
12443 * record.h (enum record_print_flag)
12444 <record_print_indent_calls>: New.
12445 * record.c (get_call_history_modifiers): Recognize /c modifier.
12446 (_initialize_record): Document /c modifier.
12447 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12448 Reorder fields. Optionally indent the function name. Update
12449 all users.
12450 * NEWS: Announce changes.
12451
d0fa7535
MM
124522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12453
12454 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12455
5de9129b
MM
124562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12457
12458 * btrace.c (ftrace_new_function): Start counting at one.
12459 * record-btrace.c (record_btrace_info): Adjust number of calls
12460 and insns.
12461 * NEWS: Announce it.
12462
7acbe133
MM
124632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12464
12465 * record-btrace.c (btrace_call_history_insn_range): Print
12466 insn range as [begin, end].
12467
23a7fe75
MM
124682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12469
12470 * btrace.h (struct btrace_func_link): New.
12471 (enum btrace_function_flag): New.
12472 (struct btrace_inst): Rename to ...
12473 (struct btrace_insn): ...this. Update all users.
12474 (struct btrace_func) <ibegin, iend>: Remove.
12475 (struct btrace_func_link): New.
12476 (struct btrace_func): Rename to ...
12477 (struct btrace_function): ...this. Update all users.
12478 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12479 (number, level, flags>: New.
12480 (struct btrace_insn_iterator): Rename to ...
12481 (struct btrace_insn_history): ...this.
12482 Update all users.
12483 (struct btrace_insn_iterator, btrace_call_iterator): New.
12484 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12485 (struct btrace_target_info) <begin, end, level>
12486 <insn_history, call_history>: New.
12487 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12488 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12489 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12490 (btrace_call_number, btrace_call_begin, btrace_call_end)
12491 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12492 (btrace_find_function_by_number, btrace_set_insn_history)
12493 (btrace_set_call_history): New.
12494 * btrace.c (btrace_init_insn_iterator)
12495 (btrace_init_func_iterator, compute_itrace): Remove.
12496 (ftrace_print_function_name, ftrace_print_filename)
12497 (ftrace_skip_file): Change
12498 parameter to const.
12499 (ftrace_init_func): Remove.
12500 (ftrace_debug): Use new btrace_function fields.
12501 (ftrace_function_switched): Also consider gaining and
12502 losing symbol information).
12503 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12504 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12505 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12506 New.
12507 (ftrace_new_function): Move. Remove debug print.
12508 (ftrace_update_lines, ftrace_update_insns): New.
12509 (ftrace_update_function): Check for call, ret, and jump.
12510 (compute_ftrace): Renamed to ...
12511 (btrace_compute_ftrace): ...this. Rewritten to compute call
12512 stack.
12513 (btrace_fetch, btrace_clear): Updated.
12514 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12515 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12516 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12517 (btrace_call_number, btrace_call_begin, btrace_call_end)
12518 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12519 (btrace_find_function_by_number, btrace_set_insn_history)
12520 (btrace_set_call_history): New.
12521 * record-btrace.c (require_btrace): Use new btrace thread
12522 info fields.
12523 (record_btrace_info, btrace_insn_history)
12524 (record_btrace_insn_history, record_btrace_insn_history_range):
12525 Use new btrace thread info fields and new iterator.
12526 (btrace_func_history_src_line): Rename to ...
12527 (btrace_call_history_src_line): ...this. Use new btrace
12528 thread info fields.
12529 (btrace_func_history): Rename to ...
12530 (btrace_call_history): ...this. Use new btrace thread info
12531 fields and new iterator.
12532 (record_btrace_call_history, record_btrace_call_history_range):
12533 Use new btrace thread info fields and new iterator.
12534
8372a7cb
MM
125352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12536
12537 * frame.h (frame_id_build_unavailable_stack_special): New.
12538 * frame.c (frame_id_build_unavailable_stack_special): New.
12539
c2170eef
MM
125402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12541
12542 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12543 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12544 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12545 to gdbarch.
12546 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12547 (i386_insn_is_jump, i386_jmp_p): New.
12548 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12549 insn_is_jump to gdbarch.
12550 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12551 * gdbarch.h: Regenerated.
12552 * gdbarch.c: Regenerated.
12553 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12554 (default_insn_is_jump): New.
12555 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12556 (default_insn_is_jump): New.
12557
864089d2
MM
125582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12559
12560 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12561 Change to ...
12562 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12563 (btrace_read_type) <btrace_read_new>: Change to ...
12564 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12565
ed9edfb5
MM
125662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12567
12568 * common/linux-btrace.c (linux_read_btrace): Free trace from
12569 previous iteration.
12570
fbcbc3fd
DE
125712014-01-15 Doug Evans <dje@google.com>
12572
12573 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12574 uint32_t.
12575
3d548a53
TT
125762014-01-15 Tom Tromey <tromey@redhat.com>
12577
12578 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12579 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12580 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12581 (set_objfile_main_name): New function.
12582 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12583 language_of_main>: New fields.
12584 (set_objfile_main_name): Declare.
12585 * symtab.c (find_main_name): Loop over objfiles to find the main
12586 name and language.
12587 (set_main_name): Now static.
12588 (get_main_info): Add comment.
12589 * symtab.h (set_main_name): Don't declare.
12590
32ac0d11
TT
125912014-01-15 Tom Tromey <tromey@redhat.com>
12592
12593 * symtab.c (main_progspace_key): New global.
12594 (struct main_info): New.
12595 (name_of_main, language_of_main): Remove.
12596 (get_main_info, main_info_cleanup): New function.
12597 (set_main_name, main_name, main_language): Use get_main_info.
12598 (_initialize_symtab): Initialize main_progspace_key.
12599
9e6c82ad
TT
126002014-01-15 Tom Tromey <tromey@redhat.com>
12601
12602 * dbxread.c (process_one_symbol): Update.
12603 * dwarf2read.c (read_partial_die): Update.
12604 * symfile.c (set_initial_language): Call main_language.
12605 * symtab.c (language_of_main): Now static.
12606 (set_main_name): Add 'lang' parameter.
12607 (find_main_name): Update.
12608 (main_language): New function.
12609 (symtab_observer_executable_changed): Update.
12610 * symtab.h (set_main_name): Update.
12611 (language_of_main): Remove.
12612 (main_language): Declare.
12613
6ef55de7
TT
126142014-01-15 Tom Tromey <tromey@redhat.com>
12615
12616 * symfile.c (init_entry_point_info): Use new "initialized" field.
12617 Update.
12618 * objfiles.h (struct entry_point) <initialized>: New field.
12619 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12620 (struct objfile) <ei>: ...here. Remove.
12621 * objfiles.c (entry_point_address_query): Update.
12622
53eddfa6
TT
126232014-01-15 Tom Tromey <tromey@redhat.com>
12624
12625 * objfiles.c (entry_point_address_query): Relocate entry point
12626 address.
12627 (objfile_relocate1): Do not relocate entry point address.
12628 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12629 <the_bfd_section_index>: New field.
12630 * symfile.c (init_entry_point_info): Find the entry point's
12631 section.
12632
d56e56aa
TT
126332014-01-15 Tom Tromey <tromey@redhat.com>
12634
12635 * solib-frv.c (enable_break): Use entry_point_address_query.
12636
33a97bbe
OJ
126372014-01-15 Omair Javaid <omair.javaid@linaro.org>
12638
12639 * NEWS: Add note on improved process record-replay on
12640 arm*-linux* targets.
12641
c6ec2b30
OJ
126422014-01-15 Omair Javaid <omair.javaid@linaro.org>
12643
12644 * arm-tdep.c (enum arm_record_result): New enum.
12645 (arm_record_unsupported_insn): New function.
12646 (arm_record_coproc_data_proc): Removed.
12647 (thumb2_record_ld_st_multiple): New function.
12648 (thumb2_record_ld_st_dual_ex_tbb): New function.
12649 (thumb2_record_data_proc_sreg_mimm): New function.
12650 (thumb2_record_ps_dest_generic): New function.
12651 (thumb2_record_branch_misc_cntrl): New function.
12652 (thumb2_record_str_single_data): New function.
12653 (thumb2_record_ld_mem_hints): New function.
12654 (thumb2_record_ld_word): New function.
12655 (thumb2_record_lmul_lmla_div): New function.
12656 (thumb2_record_decode_insn_handler): New function.
12657 (decode_insn): Add thumb32 instruction handlers.
12658
97dfe206
OJ
126592014-01-15 Omair Javaid <omair.javaid@linaro.org>
12660
12661 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12662 (struct arm_linux_record_tdep): Declare.
12663 (arm_canonicalize_syscall): New function.
12664 (arm_all_but_pc_registers_record): New function.
12665 (arm_linux_syscall_record): New function.
12666 (arm_linux_init_abi): Add syscall recording constructs.
12667 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12668 decoding. (arm_record_coproc_data_proc): Update arm syscall
12669 decoding.
12670 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12671 <arm_syscall_record>: New field.
12672 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12673 gdb_target_obs.
12674
9904a494
OJ
126752014-01-15 Omair Javaid <omair.javaid@linaro.org>
12676
12677 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12678 register for push instruction recording.
12679
f969241e
OJ
126802014-01-15 Omair Javaid <omair.javaid@linaro.org>
12681
12682 * arm-tdep.c (thumb_record_misc): Update to correct logical
12683 error while recording ldm, ldmia and pop instructions.
12684
bfbbec00
OJ
126852014-01-15 Omair Javaid <omair.javaid@linaro.org>
12686
12687 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12688
e40adcc9
PA
126892014-01-15 Pedro Alves <palves@redhat.com>
12690
12691 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12692 (go32_resume, go32_fetch_registers, store_register)
12693 (go32_store_registers, go32_prepare_to_store)
12694 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12695 (go32_create_inferior, go32_can_run, go32_terminal_init)
12696 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12697 declarations.
12698
b0a16e66
TT
126992014-01-15 Tom Tromey <tromey@redhat.com>
12700
12701 * target.h (async_callback_ftype): New typedef.
12702 (struct target_ops) <to_async>: Use it.
12703
bf7105a4
JB
127042014-01-15 Joel Brobecker <brobecker@adacore.com>
12705
12706 * python/py-value.c (get_field_type): Remove unnecessary curly
12707 braces for single-statement if block.
12708
a8f35c2e
JB
127092014-01-15 Joel Brobecker <brobecker@adacore.com>
12710
12711 * python/py-type.c (convert_field): Add missing empty line
12712 after declarations.
12713
bb4142cf
DE
127142014-01-14 Doug Evans <dje@google.com>
12715
12716 * symfile.h (expand_symtabs_matching): Renamed from
12717 expand_partial_symbol_names. Update prototype.
12718 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12719 * symfile.c (expand_symtabs_matching): Renamed from
12720 expand_partial_symbol_names. New args file_matcher, kind.
12721 Rename arg fun to symbol_matcher.
12722 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12723 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12724 ada_expand_partial_symbol_name.
12725 (ada_make_symbol_completion_list): Update to call
12726 expand_symtabs_matching.
12727 (ada_add_global_exceptions): Call expand_symtabs_matching.
12728 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12729 call map_symbol_filenames.
12730 * symtab.c (sources_info): Update to call map_symbol_filenames.
12731 (search_symbols): Call expand_symtabs_matching.
12732 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12733 (default_make_symbol_completion_list_break_on): Update to call
12734 expand_symtabs_matching.
12735 (make_source_files_completion_list): Update to call
12736 map_symbol_filenames.
12737
206f2a57
DE
127382014-01-14 Doug Evans <dje@google.com>
12739
12740 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12741 (expand_symtabs_symbol_matcher_ftype): New typedef.
12742 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12743 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12744 * symfile.c (expand_partial_symbol_names): Update to use
12745 expand_symtabs_symbol_matcher_ftype.
12746 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12747 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12748 Arg name_matcher renamed to symbol_matcher.
12749 * psymtab.c (recursively_search_psymtabs): Update to use
12750 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12751 sym_matcher.
12752 (expand_symtabs_matching_via_partial): Update to use
12753 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12754 Arg name_matcher renamed to symbol_matcher.
12755
540c2971
DE
127562014-01-14 Doug Evans <dje@google.com>
12757
12758 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12759 (map_partial_symbol_filenames): Ditto.
12760 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12761 (map_partial_symbol_filenames): Ditto.
12762 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12763 (map_partial_symbol_filenames): Ditto.
12764 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12765 (map_partial_symbol_filenames): Ditto.
12766 * symtab.c: Delete #include "psymtab.h".
12767
8213266a
PA
127682014-01-14 Pedro Alves <palves@redhat.com>
12769 Tom Tromey <tromey@redhat.com>
12770
12771 * infrun.c (use_displaced_stepping): Use find_record_target
12772 instead of RECORD_IS_USED.
12773 (adjust_pc_after_break): Use record_full_is_used instead of
12774 RECORD_IS_USED.
12775 * record-btrace.c (record_btrace_open): Call record_preopen
12776 instead of checking RECORD_IS_USED.
12777 * record-full.c (record_full_shortname)
12778 (record_full_core_shortname): New globals.
12779 (record_full_is_used): New function.
12780 (find_full_open): Call record_preopen instead of checking
12781 RECORD_IS_USED.
12782 (init_record_full_ops): Set the target's shortname to
12783 record_full_shortname.
12784 (init_record_full_core_ops): Set the target's shortname to
12785 record_full_core_shortname.
12786 * record-full.h (record_full_is_used): Declare.
12787 * record.c (find_record_target): Make extern.
12788 (record_preopen): New function.
12789 * record.h (RECORD_IS_USED): Delete macro.
12790 (find_record_target, record_preopen): Declare functions.
12791
7ec1862d
YQ
127922014-01-14 Yao Qi <yao@codesourcery.com>
12793
12794 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12795 'len''s type to ULONGEST.
12796 (core_xfer_shared_libraries_aix): Likewise.
12797 * gdbarch.c, gdbarch.h: Regenerated.
12798 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12799 Change type of 'len' to ULONGEST.
12800 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12801 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12802
dea80a27
YQ
128032014-01-14 Yao Qi <yao@codesourcery.com>
12804
12805 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12806 type of 'len' to ULONGEST.
12807 (linux_xfer_osdata_processgroups): Likewise.
12808 (linux_xfer_osdata_threads): Likewise.
12809 (linux_xfer_osdata_fds): Likewise.
12810 (linux_xfer_osdata_isockets): Likewise.
12811 (linux_xfer_osdata_shm): Likewise.
12812 (linux_xfer_osdata_sem): Likewise.
12813 (linux_xfer_osdata_msg): Likewise.
12814 (linux_common_xfer_osdata): Likewise.
12815 (struct osdata_type) <getter>: Likewise.
12816 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12817 the declaration.
12818
b55e14c7
YQ
128192014-01-14 Yao Qi <yao@codesourcery.com>
12820
12821 * target.h (target_xfer_partial_ftype): Update.
12822 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12823 ULONGEST.
12824 * aix-thread.c (aix_thread_xfer_partial): Change type of
12825 argument 'len' to ULONGEST.
12826 * auxv.c (procfs_xfer_auxv): Likewise.
12827 (ld_so_xfer_auxv): Likewise.
12828 (memory_xfer_auxv): Likewise.
12829 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12830 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12831 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12832 * corelow.c (core_xfer_partial): Likewise.
12833 * ctf.c (ctf_xfer_partial): Likewise.
12834 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12835 '%u'.
12836 (darwin_read_dyld_info): Likewise.
12837 (darwin_xfer_partial): Likewise.
12838 * exec.c (section_table_xfer_memory_partial): Likewise.
12839 (exec_xfer_partial): Likewise.
12840 * exec.h (section_table_xfer_memory_partial): Update
12841 declaration.
12842 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12843 instead of plongest.
12844 (gnu_xfer_partial): Likewise.
12845 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12846 (ia64_hpux_xfer_solib_got): Likewise.
12847 (ia64_hpux_xfer_partial): Likewise.
12848 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12849 * inf-ptrace.c (inf_ptrace_xfer_partial):
12850 * inf-ttrace.c (inf_ttrace_xfer_partial):
12851 * linux-nat.c (linux_xfer_siginfo): Likewise.
12852 (linux_nat_xfer_partial): Likewise.
12853 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12854 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12855 * monitor.c (monitor_xfer_memory): Likewise.
12856 (monitor_xfer_partial): Likewise.
12857 * procfs.c (procfs_xfer_partial): Likewise.
12858 * record-full.c (record_full_xfer_partial): Likewise.
12859 (record_full_core_xfer_partial): Likewise.
12860 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12861 instead of plongest.
12862 (gdbsim_xfer_partial): Likewise.
12863 * remote.c (remote_xfer_partial): Likewise.
12864 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12865 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12866 declaration.
12867 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12868 (rs6000_xfer_shared_libraries): Likewise.
12869 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12870 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12871 (sparc_xfer_partial): Likewise.
12872 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12873 (spu_xfer_partial): Likewise.
12874 * spu-multiarch.c (spu_xfer_partial): Likewise.
12875 * target.c (target_read_live_memory): Likewise.
12876 (memory_xfer_live_readonly_partial): Likewise.
12877 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12878 (target_xfer_partial, default_xfer_partial): Likewise.
12879 (current_xfer_partial): Likewise.
12880 * tracepoint.c (tfile_xfer_partial): Likewise.
12881 * windows-nat.c (windows_xfer_memory): Likewise. Call
12882 pulongest instead of plongest.
12883 (windows_xfer_partial): Likewise.
12884 (windows_xfer_shared_libraries): Likewise.
12885
05804640
YQ
128862014-01-14 Yao Qi <yao@codesourcery.com>
12887
12888 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12889 target_xfer_partial_ftype.
12890
b5b08fb4
SC
128912014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12892
12893 PR python/15464
12894 PR python/16113
12895 * valops.c (value_struct_elt_bitpos): New function
12896 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12897 object to 'None' if the field name is an empty string ("").
12898 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12899 attribute to look for a field when 'name' is 'None'.
12900 (get_field_type): New function
12901
13aaf454
DE
129022014-01-13 Doug Evans <dje@google.com>
12903
12904 PR symtab/16426
12905 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12906 (try_open_dwop_file): Ditto.
12907 * gdb_bfd.c: #include "vec.h".
12908 (bfdp): New typedef.
12909 (struct gdb_bfd_data): New member included_bfds.
12910 (gdb_bfd_unref): Unref all included bfds.
12911 (gdb_bfd_record_inclusion): New function.
12912 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12913
c2cec97c
TT
129142014-01-13 Tom Tromey <tromey@redhat.com>
12915
12916 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12917
78e5999d
TT
129182014-01-13 Tom Tromey <tromey@redhat.com>
12919
12920 * defs.h (use_windows): Remove.
12921 * gdb.c (main): Update.
12922 * main.c (captured_main, gdb_main): Update.
12923 * main.h (struct captured_main_args) <use_windows>: Remove.
12924 * top.c (use_windows): Remove.
12925
f2052bbe
TT
129262014-01-13 Tom Tromey <tromey@redhat.com>
12927
12928 * defs.h (deprecated_flush_hook): Remove.
12929
fde4f8ed
JK
129302014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12931
12932 PR threads/16216
12933 * linux-thread-db.c (try_thread_db_load): Add parameter
12934 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12935 (try_thread_db_load_from_pdir_1): Move it there from here.
12936 (try_thread_db_load_from_sdir): Update caller.
12937 (try_thread_db_load_from_dir): Move it there from here.
12938
bdf61915
PP
129392014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12940
12941 * regformats/regdat.sh: Always rewrite the register file.
12942
f71e1a8d
PA
129432014-01-13 Pedro Alves <palves@redhat.com>
12944
12945 * Makefile.in (CHECK_HEADERS): New variable.
12946 (check-headers:): New rule.
12947
42c85435
TT
129482014-01-13 Tom Tromey <tromey@redhat.com>
12949
12950 * cli/cli-setshow.c (do_set_command): Update.
12951 * defs.h (deprecated_set_hook): Remove.
12952 * top.c (deprecated_set_hook): Remove.
12953
f8de5129
PA
129542014-01-13 Pedro Alves <palves@redhat.com>
12955
12956 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12957 the tracepoint if the PC is a pseudo-register.
12958
fc270c35
TT
129592014-01-13 Tom Tromey <tromey@redhat.com>
12960
12961 * defs.h (XCALLOC): Remove.
12962 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12963 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12964 * dwarf2loc.c (allocate_piece_closure): Likewise.
12965 * elfread.c (elf_symfile_segments): Likewise.
12966 (elf_symfile_segments): Likewise.
12967 * gdbtypes.c (copy_type_recursive): Likewise.
12968 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12969 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12970 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12971 XCALLOC.
12972 * mt-tdep.c (mt_gdbarch_init): Likewise.
12973 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12974 XCALLOC.
12975 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12976 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12977 * registry.c (registry_alloc_data): Likewise.
12978 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12979 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12980 * serial.c (serial_fdopen_ops): Likewise.
12981 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12982 XCALLOC.
12983 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12984 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12985 not XCALLOC.
12986
70ba0933
TT
129872014-01-13 Tom Tromey <tromey@redhat.com>
12988
12989 * defs.h (XMALLOC): Remove.
12990 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12991 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12992 * cli-out.c (struct ui_out *): Likewise.
12993 * cli/cli-dump.c (add_dump_command): Likewise.
12994 (add_dump_command): Likewise.
12995 * complaints.c (get_complaints): Likewise.
12996 (find_complaint): Likewise.
12997 * dwarf2-frame.c (execute_cfa_program): Likewise.
12998 * dwarf2read.c (abbrev_table_read_table): Likewise.
12999 * gdbarch.sh: Likewise.
13000 * gdbarch.c: Rebuild.
13001 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13002 * interps.c (interp_new): Likewise.
13003 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13004 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13005 * mi/mi-console.c (mi_console_file_new): Likewise.
13006 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13007 * mi/mi-out.c (mi_out_new): Likewise.
13008 * mi/mi-parse.c (mi_parse): Likewise.
13009 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13010 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13011 * observer.c (xalloc_observer_list_node): Likewise.
13012 * regcache.c (regcache_xmalloc_1): Likewise.
13013 * reggroups.c (reggroup_new): Likewise.
13014 (_initialize_reggroup): Likewise.
13015 * registry.c (register_data_with_cleanup): Likewise.
13016 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13017 * ser-base.c (serial_ttystate): Likewise.
13018 * ser-mingw.c (make_pipe_state): Likewise.
13019 * ser-pipe.c (pipe_open): Likewise.
13020 * serial.c (serial_open): Likewise.
13021 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13022 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13023 (tui_alloc_win_info): Likewise.
13024 (tui_add_content_elements): Likewise.
13025 * tui/tui-file.c (tui_file_new): Likewise.
13026 * tui/tui-out.c (tui_out_new): Likewise.
13027 * ui-file.c (mem_file_new): Likewise.
13028 * ui-out.c (push_level): Likewise.
13029 (make_cleanup_ui_out_end): Likewise.
13030 (append_header_to_list): Likewise.
13031 (ui_out_new): Likewise.
13032 * user-regs.c (user_reg_add_builtin): Likewise.
13033
41bf6aca
TT
130342014-01-13 Tom Tromey <tromey@redhat.com>
13035
13036 * defs.h (XZALLOC): Remove.
13037 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
13038 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
13039 (get_ada_tasks_inferior_data): Likewise.
13040 * auto-load.c (get_auto_load_pspace_data): Likewise.
13041 * auxv.c (get_auxv_inferior_data): Likewise.
13042 * bfd-target.c (target_bfd_reopen): Likewise.
13043 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
13044 (deprecated_insert_raw_breakpoint): Likewise.
13045 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13046 * corelow.c (core_open): Likewise.
13047 * darwin-nat.c (darwin_check_new_threads): Likewise.
13048 (darwin_attach_pid): Likewise.
13049 * dummy-frame.c (dummy_frame_push): Likewise.
13050 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
13051 * dwarf2loc.c (allocate_piece_closure): Likewise.
13052 * elfread.c (elf_symfile_segments): Likewise.
13053 * eval.c (ptrmath_type_p): Likewise.
13054 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
13055 * gdbtypes.c (alloc_type_arch): Likewise.
13056 (alloc_type_instance): Likewise.
13057 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
13058 * inf-child.c (inf_child_can_use_agent): Likewise.
13059 * inflow.c (get_inflow_inferior_data): Likewise.
13060 * infrun.c (save_infcall_suspend_state): Likewise.
13061 * jit.c (jit_reader_load): Likewise.
13062 (get_jit_objfile_data): Likewise.
13063 (get_jit_program_space_data): Likewise.
13064 (jit_object_open_impl): Likewise.
13065 (jit_symtab_open_impl): Likewise.
13066 (jit_block_open_impl): Likewise.
13067 (jit_frame_sniffer): Likewise.
13068 * linux-fork.c (add_fork): Likewise.
13069 * maint.c (make_command_stats_cleanup): Likewise.
13070 * objfiles.c (get_objfile_pspace_data): Likewise.
13071 * opencl-lang.c (struct lval_closure): Likewise.
13072 * osdata.c (osdata_start_osdata): Likewise.
13073 * progspace.c (new_address_space): Likewise.
13074 (add_program_space): Likewise.
13075 * remote-sim.c (get_sim_inferior_data): Likewise.
13076 * sh-tdep.c (sh_gdbarch_init): Likewise.
13077 * skip.c (Ignore): Likewise.
13078 (skip_delete_command): Likewise.
13079 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13080 (library_list_start_library): Likewise.
13081 (solib_aix_current_sos): Likewise.
13082 * solib-darwin.c (get_darwin_info): Likewise.
13083 (darwin_current_sos): Likewise.
13084 * solib-dsbt.c (get_dsbt_info): Likewise.
13085 * solib-ia64-hpux.c (new_so_list): Likewise.
13086 (ia64_hpux_get_solib_linkage_addr): Likewise.
13087 * solib-spu.c (append_ocl_sos): Likewise.
13088 (spu_current_sos): Likewise.
13089 * solib-svr4.c (get_svr4_info): Likewise.
13090 (svr4_keep_data_in_core): Likewise.
13091 (library_list_start_library): Likewise.
13092 (svr4_default_sos): Likewise.
13093 (svr4_read_so_list): Likewise.
13094 * solib-target.c (library_list_start_library): Likewise.
13095 (solib_target_current_sos): Likewise.
13096 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13097 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13098 * symfile.c (default_symfile_segments): Likewise.
13099 * target-descriptions.c (tdesc_data_init): Likewise.
13100 (tdesc_create_reg): Likewise.
13101 (struct tdesc_type *): Likewise.
13102 (tdesc_create_vector): Likewise.
13103 (tdesc_set_struct_size): Likewise.
13104 (struct tdesc_type *): Likewise.
13105 (tdesc_free_feature): Likewise.
13106 (tdesc_create_feature): Likewise.
13107 * windows-nat.c (windows_add_thread): Likewise.
13108 (windows_make_so): Likewise.
13109 * xml-support.c (gdb_xml_body_text): Likewise.
13110 (gdb_xml_create_parser_and_cleanup): Likewise.
13111 (xml_process_xincludes): Likewise.
13112 * xml-syscall.c (allocate_syscalls_info): Likewise.
13113 (syscall_create_syscall_desc): Likewise.
13114
5acfdbae
SDJ
131152014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13116
13117 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13118 function, with code from i386_stap_parse_special_token.
13119 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13120 (i386_stap_parse_special_token): Move code to the two functions
13121 above; simplify it.
13122
0000e5cc
PA
131232014-01-09 Pedro Alves <palves@redhat.com>
13124 Hui Zhu <hui@codesourcery.com>
13125
13126 PR gdb/16101
13127 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13128 bp_err_string. Don't mark the location shlib_disabled if the
13129 error thrown wasn't a generic or memory error. Catch errors
13130 thrown while inserting breakpoints in overlayed code. Output
13131 error message of software breakpoints.
13132 * remote.c (remote_insert_breakpoint): If this breakpoint has
13133 target-side commands but this stub doesn't support Z0 packets,
13134 throw NOT_SUPPORTED_ERROR error.
13135 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
13136 * target.h (target_insert_breakpoint): Extend comment.
13137 (target_insert_hw_breakpoint): Add comment.
13138
b7ea362b
PA
131392014-01-08 Pedro Alves <palves@redhat.com>
13140
13141 * remote.c (remote_add_thread): Add threads silently if starting
13142 up.
13143 (remote_notice_new_inferior): If in all-stop, and starting up,
13144 don't call notice_new_inferior.
13145 (get_current_thread): New function, factored out from ...
13146 (add_current_inferior_and_thread): ... this. Adjust.
13147 (remote_start_remote) <all-stop>: Fetch the thread list. If we
13148 found any thread, then select the remote's current thread as GDB's
13149 current thread too.
13150
b7bba001
JB
131512014-01-08 Joel Brobecker <brobecker@adacore.com>
13152
13153 * NEWS: Create a new section for the next release branch.
13154 Rename the section of the current branch, now that it has
13155 been cut.
13156
16dfbded
JB
131572014-01-08 Joel Brobecker <brobecker@adacore.com>
13158
13159 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
13160 * version.in: Bump version to 7.7.50.DATE-cvs.
13161
22c90ac1
YQ
131622014-01-08 Yao Qi <yao@codesourcery.com>
13163
13164 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
13165 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
13166 (spu_xfer_partial): Cast 'buf' to 'const char *'.
13167
d64ad97c
YQ
131682014-01-08 Yao Qi <yao@codesourcery.com>
13169
13170 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
13171 return value of bfd_get_filename to symbol_file_add_from_bfd.
13172
f93ba80c
PM
131732014-01-08 Pierre Muller <muller@sourceware.org>
13174
13175 Fix PR16201.
13176 * coff-pe-read.c (struct read_pe_section_data): Add index field.
13177 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
13178 to prim_record_mininal_symbol_and_info.
13179 (add_pe_forwarded_sym): Use known section number of forwarded symbol
13180 in call to prim_record_minimal_symbol_and_info.
13181 (read_pe_exported_syms): Set index field of section_data.
13182
a4d9ba85
AP
131832014-01-07 Andrew Pinski <apinski@cavium.com>
13184
13185 * features/aarch64-core.xml (cpsr): Change to be 64bit.
13186 * features/aarch64.c: Regenerate.
13187
1b67eb02
AS
131882014-01-07 Andreas Schwab <schwab@linux-m68k.org>
13189
13190 * target.c (return_null): Define.
13191 (update_current_target): Use it instead of return_zero for
13192 functions that return a pointer.
13193
5e3f4fab
EBM
131942014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13195
13196 * source.c (add_path): Fix check for duplicated paths in the previously
13197 included paths.
13198
e2616788
HK
131992014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
13200
13201 * ada-lang.c: Remove duplicated include statements.
13202 * alphabsd-nat.c: Ditto.
13203 * amd64-darwin-tdep.c: Ditto.
13204 * amd64fbsd-nat.c: Ditto.
13205 * auto-load.c: Ditto.
13206 * ax-gdb.c: Ditto.
13207 * breakpoint.c: Ditto.
13208 * dbxread.c: Ditto.
13209 * fork-child.c: Ditto.
13210 * gdb_usleep.c: Ditto.
13211 * i386-darwin-tdep.c: Ditto.
13212 * i386fbsd-nat.c: Ditto.
13213 * infcmd.c: Ditto.
13214 * inferior.c: Ditto.
13215 * jv-lang.c: Ditto.
13216 * linux-nat.c: Ditto.
13217 * linux-tdep.c: Ditto.
13218 * m68kbsd-nat.c: Ditto.
13219 * m68klinux-nat.c: Ditto.
13220 * microblaze-tdep.c: Ditto.
13221 * mips-linux-tdep.c: Ditto.
13222 * mn10300-tdep.c: Ditto.
13223 * nto-tdep.c: Ditto.
13224 * opencl-lang.c: Ditto.
13225 * osdata.c: Ditto.
13226 * printcmd.c: Ditto.
13227 * regcache.c: Ditto.
13228 * remote-m32r-sdi.c: Ditto.
13229 * remote.c: Ditto.
13230 * symfile.c: Ditto.
13231 * symtab.c: Ditto.
13232 * tilegx-linux-nat.c: Ditto.
13233 * tilegx-tdep.c: Ditto.
13234 * tracepoint.c: Ditto.
13235 * valops.c: Ditto.
13236 * vaxbsd-nat.c: Ditto.
13237 * windows-nat.c: Ditto.
13238 * xtensa-tdep.c: Ditto.
13239
bd1f7788
YQ
132402014-01-07 Yao Qi <yao@codesourcery.com>
13241
13242 * spu-linux-nat.c (_initialize_spu_nat): Declare.
13243
79301218
JB
132442014-01-07 Yao Qi <yao@codesourcery.com>
13245 Joel Brobecker <brobecker@adacore.com>
13246
13247 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
13248 (pdc_write_regs): Likewise.
13249 (fetch_regs_kernel_thread): Likewise.
13250 (store_regs_kernel_thread): Likewise.
13251
132522014-01-07 Joel Brobecker <brobecker@adacore.com>
13253
13254 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
13255 tagged type objects to their actual type.
13256
8e355c5d
JB
132572014-01-07 Joel Brobecker <brobecker@adacore.com>
13258
13259 * ada-valprint.c (print_field_values): Add "language" parameter.
13260 Update calls to print_field_values and print_variant_part.
13261 Pass new parameter "language" in call to val_print instead
13262 of "current_language". Replace call to ada_val_print by call
13263 to val_print.
13264 (print_variant_part): Add "language" parameter.
13265 (ada_val_print_struct_union): Update call to print_field_values.
13266
4fbf5aa5
JB
132672014-01-07 Joel Brobecker <brobecker@adacore.com>
13268
13269 * ada-valprint.c (ui_memcpy): Delete.
13270 (ada_print_floating): Update documentation. Add empty line
13271 between between function documentation and implementation.
13272 Delete variable "buffer". Use ui_file_xstrdup in place of
13273 ui_file_put. Minor adjustments following this change.
13274
71855601
JB
132752014-01-07 Joel Brobecker <brobecker@adacore.com>
13276
13277 * ada-valprint.c (ada_val_print_string): New function,
13278 extracted from ada_val_print_array.
13279 (ada_val_print_array): Replace extracted code by call
13280 to ada_val_print_string followed by a return. Move
13281 "else" branch to the function's top block.
13282
4eb27a30
JB
132832014-01-07 Joel Brobecker <brobecker@adacore.com>
13284
13285 * ada-valprint.c (ada_val_print_array): Move implementation
13286 down. Rename parameter "offset" and "val" into "offset_aligned"
13287 and "original_value" respectively. Add parameter "offset".
13288
34b27950
JB
132892014-01-07 Joel Brobecker <brobecker@adacore.com>
13290
13291 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
13292 re-organizing the code. Change the "???" message printed
13293 when target type is a TYPE_CODE_UNDEF into
13294 "<ref to undefined type>".
13295
079e4591
JB
132962014-01-07 Joel Brobecker <brobecker@adacore.com>
13297
13298 * ada-valprint.c (print_record): Delete, implementation inlined...
13299 (ada_val_print_struct_union): ... here. Remove call to
13300 ada_check_typedef in inlined implementation.
13301
8004dfd1
JB
133022014-01-07 Joel Brobecker <brobecker@adacore.com>
13303
13304 * ada-valprint.c (ada_val_print_gnat_array): New function,
13305 extracted from ada_val_print_1;
13306 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
13307 (ada_val_print_flt, ada_val_print_struct_union)
13308 (ada_val_print_ref): Likewise.
13309 (ada_val_print_1): Delete variables i and elttype.
13310 Replace extracted-out code by call to corresponding
13311 new functions.
13312
760a2db0
JB
133132014-01-07 Joel Brobecker <brobecker@adacore.com>
13314
13315 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
13316
3a92c861
JB
133172014-01-07 Joel Brobecker <brobecker@adacore.com>
13318
13319 * ada-valprint.c (ada_val_print_1): Replace calls to
13320 ada_val_print_1 by calls to val_print.
13321
cd1630f9
JB
133222014-01-07 Joel Brobecker <brobecker@adacore.com>
13323
13324 * ada-valprint.c (ada_val_print_1): Add parameter "language".
13325 Update calls to self accordingly. Replace calls to c_val_print
13326 by calls to val_print.
13327
bdf779a0
JB
133282014-01-07 Joel Brobecker <brobecker@adacore.com>
13329
13330 * ada-valprint.c (print_record): Delete declaration.
13331 (adjust_type_signedness, ada_val_print_1): Likewise.
13332 (ada_val_print): Move function implementation down.
13333 (print_variant_part, print_field_values, print_record):
13334 Move function implementation up.
13335
c0d48811
JB
133362014-01-07 Joel Brobecker <brobecker@adacore.com>
13337
13338 * python/py-type.c (typy_get_name): New function.
13339 (type_object_getset): Add entry for attribute "name".
13340 * NEWS: Add entry mentioning this new attribute.
13341
c26e9cbb
YQ
133422014-01-07 Yao Qi <yao@codesourcery.com>
13343
13344 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13345 statement.
13346
0cc6f43d
YQ
133472014-01-07 Yao Qi <yao@codesourcery.com>
13348
13349 * gnu-nat.c (info_port_rights): Add qualifier const to
13350 argument args.
13351
eec03155
YQ
133522014-01-07 Yao Qi <yao@codesourcery.com>
13353
13354 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13355
f04a82ef
YQ
133562014-01-07 Yao Qi <yao@codesourcery.com>
13357
13358 * gnu-nat.c (make_inf) Update declaration.
13359 (make_inf): Make it static.
13360 (inf_set_traced): Likewise.
13361 (inf_port_to_thread, inf_task_died_status): Likewise.
13362
d57dda0a
YQ
133632014-01-07 Yao Qi <yao@codesourcery.com>
13364
13365 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13366
3aa8c969
YQ
133672014-01-07 Yao Qi <yao@codesourcery.com>
13368
13369 * gnu-nat.c (_initialize_gnu_nat): Declare.
13370
94123b4f
YQ
133712014-01-07 Yao Qi <yao@codesourcery.com>
13372
13373 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13374 'enum bfd_endian'.
13375 (struct gdbarch_info) <byte_order>: Change type to
13376 'enum bfd_endian'.
13377 <byte_order_for_code>: Likewise.
13378 * gdbarch.c, gdbarch.h: Regenerated.
13379
dc81d70a
TT
133802014-01-06 Sasha Smundak <asmundak@google.com>
13381
13382 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13383
cc2f3c35
TT
133842014-01-06 Tom Tromey <tromey@redhat.com>
13385
13386 * doublest.c (convert_doublest_to_floatformat): Use const, not
13387 CONST.
13388 * somread.c (som_symtab_read): Likewise.
13389
adcf2eed
HZ
133902014-01-07 Hui Zhu <hui@codesourcery.com>
13391
13392 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13393 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13394 (gdb_bfd_fopen): Ditto.
13395 (gdb_bfd_openr): Ditto.
13396 (gdb_bfd_openw): Ditto.
13397 (gdb_bfd_openr_iovec): Ditto.
13398 (gdb_bfd_fdopenr): Ditto.
13399 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13400 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13401 with xstrdup.
13402 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13403 with xstrdup.
13404 * symfile-mem.c (symbol_file_add_from_memory): Removed
13405 gdb_bfd_stash_filename.
13406
50722198
DE
134072014-01-03 Doug Evans <dje@google.com>
13408
13409 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13410 output.
13411
2fa4b862
JB
134122014-01-01 Joel Brobecker <brobecker@adacore.com>
13413
13414 Update year range in copyright notice of all files.
13415
28498c42
JB
134162014-01-01 Joel Brobecker <brobecker@adacore.com>
13417
13418 * top.c (print_gdb_version): Set copyright year to 2014.
13419
7b6e1046
JB
134202014-01-01 Joel Brobecker <brobecker@adacore.com>
13421
13422 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13423
df96af55 13424For older changes see ChangeLog-2013.
c906108c
SS
13425\f
13426Local Variables:
13427mode: change-log
13428left-margin: 8
13429fill-column: 74
13430version-control: never
57da7796 13431coding: utf-8
c906108c 13432End:
This page took 2.206766 seconds and 4 git commands to generate.