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