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