Drop target method 'fbsd_make_corefile_notes'
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
174ad59a
AA
12014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
4 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
5 Remove.
6 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
7
97094034
AA
82014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9
10 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
11 (xtensa_iterate_over_regset_sections): New.
12 (xtensa_gdbarch_init): Adjust gdbarch initialization.
13
f73d3ce7
AA
142014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15
16 * vax-tdep.c (vax_regset_from_core_section): Remove.
17 (vax_iterate_over_regset_sections): New.
18 (vax_gdbarch_init): Adjust gdbarch initialization.
19
cb24567a
AA
202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21
22 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
23 (tilegx_regset_from_core_section): Remove.
24 (tilegx_iterate_over_regset_sections): New.
25 (tilegx_linux_init_abi): Adjust gdbarch initialization.
26
e5139de8
AA
272014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
28
29 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
30 (sparc_iterate_over_regset_sections): New.
31 (sparc32_gdbarch_init): Adjust gdbarch initialization.
32 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
33 targets.
34 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
35 (sparc64fbsd_init_abi): Call fbsd_init_abi.
36 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
37 target method 'make_corefile_notes'.
38
c6d41a6f
AA
392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
40
41 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
42 'sizeof_gregset' and 'sizeof_fpregset'.
43 * sh-tdep.c (sh_regset_from_core_section): Remove.
44 (sh_iterate_over_regset_sections): New.
45 (sh_gdbarch_init): Adjust gdbarch initialization.
46 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
47 sizeof_fpregset.
48 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
49 'sizeof_gregset'.
50
9845a0b5
AA
512014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
52
53 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
54 (score7_linux_iterate_over_regset_sections): New.
55 (score_gdbarch_init): Adjust gdbarch initialization.
56
23ea9aeb
AA
572014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
58
59 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
60 FreeBSD targets.
61 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
62 method 'make_corefile_notes'.
63 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
64 (ppcfbsd_regset_from_core_section): Remove.
65 (ppcfbsd_iterate_over_regset_sections): New.
66 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
67 initialization.
68 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
69 (ppcnbsd_iterate_over_regset_sections): New.
70 (ppcnbsd_init_abi): Adjust.
71 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
72 (ppcobsd_iterate_over_regset_sections): New.
73 (ppcobsd_init_abi): Adjust.
74 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
75 (rs6000_aix_iterate_over_regset_sections): New.
76 (rs6000_aix_init_osabi): Adjust.
77
c5b8d704
AA
782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
79
80 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
81 (nios2_regset_from_core_section): Remove.
82 (nios2_iterate_over_regset_sections): New.
83 (nios2_linux_init_abi): Adjust gdbarch initialization.
84
3636e608
AA
852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
86
87 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
88 (am33_iterate_over_regset_sections): New.
89 (am33_linux_init_osabi): Adjust gdbarch initialization.
90
d4036235
AA
912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
92
93 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
94 (mips_linux_iterate_over_regset_sections): New.
95 (mips_linux_init_abi): Adjust gdbarch initialization.
96 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
97 (mips64obsd_iterate_over_regset_sections): New.
98 (mips64obsd_init_abi): Adjust.
99 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
100 (mipsnbsd_iterate_over_regset_sections): New.
101 (mipsnbsd_init_abi): Adjust.
102
b61ddd6e
AA
1032014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
104
105 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
106 (m88k_iterate_over_regset_sections): New.
107 (m88k_gdbarch_init): Adjust gdbarch initialization.
108
55a2906a
AA
1092014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
110
111 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
112 (ia64_linux_iterate_over_regset_sections): New.
113 (ia64_linux_init_abi): Adjust gdbarch initialization.
114
022c98ab
AA
1152014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
116
117 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
118 (m68kbsd_iterate_over_regset_sections): New.
119 (m68kbsd_init_abi): Adjust gdbarch initialization.
120 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
121 (m68k_linux_iterate_over_regset_sections): New.
122 (m68k_linux_init_abi): Adjust gdbarch initialization.
123
5fac247f
AA
1242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
125
126 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
127 (m32r_linux_regset_from_core_section): Remove.
128 (m32r_linux_iterate_over_regset_sections): New.
129 (m32r_linux_init_abi): Adjust gdbarch initialization.
130
490496c3
AA
1312014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
132
133 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
134 (amd64obsd_iterate_over_regset_sections): New.
135 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
136 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
137 Remove.
138 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
139 regset_from_core_section initialization.
140 * i386-tdep.c (i386_regset_from_core_section): Remove.
141 (i386_iterate_over_regset_sections): New.
142 (i386_gdbarch_init): Adjust gdbarch initialization.
143 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
144 (i386_iterate_over_regset_sections): New prototype.
145 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
146 Remove.
147 (i386obsd_aout_iterate_over_regset_sections): New.
148 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
149 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
150 targets.
151 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
152 (amd64fbsd_init_abi): Call fbsd_init_abi.
153 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
154 (i386fbsd4_init_abi): Call fbsd_init_abi.
155 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
156 target method 'make_corefile_notes'.
157 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
158
50c5eb53
AA
1592014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
160
161 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
162 (hppa_hpux_iterate_over_regset_sections): New.
163 (hppa_hpux_init_abi): Adjust gdbarch initialization.
164 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
165 (hppa_linux_iterate_over_regset_sections): New.
166 (hppa_linux_init_abi): Adjust.
167 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
168 (hppanbsd_iterate_over_regset_sections): New.
169 (hppanbsd_init_abi): Adjust.
170 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
171 (hppaobsd_iterate_over_regset_sections): New.
172 (hppaobsd_init_abi): Adjust.
173
66afae4f
AA
1742014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
175
176 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
177 (frv_linux_iterate_over_regset_sections): New.
178 (frv_linux_init_abi): Adjust gdbarch initialization.
179
ed09174e
AA
1802014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
181
182 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
183 (armbsd_iterate_over_regset_sections): New prototype.
184 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
185 (armbsd_iterate_over_regset_sections): New.
186 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
187 initialization.
188
dff2166e
AA
1892014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
190
191 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
192 (alpha_linux_iterate_over_regset_sections): New.
193 (alpha_linux_init_abi): Adjust gdbarch initialization.
194 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
195 prototype.
196 (alphanbsd_iterate_over_regset_sections): New prototype.
197
4108500a
AA
1982014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
199
200 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
201 Remove.
202 (aarch64_linux_iterate_over_regset_sections): New.
203 (aarch64_linux_init_abi): Adjust gdbarch initialization.
204
a904c024
AA
2052014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
206
207 * fbsd-tdep.c: New file.
208 * fbsd-tdep.h: New file.
209 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
210 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
211 (ALLDEPFILES): Add fbsd-tdep.c.
212
8f0435f7
AA
2132014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
214
215 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
216 parameter.
217 * gdbarch.h: Regenerate.
218 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
219 iterator.
220 (get_core_register_section): Add parameter 'regset' and use it, if
221 set. Add parameter 'min_size' and verify the bfd section size
222 against it.
223 (get_core_registers_cb): Add parameter 'regset' and pass it to
224 get_core_register section. For the "standard" register sections
225 ".reg" and ".reg2", set an appropriate default for human_name.
226 (get_core_registers): Don't abort when the gdbarch has an iterator
227 but no regset_from_core_section. Add NULL/0 for parameters
228 'regset'/'min_size' in calls to get_core_register_section.
229 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
230 'regset' and use it instead of calling the
231 regset_from_core_section gdbarch method.
232 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
233 * i386-tdep.c (i386_supply_xstateregset)
234 (i386_collect_xstateregset, i386_xstateregset): Moved to
235 i386-linux-tdep.c.
236 (i386_regset_from_core_section): Drop handling for .reg-xfp and
237 .reg-xstate.
238 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
239 core file support only if the regset iterator hasn't been set.
240 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
241 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
242 Moved from i386-tdep.c and renamed to *_linux*.
243 (i386_linux_iterate_over_regset_sections): Add regset parameter to
244 each callback invocation. Allow any .reg-xstate size when reading
245 from a core file.
246 * amd64-tdep.c (amd64_supply_xstateregset)
247 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
248 amd64-linux-tdep.c.
249 (amd64_regset_from_core_section): Remove.
250 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
251 install an amd64-specific regset_from_core_section gdbarch method.
252 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
253 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
254 Moved from amd64-tdep.c and renamed to *_linux*.
255 (amd64_linux_iterate_over_regset_sections): Add regset parameter
256 to each callback invocation. Allow any .reg-xstate size when
257 reading from a core file.
258 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
259 (arm_linux_iterate_over_regset_sections): Add regset parameter to
260 each callback invocation.
261 (arm_linux_init_abi): No longer set the regset_from_core_section
262 gdbarch method.
263 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
264 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
265 each callback invocation.
266 (ppc_linux_init_abi): No longer set the regset_from_core_section
267 gdbarch method.
268 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
269 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
270 (s390_regset_from_core_section): Remove.
271 (s390_iterate_over_regset_sections): Add regset parameter to each
272 callback invocation.
273 (s390_gdbarch_init): No longer set the regset_from_core_section
274 gdbarch method. Drop initialization of deleted tdep fields.
275
5aa82d05
AA
2762014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
277
278 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
279 (amd64_linux_iterate_over_regset_sections): New.
280 (amd64_linux_init_abi_common): Don't install the regset section
281 list, but the new iterator in gdbarch.
282 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
283 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
284 (arm_linux_iterate_over_regset_sections): ...here. New function.
285 (arm_linux_init_abi): Set iterator instead of section list.
286 * corelow.c (get_core_registers_cb): New function, logic moved
287 from...
288 (get_core_registers): ...loop body here. Use new iterator method
289 instead of walking through the regset section list.
290 * gdbarch.sh: Remove 'core_regset_sections'. New method
291 'iterate_over_regset_sections'. New typedef
292 'iterate_over_regset_sections_cb'.
293 * gdbarch.c: Regenerate.
294 * gdbarch.h: Likewise.
295 * i386-linux-tdep.c (i386_linux_regset_sections)
296 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
297 Remove.
298 (i386_linux_iterate_over_regset_sections): New.
299 (i386_linux_init_abi): Don't choose a regset section list, but
300 install new iterator in gdbarch.
301 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
302 (linux_collect_regset_section_cb): New function, logic moved
303 from...
304 (linux_collect_thread_registers): ...loop body here. Use iterator
305 method instead of walking through list.
306 (linux_make_corefile_notes_1): Check for presence of iterator
307 method instead of regset section list.
308 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
309 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
310 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
311 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
312 (ppc_linux_iterate_over_regset_sections): ...here. New function.
313 (ppc_linux_init_abi): Don't choose from above regset section
314 lists, but install new iterator in gdbarch.
315 * regset.h (struct core_regset_section): Remove.
316 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
317 have_linux_v1, have_linux_v2, and have_tdb.
318 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
319 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
320 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
321 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
322 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
323 (s390_iterate_over_regset_sections): ...here. New function. Use
324 new tdep fields.
325 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
326 regset section lists, but install new iterator.
327
2eca4a8d
JK
3282014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
329
330 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
331
a73c2b56
SM
3322014-09-26 Simon Marchi <simon.marchi@ericsson.com>
333
334 * progspace.c (print_program_space): Don't prune program spaces
335 before printing them.
336
03d46957
PA
3372014-09-25 Pedro Alves <palves@redhat.com>
338
339 * infrun.c (user_visible_resume_ptid): Don't check
340 singlestep_breakpoints_inserted_p.
341
e558d7c1
PA
3422014-09-25 Pedro Alves <palves@redhat.com>
343
344 * breakpoint.c (should_be_inserted): Add debug output.
345
7f89fd65
PA
3462014-09-25 Pedro Alves <palves@redhat.com>
347
348 * infrun.c (stepping_past_instruction_at)
349 (clear_exit_convenience_vars): Point at infrun.h instead of
350 inferior.h.
351 (handle_signal_stop): Fix typo.
352
b7576e5c
YQ
3532014-09-24 Yao Qi <yao@codesourcery.com>
354
355 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
356 bitmask.
357
9a6cf368
GB
3582014-09-22 Gary Benson <gbenson@redhat.com>
359
360 * target.c (target_stop): Updated comment.
361
03f4463b
GB
3622014-09-22 Gary Benson <gbenson@redhat.com>
363
364 * target/target.h (target_stop_ptid): Renamed as...
365 (target_stop_and_wait): New function. Updated comment.
366 All uses updated.
367 (target_continue_ptid): Renamed as...
368 (target_continue_no_signal): New function. Updated comment.
369 All uses updated.
370
a25a5a45
PA
3712014-09-22 Pedro Alves <palves@redhat.com>
372
373 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
374 and "auto" merged.
375 * breakpoint.c (enum ugll_insert_mode): New enum.
376 (always_inserted_mode): Now a plain boolean.
377 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
378 (breakpoints_always_inserted_mode): Delete.
379 (breakpoints_should_be_inserted_now): New function.
380 (insert_breakpoints): Pass UGLL_INSERT to
381 update_global_location_list instead of calling
382 insert_breakpoint_locations manually.
383 (create_solib_event_breakpoint_1): New, factored out from ...
384 (create_solib_event_breakpoint): ... this.
385 (create_and_insert_solib_event_breakpoint): Use
386 create_solib_event_breakpoint_1 instead of calling
387 insert_breakpoint_locations manually.
388 (update_global_location_list): Change parameter type from boolean
389 to enum ugll_insert_mode. All callers adjusted. Adjust to use
390 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
391 (update_global_location_list_nothrow): Change parameter type from
392 boolean to enum ugll_insert_mode.
393 (_initialize_breakpoint): "breakpoint always-inserted" option is
394 now a boolean command. Update help text.
395 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
396 (breakpoints_should_be_inserted_now): New declaration.
397 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
398 Remove breakpoints_always_inserted_mode check.
399 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
400 * remote.c (remote_start_remote): Likewise.
401
04086b45
PA
4022014-09-22 Pedro Alves <palves@redhat.com>
403
404 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
405 (insert_breakpoints): Don't call insert_breakpoint_locations here.
406 Instead, pass UGLL_INSERT to update_global_location_list.
407 (update_global_location_list): Change parameter type from boolean
408 to enum ugll_insert_mode. All callers adjusted. Adjust to use
409 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
410 (create_solib_event_breakpoint_1): New, factored out from ...
411 (create_solib_event_breakpoint): ... this.
412 (create_and_insert_solib_event_breakpoint): Use
413 create_solib_event_breakpoint_1 instead of calling
414 insert_breakpoint_locations manually.
415 (update_global_location_list): Handle UGLL_INSERT.
416
44702360
PA
4172014-09-22 Pedro Alves <palves@redhat.com>
418
419 * breakpoint.c (enum ugll_insert_mode): New enum.
420 (update_global_location_list)
421 (update_global_location_list_nothrow): Change parameter type from
422 boolean to enum ugll_insert_mode. All callers adjusted.
423
93c6145a
JB
4242014-09-19 Joel Brobecker <brobecker@adacore.com>
425
426 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
427 SystemTap support in GDB.
428
89a5711c
DB
4292014-09-19 Don Breazeal <donb@codesourcery.com>
430
431 * linux-nat.c (linux_handle_extended_wait): Call
432 linux_ptrace_get_extended_event.
433 (wait_lwp): Call linux_is_extended_waitstatus.
434 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
435 and linux_is_extended_waitstatus.
436 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
437 linux_ptrace_get_extended_event.
438 (linux_ptrace_get_extended_event): New function.
439 (linux_is_extended_waitstatus): New function.
440 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
441 (linux_is_extended_waitstatus): New declarations.
442
c3b7b696
YQ
4432014-09-19 Yao Qi <yao@codesourcery.com>
444
445 * dwarf2read.c (dwarf_decode_lines): Update declaration.
446 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
447 comments. Callers update.
448 (dwarf_decode_lines): Likewise.
449 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
450 comments. Skip the line table if 'lowpc' is greater than
451 'address'. Don't check
452 dwarf2_per_objfile->has_section_at_zero.
453
2b4fd423
DE
4542014-09-18 Doug Evans <dje@google.com>
455
456 * NEWS: Mention new "producer" attribute of gdb.Symtab.
457 * python/py-symtab.c (stpy_get_producer): New function.
458 (symtab_object_getset): Add "producer" attribute.
459
5e43d467
UW
4602014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
461
462 PR gdb/17384
463 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
464 (do_captured_read_memory_integer): Remove.
465 (safe_read_memory_integer): Use target_read_memory directly instead
466 of catching errors in do_captured_read_memory_integer.
467
04e79979
MR
4682014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
469
470 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
471 not gdb/doc.
472
76aeec5b
SDJ
4732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
474
475 * objc-lang.c (find_implementation_from_class): Remove dead code.
476
2f693f9d
SDJ
4772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
478
479 PR cli/7233
480 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
481 "fprintf_unfiltered (gdb_stdlog...)".
482
bb9d5f81
PP
4832014-09-16 Patrick Palka <patrick@parcs.ath.cx>
484
485 PR breakpoints/12526
486 * breakpoint.h (struct watchpoint): New fields val_bitpos and
487 val_bitsize.
488 * breakpoint.c (watch_command_1): Use these fields to retain
489 bitfield information.
490 (extract_bitfield_from_watchpoint_value): New function.
491 (watchpoint_check): Use it.
492 (update_watchpoint): Use it. Optimize the address and length of a
493 HW watchpoint pointing to a bitfield.
494 * value.h (unpack_value_bitfield): New prototype.
495 * value.c (unpack_value_bitfield): Make extern.
496
05db5edd
ST
4972014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
498
499 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
500 x86-dregs.o.
501 * gnu-nat.c (inf_threads): New function.
502 * gnu-nat.h (inf_threads_ftype): New typedef.
503 (inf_threads): New declaration.
504 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
505 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
506 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
507 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
508 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
509 (i386_gnu_dr_get_control): New functions.
510 (reg_addr): New structure.
511 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
512 i386 debugging register hooks.
513 * NEWS: Mention this.
514
5a578da5
OJ
5152014-08-13 Omair Javaid <omair.javaid@linaro.org>
516
517 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
518 vector data transfer instructions.
519 (arm_record_coproc_data_proc): Updated.
520
f20f80dd
OJ
5212014-08-13 Omair Javaid <omair.javaid@linaro.org>
522
523 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
524 arm_record_exreg_ld_st_insn.
525 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
526 load/store insns.
527
851f26ae
OJ
5282014-08-13 Omair Javaid <omair.javaid@linaro.org>
529
530 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
531 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
532 processing instructions.
533
1e1b6563
OJ
5342014-08-13 Omair Javaid <omair.javaid@linaro.org>
535
536 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
537 for advance SIMD struct ld/st insn.
538 (thumb2_record_decode_insn_handler): Replace stub handler with
539 thumb2_record_asimd_struct_ld_st.
540
60cc5e93
OJ
5412014-08-13 Omair Javaid <omair.javaid@linaro.org>
542
543 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
544 for asimd, vfp and coprocessor insns.
545 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
546 and coprocessor insns.
547 (thumb2_record_coproc_insn): New function.
548 (thumb2_record_decode_insn_handler): Update coprocessor insns record
549 handlers.
550 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
551 opcode 110 insns.
552
81219e53
DE
5532014-09-13 Doug Evans <xdje42@gmail.com>
554
555 * NEWS: Mention new "queue-signal" command.
556 * infcmd.c (queue_signal_command): New function.
557 (_initialize_infcmd): Add new queue-signal command.
558
d36bf488
DE
5592014-09-13 Doug Evans <xdje42@gmail.com>
560
561 * linux-nat.c (wait_lwp): Add debugging printf.
562 (linux_nat_wait_1): Ditto.
563
f37f681c
PA
5642014-09-12 Pedro Alves <palves@redhat.com>
565
566 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
567 (create_and_insert_solib_event_breakpoint): New functions.
568 * breakpoint.h (create_and_insert_solib_event_breakpoint)
569 (remove_solib_event_breakpoints_at_next_stop): New declarations.
570 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
571 (remove_dbx_link_breakpoint): Delete function.
572 (insert_dbx_link_bpt_in_file): Use
573 create_and_insert_solib_event_breakpoint instead of
574 deprecated_insert_raw_breakpoint.
575 (procfs_wait): Don't check whether we hit __dbx_link here.
576 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
577 here.
578 * solib-irix.c (base_breakpoint): Delete global.
579 (disable_break): Delete function.
580 (enable_break): Use create_solib_event_breakpoint
581 instead of deprecated_insert_raw_breakpoint.
582 (irix_solib_handle_event): New function.
583 (irix_solib_create_inferior_hook): Don't run the target or disable
584 the mapping-complete breakpoint here.
585 (_initialize_irix_solib): Install irix_solib_handle_event as
586 so_ops->handle_event hook.
587
9d9bf2df
EBM
5882014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
589 Ulrich Weigand  <uweigand@de.ibm.com>
590
591 PR tdep/17379
592 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
593 instead of read_memory_unsigned_integer.
594
b006a80e
GB
5952014-09-12 Gary Benson <gbenson@redhat.com>
596
597 * nat/linux-waitpid.c: Include common-defs.h.
598 [GDBSERVER]: Add FIXME comment.
599 [!GDBSERVER]: Don't include defs.h or signal.h.
600 (linux_debug) [!GDBSERVER]: Remove empty block.
601
296b1496
GB
6022014-09-12 Gary Benson <gbenson@redhat.com>
603
604 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
605 Don't include defs.h or server.h.
606
53f81362
GB
6072014-09-12 Gary Benson <gbenson@redhat.com>
608
609 * nat/linux-btrace.c: Include common-defs.h.
610 Don't include defs.h, server.h or gdbthread.h.
611 * nat/linux-btrace.h (struct target_ops): New forward declaration.
612
727605ca
GB
6132014-09-12 Gary Benson <gbenson@redhat.com>
614
615 * common/agent.c: Include common-defs.h.
616 Don't include defs.h or server.h.
617 * common/buffer.c: Likewise.
618 * common/common-debug.c: Likewise.
619 * common/common-utils.c: Likewise.
620 * common/errors.c: Likewise.
621 * common/filestuff.c: Likewise.
622 * common/format.c: Likewise.
623 * common/gdb_vecs.c: Likewise.
624 * common/print-utils.c: Likewise.
625 * common/ptid.c: Likewise.
626 * common/rsp-low.c: Likewise.
627 * common/signals.c: Likewise.
628 * common/vec.c: Likewise.
629 * common/xml-utils.c: Likewise.
630 * nat/linux-osdata.c: Likewise.
631 * nat/linux-procfs.c: Likewise.
632 * nat/linux-ptrace.c: Likewise.
633 * nat/mips-linux-watch.c: Likewise.
634 * target/waitstatus.c: Likewise.
635
361c8ade
GB
6362014-09-12 Tom Tromey <tromey@redhat.com>
637 Gary Benson <gbenson@redhat.com>
638
639 * common/common-regcache.h: New file.
640 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
641 * regcache.h: Include common-regcache.h.
642 (regcache_read_pc): Don't declare.
643 * regcache.c (get_thread_regcache_for_ptid): New function.
644 * nat/linux-btrace.c: Don't include regcache.h.
645 Include common-regcache.h.
646 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
647
a01cbb49
TS
6482014-09-11 Thomas Schwinge <thomas@codesourcery.com>
649
650 * regcache.h (struct regset): Declare.
651
98880d46
PA
6522014-09-11 Pedro Alves <palves@redhat.com>
653
654 PR gdb/17347
655 * main.c: Include "infrun.h".
656 (catch_command_errors, catch_command_errors_const): Wait for the
657 foreground command to complete.
658 * top.c (maybe_wait_sync_command_done): New function, factored out
659 from ...
660 (maybe_wait_sync_command_done): ... here.
661 * top.h (maybe_wait_sync_command_done): New declaration.
662
bd9269f7
GB
6632014-09-11 Tom Tromey <tromey@redhat.com>
664 Gary Benson <gbenson@redhat.com>
665
666 * common/symbol.h: New file.
667 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
668 * minsyms.c (find_minimal_symbol_address): New function.
669 * common/agent.c: Include common/symbol.h.
670 [!GDBSERVER]: Don't include objfiles.h.
671 (agent_look_up_symbols): Use find_minimal_symbol_address.
672
f8c1d06b
GB
6732014-09-11 Gary Benson <gbenson@redhat.com>
674
675 * target/target.h (target_stop_ptid, target_continue_ptid):
676 Declare.
677 * target.c (target_stop_ptid, target_continue_ptid): New
678 functions.
679 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
680 (agent_run_command): Always use target_stop_ptid and
681 target_continue_ptid.
682
721ec300
GB
6832014-09-11 Tom Tromey <tromey@redhat.com>
684 Gary Benson <gbenson@redhat.com>
685
686 * target/target.h: New file.
687 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
688 * target.h: Include target/target.h.
689 (target_read_memory, target_write_memory): Don't declare.
690 * target.c (target_read_uint32): New function.
691 * common/agent.c: Include target/target.h.
692 [!GDBSERVER]: Don't include target.h.
693 (helper_thread_id): Type changed to uint32_t.
694 (agent_get_helper_thread_id): Use target_read_uint32.
695 (agent_run_command): Always use target_read_memory and
696 target_write_memory.
697 (agent_capability): Type changed to uint32_t.
698 (agent_capability_check): Use target_read_uint32.
699
c5e92cca
GB
7002014-09-11 Gary Benson <gbenson@redhat.com>
701
702 * common/common-debug.h (show_debug_regs): Declare.
703 * common/common-debug.c (show_debug_regs): Define.
704 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
705 all uses with show_debug_regs. Replace all uses that considered
706 debug_hw_points as a multi-value integer with straight boolean
707 uses.
708 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
709 with show_debug_regs.
710 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
711 all uses with show_debug_regs.
712 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
713 uses with show_debug_regs.
714
eeef931a
UW
7152014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
716
717 * findvar.c (address_from_register): Handle targets requiring
718 a special conversion routine even for plain pointer types.
719
8efa9855
UW
7202014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
721
722 * rs6000-nat.c (exec_one_dummy_insn): Remove.
723 (store_register): Do not call exec_one_dummy_insn.
724
eb479039
JB
7252014-09-10 Joel Brobecker <brobecker@adacore.com>
726
727 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
728 dereference it first. Use value_enclosing_type instead of
729 value_type.
730 (ada_array_length): Likewise.
731
deede10c
JB
7322014-09-10 Joel Brobecker <brobecker@adacore.com>
733
734 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
735 Adjust function implementation and documentation accordingly.
736 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
737 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
738 Update call to ada_value_ptr_subscript.
739
7828a5f5
JB
7402014-09-10 Joel Brobecker <brobecker@adacore.com>
741
742 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
743 instead of VAL's type.
744
35782f14
JB
7452014-09-10 Joel Brobecker <brobecker@adacore.com>
746
747 * amd64-linux-nat.c: Add <sys/uio.h> #include.
748
d342a0da
DE
7492014-09-09 Doug Evans <xdje42@gmail.com>
750
751 PR guile/17367
752 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
753 last parameter to pkg-config, not first.
754 * configure.ac: Pass --with-guile provided pkg-config path to
755 GDB_GUILE_PROGRAM_NAMES.
756 * configure: Regenerate.
757
b4a3d263
GKB
7582014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
759
760 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
761 Bertazi".
762
6e466374
MR
7632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
764
765 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
766 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
767 the list of sections determining GDB_OSABI_IRIX.
768
a1ada89a
JH
7692014-09-09 James Hogan <james.hogan@imgtec.com>
770
771 * MAINTAINERS (Write After Approval): Add "James Hogan".
772
86db008d
JH
7732014-09-09 James Hogan <james.hogan@imgtec.com>
774
775 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
776
72fde3df
JB
7772014-09-09 Joel Brobecker <brobecker@adacore.com>
778
779 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
780
92d8d229
DE
7812014-09-08 Doug Evans <xdje42@gmail.com>
782
783 PR 17247
784 * guile.c: #include <signal.h>.
785 (_initialize_guile): Block SIGCHLD while initializing Guile.
786
787 Replaces the following, which is reverted.
788
789 2014-07-26 Doug Evans <xdje42@gmail.com>
790
791 PR 17185
792 * configure.ac: Add check for header gc/gc.h.
793 Add check for function setenv.
794 * configure: Regenerate.
795 * config.in: Regenerate.
796 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
797
d81412aa
DE
7982014-09-08 Doug Evans <xdje42@gmail.com>
799
800 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
801 with named constant. Fix style of pointer comparison.
802 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
803
a9f116cb
GKB
8042014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
805
806 PR gdb/17035
807 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
808 decide whether we display the command on "show user".
809 * cli/cli-script.c (show_user_1): Only verify cmdlines after
810 printing command name.
811 * cli/cli-decode.h (cli_user_command_p): Declare new function.
812 * cli/cli-decode.c (cli_user_command_p): Create helper function
813 to verify whether cmd_list_element is a user-defined command.
814
c75bd3a2
JK
8152014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
816
817 PR python/17355
818 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
819 Fix goto out of TRY_CATCH.
820
faa42425 8212014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 822 Tom Tromey <tromey@redhat.com>
faa42425
DE
823
824 PR 15276
825 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
826 $_any_caller_matches.
827 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
828 * python/lib/gdb/function/caller_is.py: New file.
829
0d41ba00
DE
8302014-09-06 Doug Evans <xdje42@gmail.com>
831
832 * infcmd.c (program_info): Fix typo.
833
474ca4f6
SDJ
8342014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
835
836 PR gdb/17235
837 * stap-probe.c (stap_parse_single_operand): Delete unused variable
838 'number'. New variable 'has_digit'. Rewrite code to deal with
839 subexpressions on SDT probes.
840
ebf13736
PA
8412014-09-04 Pedro Alves <palves@redhat.com>
842
843 * c-exp.y (parse_number): Skip handling base-switching prefixes if
844 the input is only one character long.
845
eb0b0463
SDJ
8462014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
847
848 PR fortran/17237
849 * f-valprint.c (f_val_print): Specify the correct print option to
850 use when printing integer values.
851
5ee44bfa
GB
8522014-09-04 Gary Benson <gbenson@redhat.com>
853
854 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
855 Remove code to cope with LWPs wrapped as PIDs.
856 Add assertions to ensure no wrapped LWPs are passed.
857
4875ffdb
PA
8582014-09-04 Pedro Alves <palves@redhat.com>
859
860 * value.c (value_ranges_copy_adjusted): New function, factored out
861 from ...
862 (value_contents_copy_raw): ... here.
863 (unpack_value_bits_as_long_1): Rename back to ...
864 (unpack_bits_as_long): ... this. Remove 'original_value' and
865 'result' parameters. Change return type to LONGEST.
866 (unpack_value_bits_as_long): Delete.
867 (unpack_value_field_as_long_1): Delete.
868 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
869 (unpack_value_bitfield): New function.
870 (value_field_bitfield): Reimplement using unpack_value_bitfield.
871 (value_fetch_lazy): Use unpack_value_bitfield.
872 * value.h (unpack_value_bits_as_long): Delete declaration.
873
5f3b99cf
SS
8742014-09-03 Sasha Smundak <asmundak@google.com>
875
876 * python/py-frame.c (frapy_read_register): New function.
877
ac740bc7
JH
8782014-09-03 James Hogan <james.hogan@imgtec.com>
879
880 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
881 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
882
7d793aa9
SDJ
8832014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
884
885 PR python/16699
886 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
887 function.
888 (add_cmd): Set "completer_handle_brkchars" to NULL.
889 * cli/cli-decode.h (struct cmd_list_element)
890 <completer_handle_brkchars>: New field.
891 * command.h (completer_ftype_void): New typedef.
892 (set_cmd_completer_handle_brkchars): New prototype.
893 * completer.c (set_gdb_completion_word_break_characters): New
894 function.
895 (complete_line_internal): Call "completer_handle_brkchars"
896 callback from command.
897 * completer.h: Include "command.h".
898 (set_gdb_completion_word_break_characters): New prototype.
899 * python/py-cmd.c (cmdpy_completer_helper): New function.
900 (cmdpy_completer_handle_brkchars): New function.
901 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
902 (cmdpy_init): Set completer_handle_brkchars to
903 cmdpy_completer_handle_brkchars.
904
97ea6506
GB
9052014-09-03 Gary Benson <gbenson@redhat.com>
906
907 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
908 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
909 Loop conditions changed to equivalent form.
910 (struct x86_debug_reg_state): Updated dr_ref_count comment.
911 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
912 ALL_DEBUG_ADDRESS_REGISTERS.
913
d1437815
JB
9142014-09-03 Joel Brobecker <brobecker@adacore.com>
915
916 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
917 description fix.
918
9b94fcf1
DE
9192014-09-02 Doug Evans <dje@google.com>
920
921 * typeprint.c (find_global_typedef): Fix comment.
922
df7e5265
GB
9232014-09-02 Gary Benson <gbenson@redhat.com>
924
925 * i386-nat.h: Renamed as...
926 * x86-nat.h: New file. All type, function and variable name
927 prefixes changed from "i386_" to "x86_". All references updated.
928 * i386-nat.c: Renamed as...
929 * x86-nat.c: New file. All type, function and variable name
930 prefixes changed from "i386_" to "x86_". All references updated.
931 * common/i386-xstate.h: Renamed as...
932 * common/x86-xstate.h: New file. All type, function and variable
933 name prefixes changed from "i386_" to "x86_". All references
934 updated.
935 * nat/i386-cpuid.h: Renamed as...
936 * nat/x86-cpuid.h: New file. All type, function and variable name
937 prefixes changed from "i386_" to "x86_". All references updated.
938 * nat/i386-gcc-cpuid.h: Renamed as...
939 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
940 name prefixes changed from "i386_" to "x86_". All references
941 updated.
942 * nat/i386-dregs.h: Renamed as...
943 * nat/x86-dregs.h: New file. All type, function and variable name
944 prefixes changed from "i386_" to "x86_". All references updated.
945 * nat/i386-dregs.c: Renamed as...
946 * nat/x86-dregs.c: New file. All type, function and variable name
947 prefixes changed from "i386_" to "x86_". All references updated.
948
1c3569d4
MR
9492014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
950
951 * varobj.c (_initialize_varobj): Move to the end of file.
952
ff55e1b5
GB
9532014-08-29 Gary Benson <gbenson@redhat.com>
954
955 * common/common-exceptions.h: New file.
956 * common/common-exceptions.c: Likewise.
957 * Makefile.in (SFILES): Add common/common-exceptions.c.
958 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
959 (COMMON_OBS): Add common-exceptions.o.
960 (common-exceptions.o): New rule.
961 * exceptions.h (common-exceptions.h): Include.
962 (gdb_setjmp.h): Do not include.
963 (return_reason): Moved to common-exceptions.h.
964 (enum return_reason): Likewise.
965 (RETURN_MASK): Likewise.
966 (typedef return_mask): Likewise.
967 (enum errors): Likewise.
968 (struct gdb_exception): Likewise.
969 (exceptions_state_mc_init): Likewise.
970 (exceptions_state_mc_action_iter): Likewise.
971 (exceptions_state_mc_action_iter_1): Likewise.
972 (TRY_CATCH): Likewise.
973 (throw_exception): Likewise.
974 (throw_verror): Likewise.
975 (throw_vquit): Likewise.
976 (throw_error): Likewise.
977 (throw_quit): Likewise.
978 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
979 (enum catcher_action): Likewise.
980 (struct catcher): Likewise.
981 (current_catcher): Likewise.
982 (catcher_list_size): Likewise.
983 (exceptions_state_mc_init): Likewise.
984 (catcher_pop): Likewise.
985 (exceptions_state_mc): Likewise.
986 (exceptions_state_mc_action_iter): Likewise.
987 (exceptions_state_mc_action_iter_1): Likewise.
988 (throw_exception): Likewise.
989 (exception_messages): Likewise.
990 (exception_messages_size): Likewise.
991 (throw_it): Likewise.
992 (throw_verror): Likewise.
993 (throw_vquit): Likewise.
994 (throw_error): Likewise.
995 (throw_quit): Likewise.
996 (prepare_to_throw_exception): New function.
997
e9bcb658
GB
9982014-08-29 Gary Benson <gbenson@redhat.com>
999
1000 * common/gdb_setjmp.h: New file.
1001 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
1002 * configure.ac: Move sigsetjmp check...
1003 * common/common.m4: ...here.
1004 * configure: Regenerate.
1005 * cp-support.c (SIGJMP_BUF): Delete.
1006 (SIGSETJMP): Likewise.
1007 (SIGLONGJMP): Likewise.
1008 * exceptions.h (gdb_setjmp.h): Include.
1009 (setjmp.h): Do not include.
1010 (EXCEPTIONS_SIGJMP_BUF): Delete.
1011 (EXCEPTIONS_SIGSETJMP): Likewise.
1012 (EXCEPTIONS_SIGLONGJMP): Likewise.
1013 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1014 from gdb_setjmp.h.
1015 * exceptions.c: Likewise.
1016
e3180625
GB
10172014-08-29 Gary Benson <gbenson@redhat.com>
1018
1019 * cleanups.h: Moved to...
1020 * common/cleanups.h: New file.
1021 * cleanups.c: Moved to...
1022 * common/cleanups.c: New file. Include common-defs.h and
1023 cleanups.h. Do not include defs.h.
1024 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1025 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1026 (cleanups.o): New rule.
1027
e3d6ba5d
GB
10282014-08-29 Gary Benson <gbenson@redhat.com>
1029
1030 * common/errors.h (internal_warning): New declaration.
1031 (internal_vwarning): Likewise.
1032 * common/errors.c (internal_warning): New function.
1033 * utils.h (internal_warning): Don't declare.
1034 (internal_vwarning): Likewise.
1035 * utils.c (internal_warning): Removed.
1036
075c7033
GB
10372014-08-29 Gary Benson <gbenson@redhat.com>
1038
1039 * main.c (captured_main): Use warning during startup.
1040 Prefix startup warning messages with command name.
1041
91b35fd0
GB
10422014-08-29 Gary Benson <gbenson@redhat.com>
1043
1044 * main.c (captured_main): Handle usage errors with error.
1045
b1ec390e
GB
10462014-08-29 Gary Benson <gbenson@redhat.com>
1047
1048 * go32-nat.c (go32_create_inferior): Replace a fprintf/
1049 exit pair with a call to error. Wrap the message with _().
1050
fd0ef3dd
GB
10512014-08-29 Gary Benson <gbenson@redhat.com>
1052
1053 * main.c (captured_main): Replace a fprintf/exit
1054 pair with a call to error. Wrap the message with _().
1055
e0e6bcab
GB
10562014-08-29 Gary Benson <gbenson@redhat.com>
1057
1058 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
1059 pairs with calls to error. Wrap the message with _().
1060
0d2f5c07
GB
10612014-08-29 Gary Benson <gbenson@redhat.com>
1062
1063 * utils.c (vwarning): Protect calls to target_terminal_ours
1064 and wrap_here.
1065
5df43998
GB
10662014-08-29 Gary Benson <gbenson@redhat.com>
1067
1068 * exceptions.c (print_flush): Protect calls to
1069 target_terminal_ours and wrap_here.
1070
2437fd32
GB
10712014-08-29 Gary Benson <gbenson@redhat.com>
1072
1073 * utils.h (filtered_printing_initialized): New declaration.
1074 * utils.c (abort_with_message): New function.
1075 (internal_vproblem): Use abort_with_message for first level
1076 recursive internal problems, and if gdb_stderr is not set up.
1077 Protect calls to target_terminal_ours, begin_line and query.
1078
f1f58506
DE
10792014-08-28 Doug Evans <dje@google.com>
1080
1081 * symtab.c (in_prologue): Move definition to better spot.
1082 (skip_prologue_using_sal): Ditto.
1083
aab2f208
DE
10842014-08-28 Doug Evans <dje@google.com>
1085
1086 * symtab.c (find_function_start_sal): Move definition to better spot.
1087
6b65d1b6
YQ
10882014-08-28 Yao Qi <yao@codesourcery.com>
1089
1090 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1091 found_stack_adjust in forward scan. Remove condition check
1092 on found_stack_adjust which is always true. Indent the code.
1093
a1b34d15
YQ
10942014-08-28 Yao Qi <yao@codesourcery.com>
1095
1096 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1097 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1098 (dwarf_decode_lines): Remove argument
1099 want_line_info. Remove condition check on want_line_info.
1100 Callers update.
1101
d5962de5
DE
11022014-08-27 Doug Evans <dje@google.com>
1103
1104 * dwarf2read.c (dwarf_record_line): Fix typo.
1105
9b139002
SDJ
11062014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1107
1108 * target.h (struct target_ops::to_terminal_save_ours): Remove
1109 declaration.
1110 (target_terminal_save_ours): Remove macro.
1111 * target-delegates.c: Regenerate.
1112 * inf-child.c (inf_child_target): Don't set the nonexistent
1113 field to_terminal_save_ours.
1114 * inferior.h (child_terminal_save_ours): Remove declaration.
1115 * terminal.h (gdb_save_tty_state): New declaration.
1116 * inflow.c (child_terminal_save_ours): Rename to ...
1117 (gdb_save_tty_state): ... this.
1118 * tui/tui.c: Include terminal.h.
1119 (tui_enable): Use gdb_save_tty_state instead of
1120 target_terminal_save_ours.
1121 (tui_disable): Likewise.
1122
9debeba0
DE
11232014-08-25 Doug Evans <dje@google.com>
1124
1125 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1126 Pass NULL instead of 0 for context pointer.
1127
428fc5fc
YQ
11282014-08-25 Yao Qi <yao@codesourcery.com>
1129
1130 * dwarf2read.c: Fix grammatical error.
1131
cdc07690
YQ
11322014-08-24 Yao Qi <yao@codesourcery.com>
1133
1134 * dwarf2read.c (scan_partial_symbols): Update comments.
1135 Rename argument 'need_pc' with 'set_addrmap'.
1136 (add_partial_namespace): Rename argument 'need_pc' with
1137 'set_addrmap'.
1138 (add_partial_module): Likewise.
1139 (add_partial_subprogram): Likewise. Update comments.
1140 (dwarf2_name): Fix typo.
1141
a05a36a5
DE
11422014-08-22 Doug Evans <dje@google.com>
1143
1144 PR 17276
1145 * dwarf2read.c (dwarf_record_line_p): New function.
1146 (dwarf_decode_lines_1): Ignore subsequent line number entries
1147 for the same line if any entry had a non-zero discriminator.
1148
252a6764
DE
11492014-08-22 Doug Evans <dje@google.com>
1150
1151 * buildsym.h (record_line_ftype): New typedef.
1152 (record_line): Use it.
1153 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
1154 (dwarf_decode_lines_1): Call them.
1155
510db052
YQ
11562014-08-22 Yao Qi <yao@codesourcery.com>
1157
1158 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
1159 (ctf_end): Remove code.
1160
22fd09ae
JK
11612014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1162
1163 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
1164 (linux_make_corefile_notes): call update_thread_list, protected against
1165 exceptions.
1166
656e8868
PA
11672014-08-21 Pedro Alves <palves@redhat.com>
1168
1169 * infcmd.c (attach_command): Remove comment.
1170
de589d04
WN
11712014-08-21 Bin Cheng <bin.cheng@arm.com>
1172
1173 * aarch64-linux-nat.c (dr_changed_t): Change the type from
1174 unsigned LONGEST to ULONGEST.
1175
2a31c623
PA
11762014-08-20 Pedro Alves <palves@redhat.com>
1177
1178 * Makefile.in (check-read1): New rule.
1179
d36430db
JB
11802014-08-20 Joel Brobecker <brobecker@adacore.com>
1181
1182 * value.c (value_from_contents_and_address): Strip resolved_type's
1183 typedef layers before checking its TYPE_DATA_LOCATION.
1184
000339af
PA
11852014-08-20 Pedro Alves <palves@redhat.com>
1186
1187 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
1188
5f52445b
YQ
11892014-08-20 Yao Qi <yao@codesourcery.com>
1190
1191 * amd64-tdep.c (amd64_classify): Add a blank line after the
1192 example. Move "*/" to a new line.
1193 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
1194 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
1195 * dwarf2read.c (psymtab_include_file_name): Likewise.
1196
9a0dc9e3
PA
11972014-08-19 Andrew Burgess <aburgess@broadcom.com>
1198 Pedro Alves <palves@redhat.com>
1199
1200 PR symtab/14604
1201 PR symtab/14605
1202 * ada-lang.c (coerce_unspec_val_to_type): Use
1203 value_contents_copy_raw.
1204 * ada-valprint.c (val_print_packed_array_elements): Adjust.
1205 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
1206 * cp-valprint.c (cp_print_value_fields): Let the common printing
1207 code handle optimized out values.
1208 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
1209 * d-valprint.c (dynamic_array_type): Use
1210 value_bits_any_optimized_out.
1211 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
1212 check_any_valid fields.
1213 (check_pieced_value_bits): Delete and inline ...
1214 (check_pieced_synthetic_pointer): ... here.
1215 (check_pieced_value_validity): Delete.
1216 (check_pieced_value_invalid): Delete.
1217 (pieced_value_funcs): Remove check_validity and check_any_valid
1218 fields.
1219 (read_pieced_value): Use mark_value_bits_optimized_out.
1220 (write_pieced_value): Switch to use
1221 mark_value_bytes_optimized_out.
1222 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
1223 of assuming the whole value is optimized out.
1224 * findvar.c (read_frame_register_value): Remove special handling
1225 of optimized out registers.
1226 (value_from_register): Use mark_value_bytes_optimized_out.
1227 * frame-unwind.c (frame_unwind_got_optimized): Use
1228 mark_value_bytes_optimized_out.
1229 * jv-valprint.c (java_value_print): Adjust.
1230 (java_print_value_fields): Let the common printing code handle
1231 optimized out values.
1232 * mips-tdep.c (mips_print_register): Remove special handling of
1233 optimized out registers.
1234 * opencl-lang.c (lval_func_check_validity): Delete.
1235 (lval_func_check_any_valid): Delete.
1236 (opencl_value_funcs): Remove check_validity and check_any_valid
1237 fields.
1238 * p-valprint.c (pascal_object_print_value_fields): Let the common
1239 printing code handle optimized out values.
1240 * stack.c (read_frame_arg): Remove special handling of optimized
1241 out values. Fetch both VAL and ENTRYVAL before comparing
1242 contents. Adjust to value_available_contents_eq rename.
1243 * valprint.c (valprint_check_validity)
1244 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
1245 (val_print_array_elements): Adjust.
1246 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
1247 (value_bits_any_optimized_out): New function.
1248 (value_entirely_covered_by_range_vector): New function, factored
1249 out from value_entirely_unavailable.
1250 (value_entirely_unavailable): Reimplement.
1251 (value_entirely_optimized_out): New function.
1252 (insert_into_bit_range_vector): New function, factored out from
1253 mark_value_bits_unavailable.
1254 (mark_value_bits_unavailable): Reimplement.
1255 (struct ranges_and_idx): New struct.
1256 (find_first_range_overlap_and_match): New function, factored out
1257 from value_available_contents_bits_eq.
1258 (value_available_contents_bits_eq): Rename to ...
1259 (value_contents_bits_eq): ... this. Check both unavailable
1260 contents and optimized out contents.
1261 (value_available_contents_eq): Rename to ...
1262 (value_contents_eq): ... this.
1263 (allocate_value_lazy): Remove reference to the old optimized_out
1264 boolean.
1265 (allocate_optimized_out_value): Use
1266 mark_value_bytes_optimized_out.
1267 (require_not_optimized_out): Adjust to check whether the
1268 optimized_out vec is empty.
1269 (ranges_copy_adjusted): New function, factored out from
1270 value_contents_copy_raw.
1271 (value_contents_copy_raw): Also copy the optimized out ranges.
1272 Assert the destination ranges aren't optimized out.
1273 (value_contents_copy): Update comment, remove call to
1274 require_not_optimized_out.
1275 (value_contents_equal): Adjust to check whether the optimized_out
1276 vec is empty.
1277 (set_value_optimized_out, value_optimized_out_const): Delete.
1278 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1279 New functions.
1280 (value_entirely_optimized_out, value_bits_valid): Delete.
1281 (value_copy): Take a VEC copy of the 'optimized_out' field.
1282 (value_primitive_field): Remove special handling of optimized out.
1283 (value_fetch_lazy): Assert that lazy values have no unavailable
1284 regions. Use value_bits_any_optimized_out. Remove some special
1285 handling for optimized out values.
1286 * value.h: Add intro comment about <optimized out> and
1287 <unavailable>.
1288 (struct lval_funcs): Remove check_validity and check_any_valid
1289 fields.
1290 (set_value_optimized_out, value_optimized_out_const): Remove.
1291 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1292 New declarations.
1293 (value_bits_any_optimized_out): New declaration.
1294 (value_bits_valid): Delete declaration.
1295 (value_available_contents_eq): Rename to ...
1296 (value_contents_eq): ... this, and extend comments.
1297
6694c411
JK
12982014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 Fix -fsanitize=address on unreadable inferior strings.
1301 * valprint.c (val_print_string): Fix access before BUFFER.
1302
89a1c21a
SM
13032014-08-19 Simon Marchi <simon.marchi@ericsson.com>
1304
1305 * target.c (target_struct_size): Remove.
1306 (target_struct_allocsize): Remove.
1307 (DEFAULT_ALLOCSIZE): Remove.
1308 (target_ops_p): New typedef.
1309 (DEF_VEC_P (target_ops_p)): New vector type.
1310 (target_structs): Change type to VEC (target_ops_p).
1311 (add_target_with_completer): Replace "push" code by VEC_safe_push.
1312 (find_default_run_target): Rewrite for loop following changes to
1313 target_structs.
1314
cb417230
JB
13152014-08-19 Joel Brobecker <brobecker@adacore.com>
1316
1317 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
1318 Adjust code accordingly. Adjust function description comment.
1319
817e0957
YQ
13202014-08-19 Yao Qi <yao@codesourcery.com>
1321
1322 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
1323 types.
1324
2974be62
AM
13252014-08-19 Alan Modra <amodra@gmail.com>
1326
1327 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
1328 * config.in: Regenerate.
1329 * configure: Regenerate.
1330
34abf635
GB
13312014-08-19 Tom Tromey <tromey@redhat.com>
1332 Gary Benson <gbenson@redhat.com>
1333
1334 * common/common-debug.h: New file.
1335 * common/common-debug.c: Likewise.
1336 * debug.c: Likewise.
1337 * Makefile.in (SFILES): Add common/common-debug.c.
1338 (HFILES_NO_SRCDIR): Add common/common-debug.h.
1339 (COMMON_OBS): Add common-debug.o and debug.o.
1340 (common-debug.o): New rule.
1341 * common/common-defs.h: Include common-debug.h.
1342 * common/agent.c (debug_agent_printf): New function.
1343 (DEBUG_AGENT): Redefine.
1344 * nat/i386-dregs.c (debug_printf): Undefine.
1345
f6e94d78
GB
13462014-08-19 Gary Benson <gbenson@redhat.com>
1347
1348 * common/common-defs.h: Include print-utils.h.
1349 * utils.h: Do not include print-utils.h.
1350
9239eeab
GB
13512014-08-19 Tom Tromey <tromey@redhat.com>
1352 Gary Benson <gbenson@redhat.com>
1353
1354 * common/common-types.h: New file.
1355 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1356 * common/common-defs.h: Include common-types.h.
1357 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1358 (ULONGEST): Remove.
1359
ef87c8bb
GB
13602014-08-19 Tom Tromey <tromey@redhat.com>
1361 Gary Benson <gbenson@redhat.com>
1362
1363 * common/errors.h: New file.
1364 * common/errors.c: Likewise.
1365 * Makefile.in (SFILES): Add common/errors.c.
1366 (HFILES_NO_SRCDIR): Add common/errors.h.
1367 (COMMON_OBS): Add errors.o.
1368 (errors.o): New rule.
1369 * common/common-defs.h: Include errors.h.
1370 * utils.h (perror_with_name, error, verror, warning, vwarning):
1371 Don't declare.
1372 * common/common-utils.h: (malloc_failure, internal_error):
1373 Likewise.
1374
196a707b
GB
13752014-08-19 Gary Benson <gbenson@redhat.com>
1376
1377 * utils.c (internal_vproblem): Always print the message.
1378
ded4fc8f
DE
13792014-08-18 Doug Evans <dje@google.com>
1380
1381 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1382
950c97d8
JB
13832014-08-18 Joel Brobecker <brobecker@adacore.com>
1384
1385 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1386 Return 0 if TYPE is dynamic.
1387 (print_range): Add handling of dynamic ranges.
1388
3cdcd0ce
JB
13892014-08-18 Keven Boell <keven.boell@intel.com>
1390 Joel Brobecker <brobecker@adacore.com>
1391
1392 * gdbtypes.h (struct main_type): Add field "data_location".
1393 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1394 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1395 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1396 a dynamic data location.
1397 (resolve_dynamic_type): Add DW_AT_data_location handling.
1398 (copy_recursive, copy_type): Copy the data_location information
1399 when present.
1400 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1401 * value.c (value_from_contents_and_address): Add
1402 DW_AT_data_location handling.
1403
08412b07
JB
14042014-08-18 Keven Boell <keven.boell@intel.com>
1405 Joel Brobecker <brobecker@adacore.com>
1406
1407 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1408 field "get_object_address".
1409 * dwarf2expr.c (execute_stack_op): Add handling for
1410 DW_OP_push_object_address.
1411 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1412 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1413 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1414 (dwarf_expr_get_obj_addr): New function.
1415 (dwarf_expr_ctx_funcs): Add get_object_address field.
1416 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1417 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1418 (dwarf2_evaluate_property): Add parameter "address". Use it.
1419 (needs_get_obj_addr): New function.
1420 (needs_frame_ctx_funcs): Add get_object_address field.
1421 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1422 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1423 (resolve_dynamic_array): Likewise.
1424
84754697
JB
14252014-08-18 Joel Brobecker <brobecker@adacore.com>
1426
1427 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1428 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1429 fixed value for records and unions for which some GNAT encodings
1430 are present.
1431
da5c522f
JB
14322014-08-18 Joel Brobecker <brobecker@adacore.com>
1433
1434 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1435 rewrite to avoid "else if" and "else" constructs. Should be
1436 a no-op in practice.
1437
0d72a7c3
JB
14382014-08-18 Joel Brobecker <brobecker@adacore.com>
1439
1440 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1441 of lexical block.
1442
e66d4446
SC
14432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1444
1445 PR c++/17132
1446 * eval.c: Update all calls to find_overload_match.
1447 * valarith.c: Likewise.
1448 (value_user_defined_cpp_op, value_user_defined_op): New
1449 argument NOSIDE. Update all callers.
1450 * valops.c (find_overload_match): New argument NOSIDE.
1451 * value.h (find_overload_match): Update signature.
1452
940df408
SC
14532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1454
1455 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1456 'items' methods instead of 'iteritems' method on dictionaries.
1457
699ca60a
DE
14582014-08-15 Doug Evans <dje@google.com>
1459
1460 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1461 closer to use.
1462
37780ee5
DE
14632014-08-15 Doug Evans <dje@google.com>
1464
1465 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1466
0ad93d4f
DE
14672014-08-15 Doug Evans <dje@google.com>
1468
1469 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1470
20d8c372
DE
14712014-08-15 Doug Evans <dje@google.com>
1472
1473 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1474 unused.
1475
cb039ba4
EZ
14762014-08-15 Eli Zaretskii <eliz@gnu.org>
1477
1478 * dcache.h: Include target.h, to avoid compile time warnings.
1479
eb7a547a
JB
14802014-08-15 Joel Brobecker <brobecker@adacore.com>
1481
1482 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1483 frame_info" partial declaration.
1484 * gdbarch.h: Regenerate.
1485
783cecc8
YQ
14862014-08-15 Yao Qi <yao@codesourcery.com>
1487
1488 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1489 Add parameter 'decode_for_pst_p'. Callers update.
1490
65c749e7
YQ
14912014-08-13 Yao Qi <yao@codesourcery.com>
1492
1493 PR build/17104
1494 * configure.ac: Use local variable 'pos'.
1495 * configure: Regenerated.
1496
d769e349
DE
14972014-08-11 Doug Evans <dje@google.com>
1498
1499 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1500 message, it is redundant with "Reading symbols from ..." message.
1501
24f1235e
DE
15022014-08-10 Doug Evans <xdje42@gmail.com>
1503
1504 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1505
dcd2e6ef
YQ
15062014-08-09 Yao Qi <yao@codesourcery.com>
1507
1508 PR remote/9053
1509 * remote.c (remote_xfer_partial): Remove dead code.
1510
070bdf0b
AA
15112014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * ia64-linux-tdep.c: Include "regset.h".
1514 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1515 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1516 (ia64_linux_supply_fpregset): New function.
1517 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1518 (ia64_linux_regset_from_core_section): New function.
1519 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1520 method.
1521
08f9f542
AA
15222014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1523
1524 * m68klinux-tdep.c: Include "regset.h".
1525 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1526 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1527 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1528 (m68k_linux_regset_from_core_section): New function.
1529 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1530 method.
1531
8f1cee41
AA
15322014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1533
1534 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1535 function. Move logic to...
1536 (tilegx_linux_regmap): ... this new register map.
1537 (tilegx_linux_regset): Refer to register map, replace supply
1538 method by regcache_supply_regset, and add collect method.
1539 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1540 TILEGX_FIRST_EASY_REGNUM.
1541
c5741217
AA
15422014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1543
1544 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1545 that calls regcache_supply_regset and handles the EPC register
1546 separately. Move main logic to...
1547 (score7_linux_gregmap): ... this new register map.
1548 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1549 (score7_linux_gregset): Refer to register map. Add collect method.
1550 (score7_linux_regset_from_core_section): Replace
1551 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1552 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1553 (struct regset): Delete unused forward declaraction.
1554 (struct pt_regs): Delete structure definition.
1555 (elf_gregset_t): Delete typedef.
1556
81580573
AA
15572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1558
1559 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1560 (nios2_core_regset): Add collect method.
1561
ba199d7d
AA
15622014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563
1564 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1565 platform-independent and don't write to read-only input buffer.
1566 (m32r_linux_collect_gregset): New function.
1567 (m32r_linux_gregset): Add collect method.
1568
0006a9da
AA
15692014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1570
1571 * hppa-linux-tdep.c (greg_map): Rename to...
1572 (hppa_linux_gregmap): ... this. Also convert to
1573 regcache_map_entry format.
1574 (hppa_linux_supply_regset): Delete function.
1575 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1576 (hppa_linux_fpregmap): ... this new register map.
1577 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1578 register map, replace supply method by regcache_supply_regset, and
1579 add collect method regcache_collect_regset.
1580
901e1b23
AA
15812014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1582
1583 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1584 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1585 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1586 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1587 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1588 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1589 (frv_linux_supply_gregset): Replace main logic by call to
1590 regcache_supply_regset, but keep clearing gr32-gr63.
1591 (frv_linux_supply_fpregset): Delete function.
1592 (frv_linux_gregset): Refer to appropriate register map and add
1593 regcache_collect_regset as the collect method.
1594 (frv_linux_fpregset): Likewise. Also exchange the supply method
1595 by regcache_supply_regset.
1596
1d6e7555
AA
15972014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1598
1599 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1600 by call to alpha_supply_int_regs.
1601 (alpha_linux_collect_gregset): New function.
1602 (alpha_linux_supply_fpregset): Replace logic by call to
1603 alpha_supply_fp_regs.
1604 (alpha_linux_collect_fpregset): New function.
1605 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1606
d4d793bf
AA
16072014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1608
1609 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1610 by call to regcache_collect_regset.
1611 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1612 instead of aarch64_linux_supply_gregset/_fpregset.
1613 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1614 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1615 header file instead.
1616 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1617 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1618 functions. Move logic to ...
1619 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1620 register maps.
1621 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1622 refer to new register maps, replace *_regset_from_core by
1623 regcache_supply_regset, and also use regcache_collect_regset.
1624 * aarch64-linux-tdep.h: Include "regset.h".
1625 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1626 Delete prototypes.
1627 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1628 macros, moved from C source file.
1629 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1630 variable declarations.
1631
99b7da5d
AA
16322014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633
1634 * s390-linux-nat.c: Include "regset.h".
1635 (regmap_gregset): Delete macro.
1636 (s390_64_regmap_gregset): New register map for
1637 regcache_supply/_collect_regset.
1638 (s390_64_gregset): New regset.
1639 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1640 (regmap_fpregset): Delete macro.
1641 (s390_native_supply, s390_native_collect): Delete functions.
1642 (supply_gregset, fill_gregset): Replace s390-specific regmap
1643 handling by a call to regcache_supply/_collect_regset.
1644 (supply_fpregset, fill_fpregset): Call regcache_supply/
1645 _collect_regset instead of s390_native_supply/_collect.
1646 (fetch_regset, store_regset): Likewise. Also change the last
1647 parameter to a regset instead of a regmap.
1648 (s390_linux_fetch_inferior_registers)
1649 (390_linux_store_inferior_registers): Adjust last parameter in
1650 calls to fetch_regset and store_regset.
1651 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1652 (s390_gregmap): ... this. Also make static const and convert to
1653 regcache_map_entry format.
1654 (s390x_regmap_gregset): Delete.
1655 (s390_regmap_fpregset): Rename to...
1656 (s390_fpregmap): ... this. Make static const and convert to
1657 regcache_map_entry format.
1658 (s390_regmap_upper, s390_regmap_last_break)
1659 (s390x_regmap_last_break, s390_regmap_system_call)
1660 (s390_regmap_tdb): Likewise.
1661 (s390_supply_regset, s390_collect_regset): Remove functions.
1662 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1663 s390_supply_regset.
1664 (s390_gregset, s390_fpregset, s390_upper_regset)
1665 (s390_last_break_regset, s390x_last_break_regset)
1666 (s390_system_call_regset, s390_tdb_regset): Make global and
1667 replace s390_supply/_collect_regset by regcache_supply/
1668 _collect_regset.
1669 (s390x_gregset): Delete.
1670 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1671 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1672 (s390_regmap_fpregset, s390_regmap_last_break)
1673 (s390x_regmap_last_break, s390_regmap_system_call)
1674 (s390_regmap_tdb): Delete global variable declarations.
1675 (s390_gregset, s390_fpregset, s390_last_break_regset)
1676 (s390x_last_break_regset, s390_system_call_regset)
1677 (s390_tdb_regset): New global variable declarations.
1678
0b309272
AA
16792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1680
1681 * regcache.c: Include "regset.h".
1682 (regcache_transfer_regset): New local function.
1683 (regcache_supply_regset, regcache_collect_regset): New functions.
1684 * regcache.h (struct regcache_map_entry): New structure.
1685 (REGCACHE_MAP_SKIP): New enum value.
1686 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1687
7fefa8d7
AA
16882014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1689
1690 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1691 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1692 (ppc_linux_collect_gregset ): Likewise.
1693 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1694 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1695 (ppc_collect_vrregset): Likewise.
1696 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1697 Likewise.
1698
96c4f946
YQ
16992014-08-07 Yao Qi <yao@codesourcery.com>
1700
1701 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1702 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1703 * remote.c (remote_read_bytes): Likewise.
1704
fffbe6a8
YQ
17052014-08-07 Yao Qi <yao@codesourcery.com>
1706
1707 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1708
5ee8a82c
YQ
17092014-08-07 Yao Qi <yao@codesourcery.com>
1710
1711 PR remote/17230
1712 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1713 TARGET_XFER_OK instead of 0.
1714
bb974a24
GB
17152014-08-07 Gary Benson <gbenson@redhat.com>
1716
1717 * common/common-defs.h: Include errno.h.
1718 * defs.h: Do not include errno.h.
1719 * ada-typeprint.c: Likewise.
1720 * c-typeprint.c: Likewise.
1721 * core-regset.c: Likewise.
1722 * corefile.c: Likewise.
1723 * corelow.c: Likewise.
1724 * event-loop.c: Likewise.
1725 * f-typeprint.c: Likewise.
1726 * gnu-nat.c: Likewise.
1727 * go32-nat.c: Likewise.
1728 * i386gnu-nat.c: Likewise.
1729 * m2-typeprint.c: Likewise.
1730 * nat/linux-btrace.c: Likewise.
1731 * p-typeprint.c: Likewise.
1732 * procfs.c: Likewise.
1733 * remote-sim.c: Likewise.
1734 * rs6000-nat.c: Likewise.
1735 * target.c: Likewise.
1736 * typeprint.c: Likewise.
1737 * ui-file.c: Likewise.
1738 * valops.c: Likewise.
1739 * valprint.c: Likewise.
1740
6d3d12eb
GB
17412014-08-07 Gary Benson <gbenson@redhat.com>
1742
1743 * common/common-defs.h: Include string.h.
1744 * aarch64-tdep.c: Do not include string.h.
1745 * ada-exp.y: Likewise.
1746 * ada-lang.c: Likewise.
1747 * ada-lex.l: Likewise.
1748 * ada-typeprint.c: Likewise.
1749 * ada-valprint.c: Likewise.
1750 * aix-thread.c: Likewise.
1751 * alpha-linux-tdep.c: Likewise.
1752 * alpha-mdebug-tdep.c: Likewise.
1753 * alpha-nat.c: Likewise.
1754 * alpha-osf1-tdep.c: Likewise.
1755 * alpha-tdep.c: Likewise.
1756 * alphanbsd-tdep.c: Likewise.
1757 * amd64-dicos-tdep.c: Likewise.
1758 * amd64-linux-tdep.c: Likewise.
1759 * amd64-nat.c: Likewise.
1760 * amd64-sol2-tdep.c: Likewise.
1761 * amd64fbsd-tdep.c: Likewise.
1762 * amd64obsd-tdep.c: Likewise.
1763 * arch-utils.c: Likewise.
1764 * arm-linux-nat.c: Likewise.
1765 * arm-linux-tdep.c: Likewise.
1766 * arm-tdep.c: Likewise.
1767 * arm-wince-tdep.c: Likewise.
1768 * armbsd-tdep.c: Likewise.
1769 * armnbsd-nat.c: Likewise.
1770 * armnbsd-tdep.c: Likewise.
1771 * armobsd-tdep.c: Likewise.
1772 * avr-tdep.c: Likewise.
1773 * ax-gdb.c: Likewise.
1774 * ax-general.c: Likewise.
1775 * bcache.c: Likewise.
1776 * bfin-tdep.c: Likewise.
1777 * breakpoint.c: Likewise.
1778 * build-id.c: Likewise.
1779 * buildsym.c: Likewise.
1780 * c-exp.y: Likewise.
1781 * c-lang.c: Likewise.
1782 * c-typeprint.c: Likewise.
1783 * c-valprint.c: Likewise.
1784 * charset.c: Likewise.
1785 * cli-out.c: Likewise.
1786 * cli/cli-cmds.c: Likewise.
1787 * cli/cli-decode.c: Likewise.
1788 * cli/cli-dump.c: Likewise.
1789 * cli/cli-interp.c: Likewise.
1790 * cli/cli-logging.c: Likewise.
1791 * cli/cli-script.c: Likewise.
1792 * cli/cli-setshow.c: Likewise.
1793 * cli/cli-utils.c: Likewise.
1794 * coffread.c: Likewise.
1795 * common/agent.c: Likewise.
1796 * common/buffer.c: Likewise.
1797 * common/buffer.h: Likewise.
1798 * common/common-utils.c: Likewise.
1799 * common/filestuff.c: Likewise.
1800 * common/filestuff.c: Likewise.
1801 * common/format.c: Likewise.
1802 * common/print-utils.c: Likewise.
1803 * common/rsp-low.c: Likewise.
1804 * common/signals.c: Likewise.
1805 * common/vec.h: Likewise.
1806 * common/xml-utils.c: Likewise.
1807 * core-regset.c: Likewise.
1808 * corefile.c: Likewise.
1809 * corelow.c: Likewise.
1810 * cp-abi.c: Likewise.
1811 * cp-name-parser.y: Likewise.
1812 * cp-support.c: Likewise.
1813 * cp-valprint.c: Likewise.
1814 * cris-tdep.c: Likewise.
1815 * d-exp.y: Likewise.
1816 * darwin-nat.c: Likewise.
1817 * dbxread.c: Likewise.
1818 * dcache.c: Likewise.
1819 * demangle.c: Likewise.
1820 * dicos-tdep.c: Likewise.
1821 * disasm.c: Likewise.
1822 * doublest.c: Likewise.
1823 * dsrec.c: Likewise.
1824 * dummy-frame.c: Likewise.
1825 * dwarf2-frame.c: Likewise.
1826 * dwarf2loc.c: Likewise.
1827 * dwarf2read.c: Likewise.
1828 * elfread.c: Likewise.
1829 * environ.c: Likewise.
1830 * eval.c: Likewise.
1831 * event-loop.c: Likewise.
1832 * exceptions.c: Likewise.
1833 * exec.c: Likewise.
1834 * expprint.c: Likewise.
1835 * f-exp.y: Likewise.
1836 * f-lang.c: Likewise.
1837 * f-typeprint.c: Likewise.
1838 * f-valprint.c: Likewise.
1839 * fbsd-nat.c: Likewise.
1840 * findcmd.c: Likewise.
1841 * findvar.c: Likewise.
1842 * fork-child.c: Likewise.
1843 * frame.c: Likewise.
1844 * frv-linux-tdep.c: Likewise.
1845 * frv-tdep.c: Likewise.
1846 * gdb.c: Likewise.
1847 * gdb_bfd.c: Likewise.
1848 * gdbarch.c: Likewise.
1849 * gdbarch.sh: Likewise.
1850 * gdbtypes.c: Likewise.
1851 * gnu-nat.c: Likewise.
1852 * gnu-v2-abi.c: Likewise.
1853 * gnu-v3-abi.c: Likewise.
1854 * go-exp.y: Likewise.
1855 * go-lang.c: Likewise.
1856 * go32-nat.c: Likewise.
1857 * guile/guile.c: Likewise.
1858 * guile/scm-auto-load.c: Likewise.
1859 * hppa-hpux-tdep.c: Likewise.
1860 * hppa-linux-nat.c: Likewise.
1861 * hppanbsd-tdep.c: Likewise.
1862 * hppaobsd-tdep.c: Likewise.
1863 * i386-cygwin-tdep.c: Likewise.
1864 * i386-dicos-tdep.c: Likewise.
1865 * i386-linux-tdep.c: Likewise.
1866 * i386-nto-tdep.c: Likewise.
1867 * i386-sol2-tdep.c: Likewise.
1868 * i386-tdep.c: Likewise.
1869 * i386bsd-tdep.c: Likewise.
1870 * i386gnu-nat.c: Likewise.
1871 * i386nbsd-tdep.c: Likewise.
1872 * i386obsd-tdep.c: Likewise.
1873 * i387-tdep.c: Likewise.
1874 * ia64-libunwind-tdep.c: Likewise.
1875 * ia64-linux-nat.c: Likewise.
1876 * inf-child.c: Likewise.
1877 * inf-ptrace.c: Likewise.
1878 * inf-ttrace.c: Likewise.
1879 * infcall.c: Likewise.
1880 * infcmd.c: Likewise.
1881 * inflow.c: Likewise.
1882 * infrun.c: Likewise.
1883 * interps.c: Likewise.
1884 * iq2000-tdep.c: Likewise.
1885 * irix5-nat.c: Likewise.
1886 * jv-exp.y: Likewise.
1887 * jv-lang.c: Likewise.
1888 * jv-typeprint.c: Likewise.
1889 * jv-valprint.c: Likewise.
1890 * language.c: Likewise.
1891 * linux-fork.c: Likewise.
1892 * linux-nat.c: Likewise.
1893 * lm32-tdep.c: Likewise.
1894 * m2-exp.y: Likewise.
1895 * m2-typeprint.c: Likewise.
1896 * m32c-tdep.c: Likewise.
1897 * m32r-linux-nat.c: Likewise.
1898 * m32r-linux-tdep.c: Likewise.
1899 * m32r-rom.c: Likewise.
1900 * m32r-tdep.c: Likewise.
1901 * m68hc11-tdep.c: Likewise.
1902 * m68k-tdep.c: Likewise.
1903 * m68kbsd-tdep.c: Likewise.
1904 * m68klinux-nat.c: Likewise.
1905 * m68klinux-tdep.c: Likewise.
1906 * m88k-tdep.c: Likewise.
1907 * machoread.c: Likewise.
1908 * macrocmd.c: Likewise.
1909 * main.c: Likewise.
1910 * mdebugread.c: Likewise.
1911 * mem-break.c: Likewise.
1912 * memattr.c: Likewise.
1913 * memory-map.c: Likewise.
1914 * mep-tdep.c: Likewise.
1915 * mi/mi-cmd-break.c: Likewise.
1916 * mi/mi-cmd-disas.c: Likewise.
1917 * mi/mi-cmd-env.c: Likewise.
1918 * mi/mi-cmd-stack.c: Likewise.
1919 * mi/mi-cmd-var.c: Likewise.
1920 * mi/mi-cmds.c: Likewise.
1921 * mi/mi-console.c: Likewise.
1922 * mi/mi-getopt.c: Likewise.
1923 * mi/mi-interp.c: Likewise.
1924 * mi/mi-main.c: Likewise.
1925 * mi/mi-parse.c: Likewise.
1926 * microblaze-rom.c: Likewise.
1927 * microblaze-tdep.c: Likewise.
1928 * mingw-hdep.c: Likewise.
1929 * minidebug.c: Likewise.
1930 * minsyms.c: Likewise.
1931 * mips-irix-tdep.c: Likewise.
1932 * mips-linux-tdep.c: Likewise.
1933 * mips-tdep.c: Likewise.
1934 * mips64obsd-tdep.c: Likewise.
1935 * mipsnbsd-tdep.c: Likewise.
1936 * mipsread.c: Likewise.
1937 * mn10300-linux-tdep.c: Likewise.
1938 * mn10300-tdep.c: Likewise.
1939 * monitor.c: Likewise.
1940 * moxie-tdep.c: Likewise.
1941 * mt-tdep.c: Likewise.
1942 * nat/linux-btrace.c: Likewise.
1943 * nat/linux-osdata.c: Likewise.
1944 * nat/linux-procfs.c: Likewise.
1945 * nat/linux-ptrace.c: Likewise.
1946 * nat/linux-waitpid.c: Likewise.
1947 * nbsd-tdep.c: Likewise.
1948 * nios2-linux-tdep.c: Likewise.
1949 * nto-procfs.c: Likewise.
1950 * nto-tdep.c: Likewise.
1951 * objc-lang.c: Likewise.
1952 * objfiles.c: Likewise.
1953 * opencl-lang.c: Likewise.
1954 * osabi.c: Likewise.
1955 * osdata.c: Likewise.
1956 * p-exp.y: Likewise.
1957 * p-lang.c: Likewise.
1958 * p-typeprint.c: Likewise.
1959 * parse.c: Likewise.
1960 * posix-hdep.c: Likewise.
1961 * ppc-linux-nat.c: Likewise.
1962 * ppc-sysv-tdep.c: Likewise.
1963 * ppcfbsd-tdep.c: Likewise.
1964 * ppcnbsd-tdep.c: Likewise.
1965 * ppcobsd-tdep.c: Likewise.
1966 * printcmd.c: Likewise.
1967 * procfs.c: Likewise.
1968 * prologue-value.c: Likewise.
1969 * python/py-auto-load.c: Likewise.
1970 * python/py-gdb-readline.c: Likewise.
1971 * ravenscar-thread.c: Likewise.
1972 * regcache.c: Likewise.
1973 * registry.c: Likewise.
1974 * remote-fileio.c: Likewise.
1975 * remote-m32r-sdi.c: Likewise.
1976 * remote-mips.c: Likewise.
1977 * remote-notif.c: Likewise.
1978 * remote-sim.c: Likewise.
1979 * remote.c: Likewise.
1980 * reverse.c: Likewise.
1981 * rs6000-aix-tdep.c: Likewise.
1982 * ser-base.c: Likewise.
1983 * ser-go32.c: Likewise.
1984 * ser-mingw.c: Likewise.
1985 * ser-pipe.c: Likewise.
1986 * ser-tcp.c: Likewise.
1987 * ser-unix.c: Likewise.
1988 * serial.c: Likewise.
1989 * sh-tdep.c: Likewise.
1990 * sh64-tdep.c: Likewise.
1991 * shnbsd-tdep.c: Likewise.
1992 * skip.c: Likewise.
1993 * sol-thread.c: Likewise.
1994 * solib-dsbt.c: Likewise.
1995 * solib-frv.c: Likewise.
1996 * solib-osf.c: Likewise.
1997 * solib-som.c: Likewise.
1998 * solib-spu.c: Likewise.
1999 * solib-target.c: Likewise.
2000 * solib.c: Likewise.
2001 * somread.c: Likewise.
2002 * source.c: Likewise.
2003 * sparc-nat.c: Likewise.
2004 * sparc-sol2-tdep.c: Likewise.
2005 * sparc-tdep.c: Likewise.
2006 * sparc64-tdep.c: Likewise.
2007 * sparc64fbsd-tdep.c: Likewise.
2008 * sparc64nbsd-tdep.c: Likewise.
2009 * sparcnbsd-tdep.c: Likewise.
2010 * spu-linux-nat.c: Likewise.
2011 * spu-multiarch.c: Likewise.
2012 * spu-tdep.c: Likewise.
2013 * stabsread.c: Likewise.
2014 * stack.c: Likewise.
2015 * std-regs.c: Likewise.
2016 * symfile.c: Likewise.
2017 * symmisc.c: Likewise.
2018 * symtab.c: Likewise.
2019 * target.c: Likewise.
2020 * thread.c: Likewise.
2021 * tilegx-linux-nat.c: Likewise.
2022 * tilegx-tdep.c: Likewise.
2023 * top.c: Likewise.
2024 * tracepoint.c: Likewise.
2025 * tui/tui-command.c: Likewise.
2026 * tui/tui-data.c: Likewise.
2027 * tui/tui-disasm.c: Likewise.
2028 * tui/tui-file.c: Likewise.
2029 * tui/tui-layout.c: Likewise.
2030 * tui/tui-out.c: Likewise.
2031 * tui/tui-regs.c: Likewise.
2032 * tui/tui-source.c: Likewise.
2033 * tui/tui-stack.c: Likewise.
2034 * tui/tui-win.c: Likewise.
2035 * tui/tui-windata.c: Likewise.
2036 * tui/tui-winsource.c: Likewise.
2037 * typeprint.c: Likewise.
2038 * ui-file.c: Likewise.
2039 * ui-out.c: Likewise.
2040 * user-regs.c: Likewise.
2041 * utils.c: Likewise.
2042 * v850-tdep.c: Likewise.
2043 * valarith.c: Likewise.
2044 * valops.c: Likewise.
2045 * valprint.c: Likewise.
2046 * value.c: Likewise.
2047 * varobj.c: Likewise.
2048 * vax-tdep.c: Likewise.
2049 * vaxnbsd-tdep.c: Likewise.
2050 * vaxobsd-tdep.c: Likewise.
2051 * windows-nat.c: Likewise.
2052 * xcoffread.c: Likewise.
2053 * xml-support.c: Likewise.
2054 * xstormy16-tdep.c: Likewise.
2055 * xtensa-linux-nat.c: Likewise.
2056
dccbb609
GB
20572014-08-07 Gary Benson <gbenson@redhat.com>
2058
2059 * common/common-defs.h: Include gdb_assert.h.
2060 * aarch64-tdep.c: Do not include gdb_assert.h.
2061 * addrmap.c: Likewise.
2062 * aix-thread.c: Likewise.
2063 * alpha-linux-tdep.c: Likewise.
2064 * alpha-mdebug-tdep.c: Likewise.
2065 * alphanbsd-tdep.c: Likewise.
2066 * amd64-nat.c: Likewise.
2067 * amd64-tdep.c: Likewise.
2068 * amd64bsd-nat.c: Likewise.
2069 * amd64fbsd-nat.c: Likewise.
2070 * amd64fbsd-tdep.c: Likewise.
2071 * amd64nbsd-nat.c: Likewise.
2072 * amd64nbsd-tdep.c: Likewise.
2073 * amd64obsd-nat.c: Likewise.
2074 * amd64obsd-tdep.c: Likewise.
2075 * arch-utils.c: Likewise.
2076 * arm-tdep.c: Likewise.
2077 * armbsd-tdep.c: Likewise.
2078 * auxv.c: Likewise.
2079 * bcache.c: Likewise.
2080 * bfin-tdep.c: Likewise.
2081 * blockframe.c: Likewise.
2082 * breakpoint.c: Likewise.
2083 * bsd-kvm.c: Likewise.
2084 * bsd-uthread.c: Likewise.
2085 * buildsym.c: Likewise.
2086 * c-exp.y: Likewise.
2087 * c-lang.c: Likewise.
2088 * charset.c: Likewise.
2089 * cleanups.c: Likewise.
2090 * cli-out.c: Likewise.
2091 * cli/cli-decode.c: Likewise.
2092 * cli/cli-dump.c: Likewise.
2093 * cli/cli-logging.c: Likewise.
2094 * cli/cli-script.c: Likewise.
2095 * cli/cli-utils.c: Likewise.
2096 * coffread.c: Likewise.
2097 * common/common-utils.c: Likewise.
2098 * common/queue.h: Likewise.
2099 * common/signals.c: Likewise.
2100 * common/vec.h: Likewise.
2101 * complaints.c: Likewise.
2102 * completer.c: Likewise.
2103 * corelow.c: Likewise.
2104 * cp-abi.c: Likewise.
2105 * cp-name-parser.y: Likewise.
2106 * cp-namespace.c: Likewise.
2107 * cp-support.c: Likewise.
2108 * cris-tdep.c: Likewise.
2109 * dbxread.c: Likewise.
2110 * dictionary.c: Likewise.
2111 * doublest.c: Likewise.
2112 * dsrec.c: Likewise.
2113 * dummy-frame.c: Likewise.
2114 * dwarf2-frame-tailcall.c: Likewise.
2115 * dwarf2-frame.c: Likewise.
2116 * dwarf2expr.c: Likewise.
2117 * dwarf2loc.c: Likewise.
2118 * dwarf2read.c: Likewise.
2119 * eval.c: Likewise.
2120 * event-loop.c: Likewise.
2121 * exceptions.c: Likewise.
2122 * expprint.c: Likewise.
2123 * f-valprint.c: Likewise.
2124 * fbsd-nat.c: Likewise.
2125 * findvar.c: Likewise.
2126 * frame-unwind.c: Likewise.
2127 * frame.c: Likewise.
2128 * frv-tdep.c: Likewise.
2129 * gcore.c: Likewise.
2130 * gdb-dlfcn.c: Likewise.
2131 * gdb_bfd.c: Likewise.
2132 * gdbarch.c: Likewise.
2133 * gdbarch.sh: Likewise.
2134 * gdbtypes.c: Likewise.
2135 * gnu-nat.c: Likewise.
2136 * gnu-v3-abi.c: Likewise.
2137 * go-lang.c: Likewise.
2138 * guile/scm-exception.c: Likewise.
2139 * guile/scm-gsmob.c: Likewise.
2140 * guile/scm-lazy-string.c: Likewise.
2141 * guile/scm-math.c: Likewise.
2142 * guile/scm-pretty-print.c: Likewise.
2143 * guile/scm-safe-call.c: Likewise.
2144 * guile/scm-utils.c: Likewise.
2145 * guile/scm-value.c: Likewise.
2146 * h8300-tdep.c: Likewise.
2147 * hppa-hpux-nat.c: Likewise.
2148 * hppa-tdep.c: Likewise.
2149 * hppanbsd-tdep.c: Likewise.
2150 * hppaobsd-tdep.c: Likewise.
2151 * i386-darwin-nat.c: Likewise.
2152 * i386-darwin-tdep.c: Likewise.
2153 * i386-nto-tdep.c: Likewise.
2154 * i386-tdep.c: Likewise.
2155 * i386bsd-nat.c: Likewise.
2156 * i386fbsd-tdep.c: Likewise.
2157 * i386gnu-nat.c: Likewise.
2158 * i386nbsd-tdep.c: Likewise.
2159 * i386obsd-tdep.c: Likewise.
2160 * i387-tdep.c: Likewise.
2161 * ia64-libunwind-tdep.c: Likewise.
2162 * ia64-tdep.c: Likewise.
2163 * inf-ptrace.c: Likewise.
2164 * inf-ttrace.c: Likewise.
2165 * infcall.c: Likewise.
2166 * infcmd.c: Likewise.
2167 * infrun.c: Likewise.
2168 * inline-frame.c: Likewise.
2169 * interps.c: Likewise.
2170 * jv-lang.c: Likewise.
2171 * jv-typeprint.c: Likewise.
2172 * linux-fork.c: Likewise.
2173 * linux-nat.c: Likewise.
2174 * linux-thread-db.c: Likewise.
2175 * m32c-tdep.c: Likewise.
2176 * m32r-linux-nat.c: Likewise.
2177 * m32r-tdep.c: Likewise.
2178 * m68k-tdep.c: Likewise.
2179 * m68kbsd-nat.c: Likewise.
2180 * m68kbsd-tdep.c: Likewise.
2181 * m88k-tdep.c: Likewise.
2182 * machoread.c: Likewise.
2183 * macroexp.c: Likewise.
2184 * macrotab.c: Likewise.
2185 * maint.c: Likewise.
2186 * mdebugread.c: Likewise.
2187 * memory-map.c: Likewise.
2188 * mep-tdep.c: Likewise.
2189 * mi/mi-common.c: Likewise.
2190 * microblaze-tdep.c: Likewise.
2191 * mingw-hdep.c: Likewise.
2192 * mips-linux-nat.c: Likewise.
2193 * mips-linux-tdep.c: Likewise.
2194 * mips-tdep.c: Likewise.
2195 * mips64obsd-tdep.c: Likewise.
2196 * mipsnbsd-tdep.c: Likewise.
2197 * mn10300-linux-tdep.c: Likewise.
2198 * mn10300-tdep.c: Likewise.
2199 * moxie-tdep.c: Likewise.
2200 * mt-tdep.c: Likewise.
2201 * nat/linux-btrace.c: Likewise.
2202 * nat/linux-osdata.c: Likewise.
2203 * nat/linux-ptrace.c: Likewise.
2204 * nat/mips-linux-watch.c: Likewise.
2205 * nios2-linux-tdep.c: Likewise.
2206 * nios2-tdep.c: Likewise.
2207 * objc-lang.c: Likewise.
2208 * objfiles.c: Likewise.
2209 * obsd-nat.c: Likewise.
2210 * opencl-lang.c: Likewise.
2211 * osabi.c: Likewise.
2212 * parse.c: Likewise.
2213 * ppc-linux-nat.c: Likewise.
2214 * ppc-sysv-tdep.c: Likewise.
2215 * ppcfbsd-nat.c: Likewise.
2216 * ppcfbsd-tdep.c: Likewise.
2217 * ppcnbsd-nat.c: Likewise.
2218 * ppcnbsd-tdep.c: Likewise.
2219 * ppcobsd-nat.c: Likewise.
2220 * ppcobsd-tdep.c: Likewise.
2221 * printcmd.c: Likewise.
2222 * procfs.c: Likewise.
2223 * prologue-value.c: Likewise.
2224 * psymtab.c: Likewise.
2225 * python/py-lazy-string.c: Likewise.
2226 * python/py-value.c: Likewise.
2227 * regcache.c: Likewise.
2228 * reggroups.c: Likewise.
2229 * registry.c: Likewise.
2230 * remote-sim.c: Likewise.
2231 * remote.c: Likewise.
2232 * rs6000-aix-tdep.c: Likewise.
2233 * rs6000-tdep.c: Likewise.
2234 * s390-linux-tdep.c: Likewise.
2235 * score-tdep.c: Likewise.
2236 * ser-base.c: Likewise.
2237 * ser-mingw.c: Likewise.
2238 * sh-tdep.c: Likewise.
2239 * sh64-tdep.c: Likewise.
2240 * solib-darwin.c: Likewise.
2241 * solib-spu.c: Likewise.
2242 * solib-svr4.c: Likewise.
2243 * source.c: Likewise.
2244 * sparc-nat.c: Likewise.
2245 * sparc-sol2-tdep.c: Likewise.
2246 * sparc-tdep.c: Likewise.
2247 * sparc64-sol2-tdep.c: Likewise.
2248 * sparc64-tdep.c: Likewise.
2249 * sparc64fbsd-tdep.c: Likewise.
2250 * sparc64nbsd-tdep.c: Likewise.
2251 * sparc64obsd-tdep.c: Likewise.
2252 * sparcnbsd-tdep.c: Likewise.
2253 * sparcobsd-tdep.c: Likewise.
2254 * spu-multiarch.c: Likewise.
2255 * spu-tdep.c: Likewise.
2256 * stabsread.c: Likewise.
2257 * stack.c: Likewise.
2258 * symfile.c: Likewise.
2259 * symtab.c: Likewise.
2260 * target-descriptions.c: Likewise.
2261 * target-memory.c: Likewise.
2262 * target.c: Likewise.
2263 * tic6x-linux-tdep.c: Likewise.
2264 * tic6x-tdep.c: Likewise.
2265 * tilegx-linux-nat.c: Likewise.
2266 * tilegx-tdep.c: Likewise.
2267 * top.c: Likewise.
2268 * tramp-frame.c: Likewise.
2269 * tui/tui-out.c: Likewise.
2270 * tui/tui-winsource.c: Likewise.
2271 * ui-out.c: Likewise.
2272 * user-regs.c: Likewise.
2273 * utils.c: Likewise.
2274 * v850-tdep.c: Likewise.
2275 * valops.c: Likewise.
2276 * value.c: Likewise.
2277 * varobj.c: Likewise.
2278 * vax-nat.c: Likewise.
2279 * xml-syscall.c: Likewise.
2280 * xml-tdesc.c: Likewise.
2281 * xstormy16-tdep.c: Likewise.
2282 * xtensa-linux-nat.c: Likewise.
2283 * xtensa-tdep.c: Likewise.
2284
e76df0d0
GB
22852014-08-07 Gary Benson <gbenson@redhat.com>
2286
2287 * common/common-defs.h: Include common-utils.h.
2288 * defs.h: Do not include common-utils.h.
2289 * common/gdb_assert.h: Likewise.
2290 * darwin-nat.h: Likewise.
2291 * nat/linux-btrace.c: Likewise.
2292 * target/waitstatus.h: Likewise.
2293
4cb9c816
GB
22942014-08-07 Gary Benson <gbenson@redhat.com>
2295
2296 * common/common-defs.h: Include ptid.h.
2297 * defs.h: Do not include ptid.h.
2298 * inferior.h: Likewise.
2299 * infrun.h: Likewise.
2300 * nat/linux-btrace.h: Likewise.
2301 * nat/linux-osdata.h: Likewise.
2302 * target/waitstatus.h: Likewise.
2303
3995eeee
GB
23042014-08-07 Gary Benson <gbenson@redhat.com>
2305
2306 * common/common-defs.h: Include gdb_locale.h.
2307 * defs.h: Do not include gdb_locale.h.
2308
cb9f1a9b
GB
23092014-08-07 Gary Benson <gbenson@redhat.com>
2310
2311 * common/common-defs.h: Include gdb/signals.h.
2312 * defs.h: Do not include gdb/signals.h.
2313
a5fceff8
GB
23142014-08-07 Gary Benson <gbenson@redhat.com>
2315
2316 * common/common-defs.h: Include pathmax.h.
2317 * defs.h: Do not include pathmax.h.
2318
b9391142
GB
23192014-08-07 Gary Benson <gbenson@redhat.com>
2320
2321 * common/common-defs.h: Include libiberty.h.
2322 * defs.h: Do not include libiberty.h.
2323 * common/queue.h: Likewise.
2324 * cp-name-parser.y: Likewise.
2325 * mi/mi-cmd-catch.c: Likewise.
2326 * python/python.c: Likewise.
2327
0e443c87
GB
23282014-08-07 Gary Benson <gbenson@redhat.com>
2329
2330 * common/common-defs.h: Include ansidecl.h.
2331 * defs.h: Do not include ansidecl.h.
2332 * common/buffer.h: Likewise.
2333 * common/common-utils.h: Likewise.
2334
8ebb3f56
GB
23352014-08-07 Gary Benson <gbenson@redhat.com>
2336
2337 * common/common-defs.h: Include stddef.h.
2338 * defs.h: Do not include stddef.h.
2339 * common/common-utils.h: Likewise.
2340 * amd64fbsd-nat.c: Likewise.
2341 * bcache.c: Likewise.
2342 * charset.c: Likewise.
2343 * common/buffer.h: Likewise.
2344 * common/vec.h: Likewise.
2345 * i386bsd-nat.c: Likewise.
2346 * nat/linux-btrace.h: Likewise.
2347 * ppcfbsd-nat.c: Likewise.
2348 * ppcnbsd-tdep.h: Likewise.
2349 * ppcobsd-nat.c: Likewise.
2350 * ppcobsd-tdep.h: Likewise.
2351 * python/py-gdb-readline.c: Likewise.
2352
8980bdf6
GB
23532014-08-07 Gary Benson <gbenson@redhat.com>
2354
2355 * common/common-defs.h: Include stdarg.h.
2356 * defs.h: Do not include stdarg.h.
2357 * ada-lang.c: Likewise.
2358 * common/common-utils.h: Likewise.
2359 * guile/scm-string.c: Likewise.
2360 * guile/scm-utils.c: Likewise.
2361 * m32c-tdep.c: Likewise.
2362
d7096f71
GB
23632014-08-07 Gary Benson <gbenson@redhat.com>
2364
2365 * common/common-defs.h: Include stdlib.h.
2366 * defs.h: Do not include stdlib.h.
2367 * addrmap.c: Likewise.
2368 * bcache.c: Likewise.
2369 * common/buffer.c: Likewise.
2370 * common/common-utils.c: Likewise.
2371 * cp-name-parser.y: Likewise.
2372 * go32-nat.c: Likewise.
2373 * mn10300-linux-tdep.c: Likewise.
2374 * nat/linux-osdata.c: Likewise.
2375 * tui/tui.c: Likewise.
2376 * windows-nat.c: Likewise.
2377
d02f550d
GB
23782014-08-07 Gary Benson <gbenson@redhat.com>
2379
2380 * common/common-defs.h: Include stdio.h.
2381 * defs.h: Do not include stdio.h.
2382 * ada-lang.c: Likewise.
2383 * common/buffer.c: Likewise.
2384 * common/common-utils.c: Likewise.
2385 * cp-name-parser.y: Likewise.
2386 * gnu-nat.c: Likewise.
2387 * go32-nat.c: Likewise.
2388 * i386gnu-nat.c: Likewise.
2389 * proc-api.c: Likewise.
2390 * proc-events.c: Likewise.
2391 * proc-flags.c: Likewise.
2392 * proc-why.c: Likewise.
2393 * python/python-internal.h: Likewise.
2394 * target-memory.c: Likewise.
2395 * tui/tui-io.c: Likewise.
2396 * tui/tui.c: Likewise.
2397
b6d7a4bf
SM
23982014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2399
2400 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2401 (scan_dyntag_auxv): Same.
2402
af19829b
YQ
24032014-08-06 Yao Qi <yao@codesourcery.com>
2404
2405 * amd64-linux-nat.c: Remove duplicated include
2406 "x86-linux-nat.h".
2407 * i386-linux-nat.c: Likewise.
2408
8e07a239
YQ
24092014-08-06 Yao Qi <yao@codesourcery.com>
2410
2411 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2412 operand" with "Special opcode" in comments.
2413
7bfe8241
GB
24142014-08-05 Gary Benson <gbenson@redhat.com>
2415
2416 * interps.c (initialize_interps): Remove prototype.
2417 (interpreter_initialized): Remove static global.
2418 (interp_add): Do not call initialize_interps.
2419 (initialize_interps): Remove function.
2420
d6c95504
GB
24212014-08-05 Gary Benson <gbenson@redhat.com>
2422
2423 * utils.c (vwarning): Remove spurious va_end.
2424
241fd515
AM
24252014-08-05 Alan Modra <amodra@gmail.com>
2426
2427 * charset.c (convert_between_encodings): Cast result of obstack_base.
2428 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2429 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2430 (read_unwind_info): Use size_t for some locals.
2431 * jit.c (finalize_symtab): Likewise.
2432 * utils.c (hashtab_obstack_allocate): Likewise.
2433 * symmisc.c (print_objfile_statistics): Update format strings.
2434
dc304a94
JK
24352014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2438 (Changes in GDB 7.8): ... here.
2439
3cecbbbe
TT
24402014-08-04 Tom Tromey <tromey@redhat.com>
2441
2442 * target.c (set_targetdebug): New function.
2443 (initialize_targets): Pass set_targetdebug when creating "set
2444 debug target".
2445
6908c509
JB
24462014-08-01 Joel Brobecker <brobecker@adacore.com>
2447
2448 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2449 if detecting a variable-sized field that is not the last field.
2450 Fix struct type length computation.
2451
53e8f97d
JB
24522014-08-01 Joel Brobecker <brobecker@adacore.com>
2453
2454 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2455 Add debug trace.
2456
e068c55d
JB
24572014-08-01 Joel Brobecker <brobecker@adacore.com>
2458
2459 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2460 Remove "+ 8" offset in computation of CHAIN_VMA.
2461
4d4ca2a1
DE
24622014-07-31 Doug Evans <dje@google.com>
2463
2464 * inflow.c (child_terminal_inferior): Add comment.
2465 (child_terminal_ours_for_output): Add comment.
2466 (child_terminal_ours): Add comment.
2467 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2468 (linux_nat_terminal_ours): Add comment.
2469
462f517e
GB
24702014-07-31 Gary Benson <gbenson@redhat.com>
2471
2472 * common/btrace-common.h: Do not include defs.h or server.h.
2473 * nat/mips-linux-watch.h: Likewise.
2474 * gdb-dlfcn.h: Do not include defs.h.
2475 * tracefile.h: Likewise.
2476
74228e77
RM
24772014-07-30 Roland McGrath <mcgrathr@google.com>
2478
2479 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2480
014f9477
TT
24812014-07-30 Tom Tromey <tromey@redhat.com>
2482
2483 * bsd-kvm.c (bsd_kvm_open): Constify.
2484 * corelow.c (core_open): Constify.
2485 * ctf.c (ctf_open): Constify.
2486 * dbug-rom.c (dbug_open): Constify.
2487 * exec.c (exec_open): Constify.
2488 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2489 * microblaze-rom.c (picobug_open): Constify.
2490 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2491 Constify.
2492 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2493 * record-btrace.c (record_btrace_open): Constify.
2494 * record-full.c (record_full_core_open_1, record_full_open_1)
2495 (record_full_open): Constify.
2496 * remote-m32r-sdi.c (m32r_open): Constify.
2497 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2498 (rockhopper_open, lsi_open): Constify.
2499 * remote-sim.c (gdbsim_open): Constify.
2500 * remote.c (remote_open, extended_remote_open, remote_open_1):
2501 Constify.
2502 * target.h (struct target_ops) <to_open>: Make "arg" const.
2503 * tracefile-tfile.c (tfile_open): Constify.
2504
e799154c
TT
25052014-07-30 Tom Tromey <tromey@redhat.com>
2506
2507 * breakpoint.c (map_breakpoint_numbers): Update.
2508 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2509 (get_number_const): New function.
2510 (get_number): Rewrite using get_number_const.
2511 (init_number_or_range): Make "string" const.
2512 (number_is_in_list): Make "list" const.
2513 * cli/cli-utils.h (get_number_const): Declare.
2514 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2515 (init_number_or_range, number_is_in_list): Update.
2516 * printcmd.c (map_display_numbers): Update.
2517 * value.c (value_from_history_ref): Constify.
2518 * value.h (value_from_history_ref): Update.
2519
5f08566b
TT
25202014-07-30 Tom Tromey <tromey@redhat.com>
2521
2522 * corefile.c (hook_type, call_extra_exec_file_hooks)
2523 (specify_exec_file_hook): Constify.
2524 * exec.c (exec_file_attach): Make "filename" const.
2525 * gdbcore.h (deprecated_exec_file_display_hook)
2526 (specify_exec_file_hook, exec_file_attach): Constify.
2527 * main.c (captured_main): Use catch_command_errors_const.
2528
8981c758
TT
25292014-07-30 Tom Tromey <tromey@redhat.com>
2530
2531 * target.c (open_target): New function.
2532 (add_target_with_completer, add_deprecated_target_alias): Use
2533 set_cmd_sfunc, set_cmd_context.
2534 (debug_to_open): Remove.
2535 (setup_target_debug): Update.
2536
a1c7835a
YQ
25372014-07-30 Yao Qi <yao@codesourcery.com>
2538
2539 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2540 comments.
2541 * parse.c (exp_iterate): Update comments.
2542
976411d6
GB
25432014-07-30 Gary Benson <gbenson@redhat.com>
2544
2545 * common/common-defs.h: New file.
2546 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2547 * defs.h: Include common-defs.h.
2548 Do not include config.h or build-gnulib/config.h.
2549
5d4848a4
GB
25502014-07-30 Gary Benson <gbenson@redhat.com>
2551
2552 * common/common-utils.h: Do not include config.h.
2553 * nat/linux-btrace.h: Likewise.
2554
d41f6d8e
GB
25552014-07-30 Gary Benson <gbenson@redhat.com>
2556
2557 * btrace.c: Include defs.h.
2558 * common/ptid.c: Include defs.h or server.h as appropriate.
2559 * nat/mips-linux-watch.c: Likewise.
2560
84202f9c
TT
25612014-07-29 Tom Tromey <tromey@redhat.com>
2562
2563 * target.c (target_is_pushed): Simplify.
2564
2530441c
JB
25652014-07-29 Joel Brobecker <brobecker@adacore.com>
2566
2567 GDB 7.8 released.
2568
7e09a223
YQ
25692014-07-29 Yao Qi <yao@codesourcery.com>
2570
2571 PR gdb/17206
2572 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2573
7ebdbe92
DE
25742014-07-28 Doug Evans <xdje42@gmail.com>
2575
2576 PR guile/17203
2577 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2578 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2579 parameters.
2580
f347ffc9
WN
25812014-07-28 Will Newton <will.newton@linaro.org>
2582
2583 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2584 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2585 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2586 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2587 (THUMB2_EABI_SYSCALL): Likewise.
2588 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2589 struct tramp_frame.
2590 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2591 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2592
37c5f1f7
DE
25932014-07-27 Doug Evans <xdje42@gmail.com>
2594
2595 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2596
0c3abbc7
DE
25972014-07-27 Doug Evans <xdje42@gmail.com>
2598
2599 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2600
e76c5d17
DE
26012014-07-26 Ludovic Courtès <ludo@gnu.org>
2602 Doug Evans <xdje42@gmail.com>
2603
2604 PR guile/17146
2605 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2606 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2607 * configure.ac: Try to use guild to compile an scm file, if it fails
2608 then disable guile support.
2609 * configure: Regenerate.
2610 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2611 GUILE_FILE_LIST.
2612 (GUILE_COMPILED_FILES): New variable.
2613 (GUILE_FILES) Update.
2614 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2615 (stamp-guile): Compile scm files.
2616 * guile/guile.c (boot_guile_support): New function.
2617 (standard_throw_args_p): New function.
2618 (print_standard_throw_error, print_throw_error): New functions.
2619 (handle_boot_error): New function.
2620 (initialize_scheme_side): Rewrite to call boot_guile_support.
2621 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2622 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2623
186fcde0
DE
26242014-07-26 Ludovic Courtès <ludo@gnu.org>
2625 Doug Evans <xdje42@gmail.com>
2626
2627 PR guile/17146
2628 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2629 * guile/lib/gdb/support.scm: New file.
2630 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2631 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2632 All uses updated.
2633 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2634 All uses updated.
2635 (%assert-type): Ditto, and renamed to assert-type.
2636 (%exception-print-style): Delete.
2637
4df42755
DE
26382014-07-26 Doug Evans <xdje42@gmail.com>
2639
2640 PR build/17105
2641 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2642 * configure: Regenerate.
2643 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2644 PYTHON_FILES.
2645 (PYTHON_FILES): New variable.
2646 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2647 (GUILE_FILES): New variable.
2648 (stamp-python, install-python, uninstall-python): Handle empty
2649 file list.
2650 (stamp-guile, install-guile, uninstall-guile): Ditto.
2651
ee7333ae
DE
26522014-07-26 Doug Evans <xdje42@gmail.com>
2653
2654 PR guile/17177
2655 * guile/lib/gdb.scm (pretty-printers): Export.
2656 (set-pretty-printers!): Export.
2657 * guile/lib/gdb/printing.scm (gdb module): Update.
2658 (prepend-pretty-printer!, append-pretty-printer!): Update.
2659 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2660 (pretty_printer_list_var): Delete.
2661 (pretty_printer_list): New static global.
2662 (gdbscm_pretty_printers): New function.
2663 (gdbscm_set_pretty_printers_x): New function.
2664 (ppscm_find_pretty_printer_from_gdb): Update.
2665 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2666 (gdbscm_initialize_pretty_printers): Update.
2667
74edf516
DE
26682014-07-26 Doug Evans <xdje42@gmail.com>
2669
2670 PR 17185
2671 * configure.ac: Add check for header gc/gc.h.
2672 Add check for function setenv.
2673 * configure: Regenerate.
2674 * config.in: Regenerate.
2675 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2676
d54398a7
MR
26772014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2678
2679 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2680 variation in gdbarch matching.
2681
ab16fce8
TT
26822014-07-25 Tom Tromey <tromey@redhat.com>
2683
2684 * exec.c (using_exec_ops): Remove.
2685 (exec_close_1): Update. Remove extraneous block, reindent.
2686 (add_target_sections): Use target_is_pushed.
2687
88056fbb
PA
26882014-07-25 Pedro Alves <palves@redhat.com>
2689
2690 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2691 * monitor.c (monitor_create_inferior): Likewise.
2692 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2693 * remote-sim.c (gdbsim_create_inferior): Likewise.
2694 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2695 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2696 * windows-nat.c (do_initial_windows_stuff): Likewise.
2697
70509625
PA
26982014-07-25 Pedro Alves <palves@redhat.com>
2699
2700 * NEWS: Mention signal passing and "signal" command changes.
2701 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2702 comment.
2703 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2704 call.
2705 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2706 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2707 (jump_command): Adjust clear_proceed_status call.
2708 (signal_command): Warn if other thread that are resumed have
2709 signals that will be delivered. Adjust clear_proceed_status call.
2710 (until_next_command, finish_command)
2711 (proceed_after_attach_callback, attach_command_post_wait)
2712 (attach_command): Adjust clear_proceed_status call.
2713 * infrun.c (proceed_after_vfork_done): Likewise.
2714 (proceed_after_attach_callback): Adjust comment.
2715 (clear_proceed_status_thread): Clear stop_signal if not in pass
2716 state.
2717 (clear_proceed_status_callback): Delete.
2718 (clear_proceed_status): New 'step' parameter. Only clear the
2719 proceed status of threads the command being prepared is about to
2720 resume.
2721 (proceed): If passed in an explicit signal, override stop_signal
2722 with it. Don't pass the last stop signal to the thread we're
2723 resuming.
2724 (init_wait_for_inferior): Adjust clear_proceed_status call.
2725 (switch_back_to_stepped_thread): Clear the signal if it should not
2726 be passed.
2727 * infrun.h (clear_proceed_status): New 'step' parameter.
2728 (user_visible_resume_ptid): Add comment.
2729 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2730 signal is in pass state.
2731 * remote.c (append_pending_thread_resumptions): Likewise.
2732 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2733
d8be2939
TT
27342014-07-25 Tom Tromey <tromey@redhat.com>
2735
2736 * target.h (target_stopped_data_address)
2737 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2738 parentheses.
2739
7d0d9d2b
PL
27402014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2741
2742 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2743 comments.
2744 (avr_pointer_to_address): Likewise.
2745
e9e7f724
TT
27462014-07-24 Tom Tromey <tromey@redhat.com>
2747
2748 * monitor.c (compile_pattern): Update.
2749 * target.h (struct target_ops) <to_shortname, to_longname,
2750 to_doc>: Now const.
2751
1947513d
TT
27522014-07-24 Tom Tromey <tromey@redhat.com>
2753
2754 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2755 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2756 (add_info_alias, add_com): Make "doc" const.
2757 (print_doc_line): Make "str" const.
2758 (delete_cmd): Update.
2759 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2760 (print_doc_line): Update.
2761 * cli/cli-script.c (document_command): Update.
2762 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2763 (add_com, add_info, add_info_alias): Update.
2764 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2765 * python/py-cmd.c (cmdpy_destroyer): Update.
2766
64e61d29
TT
27672014-07-24 Tom Tromey <tromey@redhat.com>
2768
2769 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2770 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2771 (help_cmd_list): Constify.
2772 (lookup_cmd): Update.
2773 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2774 const.
2775 (help_cmd_list, apropos_cmd): Update.
2776 * cli/cli-script.c (show_user): Update.
2777 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2778 * cli/cli-setshow.h (cmd_show_list): Update.
2779 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2780 (cmd_show_list): Update.
2781 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2782 * python/py-cmd.c (cmdpy_destroyer): Update.
2783
429e55ea
TT
27842014-07-24 Tom Tromey <tromey@redhat.com>
2785
2786 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2787 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2788 const.
2789 * command.h (deprecate_cmd): Update.
2790 * maint.c (maintenance_do_deprecate): Add casts.
2791
64669f3b
TT
27922014-07-24 Tom Tromey <tromey@redhat.com>
2793
2794 * cli/cli-decode.c (help_cmd): Make parameter "const".
2795 * cli/cli-decode.h (help_cmd): Update.
2796
d3d3328b
TT
27972014-07-24 Tom Tromey <tromey@redhat.com>
2798
2799 * stack.c (up_silently_base, down_silently_base): Make argument
2800 const.
2801
414842dc
TT
28022014-07-24 Tom Tromey <tromey@redhat.com>
2803
2804 * solib.c (solib_add): Make "pattern" const.
2805 * solib.h (solib_add): Update.
2806
baa336ce
TT
28072014-07-24 Tom Tromey <tromey@redhat.com>
2808
2809 * remote.c (remote_serial_open, print_packet, putpkt)
2810 (putpkt_binary): Constify.
2811 * remote.h (putpkt): Update.
2812
5a19e2d0
TT
28132014-07-24 Tom Tromey <tromey@redhat.com>
2814
2815 * monitor.c (monitor_open): Make "args" const.
2816 * monitor.h (monitor_open): Update.
2817
fc4baa5e
TT
28182014-07-24 Tom Tromey <tromey@redhat.com>
2819
2820 * maint.c (match_bfd_flags): Make "string" const.
2821 (print_bfd_section_info): Remove casts.
2822 (print_objfile_section_info): Make "string" const.
2823
0d5f0dbe
TT
28242014-07-24 Tom Tromey <tromey@redhat.com>
2825
2826 * inf-child.c (inf_child_open_target): Make "arg" const.
2827 * inf-child.h (inf_child_open_target): Update.
2828
41c77899
TT
28292014-07-24 Tom Tromey <tromey@redhat.com>
2830
2831 * environ.c (unset_in_environ): Make "var" const.
2832 * environ.h (unset_in_environ): Update.
2833
93db0d79
TT
28342014-07-24 Tom Tromey <tromey@redhat.com>
2835
2836 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2837 Make "cmd" const.
2838 (scan_filename_with_cleanup): Likewise.
2839 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2840 Make arguments const.
2841 (restore_command): Update.
2842
36d6eb95
PA
28432014-07-24 Pedro Alves <palves@redhat.com>
2844
2845 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2846
8009206a
TT
28472014-07-24 Tom Tromey <tromey@redhat.com>
2848 Gary Benson <gbenson@redhat.com>
2849
2850 * nat/linux-ptrace.c (additional_flags): New global.
2851 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2852 additional_flags; don't check GDBSERVER.
2853 (linux_ptrace_set_additional_flags): New function.
2854 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2855 Declare.
2856 * linux-nat.c (_initialize_linux_nat): Call
2857 linux_ptrace_set_additional_flags.
2858
a7068b60
TT
28592014-07-24 Tom Tromey <tromey@redhat.com>
2860
2861 * make-target-delegates (munge_type, write_debugmethod): New
2862 functions.
2863 (debug_names): New global.
2864 ($TARGET_DEBUG_PRINTER): New global.
2865 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2866 name.
2867 Write debug methods. Generate init_debug_target.
2868 * target-debug.h: New file.
2869 * target-delegates.c: Rebuild.
2870 * target.c: Include target-debug.h.
2871 (debug_target): Hoist definition.
2872 (target_kill, target_get_section_table, target_memory_map)
2873 (target_flash_erase, target_flash_done, target_detach)
2874 (target_disconnect, target_wait, target_resume)
2875 (target_pass_signals, target_program_signals, target_follow_fork)
2876 (target_mourn_inferior, target_search_memory)
2877 (target_thread_address_space, target_close)
2878 (target_find_new_threads, target_core_of_thread)
2879 (target_verify_memory, target_insert_mask_watchpoint)
2880 (target_remove_mask_watchpoint): Remove targetdebug code.
2881 (debug_to_post_attach, debug_to_prepare_to_store)
2882 (debug_to_files_info, debug_to_insert_breakpoint)
2883 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2884 (debug_to_region_ok_for_hw_watchpoint)
2885 (debug_to_can_accel_watchpoint_condition)
2886 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2887 (debug_to_watchpoint_addr_within_range)
2888 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2889 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2890 (debug_to_terminal_init, debug_to_terminal_inferior)
2891 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2892 (debug_to_terminal_save_ours, debug_to_terminal_info)
2893 (debug_to_load, debug_to_post_startup_inferior)
2894 (debug_to_insert_fork_catchpoint)
2895 (debug_to_remove_fork_catchpoint)
2896 (debug_to_insert_vfork_catchpoint)
2897 (debug_to_remove_vfork_catchpoint)
2898 (debug_to_insert_exec_catchpoint)
2899 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2900 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2901 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2902 (setup_target_debug): Call init_debug_target.
2903 * target.h (TARGET_DEBUG_PRINTER): New macro.
2904 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2905 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2906
2c51604d
GB
29072014-07-24 Gary Benson <gbenson@redhat.com>
2908
2909 * exceptions.h (throw_vfatal): Renamed to...
2910 (throw_vquit): New declaration.
2911 (throw_quit): Likewise.
2912 * exceptions.c (throw_vfatal): Renamed to...
2913 (throw_vquit): New function.
2914 (throw_quit): Likewise.
2915 (throw_error): Call throw_verror rather than throw_it.
2916 * utils.h (vfatal): Removed.
2917 (fatal): Likewise.
2918 * utils.c (vfatal): Removed.
2919 (fatal): Likewise.
2920 (internal_verror): Replaced call to fatal with call to throw_quit.
2921 (quit): Replaced calls to fatal with calls to throw_quit.
2922
34211963
ME
29232014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2924
2925 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2926 target_read_code.
2927
a52b4d3e
ME
29282014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2929
2930 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2931 less than zero in conditional expression.
2932
a8bdc56b
TT
29332014-07-23 Tom Tromey <tromey@redhat.com>
2934
2935 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2936 ($INTRO_PART): Don't match whitespace.
2937 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2938 argument matching.
2939 ($METHOD): Add $METHOD_TRAILER.
2940 (trim): Rewrite.
2941 (scan_target_h): New sub.
2942 Change main loop not to collect state.
2943 * target-delegates.c: Rebuild.
2944
91b52240
GB
29452014-07-23 Gary Benson <gbenson@redhat.com>
2946
2947 * cp-support.c (gdb_demangle): Fix build on systems without
2948 sigaltstack.
2949
45326f6f
JK
29502014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2951
2952 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2953 for reference entry value target data value.
2954
e214cf6c
JK
29552014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2956
2957 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2958 value_available_contents_eq.
2959
bddbbedd
PA
29602014-07-22 Pedro Alves <palves@redhat.com>
2961
2962 * value.c (allocate_optimized_out_value): Don't mark value as
2963 non-lazy.
2964
45c71484
JW
29652014-07-22 Jiong Wang <jiong.wang@arm.com>
2966
2967 * MAINTAINERS (Write After Approval): Update my email address.
2968
9597b22a
DE
29692014-07-20 Doug Evans <dje@google.com>
2970
2971 PR server/17147
2972 * remote.c (putpkt_binary): Add text to error message.
2973
91101fe5
YQ
29742014-07-20 Yao Qi <yao@codesourcery.com>
2975
2976 * eval.c: Remove "Chill" from comments.
2977 * gdbtypes.h: Likewise.
2978 * symtab.h: Likewise.
2979
c9402c95
YQ
29802014-07-20 Yao Qi <yao@codesourcery.com>
2981
2982 * std-operator.def: Update comments to TERNOP_SLICE.
2983
ae8fddda
YQ
29842014-07-20 Yao Qi <yao@codesourcery.com>
2985
2986 * std-operator.def: Remove BINOP_RANGE.
2987 * breakpoint.c (watchpoint_exp_is_const): Update.
2988 * expprint.c (dump_subexp_body_standard): Likewise.
2989 * eval.c (init_array_element): Remove dead code.
2990 (evaluate_subexp_standard): Likewise.
2991
9c816640
YQ
29922014-07-20 Yao Qi <yao@codesourcery.com>
2993
2994 * std-operator.def: Remove BINOP_IN.
2995 * breakpoint.c (watchpoint_exp_is_const): Update.
2996 * eval.c (evaluate_subexp_standard): Likewise.
2997 * expprint.c (dump_subexp_body_standard): Likewise.
2998
164224e9
ME
29992014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
3000
3001 * microblaze-tdep.c (microblaze_register_names): Add
3002 the rshr and rslr register names.
3003 (microblaze_gdbarch_init): Use of tdesc_has_registers.
3004 Use of tdesc_find_feature. Use of tdesc_data_alloc.
3005 Use of tdesc_numbered_register. Use of
3006 microblaze_register_g_packet_guesses. Use of
3007 tdesc_use_registers. Use of set_gdbarch_register_type.
3008 (microblaze_register_g_packet_guesses): New.
3009 * microblaze-tdep.h (microblaze_reg_num): Add
3010 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3011 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3012 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3013 * features/microblaze-core.xml: New file.
3014 * features/microblaze-stack-protect.xml: New file.
3015 * features/microblaze-with-stack-protect.c: New file.
3016 * features/microblaze-with-stack-protect.xml: New file.
3017 * features/microblaze.xml: New file.
3018 * features/microblaze.c: New file.
3019 * features/Makefile (microblaze-with-stack-protect): Add
3020 microblaze-with-stack-protect microblaze and microblaze-expedite.
3021 * regformats/microblaze-with-stack-protect.dat: New file.
3022 * regformats/microblaze.dat: New file.
3023 * doc/gdb.texinfo (MicroBlaze Features): Added.
3024
e8b2341c
TT
30252014-07-18 Tom Tromey <tromey@redhat.com>
3026
3027 * exec.c (exec_ops): Now static.
3028 * exec.h (exec_ops): Don't declare.
3029
44e89118
TT
30302014-07-18 Tom Tromey <tromey@redhat.com>
3031
3032 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3033 to find_target_beneath.
3034 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
3035 find_target_beneath.
3036 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
3037
b0ed115f
TT
30382014-07-18 Tom Tromey <tromey@redhat.com>
3039
3040 PR gdb/17130:
3041 * utils.c (quit): Use target_supports_terminal_ours.
3042 * target.h (target_supports_terminal_ours): Declare.
3043 * target.c (target_supports_delete_record): Don't check
3044 to_delete_record against NULL.
3045 (target_supports_terminal_ours): New function.
3046
e75fdfca
TT
30472014-07-18 Tom Tromey <tromey@redhat.com>
3048
3049 PR gdb/17130:
3050 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
3051 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
3052 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
3053 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
3054 * windows-nat.c (windows_xfer_partial): Always delegate.
3055 * record-btrace.c (record_btrace_xfer_partial): Simplify
3056 delegation.
3057 (record_btrace_fetch_registers, record_btrace_store_registers)
3058 (record_btrace_prepare_to_store, record_btrace_resume)
3059 (record_btrace_wait, record_btrace_find_new_threads)
3060 (record_btrace_thread_alive): Likewise.
3061 * procfs.c (procfs_xfer_partial): Always delegate.
3062 * corelow.c (core_xfer_partial): Always delegate.
3063 * sol-thread.c (sol_find_new_threads): Simplify delegation.
3064
83814951
TT
30652014-07-18 Tom Tromey <tromey@redhat.com>
3066
3067 * exec.c (exec_make_note_section): Move earlier.
3068
b8b8facf
DE
30692014-07-17 Doug Evans <dje@google.com>
3070
74b49205 3071 PR gdb/17170
b8b8facf
DE
3072 * maint.c (count_symtabs_and_blocks): Handle NULL
3073 current_program_space.
3074 (report_command_stats): Check global enabled flag in addition to
3075 recorded enabled flag.
3076 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3077
69ff6be5
PA
30782014-07-16 Pedro Alves <palves@redhat.com>
3079
3080 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3081
252db1b5
TT
30822014-07-16 Tom Tromey <tromey@redhat.com>
3083
3084 * target.h (struct target_ops) <to_delete_record>: Reformat
3085 comment.
3086
a432721e
TT
30872014-07-16 Tom Tromey <tromey@redhat.com>
3088
3089 * target-delegates.c: Rebuild.
3090
487d9753
PL
30912014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3092
3093 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3094 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3095 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3096 (avr_pointer_to_address): Likewise.
3097 (avr_address_class_type_flags): New function.
3098 (avr_address_class_type_flags_to_name): Likewise.
3099 (avr_address_class_name_to_type_flags): Likewise.
3100 (avr_gdbarch_init): Set address_class_type_flags,
3101 address_class_type_flags_to_name and
3102 address_class_name_to_type_flags.
3103
57745c90
PA
31042014-07-15 Pedro Alves <palves@redhat.com>
3105
3106 * linux-nat.c (kill_callback): Save errno and work with saved
3107 copy.
3108
2d40be18
SM
31092014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3110
3111 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3112
572f6555
EBM
31132014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3114
3115 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3116 breakpoint support correctly.
3117
cc1c52ad
PA
31182014-07-14 Pedro Alves <palves@redhat.com>
3119
3120 * utils.c (prompt_for_continue): Call target_terminal_ours.
3121
1e973570
PA
31222014-07-14 Pedro Alves <palves@redhat.com>
3123
3124 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3125 catch_errors. Don't re-enable stdin or notify observers where,
3126 and rethrow error.
3127 (fetch_inferior_event_wrapper): Delete.
3128
93d6eb10
PA
31292014-07-14 Pedro Alves <palves@redhat.com>
3130
3131 PR gdb/17072
3132 * top.c: Include "inf-loop.h".
3133 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3134 field.
3135 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3136 was async before.
3137 (gdb_readline_wrapper): Store whether the target is async, and
3138 make it sync.
3139
0017922d
PA
31402014-07-14 Pedro Alves <palves@redhat.com>
3141
3142 PR gdb/17072
3143 * top.c (gdb_readline_wrapper_line): Tweak comment.
3144 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
3145 the input handler callback.
3146
94696ad3
PA
31472014-07-14 Pedro Alves <palves@redhat.com>
3148
3149 PR gdb/17072
3150 * main.c: Include event-top.h.
3151 (handle_command_errors): New function.
3152 (catch_command_errors, catch_command_errors_const): Use it.
3153
9d1e69a2
PA
31542014-07-14 Pedro Alves <palves@redhat.com>
3155
3156 * exceptions.c (catch_command_errors, catch_command_errors_const):
3157 Moved to main.c.
3158 * exceptions.h (catch_command_errors_ftype)
3159 (catch_command_errors_const_ftype): Moved to main.c.
3160 (catch_command_errors, catch_command_errors_const): Delete
3161 declarations.
3162 * main.c (catch_command_errors_ftype)
3163 (catch_command_errors_const_ftype): Moved here from exceptions.h.
3164 (catch_command_errors, catch_command_errors_const)): Moved here
3165 from exceptions.c and make static.
3166
feefc97b
PA
31672014-07-14 Pedro Alves <palves@redhat.com>
3168
3169 * exceptions.c (print_any_exception): Delete.
3170 (catch_exceptions_with_msg): Use exception_print instead of
3171 print_any_exception.
3172 (catch_errors): Use exception_fprintf instead of
3173 print_any_exception.
3174 (catch_command_errors, catch_command_errors_const): Use
3175 exception_print instead of print_any_exception.
3176
c933f875
PA
31772014-07-14 Pedro Alves <palves@redhat.com>
3178
3179 * infcall.c (run_inferior_call): Set 'sync_execution' while
3180 running the inferior call.
3181
feb6f816
PA
31822014-07-14 Pedro Alves <palves@redhat.com>
3183
3184 * value.c (value_contents_equal): Delete function.
3185 * value.h (value_contents_equal): Delete declaration.
3186
d98b7a16
TT
31872014-07-14 Tom Tromey <tromey@redhat.com>
3188
3189 PR exp/17106:
3190 * gdbtypes.c (is_dynamic_type_internal): New function, from
3191 is_dynamic_type.
3192 (is_dynamic_type): Rewrite.
3193 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
3194 (resolve_dynamic_struct): Likewise.
3195 (resolve_dynamic_type_internal): New function, from
3196 resolve_dynamic_type.
3197 (resolve_dynamic_type): Rewrite.
3198
548740d6
TT
31992014-07-14 Tom Tromey <tromey@redhat.com>
3200
3201 * target.c (target_require_runnable): Also check record_stratum.
3202 Update comment.
3203
808f7ab1
YQ
32042014-07-11 Yao Qi <yao@codesourcery.com>
3205
3206 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
3207 thumb_instruction_restores_sp return true.
3208
540314bd
YQ
32092014-07-11 Yao Qi <yao@codesourcery.com>
3210
3211 * arm-tdep.c (thumb_instruction_restores_sp): New function.
3212 (thumb_in_function_epilogue_p): Call
3213 thumb_instruction_restores_sp.
3214
1db01f22
YQ
32152014-07-11 Yao Qi <yao@codesourcery.com>
3216
3217 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
3218 'add sp, #imm'.
3219 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
3220
3116063b
GB
32212014-07-11 Gary Benson <gbenson@redhat.com>
3222
3223 * amd64-linux-nat.c (gdbcore.h): Remove include.
3224 (regset.h): Likewise.
3225 (nat/linux-btrace.h): Likewise.
3226 (btrace.h): Likewise.
3227 (gdb_assert.h): Likewise.
3228 (string.h): Likewise.
3229 (sys/uio.h): Likewise.
3230 (sys/debugreg.h): Likewise.
3231 (sys/syscall.h): Likewise.
3232 (sys/procfs.h): Likewise.
3233 (sys/user.h): Likewise.
3234 (asm/ptrace.h): Likewise.
3235 (i386-nat.h): Likewise.
3236 * i386-linux-nat.c (i386-nat.h): Likewise.
3237 (regset.h): Likewise.
3238 (target.h): Likewise.
3239 (linux-nat.h): Likewise.
3240 (nat/linux-btrace.h): Likewise.
3241 (btrace.h): Likewise.
3242 (gdb_assert.h): Likewise.
3243 (string.h): Likewise.
3244 (sys/uio.h): Likewise.
3245 (sys/user.h): Likewise.
3246 (sys/procfs.h): Likewise.
3247 (sys/reg.h): Likewise.
3248 (sys/debugreg.h): Likewise.
3249 (ORIG_EAX): Remove definition.
3250
040baaf6
GB
32512014-07-11 Gary Benson <gbenson@redhat.com>
3252
3253 * i386-linux-nat.h: New file.
3254 * x86-linux-nat.h: Likewise.
3255 * x86-linux-nat.c: Likewise.
3256 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
3257 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
3258 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3259 * amd64-linux-nat.c (x86-linux-nat.h): New include.
3260 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3261 (PTRACE_SETREGSET): Likewise.
3262 (arch_lwp_info): Now in x86-linux-nat.c.
3263 (have_ptrace_getregset): Now in x86-linux-nat.h.
3264 (x86_linux_dr_get): Now in x86-linux-nat.c.
3265 (x86_linux_dr_set): Likewise.
3266 (x86_linux_dr_get_addr): Likewise.
3267 (x86_linux_dr_get_control): Likewise.
3268 (x86_linux_dr_get_status): Likewise.
3269 (update_debug_registers_callback): Likewise.
3270 (x86_linux_dr_set_control): Likewise.
3271 (x86_linux_dr_set_addr): Likewise.
3272 (x86_linux_prepare_to_resume): Likewise.
3273 (x86_linux_new_thread): Likewise.
3274 (x86_linux_new_fork): Likewise.
3275 (x86_linux_get_thread_area): Likewise.
3276 (super_post_startup_inferior): Likewise.
3277 (x86_linux_child_post_startup_inferior): Likewise.
3278 (AMD64_LINUX_USER64_CS): Likewise.
3279 (AMD64_LINUX_X32_DS): Likewise.
3280 (x86_linux_read_description): Likewise.
3281 (x86_linux_enable_btrace): Likewise.
3282 (x86_linux_disable_btrace): Likewise.
3283 (x86_linux_teardown_btrace): Likewise.
3284 (x86_linux_read_btrace): Likewise.
3285 (x86_linux_create_target): Likewise.
3286 (x86_linux_add_target): Likewise.
3287 * i386-linux-nat.c (x86-linux-nat.h): New include.
3288 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3289 (PTRACE_SETREGSET): Likewise.
3290 (arch_lwp_info): Now in x86-linux-nat.c.
3291 (have_ptrace_getregset): Now in x86-linux-nat.h.
3292 (x86_linux_dr_get): Now in x86-linux-nat.c.
3293 (x86_linux_dr_set): Likewise.
3294 (x86_linux_dr_get_addr): Likewise.
3295 (x86_linux_dr_get_control): Likewise.
3296 (x86_linux_dr_get_status): Likewise.
3297 (update_debug_registers_callback): Likewise.
3298 (x86_linux_dr_set_control): Likewise.
3299 (x86_linux_dr_set_addr): Likewise.
3300 (x86_linux_prepare_to_resume): Likewise.
3301 (x86_linux_new_thread): Likewise.
3302 (x86_linux_new_fork): Likewise.
3303 (x86_linux_get_thread_area): Likewise.
3304 (super_post_startup_inferior): Likewise.
3305 (x86_linux_child_post_startup_inferior): Likewise.
3306 (AMD64_LINUX_USER64_CS): Likewise.
3307 (AMD64_LINUX_X32_DS): Likewise.
3308 (x86_linux_read_description): Likewise.
3309 (x86_linux_enable_btrace): Likewise.
3310 (x86_linux_disable_btrace): Likewise.
3311 (x86_linux_teardown_btrace): Likewise.
3312 (x86_linux_read_btrace): Likewise.
3313 (x86_linux_create_target): Likewise.
3314 (x86_linux_add_target): Likewise.
3315
1aa7e42c
GB
33162014-07-11 Gary Benson <gbenson@redhat.com>
3317
3318 * amd64-linux-nat.c: Comment and whitespace changes.
3319 * i386-linux-nat.c: Comment and whitespace changes.
3320
c1e246a0
GB
33212014-07-11 Gary Benson <gbenson@redhat.com>
3322
3323 * amd64-linux-nat.c (x86_linux_create_target): New function.
3324 (x86_linux_add_target): Likewise.
3325 (_initialize_amd64_linux_nat): Delegate to the above new functions.
3326 * i386-linux-nat.c (x86_linux_create_target): New function.
3327 (x86_linux_add_target): Likewise.
3328 (_initialize_i386_linux_nat): Delegate to the above new functions.
3329
8c420b8d
GB
33302014-07-11 Gary Benson <gbenson@redhat.com>
3331
3332 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
3333 (ps_get_thread_area): Delegate to the above in 32-bit mode.
3334 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
3335 (ps_get_thread_area): Delegate to the above.
3336
cb1da100
GB
33372014-07-11 Gary Benson <gbenson@redhat.com>
3338
3339 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
3340 x86_linux_read_description. All uses updated. amd64-specific
3341 code conditionalized. Conditionalized i386-specific code added.
3342 Redundant cast removed.
3343 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3344 x86_linux_read_description. All uses updated. i386-specific
3345 code conditionalized. Conditionalized amd64-specific code added.
3346 One sizeof replaced with the actual type it is describing.
3347
2acf3cd0
GB
33482014-07-11 Gary Benson <gbenson@redhat.com>
3349
3350 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3351 x86_linux_dr_get. All uses updated.
3352 (amd64_linux_dr_set): Renamed to
3353 x86_linux_dr_set. All uses updated.
3354 (amd64_linux_dr_get_addr): Renamed to
3355 x86_linux_dr_get_addr. All uses updated.
3356 (amd64_linux_dr_get_control): Renamed to
3357 x86_linux_dr_get_control. All uses updated.
3358 (amd64_linux_dr_get_status): Renamed to
3359 x86_linux_dr_get_status. All uses updated.
3360 (amd64_linux_dr_set_control): Renamed to
3361 x86_linux_dr_set_control. All uses updated.
3362 (amd64_linux_dr_set_addr): Renamed to
3363 x86_linux_dr_set_addr. All uses updated.
3364 (amd64_linux_prepare_to_resume): Renamed to
3365 x86_linux_prepare_to_resume. All uses updated.
3366 (amd64_linux_new_thread): Renamed to
3367 x86_linux_new_thread. All uses updated.
3368 (amd64_linux_new_fork): Renamed to
3369 x86_linux_new_fork. All uses updated.
3370 (amd64_linux_child_post_startup_inferior): Renamed to
3371 x86_linux_child_post_startup_inferior. All uses updated.
3372 (amd64_linux_enable_btrace): Renamed to
3373 x86_linux_enable_btrace. All uses updated.
3374 (amd64_linux_disable_btrace): Renamed to
3375 x86_linux_disable_btrace. All uses updated.
3376 (amd64_linux_teardown_btrace): Renamed to
3377 x86_linux_teardown_btrace. All uses updated.
3378 (amd64_linux_read_btrace): Renamed to
3379 x86_linux_read_btrace. All uses updated.
3380 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3381 x86_linux_dr_get. All uses updated.
3382 (i386_linux_dr_set): Renamed to
3383 x86_linux_dr_set. All uses updated.
3384 (i386_linux_dr_get_addr): Renamed to
3385 x86_linux_dr_get_addr. All uses updated.
3386 (i386_linux_dr_get_control): Renamed to
3387 x86_linux_dr_get_control. All uses updated.
3388 (i386_linux_dr_get_status): Renamed to
3389 x86_linux_dr_get_status. All uses updated.
3390 (i386_linux_dr_set_control): Renamed to
3391 x86_linux_dr_set_control. All uses updated.
3392 (i386_linux_dr_set_addr): Renamed to
3393 x86_linux_dr_set_addr. All uses updated.
3394 (i386_linux_prepare_to_resume): Renamed to
3395 x86_linux_prepare_to_resume. All uses updated.
3396 (i386_linux_new_thread): Renamed to
3397 x86_linux_new_thread. All uses updated.
3398 (i386_linux_new_fork): Renamed to
3399 x86_linux_new_fork. All uses updated.
3400 (i386_linux_child_post_startup_inferior): Renamed to
3401 x86_linux_child_post_startup_inferior. All uses updated.
3402 (i386_linux_enable_btrace): Renamed to
3403 x86_linux_enable_btrace. All uses updated.
3404 (i386_linux_disable_btrace): Renamed to
3405 x86_linux_disable_btrace. All uses updated.
3406 (i386_linux_teardown_btrace): Renamed to
3407 x86_linux_teardown_btrace. All uses updated.
3408 (i386_linux_read_btrace): Renamed to
3409 x86_linux_read_btrace. All uses updated.
3410
b9c1d481
AS
34112014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3412
3413 * remote.c (extended_remote_post_attach): New function.
3414 (init_extended_remote_ops): Install it as to_post_attach method.
3415
7180e04a
PA
34162014-07-09 Pedro Alves <palves@redhat.com>
3417
3418 * infcmd.c (attach_command_post_wait): Don't call
3419 target_terminal_inferior here.
3420 (attach_command): Call it here instead.
3421
9a9a7608
AB
34222014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3425 field.
3426 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3427 from varobj.c, with additional checks.
3428 (c_varobj_ops): Fill in is_path_expr_parent field.
3429 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3430 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3431 field.
3432 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3433 ops method.
3434 (varobj_default_is_path_expr_parent): New function.
3435 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3436 (varobj_default_is_path_expr_parent): Declare new function.
3437
1f267ae3
MM
34382014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3439
3440 * infcmd.c (finish_backward): Turn internal error into normal error.
3441
b2ee242b
PA
34422014-07-07 Pedro Alves <palves@redhat.com>
3443
8a869bca 3444 PR gdb/17096
b2ee242b
PA
3445 * remote.c (async_handle_remote_sigint)
3446 (async_handle_remote_sigint_twice): Call
3447 gdb_call_async_signal_handler instead of
3448 mark_async_signal_handler.
3449
38e229b2
TT
34502014-07-07 Tom Tromey <tromey@redhat.com>
3451
3452 * target-delegates.c: Rebuild.
3453 * target.c (target_info_record): Remove.
3454 * record.c (info_record_command): Unconditionally call
3455 to_info_record.
3456 * target.h (struct target_ops) <to_info_record>: Use
3457 TARGET_DEFAULT_IGNORE.
3458 (target_info_record): Remove.
3459
f0f9ff95
TT
34602014-07-07 Tom Tromey <tromey@redhat.com>
3461
3462 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3463 TARGET_DEFAULT_NORETURN.
3464 * target.c (generic_tls_error): New function.
3465 (target_translate_tls_address): Don't search target stack.
3466 * target-delegates.c: Rebuild.
3467 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3468 stack.
3469 * linux-thread-db.c (thread_db_get_thread_local_address):
3470 Unconditionally call beneath target.
3471
4a5be5ee
MK
34722014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3473
3474 * cli/cli-logging.c (pop_output_files): Assign targerr to
3475 gdb_stdtargerr.
3476
92c3b204
AB
34772014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3478
3479 * MAINTAINERS (Write After Approval): Update my email address.
3480
9b11e3a7
GB
34812014-07-02 Gary Benson <gbenson@redhat.com>
3482
3483 * proc-service.c (ps_xfer_memory): Update comment.
3484 (ps_pstop): Remove unused function.
3485 (ps_pcontinue): Likewise.
3486 (ps_lstop): Likewise.
3487 (ps_lcontinue): Likewise.
3488 (ps_lgetxregsize): Likewise.
3489 (ps_lgetxregs): Likewise.
3490 (ps_lsetxregs): Likewise.
3491 (ps_plog): Likewise.
3492 (ps_ptread): Likewise.
3493 (ps_ptwrite): Likewise.
3494
cf363f18
MW
34952014-07-01 Mark Wielaard <mjw@redhat.com>
3496
3497 * dwarf2read.c (add_array_cv_type): New function.
3498 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3499 (read_tag_volatile_type): Likewise.
3500
82ae6c8d
TT
35012014-07-01 Tom Tromey <tromey@redhat.com>
3502
3503 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3504 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3505 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3506 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3507 * command.h (cmd_cfunc_ftype): Move earlier.
3508 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3509 (add_com, add_info): Use cmd_cfunc_ftype.
3510
96142726
TT
35112014-06-30 Tom Tromey <tromey@redhat.com>
3512
3513 * symtab.c (operator_chars): Make parameters and return type
3514 const.
3515 (file_matches): Make "files" const.
3516 (struct search_symbols_data) <files>: Now const.
3517 (search_symbols): Make "regexp" and "files" parameters const.
3518 Update.
3519 (symtab_symbol_info): Remove cast.
3520 (rbreak_command): Update.
3521 * symtab.h (search_symbols): Update.
3522
b67a2c6f
YQ
35232014-06-27 Yao Qi <yao@codesourcery.com>
3524
3525 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3526 Change parameter type to 'struct thread_info *'. Caller
3527 updated.
3528 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3529 Update declaration.
3530 * dummy-frame.c (struct dummy_frame_id): New.
3531 (dummy_frame_id_eq): New function.
3532 (struct dummy_frame) <id>: Change its type to 'struct
3533 dummy_frame_id'.
3534 (dummy_frame_push): Add parameter ptid and save it in
3535 dummy_frame_id.
3536 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3537 inferior_ptid.
3538 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3539 to inferior_ptid.
3540 (lookup_dummy_frame): Change parameter type to 'struct
3541 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3542 instead of frame_id_eq.
3543 (dummy_frame_pop): Add parameter ptid. Callers updated.
3544 Update comments. Compose dummy_frame_id and pass it to
3545 lookup_dummy_frame.
3546 (dummy_frame_discard): Add parameter ptid.
3547 (dummy_frame_sniffer): Compose dummy_frame_id and call
3548 dummy_frame_id_eq instead of frame_id_eq.
3549 (fprint_dummy_frames): Print ptid.
3550 * dummy-frame.h: Remove comments.
3551 (dummy_frame_push): Add ptid in declaration.
3552 (dummy_frame_pop, dummy_frame_discard): Likewise.
3553
5b10184c
TT
35542014-06-26 Tom Tromey <tromey@redhat.com>
3555
3556 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3557 * command.h (error_no_arg): Update.
3558
06900326
TT
35592014-06-26 Tom Tromey <tromey@redhat.com>
3560
3561 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3562 (do_show_command): Make "arg" const.
3563 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3564
c2bcbb1d
TT
35652014-06-26 Tom Tromey <tromey@redhat.com>
3566
3567 * record-full.c (record_full_get_bookmark): Make "args" const.
3568 (record_full_goto_bookmark): Make "raw_bookmark" const.
3569 * record.c (record_goto): New function.
3570 (cmd_record_goto): Use it. Now static.
3571 * record.h (record_goto): Declare.
3572 (cmd_record_goto): Remove declaration.
3573 * target-delegates.c: Rebuild.
3574 * target.h (struct target_ops) <to_get_bookmark,
3575 to_goto_bookmark>: Make parameter const.
3576
9cbe5fff
TT
35772014-06-26 Tom Tromey <tromey@redhat.com>
3578
3579 * defs.h (generic_load): Update.
3580 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3581 * monitor.c (monitor_load): Make "args" const.
3582 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3583 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3584 const.
3585 (mips_load): Make "file" const.
3586 * remote-sim.c (gdbsim_load): Make "args" const.
3587 * remote.c (remote_load): Make "name" const.
3588 * symfile.c (generic_load): Make "args" const.
3589 * target-delegates.c: Rebuild.
3590 * target.c (target_load): Make "arg" const.
3591 (debug_to_load): Make "args" const.
3592 * target.h (struct target_ops) <to_load>: Make parameter const.
3593 (target_load): Update.
3594
34a68019
TT
35952014-06-26 Tom Tromey <tromey@redhat.com>
3596
3597 PR symtab/16902:
3598 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3599 (dwarf2_physname, read_partial_die)
3600 (guess_partial_die_structure_name, fixup_partial_die)
3601 (guess_full_die_structure_name, anonymous_struct_prefix)
3602 (dwarf2_name): Use per-BFD obstack.
3603
efc889c1
YQ
36042014-06-26 Yao Qi <yao@codesourcery.com>
3605
3606 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3607 dummyframe and this_id into inner block below.
3608
4395285e
YQ
36092014-06-26 Yao Qi <yao@codesourcery.com>
3610
3611 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3612 with "signal_pass[0]" in the initialization of signal_pass.
3613
aef92902
MM
36142014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3615
3616 * record-btrace.c (record_btrace_generating_corefile)
3617 (record_btrace_prepare_to_generate_core)
3618 (record_btrace_done_generating_core): New.
3619 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3620 (record_btrace_store_registers, record_btrace_prepare_to_store):
3621 Forward request when generating a core file.
3622 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3623 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3624 to_done_generating_core.
3625
5fff78c4
MM
36262014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3627
3628 * target.h (target_ops) <to_prepare_to_generate_core>
3629 <to_done_generating_core>: New.
3630 (target_prepare_to_generate_core, target_done_generating_core): New.
3631 * target.c (target_prepare_to_generate_core)
3632 (target_done_generating_core): New.
3633 * target-delegates.c: Regenerate.
3634 * gcore.c: (write_gcore_file): Rename to ...
3635 (write_gcore_file_1): ...this.
3636 (write_gcore_file): Call target_prepare_to_generate_core
3637 and target_done_generating_core.
3638
1d1f1ccb
MM
36392014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3640
3641 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3642 * gcore.c (write_gcore_file): Free memory returned from
3643 make_corefile_notes.
3644 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3645 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3646
3343ef86
YQ
36472014-06-24 Yao Qi <yao@codesourcery.com>
3648
3649 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3650 (arm_linux_init_abi): Set skip_trampoline_code with
3651 gdbarch_skip_trampoline_code instead of
3652 find_solib_trampoline_target.
3653
18d18ac8
YQ
36542014-06-24 Yao Qi <yao@codesourcery.com>
3655
3656 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3657 arm_skip_bx_reg returns non-zero.
3658
80d8d390
YQ
36592014-06-24 Yao Qi <yao@codesourcery.com>
3660
3661 * arm-tdep.c (arm_skip_bx_reg): New function.
3662 (arm_skip_stub): Call arm_skip_bx_reg.
3663
6a18a01c
DB
36642014-06-23 Don Breazeal <donb@codesourcery.com>
3665
3666 * MAINTAINERS: Add myself as write-after-approval maintainer.
3667
8e9db26e
PA
36682014-06-23 Pedro Alves <palves@redhat.com>
3669
3670 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3671 DR_CONTROL before setting DR0..DR3.
3672 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3673 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3674 bits of DR_CONTROL related to the debug register slot being
3675 disabled. If all slots are vacant, clear local slowdown as well,
3676 and assert DR_CONTROL is 0.
3677
70afc5b7
SC
36782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3679
3680 * python/lib/gdb/command/xmethods.py
3681 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3682 current progspace only if the string "progspace" matches LOCUS_RE.
3683
840ed64d
JK
36842014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3685
3686 Fix --with-system-readline with readline-6.3 patch 5.
3687 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3688 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3689 types.
3690
26f2dc30
TT
36912014-06-20 Tom Tromey <tromey@redhat.com>
3692
3693 * dwarf2read.c (dw2_get_real_path): Use correct type in
3694 OBSTACK_CALLOC.
3695 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3696
125f8a3d
GB
36972014-06-20 Gary Benson <gbenson@redhat.com>
3698
3699 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3700 * common/glibc_thread_db.h: Likewise.
3701 * common/i386-cpuid.h: Likewise.
3702 * common/i386-gcc-cpuid.h: Likewise.
3703 * common/linux-btrace.h: Likewise.
3704 * common/linux-osdata.h: Likewise.
3705 * common/linux-procfs.h: Likewise.
3706 * common/linux-ptrace.h: Likewise.
3707 * common/mips-linux-watch.h: Likewise.
3708 * common/linux-btrace.c: Moved to nat.
3709 * common/linux-osdata.c: Likewise.
3710 * common/linux-procfs.c: Likewise.
3711 * common/linux-ptrace.c: Likewise.
3712 * common/mips-linux-watch.c: Likewise.
3713 * nat/gdb_thread_db.h: Moved from common.
3714 * nat/glibc_thread_db.h: Likewise.
3715 * nat/i386-cpuid.h: Likewise.
3716 * nat/i386-gcc-cpuid.h: Likewise.
3717 * nat/linux-btrace.c: Likewise.
3718 * nat/linux-btrace.h: Likewise.
3719 * nat/linux-osdata.c: Likewise.
3720 * nat/linux-osdata.h: Likewise.
3721 * nat/linux-procfs.c: Likewise.
3722 * nat/linux-procfs.h: Likewise.
3723 * nat/linux-ptrace.c: Likewise.
3724 * nat/linux-ptrace.h: Likewise.
3725 * nat/mips-linux-watch.c: Likewise.
3726 * nat/mips-linux-watch.h: Likewise.
3727 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3728 (object file files): Reordered.
3729 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3730 of glibc_thread_db.h.
3731
42995dbd
GB
37322014-06-20 Gary Benson <gbenson@redhat.com>
3733
3734 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3735 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3736 (i386_dr_low): Likewise.
3737 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3738 (i386_dr_low_set_addr): Likewise.
3739 (i386_dr_low_get_addr): Likewise.
3740 (i386_dr_low_can_set_control): Likewise.
3741 (i386_dr_low_set_control): Likewise.
3742 (i386_dr_low_get_control): Likewise.
3743 (i386_dr_low_get_status): Likewise.
3744 (i386_get_debug_register_length): Likewise.
3745 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3746 (i386_dr_low): Likewise.
3747 * nat/i386-dregs.c (i386-low.h): Remove include.
3748 (i386-nat.h): Likewise.
3749 (nat/i386-dregs.h): New include.
3750 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3751 (i386_dr_low_set_addr): Likewise.
3752 (i386_dr_low_get_addr): Likewise.
3753 (i386_dr_low_can_set_control): Likewise.
3754 (i386_dr_low_set_control): Likewise.
3755 (i386_dr_low_get_control): Likewise.
3756 (i386_dr_low_get_status): Likewise.
3757 (i386_get_debug_register_length): Likewise.
3758 (debug_hw_points): Likewise.
3759
3ed9baed
IB
37602014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3761
3762 * Makefile.in (SFILES): Add d-exp.y.
3763 (YYFILES): Add d-exp.c.
3764 (YYOBJ): Add d-exp.o.
3765 (local-maintainer-clean): Delete d-exp.c.
3766 * d-exp.y: New file.
3767 * d-lang.h (d_parse): New declaration.
3768 (d_error): New declaration.
3769 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3770 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3771 PREC_ORDER operators.
3772 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3773
78c164b0
YQ
37742014-06-19 Yao Qi <yao@codesourcery.com>
3775
3776 * gdbthread.h (any_running): Remove the declaration.
3777 * thread.c (any_running): Remove.
3778
f6e29b6e
YQ
37792014-06-19 Yao Qi <yao@codesourcery.com>
3780
3781 * gdbthread.h (struct thread_info) <state>: Change its type to
3782 'enum thread_state'. Update comments.
3783
034f788c
PA
37842014-06-19 Pedro Alves <palves@redhat.com>
3785
3786 * gdbthread.h (ALL_THREADS): Delete.
3787 (ALL_NON_EXITED_THREADS): New macro.
3788 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3789 instead of ALL_THREADS.
3790 * infrun.c (find_thread_needs_step_over)
3791 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3792 instead of ALL_THREADS.
3793 * record-btrace.c (record_btrace_open)
3794 (record_btrace_stop_recording, record_btrace_close)
3795 (record_btrace_is_replaying, record_btrace_resume)
3796 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3797 * remote.c (append_pending_thread_resumptions): Likewise.
3798 * thread.c (thread_apply_all_command): Likewise.
3799
46e33252
GB
38002014-06-19 Gary Benson <gbenson@redhat.com>
3801
3802 * i386-nat.c (i386_stopped_by_watchpoint):
3803 Use i386_dr_stopped_by_watchpoint.
3804 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3805 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3806
3a8ee006
GB
38072014-06-19 Gary Benson <gbenson@redhat.com>
3808
3809 * nat/i386-dregs.c: New file.
3810 * Makefile.in (i386-dregs.o): New rule.
3811 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3812 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3813 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3814 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3815 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3816 * config/i386/go32.mh (NATDEPFILES): Likewise.
3817 * config/i386/linux.mh (NATDEPFILES): Likewise.
3818 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3819 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3820 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3821 * i386-nat.h (debug_hw_points): New declaration.
3822 * i386-nat.c (breakpoint.h): Remove include.
3823 (command.h): Likewise.
3824 (target.h): Likewise.
3825 (gdb_assert.h): Likewise.
3826 (debug_hw_points): Made nonstatic.
3827 (debug_printf): Now in i386-dregs.c.
3828 (TARGET_HAS_DR_LEN_8): Likewise.
3829 (DR_CONTROL_SHIFT): Likewise.
3830 (DR_CONTROL_SIZE): Likewise.
3831 (DR_RW_EXECUTE): Likewise.
3832 (DR_RW_WRITE): Likewise.
3833 (DR_RW_READ): Likewise.
3834 (DR_RW_IORW): Likewise.
3835 (DR_LEN_1): Likewise.
3836 (DR_LEN_2): Likewise.
3837 (DR_LEN_4): Likewise.
3838 (DR_LEN_8): Likewise.
3839 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3840 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3841 (DR_ENABLE_SIZE): Likewise.
3842 (DR_LOCAL_SLOWDOWN): Likewise.
3843 (DR_GLOBAL_SLOWDOWN): Likewise.
3844 (DR_CONTROL_RESERVED): Likewise.
3845 (I386_DR_CONTROL_MASK): Likewise.
3846 (I386_DR_VACANT): Likewise.
3847 (I386_DR_LOCAL_ENABLE): Likewise.
3848 (I386_DR_GLOBAL_ENABLE): Likewise.
3849 (I386_DR_DISABLE): Likewise.
3850 (I386_DR_SET_RW_LEN): Likewise.
3851 (I386_DR_GET_RW_LEN): Likewise.
3852 (I386_DR_WATCH_HIT): Likewise.
3853 (i386_wp_op_t): Likewise.
3854 (i386_show_dr): Likewise.
3855 (i386_length_and_rw_bits): Likewise.
3856 (i386_insert_aligned_watchpoint): Likewise.
3857 (i386_remove_aligned_watchpoint): Likewise.
3858 (i386_handle_nonaligned_watchpoint): Likewise.
3859 (i386_update_inferior_debug_regs): Likewise.
3860 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3861 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3862 (i386_region_ok_for_watchpoint):
3863 Use i386_dr_region_ok_for_watchpoint.
3864 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3865
322a8e06
GB
38662014-06-19 Gary Benson <gbenson@redhat.com>
3867
3868 * i386-nat.c (i386_insert_hw_breakpoint): Use
3869 i386_insert_watchpoint.
3870 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3871
8f26655c
GB
38722014-06-19 Gary Benson <gbenson@redhat.com>
3873
3874 * i386-nat.c (i386_dr_show): Renamed to
3875 i386_show_dr and made static. All uses updated.
3876 (i386_dr_length_and_rw_bits): Renamed to
3877 i386_length_and_rw_bits and made static.
3878 All uses updated.
3879 (i386_dr_insert_aligned_watchpoint): Renamed to
3880 i386_insert_aligned_watchpoint and made static.
3881 All uses updated.
3882 (i386_dr_remove_aligned_watchpoint): Renamed to
3883 i386_remove_aligned_watchpoint and made static.
3884 All uses updated.
3885 (i386_dr_update_inferior_debug_regs): Renamed to
3886 i386_update_inferior_debug_regs and made static.
3887 All uses updated.
3888 * nat/i386-dregs.h (i386_dr_show): Removed.
3889 (i386_dr_length_and_rw_bits): Likewise.
3890 (i386_dr_insert_aligned_watchpoint): Likewise.
3891 (i386_dr_remove_aligned_watchpoint): Likewise.
3892 (i386_dr_update_inferior_debug_regs): Likewise.
3893
992c7d70
GB
38942014-06-19 Gary Benson <gbenson@redhat.com>
3895
3896 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3897 * configure: Regenerate.
3898 * config.in: Likewise.
3899 * main.c (signal.h): New include.
3900 (setup_alternate_signal_stack): New function.
3901 (captured_main): Call the above.
3902 * cp-support.c (signal.h): New include.
3903 (catch_demangler_crashes): New flag.
3904 (SIGJMP_BUF): New define.
3905 (SIGSETJMP): Likewise.
3906 (SIGLONGJMP): Likewise.
3907 (gdb_demangle_jmp_buf): New static global.
3908 (gdb_demangle_attempt_core_dump): Likewise.
3909 (gdb_demangle_signal_handler): New function.
3910 (gdb_demangle): If catch_demangler_crashes is set, install the
3911 above signal handler before calling bfd_demangle, and restore
3912 the original signal handler afterwards. Display the offending
3913 symbol and call demangler_warning the first time a segmentation
3914 fault is caught.
3915 (_initialize_cp_support): New maint set/show command.
3916
eae7090b
GB
39172014-06-19 Gary Benson <gbenson@redhat.com>
3918
3919 * utils.h (resource_limit_kind): New enum.
3920 (can_dump_core): New declaration.
3921 (warn_cant_dump_core): Likewise.
3922 (dump_core): Likewise.
3923 * utils.c (dump_core): Made nonstatic. Added new
3924 parameter "limit_kind".
3925 (can_dump_core): Made nonstatic. Moved printing code to...
3926 (warn_cant_dump_core): New function.
3927 (can_dump_core_warn): Likewise.
3928 (internal_vproblem): Replace calls to can_dump_core with
3929 calls to can_dump_core_warn. Supply new argument to each.
3930
57fcfb1b
GB
39312014-06-19 Gary Benson <gbenson@redhat.com>
3932
3933 * utils.h (demangler_vwarning): New declaration.
3934 (demangler_warning): Likewise.
3935 * utils.c (struct internal_problem)
3936 <user_settable_should_quit>: New field.
3937 <user_settable_should_dump_core>: Likewise
3938 (internal_error_problem): Add values for above new fields.
3939 (internal_warning_problem): Likewise.
3940 (demangler_warning_problem): New static global.
3941 (demangler_vwarning): New function.
3942 (demangler_warning): Likewise.
3943 (add_internal_problem_command): Selectively add commands.
3944 (_initialize_utils): New internal problem command.
3945 * maint.c (maintenance_demangler_warning): New function.
3946 (_initialize_maint_cmds): New command.
3947
17a40b44
TT
39482014-06-18 Tom Tromey <tromey@redhat.com>
3949
3950 * f-valprint.c (info_common_command_for_block): Update.
3951 * symtab.h (struct general_symbol_info) <common_block>: Now
3952 const.
3953
346d1dfe
TT
39542014-06-18 Tom Tromey <tromey@redhat.com>
3955
3956 * symtab.h (struct symtab) <blockvector>: Now const.
3957 * ada-lang.c (ada_add_global_exceptions): Update.
3958 * buildsym.c (augment_type_symtab): Update.
3959 * dwarf2read.c (dw2_lookup_symbol): Update.
3960 * jit.c (finalize_symtab): Update.
3961 * jv-lang.c (add_class_symtab_symbol): Update.
3962 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3963 Update.
3964 * objfiles.c (objfile_relocate1): Update.
3965 * psymtab.c (lookup_symbol_aux_psymtabs)
3966 (maintenance_check_psymtabs): Update.
3967 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3968 Update.
3969 * spu-tdep.c (spu_catch_start): Update.
3970 * symmisc.c (dump_symtab_1): Update.
3971 * symtab.c (lookup_global_symbol_from_objfile)
3972 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3973 (basic_lookup_transparent_type_quick)
3974 (basic_lookup_transparent_type, find_pc_sect_symtab)
3975 (find_pc_sect_line, search_symbols): Update.
3976 * block.c (find_block_in_blockvector): Make "bl" const.
3977 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3978 const.
3979 (blockvector_contains_pc): Make "bv" const.
3980 (block_for_pc_sect): Update.
3981 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3982 (blockvector_contains_pc): Update.
3983 * breakpoint.c (resolve_sal_pc): Update.
3984 * inline-frame.c (block_starting_point_at): Update.
3985
1834676b
TT
39862014-06-18 Tom Tromey <tromey@redhat.com>
3987
3988 * completer.c (complete_line): Make "line_buffer" const.
3989 * completer.h (complete_line): Update.
3990
ac1a991b
TT
39912014-06-18 Tom Tromey <tromey@redhat.com>
3992
3993 * symtab.c (add_macro_name): Remove unneeded cast.
3994
5bc98e52
TT
39952014-06-18 Tom Tromey <tromey@redhat.com>
3996
3997 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3998 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3999
8236def8
TT
40002014-06-18 Tom Tromey <tromey@redhat.com>
4001
4002 * probe.c (info_probes_for_ops): Make "arg" const.
4003 * probe.h (info_probes_for_ops): Update.
4004
3977b71f
TT
40052014-06-18 Tom Tromey <tromey@redhat.com>
4006
4007 * varobj.c (varobj_create): Update.
4008 * valops.c (value_of_this): Update.
4009 * tracepoint.c (add_local_symbols, scope_info): Update.
4010 * symtab.h (struct general_symbol_info) <block>: Now const.
4011 * symtab.c (skip_prologue_sal)
4012 (default_make_symbol_completion_list_break_on)
4013 (skip_prologue_using_sal): Update.
4014 * stack.h (iterate_over_block_locals)
4015 (iterate_over_block_local_vars): Update.
4016 * stack.c (print_frame_args): Update.
4017 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4018 parameter const.
4019 (get_selected_block): Make return type const.
4020 * python/py-frame.c (frapy_block): Update.
4021 * python/py-block.c (gdbpy_block_for_pc): Update.
4022 * p-exp.y (%union) <bval>: Now const.
4023 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4024 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4025 * m2-exp.y (%union) <bval>: Now const.
4026 * linespec.c (get_current_search_block): Make return type const.
4027 (create_sals_line_offset, find_label_symbols): Update.
4028 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4029 Update.
4030 (block_starting_point_at): Make "block" const.
4031 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4032 (check_exception_resume): Update.
4033 * guile/scm-frame.c (gdbscm_frame_block): Update.
4034 * guile/scm-block.c (gdbscm_lookup_block): Update.
4035 * frame.h (get_frame_block): Update.
4036 (get_selected_block): Make return type const.
4037 * frame.c (frame_id_inner): Update.
4038 * f-valprint.c (info_common_command_for_block)
4039 (info_common_command): Update.
4040 * dwarf2loc.c (dwarf2_find_location_expression)
4041 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
4042 (locexpr_describe_location_piece): Update.
4043 * c-exp.y (%union) <bval>: Now const.
4044 * breakpoint.c (resolve_sal_pc): Update.
4045 * blockframe.c (get_frame_block):Make return type const.
4046 (get_pc_function_start, get_frame_function, find_pc_sect_function)
4047 (block_innermost_frame): Update.
4048 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4049 (block_for_pc, block_for_pc_sect): Update.
4050 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
4051 'pblock' const.
4052 (block_for_pc_sect, block_for_pc): Make return type const.
4053 * ax-gdb.c (gen_expr): Update.
4054 * alpha-mdebug-tdep.c (find_proc_desc): Update.
4055 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
4056 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
4057 (ada_read_var_value): Update.
4058 * ada-exp.y (struct name_info) <block>: Now const.
4059 (%union): Likewise.
4060 (block_lookup): Constify.
4061
b9228891
GB
40622014-06-18 Gary Benson <gbenson@redhat.com>
4063
4064 * nat/i386-dregs.h: New file.
4065 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
4066 * i386-nat.h (i386-dregs.h): New include.
4067 (DR_FIRSTADDR): Now in i386-dregs.h.
4068 (DR_LASTADDR): Likewise.
4069 (DR_NADDR): Likewise.
4070 (DR_STATUS): Likewise.
4071 (DR_CONTROL): Likewise.
4072 (i386_debug_reg_state): Likewise.
4073 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
4074
a1aa2221
LM
40752014-06-18 Don Breazeal <donb@codesourcery.com>
4076
4077 * breakpoint.c (set_longjmp_breakpoint): Call
4078 momentary_breakpoint_from_master with additional argument.
4079 (set_longjmp_breakpoint_for_call_dummy): Call
4080 momentary_breakpoint_from_master with additional argument.
4081 (set_std_terminate_breakpoint): Call
4082 momentary_breakpoint_from_master with additional argument.
4083 (momentary_breakpoint_from_master): Add argument to function
4084 definition and use it to initialize structure member flag.
74228e77 4085 (clone_momentary_breakpoint): Call
a1aa2221
LM
4086 momentary_breakpoint_from_master with additional argument.
4087 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4088 member flags set in momentary_breakpoint_from_master.
4089
4be83cc2
GB
40902014-06-18 Gary Benson <gbenson@redhat.com>
4091
4092 * i386-nat.c (i386_show_dr): Renamed to
4093 i386_dr_show and made nonstatic. All uses updated.
4094 (i386_length_and_rw_bits): Renamed to
4095 i386_dr_length_and_rw_bits and made nonstatic.
4096 All uses updated.
4097 (i386_insert_aligned_watchpoint): Renamed to
4098 i386_dr_insert_aligned_watchpoint and made nonstatic.
4099 All uses updated.
4100 (i386_remove_aligned_watchpoint): Renamed to
4101 i386_dr_remove_aligned_watchpoint and made nonstatic.
4102 All uses updated.
4103 (i386_update_inferior_debug_regs): Renamed to
4104 i386_dr_update_inferior_debug_regs and made nonstatic.
4105 All uses updated.
4106
131aa0d4
GB
41072014-06-18 Gary Benson <gbenson@redhat.com>
4108
4109 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4110 (i386_dr_low_can_set_control): Likewise.
4111 (i386_dr_low_set_addr): Likewise.
4112 (i386_dr_low_set_control): Likewise.
4113 (i386_dr_low_get_addr): Likewise.
4114 (i386_dr_low_get_status): Likewise.
4115 (i386_dr_low_get_control): Likewise.
4116 (i386_insert_aligned_watchpoint): Use new macros.
4117 (i386_update_inferior_debug_regs): Likewise.
4118 (i386_stopped_data_address): Likewise.
4119
d9305f7f
GB
41202014-06-18 Gary Benson <gbenson@redhat.com>
4121
4122 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4123 New parameter. All uses updated.
4124
ea008da4
GB
41252014-06-18 Gary Benson <gbenson@redhat.com>
4126
4127 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4128 All uses updated.
4129
1b6d4134
GB
41302014-06-18 Gary Benson <gbenson@redhat.com>
4131
4132 * i386-nat.c (debug_printf): New macro.
4133 (i386_get_debug_register_length): Likewise.
4134 (TARGET_HAS_DR_LEN_8): Use above macro.
4135 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4136 and printf_unfiltered. Use phex to format values.
4137
9b4550ef
GB
41382014-06-18 Gary Benson <gbenson@redhat.com>
4139
4140 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
4141 Make const.
4142
6e62758f
GB
41432014-06-18 Gary Benson <gbenson@redhat.com>
4144
4145 * i386-nat.c: Comment changes.
4146
51c79e94
GB
41472014-06-18 Gary Benson <gbenson@redhat.com>
4148
4149 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
4150
3e11889a
GB
41512014-06-18 Gary Benson <gbenson@redhat.com>
4152
4153 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
4154 (i386_insert_aligned_watchpoint): Likewise.
4155 (i386_remove_aligned_watchpoint): Likewise.
4156 (i386_handle_nonaligned_watchpoint): Likewise.
4157
fc6e2f03
GB
41582014-06-18 Gary Benson <gbenson@redhat.com>
4159
4160 * i386-nat.c: Whitespace changes.
4161
2afe7d50
SB
41622014-06-17 Samuel Bronson <naesten@gmail.com>
4163
4164 * MAINTAINERS: Update Roland McGrath's email address.
4165 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 4166 Red Hat a while ago, and giving me a current address.
2afe7d50 4167
3bca49ee
TT
41682014-06-17 Tom Tromey <tromey@redhat.com>
4169
4170 * utils.h (savestring): Remove declaration.
4171
6e366df1
TT
41722014-06-17 Tom Tromey <tromey@redhat.com>
4173
4174 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
4175
6be47f0c
KS
41762014-06-16 Keith Seitz <keiths@redhat.com>
4177
4178 PR mi/15863
4179 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
4180 to update the varobj if inferior_ptid is null_ptid.
4181
7bc112c1
TT
41822014-06-16 Tom Tromey <tromey@redhat.com>
4183
4184 * target.h (struct target_ops) <to_info_proc>: Make parameter
4185 const.
4186 (target_info_proc): Update.
4187 * target.c (target_info_proc): Make "args" const.
4188 * procfs.c (procfs_info_proc): Update.
4189 * linux-tdep.c (linux_info_proc): Update.
4190 (linux_core_info_proc_mappings): Make "args" const.
4191 (linux_core_info_proc): Update.
4192 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
4193 * gdbarch.c: Rebuild.
4194 * gdbarch.h: Rebuild.
4195 * corelow.c (core_info_proc): Update.
4196
fee354ee
TT
41972014-06-16 Tom Tromey <tromey@redhat.com>
4198
4199 * target.h (struct target_ops) <to_disconnect>: Make parameter
4200 const.
4201 (target_disconnect): Update.
4202 * target.c (target_disconnect): Make "args" const.
4203 * target-delegates.c: Rebuild.
4204 * remote.c (remote_disconnect): Update.
4205 * record.h (record_disconnect): Update.
4206 * record.c (record_disconnect): Update.
4207 * inf-child.c (inf_child_disconnect): Update.
4208
a30bf1f1
TT
42092014-06-16 Tom Tromey <tromey@redhat.com>
4210
4211 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
4212 * target.c (debug_to_rcmd, default_rcmd): Update.
4213 * target-delegates.c: Rebuild.
4214 * remote.c (remote_rcmd): Update.
4215 * monitor.c (monitor_rcmd): Update.
4216
d03de421
PA
42172014-06-16 Pedro Alves <palves@redhat.com>
4218
4219 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
4220 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
4221 have OBJF_SHARED set.
4222 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
4223 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
4224 instead of OBJF_USERLOADED.
4225 * objfiles.h (OBJF_SHARED): Update comment.
4226 (userloaded_objfile_contains_address_p): Rename to ...
4227 (shared_objfile_contains_address_p): ... this, and update
4228 comments.
4229 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
4230 new objfile.
4231 (remove_symbol_file_command): Skip objfiles that don't have
4232 OBJF_SHARED set.
4233
99f4262f
TT
42342014-06-16 Tom Tromey <tromey@redhat.com>
4235
4236 * minsyms.h (prim_record_minimal_symbol)
4237 (prim_record_minimal_symbol_and_info): Update comments.
4238
97d66cc6
EZ
42392014-06-14 Eli Zaretskii <eliz@gnu.org>
4240
4241 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
4242 or --without-guile, according to how GDB was built.
4243
635c7e8a
TT
42442014-06-13 Tom Tromey <tromey@redhat.com>
4245
4246 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
4247 to help_list.
4248 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
4249 to help_list.
4250 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
4251 help_list.
4252 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
4253 help_list.Pass all_commands, not -1, to help_list.
4254 * cli/cli-dump.c (dump_command, append_command)
4255 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
4256 (binary_dump_command, binary_append_command): Pass all_commands,
4257 not -1, to help_list.
4258 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
4259 -1, to help_list.
4260 * valprint.c (set_print, set_print_raw): Pass all_commands, not
4261 -1, to help_list.
4262 * typeprint.c (set_print_type): Pass all_commands, not -1, to
4263 help_list.
4264 * top.c (set_history): Pass all_commands, not -1, to help_list.
4265 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
4266 all_commands, not -1, to help_list.
4267 * symfile.c (overlay_command): Pass all_commands, not -1, to
4268 help_list.
4269 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
4270 help_list.
4271 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
4272 help_list.
4273 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
4274 -1, to help_list.
4275 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
4276 not -1, to help_list.
4277 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
4278 not -1, to help_list.
4279 * maint.c (maintenance_command, maintenance_info_command)
4280 (maintenance_print_command, maintenance_set_cmd): Pass
4281 all_commands, not -1, to help_list.
4282 * macrocmd.c (macro_command): Pass all_commands, not -1, to
4283 help_list.
4284 * language.c (set_check): Pass all_commands, not -1, to help_list.
4285 * infcmd.c (unset_command): Pass all_commands, not -1, to
4286 help_list.
4287 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
4288 help_list.
4289 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
4290 help_list.
4291 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
4292 help_list.
4293 * breakpoint.c (save_command): Pass all_commands, not -1, to
4294 help_list.
4295 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
4296 all_commands, not -1, to help_list.
4297
b94ade42
PL
42982014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
4299
4300 * regcache.c (struct register_to_invalidate): New structure.
4301 (do_register_invalidate, make_cleanup_regcache_invalidate): New
4302 functions.
4303 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
4304
31f628ae
YQ
43052014-06-12 Yao Qi <yao@codesourcery.com>
4306
4307 * varobj.c (varobj_get_num_children): Call
4308 varobj_is_dynamic_p.
4309 (varobj_list_children): Likewise.
4310 (varobj_update): Likewise. Update comments.
4311
cde5ef40
YQ
43122014-06-12 Yao Qi <yao@codesourcery.com>
4313
4314 * varobj.c (varobj_pretty_printed_p): Rename to ...
4315 (varobj_is_dynamic_p): ... this. New function.
4316 * varobj.h (varobj_pretty_printed_p): Remove declaration.
4317 (varobj_is_dynamic_p): Declare.
4318 * mi/mi-cmd-var.c (print_varobj): All callers updated.
4319 (mi_print_value_p, varobj_update_one): Likewise.
4320
576ea091
YQ
43212014-06-12 Pedro Alves <pedro@codesourcery.com>
4322 Yao Qi <yao@codesourcery.com>
4323
4324 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
4325 (varobj_get_iterator): Wrap up code for pretty-printer by
4326 "#if HAVE_PYTHON" and "#endif".
4327 (update_dynamic_varobj_children): Likewise.
4328
827f100c
YQ
43292014-06-12 Pedro Alves <pedro@codesourcery.com>
4330 Yao Qi <yao@codesourcery.com>
4331
4332 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
4333 gdb_python_initialized is false. Move some code from varobj.c.
4334 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
4335 * varobj.c: Move "varobj-iter.h" inclusion earlier.
4336 (struct varobj_item): Moved to varobj-iter.h".
4337 (varobj_clear_saved_item): New function.
4338 (update_dynamic_varobj_children): Move python-related code to
4339 py-varobj.c.
4340 (free_variable): Call varobj_clear_saved_item and
4341 varobj_iter_delete.
4342
e5250216
YQ
43432014-06-12 Pedro Alves <pedro@codesourcery.com>
4344 Yao Qi <yao@codesourcery.com>
4345
4346 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4347 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4348 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4349 (py-varobj.o): New rule.
4350 * python/py-varobj.c: New file.
4351 * python/python-internal.h (py_varobj_get_iterator): Declare.
4352 * varobj-iter.h: New file.
4353 * varobj.c: Include "varobj-iter.h"
4354 (struct varobj) <child_iter>: Change its type from "PyObject *"
4355 to "struct varobj_iter *".
4356 <saved_item>: Likewise.
4357 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4358 [HAVE_PYTHON] (varobj_get_iterator): New function.
4359 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4360 python-specific code to python/py-varobj.c.
4361 (install_visualizer): Call varobj_iter_delete instead of
4362 Py_XDECREF.
4363 * varobj.h (varobj_ensure_python_env): Declare.
4364
5a2e0d6e
YQ
43652014-06-12 Yao Qi <yao@codesourcery.com>
4366
4367 * varobj.c (struct varobj_item): New structure.
4368 (create_child_with_value): Update declaration.
4369 (varobj_add_child): Replace arguments 'name' and 'value' with
4370 'item'. All callers updated.
4371 (install_dynamic_child): Likewise.
4372 (update_dynamic_varobj_children): Likewise.
4373 (varobj_add_child): Likewise.
4374 (create_child_with_value): Likewise.
4375
919b9a93
JB
43762014-06-11 Joel Brobecker <brobecker@adacore.com>
4377
4378 * NEWS: Create a new section for the next release branch.
4379 Rename the section of the current branch, now that it has
4380 been cut.
4381
71a55bdf
JB
43822014-06-11 Joel Brobecker <brobecker@adacore.com>
4383
4384 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4385 * version.in: Bump version to 7.8.50.DATE-cvs.
4386
364fe1f7
PA
43872014-06-11 Pedro Alves <palves@redhat.com>
4388
4389 PR remote/17028
4390 * ser-mingw.c (net_windows_socket_check_pending): New function.
4391 (net_windows_select_thread): Ignore spurious wakeups. Use
4392 net_windows_socket_check_pending.
4393 (net_windows_wait_handle): Check for pending events with
4394 ioctlsocket, through net_windows_socket_check_pending, instead of
4395 checking the socket's event.
4396
5a6c7709
SC
43972014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4398
4399 * python/python-internal.h (gdb_PyObject_GetAttrString)
4400 (gdb_PyObject_HasAttrString): New inline function definitions.
4401 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4402 char * of the second argument to PyObject_GetAttrString.
74228e77 4403
0e58ee40
JB
44042014-06-10 Joel Brobecker <brobecker@adacore.com>
4405
4406 * serial.c (serial_write): Fix index of character to be printed
4407 in call to serial_logchar when serial debug traces are enabled.
4408
d190df30
JB
44092014-06-10 Joel Brobecker <brobecker@adacore.com>
4410
4411 * gdbtypes (resolve_dynamic_range): Add function description.
4412
b4b01d36
PA
44132014-06-09 Pedro Alves <palves@redhat.com>
4414
4415 * linux-nat.c (linux_child_follow_fork): Initialize status with
4416 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4417 inner block. Only pass the signal to PTRACE_DETACH if in pass
4418 state.
4419
3657956b
GB
44202014-06-09 Gary Benson <gbenson@redhat.com>
4421
4422 * common/signals.c (gdb_signal_from_host): Reorder to separate
4423 the always-available ANSI-standard signals from the signals that
4424 require checking.
4425 (do_gdb_signal_to_host): Likewise.
4426 * proc-events.c (signal_table): Likewise.
4427
c077881a
HZ
44282014-06-08 Hui Zhu <hui@codesourcery.com>
4429
4430 * common/linux-ptrace.c (linux_disable_event_reporting): New
4431 function.
4432 * common/linux-ptrace.h (linux_disable_event_reporting): New
4433 declaration.
4434 * linux-nat.c (linux_child_follow_fork): Do a single step before
4435 detach.
4436
4186eb54
KS
44372014-06-07 Keith Seitz <keiths@redhat.com>
4438
4439 Revert:
4440 PR c++/16253
4441 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4442 from symbol_matches_domain in symtab.c. All local callers
4443 of symbol_matches_domain updated.
4444 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4445 search STRUCT_DOMAIN.
4446 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4447 independently. standard_lookup will do that automatically.
4448 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4449 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4450 (cp_lookup_symbol_in_namespace): Likewise.
4451 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4452 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4453 may return a STRUCT_DOMAIN match.
4454 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4455 * cp-support.c: Include language.h.
4456 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4457 VAR_DOMAIN.
4458 * psymtab.c (match_partial_symbol): Compare the requested
4459 domain with the symbol's domain directly.
4460 (lookup_partial_symbol): Likewise.
4461 * symtab.c (lookup_symbol_in_language): Explain when/why
4462 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4463 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4464 appropriate languages.
4465 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4466 and moved to ada-lang.c
4467 (lookup_block_symbol): Explain that this function only returns
4468 symbol matching the requested DOMAIN.
4469 Compare the requested domain with the symbol's domain directly.
4470 (iterate_over_symbols): Compare the requested domain with the
4471 symbol's domain directly.
4472 * symtab.h (symbol_matches_domain): Remove.
4473
25326a28 44742014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4475
4476 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4477 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4478 (gdbscm_guile_version_is_at_least): Declare.
4479 (gdbscm_scm_string_to_int): Declare.
4480 * guile/guile.c (gdbscm_guile_major_version): New global.
4481 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4482 (guile_datadir): New static global.
4483 (gdbscm_guile_data_directory): New function.
4484 (initialize_scheme_side): Update.
4485 (misc_guile_functions): Add guile-data-directory.
4486 (initialize_gdb_module): Fetch guile version number.
4487 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4488 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4489 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4490 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4491 comments.
4492 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4493 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4494 * guile/scm-value.c (gdbscm_value_to_string): Only call
4495 scm_port_conversion_strategy if Guile version >= 2.0.6.
4496
0a770bb2 44972014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4498
4499 * main.c (print_gdb_help): Add -q and --silent.
4500
73ba372c
GB
45012014-06-06 Gary Benson <gbenson@redhat.com>
4502
4503 * common/signals.c: Remove preprocessor conditionals for
4504 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4505 SIGSEGV and SIGTERM.
4506 * proc-events.c: Likewise.
4507
c33b2f12
MM
45082014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4509
4510 * symfile.c (symfile_free_objfile): Remove restriction to
4511 OBJF_USERLOADED.
4512 * symfile-mem.c (symbol_file_add_from_memory): Call
4513 add_target_sections_of_objfile.
4514
fb934770
LC
45152014-06-05 Ludovic Courtès <ludo@gnu.org>
4516
4517 * guile/scm-value.c (gdbscm_history_append_x): Use
4518 'vlscm_get_value_smob_arg_unsafe' instead of
4519 'vlscm_scm_to_value'.
4520
6ef284bd
SM
45212014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4522
4523 PR mi/15806
4524 * utils.c (printchar): Don't escape at all if quoter is NUL.
4525 Update function documentation to clarify effect of parameter
4526 QUOTER.
4527 * remote.c (escape_buffer): Pass '\\' as the quoter to
4528 fputstrn_unfiltered.
4529 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4530 generate the output.
4531 (mi_solib_unloaded): Same.
4532
270c9937
JB
45332014-06-05 Joel Brobecker <brobecker@adacore.com>
4534
4535 * development.sh: Delete.
4536 * Makefile.in (config.status): Adjust dependency on development.sh.
4537 * configure.ac: Adjust development.sh source call.
4538 * configure: Regenerate.
4539
16f691fb
DE
45402014-06-04 Doug Evans <xdje42@gmail.com>
4541
4542 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4543 is_scheme_bkpt, spec.
4544 (bpscm_make_breakpoint_smob): Initialize new members.
4545 (gdbscm_create_breakpoint_x): Split into two ...
4546 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4547 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4548 (scheme_function breakpoint_functions): Update.
4549 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4550 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4551 register-breakpoint!.
4552
ef7cab6b
JB
45532014-06-04 Joel Brobecker <brobecker@adacorer.com>
4554
4555 PR server/17023
4556 * mem-break.c (z_type_supported): Return zero if
4557 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4558
012370f6
TT
45592014-06-04 Tom Tromey <tromey@redhat.com>
4560
4561 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4562 value_from_contents_and_address_unresolved.
4563 (ada_template_to_fixed_record_type_1): Likewise.
4564 (ada_which_variant_applies): Likewise.
4565 * value.h (value_from_contents_and_address_unresolved): Declare.
4566 * value.c (value_from_contents_and_address_unresolved): New
4567 function.
4568 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4569 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4570 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4571
92e2a17f
TT
45722014-06-04 Tom Tromey <tromey@redhat.com>
4573
4574 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4575
c0939df1
TT
45762014-06-04 Tom Tromey <tromey@redhat.com>
4577
4578 * procfs.c (procfs_attach): Make "args" const.
4579 * windows-nat.c (windows_attach): Make "args" const.
4580 * nto-procfs.c (procfs_attach): Make "args" const.
4581 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4582 * go32-nat.c (go32_attach): Make "args" const.
4583 * gnu-nat.c (gnu_attach): Make "args" const.
4584 * darwin-nat.c (darwin_attach): Make "args" const.
4585 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4586 * linux-nat.c (linux_nat_attach): Make "args" const.
4587 * remote.c (extended_remote_attach_1, extended_remote_attach):
4588 Make "args" const.
4589 * target.h (struct target_ops) <to_attach>: Make "args" const.
4590 (find_default_attach): Likewise.
4591 * utils.c (parse_pid_to_attach): Make "args" const.
4592 * utils.h (parse_pid_to_attach): Update.
4593
8eaff7cd
TT
45942014-06-04 Tom Tromey <tromey@redhat.com>
4595
4596 * target-delegates.c: Rebuild.
4597 * target.c (default_thread_address_space): New function.
4598 (target_thread_address_space): Simplify.
4599 * target.h (struct target_ops) <to_thread_address_space>: Add
4600 TARGET_DEFAULT_FUNC.
4601
1913f160
DE
46022014-06-04 Doug Evans <xdje42@gmail.com>
4603
4604 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4605
70ad5bff
MM
46062014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4607
4608 * record-btrace.c: Include event-loop.h and inf-loop.h.
4609 (record_btrace_resume_exec_dir)
4610 (record_btrace_async_inferior_event_handler)
4611 (record_btrace_handle_async_inferior_event): New.
4612 (record_btrace_open): Create async event handler.
4613 (record_btrace_close): Delete async event handler.
4614 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4615 Mark async event handler.
4616 (record_btrace_execution_direction): New.
4617 (init_record_btrace_ops): Initialize to_execution_direction.
4618
b6210538
DE
46192014-06-03 Doug Evans <xdje42@gmail.com>
4620
4621 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4622 (gdbscm_make_parameter): Ditto.
4623
a5b1fd27
DE
46242014-06-03 Doug Evans <dje@google.com>
4625
4626 * exec.c (exec_close_1): Call clear_section_table instead of
4627 resize_section_table.
4628 (clear_section_table): New function.
4629 (resize_section_table): Make static. Rename arg num_added to
4630 adjustment.
4631 * exec.h (clear_section_table): Declare.
4632 (resize_section_table): Delete.
4633 * progspace.c (release_program_space): Call clear_section_table
4634 instead of resize_section_table.
4635
0c6e92a5
SC
46362014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4637
4638 * NEWS (Python Scripting): Add entry about the new xmethods
4639 feature.
4640
883964a7
SC
46412014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4642
4643 * python/py-xmethods.c: New file.
4644 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4645 (objfpy_dealloc): XDECREF on the new xmethods field.
4646 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4647 field.
4648 (objfpy_get_xmethods): New function.
4649 (objfile_getset): New entry 'xmethods'.
4650 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4651 (pspy_dealloc): XDECREF on the new xmethods field.
4652 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4653 field.
4654 (pspy_get_xmethods): New function.
4655 (pspace_getset): New entry 'xmethods'.
4656 * python/python-internal.h: Add declarations for new functions.
4657 * python/python.c (_initialize_python): Invoke
4658 gdbpy_initialize_xmethods.
4659 * python/lib/gdb/__init__.py (xmethods): New
4660 attribute.
4661 * python/lib/gdb/xmethod.py: New file.
4662 * python/lib/gdb/command/xmethods.py: New file.
4663
58992dc5
SC
46642014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4665
4666 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4667 best match method returned by find_overload_match is an xmethod.
4668 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4669 the best matching operator returned by find_overload_match is an
4670 xmethod.
4671 * valops.c: #include "extension.h".
4672 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4673 Return void. The list of matching source methods is returned in
4674 "fn_list" and a vector of matching debug method workers is
4675 returned in "xm_worker_vec". Update all callers.
4676 (value_find_oload_method_list): Likewise.
4677 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4678 non-NULL, then the index of the best matching method in this
4679 vector is returned. Update all callers.
4680 (find_overload_match): Include xmethods while performing overload
4681 resolution.
4682
e81e7f5e
SC
46832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4684
4685 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4686 * extension-priv.h (struct extension_language_ops): Add the
4687 xmethod interface.
4688 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4689 get_matching_xmethod_workers, get_xmethod_argtypes,
4690 invoke_xmethod, free_xmethod_worker,
4691 free_xmethod_worker_vec): New functions.
4692 * extension.h: #include "common/vec.h".
4693 New function declarations.
4694 (struct xmethod_worker): New struct.
4695 (VEC (xmethod_worker_ptr)): New vector type.
4696 (xmethod_worker_ptr): New typedef.
4697 (xmethod_worker_vec): Likewise.
4698 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4699 builtin_type.
4700 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4701 (struct builtin_type): New field "xmethod".
4702 * valarith.c (value_ptradd): Assert that the value argument is not
4703 lval_xcallable.
4704 * valops.c (value_must_coerce_to_target): Return 0 for
4705 lval_xcallable values.
4706 * value.c (struct value): New field XM_WORKER in the field
4707 LOCATION.
4708 (value_address, value_raw_address): Return 0 for lval_xcallable
4709 values.
4710 (set_value_address): Assert that the value is not an
4711 lval_xcallable.
4712 (value_free): Free the associated xmethod worker when freeing
4713 lval_xcallable values.
4714 (set_value_component_location): Assert that the WHOLE value is not
4715 lval_xcallable.
4716 (value_of_xmethod, call_xmethod): New functions.
4717 * value.h: Declare "struct xmethod_worker".
4718 Declare new functions value_of_xmethod, call_xmethod.
4719
ef370185
JB
47202014-06-03 Joel Brobecker <brobecker@adacore.com>
4721 Pedro Alves <palves@redhat.com>
4722
4723 PR breakpoints/17000
4724 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4725 New function, extracted from software_breakpoint_inserted_here_p.
4726 (software_breakpoint_inserted_here_p): Replace factored out code
4727 by call to find_non_raw_software_breakpoint_inserted_here.
4728 (bp_target_info_copy_insertion_state): New function.
4729 (bkpt_insert_location): Handle the case of a single-step
4730 breakpoint already inserted at the same address.
4731 (bkpt_remove_location): Handle the case of a single-step
4732 breakpoint still inserted at the same address.
4733 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4734 breakpoint already inserted at the same address.
4735 (deprecated_remove_raw_breakpoint): Handle the case of a
4736 non-raw breakpoint still inserted at the same address.
4737 (find_single_step_breakpoint): New function, extracted from
4738 single_step_breakpoint_inserted_here_p.
4739 (find_single_step_breakpoint): New function,
4740 factored out from single_step_breakpoint_inserted_here_p.
4741 (single_step_breakpoint_inserted_here_p): Reimplement.
4742
1e2ccb61
BM
47432014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4744
4745 Pushed by Joel Brobecker <brobecker@adacore.com>
4746 * source.c (show_substitute_path_command): Fix display of matching
4747 substitution rules.
4748
d3448d85
GB
47492014-06-03 Gary Benson <gbenson@redhat.com>
4750
4751 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4752
06eb1586
DE
47532014-06-02 Doug Evans <xdje42@gmail.com>
4754
4755 Add parameter support for Guile.
4756 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4757 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4758 (scm-param.o): New rule.
4759 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4760 (gdbscm_misc_error): Declare.
4761 (gdbscm_canonicalize_command_name): Declare.
4762 (gdbscm_scm_to_host_string): Declare.
4763 (gdbscm_scm_from_host_string): Declare.
4764 (gdbscm_initialize_parameters): Declare.
4765 * guile/guile.c (initialize_gdb_module): Call
4766 gdbscm_initialize_parameters.
4767 * guile/lib/gdb.scm: Export parameter symbols.
4768 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4769 cmdscm_canonicalize_name and made public. All callers updated.
4770 * guile/scm-exception.c (gdbscm_misc_error): New function.
4771 * guile/scm-param.c: New file.
4772 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4773 (gdbscm_scm_to_host_string): New function.
4774 (gdbscm_scm_from_host_string): New function.
4775 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4776
e698b8c4
DE
47772014-06-02 Doug Evans <xdje42@gmail.com>
4778
4779 Add command support for Guile.
4780 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4781 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4782 (scm-cmd.o): New rule.
4783 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4784 (gdbscm_user_error_p): Declare.
4785 (gdbscm_parse_command_name): Declare.
4786 (gdbscm_valid_command_class_p): Declare.
4787 (gdbscm_initialize_commands): Declare.
4788 * guile/guile.c (initialize_gdb_module): Call
4789 gdbscm_initialize_commands.
4790 * guile/lib/gdb.scm: Export command symbols.
4791 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4792 (throw-user-error): New function.
4793 * guile/scm-cmd.c: New file.
4794 * guile/scm-exception.c (user_error_symbol): New static global.
4795 (gdbscm_user_error_p): New function.
4796 (gdbscm_initialize_exceptions): Set user_error_symbol.
4797 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4798
fb1f94b0
PM
47992014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4800
4801 * top.c (command_loop): Handle comments here...
4802 (command_line_input): ... not here.
4803
ded03782
DE
48042014-06-02 Doug Evans <xdje42@gmail.com>
4805
4806 Add progspace support for Guile.
4807 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4808 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4809 (scm-progspace.o): New rule.
4810 * guile/guile-internal.h (pspace_smob): New typedef.
4811 (psscm_pspace_smob_pretty_printers): Declare.
4812 (psscm_pspace_smob_from_pspace): Declare.
4813 (psscm_scm_from_pspace): Declare.
4814 * guile/guile.c (initialize_gdb_module): Call
4815 gdbscm_initialize_pspaces.
4816 * guile/lib/gdb.scm: Export progspace symbols.
4817 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4818 support.
4819 (append-pretty-printer!): Ditto.
4820 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4821 Implement.
4822 * guile/scm-progspace.c: New file.
4823
397998fc
AM
48242014-06-03 Alan Modra <amodra@gmail.com>
4825
4826 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4827 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4828
6aa5f3a6
DE
48292014-06-02 Doug Evans <dje@google.com>
4830
4831 Add support for skeletonless type units.
4832 * dwarf2read.c (struct dwarf2_per_objfile): New member
4833 n_allocated_type_units.
4834 (struct dwarf2_per_objfile) <tu_stats>: New member
4835 nr_all_type_units_reallocs.
4836 (create_signatured_type_table_from_index): Initialize
4837 n_allocated_type_units
4838 (create_all_type_units): Ditto.
4839 (add_type_unit): Move up in file. New arg slot.
4840 All callers updated. Increase space for all_type_units more
4841 efficiently.
4842 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4843 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4844 (lookup_dwp_signatured_type): Ditto.
4845 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4846 All callers updated.
4847 (build_type_psymtabs_1): Leave type_unit_groups as
4848 NULL if no TUs present.
4849 (print_tu_stats): New function.
4850 (process_skeletonless_type_unit): New function.
4851 (process_dwo_file_for_skeletonless_type_units): New
4852 function.
4853 (process_skeletonless_type_units): New function.
4854 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4855 Call print tu_stats if debugging enabled.
4856
41fac0cf
PA
48572014-06-02 Pedro Alves <palves@redhat.com>
4858
4859 * breakpoint.c (build_target_command_list): Don't build a command
4860 list if we have any duplicate location that isn't a dprintf.
4861
cd1608cc
PA
48622014-06-02 Pedro Alves <palves@redhat.com>
4863
4864 * breakpoint.c (dprintf_breakpoint_hit): New function.
4865 (initialize_breakpoint_ops): Install it as dprintf's
4866 breakpoint_hit method.
4867
486ef3b9
JB
48682014-06-02 Joel Brobecker <brobecker@adacore.com>
4869
4870 * source.c (substitute_path_rule_matches): Simplify using
4871 filename_ncmp instead of FILENAME_CMP.
4872
230cd560
JB
48732014-06-02 Joel Brobecker <brobecker@adacore.com>
4874
4875 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4876
16954d5d
LC
48772014-06-01 Ludovic Courtès <ludo@gnu.org>
4878
4879 * configure.ac: When Guile is available, check for the
4880 availability of 'scm_new_smob'.
4881 * configure, config.h.in: Regenerate.
4882 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4883 function.
4884
53e8a631
AB
48852014-05-30 Andrew Burgess <aburgess@broadcom.com>
4886
4887 * frame.c (struct frame_info): Add stop_string field.
4888 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4889 (get_prev_frame_always): Old content moved into
4890 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4891 TRY_CATCH, handle MEMORY_ERROR exceptions.
4892 (frame_stop_reason_string): New function definition.
4893 * frame.h (unwind_stop_reason_to_string): Extend comment to
4894 mention frame_stop_reason_string.
4895 (frame_stop_reason_string): New function declaration.
4896 * stack.c (frame_info): Switch to frame_stop_reason_string.
4897 (backtrace_command_1): Switch to frame_stop_reason_string.
4898 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4899 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4900 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4901
70e38b8e
AB
49022014-05-30 Andrew Burgess <aburgess@broadcom.com>
4903
4904 * frame.c (frame_stop_reason_string): Rename to ...
4905 (unwind_stop_reason_to_string): this.
4906 * frame.h (frame_stop_reason_string): Rename to ...
4907 (unwind_stop_reason_to_string): this.
4908 * stack.c (frame_info): Update call to frame_stop_reason_string.
4909 (backtrace_command_1): Likewise.
4910 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4911 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4912
938f0e2f
AB
49132014-05-30 Andrew Burgess <aburgess@broadcom.com>
4914
4915 * frame.c (remove_prev_frame): New function.
4916 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4917 remove_prev_frame.
4918
a09dd441
PA
49192014-05-29 Pedro Alves <palves@redhat.com>
4920
4921 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4922 and make it const. When a single-step decays to a continue,
4923 clear 'step', not 'hw_step'. Pass whether the caller wanted
4924 to step to user_visible_resume_ptid, not what we ask the
4925 target to do.
4926
bdc36728
PA
49272014-05-29 Pedro Alves <palves@redhat.com>
4928
4929 * infrun.c (process_event_stop_test, handle_step_into_function)
4930 (handle_step_into_function_backward): Adjust.
4931 Don't set the even thread's stop_step and call stop_waiting before
4932 calling end_stepping_range. Instead do that ...
4933 (end_stepping_range): ... here. Take an ecs pointer parameter.
4934
22bcd14b
PA
49352014-05-29 Pedro Alves <palves@redhat.com>
4936
4937 * infrun.c (stop_stepping): Rename to ...
4938 (stop_waiting): ... this.
4939 (proceed): Update comment.
4940 (process_event_stop_test, handle_inferior_event)
4941 (handle_signal_stop, handle_step_into_function)
4942 (handle_step_into_function_backward): Update.
4943
4ae57c05
PA
49442014-05-29 Pedro Alves <palves@redhat.com>
4945
4946 * infcall.c (run_inferior_call): Don't check whether the current
4947 thread is running after the proceed call.
4948
329ea579
PA
49492014-05-29 Pedro Alves <palves@redhat.com>
4950 Tom Tromey <tromey@redhat.com>
4951
4952 * NEWS: Mention "maint set target-async", "set mi-async", and that
4953 background execution commands are now always available.
4954 * target.h (target_async_permitted): Update comment.
4955 * target.c (target_async_permitted, target_async_permitted_1):
4956 Default to 1.
4957 (set_target_async_command): Rename to ...
4958 (maint_set_target_async_command): ... this.
4959 (show_target_async_command): Rename to ...
4960 (maint_show_target_async_command): ... this.
4961 (_initialize_target): Adjust.
4962 * infcmd.c (prepare_execution_command): Make extern.
4963 * inferior.h (prepare_execution_command): Declare.
4964 * infrun.c (set_observer_mode): Leave target async alone.
4965 * mi/mi-interp.c (mi_interpreter_init): Install
4966 mi_on_sync_execution_done as sync_execution_done observer.
4967 (mi_on_sync_execution_done): New function.
4968 (mi_execute_command_input_handler): Don't print the prompt if we
4969 just started a synchronous command with an async target.
4970 (mi_on_resume): Check sync_execution before printing prompt.
4971 * mi/mi-main.h (mi_async_p): Declare.
4972 * mi/mi-main.c: Include gdbcmd.h.
4973 (mi_async_p): New function.
4974 (mi_async, mi_async_1): New globals.
4975 (set_mi_async_command, show_mi_async_command, mi_async): New
4976 functions.
4977 (exec_continue): Call prepare_execution_command.
4978 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4979 (mi_execute_async_cli_command): Use mi_async_p.
4980 (_initialize_mi_main): Install "set mi-async". Make
4981 "target-async" a deprecated alias.
4982
92bcb5f9
PA
49832014-05-29 Pedro Alves <palves@redhat.com>
4984
4985 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4986 (_initialize_cli_interp): Adjust.
4987 * event-loop.c: Include "observer.h".
4988 (start_event_loop): Notify 'command_error' observers instead of
4989 calling display_gdb_prompt. Remove FIXME comment.
4990 * event-top.c (display_gdb_prompt): Remove call into the
4991 interpreters.
4992 * inf-loop.c: Include "observer.h".
4993 (inferior_event_handler): Notify 'command_error' observers instead
4994 of calling display_gdb_prompt.
4995 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4996 observers instead of calling display_gdb_prompt.
4997 * interps.c (interp_set): Don't call display_gdb_prompt.
4998 (current_interp_display_prompt_p): Delete.
4999 * interps.h (interp_prompt_p): Delete declaration.
5000 (interp_prompt_p_ftype): Delete.
5001 (struct interp_procs) <prompt_proc_p>: Delete field.
5002 (current_interp_display_prompt_p): Delete declaration.
5003 * mi-interp.c (mi_interpreter_prompt_p): Delete.
5004 (_initialize_mi_interp): Adjust.
5005 * tui-interp.c (tui_init): Install 'sync_execution_done' and
5006 'command_error' observers.
5007 (tui_on_sync_execution_done, tui_on_command_error): New
5008 functions.
5009 (tui_display_prompt_p): Delete.
5010 (_initialize_tui_interp): Adjust.
5011
fd664c91
PA
50122014-05-29 Pedro Alves <palves@redhat.com>
5013
5014 PR gdb/13860
5015 * cli/cli-interp.c: Include infrun.h and observer.h.
5016 (cli_uiout, cli_interp): New globals.
5017 (cli_on_signal_received, cli_on_end_stepping_range)
5018 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5019 functions.
5020 (cli_interpreter_init): Install them as 'end_stepping_range',
5021 'signal_received' 'signal_exited', 'exited' and 'no_history'
5022 observers.
5023 (_initialize_cli_interp): Remove cli_interp local.
5024 * infrun.c (handle_inferior_event): Call the several stop reason
5025 observers instead of printing the stop reason directly.
5026 (end_stepping_range): New function.
5027 (print_end_stepping_range_reason, print_signal_exited_reason)
5028 (print_exited_reason, print_signal_received_reason)
5029 (print_no_history_reason): Make static, and add an uiout
5030 parameter. Print to that instead of to CURRENT_UIOUT.
5031 * infrun.h (print_end_stepping_range_reason)
5032 (print_signal_exited_reason, print_exited_reason)
5033 (print_signal_received_reason print_no_history_reason): New
5034 declarations.
5035 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
5036 'mi_uiout'.
5037 <cli_uiout>: New field.
5038 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
5039 uiout for CLI output. Install 'signal_received',
5040 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
5041 observers.
5042 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
5043 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
5044 (mi_on_no_history): New functions.
5045 (ui_out_free_cleanup): Delete function.
5046 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
5047 instead use the one already stored in the MI interpreter data.
5048 (mi_ui_out): Adjust.
5049 * tui/tui-interp.c: Include infrun.h and observer.h.
5050 (tui_interp): New global.
5051 (tui_on_signal_received, tui_on_end_stepping_range)
5052 (tui_on_signal_exited, tui_on_exited)
5053 (tui_on_no_history): New functions.
5054 (tui_init): Install them as 'end_stepping_range',
5055 'signal_received' 'signal_exited', 'exited' and 'no_history'
5056 observers.
5057 (_initialize_tui_interp): Delete tui_interp local.
5058
8817a6f2
PA
50592014-05-29 Pedro Alves <palves@redhat.com>
5060
5061 PR gdb/15713
5062 * linux-nat.c (linux_nat_resume_callback): Rename the second
5063 parameter to 'except'. Skip LP if it points to EXCEPT.
5064 (linux_nat_resume): Don't mark the event lwp as not stopped
5065 before resuming sibling lwps. Instead ask
5066 linux_nat_resume_callback to skip the event lwp. Mark it as not
5067 stopped after actually resuming it.
5068 (linux_handle_syscall_trap): Mark the lwp as not stopped after
5069 resuming it.
5070 (wait_lwp): Mark the lwp as stopped here.
5071 (stop_wait_callback): Mark the lwp as not stopped right after
5072 resuming it. Don't mark lwps as stopped here.
5073 (linux_nat_filter_event): Mark the lwp as stopped earlier.
5074 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
5075
251bde03
PA
50762014-05-29 Pedro Alves <palves@redhat.com>
5077
5078 PR PR15693
5079 * infrun.c (resume): Determine how much to resume depending on
5080 whether the caller wanted a step, not whether we can hardware step
5081 the target. Mark all threads that we intend to run as running,
5082 unless we're calling an inferior function.
5083 (normal_stop): If the thread is running an infcall, don't finish
5084 thread state.
5085 * target.c (target_resume): Don't mark threads as running here.
5086
7f3c0343
JB
50872014-05-28 Joel Brobecker <brobecker@adacore.com>
5088
5089 * serial.c (_initialize_serial): Remove support for
5090 the "set remotebaud" and "show remotebaud" commands.
5091 * NEWS: Add entry documenting the removal of that command.
5092
ee34b3f9
YQ
50932014-05-28 Yao Qi <yao@codesourcery.com>
5094
5095 * charset.c: Fix typo in comments.
5096
add6c04d
GB
50972014-05-27 Gary Benson <gbenson@redhat.com>
5098
5099 * utils.c (internal_vproblem): Prompt for a bug report.
5100
92c48fc5
AW
51012014-05-26 Andy Wingo <wingo@igalia.com>
5102
5103 * guile/scm-arch.c (arscm_mark_arch_smob):
5104 * guile/scm-block.c (bkscm_mark_block_smob)
5105 (bkscm_mark_block_syms_progress_smob):
5106 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5107 * guile/scm-exception.c (exscm_mark_exception_smob):
5108 * guile/scm-frame.c (frscm_mark_frame_smob):
5109 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5110 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5111 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5112 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5113 (ppscm_mark_pretty_printer_worker_smob):
5114 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5115 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5116 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5117 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5118 mark functions.
5119 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5120 function.
5121
b2715b27
AW
51222014-05-26 Andy Wingo <wingo@igalia.com>
5123 Doug Evans <xdje42@gmail.com>
5124
5125 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5126 empty_base_class. All uses updated.
5127 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5128 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5129 Adapt all callers.
5130 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5131 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5132 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5133 (gdbscm_gsmob_has_property_p, add_property_name)
5134 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5135 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5136 (gdb-object-has-property?, gdb-object-properties): Remove.
5137 (gdb-object-kind): Renamed from gsmob-kind.
5138
214ab2da
AW
51392014-05-26 Andy Wingo <wingo@igalia.com>
5140
5141 * configure.ac (try_guile_versions): Allow building with guile 2.2.
5142 * configure: Regenerate.
5143
589fdceb
MM
51442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5145
5146 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
5147
67b5c0c1
MM
51482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5149
5150 * record-btrace.c (record_btrace_allow_memory_access): Remove.
5151 (replay_memory_access_read_only, replay_memory_access_read_write)
5152 (replay_memory_access_types, replay_memory_access)
5153 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
5154 (cmd_set_record_btrace, cmd_show_record_btrace)
5155 (cmd_show_replay_memory_access): New.
5156 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
5157 (record_btrace_remove_breakpoint): Replace
5158 record_btrace_allow_memory_access with replay_memory_access.
5159 (_initialize_record_btrace): Add commands.
5160 * NEWS: Announce it.
5161
036cd381
RR
51622014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5163
5164 * aarch64-linux-nat.c (asm/ptrace.h): Include.
5165
c77c1e42
RR
51662014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5167
5168 * MAINTAINERS (Write After Approval): Move self back from
5169 paper trail.
5170
45741a9c
PA
51712014-05-22 Pedro Alves <palves@redhat.com>
5172
5173 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
5174 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
5175 (disable_randomization, enum exec_direction_kind)
5176 (execution_direction, stop_registers, start_remote)
5177 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
5178 (wait_for_inferior, normal_stop, get_last_target_status)
5179 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
5180 (insert_step_resume_breakpoint_at_sal)
5181 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
5182 (set_step_info, print_stop_event, signal_stop_state)
5183 (signal_print_state, signal_pass_state, signal_stop_update)
5184 (signal_print_update, signal_pass_update)
5185 (update_signals_program_target, clear_exit_convenience_vars)
5186 (displaced_step_dump_bytes, update_observer_mode)
5187 (signal_catch_update, gdb_signal_from_command): Move
5188 declarations ...
5189 * infrun.h: ... to this new file.
5190 * amd64-tdep.c: Include infrun.h.
5191 * annotate.c: Include infrun.h.
5192 * arch-utils.c: Include infrun.h.
5193 * arm-linux-tdep.c: Include infrun.h.
5194 * arm-tdep.c: Include infrun.h.
5195 * break-catch-sig.c: Include infrun.h.
5196 * breakpoint.c: Include infrun.h.
5197 * common/agent.c: Include infrun.h instead of inferior.h.
5198 * corelow.c: Include infrun.h.
5199 * event-top.c: Include infrun.h.
5200 * go32-nat.c: Include infrun.h.
5201 * i386-tdep.c: Include infrun.h.
5202 * inf-loop.c: Include infrun.h.
5203 * infcall.c: Include infrun.h.
5204 * infcmd.c: Include infrun.h.
5205 * infrun.c: Include infrun.h.
5206 * linux-fork.c: Include infrun.h.
5207 * linux-nat.c: Include infrun.h.
5208 * linux-thread-db.c: Include infrun.h.
5209 * monitor.c: Include infrun.h.
5210 * nto-tdep.c: Include infrun.h.
5211 * procfs.c: Include infrun.h.
5212 * record-btrace.c: Include infrun.h.
5213 * record-full.c: Include infrun.h.
5214 * remote-m32r-sdi.c: Include infrun.h.
5215 * remote-mips.c: Include infrun.h.
5216 * remote-notif.c: Include infrun.h.
5217 * remote-sim.c: Include infrun.h.
5218 * remote.c: Include infrun.h.
5219 * reverse.c: Include infrun.h.
5220 * rs6000-tdep.c: Include infrun.h.
5221 * s390-linux-tdep.c: Include infrun.h.
5222 * solib-irix.c: Include infrun.h.
5223 * solib-osf.c: Include infrun.h.
5224 * solib-svr4.c: Include infrun.h.
5225 * target.c: Include infrun.h.
5226 * top.c: Include infrun.h.
5227 * windows-nat.c: Include infrun.h.
5228 * mi/mi-interp.c: Include infrun.h.
5229 * mi/mi-main.c: Include infrun.h.
5230 * python/py-threadevent.c: Include infrun.h.
5231
98eb56a4
PA
52322014-05-22 Pedro Alves <palves@redhat.com>
5233
5234 * infrun.c (handle_inferior_event): Store the exit code for
5235 --return-child-result here, instead of ...
5236 (print_exited_reason): ... here.
5237
17b2616c
PA
52382014-05-21 Pedro Alves <palves@redhat.com>
5239
5240 PR gdb/13860
5241 * gdbthread.h (struct thread_control_state): New field
5242 `command_interp'.
5243 * infrun.c (follow_fork): Copy the new thread control field to the
5244 child fork thread.
5245 (clear_proceed_status_thread): Clear the new thread control field.
5246 (proceed): Set the new thread control field.
5247 * interps.h (command_interp): Declare.
5248 * interps.c (command_interpreter): New global.
5249 (command_interp): New function.
5250 (interp_exec): Set `command_interpreter' while here.
5251 * cli-out.c (cli_uiout_dtor): New function.
5252 (cli_ui_out_impl): Install it.
5253 * mi/mi-interp.c: Include cli-out.h.
5254 (mi_cmd_interpreter_exec): Add comment.
5255 (restore_current_uiout_cleanup): New function.
5256 (ui_out_free_cleanup): New function.
5257 (mi_on_normal_stop): If finishing an execution command started by
5258 a CLI command, or any kind of breakpoint-like event triggered,
5259 print the stop event to the output (CLI) stream.
5260 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
5261
5166082f
PA
52622014-05-21 Pedro Alves <palves@redhat.com>
5263
5264 * cli/cli-cmds.c (list_command): Handle the first "list" after the
5265 current source line having changed.
5266 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
5267 * infrun.c (normal_stop): Adjust call to
5268 set_current_sal_from_frame.
5269 * source.c (clear_lines_listed_range): New function.
5270 (set_current_source_symtab_and_line, identify_source_line): Clear
5271 the lines listed range.
5272 (line_info): Handle the first "info line" after the current source
5273 line having changed.
5274 * stack.c (print_stack_frame): Remove center handling.
5275 (set_current_sal_from_frame): Remove 'center' parameter. Don't
5276 center sal.line.
5277
c1ee2fb3
PA
52782014-05-21 Pedro Alves <palves@redhat.com>
5279
5280 * inf-child.c (inf_child_mourn_inferior): New function.
5281 * inf-child.h (inf_child_mourn_inferior): New declaration.
5282 * darwin-nat.c (darwin_mourn_inferior): Use
5283 inf_child_mourn_inferior.
5284 * gnu-nat.c (gnu_mourn_inferior): Likewise.
5285 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
5286 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
5287 * nto-procfs.c (procfs_mourn_inferior): Likewise.
5288 * windows-nat.c (windows_mourn_inferior): Likewise.
5289
5c6d4fb2
DE
52902014-05-21 Doug Evans <xdje42@gmail.com>
5291
250748cb 5292 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 5293
4a2722c5
DE
52942014-05-21 Doug Evans <xdje42@gmail.com>
5295
17292b30 5296 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
5297 (gdbscm_out_of_range_error): Ditto.
5298 (gdbscm_memory_error): Ditto.
250748cb
DE
5299 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
5300 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
5301 (gdbscm_out_of_range_error): Update.
5302 (gdbscm_memory_error): Update.
5303 (gdbscm_scm_to_target_string_unsafe): Delete.
5304
6a3cb8e8
PA
53052014-05-21 Pedro Alves <palves@redhat.com>
5306
5307 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
5308 globals.
5309 (inf_child_open_target): New function.
5310 (inf_child_open): Use inf_child_open_target to push the target
5311 instead of erroring out.
5312 (inf_child_disconnect, inf_child_close)
5313 (inf_child_maybe_unpush_target): New functions.
5314 (inf_child_target): Install inf_child_disconnect and
5315 inf_child_close. Store a pointer to the returned object.
5316 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
5317 declarations.
5318 * target.c (auto_connect_native_target): New global.
5319 (show_default_run_target): New function.
5320 (find_default_run_target): Return NULL if automatically connecting
5321 to the native target is disabled.
5322 (_initialize_target): Install set/show auto-connect-native-target.
5323 * NEWS: Mention "set auto-connect-native-target", and "target
5324 native".
5325 * linux-nat.c (super_close): New global.
5326 (linux_nat_close): Call super_close.
5327 (linux_nat_add_target): Store a pointer to the base class's
5328 to_close method.
5329 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
5330 inf_child_maybe_unpush.
5331 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
5332 already pushed.
5333 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
5334 the inferior. Use inf_child_maybe_unpush_target.
5335 (inf_ttrace_attach): Don't push the target if it is already
5336 pushed.
5337 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
5338 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
5339 after mourning the inferior. Use inf_child_maybe_unpush_target.
5340 (darwin_attach_pid): Don't push the target if it is already
5341 pushed.
5342 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5343 mourning the inferior. Use inf_child_maybe_unpush_target.
5344 (gnu_detach): Use inf_child_maybe_unpush_target.
5345 * go32-nat.c (go32_create_inferior): Don't push the target if it
5346 is already pushed.
5347 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5348 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5349 (procfs_open): Rename to ...
5350 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5351 comments. Can target_preopen before changing node. Call
5352 inf_child_open_target to push the target explicitly.
5353 (procfs_attach): Don't push the target if it is already pushed.
5354 (procfs_detach): Use inf_child_maybe_unpush_target.
5355 (procfs_create_inferior): Don't push the target if it is already
5356 pushed.
5357 (nto_native_ops): New global.
5358 (procfs_open): Reimplement.
5359 (procfs_native_open): New function.
5360 (init_procfs_targets): Install procfs_native_open as to_open of
5361 "target native". Store a pointer to the "native" target in
5362 nto_native_ops.
5363 * procfs.c (procfs_attach): Don't push the target if it is already
5364 pushed.
5365 (procfs_detach): Use inf_child_maybe_unpush_target.
5366 (procfs_mourn_inferior): Only unpush the target after mourning the
5367 inferior. Use inf_child_maybe_unpush_target.
5368 (procfs_init_inferior): Don't push the target if it is already
5369 pushed.
5370 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5371 if it is already pushed.
5372
930ee1b1
PA
53732014-05-21 Pedro Alves <palves@redhat.com>
5374
5375 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5376 and "procfs" targets are now called "native" instead.
5377
1f5d1b13
PA
53782014-05-21 Pedro Alves <palves@redhat.com>
5379
5380 * go32-nat.c (go32_open): Delete.
5381 (go32_target): Don't override the to_open method.
5382
132f8e03
PA
53832014-05-21 Pedro Alves <palves@redhat.com>
5384
5385 * nto-procfs.c (procfs_can_run): New function.
5386 (nto_procfs_ops): New global.
5387 (init_procfs_targets): New, based on procfs_target. Install
5388 "target native" in addition to "target procfs".
5389 (_initialize_procfs): Call init_procfs_targets instead of adding
5390 the target here.
5391
03c136c3
PA
53922014-05-21 Pedro Alves <palves@redhat.com>
5393
5394 * windows-nat.c (windows_target): Don't override to_shortname,
5395 to_longname or to_doc.
5396
a635d0f3
PA
53972014-05-21 Pedro Alves <palves@redhat.com>
5398
5399 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5400 to_doc.
5401
4f9b5133
PA
54022014-05-21 Pedro Alves <palves@redhat.com>
5403
5404 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5405 to_shortname, to_longname or to_doc.
5406
bc85afde
PA
54072014-05-21 Pedro Alves <palves@redhat.com>
5408
5409 * go32-nat.c (go32_target): Don't override to_shortname,
5410 to_longname or to_doc.
5411
4ebfc96e
PA
54122014-05-21 Pedro Alves <palves@redhat.com>
5413
5414 * inf-child.c (inf_child_open): Remove mention of "child".
5415 (inf_child_target): Rename target to "native" instead of "child".
5416
2648dfed
AA
54172014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5418
5419 * Makefile.in (SFILES): Delete "regset.c".
5420 (COMMON_OBS): Delete "regset.o".
5421 * regset.c: Remove.
5422 * regset.h (regset_alloc): Delete prototype.
5423
b13feb94
AA
54242014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5425
5426 * sparc-linux-tdep.c (sparc32_linux_gregset)
5427 (sparc32_linux_fpregset): New static regset structures.
5428 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5429 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5430 'fpregset' fields.
5431 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5432 (sparc64_linux_fpregset): New static regset structures.
5433 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5434 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5435 New static regset structures.
5436 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5437 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5438 New static regset structures.
5439 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5440 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5441 New static regset structures.
5442 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5443 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5444 New static regset structures.
5445 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5446
b4fd25c9
AA
54472014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5448
5449 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5450 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5451 register maps ("regmaps") from "*regset" to "*regmap". Do this
5452 for all regmap types and variables.
5453 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5454 (sparc32_linux_supply_core_gregset)
5455 (sparc32_linux_collect_core_gregset)
5456 (sparc32_linux_supply_core_fpregset)
5457 (sparc32_linux_collect_core_fpregset): Likewise.
5458 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5459 (sparc_gregmap, sparc_fpregmap): ... these.
5460 (sparc_supply_gregset, sparc_collect_gregset)
5461 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5462 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5463 (_initialize_sparc_nat): Rename regmaps.
5464 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5465 (sparc_gregmap, sparc_fpregmap): ... these.
5466 (sparc_supply_gregset, sparc_collect_gregset)
5467 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5468 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5469 Rename macros to...
5470 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5471 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5472 Likewise.
5473 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5474 Rename to...
5475 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5476 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5477 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5478 regmaps.
5479 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5480 (sparc32_bsd_fpregset): Rename to...
5481 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5482 (sparc32_bsd_fpregmap): ... these.
5483 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5484 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5485 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5486 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5487 (struct sparc_gregmap, struct sparc_fpregmap)
5488 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5489 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5490 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5491 (sparc32_supply_regset, sparc32_collect_gregset)
5492 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5493 prototypes.
5494 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5495 (sparc64_linux_ptrace_gregmap): ... this.
5496 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5497 (_initialize_sparc64_linux_nat): Rename regmaps.
5498 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5499 (sparc64_linux_core_gregmap): ... this.
5500 (sparc64_linux_supply_core_gregset)
5501 (sparc64_linux_collect_core_gregset)
5502 (sparc64_linux_supply_core_fpregset)
5503 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5504 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5505 (sparc64_sol2_fpregset): Rename to...
5506 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5507 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5508 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5509 regmaps.
5510 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5511 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5512 (sparc64_bsd_fpregset): Rename to...
5513 (struct sparc_gregmap, sparc64_sol2_gregmap)
5514 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5515 (sparc64_bsd_fpregmap): ... these.
5516 (sparc64_supply_gregset, sparc64_collect_gregset)
5517 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5518 prototypes.
5519 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5520 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5521 (sparc64fbsd_gregmap): ... this.
5522 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5523 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5524 Rename regmaps.
5525 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5526 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5527 (sparc64nbsd_collect_fpregset): Likewise.
5528 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5529 (sparc64nbsd_gregmap): ... this.
5530 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5531 regmaps.
5532 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5533 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5534 (sparc64obsd_gregmap): ... this.
5535 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5536 regmaps.
5537 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5538 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5539 (sparc32nbsd_gregmap): ... this.
5540 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5541 regmaps.
5542
8fea3224
AA
55432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5544
5545 * score-tdep.c (score7_linux_gregset): New static regset
5546 structure.
5547 (score7_linux_regset_from_core_section): Remove dynamic regset
5548 allocation.
5549 (score_gdbarch_init): Drop allocation of tdep structure.
5550 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5551
24534243
AA
55522014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5553
5554 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5555 regset structures.
5556 (am33_regset_from_core_section): Remove dynamic regset
5557 allocations.
5558
b7195f27
AA
55592014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5560
5561 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5562 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5563 structures.
5564 (mips_linux_regset_from_core_section): Remove dynamic regset
5565 allocations.
5566 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5567 'gregset64', 'fpregset', and 'fpregset64'.
5568 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5569 deleted tdep fields.
5570
ecc37a5a
AA
55712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572
5573 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5574 regset structures.
5575 (amd64_regset_from_core_section): Remove dynamic regset
5576 allocations.
5577 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5578 structure.
5579 (amd64obsd_regset_from_core_section): Remove dynamic regset
5580 allocation.
5581 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5582 Likewise.
5583 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5584 x86-common regset supply function.
5585 * i386-tdep.c (i386_collect_gregset): Make static.
5586 (i386_gregset): New global regset structure.
5587 (i386_fpregset, i386_xstateregset): New static regset structures.
5588 (i386_regset_from_core_section): Remove dynamic regset
5589 allocations.
5590 (i386_gdbarch_init): Remove initialization of tdep fields
5591 'gregset', 'fpregset', and 'xstateregset'.
5592 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5593 'fpregset', and 'xstateregset'.
5594 (i386_collect_gregset): Remove prototype.
5595 (i386_gregset): New declaration.
5596 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5597 structure.
5598 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5599 allocation.
5600
b7611c43
AA
56012014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5602
5603 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5604 (arm_linux_vfpregset): New static regset structures.
5605 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5606 regset structures.
5607 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5608 and 'vfpregset' fields.
5609
a069a2bd
AA
56102014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5611
5612 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5613 (aarch64_linux_fpregset): New static regset structures.
5614 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5615 of regset structures.
5616 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5617 'fpregset' fields.
5618
09424cff
AA
56192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5620
5621 * regset.h (struct regset): Remove gdbarch field.
5622 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5623 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5624 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5625 Likewise.
5626 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5627 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5628 (ppc32_linux_vsxregset): Likewise.
5629 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5630 via the regcache instead of the regset.
5631 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5632 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5633 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5634 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5635 Likewise.
5636
3ca7dae4
AA
56372014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5638
5639 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5640 Constify structures.
5641 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5642 (alphanbsd_aout_gregset): Likewise.
5643 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5644 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5645 Likewise.
5646 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5647 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5648 Likewise.
5649 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5650 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5651 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5652 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5653 * m88k-tdep.c (m88k_gregset): Likewise.
5654 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5655 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5656 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5657 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5658 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5659 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5660 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5661 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5662 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5663 Likewise.
5664 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5665 * sh-tdep.h (sh_corefile_gregset): Likewise.
5666 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5667 * vax-tdep.c (vax_gregset): Likewise.
5668
5876f503
JK
56692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 Fix TLS access for -static -pthread.
5672 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5673 (try_thread_db_load_1): Initialize it.
5674 (thread_db_get_thread_local_address): Call it if LM is zero.
5675 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5676 * target.h (struct target_ops) (to_get_thread_local_address): Add
5677 load_module_addr comment.
5678
0256a6ac
PA
56792014-05-21 Pedro Alves <palves@redhat.com>
5680
5681 * dcache.c (dcache_read_memory_partial): If reading the cache line
5682 fails, fallback to reading just the memory the caller wanted.
5683
227533ac
DE
56842014-05-20 Doug Evans <dje@google.com>
5685
5686 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5687 instead of get_current_arch.
5688
936d2992
PA
56892014-05-20 Pedro Alves <palves@redhat.com>
5690
5691 * NEWS: Mention that compare-sections now works with all targets.
5692
5693 * remote.c (PACKET_qCRC): New enum value.
5694 (remote_verify_memory): Don't send qCRC if the target has no
5695 execution. Use packet_support/packet_ok. If the target doesn't
5696 support the qCRC packet, fallback to a deep memory copy.
5697 (compare_sections_command): Say "target image" instead of "remote
5698 executable".
5699 (_initialize_remote): Add PACKET_qCRC to the list of config
5700 packets that have no associated command. Extend comment.
5701 * target.c (simple_verify_memory, default_verify_memory): New
5702 function.
5703 * target.h (struct target_ops) <to_verify_memory>: Default to
5704 default_verify_memory.
5705 (simple_verify_memory): New declaration.
5706 * target-delegates.c: Regenerate.
5707
e59fa00f
MM
57082014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5709
5710 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5711
f2205de0
HZ
57122014-05-20 Hui Zhu <hui@codesourcery.com>
5713 Yao Qi <yao@codesourcery.com>
5714
5715 PR backtrace/16558
5716 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5717 and change address of sp and pc.
5718
c4e54771
TT
57192014-05-19 Tom Tromey <tromey@redhat.com>
5720
5721 * gdbtypes.c (rank_function): Use XNEWVEC.
5722 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5723
73051182
DE
57242014-05-19 Doug Evans <dje@google.com>
5725
5726 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5727 build_type_unit_groups and moved closer to only caller. Remove
5728 arguments. All references updated. Remove outdated .gdb_index
5729 comment.
5730 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5731 build_type_psymtabs_1.
5732
8832e7e3
DE
57332014-05-19 Doug Evans <dje@google.com>
5734
5735 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5736 n_type_unit_groups, all_type_unit_groups. All uses removed.
5737 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5738 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5739 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5740 (add_type_unit_group_to_table): Delete.
5741
cd8ae15e
DE
57422014-05-19 Doug Evans <dje@google.com>
5743
5744 * eval.c (evaluate_subexp_standard): Add some comments.
5745
08f4850b
DE
57462014-05-17 Doug Evans <xdje42@gmail.com>
5747
5748 * progspace.c (remove_program_space): Delete, unused.
5749 * progspace.h (remove_program_space): Ditto.
5750
bed8455c
DE
57512014-05-17 Doug Evans <xdje42@gmail.com>
5752
5753 * inferior.c (prune_inferiors): Fix comment.
5754 (remove_inferior_command): Call prune_program_spaces.
5755
8d551b02
DE
57562014-05-16 Doug Evans <dje@google.com>
5757
5758 New command line option -D.
5759 * NEWS: Mention it.
5760 * main.c (set_gdb_data_directory): New function.
5761 (captured_main): Recognize -D. Flag error for --data-directory "".
5762 Call set_gdb_data_directory.
5763 (print_gdb_help): Print --data-directory, -D.
5764 * main.h (set_gdb_data_directory): Declare.
5765 * top.c (staged_gdb_datadir): New static global.
5766 (set_gdb_datadir): Call set_gdb_data_directory
5767 (show_gdb_datadir): New function.
5768 (init_main): Update init of data-directory parameter.
5769
18848e28
GF
57702014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5771
5772 Import the "dirfd" gnulib module.
5773 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5774 * gnulib/aclocal.m4: Update.
5775 * gnulib/config.in: Update.
5776 * gnulib/configure: Update.
5777 * gnulib/import/Makefile.am: Update.
5778 * gnulib/import/Makefile.in: Update.
5779 * gnulib/import/dirfd.c: New.
5780 * gnulib/import/m4/dirfd.m4: New.
5781 * gnulib/import/m4/gnulib-cache.m4: Update.
5782 * gnulib/import/m4/gnulib-comp.m4: Update.
5783
95c64f92
YQ
57842014-05-16 Pierre Muller <muller@sourceware.org>
5785 Yao Qi <yao@codesourcery.com>
5786
5787 * valprint.c (print_wchar): Move the code on checking whether
5788 W is a printable wide char to the default branch of switch
5789 statement below. Call wchar_printable instead of gdb_iswprint.
5790
cac395ea
TM
57912014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5792
19679eca 5793 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
5794 ldr.w and ldrd instructions.
5795
83655187
DE
57962014-05-15 Doug Evans <dje@google.com>
5797
5798 * dwarf2read.c (read_structure_type): Delete outdated comments.
5799
dd756689
TT
58002014-05-14 Tom Tromey <tromey@redhat.com>
5801
5802 * macrocmd.c (print_macro_definition): Reindent.
5803
75ddda77
DE
58042014-05-13 Doug Evans <xdje42@gmail.com>
5805
5806 * python/py-cmd.c (cmdpy_completer): Add comment.
5807 (completers): Make const.
5808
b0f16a3e
SM
58092014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5810
5811 * infrun.c (resume): Remove should_resume (unused). Move up
5812 declaration of resume_ptid.
5813
033c3379
TT
58142014-05-13 Tom Tromey <tromey@redhat.com>
5815
5816 * language.h (unop_type_check): Remove.
5817 (binop_type_check): Don't declare.
5818
9b44a3a5
AA
58192014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5820
5821 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5822 call to regcache_raw_collect.
5823
303a33fa
SM
58242014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5825
5826 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5827 mi_console->quote as the quoting character.
5828
196100a0
SM
58292014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5830
5831 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5832
f989a1c8
TT
58332014-04-29 Tom Tromey <tromey@redhat.com>
5834
5835 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5836 "show debug varobj".
5837
9404b58f
KM
58382014-05-07 Kyle McMartin <kyle@redhat.com>
5839
5840 Pushed by Joel Brobecker <brobecker@adacore.com>.
5841 * aarch64-tdep.c (aarch64_software_single_step): New function.
5842 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5843 with aarch64_software_single_step.
5844
5e49ba57
JB
58452014-05-05 Joel Brobecker <brobecker@adacore.com>
5846
5847 GDB 7.7.1 released.
5848
c888a17d
KS
58492014-05-05 Keith Seitz <keiths@redhat.com>
5850
5851 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5852 variable or history value is successfully parsed.
5853
290a839c
YQ
58542014-05-05 Yao Qi <yao@codesourcery.com>
5855 Pedro Alves <palves@redhat.com>
5856
5857 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5858 address of blocks that intersects the requested range. Trim
5859 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5860 sections.
5861 * ctf.c (ctf_xfer_partial): Likewise.
5862
91256dc2
YQ
58632014-05-05 Yao Qi <yao@codesourcery.com>
5864
5865 * printcmd.c (display_command): Remove the check to
5866 target_has_execution.
5867
07284463
MK
58682014-05-03 Mark Kettenis <kettenis@gnu.org>
5869
5870 * ppcobsd-nat.c: Include "obsd-nat.h".
5871 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5872 add_target.
5873 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5874
30a1e6cc
SDJ
58752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5876
5877 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5878 and 16-bit signed and unsigned arguments. Update comment.
5879 (stap_parse_probe_arguments): Extend code to handle such
5880 arguments. Use warning instead of complaint to notify about
5881 unrecognized bitness.
5882
f33da99a
SDJ
58832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5884
5885 PR breakpoints/16889
5886 * stap-probe.c (stap_parse_probe_arguments): Simplify
5887 check for non-prefixed probes (i.e., probes whose
5888 arguments do not start with "N@"). Always set the
5889 argument type to a sane value.
5890
95cf3b38
DT
58912014-05-01 David Taylor <dtaylor@emc.com>
5892
5893 * remote.c (compare_sections_command): Add -r option to compare
5894 all loadable read-only sections.
5895
1cfdf534
SC
58962014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5897
5898 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5899 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5900 Update all callers.
5901 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5902 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5903 Remove unused CORE_ADDR argument. Update all callers.
5904
ca4f7f8b
PA
59052014-04-29 Pedro Alves <palves@redhat.com>
5906
5907 * remote.c (struct packet_config) <detect>: Extend comment.
5908 (add_packet_config_cmd): Don't set the config's detect or support
5909 fields here.
5910 (init_all_packet_configs): Also initialize the config's 'detect'
5911 field.
5912 (reset_all_packet_configs_support): New function.
5913 (remote_open_1): Call reset_all_packet_configs_support instead of
5914 init_all_packet_configs.
5915 (_initialize_remote): Initialize all packet configs. Assert that
5916 all packets have an associated command, except a few known
5917 outliers.
5918
11c1ba78
JB
59192014-04-28 Joel Brobecker <brobecker@adacore.com>
5920
5921 * dwarf2read.c (read_subrange_type): Handle dynamic
5922 DW_AT_lower_bound attributes.
5923
8739bc53
JB
59242014-04-28 Joel Brobecker <brobecker@adacore.com>
5925
5926 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5927 dynamic bounds before computing its upper bound.
5928 (ada_discrete_type_low_bound): Same as above with the lower bound.
5929
6f8a3220
JB
59302014-04-28 Joel Brobecker <brobecker@adacore.com>
5931
5932 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5933 range types. Adjust the array handling implementation to
5934 take advantage of this change.
5935 (resolve_dynamic_range): New function, mostly extracted from
5936 resolve_dynamic_bounds.
5937 (resolve_dynamic_array): New function, mostly extracted from
5938 resolve_dynamic_bounds.
5939 (resolve_dynamic_bounds): Delete.
5940 (resolve_dynamic_type): Reimplement. Add handling of
5941 TYPE_CODE_RANGE types.
5942
4d072ce4
JB
59432014-04-28 Joel Brobecker <brobecker@adacore.com>
5944
5945 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5946 handling of parallel ___XA types.
5947
52865325
JB
59482014-04-28 Joel Brobecker <brobecker@adacore.com>
5949
5950 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5951 unnecessary second call to static_unwrap_type.
5952
433e77fa
HZ
59532014-04-27 Hui Zhu <hui@codesourcery.com>
5954
5955 * stack.c (print_frame_info): Call do_gdb_disassembly with
5956 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5957
b51a69ee
DE
59582014-04-26 Doug Evans <xdje42@gmail.com>
5959
5960 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5961
7ae1a6a6
PA
59622014-04-25 Pedro Alves <palves@redhat.com>
5963
5964 PR server/16255
5965 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5966 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5967 and newline from built string.
5968 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5969 (linux_ptrace_attach_fail_reason): ... this.
5970 * linux-nat.c (linux_nat_attach): Adjust to use
5971 linux_ptrace_attach_fail_reason.
5972
4082afcc
PA
59732014-04-25 Pedro Alves <palves@redhat.com>
5974
5975 * remote.c (struct remote_state): Remove multi_process_aware,
5976 non_stop_aware, cond_tracepoints, cond_breakpoints,
5977 breakpoint_commands, fast_tracepoints, static_tracepoints,
5978 install_in_trace, disconnected_tracing,
5979 enable_disable_tracepoints, string_tracing, and
5980 augmented_libraries_svr4_read fields.
5981 (remote_multi_process_p): Move further below in the file.
5982 (struct packet_config): Add comments.
5983 (update_packet_config): Delete function.
5984 (show_packet_config_cmd): Use packet_config_support.
5985 (add_packet_config_cmd): Use NULL as set callback.
5986 (packet_ok): "set remote foo-packet"-style commands no longer
5987 change config->supported -- adjust.
5988 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5989 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5990 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5991 (PACKET_QNonStop, PACKET_multiprocess_feature)
5992 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5993 (PACKET_DisconnectedTracing_feature)
5994 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5995 (set_remote_protocol_packet_cmd): Delete function.
5996 (packet_config_support, packet_support): New functions.
5997 (set_remote_protocol_Z_packet_cmd): Don't call
5998 update_packet_config.
5999 (remote_query_attached, remote_pass_signals)
6000 (remote_program_signals, remote_threads_info)
6001 (remote_threads_extra_info, remote_start_remote): Use
6002 packet_support.
6003 (remote_start_remote): Use packet_config_support and
6004 packet_support.
6005 (init_all_packet_configs): Set all packets to unknown support,
6006 instead of calling update_packet_config.
6007 (remote_check_symbols): Use packet_support.
6008 (remote_supported_packet): Unconditionally set the packet config's
6009 support status.
6010 (remote_multi_process_feature, remote_non_stop_feature)
6011 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6012 (remote_breakpoint_commands_feature)
6013 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6014 (remote_install_in_trace_feature)
6015 (remote_disconnected_tracing_feature)
6016 (remote_enable_disable_tracepoint_feature)
6017 (remote_string_tracing_feature)
6018 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6019 (remote_protocol_features): Adjust to use remote_supported_packet
6020 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6021 "ConditionalTracepoints", "ConditionalBreakpoints",
6022 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6023 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6024 "EnableDisableTracepoints", and "tracenz".
6025 (remote_query_supported): Use packet_support.
6026 (remote_open_1): Adjust.
6027 (extended_remote_attach_1): Use packet_support. Switch on the
6028 result of packet_ok instead of checking whether the packet ended
6029 up disabled.
6030 (remote_vcont_resume): Use packet_support.
6031 (remote_resume, remote_stop_ns, fetch_register_using_p)
6032 (remote_prepare_to_store, store_register_using_P)
6033 (check_binary_download, remote_write_bytes): Use packet_support.
6034 (remote_vkill): Use packet_support. Switch on the result of
6035 packet_ok instead of checking whether the packet ended up
6036 disabled.
6037 (extended_remote_supports_disable_randomization): Use
6038 packet_support.
6039 (extended_remote_run): Switch on the result of packet_ok instead
6040 of checking whether the packet ended up disabled.
6041 (remote_insert_breakpoint, remote_remove_breakpoint)
6042 (remote_insert_watchpoint, remote_remove_watchpoint)
6043 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
6044 packet_support.
6045 (remote_search_memory): Use packet_config_support.
6046 (remote_get_thread_local_address, remote_get_tib_address)
6047 (remote_hostio_send_command, remote_can_execute_reverse): Use
6048 packet_support.
6049 (remote_supports_cond_tracepoints)
6050 (remote_supports_cond_breakpoints)
6051 (remote_supports_fast_tracepoints)
6052 (remote_supports_static_tracepoints)
6053 (remote_supports_install_in_trace)
6054 (remote_supports_enable_disable_tracepoint)
6055 (remote_supports_string_tracing)
6056 (remote_can_run_breakpoint_commands): Rewrite, checking whether
6057 the packet config says the feature is enabled or disabled.
6058 (remote_download_tracepoint, remote_trace_set_readonly_regions)
6059 (remote_get_trace_status): Use packet_support.
6060 (remote_set_disconnected_tracing): Adjust to check whether the
6061 feature is enabled with packet_support.
6062 (remote_set_trace_buffer_size, remote_use_agent)
6063 (remote_can_use_agent, remote_supports_btrace): Use
6064 packet_support.
6065 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
6066 Use packet_config_support.
6067 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
6068 the packet config says the feature is enabled or disabled.
6069 (set_range_stepping): Use packet_support.
6070
bdb52a22
TT
60712014-04-25 Tom Tromey <tromey@redhat.com>
6072
6073 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
6074 argument.
6075
e9475ead
SA
60762014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6077
6078 * NEWS: Mention support for C99 variable length arrays.
6079
82eacd52
JB
60802014-04-24 Joel Brobecker <brobecker@adacore.com>
6081
6082 * ada-lang.c (standard_exc): Expand introductory comment.
6083
01f9f808
MS
60842014-04-24 Michael Sturm <michael.sturm@mintel.com>
6085 Walfred Tedeschi <walfred.tedeschi@intel.com>
6086
6087 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6088 AVX512 registers.
6089 (amd64_linux_read_description): Add code to handle AVX512 xstate
6090 mask and return respective tdesc.
6091 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6092 and features/i386/x32-avx512-linux.c.
6093 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6094 (amd64_linux_core_read_description): Add code to handle AVX512
6095 xstate mask and return respective tdesc.
6096 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6097 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6098 calculation.
6099 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6100 (tdesc_amd64_avx512_linux): New prototype.
6101 (tdesc_x32_avx512_linux): Likewise.
6102 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6103 features/i386/x32-avx512.c.
6104 (amd64_ymm_avx512_names): New register names for pseudo
6105 registers YMM16-31.
6106 (amd64_ymmh_avx512_names): New register names for raw registers
6107 YMMH16-31.
6108 (amd64_k_names): New register names for K registers.
6109 (amd64_zmmh_names): New register names for ZMM raw registers.
6110 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6111 (amd64_xmm_avx512_names): New register names for XMM16-31
6112 registers.
6113 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6114 registers.
6115 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6116 if feature is present.
6117 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6118 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6119 (AMD64_NUM_REGS): Adjust to new number of registers.
6120 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6121 registers supplied via XSTATE by AVX512 registers.
6122 (i386_linux_read_description): Add case for AVX512.
6123 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6124 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6125 (i386_linux_core_read_description): Add case for AVX512.
6126 (i386_linux_init_abi): Install supported register note section
6127 for AVX512.
6128 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6129 AVX512.
6130 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6131 registers to be number of zmm7h + 1.
6132 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6133 * i386-tdep.c: Include features/i386/i386-avx512.c.
6134 (i386_zmm_names): Add ZMM pseudo register names array.
6135 (i386_zmmh_names): Add ZMM raw register names array.
6136 (i386_k_names): Add K raw register names array.
6137 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6138 registers. AVX512 has 16 more ZMM registers than there are YMM
6139 registers.
6140 (i386_zmmh_regnum_p): Add function to look up register number of
6141 ZMM raw registers.
6142 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
6143 (i386_k_regnum_p): Likewise for K raw registers.
6144 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
6145 registers added by AVX512.
6146 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
6147 registers added by AVX512.
6148 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
6149 added by AVX512.
6150 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
6151 (i386_pseudo_register_name): Add ZMM pseudo registers.
6152 (i386_zmm_type): Construct and return vector registers type for ZMM
6153 registers.
6154 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
6155 ZMM0-31 pseudo registers and K registers.
6156 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
6157 and YMM16-31 registers from register cache.
6158 (i386_pseudo_register_write): Add code to write K, ZMM and
6159 YMM16-31 registers.
6160 (i386_register_reggroup_p): Add code to include/exclude AVX512
6161 registers in/from respective register groups.
6162 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
6163 registers if feature is present in xcr0.
6164 (i386_gdbarch_init): Add code to initialize AVX512 feature
6165 variables in tdep structure, wire in pseudo registers and call
6166 initialize_tdesc_i386_avx512.
6167 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
6168 variables.
6169 (i386_regnum): Add AVX512 registers.
6170 (I386_SSE_NUM_REGS): New define for number of SSE registers.
6171 (I386_AVX_NUM_REGS): Likewise for AVX registers.
6172 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
6173 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
6174 512 bits wide.
6175 (i386_xmm_avx512_regnum_p): New prototype for register look up.
6176 (i386_ymm_avx512_regnum_p): Likewise.
6177 (i386_k_regnum_p): Likewise.
6178 (i386_zmm_regnum_p): Likewise.
6179 (i386_zmmh_regnum_p): Likewise.
6180 * i387-tdep.c : Update year in copyright notice.
6181 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
6182 XSAVE buffer.
6183 (XSAVE_YMM_AVX512_ADDR): New macro.
6184 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
6185 XSAVE buffer.
6186 (XSAVE_XMM_AVX512_ADDR): New macro.
6187 (xsave_avx512_k_offset): New table for K register offsets in
6188 XSAVE buffer.
6189 (XSAVE_AVX512_K_ADDR): New macro.
6190 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
6191 in XSAVE buffer.
6192 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
6193 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
6194 buffer.
6195 (i387_collect_xsave): Add code to collect AVX512 registers from
6196 XSAVE buffer.
6197 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
6198 of XMM16-31 registers.
6199 (I387_NUM_K_REGS): New define for number of K registers.
6200 (I387_K0_REGNUM): New define for K0 register number.
6201 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
6202 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
6203 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
6204 registers.
6205 (I387_YMM16H_REGNUM): New define for YMM16H register number.
6206 (I387_XMM16_REGNUM): New define for XMM16 register number.
6207 (I387_YMM0_REGNUM): New define for YMM0 register number.
6208 (I387_KEND_REGNUM): New define for last K register number.
6209 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
6210 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
6211 number.
6212 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
6213 number.
6214 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
6215 size.
6216 * features/Makefile: Add AVX512 related files.
6217 * features/i386/32bit-avx512.xml: New file.
6218 * features/i386/64bit-avx512.xml: Likewise.
6219 * features/i386/amd64-avx512-linux.c: Likewise.
6220 * features/i386/amd64-avx512-linux.xml: Likewise.
6221 * features/i386/amd64-avx512.c: Likewise.
6222 * features/i386/amd64-avx512.xml: Likewise.
6223 * features/i386/i386-avx512-linux.c: Likewise.
6224 * features/i386/i386-avx512-linux.xml: Likewise.
6225 * features/i386/i386-avx512.c: Likewise.
6226 * features/i386/i386-avx512.xml: Likewise.
6227 * features/i386/x32-avx512-linux.c: Likewise.
6228 * features/i386/x32-avx512-linux.xml: Likewise.
6229 * features/i386/x32-avx512.c: Likewise.
6230 * features/i386/x32-avx512.xml: Likewise.
6231 * regformats/i386/amd64-avx512-linux.dat: New file.
6232 * regformats/i386/amd64-avx512.dat: Likewise.
6233 * regformats/i386/i386-avx512-linux.dat: Likewise.
6234 * regformats/i386/i386-avx512.dat: Likewise.
6235 * regformats/i386/x32-avx512-linux.dat: Likewise.
6236 * regformats/i386/x32-avx512.dat: Likewise.
6237 * NEWS: Add note about new support for AVX512.
6238
6239
08351840
PA
62402014-04-23 Pedro Alves <palves@redhat.com>
6241
6242 * breakpoint.c (insert_bp_location): Tolerate errors if the
6243 breakpoint is set in a user-loaded objfile.
6244 (remove_breakpoint_1): Likewise. Also tolerate errors if the
6245 location is marked shlib_disabled. If the breakpoint is set in a
6246 user-loaded objfile is a GDB-side memory breakpoint, validate it
6247 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
6248 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
6249 flag.
6250 * mem-break.c (memory_validate_breakpoint): New function.
6251 * objfiles.c (userloaded_objfile_contains_address_p): New
6252 function.
6253 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
6254 * target.h (memory_validate_breakpoint): New declaration.
6255
076855f9
PA
62562014-04-23 Pedro Alves <palves@redhat.com>
6257
6258 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
6259 the breakpoint is set in a shared library, only suppress
6260 errors for software breakpoints, not hardware breakpoints.
6261
483805cf
PA
62622014-04-22 Pedro Alves <palves@redhat.com>
6263
6264 * infrun.c (schedlock_applies): New function, factored out from
6265 find_thread_needs_step_over.
6266 (find_thread_needs_step_over): Use it.
6267 (switch_back_to_stepped_thread): Always clear trap_expected if the
6268 step over is finished. Return early if scheduler locking applies.
6269 Look for the stepping thread and a potential step-over thread with
6270 a single loop.
6271 (currently_stepping_or_nexting_callback): Delete.
6272
a75fef0e
NC
62732014-04-22 Nick Clifton <nickc@redhat.com>
6274
6275 * NEWS: Mention that ARM sim now supports tracing.
6276
48b6e87e
YQ
62772014-04-22 Yao Qi <yao@codesourcery.com>
6278
6279 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
6280 to ...
6281 * tracefile.c (tracefile_fetch_registers): ... it. New
6282 function.
6283 * tracefile.h (tracefile_fetch_registers): Declare.
6284 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
6285 tracefile_fetch_registers.
6286
17617f2d
EZ
62872014-04-19 Eli Zaretskii <eliz@gnu.org>
6288
6289 PR gdb/14018
6290 * windows-nat.c (thread_rec): Don't display a warning when
6291 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
6292 fails for any reason, set th->suspended to -1, so that we don't
6293 try to resume such a thread. Also, don't return NULL in these
6294 cases, to avoid completely ruin the session due to "PC register is
6295 not available" error.
6296 (do_windows_fetch_inferior_registers): Check errors in
6297 GetThreadContext call.
6298 (windows_continue): Accept an additional argument KILLED; if not
6299 zero, ignore errors in the SetThreadContext call, since the
6300 inferior was killed and is shutting down.
6301 (windows_resume, get_windows_debug_event)
6302 (windows_create_inferior, windows_mourn_inferior)
6303 (windows_kill_inferior): All callers of windows_continue changed
6304 to adjust to its new calling sequence.
6305
5723a6fd
YQ
63062014-04-19 Yao Qi <yao@codesourcery.com>
6307
6308 * ctf.c (ctf_open): Call post_create_inferior.
6309
614d5099
YQ
63102014-04-19 Yao Qi <yao@codesourcery.com>
6311
6312 * ctf.c (handle_id): New static variable.
6313 (ctf_open_dir): Get handle_id from bt_context_add_trace return
6314 value. Get the declaration of event "register" and get length
6315 of field "contents".
6316
dac3e710
YQ
63172014-04-19 Yao Qi <yao@codesourcery.com>
6318
6319 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
6320
2bca57ba
SC
63212014-04-18 Siva Chandra Reddy <sivachandra@google.com>
6322
6323 * valops.c (oload_method_static): Remove unnecessary argument
6324 METHOD. Update all callers.
6325
51d48146
PA
63262014-04-18 Pedro alves <palves@redhat.com>
6327 Tom Tromey <tromey@redhat.com>
6328
6329 PR backtrace/15558
6330 * frame.c (get_prev_frame_1): Rename to ...
6331 (get_prev_frame_always): ... this, and make extern. Adjust.
6332 (skip_artificial_frames): Use get_prev_frame_always.
6333 (frame_unwind_caller_id, frame_pop, get_prev_frame)
6334 (get_frame_unwind_stop_reason): Adjust to rename.
6335 * frame.h (get_prev_frame_always): Declare.
6336 * inline-frame.c: Include frame.h.
6337 (inline_frame_this_id): Use get_prev_frame_always.
6338
1bdad2e0
TG
63392014-04-18 Tristan Gingold <gingold@adacore.com>
6340
6341 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6342 code by using bfd_mach_o_get_base_address.
6343
7ce16bd4
UW
63442014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6345
6346 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6347 (spu_ax_pseudo_register_collect): New function.
6348 (spu_ax_pseudo_register_push_stack): Likewise.
6349 (spu_dwarf_reg_to_regnum): Likewise.
6350 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6351
2ed3c037
UW
63522014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6353
6354 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6355 Replace FRAME argument with FRAME_ID.
6356 * gdbarch.c, gdbarch.h: Regenerate.
6357 * findvar.c (default_value_from_register): Add GDBARCH argument;
6358 replace FRAME by FRAME_ID. No longer call get_frame_id.
6359 (value_from_register): Update call to gdbarch_value_from_register.
6360 * value.h (default_value_from_register): Update prototype.
6361 * s390-linux-tdep.c (s390_value_from_register): Update interface
6362 and call to default_value_from_register.
6363 * spu-tdep.c (spu_value_from_register): Likewise.
6364
6365 * findvar.c (address_from_register): Remove TYPE argument.
6366 Do not call value_from_register; use gdbarch_value_from_register
6367 with null_frame_id instead.
6368 * value.h (address_from_register): Update prototype.
6369 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6370 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6371 address_from_register interface change.
6372
71e50e83
YQ
63732014-04-17 Yao Qi <yao@codesourcery.com>
6374
6375 * gdbtypes.h: Update comments to link to types and macros'
6376 definitions.
6377
7a23c549
SC
63782014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6379
6380 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6381
22869d73
KS
63822014-04-16 Keith Seitz <keiths@redhat.com>
6383
6384 PR gdb/15827
6385 * dwarf2read.c (skip_one_die): Check that all relative-offset
6386 sibling DIEs fall within range of the current reader's buffer.
6387 (read_partial_die): Likewise.
6388
c4f87ca6
KS
63892014-04-16 Keith Seitz <keiths@redhat.com>
6390
6391 PR c++/16597
6392 * cp-namespace.c (lookup_symbol_file): If the type name of
6393 `this' is NULL, return immediately.
6394
b50c8614
KS
63952014-04-14 Keith Seitz <keiths@redhat.com>
6396
6397 PR c++/16253
6398 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6399 from symbol_matches_domain in symtab.c. All local callers
6400 of symbol_matches_domain updated.
6401 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6402 search STRUCT_DOMAIN.
6403 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6404 independently. standard_lookup will do that automatically.
6405 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6406 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6407 (cp_lookup_symbol_in_namespace): Likewise.
6408 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6409 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6410 may return a STRUCT_DOMAIN match.
6411 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6412 * cp-support.c: Include language.h.
6413 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6414 VAR_DOMAIN.
6415 * psymtab.c (match_partial_symbol): Compare the requested
6416 domain with the symbol's domain directly.
6417 (lookup_partial_symbol): Likewise.
6418 * symtab.c (lookup_symbol_in_language): Explain when/why
6419 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6420 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6421 appropriate languages.
6422 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6423 and moved to ada-lang.c
6424 (lookup_block_symbol): Explain that this function only returns
6425 symbol matching the requested DOMAIN.
6426 Compare the requested domain with the symbol's domain directly.
6427 (iterate_over_symbols): Compare the requested domain with the
6428 symbol's domain directly.
6429 * symtab.h (symbol_matches_domain): Remove.
6430
3d567982
TT
64312014-04-14 Tom Tromey <tromey@redhat.com>
6432
6433 PR c++/15246:
6434 * c-exp.y (type_aggregate_p): New function.
6435 (qualified_name, classify_inner_name): Use it.
6436 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6437 and TYPE_TARGET_TYPE of an enum type.
6438 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6439 an enum type.
6440 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6441 handle TYPE_DECLARED_CLASS.
6442 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6443 types.
6444 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6445 * valops.c (enum_constant_from_type): New function.
6446 (value_aggregate_elt): Use it.
6447 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6448 TYPE_CODE_ENUM.
6449
c848d642
TT
64502014-04-14 Tom Tromey <tromey@redhat.com>
6451
6452 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6453 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6454 const.
6455 * value.h (value_aggregate_elt): Update.
6456
0626fc76
TT
64572014-04-14 Tom Tromey <tromey@redhat.com>
6458
6459 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6460
5ecaaa66
SA
64612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6462
6463 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6464 (evaluate_subexp_standard): Pass noside argument.
6465 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6466 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6467 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6468 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6469 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6470
1612e0c0
SA
64712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6472
6473 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6474 points to a constant blob.
6475
c451ebe5
SA
64762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6477
6478 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6479 property and store it as the high bound and flag the range accordingly.
6480 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6481 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6482 * gdbtypes.h (enum range_flags): New enum.
6483 (struct range_bounds): Add flags member.
6484
1d42e4c4
SA
64852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6486
6487 * c-typeprint.c (c_type_print_varspec_suffix): Added
6488 check for not yet resolved high bound. If unresolved, print
6489 "variable length" string to the console instead of random
6490 length.
6491
9f1f738a
SA
64922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6493
6494 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6495 value.
6496 (ada_template_to_fixed_record_type_1): Likewise.
6497 (ada_to_fixed_type_1): Likewise.
6498 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6499 (cp_print_value): Likewise.
6500 * d-valprint.c (dynamic_array_type): Likewise.
6501 * findvar.c (address_of_variable): Likewise.
6502 * jv-valprint.c (java_value_print): Likewise.
6503 * valops.c (value_ind): Likewise.
6504 * value.c (coerce_ref): Likewise.
6505
3c8452d4
SA
65062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6507
6508 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6509 value and retrieve the dynamic type size.
6510
4ad88275
SA
65112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6512
6513 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6514 passed to sizeof is dynamic evaluate the argument to compute the length.
6515
80180f79
SA
65162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6517 Joel Brobecker <brobecker@adacore.com>
6518
6519 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6520 (dwarf2_evaluate_property): New function.
6521 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6522 * dwarf2read.c (attr_to_dynamic_prop): New function.
6523 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6524 attribute.
6525 * gdbtypes.c: Include dwarf2loc.h.
6526 (is_dynamic_type): New function.
6527 (resolve_dynamic_type): New function.
6528 (resolve_dynamic_bounds): New function.
6529 (get_type_length): New function.
6530 (check_typedef): Use get_type_length to compute type length.
6531 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6532 (TYPE_LOW_BOUND_KIND): New macro.
6533 (is_dynamic_type): New function prototype.
6534 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6535 to resolve dynamic properties of the type. Update comment.
6536 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6537
a1556843
RH
65382014-04-14 Richard Henderson <rth@redhat.com>
6539
6540 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6541
0be03e84
DE
65422014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6543 Doug Evans <xdje42@gmail.com>
6544
6545 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6546 dereference TYPE_CODE_REF values.
6547
6b662e19
JB
65482014-04-11 Joel Brobecker <brobecker@adacore.com>
6549
6550 Revert the following changes due to regressions:
6551
6552 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6553 (dwarf2_evaluate_property): New function.
6554 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6555 * dwarf2read.c (attr_to_dynamic_prop): New function.
6556 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6557 attribute.
6558 * gdbtypes.c: Include dwarf2loc.h.
6559 (is_dynamic_type): New function.
6560 (resolve_dynamic_type): New function.
6561 (resolve_dynamic_bounds): New function.
6562 (get_type_length): New function.
6563 (check_typedef): Use get_type_length to compute type length.
6564 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6565 (TYPE_LOW_BOUND_KIND): New macro.
6566 (is_dynamic_type): New function prototype.
6567 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6568 to resolve dynamic properties of the type. Update comment.
6569 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6570
6571 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6572 passed to sizeof is dynamic evaluate the argument to compute the length.
6573
6574 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6575 value and retrieve the dynamic type size.
6576
6577 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6578 (ada_template_to_fixed_record_type_1): Likewise.
6579 (ada_to_fixed_type_1): Likewise.
6580 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6581 (cp_print_value): Likewise.
6582 * d-valprint.c (dynamic_array_type): Likewise.
6583 * eval.c (evaluate_subexp_with_coercion): Likewise.
6584 * findvar.c (address_of_variable): Likewise.
6585 * jv-valprint.c (java_value_print): Likewise.
6586 * valops.c (value_ind): Likewise.
6587 * value.c (coerce_ref): Likewise.
6588
6589 * c-typeprint.c (c_type_print_varspec_suffix): Added
6590 check for not yet resolved high bound. If unresolved, print
6591 "variable length" string to the console instead of random
6592 length.
6593
6594 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6595 property and store it as the high bound and flag the range accordingly.
6596 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6597 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6598 * gdbtypes.h (enum range_flags): New enum.
6599 (struct range_bounds): Add flags member.
6600
6601 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6602 points to a constant blob.
6603
6604 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6605 (evaluate_subexp_standard): Pass noside argument.
6606 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6607 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6608 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6609 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6610 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6611
245a5f0b
KS
66122014-04-11 Keith Seitz <keiths@redhat.com>
6613
6614 PR c++/16675
6615 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6616 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6617 reference types.
6618
3bce8237
SA
66192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6620
6621 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6622 (evaluate_subexp_standard): Pass noside argument.
6623 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6624 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6625 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6626 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6627 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6628
92b09522
SA
66292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6630
6631 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6632 points to a constant blob.
6633
e1969afb
SA
66342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6635
6636 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6637 property and store it as the high bound and flag the range accordingly.
6638 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6639 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6640 * gdbtypes.h (enum range_flags): New enum.
6641 (struct range_bounds): Add flags member.
6642
b86138fb
SA
66432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6644
6645 * c-typeprint.c (c_type_print_varspec_suffix): Added
6646 check for not yet resolved high bound. If unresolved, print
6647 "variable length" string to the console instead of random
6648 length.
6649
bcd629a4
SA
66502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6651
6652 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6653 (ada_template_to_fixed_record_type_1): Likewise.
6654 (ada_to_fixed_type_1): Likewise.
6655 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6656 (cp_print_value): Likewise.
6657 * d-valprint.c (dynamic_array_type): Likewise.
6658 * eval.c (evaluate_subexp_with_coercion): Likewise.
6659 * findvar.c (address_of_variable): Likewise.
6660 * jv-valprint.c (java_value_print): Likewise.
6661 * valops.c (value_ind): Likewise.
6662 * value.c (coerce_ref): Likewise.
6663
04b19544
SA
66642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6665
6666 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6667 value and retrieve the dynamic type size.
6668
26cb189f
SA
66692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6670
6671 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6672 passed to sizeof is dynamic evaluate the argument to compute the length.
6673
37c1ab67
SA
66742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6675
6676 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6677 (dwarf2_evaluate_property): New function.
6678 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6679 * dwarf2read.c (attr_to_dynamic_prop): New function.
6680 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6681 attribute.
6682 * gdbtypes.c: Include dwarf2loc.h.
6683 (is_dynamic_type): New function.
6684 (resolve_dynamic_type): New function.
6685 (resolve_dynamic_bounds): New function.
6686 (get_type_length): New function.
6687 (check_typedef): Use get_type_length to compute type length.
6688 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6689 (TYPE_LOW_BOUND_KIND): New macro.
6690 (is_dynamic_type): New function prototype.
6691 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6692 to resolve dynamic properties of the type. Update comment.
6693 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6694
729efb13
SA
66952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6696
6697 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6698 declaring high/low bounds and change uses accordingly. Call
6699 create_range_type instead of create_static_range_type.
6700 * gdbtypes.c (create_range_type): New function.
6701 (create_range_type): Convert bounds into struct bound_prop and pass
6702 them to create_range_type.
6703 * gdbtypes.h (struct bound_prop): New struct.
6704 (create_range_type): New function prototype.
6705 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6706 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6707 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6708 part of the bound.
6709 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6710
0c9c3474
SA
67112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6712
6713 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6714 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6715 * ada-lang.c: All uses of create_range_type updated.
6716 * coffread.c: All uses of create_range_type updated.
6717 * dwarf2read.c: All uses of create_range_type updated.
6718 * f-exp.y: All uses of create_range_type updated.
6719 * m2-valprint.c: All uses of create_range_type updated.
6720 * mdebugread.c: All uses of create_range_type updated.
6721 * stabsread.c: All uses of create_range_type updated.
6722 * valops.c: All uses of create_range_type updated.
6723 * valprint.c: All uses of create_range_type updated.
6724
9d497a19
PA
67252014-04-10 Pedro Alves <palves@redhat.com>
6726
6727 * breakpoint.c (single_step_breakpoints)
6728 (single_step_gdbarch): Move up in the file.
6729 (one_breakpoint_xfer_memory): New function, factored out from ...
6730 (breakpoint_xfer_memory): ... here. Also process single-step
6731 breakpoints.
6732
15a9128a
TG
67332014-04-09 Tristan Gingold <gingold@adacore.com>
6734
6735 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6736 comments.
6737 (darwin_decode_exception_message): Free port only after use.
6738
9c97a070
PL
67392014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6740
6741 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6742 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6743 when setting the size of call_length.
6744
7af389b8
SC
67452014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6746
6747 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6748 dereference TYPE_CODE_REF values.
6749
86ad98c3
JB
67502014-04-07 Joel Brobecker <brobecker@adacore.com>
6751
6752 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6753 end of warning message.
6754
b0aeadb3
DE
67552014-04-03 Doug Evans <dje@google.com>
6756
6757 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6758 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6759
5979d6b6
AM
67602014-04-02 Alan Modra <amodra@gmail.com>
6761
6762 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6763 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6764 (struct symbol_file_add_from_memory_args): Add size field.
6765 (find_vdso_size): New function.
6766 (add_vsyscall_page): Attempt to find vdso size.
6767
0d60c288
DE
67682014-04-01 Doug Evans <dje@google.com>
6769
6770 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6771
a41f2563
TG
67722014-04-01 Tristan Gingold <gingold@adacore.com>
6773
6774 * darwin-nat.c (darwin_encode_reply): Add prototype.
6775 (darwin_decode_exception_message): Reply to unknown inferiors.
6776 (darwin_decode_message): Handle message by id. Ignore message
6777 to unknown inferior.
6778 (darwin_wait): Discard unknown messages, add debug trace.
6779
11a865c8
DE
67802014-03-31 Doug Evans <dje@google.com>
6781
6782 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6783 comp_dir_string.
6784
770e7fc7
DE
67852014-03-31 Doug Evans <dje@google.com>
6786
6787 New option "set print symbol-loading".
6788 * NEWS: Mention it.
6789 * solib.c (solib_read_symbols): Only print symbol loading messages
6790 if requested.
6791 (solib_add): If symbol loading is in "brief" mode, notify user
6792 symbols are being loaded.
6793 (reload_shared_libraries_1): Ditto.
6794 * symfile.c (print_symbol_loading_off): New static global.
6795 (print_symbol_loading_brief): New static global.
6796 (print_symbol_loading_full): New static global.
6797 (print_symbol_loading_enums): New static global.
6798 (print_symbol_loading): New static global.
6799 (print_symbol_loading_p): New function.
6800 (symbol_file_add_with_addrs): Only print symbol loading messages
6801 if requested.
6802 (_initialize_symfile): Register "print symbol-loading" set/show
6803 command.
6804 * symfile.h (print_symbol_loading_p): Declare.
6805
c32c64b7
DE
68062014-03-30 Doug Evans <xdje42@gmail.com>
6807
6808 * infrun.c (set_last_target_status): New function.
6809 (handle_inferior_event): Call it.
6810
7c0bc051
DE
68112014-03-30 Doug Evans <xdje42@gmail.com>
6812
6813 * inferior.h (enum stop_kind): Improve comment.
6814
8776cfe9
JB
68152014-03-28 Joel Brobecker <brobecker@adacore.com>
6816
6817 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6818 a reference, strip the reference layer before calling
6819 the lang_ops value_has_mutated callback.
6820
410a0ff2
SDJ
68212014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6822
6823 Remove some globals from our parser.
6824 * language.c (unk_lang_parser): Add "struct parser_state"
6825 argument.
6826 * language.h (struct language_defn) <la_parser>: Likewise.
6827 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6828 (initialize_expout): Add "struct parser_state" argument.
6829 Rewrite function to use the parser state.
6830 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6831 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6832 write_exp_elt_longcst, write_exp_elt_dblcst,
6833 write_exp_elt_decfloatcst, write_exp_elt_type,
6834 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6835 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6836 write_dollar_variable): Likewise.
6837 (parse_exp_in_context_1): Use parser state.
6838 (insert_type_address_space): Add "struct parser_state" argument.
6839 Use parser state.
6840 (increase_expout_size): New function.
6841 * parser-defs.h: Forward declare "struct language_defn" and
6842 "struct parser_state".
6843 (expout, expout_size, expout_ptr): Remove extern declarations.
6844 (parse_gdbarch, parse_language): Rewrite macro declarations to
6845 accept the parser state.
6846 (struct parser_state): New struct.
6847 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6848 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6849 write_exp_elt_decfloatcst, write_exp_elt_type,
6850 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6851 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6852 write_exp_msymbol, write_dollar_variable,
6853 mark_struct_expression, insert_type_address_space): Add "struct
6854 parser_state" argument.
6855 (increase_expout_size): New function.
6856 * utils.c (do_clear_parser_state): New function.
6857 (make_cleanup_clear_parser_state): Likewise.
6858 * utils.h (make_cleanup_clear_parser_state): New function
6859 prototype.
6860 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6861 Update calls to write_exp* in order to pass the parser state.
6862 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6863 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6864 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6865 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6866 * stap-probe.c (stap_parse_register_operand): Likewise.
6867 (stap_parse_single_operand): Likewise.
6868 (stap_parse_argument_1): Likewise.
6869 (stap_parse_argument): Use parser state.
6870 * stap-probe.h: Include "parser-defs.h".
6871 (struct stap_parse_info) <pstate>: New field.
6872 * c-exp.y (parse_type): Rewrite to use parser state.
6873 (yyparse): Redefine to c_parse_internal.
6874 (pstate): New global variable.
6875 (parse_number): Add "struct parser_state" argument.
6876 (write_destructor_name): Likewise.
6877 (type_exp): Update calls to write_exp* and similars in order to
6878 use parser state.
6879 (exp1, exp, variable, qualified_name, space_identifier,
6880 typename, typebase): Likewise.
6881 (write_destructor_name, parse_number, lex_one_token,
6882 classify_name, classify_inner_name, c_parse): Add "struct
6883 parser_state" argument. Update function to use parser state.
6884 * c-lang.h: Forward declare "struct parser_state".
6885 (c_parse): Add "struct parser_state" argument.
6886 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6887 (yyparse): Redefine macro to ada_parse_internal.
6888 (pstate): New variable.
6889 (write_int, write_object_renaming, write_var_or_type,
6890 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6891 type_int, type_long, type_long_long, type_float, type_double,
6892 type_long_double, type_char, type_boolean, type_system_address):
6893 Add "struct parser_state" argument.
6894 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6895 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6896 var_or_type, aggregate, aggregate_component_list,
6897 positional_list, others, component_group,
6898 component_associations): Update calls to write_exp* and similar
6899 functions in order to use parser state.
6900 (ada_parse, write_var_from_sym, write_int,
6901 write_exp_op_with_string, write_object_renaming,
6902 find_primitive_type, write_selectors, write_ambiguous_var,
6903 write_var_or_type, write_name_assoc, type_int, type_long,
6904 type_long_long, type_float, type_double, type_long_double,
6905 type_char, type_boolean, type_system_address): Add "struct
6906 parser_state" argument. Adjust function to use parser state.
6907 * ada-lang.c (parse): Likewise.
6908 * ada-lang.h: Forward declare "struct parser_state".
6909 (ada_parse): Add "struct parser_state" argument.
6910 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6911 calls to both functions.
6912 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6913 parser state.
6914 (yyparse): Redefine macro to f_parse_internal.
6915 (pstate): New variable.
6916 (parse_number): Add "struct parser_state" argument.
6917 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6918 and similars in order to use parser state.
6919 (parse_number): Adjust code to use parser state.
6920 (yylex): Likewise.
6921 (f_parse): New function.
6922 * f-lang.h: Forward declare "struct parser_state".
6923 (f_parse): Add "struct parser_state" argument.
6924 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6925 parser state.
6926 (yyparse): Redefine macro for java_parse_internal.
6927 (pstate): New variable.
6928 (push_expression_name, push_expression_name, insert_exp): Add
6929 "struct parser_state" argument.
6930 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6931 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6932 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6933 PostIncrementExpression, PostDecrementExpression,
6934 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6935 UnaryExpressionNotPlusMinus, CastExpression,
6936 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6937 RelationalExpression, EqualityExpression, AndExpression,
6938 ExclusiveOrExpression, InclusiveOrExpression,
6939 ConditionalAndExpression, ConditionalOrExpression,
6940 ConditionalExpression, Assignment, LeftHandSide): Update
6941 calls to write_exp* and similars in order to use parser state.
6942 (parse_number): Ajust code to use parser state.
6943 (yylex): Likewise.
6944 (java_parse): New function.
6945 (push_variable): Add "struct parser_state" argument. Adjust
6946 code to user parser state.
6947 (push_fieldnames, push_qualified_expression_name,
6948 push_expression_name, insert_exp): Likewise.
6949 * jv-lang.h: Forward declare "struct parser_state".
6950 (java_parse): Add "struct parser_state" argument.
6951 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6952 parser state.
6953 (yyparse): Redefine macro to m2_parse_internal.
6954 (pstate): New variable.
6955 (type_exp, exp, fblock, variable, type): Update calls to
6956 write_exp* and similars to use parser state.
6957 (yylex): Likewise.
6958 (m2_parse): New function.
6959 * m2-lang.h: Forward declare "struct parser_state".
6960 (m2_parse): Add "struct parser_state" argument.
6961 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6962 * objc-lang.h: Forward declare "struct parser_state".
6963 (end_msglist): Add "struct parser_state" argument.
6964 * p-exp.y (parse_type): Rewrite macro to use parser state.
6965 (yyparse): Redefine macro to pascal_parse_internal.
6966 (pstate): New variable.
6967 (parse_number): Add "struct parser_state" argument.
6968 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6969 write_exp* and similars in order to use parser state.
6970 (parse_number, yylex): Adjust code to use parser state.
6971 (pascal_parse): New function.
6972 * p-lang.h: Forward declare "struct parser_state".
6973 (pascal_parse): Add "struct parser_state" argument.
6974 * go-exp.y (parse_type): Rewrite macro to use parser state.
6975 (yyparse): Redefine macro to go_parse_internal.
6976 (pstate): New variable.
6977 (parse_number): Add "struct parser_state" argument.
6978 (type_exp, exp1, exp, variable, type): Update calls to
6979 write_exp* and similars in order to use parser state.
6980 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6981 to use parser state.
6982 (go_parse): Likewise.
6983 * go-lang.h: Forward declare "struct parser_state".
6984 (go_parse): Add "struct parser_state" argument.
6985
342587c4
DE
69862014-03-27 Doug Evans <dje@google.com>
6987
6988 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6989
33e80786
DE
69902014-03-27 Doug Evans <dje@google.com>
6991
6992 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6993 Remove argument abbrev_section. All callers updated.
6994
1dbab08b
DE
69952014-03-27 Doug Evans <dje@google.com>
6996
6997 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6998 addr_base, ranges_base.
6999
318d3177
KS
70002014-03-26 Keith Seitz <keiths@redhat.com>
7001
7002 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
7003 types, not VAR_DOMAIN.
7004
1e54db15
SL
70052014-03-25 Sandra Loosemore <sandra@codesourcery.com>
7006
7007 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7008 "ra" registers.
7009 * features/nios2-linux.c: Regenerated.
7010 * features/nios2.c: Regenerated.
7011
d3839ede
PA
70122014-03-25 Pedro Alves <palves@redhat.com>
7013
7014 * cli/cli-script.c (script_from_file): Force the interpreter to
7015 sync mode.
7016
7588d2ec
PL
70172014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7018
7019 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7020 small stack allocation.
7021
a6290449
TG
70222014-03-24 Tristan Gingold <gingold@adacore.com>
7023
7024 * darwin-nat.c (exc_server): Remove unused prototype.
7025 (darwin_dump_message): Correctly display data on x86_64.
7026 (darwin_encode_reply): Fix style.
7027 Add comments and fix indentation.
7028
31ae9d24 70292014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7030
7031 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7032
6339bfc4
DE
70332014-03-22 Doug Evans <xdje42@gmail.com>
7034
7035 * infcmd.c: Whitespace fixes.
7036 (interrupt_command): Merge two function comments into one.
7037
0a07590b
DE
70382014-03-22 Doug Evans <xdje42@gmail.com>
7039
7040 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
7041 All uses updated.
7042
b55fbac4
YQ
70432014-03-22 Yao Qi <yao@codesourcery.com>
7044
7045 * remote.c (target_read_live_memory): Remove.
7046 (memory_xfer_live_readonly_partial): Rename it to
7047 remote_xfer_live_readonly_partial. Remove argument 'object'.
7048 All callers updated. Call remote_read_bytes_1
7049 instead of target_read_live_memory.
7050 * tracepoint.c (set_traceframe_number): Remove.
7051 (make_cleanup_restore_traceframe_number): Likewise .
7052 * tracepoint.h (set_traceframe_number): Remove declaration.
7053 (make_cleanup_restore_traceframe_number): Likewise.
7054
9217e74e
YQ
70552014-03-22 Yao Qi <yao@codesourcery.com>
7056
7057 * remote.c (remote_read_bytes): Move code on reading from the
7058 remote stub to ...
7059 (remote_read_bytes_1): ... here. New function.
7060
8acf9577
YQ
70612014-03-22 Yao Qi <yao@codesourcery.com>
7062
7063 * ctf.c (ctf_xfer_partial): Check the return value of
7064 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
7065 return TARGET_XFER_UNAVAILABLE.
7066 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7067 * target.c (target_read_live_memory): Move it to remote.c.
7068 (memory_xfer_live_readonly_partial): Likewise.
7069 (memory_xfer_partial_1): Move some code to remote_read_bytes.
7070 * remote.c (target_read_live_memory): Moved from target.c.
7071 (memory_xfer_live_readonly_partial): Likewise.
7072 (remote_read_bytes): Factored out from
7073 memory_xfer_partial_1.
7074
feef67ab
DE
70752014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
7076
7077 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7078 NULL pointer.
7079
b65dc60b
PA
70802014-03-21 Pedro Alves <palves@redhat.com>
7081
7082 * infrun.c (normal_stop): Extend comment.
7083
b4ab256d
HZ
70842014-03-21 Hui Zhu <hui@codesourcery.com>
7085 Pedro Alves <palves@redhat.com>
7086
7087 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7088 static buffer.
7089 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7090 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7091 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7092
deba7593
MR
70932014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7094
7095 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7096 `z' formatted output modifier.
7097
1bff71c3
SDJ
70982014-03-20 Tom Tromey <tromey@redhat.com>
7099 Sergio Durigan Junior <sergiodj@redhat.com>
7100
7101 * probe.c (parse_probes): Turn assert into an ordinary error.
7102 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7103 exceptions when parsing probes. Rearrange the code for clarity.
7104
90e28950
TT
71052014-03-20 Tom Tromey <tromey@redhat.com>
7106
7107 PR gdb/14135
7108 * top.c (execute_command): Only dispatch events if the command
7109 started the target.
7110
beb460e8
PA
71112014-03-20 Tom Tromey <tromey@redhat.com>
7112
7113 PR cli/15718
7114 * infcall.c: Include event-top.h.
7115 (run_inferior_call): Call async_disable_stdin if needed.
7116
99619bea
PA
71172014-03-20 Pedro Alves <palves@redhat.com>
7118
7119 * infrun.c (prepare_to_proceed): Delete.
7120 (thread_still_needs_step_over): New function.
7121 (find_thread_needs_step_over): New function.
7122 (proceed): If the current thread needs a step-over, set its
7123 steping_over_breakpoint flag. Adjust to use
7124 find_thread_needs_step_over instead of prepare_to_proceed.
7125 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7126 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7127 breakpoint.
7128 (switch_back_to_stepped_thread): Step over breakpoints of all
7129 threads not the stepping thread, before switching back to the
7130 stepping thread.
7131
2adfaa28
PA
71322014-03-20 Pedro Alves <palves@redhat.com>
7133
7134 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7135 extern.
7136 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7137 * infrun.c (saved_singlestep_ptid)
7138 (stepping_past_singlestep_breakpoint): Delete.
7139 (resume): Remove stepping_past_singlestep_breakpoint handling.
7140 (proceed): Store the prev_pc of the stepping thread too.
7141 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
7142 singlestep_pc.
7143 (enum infwait_states): Delete infwait_thread_hop_state.
7144 (struct execution_control_state) <hit_singlestep_breakpoint>: New
7145 field.
7146 (handle_inferior_event): Adjust.
7147 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
7148 handling and the thread-hop code. Before removing single-step
7149 breakpoints, check whether the thread hit a single-step breakpoint
7150 of another thread. If it did, the trap is not a random signal.
7151 (switch_back_to_stepped_thread): If the event thread hit a
7152 single-step breakpoint, unblock it before switching to the
7153 stepping thread. Handle the case of the stepped thread having
7154 advanced already.
7155 (keep_going): Handle the case of the current thread moving past a
7156 single-step breakpoint.
7157
31e77af2
PA
71582014-03-20 Pedro Alves <palves@redhat.com>
7159
7160 PR breakpoints/7143
7161 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
7162 are being stepped over.
7163 (breakpoint_address_match): Make extern.
7164 * breakpoint.h (breakpoint_address_match): New declaration.
7165 * inferior.h (stepping_past_instruction_at): New declaration.
7166 * infrun.c (struct step_over_info): New type.
7167 (step_over_info): New global.
7168 (set_step_over_info, clear_step_over_info)
7169 (stepping_past_instruction_at): New functions.
7170 (handle_inferior_event): Clear the step-over info when
7171 trap_expected is cleared.
7172 (resume): Remove now stale comment.
7173 (clear_proceed_status): Clear step-over info.
7174 (proceed): Adjust step-over handling to set or clear the step-over
7175 info instead of removing all breakpoints.
7176 (handle_signal_stop): When setting up a thread-hop, don't remove
7177 breakpoints here.
7178 (stop_stepping): Clear step-over info.
7179 (keep_going): Adjust step-over handling to set or clear step-over
7180 info and then always inserting breakpoints, instead of removing
7181 all breakpoints when stepping over one.
7182
b9f437de
PA
71832014-03-20 Pedro Alves <palves@redhat.com>
7184
7185 * infrun.c (previous_inferior_ptid): Adjust comment.
7186 (deferred_step_ptid): Delete.
7187 (infrun_thread_ptid_changed, prepare_to_proceed)
7188 (init_wait_for_inferior): Adjust.
7189 (handle_signal_stop): Delete deferred_step_ptid handling.
7190
06c868a8
JK
71912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7192
7193 PR gdb/15358
7194 * defs.h (sync_quit_force_run): New declaration.
7195 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
7196 * event-top.c (async_sigterm_handler): New declaration.
7197 (async_sigterm_token): New variable.
7198 (async_init_signals): Create also async_sigterm_token.
7199 (async_sigterm_handler): New function.
7200 (sync_quit_force_run): New variable.
7201 (handle_sigterm): Replace quit_force call by other calls.
7202 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
7203
dea80df0
MR
72042014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
7205
7206 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
7207 offset into SPE pseudo registers.
7208
0c7e1a46
PA
72092014-03-18 Pedro Alves <palves@redhat.com>
7210
7211 PR gdb/13860
7212 * inferior.h (print_stop_event): Declare.
7213 * infrun.c (print_stop_event): New, factored out from ...
7214 (normal_stop): ... this.
7215 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
7216 of bpstat_print/print_stack_frame.
7217
9c1fcd01
TT
72182014-03-17 Tom Tromey <tromey@redhat.com>
7219
7220 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
7221
11aa919a
PMR
72222014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
7223
7224 * ada-lang.c (decode_constrained_packed_array): Perform a
7225 minimal coercion for reference with coerce_ref instead of
7226 ada_coerce_ref.
7227
d4ccb5e0
TG
72282014-03-17 Tristan Gingold <gingold@adacore.com>
7229
7230 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
7231 (darwin_solib_create_inferior_hook): Emit a warning if version
7232 is unhandled.
7233
49840f2a
UW
72342014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
7235
7236 * python/py-value.c (get_field_flag): Cast flag_name argument to
7237 PyObject_GetAttrString to support Python 2.4.
7238
ed4123e5
JK
72392014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7240
7241 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
7242 (Global Maintainers): Remove Jan Kratochvil.
7243
d6b64346
PA
72442014-03-14 Pedro Alves <palves@redhat.com>
7245
7246 * inferior.h (terminal_ours_for_output): Rename to ...
7247 (child_terminal_ours_for_output): ... this.
7248 (terminal_save_ours): Rename to ...
7249 (child_terminal_save_ours): ... this.
7250 (terminal_ours): Rename to ...
7251 (child_terminal_ours): ... this.
7252 (terminal_inferior): Rename to ...
7253 (child_terminal_inferior): ... this.
7254 (terminal_init_inferior): Rename to ...
7255 (child_terminal_init_inferior): ... this.
7256 (terminal_init_inferior_with_pgrp): Rename to ...
7257 (child_terminal_init_inferior_with_pgrp): ... this.
7258 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
7259 (child_terminal_init_with_pgrp): ... this.
7260 (terminal_save_ours): Rename to ...
7261 (child_terminal_save_ours): ... this.
7262 (terminal_init_inferior): Rename to ...
7263 (child_terminal_init): ... this. Adjust.
7264 (terminal_inferior): Rename to ...
7265 (child_terminal_inferior): ... this.
7266 (terminal_ours_for_output): Rename to ...
7267 (child_terminal_ours_for_output): ... this. Adjust.
7268 (terminal_ours): Rename to ...
7269 (child_terminal_ours): ... this.
7270 (terminal_ours_1): Rename to ...
7271 (child_terminal_ours_1): ... this. Adjust.
7272 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
7273 * windows-nat.c (do_initial_windows_stuff): Adjust.
7274 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
7275 (gnu_terminal_init): ... this. Adjust.
7276 (gnu_target): Adjust.
7277 * inf-child.c (inf_child_target): Adjust.
7278
5a1e8c7a
DE
72792014-03-13 Doug Evans <xdje42@gmail.com>
7280
7281 PR guile/16612
7282 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
7283 new eq?-hashtab.
7284
350e1a76
DE
72852014-03-13 Doug Evans <xdje42@gmail.com>
7286
7287 * value.c (record_latest_value): Call release_value_or_incref
7288 instead of release_value.
7289
a69900ae
PA
72902014-03-13 Pedro Alves <palves@redhat.com>
7291
7292 * procfs.c (procfs_target): Don't override to_shortname,
7293 to_longname or to_doc.
7294
5db9f0bd
PA
72952014-03-13 Pedro Alves <palves@redhat.com>
7296
7297 * inf-child.c (inf_child_open, inf_child_target): Don't mention
7298 Unix in user visible strings.
7299
5e3a2c38
SS
73002014-03-12 Stan Shebs <stan@codesourcery.com>
7301
7302 * gdbtypes.h: Annotate comments for Doxygen, add a page
7303 block comment with some general info.
7304
8bc2fe48
PA
73052014-03-12 Pedro Alves <palves@redhat.com>
7306
7307 * infcmd.c (prepare_execution_command): New function, factored out
7308 from several execution commands.
7309 (run_command_1, continue_command, step_1, jump_command)
7310 (signal_command, until_command, advance_command, finish_command)
7311 (attach_command): Use prepare_execution_command.
7312
638c5f49
OJ
73132014-03-12 Omair Javaid <omair.javaid@linaro.org>
7314
7315 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
7316 (MAX_BPTS): Define.
7317 (MAX_WPTS): Define.
7318 (struct arm_linux_thread_points): Removed.
7319 (struct arm_linux_process_info): New.
7320 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
7321 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
7322 (arm_linux_find_breakpoints_by_tid): Removed.
7323 (struct arch_lwp_info): New.
7324 (arm_linux_find_process_pid): New functions.
7325 (arm_linux_add_process): New functions.
7326 (arm_linux_process_info_get): New functions.
7327 (arm_linux_forget_process): New function.
7328 (arm_linux_get_debug_reg_state): New function.
7329 (struct update_registers_data): New.
7330 (update_registers_callback): New function.
7331 (arm_linux_insert_hw_breakpoint1): Updated.
7332 (arm_linux_remove_hw_breakpoint1): Updated.
7333 (arm_linux_insert_hw_breakpoint): Updated.
7334 (arm_linux_remove_hw_breakpoint): Updated.
7335 (arm_linux_insert_watchpoint): Updated.
7336 (arm_linux_remove_watchpoint): Updated.
7337 (arm_linux_new_thread): Updated.
7338 (arm_linux_prepare_to_resume): New function.
7339 (arm_linux_new_fork): New function.
7340 (_initialize_arm_linux_nat): Updated.
7341
6d03af93
PA
73422014-03-12 Pedro Alves <palves@redhat.com>
7343
7344 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7345
b3ccfe11
TT
73462014-03-12 Tom Tromey <tromey@redhat.com>
7347
7348 * inf-child.c (return_zero): New function.
7349 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7350 * aix-thread.c (aix_thread_inferior_created): New function.
7351 (aix_thread_attach): Remove.
7352 (init_aix_thread_ops): Don't set to_attach.
7353 (_initialize_aix_thread): Register inferior_created observer.
7354 * corelow.c (init_core_ops): Don't set to_attach or
7355 to_create_inferior.
7356 * exec.c (init_exec_ops): Don't set to_attach or
7357 to_create_inferior.
7358 * infcmd.c (run_command_1): Use find_run_target. Make direct
7359 target calls.
7360 (attach_command): Use find_attach_target. Make direct target
7361 calls.
7362 * record-btrace.c (init_record_btrace_ops): Don't set
7363 to_create_inferior.
7364 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7365 Remove.
7366 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7367 set to_create_inferior.
7368 * target.c (complete_target_initialization): Add assertion.
7369 (target_create_inferior): Remove.
7370 (find_default_attach, find_default_create_inferior): Remove.
7371 (find_attach_target, find_run_target): New functions.
7372 (find_default_is_async_p, find_default_can_async_p)
7373 (target_supports_non_stop, target_attach): Remove.
7374 (init_dummy_target): Don't set to_create_inferior or
7375 to_supports_non_stop.
7376 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7377 TARGET_DEFAULT_FUNC.
7378 <to_create_inferior>: Add comment.
7379 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7380 TARGET_DEFAULT_RETURN.
7381 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7382 (find_attach_target, find_run_target): Declare.
7383 (target_create_inferior): Remove.
7384 (target_has_execution_1): Update comment.
7385 (target_supports_non_stop): Remove.
7386 * target-delegates.c: Rebuild.
7387
91f83b02
PA
73882014-03-12 Pedro Alves <palves@redhat.com>
7389
7390 * inf-child.h: Update comment to not mention Unix.
7391
f1aea813
PA
73922014-03-12 Pedro Alves <palves@redhat.com>
7393
7394 * inf-child.c: Update top comment to not mention Unix. Add
7395 generic comment describing how this target is meant to be used.
7396 (inf_child_post_attach, inf_child_post_startup_inferior)
7397 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7398 Unix in comment.
7399
ee8e9165
PA
74002014-03-12 Pedro Alves <palves@redhat.com>
7401
7402 * nto-procfs.c: Include inf-child.h.
7403 (procfs_ops): Delete global.
7404 (procfs_can_run): Delete method.
7405 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7406 target pointer instead of referencing procfs_ops.
7407 (procfs_prepare_to_store): Delete.
7408 (init_procfs_ops): Delete function.
7409 (procfs_target): New function, based on init_procfs_ops, but
7410 inherit inf_child_target.
7411 (_initialize_procfs): Use procfs_target.
7412
51a9c8c5
PA
74132014-03-12 Pedro Alves <palves@redhat.com>
7414
7415 * windows-nat.c: Include inf-child.h.
7416 (windows_ops): Delete global.
7417 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7418 methods.
7419 (init_windows_ops): Delete function.
7420 (windows_target): New function, based on init_windows_ops, but
7421 inherit inf_child_target.
7422 (_initialize_windows_nat): Use windows_target. Install x86
7423 specific target methods here.
7424
c1966e26
DE
74252014-03-10 Doug Evans <xdje42@gmail.com>
7426
7427 * guile/guile.c (call_initialize_gdb_module): New function.
7428 (initialize_guile): Replace call to scm_init_guile with call to
7429 scm_with_guile.
7430
023db19c
JB
74312014-03-10 Joel Brobecker <brobecker@adacore.com>
7432
7433 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7434 in call to TYPE_CODE macro.
7435
5ec18f2b
JG
74362014-03-10 Jerome Guitton <guitton@adacore.com>
7437
8668be63
JB
7438 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7439 Resolve tagged types to full view.
5ec18f2b 7440
7d03f2eb
HZ
74412014-03-10 Hui Zhu <hui@codesourcery.com>
7442
7443 * target.h (target_insert_breakpoint): Remove "hardware" from its
7444 comments.
7445
c5164cbc
DE
74462014-03-07 Doug Evans <dje@google.com>
7447
7448 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7449
c4a3fee2
DE
74502014-03-07 Doug Evans <dje@google.com>
7451
7452 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7453 Remove unused local comp_dir_attr. Assert exactly one of
7454 stub_comp_unit_die, stub_comp_dir is non-NULL.
7455
3156469c
JB
74562014-03-07 Joel Brobecker <brobecker@adacore.com>
7457
7458 * target.h (complete_target_initialization, add_target):
7459 Add comment.
7460
c1a7b7c6
PA
74612014-03-07 Pedro Alves <palves@redhat.com>
7462
7463 * go32-nat.c: Include inf-child.h.
7464 (go32_ops): Delete global.
7465 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7466 Delete methods.
7467 (go32_create_inferior): Push the passed in target pointer instead
7468 of referencing go32_ops.
7469 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7470 (go32_target): New function, based on init_go32_ops, but inherit
7471 inf_child_target.
7472 (_initialize_go32_nat): Use go32_target. Move parts of
7473 init_go32_ops here.
7474
d3c1a85f
JB
74752014-03-06 Joel Brobecker <brobecker@adacore.com>
7476
7477 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7478 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7479 SYMBOL_VALUE_ADDRESS.
7480 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7481
5fa1d40e
YQ
74822014-03-06 Yao Qi <yao@codesourcery.com>
7483
7484 * breakpoint.c (get_tracepoint_by_number): Remove argument
7485 optional_p. All callers updated. Adjust comments. Update
7486 output message.
7487 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7488
0c13193f
YQ
74892014-03-06 Yao Qi <yao@codesourcery.com>
7490
7491 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7492 early if get_number returns zero. Use 'p' instead of 'args'.
7493
2217da06
YQ
74942014-03-06 Yao Qi <yao@codesourcery.com>
7495
7496 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7497 message.
7498
cc3da688
YQ
74992014-03-06 Yao Qi <yao@codesourcery.com>
7500
7501 PR breakpoints/16508
7502 * tracepoint.c (check_trace_running): New function.
7503 (trace_find_command): Move code to check_trace_running and
7504 call check_trace_running.
7505 (trace_find_pc_command): Likewise.
7506 (trace_find_tracepoint_command): Likewise.
7507 (trace_find_line_command): Likewise.
7508 (trace_find_range_command): Likewise.
7509 * tracepoint.h (check_trace_running): Likewise.
7510 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7511
6a5f844b
YQ
75122014-03-06 Yao Qi <yao@codesourcery.com>
7513
7514 * target.h (struct target_ops) <to_traceframe_info>: Use
7515 TARGET_DEFAULT_NORETURN (tcomplain ()).
7516 * target-delegates.c: Regenerated.
7517
0f26cec1
PA
75182014-03-05 Pedro Alves <palves@redhat.com>
7519
7520 PR gdb/16575
7521 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7522 void. Update comment.
7523 (dcache_xfer_memory): Delete.
7524 (dcache_read_memory_partial): New, based on the read bits of
7525 dcache_xfer_memory.
7526 (dcache_update): Add status parameter. Use ULONGEST for len, and
7527 adjust. Discard cache lines if the reason for the update was
7528 error.
7529 * dcache.h (dcache_xfer_memory): Delete declaration.
7530 (dcache_read_memory_partial): New declaration.
7531 (dcache_update): Update prototype.
7532 * target.c (raw_memory_xfer_partial): Update the dcache here.
7533 (memory_xfer_partial_1): Don't handle dcache writes here.
7534
b2b255bd
MF
75352014-03-05 Mike Frysinger <vapier@gentoo.org>
7536
7537 * remote-sim.c (gdbsim_load): Add const to prog.
7538
5d9cf8a4
TT
75392014-03-03 Tom Tromey <tromey@redhat.com>
7540
7541 * elfread.c (probe_key): Change to bfd_data.
7542 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7543 now per-BFD, not per-objfile.
7544 * stap-probe.c (stap_probe_destroy): Update comment.
7545 (handle_stap_probe): Allocate on the per-BFD obstack.
7546
729662a5
TT
75472014-03-03 Tom Tromey <tromey@redhat.com>
7548
7549 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7550 * breakpoint.c (create_longjmp_master_breakpoint): Use
7551 get_probe_address.
7552 (add_location_to_breakpoint, bkpt_probe_insert_location)
7553 (bkpt_probe_remove_location): Update.
7554 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7555 * elfread.c (elf_symfile_relocate_probe): Remove.
7556 (elf_probe_fns): Update.
7557 (insert_exception_resume_breakpoint): Change type of "probe"
7558 parameter to bound_probe.
7559 (check_exception_resume): Update.
7560 * objfiles.c (objfile_relocate1): Don't relocate probes.
7561 * probe.c (bound_probe_s): New typedef.
7562 (parse_probes): Use get_probe_address. Set sal's objfile.
7563 (find_probe_by_pc): Return a bound_probe.
7564 (collect_probes): Return a VEC(bound_probe_s).
7565 (compare_probes): Update.
7566 (gen_ui_out_table_header_info): Change type of "probes"
7567 parameter. Update.
7568 (info_probes_for_ops): Update.
7569 (get_probe_address): New function.
7570 (probe_safe_evaluate_at_pc): Update.
7571 * probe.h (struct probe_ops) <get_probe_address>: New field.
7572 <set_semaphore, clear_semaphore>: Add objfile parameter.
7573 (struct probe) <objfile>: Remove field.
7574 <arch>: New field.
7575 <address>: Update comment.
7576 (struct bound_probe): New.
7577 (find_probe_by_pc): Return a bound_probe.
7578 (get_probe_address): Declare.
7579 * solib-svr4.c (struct probe_and_action) <address>: New field.
7580 (hash_probe_and_action, equal_probe_and_action): Update.
7581 (register_solib_event_probe): Add address parameter.
7582 (solib_event_probe_at): Update.
7583 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7584 get_probe_address.
7585 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7586 (stap_get_probe_address): New function.
7587 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7588 (compile_probe_arg): Update.
7589 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7590 address.
7591 (handle_stap_probe): Don't relocate the probe.
7592 (stap_relocate): Remove.
7593 (stap_gen_info_probes_table_values): Update.
7594 (stap_probe_ops): Remove stap_relocate.
7595 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7596 (debug_sym_probe_fns): Update.
7597 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7598 * symtab.c (init_sal): Use memset.
7599 * symtab.h (struct symtab_and_line) <objfile>: New field.
7600 * tracepoint.c (start_tracing, stop_tracing): Update.
7601
ff887920
TT
76022014-03-03 Tom Tromey <tromey@redhat.com>
7603
7604 * probe.h (parse_probes, find_probe_by_pc)
7605 (find_probes_in_objfile): Fix comments.
7606
f0407826
DE
76072014-03-02 Doug Evans <xdje42@gmail.com>
7608
7609 * infrun.c (handle_signal_stop): Replace test for
7610 TARGET_WAITKIND_STOPPED with an assert.
7611
35e6a711
DE
76122014-03-02 Doug Evans <xdje42@gmail.com>
7613
7614 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7615
667f9d0b
DE
76162014-03-02 Doug Evans <xdje42@gmail.com>
7617
7618 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7619
dc92ace0
MK
76202014-03-01 Mark Kettenis <kettenis@gnu.org>
7621
7622 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7623
a900370f
MK
76242014-03-01 Mark Kettenis <kettenis@gnu.org>
7625
7626 * i386obsd-nat.c: Include "obsd-nat.h".
7627 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7628 add_target.
7629 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7630
b72a7981
MK
76312014-03-01 Mark Kettenis <kettenis@gnu.org>
7632
7633 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7634
96c70aba
MK
76352014-03-01 Mark Kettenis <kettenis@gnu.org>
7636
7637 * mips64obsd-nat.c: Include "obsd-nath".
7638 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7639 add_target
7640 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7641
874a80af
MK
76422014-03-01 Mark Kettenis <kettenis@gnu.org>
7643
8fd408f1
MK
7644 * amd64obsd-nat.c: Include "obsd-nat,h.
7645 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7646 add_target.
874a80af
MK
7647 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7648
9cf95373
SC
76492014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7650
7651 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7652 (find_overload_match): Update call to find_oload_champ.
7653 (find_oload_champ_namespace_loop): Likewise
7654
863e4da4
MK
76552014-02-28 Mark Kettenis <kettenis@gnu.org>
7656
025cac40
MK
7657 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7658
1ed586ce
MK
7659 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7660 * config/sparc/obsd64.mh: New file.
7661 * sparc64obsd-nat.c: New file.
7662
863e4da4
MK
7663 * obsd-nat.h: New file.
7664 * obsd-nat.c: New file.
7665 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7666 (ALLDEPFILES): Add obsd-nat.c.
7667
89de4da4
TT
76682014-02-28 Tom Tromey <tromey@redhat.com>
7669
7670 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7671 * cli-out.h (cli_ui_out_impl): Now const.
7672 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7673 * ui-out.c (struct ui_out) <impl>: Now const.
7674 (default_ui_out_impl): Now const.
7675 (ui_out_new): Make 'impl' parameter const.
7676 * ui-out.h (ui_out_new): Update.
7677
c725e7b6
MK
76782014-02-27 Mark Kettenis <kettenis@gnu.org>
7679
7680 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7681
670b46b3
MK
76822014-02-27 Mark Kettenis <kettenis@gnu.org>
7683
7684 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7685
c91550fc
JK
76862014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7687
7688 Additional PR 8882 fix.
7689 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7690
2fa0369e
PA
76912014-02-27 Pedro Alves <palves@redhat.com>
7692
7693 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7694 isn't set.
7695
d632a097
PA
76962014-02-27 Pedro Alves <palves@redhat.com>
7697
7698 PR 12702
7699 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7700 * nat/linux-waitpid.c: Include string.h.
7701 (status_to_str): Moved here and made extern.
7702 * nat/linux-waitpid.h (status_to_str): New declaration.
7703
2ebd5a35
HZ
77042014-02-27 Hui Zhu <hui@codesourcery.com>
7705
7706 PR 12702
7707 * infrun.c (ptid_match): Move ...
7708 * common/ptid.c (ptid_match): ... here.
7709 * inferior.h (ptid_match): Move ...
7710 * common/ptid.h (ptid_match): ... here.
7711
3cdd631f
MK
77122014-02-27 Mark Kettenis <kettenis@gnu.org>
7713
7714 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7715 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7716 gdb_target_obs.
7717
bee30a64
MK
77182014-02-27 Mark Kettenis <kettenis@gnu.org>
7719
7720 * obsd-tdep.c (obsd_auxv_parse): New function.
7721 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
7722
7723 * gdbarch.sh (auxv_parse): New.
7724 * gdbarch.h: Regenerated.
7725 * gdbarch.c: Regenerated.
7726 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7727
7a5a839f
LC
77282014-02-26 Ludovic Courtès <ludo@gnu.org>
7729
7730 * guile/scm-value.c (gdbscm_history_append_x): New function.
7731 (value_functions): Add it.
7732
31aa7e4e
JB
77332014-02-27 Joel Brobecker <brobecker@adacore.com>
7734
7735 * dwarf2read.c (attr_value_as_address): New function.
7736 (dwarf2_find_base_address, read_call_site_scope): Use
7737 attr_value_as_address in place of DW_ADDR.
7738 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7739 the low and high addresses. Slight rework of the handling
7740 of the high pc being a constant form, and limit it to
7741 DWARF verson 4 or higher.
7742 (dwarf2_record_block_ranges): Likewise.
7743 (read_partial_die): Likewise.
7744 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7745
9b333ba3
TT
77462014-02-26 Tom Tromey <tromey@redhat.com>
7747
7748 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7749
5f6cac40
TT
77502014-02-26 Tom Tromey <tromey@redhat.com>
7751
7752 * elfread.c (elf_read_minimal_symbols): Return early if
7753 minimal symbols have already been read. Add "ei" parameter.
7754 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7755 * minsyms.c (prim_record_minimal_symbol_full): Update.
7756 * objfiles.h (struct objstats) <n_minsyms>: Move...
7757 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7758 * symmisc.c (print_objfile_statistics): Update.
7759
2750ef27
TT
77602014-02-26 Tom Tromey <tromey@redhat.com>
7761
7762 * elfread.c (elf_read_minimal_symbols): New function, from
7763 elf_symfile_read.
7764 (elf_symfile_read): Call it.
7765
34643a32
TT
77662014-02-26 Tom Tromey <tromey@redhat.com>
7767
7768 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7769 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7770 (lookup_minimal_symbol_solib_trampoline)
7771 (lookup_minimal_symbol_by_pc_section_1)
7772 (lookup_minimal_symbol_and_objfile): Update.
7773 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7774 Don't allocate a minimal symbol if minsyms have already been read.
7775 (build_minimal_symbol_hash_tables): Update.
7776 (install_minimal_symbols): Do nothing if minsyms already read.
7777 Use the per-BFD obstack.
7778 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7779 * objfiles.c (allocate_objfile): Call
7780 terminate_minimal_symbol_table later.
7781 (have_minimal_symbols): Update.
7782 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7783 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7784 Move from struct objfile.
7785 <minsyms_read>: New field.
7786 (struct objfile) <msymbols, minimal_symbol_count,
7787 msymbol_hash, msymbol_demangled_hash>: Move.
7788 (ALL_OBJFILE_MSYMBOLS): Update.
7789 * symfile.c (read_symbols): Set minsyms_read.
7790 (reread_symbols): Update.
7791 * symmisc.c (dump_objfile, dump_msymbols): Update.
7792
2273f0ac
TT
77932014-02-26 Tom Tromey <tromey@redhat.com>
7794
7795 * minsyms.c (msymbols_sort): Remove.
7796 * minsyms.h (msymbols_sort): Remove.
7797 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7798 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7799 * elfread.c (elf_symtab_read): Don't add section offsets.
7800 * xcoffread.c (record_minimal_symbol): Don't add section offset
7801 to minimal symbol address.
7802 * somread.c (text_offset, data_offset): Remove.
7803 (som_symtab_read): Don't add section offsets to minimal symbol
7804 addresses.
7805 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7806 Don't add section offsets to minimal symbols.
7807 * coffread.c (coff_symtab_read): Don't add section offsets
7808 to minimal symbol addresses.
7809 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7810 to minimal symbol addresses.
7811 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7812 section offset to minimal symbol addresses.
7813 * mdebugread.c (parse_partial_symbols): Don't add section
7814 offset to minimal symbol addresses.
7815 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7816 offset to minimal symbol addresses.
7817
77e371c0
TT
78182014-02-26 Tom Tromey <tromey@redhat.com>
7819
7820 * ada-lang.c (ada_main_name): Update.
7821 (ada_add_standard_exceptions): Update.
7822 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7823 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7824 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7825 * auxv.c (ld_so_xfer_auxv): Update.
7826 * avr-tdep.c (avr_scan_prologue): Update.
7827 * ax-gdb.c (gen_var_ref): Update.
7828 * blockframe.c (get_pc_function_start)
7829 (find_pc_partial_function_gnu_ifunc): Update.
7830 * breakpoint.c (create_overlay_event_breakpoint)
7831 (create_longjmp_master_breakpoint)
7832 (create_std_terminate_master_breakpoint)
7833 (create_exception_master_breakpoint): Update.
7834 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7835 * c-valprint.c (c_val_print): Update.
7836 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7837 * common/agent.c (agent_look_up_symbols): Update.
7838 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7839 * dwarf2loc.c (call_site_to_target_addr): Update.
7840 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7841 * elfread.c (elf_gnu_ifunc_record_cache)
7842 (elf_gnu_ifunc_resolve_by_got): Update.
7843 * findvar.c (default_read_var_value): Update.
7844 * frame.c (inside_main_func): Update.
7845 * frv-tdep.c (frv_frame_this_id): Update.
7846 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7847 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7848 Update.
7849 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7850 (hppa_hpux_find_dummy_bpaddr): Update.
7851 * hppa-tdep.c (hppa_symbol_address): Update.
7852 * infcmd.c (until_next_command): Update.
7853 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7854 Update.
7855 * linespec.c (minsym_found, add_minsym): Update.
7856 * linux-nat.c (get_signo): Update.
7857 * linux-thread-db.c (inferior_has_bug): Update.
7858 * m32c-tdep.c (m32c_return_value)
7859 (m32c_m16c_address_to_pointer): Update.
7860 * m32r-tdep.c (m32r_frame_this_id): Update.
7861 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7862 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7863 * maint.c (maintenance_translate_address): Update.
7864 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7865 (frob_address): New function.
7866 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7867 frob_address. Rename parameter to "pc_in".
7868 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7869 addresses.
7870 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7871 Update.
7872 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7873 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7874 * objc-lang.c (find_objc_msgsend): Update.
7875 * objfiles.c (objfile_relocate1): Update.
7876 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7877 * p-valprint.c (pascal_val_print): Update.
7878 * parse.c (write_exp_msymbol): Update.
7879 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7880 (ppc_elfv2_skip_entrypoint): Update.
7881 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7882 * printcmd.c (build_address_symbolic, msym_info)
7883 (address_info): Update.
7884 * proc-service.c (ps_pglobal_lookup): Update.
7885 * psymtab.c (find_pc_sect_psymtab_closer)
7886 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7887 Change msymbol parameter to bound_minimal_symbol.
7888 * ravenscar-thread.c (get_running_thread_id): Update.
7889 * remote.c (remote_check_symbols): Update.
7890 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7891 address.
7892 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7893 * solib-dsbt.c (lm_base): Update.
7894 * solib-frv.c (lm_base, main_got): Update.
7895 * solib-irix.c (locate_base): Update.
7896 * solib-som.c (som_solib_create_inferior_hook)
7897 (link_map_start): Update.
7898 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7899 * solib-svr4.c (elf_locate_base, enable_break): Update.
7900 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7901 (flush_ea_cache): Update.
7902 * stabsread.c (define_symbol, scan_file_globals): Update.
7903 * stack.c (find_frame_funname): Update.
7904 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7905 (debug_qf_find_pc_sect_symtab): Update.
7906 * symfile.c (simple_read_overlay_table)
7907 (simple_overlay_update): Update.
7908 * symfile.h (struct quick_symbol_functions)
7909 <find_pc_sect_symtab>: Change type of msymbol to
7910 bound_minimal_symbol.
7911 * symmisc.c (dump_msymbols): Update.
7912 * symtab.c (find_pc_sect_symtab_via_partial)
7913 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7914 (search_symbols, print_msymbol_info): Update.
7915 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7916 (MSYMBOL_VALUE_ADDRESS): Redefine.
7917 (BMSYMBOL_VALUE_ADDRESS): New macro.
7918 * tracepoint.c (scope_info): Update.
7919 * tui/tui-disasm.c (tui_find_disassembly_address)
7920 (tui_get_begin_asm_address): Update.
7921 * valops.c (find_function_in_inferior): Update.
7922 * value.c (value_static_field, value_fn_field): Update.
7923
3b7344d5
TT
79242014-02-26 Tom Tromey <tromey@redhat.com>
7925
7926 * ada-lang.c (ada_update_initial_language): Update.
7927 (ada_main_name, ada_has_this_exception_support): Update.
7928 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7929 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7930 * arm-tdep.c (arm_skip_stub): Update.
7931 * auxv.c (ld_so_xfer_auxv): Update.
7932 * avr-tdep.c (avr_scan_prologue): Update.
7933 * ax-gdb.c (gen_var_ref): Update.
7934 * breakpoint.c (struct breakpoint_objfile_data)
7935 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7936 type to bound_minimal_symbol.
7937 (create_overlay_event_breakpoint)
7938 (create_longjmp_master_breakpoint)
7939 (create_std_terminate_master_breakpoint)
7940 (create_exception_master_breakpoint): Update.
7941 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7942 * c-exp.y (classify_name): Update.
7943 * coffread.c (coff_symfile_read): Update.
7944 * common/agent.c (agent_look_up_symbols): Update.
7945 * d-lang.c (d_main_name): Update.
7946 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7947 * dec-thread.c (enable_dec_thread): Update.
7948 * dwarf2loc.c (call_site_to_target_addr): Update.
7949 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7950 * eval.c (evaluate_subexp_standard): Update.
7951 * findvar.c (struct minsym_lookup_data) <result>: Change type
7952 to bound_minimal_symbol.
7953 <objfile>: Remove.
7954 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7955 * frame.c (inside_main_func): Update.
7956 * frv-tdep.c (frv_frame_this_id): Update.
7957 * gcore.c (call_target_sbrk): Update.
7958 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7959 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7960 Update.
7961 * go-lang.c (go_main_name): Update.
7962 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7963 (hppa_hpux_find_import_stub_for_addr): Update.
7964 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7965 Update. Change return type.
7966 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7967 type.
7968 * jit.c (jit_breakpoint_re_set_internal): Update.
7969 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7970 Update.
7971 * linux-nat.c (get_signo): Update.
7972 * linux-thread-db.c (inferior_has_bug): Update
7973 * m32c-tdep.c (m32c_return_value)
7974 (m32c_m16c_address_to_pointer): Update.
7975 * m32r-tdep.c (m32r_frame_this_id): Update.
7976 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7977 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7978 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7979 lookup_minimal_symbol. Change return type.
7980 (lookup_minimal_symbol): Remove.
7981 (lookup_bound_minimal_symbol): Update.
7982 (lookup_minimal_symbol_text): Change return type.
7983 (lookup_minimal_symbol_solib_trampoline): Change return type.
7984 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7985 (lookup_minimal_symbol_solib_trampoline): Change return type.
7986 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7987 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7988 (value_nsstring, find_imps): Update.
7989 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7990 * p-lang.c (pascal_main_name): Update.
7991 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7992 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7993 * proc-service.c (ps_pglobal_lookup): Update.
7994 * ravenscar-thread.c (get_running_thread_msymbol): Change
7995 return type.
7996 (has_ravenscar_runtime, get_running_thread_id): Update.
7997 * remote.c (remote_check_symbols): Update.
7998 * sol-thread.c (ps_pglobal_lookup): Update.
7999 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8000 * solib-dsbt.c (lm_base): Update.
8001 * solib-frv.c (lm_base, frv_relocate_section_addresses):
8002 Update.
8003 * solib-irix.c (locate_base): Update.
8004 * solib-som.c (som_solib_create_inferior_hook)
8005 (som_solib_desire_dynamic_linker_symbols, link_map_start):
8006 Update.
8007 * solib-spu.c (spu_enable_break): Update.
8008 * solib-svr4.c (elf_locate_base, enable_break): Update.
8009 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8010 (flush_ea_cache): Update.
8011 * stabsread.c (define_symbol): Update.
8012 * symfile.c (simple_read_overlay_table): Update.
8013 * symtab.c (find_pc_sect_line): Update.
8014 * tracepoint.c (scope_info): Update.
8015 * tui-disasm.c (tui_get_begin_asm_address): Update.
8016 * value.c (value_static_field): Update.
8017
40c1a007
TT
80182014-02-26 Tom Tromey <tromey@redhat.com>
8019
8020 * minsyms.c (prim_record_minimal_symbol_full): Use
8021 SET_MSYMBOL_VALUE_ADDRESS.
8022 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8023 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8024 SET_MSYMBOL_VALUE_ADDRESS.
8025 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8026 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8027
efd66ac6
TT
80282014-02-26 Tom Tromey <tromey@redhat.com>
8029
8030 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8031 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8032 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8033 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8034 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8035 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
8036 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
8037 * ada-lang.c (ada_main_name): Update.
8038 (ada_lookup_simple_minsym): Update.
8039 (ada_make_symbol_completion_list): Update.
8040 (ada_add_standard_exceptions): Update.
8041 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
8042 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8043 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
8044 * arm-tdep.c (skip_prologue_function): Update.
8045 (arm_skip_stack_protector, arm_skip_stub): Update.
8046 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
8047 (arm_wince_skip_main_prologue): Update.
8048 * auxv.c (ld_so_xfer_auxv): Update.
8049 * avr-tdep.c (avr_scan_prologue): Update.
8050 * ax-gdb.c (gen_var_ref): Update.
8051 * block.c (call_site_for_pc): Update.
8052 * blockframe.c (get_pc_function_start): Update.
8053 (find_pc_partial_function_gnu_ifunc): Update.
8054 * breakpoint.c (create_overlay_event_breakpoint): Update.
8055 (create_longjmp_master_breakpoint): Update.
8056 (create_std_terminate_master_breakpoint): Update.
8057 (create_exception_master_breakpoint): Update.
8058 (resolve_sal_pc): Update.
8059 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8060 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
8061 Update.
8062 * c-valprint.c (c_val_print): Update.
8063 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8064 * coffread.c (coff_symfile_read): Update.
8065 * common/agent.c (agent_look_up_symbols): Update.
8066 * dbxread.c (find_stab_function_addr): Update.
8067 (end_psymtab): Update.
8068 * dwarf2loc.c (call_site_to_target_addr): Update.
8069 (func_verify_no_selftailcall): Update.
8070 (tailcall_dump): Update.
8071 (call_site_find_chain_1): Update.
8072 (dwarf_expr_reg_to_entry_parameter): Update.
8073 * elfread.c (elf_gnu_ifunc_record_cache): Update.
8074 (elf_gnu_ifunc_resolve_by_got): Update.
8075 * f-valprint.c (info_common_command): Update.
8076 * findvar.c (read_var_value): Update.
8077 * frame.c (get_prev_frame_1): Update.
8078 (inside_main_func): Update.
8079 * frv-tdep.c (frv_skip_main_prologue): Update.
8080 (frv_frame_this_id): Update.
8081 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8082 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8083 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8084 (gnuv3_skip_trampoline): Update.
8085 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8086 (hppa64_hpux_in_solib_call_trampoline): Update.
8087 (hppa_hpux_skip_trampoline_code): Update.
8088 (hppa64_hpux_search_dummy_call_sequence): Update.
8089 (hppa_hpux_find_import_stub_for_addr): Update.
8090 (hppa_hpux_find_dummy_bpaddr): Update.
8091 * hppa-tdep.c (hppa_symbol_address)
8092 (hppa_lookup_stub_minimal_symbol): Update.
8093 * i386-tdep.c (i386_skip_main_prologue): Update.
8094 (i386_pe_skip_trampoline_code): Update.
8095 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8096 * infcall.c (get_function_name): Update.
8097 * infcmd.c (until_next_command): Update.
8098 * jit.c (jit_breakpoint_re_set_internal): Update.
8099 (jit_inferior_init): Update.
8100 * linespec.c (minsym_found): Update.
8101 (add_minsym): Update.
8102 * linux-fork.c (info_checkpoints_command): Update.
8103 * linux-nat.c (get_signo): Update.
8104 * linux-thread-db.c (inferior_has_bug): Update.
8105 * m32c-tdep.c (m32c_return_value): Update.
8106 (m32c_m16c_address_to_pointer): Update.
8107 (m32c_m16c_pointer_to_address): Update.
8108 * m32r-tdep.c (m32r_frame_this_id): Update.
8109 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8110 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8111 * maint.c (maintenance_translate_address): Update.
8112 * minsyms.c (add_minsym_to_hash_table): Update.
8113 (add_minsym_to_demangled_hash_table): Update.
8114 (msymbol_objfile): Update.
8115 (lookup_minimal_symbol): Update.
8116 (iterate_over_minimal_symbols): Update.
8117 (lookup_minimal_symbol_text): Update.
8118 (lookup_minimal_symbol_by_pc_name): Update.
8119 (lookup_minimal_symbol_solib_trampoline): Update.
8120 (lookup_minimal_symbol_by_pc_section_1): Update.
8121 (lookup_minimal_symbol_and_objfile): Update.
8122 (prim_record_minimal_symbol_full): Update.
8123 (compare_minimal_symbols): Update.
8124 (compact_minimal_symbols): Update.
8125 (build_minimal_symbol_hash_tables): Update.
8126 (install_minimal_symbols): Update.
8127 (terminate_minimal_symbol_table): Update.
8128 (find_solib_trampoline_target): Update.
8129 (minimal_symbol_upper_bound): Update.
8130 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8131 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8132 (mips_skip_pic_trampoline_code): Update.
8133 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8134 * objc-lang.c (selectors_info): Update.
8135 (classes_info): Update.
8136 (find_methods): Update.
8137 (find_imps): Update.
8138 (find_objc_msgsend): Update.
8139 * objfiles.c (objfile_relocate1): Update.
8140 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
8141 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8142 * p-valprint.c (pascal_val_print): Update.
8143 * parse.c (write_exp_msymbol): Update.
8144 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
8145 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
8146 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8147 * printcmd.c (build_address_symbolic): Update.
8148 (sym_info): Update.
8149 (address_info): Update.
8150 * proc-service.c (ps_pglobal_lookup): Update.
8151 * psymtab.c (find_pc_sect_psymtab_closer): Update.
8152 (find_pc_sect_psymtab): Update.
8153 * python/py-framefilter.c (py_print_frame): Update.
8154 * ravenscar-thread.c (get_running_thread_id): Update.
8155 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
8156 Update.
8157 * remote.c (remote_check_symbols): Update.
8158 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
8159 (rs6000_skip_trampoline_code): Update.
8160 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
8161 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8162 * solib-dsbt.c (lm_base): Update.
8163 * solib-frv.c (lm_base): Update.
8164 (main_got): Update.
8165 * solib-irix.c (locate_base): Update.
8166 * solib-som.c (som_solib_create_inferior_hook): Update.
8167 (som_solib_desire_dynamic_linker_symbols): Update.
8168 (link_map_start): Update.
8169 * solib-spu.c (spu_enable_break): Update.
8170 (ocl_enable_break): Update.
8171 * solib-svr4.c (elf_locate_base): Update.
8172 (enable_break): Update.
8173 * spu-tdep.c (spu_get_overlay_table): Update.
8174 (spu_catch_start): Update.
8175 (flush_ea_cache): Update.
8176 * stabsread.c (define_symbol): Update.
8177 (scan_file_globals): Update.
8178 * stack.c (find_frame_funname): Update.
8179 (frame_info): Update.
8180 * symfile.c (simple_read_overlay_table): Update.
8181 (simple_overlay_update): Update.
8182 * symmisc.c (dump_msymbols): Update.
8183 * symtab.c (fixup_section): Update.
8184 (find_pc_sect_line): Update.
8185 (skip_prologue_sal): Update.
8186 (search_symbols): Update.
8187 (print_msymbol_info): Update.
8188 (rbreak_command): Update.
8189 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
8190 (completion_list_objc_symbol): Update.
8191 (default_make_symbol_completion_list_break_on): Update.
8192 * tracepoint.c (scope_info): Update.
8193 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
8194 (tui_get_begin_asm_address): Update.
8195 * valops.c (find_function_in_inferior): Update.
8196 * value.c (value_static_field): Update.
8197 (value_fn_field): Update.
8198
50e65b17
TT
81992014-02-26 Tom Tromey <tromey@redhat.com>
8200
8201 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
8202 bound minimal symbols. Move code that knows about minsym
8203 table layout...
8204 * minsyms.c (minimal_symbol_upper_bound): ... here. New
8205 function.
8206 * minsyms.h (minimal_symbol_upper_bound): Declare.
8207 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
8208 minimal_symbol_upper_bound.
8209
1b588015
JB
82102014-02-27 Joel Brobecker <brobecker@adacore.com>
8211
8212 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
8213 Use the type's name if its basic type does not have a tag.
8214
dbb9c2b1
JB
82152014-02-27 Joel Brobecker <brobecker@adacore.com>
8216
8217 * dwarf2read.c (read_subrange_type): Add comment.
8218
55426c9d
JB
82192014-02-27 Joel Brobecker <brobecker@adacore.com>
8220
8221 * dwarf2read.c (update_enumeration_type_from_children): New
8222 function, mostly extracted from process_structure_scope.
8223 (read_enumeration_type): Call update_enumeration_type_from_children.
8224 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
8225 and flag_flag_enum fields.
8226
f2fce0ca
PA
82272014-02-26 Pedro Alves <palves@redhat.com>
8228
8229 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
8230 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
8231 to_xfer_partial method.
8232
7a44e40e
PA
82332014-02-26 Pedro Alves <palves@redhat.com>
8234
8235 * target.c (complete_target_initialization): Don't install
8236 default_xfer_partial as to_xfer_partial hook.
8237 (nomemory): Delete.
8238 (update_current_target): Don't INHERIT nor de_fault
8239 deprecated_xfer_memory. Delete de_fault macro.
8240 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
8241 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
8242 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
8243 field.
8244
bd265cd0
PA
82452014-02-26 Pedro Alves <palves@redhat.com>
8246
8247 * go32-nat.c (my_write_child): New function.
8248 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
8249 (go32_xfer_partial): New function.
8250 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
8251 Instead install a to_xfer_partial hook.
8252
9d46c4e5
PA
82532014-02-26 Pedro Alves <palves@redhat.com>
8254
8255 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
8256 to_xfer_partial helper. Rewrite.
8257 (procfs_xfer_partial): New function.
8258 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
8259 Install a to_xfer_partial hook.
8260
a1583b1f
PA
82612014-02-26 Pedro Alves <palves@redhat.com>
8262
8263 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
8264 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
8265 (m32r_xfer_partial): New function.
8266 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
8267 Install a to_xfer_partial hook.
8268
6df1b29f
PA
82692014-02-26 Pedro Alves <palves@redhat.com>
8270
8271 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
8272 helper.
8273 (mips_xfer_partial): New function.
8274 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
8275 hook. Install a to_xfer_partial hook.
8276
dc53a7ad
JB
82772014-02-26 Joel Brobecker <brobecker@adacore.com>
8278
8279 * gdbtypes.h (create_array_type_with_stride): Add declaration.
8280 * gdbtypes.c (create_array_type_with_stride): New function,
8281 renaming create_array_type, but with an added parameter
8282 called "bit_stride".
8283 (create_array_type): Re-implement using
8284 create_array_type_with_stride.
8285 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
8286 and DW_AT_bit_stride attributes.
8287
12ab52e9
PA
82882014-02-26 Pedro Alves <palves@redhat.com>
8289
8290 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
8291 task-specific breakpoints.
8292
d16461ae
PA
82932014-02-25 Pedro Alves <palves@redhat.com>
8294
8295 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
8296 handling of object == TARGET_OBJECT_UNWIND_TABLE.
8297
a8b16220
SS
82982014-02-25 Stan Shebs <stan@codesourcery.com>
8299
8300 * defs.h: Annotate comments for Doxygen.
8301
b9e795ee
TT
83022014-02-25 Tom Tromey <tromey@redhat.com>
8303
8304 * target.h (target_ignore): Don't declare.
8305 * target.c (target_ignore): Remove.
8306
849c862e
JK
83072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8308
8309 PR gdb/16626
8310 * auto-load.c (auto_load_objfile_script_1): Change filename to
8311 debugfile.
8312
475109d8
JB
83132014-02-25 Joel Brobecker <brobecker@adacore.com>
8314
8315 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
8316 documentation. Adjust prototype to match the target_ops
8317 to_xfer_partial method. Adjust implementation accordingly.
8318
e186c3bd
HZ
83192014-02-25 Hui Zhu <hui@codesourcery.com>
8320
8321 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
8322 to_traceframe_info.
8323
6d451942
KB
83242014-02-25 Kevin Buettner <kevinb@redhat.com>
8325
041ab8b4 8326 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
8327 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
8328 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
8329 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
8330 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8331 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
8332 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
8333 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
8334 New constants.
8335 (rl78_register_type): Use a data pointer type for SP and
8336 new pseudo registers mentioned above. Use a 16 bit integer
8337 type for all other register pairs.
8338 (rl78_register_name, rl78_g10_register_name): Update for
8339 new pseudo registers.
8340 (rl78_pseudo_register_read): Likewise.
8341 (rl78_pseudo_register_write): Likewise.
8342 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8343 to the newly added pseudo registers.
8344
eddf0bae
DE
83452014-02-24 Doug Evans <dje@google.com>
8346
8347 * value.c (record_latest_value): Fix comment.
8348 * printcmd.c (print_command_1): Remove code to handle -1 return from
8349 record_latest_value.
8350
e96027e0
PA
83512014-02-24 Pedro Alves <palves@redhat.com>
8352
8353 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8354 deprecated_xfer_memory hook.
8355 (procfs_xfer_partial): Call procfs_xfer_memory instead
8356 of the deprecated_xfer_memory target hook.
8357 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8358 helper.
8359
0837c976
YZ
83602014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8361
8362 * windows-nat.c (windows_xfer_shared_libraries): Return
8363 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8364 requested object is TARGET_OBJECT_LIBRARIES.
8365
bc113b4e
YQ
83662014-02-24 Yao Qi <yao@codesourcery.com>
8367
8368 * target.h (enum target_xfer_status)
8369 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8370 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8371 explicitly. New.
8372 * corefile.c (memory_error_message): User updated.
8373 * exec.c (section_table_read_available_memory): Likewise.
8374 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8375 * target.c (target_xfer_status_to_string): Likewise.
8376 (raw_memory_xfer_partial): Likewise.
8377 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8378 * valops.c (read_value_memory): Likewise.
8379 * exec.h: Update comments.
8380
01cb8804
YQ
83812014-02-24 Yao Qi <yao@codesourcery.com>
8382
8383 * target.c (target_xfer_status_to_string): Rename argument err
8384 to status.
8385 * target.h (target_xfer_status_to_string): Update declaration.
8386 Replace target_xfer_error_to_string with
8387 target_xfer_status_to_string in comment.
8388
93063aa6
YQ
83892014-02-24 Yao Qi <yao@codesourcery.com>
8390
8391 * mips-linux-nat.c (super_close): Update its type.
8392 (mips_linux_close): Pass 'self' to super_close.
8393
5c328c05
YQ
83942014-02-24 Yao Qi <yao@codesourcery.com>
8395
8396 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8397 * corefile.c (read_memory): Adjusted.
8398 * target.c (target_write_with_progress): Adjusted.
8399
f73023dd
YQ
84002014-02-23 Yao Qi <yao@codesourcery.com>
8401
8402 Revert two patches:
8403
8404 2013-10-25 Yao Qi <yao@codesourcery.com>
8405
8406 * remote.c (remote_traceframe_info): Return early if
8407 traceframe is not selected.
8408
8409 2013-07-19 Yao Qi <yao@codesourcery.com>
8410
8411 * target.c (update_current_target): Change the default action
8412 of 'to_traceframe_info' from tcomplain to return_zero.
8413 * target.h (struct target_ops) <to_traceframe_info>: Add more
8414 comments.
8415
5a2eb0ef
YQ
84162014-02-23 Yao Qi <yao@codesourcery.com>
8417
8418 * valops.c (read_value_memory): Rewrite it. Call
8419 target_xfer_partial in a loop.
8420 * exec.h (section_table_available_memory): Remove declaration.
8421 Move comments to ...
8422 * exec.c (section_table_available_memory): ... here. Make it
8423 static.
8424
1ee79381
YQ
84252014-02-23 Yao Qi <yao@codesourcery.com>
8426
8427 * exec.c (section_table_read_available_memory): New function.
8428 * exec.h (section_table_read_available_memory): Declare.
8429 * ctf.c (ctf_xfer_partial): Call
8430 section_table_read_available_memory.
8431 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8432
1ca49d37
YQ
84332014-02-23 Yao Qi <yao@codesourcery.com>
8434
8435 * ctf.c (ctf_xfer_partial): Move code to ...
8436 * exec.c (exec_read_partial_read_only): ... it. New function.
8437 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8438 * tracefile.c: Include "exec.h".
8439 * exec.h (exec_read_partial_read_only): Declare.
8440
a283690e
YQ
84412014-02-23 Yao Qi <yao@codesourcery.com>
8442
8443 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8444 (tfile_has_memory): Remove.
8445 (init_tfile_ops): Don't set fields to_has_all_memory and
8446 to_has_memory of tfile_ops.
8447 * tracefile.c (tracefile_has_all_memory): New function.
8448 (tracefile_has_memory): New function.
8449 (init_tracefile_ops): Initialize fields to_has_all_memory and
8450 to_has_memory of 'ops'.
8451
12e03cd0
YQ
84522014-02-23 Yao Qi <yao@codesourcery.com>
8453
8454 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8455 (ctf_thread_alive, ctf_get_trace_status): Remove.
8456 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8457 init_tracefile_ops.
8458 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8459 (tfile_has_stack, tfile_has_registers): Remove.
8460 (tfile_thread_alive): Remove.
8461 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8462 init_tracefile_ops.
8463 * tracefile.c (tracefile_has_stack): New function.
8464 (tracefile_has_registers): New function.
8465 (tracefile_thread_alive): New function.
8466 (tracefile_get_trace_status): New function.
8467 (init_tracefile_ops): New function.
8468 * tracefile.h (init_tracefile_ops): Declare.
8469
11395323
YQ
84702014-02-23 Yao Qi <yao@codesourcery.com>
8471
8472 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8473 (O_LARGEFILE): Likewise.
8474 (tfile_ops): Likewise.
8475 (TRACE_HEADER_SIZE): Likewise.
8476 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8477 (cur_data_size): Likewise.
8478 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8479 (tfile_close, tfile_files_info): Likewise.
8480 (tfile_get_trace_status): Likewise.
8481 (tfile_get_tracepoint_status): Likewise.
8482 (tfile_get_traceframe_address): Likewise.
8483 (tfile_trace_find, match_blocktype): Likewise.
8484 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8485 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8486 (tfile_get_trace_state_variable_value): Likewise.
8487 (tfile_has_all_memory, tfile_has_memory): Likewise.
8488 (tfile_has_stack, tfile_has_registers): Likewise.
8489 (tfile_thread_alive, build_traceframe_info): Likewise.
8490 (tfile_traceframe_info, init_tfile_ops): Likewise.
8491 (_initialize_tracepoint): Don't call init_tfile_ops
8492 and add_target_with_completer.
8493 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8494 exec.h, completer.h and filenames.h.
8495 (_initialize_tracefile_tfile): New function.
8496
7951c4eb
YQ
84972014-02-23 Yao Qi <yao@codesourcery.com>
8498
8499 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8500 tracefile-tfile.o.
8501 (HFILES_NO_SRCDIR): Add tracefile.h.
8502 * ctf.c: Include "tracefile.h".
8503 * tracefile.h: New file.
8504 * tracefile.c: New file
8505 * tracefile-tfile.c: New file.
8506 * tracepoint.c: Include "tracefile.h".
8507 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8508 (stop_reason_names): Add const.
8509 (trace_file_writer_xfree): Move it to tracefile.c.
8510 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8511 (trace_save_ctf): Likewise.
8512 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8513 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8514 (tfile_write_header, tfile_write_regblock_type): Likewise.
8515 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8516 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8517 (tfile_write_raw_data, tfile_end): Likewise.
8518 (tfile_trace_file_writer_new): Likewise.
8519 (free_uploaded_tp): Make it extern.
8520 (free_uploaded_tsv): Make it extern.
8521 (_initialize_tracepoint): Move code to register command 'tsave'
8522 to tracefile.c.
8523 * tracepoint.h (stop_reason_names): Declare.
8524 (struct trace_frame_write_ops): Move it to tracefile.h.
8525 (struct trace_file_write_ops): Likewise.
8526 (struct trace_file_writer): Likewise.
8527 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8528
184cd072
JK
85292014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 PR gdb/16594
8532 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8533 process name.
8534 (get_cores_used_by_process): New parameter num_cores, use it.
8535 (linux_xfer_osdata_processes): Pass num_cores to it.
8536 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8537 process name.
8538
c63528fc
AK
85392014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8540
8541 * target.c (memory_xfer_partial): Fix length arg in call to
8542 breakpoint_xfer_memory.
8543
d7b30f67
SDJ
85442014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8545
8546 PR tdep/16397
8547 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8548 number comes after the + or - signs. Adjust length of register
8549 name to be extracted.
8550
8838afaf
TT
85512014-02-20 Tom Tromey <tromey@redhat.com>
8552
8553 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8554 (ada_varobj_ops): Mark "extern".
8555
05227d14
TT
85562014-02-20 Tom Tromey <tromey@redhat.com>
8557
8558 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8559
1254eefc
DE
85602014-02-20 Doug Evans <xdje42@gmail.com>
8561
8562 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8563 All callers updated.
8564 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8565 All callers updated.
8566 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8567 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8568
adde2bff
DE
85692014-02-20 lin zuojian <manjian2006@gmail.com>
8570 Joel Brobecker <brobecker@adacore.com>
8571 Doug Evans <xdje42@gmail.com>
8572
8573 PR symtab/16581
8574 * dwarf2read.c (struct die_info): New member in_process.
8575 (reset_die_in_process): New function.
8576 (process_die): Set it at the start, reset when returning.
8577 (inherit_abstract_dies): Only call process_die if origin_child_die
8578 not already being processed.
8579
3be75f87
JB
85802014-02-20 Joel Brobecker <brobecker@adacore.com>
8581
8582 * windows-nat.c (handle_unload_dll): Add function documentation.
8583 (do_initial_windows_stuff): Add comment explaining why we wait
8584 until after inferior initialization has finished before
8585 processing all DLLs.
8586
47f7ffdb
JB
85872014-02-20 Joel Brobecker <brobecker@adacore.com>
8588
8589 * windows-nat.c (get_module_name): Delete.
8590 (windows_get_exec_module_filename): New function, mostly
8591 inspired from get_module_name.
8592 (windows_pid_to_exec_file): Replace call to get_module_name
8593 by call to windows_get_exec_module_filename.
8594
1cd9feab
JB
85952014-02-20 Joel Brobecker <brobecker@adacore.com>
8596
8597 * windows-nat.c (handle_load_dll): Rewrite this function's
8598 introductory comment. Remove code using get_module_name
8599 to get the DLL's name.
8600
ea39ad35
JB
86012014-02-20 Joel Brobecker <brobecker@adacore.com>
8602
8603 * windows-nat.c (get_windows_debug_event): Ignore
8604 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8605 if windows_initialization_done == 0.
8606 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8607 Adjust implementation to always load all DLLs.
8608 (do_initial_windows_stuff): Replace call to
8609 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8610
95060284
JB
86112014-02-20 Joel Brobecker <brobecker@adacore.com>
8612
8613 * windows-nat.c (_initialize_windows_nat): Deprecate the
8614 "dll-symbols" command. Turn the "add-shared-symbol-files"
8615 and "assf" aliases into commands, and deprecate them as well.
8616 * NEWS: Add entry explaining that "dll-symbols" and its two
8617 aliases are now deprecated.
8618
8d4fdb12
JB
86192014-02-20 Joel Brobecker <brobecker@adacore.com>
8620
8621 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8622 new-line in debug string. Remove trailing spaces.
8623
1b281443
SS
86242014-02-19 Stan Shebs <stan@codesourcery.com>
8625
8626 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8627
f7bd0f78
SC
86282014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8629
8630 * NEWS: Add entry for the new feature
8631 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8632 and class values.
8633
399ebc3d
SS
86342014-02-19 Stan Shebs <stan@codesourcery.com>
8635
8636 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8637
c658158d
PA
86382014-02-19 Pedro Alves <palves@redhat.com>
8639
8640 * common/ptid.h (struct ptid): Mention that process_stratum
8641 targets should prefer ptid.lwp.
8642
ba348170
PA
86432014-02-19 Pedro Alves <palves@redhat.com>
8644
8645 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8646 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8647 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8648 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8649 store remote thread ids rather than ptid.tid.
8650 (_initialize_remote): Adjust.
8651
ac01945b
TT
86522014-02-19 Tom Tromey <tromey@redhat.com>
8653
8654 * target.c (target_get_unwinder): Rewrite.
8655 (target_get_tailcall_unwinder): Rewrite.
8656 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8657 (record_btrace_to_get_tailcall_unwinder): New function.
8658 (init_record_btrace_ops): Update.
8659 * target.h (struct target_ops) <to_get_unwinder,
8660 to_get_tailcall_unwinder>: Now function pointers. Use
8661 TARGET_DEFAULT_RETURN.
8662
8476dc92
TT
86632014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8666 argument.
8667 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8668
c0eca49f
TT
86692014-02-19 Tom Tromey <tromey@redhat.com>
8670
8671 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8672 directly.
8673 * target-delegates.c: Rebuild.
8674 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8675 TARGET_DEFAULT_FUNC.
8676 * target.c (default_target_decr_pc_after_break): Rename from
8677 forward_target_decr_pc_after_break. Simplify.
8678 (target_decr_pc_after_break): Rely on delegation.
8679
596b6b39
TT
86802014-02-19 Tom Tromey <tromey@redhat.com>
8681
8682 * target.c (update_current_target): Do not INHERIT to_doc or
8683 to_magic. Do not de_fault to_open or to_close.
8684
b427c1bc
TT
86852014-02-19 Tom Tromey <tromey@redhat.com>
8686
8687 * gcore.h (objfile_find_memory_regions): Declare.
8688 * gcore.c (objfile_find_memory_regions): No longer static. Add
8689 "self" argument.
8690 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8691 * exec.c: Include gcore.h.
8692 (exec_set_find_memory_regions): Remove.
8693 (exec_find_memory_regions): Remove.
8694 (exec_do_find_memory_regions): Remove.
8695 (init_exec_ops): Update.
8696 * defs.h (exec_set_find_memory_regions): Remove.
8697
9b144037
TT
86982014-02-19 Tom Tromey <tromey@redhat.com>
8699
8700 * target-delegates.c: Rebuild.
8701 * target.h (struct target_ops) <to_extra_thread_info,
8702 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8703 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8704 not 0, in TARGET_DEFAULT_RETURN.
8705
555bbdeb
TT
87062014-02-19 Tom Tromey <tromey@redhat.com>
8707
8708 * target.c (complete_target_initialization): Remove casts. Use
8709 return_zero_has_execution.
8710 (return_zero): Add "ignore" argument.
8711 (return_zero_has_execution): New function.
8712 (init_dummy_target): Remove casts. Use
8713 return_zero_has_execution.
8714
be4ddd36
TT
87152014-02-19 Tom Tromey <tromey@redhat.com>
8716
8717 * target.c (update_current_target): Update comments. Do not
8718 INHERIT to_stratum.
8719
2117c711
TT
87202014-02-19 Tom Tromey <tromey@redhat.com>
8721
8722 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8723 needed.
8724 * corelow.c (core_read_description): Delegate when needed.
8725 * remote.c (remote_read_description): Delegate when needed.
8726 * target-delegates.c: Rebuild.
8727 * target.c (target_read_description): Rewrite.
8728 * target.h (struct target_ops) <to_read_description>: Update
8729 comment. Use TARGET_DEFAULT_RETURN.
8730
e88ef65c
TT
87312014-02-19 Tom Tromey <tromey@redhat.com>
8732
8733 * target-delegates.c: Rebuild.
8734 * target.c (update_current_target): Don't inherit or default
8735 to_can_run.
8736 (find_default_run_target): Check against delegate_can_run.
8737 * target.h (struct target_ops) <to_can_run>: Use
8738 TARGET_DEFAULT_RETURN.
8739
86a0854a
TT
87402014-02-19 Tom Tromey <tromey@redhat.com>
8741
8742 * target-delegates.c: Rebuild.
8743 * target.c (target_disconnect): Unconditionally delegate.
8744 * target.h (struct target_ops) <to_disconnect>: Use
8745 TARGET_DEFAULT_NORETURN.
8746
ee97f592
TT
87472014-02-19 Tom Tromey <tromey@redhat.com>
8748
8749 * record.c (record_stop): Unconditionally delegate.
8750 * target-delegates.c: Rebuild.
8751 * target.c (target_stop_recording): Unconditionally delegate.
8752 * target.h (struct target_ops) <to_stop_recording>: Use
8753 TARGET_DEFAULT_IGNORE.
8754
6dc7fcf4
TT
87552014-02-19 Tom Tromey <tromey@redhat.com>
8756
8757 * target-delegates.c: Rebuild.
8758 * target.c (target_enable_btrace): Unconditionally delegate.
8759 * target.h (struct target_ops) <to_enable_btrace>: Use
8760 TARGET_DEFAULT_NORETURN.
8761
eb5b20d4
TT
87622014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target-delegates.c: Rebuild.
8765 * target.c (target_read_btrace): Unconditionally delegate.
8766 * target.h (struct target_ops) <to_read_btrace>: Use
8767 TARGET_DEFAULT_NORETURN.
8768
9ace480d
TT
87692014-02-19 Tom Tromey <tromey@redhat.com>
8770
8771 * target-delegates.c: Rebuild.
8772 * target.c (target_teardown_btrace): Unconditionally delegate.
8773 * target.h (struct target_ops) <to_teardown_btrace>: Use
8774 TARGET_DEFAULT_NORETURN.
8775
8dc292d3
TT
87762014-02-19 Tom Tromey <tromey@redhat.com>
8777
8778 * target-delegates.c: Rebuild.
8779 * target.c (target_disable_btrace): Unconditionally delegate.
8780 * target.h (struct target_ops) <to_disable_btrace>: Use
8781 TARGET_DEFAULT_NORETURN.
8782
58a5184e
TT
87832014-02-19 Tom Tromey <tromey@redhat.com>
8784
8785 * target-delegates.c: Rebuild.
8786 * target.c (default_search_memory): New function.
8787 (simple_search_memory): Update comment.
8788 (target_search_memory): Unconditionally delegate.
8789 * target.h (struct target_ops) <to_search_memory>: Use
8790 TARGET_DEFAULT_FUNC.
8791
8de71aab
TT
87922014-02-19 Tom Tromey <tromey@redhat.com>
8793
8794 * auxv.c (default_auxv_parse): No longer static.
8795 (target_auxv_parse): Unconditionally delegate.
8796 * auxv.h (default_auxv_parse): Declare.
8797 * target-delegates.c: Rebuild.
8798 * target.c: Include auxv.h.
8799 * target.h (struct target_ops) <to_auxv_parse>: Use
8800 TARGET_DEFAULT_FUNC.
8801
6b2c5a57
TT
88022014-02-19 Tom Tromey <tromey@redhat.com>
8803
8804 * target-delegates.c: Rebuild.
8805 * target.c (target_memory_map): Unconditionally delegate.
8806 * target.h (struct target_ops) <to_memory_map>: Use
8807 TARGET_DEFAULT_RETURN.
8808
cbffc065
TT
88092014-02-19 Tom Tromey <tromey@redhat.com>
8810
8811 * target-delegates.c: Rebuild.
8812 * target.c (target_thread_alive): Unconditionally delegate.
8813 * target.h (struct target_ops) <to_thread_alive>: Use
8814 TARGET_DEFAULT_RETURN.
8815
f09e2107
TT
88162014-02-19 Tom Tromey <tromey@redhat.com>
8817
8818 * target-delegates.c: Rebuild.
8819 * target.c (target_save_record): Unconditionally delegate.
8820 * target.h (struct target_ops) <to_save_record>: Use
8821 TARGET_DEFAULT_NORETURN.
8822
07366925
TT
88232014-02-19 Tom Tromey <tromey@redhat.com>
8824
8825 * target-delegates.c: Rebuild.
8826 * target.c (target_delete_record): Unconditionally delegate.
8827 * target.h (struct target_ops) <to_delete_record>: Use
8828 TARGET_DEFAULT_NORETURN.
8829
dd2e9d25
TT
88302014-02-19 Tom Tromey <tromey@redhat.com>
8831
8832 * target-delegates.c: Rebuild.
8833 * target.c (target_record_is_replaying): Unconditionally
8834 delegate.
8835 * target.h (struct target_ops) <to_record_is_replaying>: Use
8836 TARGET_DEFAULT_RETURN.
8837
671e76cc
TT
88382014-02-19 Tom Tromey <tromey@redhat.com>
8839
8840 * target-delegates.c: Rebuild.
8841 * target.c (target_goto_record_begin): Unconditionally delegate.
8842 * target.h (struct target_ops) <to_goto_record_begin>: Use
8843 TARGET_DEFAULT_NORETURN.
8844
e9179bb3
TT
88452014-02-19 Tom Tromey <tromey@redhat.com>
8846
8847 * target-delegates.c: Rebuild.
8848 * target.c (target_goto_record_end): Unconditionally delegate.
8849 * target.h (struct target_ops) <to_goto_record_end>: Use
8850 TARGET_DEFAULT_NORETURN.
8851
05969c84
TT
88522014-02-19 Tom Tromey <tromey@redhat.com>
8853
8854 * target-delegates.c: Rebuild.
8855 * target.c (target_goto_record): Unconditionally delegate.
8856 * target.h (struct target_ops) <to_goto_record>: Use
8857 TARGET_DEFAULT_NORETURN.
8858
3679abfa
TT
88592014-02-19 Tom Tromey <tromey@redhat.com>
8860
8861 * target-delegates.c: Rebuild.
8862 * target.c (target_insn_history): Unconditionally delegate.
8863 * target.h (struct target_ops) <to_insn_history>: Use
8864 TARGET_DEFAULT_NORETURN.
8865
8444ab58
TT
88662014-02-19 Tom Tromey <tromey@redhat.com>
8867
8868 * target-delegates.c: Rebuild.
8869 * target.c (target_insn_history_from): Unconditionally delegate.
8870 * target.h (struct target_ops) <to_insn_history_from>: Use
8871 TARGET_DEFAULT_NORETURN.
8872
c29302cc
TT
88732014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target-delegates.c: Rebuild.
8876 * target.c (target_insn_history_range): Unconditionally delegate.
8877 * target.h (struct target_ops) <to_insn_history_range>: Use
8878 TARGET_DEFAULT_NORETURN.
8879
170049d4
TT
88802014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target-delegates.c: Rebuild.
8883 * target.c (target_call_history): Unconditionally delegate.
8884 * target.h (struct target_ops) <to_call_history>: Use
8885 TARGET_DEFAULT_NORETURN.
8886
16fc27d6
TT
88872014-02-19 Tom Tromey <tromey@redhat.com>
8888
8889 * target-delegates.c: Rebuild.
8890 * target.c (target_call_history_from): Unconditionally delegate.
8891 * target.h (struct target_ops) <to_call_history_from>: Use
8892 TARGET_DEFAULT_NORETURN.
8893
115d9817
TT
88942014-02-19 Tom Tromey <tromey@redhat.com>
8895
8896 * target-delegates.c: Rebuild.
8897 * target.c (target_call_history_range): Unconditionally delegate.
8898 * target.h (struct target_ops) <to_call_history_range>: Use
8899 TARGET_DEFAULT_NORETURN.
8900
eb276a6b
TT
89012014-02-19 Tom Tromey <tromey@redhat.com>
8902
8903 * target-delegates.c: Rebuild.
8904 * target.c (target_verify_memory): Unconditionally delegate.
8905 * target.h (struct target_ops) <to_verify_memory>: Use
8906 TARGET_DEFAULT_NORETURN.
8907
9e538d0d
TT
89082014-02-19 Tom Tromey <tromey@redhat.com>
8909
8910 * target-delegates.c: Rebuild.
8911 * target.c (target_core_of_thread): Unconditionally delegate.
8912 * target.h (struct target_ops) <to_core_of_thread>: Use
8913 TARGET_DEFAULT_RETURN.
8914
f6fb2925
TT
89152014-02-19 Tom Tromey <tromey@redhat.com>
8916
8917 * target-delegates.c: Rebuild.
8918 * target.c (target_flash_done): Unconditionally delegate.
8919 * target.h (struct target_ops) <to_flash_done>: Use
8920 TARGET_DEFAULT_NORETURN.
8921
e8a6c6ac
TT
89222014-02-19 Tom Tromey <tromey@redhat.com>
8923
8924 * target-delegates.c: Rebuild.
8925 * target.c (target_flash_erase): Unconditionally delegate.
8926 * target.h (struct target_ops) <to_flash_erase>: Use
8927 TARGET_DEFAULT_NORETURN.
8928
7e35c012
TT
89292014-02-19 Tom Tromey <tromey@redhat.com>
8930
8931 * target-delegates.c: Rebuild.
8932 * target.c (target_get_section_table): Unconditionally delegate.
8933 * target.h (struct target_ops) <to_get_section_table>: Use
8934 TARGET_DEFAULT_RETURN.
8935
770234d3
TT
89362014-02-19 Tom Tromey <tromey@redhat.com>
8937
8938 * target-delegates.c: Rebuild.
8939 * target.c (target_pid_to_str): Unconditionally delegate.
8940 (init_dummy_target): Don't initialize to_pid_to_str.
8941 (default_pid_to_str): Rename from dummy_pid_to_str.
8942 * target.h (struct target_ops) <to_pid_to_str>: Use
8943 TARGET_DEFAULT_FUNC.
8944
09b0dc2b
TT
89452014-02-19 Tom Tromey <tromey@redhat.com>
8946
8947 * target-delegates.c: Rebuild.
8948 * target.c (target_find_new_threads): Unconditionally delegate.
8949 * target.h (struct target_ops) <to_find_new_threads>: Use
8950 TARGET_DEFAULT_RETURN.
8951
7d4f8efa
TT
89522014-02-19 Tom Tromey <tromey@redhat.com>
8953
8954 * target-delegates.c: Rebuild.
8955 * target.c (target_program_signals): Unconditionally delegate.
8956 * target.h (struct target_ops) <to_program_signals>: Use
8957 TARGET_DEFAULT_IGNORE.
8958
035cad7f
TT
89592014-02-19 Tom Tromey <tromey@redhat.com>
8960
8961 * target-delegates.c: Rebuild.
8962 * target.c (target_pass_signals): Unconditionally delegate.
8963 * target.h (struct target_ops) <to_pass_signals>: Use
8964 TARGET_DEFAULT_IGNORE.
8965
8d657035
TT
89662014-02-19 Tom Tromey <tromey@redhat.com>
8967
8968 * target-delegates.c: Rebuild.
8969 * target.c (default_mourn_inferior): New function.
8970 (target_mourn_inferior): Unconditionally delegate.
8971 * target.h (struct target_ops) <to_mourn_inferior>: Use
8972 TARGET_DEFAULT_FUNC.
8973
098dba18
TT
89742014-02-19 Tom Tromey <tromey@redhat.com>
8975
8976 * target-delegates.c: Rebuild.
8977 * target.c (default_follow_fork): New function.
8978 (target_follow_fork): Unconditionally delegate.
8979 * target.h (struct target_ops) <to_follow_fork>: Use
8980 TARGET_DEFAULT_FUNC.
8981
423a4807
TT
89822014-02-19 Tom Tromey <tromey@redhat.com>
8983
8984 * target-delegates.c: Rebuild.
8985 * target.c (target_kill): Unconditionally delegate.
8986 * target.h (struct target_ops) <to_kill>: Use
8987 TARGET_DEFAULT_NORETURN.
8988
6c7e5e5c
TT
89892014-02-19 Tom Tromey <tromey@redhat.com>
8990
8991 * target-delegates.c: Rebuild.
8992 * target.c (target_masked_watch_num_registers): Unconditionally
8993 delegate.
8994 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8995 Use TARGET_DEFAULT_RETURN.
8996
8b1c364c
TT
89972014-02-19 Tom Tromey <tromey@redhat.com>
8998
8999 * target-delegates.c: Rebuild.
9000 * target.c (target_remove_mask_watchpoint): Unconditionally
9001 delegate.
9002 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
9003 TARGET_DEFAULT_RETURN.
9004
cd4ae029
TT
90052014-02-19 Tom Tromey <tromey@redhat.com>
9006
9007 * target-delegates.c: Rebuild.
9008 * target.c (target_insert_mask_watchpoint): Unconditionally
9009 delegate.
9010 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9011 TARGET_DEFAULT_RETURN.
9012
a134316b
TT
90132014-02-19 Tom Tromey <tromey@redhat.com>
9014
9015 * target-delegates.c: Rebuild.
9016 * target.c (target_ranged_break_num_registers): Unconditionally
9017 delegate.
9018 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9019 Use TARGET_DEFAULT_RETURN.
9020
ad5989bd
TT
90212014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target-delegates.c: Rebuild.
9024 * target.c (target_fetch_registers): Unconditionally delegate.
9025 * target.h (struct target_ops) <to_fetch_registers>: Use
9026 TARGET_DEFAULT_NORETURN.
9027
46ee7e8d
TT
90282014-02-19 Tom Tromey <tromey@redhat.com>
9029
9030 * target-delegates.c: Rebuild.
9031 * target.c (update_current_target): Don't inherit or default
9032 to_stop.
9033 * target.h (struct target_ops) <to_stop>: Use
9034 TARGET_DEFAULT_IGNORE.
9035
843f59ed
TT
90362014-02-19 Tom Tromey <tromey@redhat.com>
9037
9038 * target-delegates.c: Rebuild.
9039 * target.c (update_current_target): Don't inherit or default
9040 to_can_run_breakpoint_commands.
9041 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9042 Use TARGET_DEFAULT_RETURN.
9043
ccfde2a0
TT
90442014-02-19 Tom Tromey <tromey@redhat.com>
9045
9046 * target-delegates.c: Rebuild.
9047 * target.c (update_current_target): Don't inherit or default
9048 to_supports_evaluation_of_breakpoint_conditions.
9049 * target.h (struct target_ops)
9050 <to_supports_evaluation_of_breakpoint_conditions>: Use
9051 TARGET_DEFAULT_RETURN.
9052
0de91722
TT
90532014-02-19 Tom Tromey <tromey@redhat.com>
9054
9055 * target-delegates.c: Rebuild.
9056 * target.c (update_current_target): Don't inherit or default
9057 to_augmented_libraries_svr4_read.
9058 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9059 Use TARGET_DEFAULT_RETURN.
9060
9a7d8b48
TT
90612014-02-19 Tom Tromey <tromey@redhat.com>
9062
9063 * target-delegates.c: Rebuild.
9064 * target.c (update_current_target): Don't inherit or default
9065 to_can_use_agent.
9066 * target.h (struct target_ops) <to_can_use_agent>: Use
9067 TARGET_DEFAULT_RETURN.
9068
d9db5b21
TT
90692014-02-19 Tom Tromey <tromey@redhat.com>
9070
9071 * target-delegates.c: Rebuild.
9072 * target.c (update_current_target): Don't inherit or default
9073 to_use_agent.
9074 * target.h (struct target_ops) <to_use_agent>: Use
9075 TARGET_DEFAULT_NORETURN.
9076
92155eeb
TT
90772014-02-19 Tom Tromey <tromey@redhat.com>
9078
9079 * target-delegates.c: Rebuild.
9080 * target.c (update_current_target): Don't inherit or default
9081 to_traceframe_info.
9082 (return_null): Remove.
9083 * target.h (struct target_ops) <to_traceframe_info>: Use
9084 TARGET_DEFAULT_RETURN.
9085
d6522a22
TT
90862014-02-19 Tom Tromey <tromey@redhat.com>
9087
9088 * target-delegates.c: Rebuild.
9089 * target.c (update_current_target): Don't inherit or default
9090 to_static_tracepoint_markers_by_strid.
9091 * target.h (struct target_ops)
9092 <to_static_tracepoint_markers_by_strid>: Use
9093 TARGET_DEFAULT_NORETURN.
9094
4c3e4425
TT
90952014-02-19 Tom Tromey <tromey@redhat.com>
9096
9097 * target-delegates.c: Rebuild.
9098 * target.c (update_current_target): Don't inherit or default
9099 to_static_tracepoint_marker_at.
9100 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9101 Use TARGET_DEFAULT_RETURN.
9102
dcd6917f
TT
91032014-02-19 Tom Tromey <tromey@redhat.com>
9104
9105 * target-delegates.c: Rebuild.
9106 * target.c (update_current_target): Don't inherit or default
9107 to_set_permissions.
9108 * target.h (struct target_ops) <to_set_permissions>: Use
9109 TARGET_DEFAULT_IGNORE.
9110
22bcceee
TT
91112014-02-19 Tom Tromey <tromey@redhat.com>
9112
9113 * target-delegates.c: Rebuild.
9114 * target.c (update_current_target): Don't inherit or default
9115 to_get_tib_address.
9116 * target.h (struct target_ops) <to_get_tib_address>: Use
9117 TARGET_DEFAULT_NORETURN.
9118
8586ccaa
TT
91192014-02-19 Tom Tromey <tromey@redhat.com>
9120
9121 * target-delegates.c: Rebuild.
9122 * target.c (update_current_target): Don't inherit or default
9123 to_set_trace_notes.
9124 * target.h (struct target_ops) <to_set_trace_notes>: Use
9125 TARGET_DEFAULT_RETURN.
9126
91df8d1d
TT
91272014-02-19 Tom Tromey <tromey@redhat.com>
9128
9129 * target-delegates.c: Rebuild.
9130 * target.c (update_current_target): Don't initialize
9131 to_set_trace_buffer_size.
9132 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9133 TARGET_DEFAULT_IGNORE.
9134
8d526939
TT
91352014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target-delegates.c: Rebuild.
9138 * target.c (update_current_target): Don't inherit or default
9139 to_set_circular_trace_buffer.
9140 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
9141 TARGET_DEFAULT_IGNORE.
9142
0bcfeddf
TT
91432014-02-19 Tom Tromey <tromey@redhat.com>
9144
9145 * target-delegates.c: Rebuild.
9146 * target.c (update_current_target): Don't inherit or default
9147 to_set_disconnected_tracing.
9148 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
9149 TARGET_DEFAULT_IGNORE.
9150
9249843f
TT
91512014-02-19 Tom Tromey <tromey@redhat.com>
9152
9153 * target-delegates.c: Rebuild.
9154 * target.c (update_current_target): Don't inherit or default
9155 to_get_min_fast_tracepoint_insn_len.
9156 (return_minus_one): Remove.
9157 * target.h (struct target_ops)
9158 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
9159
ace92e7d
TT
91602014-02-19 Tom Tromey <tromey@redhat.com>
9161
9162 * target-delegates.c: Rebuild.
9163 * target.c (update_current_target): Don't inherit or default
9164 to_get_raw_trace_data.
9165 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
9166 TARGET_DEFAULT_NORETURN.
9167
08120467
TT
91682014-02-19 Tom Tromey <tromey@redhat.com>
9169
9170 * target-delegates.c: Rebuild.
9171 * target.c (update_current_target): Don't inherit or default
9172 to_upload_trace_state_variables.
9173 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9174 Use TARGET_DEFAULT_RETURN.
9175
1e949b00
TT
91762014-02-19 Tom Tromey <tromey@redhat.com>
9177
9178 * target-delegates.c: Rebuild.
9179 * target.c (update_current_target): Don't inherit or default
9180 to_upload_tracepoints.
9181 * target.h (struct target_ops) <to_upload_tracepoints>: Use
9182 TARGET_DEFAULT_RETURN.
9183
a2e6c147
TT
91842014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target-delegates.c: Rebuild.
9187 * target.c (update_current_target): Don't inherit or default
9188 to_save_trace_data.
9189 * target.h (struct target_ops) <to_save_trace_data>: Use
9190 TARGET_DEFAULT_NORETURN.
9191
959bcd0b
TT
91922014-02-19 Tom Tromey <tromey@redhat.com>
9193
9194 * target-delegates.c: Rebuild.
9195 * target.c (update_current_target): Don't inherit or default
9196 to_get_trace_state_variable_value.
9197 * target.h (struct target_ops)
9198 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9199
afc94e66
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_find.
9205 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
9206
e51c07ea
TT
92072014-02-19 Tom Tromey <tromey@redhat.com>
9208
9209 * target-delegates.c: Rebuild.
9210 * target.c (update_current_target): Don't inherit or default
9211 to_trace_stop.
9212 * target.h (struct target_ops) <to_trace_stop>: Use
9213 TARGET_DEFAULT_NORETURN.
9214
6fea14cd
TT
92152014-02-19 Tom Tromey <tromey@redhat.com>
9216
9217 * target-delegates.c: Rebuild.
9218 * target.c (update_current_target): Don't inherit or default
9219 to_get_tracepoint_status.
9220 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
9221 TARGET_DEFAULT_NORETURN.
9222
4072d4ff
TT
92232014-02-19 Tom Tromey <tromey@redhat.com>
9224
9225 * target-delegates.c: Rebuild.
9226 * target.c (update_current_target): Don't inherit or default
9227 to_get_trace_status.
9228 * target.h (struct target_ops) <to_get_trace_status>: Use
9229 TARGET_DEFAULT_RETURN.
9230
25da2e80
TT
92312014-02-19 Tom Tromey <tromey@redhat.com>
9232
9233 * target-delegates.c: Rebuild.
9234 * target.c (update_current_target): Don't inherit or default
9235 to_trace_start.
9236 * target.h (struct target_ops) <to_trace_start>: Use
9237 TARGET_DEFAULT_NORETURN.
9238
86dd181d
TT
92392014-02-19 Tom Tromey <tromey@redhat.com>
9240
9241 * target-delegates.c: Rebuild.
9242 * target.c (update_current_target): Don't inherit or default
9243 to_trace_set_readonly_regions.
9244 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9245 Use TARGET_DEFAULT_NORETURN.
9246
05c41993
TT
92472014-02-19 Tom Tromey <tromey@redhat.com>
9248
9249 * target-delegates.c: Rebuild.
9250 * target.c (update_current_target): Don't inherit or default
9251 to_disable_tracepoint.
9252 * target.h (struct target_ops) <to_disable_tracepoint>: Use
9253 TARGET_DEFAULT_NORETURN.
9254
151f70f1
TT
92552014-02-19 Tom Tromey <tromey@redhat.com>
9256
9257 * target-delegates.c: Rebuild.
9258 * target.c (update_current_target): Don't inherit or default
9259 to_enable_tracepoint.
9260 * target.h (struct target_ops) <to_enable_tracepoint>: Use
9261 TARGET_DEFAULT_NORETURN.
9262
94eb98b9
TT
92632014-02-19 Tom Tromey <tromey@redhat.com>
9264
9265 * target-delegates.c: Rebuild.
9266 * target.c (update_current_target): Don't inherit or default
9267 to_download_trace_state_variable.
9268 * target.h (struct target_ops) <to_download_trace_state_variable>:
9269 Use TARGET_DEFAULT_NORETURN.
9270
719acc4a
TT
92712014-02-19 Tom Tromey <tromey@redhat.com>
9272
9273 * target-delegates.c: Rebuild.
9274 * target.c (update_current_target): Don't inherit or default
9275 to_can_download_tracepoint.
9276 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
9277 TARGET_DEFAULT_RETURN.
9278
9a980a22
TT
92792014-02-19 Tom Tromey <tromey@redhat.com>
9280
9281 * target-delegates.c: Rebuild.
9282 * target.c (update_current_target): Don't inherit or default
9283 to_download_tracepoint.
9284 * target.h (struct target_ops) <to_download_tracepoint>: Use
9285 TARGET_DEFAULT_NORETURN.
9286
5536135b
TT
92872014-02-19 Tom Tromey <tromey@redhat.com>
9288
9289 * target-delegates.c: Rebuild.
9290 * target.c (update_current_target): Don't inherit or default
9291 to_trace_init.
9292 * target.h (struct target_ops) <to_trace_init>: Use
9293 TARGET_DEFAULT_RETURN.
9294
9409d39e
TT
92952014-02-19 Tom Tromey <tromey@redhat.com>
9296
9297 * target-delegates.c: Rebuild.
9298 * target.c (update_current_target): Don't inherit or default
9299 to_supports_string_tracing.
9300 * target.h (struct target_ops) <to_supports_string_tracing>: Use
9301 TARGET_DEFAULT_RETURN.
9302
aab1b22d
TT
93032014-02-19 Tom Tromey <tromey@redhat.com>
9304
9305 * target-delegates.c: Rebuild.
9306 * target.c (update_current_target): Don't inherit or default
9307 to_supports_enable_disable_tracepoint.
9308 * target.h (struct target_ops)
9309 <to_supports_enable_disable_tracepoint>: Use
9310 TARGET_DEFAULT_RETURN.
9311
a7304748
TT
93122014-02-19 Tom Tromey <tromey@redhat.com>
9313
9314 * target-delegates.c: Rebuild.
9315 * target.c (update_current_target): Don't inherit or default
9316 to_supports_multi_process.
9317 * target.h (struct target_ops) <to_supports_multi_process>: Use
9318 TARGET_DEFAULT_RETURN.
9319
4229b31d
TT
93202014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * target-delegates.c: Rebuild.
9323 * target.c (update_current_target): Don't inherit or default
9324 to_get_ada_task_ptid.
9325 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
9326 TARGET_DEFAULT_FUNC.
9327
43eba180
TT
93282014-02-19 Tom Tromey <tromey@redhat.com>
9329
9330 * target-delegates.c: Rebuild.
9331 * target.c (update_current_target): Don't inherit or default
9332 to_thread_architecture.
9333 * target.h (struct target_ops) <to_thread_architecture>: Use
9334 TARGET_DEFAULT_FUNC.
9335
fe31bf5b
TT
93362014-02-19 Tom Tromey <tromey@redhat.com>
9337
9338 * target-delegates.c: Rebuild.
9339 * target.c (update_current_target): Don't inherit or default
9340 to_execution_direction.
9341 * target.h (struct target_ops) <to_execution_direction>: Use
9342 TARGET_DEFAULT_FUNC.
9343
53e1cfc7
TT
93442014-02-19 Tom Tromey <tromey@redhat.com>
9345
9346 * target-delegates.c: Rebuild.
9347 * target.c (update_current_target): Don't inherit or default
9348 to_can_execute_reverse.
9349 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9350 TARGET_DEFAULT_RETURN.
9351 (target_can_execute_reverse): Unconditionally delegate.
9352
9bb9d61d
TT
93532014-02-19 Tom Tromey <tromey@redhat.com>
9354
9355 * target-delegates.c: Rebuild.
9356 * target.c (update_current_target): Don't inherit or default
9357 to_goto_bookmark.
9358 (dummy_goto_bookmark): Remove.
9359 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9360 * target.h (struct target_ops) <to_goto_bookmark>: Use
9361 TARGET_DEFAULT_NORETURN.
9362
3dbafbbb
TT
93632014-02-19 Tom Tromey <tromey@redhat.com>
9364
9365 * target-delegates.c: Rebuild.
9366 * target.c (update_current_target): Don't inherit or default
9367 to_get_bookmark.
9368 (dummy_get_bookmark): Remove.
9369 (init_dummy_target): Don't inherit or default to_get_bookmark.
9370 * target.h (struct target_ops) <to_get_bookmark>: Use
9371 TARGET_DEFAULT_NORETURN
9372
16f796b1
TT
93732014-02-19 Tom Tromey <tromey@redhat.com>
9374
9375 * target-delegates.c: Rebuild.
9376 * target.c (update_current_target): Don't inherit or default
9377 to_make_corefile_notes.
9378 (init_dummy_target): Don't initialize to_make_corefile_notes.
9379 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9380 TARGET_DEFAULT_FUNC.
9381
0b5a2719
TT
93822014-02-19 Tom Tromey <tromey@redhat.com>
9383
9384 * target-delegates.c: Rebuild.
9385 * target.c (update_current_target): Don't inherit or default
9386 to_find_memory_regions.
9387 (init_dummy_target): Don't initialize to_find_memory_regions.
9388 * target.h (struct target_ops) <to_find_memory_regions>: Use
9389 TARGET_DEFAULT_FUNC.
9390
d9cb0195
TT
93912014-02-19 Tom Tromey <tromey@redhat.com>
9392
9393 * target-delegates.c: Rebuild.
9394 * target.c (update_current_target): Don't inherit or default
9395 to_log_command.
9396 * target.h (struct target_ops) <to_log_command>: Use
9397 TARGET_DEFAULT_IGNORE.
9398 (target_log_command): Unconditionally delegate.
9399
830ca330
TT
94002014-02-19 Tom Tromey <tromey@redhat.com>
9401
9402 * target-delegates.c: Rebuild.
9403 * target.c (update_current_target): Don't inherit or default
9404 to_pid_to_exec_file.
9405 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9406 TARGET_DEFAULT_RETURN.
9407
825828fc
TT
94082014-02-19 Tom Tromey <tromey@redhat.com>
9409
9410 * target-delegates.c: Rebuild.
9411 * target.c (update_current_target): Don't inherit or default
9412 to_thread_name.
9413 (target_thread_name): Unconditionally delegate.
9414 * target.h (struct target_ops) <to_thread_name>: Use
9415 TARGET_DEFAULT_RETURN.
9416
4a7e6dda
TT
94172014-02-19 Tom Tromey <tromey@redhat.com>
9418
9419 * target-delegates.c: Rebuild.
9420 * target.c (update_current_target): Don't inherit or default
9421 to_extra_thread_info.
9422 * target.h (struct target_ops) <to_extra_thread_info>: Use
9423 TARGET_DEFAULT_RETURN.
9424
0db88c1d
TT
94252014-02-19 Tom Tromey <tromey@redhat.com>
9426
9427 * target-delegates.c: Rebuild.
9428 * target.c (update_current_target): Don't inherit or default
9429 to_has_exited.
9430 * target.h (struct target_ops) <to_has_exited>: Use
9431 TARGET_DEFAULT_RETURN..
9432
6a9fa051
TT
94332014-02-19 Tom Tromey <tromey@redhat.com>
9434
9435 * target-delegates.c: Rebuild.
9436 * target.c (update_current_target): Don't inherit or default
9437 to_set_syscall_catchpoint.
9438 (return_one): Remove.
9439 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9440 TARGET_DEFAULT_RETURN.
9441
62f64d7a
TT
94422014-02-19 Tom Tromey <tromey@redhat.com>
9443
9444 * target-delegates.c: Rebuild.
9445 * target.c (update_current_target): Don't inherit or default
9446 to_insert_exec_catchpoint.
9447 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9448 TARGET_DEFAULT_RETURN.
9449
cda0f38c
TT
94502014-01-08 Tom Tromey <tromey@redhat.com>
9451
9452 * target-delegates.c: Rebuild.
9453 * target.c (update_current_target): Don't inherit or default
9454 to_insert_exec_catchpoint.
9455 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9456 TARGET_DEFAULT_RETURN.
9457
95c3375e
TT
94582014-02-19 Tom Tromey <tromey@redhat.com>
9459
9460 * target-delegates.c: Rebuild.
9461 * target.c (update_current_target): Don't inherit or default
9462 to_remove_vfork_catchpoint.
9463 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9464 TARGET_DEFAULT_RETURN.
9465
7e18a8dc
TT
94662014-02-19 Tom Tromey <tromey@redhat.com>
9467
9468 * target-delegates.c: Rebuild.
9469 * target.c (update_current_target): Don't inherit or default
9470 to_insert_vfork_catchpoint.
9471 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9472 TARGET_DEFAULT_RETURN.
9473
e1a21fb7
TT
94742014-02-19 Tom Tromey <tromey@redhat.com>
9475
9476 * target-delegates.c: Rebuild.
9477 * target.c (update_current_target): Don't inherit or default
9478 to_remove_fork_catchpoint.
9479 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9480 TARGET_DEFAULT_RETURN.
9481
5958ebeb
TT
94822014-02-19 Tom Tromey <tromey@redhat.com>
9483
9484 * target-delegates.c: Rebuild.
9485 * target.c (update_current_target): Don't inherit or default
9486 to_insert_fork_catchpoint.
9487 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9488 TARGET_DEFAULT_RETURN.
9489
340ba4bf
TT
94902014-02-19 Tom Tromey <tromey@redhat.com>
9491
9492 * target-delegates.c: Rebuild.
9493 * target.c (update_current_target): Don't inherit or default
9494 to_post_startup_inferior.
9495 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9496 TARGET_DEFAULT_IGNORE.
9497
7634da87
TT
94982014-02-19 Tom Tromey <tromey@redhat.com>
9499
9500 * target-delegates.c: Rebuild.
9501 * target.c (update_current_target): Don't inherit or default
9502 to_load.
9503 * target.h (struct target_ops) <to_load>: Use
9504 TARGET_DEFAULT_NORETURN.
9505
e19e919f
TT
95062014-02-19 Tom Tromey <tromey@redhat.com>
9507
9508 * target-delegates.c: Rebuild.
9509 * target.c (update_current_target): Don't inherit or default
9510 to_terminal_info.
9511 * target.h (struct target_ops) <to_terminal_info>: Use
9512 TARGET_DEFAULT_FUNC.
9513
c6ea8f79
TT
95142014-02-19 Tom Tromey <tromey@redhat.com>
9515
9516 * target-delegates.c: Rebuild.
9517 * target.c (update_current_target): Don't inherit or default
9518 to_terminal_save_ours.
9519 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9520 TARGET_DEFAULT_IGNORE.
9521
e4a733f1
TT
95222014-02-19 Tom Tromey <tromey@redhat.com>
9523
9524 * target-delegates.c: Rebuild.
9525 * target.c (update_current_target): Don't inherit or default
9526 to_terminal_ours.
9527 * target.h (struct target_ops) <to_terminal_ours>: Use
9528 TARGET_DEFAULT_IGNORE.
9529
74fcbef9
TT
95302014-02-19 Tom Tromey <tromey@redhat.com>
9531
9532 * target-delegates.c: Rebuild.
9533 * target.c (update_current_target): Don't inherit or default
9534 to_terminal_ours_for_output.
9535 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9536 TARGET_DEFAULT_IGNORE.
9537
ddeaacc9
TT
95382014-02-19 Tom Tromey <tromey@redhat.com>
9539
9540 * target-delegates.c: Rebuild.
9541 * target.c (update_current_target): Don't inherit or default
9542 to_terminal_inferior.
9543 * target.h (struct target_ops) <to_terminal_inferior>: Use
9544 TARGET_DEFAULT_IGNORE.
9545
0343661d
TT
95462014-02-19 Tom Tromey <tromey@redhat.com>
9547
9548 * target-delegates.c: Rebuild.
9549 * target.c (update_current_target): Don't inherit or default
9550 to_terminal_init.
9551 * target.h (struct target_ops) <to_terminal_init>: Use
9552 TARGET_DEFAULT_IGNORE.
9553
77cdffe9
TT
95542014-02-19 Tom Tromey <tromey@redhat.com>
9555
9556 * target-delegates.c: Rebuild.
9557 * target.c (update_current_target): Don't inherit or default
9558 to_can_accel_watchpoint_condition.
9559 * target.h (struct target_ops)
9560 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9561
d03655e4
TT
95622014-02-19 Tom Tromey <tromey@redhat.com>
9563
9564 * target-delegates.c: Rebuild.
9565 * target.c (update_current_target): Don't inherit or default
9566 to_region_ok_for_hw_watchpoint.
9567 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9568 Use TARGET_DEFAULT_FUNC.
9569
65f160a9
TT
95702014-02-19 Tom Tromey <tromey@redhat.com>
9571
9572 * target-delegates.c: Rebuild.
9573 * target.c (update_current_target): Don't inherit or default
9574 to_watchpoint_addr_within_range.
9575 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9576 Use TARGET_DEFAULT_FUNC.
9577
61dd109f
TT
95782014-02-19 Tom Tromey <tromey@redhat.com>
9579
9580 * target-delegates.c: Rebuild.
9581 * target.c (update_current_target): Don't inherit or default
9582 to_remove_watchpoint.
9583 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9584 TARGET_DEFAULT_NORETURN.
9585
016facd4
TT
95862014-02-19 Tom Tromey <tromey@redhat.com>
9587
9588 * target-delegates.c: Rebuild.
9589 * target.c (update_current_target): Don't inherit or default
9590 to_insert_watchpoint.
9591 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9592 TARGET_DEFAULT_RETURN.
9593
418dabac
TT
95942014-02-19 Tom Tromey <tromey@redhat.com>
9595
9596 * target-delegates.c: Rebuild.
9597 * target.c (update_current_target): Don't inherit or default
9598 to_remove_hw_breakpoint.
9599 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9600 TARGET_DEFAULT_RETURN.
9601
61b371f9
TT
96022014-02-19 Tom Tromey <tromey@redhat.com>
9603
9604 * target-delegates.c: Rebuild.
9605 * target.c (update_current_target): Don't inherit or default
9606 to_insert_hw_breakpoint.
9607 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9608 TARGET_DEFAULT_RETURN.
9609
52b51d06
TT
96102014-02-19 Tom Tromey <tromey@redhat.com>
9611
9612 * target-delegates.c: Rebuild.
9613 * target.c (update_current_target): Don't inherit or default
9614 to_can_use_hw_breakpoint.
9615 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9616 TARGET_DEFAULT_RETURN.
9617
f86e59b2
TT
96182014-02-19 Tom Tromey <tromey@redhat.com>
9619
9620 * target-delegates.c: Rebuild.
9621 * target.c (update_current_target): Don't inherit or default
9622 to_files_info.
9623 * target.h (struct target_ops) <to_files_info>: Use
9624 TARGET_DEFAULT_IGNORE.
9625
6c628163
TT
96262014-02-19 Tom Tromey <tromey@redhat.com>
9627
9628 * target-delegates.c: Rebuild.
9629 * target.c (update_current_target): Don't inherit or default
9630 to_store.
9631 * target.h (struct target_ops) <to_store>: Use
9632 TARGET_DEFAULT_NORETURN.
9633
bebd3233
TT
96342014-02-19 Tom Tromey <tromey@redhat.com>
9635
9636 * target-delegates.c: Rebuild.
9637 * target.c (update_current_target): Don't inherit or default
9638 to_post_attach.
9639 * target.h (struct target_ops) <to_post_attach>: Use
9640 TARGET_DEFAULT_IGNORE.
9641
a53f3625
TT
96422014-02-19 Tom Tromey <tromey@redhat.com>
9643
9644 * target-delegates.c: Rebuild.
9645 * target.c (update_current_target): Don't inherit or default
9646 to_rcmd.
9647 (default_rcmd): New function.
9648 (do_monitor_command): Unconditionally delegate.
9649 * target.h (struct target_ops) <to_rmcd>: Use
9650 TARGET_DEFAULT_FUNC.
9651
e9a29200
TT
96522014-02-19 Tom Tromey <tromey@redhat.com>
9653
9654 * target-delegates.c: Rebuild.
9655 * target.c (init_dummy_target): Don't initialize to_attach.
9656 (target_attach): Unconditionally delegate.
9657 * target.h (struct target_ops) <to_attach>: Use
9658 TARGET_DEFAULT_FUNC.
9659
09da0d0a
TT
96602014-02-19 Tom Tromey <tromey@redhat.com>
9661
9662 * target-delegates.c: Rebuild.
9663 * target.c (target_detach): Unconditionally delegate.
9664 (init_dummy_target): Don't initialize to_detach.
9665 * target.h (struct target_ops) <to_detach>: Use
9666 TARGET_DEFAULT_IGNORE.
9667
5436ff03
TT
96682014-02-19 Tom Tromey <tromey@redhat.com>
9669
9670 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9671 Add argument.
9672 (target_augmented_libraries_svr4_read): Add argument.
9673 * target.c (update_current_target): Update.
9674 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9675 argument.
9676
f0d960ea
TT
96772014-02-19 Tom Tromey <tromey@redhat.com>
9678
9679 * target.h (struct target_ops) <to_call_history_range>: Add
9680 argument.
9681 * target.c (target_call_history_range): Add argument.
9682 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9683 argument.
9684 (record_btrace_call_history_from): Update.
9685
ec0aea04
TT
96862014-02-19 Tom Tromey <tromey@redhat.com>
9687
9688 * target.h (struct target_ops) <to_call_history_from>: Add
9689 argument.
9690 * target.c (target_call_history_from): Add argument.
9691 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9692 argument.
9693
5df2fcba
TT
96942014-02-19 Tom Tromey <tromey@redhat.com>
9695
9696 * target.h (struct target_ops) <to_call_history>: Add argument.
9697 * target.c (target_call_history): Add argument.
9698 * record-btrace.c (record_btrace_call_history): Add 'self'
9699 argument.
9700
4e99c6b7
TT
97012014-02-19 Tom Tromey <tromey@redhat.com>
9702
9703 * target.h (struct target_ops) <to_insn_history_range>: Add
9704 argument.
9705 * target.c (target_insn_history_range): Add argument.
9706 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9707 argument.
9708 (record_btrace_insn_history_from): Update.
9709
9abc3ff3
TT
97102014-02-19 Tom Tromey <tromey@redhat.com>
9711
9712 * target.h (struct target_ops) <to_insn_history_from>: Add
9713 argument.
9714 * target.c (target_insn_history_from): Add argument.
9715 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9716 argument.
9717
7a6c5609
TT
97182014-02-19 Tom Tromey <tromey@redhat.com>
9719
9720 * target.h (struct target_ops) <to_insn_history>: Add argument.
9721 * target.c (target_insn_history): Add argument.
9722 * record-btrace.c (record_btrace_insn_history): Add 'self'
9723 argument.
9724
606183ac
TT
97252014-02-19 Tom Tromey <tromey@redhat.com>
9726
9727 * target.h (struct target_ops) <to_goto_record>: Add argument.
9728 * target.c (target_goto_record): Add argument.
9729 * record-full.c (record_full_goto): Add 'self' argument.
9730 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9731
307a1b91
TT
97322014-02-19 Tom Tromey <tromey@redhat.com>
9733
9734 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9735 * target.c (target_goto_record_end): Add argument.
9736 * record-full.c (record_full_goto_end): Add 'self' argument.
9737 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9738
08475817
TT
97392014-02-19 Tom Tromey <tromey@redhat.com>
9740
9741 * target.h (struct target_ops) <to_goto_record_begin>: Add
9742 argument.
9743 * target.c (target_goto_record_begin): Add argument.
9744 * record-full.c (record_full_goto_begin): Add 'self' argument.
9745 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9746 argument.
9747
1c63c994
TT
97482014-02-19 Tom Tromey <tromey@redhat.com>
9749
9750 * target.h (struct target_ops) <to_record_is_replaying>: Add
9751 argument.
9752 * target.c (target_record_is_replaying): Add argument.
9753 * record-full.c (record_full_is_replaying): Add 'self' argument.
9754 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9755 argument.
9756 (record_btrace_xfer_partial, record_btrace_store_registers)
9757 (record_btrace_prepare_to_store, record_btrace_resume)
9758 (record_btrace_wait, record_btrace_decr_pc_after_break)
9759 (record_btrace_find_new_threads, record_btrace_thread_alive):
9760 Update.
9761
d1b55219
TT
97622014-02-19 Tom Tromey <tromey@redhat.com>
9763
9764 * target.h (struct target_ops) <to_delete_record>: Add argument.
9765 * target.c (target_delete_record): Add argument.
9766 * record-full.c (record_full_delete): Add 'self' argument.
9767
1390f529
TT
97682014-02-19 Tom Tromey <tromey@redhat.com>
9769
9770 * target.h (struct target_ops) <to_save_record>: Add argument.
9771 * target.c (target_save_record): Add argument.
9772 * record-full.c (record_full_save): Add 'self' argument.
9773 (record_full_save): Add 'self' argument.
9774
630d6a4a
TT
97752014-02-19 Tom Tromey <tromey@redhat.com>
9776
9777 * target.h (struct target_ops) <to_info_record>: Add argument.
9778 * target.c (target_info_record): Add argument.
9779 * record.c (info_record_command): Add argument.
9780 * record-full.c (record_full_info): Add 'self' argument.
9781 * record-btrace.c (record_btrace_info): Add 'self' argument.
9782
c6cd7c02
TT
97832014-02-19 Tom Tromey <tromey@redhat.com>
9784
9785 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9786 * target.c (target_stop_recording): Add argument.
9787 * record.c (record_stop): Add argument.
9788 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9789 argument.
9790
39c49f83
TT
97912014-02-19 Tom Tromey <tromey@redhat.com>
9792
9793 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9794 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9795 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9796 argument.
9797 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9798 (_initialize_amd64_linux_nat): Use it.
9799 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9800 (_initialize_i386_linux_nat): Use it.
9801
1777056d
TT
98022014-02-19 Tom Tromey <tromey@redhat.com>
9803
9804 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9805 * target.c (target_teardown_btrace): Add argument.
9806 * remote.c (remote_teardown_btrace): Add 'self' argument.
9807 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9808 argument.
9809 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9810 argument.
9811
25e95349
TT
98122014-02-19 Tom Tromey <tromey@redhat.com>
9813
9814 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9815 * target.c (target_disable_btrace): Add argument.
9816 * remote.c (remote_disable_btrace): Add 'self' argument.
9817 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9818 argument.
9819 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9820 argument.
9821
e3c49f88
TT
98222014-02-19 Tom Tromey <tromey@redhat.com>
9823
9824 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9825 * target.c (target_enable_btrace): Add argument.
9826 * remote.c (remote_enable_btrace): Add 'self' argument.
9827 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9828 argument.
9829 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9830 argument.
9831
fe38f897
TT
98322014-02-19 Tom Tromey <tromey@redhat.com>
9833
9834 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9835 (target_can_use_agent): Add argument.
9836 * target.c (update_current_target): Update.
9837 * remote.c (remote_can_use_agent): Add 'self' argument.
9838 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9839
2c152180
TT
98402014-02-19 Tom Tromey <tromey@redhat.com>
9841
9842 * target.h (struct target_ops) <to_use_agent>: Add argument.
9843 (target_use_agent): Add argument.
9844 * target.c (update_current_target): Update.
9845 * remote.c (remote_use_agent): Add 'self' argument.
9846 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9847
a893e81f
TT
98482014-02-19 Tom Tromey <tromey@redhat.com>
9849
9850 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9851 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9852 (target_traceframe_info): Add argument.
9853 * target.c (update_current_target): Update.
9854 * remote.c (remote_traceframe_info): Add 'self' argument.
9855 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9856
c686c57f
TT
98572014-02-19 Tom Tromey <tromey@redhat.com>
9858
9859 * target.h (target_static_tracepoint_markers_by_strid): Add
9860 argument.
9861 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9862 'self' argument.
9863 * target.c (update_current_target): Update.
9864 * remote.c (struct target_ops)
9865 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9866 * linux-nat.c (struct target_ops)
9867 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9868
61fc905d
TT
98692014-02-19 Tom Tromey <tromey@redhat.com>
9870
9871 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9872 Add argument.
9873 (target_static_tracepoint_marker_at): Add argument.
9874 * target.c (update_current_target): Update.
9875 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9876 argument.
9877
c378d69d
TT
98782014-02-19 Tom Tromey <tromey@redhat.com>
9879
9880 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9881 (target_set_permissions): Add argument.
9882 * target.c (update_current_target): Update.
9883 * remote.c (remote_set_permissions): Add 'self' argument.
9884 (remote_start_remote): Update.
9885
bd7ae0f5
TT
98862014-02-19 Tom Tromey <tromey@redhat.com>
9887
9888 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9889 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9890 (target_get_tib_address): Add argument.
9891 * target.c (update_current_target): Update.
9892 * remote.c (remote_get_tib_address): Add 'self' argument.
9893
d9e68a2c
TT
98942014-02-19 Tom Tromey <tromey@redhat.com>
9895
9896 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9897 (target_set_trace_notes): Add argument.
9898 * target.c (update_current_target): Update.
9899 * remote.c (remote_set_trace_notes): Add 'self' argument.
9900
4da384be
TT
99012014-02-19 Tom Tromey <tromey@redhat.com>
9902
9903 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9904 argument.
9905 (target_set_trace_buffer_size): Add argument.
9906 * target.c (update_current_target): Update.
9907 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9908
736d5b1f
TT
99092014-02-19 Tom Tromey <tromey@redhat.com>
9910
9911 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9912 argument.
9913 (target_set_circular_trace_buffer): Add argument.
9914 * target.c (update_current_target): Update.
9915 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9916 argument.
9917
37b25738
TT
99182014-02-19 Tom Tromey <tromey@redhat.com>
9919
9920 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9921 argument.
9922 (target_set_disconnected_tracing): Add argument.
9923 * target.c (update_current_target): Update.
9924 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9925
0e67620a
TT
99262014-02-19 Tom Tromey <tromey@redhat.com>
9927
9928 * target.h (struct target_ops)
9929 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9930 (target_get_min_fast_tracepoint_insn_len): Add argument.
9931 * target.c (update_current_target): Update.
9932 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9933 argument.
9934
88ee6f45
TT
99352014-02-19 Tom Tromey <tromey@redhat.com>
9936
9937 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9938 argument.
9939 (target_get_raw_trace_data): Add argument.
9940 * target.c (update_current_target): Update.
9941 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9942
181e3713
TT
99432014-02-19 Tom Tromey <tromey@redhat.com>
9944
9945 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9946 Add argument.
9947 (target_upload_trace_state_variables): Add argument.
9948 * target.c (update_current_target): Update.
9949 * remote.c (remote_upload_trace_state_variables): Add 'self'
9950 argument.
9951 (remote_start_remote): Update.
9952
ab6617cc
TT
99532014-02-19 Tom Tromey <tromey@redhat.com>
9954
9955 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9956 argument.
9957 (target_upload_tracepoints): Add argument.
9958 * target.c (update_current_target): Update.
9959 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9960 (remote_start_remote): Update.
9961
dc3decaf
TT
99622014-02-19 Tom Tromey <tromey@redhat.com>
9963
9964 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9965 (target_save_trace_data): Add argument.
9966 * target.c (update_current_target): Update.
9967 * remote.c (remote_save_trace_data): Add 'self' argument.
9968
4011015b
TT
99692014-02-19 Tom Tromey <tromey@redhat.com>
9970
9971 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9972 argument.
9973 * target.h (struct target_ops)
9974 <to_get_trace_state_variable_value>: Add argument.
9975 (target_get_trace_state_variable_value): Add argument.
9976 * target.c (update_current_target): Update.
9977 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9978 argument.
9979 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9980
bd4c6793
TT
99812014-02-19 Tom Tromey <tromey@redhat.com>
9982
9983 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9984 * target.h (struct target_ops) <to_trace_find>: Add argument.
9985 (target_trace_find): Add argument.
9986 * target.c (update_current_target): Update.
9987 * remote.c (remote_trace_find): Add 'self' argument.
9988 * ctf.c (ctf_trace_find): Add 'self' argument.
9989
74499f1b
TT
99902014-02-19 Tom Tromey <tromey@redhat.com>
9991
9992 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9993 (target_trace_stop): Add argument.
9994 * target.c (update_current_target): Update.
9995 * remote.c (remote_trace_stop): Add 'self' argument.
9996
db90e85c
TT
99972014-02-19 Tom Tromey <tromey@redhat.com>
9998
9999 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
10000 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
10001 argument.
10002 (target_get_tracepoint_status): Add argument.
10003 * target.c (update_current_target): Update.
10004 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
10005
8bd200f1
TT
100062014-02-19 Tom Tromey <tromey@redhat.com>
10007
10008 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10009 * target.h (struct target_ops) <to_get_trace_status>: Add
10010 argument.
10011 (target_get_trace_status): Add argument.
10012 * target.c (update_current_target): Update.
10013 * remote.c (remote_get_trace_status): Add 'self' argument.
10014 (remote_start_remote, remote_can_download_tracepoint): Update.
10015 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10016
e2d1aae3
TT
100172014-02-19 Tom Tromey <tromey@redhat.com>
10018
10019 * target.h (struct target_ops) <to_trace_start>: Add argument.
10020 (target_trace_start): Add argument.
10021 * target.c (update_current_target): Update.
10022 * remote.c (remote_trace_start): Add 'self' argument.
10023
583f9a86
TT
100242014-02-19 Tom Tromey <tromey@redhat.com>
10025
10026 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10027 Add argument.
10028 (target_trace_set_readonly_regions): Add argument.
10029 * target.c (update_current_target): Update.
10030 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10031 argument.
10032
780b049c
TT
100332014-02-19 Tom Tromey <tromey@redhat.com>
10034
10035 * target.h (struct target_ops) <to_disable_tracepoint>: Add
10036 argument.
10037 (target_disable_tracepoint): Add argument.
10038 * target.c (update_current_target): Update.
10039 * remote.c (remote_disable_tracepoint): Add 'self' argument.
10040
46670d57
TT
100412014-02-19 Tom Tromey <tromey@redhat.com>
10042
10043 * target.h (struct target_ops) <to_enable_tracepoint>: Add
10044 argument.
10045 (target_enable_tracepoint): Add argument.
10046 * target.c (update_current_target): Update.
10047 * remote.c (remote_enable_tracepoint): Add 'self' argument.
10048
559d2b81
TT
100492014-02-19 Tom Tromey <tromey@redhat.com>
10050
10051 * target.h (struct target_ops) <to_download_trace_state_variable>:
10052 Add argument.
10053 (target_download_trace_state_variable): Add argument.
10054 * target.c (update_current_target): Update.
10055 * remote.c (remote_download_trace_state_variable): Add 'self'
10056 argument.
10057
a52a8357
TT
100582014-02-19 Tom Tromey <tromey@redhat.com>
10059
10060 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
10061 argument.
10062 (target_can_download_tracepoint): Add argument.
10063 * target.c (update_current_target): Update.
10064 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
10065
548f7808
TT
100662014-02-19 Tom Tromey <tromey@redhat.com>
10067
10068 * target.h (struct target_ops) <to_download_tracepoint>: Add
10069 argument.
10070 (target_download_tracepoint): Add argument.
10071 * target.c (update_current_target): Update.
10072 * remote.c (remote_download_tracepoint): Add 'self' argument.
10073
ecae04e1
TT
100742014-02-19 Tom Tromey <tromey@redhat.com>
10075
10076 * target.h (struct target_ops) <to_trace_init>: Add argument.
10077 (target_trace_init): Add argument.
10078 * target.c (update_current_target): Update.
10079 * remote.c (remote_trace_init): Add 'self' argument.
10080
fab5aa7c
TT
100812014-02-19 Tom Tromey <tromey@redhat.com>
10082
10083 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10084 * target.c (target_fileio_readlink): Add argument.
10085 * remote.c (remote_hostio_readlink): Add 'self' argument.
10086 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10087
dbbca37d
TT
100882014-02-19 Tom Tromey <tromey@redhat.com>
10089
10090 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10091 * target.c (target_fileio_unlink): Add argument.
10092 * remote.c (remote_hostio_unlink): Add 'self' argument.
10093 (remote_file_delete): Update.
10094 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10095
df39ea25
TT
100962014-02-19 Tom Tromey <tromey@redhat.com>
10097
10098 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10099 * target.c (target_fileio_close): Add argument.
10100 * remote.c (remote_hostio_close): Add 'self' argument.
10101 (remote_hostio_close_cleanup): Update.
10102 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10103 Update.
10104 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10105
a3be983c
TT
101062014-02-19 Tom Tromey <tromey@redhat.com>
10107
10108 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10109 * target.c (target_fileio_pread): Add argument.
10110 * remote.c (remote_hostio_pread): Add 'self' argument.
10111 (remote_bfd_iovec_pread, remote_file_get): Update.
10112 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10113
0d866f62
TT
101142014-02-19 Tom Tromey <tromey@redhat.com>
10115
10116 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10117 * target.c (target_fileio_pwrite): Add argument.
10118 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10119 (remote_file_put): Update.
10120 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10121
cd897586
TT
101222014-02-19 Tom Tromey <tromey@redhat.com>
10123
10124 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10125 * target.c (target_fileio_open): Add argument.
10126 * remote.c (remote_hostio_open): Add 'self' argument.
10127 (remote_bfd_iovec_open): Add 'self' argument.
10128 (remote_file_put): Add 'self' argument.
10129 (remote_file_get): Add 'self' argument.
10130 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10131
78eff0ec
TT
101322014-02-19 Tom Tromey <tromey@redhat.com>
10133
10134 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10135 Add argument.
10136 (target_can_run_breakpoint_commands): Add argument.
10137 * target.c (update_current_target): Update.
10138 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
10139 argument.
10140 (remote_insert_breakpoint): Add 'self' argument.
10141 (remote_insert_hw_breakpoint): Add 'self' argument.
10142 (remote_can_run_breakpoint_commands): Add 'self' argument.
10143
efcc2da7
TT
101442014-02-19 Tom Tromey <tromey@redhat.com>
10145
10146 * target.h (struct target_ops)
10147 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
10148 (target_supports_evaluation_of_breakpoint_conditions): Add
10149 argument.
10150 * target.c (update_current_target): Update.
10151 * remote.c (remote_supports_cond_breakpoints): Add 'self'
10152 argument.
10153 (remote_insert_breakpoint): Add 'self' argument.
10154 (remote_insert_hw_breakpoint): Add 'self' argument.
10155 (remote_supports_cond_breakpoints): Add 'self' argument.
10156
6de37a3a
TT
101572014-02-19 Tom Tromey <tromey@redhat.com>
10158
10159 * target.h (struct target_ops) <to_supports_string_tracing>: Add
10160 argument.
10161 (target_supports_string_tracing): Add argument.
10162 * target.c (update_current_target): Update.
10163 * remote.c (remote_supports_string_tracing): Add 'self' argument.
10164
2bfc0540
TT
101652014-02-19 Tom Tromey <tromey@redhat.com>
10166
10167 * target.h (struct target_ops)
10168 <to_supports_disable_randomization>: Add argument.
10169 * target.c (find_default_supports_disable_randomization): Add
10170 argument.
10171 (target_supports_disable_randomization): Add argument.
10172 (find_default_supports_disable_randomization): Add 'self'
10173 argument.
10174 * remote.c (extended_remote_supports_disable_randomization): Add
10175 'self' argument.
10176 (remote_supports_disable_randomization): Add 'self' argument.
10177 (extended_remote_create_inferior): Update.
10178 * linux-nat.c (linux_nat_supports_disable_randomization): Add
10179 'self' argument.
10180
7d178d6a
TT
101812014-02-19 Tom Tromey <tromey@redhat.com>
10182
10183 * target.h (struct target_ops)
10184 <to_supports_enable_disable_tracepoint>: Add argument.
10185 (target_supports_enable_disable_tracepoint): Add argument.
10186 * target.c (update_current_target): Update.
10187 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
10188 argument.
10189
86ce2668
TT
101902014-02-19 Tom Tromey <tromey@redhat.com>
10191
10192 * target.h (struct target_ops) <to_supports_multi_process>: Add
10193 argument.
10194 (target_supports_multi_process): Add argument.
10195 * target.c (update_current_target): Update.
10196 * remote.c (remote_supports_multi_process): Add 'self' argument.
10197 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
10198 argument.
10199 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
10200 argument.
10201
4c612759
TT
102022014-02-19 Tom Tromey <tromey@redhat.com>
10203
10204 * target.h (struct target_ops) <to_execution_direction>: Add
10205 argument.
10206 (target_execution_direction): Add argument.
10207 * target.c (default_execution_direction): Add 'self' argument.
10208 * record-full.c (record_full_execution_direction): Add 'self'
10209 argument.
10210
19db3e69
TT
102112014-02-19 Tom Tromey <tromey@redhat.com>
10212
10213 * target.h (struct target_ops) <to_can_execute_reverse>: Add
10214 argument.
10215 (target_can_execute_reverse): Add argument.
10216 * remote.c (remote_can_execute_reverse): Add 'self' argument.
10217 * record-full.c (record_full_can_execute_reverse): Add 'self'
10218 argument.
10219 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
10220 argument.
10221
1e6b91a4
TT
102222014-02-19 Tom Tromey <tromey@redhat.com>
10223
10224 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
10225 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
10226 argument.
10227 (target_get_ada_task_ptid): Add argument.
10228 * target.c (update_current_target): Update.
10229 (default_get_ada_task_ptid): Add 'self' argument.
10230 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
10231 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
10232 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
10233 argument.
10234 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
10235 argument.
10236 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
10237 argument.
10238 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
10239 argument.
10240 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
10241 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
10242 argument.
10243
3c80fb48
TT
102442014-02-19 Tom Tromey <tromey@redhat.com>
10245
10246 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
10247 (target_goto_bookmark): Add argument.
10248 * target.c (dummy_goto_bookmark): Add 'self' argument.
10249 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
10250
dd0e2830
TT
102512014-02-19 Tom Tromey <tromey@redhat.com>
10252
10253 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
10254 (target_get_bookmark): Add argument.
10255 * target.c (dummy_get_bookmark): Add 'self' argument.
10256 * record-full.c (record_full_get_bookmark): Add 'self' argument.
10257
fc6691b2
TT
102582014-02-19 Tom Tromey <tromey@redhat.com>
10259
10260 * target.h (struct target_ops) <to_make_corefile_notes>: Add
10261 argument.
10262 (target_make_corefile_notes): Add argument.
10263 * target.c (dummy_make_corefile_notes): Add 'self' argument.
10264 * procfs.c (procfs_make_note_section): Add 'self' argument.
10265 (procfs_make_note_section): Add 'self' argument.
10266 (procfs_make_note_section): Add 'self' argument.
10267 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
10268 argument.
10269 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
10270 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
10271 * exec.c (exec_make_note_section): Add 'self' argument.
10272 (exec_make_note_section): Add 'self' argument.
10273
2e73927c
TT
102742014-02-19 Tom Tromey <tromey@redhat.com>
10275
10276 * target.h (struct target_ops) <to_find_memory_regions>: Add
10277 argument.
10278 (target_find_memory_regions): Add argument.
10279 * target.c (dummy_find_memory_regions): Add 'self' argument.
10280 * procfs.c (proc_find_memory_regions): Add 'self' argument.
10281 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
10282 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
10283 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
10284 * exec. (exec_do_find_memory_regions): New global.
10285 (exec_set_find_memory_regions): Rewrite.
10286 (exec_find_memory_regions): New function.
10287 (init_exec_ops): Use exec_find_memory_regions.
10288
2a9a2795
TT
102892014-02-19 Tom Tromey <tromey@redhat.com>
10290
10291 * target.h (struct target_ops) <to_supports_non_stop>: Add
10292 argument.
10293 * target.c (find_default_supports_non_stop): Add argument.
10294 (target_supports_non_stop): Add argument.
10295 (find_default_supports_non_stop): Add 'self' argument.
10296 * remote.c (remote_supports_non_stop): Add 'self' argument.
10297 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
10298
4ab76ea3
TT
102992014-02-19 Tom Tromey <tromey@redhat.com>
10300
10301 * target.h (struct target_ops) <to_log_command>: Add argument.
10302 (target_log_command): Add argument.
10303 * serial.h (serial_log_command): Add 'self' argument.
10304 * serial.c (serial_log_command): Add 'self' argument.
10305
8dd27370
TT
103062014-02-19 Tom Tromey <tromey@redhat.com>
10307
10308 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
10309 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
10310 argument.
10311 (target_pid_to_exec_file): Add argument.
10312 * target.c (debug_to_pid_to_exec_file): Add argument.
10313 (update_current_target): Update.
10314 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
10315 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
10316 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
10317 (linux_handle_extended_wait): Update.
10318 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
10319 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
10320 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
10321 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
10322
1aac633b
TT
103232014-02-19 Tom Tromey <tromey@redhat.com>
10324
10325 * target.h (struct target_ops) <to_rcmd>: Add argument.
10326 (target_rcmd): Add argument.
10327 * target.c (debug_to_rcmd): Add argument.
10328 (update_current_target, do_monitor_command): Update.
10329 * remote.c (remote_rcmd): Add 'self' argument.
10330 * monitor.c (monitor_rcmd): Add 'self' argument.
10331
1eab8a48
TT
103322014-02-19 Tom Tromey <tromey@redhat.com>
10333
10334 * windows-nat.c (windows_stop): Add 'self' argument.
10335 * target.h (struct target_ops) <to_stop>: Add argument.
10336 * target.c (target_stop): Add argument.
10337 (debug_to_stop): Add argument.
10338 (update_current_target): Update.
10339 * remote.c (remote_stop): Add 'self' argument.
10340 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10341 (gdbsim_cntrl_c): Update.
10342 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10343 * procfs.c (procfs_stop): Add 'self' argument.
10344 * nto-procfs.c (procfs_stop): Add 'self' argument.
10345 * monitor.c (monitor_stop): Add 'self' argument.
10346 (monitor_open): Update.
10347 * linux-nat.c (linux_nat_stop): Add argument.
10348 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10349 * gnu-nat.c (gnu_stop): Add 'self' argument.
10350 * darwin-nat.c (darwin_stop): Add 'self' argument.
10351
503a628d
TT
103522014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * target.h (struct target_ops) <to_thread_name>: Add argument.
10355 * target.c (target_thread_name): Add argument.
10356 (update_current_target): Update.
10357 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10358
c15906d8
TT
103592014-02-19 Tom Tromey <tromey@redhat.com>
10360
10361 * target.h (struct target_ops) <to_extra_thread_info>: Add
10362 argument.
10363 (target_extra_thread_info): Add argument.
10364 * target.c (update_current_target): Update.
10365 * remote.c (remote_threads_extra_info): Add 'self' argument.
10366 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10367 argument.
10368 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10369 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10370 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10371 argument.
10372 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10373 argument.
10374 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10375 argument.
10376 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10377 argument.
10378
daf5e9b6
TT
103792014-02-19 Tom Tromey <tromey@redhat.com>
10380
10381 * target.h (struct target_ops) <to_program_signals>: Add argument.
10382 * target.c (target_program_signals): Add argument.
10383 * remote.c (remote_program_signals): Add 'self' argument.
10384
94bedb42
TT
103852014-02-19 Tom Tromey <tromey@redhat.com>
10386
10387 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10388 * target.c (target_pass_signals): Add argument.
10389 * remote.c (remote_pass_signals): Add 'self' argument.
10390 (remote_start_remote): Update.
10391 * procfs.c (procfs_pass_signals): Add 'self' argument.
10392 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10393 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10394 (linux_nat_create_inferior, linux_nat_attach): Update.
10395
da82bd6b
TT
103962014-02-19 Tom Tromey <tromey@redhat.com>
10397
10398 * windows-nat.c (windows_can_run): Add 'self' argument.
10399 * target.h (struct target_ops) <to_can_run>: Add argument.
10400 (target_can_run): Add argument.
10401 * target.c (debug_to_can_run): Add argument.
10402 (update_current_target): Update.
10403 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10404 * inf-child.c (inf_child_can_run): Add 'self' argument.
10405 * go32-nat.c (go32_can_run): Add 'self' argument.
10406
d796e1d6
TT
104072014-02-19 Tom Tromey <tromey@redhat.com>
10408
10409 * target.h (struct target_ops) <to_has_exited>: Add argument.
10410 (target_has_exited): Add argument.
10411 * target.c (debug_to_has_exited): Add argument.
10412 (update_current_target): Update.
10413
ff214e67
TT
104142014-02-19 Tom Tromey <tromey@redhat.com>
10415
10416 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10417 argument.
10418 (target_set_syscall_catchpoint): Add argument.
10419 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10420 argument.
10421 * target.c (update_current_target): Update.
10422
758e29d2
TT
104232014-02-19 Tom Tromey <tromey@redhat.com>
10424
10425 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10426 argument.
10427 (target_remove_exec_catchpoint): Add argument.
10428 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10429 (update_current_target): Update.
10430 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10431 argument.
10432
ba025e51
TT
104332014-02-19 Tom Tromey <tromey@redhat.com>
10434
10435 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10436 argument.
10437 (target_insert_exec_catchpoint): Add argument.
10438 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10439 (update_current_target): Update.
10440 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10441 argument.
10442
e98cf0cd
TT
104432014-02-19 Tom Tromey <tromey@redhat.com>
10444
10445 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10446 argument.
10447 (target_remove_vfork_catchpoint): Add argument.
10448 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10449 (update_current_target): Update.
10450 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10451 argument.
10452
3ecc7da0
TT
104532014-02-19 Tom Tromey <tromey@redhat.com>
10454
10455 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10456 argument.
10457 (target_insert_vfork_catchpoint): Add argument.
10458 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10459 (update_current_target): Update.
10460 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10461 argument.
10462
973fc227
TT
104632014-02-19 Tom Tromey <tromey@redhat.com>
10464
10465 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10466 argument.
10467 (target_remove_fork_catchpoint): Add argument.
10468 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10469 (update_current_target): Update.
10470 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10471 argument.
10472
a863b201
TT
104732014-02-19 Tom Tromey <tromey@redhat.com>
10474
10475 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10476 argument.
10477 (target_insert_fork_catchpoint): Add argument.
10478 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10479 (update_current_target): Update.
10480 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10481 argument.
10482
2e97a79e
TT
104832014-02-19 Tom Tromey <tromey@redhat.com>
10484
10485 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10486 argument.
10487 (target_post_startup_inferior): Add argument.
10488 * target.c (debug_to_post_startup_inferior): Add argument.
10489 (update_current_target): Update.
10490 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10491 argument.
10492 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10493 argument.
10494 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10495 argument.
10496 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10497 argument.
10498 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10499 'self' argument.
10500 (super_post_startup_inferior): Likewise.
10501 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10502 'self' argument.
10503 (super_post_startup_inferior): Likewise.
10504 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10505 Add 'self' argument.
10506 (super_post_startup_inferior): Likewise.
10507
71a9f134
TT
105082014-02-19 Tom Tromey <tromey@redhat.com>
10509
10510 * target.h (struct target_ops) <to_load>: Add argument.
10511 * target.c (target_load): Add argument.
10512 (debug_to_load): Add argument.
10513 (update_current_target): Update.
10514 * remote.c (remote_load): Add 'self' argument.
10515 * remote-sim.c (gdbsim_load): Add 'self' argument.
10516 * remote-mips.c (mips_load): Add 'self' argument.
10517 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10518 * monitor.c (monitor_load): Add 'self' argument.
10519 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10520
0a4f40a2
TT
105212014-02-19 Tom Tromey <tromey@redhat.com>
10522
10523 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10524 (target_terminal_info): Add argument.
10525 * target.c (debug_to_terminal_info): Add argument.
10526 (default_terminal_info): Likewise.
10527 * inflow.c (child_terminal_info): Add 'self' argument.
10528 * inferior.h (child_terminal_info): Add 'self' argument.
10529 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10530
ae3bd431
TT
105312014-02-19 Tom Tromey <tromey@redhat.com>
10532
10533 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10534 argument.
10535 (target_terminal_save_ours): Add argument.
10536 * target.c (debug_to_terminal_save_ours): Add argument.
10537 (update_current_target): Update.
10538 * inflow.c (terminal_save_ours): Add 'self' argument.
10539 * inferior.h (terminal_save_ours): Add 'self' argument.
10540
e3594fd1
TT
105412014-02-19 Tom Tromey <tromey@redhat.com>
10542
10543 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10544 (target_terminal_ours): Add argument.
10545 * target.c (debug_to_terminal_ours): Add argument.
10546 (update_current_target): Update.
10547 * remote.c (remote_terminal_ours): Add 'self' argument.
10548 (remote_close): Update.
10549 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10550 * inflow.c (terminal_ours): Add 'self' argument.
10551 * inferior.h (terminal_ours): Add 'self' argument.
10552 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10553
2e1e1a19
TT
105542014-02-19 Pedro Alves <palves@redhat.com>
10555 Tom Tromey <tromey@redhat.com>
10556
10557 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10558 argument.
10559 (target_terminal_ours_for_output): Add argument.
10560 * target.c (debug_to_terminal_ours_for_output): Add argument.
10561 (update_current_target): Update.
10562 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10563 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10564 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10565
d2f640d4
TT
105662014-02-19 Tom Tromey <tromey@redhat.com>
10567
10568 * target.h (struct target_ops) <to_terminal_inferior>: Add
10569 argument.
10570 * target.c (target_terminal_inferior): Add argument.
10571 (update_current_target): Update.
10572 * remote.c (remote_terminal_inferior): Add 'self' argument.
10573 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10574 * inflow.c (terminal_inferior): Add 'self' argument.
10575 * inferior.h (terminal_inferior): Add 'self' argument.
10576 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10577 (go32_terminal_inferior): Add 'self' argument.
10578
c42bf286
TT
105792014-02-19 Tom Tromey <tromey@redhat.com>
10580
10581 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10582 (target_terminal_init): Add argument.
10583 * target.c (debug_to_terminal_init): Add argument.
10584 (update_current_target): Update.
10585 * inflow.c (terminal_init_inferior): Add 'self' argument.
10586 * inferior.h (terminal_init_inferior): Add 'self' argument.
10587 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10588 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10589
c3a5ff89
TT
105902014-02-19 Tom Tromey <tromey@redhat.com>
10591
10592 * target.h (struct target_ops)
10593 <to_can_accel_watchpoint_condition>: Add argument.
10594 (target_can_accel_watchpoint_condition): Add argument.
10595 * target.c (debug_to_can_accel_watchpoint_condition): Add
10596 argument.
10597 (update_current_target): Update.
10598 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10599 'self' argument.
10600
31568a15
TT
106012014-02-19 Tom Tromey <tromey@redhat.com>
10602
10603 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10604 Add argument.
10605 (target_region_ok_for_hw_watchpoint): Add argument.
10606 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10607 (default_region_ok_for_hw_watchpoint): Add argument.
10608 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10609 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10610 argument.
10611 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10612 argument.
10613 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10614 argument.
10615 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10616 'self' argument.
10617 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10618 'self' argument.
10619 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10620 'self' argument.
10621 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10622 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10623 'self' argument.
10624 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10625 Add 'self' argument.
10626
7bb99c53
TT
106272014-02-19 Tom Tromey <tromey@redhat.com>
10628
10629 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10630 argument.
10631 (target_insert_watchpoint): Add argument.
10632 * target.c (debug_to_insert_watchpoint): Add argument.
10633 (update_current_target): Update.
10634 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10635 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10636 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10637 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10638 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10639 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10640 argument.
10641 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10642 (procfs_insert_hw_watchpoint): Add 'self' argument.
10643 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10644 argument.
10645 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10646 argument.
10647 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10648 argument.
10649 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10650 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10651 argument.
10652 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10653 'self' argument.
10654
11b5219a
TT
106552014-02-19 Tom Tromey <tromey@redhat.com>
10656
10657 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10658 argument.
10659 (target_remove_watchpoint): Add argument.
10660 * target.c (debug_to_remove_watchpoint): Add argument.
10661 (update_current_target): Update.
10662 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10663 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10664 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10665 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10666 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10667 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10668 argument.
10669 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10670 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10671 argument.
10672 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10673 argument.
10674 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10675 argument.
10676 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10677 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10678 argument.
10679 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10680 'self' argument.
10681
a64dc96c
TT
106822014-02-19 Tom Tromey <tromey@redhat.com>
10683
10684 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10685 argument.
10686 (target_remove_hw_breakpoint): Add argument.
10687 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10688 (update_current_target): Update.
10689 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10690 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10691 argument.
10692 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10693 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10694 argument.
10695 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10696 'self' argument.
10697
23a26771
TT
106982014-02-19 Tom Tromey <tromey@redhat.com>
10699
10700 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10701 argument.
10702 (target_insert_hw_breakpoint): Add argument.
10703 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10704 (update_current_target): Update.
10705 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10706 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10707 argument.
10708 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10709 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10710 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10711 argument.
10712 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10713 'self' argument.
10714
5461485a
TT
107152014-02-19 Tom Tromey <tromey@redhat.com>
10716
10717 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10718 argument.
10719 (target_can_use_hardware_watchpoint): Add argument.
10720 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10721 (update_current_target): Update.
10722 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10723 argument.
10724 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10725 argument.
10726 * remote.c (remote_check_watch_resources): Add 'self' argument.
10727 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10728 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10729 argument.
10730 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10731 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10732 argument.
10733 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10734 argument.
10735 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10736 argument.
10737 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10738 argument.
10739 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10740 argument.
10741 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10742 argument.
10743 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10744 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10745 argument.
10746 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10747 'self' argument.
10748
f045800c
TT
107492014-02-19 Tom Tromey <tromey@redhat.com>
10750
10751 * target.h (struct target_ops) <to_post_attach>: Add argument.
10752 (target_post_attach): Add argument.
10753 * target.c (debug_to_post_attach): Add argument.
10754 (update_current_target): Update.
10755 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10756 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10757 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10758 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10759 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10760
de90e03d
TT
107612014-02-19 Tom Tromey <tromey@redhat.com>
10762
10763 * windows-nat.c (windows_close): Add 'self' argument.
10764 * tracepoint.c (tfile_close): Add 'self' argument.
10765 * target.h (struct target_ops) <to_close>: Add argument.
10766 * target.c (target_close): Add argument.
10767 (update_current_target): Update.
10768 * remote.c (remote_close): Add 'self' argument.
10769 * remote-sim.c (gdbsim_close): Add 'self' argument.
10770 * remote-mips.c (mips_close): Add 'self' argument.
10771 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10772 * record-full.c (record_full_close): Add 'self' argument.
10773 * record-btrace.c (record_btrace_close): Add 'self' argument.
10774 * monitor.h (monitor_close): Add 'self' argument.
10775 * monitor.c (monitor_close): Add 'self' argument.
10776 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10777 * linux-nat.c (linux_nat_close): Add argument.
10778 * go32-nat.c (go32_close): Add 'self' argument.
10779 * exec.c (exec_close_1): Add 'self' argument.
10780 * ctf.c (ctf_close): Add 'self' argument.
10781 * corelow.c (core_close): Add 'self' argument.
10782 (core_close_cleanup): Update.
10783 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10784 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10785
9dd130a0
TT
107862014-02-19 Tom Tromey <tromey@redhat.com>
10787
10788 * remote.c (remote_load): New function.
10789 (init_remote_ops): Use it.
10790
46917d26
TT
107912014-02-19 Tom Tromey <tromey@redhat.com>
10792
10793 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10794 argument.
10795 * common/linux-btrace.h (linux_supports_btrace): Update.
10796 * remote.c (remote_supports_btrace): Add "self" argument.
10797 * target-delegates.c: Rebuild.
10798 * target.c (target_supports_btrace): Remove.
10799 * target.h (struct target_ops) <to_supports_btrace>: Add
10800 target_ops argument.
10801 (target_supports_btrace): New define.
10802
6b84065d
TT
108032014-02-19 Tom Tromey <tromey@redhat.com>
10804
10805 * record-full.c (record_full_beneath_to_resume_ops)
10806 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10807 (record_full_beneath_to_wait)
10808 (record_full_beneath_to_store_registers_ops)
10809 (record_full_beneath_to_store_registers)
10810 (record_full_beneath_to_xfer_partial_ops)
10811 (record_full_beneath_to_xfer_partial)
10812 (record_full_beneath_to_insert_breakpoint_ops)
10813 (record_full_beneath_to_insert_breakpoint)
10814 (record_full_beneath_to_remove_breakpoint_ops)
10815 (record_full_beneath_to_remove_breakpoint)
10816 (record_full_beneath_to_stopped_by_watchpoint)
10817 (record_full_beneath_to_stopped_data_address)
10818 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10819 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10820 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10821 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10822 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10823 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10824 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10825 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10826 (record_full_resume, record_full_wait_1)
10827 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10828 (record_full_store_registers, record_full_xfer_partial)
10829 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10830 (record_full_async, record_full_core_xfer_partial): Use target
10831 delegation.
10832 * target-delegates.c: Rebuild.
10833 * target.c (current_xfer_partial): Remove.
10834 (update_current_target): Do not INHERIT or de_fault
10835 to_insert_breakpoint, to_remove_breakpoint,
10836 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10837 to_is_async_p, to_async. Do not set to_xfer_partial field.
10838 (default_xfer_partial): Simplify.
10839 (current_xfer_partial): Remove.
10840 (target_wait, target_resume): Simplify.
10841 (find_default_can_async_p, find_default_is_async_p): Update.
10842 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10843 to_xfer_partial, to_stopped_by_watchpoint,
10844 to_stopped_data_address.
10845 (target_store_registers): Simplify.
10846 (forward_target_remove_breakpoint)
10847 (forward_target_insert_breakpoint): Remove.
10848 (target_remove_breakpoint, target_insert_breakpoint)
10849 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10850 * target.h (struct target_ops) <to_resume, to_wait,
10851 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10852 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10853 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10854 markup.
10855 (forward_target_remove_breakpoint)
10856 (forward_target_insert_breakpoint): Remove.
10857 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10858 directly.
10859 (record_btrace_insert_breakpoint): Delegate directly.
10860
1101cb7b
TT
108612014-02-19 Tom Tromey <tromey@redhat.com>
10862
10863 PR build/7701:
10864 * target-delegates.c: New file.
10865 * target.c: Include target-delegates.c.
10866 (init_dummy_target): Call install_dummy_methods.
10867 (complete_target_initialization): Call install_delegators.
10868 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10869 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10870 * make-target-delegates: New file.
10871
8b06beed
TT
108722014-02-19 Tom Tromey <tromey@redhat.com>
10873
10874 * record.c (find_record_target): Use find_target_at.
10875 * target.c (find_target_at): New function.
10876 * target.h (find_target_at): Declare.
10877
6a109b6b
TT
108782014-02-19 Tom Tromey <tromey@redhat.com>
10879
10880 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10881 Add 'ops' argument.
10882 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10883 'ops' argument.
10884 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10885 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10886 'ops' argument.
10887 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10888 argument.
10889 * linux-nat.c (save_sigtrap): Update.
10890 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10891 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10892 (linux_nat_close): Update.
10893 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10894 argument.
10895 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10896 argument.
10897 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10898 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10899 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10900 (tmp_to_async): Add 'ops' argument.
10901 (record_full_stopped_by_watchpoint, record_full_async)
10902 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10903 argument.
10904 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10905 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10906 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10907 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10908 (remote_is_async_p, remote_async): Add 'ops' argument.
10909 (remote_stopped_data_address): Update.
10910 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10911 * target.c (update_current_target)
10912 (find_default_can_async_p, find_default_is_async_p): Update.
10913 (init_dummy_target): Update.
10914 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10915 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10916 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10917 (target_can_async_p, target_is_async_p, target_async)
10918 (target_stopped_by_watchpoint): Update.
10919
e095146b
YQ
109202014-02-19 Yao Qi <yao@codesourcery.com>
10921
10922 PR gdb/16220
10923 * gdbarch.sh: Remove startup_gdbarch.
10924 * gdbarch.c: Regenerated.
10925 * gdbarch.h: Likewise.
10926
bc3c6b36
KB
109272014-02-17 Kevin Buettner <kevinb@redhat.com>
10928
10929 * rl78-tdep.c (rl78_g10_register_name): New function.
10930 (rl78_return_value): Add g10 support.
10931 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10932 g10.
10933
98dc0167 109342014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10935
10936 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10937 (SUBDIR_GUILE_SRCS): Ditto.
10938 (scm-gsmob.o): Ditto.
10939
842c05cd
YQ
109402014-02-17 Yao Qi <yao@codesourcery.com>
10941
10942 * gnu-nat.c (ILL_RPC): Declare defined function.
10943
25c0bd04
YQ
109442014-02-17 Yao Qi <yao@codesourcery.com>
10945
10946 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10947 mach_msg_type_number_t.
10948 (gnu_write_inferior): Likewise.
10949
a9a758e3
YQ
109502014-02-17 Yao Qi <yao@codesourcery.com>
10951
10952 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10953 in format string.
10954 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10955 (inf_validate_procs, inf_signal): Likewise.
10956 (S_exception_raise_request): Likewise.
10957 (do_mach_notify_dead_name): Likewise.
10958 (steal_exc_port): Likewise.
10959 (gnu_read_inferior): Change 'copy_count''s type to
10960 mach_msg_type_number_t.
10961 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10962 format string.
10963
bae8023e
TS
109642014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10965
c82f56d9
TS
10966 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10967 flag. Adjust all users; in particular...
10968 (gnu_wait): ..., don't decrement its value in here...
10969 (gnu_create_inferior): ..., and instead set the flag in here,
10970 around the startup_inferior call, and call that one with
10971 START_INFERIOR_TRAPS_EXPECTED.
10972
3398af6a
TS
10973 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10974 (ILL_RPC): ... new macro.
10975 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10976 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10977 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10978 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10979 functions with ILL_RPC macro.
10980 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10981 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10982 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10983 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10984 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10985 (S_proc_getlogin_reply, S_proc_getsid_reply)
10986 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10987 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10988 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10989 (S_proc_getnports_reply, S_proc_is_important_reply)
10990 (S_proc_get_code_reply): New stub functions, generated with
10991 ILL_RPC macro.
10992
d47642c9
TS
10993 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10994 collected the type check structures.
10995
bae8023e
TS
10996 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10997
8a55ffb0
DE
109982014-02-14 Doug Evans <dje@google.com>
10999
11000 * target.c (target_write_partial): Fix result type.
11001
c2853f3d
JM
110022014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11003
11004 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
11005 the proper offsets to access fpregset_t.
11006
ac61d2db
SA
110072014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11008
11009 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11010 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11011 * h8300-tdep.c (setmachinelist): Remove global.
11012 * hppa-tdep.c (hppa_sigtramp): Remove global.
11013 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11014 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11015 * ravenscar-thread.c (update_target_observer): Remove global.
11016 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11017
9d2d0b8b
TT
110182014-02-12 Tom Tromey <tromey@redhat.com>
11019
11020 * common/rsp-low.c: Update comments.
11021 * common/rsp-low.h: Update comments.
11022
a7191e8b
TT
110232014-02-12 Tom Tromey <tromey@redhat.com>
11024
11025 * common/rsp-low.c (convert_ascii_to_int): Remove.
11026 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11027
ff0e980e
TT
110282014-02-12 Tom Tromey <tromey@redhat.com>
11029
11030 * common/rsp-low.h (unhexify): Don't declare.
11031 * common/rsp-low.c (unhexify): Remove.
11032
e9371aff
TT
110332014-02-12 Tom Tromey <tromey@redhat.com>
11034
11035 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
11036 * common/rsp-low.c (convert_int_to_ascii): Remove.
11037
971dc0b8
TT
110382014-02-12 Tom Tromey <tromey@redhat.com>
11039
11040 * common/rsp-low.h (hexify): Don't declare.
11041 * common/rsp-low.c (hexify): Remove.
11042
0a822afb
TT
110432014-02-12 Tom Tromey <tromey@redhat.com>
11044
11045 * common/rsp-low.c (hexify): Never take strlen of argument.
11046
9f1b45b0
TT
110472014-02-12 Tom Tromey <tromey@redhat.com>
11048
11049 * common/rsp-low.c (bin2hex): Never take strlen of argument.
11050 * remote.c (extended_remote_run, remote_rcmd)
11051 (remote_download_trace_state_variable, remote_save_trace_data)
11052 (remote_set_trace_notes): Update.
11053 * tracepoint.c (encode_source_string, tfile_write_status)
11054 (tfile_write_uploaded_tsv): Update.
11055
9c3d6531
TT
110562014-02-12 Tom Tromey <tromey@redhat.com>
11057
11058 * tracepoint.c: Include rsp-low.h.
11059 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
11060 * remote.c: Include rsp-low.h.
11061 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
11062 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
11063 (remote_unescape_input): Move to common/rsp-low.c.
11064 * common/rsp-low.h: New file.
11065 * common/rsp-low.c: New file.
11066 * Makefile.in (SFILES): Add common/rsp-low.c.
11067 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
11068 (COMMON_OBS): Add rsp-low.o.
11069 (rsp-low.o): New target.
11070
01fd3ea5
TT
110712014-02-12 Tom Tromey <tromey@redhat.com>
11072
11073 * utils.h: Include print-utils.h.
11074 (host_address_to_string, plongest, pulongest, phex, phex_nz)
11075 (int_string, core_addr_to_string, core_addr_to_string_nz)
11076 (hex_string, hex_string_custom): Don't declare.
11077 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11078 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11079 (hex_string_custom, int_string, core_addr_to_string)
11080 (core_addr_to_string_nz, host_address_to_string): Move to
11081 common/print-utils.c.
11082 * common/print-utils.h: New file.
11083 * common/print-utils.c: New file
11084 * Makefile.in (SFILES): Add common/print-utils.c.
11085 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11086 (COMMON_OBS): Add print-utils.o.
11087 (print-utils.o): New target.
11088
9fb50108
TT
110892014-02-12 Tom Tromey <tromey@redhat.com>
11090
11091 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11092
0548b5db
MK
110932014-02-12 Mark Kettenis <kettenis@gnu.org>
11094
11095 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11096
493443a4
MK
110972014-02-12 Mark Kettenis <kettenis@gnu.org>
11098
11099 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11100 if a PT_IO ptrace request returns sucessfully but indicates that 0
11101 bytes were transferred.
11102
706d0883
PA
111032014-02-12 Pedro Alves <palves@redhat.com>
11104 Kevin Buettner <kevinb@redhat.com>
11105
11106 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11107 TYPE_INSTANCE_FLAG_CODE_SPACE.
11108
5caa2f0b
PA
111092014-02-12 Pedro Alves <palves@redhat.com>
11110
11111 * h8300-tdep.c (pseudo_from_raw_register)
11112 (raw_from_pseudo_register): New functions.
11113 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11114 them.
11115
76fd5f74
PA
111162014-02-12 Pedro Alves <palves@redhat.com>
11117
11118 * h8300-tdep.c (h8300_register_sim_regno): New function.
11119 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11120 gdbarch_register_sim_regno hook.
11121
8f008406
SA
111222014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11123
11124 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11125
195abc10
SA
111262014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11127
11128 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11129
93ffa5b9
MK
111302014-02-12 Mark Kettenis <kettenis@gnu.org>
11131
11132 * obsd-tdep.h (obsd_init_abi): New prototype.
11133 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11134 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11135 (obsd_init_abi): New functions.
11136 * i386obsd-tdep.c: Include "obsd-tdep.h".
11137 (i386obsd_init_abi): Call obsd_init_abi.
11138 * amd64obsd-tdep.c: Include "obsd-tdep.h".
11139 (amd64obsd_init_abi): Call obsd_init_abi.
11140 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
11141 obsd-tdep.c to gdb_target_obs.
11142
49caec94
JM
111432014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
11144
11145 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
11146 double float arguments to 16-byte in the argument slots.
11147
e1402065
DE
111482014-02-11 Doug Evans <xdje42@gmail.com>
11149
11150 * configure.ac: Don't crash if pkg-config is not found and guile
11151 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
11152 in guile checks.
11153 * configure: Regenerate.
11154
edcc890f
YQ
111552014-02-11 Yao Qi <yao@codesourcery.com>
11156
11157 * aix-thread.c (aix_thread_xfer_partial): Update comments.
11158 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
11159 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11160 * gnu-nat.c (gnu_xfer_memory): Likewise.
11161 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11162 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11163 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11164 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11165
9b409511
YQ
111662014-02-11 Yao Qi <yao@codesourcery.com>
11167
11168 * target.h (enum target_xfer_error): Rename to ...
11169 (enum target_xfer_status): ... it. New. All users updated.
11170 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
11171 New.
11172 (TARGET_XFER_STATUS_ERROR_P): New macro.
11173 (target_xfer_error_to_string): Remove declaration.
11174 (target_xfer_status_to_string): Declare.
11175 (target_xfer_partial_ftype): Adjust it.
11176 (struct target_ops) <to_xfer_partial>: Return
11177 target_xfer_status. Add argument xfered_len. Update
11178 comments.
11179 * target.c (target_xfer_error_to_string): Rename to ...
11180 (target_xfer_status_to_string): ... it. New. All callers
11181 updated.
11182 (target_read_live_memory): Likewise. Call target_xfer_partial
11183 instead of target_read.
11184 (memory_xfer_live_readonly_partial): Return
11185 target_xfer_status. Add argument xfered_len.
11186 (raw_memory_xfer_partial): Likewise.
11187 (memory_xfer_partial_1): Likewise.
11188 (memory_xfer_partial): Likewise.
11189 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
11190 properly. Update debug message.
11191 (default_xfer_partial, current_xfer_partial): Likewise.
11192 (target_write_partial): Likewise.
11193 (target_read_partial): Likewise. All callers updated.
11194 (read_whatever_is_readable): Likewise.
11195 (target_write_with_progress): Likewise.
11196 (target_read_alloc_1): Likewise.
11197
11198 * aix-thread.c (aix_thread_xfer_partial): Likewise.
11199 * auxv.c (procfs_xfer_auxv): Likewise.
11200 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
11201 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11202 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11203 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
11204 * corefile.c (read_memory): Adjust.
11205 * corelow.c (core_xfer_partial): Likewise.
11206 * ctf.c (ctf_xfer_partial): Likewise.
11207 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
11208 updated.
11209 (darwin_xfer_partial): Likewise.
11210 * exec.c (section_table_xfer_memory_partial): Likewise. All
11211 callers updated.
11212 (exec_xfer_partial): Likewise.
11213 * exec.h (section_table_xfer_memory_partial): Update
11214 declaration.
11215 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
11216 negative.
11217 (gnu_xfer_partial): Likewise.
11218 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
11219 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
11220 (ia64_hpux_xfer_solib_got): Likewise.
11221 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
11222 type of 'partial_len' to ULONGEST.
11223 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11224 * linux-nat.c (linux_xfer_siginfo ): Likewise.
11225 (linux_nat_xfer_partial): Likewise.
11226 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
11227 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
11228 * monitor.c (monitor_xfer_memory): Likewise.
11229 (monitor_xfer_partial): Likewise.
11230 * procfs.c (procfs_xfer_partial): Likewise.
11231 * record-btrace.c (record_btrace_xfer_partial): Likewise.
11232 * record-full.c (record_full_xfer_partial): Likewise.
11233 (record_full_core_xfer_partial): Likewise.
11234 * remote-sim.c (gdbsim_xfer_memory): Likewise.
11235 (gdbsim_xfer_partial): Likewise.
11236 * remote.c (remote_write_bytes_aux): Likewise. All callers
11237 updated.
11238 (remote_write_bytes, remote_read_bytes): Likewise. All
11239 callers updated.
11240 (remote_flash_erase): Likewise. All callers updated.
11241 (remote_write_qxfer): Likewise. All callers updated.
11242 (remote_read_qxfer): Likewise. All callers updated.
11243 (remote_xfer_partial): Likewise.
11244 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11245 (rs6000_xfer_shared_libraries): Likewise.
11246 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11247 (sol_thread_xfer_partial): Likewise.
11248 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11249 (sparc_xfer_partial): Likewise.
11250 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
11251 updated.
11252 (spu_xfer_partial): Likewise.
11253 * spu-multiarch.c (spu_xfer_partial): Likewise.
11254 * tracepoint.c (tfile_xfer_partial): Likewise.
11255 * windows-nat.c (windows_xfer_memory): Likewise.
11256 (windows_xfer_shared_libraries): Likewise.
11257 (windows_xfer_partial): Likewise.
11258 * valprint.c: Replace 'target_xfer_error' with
11259 'target_xfer_status' in comments.
11260
a8e63083
JB
112612014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
11262
11263 Checked in by Joel Brobecker <brobecker@adacore.com>.
11264 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
11265
e86b67d3
JB
112662014-02-11 Joel Brobecker <brobecker@adacore.com>
11267
11268 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
11269 function parameters.
11270
4b7d1f7f
WN
112712014-02-10 Will Newton <will.newton@linaro.org>
11272
11273 * elfread.c (elf_rel_plt_read): Look for a .got section if
11274 looking up .got.plt fails.
11275 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11276 on address passed to elf_gnu_ifunc_record_cache.
11277 (elf_gnu_ifunc_resolve_addr): Likewise.
11278 (elf_gnu_ifunc_resolver_return_stop): Likewise.
11279
961842b2
JM
112802014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
11281
11282 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
11283 (X_RETTURN): New macro.
11284 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
11285
11286 * sparc64-tdep.c (sparc64_init_abi): Hook
11287 sparc_in_function_epilogue_p.
11288
3f03e7b1
GB
112892014-02-10 Gary Benson <gbenson@redhat.com>
11290
11291 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11292 Rename name_matcher to symbol_matcher.
11293
96f861ef
GB
112942014-02-10 Gary Benson <gbenson@redhat.com>
11295
11296 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11297 Use expand_symtabs_file_matcher_ftype and
11298 expand_symtabs_symbol_matcher_ftype.
11299
ee01b665
JB
113002014-02-10 Joel Brobecker <brobecker@adacore.com>
11301
11302 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
11303 (struct ada_symbol_cache): New.
11304 (ada_free_symbol_cache): Forward declare.
11305 (struct ada_pspace_data): New.
11306 (ada_pspace_data_handle): New static global.
11307 (get_ada_pspace_data, ada_pspace_data_cleanup)
11308 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
11309 (cache_space, cache): Delete, now folded inside struct
11310 ada_pspace_data.
11311 (ada_get_symbol_cache): New function.
11312 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
11313 implementation.
11314 (_initialize_ada_language): Remove initialization of cache_space.
11315 Move call to observer_attach_inferior_exit up, grouping it
11316 with the other observer registrations inside this function.
11317 Rename command to be more general. Add call to
11318 register_program_space_data_with_cleanup.
11319
143adbbf
JB
113202014-02-10 Joel Brobecker <brobecker@adacore.com>
11321
11322 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
11323 ada_new_objfile_observer.
11324 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
11325 (_initialize_tasks): Update uses of ada_new_objfile_observer
11326 and ada_tasks_normal_stop_observer.
11327
aa4fb036
JB
113282014-02-10 Joel Brobecker <brobecker@adacore.com>
11329
11330 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
11331 returned by the 'Length attribute to integer.
11332
9dee8cc6
JB
113332014-02-10 Joel Brobecker <brobecker@adacore.com>
11334
11335 * ada-lang.c (_initialize_ada_language): Initialize
11336 cache_space obstack.
11337
3d9434b5
JB
113382014-02-10 Joel Brobecker <brobecker@adacore.com>
11339
11340 * ada-lang.c (HASH_SIZE): New macro.
11341 (struct cache_entry): New type.
11342 (cache_space, cache): New static globals.
11343 (ada_clear_symbol_cache, find_entry): New functions.
11344 (lookup_cached_symbol, cache_symbol): Implement.
11345 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11346 (_initialize_ada_language): Attach ada_new_objfile_observer
11347 and ada_free_objfile_observer.
11348
f0c5f9b2
JB
113492014-02-10 Joel Brobecker <brobecker@adacore.com>
11350
11351 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11352 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11353 struct block * parameter.
11354 (ada_lookup_symbol_list_worker): Constify local variable "block".
11355 Remove cast which is no longer necessary.
11356
ed3ef339
DE
113572014-02-10 Doug Evans <xdje42@gmail.com>
11358
11359 Add Guile as an extension language.
11360 * NEWS: Mention Guile scripting.
11361 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11362 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11363 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11364 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11365 (CLIBS): Add GUILE_LIBS.
11366 (install-guile): New rule.
11367 (guile.o): New rule.
11368 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11369 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11370 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11371 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11372 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11373 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11374 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11375 * configure.ac: New option --with-guile.
11376 * configure: Regenerate.
11377 * config.in: Regenerate.
11378 * auto-load.c: Remove #include "python/python.h". Add #include
11379 "gdb/section-scripts.h".
11380 (source_section_scripts): Handle Guile scripts.
11381 (_initialize_auto_load): Add name of Guile objfile script to
11382 scripts-directory help text.
11383 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11384 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11385 (struct breakpoint): New member scm_bp_object.
11386 * defs.h (enum command_control_type): New value guile_control.
11387 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11388 "extension.h".
11389 (show_user): Update comment.
11390 (_initialize_cli_cmds): Update help text for "show user". Update help
11391 text for max-user-call-depth.
11392 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11393 "extension.h".
11394 (multi_line_command_p): Add guile_control.
11395 (print_command_lines): Handle guile_control.
11396 (execute_control_command, recurse_read_control_structure): Ditto.
11397 (process_next_line): Recognize "guile" commands.
11398 * disasm.c (gdb_disassemble_info): Make non-static.
11399 * disasm.h: #include "dis-asm.h".
11400 (struct gdbarch): Add forward decl.
11401 (gdb_disassemble_info): Declare.
11402 * extension.c: #include "guile/guile.h".
11403 (extension_languages): Add guile.
11404 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11405 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11406 * gdbtypes.c (get_unsigned_type_max): New function.
11407 (get_signed_type_minmax): New function.
11408 * gdbtypes.h (get_unsigned_type_max): Declare.
11409 (get_signed_type_minmax): Declare.
11410 * guile/README: New file.
11411 * guile/guile-internal.h: New file.
11412 * guile/guile.c: New file.
11413 * guile/guile.h: New file.
11414 * guile/scm-arch.c: New file.
11415 * guile/scm-auto-load.c: New file.
11416 * guile/scm-block.c: New file.
11417 * guile/scm-breakpoint.c: New file.
11418 * guile/scm-disasm.c: New file.
11419 * guile/scm-exception.c: New file.
11420 * guile/scm-frame.c: New file.
11421 * guile/scm-gsmob.c: New file.
11422 * guile/scm-iterator.c: New file.
11423 * guile/scm-lazy-string.c: New file.
11424 * guile/scm-math.c: New file.
11425 * guile/scm-objfile.c: New file.
11426 * guile/scm-ports.c: New file.
11427 * guile/scm-pretty-print.c: New file.
11428 * guile/scm-safe-call.c: New file.
11429 * guile/scm-string.c: New file.
11430 * guile/scm-symbol.c: New file.
11431 * guile/scm-symtab.c: New file.
11432 * guile/scm-type.c: New file.
11433 * guile/scm-utils.c: New file.
11434 * guile/scm-value.c: New file.
11435 * guile/lib/gdb.scm: New file.
11436 * guile/lib/gdb/boot.scm: New file.
11437 * guile/lib/gdb/experimental.scm: New file.
11438 * guile/lib/gdb/init.scm: New file.
11439 * guile/lib/gdb/iterator.scm: New file.
11440 * guile/lib/gdb/printing.scm: New file.
11441 * guile/lib/gdb/types.scm: New file.
11442 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11443 (VPATH): Add $(GUILE_SRCDIR).
11444 (GUILE_DIR): New variable.
11445 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11446 (all): Add stamp-guile dependency.
11447 (stamp-guile): New rule.
11448 (clean-guile, install-guile, uninstall-guile): New rules.
11449 (install-only): Add install-guile dependency.
11450 (uninstall): Add uninstall-guile dependency.
11451 (clean): Add clean-guile dependency.
11452
ac020ec5
DE
114532014-02-09 Doug Evans <xdje42@gmail.com>
11454
11455 Revert this patch (which I approved, mea culpa).
11456
11457 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11458
11459 * Makefile.in (all-lib): Remove.
11460 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11461
2a081c59
JK
114622014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11463
11464 Fix Python stack corruption.
11465 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11466 gdb_py_longest.
11467
0a6bd22d
MK
114682014-02-08 Mark Kettenis <kettenis@gnu.org>
11469
11470 * Makefile.in (all-lib): Remove.
11471 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11472
1a860409
DE
114732014-02-07 Doug Evans <dje@google.com>
11474
11475 * extension-priv.h (extension_language_script_ops): Add comment.
11476 (extension_language_ops): Add comment.
caf5a491 11477 (active_ext_lang_state): Fix typo in comment.
1a860409 11478
d137e6dc
PA
114792014-02-07 Pedro Alves <palves@redhat.com>
11480
0dcb32c3 11481 PR breakpoints/16292
d137e6dc
PA
11482 * infrun.c (handle_signal_stop) <signal arrives while stepping
11483 over a breakpoint>: Switch back to the stepping thread.
11484
ce6d0892
YQ
114852014-02-07 Yao Qi <yao@codesourcery.com>
11486
11487 * target.c (target_xfer_partial): Return zero if LEN is zero.
11488
2ed4b548
YQ
114892014-02-07 Yao Qi <yao@codesourcery.com>
11490
11491 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11492 (ld_so_xfer_auxv): Likewise.
11493 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11494 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11495 * corelow.c (core_xfer_partial): Likewise.
11496 * ctf.c (ctf_xfer_partial): Likewise.
11497 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11498 (darwin_xfer_partial): Likewise.
11499 * exec.c (exec_xfer_partial): Likewise.
11500 * gnu-nat.c (gnu_xfer_partial): Likewise.
11501 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11502 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11503 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11504 * linux-nat.c (linux_xfer_siginfo): Likewise.
11505 (linux_proc_xfer_spu): Likewise.
11506 * procfs.c (procfs_xfer_partial): Likewise.
11507 * record-full.c (record_full_xfer_partial): Likewise.
11508 (record_full_core_xfer_partial): Likewise.
11509 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11510 * remote.c (remote_write_qxfer): Likewise.
11511 (remote_write_qxfer, remote_read_qxfer): Likewise.
11512 (remote_xfer_partial): Likewise.
11513 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11514 (rs6000_xfer_shared_libraries): Likewise.
11515 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11516 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11517 (spu_xfer_partial): Likewise.
11518 * target.c (memory_xfer_partial_1): Likewise.
11519 * tracepoint.c (tfile_xfer_partial): Likewise.
11520 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11521 (windows_xfer_partial): Likewise.
11522
c09f20e4
YQ
115232014-02-07 Yao Qi <yao@codesourcery.com>
11524
11525 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11526 comments.
11527 (core_xfer_shared_libraries_aix): Likewise.
11528 * gdbarch.c, gdbarch.h: Regenerated.
11529 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11530 ULONGEST. Change 'len_avail' type to ULONGEST.
11531 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11532 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11533 declaration.
11534 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11535
8635b3bf
YQ
115362014-02-07 Yao Qi <yao@codesourcery.com>
11537
11538 * corefile.c (memory_error): Get 'exception' from ERR and pass
11539 'exception' to throw_error.
11540
6dddc817
DE
115412014-02-06 Doug Evans <xdje42@gmail.com>
11542
11543 * configure.ac (libpython checking): Remove all but python.o from
11544 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11545 * configure: Regenerate.
11546
11547 * Makefile.in (SFILES): Add extension.c.
11548 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11549 (COMMON_OBS): Add extension.o.
11550 * extension.h: New file.
11551 * extension-priv.h: New file.
11552 * extension.c: New file.
11553
11554 * python/python-internal.h: #include "extension.h".
11555 (gdbpy_auto_load_enabled): Declare.
11556 (gdbpy_apply_val_pretty_printer): Declare.
11557 (gdbpy_apply_frame_filter): Declare.
11558 (gdbpy_preserve_values): Declare.
11559 (gdbpy_breakpoint_cond_says_stop): Declare.
11560 (gdbpy_breakpoint_has_cond): Declare.
11561 (void source_python_script_for_objfile): Delete.
11562 * python/python.c: #include "extension-priv.h".
11563 Delete inclusion of "observer.h".
11564 (extension_language_python): Moved here and renamed from
11565 script_language_python in py-auto-load.c.
11566 Redefined to be of type extension_language_defn.
11567 (python_extension_script_ops): New global.
11568 (python_extension_ops): New global.
11569 (struct python_env): New member previous_active.
11570 (restore_python_env): Call restore_active_ext_lang.
11571 (ensure_python_env): Call set_active_ext_lang.
11572 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11573 New arg extlang.
11574 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11575 New arg extlang.
11576 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11577 New arg extlang.
11578 (gdbpy_eval_from_control_command): Renamed from
11579 eval_python_from_control_command, made static. New arg extlang.
11580 (gdbpy_source_script) Renamed from source_python_script, made static.
11581 New arg extlang.
11582 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11583 result to int. New arg extlang.
11584 (gdbpy_source_objfile_script): Renamed from
11585 source_python_script_for_objfile, made static. New arg extlang.
11586 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11587 static. New args extlang, extlang_printers. Change result type to
11588 "void".
11589 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11590 static. New arg extlang. Rename arg printers to extlang_printers
11591 and change type to ext_lang_type_printers *.
11592 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11593 static. Replace argument arg with extlang, extlang_printers.
11594 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11595 (!HAVE_PYTHON, source_python_script): Delete.
11596 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11597 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11598 (!HAVE_PYTHON, start_type_printers): Delete.
11599 (!HAVE_PYTHON, apply_type_printers): Delete.
11600 (!HAVE_PYTHON, free_type_printers): Delete.
11601 (_initialize_python): Delete call to observer_attach_before_prompt.
11602 (finalize_python): Set/restore active extension language.
11603 (gdbpy_finish_initialization) Renamed from
11604 finish_python_initialization, made static. New arg extlang.
11605 (gdbpy_initialized): New function.
11606 * python/python.h: #include "extension.h". Delete #include
11607 "value.h", "mi/mi-cmds.h".
11608 (extension_language_python): Declare.
11609 (GDBPY_AUTO_FILE_NAME): Delete.
11610 (enum py_bt_status): Moved to extension.h and renamed to
11611 ext_lang_bt_status.
11612 (enum frame_filter_flags): Moved to extension.h.
11613 (enum py_frame_args): Moved to extension.h and renamed to
11614 ext_lang_frame_args.
11615 (finish_python_initialization): Delete.
11616 (eval_python_from_control_command): Delete.
11617 (source_python_script): Delete.
11618 (apply_val_pretty_printer): Delete.
11619 (apply_frame_filter): Delete.
11620 (preserve_python_values): Delete.
11621 (gdbpy_script_language_defn): Delete.
11622 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11623 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11624
11625 * auto-load.c: #include "extension.h".
11626 (GDB_AUTO_FILE_NAME): Delete.
11627 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11628 (script_language_gdb): Delete, moved to extension.c and renamed to
11629 extension_language_gdb.
11630 (source_gdb_script_for_objfile): Delete.
11631 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11632 (loaded_script): Change type of language member to
11633 struct extension_language_defn *.
11634 (init_loaded_scripts_info): Initialize
11635 unsupported_script_warning_printed.
11636 (maybe_add_script): Make static. Change type of language arg to
11637 struct extension_language_defn *.
11638 (clear_section_scripts): Reset unsupported_script_warning_printed.
11639 (auto_load_objfile_script_1): Rewrite to use extension language API.
11640 (auto_load_objfile_script): Make public. Remove support-compiled-in
11641 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11642 (source_section_scripts): Rewrite to use extension language API.
11643 (load_auto_scripts_for_objfile): Rewrite to use
11644 auto_load_scripts_for_objfile.
11645 (collect_matching_scripts_data): Change type of language member to
11646 struct extension_language_defn *.
11647 (auto_load_info_scripts): Change type of language arg to
11648 struct extension_language_defn *.
11649 (unsupported_script_warning_print): New function.
11650 (script_not_found_warning_print): Make static.
11651 (_initialize_auto_load): Rewrite construction of scripts-directory
11652 help.
11653 * auto-load.h (struct objfile): Add forward decl.
11654 (struct script_language): Delete.
11655 (struct auto_load_pspace_info): Add forward decl.
11656 (struct extension_language_defn): Add forward decl.
11657 (maybe_add_script): Delete.
11658 (auto_load_objfile_script): Declare.
11659 (script_not_found_warning_print): Delete.
11660 (auto_load_info_scripts): Update prototype.
11661 (auto_load_gdb_scripts_enabled): Declare.
11662 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11663 auto_load_python_scripts_enabled and made public.
11664 (script_language_python): Delete, moved to python.c.
11665 (gdbpy_script_language_defn): Delete.
11666 (info_auto_load_python_scripts): Update to use
11667 extension_language_python.
11668
11669 * breakpoint.c (condition_command): Replace call to
11670 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11671 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11672 with call to breakpoint_ext_lang_cond_says_stop.
11673 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11674 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11675 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11676 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11677 New arg slang.
11678 (local_setattro): Print name of extension language with existing
11679 stop condition.
11680
11681 * valprint.c (val_print, value_print): Update to call
11682 apply_ext_lang_val_pretty_printer.
11683 * cp-valprint.c (cp_print_value): Update call to
11684 apply_ext_lang_val_pretty_printer.
11685 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11686 (gdbpy_apply_val_pretty_printer): Renamed from
11687 apply_val_pretty_printer. New arg extlang.
11688 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11689
11690 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11691 extension language API.
11692 * cli/cli-script.c (execute_control_command): Update to call
11693 eval_ext_lang_from_control_command.
11694
11695 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11696 enum ext_lang_bt_status values. Update call to
11697 apply_ext_lang_frame_filter.
11698 (mi_cmd_stack_list_locals): Ditto.
11699 (mi_cmd_stack_list_args): Ditto.
11700 (mi_cmd_stack_list_variables): Ditto.
11701 * mi/mi-main.c: Delete #include "python/python-internal.h".
11702 Add #include "extension.h".
11703 (mi_cmd_list_features): Replace reference to python internal variable
11704 gdb_python_initialized with call to ext_lang_initialized_p.
11705
11706 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11707 Update to use enum ext_lang_frame_args. Update to call
11708 apply_ext_lang_frame_filter.
11709 * python/py-framefilter.c (extract_sym): Update to use enum
11710 ext_lang_bt_status.
11711 (extract_value, py_print_type, py_print_value): Ditto.
11712 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11713 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11714 (py_print_frame): Ditto.
11715 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11716 New arg extlang. Update to use enum ext_lang_bt_status.
11717
11718 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11719 finish_python_initialization. Replace with call to
11720 finish_ext_lang_initialization.
11721
11722 * typeprint.c (do_free_global_table): Update to call
11723 free_ext_lang_type_printers.
11724 (create_global_typedef_table): Update to call
11725 start_ext_lang_type_printers.
11726 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11727 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11728 (type_print_options): Change type of global_printers from "void *"
11729 to "struct ext_lang_type_printers *".
11730
11731 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11732 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11733 (gdbpy_preserve_values): Renamed from preserve_python_values.
11734 New arg extlang.
11735 (!HAVE_PYTHON, preserve_python_values): Delete.
11736
11737 * utils.c (quit_flag): Delete, moved to extension.c.
11738 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11739 extension.c.
11740
11741 * eval.c: Delete #include "python/python.h".
11742 * main.c: Delete #include "python/python.h".
11743
11744 * defs.h: Update comment.
11745
6af79985
JB
117462014-02-06 Joel Brobecker <brobecker@adacore.com>
11747
11748 GDB 7.7 released.
11749
12c5175d
MK
117502014-02-05 Mark Kettenis <kettenis@gnu.org>
11751
11752 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11753 defined.
11754
8dc5b319
YQ
117552014-02-05 Yao Qi <yao@codesourcery.com>
11756
11757 * remote.c (remote_pass_signals): Remove local 'buf' and use
11758 rs->buf.
11759 (remote_program_signals): Likewise.
11760
de7b2893
YQ
117612014-02-05 Yao Qi <yao@codesourcery.com>
11762
11763 * ctf.c: Include "inferior.h" and "gdbthread.h".
11764 (CTF_PID): A new macro.
11765 (ctf_open): Call inferior_appeared and add_thread_silent.
11766 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11767 (ctf_thread_alive): New function.
11768 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11769
66d032ac
YQ
117702014-02-05 Yao Qi <yao@codesourcery.com>
11771
11772 Revert this patch:
11773
11774 2013-05-24 Yao Qi <yao@codesourcery.com>
11775
11776 * tracepoint.c (TFILE_PID): Remove.
11777 (tfile_open): Don't add thread and inferior.
11778 (tfile_close): Don't set 'inferior_ptid'. Don't call
11779 exit_inferior_silent.
11780 (tfile_thread_alive): Remove.
11781 (init_tfile_ops): Don't set field 'to_thread_alive' of
11782 tfile_ops.
11783
f4ccffad
CE
117842014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11785
11786 * remote.c (remote_start_remote): Call remote_check_symbols even
11787 if only symbol-file (not file) has been given.
11788
591a12a1
UW
117892014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11790
11791 * gdbarch.sh (skip_entrypoint): New callback.
11792 * gdbarch.c, gdbarch.h: Regenerate.
11793 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11794 * infrun.c (fill_in_stop_func): Likewise.
11795 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11796 (ppc_elfv2_elf_make_msymbol_special): New function.
11797 (ppc_elfv2_skip_entrypoint): Likewise.
11798 (ppc_linux_init_abi): Install them for ELFv2.
11799
cc0e89c5
UW
118002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11801
11802 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11803 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11804 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11805 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11806 structures returned in GPRs.
11807
52f548e4
UW
118082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11809
11810 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11811 offset to the stack parameter list for the ELFv2 ABI.
11812
d4094b6a
UW
118132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11814
11815 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11816 set_gdbarch_convert_from_func_ptr_addr and
11817 set_gdbarch_elf_make_msymbol_special for ELFv1.
11818 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11819 function descriptors on ELFv1.
11820 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11821 set up r12 at function entry.
11822
cd453cd0
UW
118232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11824
11825 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11826 (struct gdbarch_tdep): New member elf_abi.
11827
11828 * rs6000-tdep.c: Include "elf/ppc64.h".
11829 (rs6000_gdbarch_init): Detect ELF ABI version.
11830
0ff3e01f
UW
118312014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11832
11833 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11834 within a register pair holding a DFP 128-bit value on little-endian.
11835 (ppc64_sysv_abi_return_value_base): Likewise.
11836 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11837 (dfp_pseudo_register_write): Likewise.
11838
5b757e5d
UW
118392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11840
11841 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11842 offset on little-endian when passing _Decimal32.
11843 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11844
084ee545
UW
118452014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11846
11847 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11848 of the overlapped FP register within the VSX register on little-
11849 endian platforms.
11850 (efpr_pseudo_register_write): Likewise.
11851
d63167af
UW
118522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11853
11854 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11855 offset on little-endian when passing small structures.
11856
e765b44c
UW
118572014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11858
11859 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11860 (struct ppc64_sysv_argpos): New data structure.
11861 (ppc64_sysv_abi_push_float): Remove.
11862 (ppc64_sysv_abi_push_val): New function.
11863 (ppc64_sysv_abi_push_integer): Likewise.
11864 (ppc64_sysv_abi_push_freg): Likewise.
11865 (ppc64_sysv_abi_push_vreg): Likewise.
11866 (ppc64_sysv_abi_push_param): Likewise.
11867 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11868 (ppc64_sysv_abi_return_value_base): New function.
11869 (ppc64_sysv_abi_return_value): Refactor to use it.
11870
36c24d95
UW
118712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11872
11873 * NEWS: Document new target powerpc64le-*-linux*.
11874
26fd9228
MK
118752014-02-04 Mark Kettenis <kettenis@gnu.org>
11876
11877 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11878 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11879 core dumps.
11880 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11881 register set used in ELF core dumps. Add floating-point register set.
11882
c5bb7362
KB
118832014-02-03 Kevin Buettner <kevinb@redhat.com>
11884
74228e77 11885 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
11886 dwarf2_to_gdb[] table using symbolic constants. Adjust
11887 penultimate entry from number representing the PC register
11888 to symbolic constant representing the MDR register. Add
11889 constant for the PC register to the end of the table.
11890
af09351e
MK
118912014-02-03 Mark Kettenis <kettenis@gnu.org>
11892
11893 * bsd-kvm.c: Include <sys/param.h>
11894
8507e05d
MK
118952014-02-03 Mark Kettenis <kettenis@gnu.org>
11896
11897 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11898
ae56bfb8
JB
118992014-01-31 Joel Brobecker <brobecker@adacore.com>
11900
11901 * ada-lang.h (clear_ada_sym_cache): Delete.
11902
718ee4dc
UW
119032014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11904
11905 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11906
401e27fd
JM
119072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11908
11909 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11910 the sigreturn register save area only if the syscall is
11911 sigreturn.
11912
a7c88acd
JB
119132014-01-29 Joel Brobecker <brobecker@adacore.com>
11914
11915 * valops.c (value_slice): Minor reformatting.
11916
fa0079ea
UW
119172014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11918
11919 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11920
c6044dd1
JB
119212014-01-28 Joel Brobecker <brobecker@adacore.com>
11922
11923 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11924 New static globals.
11925 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11926 (ada_ignore_descriptive_types_p): New static global.
11927 (find_parallel_type_by_descriptive_type): Return immediately
11928 if ada_ignore_descriptive_types_p is set.
11929 (_initialize_ada_language): Register new commands "maintenance
11930 set ada", "maintenance show ada", "maintenance set ada
11931 ignore-descriptive-types" and "maintenance show ada
11932 ignore-descriptive-types".
11933 * NEWS: Add entry for new "maint ada set/show
11934 ignore-descriptive-types" commands.
11935
568e808b
MM
119362014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11937
11938 * record-btrace.c (record_btrace_close): Call btrace_teardown
11939 for all threads.
11940
467d141b
JB
119412014-01-27 Joel Brobecker <brobecker@adacore.com>
11942
11943 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11944 "ui-out.h".
11945
fb151210
JB
119462014-01-27 Joel Brobecker <brobecker@adacore.com>
11947
11948 * ada-typeprint (type_is_full_subrange_of_target_type):
11949 New function.
11950 (print_range): Add parameter bounds_prefered_p. If not set,
11951 try printing range types using the name of their base type.
11952 (print_range_type): Add parameter bounds_prefered_p.
11953 Use it in call to print_range.
11954 (print_array_type, ada_print_type): Update calls to print_range
11955 and print_range_type.
11956
aba02109
JB
119572014-01-27 Joel Brobecker <brobecker@adacore.com>
11958
11959 * ada-typeprint.c (print_array_type, print_choices, print_range)
11960 (print_range_bound, print_dynamic_range_bound, print_range_type):
11961 Remove declaration.
11962
e62e21fd
JB
119632014-01-27 Joel Brobecker <brobecker@adacore.com>
11964
11965 * ada-typeprint.c (print_range): Add missing empty line
11966 after local declaration.
11967
859cf5d1
JB
119682014-01-27 Joel Brobecker <brobecker@adacore.com>
11969
11970 * ada-valprint.c (print_optional_low_bound): Get index_type's
11971 target type for as long as it is a TYPE_CODE_RANGE.
11972
25790f6f
JB
119732014-01-27 Joel Brobecker <brobecker@adacore.com>
11974
11975 * procfs.c (procfs_make_note_section): Remove assertion and
11976 associated comment.
11977
6b6aa828
YQ
119782014-01-24 Yao Qi <yao@codesourcery.com>
11979
11980 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11981 * corelow.c (get_core_siginfo): Likewise.
11982
5d6df423
YQ
119832014-01-24 Yao Qi <yao@codesourcery.com>
11984
11985 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11986 ULONGEST. Don't check 'len' is negative.
11987 (remote_write_bytes): Change type of 'len' to ULONGEST.
11988
83b645b8
TT
119892014-01-23 Tom Tromey <tromey@redhat.com>
11990
11991 PR python/16485:
11992 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11993 Handle exception from frame.block.
11994 (FrameVars.fetch_frame_locals): Likewise.
11995
0740f8d8
TT
119962014-01-23 Tom Tromey <tromey@redhat.com>
11997
11998 PR python/16487:
11999 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
12000 on a NULL pointer. Move "goto error" to correct place.
12001
21909fa1
TT
120022014-01-23 Tom Tromey <tromey@redhat.com>
12003
12004 PR python/16491:
12005 * python/py-framefilter.c (apply_frame_filter): Call
12006 ensure_python_env after computing gdbarch.
12007
17fde6d0
YQ
120082014-01-23 Yao Qi <yao@codesourcery.com>
12009
12010 * target.c (raw_memory_xfer_partial): Change argument type
12011 from void * to gdb_byte *.
12012 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12013
87ce2a04
DE
120142014-01-22 Doug Evans <dje@google.com>
12015
12016 New gdbserver option --debug-format=timestamp.
12017 * NEWS: Mention it.
12018
237b092b
AA
120192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12020
12021 * syscalls/s390x-linux.xml: New file.
12022 * syscalls/s390-linux.xml: New file.
12023 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12024 (XML_SYSCALL_FILENAME_S390X): Likewise.
12025 (op_svc): New enum value for SVC opcode.
12026 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12027 (s390_linux_get_syscall_number): New function.
12028 (s390_gdbarch_init): Register '*get_syscall_number' and the
12029 syscall xml file name.
12030 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12031 "s390-linux.xml" and "s390x-linux.xml".
12032 * NEWS: Announce new feature.
12033
54bff650
BS
120342014-01-22 Baruch Siach <baruch@tkos.co.il>
12035
12036 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
12037
14e361d7
PA
120382014-01-22 Pedro Alves <palves@redhat.com>
12039
12040 * xtensa-config.c: Include defs.h.
12041
46bbb3ed
JB
120422014-01-22 Joel Brobecker <brobecker@adacore.com>
12043
12044 * common/common-utils.h: Add "ARI:" comment beside __func__
12045 reference.
12046
3a80edfc
JB
120472014-01-22 Joel Brobecker <brobecker@adacore.com>
12048
12049 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
12050 documentation a bit.
12051
4869db5e
RM
120522014-01-21 Roland McGrath <mcgrathr@google.com>
12053
12054 * configure.ac: Call AM_PROG_INSTALL_STRIP.
12055 * configure: Regenerate.
12056 * aclocal.m4: Regenerate.
12057 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
12058 New substituted variables.
12059 (install-strip): New target.
12060 (INSTALL_SCRIPT): New substituted variable.
12061 (FLAGS_TO_PASS): Add it.
12062 (install-only): Use $(INSTALL_SCRIPT) rather than
12063 $(INSTALL_PROGRAM) for gcore.
12064
9ea4267d
TT
120652014-01-20 Tom Tromey <tromey@redhat.com>
12066
12067 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
12068 together.
12069
1f2bdf09
TT
120702014-01-20 Tom Tromey <tromey@redhat.com>
12071
12072 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
12073 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
12074 (deprecated_cmd_warning, complete_on_cmdlist): Update.
12075 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
12076 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12077 (struct cmd_list_element) <flags>: Remove.
12078 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12079 doc_allocated>: New fields.
12080 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12081 bitfields.
12082 * maint.c (maintenance_do_deprecate): Update.
12083 * top.c (execute_command): Update.
12084
e671835b
BS
120852014-01-20 Baruch Siach <baruch@tkos.co.il>
12086
12087 * xtensa-linux-nat.c: Include asm/ptrace.h.
12088
50367cd2
IB
120892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12090
12091 * Makefile.in (SFILES): Add d-support.c.
12092 (COMMON_OBS): Add d-support.o.
12093 * d-lang.h (d_parse_symbol): Add comment, now defined in
12094 d-support.c.
12095 * d-lang.c (parse_call_convention)
12096 (parse_attributes, parse_function_types)
12097 (parse_function_args, parse_type, parse_identifier)
12098 (call_convention_p, d_parse_symbol): Move functions to ...
12099 * d-support.c: ... New file.
12100
ec9f644a
IB
121012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12102
12103 * d-lang.h (d_parse_symbol): Add declaration.
12104 * d-lang.c (extract_identifiers)
12105 (extract_type_info): Remove functions.
12106 (parse_call_convention, parse_attributes)
12107 (parse_function_types, parse_function_args)
12108 (parse_type, parse_identifier, call_convention_p)
12109 (d_parse_symbol): New functions.
12110 (d_demangle): Use d_parse_symbol to demangle D symbols.
12111
94b1b47e
IB
121122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12113
12114 * d-lang.h (struct builtin_d_type): New data type.
12115 (builtin_d_type): Add declaration.
12116 * d-lang.c (d_language_arch_info, build_d_types)
12117 (builtin_d_type): New functions.
12118 (enum d_primitive_types): New data type.
12119 (d_language_defn): Change c_language_arch_info to
12120 d_language_arch_info.
12121 (d_type_data): New static variable.
12122 (_initialize_d_language): Initialize d_type_data.
12123
63778547
IB
121242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12125
12126 * d-lang.h (d_main_name): Add declaration.
12127 * d-lang.c (d_main_name): New function.
12128 * symtab.c (find_main_name): Add call to d_main_name.
12129
3271ba66
IB
121302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12131
12132 * d-lang.c (d_language_defn): Change macro_expansion_c to
12133 macro_expansion_no.
12134
d36b3012
IB
121352014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12136
12137 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12138
c90a6fb7
SDJ
121392014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
12140
12141 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
12142 gdb_exception" declaration.
12143 * remote.c (getpkt_or_notif_sane): Likewise.
12144
749234e5
DE
121452014-01-17 Doug Evans <dje@google.com>
12146
12147 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
12148 function, contents of dirnames_to_char_ptr_vec_append moved here.
12149 (delim_string_to_char_ptr_vec): New function.
12150 (dirnames_to_char_ptr_vec_append): Rewrite.
12151 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
12152
df049a58
DE
121532014-01-17 Doug Evans <dje@google.com>
12154
12155 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
12156 and moved here ...
12157 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
12158 #include "common-utils.h".
12159 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
12160 * common/vec.h (VEC_ASSERT_PASS): Update.
12161 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
12162 (MACH_CHECK_ERROR): Update.
12163
69f97648
SM
121642014-01-17 Simon Marchi <simon.marchi@ericsson.com>
12165
12166 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
12167 comments.
12168 * gdbarch.h: Regenerate.
12169
98b1cfdc
TT
121702014-01-16 Tom Tromey <tromey@redhat.com>
12171
12172 * value.c (struct value) <regnum>: Move earlier.
12173
77a19445
TT
121742014-01-16 Tom Tromey <tromey@redhat.com>
12175
12176 * remote.c (extended_remote_create_inferior): Rename from
12177 extended_remote_create_inferior_1. Add "ops" argument. Remove
12178 old implementation.
12179
62261490
PA
121802014-01-16 Pedro Alves <palves@redhat.com>
12181
12182 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
12183 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
12184 the backchain.
12185
4d65956b
DE
121862014-01-16 Doug Evans <dje@google.com>
12187
12188 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
12189
52834460
MM
121902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12191
12192 * btrace.h (btrace_thread_flag): New.
12193 (struct btrace_thread_info) <flags>: New.
12194 * record-btrace.c (record_btrace_resume_thread)
12195 (record_btrace_find_thread_to_move, btrace_step_no_history)
12196 (btrace_step_stopped, record_btrace_start_replaying)
12197 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
12198 (record_btrace_find_resume_thread): New.
12199 (record_btrace_resume, record_btrace_wait): Extend.
12200 (record_btrace_can_execute_reverse): New.
12201 (record_btrace_open): Fail in non-stop mode.
12202 (record_btrace_set_replay): Split into this, ...
12203 (record_btrace_stop_replaying): ... this, ...
12204 (record_btrace_clear_histories): ... and this.
12205 (init_record_btrace_ops): Init to_can_execute_reverse.
12206 * NEWS: Announce it.
12207
118e6252
MM
122082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12209
12210 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
12211 (forward_target_decr_pc_after_break)
12212 (target_decr_pc_after_break): New.
12213 * target.c (forward_target_decr_pc_after_break)
12214 (target_decr_pc_after_break): New.
12215 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
12216 instead of gdbarch_decr_pc_after_break.
12217 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12218 instead of gdbarch_decr_pc_after_break.
12219 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
12220 instead of gdbarch_decr_pc_after_break.
12221 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12222 instead of gdbarch_decr_pc_after_break.
12223 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
12224 instead of gdbarch_decr_pc_after_break.
12225 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
12226 instead of gdbarch_decr_pc_after_break.
12227
6e07b1d2
MM
122282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12229
12230 * btrace.c: Include regcache.h.
12231 (btrace_add_pc): New.
12232 (btrace_enable): Call btrace_add_pc.
12233 (btrace_is_empty): New.
12234 * btrace.h (btrace_is_empty): New.
12235 * record-btrace.c (require_btrace, record_btrace_info): Call
12236 btrace_is_empty.
12237
969c39fb
MM
122382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12239
12240 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
12241 Support delta reads.
12242 (linux_disable_btrace): Change return type.
12243 * common/linux-btrace.h (linux_read_btrace): Change parameters
12244 and return type to allow error reporting. Update users.
12245 (linux_disable_btrace): Change return type. Update users.
12246 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
12247 New.
12248 (btrace_error): New.
12249 (btrace_block) <begin>: Comment on BEGIN == 0.
12250 * btrace.c (btrace_compute_ftrace): Start from the end of
12251 the current trace.
12252 (btrace_stitch_trace, btrace_clear_history): New.
12253 (btrace_fetch): Read delta trace, return if replaying.
12254 (btrace_clear): Move clear history code to btrace_clear_history.
12255 (parse_xml_btrace): Throw an error if parsing failed.
12256 * target.h (struct target_ops) <to_read_btrace>: Change parameters
12257 and return type to allow error reporting.
12258 (target_read_btrace): Change parameters and return type to allow
12259 error reporting.
12260 * target.c (target_read_btrace): Update.
12261 * remote.c (remote_read_btrace): Support delta reads. Pass
12262 errors on.
12263 * NEWS: Announce it.
12264
0b722aec
MM
122652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12266
12267 * record.h (record_btrace_frame_unwind)
12268 (record_btrace_tailcall_frame_unwind): New declarations.
12269 * dwarf2-frame: Include record.h
12270 (dwarf2_frame_cfa): Throw an error for btrace frames.
12271 * record-btrace.c: Include hashtab.h.
12272 (btrace_get_bfun_name): New.
12273 (btrace_call_history): Call btrace_get_bfun_name.
12274 (struct btrace_frame_cache): New.
12275 (bfcache): New.
12276 (bfcache_hash, bfcache_eq, bfcache_new): New.
12277 (btrace_get_frame_function): New.
12278 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
12279 (record_btrace_frame_this_id): Compute own id.
12280 (record_btrace_frame_prev_register): Provide PC, throw_error
12281 for all other registers.
12282 (record_btrace_frame_sniffer): Detect btrace frames.
12283 (record_btrace_tailcall_frame_sniffer): New.
12284 (record_btrace_frame_dealloc_cache): New.
12285 (record_btrace_frame_unwind): Add new functions.
12286 (record_btrace_tailcall_frame_unwind): New.
12287 (_initialize_record_btrace): Allocate cache.
12288 * btrace.c (btrace_clear): Call reinit_frame_cache.
12289 * NEWS: Announce it.
12290
066ce621
MM
122912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12292
12293 * record-btrace.c (record_btrace_set_replay)
12294 (record_btrace_goto_begin, record_btrace_goto_end)
12295 (record_btrace_goto): New.
12296 (init_record_btrace_ops): Initialize them.
12297 * NEWS: Announce it.
12298
e2887aa3
MM
122992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12300
12301 * record-btrace.c (record_btrace_find_new_threads)
12302 (record_btrace_thread_alive): New.
12303 (init_record_btrace_ops): Initialize to_find_new_threads and
12304 to_thread_alive.
12305
b2f4cfde
MM
123062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12307
12308 * record-btrace.c (record_btrace_resume): New.
12309 (record_btrace_wait): New.
12310 (init_record_btrace_ops): Initialize to_wait and to_resume.
12311
633785ff
MM
123122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12313
12314 * record-btrace.c (record_btrace_xfer_partial)
12315 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
12316 (record_btrace_allow_memory_access): New.
12317 (init_record_btrace_ops): Initialize new methods.
12318 * target.c (raw_memory_xfer_partial): Bail out if target reports
12319 that this memory is not available.
12320
3db08215
MM
123212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12322
12323 * target.h (target_ops) <to_insert_breakpoint>
12324 <to_remove_breakpoint>: Add target_ops parameter.
12325 (forward_target_insert_breakpoint): New.
12326 (forward_target_remove_breakpoint): New.
12327 (memory_remove_breakpoint, memory_insert_breakpoint):
12328 Add target_ops parameter.
12329 * target.c (target_insert_breakpoint): Split into this and ...
12330 (forward_target_insert_breakpoint): ... this.
12331 (target_remove_breakpoint): Split into this and ...
12332 (forward_target_remove_breakpoint): ... this.
12333 (debug_to_insert_breakpoint): Add target_ops parameter.
12334 Call forward_target_insert_breakpoint.
12335 (debug_to_remove_breakpoint): Add target_ops parameter.
12336 Call forward_target_remove_breakpoint.
12337 (update_current_target): Do not inherit or default to_insert_breakpoint
12338 and to_remove_breakpoint.
12339 * corelow.c (ignore): Add target_ops parameter.
12340 * exec.c (ignore): Add target_ops parameter.
12341 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12342 Add target_ops parameter.
12343 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12344 Add target_ops parameter.
12345 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12346 Add target_ops parameter.
12347 * record-full.c (record_full_beneath_to_insert_breakpoint)
12348 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12349 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12350 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12351 (record_full_core_remove_breakpoint): Add target_ops parameter.
12352 Update users.
12353 (record_full_beneath_to_insert_breakpoint_ops)
12354 (record_full_beneath_to_remove_breakpoint_ops)
12355 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12356 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12357 tmp_to_remove_breakpoint_ops,
12358 record_full_beneath_to_insert_breakpoint_ops, and
12359 record_full_beneath_to_remove_breakpoint_ops.
12360 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12361 (m32r_remove_breakpoint): Add target_ops parameter.
12362 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12363 Add target_ops parameter.
12364 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12365 Add target_ops parameter.
12366
cecac1ab
MM
123672014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12368 Markus Metzger <markus.t.metzger@intel.com>
12369
12370 * record-btrace.c: Include frame-unwind.h.
12371 (record_btrace_frame_unwind_stop_reason)
12372 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12373 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12374 New.
12375 (init_record_btrace_ops): Install it.
12376
824344ca
MM
123772014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12378
12379 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12380 get_prev_frame_1.
12381
32261e52
MM
123822014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12383
12384 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12385 earlier.
12386
ea001bdc
MM
123872014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12388
12389 * frame-unwind.c: Include target.h.
12390 (frame_unwind_try_unwinder): New function with code from ...
12391 (frame_unwind_find_by_frame): ... here. New variable
12392 unwinder_from_target, call also target_get_unwinder)
12393 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12394 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12395 * target.h (struct target_ops): New fields to_get_unwinder and
12396 to_get_tailcall_unwinder.
12397 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12398
1f3ef581
MM
123992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12400
12401 * record-btrace.c (record_btrace_fetch_registers)
12402 (record_btrace_store_registers)
12403 (record_btrace_to_prepare_to_store): New.
12404 (init_record_btrace_ops): Add the above.
12405
f32dbf8c
MM
124062014-01-16 Tom Tromey <tromey@redhat.com>
12407
12408 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12409 * target.h (struct target_ops) <to_prepare_to_store>: Add
12410 argument.
12411 (target_prepare_to_store): Add argument.
12412 * target.c (debug_to_prepare_to_store): Add argument.
12413 (update_current_target): Update.
12414 * remote.c (remote_prepare_to_store): Add 'self' argument.
12415 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12416 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12417 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12418 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12419 argument.
12420 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12421 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12422 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12423 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12424 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12425
07bbe694
MM
124262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12427
12428 * btrace.h (replay) <replay>: New.
12429 (btrace_is_replaying): New.
12430 * btrace.c (btrace_clear): Free replay iterator.
12431 (btrace_is_replaying): New.
12432 * record-btrace.c (record_btrace_is_replaying): New.
12433 (record_btrace_info): Print insn number if replaying.
12434 (record_btrace_insn_history): Start at replay position.
12435 (record_btrace_call_history): Start at replay position.
12436 (init_record_btrace_ops): Init to_record_is_replaying.
12437
0688d04e
MM
124382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12439
12440 * record-btrace.c (record_btrace_insn_history_range): Include
12441 end.
12442 (record_btrace_insn_history_from): Adjust range.
12443 (record_btrace_call_history_range): Include
12444 end.
12445 (record_btrace_call_history_from): Adjust range.
12446 * NEWS: Announce changes.
12447
8710b709
MM
124482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12449
12450 * record.h (enum record_print_flag)
12451 <record_print_indent_calls>: New.
12452 * record.c (get_call_history_modifiers): Recognize /c modifier.
12453 (_initialize_record): Document /c modifier.
12454 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12455 Reorder fields. Optionally indent the function name. Update
12456 all users.
12457 * NEWS: Announce changes.
12458
d0fa7535
MM
124592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12460
12461 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12462
5de9129b
MM
124632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12464
12465 * btrace.c (ftrace_new_function): Start counting at one.
12466 * record-btrace.c (record_btrace_info): Adjust number of calls
12467 and insns.
12468 * NEWS: Announce it.
12469
7acbe133
MM
124702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12471
12472 * record-btrace.c (btrace_call_history_insn_range): Print
12473 insn range as [begin, end].
12474
23a7fe75
MM
124752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12476
12477 * btrace.h (struct btrace_func_link): New.
12478 (enum btrace_function_flag): New.
12479 (struct btrace_inst): Rename to ...
12480 (struct btrace_insn): ...this. Update all users.
12481 (struct btrace_func) <ibegin, iend>: Remove.
12482 (struct btrace_func_link): New.
12483 (struct btrace_func): Rename to ...
12484 (struct btrace_function): ...this. Update all users.
12485 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12486 (number, level, flags>: New.
12487 (struct btrace_insn_iterator): Rename to ...
12488 (struct btrace_insn_history): ...this.
12489 Update all users.
12490 (struct btrace_insn_iterator, btrace_call_iterator): New.
12491 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12492 (struct btrace_target_info) <begin, end, level>
12493 <insn_history, call_history>: New.
12494 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12495 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12496 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12497 (btrace_call_number, btrace_call_begin, btrace_call_end)
12498 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12499 (btrace_find_function_by_number, btrace_set_insn_history)
12500 (btrace_set_call_history): New.
12501 * btrace.c (btrace_init_insn_iterator)
12502 (btrace_init_func_iterator, compute_itrace): Remove.
12503 (ftrace_print_function_name, ftrace_print_filename)
12504 (ftrace_skip_file): Change
12505 parameter to const.
12506 (ftrace_init_func): Remove.
12507 (ftrace_debug): Use new btrace_function fields.
12508 (ftrace_function_switched): Also consider gaining and
12509 losing symbol information).
12510 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12511 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12512 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12513 New.
12514 (ftrace_new_function): Move. Remove debug print.
12515 (ftrace_update_lines, ftrace_update_insns): New.
12516 (ftrace_update_function): Check for call, ret, and jump.
12517 (compute_ftrace): Renamed to ...
12518 (btrace_compute_ftrace): ...this. Rewritten to compute call
12519 stack.
12520 (btrace_fetch, btrace_clear): Updated.
12521 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12522 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12523 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12524 (btrace_call_number, btrace_call_begin, btrace_call_end)
12525 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12526 (btrace_find_function_by_number, btrace_set_insn_history)
12527 (btrace_set_call_history): New.
12528 * record-btrace.c (require_btrace): Use new btrace thread
12529 info fields.
12530 (record_btrace_info, btrace_insn_history)
12531 (record_btrace_insn_history, record_btrace_insn_history_range):
12532 Use new btrace thread info fields and new iterator.
12533 (btrace_func_history_src_line): Rename to ...
12534 (btrace_call_history_src_line): ...this. Use new btrace
12535 thread info fields.
12536 (btrace_func_history): Rename to ...
12537 (btrace_call_history): ...this. Use new btrace thread info
12538 fields and new iterator.
12539 (record_btrace_call_history, record_btrace_call_history_range):
12540 Use new btrace thread info fields and new iterator.
12541
8372a7cb
MM
125422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12543
12544 * frame.h (frame_id_build_unavailable_stack_special): New.
12545 * frame.c (frame_id_build_unavailable_stack_special): New.
12546
c2170eef
MM
125472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12548
12549 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12550 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12551 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12552 to gdbarch.
12553 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12554 (i386_insn_is_jump, i386_jmp_p): New.
12555 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12556 insn_is_jump to gdbarch.
12557 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12558 * gdbarch.h: Regenerated.
12559 * gdbarch.c: Regenerated.
12560 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12561 (default_insn_is_jump): New.
12562 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12563 (default_insn_is_jump): New.
12564
864089d2
MM
125652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12566
12567 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12568 Change to ...
12569 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12570 (btrace_read_type) <btrace_read_new>: Change to ...
12571 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12572
ed9edfb5
MM
125732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12574
12575 * common/linux-btrace.c (linux_read_btrace): Free trace from
12576 previous iteration.
12577
fbcbc3fd
DE
125782014-01-15 Doug Evans <dje@google.com>
12579
12580 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12581 uint32_t.
12582
3d548a53
TT
125832014-01-15 Tom Tromey <tromey@redhat.com>
12584
12585 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12586 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12587 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12588 (set_objfile_main_name): New function.
12589 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12590 language_of_main>: New fields.
12591 (set_objfile_main_name): Declare.
12592 * symtab.c (find_main_name): Loop over objfiles to find the main
12593 name and language.
12594 (set_main_name): Now static.
12595 (get_main_info): Add comment.
12596 * symtab.h (set_main_name): Don't declare.
12597
32ac0d11
TT
125982014-01-15 Tom Tromey <tromey@redhat.com>
12599
12600 * symtab.c (main_progspace_key): New global.
12601 (struct main_info): New.
12602 (name_of_main, language_of_main): Remove.
12603 (get_main_info, main_info_cleanup): New function.
12604 (set_main_name, main_name, main_language): Use get_main_info.
12605 (_initialize_symtab): Initialize main_progspace_key.
12606
9e6c82ad
TT
126072014-01-15 Tom Tromey <tromey@redhat.com>
12608
12609 * dbxread.c (process_one_symbol): Update.
12610 * dwarf2read.c (read_partial_die): Update.
12611 * symfile.c (set_initial_language): Call main_language.
12612 * symtab.c (language_of_main): Now static.
12613 (set_main_name): Add 'lang' parameter.
12614 (find_main_name): Update.
12615 (main_language): New function.
12616 (symtab_observer_executable_changed): Update.
12617 * symtab.h (set_main_name): Update.
12618 (language_of_main): Remove.
12619 (main_language): Declare.
12620
6ef55de7
TT
126212014-01-15 Tom Tromey <tromey@redhat.com>
12622
12623 * symfile.c (init_entry_point_info): Use new "initialized" field.
12624 Update.
12625 * objfiles.h (struct entry_point) <initialized>: New field.
12626 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12627 (struct objfile) <ei>: ...here. Remove.
12628 * objfiles.c (entry_point_address_query): Update.
12629
53eddfa6
TT
126302014-01-15 Tom Tromey <tromey@redhat.com>
12631
12632 * objfiles.c (entry_point_address_query): Relocate entry point
12633 address.
12634 (objfile_relocate1): Do not relocate entry point address.
12635 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12636 <the_bfd_section_index>: New field.
12637 * symfile.c (init_entry_point_info): Find the entry point's
12638 section.
12639
d56e56aa
TT
126402014-01-15 Tom Tromey <tromey@redhat.com>
12641
12642 * solib-frv.c (enable_break): Use entry_point_address_query.
12643
33a97bbe
OJ
126442014-01-15 Omair Javaid <omair.javaid@linaro.org>
12645
12646 * NEWS: Add note on improved process record-replay on
12647 arm*-linux* targets.
12648
c6ec2b30
OJ
126492014-01-15 Omair Javaid <omair.javaid@linaro.org>
12650
12651 * arm-tdep.c (enum arm_record_result): New enum.
12652 (arm_record_unsupported_insn): New function.
12653 (arm_record_coproc_data_proc): Removed.
12654 (thumb2_record_ld_st_multiple): New function.
12655 (thumb2_record_ld_st_dual_ex_tbb): New function.
12656 (thumb2_record_data_proc_sreg_mimm): New function.
12657 (thumb2_record_ps_dest_generic): New function.
12658 (thumb2_record_branch_misc_cntrl): New function.
12659 (thumb2_record_str_single_data): New function.
12660 (thumb2_record_ld_mem_hints): New function.
12661 (thumb2_record_ld_word): New function.
12662 (thumb2_record_lmul_lmla_div): New function.
12663 (thumb2_record_decode_insn_handler): New function.
12664 (decode_insn): Add thumb32 instruction handlers.
12665
97dfe206
OJ
126662014-01-15 Omair Javaid <omair.javaid@linaro.org>
12667
12668 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12669 (struct arm_linux_record_tdep): Declare.
12670 (arm_canonicalize_syscall): New function.
12671 (arm_all_but_pc_registers_record): New function.
12672 (arm_linux_syscall_record): New function.
12673 (arm_linux_init_abi): Add syscall recording constructs.
12674 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12675 decoding. (arm_record_coproc_data_proc): Update arm syscall
12676 decoding.
12677 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12678 <arm_syscall_record>: New field.
12679 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12680 gdb_target_obs.
12681
9904a494
OJ
126822014-01-15 Omair Javaid <omair.javaid@linaro.org>
12683
12684 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12685 register for push instruction recording.
12686
f969241e
OJ
126872014-01-15 Omair Javaid <omair.javaid@linaro.org>
12688
12689 * arm-tdep.c (thumb_record_misc): Update to correct logical
12690 error while recording ldm, ldmia and pop instructions.
12691
bfbbec00
OJ
126922014-01-15 Omair Javaid <omair.javaid@linaro.org>
12693
12694 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12695
e40adcc9
PA
126962014-01-15 Pedro Alves <palves@redhat.com>
12697
12698 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12699 (go32_resume, go32_fetch_registers, store_register)
12700 (go32_store_registers, go32_prepare_to_store)
12701 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12702 (go32_create_inferior, go32_can_run, go32_terminal_init)
12703 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12704 declarations.
12705
b0a16e66
TT
127062014-01-15 Tom Tromey <tromey@redhat.com>
12707
12708 * target.h (async_callback_ftype): New typedef.
12709 (struct target_ops) <to_async>: Use it.
12710
bf7105a4
JB
127112014-01-15 Joel Brobecker <brobecker@adacore.com>
12712
12713 * python/py-value.c (get_field_type): Remove unnecessary curly
12714 braces for single-statement if block.
12715
a8f35c2e
JB
127162014-01-15 Joel Brobecker <brobecker@adacore.com>
12717
12718 * python/py-type.c (convert_field): Add missing empty line
12719 after declarations.
12720
bb4142cf
DE
127212014-01-14 Doug Evans <dje@google.com>
12722
12723 * symfile.h (expand_symtabs_matching): Renamed from
12724 expand_partial_symbol_names. Update prototype.
12725 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12726 * symfile.c (expand_symtabs_matching): Renamed from
12727 expand_partial_symbol_names. New args file_matcher, kind.
12728 Rename arg fun to symbol_matcher.
12729 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12730 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12731 ada_expand_partial_symbol_name.
12732 (ada_make_symbol_completion_list): Update to call
12733 expand_symtabs_matching.
12734 (ada_add_global_exceptions): Call expand_symtabs_matching.
12735 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12736 call map_symbol_filenames.
12737 * symtab.c (sources_info): Update to call map_symbol_filenames.
12738 (search_symbols): Call expand_symtabs_matching.
12739 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12740 (default_make_symbol_completion_list_break_on): Update to call
12741 expand_symtabs_matching.
12742 (make_source_files_completion_list): Update to call
12743 map_symbol_filenames.
12744
206f2a57
DE
127452014-01-14 Doug Evans <dje@google.com>
12746
12747 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12748 (expand_symtabs_symbol_matcher_ftype): New typedef.
12749 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12750 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12751 * symfile.c (expand_partial_symbol_names): Update to use
12752 expand_symtabs_symbol_matcher_ftype.
12753 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12754 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12755 Arg name_matcher renamed to symbol_matcher.
12756 * psymtab.c (recursively_search_psymtabs): Update to use
12757 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12758 sym_matcher.
12759 (expand_symtabs_matching_via_partial): Update to use
12760 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12761 Arg name_matcher renamed to symbol_matcher.
12762
540c2971
DE
127632014-01-14 Doug Evans <dje@google.com>
12764
12765 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12766 (map_partial_symbol_filenames): Ditto.
12767 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12768 (map_partial_symbol_filenames): Ditto.
12769 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12770 (map_partial_symbol_filenames): Ditto.
12771 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12772 (map_partial_symbol_filenames): Ditto.
12773 * symtab.c: Delete #include "psymtab.h".
12774
8213266a
PA
127752014-01-14 Pedro Alves <palves@redhat.com>
12776 Tom Tromey <tromey@redhat.com>
12777
12778 * infrun.c (use_displaced_stepping): Use find_record_target
12779 instead of RECORD_IS_USED.
12780 (adjust_pc_after_break): Use record_full_is_used instead of
12781 RECORD_IS_USED.
12782 * record-btrace.c (record_btrace_open): Call record_preopen
12783 instead of checking RECORD_IS_USED.
12784 * record-full.c (record_full_shortname)
12785 (record_full_core_shortname): New globals.
12786 (record_full_is_used): New function.
12787 (find_full_open): Call record_preopen instead of checking
12788 RECORD_IS_USED.
12789 (init_record_full_ops): Set the target's shortname to
12790 record_full_shortname.
12791 (init_record_full_core_ops): Set the target's shortname to
12792 record_full_core_shortname.
12793 * record-full.h (record_full_is_used): Declare.
12794 * record.c (find_record_target): Make extern.
12795 (record_preopen): New function.
12796 * record.h (RECORD_IS_USED): Delete macro.
12797 (find_record_target, record_preopen): Declare functions.
12798
7ec1862d
YQ
127992014-01-14 Yao Qi <yao@codesourcery.com>
12800
12801 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12802 'len''s type to ULONGEST.
12803 (core_xfer_shared_libraries_aix): Likewise.
12804 * gdbarch.c, gdbarch.h: Regenerated.
12805 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12806 Change type of 'len' to ULONGEST.
12807 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12808 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12809
dea80a27
YQ
128102014-01-14 Yao Qi <yao@codesourcery.com>
12811
12812 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12813 type of 'len' to ULONGEST.
12814 (linux_xfer_osdata_processgroups): Likewise.
12815 (linux_xfer_osdata_threads): Likewise.
12816 (linux_xfer_osdata_fds): Likewise.
12817 (linux_xfer_osdata_isockets): Likewise.
12818 (linux_xfer_osdata_shm): Likewise.
12819 (linux_xfer_osdata_sem): Likewise.
12820 (linux_xfer_osdata_msg): Likewise.
12821 (linux_common_xfer_osdata): Likewise.
12822 (struct osdata_type) <getter>: Likewise.
12823 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12824 the declaration.
12825
b55e14c7
YQ
128262014-01-14 Yao Qi <yao@codesourcery.com>
12827
12828 * target.h (target_xfer_partial_ftype): Update.
12829 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12830 ULONGEST.
12831 * aix-thread.c (aix_thread_xfer_partial): Change type of
12832 argument 'len' to ULONGEST.
12833 * auxv.c (procfs_xfer_auxv): Likewise.
12834 (ld_so_xfer_auxv): Likewise.
12835 (memory_xfer_auxv): Likewise.
12836 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12837 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12838 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12839 * corelow.c (core_xfer_partial): Likewise.
12840 * ctf.c (ctf_xfer_partial): Likewise.
12841 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12842 '%u'.
12843 (darwin_read_dyld_info): Likewise.
12844 (darwin_xfer_partial): Likewise.
12845 * exec.c (section_table_xfer_memory_partial): Likewise.
12846 (exec_xfer_partial): Likewise.
12847 * exec.h (section_table_xfer_memory_partial): Update
12848 declaration.
12849 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12850 instead of plongest.
12851 (gnu_xfer_partial): Likewise.
12852 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12853 (ia64_hpux_xfer_solib_got): Likewise.
12854 (ia64_hpux_xfer_partial): Likewise.
12855 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12856 * inf-ptrace.c (inf_ptrace_xfer_partial):
12857 * inf-ttrace.c (inf_ttrace_xfer_partial):
12858 * linux-nat.c (linux_xfer_siginfo): Likewise.
12859 (linux_nat_xfer_partial): Likewise.
12860 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12861 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12862 * monitor.c (monitor_xfer_memory): Likewise.
12863 (monitor_xfer_partial): Likewise.
12864 * procfs.c (procfs_xfer_partial): Likewise.
12865 * record-full.c (record_full_xfer_partial): Likewise.
12866 (record_full_core_xfer_partial): Likewise.
12867 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12868 instead of plongest.
12869 (gdbsim_xfer_partial): Likewise.
12870 * remote.c (remote_xfer_partial): Likewise.
12871 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12872 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12873 declaration.
12874 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12875 (rs6000_xfer_shared_libraries): Likewise.
12876 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12877 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12878 (sparc_xfer_partial): Likewise.
12879 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12880 (spu_xfer_partial): Likewise.
12881 * spu-multiarch.c (spu_xfer_partial): Likewise.
12882 * target.c (target_read_live_memory): Likewise.
12883 (memory_xfer_live_readonly_partial): Likewise.
12884 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12885 (target_xfer_partial, default_xfer_partial): Likewise.
12886 (current_xfer_partial): Likewise.
12887 * tracepoint.c (tfile_xfer_partial): Likewise.
12888 * windows-nat.c (windows_xfer_memory): Likewise. Call
12889 pulongest instead of plongest.
12890 (windows_xfer_partial): Likewise.
12891 (windows_xfer_shared_libraries): Likewise.
12892
05804640
YQ
128932014-01-14 Yao Qi <yao@codesourcery.com>
12894
12895 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12896 target_xfer_partial_ftype.
12897
b5b08fb4
SC
128982014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12899
12900 PR python/15464
12901 PR python/16113
12902 * valops.c (value_struct_elt_bitpos): New function
12903 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12904 object to 'None' if the field name is an empty string ("").
12905 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12906 attribute to look for a field when 'name' is 'None'.
12907 (get_field_type): New function
12908
13aaf454
DE
129092014-01-13 Doug Evans <dje@google.com>
12910
12911 PR symtab/16426
12912 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12913 (try_open_dwop_file): Ditto.
12914 * gdb_bfd.c: #include "vec.h".
12915 (bfdp): New typedef.
12916 (struct gdb_bfd_data): New member included_bfds.
12917 (gdb_bfd_unref): Unref all included bfds.
12918 (gdb_bfd_record_inclusion): New function.
12919 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12920
c2cec97c
TT
129212014-01-13 Tom Tromey <tromey@redhat.com>
12922
12923 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12924
78e5999d
TT
129252014-01-13 Tom Tromey <tromey@redhat.com>
12926
12927 * defs.h (use_windows): Remove.
12928 * gdb.c (main): Update.
12929 * main.c (captured_main, gdb_main): Update.
12930 * main.h (struct captured_main_args) <use_windows>: Remove.
12931 * top.c (use_windows): Remove.
12932
f2052bbe
TT
129332014-01-13 Tom Tromey <tromey@redhat.com>
12934
12935 * defs.h (deprecated_flush_hook): Remove.
12936
fde4f8ed
JK
129372014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12938
12939 PR threads/16216
12940 * linux-thread-db.c (try_thread_db_load): Add parameter
12941 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12942 (try_thread_db_load_from_pdir_1): Move it there from here.
12943 (try_thread_db_load_from_sdir): Update caller.
12944 (try_thread_db_load_from_dir): Move it there from here.
12945
bdf61915
PP
129462014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12947
12948 * regformats/regdat.sh: Always rewrite the register file.
12949
f71e1a8d
PA
129502014-01-13 Pedro Alves <palves@redhat.com>
12951
12952 * Makefile.in (CHECK_HEADERS): New variable.
12953 (check-headers:): New rule.
12954
42c85435
TT
129552014-01-13 Tom Tromey <tromey@redhat.com>
12956
12957 * cli/cli-setshow.c (do_set_command): Update.
12958 * defs.h (deprecated_set_hook): Remove.
12959 * top.c (deprecated_set_hook): Remove.
12960
f8de5129
PA
129612014-01-13 Pedro Alves <palves@redhat.com>
12962
12963 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12964 the tracepoint if the PC is a pseudo-register.
12965
fc270c35
TT
129662014-01-13 Tom Tromey <tromey@redhat.com>
12967
12968 * defs.h (XCALLOC): Remove.
12969 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12970 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12971 * dwarf2loc.c (allocate_piece_closure): Likewise.
12972 * elfread.c (elf_symfile_segments): Likewise.
12973 (elf_symfile_segments): Likewise.
12974 * gdbtypes.c (copy_type_recursive): Likewise.
12975 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12976 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12977 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12978 XCALLOC.
12979 * mt-tdep.c (mt_gdbarch_init): Likewise.
12980 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12981 XCALLOC.
12982 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12983 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12984 * registry.c (registry_alloc_data): Likewise.
12985 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12986 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12987 * serial.c (serial_fdopen_ops): Likewise.
12988 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12989 XCALLOC.
12990 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12991 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12992 not XCALLOC.
12993
70ba0933
TT
129942014-01-13 Tom Tromey <tromey@redhat.com>
12995
12996 * defs.h (XMALLOC): Remove.
12997 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12998 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12999 * cli-out.c (struct ui_out *): Likewise.
13000 * cli/cli-dump.c (add_dump_command): Likewise.
13001 (add_dump_command): Likewise.
13002 * complaints.c (get_complaints): Likewise.
13003 (find_complaint): Likewise.
13004 * dwarf2-frame.c (execute_cfa_program): Likewise.
13005 * dwarf2read.c (abbrev_table_read_table): Likewise.
13006 * gdbarch.sh: Likewise.
13007 * gdbarch.c: Rebuild.
13008 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13009 * interps.c (interp_new): Likewise.
13010 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13011 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13012 * mi/mi-console.c (mi_console_file_new): Likewise.
13013 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13014 * mi/mi-out.c (mi_out_new): Likewise.
13015 * mi/mi-parse.c (mi_parse): Likewise.
13016 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13017 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13018 * observer.c (xalloc_observer_list_node): Likewise.
13019 * regcache.c (regcache_xmalloc_1): Likewise.
13020 * reggroups.c (reggroup_new): Likewise.
13021 (_initialize_reggroup): Likewise.
13022 * registry.c (register_data_with_cleanup): Likewise.
13023 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13024 * ser-base.c (serial_ttystate): Likewise.
13025 * ser-mingw.c (make_pipe_state): Likewise.
13026 * ser-pipe.c (pipe_open): Likewise.
13027 * serial.c (serial_open): Likewise.
13028 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13029 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13030 (tui_alloc_win_info): Likewise.
13031 (tui_add_content_elements): Likewise.
13032 * tui/tui-file.c (tui_file_new): Likewise.
13033 * tui/tui-out.c (tui_out_new): Likewise.
13034 * ui-file.c (mem_file_new): Likewise.
13035 * ui-out.c (push_level): Likewise.
13036 (make_cleanup_ui_out_end): Likewise.
13037 (append_header_to_list): Likewise.
13038 (ui_out_new): Likewise.
13039 * user-regs.c (user_reg_add_builtin): Likewise.
13040
41bf6aca
TT
130412014-01-13 Tom Tromey <tromey@redhat.com>
13042
13043 * defs.h (XZALLOC): Remove.
13044 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
13045 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
13046 (get_ada_tasks_inferior_data): Likewise.
13047 * auto-load.c (get_auto_load_pspace_data): Likewise.
13048 * auxv.c (get_auxv_inferior_data): Likewise.
13049 * bfd-target.c (target_bfd_reopen): Likewise.
13050 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
13051 (deprecated_insert_raw_breakpoint): Likewise.
13052 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13053 * corelow.c (core_open): Likewise.
13054 * darwin-nat.c (darwin_check_new_threads): Likewise.
13055 (darwin_attach_pid): Likewise.
13056 * dummy-frame.c (dummy_frame_push): Likewise.
13057 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
13058 * dwarf2loc.c (allocate_piece_closure): Likewise.
13059 * elfread.c (elf_symfile_segments): Likewise.
13060 * eval.c (ptrmath_type_p): Likewise.
13061 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
13062 * gdbtypes.c (alloc_type_arch): Likewise.
13063 (alloc_type_instance): Likewise.
13064 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
13065 * inf-child.c (inf_child_can_use_agent): Likewise.
13066 * inflow.c (get_inflow_inferior_data): Likewise.
13067 * infrun.c (save_infcall_suspend_state): Likewise.
13068 * jit.c (jit_reader_load): Likewise.
13069 (get_jit_objfile_data): Likewise.
13070 (get_jit_program_space_data): Likewise.
13071 (jit_object_open_impl): Likewise.
13072 (jit_symtab_open_impl): Likewise.
13073 (jit_block_open_impl): Likewise.
13074 (jit_frame_sniffer): Likewise.
13075 * linux-fork.c (add_fork): Likewise.
13076 * maint.c (make_command_stats_cleanup): Likewise.
13077 * objfiles.c (get_objfile_pspace_data): Likewise.
13078 * opencl-lang.c (struct lval_closure): Likewise.
13079 * osdata.c (osdata_start_osdata): Likewise.
13080 * progspace.c (new_address_space): Likewise.
13081 (add_program_space): Likewise.
13082 * remote-sim.c (get_sim_inferior_data): Likewise.
13083 * sh-tdep.c (sh_gdbarch_init): Likewise.
13084 * skip.c (Ignore): Likewise.
13085 (skip_delete_command): Likewise.
13086 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13087 (library_list_start_library): Likewise.
13088 (solib_aix_current_sos): Likewise.
13089 * solib-darwin.c (get_darwin_info): Likewise.
13090 (darwin_current_sos): Likewise.
13091 * solib-dsbt.c (get_dsbt_info): Likewise.
13092 * solib-ia64-hpux.c (new_so_list): Likewise.
13093 (ia64_hpux_get_solib_linkage_addr): Likewise.
13094 * solib-spu.c (append_ocl_sos): Likewise.
13095 (spu_current_sos): Likewise.
13096 * solib-svr4.c (get_svr4_info): Likewise.
13097 (svr4_keep_data_in_core): Likewise.
13098 (library_list_start_library): Likewise.
13099 (svr4_default_sos): Likewise.
13100 (svr4_read_so_list): Likewise.
13101 * solib-target.c (library_list_start_library): Likewise.
13102 (solib_target_current_sos): Likewise.
13103 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13104 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13105 * symfile.c (default_symfile_segments): Likewise.
13106 * target-descriptions.c (tdesc_data_init): Likewise.
13107 (tdesc_create_reg): Likewise.
13108 (struct tdesc_type *): Likewise.
13109 (tdesc_create_vector): Likewise.
13110 (tdesc_set_struct_size): Likewise.
13111 (struct tdesc_type *): Likewise.
13112 (tdesc_free_feature): Likewise.
13113 (tdesc_create_feature): Likewise.
13114 * windows-nat.c (windows_add_thread): Likewise.
13115 (windows_make_so): Likewise.
13116 * xml-support.c (gdb_xml_body_text): Likewise.
13117 (gdb_xml_create_parser_and_cleanup): Likewise.
13118 (xml_process_xincludes): Likewise.
13119 * xml-syscall.c (allocate_syscalls_info): Likewise.
13120 (syscall_create_syscall_desc): Likewise.
13121
5acfdbae
SDJ
131222014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13123
13124 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13125 function, with code from i386_stap_parse_special_token.
13126 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13127 (i386_stap_parse_special_token): Move code to the two functions
13128 above; simplify it.
13129
0000e5cc
PA
131302014-01-09 Pedro Alves <palves@redhat.com>
13131 Hui Zhu <hui@codesourcery.com>
13132
13133 PR gdb/16101
13134 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13135 bp_err_string. Don't mark the location shlib_disabled if the
13136 error thrown wasn't a generic or memory error. Catch errors
13137 thrown while inserting breakpoints in overlayed code. Output
13138 error message of software breakpoints.
13139 * remote.c (remote_insert_breakpoint): If this breakpoint has
13140 target-side commands but this stub doesn't support Z0 packets,
13141 throw NOT_SUPPORTED_ERROR error.
13142 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
13143 * target.h (target_insert_breakpoint): Extend comment.
13144 (target_insert_hw_breakpoint): Add comment.
13145
b7ea362b
PA
131462014-01-08 Pedro Alves <palves@redhat.com>
13147
13148 * remote.c (remote_add_thread): Add threads silently if starting
13149 up.
13150 (remote_notice_new_inferior): If in all-stop, and starting up,
13151 don't call notice_new_inferior.
13152 (get_current_thread): New function, factored out from ...
13153 (add_current_inferior_and_thread): ... this. Adjust.
13154 (remote_start_remote) <all-stop>: Fetch the thread list. If we
13155 found any thread, then select the remote's current thread as GDB's
13156 current thread too.
13157
b7bba001
JB
131582014-01-08 Joel Brobecker <brobecker@adacore.com>
13159
13160 * NEWS: Create a new section for the next release branch.
13161 Rename the section of the current branch, now that it has
13162 been cut.
13163
16dfbded
JB
131642014-01-08 Joel Brobecker <brobecker@adacore.com>
13165
13166 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
13167 * version.in: Bump version to 7.7.50.DATE-cvs.
13168
22c90ac1
YQ
131692014-01-08 Yao Qi <yao@codesourcery.com>
13170
13171 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
13172 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
13173 (spu_xfer_partial): Cast 'buf' to 'const char *'.
13174
d64ad97c
YQ
131752014-01-08 Yao Qi <yao@codesourcery.com>
13176
13177 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
13178 return value of bfd_get_filename to symbol_file_add_from_bfd.
13179
f93ba80c
PM
131802014-01-08 Pierre Muller <muller@sourceware.org>
13181
13182 Fix PR16201.
13183 * coff-pe-read.c (struct read_pe_section_data): Add index field.
13184 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
13185 to prim_record_mininal_symbol_and_info.
13186 (add_pe_forwarded_sym): Use known section number of forwarded symbol
13187 in call to prim_record_minimal_symbol_and_info.
13188 (read_pe_exported_syms): Set index field of section_data.
13189
a4d9ba85
AP
131902014-01-07 Andrew Pinski <apinski@cavium.com>
13191
13192 * features/aarch64-core.xml (cpsr): Change to be 64bit.
13193 * features/aarch64.c: Regenerate.
13194
1b67eb02
AS
131952014-01-07 Andreas Schwab <schwab@linux-m68k.org>
13196
13197 * target.c (return_null): Define.
13198 (update_current_target): Use it instead of return_zero for
13199 functions that return a pointer.
13200
5e3f4fab
EBM
132012014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13202
13203 * source.c (add_path): Fix check for duplicated paths in the previously
13204 included paths.
13205
e2616788
HK
132062014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
13207
13208 * ada-lang.c: Remove duplicated include statements.
13209 * alphabsd-nat.c: Ditto.
13210 * amd64-darwin-tdep.c: Ditto.
13211 * amd64fbsd-nat.c: Ditto.
13212 * auto-load.c: Ditto.
13213 * ax-gdb.c: Ditto.
13214 * breakpoint.c: Ditto.
13215 * dbxread.c: Ditto.
13216 * fork-child.c: Ditto.
13217 * gdb_usleep.c: Ditto.
13218 * i386-darwin-tdep.c: Ditto.
13219 * i386fbsd-nat.c: Ditto.
13220 * infcmd.c: Ditto.
13221 * inferior.c: Ditto.
13222 * jv-lang.c: Ditto.
13223 * linux-nat.c: Ditto.
13224 * linux-tdep.c: Ditto.
13225 * m68kbsd-nat.c: Ditto.
13226 * m68klinux-nat.c: Ditto.
13227 * microblaze-tdep.c: Ditto.
13228 * mips-linux-tdep.c: Ditto.
13229 * mn10300-tdep.c: Ditto.
13230 * nto-tdep.c: Ditto.
13231 * opencl-lang.c: Ditto.
13232 * osdata.c: Ditto.
13233 * printcmd.c: Ditto.
13234 * regcache.c: Ditto.
13235 * remote-m32r-sdi.c: Ditto.
13236 * remote.c: Ditto.
13237 * symfile.c: Ditto.
13238 * symtab.c: Ditto.
13239 * tilegx-linux-nat.c: Ditto.
13240 * tilegx-tdep.c: Ditto.
13241 * tracepoint.c: Ditto.
13242 * valops.c: Ditto.
13243 * vaxbsd-nat.c: Ditto.
13244 * windows-nat.c: Ditto.
13245 * xtensa-tdep.c: Ditto.
13246
bd1f7788
YQ
132472014-01-07 Yao Qi <yao@codesourcery.com>
13248
13249 * spu-linux-nat.c (_initialize_spu_nat): Declare.
13250
79301218
JB
132512014-01-07 Yao Qi <yao@codesourcery.com>
13252 Joel Brobecker <brobecker@adacore.com>
13253
13254 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
13255 (pdc_write_regs): Likewise.
13256 (fetch_regs_kernel_thread): Likewise.
13257 (store_regs_kernel_thread): Likewise.
13258
132592014-01-07 Joel Brobecker <brobecker@adacore.com>
13260
13261 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
13262 tagged type objects to their actual type.
13263
8e355c5d
JB
132642014-01-07 Joel Brobecker <brobecker@adacore.com>
13265
13266 * ada-valprint.c (print_field_values): Add "language" parameter.
13267 Update calls to print_field_values and print_variant_part.
13268 Pass new parameter "language" in call to val_print instead
13269 of "current_language". Replace call to ada_val_print by call
13270 to val_print.
13271 (print_variant_part): Add "language" parameter.
13272 (ada_val_print_struct_union): Update call to print_field_values.
13273
4fbf5aa5
JB
132742014-01-07 Joel Brobecker <brobecker@adacore.com>
13275
13276 * ada-valprint.c (ui_memcpy): Delete.
13277 (ada_print_floating): Update documentation. Add empty line
13278 between between function documentation and implementation.
13279 Delete variable "buffer". Use ui_file_xstrdup in place of
13280 ui_file_put. Minor adjustments following this change.
13281
71855601
JB
132822014-01-07 Joel Brobecker <brobecker@adacore.com>
13283
13284 * ada-valprint.c (ada_val_print_string): New function,
13285 extracted from ada_val_print_array.
13286 (ada_val_print_array): Replace extracted code by call
13287 to ada_val_print_string followed by a return. Move
13288 "else" branch to the function's top block.
13289
4eb27a30
JB
132902014-01-07 Joel Brobecker <brobecker@adacore.com>
13291
13292 * ada-valprint.c (ada_val_print_array): Move implementation
13293 down. Rename parameter "offset" and "val" into "offset_aligned"
13294 and "original_value" respectively. Add parameter "offset".
13295
34b27950
JB
132962014-01-07 Joel Brobecker <brobecker@adacore.com>
13297
13298 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
13299 re-organizing the code. Change the "???" message printed
13300 when target type is a TYPE_CODE_UNDEF into
13301 "<ref to undefined type>".
13302
079e4591
JB
133032014-01-07 Joel Brobecker <brobecker@adacore.com>
13304
13305 * ada-valprint.c (print_record): Delete, implementation inlined...
13306 (ada_val_print_struct_union): ... here. Remove call to
13307 ada_check_typedef in inlined implementation.
13308
8004dfd1
JB
133092014-01-07 Joel Brobecker <brobecker@adacore.com>
13310
13311 * ada-valprint.c (ada_val_print_gnat_array): New function,
13312 extracted from ada_val_print_1;
13313 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
13314 (ada_val_print_flt, ada_val_print_struct_union)
13315 (ada_val_print_ref): Likewise.
13316 (ada_val_print_1): Delete variables i and elttype.
13317 Replace extracted-out code by call to corresponding
13318 new functions.
13319
760a2db0
JB
133202014-01-07 Joel Brobecker <brobecker@adacore.com>
13321
13322 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
13323
3a92c861
JB
133242014-01-07 Joel Brobecker <brobecker@adacore.com>
13325
13326 * ada-valprint.c (ada_val_print_1): Replace calls to
13327 ada_val_print_1 by calls to val_print.
13328
cd1630f9
JB
133292014-01-07 Joel Brobecker <brobecker@adacore.com>
13330
13331 * ada-valprint.c (ada_val_print_1): Add parameter "language".
13332 Update calls to self accordingly. Replace calls to c_val_print
13333 by calls to val_print.
13334
bdf779a0
JB
133352014-01-07 Joel Brobecker <brobecker@adacore.com>
13336
13337 * ada-valprint.c (print_record): Delete declaration.
13338 (adjust_type_signedness, ada_val_print_1): Likewise.
13339 (ada_val_print): Move function implementation down.
13340 (print_variant_part, print_field_values, print_record):
13341 Move function implementation up.
13342
c0d48811
JB
133432014-01-07 Joel Brobecker <brobecker@adacore.com>
13344
13345 * python/py-type.c (typy_get_name): New function.
13346 (type_object_getset): Add entry for attribute "name".
13347 * NEWS: Add entry mentioning this new attribute.
13348
c26e9cbb
YQ
133492014-01-07 Yao Qi <yao@codesourcery.com>
13350
13351 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13352 statement.
13353
0cc6f43d
YQ
133542014-01-07 Yao Qi <yao@codesourcery.com>
13355
13356 * gnu-nat.c (info_port_rights): Add qualifier const to
13357 argument args.
13358
eec03155
YQ
133592014-01-07 Yao Qi <yao@codesourcery.com>
13360
13361 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13362
f04a82ef
YQ
133632014-01-07 Yao Qi <yao@codesourcery.com>
13364
13365 * gnu-nat.c (make_inf) Update declaration.
13366 (make_inf): Make it static.
13367 (inf_set_traced): Likewise.
13368 (inf_port_to_thread, inf_task_died_status): Likewise.
13369
d57dda0a
YQ
133702014-01-07 Yao Qi <yao@codesourcery.com>
13371
13372 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13373
3aa8c969
YQ
133742014-01-07 Yao Qi <yao@codesourcery.com>
13375
13376 * gnu-nat.c (_initialize_gnu_nat): Declare.
13377
94123b4f
YQ
133782014-01-07 Yao Qi <yao@codesourcery.com>
13379
13380 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13381 'enum bfd_endian'.
13382 (struct gdbarch_info) <byte_order>: Change type to
13383 'enum bfd_endian'.
13384 <byte_order_for_code>: Likewise.
13385 * gdbarch.c, gdbarch.h: Regenerated.
13386
dc81d70a
TT
133872014-01-06 Sasha Smundak <asmundak@google.com>
13388
13389 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13390
cc2f3c35
TT
133912014-01-06 Tom Tromey <tromey@redhat.com>
13392
13393 * doublest.c (convert_doublest_to_floatformat): Use const, not
13394 CONST.
13395 * somread.c (som_symtab_read): Likewise.
13396
adcf2eed
HZ
133972014-01-07 Hui Zhu <hui@codesourcery.com>
13398
13399 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13400 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13401 (gdb_bfd_fopen): Ditto.
13402 (gdb_bfd_openr): Ditto.
13403 (gdb_bfd_openw): Ditto.
13404 (gdb_bfd_openr_iovec): Ditto.
13405 (gdb_bfd_fdopenr): Ditto.
13406 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13407 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13408 with xstrdup.
13409 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13410 with xstrdup.
13411 * symfile-mem.c (symbol_file_add_from_memory): Removed
13412 gdb_bfd_stash_filename.
13413
50722198
DE
134142014-01-03 Doug Evans <dje@google.com>
13415
13416 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13417 output.
13418
2fa4b862
JB
134192014-01-01 Joel Brobecker <brobecker@adacore.com>
13420
13421 Update year range in copyright notice of all files.
13422
28498c42
JB
134232014-01-01 Joel Brobecker <brobecker@adacore.com>
13424
13425 * top.c (print_gdb_version): Set copyright year to 2014.
13426
7b6e1046
JB
134272014-01-01 Joel Brobecker <brobecker@adacore.com>
13428
13429 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13430
df96af55 13431For older changes see ChangeLog-2013.
c906108c
SS
13432\f
13433Local Variables:
13434mode: change-log
13435left-margin: 8
13436fill-column: 74
13437version-control: never
57da7796 13438coding: utf-8
c906108c 13439End:
This page took 2.509102 seconds and 4 git commands to generate.