Add support for DW_OP_push_object_address.
[binutils-gdb.git] / gdb / ChangeLog
1 2014-08-18 Keven Boell <keven.boell@intel.com>
2 Joel Brobecker <brobecker@adacore.com>
3
4 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
5 field "get_object_address".
6 * dwarf2expr.c (execute_stack_op): Add handling for
7 DW_OP_push_object_address.
8 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
9 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
10 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
11 (dwarf_expr_get_obj_addr): New function.
12 (dwarf_expr_ctx_funcs): Add get_object_address field.
13 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
14 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
15 (dwarf2_evaluate_property): Add parameter "address". Use it.
16 (needs_get_obj_addr): New function.
17 (needs_frame_ctx_funcs): Add get_object_address field.
18 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
19 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
20 (resolve_dynamic_array): Likewise.
21
22 2014-08-18 Joel Brobecker <brobecker@adacore.com>
23
24 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
25 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
26 fixed value for records and unions for which some GNAT encodings
27 are present.
28
29 2014-08-18 Joel Brobecker <brobecker@adacore.com>
30
31 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
32 rewrite to avoid "else if" and "else" constructs. Should be
33 a no-op in practice.
34
35 2014-08-18 Joel Brobecker <brobecker@adacore.com>
36
37 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
38 of lexical block.
39
40 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
41
42 PR c++/17132
43 * eval.c: Update all calls to find_overload_match.
44 * valarith.c: Likewise.
45 (value_user_defined_cpp_op, value_user_defined_op): New
46 argument NOSIDE. Update all callers.
47 * valops.c (find_overload_match): New argument NOSIDE.
48 * value.h (find_overload_match): Update signature.
49
50 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
51
52 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
53 'items' methods instead of 'iteritems' method on dictionaries.
54
55 2014-08-15 Doug Evans <dje@google.com>
56
57 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
58 closer to use.
59
60 2014-08-15 Doug Evans <dje@google.com>
61
62 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
63
64 2014-08-15 Doug Evans <dje@google.com>
65
66 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
67
68 2014-08-15 Doug Evans <dje@google.com>
69
70 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
71 unused.
72
73 2014-08-15 Eli Zaretskii <eliz@gnu.org>
74
75 * dcache.h: Include target.h, to avoid compile time warnings.
76
77 2014-08-15 Joel Brobecker <brobecker@adacore.com>
78
79 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
80 frame_info" partial declaration.
81 * gdbarch.h: Regenerate.
82
83 2014-08-15 Yao Qi <yao@codesourcery.com>
84
85 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
86 Add parameter 'decode_for_pst_p'. Callers update.
87
88 2014-08-13 Yao Qi <yao@codesourcery.com>
89
90 PR build/17104
91 * configure.ac: Use local variable 'pos'.
92 * configure: Regenerated.
93
94 2014-08-11 Doug Evans <dje@google.com>
95
96 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
97 message, it is redundant with "Reading symbols from ..." message.
98
99 2014-08-10 Doug Evans <xdje42@gmail.com>
100
101 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
102
103 2014-08-09 Yao Qi <yao@codesourcery.com>
104
105 PR remote/9053
106 * remote.c (remote_xfer_partial): Remove dead code.
107
108 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * ia64-linux-tdep.c: Include "regset.h".
111 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
112 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
113 (ia64_linux_supply_fpregset): New function.
114 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
115 (ia64_linux_regset_from_core_section): New function.
116 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
117 method.
118
119 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
120
121 * m68klinux-tdep.c: Include "regset.h".
122 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
123 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
124 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
125 (m68k_linux_regset_from_core_section): New function.
126 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
127 method.
128
129 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
130
131 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
132 function. Move logic to...
133 (tilegx_linux_regmap): ... this new register map.
134 (tilegx_linux_regset): Refer to register map, replace supply
135 method by regcache_supply_regset, and add collect method.
136 * tilegx-tdep.h (enum tilegx_regnum): New enum value
137 TILEGX_FIRST_EASY_REGNUM.
138
139 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
140
141 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
142 that calls regcache_supply_regset and handles the EPC register
143 separately. Move main logic to...
144 (score7_linux_gregmap): ... this new register map.
145 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
146 (score7_linux_gregset): Refer to register map. Add collect method.
147 (score7_linux_regset_from_core_section): Replace
148 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
149 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
150 (struct regset): Delete unused forward declaraction.
151 (struct pt_regs): Delete structure definition.
152 (elf_gregset_t): Delete typedef.
153
154 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
155
156 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
157 (nios2_core_regset): Add collect method.
158
159 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
160
161 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
162 platform-independent and don't write to read-only input buffer.
163 (m32r_linux_collect_gregset): New function.
164 (m32r_linux_gregset): Add collect method.
165
166 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
167
168 * hppa-linux-tdep.c (greg_map): Rename to...
169 (hppa_linux_gregmap): ... this. Also convert to
170 regcache_map_entry format.
171 (hppa_linux_supply_regset): Delete function.
172 (hppa_linux_supply_fpregset): Delete function. Move logic to...
173 (hppa_linux_fpregmap): ... this new register map.
174 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
175 register map, replace supply method by regcache_supply_regset, and
176 add collect method regcache_collect_regset.
177
178 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
179
180 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
181 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
182 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
183 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
184 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
185 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
186 (frv_linux_supply_gregset): Replace main logic by call to
187 regcache_supply_regset, but keep clearing gr32-gr63.
188 (frv_linux_supply_fpregset): Delete function.
189 (frv_linux_gregset): Refer to appropriate register map and add
190 regcache_collect_regset as the collect method.
191 (frv_linux_fpregset): Likewise. Also exchange the supply method
192 by regcache_supply_regset.
193
194 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
195
196 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
197 by call to alpha_supply_int_regs.
198 (alpha_linux_collect_gregset): New function.
199 (alpha_linux_supply_fpregset): Replace logic by call to
200 alpha_supply_fp_regs.
201 (alpha_linux_collect_fpregset): New function.
202 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
203
204 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
205
206 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
207 by call to regcache_collect_regset.
208 (supply_gregset, supply_fpregset): Call regcache_supply_regset
209 instead of aarch64_linux_supply_gregset/_fpregset.
210 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
211 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
212 header file instead.
213 (aarch64_linux_supply_gregset, supply_gregset_from_core)
214 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
215 functions. Move logic to ...
216 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
217 register maps.
218 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
219 refer to new register maps, replace *_regset_from_core by
220 regcache_supply_regset, and also use regcache_collect_regset.
221 * aarch64-linux-tdep.h: Include "regset.h".
222 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
223 Delete prototypes.
224 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
225 macros, moved from C source file.
226 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
227 variable declarations.
228
229 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
230
231 * s390-linux-nat.c: Include "regset.h".
232 (regmap_gregset): Delete macro.
233 (s390_64_regmap_gregset): New register map for
234 regcache_supply/_collect_regset.
235 (s390_64_gregset): New regset.
236 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
237 (regmap_fpregset): Delete macro.
238 (s390_native_supply, s390_native_collect): Delete functions.
239 (supply_gregset, fill_gregset): Replace s390-specific regmap
240 handling by a call to regcache_supply/_collect_regset.
241 (supply_fpregset, fill_fpregset): Call regcache_supply/
242 _collect_regset instead of s390_native_supply/_collect.
243 (fetch_regset, store_regset): Likewise. Also change the last
244 parameter to a regset instead of a regmap.
245 (s390_linux_fetch_inferior_registers)
246 (390_linux_store_inferior_registers): Adjust last parameter in
247 calls to fetch_regset and store_regset.
248 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
249 (s390_gregmap): ... this. Also make static const and convert to
250 regcache_map_entry format.
251 (s390x_regmap_gregset): Delete.
252 (s390_regmap_fpregset): Rename to...
253 (s390_fpregmap): ... this. Make static const and convert to
254 regcache_map_entry format.
255 (s390_regmap_upper, s390_regmap_last_break)
256 (s390x_regmap_last_break, s390_regmap_system_call)
257 (s390_regmap_tdb): Likewise.
258 (s390_supply_regset, s390_collect_regset): Remove functions.
259 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
260 s390_supply_regset.
261 (s390_gregset, s390_fpregset, s390_upper_regset)
262 (s390_last_break_regset, s390x_last_break_regset)
263 (s390_system_call_regset, s390_tdb_regset): Make global and
264 replace s390_supply/_collect_regset by regcache_supply/
265 _collect_regset.
266 (s390x_gregset): Delete.
267 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
268 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
269 (s390_regmap_fpregset, s390_regmap_last_break)
270 (s390x_regmap_last_break, s390_regmap_system_call)
271 (s390_regmap_tdb): Delete global variable declarations.
272 (s390_gregset, s390_fpregset, s390_last_break_regset)
273 (s390x_last_break_regset, s390_system_call_regset)
274 (s390_tdb_regset): New global variable declarations.
275
276 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
277
278 * regcache.c: Include "regset.h".
279 (regcache_transfer_regset): New local function.
280 (regcache_supply_regset, regcache_collect_regset): New functions.
281 * regcache.h (struct regcache_map_entry): New structure.
282 (REGCACHE_MAP_SKIP): New enum value.
283 (regcache_supply_regset, regcache_collect_regset): New prototypes.
284
285 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
286
287 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
288 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
289 (ppc_linux_collect_gregset ): Likewise.
290 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
291 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
292 (ppc_collect_vrregset): Likewise.
293 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
294 Likewise.
295
296 2014-08-07 Yao Qi <yao@codesourcery.com>
297
298 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
299 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
300 * remote.c (remote_read_bytes): Likewise.
301
302 2014-08-07 Yao Qi <yao@codesourcery.com>
303
304 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
305
306 2014-08-07 Yao Qi <yao@codesourcery.com>
307
308 PR remote/17230
309 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
310 TARGET_XFER_OK instead of 0.
311
312 2014-08-07 Gary Benson <gbenson@redhat.com>
313
314 * common/common-defs.h: Include errno.h.
315 * defs.h: Do not include errno.h.
316 * ada-typeprint.c: Likewise.
317 * c-typeprint.c: Likewise.
318 * core-regset.c: Likewise.
319 * corefile.c: Likewise.
320 * corelow.c: Likewise.
321 * event-loop.c: Likewise.
322 * f-typeprint.c: Likewise.
323 * gnu-nat.c: Likewise.
324 * go32-nat.c: Likewise.
325 * i386gnu-nat.c: Likewise.
326 * m2-typeprint.c: Likewise.
327 * nat/linux-btrace.c: Likewise.
328 * p-typeprint.c: Likewise.
329 * procfs.c: Likewise.
330 * remote-sim.c: Likewise.
331 * rs6000-nat.c: Likewise.
332 * target.c: Likewise.
333 * typeprint.c: Likewise.
334 * ui-file.c: Likewise.
335 * valops.c: Likewise.
336 * valprint.c: Likewise.
337
338 2014-08-07 Gary Benson <gbenson@redhat.com>
339
340 * common/common-defs.h: Include string.h.
341 * aarch64-tdep.c: Do not include string.h.
342 * ada-exp.y: Likewise.
343 * ada-lang.c: Likewise.
344 * ada-lex.l: Likewise.
345 * ada-typeprint.c: Likewise.
346 * ada-valprint.c: Likewise.
347 * aix-thread.c: Likewise.
348 * alpha-linux-tdep.c: Likewise.
349 * alpha-mdebug-tdep.c: Likewise.
350 * alpha-nat.c: Likewise.
351 * alpha-osf1-tdep.c: Likewise.
352 * alpha-tdep.c: Likewise.
353 * alphanbsd-tdep.c: Likewise.
354 * amd64-dicos-tdep.c: Likewise.
355 * amd64-linux-tdep.c: Likewise.
356 * amd64-nat.c: Likewise.
357 * amd64-sol2-tdep.c: Likewise.
358 * amd64fbsd-tdep.c: Likewise.
359 * amd64obsd-tdep.c: Likewise.
360 * arch-utils.c: Likewise.
361 * arm-linux-nat.c: Likewise.
362 * arm-linux-tdep.c: Likewise.
363 * arm-tdep.c: Likewise.
364 * arm-wince-tdep.c: Likewise.
365 * armbsd-tdep.c: Likewise.
366 * armnbsd-nat.c: Likewise.
367 * armnbsd-tdep.c: Likewise.
368 * armobsd-tdep.c: Likewise.
369 * avr-tdep.c: Likewise.
370 * ax-gdb.c: Likewise.
371 * ax-general.c: Likewise.
372 * bcache.c: Likewise.
373 * bfin-tdep.c: Likewise.
374 * breakpoint.c: Likewise.
375 * build-id.c: Likewise.
376 * buildsym.c: Likewise.
377 * c-exp.y: Likewise.
378 * c-lang.c: Likewise.
379 * c-typeprint.c: Likewise.
380 * c-valprint.c: Likewise.
381 * charset.c: Likewise.
382 * cli-out.c: Likewise.
383 * cli/cli-cmds.c: Likewise.
384 * cli/cli-decode.c: Likewise.
385 * cli/cli-dump.c: Likewise.
386 * cli/cli-interp.c: Likewise.
387 * cli/cli-logging.c: Likewise.
388 * cli/cli-script.c: Likewise.
389 * cli/cli-setshow.c: Likewise.
390 * cli/cli-utils.c: Likewise.
391 * coffread.c: Likewise.
392 * common/agent.c: Likewise.
393 * common/buffer.c: Likewise.
394 * common/buffer.h: Likewise.
395 * common/common-utils.c: Likewise.
396 * common/filestuff.c: Likewise.
397 * common/filestuff.c: Likewise.
398 * common/format.c: Likewise.
399 * common/print-utils.c: Likewise.
400 * common/rsp-low.c: Likewise.
401 * common/signals.c: Likewise.
402 * common/vec.h: Likewise.
403 * common/xml-utils.c: Likewise.
404 * core-regset.c: Likewise.
405 * corefile.c: Likewise.
406 * corelow.c: Likewise.
407 * cp-abi.c: Likewise.
408 * cp-name-parser.y: Likewise.
409 * cp-support.c: Likewise.
410 * cp-valprint.c: Likewise.
411 * cris-tdep.c: Likewise.
412 * d-exp.y: Likewise.
413 * darwin-nat.c: Likewise.
414 * dbxread.c: Likewise.
415 * dcache.c: Likewise.
416 * demangle.c: Likewise.
417 * dicos-tdep.c: Likewise.
418 * disasm.c: Likewise.
419 * doublest.c: Likewise.
420 * dsrec.c: Likewise.
421 * dummy-frame.c: Likewise.
422 * dwarf2-frame.c: Likewise.
423 * dwarf2loc.c: Likewise.
424 * dwarf2read.c: Likewise.
425 * elfread.c: Likewise.
426 * environ.c: Likewise.
427 * eval.c: Likewise.
428 * event-loop.c: Likewise.
429 * exceptions.c: Likewise.
430 * exec.c: Likewise.
431 * expprint.c: Likewise.
432 * f-exp.y: Likewise.
433 * f-lang.c: Likewise.
434 * f-typeprint.c: Likewise.
435 * f-valprint.c: Likewise.
436 * fbsd-nat.c: Likewise.
437 * findcmd.c: Likewise.
438 * findvar.c: Likewise.
439 * fork-child.c: Likewise.
440 * frame.c: Likewise.
441 * frv-linux-tdep.c: Likewise.
442 * frv-tdep.c: Likewise.
443 * gdb.c: Likewise.
444 * gdb_bfd.c: Likewise.
445 * gdbarch.c: Likewise.
446 * gdbarch.sh: Likewise.
447 * gdbtypes.c: Likewise.
448 * gnu-nat.c: Likewise.
449 * gnu-v2-abi.c: Likewise.
450 * gnu-v3-abi.c: Likewise.
451 * go-exp.y: Likewise.
452 * go-lang.c: Likewise.
453 * go32-nat.c: Likewise.
454 * guile/guile.c: Likewise.
455 * guile/scm-auto-load.c: Likewise.
456 * hppa-hpux-tdep.c: Likewise.
457 * hppa-linux-nat.c: Likewise.
458 * hppanbsd-tdep.c: Likewise.
459 * hppaobsd-tdep.c: Likewise.
460 * i386-cygwin-tdep.c: Likewise.
461 * i386-dicos-tdep.c: Likewise.
462 * i386-linux-tdep.c: Likewise.
463 * i386-nto-tdep.c: Likewise.
464 * i386-sol2-tdep.c: Likewise.
465 * i386-tdep.c: Likewise.
466 * i386bsd-tdep.c: Likewise.
467 * i386gnu-nat.c: Likewise.
468 * i386nbsd-tdep.c: Likewise.
469 * i386obsd-tdep.c: Likewise.
470 * i387-tdep.c: Likewise.
471 * ia64-libunwind-tdep.c: Likewise.
472 * ia64-linux-nat.c: Likewise.
473 * inf-child.c: Likewise.
474 * inf-ptrace.c: Likewise.
475 * inf-ttrace.c: Likewise.
476 * infcall.c: Likewise.
477 * infcmd.c: Likewise.
478 * inflow.c: Likewise.
479 * infrun.c: Likewise.
480 * interps.c: Likewise.
481 * iq2000-tdep.c: Likewise.
482 * irix5-nat.c: Likewise.
483 * jv-exp.y: Likewise.
484 * jv-lang.c: Likewise.
485 * jv-typeprint.c: Likewise.
486 * jv-valprint.c: Likewise.
487 * language.c: Likewise.
488 * linux-fork.c: Likewise.
489 * linux-nat.c: Likewise.
490 * lm32-tdep.c: Likewise.
491 * m2-exp.y: Likewise.
492 * m2-typeprint.c: Likewise.
493 * m32c-tdep.c: Likewise.
494 * m32r-linux-nat.c: Likewise.
495 * m32r-linux-tdep.c: Likewise.
496 * m32r-rom.c: Likewise.
497 * m32r-tdep.c: Likewise.
498 * m68hc11-tdep.c: Likewise.
499 * m68k-tdep.c: Likewise.
500 * m68kbsd-tdep.c: Likewise.
501 * m68klinux-nat.c: Likewise.
502 * m68klinux-tdep.c: Likewise.
503 * m88k-tdep.c: Likewise.
504 * machoread.c: Likewise.
505 * macrocmd.c: Likewise.
506 * main.c: Likewise.
507 * mdebugread.c: Likewise.
508 * mem-break.c: Likewise.
509 * memattr.c: Likewise.
510 * memory-map.c: Likewise.
511 * mep-tdep.c: Likewise.
512 * mi/mi-cmd-break.c: Likewise.
513 * mi/mi-cmd-disas.c: Likewise.
514 * mi/mi-cmd-env.c: Likewise.
515 * mi/mi-cmd-stack.c: Likewise.
516 * mi/mi-cmd-var.c: Likewise.
517 * mi/mi-cmds.c: Likewise.
518 * mi/mi-console.c: Likewise.
519 * mi/mi-getopt.c: Likewise.
520 * mi/mi-interp.c: Likewise.
521 * mi/mi-main.c: Likewise.
522 * mi/mi-parse.c: Likewise.
523 * microblaze-rom.c: Likewise.
524 * microblaze-tdep.c: Likewise.
525 * mingw-hdep.c: Likewise.
526 * minidebug.c: Likewise.
527 * minsyms.c: Likewise.
528 * mips-irix-tdep.c: Likewise.
529 * mips-linux-tdep.c: Likewise.
530 * mips-tdep.c: Likewise.
531 * mips64obsd-tdep.c: Likewise.
532 * mipsnbsd-tdep.c: Likewise.
533 * mipsread.c: Likewise.
534 * mn10300-linux-tdep.c: Likewise.
535 * mn10300-tdep.c: Likewise.
536 * monitor.c: Likewise.
537 * moxie-tdep.c: Likewise.
538 * mt-tdep.c: Likewise.
539 * nat/linux-btrace.c: Likewise.
540 * nat/linux-osdata.c: Likewise.
541 * nat/linux-procfs.c: Likewise.
542 * nat/linux-ptrace.c: Likewise.
543 * nat/linux-waitpid.c: Likewise.
544 * nbsd-tdep.c: Likewise.
545 * nios2-linux-tdep.c: Likewise.
546 * nto-procfs.c: Likewise.
547 * nto-tdep.c: Likewise.
548 * objc-lang.c: Likewise.
549 * objfiles.c: Likewise.
550 * opencl-lang.c: Likewise.
551 * osabi.c: Likewise.
552 * osdata.c: Likewise.
553 * p-exp.y: Likewise.
554 * p-lang.c: Likewise.
555 * p-typeprint.c: Likewise.
556 * parse.c: Likewise.
557 * posix-hdep.c: Likewise.
558 * ppc-linux-nat.c: Likewise.
559 * ppc-sysv-tdep.c: Likewise.
560 * ppcfbsd-tdep.c: Likewise.
561 * ppcnbsd-tdep.c: Likewise.
562 * ppcobsd-tdep.c: Likewise.
563 * printcmd.c: Likewise.
564 * procfs.c: Likewise.
565 * prologue-value.c: Likewise.
566 * python/py-auto-load.c: Likewise.
567 * python/py-gdb-readline.c: Likewise.
568 * ravenscar-thread.c: Likewise.
569 * regcache.c: Likewise.
570 * registry.c: Likewise.
571 * remote-fileio.c: Likewise.
572 * remote-m32r-sdi.c: Likewise.
573 * remote-mips.c: Likewise.
574 * remote-notif.c: Likewise.
575 * remote-sim.c: Likewise.
576 * remote.c: Likewise.
577 * reverse.c: Likewise.
578 * rs6000-aix-tdep.c: Likewise.
579 * ser-base.c: Likewise.
580 * ser-go32.c: Likewise.
581 * ser-mingw.c: Likewise.
582 * ser-pipe.c: Likewise.
583 * ser-tcp.c: Likewise.
584 * ser-unix.c: Likewise.
585 * serial.c: Likewise.
586 * sh-tdep.c: Likewise.
587 * sh64-tdep.c: Likewise.
588 * shnbsd-tdep.c: Likewise.
589 * skip.c: Likewise.
590 * sol-thread.c: Likewise.
591 * solib-dsbt.c: Likewise.
592 * solib-frv.c: Likewise.
593 * solib-osf.c: Likewise.
594 * solib-som.c: Likewise.
595 * solib-spu.c: Likewise.
596 * solib-target.c: Likewise.
597 * solib.c: Likewise.
598 * somread.c: Likewise.
599 * source.c: Likewise.
600 * sparc-nat.c: Likewise.
601 * sparc-sol2-tdep.c: Likewise.
602 * sparc-tdep.c: Likewise.
603 * sparc64-tdep.c: Likewise.
604 * sparc64fbsd-tdep.c: Likewise.
605 * sparc64nbsd-tdep.c: Likewise.
606 * sparcnbsd-tdep.c: Likewise.
607 * spu-linux-nat.c: Likewise.
608 * spu-multiarch.c: Likewise.
609 * spu-tdep.c: Likewise.
610 * stabsread.c: Likewise.
611 * stack.c: Likewise.
612 * std-regs.c: Likewise.
613 * symfile.c: Likewise.
614 * symmisc.c: Likewise.
615 * symtab.c: Likewise.
616 * target.c: Likewise.
617 * thread.c: Likewise.
618 * tilegx-linux-nat.c: Likewise.
619 * tilegx-tdep.c: Likewise.
620 * top.c: Likewise.
621 * tracepoint.c: Likewise.
622 * tui/tui-command.c: Likewise.
623 * tui/tui-data.c: Likewise.
624 * tui/tui-disasm.c: Likewise.
625 * tui/tui-file.c: Likewise.
626 * tui/tui-layout.c: Likewise.
627 * tui/tui-out.c: Likewise.
628 * tui/tui-regs.c: Likewise.
629 * tui/tui-source.c: Likewise.
630 * tui/tui-stack.c: Likewise.
631 * tui/tui-win.c: Likewise.
632 * tui/tui-windata.c: Likewise.
633 * tui/tui-winsource.c: Likewise.
634 * typeprint.c: Likewise.
635 * ui-file.c: Likewise.
636 * ui-out.c: Likewise.
637 * user-regs.c: Likewise.
638 * utils.c: Likewise.
639 * v850-tdep.c: Likewise.
640 * valarith.c: Likewise.
641 * valops.c: Likewise.
642 * valprint.c: Likewise.
643 * value.c: Likewise.
644 * varobj.c: Likewise.
645 * vax-tdep.c: Likewise.
646 * vaxnbsd-tdep.c: Likewise.
647 * vaxobsd-tdep.c: Likewise.
648 * windows-nat.c: Likewise.
649 * xcoffread.c: Likewise.
650 * xml-support.c: Likewise.
651 * xstormy16-tdep.c: Likewise.
652 * xtensa-linux-nat.c: Likewise.
653
654 2014-08-07 Gary Benson <gbenson@redhat.com>
655
656 * common/common-defs.h: Include gdb_assert.h.
657 * aarch64-tdep.c: Do not include gdb_assert.h.
658 * addrmap.c: Likewise.
659 * aix-thread.c: Likewise.
660 * alpha-linux-tdep.c: Likewise.
661 * alpha-mdebug-tdep.c: Likewise.
662 * alphanbsd-tdep.c: Likewise.
663 * amd64-nat.c: Likewise.
664 * amd64-tdep.c: Likewise.
665 * amd64bsd-nat.c: Likewise.
666 * amd64fbsd-nat.c: Likewise.
667 * amd64fbsd-tdep.c: Likewise.
668 * amd64nbsd-nat.c: Likewise.
669 * amd64nbsd-tdep.c: Likewise.
670 * amd64obsd-nat.c: Likewise.
671 * amd64obsd-tdep.c: Likewise.
672 * arch-utils.c: Likewise.
673 * arm-tdep.c: Likewise.
674 * armbsd-tdep.c: Likewise.
675 * auxv.c: Likewise.
676 * bcache.c: Likewise.
677 * bfin-tdep.c: Likewise.
678 * blockframe.c: Likewise.
679 * breakpoint.c: Likewise.
680 * bsd-kvm.c: Likewise.
681 * bsd-uthread.c: Likewise.
682 * buildsym.c: Likewise.
683 * c-exp.y: Likewise.
684 * c-lang.c: Likewise.
685 * charset.c: Likewise.
686 * cleanups.c: Likewise.
687 * cli-out.c: Likewise.
688 * cli/cli-decode.c: Likewise.
689 * cli/cli-dump.c: Likewise.
690 * cli/cli-logging.c: Likewise.
691 * cli/cli-script.c: Likewise.
692 * cli/cli-utils.c: Likewise.
693 * coffread.c: Likewise.
694 * common/common-utils.c: Likewise.
695 * common/queue.h: Likewise.
696 * common/signals.c: Likewise.
697 * common/vec.h: Likewise.
698 * complaints.c: Likewise.
699 * completer.c: Likewise.
700 * corelow.c: Likewise.
701 * cp-abi.c: Likewise.
702 * cp-name-parser.y: Likewise.
703 * cp-namespace.c: Likewise.
704 * cp-support.c: Likewise.
705 * cris-tdep.c: Likewise.
706 * dbxread.c: Likewise.
707 * dictionary.c: Likewise.
708 * doublest.c: Likewise.
709 * dsrec.c: Likewise.
710 * dummy-frame.c: Likewise.
711 * dwarf2-frame-tailcall.c: Likewise.
712 * dwarf2-frame.c: Likewise.
713 * dwarf2expr.c: Likewise.
714 * dwarf2loc.c: Likewise.
715 * dwarf2read.c: Likewise.
716 * eval.c: Likewise.
717 * event-loop.c: Likewise.
718 * exceptions.c: Likewise.
719 * expprint.c: Likewise.
720 * f-valprint.c: Likewise.
721 * fbsd-nat.c: Likewise.
722 * findvar.c: Likewise.
723 * frame-unwind.c: Likewise.
724 * frame.c: Likewise.
725 * frv-tdep.c: Likewise.
726 * gcore.c: Likewise.
727 * gdb-dlfcn.c: Likewise.
728 * gdb_bfd.c: Likewise.
729 * gdbarch.c: Likewise.
730 * gdbarch.sh: Likewise.
731 * gdbtypes.c: Likewise.
732 * gnu-nat.c: Likewise.
733 * gnu-v3-abi.c: Likewise.
734 * go-lang.c: Likewise.
735 * guile/scm-exception.c: Likewise.
736 * guile/scm-gsmob.c: Likewise.
737 * guile/scm-lazy-string.c: Likewise.
738 * guile/scm-math.c: Likewise.
739 * guile/scm-pretty-print.c: Likewise.
740 * guile/scm-safe-call.c: Likewise.
741 * guile/scm-utils.c: Likewise.
742 * guile/scm-value.c: Likewise.
743 * h8300-tdep.c: Likewise.
744 * hppa-hpux-nat.c: Likewise.
745 * hppa-tdep.c: Likewise.
746 * hppanbsd-tdep.c: Likewise.
747 * hppaobsd-tdep.c: Likewise.
748 * i386-darwin-nat.c: Likewise.
749 * i386-darwin-tdep.c: Likewise.
750 * i386-nto-tdep.c: Likewise.
751 * i386-tdep.c: Likewise.
752 * i386bsd-nat.c: Likewise.
753 * i386fbsd-tdep.c: Likewise.
754 * i386gnu-nat.c: Likewise.
755 * i386nbsd-tdep.c: Likewise.
756 * i386obsd-tdep.c: Likewise.
757 * i387-tdep.c: Likewise.
758 * ia64-libunwind-tdep.c: Likewise.
759 * ia64-tdep.c: Likewise.
760 * inf-ptrace.c: Likewise.
761 * inf-ttrace.c: Likewise.
762 * infcall.c: Likewise.
763 * infcmd.c: Likewise.
764 * infrun.c: Likewise.
765 * inline-frame.c: Likewise.
766 * interps.c: Likewise.
767 * jv-lang.c: Likewise.
768 * jv-typeprint.c: Likewise.
769 * linux-fork.c: Likewise.
770 * linux-nat.c: Likewise.
771 * linux-thread-db.c: Likewise.
772 * m32c-tdep.c: Likewise.
773 * m32r-linux-nat.c: Likewise.
774 * m32r-tdep.c: Likewise.
775 * m68k-tdep.c: Likewise.
776 * m68kbsd-nat.c: Likewise.
777 * m68kbsd-tdep.c: Likewise.
778 * m88k-tdep.c: Likewise.
779 * machoread.c: Likewise.
780 * macroexp.c: Likewise.
781 * macrotab.c: Likewise.
782 * maint.c: Likewise.
783 * mdebugread.c: Likewise.
784 * memory-map.c: Likewise.
785 * mep-tdep.c: Likewise.
786 * mi/mi-common.c: Likewise.
787 * microblaze-tdep.c: Likewise.
788 * mingw-hdep.c: Likewise.
789 * mips-linux-nat.c: Likewise.
790 * mips-linux-tdep.c: Likewise.
791 * mips-tdep.c: Likewise.
792 * mips64obsd-tdep.c: Likewise.
793 * mipsnbsd-tdep.c: Likewise.
794 * mn10300-linux-tdep.c: Likewise.
795 * mn10300-tdep.c: Likewise.
796 * moxie-tdep.c: Likewise.
797 * mt-tdep.c: Likewise.
798 * nat/linux-btrace.c: Likewise.
799 * nat/linux-osdata.c: Likewise.
800 * nat/linux-ptrace.c: Likewise.
801 * nat/mips-linux-watch.c: Likewise.
802 * nios2-linux-tdep.c: Likewise.
803 * nios2-tdep.c: Likewise.
804 * objc-lang.c: Likewise.
805 * objfiles.c: Likewise.
806 * obsd-nat.c: Likewise.
807 * opencl-lang.c: Likewise.
808 * osabi.c: Likewise.
809 * parse.c: Likewise.
810 * ppc-linux-nat.c: Likewise.
811 * ppc-sysv-tdep.c: Likewise.
812 * ppcfbsd-nat.c: Likewise.
813 * ppcfbsd-tdep.c: Likewise.
814 * ppcnbsd-nat.c: Likewise.
815 * ppcnbsd-tdep.c: Likewise.
816 * ppcobsd-nat.c: Likewise.
817 * ppcobsd-tdep.c: Likewise.
818 * printcmd.c: Likewise.
819 * procfs.c: Likewise.
820 * prologue-value.c: Likewise.
821 * psymtab.c: Likewise.
822 * python/py-lazy-string.c: Likewise.
823 * python/py-value.c: Likewise.
824 * regcache.c: Likewise.
825 * reggroups.c: Likewise.
826 * registry.c: Likewise.
827 * remote-sim.c: Likewise.
828 * remote.c: Likewise.
829 * rs6000-aix-tdep.c: Likewise.
830 * rs6000-tdep.c: Likewise.
831 * s390-linux-tdep.c: Likewise.
832 * score-tdep.c: Likewise.
833 * ser-base.c: Likewise.
834 * ser-mingw.c: Likewise.
835 * sh-tdep.c: Likewise.
836 * sh64-tdep.c: Likewise.
837 * solib-darwin.c: Likewise.
838 * solib-spu.c: Likewise.
839 * solib-svr4.c: Likewise.
840 * source.c: Likewise.
841 * sparc-nat.c: Likewise.
842 * sparc-sol2-tdep.c: Likewise.
843 * sparc-tdep.c: Likewise.
844 * sparc64-sol2-tdep.c: Likewise.
845 * sparc64-tdep.c: Likewise.
846 * sparc64fbsd-tdep.c: Likewise.
847 * sparc64nbsd-tdep.c: Likewise.
848 * sparc64obsd-tdep.c: Likewise.
849 * sparcnbsd-tdep.c: Likewise.
850 * sparcobsd-tdep.c: Likewise.
851 * spu-multiarch.c: Likewise.
852 * spu-tdep.c: Likewise.
853 * stabsread.c: Likewise.
854 * stack.c: Likewise.
855 * symfile.c: Likewise.
856 * symtab.c: Likewise.
857 * target-descriptions.c: Likewise.
858 * target-memory.c: Likewise.
859 * target.c: Likewise.
860 * tic6x-linux-tdep.c: Likewise.
861 * tic6x-tdep.c: Likewise.
862 * tilegx-linux-nat.c: Likewise.
863 * tilegx-tdep.c: Likewise.
864 * top.c: Likewise.
865 * tramp-frame.c: Likewise.
866 * tui/tui-out.c: Likewise.
867 * tui/tui-winsource.c: Likewise.
868 * ui-out.c: Likewise.
869 * user-regs.c: Likewise.
870 * utils.c: Likewise.
871 * v850-tdep.c: Likewise.
872 * valops.c: Likewise.
873 * value.c: Likewise.
874 * varobj.c: Likewise.
875 * vax-nat.c: Likewise.
876 * xml-syscall.c: Likewise.
877 * xml-tdesc.c: Likewise.
878 * xstormy16-tdep.c: Likewise.
879 * xtensa-linux-nat.c: Likewise.
880 * xtensa-tdep.c: Likewise.
881
882 2014-08-07 Gary Benson <gbenson@redhat.com>
883
884 * common/common-defs.h: Include common-utils.h.
885 * defs.h: Do not include common-utils.h.
886 * common/gdb_assert.h: Likewise.
887 * darwin-nat.h: Likewise.
888 * nat/linux-btrace.c: Likewise.
889 * target/waitstatus.h: Likewise.
890
891 2014-08-07 Gary Benson <gbenson@redhat.com>
892
893 * common/common-defs.h: Include ptid.h.
894 * defs.h: Do not include ptid.h.
895 * inferior.h: Likewise.
896 * infrun.h: Likewise.
897 * nat/linux-btrace.h: Likewise.
898 * nat/linux-osdata.h: Likewise.
899 * target/waitstatus.h: Likewise.
900
901 2014-08-07 Gary Benson <gbenson@redhat.com>
902
903 * common/common-defs.h: Include gdb_locale.h.
904 * defs.h: Do not include gdb_locale.h.
905
906 2014-08-07 Gary Benson <gbenson@redhat.com>
907
908 * common/common-defs.h: Include gdb/signals.h.
909 * defs.h: Do not include gdb/signals.h.
910
911 2014-08-07 Gary Benson <gbenson@redhat.com>
912
913 * common/common-defs.h: Include pathmax.h.
914 * defs.h: Do not include pathmax.h.
915
916 2014-08-07 Gary Benson <gbenson@redhat.com>
917
918 * common/common-defs.h: Include libiberty.h.
919 * defs.h: Do not include libiberty.h.
920 * common/queue.h: Likewise.
921 * cp-name-parser.y: Likewise.
922 * mi/mi-cmd-catch.c: Likewise.
923 * python/python.c: Likewise.
924
925 2014-08-07 Gary Benson <gbenson@redhat.com>
926
927 * common/common-defs.h: Include ansidecl.h.
928 * defs.h: Do not include ansidecl.h.
929 * common/buffer.h: Likewise.
930 * common/common-utils.h: Likewise.
931
932 2014-08-07 Gary Benson <gbenson@redhat.com>
933
934 * common/common-defs.h: Include stddef.h.
935 * defs.h: Do not include stddef.h.
936 * common/common-utils.h: Likewise.
937 * amd64fbsd-nat.c: Likewise.
938 * bcache.c: Likewise.
939 * charset.c: Likewise.
940 * common/buffer.h: Likewise.
941 * common/vec.h: Likewise.
942 * i386bsd-nat.c: Likewise.
943 * nat/linux-btrace.h: Likewise.
944 * ppcfbsd-nat.c: Likewise.
945 * ppcnbsd-tdep.h: Likewise.
946 * ppcobsd-nat.c: Likewise.
947 * ppcobsd-tdep.h: Likewise.
948 * python/py-gdb-readline.c: Likewise.
949
950 2014-08-07 Gary Benson <gbenson@redhat.com>
951
952 * common/common-defs.h: Include stdarg.h.
953 * defs.h: Do not include stdarg.h.
954 * ada-lang.c: Likewise.
955 * common/common-utils.h: Likewise.
956 * guile/scm-string.c: Likewise.
957 * guile/scm-utils.c: Likewise.
958 * m32c-tdep.c: Likewise.
959
960 2014-08-07 Gary Benson <gbenson@redhat.com>
961
962 * common/common-defs.h: Include stdlib.h.
963 * defs.h: Do not include stdlib.h.
964 * addrmap.c: Likewise.
965 * bcache.c: Likewise.
966 * common/buffer.c: Likewise.
967 * common/common-utils.c: Likewise.
968 * cp-name-parser.y: Likewise.
969 * go32-nat.c: Likewise.
970 * mn10300-linux-tdep.c: Likewise.
971 * nat/linux-osdata.c: Likewise.
972 * tui/tui.c: Likewise.
973 * windows-nat.c: Likewise.
974
975 2014-08-07 Gary Benson <gbenson@redhat.com>
976
977 * common/common-defs.h: Include stdio.h.
978 * defs.h: Do not include stdio.h.
979 * ada-lang.c: Likewise.
980 * common/buffer.c: Likewise.
981 * common/common-utils.c: Likewise.
982 * cp-name-parser.y: Likewise.
983 * gnu-nat.c: Likewise.
984 * go32-nat.c: Likewise.
985 * i386gnu-nat.c: Likewise.
986 * proc-api.c: Likewise.
987 * proc-events.c: Likewise.
988 * proc-flags.c: Likewise.
989 * proc-why.c: Likewise.
990 * python/python-internal.h: Likewise.
991 * target-memory.c: Likewise.
992 * tui/tui-io.c: Likewise.
993 * tui/tui.c: Likewise.
994
995 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
996
997 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
998 (scan_dyntag_auxv): Same.
999
1000 2014-08-06 Yao Qi <yao@codesourcery.com>
1001
1002 * amd64-linux-nat.c: Remove duplicated include
1003 "x86-linux-nat.h".
1004 * i386-linux-nat.c: Likewise.
1005
1006 2014-08-06 Yao Qi <yao@codesourcery.com>
1007
1008 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1009 operand" with "Special opcode" in comments.
1010
1011 2014-08-05 Gary Benson <gbenson@redhat.com>
1012
1013 * interps.c (initialize_interps): Remove prototype.
1014 (interpreter_initialized): Remove static global.
1015 (interp_add): Do not call initialize_interps.
1016 (initialize_interps): Remove function.
1017
1018 2014-08-05 Gary Benson <gbenson@redhat.com>
1019
1020 * utils.c (vwarning): Remove spurious va_end.
1021
1022 2014-08-05 Alan Modra <amodra@gmail.com>
1023
1024 * charset.c (convert_between_encodings): Cast result of obstack_base.
1025 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1026 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1027 (read_unwind_info): Use size_t for some locals.
1028 * jit.c (finalize_symtab): Likewise.
1029 * utils.c (hashtab_obstack_allocate): Likewise.
1030 * symmisc.c (print_objfile_statistics): Update format strings.
1031
1032 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1035 (Changes in GDB 7.8): ... here.
1036
1037 2014-08-04 Tom Tromey <tromey@redhat.com>
1038
1039 * target.c (set_targetdebug): New function.
1040 (initialize_targets): Pass set_targetdebug when creating "set
1041 debug target".
1042
1043 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1044
1045 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1046 if detecting a variable-sized field that is not the last field.
1047 Fix struct type length computation.
1048
1049 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1050
1051 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1052 Add debug trace.
1053
1054 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1055
1056 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1057 Remove "+ 8" offset in computation of CHAIN_VMA.
1058
1059 2014-07-31 Doug Evans <dje@google.com>
1060
1061 * inflow.c (child_terminal_inferior): Add comment.
1062 (child_terminal_ours_for_output): Add comment.
1063 (child_terminal_ours): Add comment.
1064 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1065 (linux_nat_terminal_ours): Add comment.
1066
1067 2014-07-31 Gary Benson <gbenson@redhat.com>
1068
1069 * common/btrace-common.h: Do not include defs.h or server.h.
1070 * nat/mips-linux-watch.h: Likewise.
1071 * gdb-dlfcn.h: Do not include defs.h.
1072 * tracefile.h: Likewise.
1073
1074 2014-07-30 Roland McGrath <mcgrathr@google.com>
1075
1076 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1077
1078 2014-07-30 Tom Tromey <tromey@redhat.com>
1079
1080 * bsd-kvm.c (bsd_kvm_open): Constify.
1081 * corelow.c (core_open): Constify.
1082 * ctf.c (ctf_open): Constify.
1083 * dbug-rom.c (dbug_open): Constify.
1084 * exec.c (exec_open): Constify.
1085 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1086 * microblaze-rom.c (picobug_open): Constify.
1087 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1088 Constify.
1089 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1090 * record-btrace.c (record_btrace_open): Constify.
1091 * record-full.c (record_full_core_open_1, record_full_open_1)
1092 (record_full_open): Constify.
1093 * remote-m32r-sdi.c (m32r_open): Constify.
1094 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1095 (rockhopper_open, lsi_open): Constify.
1096 * remote-sim.c (gdbsim_open): Constify.
1097 * remote.c (remote_open, extended_remote_open, remote_open_1):
1098 Constify.
1099 * target.h (struct target_ops) <to_open>: Make "arg" const.
1100 * tracefile-tfile.c (tfile_open): Constify.
1101
1102 2014-07-30 Tom Tromey <tromey@redhat.com>
1103
1104 * breakpoint.c (map_breakpoint_numbers): Update.
1105 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1106 (get_number_const): New function.
1107 (get_number): Rewrite using get_number_const.
1108 (init_number_or_range): Make "string" const.
1109 (number_is_in_list): Make "list" const.
1110 * cli/cli-utils.h (get_number_const): Declare.
1111 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1112 (init_number_or_range, number_is_in_list): Update.
1113 * printcmd.c (map_display_numbers): Update.
1114 * value.c (value_from_history_ref): Constify.
1115 * value.h (value_from_history_ref): Update.
1116
1117 2014-07-30 Tom Tromey <tromey@redhat.com>
1118
1119 * corefile.c (hook_type, call_extra_exec_file_hooks)
1120 (specify_exec_file_hook): Constify.
1121 * exec.c (exec_file_attach): Make "filename" const.
1122 * gdbcore.h (deprecated_exec_file_display_hook)
1123 (specify_exec_file_hook, exec_file_attach): Constify.
1124 * main.c (captured_main): Use catch_command_errors_const.
1125
1126 2014-07-30 Tom Tromey <tromey@redhat.com>
1127
1128 * target.c (open_target): New function.
1129 (add_target_with_completer, add_deprecated_target_alias): Use
1130 set_cmd_sfunc, set_cmd_context.
1131 (debug_to_open): Remove.
1132 (setup_target_debug): Update.
1133
1134 2014-07-30 Yao Qi <yao@codesourcery.com>
1135
1136 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1137 comments.
1138 * parse.c (exp_iterate): Update comments.
1139
1140 2014-07-30 Gary Benson <gbenson@redhat.com>
1141
1142 * common/common-defs.h: New file.
1143 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1144 * defs.h: Include common-defs.h.
1145 Do not include config.h or build-gnulib/config.h.
1146
1147 2014-07-30 Gary Benson <gbenson@redhat.com>
1148
1149 * common/common-utils.h: Do not include config.h.
1150 * nat/linux-btrace.h: Likewise.
1151
1152 2014-07-30 Gary Benson <gbenson@redhat.com>
1153
1154 * btrace.c: Include defs.h.
1155 * common/ptid.c: Include defs.h or server.h as appropriate.
1156 * nat/mips-linux-watch.c: Likewise.
1157
1158 2014-07-29 Tom Tromey <tromey@redhat.com>
1159
1160 * target.c (target_is_pushed): Simplify.
1161
1162 2014-07-29 Joel Brobecker <brobecker@adacore.com>
1163
1164 GDB 7.8 released.
1165
1166 2014-07-29 Yao Qi <yao@codesourcery.com>
1167
1168 PR gdb/17206
1169 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1170
1171 2014-07-28 Doug Evans <xdje42@gmail.com>
1172
1173 PR guile/17203
1174 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1175 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1176 parameters.
1177
1178 2014-07-28 Will Newton <will.newton@linaro.org>
1179
1180 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1181 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1182 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1183 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1184 (THUMB2_EABI_SYSCALL): Likewise.
1185 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1186 struct tramp_frame.
1187 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1188 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1189
1190 2014-07-27 Doug Evans <xdje42@gmail.com>
1191
1192 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1193
1194 2014-07-27 Doug Evans <xdje42@gmail.com>
1195
1196 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1197
1198 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1199 Doug Evans <xdje42@gmail.com>
1200
1201 PR guile/17146
1202 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1203 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1204 * configure.ac: Try to use guild to compile an scm file, if it fails
1205 then disable guile support.
1206 * configure: Regenerate.
1207 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1208 GUILE_FILE_LIST.
1209 (GUILE_COMPILED_FILES): New variable.
1210 (GUILE_FILES) Update.
1211 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1212 (stamp-guile): Compile scm files.
1213 * guile/guile.c (boot_guile_support): New function.
1214 (standard_throw_args_p): New function.
1215 (print_standard_throw_error, print_throw_error): New functions.
1216 (handle_boot_error): New function.
1217 (initialize_scheme_side): Rewrite to call boot_guile_support.
1218 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1219 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1220
1221 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1222 Doug Evans <xdje42@gmail.com>
1223
1224 PR guile/17146
1225 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1226 * guile/lib/gdb/support.scm: New file.
1227 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1228 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1229 All uses updated.
1230 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1231 All uses updated.
1232 (%assert-type): Ditto, and renamed to assert-type.
1233 (%exception-print-style): Delete.
1234
1235 2014-07-26 Doug Evans <xdje42@gmail.com>
1236
1237 PR build/17105
1238 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1239 * configure: Regenerate.
1240 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1241 PYTHON_FILES.
1242 (PYTHON_FILES): New variable.
1243 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1244 (GUILE_FILES): New variable.
1245 (stamp-python, install-python, uninstall-python): Handle empty
1246 file list.
1247 (stamp-guile, install-guile, uninstall-guile): Ditto.
1248
1249 2014-07-26 Doug Evans <xdje42@gmail.com>
1250
1251 PR guile/17177
1252 * guile/lib/gdb.scm (pretty-printers): Export.
1253 (set-pretty-printers!): Export.
1254 * guile/lib/gdb/printing.scm (gdb module): Update.
1255 (prepend-pretty-printer!, append-pretty-printer!): Update.
1256 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1257 (pretty_printer_list_var): Delete.
1258 (pretty_printer_list): New static global.
1259 (gdbscm_pretty_printers): New function.
1260 (gdbscm_set_pretty_printers_x): New function.
1261 (ppscm_find_pretty_printer_from_gdb): Update.
1262 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1263 (gdbscm_initialize_pretty_printers): Update.
1264
1265 2014-07-26 Doug Evans <xdje42@gmail.com>
1266
1267 PR 17185
1268 * configure.ac: Add check for header gc/gc.h.
1269 Add check for function setenv.
1270 * configure: Regenerate.
1271 * config.in: Regenerate.
1272 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1273
1274 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1275
1276 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1277 variation in gdbarch matching.
1278
1279 2014-07-25 Tom Tromey <tromey@redhat.com>
1280
1281 * exec.c (using_exec_ops): Remove.
1282 (exec_close_1): Update. Remove extraneous block, reindent.
1283 (add_target_sections): Use target_is_pushed.
1284
1285 2014-07-25 Pedro Alves <palves@redhat.com>
1286
1287 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1288 * monitor.c (monitor_create_inferior): Likewise.
1289 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1290 * remote-sim.c (gdbsim_create_inferior): Likewise.
1291 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1292 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1293 * windows-nat.c (do_initial_windows_stuff): Likewise.
1294
1295 2014-07-25 Pedro Alves <palves@redhat.com>
1296
1297 * NEWS: Mention signal passing and "signal" command changes.
1298 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1299 comment.
1300 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1301 call.
1302 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1303 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1304 (jump_command): Adjust clear_proceed_status call.
1305 (signal_command): Warn if other thread that are resumed have
1306 signals that will be delivered. Adjust clear_proceed_status call.
1307 (until_next_command, finish_command)
1308 (proceed_after_attach_callback, attach_command_post_wait)
1309 (attach_command): Adjust clear_proceed_status call.
1310 * infrun.c (proceed_after_vfork_done): Likewise.
1311 (proceed_after_attach_callback): Adjust comment.
1312 (clear_proceed_status_thread): Clear stop_signal if not in pass
1313 state.
1314 (clear_proceed_status_callback): Delete.
1315 (clear_proceed_status): New 'step' parameter. Only clear the
1316 proceed status of threads the command being prepared is about to
1317 resume.
1318 (proceed): If passed in an explicit signal, override stop_signal
1319 with it. Don't pass the last stop signal to the thread we're
1320 resuming.
1321 (init_wait_for_inferior): Adjust clear_proceed_status call.
1322 (switch_back_to_stepped_thread): Clear the signal if it should not
1323 be passed.
1324 * infrun.h (clear_proceed_status): New 'step' parameter.
1325 (user_visible_resume_ptid): Add comment.
1326 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1327 signal is in pass state.
1328 * remote.c (append_pending_thread_resumptions): Likewise.
1329 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1330
1331 2014-07-25 Tom Tromey <tromey@redhat.com>
1332
1333 * target.h (target_stopped_data_address)
1334 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1335 parentheses.
1336
1337 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1338
1339 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1340 comments.
1341 (avr_pointer_to_address): Likewise.
1342
1343 2014-07-24 Tom Tromey <tromey@redhat.com>
1344
1345 * monitor.c (compile_pattern): Update.
1346 * target.h (struct target_ops) <to_shortname, to_longname,
1347 to_doc>: Now const.
1348
1349 2014-07-24 Tom Tromey <tromey@redhat.com>
1350
1351 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1352 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1353 (add_info_alias, add_com): Make "doc" const.
1354 (print_doc_line): Make "str" const.
1355 (delete_cmd): Update.
1356 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1357 (print_doc_line): Update.
1358 * cli/cli-script.c (document_command): Update.
1359 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1360 (add_com, add_info, add_info_alias): Update.
1361 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1362 * python/py-cmd.c (cmdpy_destroyer): Update.
1363
1364 2014-07-24 Tom Tromey <tromey@redhat.com>
1365
1366 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1367 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1368 (help_cmd_list): Constify.
1369 (lookup_cmd): Update.
1370 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1371 const.
1372 (help_cmd_list, apropos_cmd): Update.
1373 * cli/cli-script.c (show_user): Update.
1374 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1375 * cli/cli-setshow.h (cmd_show_list): Update.
1376 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1377 (cmd_show_list): Update.
1378 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1379 * python/py-cmd.c (cmdpy_destroyer): Update.
1380
1381 2014-07-24 Tom Tromey <tromey@redhat.com>
1382
1383 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1384 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1385 const.
1386 * command.h (deprecate_cmd): Update.
1387 * maint.c (maintenance_do_deprecate): Add casts.
1388
1389 2014-07-24 Tom Tromey <tromey@redhat.com>
1390
1391 * cli/cli-decode.c (help_cmd): Make parameter "const".
1392 * cli/cli-decode.h (help_cmd): Update.
1393
1394 2014-07-24 Tom Tromey <tromey@redhat.com>
1395
1396 * stack.c (up_silently_base, down_silently_base): Make argument
1397 const.
1398
1399 2014-07-24 Tom Tromey <tromey@redhat.com>
1400
1401 * solib.c (solib_add): Make "pattern" const.
1402 * solib.h (solib_add): Update.
1403
1404 2014-07-24 Tom Tromey <tromey@redhat.com>
1405
1406 * remote.c (remote_serial_open, print_packet, putpkt)
1407 (putpkt_binary): Constify.
1408 * remote.h (putpkt): Update.
1409
1410 2014-07-24 Tom Tromey <tromey@redhat.com>
1411
1412 * monitor.c (monitor_open): Make "args" const.
1413 * monitor.h (monitor_open): Update.
1414
1415 2014-07-24 Tom Tromey <tromey@redhat.com>
1416
1417 * maint.c (match_bfd_flags): Make "string" const.
1418 (print_bfd_section_info): Remove casts.
1419 (print_objfile_section_info): Make "string" const.
1420
1421 2014-07-24 Tom Tromey <tromey@redhat.com>
1422
1423 * inf-child.c (inf_child_open_target): Make "arg" const.
1424 * inf-child.h (inf_child_open_target): Update.
1425
1426 2014-07-24 Tom Tromey <tromey@redhat.com>
1427
1428 * environ.c (unset_in_environ): Make "var" const.
1429 * environ.h (unset_in_environ): Update.
1430
1431 2014-07-24 Tom Tromey <tromey@redhat.com>
1432
1433 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1434 Make "cmd" const.
1435 (scan_filename_with_cleanup): Likewise.
1436 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1437 Make arguments const.
1438 (restore_command): Update.
1439
1440 2014-07-24 Pedro Alves <palves@redhat.com>
1441
1442 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1443
1444 2014-07-24 Tom Tromey <tromey@redhat.com>
1445 Gary Benson <gbenson@redhat.com>
1446
1447 * nat/linux-ptrace.c (additional_flags): New global.
1448 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1449 additional_flags; don't check GDBSERVER.
1450 (linux_ptrace_set_additional_flags): New function.
1451 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1452 Declare.
1453 * linux-nat.c (_initialize_linux_nat): Call
1454 linux_ptrace_set_additional_flags.
1455
1456 2014-07-24 Tom Tromey <tromey@redhat.com>
1457
1458 * make-target-delegates (munge_type, write_debugmethod): New
1459 functions.
1460 (debug_names): New global.
1461 ($TARGET_DEBUG_PRINTER): New global.
1462 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1463 name.
1464 Write debug methods. Generate init_debug_target.
1465 * target-debug.h: New file.
1466 * target-delegates.c: Rebuild.
1467 * target.c: Include target-debug.h.
1468 (debug_target): Hoist definition.
1469 (target_kill, target_get_section_table, target_memory_map)
1470 (target_flash_erase, target_flash_done, target_detach)
1471 (target_disconnect, target_wait, target_resume)
1472 (target_pass_signals, target_program_signals, target_follow_fork)
1473 (target_mourn_inferior, target_search_memory)
1474 (target_thread_address_space, target_close)
1475 (target_find_new_threads, target_core_of_thread)
1476 (target_verify_memory, target_insert_mask_watchpoint)
1477 (target_remove_mask_watchpoint): Remove targetdebug code.
1478 (debug_to_post_attach, debug_to_prepare_to_store)
1479 (debug_to_files_info, debug_to_insert_breakpoint)
1480 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1481 (debug_to_region_ok_for_hw_watchpoint)
1482 (debug_to_can_accel_watchpoint_condition)
1483 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1484 (debug_to_watchpoint_addr_within_range)
1485 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1486 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1487 (debug_to_terminal_init, debug_to_terminal_inferior)
1488 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1489 (debug_to_terminal_save_ours, debug_to_terminal_info)
1490 (debug_to_load, debug_to_post_startup_inferior)
1491 (debug_to_insert_fork_catchpoint)
1492 (debug_to_remove_fork_catchpoint)
1493 (debug_to_insert_vfork_catchpoint)
1494 (debug_to_remove_vfork_catchpoint)
1495 (debug_to_insert_exec_catchpoint)
1496 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1497 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1498 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1499 (setup_target_debug): Call init_debug_target.
1500 * target.h (TARGET_DEBUG_PRINTER): New macro.
1501 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1502 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1503
1504 2014-07-24 Gary Benson <gbenson@redhat.com>
1505
1506 * exceptions.h (throw_vfatal): Renamed to...
1507 (throw_vquit): New declaration.
1508 (throw_quit): Likewise.
1509 * exceptions.c (throw_vfatal): Renamed to...
1510 (throw_vquit): New function.
1511 (throw_quit): Likewise.
1512 (throw_error): Call throw_verror rather than throw_it.
1513 * utils.h (vfatal): Removed.
1514 (fatal): Likewise.
1515 * utils.c (vfatal): Removed.
1516 (fatal): Likewise.
1517 (internal_verror): Replaced call to fatal with call to throw_quit.
1518 (quit): Replaced calls to fatal with calls to throw_quit.
1519
1520 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1521
1522 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1523 target_read_code.
1524
1525 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1526
1527 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1528 less than zero in conditional expression.
1529
1530 2014-07-23 Tom Tromey <tromey@redhat.com>
1531
1532 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1533 ($INTRO_PART): Don't match whitespace.
1534 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1535 argument matching.
1536 ($METHOD): Add $METHOD_TRAILER.
1537 (trim): Rewrite.
1538 (scan_target_h): New sub.
1539 Change main loop not to collect state.
1540 * target-delegates.c: Rebuild.
1541
1542 2014-07-23 Gary Benson <gbenson@redhat.com>
1543
1544 * cp-support.c (gdb_demangle): Fix build on systems without
1545 sigaltstack.
1546
1547 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1550 for reference entry value target data value.
1551
1552 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1553
1554 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1555 value_available_contents_eq.
1556
1557 2014-07-22 Pedro Alves <palves@redhat.com>
1558
1559 * value.c (allocate_optimized_out_value): Don't mark value as
1560 non-lazy.
1561
1562 2014-07-22 Jiong Wang <jiong.wang@arm.com>
1563
1564 * MAINTAINERS (Write After Approval): Update my email address.
1565
1566 2014-07-20 Doug Evans <dje@google.com>
1567
1568 PR server/17147
1569 * remote.c (putpkt_binary): Add text to error message.
1570
1571 2014-07-20 Yao Qi <yao@codesourcery.com>
1572
1573 * eval.c: Remove "Chill" from comments.
1574 * gdbtypes.h: Likewise.
1575 * symtab.h: Likewise.
1576
1577 2014-07-20 Yao Qi <yao@codesourcery.com>
1578
1579 * std-operator.def: Update comments to TERNOP_SLICE.
1580
1581 2014-07-20 Yao Qi <yao@codesourcery.com>
1582
1583 * std-operator.def: Remove BINOP_RANGE.
1584 * breakpoint.c (watchpoint_exp_is_const): Update.
1585 * expprint.c (dump_subexp_body_standard): Likewise.
1586 * eval.c (init_array_element): Remove dead code.
1587 (evaluate_subexp_standard): Likewise.
1588
1589 2014-07-20 Yao Qi <yao@codesourcery.com>
1590
1591 * std-operator.def: Remove BINOP_IN.
1592 * breakpoint.c (watchpoint_exp_is_const): Update.
1593 * eval.c (evaluate_subexp_standard): Likewise.
1594 * expprint.c (dump_subexp_body_standard): Likewise.
1595
1596 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1597
1598 * microblaze-tdep.c (microblaze_register_names): Add
1599 the rshr and rslr register names.
1600 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1601 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1602 Use of tdesc_numbered_register. Use of
1603 microblaze_register_g_packet_guesses. Use of
1604 tdesc_use_registers. Use of set_gdbarch_register_type.
1605 (microblaze_register_g_packet_guesses): New.
1606 * microblaze-tdep.h (microblaze_reg_num): Add
1607 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1608 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1609 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1610 * features/microblaze-core.xml: New file.
1611 * features/microblaze-stack-protect.xml: New file.
1612 * features/microblaze-with-stack-protect.c: New file.
1613 * features/microblaze-with-stack-protect.xml: New file.
1614 * features/microblaze.xml: New file.
1615 * features/microblaze.c: New file.
1616 * features/Makefile (microblaze-with-stack-protect): Add
1617 microblaze-with-stack-protect microblaze and microblaze-expedite.
1618 * regformats/microblaze-with-stack-protect.dat: New file.
1619 * regformats/microblaze.dat: New file.
1620 * doc/gdb.texinfo (MicroBlaze Features): Added.
1621
1622 2014-07-18 Tom Tromey <tromey@redhat.com>
1623
1624 * exec.c (exec_ops): Now static.
1625 * exec.h (exec_ops): Don't declare.
1626
1627 2014-07-18 Tom Tromey <tromey@redhat.com>
1628
1629 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1630 to find_target_beneath.
1631 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1632 find_target_beneath.
1633 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1634
1635 2014-07-18 Tom Tromey <tromey@redhat.com>
1636
1637 PR gdb/17130:
1638 * utils.c (quit): Use target_supports_terminal_ours.
1639 * target.h (target_supports_terminal_ours): Declare.
1640 * target.c (target_supports_delete_record): Don't check
1641 to_delete_record against NULL.
1642 (target_supports_terminal_ours): New function.
1643
1644 2014-07-18 Tom Tromey <tromey@redhat.com>
1645
1646 PR gdb/17130:
1647 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1648 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1649 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1650 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1651 * windows-nat.c (windows_xfer_partial): Always delegate.
1652 * record-btrace.c (record_btrace_xfer_partial): Simplify
1653 delegation.
1654 (record_btrace_fetch_registers, record_btrace_store_registers)
1655 (record_btrace_prepare_to_store, record_btrace_resume)
1656 (record_btrace_wait, record_btrace_find_new_threads)
1657 (record_btrace_thread_alive): Likewise.
1658 * procfs.c (procfs_xfer_partial): Always delegate.
1659 * corelow.c (core_xfer_partial): Always delegate.
1660 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1661
1662 2014-07-18 Tom Tromey <tromey@redhat.com>
1663
1664 * exec.c (exec_make_note_section): Move earlier.
1665
1666 2014-07-17 Doug Evans <dje@google.com>
1667
1668 PR gdb/17170
1669 * maint.c (count_symtabs_and_blocks): Handle NULL
1670 current_program_space.
1671 (report_command_stats): Check global enabled flag in addition to
1672 recorded enabled flag.
1673 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1674
1675 2014-07-16 Pedro Alves <palves@redhat.com>
1676
1677 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1678
1679 2014-07-16 Tom Tromey <tromey@redhat.com>
1680
1681 * target.h (struct target_ops) <to_delete_record>: Reformat
1682 comment.
1683
1684 2014-07-16 Tom Tromey <tromey@redhat.com>
1685
1686 * target-delegates.c: Rebuild.
1687
1688 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1689
1690 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1691 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1692 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1693 (avr_pointer_to_address): Likewise.
1694 (avr_address_class_type_flags): New function.
1695 (avr_address_class_type_flags_to_name): Likewise.
1696 (avr_address_class_name_to_type_flags): Likewise.
1697 (avr_gdbarch_init): Set address_class_type_flags,
1698 address_class_type_flags_to_name and
1699 address_class_name_to_type_flags.
1700
1701 2014-07-15 Pedro Alves <palves@redhat.com>
1702
1703 * linux-nat.c (kill_callback): Save errno and work with saved
1704 copy.
1705
1706 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1709
1710 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1711
1712 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1713 breakpoint support correctly.
1714
1715 2014-07-14 Pedro Alves <palves@redhat.com>
1716
1717 * utils.c (prompt_for_continue): Call target_terminal_ours.
1718
1719 2014-07-14 Pedro Alves <palves@redhat.com>
1720
1721 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1722 catch_errors. Don't re-enable stdin or notify observers where,
1723 and rethrow error.
1724 (fetch_inferior_event_wrapper): Delete.
1725
1726 2014-07-14 Pedro Alves <palves@redhat.com>
1727
1728 PR gdb/17072
1729 * top.c: Include "inf-loop.h".
1730 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1731 field.
1732 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1733 was async before.
1734 (gdb_readline_wrapper): Store whether the target is async, and
1735 make it sync.
1736
1737 2014-07-14 Pedro Alves <palves@redhat.com>
1738
1739 PR gdb/17072
1740 * top.c (gdb_readline_wrapper_line): Tweak comment.
1741 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1742 the input handler callback.
1743
1744 2014-07-14 Pedro Alves <palves@redhat.com>
1745
1746 PR gdb/17072
1747 * main.c: Include event-top.h.
1748 (handle_command_errors): New function.
1749 (catch_command_errors, catch_command_errors_const): Use it.
1750
1751 2014-07-14 Pedro Alves <palves@redhat.com>
1752
1753 * exceptions.c (catch_command_errors, catch_command_errors_const):
1754 Moved to main.c.
1755 * exceptions.h (catch_command_errors_ftype)
1756 (catch_command_errors_const_ftype): Moved to main.c.
1757 (catch_command_errors, catch_command_errors_const): Delete
1758 declarations.
1759 * main.c (catch_command_errors_ftype)
1760 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1761 (catch_command_errors, catch_command_errors_const)): Moved here
1762 from exceptions.c and make static.
1763
1764 2014-07-14 Pedro Alves <palves@redhat.com>
1765
1766 * exceptions.c (print_any_exception): Delete.
1767 (catch_exceptions_with_msg): Use exception_print instead of
1768 print_any_exception.
1769 (catch_errors): Use exception_fprintf instead of
1770 print_any_exception.
1771 (catch_command_errors, catch_command_errors_const): Use
1772 exception_print instead of print_any_exception.
1773
1774 2014-07-14 Pedro Alves <palves@redhat.com>
1775
1776 * infcall.c (run_inferior_call): Set 'sync_execution' while
1777 running the inferior call.
1778
1779 2014-07-14 Pedro Alves <palves@redhat.com>
1780
1781 * value.c (value_contents_equal): Delete function.
1782 * value.h (value_contents_equal): Delete declaration.
1783
1784 2014-07-14 Tom Tromey <tromey@redhat.com>
1785
1786 PR exp/17106:
1787 * gdbtypes.c (is_dynamic_type_internal): New function, from
1788 is_dynamic_type.
1789 (is_dynamic_type): Rewrite.
1790 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1791 (resolve_dynamic_struct): Likewise.
1792 (resolve_dynamic_type_internal): New function, from
1793 resolve_dynamic_type.
1794 (resolve_dynamic_type): Rewrite.
1795
1796 2014-07-14 Tom Tromey <tromey@redhat.com>
1797
1798 * target.c (target_require_runnable): Also check record_stratum.
1799 Update comment.
1800
1801 2014-07-11 Yao Qi <yao@codesourcery.com>
1802
1803 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1804 thumb_instruction_restores_sp return true.
1805
1806 2014-07-11 Yao Qi <yao@codesourcery.com>
1807
1808 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1809 (thumb_in_function_epilogue_p): Call
1810 thumb_instruction_restores_sp.
1811
1812 2014-07-11 Yao Qi <yao@codesourcery.com>
1813
1814 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1815 'add sp, #imm'.
1816 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1817
1818 2014-07-11 Gary Benson <gbenson@redhat.com>
1819
1820 * amd64-linux-nat.c (gdbcore.h): Remove include.
1821 (regset.h): Likewise.
1822 (nat/linux-btrace.h): Likewise.
1823 (btrace.h): Likewise.
1824 (gdb_assert.h): Likewise.
1825 (string.h): Likewise.
1826 (sys/uio.h): Likewise.
1827 (sys/debugreg.h): Likewise.
1828 (sys/syscall.h): Likewise.
1829 (sys/procfs.h): Likewise.
1830 (sys/user.h): Likewise.
1831 (asm/ptrace.h): Likewise.
1832 (i386-nat.h): Likewise.
1833 * i386-linux-nat.c (i386-nat.h): Likewise.
1834 (regset.h): Likewise.
1835 (target.h): Likewise.
1836 (linux-nat.h): Likewise.
1837 (nat/linux-btrace.h): Likewise.
1838 (btrace.h): Likewise.
1839 (gdb_assert.h): Likewise.
1840 (string.h): Likewise.
1841 (sys/uio.h): Likewise.
1842 (sys/user.h): Likewise.
1843 (sys/procfs.h): Likewise.
1844 (sys/reg.h): Likewise.
1845 (sys/debugreg.h): Likewise.
1846 (ORIG_EAX): Remove definition.
1847
1848 2014-07-11 Gary Benson <gbenson@redhat.com>
1849
1850 * i386-linux-nat.h: New file.
1851 * x86-linux-nat.h: Likewise.
1852 * x86-linux-nat.c: Likewise.
1853 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1854 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1855 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1856 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1857 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1858 (PTRACE_SETREGSET): Likewise.
1859 (arch_lwp_info): Now in x86-linux-nat.c.
1860 (have_ptrace_getregset): Now in x86-linux-nat.h.
1861 (x86_linux_dr_get): Now in x86-linux-nat.c.
1862 (x86_linux_dr_set): Likewise.
1863 (x86_linux_dr_get_addr): Likewise.
1864 (x86_linux_dr_get_control): Likewise.
1865 (x86_linux_dr_get_status): Likewise.
1866 (update_debug_registers_callback): Likewise.
1867 (x86_linux_dr_set_control): Likewise.
1868 (x86_linux_dr_set_addr): Likewise.
1869 (x86_linux_prepare_to_resume): Likewise.
1870 (x86_linux_new_thread): Likewise.
1871 (x86_linux_new_fork): Likewise.
1872 (x86_linux_get_thread_area): Likewise.
1873 (super_post_startup_inferior): Likewise.
1874 (x86_linux_child_post_startup_inferior): Likewise.
1875 (AMD64_LINUX_USER64_CS): Likewise.
1876 (AMD64_LINUX_X32_DS): Likewise.
1877 (x86_linux_read_description): Likewise.
1878 (x86_linux_enable_btrace): Likewise.
1879 (x86_linux_disable_btrace): Likewise.
1880 (x86_linux_teardown_btrace): Likewise.
1881 (x86_linux_read_btrace): Likewise.
1882 (x86_linux_create_target): Likewise.
1883 (x86_linux_add_target): Likewise.
1884 * i386-linux-nat.c (x86-linux-nat.h): New include.
1885 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1886 (PTRACE_SETREGSET): Likewise.
1887 (arch_lwp_info): Now in x86-linux-nat.c.
1888 (have_ptrace_getregset): Now in x86-linux-nat.h.
1889 (x86_linux_dr_get): Now in x86-linux-nat.c.
1890 (x86_linux_dr_set): Likewise.
1891 (x86_linux_dr_get_addr): Likewise.
1892 (x86_linux_dr_get_control): Likewise.
1893 (x86_linux_dr_get_status): Likewise.
1894 (update_debug_registers_callback): Likewise.
1895 (x86_linux_dr_set_control): Likewise.
1896 (x86_linux_dr_set_addr): Likewise.
1897 (x86_linux_prepare_to_resume): Likewise.
1898 (x86_linux_new_thread): Likewise.
1899 (x86_linux_new_fork): Likewise.
1900 (x86_linux_get_thread_area): Likewise.
1901 (super_post_startup_inferior): Likewise.
1902 (x86_linux_child_post_startup_inferior): Likewise.
1903 (AMD64_LINUX_USER64_CS): Likewise.
1904 (AMD64_LINUX_X32_DS): Likewise.
1905 (x86_linux_read_description): Likewise.
1906 (x86_linux_enable_btrace): Likewise.
1907 (x86_linux_disable_btrace): Likewise.
1908 (x86_linux_teardown_btrace): Likewise.
1909 (x86_linux_read_btrace): Likewise.
1910 (x86_linux_create_target): Likewise.
1911 (x86_linux_add_target): Likewise.
1912
1913 2014-07-11 Gary Benson <gbenson@redhat.com>
1914
1915 * amd64-linux-nat.c: Comment and whitespace changes.
1916 * i386-linux-nat.c: Comment and whitespace changes.
1917
1918 2014-07-11 Gary Benson <gbenson@redhat.com>
1919
1920 * amd64-linux-nat.c (x86_linux_create_target): New function.
1921 (x86_linux_add_target): Likewise.
1922 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1923 * i386-linux-nat.c (x86_linux_create_target): New function.
1924 (x86_linux_add_target): Likewise.
1925 (_initialize_i386_linux_nat): Delegate to the above new functions.
1926
1927 2014-07-11 Gary Benson <gbenson@redhat.com>
1928
1929 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1930 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1931 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1932 (ps_get_thread_area): Delegate to the above.
1933
1934 2014-07-11 Gary Benson <gbenson@redhat.com>
1935
1936 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1937 x86_linux_read_description. All uses updated. amd64-specific
1938 code conditionalized. Conditionalized i386-specific code added.
1939 Redundant cast removed.
1940 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1941 x86_linux_read_description. All uses updated. i386-specific
1942 code conditionalized. Conditionalized amd64-specific code added.
1943 One sizeof replaced with the actual type it is describing.
1944
1945 2014-07-11 Gary Benson <gbenson@redhat.com>
1946
1947 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1948 x86_linux_dr_get. All uses updated.
1949 (amd64_linux_dr_set): Renamed to
1950 x86_linux_dr_set. All uses updated.
1951 (amd64_linux_dr_get_addr): Renamed to
1952 x86_linux_dr_get_addr. All uses updated.
1953 (amd64_linux_dr_get_control): Renamed to
1954 x86_linux_dr_get_control. All uses updated.
1955 (amd64_linux_dr_get_status): Renamed to
1956 x86_linux_dr_get_status. All uses updated.
1957 (amd64_linux_dr_set_control): Renamed to
1958 x86_linux_dr_set_control. All uses updated.
1959 (amd64_linux_dr_set_addr): Renamed to
1960 x86_linux_dr_set_addr. All uses updated.
1961 (amd64_linux_prepare_to_resume): Renamed to
1962 x86_linux_prepare_to_resume. All uses updated.
1963 (amd64_linux_new_thread): Renamed to
1964 x86_linux_new_thread. All uses updated.
1965 (amd64_linux_new_fork): Renamed to
1966 x86_linux_new_fork. All uses updated.
1967 (amd64_linux_child_post_startup_inferior): Renamed to
1968 x86_linux_child_post_startup_inferior. All uses updated.
1969 (amd64_linux_enable_btrace): Renamed to
1970 x86_linux_enable_btrace. All uses updated.
1971 (amd64_linux_disable_btrace): Renamed to
1972 x86_linux_disable_btrace. All uses updated.
1973 (amd64_linux_teardown_btrace): Renamed to
1974 x86_linux_teardown_btrace. All uses updated.
1975 (amd64_linux_read_btrace): Renamed to
1976 x86_linux_read_btrace. All uses updated.
1977 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1978 x86_linux_dr_get. All uses updated.
1979 (i386_linux_dr_set): Renamed to
1980 x86_linux_dr_set. All uses updated.
1981 (i386_linux_dr_get_addr): Renamed to
1982 x86_linux_dr_get_addr. All uses updated.
1983 (i386_linux_dr_get_control): Renamed to
1984 x86_linux_dr_get_control. All uses updated.
1985 (i386_linux_dr_get_status): Renamed to
1986 x86_linux_dr_get_status. All uses updated.
1987 (i386_linux_dr_set_control): Renamed to
1988 x86_linux_dr_set_control. All uses updated.
1989 (i386_linux_dr_set_addr): Renamed to
1990 x86_linux_dr_set_addr. All uses updated.
1991 (i386_linux_prepare_to_resume): Renamed to
1992 x86_linux_prepare_to_resume. All uses updated.
1993 (i386_linux_new_thread): Renamed to
1994 x86_linux_new_thread. All uses updated.
1995 (i386_linux_new_fork): Renamed to
1996 x86_linux_new_fork. All uses updated.
1997 (i386_linux_child_post_startup_inferior): Renamed to
1998 x86_linux_child_post_startup_inferior. All uses updated.
1999 (i386_linux_enable_btrace): Renamed to
2000 x86_linux_enable_btrace. All uses updated.
2001 (i386_linux_disable_btrace): Renamed to
2002 x86_linux_disable_btrace. All uses updated.
2003 (i386_linux_teardown_btrace): Renamed to
2004 x86_linux_teardown_btrace. All uses updated.
2005 (i386_linux_read_btrace): Renamed to
2006 x86_linux_read_btrace. All uses updated.
2007
2008 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2009
2010 * remote.c (extended_remote_post_attach): New function.
2011 (init_extended_remote_ops): Install it as to_post_attach method.
2012
2013 2014-07-09 Pedro Alves <palves@redhat.com>
2014
2015 * infcmd.c (attach_command_post_wait): Don't call
2016 target_terminal_inferior here.
2017 (attach_command): Call it here instead.
2018
2019 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2020
2021 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2022 field.
2023 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2024 from varobj.c, with additional checks.
2025 (c_varobj_ops): Fill in is_path_expr_parent field.
2026 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2027 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2028 field.
2029 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2030 ops method.
2031 (varobj_default_is_path_expr_parent): New function.
2032 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2033 (varobj_default_is_path_expr_parent): Declare new function.
2034
2035 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2036
2037 * infcmd.c (finish_backward): Turn internal error into normal error.
2038
2039 2014-07-07 Pedro Alves <palves@redhat.com>
2040
2041 PR gdb/17096
2042 * remote.c (async_handle_remote_sigint)
2043 (async_handle_remote_sigint_twice): Call
2044 gdb_call_async_signal_handler instead of
2045 mark_async_signal_handler.
2046
2047 2014-07-07 Tom Tromey <tromey@redhat.com>
2048
2049 * target-delegates.c: Rebuild.
2050 * target.c (target_info_record): Remove.
2051 * record.c (info_record_command): Unconditionally call
2052 to_info_record.
2053 * target.h (struct target_ops) <to_info_record>: Use
2054 TARGET_DEFAULT_IGNORE.
2055 (target_info_record): Remove.
2056
2057 2014-07-07 Tom Tromey <tromey@redhat.com>
2058
2059 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2060 TARGET_DEFAULT_NORETURN.
2061 * target.c (generic_tls_error): New function.
2062 (target_translate_tls_address): Don't search target stack.
2063 * target-delegates.c: Rebuild.
2064 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2065 stack.
2066 * linux-thread-db.c (thread_db_get_thread_local_address):
2067 Unconditionally call beneath target.
2068
2069 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2070
2071 * cli/cli-logging.c (pop_output_files): Assign targerr to
2072 gdb_stdtargerr.
2073
2074 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2075
2076 * MAINTAINERS (Write After Approval): Update my email address.
2077
2078 2014-07-02 Gary Benson <gbenson@redhat.com>
2079
2080 * proc-service.c (ps_xfer_memory): Update comment.
2081 (ps_pstop): Remove unused function.
2082 (ps_pcontinue): Likewise.
2083 (ps_lstop): Likewise.
2084 (ps_lcontinue): Likewise.
2085 (ps_lgetxregsize): Likewise.
2086 (ps_lgetxregs): Likewise.
2087 (ps_lsetxregs): Likewise.
2088 (ps_plog): Likewise.
2089 (ps_ptread): Likewise.
2090 (ps_ptwrite): Likewise.
2091
2092 2014-07-01 Mark Wielaard <mjw@redhat.com>
2093
2094 * dwarf2read.c (add_array_cv_type): New function.
2095 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2096 (read_tag_volatile_type): Likewise.
2097
2098 2014-07-01 Tom Tromey <tromey@redhat.com>
2099
2100 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2101 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2102 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2103 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2104 * command.h (cmd_cfunc_ftype): Move earlier.
2105 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2106 (add_com, add_info): Use cmd_cfunc_ftype.
2107
2108 2014-06-30 Tom Tromey <tromey@redhat.com>
2109
2110 * symtab.c (operator_chars): Make parameters and return type
2111 const.
2112 (file_matches): Make "files" const.
2113 (struct search_symbols_data) <files>: Now const.
2114 (search_symbols): Make "regexp" and "files" parameters const.
2115 Update.
2116 (symtab_symbol_info): Remove cast.
2117 (rbreak_command): Update.
2118 * symtab.h (search_symbols): Update.
2119
2120 2014-06-27 Yao Qi <yao@codesourcery.com>
2121
2122 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2123 Change parameter type to 'struct thread_info *'. Caller
2124 updated.
2125 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2126 Update declaration.
2127 * dummy-frame.c (struct dummy_frame_id): New.
2128 (dummy_frame_id_eq): New function.
2129 (struct dummy_frame) <id>: Change its type to 'struct
2130 dummy_frame_id'.
2131 (dummy_frame_push): Add parameter ptid and save it in
2132 dummy_frame_id.
2133 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2134 inferior_ptid.
2135 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2136 to inferior_ptid.
2137 (lookup_dummy_frame): Change parameter type to 'struct
2138 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2139 instead of frame_id_eq.
2140 (dummy_frame_pop): Add parameter ptid. Callers updated.
2141 Update comments. Compose dummy_frame_id and pass it to
2142 lookup_dummy_frame.
2143 (dummy_frame_discard): Add parameter ptid.
2144 (dummy_frame_sniffer): Compose dummy_frame_id and call
2145 dummy_frame_id_eq instead of frame_id_eq.
2146 (fprint_dummy_frames): Print ptid.
2147 * dummy-frame.h: Remove comments.
2148 (dummy_frame_push): Add ptid in declaration.
2149 (dummy_frame_pop, dummy_frame_discard): Likewise.
2150
2151 2014-06-26 Tom Tromey <tromey@redhat.com>
2152
2153 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2154 * command.h (error_no_arg): Update.
2155
2156 2014-06-26 Tom Tromey <tromey@redhat.com>
2157
2158 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2159 (do_show_command): Make "arg" const.
2160 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2161
2162 2014-06-26 Tom Tromey <tromey@redhat.com>
2163
2164 * record-full.c (record_full_get_bookmark): Make "args" const.
2165 (record_full_goto_bookmark): Make "raw_bookmark" const.
2166 * record.c (record_goto): New function.
2167 (cmd_record_goto): Use it. Now static.
2168 * record.h (record_goto): Declare.
2169 (cmd_record_goto): Remove declaration.
2170 * target-delegates.c: Rebuild.
2171 * target.h (struct target_ops) <to_get_bookmark,
2172 to_goto_bookmark>: Make parameter const.
2173
2174 2014-06-26 Tom Tromey <tromey@redhat.com>
2175
2176 * defs.h (generic_load): Update.
2177 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2178 * monitor.c (monitor_load): Make "args" const.
2179 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2180 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2181 const.
2182 (mips_load): Make "file" const.
2183 * remote-sim.c (gdbsim_load): Make "args" const.
2184 * remote.c (remote_load): Make "name" const.
2185 * symfile.c (generic_load): Make "args" const.
2186 * target-delegates.c: Rebuild.
2187 * target.c (target_load): Make "arg" const.
2188 (debug_to_load): Make "args" const.
2189 * target.h (struct target_ops) <to_load>: Make parameter const.
2190 (target_load): Update.
2191
2192 2014-06-26 Tom Tromey <tromey@redhat.com>
2193
2194 PR symtab/16902:
2195 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2196 (dwarf2_physname, read_partial_die)
2197 (guess_partial_die_structure_name, fixup_partial_die)
2198 (guess_full_die_structure_name, anonymous_struct_prefix)
2199 (dwarf2_name): Use per-BFD obstack.
2200
2201 2014-06-26 Yao Qi <yao@codesourcery.com>
2202
2203 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2204 dummyframe and this_id into inner block below.
2205
2206 2014-06-26 Yao Qi <yao@codesourcery.com>
2207
2208 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2209 with "signal_pass[0]" in the initialization of signal_pass.
2210
2211 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2212
2213 * record-btrace.c (record_btrace_generating_corefile)
2214 (record_btrace_prepare_to_generate_core)
2215 (record_btrace_done_generating_core): New.
2216 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2217 (record_btrace_store_registers, record_btrace_prepare_to_store):
2218 Forward request when generating a core file.
2219 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2220 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2221 to_done_generating_core.
2222
2223 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2224
2225 * target.h (target_ops) <to_prepare_to_generate_core>
2226 <to_done_generating_core>: New.
2227 (target_prepare_to_generate_core, target_done_generating_core): New.
2228 * target.c (target_prepare_to_generate_core)
2229 (target_done_generating_core): New.
2230 * target-delegates.c: Regenerate.
2231 * gcore.c: (write_gcore_file): Rename to ...
2232 (write_gcore_file_1): ...this.
2233 (write_gcore_file): Call target_prepare_to_generate_core
2234 and target_done_generating_core.
2235
2236 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2237
2238 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2239 * gcore.c (write_gcore_file): Free memory returned from
2240 make_corefile_notes.
2241 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2242 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2243
2244 2014-06-24 Yao Qi <yao@codesourcery.com>
2245
2246 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2247 (arm_linux_init_abi): Set skip_trampoline_code with
2248 gdbarch_skip_trampoline_code instead of
2249 find_solib_trampoline_target.
2250
2251 2014-06-24 Yao Qi <yao@codesourcery.com>
2252
2253 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2254 arm_skip_bx_reg returns non-zero.
2255
2256 2014-06-24 Yao Qi <yao@codesourcery.com>
2257
2258 * arm-tdep.c (arm_skip_bx_reg): New function.
2259 (arm_skip_stub): Call arm_skip_bx_reg.
2260
2261 2014-06-23 Don Breazeal <donb@codesourcery.com>
2262
2263 * MAINTAINERS: Add myself as write-after-approval maintainer.
2264
2265 2014-06-23 Pedro Alves <palves@redhat.com>
2266
2267 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2268 DR_CONTROL before setting DR0..DR3.
2269 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2270 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2271 bits of DR_CONTROL related to the debug register slot being
2272 disabled. If all slots are vacant, clear local slowdown as well,
2273 and assert DR_CONTROL is 0.
2274
2275 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2276
2277 * python/lib/gdb/command/xmethods.py
2278 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2279 current progspace only if the string "progspace" matches LOCUS_RE.
2280
2281 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2282
2283 Fix --with-system-readline with readline-6.3 patch 5.
2284 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2285 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2286 types.
2287
2288 2014-06-20 Tom Tromey <tromey@redhat.com>
2289
2290 * dwarf2read.c (dw2_get_real_path): Use correct type in
2291 OBSTACK_CALLOC.
2292 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2293
2294 2014-06-20 Gary Benson <gbenson@redhat.com>
2295
2296 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2297 * common/glibc_thread_db.h: Likewise.
2298 * common/i386-cpuid.h: Likewise.
2299 * common/i386-gcc-cpuid.h: Likewise.
2300 * common/linux-btrace.h: Likewise.
2301 * common/linux-osdata.h: Likewise.
2302 * common/linux-procfs.h: Likewise.
2303 * common/linux-ptrace.h: Likewise.
2304 * common/mips-linux-watch.h: Likewise.
2305 * common/linux-btrace.c: Moved to nat.
2306 * common/linux-osdata.c: Likewise.
2307 * common/linux-procfs.c: Likewise.
2308 * common/linux-ptrace.c: Likewise.
2309 * common/mips-linux-watch.c: Likewise.
2310 * nat/gdb_thread_db.h: Moved from common.
2311 * nat/glibc_thread_db.h: Likewise.
2312 * nat/i386-cpuid.h: Likewise.
2313 * nat/i386-gcc-cpuid.h: Likewise.
2314 * nat/linux-btrace.c: Likewise.
2315 * nat/linux-btrace.h: Likewise.
2316 * nat/linux-osdata.c: Likewise.
2317 * nat/linux-osdata.h: Likewise.
2318 * nat/linux-procfs.c: Likewise.
2319 * nat/linux-procfs.h: Likewise.
2320 * nat/linux-ptrace.c: Likewise.
2321 * nat/linux-ptrace.h: Likewise.
2322 * nat/mips-linux-watch.c: Likewise.
2323 * nat/mips-linux-watch.h: Likewise.
2324 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2325 (object file files): Reordered.
2326 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2327 of glibc_thread_db.h.
2328
2329 2014-06-20 Gary Benson <gbenson@redhat.com>
2330
2331 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2332 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2333 (i386_dr_low): Likewise.
2334 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2335 (i386_dr_low_set_addr): Likewise.
2336 (i386_dr_low_get_addr): Likewise.
2337 (i386_dr_low_can_set_control): Likewise.
2338 (i386_dr_low_set_control): Likewise.
2339 (i386_dr_low_get_control): Likewise.
2340 (i386_dr_low_get_status): Likewise.
2341 (i386_get_debug_register_length): Likewise.
2342 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2343 (i386_dr_low): Likewise.
2344 * nat/i386-dregs.c (i386-low.h): Remove include.
2345 (i386-nat.h): Likewise.
2346 (nat/i386-dregs.h): New include.
2347 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2348 (i386_dr_low_set_addr): Likewise.
2349 (i386_dr_low_get_addr): Likewise.
2350 (i386_dr_low_can_set_control): Likewise.
2351 (i386_dr_low_set_control): Likewise.
2352 (i386_dr_low_get_control): Likewise.
2353 (i386_dr_low_get_status): Likewise.
2354 (i386_get_debug_register_length): Likewise.
2355 (debug_hw_points): Likewise.
2356
2357 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2358
2359 * Makefile.in (SFILES): Add d-exp.y.
2360 (YYFILES): Add d-exp.c.
2361 (YYOBJ): Add d-exp.o.
2362 (local-maintainer-clean): Delete d-exp.c.
2363 * d-exp.y: New file.
2364 * d-lang.h (d_parse): New declaration.
2365 (d_error): New declaration.
2366 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2367 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2368 PREC_ORDER operators.
2369 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2370
2371 2014-06-19 Yao Qi <yao@codesourcery.com>
2372
2373 * gdbthread.h (any_running): Remove the declaration.
2374 * thread.c (any_running): Remove.
2375
2376 2014-06-19 Yao Qi <yao@codesourcery.com>
2377
2378 * gdbthread.h (struct thread_info) <state>: Change its type to
2379 'enum thread_state'. Update comments.
2380
2381 2014-06-19 Pedro Alves <palves@redhat.com>
2382
2383 * gdbthread.h (ALL_THREADS): Delete.
2384 (ALL_NON_EXITED_THREADS): New macro.
2385 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2386 instead of ALL_THREADS.
2387 * infrun.c (find_thread_needs_step_over)
2388 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2389 instead of ALL_THREADS.
2390 * record-btrace.c (record_btrace_open)
2391 (record_btrace_stop_recording, record_btrace_close)
2392 (record_btrace_is_replaying, record_btrace_resume)
2393 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2394 * remote.c (append_pending_thread_resumptions): Likewise.
2395 * thread.c (thread_apply_all_command): Likewise.
2396
2397 2014-06-19 Gary Benson <gbenson@redhat.com>
2398
2399 * i386-nat.c (i386_stopped_by_watchpoint):
2400 Use i386_dr_stopped_by_watchpoint.
2401 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2402 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2403
2404 2014-06-19 Gary Benson <gbenson@redhat.com>
2405
2406 * nat/i386-dregs.c: New file.
2407 * Makefile.in (i386-dregs.o): New rule.
2408 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2409 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2410 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2411 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2412 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2413 * config/i386/go32.mh (NATDEPFILES): Likewise.
2414 * config/i386/linux.mh (NATDEPFILES): Likewise.
2415 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2416 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2417 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2418 * i386-nat.h (debug_hw_points): New declaration.
2419 * i386-nat.c (breakpoint.h): Remove include.
2420 (command.h): Likewise.
2421 (target.h): Likewise.
2422 (gdb_assert.h): Likewise.
2423 (debug_hw_points): Made nonstatic.
2424 (debug_printf): Now in i386-dregs.c.
2425 (TARGET_HAS_DR_LEN_8): Likewise.
2426 (DR_CONTROL_SHIFT): Likewise.
2427 (DR_CONTROL_SIZE): Likewise.
2428 (DR_RW_EXECUTE): Likewise.
2429 (DR_RW_WRITE): Likewise.
2430 (DR_RW_READ): Likewise.
2431 (DR_RW_IORW): Likewise.
2432 (DR_LEN_1): Likewise.
2433 (DR_LEN_2): Likewise.
2434 (DR_LEN_4): Likewise.
2435 (DR_LEN_8): Likewise.
2436 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2437 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2438 (DR_ENABLE_SIZE): Likewise.
2439 (DR_LOCAL_SLOWDOWN): Likewise.
2440 (DR_GLOBAL_SLOWDOWN): Likewise.
2441 (DR_CONTROL_RESERVED): Likewise.
2442 (I386_DR_CONTROL_MASK): Likewise.
2443 (I386_DR_VACANT): Likewise.
2444 (I386_DR_LOCAL_ENABLE): Likewise.
2445 (I386_DR_GLOBAL_ENABLE): Likewise.
2446 (I386_DR_DISABLE): Likewise.
2447 (I386_DR_SET_RW_LEN): Likewise.
2448 (I386_DR_GET_RW_LEN): Likewise.
2449 (I386_DR_WATCH_HIT): Likewise.
2450 (i386_wp_op_t): Likewise.
2451 (i386_show_dr): Likewise.
2452 (i386_length_and_rw_bits): Likewise.
2453 (i386_insert_aligned_watchpoint): Likewise.
2454 (i386_remove_aligned_watchpoint): Likewise.
2455 (i386_handle_nonaligned_watchpoint): Likewise.
2456 (i386_update_inferior_debug_regs): Likewise.
2457 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2458 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2459 (i386_region_ok_for_watchpoint):
2460 Use i386_dr_region_ok_for_watchpoint.
2461 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2462
2463 2014-06-19 Gary Benson <gbenson@redhat.com>
2464
2465 * i386-nat.c (i386_insert_hw_breakpoint): Use
2466 i386_insert_watchpoint.
2467 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2468
2469 2014-06-19 Gary Benson <gbenson@redhat.com>
2470
2471 * i386-nat.c (i386_dr_show): Renamed to
2472 i386_show_dr and made static. All uses updated.
2473 (i386_dr_length_and_rw_bits): Renamed to
2474 i386_length_and_rw_bits and made static.
2475 All uses updated.
2476 (i386_dr_insert_aligned_watchpoint): Renamed to
2477 i386_insert_aligned_watchpoint and made static.
2478 All uses updated.
2479 (i386_dr_remove_aligned_watchpoint): Renamed to
2480 i386_remove_aligned_watchpoint and made static.
2481 All uses updated.
2482 (i386_dr_update_inferior_debug_regs): Renamed to
2483 i386_update_inferior_debug_regs and made static.
2484 All uses updated.
2485 * nat/i386-dregs.h (i386_dr_show): Removed.
2486 (i386_dr_length_and_rw_bits): Likewise.
2487 (i386_dr_insert_aligned_watchpoint): Likewise.
2488 (i386_dr_remove_aligned_watchpoint): Likewise.
2489 (i386_dr_update_inferior_debug_regs): Likewise.
2490
2491 2014-06-19 Gary Benson <gbenson@redhat.com>
2492
2493 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2494 * configure: Regenerate.
2495 * config.in: Likewise.
2496 * main.c (signal.h): New include.
2497 (setup_alternate_signal_stack): New function.
2498 (captured_main): Call the above.
2499 * cp-support.c (signal.h): New include.
2500 (catch_demangler_crashes): New flag.
2501 (SIGJMP_BUF): New define.
2502 (SIGSETJMP): Likewise.
2503 (SIGLONGJMP): Likewise.
2504 (gdb_demangle_jmp_buf): New static global.
2505 (gdb_demangle_attempt_core_dump): Likewise.
2506 (gdb_demangle_signal_handler): New function.
2507 (gdb_demangle): If catch_demangler_crashes is set, install the
2508 above signal handler before calling bfd_demangle, and restore
2509 the original signal handler afterwards. Display the offending
2510 symbol and call demangler_warning the first time a segmentation
2511 fault is caught.
2512 (_initialize_cp_support): New maint set/show command.
2513
2514 2014-06-19 Gary Benson <gbenson@redhat.com>
2515
2516 * utils.h (resource_limit_kind): New enum.
2517 (can_dump_core): New declaration.
2518 (warn_cant_dump_core): Likewise.
2519 (dump_core): Likewise.
2520 * utils.c (dump_core): Made nonstatic. Added new
2521 parameter "limit_kind".
2522 (can_dump_core): Made nonstatic. Moved printing code to...
2523 (warn_cant_dump_core): New function.
2524 (can_dump_core_warn): Likewise.
2525 (internal_vproblem): Replace calls to can_dump_core with
2526 calls to can_dump_core_warn. Supply new argument to each.
2527
2528 2014-06-19 Gary Benson <gbenson@redhat.com>
2529
2530 * utils.h (demangler_vwarning): New declaration.
2531 (demangler_warning): Likewise.
2532 * utils.c (struct internal_problem)
2533 <user_settable_should_quit>: New field.
2534 <user_settable_should_dump_core>: Likewise
2535 (internal_error_problem): Add values for above new fields.
2536 (internal_warning_problem): Likewise.
2537 (demangler_warning_problem): New static global.
2538 (demangler_vwarning): New function.
2539 (demangler_warning): Likewise.
2540 (add_internal_problem_command): Selectively add commands.
2541 (_initialize_utils): New internal problem command.
2542 * maint.c (maintenance_demangler_warning): New function.
2543 (_initialize_maint_cmds): New command.
2544
2545 2014-06-18 Tom Tromey <tromey@redhat.com>
2546
2547 * f-valprint.c (info_common_command_for_block): Update.
2548 * symtab.h (struct general_symbol_info) <common_block>: Now
2549 const.
2550
2551 2014-06-18 Tom Tromey <tromey@redhat.com>
2552
2553 * symtab.h (struct symtab) <blockvector>: Now const.
2554 * ada-lang.c (ada_add_global_exceptions): Update.
2555 * buildsym.c (augment_type_symtab): Update.
2556 * dwarf2read.c (dw2_lookup_symbol): Update.
2557 * jit.c (finalize_symtab): Update.
2558 * jv-lang.c (add_class_symtab_symbol): Update.
2559 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2560 Update.
2561 * objfiles.c (objfile_relocate1): Update.
2562 * psymtab.c (lookup_symbol_aux_psymtabs)
2563 (maintenance_check_psymtabs): Update.
2564 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2565 Update.
2566 * spu-tdep.c (spu_catch_start): Update.
2567 * symmisc.c (dump_symtab_1): Update.
2568 * symtab.c (lookup_global_symbol_from_objfile)
2569 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2570 (basic_lookup_transparent_type_quick)
2571 (basic_lookup_transparent_type, find_pc_sect_symtab)
2572 (find_pc_sect_line, search_symbols): Update.
2573 * block.c (find_block_in_blockvector): Make "bl" const.
2574 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2575 const.
2576 (blockvector_contains_pc): Make "bv" const.
2577 (block_for_pc_sect): Update.
2578 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2579 (blockvector_contains_pc): Update.
2580 * breakpoint.c (resolve_sal_pc): Update.
2581 * inline-frame.c (block_starting_point_at): Update.
2582
2583 2014-06-18 Tom Tromey <tromey@redhat.com>
2584
2585 * completer.c (complete_line): Make "line_buffer" const.
2586 * completer.h (complete_line): Update.
2587
2588 2014-06-18 Tom Tromey <tromey@redhat.com>
2589
2590 * symtab.c (add_macro_name): Remove unneeded cast.
2591
2592 2014-06-18 Tom Tromey <tromey@redhat.com>
2593
2594 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2595 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2596
2597 2014-06-18 Tom Tromey <tromey@redhat.com>
2598
2599 * probe.c (info_probes_for_ops): Make "arg" const.
2600 * probe.h (info_probes_for_ops): Update.
2601
2602 2014-06-18 Tom Tromey <tromey@redhat.com>
2603
2604 * varobj.c (varobj_create): Update.
2605 * valops.c (value_of_this): Update.
2606 * tracepoint.c (add_local_symbols, scope_info): Update.
2607 * symtab.h (struct general_symbol_info) <block>: Now const.
2608 * symtab.c (skip_prologue_sal)
2609 (default_make_symbol_completion_list_break_on)
2610 (skip_prologue_using_sal): Update.
2611 * stack.h (iterate_over_block_locals)
2612 (iterate_over_block_local_vars): Update.
2613 * stack.c (print_frame_args): Update.
2614 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2615 parameter const.
2616 (get_selected_block): Make return type const.
2617 * python/py-frame.c (frapy_block): Update.
2618 * python/py-block.c (gdbpy_block_for_pc): Update.
2619 * p-exp.y (%union) <bval>: Now const.
2620 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2621 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2622 * m2-exp.y (%union) <bval>: Now const.
2623 * linespec.c (get_current_search_block): Make return type const.
2624 (create_sals_line_offset, find_label_symbols): Update.
2625 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2626 Update.
2627 (block_starting_point_at): Make "block" const.
2628 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2629 (check_exception_resume): Update.
2630 * guile/scm-frame.c (gdbscm_frame_block): Update.
2631 * guile/scm-block.c (gdbscm_lookup_block): Update.
2632 * frame.h (get_frame_block): Update.
2633 (get_selected_block): Make return type const.
2634 * frame.c (frame_id_inner): Update.
2635 * f-valprint.c (info_common_command_for_block)
2636 (info_common_command): Update.
2637 * dwarf2loc.c (dwarf2_find_location_expression)
2638 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2639 (locexpr_describe_location_piece): Update.
2640 * c-exp.y (%union) <bval>: Now const.
2641 * breakpoint.c (resolve_sal_pc): Update.
2642 * blockframe.c (get_frame_block):Make return type const.
2643 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2644 (block_innermost_frame): Update.
2645 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2646 (block_for_pc, block_for_pc_sect): Update.
2647 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2648 'pblock' const.
2649 (block_for_pc_sect, block_for_pc): Make return type const.
2650 * ax-gdb.c (gen_expr): Update.
2651 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2652 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2653 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2654 (ada_read_var_value): Update.
2655 * ada-exp.y (struct name_info) <block>: Now const.
2656 (%union): Likewise.
2657 (block_lookup): Constify.
2658
2659 2014-06-18 Gary Benson <gbenson@redhat.com>
2660
2661 * nat/i386-dregs.h: New file.
2662 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2663 * i386-nat.h (i386-dregs.h): New include.
2664 (DR_FIRSTADDR): Now in i386-dregs.h.
2665 (DR_LASTADDR): Likewise.
2666 (DR_NADDR): Likewise.
2667 (DR_STATUS): Likewise.
2668 (DR_CONTROL): Likewise.
2669 (i386_debug_reg_state): Likewise.
2670 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2671
2672 2014-06-18 Don Breazeal <donb@codesourcery.com>
2673
2674 * breakpoint.c (set_longjmp_breakpoint): Call
2675 momentary_breakpoint_from_master with additional argument.
2676 (set_longjmp_breakpoint_for_call_dummy): Call
2677 momentary_breakpoint_from_master with additional argument.
2678 (set_std_terminate_breakpoint): Call
2679 momentary_breakpoint_from_master with additional argument.
2680 (momentary_breakpoint_from_master): Add argument to function
2681 definition and use it to initialize structure member flag.
2682 (clone_momentary_breakpoint): Call
2683 momentary_breakpoint_from_master with additional argument.
2684 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2685 member flags set in momentary_breakpoint_from_master.
2686
2687 2014-06-18 Gary Benson <gbenson@redhat.com>
2688
2689 * i386-nat.c (i386_show_dr): Renamed to
2690 i386_dr_show and made nonstatic. All uses updated.
2691 (i386_length_and_rw_bits): Renamed to
2692 i386_dr_length_and_rw_bits and made nonstatic.
2693 All uses updated.
2694 (i386_insert_aligned_watchpoint): Renamed to
2695 i386_dr_insert_aligned_watchpoint and made nonstatic.
2696 All uses updated.
2697 (i386_remove_aligned_watchpoint): Renamed to
2698 i386_dr_remove_aligned_watchpoint and made nonstatic.
2699 All uses updated.
2700 (i386_update_inferior_debug_regs): Renamed to
2701 i386_dr_update_inferior_debug_regs and made nonstatic.
2702 All uses updated.
2703
2704 2014-06-18 Gary Benson <gbenson@redhat.com>
2705
2706 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2707 (i386_dr_low_can_set_control): Likewise.
2708 (i386_dr_low_set_addr): Likewise.
2709 (i386_dr_low_set_control): Likewise.
2710 (i386_dr_low_get_addr): Likewise.
2711 (i386_dr_low_get_status): Likewise.
2712 (i386_dr_low_get_control): Likewise.
2713 (i386_insert_aligned_watchpoint): Use new macros.
2714 (i386_update_inferior_debug_regs): Likewise.
2715 (i386_stopped_data_address): Likewise.
2716
2717 2014-06-18 Gary Benson <gbenson@redhat.com>
2718
2719 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2720 New parameter. All uses updated.
2721
2722 2014-06-18 Gary Benson <gbenson@redhat.com>
2723
2724 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2725 All uses updated.
2726
2727 2014-06-18 Gary Benson <gbenson@redhat.com>
2728
2729 * i386-nat.c (debug_printf): New macro.
2730 (i386_get_debug_register_length): Likewise.
2731 (TARGET_HAS_DR_LEN_8): Use above macro.
2732 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2733 and printf_unfiltered. Use phex to format values.
2734
2735 2014-06-18 Gary Benson <gbenson@redhat.com>
2736
2737 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2738 Make const.
2739
2740 2014-06-18 Gary Benson <gbenson@redhat.com>
2741
2742 * i386-nat.c: Comment changes.
2743
2744 2014-06-18 Gary Benson <gbenson@redhat.com>
2745
2746 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2747
2748 2014-06-18 Gary Benson <gbenson@redhat.com>
2749
2750 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2751 (i386_insert_aligned_watchpoint): Likewise.
2752 (i386_remove_aligned_watchpoint): Likewise.
2753 (i386_handle_nonaligned_watchpoint): Likewise.
2754
2755 2014-06-18 Gary Benson <gbenson@redhat.com>
2756
2757 * i386-nat.c: Whitespace changes.
2758
2759 2014-06-17 Samuel Bronson <naesten@gmail.com>
2760
2761 * MAINTAINERS: Update Roland McGrath's email address.
2762 Thanks to Sergio Durigan Junior for pointing out that he left
2763 Red Hat a while ago, and giving me a current address.
2764
2765 2014-06-17 Tom Tromey <tromey@redhat.com>
2766
2767 * utils.h (savestring): Remove declaration.
2768
2769 2014-06-17 Tom Tromey <tromey@redhat.com>
2770
2771 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2772
2773 2014-06-16 Keith Seitz <keiths@redhat.com>
2774
2775 PR mi/15863
2776 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2777 to update the varobj if inferior_ptid is null_ptid.
2778
2779 2014-06-16 Tom Tromey <tromey@redhat.com>
2780
2781 * target.h (struct target_ops) <to_info_proc>: Make parameter
2782 const.
2783 (target_info_proc): Update.
2784 * target.c (target_info_proc): Make "args" const.
2785 * procfs.c (procfs_info_proc): Update.
2786 * linux-tdep.c (linux_info_proc): Update.
2787 (linux_core_info_proc_mappings): Make "args" const.
2788 (linux_core_info_proc): Update.
2789 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2790 * gdbarch.c: Rebuild.
2791 * gdbarch.h: Rebuild.
2792 * corelow.c (core_info_proc): Update.
2793
2794 2014-06-16 Tom Tromey <tromey@redhat.com>
2795
2796 * target.h (struct target_ops) <to_disconnect>: Make parameter
2797 const.
2798 (target_disconnect): Update.
2799 * target.c (target_disconnect): Make "args" const.
2800 * target-delegates.c: Rebuild.
2801 * remote.c (remote_disconnect): Update.
2802 * record.h (record_disconnect): Update.
2803 * record.c (record_disconnect): Update.
2804 * inf-child.c (inf_child_disconnect): Update.
2805
2806 2014-06-16 Tom Tromey <tromey@redhat.com>
2807
2808 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2809 * target.c (debug_to_rcmd, default_rcmd): Update.
2810 * target-delegates.c: Rebuild.
2811 * remote.c (remote_rcmd): Update.
2812 * monitor.c (monitor_rcmd): Update.
2813
2814 2014-06-16 Pedro Alves <palves@redhat.com>
2815
2816 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2817 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2818 have OBJF_SHARED set.
2819 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2820 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2821 instead of OBJF_USERLOADED.
2822 * objfiles.h (OBJF_SHARED): Update comment.
2823 (userloaded_objfile_contains_address_p): Rename to ...
2824 (shared_objfile_contains_address_p): ... this, and update
2825 comments.
2826 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2827 new objfile.
2828 (remove_symbol_file_command): Skip objfiles that don't have
2829 OBJF_SHARED set.
2830
2831 2014-06-16 Tom Tromey <tromey@redhat.com>
2832
2833 * minsyms.h (prim_record_minimal_symbol)
2834 (prim_record_minimal_symbol_and_info): Update comments.
2835
2836 2014-06-14 Eli Zaretskii <eliz@gnu.org>
2837
2838 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2839 or --without-guile, according to how GDB was built.
2840
2841 2014-06-13 Tom Tromey <tromey@redhat.com>
2842
2843 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2844 to help_list.
2845 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2846 to help_list.
2847 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2848 help_list.
2849 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2850 help_list.Pass all_commands, not -1, to help_list.
2851 * cli/cli-dump.c (dump_command, append_command)
2852 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2853 (binary_dump_command, binary_append_command): Pass all_commands,
2854 not -1, to help_list.
2855 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2856 -1, to help_list.
2857 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2858 -1, to help_list.
2859 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2860 help_list.
2861 * top.c (set_history): Pass all_commands, not -1, to help_list.
2862 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2863 all_commands, not -1, to help_list.
2864 * symfile.c (overlay_command): Pass all_commands, not -1, to
2865 help_list.
2866 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2867 help_list.
2868 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2869 help_list.
2870 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2871 -1, to help_list.
2872 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2873 not -1, to help_list.
2874 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2875 not -1, to help_list.
2876 * maint.c (maintenance_command, maintenance_info_command)
2877 (maintenance_print_command, maintenance_set_cmd): Pass
2878 all_commands, not -1, to help_list.
2879 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2880 help_list.
2881 * language.c (set_check): Pass all_commands, not -1, to help_list.
2882 * infcmd.c (unset_command): Pass all_commands, not -1, to
2883 help_list.
2884 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2885 help_list.
2886 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2887 help_list.
2888 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2889 help_list.
2890 * breakpoint.c (save_command): Pass all_commands, not -1, to
2891 help_list.
2892 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2893 all_commands, not -1, to help_list.
2894
2895 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2896
2897 * regcache.c (struct register_to_invalidate): New structure.
2898 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2899 functions.
2900 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2901
2902 2014-06-12 Yao Qi <yao@codesourcery.com>
2903
2904 * varobj.c (varobj_get_num_children): Call
2905 varobj_is_dynamic_p.
2906 (varobj_list_children): Likewise.
2907 (varobj_update): Likewise. Update comments.
2908
2909 2014-06-12 Yao Qi <yao@codesourcery.com>
2910
2911 * varobj.c (varobj_pretty_printed_p): Rename to ...
2912 (varobj_is_dynamic_p): ... this. New function.
2913 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2914 (varobj_is_dynamic_p): Declare.
2915 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2916 (mi_print_value_p, varobj_update_one): Likewise.
2917
2918 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2919 Yao Qi <yao@codesourcery.com>
2920
2921 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2922 (varobj_get_iterator): Wrap up code for pretty-printer by
2923 "#if HAVE_PYTHON" and "#endif".
2924 (update_dynamic_varobj_children): Likewise.
2925
2926 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2927 Yao Qi <yao@codesourcery.com>
2928
2929 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2930 gdb_python_initialized is false. Move some code from varobj.c.
2931 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2932 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2933 (struct varobj_item): Moved to varobj-iter.h".
2934 (varobj_clear_saved_item): New function.
2935 (update_dynamic_varobj_children): Move python-related code to
2936 py-varobj.c.
2937 (free_variable): Call varobj_clear_saved_item and
2938 varobj_iter_delete.
2939
2940 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2941 Yao Qi <yao@codesourcery.com>
2942
2943 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2944 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2945 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2946 (py-varobj.o): New rule.
2947 * python/py-varobj.c: New file.
2948 * python/python-internal.h (py_varobj_get_iterator): Declare.
2949 * varobj-iter.h: New file.
2950 * varobj.c: Include "varobj-iter.h"
2951 (struct varobj) <child_iter>: Change its type from "PyObject *"
2952 to "struct varobj_iter *".
2953 <saved_item>: Likewise.
2954 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2955 [HAVE_PYTHON] (varobj_get_iterator): New function.
2956 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2957 python-specific code to python/py-varobj.c.
2958 (install_visualizer): Call varobj_iter_delete instead of
2959 Py_XDECREF.
2960 * varobj.h (varobj_ensure_python_env): Declare.
2961
2962 2014-06-12 Yao Qi <yao@codesourcery.com>
2963
2964 * varobj.c (struct varobj_item): New structure.
2965 (create_child_with_value): Update declaration.
2966 (varobj_add_child): Replace arguments 'name' and 'value' with
2967 'item'. All callers updated.
2968 (install_dynamic_child): Likewise.
2969 (update_dynamic_varobj_children): Likewise.
2970 (varobj_add_child): Likewise.
2971 (create_child_with_value): Likewise.
2972
2973 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2974
2975 * NEWS: Create a new section for the next release branch.
2976 Rename the section of the current branch, now that it has
2977 been cut.
2978
2979 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2980
2981 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2982 * version.in: Bump version to 7.8.50.DATE-cvs.
2983
2984 2014-06-11 Pedro Alves <palves@redhat.com>
2985
2986 PR remote/17028
2987 * ser-mingw.c (net_windows_socket_check_pending): New function.
2988 (net_windows_select_thread): Ignore spurious wakeups. Use
2989 net_windows_socket_check_pending.
2990 (net_windows_wait_handle): Check for pending events with
2991 ioctlsocket, through net_windows_socket_check_pending, instead of
2992 checking the socket's event.
2993
2994 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2995
2996 * python/python-internal.h (gdb_PyObject_GetAttrString)
2997 (gdb_PyObject_HasAttrString): New inline function definitions.
2998 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2999 char * of the second argument to PyObject_GetAttrString.
3000
3001 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3002
3003 * serial.c (serial_write): Fix index of character to be printed
3004 in call to serial_logchar when serial debug traces are enabled.
3005
3006 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3007
3008 * gdbtypes (resolve_dynamic_range): Add function description.
3009
3010 2014-06-09 Pedro Alves <palves@redhat.com>
3011
3012 * linux-nat.c (linux_child_follow_fork): Initialize status with
3013 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3014 inner block. Only pass the signal to PTRACE_DETACH if in pass
3015 state.
3016
3017 2014-06-09 Gary Benson <gbenson@redhat.com>
3018
3019 * common/signals.c (gdb_signal_from_host): Reorder to separate
3020 the always-available ANSI-standard signals from the signals that
3021 require checking.
3022 (do_gdb_signal_to_host): Likewise.
3023 * proc-events.c (signal_table): Likewise.
3024
3025 2014-06-08 Hui Zhu <hui@codesourcery.com>
3026
3027 * common/linux-ptrace.c (linux_disable_event_reporting): New
3028 function.
3029 * common/linux-ptrace.h (linux_disable_event_reporting): New
3030 declaration.
3031 * linux-nat.c (linux_child_follow_fork): Do a single step before
3032 detach.
3033
3034 2014-06-07 Keith Seitz <keiths@redhat.com>
3035
3036 Revert:
3037 PR c++/16253
3038 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3039 from symbol_matches_domain in symtab.c. All local callers
3040 of symbol_matches_domain updated.
3041 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3042 search STRUCT_DOMAIN.
3043 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3044 independently. standard_lookup will do that automatically.
3045 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3046 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3047 (cp_lookup_symbol_in_namespace): Likewise.
3048 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3049 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3050 may return a STRUCT_DOMAIN match.
3051 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3052 * cp-support.c: Include language.h.
3053 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3054 VAR_DOMAIN.
3055 * psymtab.c (match_partial_symbol): Compare the requested
3056 domain with the symbol's domain directly.
3057 (lookup_partial_symbol): Likewise.
3058 * symtab.c (lookup_symbol_in_language): Explain when/why
3059 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3060 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3061 appropriate languages.
3062 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3063 and moved to ada-lang.c
3064 (lookup_block_symbol): Explain that this function only returns
3065 symbol matching the requested DOMAIN.
3066 Compare the requested domain with the symbol's domain directly.
3067 (iterate_over_symbols): Compare the requested domain with the
3068 symbol's domain directly.
3069 * symtab.h (symbol_matches_domain): Remove.
3070
3071 2014-06-06 Doug Evans <xdje42@gmail.com>
3072
3073 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3074 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3075 (gdbscm_guile_version_is_at_least): Declare.
3076 (gdbscm_scm_string_to_int): Declare.
3077 * guile/guile.c (gdbscm_guile_major_version): New global.
3078 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3079 (guile_datadir): New static global.
3080 (gdbscm_guile_data_directory): New function.
3081 (initialize_scheme_side): Update.
3082 (misc_guile_functions): Add guile-data-directory.
3083 (initialize_gdb_module): Fetch guile version number.
3084 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3085 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3086 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3087 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3088 comments.
3089 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3090 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3091 * guile/scm-value.c (gdbscm_value_to_string): Only call
3092 scm_port_conversion_strategy if Guile version >= 2.0.6.
3093
3094 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3095
3096 * main.c (print_gdb_help): Add -q and --silent.
3097
3098 2014-06-06 Gary Benson <gbenson@redhat.com>
3099
3100 * common/signals.c: Remove preprocessor conditionals for
3101 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3102 SIGSEGV and SIGTERM.
3103 * proc-events.c: Likewise.
3104
3105 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3106
3107 * symfile.c (symfile_free_objfile): Remove restriction to
3108 OBJF_USERLOADED.
3109 * symfile-mem.c (symbol_file_add_from_memory): Call
3110 add_target_sections_of_objfile.
3111
3112 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3113
3114 * guile/scm-value.c (gdbscm_history_append_x): Use
3115 'vlscm_get_value_smob_arg_unsafe' instead of
3116 'vlscm_scm_to_value'.
3117
3118 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3119
3120 PR mi/15806
3121 * utils.c (printchar): Don't escape at all if quoter is NUL.
3122 Update function documentation to clarify effect of parameter
3123 QUOTER.
3124 * remote.c (escape_buffer): Pass '\\' as the quoter to
3125 fputstrn_unfiltered.
3126 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3127 generate the output.
3128 (mi_solib_unloaded): Same.
3129
3130 2014-06-05 Joel Brobecker <brobecker@adacore.com>
3131
3132 * development.sh: Delete.
3133 * Makefile.in (config.status): Adjust dependency on development.sh.
3134 * configure.ac: Adjust development.sh source call.
3135 * configure: Regenerate.
3136
3137 2014-06-04 Doug Evans <xdje42@gmail.com>
3138
3139 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3140 is_scheme_bkpt, spec.
3141 (bpscm_make_breakpoint_smob): Initialize new members.
3142 (gdbscm_create_breakpoint_x): Split into two ...
3143 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3144 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3145 (scheme_function breakpoint_functions): Update.
3146 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3147 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3148 register-breakpoint!.
3149
3150 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
3151
3152 PR server/17023
3153 * mem-break.c (z_type_supported): Return zero if
3154 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3155
3156 2014-06-04 Tom Tromey <tromey@redhat.com>
3157
3158 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3159 value_from_contents_and_address_unresolved.
3160 (ada_template_to_fixed_record_type_1): Likewise.
3161 (ada_which_variant_applies): Likewise.
3162 * value.h (value_from_contents_and_address_unresolved): Declare.
3163 * value.c (value_from_contents_and_address_unresolved): New
3164 function.
3165 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3166 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3167 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3168
3169 2014-06-04 Tom Tromey <tromey@redhat.com>
3170
3171 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3172
3173 2014-06-04 Tom Tromey <tromey@redhat.com>
3174
3175 * procfs.c (procfs_attach): Make "args" const.
3176 * windows-nat.c (windows_attach): Make "args" const.
3177 * nto-procfs.c (procfs_attach): Make "args" const.
3178 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3179 * go32-nat.c (go32_attach): Make "args" const.
3180 * gnu-nat.c (gnu_attach): Make "args" const.
3181 * darwin-nat.c (darwin_attach): Make "args" const.
3182 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3183 * linux-nat.c (linux_nat_attach): Make "args" const.
3184 * remote.c (extended_remote_attach_1, extended_remote_attach):
3185 Make "args" const.
3186 * target.h (struct target_ops) <to_attach>: Make "args" const.
3187 (find_default_attach): Likewise.
3188 * utils.c (parse_pid_to_attach): Make "args" const.
3189 * utils.h (parse_pid_to_attach): Update.
3190
3191 2014-06-04 Tom Tromey <tromey@redhat.com>
3192
3193 * target-delegates.c: Rebuild.
3194 * target.c (default_thread_address_space): New function.
3195 (target_thread_address_space): Simplify.
3196 * target.h (struct target_ops) <to_thread_address_space>: Add
3197 TARGET_DEFAULT_FUNC.
3198
3199 2014-06-04 Doug Evans <xdje42@gmail.com>
3200
3201 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3202
3203 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3204
3205 * record-btrace.c: Include event-loop.h and inf-loop.h.
3206 (record_btrace_resume_exec_dir)
3207 (record_btrace_async_inferior_event_handler)
3208 (record_btrace_handle_async_inferior_event): New.
3209 (record_btrace_open): Create async event handler.
3210 (record_btrace_close): Delete async event handler.
3211 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3212 Mark async event handler.
3213 (record_btrace_execution_direction): New.
3214 (init_record_btrace_ops): Initialize to_execution_direction.
3215
3216 2014-06-03 Doug Evans <xdje42@gmail.com>
3217
3218 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3219 (gdbscm_make_parameter): Ditto.
3220
3221 2014-06-03 Doug Evans <dje@google.com>
3222
3223 * exec.c (exec_close_1): Call clear_section_table instead of
3224 resize_section_table.
3225 (clear_section_table): New function.
3226 (resize_section_table): Make static. Rename arg num_added to
3227 adjustment.
3228 * exec.h (clear_section_table): Declare.
3229 (resize_section_table): Delete.
3230 * progspace.c (release_program_space): Call clear_section_table
3231 instead of resize_section_table.
3232
3233 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3234
3235 * NEWS (Python Scripting): Add entry about the new xmethods
3236 feature.
3237
3238 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3239
3240 * python/py-xmethods.c: New file.
3241 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3242 (objfpy_dealloc): XDECREF on the new xmethods field.
3243 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3244 field.
3245 (objfpy_get_xmethods): New function.
3246 (objfile_getset): New entry 'xmethods'.
3247 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3248 (pspy_dealloc): XDECREF on the new xmethods field.
3249 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3250 field.
3251 (pspy_get_xmethods): New function.
3252 (pspace_getset): New entry 'xmethods'.
3253 * python/python-internal.h: Add declarations for new functions.
3254 * python/python.c (_initialize_python): Invoke
3255 gdbpy_initialize_xmethods.
3256 * python/lib/gdb/__init__.py (xmethods): New
3257 attribute.
3258 * python/lib/gdb/xmethod.py: New file.
3259 * python/lib/gdb/command/xmethods.py: New file.
3260
3261 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3262
3263 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3264 best match method returned by find_overload_match is an xmethod.
3265 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3266 the best matching operator returned by find_overload_match is an
3267 xmethod.
3268 * valops.c: #include "extension.h".
3269 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3270 Return void. The list of matching source methods is returned in
3271 "fn_list" and a vector of matching debug method workers is
3272 returned in "xm_worker_vec". Update all callers.
3273 (value_find_oload_method_list): Likewise.
3274 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3275 non-NULL, then the index of the best matching method in this
3276 vector is returned. Update all callers.
3277 (find_overload_match): Include xmethods while performing overload
3278 resolution.
3279
3280 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3281
3282 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3283 * extension-priv.h (struct extension_language_ops): Add the
3284 xmethod interface.
3285 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3286 get_matching_xmethod_workers, get_xmethod_argtypes,
3287 invoke_xmethod, free_xmethod_worker,
3288 free_xmethod_worker_vec): New functions.
3289 * extension.h: #include "common/vec.h".
3290 New function declarations.
3291 (struct xmethod_worker): New struct.
3292 (VEC (xmethod_worker_ptr)): New vector type.
3293 (xmethod_worker_ptr): New typedef.
3294 (xmethod_worker_vec): Likewise.
3295 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3296 builtin_type.
3297 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3298 (struct builtin_type): New field "xmethod".
3299 * valarith.c (value_ptradd): Assert that the value argument is not
3300 lval_xcallable.
3301 * valops.c (value_must_coerce_to_target): Return 0 for
3302 lval_xcallable values.
3303 * value.c (struct value): New field XM_WORKER in the field
3304 LOCATION.
3305 (value_address, value_raw_address): Return 0 for lval_xcallable
3306 values.
3307 (set_value_address): Assert that the value is not an
3308 lval_xcallable.
3309 (value_free): Free the associated xmethod worker when freeing
3310 lval_xcallable values.
3311 (set_value_component_location): Assert that the WHOLE value is not
3312 lval_xcallable.
3313 (value_of_xmethod, call_xmethod): New functions.
3314 * value.h: Declare "struct xmethod_worker".
3315 Declare new functions value_of_xmethod, call_xmethod.
3316
3317 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3318 Pedro Alves <palves@redhat.com>
3319
3320 PR breakpoints/17000
3321 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3322 New function, extracted from software_breakpoint_inserted_here_p.
3323 (software_breakpoint_inserted_here_p): Replace factored out code
3324 by call to find_non_raw_software_breakpoint_inserted_here.
3325 (bp_target_info_copy_insertion_state): New function.
3326 (bkpt_insert_location): Handle the case of a single-step
3327 breakpoint already inserted at the same address.
3328 (bkpt_remove_location): Handle the case of a single-step
3329 breakpoint still inserted at the same address.
3330 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3331 breakpoint already inserted at the same address.
3332 (deprecated_remove_raw_breakpoint): Handle the case of a
3333 non-raw breakpoint still inserted at the same address.
3334 (find_single_step_breakpoint): New function, extracted from
3335 single_step_breakpoint_inserted_here_p.
3336 (find_single_step_breakpoint): New function,
3337 factored out from single_step_breakpoint_inserted_here_p.
3338 (single_step_breakpoint_inserted_here_p): Reimplement.
3339
3340 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3341
3342 Pushed by Joel Brobecker <brobecker@adacore.com>
3343 * source.c (show_substitute_path_command): Fix display of matching
3344 substitution rules.
3345
3346 2014-06-03 Gary Benson <gbenson@redhat.com>
3347
3348 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3349
3350 2014-06-02 Doug Evans <xdje42@gmail.com>
3351
3352 Add parameter support for Guile.
3353 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3354 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3355 (scm-param.o): New rule.
3356 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3357 (gdbscm_misc_error): Declare.
3358 (gdbscm_canonicalize_command_name): Declare.
3359 (gdbscm_scm_to_host_string): Declare.
3360 (gdbscm_scm_from_host_string): Declare.
3361 (gdbscm_initialize_parameters): Declare.
3362 * guile/guile.c (initialize_gdb_module): Call
3363 gdbscm_initialize_parameters.
3364 * guile/lib/gdb.scm: Export parameter symbols.
3365 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3366 cmdscm_canonicalize_name and made public. All callers updated.
3367 * guile/scm-exception.c (gdbscm_misc_error): New function.
3368 * guile/scm-param.c: New file.
3369 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3370 (gdbscm_scm_to_host_string): New function.
3371 (gdbscm_scm_from_host_string): New function.
3372 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3373
3374 2014-06-02 Doug Evans <xdje42@gmail.com>
3375
3376 Add command support for Guile.
3377 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3378 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3379 (scm-cmd.o): New rule.
3380 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3381 (gdbscm_user_error_p): Declare.
3382 (gdbscm_parse_command_name): Declare.
3383 (gdbscm_valid_command_class_p): Declare.
3384 (gdbscm_initialize_commands): Declare.
3385 * guile/guile.c (initialize_gdb_module): Call
3386 gdbscm_initialize_commands.
3387 * guile/lib/gdb.scm: Export command symbols.
3388 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3389 (throw-user-error): New function.
3390 * guile/scm-cmd.c: New file.
3391 * guile/scm-exception.c (user_error_symbol): New static global.
3392 (gdbscm_user_error_p): New function.
3393 (gdbscm_initialize_exceptions): Set user_error_symbol.
3394 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3395
3396 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3397
3398 * top.c (command_loop): Handle comments here...
3399 (command_line_input): ... not here.
3400
3401 2014-06-02 Doug Evans <xdje42@gmail.com>
3402
3403 Add progspace support for Guile.
3404 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3405 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3406 (scm-progspace.o): New rule.
3407 * guile/guile-internal.h (pspace_smob): New typedef.
3408 (psscm_pspace_smob_pretty_printers): Declare.
3409 (psscm_pspace_smob_from_pspace): Declare.
3410 (psscm_scm_from_pspace): Declare.
3411 * guile/guile.c (initialize_gdb_module): Call
3412 gdbscm_initialize_pspaces.
3413 * guile/lib/gdb.scm: Export progspace symbols.
3414 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3415 support.
3416 (append-pretty-printer!): Ditto.
3417 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3418 Implement.
3419 * guile/scm-progspace.c: New file.
3420
3421 2014-06-03 Alan Modra <amodra@gmail.com>
3422
3423 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3424 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3425
3426 2014-06-02 Doug Evans <dje@google.com>
3427
3428 Add support for skeletonless type units.
3429 * dwarf2read.c (struct dwarf2_per_objfile): New member
3430 n_allocated_type_units.
3431 (struct dwarf2_per_objfile) <tu_stats>: New member
3432 nr_all_type_units_reallocs.
3433 (create_signatured_type_table_from_index): Initialize
3434 n_allocated_type_units
3435 (create_all_type_units): Ditto.
3436 (add_type_unit): Move up in file. New arg slot.
3437 All callers updated. Increase space for all_type_units more
3438 efficiently.
3439 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3440 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3441 (lookup_dwp_signatured_type): Ditto.
3442 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3443 All callers updated.
3444 (build_type_psymtabs_1): Leave type_unit_groups as
3445 NULL if no TUs present.
3446 (print_tu_stats): New function.
3447 (process_skeletonless_type_unit): New function.
3448 (process_dwo_file_for_skeletonless_type_units): New
3449 function.
3450 (process_skeletonless_type_units): New function.
3451 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3452 Call print tu_stats if debugging enabled.
3453
3454 2014-06-02 Pedro Alves <palves@redhat.com>
3455
3456 * breakpoint.c (build_target_command_list): Don't build a command
3457 list if we have any duplicate location that isn't a dprintf.
3458
3459 2014-06-02 Pedro Alves <palves@redhat.com>
3460
3461 * breakpoint.c (dprintf_breakpoint_hit): New function.
3462 (initialize_breakpoint_ops): Install it as dprintf's
3463 breakpoint_hit method.
3464
3465 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3466
3467 * source.c (substitute_path_rule_matches): Simplify using
3468 filename_ncmp instead of FILENAME_CMP.
3469
3470 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3471
3472 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3473
3474 2014-06-01 Ludovic Courtès <ludo@gnu.org>
3475
3476 * configure.ac: When Guile is available, check for the
3477 availability of 'scm_new_smob'.
3478 * configure, config.h.in: Regenerate.
3479 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3480 function.
3481
3482 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3483
3484 * frame.c (struct frame_info): Add stop_string field.
3485 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3486 (get_prev_frame_always): Old content moved into
3487 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3488 TRY_CATCH, handle MEMORY_ERROR exceptions.
3489 (frame_stop_reason_string): New function definition.
3490 * frame.h (unwind_stop_reason_to_string): Extend comment to
3491 mention frame_stop_reason_string.
3492 (frame_stop_reason_string): New function declaration.
3493 * stack.c (frame_info): Switch to frame_stop_reason_string.
3494 (backtrace_command_1): Switch to frame_stop_reason_string.
3495 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3496 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3497 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3498
3499 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3500
3501 * frame.c (frame_stop_reason_string): Rename to ...
3502 (unwind_stop_reason_to_string): this.
3503 * frame.h (frame_stop_reason_string): Rename to ...
3504 (unwind_stop_reason_to_string): this.
3505 * stack.c (frame_info): Update call to frame_stop_reason_string.
3506 (backtrace_command_1): Likewise.
3507 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3508 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3509
3510 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3511
3512 * frame.c (remove_prev_frame): New function.
3513 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3514 remove_prev_frame.
3515
3516 2014-05-29 Pedro Alves <palves@redhat.com>
3517
3518 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3519 and make it const. When a single-step decays to a continue,
3520 clear 'step', not 'hw_step'. Pass whether the caller wanted
3521 to step to user_visible_resume_ptid, not what we ask the
3522 target to do.
3523
3524 2014-05-29 Pedro Alves <palves@redhat.com>
3525
3526 * infrun.c (process_event_stop_test, handle_step_into_function)
3527 (handle_step_into_function_backward): Adjust.
3528 Don't set the even thread's stop_step and call stop_waiting before
3529 calling end_stepping_range. Instead do that ...
3530 (end_stepping_range): ... here. Take an ecs pointer parameter.
3531
3532 2014-05-29 Pedro Alves <palves@redhat.com>
3533
3534 * infrun.c (stop_stepping): Rename to ...
3535 (stop_waiting): ... this.
3536 (proceed): Update comment.
3537 (process_event_stop_test, handle_inferior_event)
3538 (handle_signal_stop, handle_step_into_function)
3539 (handle_step_into_function_backward): Update.
3540
3541 2014-05-29 Pedro Alves <palves@redhat.com>
3542
3543 * infcall.c (run_inferior_call): Don't check whether the current
3544 thread is running after the proceed call.
3545
3546 2014-05-29 Pedro Alves <palves@redhat.com>
3547 Tom Tromey <tromey@redhat.com>
3548
3549 * NEWS: Mention "maint set target-async", "set mi-async", and that
3550 background execution commands are now always available.
3551 * target.h (target_async_permitted): Update comment.
3552 * target.c (target_async_permitted, target_async_permitted_1):
3553 Default to 1.
3554 (set_target_async_command): Rename to ...
3555 (maint_set_target_async_command): ... this.
3556 (show_target_async_command): Rename to ...
3557 (maint_show_target_async_command): ... this.
3558 (_initialize_target): Adjust.
3559 * infcmd.c (prepare_execution_command): Make extern.
3560 * inferior.h (prepare_execution_command): Declare.
3561 * infrun.c (set_observer_mode): Leave target async alone.
3562 * mi/mi-interp.c (mi_interpreter_init): Install
3563 mi_on_sync_execution_done as sync_execution_done observer.
3564 (mi_on_sync_execution_done): New function.
3565 (mi_execute_command_input_handler): Don't print the prompt if we
3566 just started a synchronous command with an async target.
3567 (mi_on_resume): Check sync_execution before printing prompt.
3568 * mi/mi-main.h (mi_async_p): Declare.
3569 * mi/mi-main.c: Include gdbcmd.h.
3570 (mi_async_p): New function.
3571 (mi_async, mi_async_1): New globals.
3572 (set_mi_async_command, show_mi_async_command, mi_async): New
3573 functions.
3574 (exec_continue): Call prepare_execution_command.
3575 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3576 (mi_execute_async_cli_command): Use mi_async_p.
3577 (_initialize_mi_main): Install "set mi-async". Make
3578 "target-async" a deprecated alias.
3579
3580 2014-05-29 Pedro Alves <palves@redhat.com>
3581
3582 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3583 (_initialize_cli_interp): Adjust.
3584 * event-loop.c: Include "observer.h".
3585 (start_event_loop): Notify 'command_error' observers instead of
3586 calling display_gdb_prompt. Remove FIXME comment.
3587 * event-top.c (display_gdb_prompt): Remove call into the
3588 interpreters.
3589 * inf-loop.c: Include "observer.h".
3590 (inferior_event_handler): Notify 'command_error' observers instead
3591 of calling display_gdb_prompt.
3592 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3593 observers instead of calling display_gdb_prompt.
3594 * interps.c (interp_set): Don't call display_gdb_prompt.
3595 (current_interp_display_prompt_p): Delete.
3596 * interps.h (interp_prompt_p): Delete declaration.
3597 (interp_prompt_p_ftype): Delete.
3598 (struct interp_procs) <prompt_proc_p>: Delete field.
3599 (current_interp_display_prompt_p): Delete declaration.
3600 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3601 (_initialize_mi_interp): Adjust.
3602 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3603 'command_error' observers.
3604 (tui_on_sync_execution_done, tui_on_command_error): New
3605 functions.
3606 (tui_display_prompt_p): Delete.
3607 (_initialize_tui_interp): Adjust.
3608
3609 2014-05-29 Pedro Alves <palves@redhat.com>
3610
3611 PR gdb/13860
3612 * cli/cli-interp.c: Include infrun.h and observer.h.
3613 (cli_uiout, cli_interp): New globals.
3614 (cli_on_signal_received, cli_on_end_stepping_range)
3615 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3616 functions.
3617 (cli_interpreter_init): Install them as 'end_stepping_range',
3618 'signal_received' 'signal_exited', 'exited' and 'no_history'
3619 observers.
3620 (_initialize_cli_interp): Remove cli_interp local.
3621 * infrun.c (handle_inferior_event): Call the several stop reason
3622 observers instead of printing the stop reason directly.
3623 (end_stepping_range): New function.
3624 (print_end_stepping_range_reason, print_signal_exited_reason)
3625 (print_exited_reason, print_signal_received_reason)
3626 (print_no_history_reason): Make static, and add an uiout
3627 parameter. Print to that instead of to CURRENT_UIOUT.
3628 * infrun.h (print_end_stepping_range_reason)
3629 (print_signal_exited_reason, print_exited_reason)
3630 (print_signal_received_reason print_no_history_reason): New
3631 declarations.
3632 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3633 'mi_uiout'.
3634 <cli_uiout>: New field.
3635 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3636 uiout for CLI output. Install 'signal_received',
3637 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3638 observers.
3639 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3640 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3641 (mi_on_no_history): New functions.
3642 (ui_out_free_cleanup): Delete function.
3643 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3644 instead use the one already stored in the MI interpreter data.
3645 (mi_ui_out): Adjust.
3646 * tui/tui-interp.c: Include infrun.h and observer.h.
3647 (tui_interp): New global.
3648 (tui_on_signal_received, tui_on_end_stepping_range)
3649 (tui_on_signal_exited, tui_on_exited)
3650 (tui_on_no_history): New functions.
3651 (tui_init): Install them as 'end_stepping_range',
3652 'signal_received' 'signal_exited', 'exited' and 'no_history'
3653 observers.
3654 (_initialize_tui_interp): Delete tui_interp local.
3655
3656 2014-05-29 Pedro Alves <palves@redhat.com>
3657
3658 PR gdb/15713
3659 * linux-nat.c (linux_nat_resume_callback): Rename the second
3660 parameter to 'except'. Skip LP if it points to EXCEPT.
3661 (linux_nat_resume): Don't mark the event lwp as not stopped
3662 before resuming sibling lwps. Instead ask
3663 linux_nat_resume_callback to skip the event lwp. Mark it as not
3664 stopped after actually resuming it.
3665 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3666 resuming it.
3667 (wait_lwp): Mark the lwp as stopped here.
3668 (stop_wait_callback): Mark the lwp as not stopped right after
3669 resuming it. Don't mark lwps as stopped here.
3670 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3671 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3672
3673 2014-05-29 Pedro Alves <palves@redhat.com>
3674
3675 PR PR15693
3676 * infrun.c (resume): Determine how much to resume depending on
3677 whether the caller wanted a step, not whether we can hardware step
3678 the target. Mark all threads that we intend to run as running,
3679 unless we're calling an inferior function.
3680 (normal_stop): If the thread is running an infcall, don't finish
3681 thread state.
3682 * target.c (target_resume): Don't mark threads as running here.
3683
3684 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3685
3686 * serial.c (_initialize_serial): Remove support for
3687 the "set remotebaud" and "show remotebaud" commands.
3688 * NEWS: Add entry documenting the removal of that command.
3689
3690 2014-05-28 Yao Qi <yao@codesourcery.com>
3691
3692 * charset.c: Fix typo in comments.
3693
3694 2014-05-27 Gary Benson <gbenson@redhat.com>
3695
3696 * utils.c (internal_vproblem): Prompt for a bug report.
3697
3698 2014-05-26 Andy Wingo <wingo@igalia.com>
3699
3700 * guile/scm-arch.c (arscm_mark_arch_smob):
3701 * guile/scm-block.c (bkscm_mark_block_smob)
3702 (bkscm_mark_block_syms_progress_smob):
3703 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3704 * guile/scm-exception.c (exscm_mark_exception_smob):
3705 * guile/scm-frame.c (frscm_mark_frame_smob):
3706 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3707 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3708 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3709 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3710 (ppscm_mark_pretty_printer_worker_smob):
3711 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3712 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3713 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3714 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3715 mark functions.
3716 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3717 function.
3718
3719 2014-05-26 Andy Wingo <wingo@igalia.com>
3720 Doug Evans <xdje42@gmail.com>
3721
3722 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3723 empty_base_class. All uses updated.
3724 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3725 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3726 Adapt all callers.
3727 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3728 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3729 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3730 (gdbscm_gsmob_has_property_p, add_property_name)
3731 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3732 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3733 (gdb-object-has-property?, gdb-object-properties): Remove.
3734 (gdb-object-kind): Renamed from gsmob-kind.
3735
3736 2014-05-26 Andy Wingo <wingo@igalia.com>
3737
3738 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3739 * configure: Regenerate.
3740
3741 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3742
3743 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3744
3745 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3746
3747 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3748 (replay_memory_access_read_only, replay_memory_access_read_write)
3749 (replay_memory_access_types, replay_memory_access)
3750 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3751 (cmd_set_record_btrace, cmd_show_record_btrace)
3752 (cmd_show_replay_memory_access): New.
3753 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3754 (record_btrace_remove_breakpoint): Replace
3755 record_btrace_allow_memory_access with replay_memory_access.
3756 (_initialize_record_btrace): Add commands.
3757 * NEWS: Announce it.
3758
3759 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3760
3761 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3762
3763 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3764
3765 * MAINTAINERS (Write After Approval): Move self back from
3766 paper trail.
3767
3768 2014-05-22 Pedro Alves <palves@redhat.com>
3769
3770 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3771 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3772 (disable_randomization, enum exec_direction_kind)
3773 (execution_direction, stop_registers, start_remote)
3774 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3775 (wait_for_inferior, normal_stop, get_last_target_status)
3776 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3777 (insert_step_resume_breakpoint_at_sal)
3778 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3779 (set_step_info, print_stop_event, signal_stop_state)
3780 (signal_print_state, signal_pass_state, signal_stop_update)
3781 (signal_print_update, signal_pass_update)
3782 (update_signals_program_target, clear_exit_convenience_vars)
3783 (displaced_step_dump_bytes, update_observer_mode)
3784 (signal_catch_update, gdb_signal_from_command): Move
3785 declarations ...
3786 * infrun.h: ... to this new file.
3787 * amd64-tdep.c: Include infrun.h.
3788 * annotate.c: Include infrun.h.
3789 * arch-utils.c: Include infrun.h.
3790 * arm-linux-tdep.c: Include infrun.h.
3791 * arm-tdep.c: Include infrun.h.
3792 * break-catch-sig.c: Include infrun.h.
3793 * breakpoint.c: Include infrun.h.
3794 * common/agent.c: Include infrun.h instead of inferior.h.
3795 * corelow.c: Include infrun.h.
3796 * event-top.c: Include infrun.h.
3797 * go32-nat.c: Include infrun.h.
3798 * i386-tdep.c: Include infrun.h.
3799 * inf-loop.c: Include infrun.h.
3800 * infcall.c: Include infrun.h.
3801 * infcmd.c: Include infrun.h.
3802 * infrun.c: Include infrun.h.
3803 * linux-fork.c: Include infrun.h.
3804 * linux-nat.c: Include infrun.h.
3805 * linux-thread-db.c: Include infrun.h.
3806 * monitor.c: Include infrun.h.
3807 * nto-tdep.c: Include infrun.h.
3808 * procfs.c: Include infrun.h.
3809 * record-btrace.c: Include infrun.h.
3810 * record-full.c: Include infrun.h.
3811 * remote-m32r-sdi.c: Include infrun.h.
3812 * remote-mips.c: Include infrun.h.
3813 * remote-notif.c: Include infrun.h.
3814 * remote-sim.c: Include infrun.h.
3815 * remote.c: Include infrun.h.
3816 * reverse.c: Include infrun.h.
3817 * rs6000-tdep.c: Include infrun.h.
3818 * s390-linux-tdep.c: Include infrun.h.
3819 * solib-irix.c: Include infrun.h.
3820 * solib-osf.c: Include infrun.h.
3821 * solib-svr4.c: Include infrun.h.
3822 * target.c: Include infrun.h.
3823 * top.c: Include infrun.h.
3824 * windows-nat.c: Include infrun.h.
3825 * mi/mi-interp.c: Include infrun.h.
3826 * mi/mi-main.c: Include infrun.h.
3827 * python/py-threadevent.c: Include infrun.h.
3828
3829 2014-05-22 Pedro Alves <palves@redhat.com>
3830
3831 * infrun.c (handle_inferior_event): Store the exit code for
3832 --return-child-result here, instead of ...
3833 (print_exited_reason): ... here.
3834
3835 2014-05-21 Pedro Alves <palves@redhat.com>
3836
3837 PR gdb/13860
3838 * gdbthread.h (struct thread_control_state): New field
3839 `command_interp'.
3840 * infrun.c (follow_fork): Copy the new thread control field to the
3841 child fork thread.
3842 (clear_proceed_status_thread): Clear the new thread control field.
3843 (proceed): Set the new thread control field.
3844 * interps.h (command_interp): Declare.
3845 * interps.c (command_interpreter): New global.
3846 (command_interp): New function.
3847 (interp_exec): Set `command_interpreter' while here.
3848 * cli-out.c (cli_uiout_dtor): New function.
3849 (cli_ui_out_impl): Install it.
3850 * mi/mi-interp.c: Include cli-out.h.
3851 (mi_cmd_interpreter_exec): Add comment.
3852 (restore_current_uiout_cleanup): New function.
3853 (ui_out_free_cleanup): New function.
3854 (mi_on_normal_stop): If finishing an execution command started by
3855 a CLI command, or any kind of breakpoint-like event triggered,
3856 print the stop event to the output (CLI) stream.
3857 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3858
3859 2014-05-21 Pedro Alves <palves@redhat.com>
3860
3861 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3862 current source line having changed.
3863 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3864 * infrun.c (normal_stop): Adjust call to
3865 set_current_sal_from_frame.
3866 * source.c (clear_lines_listed_range): New function.
3867 (set_current_source_symtab_and_line, identify_source_line): Clear
3868 the lines listed range.
3869 (line_info): Handle the first "info line" after the current source
3870 line having changed.
3871 * stack.c (print_stack_frame): Remove center handling.
3872 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3873 center sal.line.
3874
3875 2014-05-21 Pedro Alves <palves@redhat.com>
3876
3877 * inf-child.c (inf_child_mourn_inferior): New function.
3878 * inf-child.h (inf_child_mourn_inferior): New declaration.
3879 * darwin-nat.c (darwin_mourn_inferior): Use
3880 inf_child_mourn_inferior.
3881 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3882 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3883 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3884 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3885 * windows-nat.c (windows_mourn_inferior): Likewise.
3886
3887 2014-05-21 Doug Evans <xdje42@gmail.com>
3888
3889 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
3890
3891 2014-05-21 Doug Evans <xdje42@gmail.com>
3892
3893 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
3894 (gdbscm_out_of_range_error): Ditto.
3895 (gdbscm_memory_error): Ditto.
3896 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3897 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
3898 (gdbscm_out_of_range_error): Update.
3899 (gdbscm_memory_error): Update.
3900 (gdbscm_scm_to_target_string_unsafe): Delete.
3901
3902 2014-05-21 Pedro Alves <palves@redhat.com>
3903
3904 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3905 globals.
3906 (inf_child_open_target): New function.
3907 (inf_child_open): Use inf_child_open_target to push the target
3908 instead of erroring out.
3909 (inf_child_disconnect, inf_child_close)
3910 (inf_child_maybe_unpush_target): New functions.
3911 (inf_child_target): Install inf_child_disconnect and
3912 inf_child_close. Store a pointer to the returned object.
3913 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3914 declarations.
3915 * target.c (auto_connect_native_target): New global.
3916 (show_default_run_target): New function.
3917 (find_default_run_target): Return NULL if automatically connecting
3918 to the native target is disabled.
3919 (_initialize_target): Install set/show auto-connect-native-target.
3920 * NEWS: Mention "set auto-connect-native-target", and "target
3921 native".
3922 * linux-nat.c (super_close): New global.
3923 (linux_nat_close): Call super_close.
3924 (linux_nat_add_target): Store a pointer to the base class's
3925 to_close method.
3926 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3927 inf_child_maybe_unpush.
3928 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3929 already pushed.
3930 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3931 the inferior. Use inf_child_maybe_unpush_target.
3932 (inf_ttrace_attach): Don't push the target if it is already
3933 pushed.
3934 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3935 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3936 after mourning the inferior. Use inf_child_maybe_unpush_target.
3937 (darwin_attach_pid): Don't push the target if it is already
3938 pushed.
3939 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3940 mourning the inferior. Use inf_child_maybe_unpush_target.
3941 (gnu_detach): Use inf_child_maybe_unpush_target.
3942 * go32-nat.c (go32_create_inferior): Don't push the target if it
3943 is already pushed.
3944 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3945 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3946 (procfs_open): Rename to ...
3947 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3948 comments. Can target_preopen before changing node. Call
3949 inf_child_open_target to push the target explicitly.
3950 (procfs_attach): Don't push the target if it is already pushed.
3951 (procfs_detach): Use inf_child_maybe_unpush_target.
3952 (procfs_create_inferior): Don't push the target if it is already
3953 pushed.
3954 (nto_native_ops): New global.
3955 (procfs_open): Reimplement.
3956 (procfs_native_open): New function.
3957 (init_procfs_targets): Install procfs_native_open as to_open of
3958 "target native". Store a pointer to the "native" target in
3959 nto_native_ops.
3960 * procfs.c (procfs_attach): Don't push the target if it is already
3961 pushed.
3962 (procfs_detach): Use inf_child_maybe_unpush_target.
3963 (procfs_mourn_inferior): Only unpush the target after mourning the
3964 inferior. Use inf_child_maybe_unpush_target.
3965 (procfs_init_inferior): Don't push the target if it is already
3966 pushed.
3967 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3968 if it is already pushed.
3969
3970 2014-05-21 Pedro Alves <palves@redhat.com>
3971
3972 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3973 and "procfs" targets are now called "native" instead.
3974
3975 2014-05-21 Pedro Alves <palves@redhat.com>
3976
3977 * go32-nat.c (go32_open): Delete.
3978 (go32_target): Don't override the to_open method.
3979
3980 2014-05-21 Pedro Alves <palves@redhat.com>
3981
3982 * nto-procfs.c (procfs_can_run): New function.
3983 (nto_procfs_ops): New global.
3984 (init_procfs_targets): New, based on procfs_target. Install
3985 "target native" in addition to "target procfs".
3986 (_initialize_procfs): Call init_procfs_targets instead of adding
3987 the target here.
3988
3989 2014-05-21 Pedro Alves <palves@redhat.com>
3990
3991 * windows-nat.c (windows_target): Don't override to_shortname,
3992 to_longname or to_doc.
3993
3994 2014-05-21 Pedro Alves <palves@redhat.com>
3995
3996 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3997 to_doc.
3998
3999 2014-05-21 Pedro Alves <palves@redhat.com>
4000
4001 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4002 to_shortname, to_longname or to_doc.
4003
4004 2014-05-21 Pedro Alves <palves@redhat.com>
4005
4006 * go32-nat.c (go32_target): Don't override to_shortname,
4007 to_longname or to_doc.
4008
4009 2014-05-21 Pedro Alves <palves@redhat.com>
4010
4011 * inf-child.c (inf_child_open): Remove mention of "child".
4012 (inf_child_target): Rename target to "native" instead of "child".
4013
4014 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4015
4016 * Makefile.in (SFILES): Delete "regset.c".
4017 (COMMON_OBS): Delete "regset.o".
4018 * regset.c: Remove.
4019 * regset.h (regset_alloc): Delete prototype.
4020
4021 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4022
4023 * sparc-linux-tdep.c (sparc32_linux_gregset)
4024 (sparc32_linux_fpregset): New static regset structures.
4025 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4026 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4027 'fpregset' fields.
4028 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4029 (sparc64_linux_fpregset): New static regset structures.
4030 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4031 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4032 New static regset structures.
4033 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4034 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4035 New static regset structures.
4036 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4037 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4038 New static regset structures.
4039 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4040 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4041 New static regset structures.
4042 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4043
4044 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4045
4046 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4047 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4048 register maps ("regmaps") from "*regset" to "*regmap". Do this
4049 for all regmap types and variables.
4050 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4051 (sparc32_linux_supply_core_gregset)
4052 (sparc32_linux_collect_core_gregset)
4053 (sparc32_linux_supply_core_fpregset)
4054 (sparc32_linux_collect_core_fpregset): Likewise.
4055 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4056 (sparc_gregmap, sparc_fpregmap): ... these.
4057 (sparc_supply_gregset, sparc_collect_gregset)
4058 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4059 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4060 (_initialize_sparc_nat): Rename regmaps.
4061 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4062 (sparc_gregmap, sparc_fpregmap): ... these.
4063 (sparc_supply_gregset, sparc_collect_gregset)
4064 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4065 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4066 Rename macros to...
4067 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4068 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4069 Likewise.
4070 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4071 Rename to...
4072 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4073 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4074 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4075 regmaps.
4076 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4077 (sparc32_bsd_fpregset): Rename to...
4078 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4079 (sparc32_bsd_fpregmap): ... these.
4080 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4081 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4082 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4083 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4084 (struct sparc_gregmap, struct sparc_fpregmap)
4085 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4086 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4087 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4088 (sparc32_supply_regset, sparc32_collect_gregset)
4089 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4090 prototypes.
4091 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4092 (sparc64_linux_ptrace_gregmap): ... this.
4093 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4094 (_initialize_sparc64_linux_nat): Rename regmaps.
4095 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4096 (sparc64_linux_core_gregmap): ... this.
4097 (sparc64_linux_supply_core_gregset)
4098 (sparc64_linux_collect_core_gregset)
4099 (sparc64_linux_supply_core_fpregset)
4100 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4101 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4102 (sparc64_sol2_fpregset): Rename to...
4103 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4104 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4105 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4106 regmaps.
4107 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4108 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4109 (sparc64_bsd_fpregset): Rename to...
4110 (struct sparc_gregmap, sparc64_sol2_gregmap)
4111 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4112 (sparc64_bsd_fpregmap): ... these.
4113 (sparc64_supply_gregset, sparc64_collect_gregset)
4114 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4115 prototypes.
4116 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4117 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4118 (sparc64fbsd_gregmap): ... this.
4119 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4120 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4121 Rename regmaps.
4122 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4123 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4124 (sparc64nbsd_collect_fpregset): Likewise.
4125 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4126 (sparc64nbsd_gregmap): ... this.
4127 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4128 regmaps.
4129 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4130 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4131 (sparc64obsd_gregmap): ... this.
4132 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4133 regmaps.
4134 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4135 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4136 (sparc32nbsd_gregmap): ... this.
4137 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4138 regmaps.
4139
4140 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4141
4142 * score-tdep.c (score7_linux_gregset): New static regset
4143 structure.
4144 (score7_linux_regset_from_core_section): Remove dynamic regset
4145 allocation.
4146 (score_gdbarch_init): Drop allocation of tdep structure.
4147 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4148
4149 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4150
4151 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4152 regset structures.
4153 (am33_regset_from_core_section): Remove dynamic regset
4154 allocations.
4155
4156 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4157
4158 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4159 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4160 structures.
4161 (mips_linux_regset_from_core_section): Remove dynamic regset
4162 allocations.
4163 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4164 'gregset64', 'fpregset', and 'fpregset64'.
4165 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4166 deleted tdep fields.
4167
4168 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4169
4170 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4171 regset structures.
4172 (amd64_regset_from_core_section): Remove dynamic regset
4173 allocations.
4174 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4175 structure.
4176 (amd64obsd_regset_from_core_section): Remove dynamic regset
4177 allocation.
4178 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4179 Likewise.
4180 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4181 x86-common regset supply function.
4182 * i386-tdep.c (i386_collect_gregset): Make static.
4183 (i386_gregset): New global regset structure.
4184 (i386_fpregset, i386_xstateregset): New static regset structures.
4185 (i386_regset_from_core_section): Remove dynamic regset
4186 allocations.
4187 (i386_gdbarch_init): Remove initialization of tdep fields
4188 'gregset', 'fpregset', and 'xstateregset'.
4189 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4190 'fpregset', and 'xstateregset'.
4191 (i386_collect_gregset): Remove prototype.
4192 (i386_gregset): New declaration.
4193 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4194 structure.
4195 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4196 allocation.
4197
4198 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4199
4200 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4201 (arm_linux_vfpregset): New static regset structures.
4202 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4203 regset structures.
4204 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4205 and 'vfpregset' fields.
4206
4207 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4210 (aarch64_linux_fpregset): New static regset structures.
4211 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4212 of regset structures.
4213 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4214 'fpregset' fields.
4215
4216 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4217
4218 * regset.h (struct regset): Remove gdbarch field.
4219 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4220 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4221 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4222 Likewise.
4223 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4224 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4225 (ppc32_linux_vsxregset): Likewise.
4226 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4227 via the regcache instead of the regset.
4228 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4229 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4230 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4231 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4232 Likewise.
4233
4234 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4235
4236 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4237 Constify structures.
4238 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4239 (alphanbsd_aout_gregset): Likewise.
4240 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4241 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4242 Likewise.
4243 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4244 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4245 Likewise.
4246 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4247 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4248 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4249 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4250 * m88k-tdep.c (m88k_gregset): Likewise.
4251 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4252 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4253 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4254 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4255 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4256 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4257 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4258 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4259 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4260 Likewise.
4261 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4262 * sh-tdep.h (sh_corefile_gregset): Likewise.
4263 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4264 * vax-tdep.c (vax_gregset): Likewise.
4265
4266 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4267
4268 Fix TLS access for -static -pthread.
4269 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4270 (try_thread_db_load_1): Initialize it.
4271 (thread_db_get_thread_local_address): Call it if LM is zero.
4272 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4273 * target.h (struct target_ops) (to_get_thread_local_address): Add
4274 load_module_addr comment.
4275
4276 2014-05-21 Pedro Alves <palves@redhat.com>
4277
4278 * dcache.c (dcache_read_memory_partial): If reading the cache line
4279 fails, fallback to reading just the memory the caller wanted.
4280
4281 2014-05-20 Doug Evans <dje@google.com>
4282
4283 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4284 instead of get_current_arch.
4285
4286 2014-05-20 Pedro Alves <palves@redhat.com>
4287
4288 * NEWS: Mention that compare-sections now works with all targets.
4289
4290 * remote.c (PACKET_qCRC): New enum value.
4291 (remote_verify_memory): Don't send qCRC if the target has no
4292 execution. Use packet_support/packet_ok. If the target doesn't
4293 support the qCRC packet, fallback to a deep memory copy.
4294 (compare_sections_command): Say "target image" instead of "remote
4295 executable".
4296 (_initialize_remote): Add PACKET_qCRC to the list of config
4297 packets that have no associated command. Extend comment.
4298 * target.c (simple_verify_memory, default_verify_memory): New
4299 function.
4300 * target.h (struct target_ops) <to_verify_memory>: Default to
4301 default_verify_memory.
4302 (simple_verify_memory): New declaration.
4303 * target-delegates.c: Regenerate.
4304
4305 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4306
4307 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4308
4309 2014-05-20 Hui Zhu <hui@codesourcery.com>
4310 Yao Qi <yao@codesourcery.com>
4311
4312 PR backtrace/16558
4313 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4314 and change address of sp and pc.
4315
4316 2014-05-19 Tom Tromey <tromey@redhat.com>
4317
4318 * gdbtypes.c (rank_function): Use XNEWVEC.
4319 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4320
4321 2014-05-19 Doug Evans <dje@google.com>
4322
4323 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4324 build_type_unit_groups and moved closer to only caller. Remove
4325 arguments. All references updated. Remove outdated .gdb_index
4326 comment.
4327 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4328 build_type_psymtabs_1.
4329
4330 2014-05-19 Doug Evans <dje@google.com>
4331
4332 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4333 n_type_unit_groups, all_type_unit_groups. All uses removed.
4334 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4335 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4336 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4337 (add_type_unit_group_to_table): Delete.
4338
4339 2014-05-19 Doug Evans <dje@google.com>
4340
4341 * eval.c (evaluate_subexp_standard): Add some comments.
4342
4343 2014-05-17 Doug Evans <xdje42@gmail.com>
4344
4345 * progspace.c (remove_program_space): Delete, unused.
4346 * progspace.h (remove_program_space): Ditto.
4347
4348 2014-05-17 Doug Evans <xdje42@gmail.com>
4349
4350 * inferior.c (prune_inferiors): Fix comment.
4351 (remove_inferior_command): Call prune_program_spaces.
4352
4353 2014-05-16 Doug Evans <dje@google.com>
4354
4355 New command line option -D.
4356 * NEWS: Mention it.
4357 * main.c (set_gdb_data_directory): New function.
4358 (captured_main): Recognize -D. Flag error for --data-directory "".
4359 Call set_gdb_data_directory.
4360 (print_gdb_help): Print --data-directory, -D.
4361 * main.h (set_gdb_data_directory): Declare.
4362 * top.c (staged_gdb_datadir): New static global.
4363 (set_gdb_datadir): Call set_gdb_data_directory
4364 (show_gdb_datadir): New function.
4365 (init_main): Update init of data-directory parameter.
4366
4367 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4368
4369 Import the "dirfd" gnulib module.
4370 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4371 * gnulib/aclocal.m4: Update.
4372 * gnulib/config.in: Update.
4373 * gnulib/configure: Update.
4374 * gnulib/import/Makefile.am: Update.
4375 * gnulib/import/Makefile.in: Update.
4376 * gnulib/import/dirfd.c: New.
4377 * gnulib/import/m4/dirfd.m4: New.
4378 * gnulib/import/m4/gnulib-cache.m4: Update.
4379 * gnulib/import/m4/gnulib-comp.m4: Update.
4380
4381 2014-05-16 Pierre Muller <muller@sourceware.org>
4382 Yao Qi <yao@codesourcery.com>
4383
4384 * valprint.c (print_wchar): Move the code on checking whether
4385 W is a printable wide char to the default branch of switch
4386 statement below. Call wchar_printable instead of gdb_iswprint.
4387
4388 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4389
4390 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
4391 ldr.w and ldrd instructions.
4392
4393 2014-05-15 Doug Evans <dje@google.com>
4394
4395 * dwarf2read.c (read_structure_type): Delete outdated comments.
4396
4397 2014-05-14 Tom Tromey <tromey@redhat.com>
4398
4399 * macrocmd.c (print_macro_definition): Reindent.
4400
4401 2014-05-13 Doug Evans <xdje42@gmail.com>
4402
4403 * python/py-cmd.c (cmdpy_completer): Add comment.
4404 (completers): Make const.
4405
4406 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4407
4408 * infrun.c (resume): Remove should_resume (unused). Move up
4409 declaration of resume_ptid.
4410
4411 2014-05-13 Tom Tromey <tromey@redhat.com>
4412
4413 * language.h (unop_type_check): Remove.
4414 (binop_type_check): Don't declare.
4415
4416 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4417
4418 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4419 call to regcache_raw_collect.
4420
4421 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4422
4423 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4424 mi_console->quote as the quoting character.
4425
4426 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4427
4428 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4429
4430 2014-04-29 Tom Tromey <tromey@redhat.com>
4431
4432 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4433 "show debug varobj".
4434
4435 2014-05-07 Kyle McMartin <kyle@redhat.com>
4436
4437 Pushed by Joel Brobecker <brobecker@adacore.com>.
4438 * aarch64-tdep.c (aarch64_software_single_step): New function.
4439 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4440 with aarch64_software_single_step.
4441
4442 2014-05-05 Joel Brobecker <brobecker@adacore.com>
4443
4444 GDB 7.7.1 released.
4445
4446 2014-05-05 Keith Seitz <keiths@redhat.com>
4447
4448 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4449 variable or history value is successfully parsed.
4450
4451 2014-05-05 Yao Qi <yao@codesourcery.com>
4452 Pedro Alves <palves@redhat.com>
4453
4454 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4455 address of blocks that intersects the requested range. Trim
4456 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4457 sections.
4458 * ctf.c (ctf_xfer_partial): Likewise.
4459
4460 2014-05-05 Yao Qi <yao@codesourcery.com>
4461
4462 * printcmd.c (display_command): Remove the check to
4463 target_has_execution.
4464
4465 2014-05-03 Mark Kettenis <kettenis@gnu.org>
4466
4467 * ppcobsd-nat.c: Include "obsd-nat.h".
4468 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4469 add_target.
4470 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4471
4472 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4473
4474 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4475 and 16-bit signed and unsigned arguments. Update comment.
4476 (stap_parse_probe_arguments): Extend code to handle such
4477 arguments. Use warning instead of complaint to notify about
4478 unrecognized bitness.
4479
4480 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4481
4482 PR breakpoints/16889
4483 * stap-probe.c (stap_parse_probe_arguments): Simplify
4484 check for non-prefixed probes (i.e., probes whose
4485 arguments do not start with "N@"). Always set the
4486 argument type to a sane value.
4487
4488 2014-05-01 David Taylor <dtaylor@emc.com>
4489
4490 * remote.c (compare_sections_command): Add -r option to compare
4491 all loadable read-only sections.
4492
4493 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4494
4495 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4496 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4497 Update all callers.
4498 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4499 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4500 Remove unused CORE_ADDR argument. Update all callers.
4501
4502 2014-04-29 Pedro Alves <palves@redhat.com>
4503
4504 * remote.c (struct packet_config) <detect>: Extend comment.
4505 (add_packet_config_cmd): Don't set the config's detect or support
4506 fields here.
4507 (init_all_packet_configs): Also initialize the config's 'detect'
4508 field.
4509 (reset_all_packet_configs_support): New function.
4510 (remote_open_1): Call reset_all_packet_configs_support instead of
4511 init_all_packet_configs.
4512 (_initialize_remote): Initialize all packet configs. Assert that
4513 all packets have an associated command, except a few known
4514 outliers.
4515
4516 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4517
4518 * dwarf2read.c (read_subrange_type): Handle dynamic
4519 DW_AT_lower_bound attributes.
4520
4521 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4522
4523 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4524 dynamic bounds before computing its upper bound.
4525 (ada_discrete_type_low_bound): Same as above with the lower bound.
4526
4527 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4528
4529 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4530 range types. Adjust the array handling implementation to
4531 take advantage of this change.
4532 (resolve_dynamic_range): New function, mostly extracted from
4533 resolve_dynamic_bounds.
4534 (resolve_dynamic_array): New function, mostly extracted from
4535 resolve_dynamic_bounds.
4536 (resolve_dynamic_bounds): Delete.
4537 (resolve_dynamic_type): Reimplement. Add handling of
4538 TYPE_CODE_RANGE types.
4539
4540 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4541
4542 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4543 handling of parallel ___XA types.
4544
4545 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4546
4547 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4548 unnecessary second call to static_unwrap_type.
4549
4550 2014-04-27 Hui Zhu <hui@codesourcery.com>
4551
4552 * stack.c (print_frame_info): Call do_gdb_disassembly with
4553 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4554
4555 2014-04-26 Doug Evans <xdje42@gmail.com>
4556
4557 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4558
4559 2014-04-25 Pedro Alves <palves@redhat.com>
4560
4561 PR server/16255
4562 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4563 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4564 and newline from built string.
4565 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4566 (linux_ptrace_attach_fail_reason): ... this.
4567 * linux-nat.c (linux_nat_attach): Adjust to use
4568 linux_ptrace_attach_fail_reason.
4569
4570 2014-04-25 Pedro Alves <palves@redhat.com>
4571
4572 * remote.c (struct remote_state): Remove multi_process_aware,
4573 non_stop_aware, cond_tracepoints, cond_breakpoints,
4574 breakpoint_commands, fast_tracepoints, static_tracepoints,
4575 install_in_trace, disconnected_tracing,
4576 enable_disable_tracepoints, string_tracing, and
4577 augmented_libraries_svr4_read fields.
4578 (remote_multi_process_p): Move further below in the file.
4579 (struct packet_config): Add comments.
4580 (update_packet_config): Delete function.
4581 (show_packet_config_cmd): Use packet_config_support.
4582 (add_packet_config_cmd): Use NULL as set callback.
4583 (packet_ok): "set remote foo-packet"-style commands no longer
4584 change config->supported -- adjust.
4585 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4586 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4587 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4588 (PACKET_QNonStop, PACKET_multiprocess_feature)
4589 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4590 (PACKET_DisconnectedTracing_feature)
4591 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4592 (set_remote_protocol_packet_cmd): Delete function.
4593 (packet_config_support, packet_support): New functions.
4594 (set_remote_protocol_Z_packet_cmd): Don't call
4595 update_packet_config.
4596 (remote_query_attached, remote_pass_signals)
4597 (remote_program_signals, remote_threads_info)
4598 (remote_threads_extra_info, remote_start_remote): Use
4599 packet_support.
4600 (remote_start_remote): Use packet_config_support and
4601 packet_support.
4602 (init_all_packet_configs): Set all packets to unknown support,
4603 instead of calling update_packet_config.
4604 (remote_check_symbols): Use packet_support.
4605 (remote_supported_packet): Unconditionally set the packet config's
4606 support status.
4607 (remote_multi_process_feature, remote_non_stop_feature)
4608 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4609 (remote_breakpoint_commands_feature)
4610 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4611 (remote_install_in_trace_feature)
4612 (remote_disconnected_tracing_feature)
4613 (remote_enable_disable_tracepoint_feature)
4614 (remote_string_tracing_feature)
4615 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4616 (remote_protocol_features): Adjust to use remote_supported_packet
4617 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4618 "ConditionalTracepoints", "ConditionalBreakpoints",
4619 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4620 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4621 "EnableDisableTracepoints", and "tracenz".
4622 (remote_query_supported): Use packet_support.
4623 (remote_open_1): Adjust.
4624 (extended_remote_attach_1): Use packet_support. Switch on the
4625 result of packet_ok instead of checking whether the packet ended
4626 up disabled.
4627 (remote_vcont_resume): Use packet_support.
4628 (remote_resume, remote_stop_ns, fetch_register_using_p)
4629 (remote_prepare_to_store, store_register_using_P)
4630 (check_binary_download, remote_write_bytes): Use packet_support.
4631 (remote_vkill): Use packet_support. Switch on the result of
4632 packet_ok instead of checking whether the packet ended up
4633 disabled.
4634 (extended_remote_supports_disable_randomization): Use
4635 packet_support.
4636 (extended_remote_run): Switch on the result of packet_ok instead
4637 of checking whether the packet ended up disabled.
4638 (remote_insert_breakpoint, remote_remove_breakpoint)
4639 (remote_insert_watchpoint, remote_remove_watchpoint)
4640 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4641 packet_support.
4642 (remote_search_memory): Use packet_config_support.
4643 (remote_get_thread_local_address, remote_get_tib_address)
4644 (remote_hostio_send_command, remote_can_execute_reverse): Use
4645 packet_support.
4646 (remote_supports_cond_tracepoints)
4647 (remote_supports_cond_breakpoints)
4648 (remote_supports_fast_tracepoints)
4649 (remote_supports_static_tracepoints)
4650 (remote_supports_install_in_trace)
4651 (remote_supports_enable_disable_tracepoint)
4652 (remote_supports_string_tracing)
4653 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4654 the packet config says the feature is enabled or disabled.
4655 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4656 (remote_get_trace_status): Use packet_support.
4657 (remote_set_disconnected_tracing): Adjust to check whether the
4658 feature is enabled with packet_support.
4659 (remote_set_trace_buffer_size, remote_use_agent)
4660 (remote_can_use_agent, remote_supports_btrace): Use
4661 packet_support.
4662 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4663 Use packet_config_support.
4664 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4665 the packet config says the feature is enabled or disabled.
4666 (set_range_stepping): Use packet_support.
4667
4668 2014-04-25 Tom Tromey <tromey@redhat.com>
4669
4670 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4671 argument.
4672
4673 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4674
4675 * NEWS: Mention support for C99 variable length arrays.
4676
4677 2014-04-24 Joel Brobecker <brobecker@adacore.com>
4678
4679 * ada-lang.c (standard_exc): Expand introductory comment.
4680
4681 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4682 Walfred Tedeschi <walfred.tedeschi@intel.com>
4683
4684 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4685 AVX512 registers.
4686 (amd64_linux_read_description): Add code to handle AVX512 xstate
4687 mask and return respective tdesc.
4688 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4689 and features/i386/x32-avx512-linux.c.
4690 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4691 (amd64_linux_core_read_description): Add code to handle AVX512
4692 xstate mask and return respective tdesc.
4693 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4694 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4695 calculation.
4696 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4697 (tdesc_amd64_avx512_linux): New prototype.
4698 (tdesc_x32_avx512_linux): Likewise.
4699 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4700 features/i386/x32-avx512.c.
4701 (amd64_ymm_avx512_names): New register names for pseudo
4702 registers YMM16-31.
4703 (amd64_ymmh_avx512_names): New register names for raw registers
4704 YMMH16-31.
4705 (amd64_k_names): New register names for K registers.
4706 (amd64_zmmh_names): New register names for ZMM raw registers.
4707 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4708 (amd64_xmm_avx512_names): New register names for XMM16-31
4709 registers.
4710 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4711 registers.
4712 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4713 if feature is present.
4714 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4715 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4716 (AMD64_NUM_REGS): Adjust to new number of registers.
4717 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4718 registers supplied via XSTATE by AVX512 registers.
4719 (i386_linux_read_description): Add case for AVX512.
4720 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4721 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4722 (i386_linux_core_read_description): Add case for AVX512.
4723 (i386_linux_init_abi): Install supported register note section
4724 for AVX512.
4725 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4726 AVX512.
4727 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4728 registers to be number of zmm7h + 1.
4729 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4730 * i386-tdep.c: Include features/i386/i386-avx512.c.
4731 (i386_zmm_names): Add ZMM pseudo register names array.
4732 (i386_zmmh_names): Add ZMM raw register names array.
4733 (i386_k_names): Add K raw register names array.
4734 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4735 registers. AVX512 has 16 more ZMM registers than there are YMM
4736 registers.
4737 (i386_zmmh_regnum_p): Add function to look up register number of
4738 ZMM raw registers.
4739 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4740 (i386_k_regnum_p): Likewise for K raw registers.
4741 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4742 registers added by AVX512.
4743 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4744 registers added by AVX512.
4745 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4746 added by AVX512.
4747 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4748 (i386_pseudo_register_name): Add ZMM pseudo registers.
4749 (i386_zmm_type): Construct and return vector registers type for ZMM
4750 registers.
4751 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4752 ZMM0-31 pseudo registers and K registers.
4753 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4754 and YMM16-31 registers from register cache.
4755 (i386_pseudo_register_write): Add code to write K, ZMM and
4756 YMM16-31 registers.
4757 (i386_register_reggroup_p): Add code to include/exclude AVX512
4758 registers in/from respective register groups.
4759 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4760 registers if feature is present in xcr0.
4761 (i386_gdbarch_init): Add code to initialize AVX512 feature
4762 variables in tdep structure, wire in pseudo registers and call
4763 initialize_tdesc_i386_avx512.
4764 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4765 variables.
4766 (i386_regnum): Add AVX512 registers.
4767 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4768 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4769 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4770 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4771 512 bits wide.
4772 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4773 (i386_ymm_avx512_regnum_p): Likewise.
4774 (i386_k_regnum_p): Likewise.
4775 (i386_zmm_regnum_p): Likewise.
4776 (i386_zmmh_regnum_p): Likewise.
4777 * i387-tdep.c : Update year in copyright notice.
4778 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4779 XSAVE buffer.
4780 (XSAVE_YMM_AVX512_ADDR): New macro.
4781 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4782 XSAVE buffer.
4783 (XSAVE_XMM_AVX512_ADDR): New macro.
4784 (xsave_avx512_k_offset): New table for K register offsets in
4785 XSAVE buffer.
4786 (XSAVE_AVX512_K_ADDR): New macro.
4787 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4788 in XSAVE buffer.
4789 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4790 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4791 buffer.
4792 (i387_collect_xsave): Add code to collect AVX512 registers from
4793 XSAVE buffer.
4794 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4795 of XMM16-31 registers.
4796 (I387_NUM_K_REGS): New define for number of K registers.
4797 (I387_K0_REGNUM): New define for K0 register number.
4798 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4799 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4800 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4801 registers.
4802 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4803 (I387_XMM16_REGNUM): New define for XMM16 register number.
4804 (I387_YMM0_REGNUM): New define for YMM0 register number.
4805 (I387_KEND_REGNUM): New define for last K register number.
4806 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4807 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4808 number.
4809 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4810 number.
4811 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4812 size.
4813 * features/Makefile: Add AVX512 related files.
4814 * features/i386/32bit-avx512.xml: New file.
4815 * features/i386/64bit-avx512.xml: Likewise.
4816 * features/i386/amd64-avx512-linux.c: Likewise.
4817 * features/i386/amd64-avx512-linux.xml: Likewise.
4818 * features/i386/amd64-avx512.c: Likewise.
4819 * features/i386/amd64-avx512.xml: Likewise.
4820 * features/i386/i386-avx512-linux.c: Likewise.
4821 * features/i386/i386-avx512-linux.xml: Likewise.
4822 * features/i386/i386-avx512.c: Likewise.
4823 * features/i386/i386-avx512.xml: Likewise.
4824 * features/i386/x32-avx512-linux.c: Likewise.
4825 * features/i386/x32-avx512-linux.xml: Likewise.
4826 * features/i386/x32-avx512.c: Likewise.
4827 * features/i386/x32-avx512.xml: Likewise.
4828 * regformats/i386/amd64-avx512-linux.dat: New file.
4829 * regformats/i386/amd64-avx512.dat: Likewise.
4830 * regformats/i386/i386-avx512-linux.dat: Likewise.
4831 * regformats/i386/i386-avx512.dat: Likewise.
4832 * regformats/i386/x32-avx512-linux.dat: Likewise.
4833 * regformats/i386/x32-avx512.dat: Likewise.
4834 * NEWS: Add note about new support for AVX512.
4835
4836
4837 2014-04-23 Pedro Alves <palves@redhat.com>
4838
4839 * breakpoint.c (insert_bp_location): Tolerate errors if the
4840 breakpoint is set in a user-loaded objfile.
4841 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4842 location is marked shlib_disabled. If the breakpoint is set in a
4843 user-loaded objfile is a GDB-side memory breakpoint, validate it
4844 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4845 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4846 flag.
4847 * mem-break.c (memory_validate_breakpoint): New function.
4848 * objfiles.c (userloaded_objfile_contains_address_p): New
4849 function.
4850 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4851 * target.h (memory_validate_breakpoint): New declaration.
4852
4853 2014-04-23 Pedro Alves <palves@redhat.com>
4854
4855 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4856 the breakpoint is set in a shared library, only suppress
4857 errors for software breakpoints, not hardware breakpoints.
4858
4859 2014-04-22 Pedro Alves <palves@redhat.com>
4860
4861 * infrun.c (schedlock_applies): New function, factored out from
4862 find_thread_needs_step_over.
4863 (find_thread_needs_step_over): Use it.
4864 (switch_back_to_stepped_thread): Always clear trap_expected if the
4865 step over is finished. Return early if scheduler locking applies.
4866 Look for the stepping thread and a potential step-over thread with
4867 a single loop.
4868 (currently_stepping_or_nexting_callback): Delete.
4869
4870 2014-04-22 Nick Clifton <nickc@redhat.com>
4871
4872 * NEWS: Mention that ARM sim now supports tracing.
4873
4874 2014-04-22 Yao Qi <yao@codesourcery.com>
4875
4876 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4877 to ...
4878 * tracefile.c (tracefile_fetch_registers): ... it. New
4879 function.
4880 * tracefile.h (tracefile_fetch_registers): Declare.
4881 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4882 tracefile_fetch_registers.
4883
4884 2014-04-19 Eli Zaretskii <eliz@gnu.org>
4885
4886 PR gdb/14018
4887 * windows-nat.c (thread_rec): Don't display a warning when
4888 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4889 fails for any reason, set th->suspended to -1, so that we don't
4890 try to resume such a thread. Also, don't return NULL in these
4891 cases, to avoid completely ruin the session due to "PC register is
4892 not available" error.
4893 (do_windows_fetch_inferior_registers): Check errors in
4894 GetThreadContext call.
4895 (windows_continue): Accept an additional argument KILLED; if not
4896 zero, ignore errors in the SetThreadContext call, since the
4897 inferior was killed and is shutting down.
4898 (windows_resume, get_windows_debug_event)
4899 (windows_create_inferior, windows_mourn_inferior)
4900 (windows_kill_inferior): All callers of windows_continue changed
4901 to adjust to its new calling sequence.
4902
4903 2014-04-19 Yao Qi <yao@codesourcery.com>
4904
4905 * ctf.c (ctf_open): Call post_create_inferior.
4906
4907 2014-04-19 Yao Qi <yao@codesourcery.com>
4908
4909 * ctf.c (handle_id): New static variable.
4910 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4911 value. Get the declaration of event "register" and get length
4912 of field "contents".
4913
4914 2014-04-19 Yao Qi <yao@codesourcery.com>
4915
4916 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4917
4918 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4919
4920 * valops.c (oload_method_static): Remove unnecessary argument
4921 METHOD. Update all callers.
4922
4923 2014-04-18 Pedro alves <palves@redhat.com>
4924 Tom Tromey <tromey@redhat.com>
4925
4926 PR backtrace/15558
4927 * frame.c (get_prev_frame_1): Rename to ...
4928 (get_prev_frame_always): ... this, and make extern. Adjust.
4929 (skip_artificial_frames): Use get_prev_frame_always.
4930 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4931 (get_frame_unwind_stop_reason): Adjust to rename.
4932 * frame.h (get_prev_frame_always): Declare.
4933 * inline-frame.c: Include frame.h.
4934 (inline_frame_this_id): Use get_prev_frame_always.
4935
4936 2014-04-18 Tristan Gingold <gingold@adacore.com>
4937
4938 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4939 code by using bfd_mach_o_get_base_address.
4940
4941 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4942
4943 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4944 (spu_ax_pseudo_register_collect): New function.
4945 (spu_ax_pseudo_register_push_stack): Likewise.
4946 (spu_dwarf_reg_to_regnum): Likewise.
4947 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4948
4949 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4950
4951 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4952 Replace FRAME argument with FRAME_ID.
4953 * gdbarch.c, gdbarch.h: Regenerate.
4954 * findvar.c (default_value_from_register): Add GDBARCH argument;
4955 replace FRAME by FRAME_ID. No longer call get_frame_id.
4956 (value_from_register): Update call to gdbarch_value_from_register.
4957 * value.h (default_value_from_register): Update prototype.
4958 * s390-linux-tdep.c (s390_value_from_register): Update interface
4959 and call to default_value_from_register.
4960 * spu-tdep.c (spu_value_from_register): Likewise.
4961
4962 * findvar.c (address_from_register): Remove TYPE argument.
4963 Do not call value_from_register; use gdbarch_value_from_register
4964 with null_frame_id instead.
4965 * value.h (address_from_register): Update prototype.
4966 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4967 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4968 address_from_register interface change.
4969
4970 2014-04-17 Yao Qi <yao@codesourcery.com>
4971
4972 * gdbtypes.h: Update comments to link to types and macros'
4973 definitions.
4974
4975 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4976
4977 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4978
4979 2014-04-16 Keith Seitz <keiths@redhat.com>
4980
4981 PR gdb/15827
4982 * dwarf2read.c (skip_one_die): Check that all relative-offset
4983 sibling DIEs fall within range of the current reader's buffer.
4984 (read_partial_die): Likewise.
4985
4986 2014-04-16 Keith Seitz <keiths@redhat.com>
4987
4988 PR c++/16597
4989 * cp-namespace.c (lookup_symbol_file): If the type name of
4990 `this' is NULL, return immediately.
4991
4992 2014-04-14 Keith Seitz <keiths@redhat.com>
4993
4994 PR c++/16253
4995 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4996 from symbol_matches_domain in symtab.c. All local callers
4997 of symbol_matches_domain updated.
4998 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4999 search STRUCT_DOMAIN.
5000 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5001 independently. standard_lookup will do that automatically.
5002 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5003 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5004 (cp_lookup_symbol_in_namespace): Likewise.
5005 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5006 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5007 may return a STRUCT_DOMAIN match.
5008 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5009 * cp-support.c: Include language.h.
5010 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5011 VAR_DOMAIN.
5012 * psymtab.c (match_partial_symbol): Compare the requested
5013 domain with the symbol's domain directly.
5014 (lookup_partial_symbol): Likewise.
5015 * symtab.c (lookup_symbol_in_language): Explain when/why
5016 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5017 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5018 appropriate languages.
5019 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5020 and moved to ada-lang.c
5021 (lookup_block_symbol): Explain that this function only returns
5022 symbol matching the requested DOMAIN.
5023 Compare the requested domain with the symbol's domain directly.
5024 (iterate_over_symbols): Compare the requested domain with the
5025 symbol's domain directly.
5026 * symtab.h (symbol_matches_domain): Remove.
5027
5028 2014-04-14 Tom Tromey <tromey@redhat.com>
5029
5030 PR c++/15246:
5031 * c-exp.y (type_aggregate_p): New function.
5032 (qualified_name, classify_inner_name): Use it.
5033 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5034 and TYPE_TARGET_TYPE of an enum type.
5035 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5036 an enum type.
5037 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5038 handle TYPE_DECLARED_CLASS.
5039 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5040 types.
5041 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5042 * valops.c (enum_constant_from_type): New function.
5043 (value_aggregate_elt): Use it.
5044 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5045 TYPE_CODE_ENUM.
5046
5047 2014-04-14 Tom Tromey <tromey@redhat.com>
5048
5049 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5050 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5051 const.
5052 * value.h (value_aggregate_elt): Update.
5053
5054 2014-04-14 Tom Tromey <tromey@redhat.com>
5055
5056 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5057
5058 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5059
5060 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5061 (evaluate_subexp_standard): Pass noside argument.
5062 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5063 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5064 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5065 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5066 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5067
5068 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5069
5070 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5071 points to a constant blob.
5072
5073 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5074
5075 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5076 property and store it as the high bound and flag the range accordingly.
5077 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5078 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5079 * gdbtypes.h (enum range_flags): New enum.
5080 (struct range_bounds): Add flags member.
5081
5082 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5083
5084 * c-typeprint.c (c_type_print_varspec_suffix): Added
5085 check for not yet resolved high bound. If unresolved, print
5086 "variable length" string to the console instead of random
5087 length.
5088
5089 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5090
5091 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5092 value.
5093 (ada_template_to_fixed_record_type_1): Likewise.
5094 (ada_to_fixed_type_1): Likewise.
5095 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5096 (cp_print_value): Likewise.
5097 * d-valprint.c (dynamic_array_type): Likewise.
5098 * findvar.c (address_of_variable): Likewise.
5099 * jv-valprint.c (java_value_print): Likewise.
5100 * valops.c (value_ind): Likewise.
5101 * value.c (coerce_ref): Likewise.
5102
5103 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5104
5105 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5106 value and retrieve the dynamic type size.
5107
5108 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5109
5110 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5111 passed to sizeof is dynamic evaluate the argument to compute the length.
5112
5113 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5114 Joel Brobecker <brobecker@adacore.com>
5115
5116 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5117 (dwarf2_evaluate_property): New function.
5118 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5119 * dwarf2read.c (attr_to_dynamic_prop): New function.
5120 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5121 attribute.
5122 * gdbtypes.c: Include dwarf2loc.h.
5123 (is_dynamic_type): New function.
5124 (resolve_dynamic_type): New function.
5125 (resolve_dynamic_bounds): New function.
5126 (get_type_length): New function.
5127 (check_typedef): Use get_type_length to compute type length.
5128 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5129 (TYPE_LOW_BOUND_KIND): New macro.
5130 (is_dynamic_type): New function prototype.
5131 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5132 to resolve dynamic properties of the type. Update comment.
5133 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5134
5135 2014-04-14 Richard Henderson <rth@redhat.com>
5136
5137 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5138
5139 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5140 Doug Evans <xdje42@gmail.com>
5141
5142 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5143 dereference TYPE_CODE_REF values.
5144
5145 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5146
5147 Revert the following changes due to regressions:
5148
5149 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5150 (dwarf2_evaluate_property): New function.
5151 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5152 * dwarf2read.c (attr_to_dynamic_prop): New function.
5153 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5154 attribute.
5155 * gdbtypes.c: Include dwarf2loc.h.
5156 (is_dynamic_type): New function.
5157 (resolve_dynamic_type): New function.
5158 (resolve_dynamic_bounds): New function.
5159 (get_type_length): New function.
5160 (check_typedef): Use get_type_length to compute type length.
5161 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5162 (TYPE_LOW_BOUND_KIND): New macro.
5163 (is_dynamic_type): New function prototype.
5164 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5165 to resolve dynamic properties of the type. Update comment.
5166 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5167
5168 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5169 passed to sizeof is dynamic evaluate the argument to compute the length.
5170
5171 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5172 value and retrieve the dynamic type size.
5173
5174 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5175 (ada_template_to_fixed_record_type_1): Likewise.
5176 (ada_to_fixed_type_1): Likewise.
5177 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5178 (cp_print_value): Likewise.
5179 * d-valprint.c (dynamic_array_type): Likewise.
5180 * eval.c (evaluate_subexp_with_coercion): Likewise.
5181 * findvar.c (address_of_variable): Likewise.
5182 * jv-valprint.c (java_value_print): Likewise.
5183 * valops.c (value_ind): Likewise.
5184 * value.c (coerce_ref): Likewise.
5185
5186 * c-typeprint.c (c_type_print_varspec_suffix): Added
5187 check for not yet resolved high bound. If unresolved, print
5188 "variable length" string to the console instead of random
5189 length.
5190
5191 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5192 property and store it as the high bound and flag the range accordingly.
5193 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5194 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5195 * gdbtypes.h (enum range_flags): New enum.
5196 (struct range_bounds): Add flags member.
5197
5198 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5199 points to a constant blob.
5200
5201 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5202 (evaluate_subexp_standard): Pass noside argument.
5203 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5204 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5205 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5206 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5207 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5208
5209 2014-04-11 Keith Seitz <keiths@redhat.com>
5210
5211 PR c++/16675
5212 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5213 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5214 reference types.
5215
5216 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5217
5218 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5219 (evaluate_subexp_standard): Pass noside argument.
5220 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5221 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5222 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5223 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5224 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5225
5226 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5227
5228 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5229 points to a constant blob.
5230
5231 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5232
5233 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5234 property and store it as the high bound and flag the range accordingly.
5235 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5236 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5237 * gdbtypes.h (enum range_flags): New enum.
5238 (struct range_bounds): Add flags member.
5239
5240 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5241
5242 * c-typeprint.c (c_type_print_varspec_suffix): Added
5243 check for not yet resolved high bound. If unresolved, print
5244 "variable length" string to the console instead of random
5245 length.
5246
5247 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5248
5249 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5250 (ada_template_to_fixed_record_type_1): Likewise.
5251 (ada_to_fixed_type_1): Likewise.
5252 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5253 (cp_print_value): Likewise.
5254 * d-valprint.c (dynamic_array_type): Likewise.
5255 * eval.c (evaluate_subexp_with_coercion): Likewise.
5256 * findvar.c (address_of_variable): Likewise.
5257 * jv-valprint.c (java_value_print): Likewise.
5258 * valops.c (value_ind): Likewise.
5259 * value.c (coerce_ref): Likewise.
5260
5261 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5262
5263 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5264 value and retrieve the dynamic type size.
5265
5266 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5267
5268 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5269 passed to sizeof is dynamic evaluate the argument to compute the length.
5270
5271 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5272
5273 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5274 (dwarf2_evaluate_property): New function.
5275 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5276 * dwarf2read.c (attr_to_dynamic_prop): New function.
5277 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5278 attribute.
5279 * gdbtypes.c: Include dwarf2loc.h.
5280 (is_dynamic_type): New function.
5281 (resolve_dynamic_type): New function.
5282 (resolve_dynamic_bounds): New function.
5283 (get_type_length): New function.
5284 (check_typedef): Use get_type_length to compute type length.
5285 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5286 (TYPE_LOW_BOUND_KIND): New macro.
5287 (is_dynamic_type): New function prototype.
5288 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5289 to resolve dynamic properties of the type. Update comment.
5290 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5291
5292 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5293
5294 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5295 declaring high/low bounds and change uses accordingly. Call
5296 create_range_type instead of create_static_range_type.
5297 * gdbtypes.c (create_range_type): New function.
5298 (create_range_type): Convert bounds into struct bound_prop and pass
5299 them to create_range_type.
5300 * gdbtypes.h (struct bound_prop): New struct.
5301 (create_range_type): New function prototype.
5302 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5303 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5304 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5305 part of the bound.
5306 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5307
5308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5309
5310 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5311 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5312 * ada-lang.c: All uses of create_range_type updated.
5313 * coffread.c: All uses of create_range_type updated.
5314 * dwarf2read.c: All uses of create_range_type updated.
5315 * f-exp.y: All uses of create_range_type updated.
5316 * m2-valprint.c: All uses of create_range_type updated.
5317 * mdebugread.c: All uses of create_range_type updated.
5318 * stabsread.c: All uses of create_range_type updated.
5319 * valops.c: All uses of create_range_type updated.
5320 * valprint.c: All uses of create_range_type updated.
5321
5322 2014-04-10 Pedro Alves <palves@redhat.com>
5323
5324 * breakpoint.c (single_step_breakpoints)
5325 (single_step_gdbarch): Move up in the file.
5326 (one_breakpoint_xfer_memory): New function, factored out from ...
5327 (breakpoint_xfer_memory): ... here. Also process single-step
5328 breakpoints.
5329
5330 2014-04-09 Tristan Gingold <gingold@adacore.com>
5331
5332 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5333 comments.
5334 (darwin_decode_exception_message): Free port only after use.
5335
5336 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5337
5338 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5339 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5340 when setting the size of call_length.
5341
5342 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5343
5344 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5345 dereference TYPE_CODE_REF values.
5346
5347 2014-04-07 Joel Brobecker <brobecker@adacore.com>
5348
5349 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5350 end of warning message.
5351
5352 2014-04-03 Doug Evans <dje@google.com>
5353
5354 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5355 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5356
5357 2014-04-02 Alan Modra <amodra@gmail.com>
5358
5359 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5360 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5361 (struct symbol_file_add_from_memory_args): Add size field.
5362 (find_vdso_size): New function.
5363 (add_vsyscall_page): Attempt to find vdso size.
5364
5365 2014-04-01 Doug Evans <dje@google.com>
5366
5367 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5368
5369 2014-04-01 Tristan Gingold <gingold@adacore.com>
5370
5371 * darwin-nat.c (darwin_encode_reply): Add prototype.
5372 (darwin_decode_exception_message): Reply to unknown inferiors.
5373 (darwin_decode_message): Handle message by id. Ignore message
5374 to unknown inferior.
5375 (darwin_wait): Discard unknown messages, add debug trace.
5376
5377 2014-03-31 Doug Evans <dje@google.com>
5378
5379 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5380 comp_dir_string.
5381
5382 2014-03-31 Doug Evans <dje@google.com>
5383
5384 New option "set print symbol-loading".
5385 * NEWS: Mention it.
5386 * solib.c (solib_read_symbols): Only print symbol loading messages
5387 if requested.
5388 (solib_add): If symbol loading is in "brief" mode, notify user
5389 symbols are being loaded.
5390 (reload_shared_libraries_1): Ditto.
5391 * symfile.c (print_symbol_loading_off): New static global.
5392 (print_symbol_loading_brief): New static global.
5393 (print_symbol_loading_full): New static global.
5394 (print_symbol_loading_enums): New static global.
5395 (print_symbol_loading): New static global.
5396 (print_symbol_loading_p): New function.
5397 (symbol_file_add_with_addrs): Only print symbol loading messages
5398 if requested.
5399 (_initialize_symfile): Register "print symbol-loading" set/show
5400 command.
5401 * symfile.h (print_symbol_loading_p): Declare.
5402
5403 2014-03-30 Doug Evans <xdje42@gmail.com>
5404
5405 * infrun.c (set_last_target_status): New function.
5406 (handle_inferior_event): Call it.
5407
5408 2014-03-30 Doug Evans <xdje42@gmail.com>
5409
5410 * inferior.h (enum stop_kind): Improve comment.
5411
5412 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5413
5414 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5415 a reference, strip the reference layer before calling
5416 the lang_ops value_has_mutated callback.
5417
5418 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5419
5420 Remove some globals from our parser.
5421 * language.c (unk_lang_parser): Add "struct parser_state"
5422 argument.
5423 * language.h (struct language_defn) <la_parser>: Likewise.
5424 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5425 (initialize_expout): Add "struct parser_state" argument.
5426 Rewrite function to use the parser state.
5427 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5428 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5429 write_exp_elt_longcst, write_exp_elt_dblcst,
5430 write_exp_elt_decfloatcst, write_exp_elt_type,
5431 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5432 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5433 write_dollar_variable): Likewise.
5434 (parse_exp_in_context_1): Use parser state.
5435 (insert_type_address_space): Add "struct parser_state" argument.
5436 Use parser state.
5437 (increase_expout_size): New function.
5438 * parser-defs.h: Forward declare "struct language_defn" and
5439 "struct parser_state".
5440 (expout, expout_size, expout_ptr): Remove extern declarations.
5441 (parse_gdbarch, parse_language): Rewrite macro declarations to
5442 accept the parser state.
5443 (struct parser_state): New struct.
5444 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5445 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5446 write_exp_elt_decfloatcst, write_exp_elt_type,
5447 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5448 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5449 write_exp_msymbol, write_dollar_variable,
5450 mark_struct_expression, insert_type_address_space): Add "struct
5451 parser_state" argument.
5452 (increase_expout_size): New function.
5453 * utils.c (do_clear_parser_state): New function.
5454 (make_cleanup_clear_parser_state): Likewise.
5455 * utils.h (make_cleanup_clear_parser_state): New function
5456 prototype.
5457 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5458 Update calls to write_exp* in order to pass the parser state.
5459 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5460 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5461 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5462 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5463 * stap-probe.c (stap_parse_register_operand): Likewise.
5464 (stap_parse_single_operand): Likewise.
5465 (stap_parse_argument_1): Likewise.
5466 (stap_parse_argument): Use parser state.
5467 * stap-probe.h: Include "parser-defs.h".
5468 (struct stap_parse_info) <pstate>: New field.
5469 * c-exp.y (parse_type): Rewrite to use parser state.
5470 (yyparse): Redefine to c_parse_internal.
5471 (pstate): New global variable.
5472 (parse_number): Add "struct parser_state" argument.
5473 (write_destructor_name): Likewise.
5474 (type_exp): Update calls to write_exp* and similars in order to
5475 use parser state.
5476 (exp1, exp, variable, qualified_name, space_identifier,
5477 typename, typebase): Likewise.
5478 (write_destructor_name, parse_number, lex_one_token,
5479 classify_name, classify_inner_name, c_parse): Add "struct
5480 parser_state" argument. Update function to use parser state.
5481 * c-lang.h: Forward declare "struct parser_state".
5482 (c_parse): Add "struct parser_state" argument.
5483 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5484 (yyparse): Redefine macro to ada_parse_internal.
5485 (pstate): New variable.
5486 (write_int, write_object_renaming, write_var_or_type,
5487 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5488 type_int, type_long, type_long_long, type_float, type_double,
5489 type_long_double, type_char, type_boolean, type_system_address):
5490 Add "struct parser_state" argument.
5491 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5492 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5493 var_or_type, aggregate, aggregate_component_list,
5494 positional_list, others, component_group,
5495 component_associations): Update calls to write_exp* and similar
5496 functions in order to use parser state.
5497 (ada_parse, write_var_from_sym, write_int,
5498 write_exp_op_with_string, write_object_renaming,
5499 find_primitive_type, write_selectors, write_ambiguous_var,
5500 write_var_or_type, write_name_assoc, type_int, type_long,
5501 type_long_long, type_float, type_double, type_long_double,
5502 type_char, type_boolean, type_system_address): Add "struct
5503 parser_state" argument. Adjust function to use parser state.
5504 * ada-lang.c (parse): Likewise.
5505 * ada-lang.h: Forward declare "struct parser_state".
5506 (ada_parse): Add "struct parser_state" argument.
5507 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5508 calls to both functions.
5509 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5510 parser state.
5511 (yyparse): Redefine macro to f_parse_internal.
5512 (pstate): New variable.
5513 (parse_number): Add "struct parser_state" argument.
5514 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5515 and similars in order to use parser state.
5516 (parse_number): Adjust code to use parser state.
5517 (yylex): Likewise.
5518 (f_parse): New function.
5519 * f-lang.h: Forward declare "struct parser_state".
5520 (f_parse): Add "struct parser_state" argument.
5521 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5522 parser state.
5523 (yyparse): Redefine macro for java_parse_internal.
5524 (pstate): New variable.
5525 (push_expression_name, push_expression_name, insert_exp): Add
5526 "struct parser_state" argument.
5527 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5528 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5529 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5530 PostIncrementExpression, PostDecrementExpression,
5531 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5532 UnaryExpressionNotPlusMinus, CastExpression,
5533 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5534 RelationalExpression, EqualityExpression, AndExpression,
5535 ExclusiveOrExpression, InclusiveOrExpression,
5536 ConditionalAndExpression, ConditionalOrExpression,
5537 ConditionalExpression, Assignment, LeftHandSide): Update
5538 calls to write_exp* and similars in order to use parser state.
5539 (parse_number): Ajust code to use parser state.
5540 (yylex): Likewise.
5541 (java_parse): New function.
5542 (push_variable): Add "struct parser_state" argument. Adjust
5543 code to user parser state.
5544 (push_fieldnames, push_qualified_expression_name,
5545 push_expression_name, insert_exp): Likewise.
5546 * jv-lang.h: Forward declare "struct parser_state".
5547 (java_parse): Add "struct parser_state" argument.
5548 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5549 parser state.
5550 (yyparse): Redefine macro to m2_parse_internal.
5551 (pstate): New variable.
5552 (type_exp, exp, fblock, variable, type): Update calls to
5553 write_exp* and similars to use parser state.
5554 (yylex): Likewise.
5555 (m2_parse): New function.
5556 * m2-lang.h: Forward declare "struct parser_state".
5557 (m2_parse): Add "struct parser_state" argument.
5558 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5559 * objc-lang.h: Forward declare "struct parser_state".
5560 (end_msglist): Add "struct parser_state" argument.
5561 * p-exp.y (parse_type): Rewrite macro to use parser state.
5562 (yyparse): Redefine macro to pascal_parse_internal.
5563 (pstate): New variable.
5564 (parse_number): Add "struct parser_state" argument.
5565 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5566 write_exp* and similars in order to use parser state.
5567 (parse_number, yylex): Adjust code to use parser state.
5568 (pascal_parse): New function.
5569 * p-lang.h: Forward declare "struct parser_state".
5570 (pascal_parse): Add "struct parser_state" argument.
5571 * go-exp.y (parse_type): Rewrite macro to use parser state.
5572 (yyparse): Redefine macro to go_parse_internal.
5573 (pstate): New variable.
5574 (parse_number): Add "struct parser_state" argument.
5575 (type_exp, exp1, exp, variable, type): Update calls to
5576 write_exp* and similars in order to use parser state.
5577 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5578 to use parser state.
5579 (go_parse): Likewise.
5580 * go-lang.h: Forward declare "struct parser_state".
5581 (go_parse): Add "struct parser_state" argument.
5582
5583 2014-03-27 Doug Evans <dje@google.com>
5584
5585 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5586
5587 2014-03-27 Doug Evans <dje@google.com>
5588
5589 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5590 Remove argument abbrev_section. All callers updated.
5591
5592 2014-03-27 Doug Evans <dje@google.com>
5593
5594 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5595 addr_base, ranges_base.
5596
5597 2014-03-26 Keith Seitz <keiths@redhat.com>
5598
5599 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5600 types, not VAR_DOMAIN.
5601
5602 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5603
5604 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5605 "ra" registers.
5606 * features/nios2-linux.c: Regenerated.
5607 * features/nios2.c: Regenerated.
5608
5609 2014-03-25 Pedro Alves <palves@redhat.com>
5610
5611 * cli/cli-script.c (script_from_file): Force the interpreter to
5612 sync mode.
5613
5614 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5615
5616 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5617 small stack allocation.
5618
5619 2014-03-24 Tristan Gingold <gingold@adacore.com>
5620
5621 * darwin-nat.c (exc_server): Remove unused prototype.
5622 (darwin_dump_message): Correctly display data on x86_64.
5623 (darwin_encode_reply): Fix style.
5624 Add comments and fix indentation.
5625
5626 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5627
5628 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5629
5630 2014-03-22 Doug Evans <xdje42@gmail.com>
5631
5632 * infcmd.c: Whitespace fixes.
5633 (interrupt_command): Merge two function comments into one.
5634
5635 2014-03-22 Doug Evans <xdje42@gmail.com>
5636
5637 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5638 All uses updated.
5639
5640 2014-03-22 Yao Qi <yao@codesourcery.com>
5641
5642 * remote.c (target_read_live_memory): Remove.
5643 (memory_xfer_live_readonly_partial): Rename it to
5644 remote_xfer_live_readonly_partial. Remove argument 'object'.
5645 All callers updated. Call remote_read_bytes_1
5646 instead of target_read_live_memory.
5647 * tracepoint.c (set_traceframe_number): Remove.
5648 (make_cleanup_restore_traceframe_number): Likewise .
5649 * tracepoint.h (set_traceframe_number): Remove declaration.
5650 (make_cleanup_restore_traceframe_number): Likewise.
5651
5652 2014-03-22 Yao Qi <yao@codesourcery.com>
5653
5654 * remote.c (remote_read_bytes): Move code on reading from the
5655 remote stub to ...
5656 (remote_read_bytes_1): ... here. New function.
5657
5658 2014-03-22 Yao Qi <yao@codesourcery.com>
5659
5660 * ctf.c (ctf_xfer_partial): Check the return value of
5661 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5662 return TARGET_XFER_UNAVAILABLE.
5663 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5664 * target.c (target_read_live_memory): Move it to remote.c.
5665 (memory_xfer_live_readonly_partial): Likewise.
5666 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5667 * remote.c (target_read_live_memory): Moved from target.c.
5668 (memory_xfer_live_readonly_partial): Likewise.
5669 (remote_read_bytes): Factored out from
5670 memory_xfer_partial_1.
5671
5672 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5673
5674 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5675 NULL pointer.
5676
5677 2014-03-21 Pedro Alves <palves@redhat.com>
5678
5679 * infrun.c (normal_stop): Extend comment.
5680
5681 2014-03-21 Hui Zhu <hui@codesourcery.com>
5682 Pedro Alves <palves@redhat.com>
5683
5684 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5685 static buffer.
5686 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5687 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5688 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5689
5690 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5691
5692 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5693 `z' formatted output modifier.
5694
5695 2014-03-20 Tom Tromey <tromey@redhat.com>
5696 Sergio Durigan Junior <sergiodj@redhat.com>
5697
5698 * probe.c (parse_probes): Turn assert into an ordinary error.
5699 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5700 exceptions when parsing probes. Rearrange the code for clarity.
5701
5702 2014-03-20 Tom Tromey <tromey@redhat.com>
5703
5704 PR gdb/14135
5705 * top.c (execute_command): Only dispatch events if the command
5706 started the target.
5707
5708 2014-03-20 Tom Tromey <tromey@redhat.com>
5709
5710 PR cli/15718
5711 * infcall.c: Include event-top.h.
5712 (run_inferior_call): Call async_disable_stdin if needed.
5713
5714 2014-03-20 Pedro Alves <palves@redhat.com>
5715
5716 * infrun.c (prepare_to_proceed): Delete.
5717 (thread_still_needs_step_over): New function.
5718 (find_thread_needs_step_over): New function.
5719 (proceed): If the current thread needs a step-over, set its
5720 steping_over_breakpoint flag. Adjust to use
5721 find_thread_needs_step_over instead of prepare_to_proceed.
5722 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5723 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5724 breakpoint.
5725 (switch_back_to_stepped_thread): Step over breakpoints of all
5726 threads not the stepping thread, before switching back to the
5727 stepping thread.
5728
5729 2014-03-20 Pedro Alves <palves@redhat.com>
5730
5731 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5732 extern.
5733 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5734 * infrun.c (saved_singlestep_ptid)
5735 (stepping_past_singlestep_breakpoint): Delete.
5736 (resume): Remove stepping_past_singlestep_breakpoint handling.
5737 (proceed): Store the prev_pc of the stepping thread too.
5738 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5739 singlestep_pc.
5740 (enum infwait_states): Delete infwait_thread_hop_state.
5741 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5742 field.
5743 (handle_inferior_event): Adjust.
5744 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5745 handling and the thread-hop code. Before removing single-step
5746 breakpoints, check whether the thread hit a single-step breakpoint
5747 of another thread. If it did, the trap is not a random signal.
5748 (switch_back_to_stepped_thread): If the event thread hit a
5749 single-step breakpoint, unblock it before switching to the
5750 stepping thread. Handle the case of the stepped thread having
5751 advanced already.
5752 (keep_going): Handle the case of the current thread moving past a
5753 single-step breakpoint.
5754
5755 2014-03-20 Pedro Alves <palves@redhat.com>
5756
5757 PR breakpoints/7143
5758 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5759 are being stepped over.
5760 (breakpoint_address_match): Make extern.
5761 * breakpoint.h (breakpoint_address_match): New declaration.
5762 * inferior.h (stepping_past_instruction_at): New declaration.
5763 * infrun.c (struct step_over_info): New type.
5764 (step_over_info): New global.
5765 (set_step_over_info, clear_step_over_info)
5766 (stepping_past_instruction_at): New functions.
5767 (handle_inferior_event): Clear the step-over info when
5768 trap_expected is cleared.
5769 (resume): Remove now stale comment.
5770 (clear_proceed_status): Clear step-over info.
5771 (proceed): Adjust step-over handling to set or clear the step-over
5772 info instead of removing all breakpoints.
5773 (handle_signal_stop): When setting up a thread-hop, don't remove
5774 breakpoints here.
5775 (stop_stepping): Clear step-over info.
5776 (keep_going): Adjust step-over handling to set or clear step-over
5777 info and then always inserting breakpoints, instead of removing
5778 all breakpoints when stepping over one.
5779
5780 2014-03-20 Pedro Alves <palves@redhat.com>
5781
5782 * infrun.c (previous_inferior_ptid): Adjust comment.
5783 (deferred_step_ptid): Delete.
5784 (infrun_thread_ptid_changed, prepare_to_proceed)
5785 (init_wait_for_inferior): Adjust.
5786 (handle_signal_stop): Delete deferred_step_ptid handling.
5787
5788 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5789
5790 PR gdb/15358
5791 * defs.h (sync_quit_force_run): New declaration.
5792 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5793 * event-top.c (async_sigterm_handler): New declaration.
5794 (async_sigterm_token): New variable.
5795 (async_init_signals): Create also async_sigterm_token.
5796 (async_sigterm_handler): New function.
5797 (sync_quit_force_run): New variable.
5798 (handle_sigterm): Replace quit_force call by other calls.
5799 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5800
5801 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5802
5803 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5804 offset into SPE pseudo registers.
5805
5806 2014-03-18 Pedro Alves <palves@redhat.com>
5807
5808 PR gdb/13860
5809 * inferior.h (print_stop_event): Declare.
5810 * infrun.c (print_stop_event): New, factored out from ...
5811 (normal_stop): ... this.
5812 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5813 of bpstat_print/print_stack_frame.
5814
5815 2014-03-17 Tom Tromey <tromey@redhat.com>
5816
5817 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5818
5819 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5820
5821 * ada-lang.c (decode_constrained_packed_array): Perform a
5822 minimal coercion for reference with coerce_ref instead of
5823 ada_coerce_ref.
5824
5825 2014-03-17 Tristan Gingold <gingold@adacore.com>
5826
5827 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5828 (darwin_solib_create_inferior_hook): Emit a warning if version
5829 is unhandled.
5830
5831 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5832
5833 * python/py-value.c (get_field_flag): Cast flag_name argument to
5834 PyObject_GetAttrString to support Python 2.4.
5835
5836 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5837
5838 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5839 (Global Maintainers): Remove Jan Kratochvil.
5840
5841 2014-03-14 Pedro Alves <palves@redhat.com>
5842
5843 * inferior.h (terminal_ours_for_output): Rename to ...
5844 (child_terminal_ours_for_output): ... this.
5845 (terminal_save_ours): Rename to ...
5846 (child_terminal_save_ours): ... this.
5847 (terminal_ours): Rename to ...
5848 (child_terminal_ours): ... this.
5849 (terminal_inferior): Rename to ...
5850 (child_terminal_inferior): ... this.
5851 (terminal_init_inferior): Rename to ...
5852 (child_terminal_init_inferior): ... this.
5853 (terminal_init_inferior_with_pgrp): Rename to ...
5854 (child_terminal_init_inferior_with_pgrp): ... this.
5855 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5856 (child_terminal_init_with_pgrp): ... this.
5857 (terminal_save_ours): Rename to ...
5858 (child_terminal_save_ours): ... this.
5859 (terminal_init_inferior): Rename to ...
5860 (child_terminal_init): ... this. Adjust.
5861 (terminal_inferior): Rename to ...
5862 (child_terminal_inferior): ... this.
5863 (terminal_ours_for_output): Rename to ...
5864 (child_terminal_ours_for_output): ... this. Adjust.
5865 (terminal_ours): Rename to ...
5866 (child_terminal_ours): ... this.
5867 (terminal_ours_1): Rename to ...
5868 (child_terminal_ours_1): ... this. Adjust.
5869 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5870 * windows-nat.c (do_initial_windows_stuff): Adjust.
5871 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5872 (gnu_terminal_init): ... this. Adjust.
5873 (gnu_target): Adjust.
5874 * inf-child.c (inf_child_target): Adjust.
5875
5876 2014-03-13 Doug Evans <xdje42@gmail.com>
5877
5878 PR guile/16612
5879 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5880 new eq?-hashtab.
5881
5882 2014-03-13 Doug Evans <xdje42@gmail.com>
5883
5884 * value.c (record_latest_value): Call release_value_or_incref
5885 instead of release_value.
5886
5887 2014-03-13 Pedro Alves <palves@redhat.com>
5888
5889 * procfs.c (procfs_target): Don't override to_shortname,
5890 to_longname or to_doc.
5891
5892 2014-03-13 Pedro Alves <palves@redhat.com>
5893
5894 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5895 Unix in user visible strings.
5896
5897 2014-03-12 Stan Shebs <stan@codesourcery.com>
5898
5899 * gdbtypes.h: Annotate comments for Doxygen, add a page
5900 block comment with some general info.
5901
5902 2014-03-12 Pedro Alves <palves@redhat.com>
5903
5904 * infcmd.c (prepare_execution_command): New function, factored out
5905 from several execution commands.
5906 (run_command_1, continue_command, step_1, jump_command)
5907 (signal_command, until_command, advance_command, finish_command)
5908 (attach_command): Use prepare_execution_command.
5909
5910 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
5911
5912 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5913 (MAX_BPTS): Define.
5914 (MAX_WPTS): Define.
5915 (struct arm_linux_thread_points): Removed.
5916 (struct arm_linux_process_info): New.
5917 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5918 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5919 (arm_linux_find_breakpoints_by_tid): Removed.
5920 (struct arch_lwp_info): New.
5921 (arm_linux_find_process_pid): New functions.
5922 (arm_linux_add_process): New functions.
5923 (arm_linux_process_info_get): New functions.
5924 (arm_linux_forget_process): New function.
5925 (arm_linux_get_debug_reg_state): New function.
5926 (struct update_registers_data): New.
5927 (update_registers_callback): New function.
5928 (arm_linux_insert_hw_breakpoint1): Updated.
5929 (arm_linux_remove_hw_breakpoint1): Updated.
5930 (arm_linux_insert_hw_breakpoint): Updated.
5931 (arm_linux_remove_hw_breakpoint): Updated.
5932 (arm_linux_insert_watchpoint): Updated.
5933 (arm_linux_remove_watchpoint): Updated.
5934 (arm_linux_new_thread): Updated.
5935 (arm_linux_prepare_to_resume): New function.
5936 (arm_linux_new_fork): New function.
5937 (_initialize_arm_linux_nat): Updated.
5938
5939 2014-03-12 Pedro Alves <palves@redhat.com>
5940
5941 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5942
5943 2014-03-12 Tom Tromey <tromey@redhat.com>
5944
5945 * inf-child.c (return_zero): New function.
5946 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5947 * aix-thread.c (aix_thread_inferior_created): New function.
5948 (aix_thread_attach): Remove.
5949 (init_aix_thread_ops): Don't set to_attach.
5950 (_initialize_aix_thread): Register inferior_created observer.
5951 * corelow.c (init_core_ops): Don't set to_attach or
5952 to_create_inferior.
5953 * exec.c (init_exec_ops): Don't set to_attach or
5954 to_create_inferior.
5955 * infcmd.c (run_command_1): Use find_run_target. Make direct
5956 target calls.
5957 (attach_command): Use find_attach_target. Make direct target
5958 calls.
5959 * record-btrace.c (init_record_btrace_ops): Don't set
5960 to_create_inferior.
5961 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5962 Remove.
5963 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5964 set to_create_inferior.
5965 * target.c (complete_target_initialization): Add assertion.
5966 (target_create_inferior): Remove.
5967 (find_default_attach, find_default_create_inferior): Remove.
5968 (find_attach_target, find_run_target): New functions.
5969 (find_default_is_async_p, find_default_can_async_p)
5970 (target_supports_non_stop, target_attach): Remove.
5971 (init_dummy_target): Don't set to_create_inferior or
5972 to_supports_non_stop.
5973 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5974 TARGET_DEFAULT_FUNC.
5975 <to_create_inferior>: Add comment.
5976 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5977 TARGET_DEFAULT_RETURN.
5978 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5979 (find_attach_target, find_run_target): Declare.
5980 (target_create_inferior): Remove.
5981 (target_has_execution_1): Update comment.
5982 (target_supports_non_stop): Remove.
5983 * target-delegates.c: Rebuild.
5984
5985 2014-03-12 Pedro Alves <palves@redhat.com>
5986
5987 * inf-child.h: Update comment to not mention Unix.
5988
5989 2014-03-12 Pedro Alves <palves@redhat.com>
5990
5991 * inf-child.c: Update top comment to not mention Unix. Add
5992 generic comment describing how this target is meant to be used.
5993 (inf_child_post_attach, inf_child_post_startup_inferior)
5994 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5995 Unix in comment.
5996
5997 2014-03-12 Pedro Alves <palves@redhat.com>
5998
5999 * nto-procfs.c: Include inf-child.h.
6000 (procfs_ops): Delete global.
6001 (procfs_can_run): Delete method.
6002 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6003 target pointer instead of referencing procfs_ops.
6004 (procfs_prepare_to_store): Delete.
6005 (init_procfs_ops): Delete function.
6006 (procfs_target): New function, based on init_procfs_ops, but
6007 inherit inf_child_target.
6008 (_initialize_procfs): Use procfs_target.
6009
6010 2014-03-12 Pedro Alves <palves@redhat.com>
6011
6012 * windows-nat.c: Include inf-child.h.
6013 (windows_ops): Delete global.
6014 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6015 methods.
6016 (init_windows_ops): Delete function.
6017 (windows_target): New function, based on init_windows_ops, but
6018 inherit inf_child_target.
6019 (_initialize_windows_nat): Use windows_target. Install x86
6020 specific target methods here.
6021
6022 2014-03-10 Doug Evans <xdje42@gmail.com>
6023
6024 * guile/guile.c (call_initialize_gdb_module): New function.
6025 (initialize_guile): Replace call to scm_init_guile with call to
6026 scm_with_guile.
6027
6028 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6029
6030 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6031 in call to TYPE_CODE macro.
6032
6033 2014-03-10 Jerome Guitton <guitton@adacore.com>
6034
6035 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6036 Resolve tagged types to full view.
6037
6038 2014-03-10 Hui Zhu <hui@codesourcery.com>
6039
6040 * target.h (target_insert_breakpoint): Remove "hardware" from its
6041 comments.
6042
6043 2014-03-07 Doug Evans <dje@google.com>
6044
6045 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6046
6047 2014-03-07 Doug Evans <dje@google.com>
6048
6049 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6050 Remove unused local comp_dir_attr. Assert exactly one of
6051 stub_comp_unit_die, stub_comp_dir is non-NULL.
6052
6053 2014-03-07 Joel Brobecker <brobecker@adacore.com>
6054
6055 * target.h (complete_target_initialization, add_target):
6056 Add comment.
6057
6058 2014-03-07 Pedro Alves <palves@redhat.com>
6059
6060 * go32-nat.c: Include inf-child.h.
6061 (go32_ops): Delete global.
6062 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6063 Delete methods.
6064 (go32_create_inferior): Push the passed in target pointer instead
6065 of referencing go32_ops.
6066 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6067 (go32_target): New function, based on init_go32_ops, but inherit
6068 inf_child_target.
6069 (_initialize_go32_nat): Use go32_target. Move parts of
6070 init_go32_ops here.
6071
6072 2014-03-06 Joel Brobecker <brobecker@adacore.com>
6073
6074 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6075 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6076 SYMBOL_VALUE_ADDRESS.
6077 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6078
6079 2014-03-06 Yao Qi <yao@codesourcery.com>
6080
6081 * breakpoint.c (get_tracepoint_by_number): Remove argument
6082 optional_p. All callers updated. Adjust comments. Update
6083 output message.
6084 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6085
6086 2014-03-06 Yao Qi <yao@codesourcery.com>
6087
6088 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6089 early if get_number returns zero. Use 'p' instead of 'args'.
6090
6091 2014-03-06 Yao Qi <yao@codesourcery.com>
6092
6093 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6094 message.
6095
6096 2014-03-06 Yao Qi <yao@codesourcery.com>
6097
6098 PR breakpoints/16508
6099 * tracepoint.c (check_trace_running): New function.
6100 (trace_find_command): Move code to check_trace_running and
6101 call check_trace_running.
6102 (trace_find_pc_command): Likewise.
6103 (trace_find_tracepoint_command): Likewise.
6104 (trace_find_line_command): Likewise.
6105 (trace_find_range_command): Likewise.
6106 * tracepoint.h (check_trace_running): Likewise.
6107 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6108
6109 2014-03-06 Yao Qi <yao@codesourcery.com>
6110
6111 * target.h (struct target_ops) <to_traceframe_info>: Use
6112 TARGET_DEFAULT_NORETURN (tcomplain ()).
6113 * target-delegates.c: Regenerated.
6114
6115 2014-03-05 Pedro Alves <palves@redhat.com>
6116
6117 PR gdb/16575
6118 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6119 void. Update comment.
6120 (dcache_xfer_memory): Delete.
6121 (dcache_read_memory_partial): New, based on the read bits of
6122 dcache_xfer_memory.
6123 (dcache_update): Add status parameter. Use ULONGEST for len, and
6124 adjust. Discard cache lines if the reason for the update was
6125 error.
6126 * dcache.h (dcache_xfer_memory): Delete declaration.
6127 (dcache_read_memory_partial): New declaration.
6128 (dcache_update): Update prototype.
6129 * target.c (raw_memory_xfer_partial): Update the dcache here.
6130 (memory_xfer_partial_1): Don't handle dcache writes here.
6131
6132 2014-03-05 Mike Frysinger <vapier@gentoo.org>
6133
6134 * remote-sim.c (gdbsim_load): Add const to prog.
6135
6136 2014-03-03 Tom Tromey <tromey@redhat.com>
6137
6138 * elfread.c (probe_key): Change to bfd_data.
6139 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6140 now per-BFD, not per-objfile.
6141 * stap-probe.c (stap_probe_destroy): Update comment.
6142 (handle_stap_probe): Allocate on the per-BFD obstack.
6143
6144 2014-03-03 Tom Tromey <tromey@redhat.com>
6145
6146 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6147 * breakpoint.c (create_longjmp_master_breakpoint): Use
6148 get_probe_address.
6149 (add_location_to_breakpoint, bkpt_probe_insert_location)
6150 (bkpt_probe_remove_location): Update.
6151 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6152 * elfread.c (elf_symfile_relocate_probe): Remove.
6153 (elf_probe_fns): Update.
6154 (insert_exception_resume_breakpoint): Change type of "probe"
6155 parameter to bound_probe.
6156 (check_exception_resume): Update.
6157 * objfiles.c (objfile_relocate1): Don't relocate probes.
6158 * probe.c (bound_probe_s): New typedef.
6159 (parse_probes): Use get_probe_address. Set sal's objfile.
6160 (find_probe_by_pc): Return a bound_probe.
6161 (collect_probes): Return a VEC(bound_probe_s).
6162 (compare_probes): Update.
6163 (gen_ui_out_table_header_info): Change type of "probes"
6164 parameter. Update.
6165 (info_probes_for_ops): Update.
6166 (get_probe_address): New function.
6167 (probe_safe_evaluate_at_pc): Update.
6168 * probe.h (struct probe_ops) <get_probe_address>: New field.
6169 <set_semaphore, clear_semaphore>: Add objfile parameter.
6170 (struct probe) <objfile>: Remove field.
6171 <arch>: New field.
6172 <address>: Update comment.
6173 (struct bound_probe): New.
6174 (find_probe_by_pc): Return a bound_probe.
6175 (get_probe_address): Declare.
6176 * solib-svr4.c (struct probe_and_action) <address>: New field.
6177 (hash_probe_and_action, equal_probe_and_action): Update.
6178 (register_solib_event_probe): Add address parameter.
6179 (solib_event_probe_at): Update.
6180 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6181 get_probe_address.
6182 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6183 (stap_get_probe_address): New function.
6184 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6185 (compile_probe_arg): Update.
6186 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6187 address.
6188 (handle_stap_probe): Don't relocate the probe.
6189 (stap_relocate): Remove.
6190 (stap_gen_info_probes_table_values): Update.
6191 (stap_probe_ops): Remove stap_relocate.
6192 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6193 (debug_sym_probe_fns): Update.
6194 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6195 * symtab.c (init_sal): Use memset.
6196 * symtab.h (struct symtab_and_line) <objfile>: New field.
6197 * tracepoint.c (start_tracing, stop_tracing): Update.
6198
6199 2014-03-03 Tom Tromey <tromey@redhat.com>
6200
6201 * probe.h (parse_probes, find_probe_by_pc)
6202 (find_probes_in_objfile): Fix comments.
6203
6204 2014-03-02 Doug Evans <xdje42@gmail.com>
6205
6206 * infrun.c (handle_signal_stop): Replace test for
6207 TARGET_WAITKIND_STOPPED with an assert.
6208
6209 2014-03-02 Doug Evans <xdje42@gmail.com>
6210
6211 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6212
6213 2014-03-02 Doug Evans <xdje42@gmail.com>
6214
6215 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6216
6217 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6218
6219 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6220
6221 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6222
6223 * i386obsd-nat.c: Include "obsd-nat.h".
6224 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6225 add_target.
6226 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6227
6228 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6229
6230 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6231
6232 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6233
6234 * mips64obsd-nat.c: Include "obsd-nath".
6235 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6236 add_target
6237 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6238
6239 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6240
6241 * amd64obsd-nat.c: Include "obsd-nat,h.
6242 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6243 add_target.
6244 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6245
6246 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6247
6248 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6249 (find_overload_match): Update call to find_oload_champ.
6250 (find_oload_champ_namespace_loop): Likewise
6251
6252 2014-02-28 Mark Kettenis <kettenis@gnu.org>
6253
6254 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6255
6256 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6257 * config/sparc/obsd64.mh: New file.
6258 * sparc64obsd-nat.c: New file.
6259
6260 * obsd-nat.h: New file.
6261 * obsd-nat.c: New file.
6262 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6263 (ALLDEPFILES): Add obsd-nat.c.
6264
6265 2014-02-28 Tom Tromey <tromey@redhat.com>
6266
6267 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6268 * cli-out.h (cli_ui_out_impl): Now const.
6269 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6270 * ui-out.c (struct ui_out) <impl>: Now const.
6271 (default_ui_out_impl): Now const.
6272 (ui_out_new): Make 'impl' parameter const.
6273 * ui-out.h (ui_out_new): Update.
6274
6275 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6276
6277 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6278
6279 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6280
6281 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6282
6283 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6284
6285 Additional PR 8882 fix.
6286 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6287
6288 2014-02-27 Pedro Alves <palves@redhat.com>
6289
6290 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6291 isn't set.
6292
6293 2014-02-27 Pedro Alves <palves@redhat.com>
6294
6295 PR 12702
6296 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6297 * nat/linux-waitpid.c: Include string.h.
6298 (status_to_str): Moved here and made extern.
6299 * nat/linux-waitpid.h (status_to_str): New declaration.
6300
6301 2014-02-27 Hui Zhu <hui@codesourcery.com>
6302
6303 PR 12702
6304 * infrun.c (ptid_match): Move ...
6305 * common/ptid.c (ptid_match): ... here.
6306 * inferior.h (ptid_match): Move ...
6307 * common/ptid.h (ptid_match): ... here.
6308
6309 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6310
6311 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6312 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6313 gdb_target_obs.
6314
6315 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6316
6317 * obsd-tdep.c (obsd_auxv_parse): New function.
6318 (obsd_init_abi): Set auxv_parse.
6319
6320 * gdbarch.sh (auxv_parse): New.
6321 * gdbarch.h: Regenerated.
6322 * gdbarch.c: Regenerated.
6323 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6324
6325 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6326
6327 * guile/scm-value.c (gdbscm_history_append_x): New function.
6328 (value_functions): Add it.
6329
6330 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6331
6332 * dwarf2read.c (attr_value_as_address): New function.
6333 (dwarf2_find_base_address, read_call_site_scope): Use
6334 attr_value_as_address in place of DW_ADDR.
6335 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6336 the low and high addresses. Slight rework of the handling
6337 of the high pc being a constant form, and limit it to
6338 DWARF verson 4 or higher.
6339 (dwarf2_record_block_ranges): Likewise.
6340 (read_partial_die): Likewise.
6341 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6342
6343 2014-02-26 Tom Tromey <tromey@redhat.com>
6344
6345 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6346
6347 2014-02-26 Tom Tromey <tromey@redhat.com>
6348
6349 * elfread.c (elf_read_minimal_symbols): Return early if
6350 minimal symbols have already been read. Add "ei" parameter.
6351 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6352 * minsyms.c (prim_record_minimal_symbol_full): Update.
6353 * objfiles.h (struct objstats) <n_minsyms>: Move...
6354 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6355 * symmisc.c (print_objfile_statistics): Update.
6356
6357 2014-02-26 Tom Tromey <tromey@redhat.com>
6358
6359 * elfread.c (elf_read_minimal_symbols): New function, from
6360 elf_symfile_read.
6361 (elf_symfile_read): Call it.
6362
6363 2014-02-26 Tom Tromey <tromey@redhat.com>
6364
6365 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6366 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6367 (lookup_minimal_symbol_solib_trampoline)
6368 (lookup_minimal_symbol_by_pc_section_1)
6369 (lookup_minimal_symbol_and_objfile): Update.
6370 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6371 Don't allocate a minimal symbol if minsyms have already been read.
6372 (build_minimal_symbol_hash_tables): Update.
6373 (install_minimal_symbols): Do nothing if minsyms already read.
6374 Use the per-BFD obstack.
6375 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6376 * objfiles.c (allocate_objfile): Call
6377 terminate_minimal_symbol_table later.
6378 (have_minimal_symbols): Update.
6379 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6380 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6381 Move from struct objfile.
6382 <minsyms_read>: New field.
6383 (struct objfile) <msymbols, minimal_symbol_count,
6384 msymbol_hash, msymbol_demangled_hash>: Move.
6385 (ALL_OBJFILE_MSYMBOLS): Update.
6386 * symfile.c (read_symbols): Set minsyms_read.
6387 (reread_symbols): Update.
6388 * symmisc.c (dump_objfile, dump_msymbols): Update.
6389
6390 2014-02-26 Tom Tromey <tromey@redhat.com>
6391
6392 * minsyms.c (msymbols_sort): Remove.
6393 * minsyms.h (msymbols_sort): Remove.
6394 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6395 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6396 * elfread.c (elf_symtab_read): Don't add section offsets.
6397 * xcoffread.c (record_minimal_symbol): Don't add section offset
6398 to minimal symbol address.
6399 * somread.c (text_offset, data_offset): Remove.
6400 (som_symtab_read): Don't add section offsets to minimal symbol
6401 addresses.
6402 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6403 Don't add section offsets to minimal symbols.
6404 * coffread.c (coff_symtab_read): Don't add section offsets
6405 to minimal symbol addresses.
6406 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6407 to minimal symbol addresses.
6408 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6409 section offset to minimal symbol addresses.
6410 * mdebugread.c (parse_partial_symbols): Don't add section
6411 offset to minimal symbol addresses.
6412 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6413 offset to minimal symbol addresses.
6414
6415 2014-02-26 Tom Tromey <tromey@redhat.com>
6416
6417 * ada-lang.c (ada_main_name): Update.
6418 (ada_add_standard_exceptions): Update.
6419 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6420 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6421 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6422 * auxv.c (ld_so_xfer_auxv): Update.
6423 * avr-tdep.c (avr_scan_prologue): Update.
6424 * ax-gdb.c (gen_var_ref): Update.
6425 * blockframe.c (get_pc_function_start)
6426 (find_pc_partial_function_gnu_ifunc): Update.
6427 * breakpoint.c (create_overlay_event_breakpoint)
6428 (create_longjmp_master_breakpoint)
6429 (create_std_terminate_master_breakpoint)
6430 (create_exception_master_breakpoint): Update.
6431 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6432 * c-valprint.c (c_val_print): Update.
6433 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6434 * common/agent.c (agent_look_up_symbols): Update.
6435 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6436 * dwarf2loc.c (call_site_to_target_addr): Update.
6437 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6438 * elfread.c (elf_gnu_ifunc_record_cache)
6439 (elf_gnu_ifunc_resolve_by_got): Update.
6440 * findvar.c (default_read_var_value): Update.
6441 * frame.c (inside_main_func): Update.
6442 * frv-tdep.c (frv_frame_this_id): Update.
6443 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6444 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6445 Update.
6446 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6447 (hppa_hpux_find_dummy_bpaddr): Update.
6448 * hppa-tdep.c (hppa_symbol_address): Update.
6449 * infcmd.c (until_next_command): Update.
6450 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6451 Update.
6452 * linespec.c (minsym_found, add_minsym): Update.
6453 * linux-nat.c (get_signo): Update.
6454 * linux-thread-db.c (inferior_has_bug): Update.
6455 * m32c-tdep.c (m32c_return_value)
6456 (m32c_m16c_address_to_pointer): Update.
6457 * m32r-tdep.c (m32r_frame_this_id): Update.
6458 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6459 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6460 * maint.c (maintenance_translate_address): Update.
6461 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6462 (frob_address): New function.
6463 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6464 frob_address. Rename parameter to "pc_in".
6465 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6466 addresses.
6467 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6468 Update.
6469 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6470 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6471 * objc-lang.c (find_objc_msgsend): Update.
6472 * objfiles.c (objfile_relocate1): Update.
6473 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6474 * p-valprint.c (pascal_val_print): Update.
6475 * parse.c (write_exp_msymbol): Update.
6476 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6477 (ppc_elfv2_skip_entrypoint): Update.
6478 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6479 * printcmd.c (build_address_symbolic, msym_info)
6480 (address_info): Update.
6481 * proc-service.c (ps_pglobal_lookup): Update.
6482 * psymtab.c (find_pc_sect_psymtab_closer)
6483 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6484 Change msymbol parameter to bound_minimal_symbol.
6485 * ravenscar-thread.c (get_running_thread_id): Update.
6486 * remote.c (remote_check_symbols): Update.
6487 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6488 address.
6489 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6490 * solib-dsbt.c (lm_base): Update.
6491 * solib-frv.c (lm_base, main_got): Update.
6492 * solib-irix.c (locate_base): Update.
6493 * solib-som.c (som_solib_create_inferior_hook)
6494 (link_map_start): Update.
6495 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6496 * solib-svr4.c (elf_locate_base, enable_break): Update.
6497 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6498 (flush_ea_cache): Update.
6499 * stabsread.c (define_symbol, scan_file_globals): Update.
6500 * stack.c (find_frame_funname): Update.
6501 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6502 (debug_qf_find_pc_sect_symtab): Update.
6503 * symfile.c (simple_read_overlay_table)
6504 (simple_overlay_update): Update.
6505 * symfile.h (struct quick_symbol_functions)
6506 <find_pc_sect_symtab>: Change type of msymbol to
6507 bound_minimal_symbol.
6508 * symmisc.c (dump_msymbols): Update.
6509 * symtab.c (find_pc_sect_symtab_via_partial)
6510 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6511 (search_symbols, print_msymbol_info): Update.
6512 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6513 (MSYMBOL_VALUE_ADDRESS): Redefine.
6514 (BMSYMBOL_VALUE_ADDRESS): New macro.
6515 * tracepoint.c (scope_info): Update.
6516 * tui/tui-disasm.c (tui_find_disassembly_address)
6517 (tui_get_begin_asm_address): Update.
6518 * valops.c (find_function_in_inferior): Update.
6519 * value.c (value_static_field, value_fn_field): Update.
6520
6521 2014-02-26 Tom Tromey <tromey@redhat.com>
6522
6523 * ada-lang.c (ada_update_initial_language): Update.
6524 (ada_main_name, ada_has_this_exception_support): Update.
6525 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6526 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6527 * arm-tdep.c (arm_skip_stub): Update.
6528 * auxv.c (ld_so_xfer_auxv): Update.
6529 * avr-tdep.c (avr_scan_prologue): Update.
6530 * ax-gdb.c (gen_var_ref): Update.
6531 * breakpoint.c (struct breakpoint_objfile_data)
6532 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6533 type to bound_minimal_symbol.
6534 (create_overlay_event_breakpoint)
6535 (create_longjmp_master_breakpoint)
6536 (create_std_terminate_master_breakpoint)
6537 (create_exception_master_breakpoint): Update.
6538 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6539 * c-exp.y (classify_name): Update.
6540 * coffread.c (coff_symfile_read): Update.
6541 * common/agent.c (agent_look_up_symbols): Update.
6542 * d-lang.c (d_main_name): Update.
6543 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6544 * dec-thread.c (enable_dec_thread): Update.
6545 * dwarf2loc.c (call_site_to_target_addr): Update.
6546 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6547 * eval.c (evaluate_subexp_standard): Update.
6548 * findvar.c (struct minsym_lookup_data) <result>: Change type
6549 to bound_minimal_symbol.
6550 <objfile>: Remove.
6551 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6552 * frame.c (inside_main_func): Update.
6553 * frv-tdep.c (frv_frame_this_id): Update.
6554 * gcore.c (call_target_sbrk): Update.
6555 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6556 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6557 Update.
6558 * go-lang.c (go_main_name): Update.
6559 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6560 (hppa_hpux_find_import_stub_for_addr): Update.
6561 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6562 Update. Change return type.
6563 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6564 type.
6565 * jit.c (jit_breakpoint_re_set_internal): Update.
6566 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6567 Update.
6568 * linux-nat.c (get_signo): Update.
6569 * linux-thread-db.c (inferior_has_bug): Update
6570 * m32c-tdep.c (m32c_return_value)
6571 (m32c_m16c_address_to_pointer): Update.
6572 * m32r-tdep.c (m32r_frame_this_id): Update.
6573 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6574 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6575 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6576 lookup_minimal_symbol. Change return type.
6577 (lookup_minimal_symbol): Remove.
6578 (lookup_bound_minimal_symbol): Update.
6579 (lookup_minimal_symbol_text): Change return type.
6580 (lookup_minimal_symbol_solib_trampoline): Change return type.
6581 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6582 (lookup_minimal_symbol_solib_trampoline): Change return type.
6583 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6584 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6585 (value_nsstring, find_imps): Update.
6586 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6587 * p-lang.c (pascal_main_name): Update.
6588 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6589 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6590 * proc-service.c (ps_pglobal_lookup): Update.
6591 * ravenscar-thread.c (get_running_thread_msymbol): Change
6592 return type.
6593 (has_ravenscar_runtime, get_running_thread_id): Update.
6594 * remote.c (remote_check_symbols): Update.
6595 * sol-thread.c (ps_pglobal_lookup): Update.
6596 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6597 * solib-dsbt.c (lm_base): Update.
6598 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6599 Update.
6600 * solib-irix.c (locate_base): Update.
6601 * solib-som.c (som_solib_create_inferior_hook)
6602 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6603 Update.
6604 * solib-spu.c (spu_enable_break): Update.
6605 * solib-svr4.c (elf_locate_base, enable_break): Update.
6606 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6607 (flush_ea_cache): Update.
6608 * stabsread.c (define_symbol): Update.
6609 * symfile.c (simple_read_overlay_table): Update.
6610 * symtab.c (find_pc_sect_line): Update.
6611 * tracepoint.c (scope_info): Update.
6612 * tui-disasm.c (tui_get_begin_asm_address): Update.
6613 * value.c (value_static_field): Update.
6614
6615 2014-02-26 Tom Tromey <tromey@redhat.com>
6616
6617 * minsyms.c (prim_record_minimal_symbol_full): Use
6618 SET_MSYMBOL_VALUE_ADDRESS.
6619 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6620 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6621 SET_MSYMBOL_VALUE_ADDRESS.
6622 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6623 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6624
6625 2014-02-26 Tom Tromey <tromey@redhat.com>
6626
6627 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6628 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6629 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6630 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6631 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6632 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6633 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6634 * ada-lang.c (ada_main_name): Update.
6635 (ada_lookup_simple_minsym): Update.
6636 (ada_make_symbol_completion_list): Update.
6637 (ada_add_standard_exceptions): Update.
6638 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6639 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6640 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6641 * arm-tdep.c (skip_prologue_function): Update.
6642 (arm_skip_stack_protector, arm_skip_stub): Update.
6643 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6644 (arm_wince_skip_main_prologue): Update.
6645 * auxv.c (ld_so_xfer_auxv): Update.
6646 * avr-tdep.c (avr_scan_prologue): Update.
6647 * ax-gdb.c (gen_var_ref): Update.
6648 * block.c (call_site_for_pc): Update.
6649 * blockframe.c (get_pc_function_start): Update.
6650 (find_pc_partial_function_gnu_ifunc): Update.
6651 * breakpoint.c (create_overlay_event_breakpoint): Update.
6652 (create_longjmp_master_breakpoint): Update.
6653 (create_std_terminate_master_breakpoint): Update.
6654 (create_exception_master_breakpoint): Update.
6655 (resolve_sal_pc): Update.
6656 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6657 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6658 Update.
6659 * c-valprint.c (c_val_print): Update.
6660 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6661 * coffread.c (coff_symfile_read): Update.
6662 * common/agent.c (agent_look_up_symbols): Update.
6663 * dbxread.c (find_stab_function_addr): Update.
6664 (end_psymtab): Update.
6665 * dwarf2loc.c (call_site_to_target_addr): Update.
6666 (func_verify_no_selftailcall): Update.
6667 (tailcall_dump): Update.
6668 (call_site_find_chain_1): Update.
6669 (dwarf_expr_reg_to_entry_parameter): Update.
6670 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6671 (elf_gnu_ifunc_resolve_by_got): Update.
6672 * f-valprint.c (info_common_command): Update.
6673 * findvar.c (read_var_value): Update.
6674 * frame.c (get_prev_frame_1): Update.
6675 (inside_main_func): Update.
6676 * frv-tdep.c (frv_skip_main_prologue): Update.
6677 (frv_frame_this_id): Update.
6678 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6679 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6680 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6681 (gnuv3_skip_trampoline): Update.
6682 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6683 (hppa64_hpux_in_solib_call_trampoline): Update.
6684 (hppa_hpux_skip_trampoline_code): Update.
6685 (hppa64_hpux_search_dummy_call_sequence): Update.
6686 (hppa_hpux_find_import_stub_for_addr): Update.
6687 (hppa_hpux_find_dummy_bpaddr): Update.
6688 * hppa-tdep.c (hppa_symbol_address)
6689 (hppa_lookup_stub_minimal_symbol): Update.
6690 * i386-tdep.c (i386_skip_main_prologue): Update.
6691 (i386_pe_skip_trampoline_code): Update.
6692 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6693 * infcall.c (get_function_name): Update.
6694 * infcmd.c (until_next_command): Update.
6695 * jit.c (jit_breakpoint_re_set_internal): Update.
6696 (jit_inferior_init): Update.
6697 * linespec.c (minsym_found): Update.
6698 (add_minsym): Update.
6699 * linux-fork.c (info_checkpoints_command): Update.
6700 * linux-nat.c (get_signo): Update.
6701 * linux-thread-db.c (inferior_has_bug): Update.
6702 * m32c-tdep.c (m32c_return_value): Update.
6703 (m32c_m16c_address_to_pointer): Update.
6704 (m32c_m16c_pointer_to_address): Update.
6705 * m32r-tdep.c (m32r_frame_this_id): Update.
6706 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6707 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6708 * maint.c (maintenance_translate_address): Update.
6709 * minsyms.c (add_minsym_to_hash_table): Update.
6710 (add_minsym_to_demangled_hash_table): Update.
6711 (msymbol_objfile): Update.
6712 (lookup_minimal_symbol): Update.
6713 (iterate_over_minimal_symbols): Update.
6714 (lookup_minimal_symbol_text): Update.
6715 (lookup_minimal_symbol_by_pc_name): Update.
6716 (lookup_minimal_symbol_solib_trampoline): Update.
6717 (lookup_minimal_symbol_by_pc_section_1): Update.
6718 (lookup_minimal_symbol_and_objfile): Update.
6719 (prim_record_minimal_symbol_full): Update.
6720 (compare_minimal_symbols): Update.
6721 (compact_minimal_symbols): Update.
6722 (build_minimal_symbol_hash_tables): Update.
6723 (install_minimal_symbols): Update.
6724 (terminate_minimal_symbol_table): Update.
6725 (find_solib_trampoline_target): Update.
6726 (minimal_symbol_upper_bound): Update.
6727 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6728 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6729 (mips_skip_pic_trampoline_code): Update.
6730 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6731 * objc-lang.c (selectors_info): Update.
6732 (classes_info): Update.
6733 (find_methods): Update.
6734 (find_imps): Update.
6735 (find_objc_msgsend): Update.
6736 * objfiles.c (objfile_relocate1): Update.
6737 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6738 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6739 * p-valprint.c (pascal_val_print): Update.
6740 * parse.c (write_exp_msymbol): Update.
6741 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6742 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6743 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6744 * printcmd.c (build_address_symbolic): Update.
6745 (sym_info): Update.
6746 (address_info): Update.
6747 * proc-service.c (ps_pglobal_lookup): Update.
6748 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6749 (find_pc_sect_psymtab): Update.
6750 * python/py-framefilter.c (py_print_frame): Update.
6751 * ravenscar-thread.c (get_running_thread_id): Update.
6752 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6753 Update.
6754 * remote.c (remote_check_symbols): Update.
6755 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6756 (rs6000_skip_trampoline_code): Update.
6757 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6758 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6759 * solib-dsbt.c (lm_base): Update.
6760 * solib-frv.c (lm_base): Update.
6761 (main_got): Update.
6762 * solib-irix.c (locate_base): Update.
6763 * solib-som.c (som_solib_create_inferior_hook): Update.
6764 (som_solib_desire_dynamic_linker_symbols): Update.
6765 (link_map_start): Update.
6766 * solib-spu.c (spu_enable_break): Update.
6767 (ocl_enable_break): Update.
6768 * solib-svr4.c (elf_locate_base): Update.
6769 (enable_break): Update.
6770 * spu-tdep.c (spu_get_overlay_table): Update.
6771 (spu_catch_start): Update.
6772 (flush_ea_cache): Update.
6773 * stabsread.c (define_symbol): Update.
6774 (scan_file_globals): Update.
6775 * stack.c (find_frame_funname): Update.
6776 (frame_info): Update.
6777 * symfile.c (simple_read_overlay_table): Update.
6778 (simple_overlay_update): Update.
6779 * symmisc.c (dump_msymbols): Update.
6780 * symtab.c (fixup_section): Update.
6781 (find_pc_sect_line): Update.
6782 (skip_prologue_sal): Update.
6783 (search_symbols): Update.
6784 (print_msymbol_info): Update.
6785 (rbreak_command): Update.
6786 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6787 (completion_list_objc_symbol): Update.
6788 (default_make_symbol_completion_list_break_on): Update.
6789 * tracepoint.c (scope_info): Update.
6790 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6791 (tui_get_begin_asm_address): Update.
6792 * valops.c (find_function_in_inferior): Update.
6793 * value.c (value_static_field): Update.
6794 (value_fn_field): Update.
6795
6796 2014-02-26 Tom Tromey <tromey@redhat.com>
6797
6798 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6799 bound minimal symbols. Move code that knows about minsym
6800 table layout...
6801 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6802 function.
6803 * minsyms.h (minimal_symbol_upper_bound): Declare.
6804 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6805 minimal_symbol_upper_bound.
6806
6807 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6808
6809 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6810 Use the type's name if its basic type does not have a tag.
6811
6812 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6813
6814 * dwarf2read.c (read_subrange_type): Add comment.
6815
6816 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6817
6818 * dwarf2read.c (update_enumeration_type_from_children): New
6819 function, mostly extracted from process_structure_scope.
6820 (read_enumeration_type): Call update_enumeration_type_from_children.
6821 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6822 and flag_flag_enum fields.
6823
6824 2014-02-26 Pedro Alves <palves@redhat.com>
6825
6826 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6827 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6828 to_xfer_partial method.
6829
6830 2014-02-26 Pedro Alves <palves@redhat.com>
6831
6832 * target.c (complete_target_initialization): Don't install
6833 default_xfer_partial as to_xfer_partial hook.
6834 (nomemory): Delete.
6835 (update_current_target): Don't INHERIT nor de_fault
6836 deprecated_xfer_memory. Delete de_fault macro.
6837 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6838 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6839 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6840 field.
6841
6842 2014-02-26 Pedro Alves <palves@redhat.com>
6843
6844 * go32-nat.c (my_write_child): New function.
6845 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6846 (go32_xfer_partial): New function.
6847 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6848 Instead install a to_xfer_partial hook.
6849
6850 2014-02-26 Pedro Alves <palves@redhat.com>
6851
6852 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6853 to_xfer_partial helper. Rewrite.
6854 (procfs_xfer_partial): New function.
6855 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6856 Install a to_xfer_partial hook.
6857
6858 2014-02-26 Pedro Alves <palves@redhat.com>
6859
6860 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6861 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6862 (m32r_xfer_partial): New function.
6863 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6864 Install a to_xfer_partial hook.
6865
6866 2014-02-26 Pedro Alves <palves@redhat.com>
6867
6868 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6869 helper.
6870 (mips_xfer_partial): New function.
6871 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6872 hook. Install a to_xfer_partial hook.
6873
6874 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6875
6876 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6877 * gdbtypes.c (create_array_type_with_stride): New function,
6878 renaming create_array_type, but with an added parameter
6879 called "bit_stride".
6880 (create_array_type): Re-implement using
6881 create_array_type_with_stride.
6882 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6883 and DW_AT_bit_stride attributes.
6884
6885 2014-02-26 Pedro Alves <palves@redhat.com>
6886
6887 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6888 task-specific breakpoints.
6889
6890 2014-02-25 Pedro Alves <palves@redhat.com>
6891
6892 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6893 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6894
6895 2014-02-25 Stan Shebs <stan@codesourcery.com>
6896
6897 * defs.h: Annotate comments for Doxygen.
6898
6899 2014-02-25 Tom Tromey <tromey@redhat.com>
6900
6901 * target.h (target_ignore): Don't declare.
6902 * target.c (target_ignore): Remove.
6903
6904 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6905
6906 PR gdb/16626
6907 * auto-load.c (auto_load_objfile_script_1): Change filename to
6908 debugfile.
6909
6910 2014-02-25 Joel Brobecker <brobecker@adacore.com>
6911
6912 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6913 documentation. Adjust prototype to match the target_ops
6914 to_xfer_partial method. Adjust implementation accordingly.
6915
6916 2014-02-25 Hui Zhu <hui@codesourcery.com>
6917
6918 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6919 to_traceframe_info.
6920
6921 2014-02-25 Kevin Buettner <kevinb@redhat.com>
6922
6923 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6924 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6925 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6926 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6927 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6928 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6929 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6930 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6931 New constants.
6932 (rl78_register_type): Use a data pointer type for SP and
6933 new pseudo registers mentioned above. Use a 16 bit integer
6934 type for all other register pairs.
6935 (rl78_register_name, rl78_g10_register_name): Update for
6936 new pseudo registers.
6937 (rl78_pseudo_register_read): Likewise.
6938 (rl78_pseudo_register_write): Likewise.
6939 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6940 to the newly added pseudo registers.
6941
6942 2014-02-24 Doug Evans <dje@google.com>
6943
6944 * value.c (record_latest_value): Fix comment.
6945 * printcmd.c (print_command_1): Remove code to handle -1 return from
6946 record_latest_value.
6947
6948 2014-02-24 Pedro Alves <palves@redhat.com>
6949
6950 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6951 deprecated_xfer_memory hook.
6952 (procfs_xfer_partial): Call procfs_xfer_memory instead
6953 of the deprecated_xfer_memory target hook.
6954 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6955 helper.
6956
6957 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6958
6959 * windows-nat.c (windows_xfer_shared_libraries): Return
6960 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6961 requested object is TARGET_OBJECT_LIBRARIES.
6962
6963 2014-02-24 Yao Qi <yao@codesourcery.com>
6964
6965 * target.h (enum target_xfer_status)
6966 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6967 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6968 explicitly. New.
6969 * corefile.c (memory_error_message): User updated.
6970 * exec.c (section_table_read_available_memory): Likewise.
6971 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6972 * target.c (target_xfer_status_to_string): Likewise.
6973 (raw_memory_xfer_partial): Likewise.
6974 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6975 * valops.c (read_value_memory): Likewise.
6976 * exec.h: Update comments.
6977
6978 2014-02-24 Yao Qi <yao@codesourcery.com>
6979
6980 * target.c (target_xfer_status_to_string): Rename argument err
6981 to status.
6982 * target.h (target_xfer_status_to_string): Update declaration.
6983 Replace target_xfer_error_to_string with
6984 target_xfer_status_to_string in comment.
6985
6986 2014-02-24 Yao Qi <yao@codesourcery.com>
6987
6988 * mips-linux-nat.c (super_close): Update its type.
6989 (mips_linux_close): Pass 'self' to super_close.
6990
6991 2014-02-24 Yao Qi <yao@codesourcery.com>
6992
6993 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6994 * corefile.c (read_memory): Adjusted.
6995 * target.c (target_write_with_progress): Adjusted.
6996
6997 2014-02-23 Yao Qi <yao@codesourcery.com>
6998
6999 Revert two patches:
7000
7001 2013-10-25 Yao Qi <yao@codesourcery.com>
7002
7003 * remote.c (remote_traceframe_info): Return early if
7004 traceframe is not selected.
7005
7006 2013-07-19 Yao Qi <yao@codesourcery.com>
7007
7008 * target.c (update_current_target): Change the default action
7009 of 'to_traceframe_info' from tcomplain to return_zero.
7010 * target.h (struct target_ops) <to_traceframe_info>: Add more
7011 comments.
7012
7013 2014-02-23 Yao Qi <yao@codesourcery.com>
7014
7015 * valops.c (read_value_memory): Rewrite it. Call
7016 target_xfer_partial in a loop.
7017 * exec.h (section_table_available_memory): Remove declaration.
7018 Move comments to ...
7019 * exec.c (section_table_available_memory): ... here. Make it
7020 static.
7021
7022 2014-02-23 Yao Qi <yao@codesourcery.com>
7023
7024 * exec.c (section_table_read_available_memory): New function.
7025 * exec.h (section_table_read_available_memory): Declare.
7026 * ctf.c (ctf_xfer_partial): Call
7027 section_table_read_available_memory.
7028 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7029
7030 2014-02-23 Yao Qi <yao@codesourcery.com>
7031
7032 * ctf.c (ctf_xfer_partial): Move code to ...
7033 * exec.c (exec_read_partial_read_only): ... it. New function.
7034 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7035 * tracefile.c: Include "exec.h".
7036 * exec.h (exec_read_partial_read_only): Declare.
7037
7038 2014-02-23 Yao Qi <yao@codesourcery.com>
7039
7040 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7041 (tfile_has_memory): Remove.
7042 (init_tfile_ops): Don't set fields to_has_all_memory and
7043 to_has_memory of tfile_ops.
7044 * tracefile.c (tracefile_has_all_memory): New function.
7045 (tracefile_has_memory): New function.
7046 (init_tracefile_ops): Initialize fields to_has_all_memory and
7047 to_has_memory of 'ops'.
7048
7049 2014-02-23 Yao Qi <yao@codesourcery.com>
7050
7051 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7052 (ctf_thread_alive, ctf_get_trace_status): Remove.
7053 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7054 init_tracefile_ops.
7055 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7056 (tfile_has_stack, tfile_has_registers): Remove.
7057 (tfile_thread_alive): Remove.
7058 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7059 init_tracefile_ops.
7060 * tracefile.c (tracefile_has_stack): New function.
7061 (tracefile_has_registers): New function.
7062 (tracefile_thread_alive): New function.
7063 (tracefile_get_trace_status): New function.
7064 (init_tracefile_ops): New function.
7065 * tracefile.h (init_tracefile_ops): Declare.
7066
7067 2014-02-23 Yao Qi <yao@codesourcery.com>
7068
7069 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7070 (O_LARGEFILE): Likewise.
7071 (tfile_ops): Likewise.
7072 (TRACE_HEADER_SIZE): Likewise.
7073 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7074 (cur_data_size): Likewise.
7075 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7076 (tfile_close, tfile_files_info): Likewise.
7077 (tfile_get_trace_status): Likewise.
7078 (tfile_get_tracepoint_status): Likewise.
7079 (tfile_get_traceframe_address): Likewise.
7080 (tfile_trace_find, match_blocktype): Likewise.
7081 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7082 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7083 (tfile_get_trace_state_variable_value): Likewise.
7084 (tfile_has_all_memory, tfile_has_memory): Likewise.
7085 (tfile_has_stack, tfile_has_registers): Likewise.
7086 (tfile_thread_alive, build_traceframe_info): Likewise.
7087 (tfile_traceframe_info, init_tfile_ops): Likewise.
7088 (_initialize_tracepoint): Don't call init_tfile_ops
7089 and add_target_with_completer.
7090 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7091 exec.h, completer.h and filenames.h.
7092 (_initialize_tracefile_tfile): New function.
7093
7094 2014-02-23 Yao Qi <yao@codesourcery.com>
7095
7096 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7097 tracefile-tfile.o.
7098 (HFILES_NO_SRCDIR): Add tracefile.h.
7099 * ctf.c: Include "tracefile.h".
7100 * tracefile.h: New file.
7101 * tracefile.c: New file
7102 * tracefile-tfile.c: New file.
7103 * tracepoint.c: Include "tracefile.h".
7104 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7105 (stop_reason_names): Add const.
7106 (trace_file_writer_xfree): Move it to tracefile.c.
7107 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7108 (trace_save_ctf): Likewise.
7109 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7110 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7111 (tfile_write_header, tfile_write_regblock_type): Likewise.
7112 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7113 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7114 (tfile_write_raw_data, tfile_end): Likewise.
7115 (tfile_trace_file_writer_new): Likewise.
7116 (free_uploaded_tp): Make it extern.
7117 (free_uploaded_tsv): Make it extern.
7118 (_initialize_tracepoint): Move code to register command 'tsave'
7119 to tracefile.c.
7120 * tracepoint.h (stop_reason_names): Declare.
7121 (struct trace_frame_write_ops): Move it to tracefile.h.
7122 (struct trace_file_write_ops): Likewise.
7123 (struct trace_file_writer): Likewise.
7124 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7125
7126 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7127
7128 PR gdb/16594
7129 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7130 process name.
7131 (get_cores_used_by_process): New parameter num_cores, use it.
7132 (linux_xfer_osdata_processes): Pass num_cores to it.
7133 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7134 process name.
7135
7136 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7137
7138 * target.c (memory_xfer_partial): Fix length arg in call to
7139 breakpoint_xfer_memory.
7140
7141 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7142
7143 PR tdep/16397
7144 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7145 number comes after the + or - signs. Adjust length of register
7146 name to be extracted.
7147
7148 2014-02-20 Tom Tromey <tromey@redhat.com>
7149
7150 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7151 (ada_varobj_ops): Mark "extern".
7152
7153 2014-02-20 Tom Tromey <tromey@redhat.com>
7154
7155 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7156
7157 2014-02-20 Doug Evans <xdje42@gmail.com>
7158
7159 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7160 All callers updated.
7161 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7162 All callers updated.
7163 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7164 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7165
7166 2014-02-20 lin zuojian <manjian2006@gmail.com>
7167 Joel Brobecker <brobecker@adacore.com>
7168 Doug Evans <xdje42@gmail.com>
7169
7170 PR symtab/16581
7171 * dwarf2read.c (struct die_info): New member in_process.
7172 (reset_die_in_process): New function.
7173 (process_die): Set it at the start, reset when returning.
7174 (inherit_abstract_dies): Only call process_die if origin_child_die
7175 not already being processed.
7176
7177 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7178
7179 * windows-nat.c (handle_unload_dll): Add function documentation.
7180 (do_initial_windows_stuff): Add comment explaining why we wait
7181 until after inferior initialization has finished before
7182 processing all DLLs.
7183
7184 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7185
7186 * windows-nat.c (get_module_name): Delete.
7187 (windows_get_exec_module_filename): New function, mostly
7188 inspired from get_module_name.
7189 (windows_pid_to_exec_file): Replace call to get_module_name
7190 by call to windows_get_exec_module_filename.
7191
7192 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7193
7194 * windows-nat.c (handle_load_dll): Rewrite this function's
7195 introductory comment. Remove code using get_module_name
7196 to get the DLL's name.
7197
7198 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7199
7200 * windows-nat.c (get_windows_debug_event): Ignore
7201 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7202 if windows_initialization_done == 0.
7203 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7204 Adjust implementation to always load all DLLs.
7205 (do_initial_windows_stuff): Replace call to
7206 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7207
7208 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7209
7210 * windows-nat.c (_initialize_windows_nat): Deprecate the
7211 "dll-symbols" command. Turn the "add-shared-symbol-files"
7212 and "assf" aliases into commands, and deprecate them as well.
7213 * NEWS: Add entry explaining that "dll-symbols" and its two
7214 aliases are now deprecated.
7215
7216 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7217
7218 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7219 new-line in debug string. Remove trailing spaces.
7220
7221 2014-02-19 Stan Shebs <stan@codesourcery.com>
7222
7223 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7224
7225 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7226
7227 * NEWS: Add entry for the new feature
7228 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7229 and class values.
7230
7231 2014-02-19 Stan Shebs <stan@codesourcery.com>
7232
7233 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7234
7235 2014-02-19 Pedro Alves <palves@redhat.com>
7236
7237 * common/ptid.h (struct ptid): Mention that process_stratum
7238 targets should prefer ptid.lwp.
7239
7240 2014-02-19 Pedro Alves <palves@redhat.com>
7241
7242 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7243 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7244 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7245 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7246 store remote thread ids rather than ptid.tid.
7247 (_initialize_remote): Adjust.
7248
7249 2014-02-19 Tom Tromey <tromey@redhat.com>
7250
7251 * target.c (target_get_unwinder): Rewrite.
7252 (target_get_tailcall_unwinder): Rewrite.
7253 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7254 (record_btrace_to_get_tailcall_unwinder): New function.
7255 (init_record_btrace_ops): Update.
7256 * target.h (struct target_ops) <to_get_unwinder,
7257 to_get_tailcall_unwinder>: Now function pointers. Use
7258 TARGET_DEFAULT_RETURN.
7259
7260 2014-02-19 Tom Tromey <tromey@redhat.com>
7261
7262 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7263 argument.
7264 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7265
7266 2014-02-19 Tom Tromey <tromey@redhat.com>
7267
7268 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7269 directly.
7270 * target-delegates.c: Rebuild.
7271 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7272 TARGET_DEFAULT_FUNC.
7273 * target.c (default_target_decr_pc_after_break): Rename from
7274 forward_target_decr_pc_after_break. Simplify.
7275 (target_decr_pc_after_break): Rely on delegation.
7276
7277 2014-02-19 Tom Tromey <tromey@redhat.com>
7278
7279 * target.c (update_current_target): Do not INHERIT to_doc or
7280 to_magic. Do not de_fault to_open or to_close.
7281
7282 2014-02-19 Tom Tromey <tromey@redhat.com>
7283
7284 * gcore.h (objfile_find_memory_regions): Declare.
7285 * gcore.c (objfile_find_memory_regions): No longer static. Add
7286 "self" argument.
7287 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7288 * exec.c: Include gcore.h.
7289 (exec_set_find_memory_regions): Remove.
7290 (exec_find_memory_regions): Remove.
7291 (exec_do_find_memory_regions): Remove.
7292 (init_exec_ops): Update.
7293 * defs.h (exec_set_find_memory_regions): Remove.
7294
7295 2014-02-19 Tom Tromey <tromey@redhat.com>
7296
7297 * target-delegates.c: Rebuild.
7298 * target.h (struct target_ops) <to_extra_thread_info,
7299 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7300 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7301 not 0, in TARGET_DEFAULT_RETURN.
7302
7303 2014-02-19 Tom Tromey <tromey@redhat.com>
7304
7305 * target.c (complete_target_initialization): Remove casts. Use
7306 return_zero_has_execution.
7307 (return_zero): Add "ignore" argument.
7308 (return_zero_has_execution): New function.
7309 (init_dummy_target): Remove casts. Use
7310 return_zero_has_execution.
7311
7312 2014-02-19 Tom Tromey <tromey@redhat.com>
7313
7314 * target.c (update_current_target): Update comments. Do not
7315 INHERIT to_stratum.
7316
7317 2014-02-19 Tom Tromey <tromey@redhat.com>
7318
7319 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7320 needed.
7321 * corelow.c (core_read_description): Delegate when needed.
7322 * remote.c (remote_read_description): Delegate when needed.
7323 * target-delegates.c: Rebuild.
7324 * target.c (target_read_description): Rewrite.
7325 * target.h (struct target_ops) <to_read_description>: Update
7326 comment. Use TARGET_DEFAULT_RETURN.
7327
7328 2014-02-19 Tom Tromey <tromey@redhat.com>
7329
7330 * target-delegates.c: Rebuild.
7331 * target.c (update_current_target): Don't inherit or default
7332 to_can_run.
7333 (find_default_run_target): Check against delegate_can_run.
7334 * target.h (struct target_ops) <to_can_run>: Use
7335 TARGET_DEFAULT_RETURN.
7336
7337 2014-02-19 Tom Tromey <tromey@redhat.com>
7338
7339 * target-delegates.c: Rebuild.
7340 * target.c (target_disconnect): Unconditionally delegate.
7341 * target.h (struct target_ops) <to_disconnect>: Use
7342 TARGET_DEFAULT_NORETURN.
7343
7344 2014-02-19 Tom Tromey <tromey@redhat.com>
7345
7346 * record.c (record_stop): Unconditionally delegate.
7347 * target-delegates.c: Rebuild.
7348 * target.c (target_stop_recording): Unconditionally delegate.
7349 * target.h (struct target_ops) <to_stop_recording>: Use
7350 TARGET_DEFAULT_IGNORE.
7351
7352 2014-02-19 Tom Tromey <tromey@redhat.com>
7353
7354 * target-delegates.c: Rebuild.
7355 * target.c (target_enable_btrace): Unconditionally delegate.
7356 * target.h (struct target_ops) <to_enable_btrace>: Use
7357 TARGET_DEFAULT_NORETURN.
7358
7359 2014-02-19 Tom Tromey <tromey@redhat.com>
7360
7361 * target-delegates.c: Rebuild.
7362 * target.c (target_read_btrace): Unconditionally delegate.
7363 * target.h (struct target_ops) <to_read_btrace>: Use
7364 TARGET_DEFAULT_NORETURN.
7365
7366 2014-02-19 Tom Tromey <tromey@redhat.com>
7367
7368 * target-delegates.c: Rebuild.
7369 * target.c (target_teardown_btrace): Unconditionally delegate.
7370 * target.h (struct target_ops) <to_teardown_btrace>: Use
7371 TARGET_DEFAULT_NORETURN.
7372
7373 2014-02-19 Tom Tromey <tromey@redhat.com>
7374
7375 * target-delegates.c: Rebuild.
7376 * target.c (target_disable_btrace): Unconditionally delegate.
7377 * target.h (struct target_ops) <to_disable_btrace>: Use
7378 TARGET_DEFAULT_NORETURN.
7379
7380 2014-02-19 Tom Tromey <tromey@redhat.com>
7381
7382 * target-delegates.c: Rebuild.
7383 * target.c (default_search_memory): New function.
7384 (simple_search_memory): Update comment.
7385 (target_search_memory): Unconditionally delegate.
7386 * target.h (struct target_ops) <to_search_memory>: Use
7387 TARGET_DEFAULT_FUNC.
7388
7389 2014-02-19 Tom Tromey <tromey@redhat.com>
7390
7391 * auxv.c (default_auxv_parse): No longer static.
7392 (target_auxv_parse): Unconditionally delegate.
7393 * auxv.h (default_auxv_parse): Declare.
7394 * target-delegates.c: Rebuild.
7395 * target.c: Include auxv.h.
7396 * target.h (struct target_ops) <to_auxv_parse>: Use
7397 TARGET_DEFAULT_FUNC.
7398
7399 2014-02-19 Tom Tromey <tromey@redhat.com>
7400
7401 * target-delegates.c: Rebuild.
7402 * target.c (target_memory_map): Unconditionally delegate.
7403 * target.h (struct target_ops) <to_memory_map>: Use
7404 TARGET_DEFAULT_RETURN.
7405
7406 2014-02-19 Tom Tromey <tromey@redhat.com>
7407
7408 * target-delegates.c: Rebuild.
7409 * target.c (target_thread_alive): Unconditionally delegate.
7410 * target.h (struct target_ops) <to_thread_alive>: Use
7411 TARGET_DEFAULT_RETURN.
7412
7413 2014-02-19 Tom Tromey <tromey@redhat.com>
7414
7415 * target-delegates.c: Rebuild.
7416 * target.c (target_save_record): Unconditionally delegate.
7417 * target.h (struct target_ops) <to_save_record>: Use
7418 TARGET_DEFAULT_NORETURN.
7419
7420 2014-02-19 Tom Tromey <tromey@redhat.com>
7421
7422 * target-delegates.c: Rebuild.
7423 * target.c (target_delete_record): Unconditionally delegate.
7424 * target.h (struct target_ops) <to_delete_record>: Use
7425 TARGET_DEFAULT_NORETURN.
7426
7427 2014-02-19 Tom Tromey <tromey@redhat.com>
7428
7429 * target-delegates.c: Rebuild.
7430 * target.c (target_record_is_replaying): Unconditionally
7431 delegate.
7432 * target.h (struct target_ops) <to_record_is_replaying>: Use
7433 TARGET_DEFAULT_RETURN.
7434
7435 2014-02-19 Tom Tromey <tromey@redhat.com>
7436
7437 * target-delegates.c: Rebuild.
7438 * target.c (target_goto_record_begin): Unconditionally delegate.
7439 * target.h (struct target_ops) <to_goto_record_begin>: Use
7440 TARGET_DEFAULT_NORETURN.
7441
7442 2014-02-19 Tom Tromey <tromey@redhat.com>
7443
7444 * target-delegates.c: Rebuild.
7445 * target.c (target_goto_record_end): Unconditionally delegate.
7446 * target.h (struct target_ops) <to_goto_record_end>: Use
7447 TARGET_DEFAULT_NORETURN.
7448
7449 2014-02-19 Tom Tromey <tromey@redhat.com>
7450
7451 * target-delegates.c: Rebuild.
7452 * target.c (target_goto_record): Unconditionally delegate.
7453 * target.h (struct target_ops) <to_goto_record>: Use
7454 TARGET_DEFAULT_NORETURN.
7455
7456 2014-02-19 Tom Tromey <tromey@redhat.com>
7457
7458 * target-delegates.c: Rebuild.
7459 * target.c (target_insn_history): Unconditionally delegate.
7460 * target.h (struct target_ops) <to_insn_history>: Use
7461 TARGET_DEFAULT_NORETURN.
7462
7463 2014-02-19 Tom Tromey <tromey@redhat.com>
7464
7465 * target-delegates.c: Rebuild.
7466 * target.c (target_insn_history_from): Unconditionally delegate.
7467 * target.h (struct target_ops) <to_insn_history_from>: Use
7468 TARGET_DEFAULT_NORETURN.
7469
7470 2014-02-19 Tom Tromey <tromey@redhat.com>
7471
7472 * target-delegates.c: Rebuild.
7473 * target.c (target_insn_history_range): Unconditionally delegate.
7474 * target.h (struct target_ops) <to_insn_history_range>: Use
7475 TARGET_DEFAULT_NORETURN.
7476
7477 2014-02-19 Tom Tromey <tromey@redhat.com>
7478
7479 * target-delegates.c: Rebuild.
7480 * target.c (target_call_history): Unconditionally delegate.
7481 * target.h (struct target_ops) <to_call_history>: Use
7482 TARGET_DEFAULT_NORETURN.
7483
7484 2014-02-19 Tom Tromey <tromey@redhat.com>
7485
7486 * target-delegates.c: Rebuild.
7487 * target.c (target_call_history_from): Unconditionally delegate.
7488 * target.h (struct target_ops) <to_call_history_from>: Use
7489 TARGET_DEFAULT_NORETURN.
7490
7491 2014-02-19 Tom Tromey <tromey@redhat.com>
7492
7493 * target-delegates.c: Rebuild.
7494 * target.c (target_call_history_range): Unconditionally delegate.
7495 * target.h (struct target_ops) <to_call_history_range>: Use
7496 TARGET_DEFAULT_NORETURN.
7497
7498 2014-02-19 Tom Tromey <tromey@redhat.com>
7499
7500 * target-delegates.c: Rebuild.
7501 * target.c (target_verify_memory): Unconditionally delegate.
7502 * target.h (struct target_ops) <to_verify_memory>: Use
7503 TARGET_DEFAULT_NORETURN.
7504
7505 2014-02-19 Tom Tromey <tromey@redhat.com>
7506
7507 * target-delegates.c: Rebuild.
7508 * target.c (target_core_of_thread): Unconditionally delegate.
7509 * target.h (struct target_ops) <to_core_of_thread>: Use
7510 TARGET_DEFAULT_RETURN.
7511
7512 2014-02-19 Tom Tromey <tromey@redhat.com>
7513
7514 * target-delegates.c: Rebuild.
7515 * target.c (target_flash_done): Unconditionally delegate.
7516 * target.h (struct target_ops) <to_flash_done>: Use
7517 TARGET_DEFAULT_NORETURN.
7518
7519 2014-02-19 Tom Tromey <tromey@redhat.com>
7520
7521 * target-delegates.c: Rebuild.
7522 * target.c (target_flash_erase): Unconditionally delegate.
7523 * target.h (struct target_ops) <to_flash_erase>: Use
7524 TARGET_DEFAULT_NORETURN.
7525
7526 2014-02-19 Tom Tromey <tromey@redhat.com>
7527
7528 * target-delegates.c: Rebuild.
7529 * target.c (target_get_section_table): Unconditionally delegate.
7530 * target.h (struct target_ops) <to_get_section_table>: Use
7531 TARGET_DEFAULT_RETURN.
7532
7533 2014-02-19 Tom Tromey <tromey@redhat.com>
7534
7535 * target-delegates.c: Rebuild.
7536 * target.c (target_pid_to_str): Unconditionally delegate.
7537 (init_dummy_target): Don't initialize to_pid_to_str.
7538 (default_pid_to_str): Rename from dummy_pid_to_str.
7539 * target.h (struct target_ops) <to_pid_to_str>: Use
7540 TARGET_DEFAULT_FUNC.
7541
7542 2014-02-19 Tom Tromey <tromey@redhat.com>
7543
7544 * target-delegates.c: Rebuild.
7545 * target.c (target_find_new_threads): Unconditionally delegate.
7546 * target.h (struct target_ops) <to_find_new_threads>: Use
7547 TARGET_DEFAULT_RETURN.
7548
7549 2014-02-19 Tom Tromey <tromey@redhat.com>
7550
7551 * target-delegates.c: Rebuild.
7552 * target.c (target_program_signals): Unconditionally delegate.
7553 * target.h (struct target_ops) <to_program_signals>: Use
7554 TARGET_DEFAULT_IGNORE.
7555
7556 2014-02-19 Tom Tromey <tromey@redhat.com>
7557
7558 * target-delegates.c: Rebuild.
7559 * target.c (target_pass_signals): Unconditionally delegate.
7560 * target.h (struct target_ops) <to_pass_signals>: Use
7561 TARGET_DEFAULT_IGNORE.
7562
7563 2014-02-19 Tom Tromey <tromey@redhat.com>
7564
7565 * target-delegates.c: Rebuild.
7566 * target.c (default_mourn_inferior): New function.
7567 (target_mourn_inferior): Unconditionally delegate.
7568 * target.h (struct target_ops) <to_mourn_inferior>: Use
7569 TARGET_DEFAULT_FUNC.
7570
7571 2014-02-19 Tom Tromey <tromey@redhat.com>
7572
7573 * target-delegates.c: Rebuild.
7574 * target.c (default_follow_fork): New function.
7575 (target_follow_fork): Unconditionally delegate.
7576 * target.h (struct target_ops) <to_follow_fork>: Use
7577 TARGET_DEFAULT_FUNC.
7578
7579 2014-02-19 Tom Tromey <tromey@redhat.com>
7580
7581 * target-delegates.c: Rebuild.
7582 * target.c (target_kill): Unconditionally delegate.
7583 * target.h (struct target_ops) <to_kill>: Use
7584 TARGET_DEFAULT_NORETURN.
7585
7586 2014-02-19 Tom Tromey <tromey@redhat.com>
7587
7588 * target-delegates.c: Rebuild.
7589 * target.c (target_masked_watch_num_registers): Unconditionally
7590 delegate.
7591 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7592 Use TARGET_DEFAULT_RETURN.
7593
7594 2014-02-19 Tom Tromey <tromey@redhat.com>
7595
7596 * target-delegates.c: Rebuild.
7597 * target.c (target_remove_mask_watchpoint): Unconditionally
7598 delegate.
7599 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7600 TARGET_DEFAULT_RETURN.
7601
7602 2014-02-19 Tom Tromey <tromey@redhat.com>
7603
7604 * target-delegates.c: Rebuild.
7605 * target.c (target_insert_mask_watchpoint): Unconditionally
7606 delegate.
7607 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7608 TARGET_DEFAULT_RETURN.
7609
7610 2014-02-19 Tom Tromey <tromey@redhat.com>
7611
7612 * target-delegates.c: Rebuild.
7613 * target.c (target_ranged_break_num_registers): Unconditionally
7614 delegate.
7615 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7616 Use TARGET_DEFAULT_RETURN.
7617
7618 2014-02-19 Tom Tromey <tromey@redhat.com>
7619
7620 * target-delegates.c: Rebuild.
7621 * target.c (target_fetch_registers): Unconditionally delegate.
7622 * target.h (struct target_ops) <to_fetch_registers>: Use
7623 TARGET_DEFAULT_NORETURN.
7624
7625 2014-02-19 Tom Tromey <tromey@redhat.com>
7626
7627 * target-delegates.c: Rebuild.
7628 * target.c (update_current_target): Don't inherit or default
7629 to_stop.
7630 * target.h (struct target_ops) <to_stop>: Use
7631 TARGET_DEFAULT_IGNORE.
7632
7633 2014-02-19 Tom Tromey <tromey@redhat.com>
7634
7635 * target-delegates.c: Rebuild.
7636 * target.c (update_current_target): Don't inherit or default
7637 to_can_run_breakpoint_commands.
7638 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7639 Use TARGET_DEFAULT_RETURN.
7640
7641 2014-02-19 Tom Tromey <tromey@redhat.com>
7642
7643 * target-delegates.c: Rebuild.
7644 * target.c (update_current_target): Don't inherit or default
7645 to_supports_evaluation_of_breakpoint_conditions.
7646 * target.h (struct target_ops)
7647 <to_supports_evaluation_of_breakpoint_conditions>: Use
7648 TARGET_DEFAULT_RETURN.
7649
7650 2014-02-19 Tom Tromey <tromey@redhat.com>
7651
7652 * target-delegates.c: Rebuild.
7653 * target.c (update_current_target): Don't inherit or default
7654 to_augmented_libraries_svr4_read.
7655 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7656 Use TARGET_DEFAULT_RETURN.
7657
7658 2014-02-19 Tom Tromey <tromey@redhat.com>
7659
7660 * target-delegates.c: Rebuild.
7661 * target.c (update_current_target): Don't inherit or default
7662 to_can_use_agent.
7663 * target.h (struct target_ops) <to_can_use_agent>: Use
7664 TARGET_DEFAULT_RETURN.
7665
7666 2014-02-19 Tom Tromey <tromey@redhat.com>
7667
7668 * target-delegates.c: Rebuild.
7669 * target.c (update_current_target): Don't inherit or default
7670 to_use_agent.
7671 * target.h (struct target_ops) <to_use_agent>: Use
7672 TARGET_DEFAULT_NORETURN.
7673
7674 2014-02-19 Tom Tromey <tromey@redhat.com>
7675
7676 * target-delegates.c: Rebuild.
7677 * target.c (update_current_target): Don't inherit or default
7678 to_traceframe_info.
7679 (return_null): Remove.
7680 * target.h (struct target_ops) <to_traceframe_info>: Use
7681 TARGET_DEFAULT_RETURN.
7682
7683 2014-02-19 Tom Tromey <tromey@redhat.com>
7684
7685 * target-delegates.c: Rebuild.
7686 * target.c (update_current_target): Don't inherit or default
7687 to_static_tracepoint_markers_by_strid.
7688 * target.h (struct target_ops)
7689 <to_static_tracepoint_markers_by_strid>: Use
7690 TARGET_DEFAULT_NORETURN.
7691
7692 2014-02-19 Tom Tromey <tromey@redhat.com>
7693
7694 * target-delegates.c: Rebuild.
7695 * target.c (update_current_target): Don't inherit or default
7696 to_static_tracepoint_marker_at.
7697 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7698 Use TARGET_DEFAULT_RETURN.
7699
7700 2014-02-19 Tom Tromey <tromey@redhat.com>
7701
7702 * target-delegates.c: Rebuild.
7703 * target.c (update_current_target): Don't inherit or default
7704 to_set_permissions.
7705 * target.h (struct target_ops) <to_set_permissions>: Use
7706 TARGET_DEFAULT_IGNORE.
7707
7708 2014-02-19 Tom Tromey <tromey@redhat.com>
7709
7710 * target-delegates.c: Rebuild.
7711 * target.c (update_current_target): Don't inherit or default
7712 to_get_tib_address.
7713 * target.h (struct target_ops) <to_get_tib_address>: Use
7714 TARGET_DEFAULT_NORETURN.
7715
7716 2014-02-19 Tom Tromey <tromey@redhat.com>
7717
7718 * target-delegates.c: Rebuild.
7719 * target.c (update_current_target): Don't inherit or default
7720 to_set_trace_notes.
7721 * target.h (struct target_ops) <to_set_trace_notes>: Use
7722 TARGET_DEFAULT_RETURN.
7723
7724 2014-02-19 Tom Tromey <tromey@redhat.com>
7725
7726 * target-delegates.c: Rebuild.
7727 * target.c (update_current_target): Don't initialize
7728 to_set_trace_buffer_size.
7729 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7730 TARGET_DEFAULT_IGNORE.
7731
7732 2014-02-19 Tom Tromey <tromey@redhat.com>
7733
7734 * target-delegates.c: Rebuild.
7735 * target.c (update_current_target): Don't inherit or default
7736 to_set_circular_trace_buffer.
7737 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7738 TARGET_DEFAULT_IGNORE.
7739
7740 2014-02-19 Tom Tromey <tromey@redhat.com>
7741
7742 * target-delegates.c: Rebuild.
7743 * target.c (update_current_target): Don't inherit or default
7744 to_set_disconnected_tracing.
7745 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7746 TARGET_DEFAULT_IGNORE.
7747
7748 2014-02-19 Tom Tromey <tromey@redhat.com>
7749
7750 * target-delegates.c: Rebuild.
7751 * target.c (update_current_target): Don't inherit or default
7752 to_get_min_fast_tracepoint_insn_len.
7753 (return_minus_one): Remove.
7754 * target.h (struct target_ops)
7755 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7756
7757 2014-02-19 Tom Tromey <tromey@redhat.com>
7758
7759 * target-delegates.c: Rebuild.
7760 * target.c (update_current_target): Don't inherit or default
7761 to_get_raw_trace_data.
7762 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7763 TARGET_DEFAULT_NORETURN.
7764
7765 2014-02-19 Tom Tromey <tromey@redhat.com>
7766
7767 * target-delegates.c: Rebuild.
7768 * target.c (update_current_target): Don't inherit or default
7769 to_upload_trace_state_variables.
7770 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7771 Use TARGET_DEFAULT_RETURN.
7772
7773 2014-02-19 Tom Tromey <tromey@redhat.com>
7774
7775 * target-delegates.c: Rebuild.
7776 * target.c (update_current_target): Don't inherit or default
7777 to_upload_tracepoints.
7778 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7779 TARGET_DEFAULT_RETURN.
7780
7781 2014-02-19 Tom Tromey <tromey@redhat.com>
7782
7783 * target-delegates.c: Rebuild.
7784 * target.c (update_current_target): Don't inherit or default
7785 to_save_trace_data.
7786 * target.h (struct target_ops) <to_save_trace_data>: Use
7787 TARGET_DEFAULT_NORETURN.
7788
7789 2014-02-19 Tom Tromey <tromey@redhat.com>
7790
7791 * target-delegates.c: Rebuild.
7792 * target.c (update_current_target): Don't inherit or default
7793 to_get_trace_state_variable_value.
7794 * target.h (struct target_ops)
7795 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7796
7797 2014-02-19 Tom Tromey <tromey@redhat.com>
7798
7799 * target-delegates.c: Rebuild.
7800 * target.c (update_current_target): Don't inherit or default
7801 to_trace_find.
7802 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7803
7804 2014-02-19 Tom Tromey <tromey@redhat.com>
7805
7806 * target-delegates.c: Rebuild.
7807 * target.c (update_current_target): Don't inherit or default
7808 to_trace_stop.
7809 * target.h (struct target_ops) <to_trace_stop>: Use
7810 TARGET_DEFAULT_NORETURN.
7811
7812 2014-02-19 Tom Tromey <tromey@redhat.com>
7813
7814 * target-delegates.c: Rebuild.
7815 * target.c (update_current_target): Don't inherit or default
7816 to_get_tracepoint_status.
7817 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7818 TARGET_DEFAULT_NORETURN.
7819
7820 2014-02-19 Tom Tromey <tromey@redhat.com>
7821
7822 * target-delegates.c: Rebuild.
7823 * target.c (update_current_target): Don't inherit or default
7824 to_get_trace_status.
7825 * target.h (struct target_ops) <to_get_trace_status>: Use
7826 TARGET_DEFAULT_RETURN.
7827
7828 2014-02-19 Tom Tromey <tromey@redhat.com>
7829
7830 * target-delegates.c: Rebuild.
7831 * target.c (update_current_target): Don't inherit or default
7832 to_trace_start.
7833 * target.h (struct target_ops) <to_trace_start>: Use
7834 TARGET_DEFAULT_NORETURN.
7835
7836 2014-02-19 Tom Tromey <tromey@redhat.com>
7837
7838 * target-delegates.c: Rebuild.
7839 * target.c (update_current_target): Don't inherit or default
7840 to_trace_set_readonly_regions.
7841 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7842 Use TARGET_DEFAULT_NORETURN.
7843
7844 2014-02-19 Tom Tromey <tromey@redhat.com>
7845
7846 * target-delegates.c: Rebuild.
7847 * target.c (update_current_target): Don't inherit or default
7848 to_disable_tracepoint.
7849 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7850 TARGET_DEFAULT_NORETURN.
7851
7852 2014-02-19 Tom Tromey <tromey@redhat.com>
7853
7854 * target-delegates.c: Rebuild.
7855 * target.c (update_current_target): Don't inherit or default
7856 to_enable_tracepoint.
7857 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7858 TARGET_DEFAULT_NORETURN.
7859
7860 2014-02-19 Tom Tromey <tromey@redhat.com>
7861
7862 * target-delegates.c: Rebuild.
7863 * target.c (update_current_target): Don't inherit or default
7864 to_download_trace_state_variable.
7865 * target.h (struct target_ops) <to_download_trace_state_variable>:
7866 Use TARGET_DEFAULT_NORETURN.
7867
7868 2014-02-19 Tom Tromey <tromey@redhat.com>
7869
7870 * target-delegates.c: Rebuild.
7871 * target.c (update_current_target): Don't inherit or default
7872 to_can_download_tracepoint.
7873 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7874 TARGET_DEFAULT_RETURN.
7875
7876 2014-02-19 Tom Tromey <tromey@redhat.com>
7877
7878 * target-delegates.c: Rebuild.
7879 * target.c (update_current_target): Don't inherit or default
7880 to_download_tracepoint.
7881 * target.h (struct target_ops) <to_download_tracepoint>: Use
7882 TARGET_DEFAULT_NORETURN.
7883
7884 2014-02-19 Tom Tromey <tromey@redhat.com>
7885
7886 * target-delegates.c: Rebuild.
7887 * target.c (update_current_target): Don't inherit or default
7888 to_trace_init.
7889 * target.h (struct target_ops) <to_trace_init>: Use
7890 TARGET_DEFAULT_RETURN.
7891
7892 2014-02-19 Tom Tromey <tromey@redhat.com>
7893
7894 * target-delegates.c: Rebuild.
7895 * target.c (update_current_target): Don't inherit or default
7896 to_supports_string_tracing.
7897 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7898 TARGET_DEFAULT_RETURN.
7899
7900 2014-02-19 Tom Tromey <tromey@redhat.com>
7901
7902 * target-delegates.c: Rebuild.
7903 * target.c (update_current_target): Don't inherit or default
7904 to_supports_enable_disable_tracepoint.
7905 * target.h (struct target_ops)
7906 <to_supports_enable_disable_tracepoint>: Use
7907 TARGET_DEFAULT_RETURN.
7908
7909 2014-02-19 Tom Tromey <tromey@redhat.com>
7910
7911 * target-delegates.c: Rebuild.
7912 * target.c (update_current_target): Don't inherit or default
7913 to_supports_multi_process.
7914 * target.h (struct target_ops) <to_supports_multi_process>: Use
7915 TARGET_DEFAULT_RETURN.
7916
7917 2014-02-19 Tom Tromey <tromey@redhat.com>
7918
7919 * target-delegates.c: Rebuild.
7920 * target.c (update_current_target): Don't inherit or default
7921 to_get_ada_task_ptid.
7922 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7923 TARGET_DEFAULT_FUNC.
7924
7925 2014-02-19 Tom Tromey <tromey@redhat.com>
7926
7927 * target-delegates.c: Rebuild.
7928 * target.c (update_current_target): Don't inherit or default
7929 to_thread_architecture.
7930 * target.h (struct target_ops) <to_thread_architecture>: Use
7931 TARGET_DEFAULT_FUNC.
7932
7933 2014-02-19 Tom Tromey <tromey@redhat.com>
7934
7935 * target-delegates.c: Rebuild.
7936 * target.c (update_current_target): Don't inherit or default
7937 to_execution_direction.
7938 * target.h (struct target_ops) <to_execution_direction>: Use
7939 TARGET_DEFAULT_FUNC.
7940
7941 2014-02-19 Tom Tromey <tromey@redhat.com>
7942
7943 * target-delegates.c: Rebuild.
7944 * target.c (update_current_target): Don't inherit or default
7945 to_can_execute_reverse.
7946 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7947 TARGET_DEFAULT_RETURN.
7948 (target_can_execute_reverse): Unconditionally delegate.
7949
7950 2014-02-19 Tom Tromey <tromey@redhat.com>
7951
7952 * target-delegates.c: Rebuild.
7953 * target.c (update_current_target): Don't inherit or default
7954 to_goto_bookmark.
7955 (dummy_goto_bookmark): Remove.
7956 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7957 * target.h (struct target_ops) <to_goto_bookmark>: Use
7958 TARGET_DEFAULT_NORETURN.
7959
7960 2014-02-19 Tom Tromey <tromey@redhat.com>
7961
7962 * target-delegates.c: Rebuild.
7963 * target.c (update_current_target): Don't inherit or default
7964 to_get_bookmark.
7965 (dummy_get_bookmark): Remove.
7966 (init_dummy_target): Don't inherit or default to_get_bookmark.
7967 * target.h (struct target_ops) <to_get_bookmark>: Use
7968 TARGET_DEFAULT_NORETURN
7969
7970 2014-02-19 Tom Tromey <tromey@redhat.com>
7971
7972 * target-delegates.c: Rebuild.
7973 * target.c (update_current_target): Don't inherit or default
7974 to_make_corefile_notes.
7975 (init_dummy_target): Don't initialize to_make_corefile_notes.
7976 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7977 TARGET_DEFAULT_FUNC.
7978
7979 2014-02-19 Tom Tromey <tromey@redhat.com>
7980
7981 * target-delegates.c: Rebuild.
7982 * target.c (update_current_target): Don't inherit or default
7983 to_find_memory_regions.
7984 (init_dummy_target): Don't initialize to_find_memory_regions.
7985 * target.h (struct target_ops) <to_find_memory_regions>: Use
7986 TARGET_DEFAULT_FUNC.
7987
7988 2014-02-19 Tom Tromey <tromey@redhat.com>
7989
7990 * target-delegates.c: Rebuild.
7991 * target.c (update_current_target): Don't inherit or default
7992 to_log_command.
7993 * target.h (struct target_ops) <to_log_command>: Use
7994 TARGET_DEFAULT_IGNORE.
7995 (target_log_command): Unconditionally delegate.
7996
7997 2014-02-19 Tom Tromey <tromey@redhat.com>
7998
7999 * target-delegates.c: Rebuild.
8000 * target.c (update_current_target): Don't inherit or default
8001 to_pid_to_exec_file.
8002 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8003 TARGET_DEFAULT_RETURN.
8004
8005 2014-02-19 Tom Tromey <tromey@redhat.com>
8006
8007 * target-delegates.c: Rebuild.
8008 * target.c (update_current_target): Don't inherit or default
8009 to_thread_name.
8010 (target_thread_name): Unconditionally delegate.
8011 * target.h (struct target_ops) <to_thread_name>: Use
8012 TARGET_DEFAULT_RETURN.
8013
8014 2014-02-19 Tom Tromey <tromey@redhat.com>
8015
8016 * target-delegates.c: Rebuild.
8017 * target.c (update_current_target): Don't inherit or default
8018 to_extra_thread_info.
8019 * target.h (struct target_ops) <to_extra_thread_info>: Use
8020 TARGET_DEFAULT_RETURN.
8021
8022 2014-02-19 Tom Tromey <tromey@redhat.com>
8023
8024 * target-delegates.c: Rebuild.
8025 * target.c (update_current_target): Don't inherit or default
8026 to_has_exited.
8027 * target.h (struct target_ops) <to_has_exited>: Use
8028 TARGET_DEFAULT_RETURN..
8029
8030 2014-02-19 Tom Tromey <tromey@redhat.com>
8031
8032 * target-delegates.c: Rebuild.
8033 * target.c (update_current_target): Don't inherit or default
8034 to_set_syscall_catchpoint.
8035 (return_one): Remove.
8036 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8037 TARGET_DEFAULT_RETURN.
8038
8039 2014-02-19 Tom Tromey <tromey@redhat.com>
8040
8041 * target-delegates.c: Rebuild.
8042 * target.c (update_current_target): Don't inherit or default
8043 to_insert_exec_catchpoint.
8044 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8045 TARGET_DEFAULT_RETURN.
8046
8047 2014-01-08 Tom Tromey <tromey@redhat.com>
8048
8049 * target-delegates.c: Rebuild.
8050 * target.c (update_current_target): Don't inherit or default
8051 to_insert_exec_catchpoint.
8052 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8053 TARGET_DEFAULT_RETURN.
8054
8055 2014-02-19 Tom Tromey <tromey@redhat.com>
8056
8057 * target-delegates.c: Rebuild.
8058 * target.c (update_current_target): Don't inherit or default
8059 to_remove_vfork_catchpoint.
8060 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8061 TARGET_DEFAULT_RETURN.
8062
8063 2014-02-19 Tom Tromey <tromey@redhat.com>
8064
8065 * target-delegates.c: Rebuild.
8066 * target.c (update_current_target): Don't inherit or default
8067 to_insert_vfork_catchpoint.
8068 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8069 TARGET_DEFAULT_RETURN.
8070
8071 2014-02-19 Tom Tromey <tromey@redhat.com>
8072
8073 * target-delegates.c: Rebuild.
8074 * target.c (update_current_target): Don't inherit or default
8075 to_remove_fork_catchpoint.
8076 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8077 TARGET_DEFAULT_RETURN.
8078
8079 2014-02-19 Tom Tromey <tromey@redhat.com>
8080
8081 * target-delegates.c: Rebuild.
8082 * target.c (update_current_target): Don't inherit or default
8083 to_insert_fork_catchpoint.
8084 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8085 TARGET_DEFAULT_RETURN.
8086
8087 2014-02-19 Tom Tromey <tromey@redhat.com>
8088
8089 * target-delegates.c: Rebuild.
8090 * target.c (update_current_target): Don't inherit or default
8091 to_post_startup_inferior.
8092 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8093 TARGET_DEFAULT_IGNORE.
8094
8095 2014-02-19 Tom Tromey <tromey@redhat.com>
8096
8097 * target-delegates.c: Rebuild.
8098 * target.c (update_current_target): Don't inherit or default
8099 to_load.
8100 * target.h (struct target_ops) <to_load>: Use
8101 TARGET_DEFAULT_NORETURN.
8102
8103 2014-02-19 Tom Tromey <tromey@redhat.com>
8104
8105 * target-delegates.c: Rebuild.
8106 * target.c (update_current_target): Don't inherit or default
8107 to_terminal_info.
8108 * target.h (struct target_ops) <to_terminal_info>: Use
8109 TARGET_DEFAULT_FUNC.
8110
8111 2014-02-19 Tom Tromey <tromey@redhat.com>
8112
8113 * target-delegates.c: Rebuild.
8114 * target.c (update_current_target): Don't inherit or default
8115 to_terminal_save_ours.
8116 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8117 TARGET_DEFAULT_IGNORE.
8118
8119 2014-02-19 Tom Tromey <tromey@redhat.com>
8120
8121 * target-delegates.c: Rebuild.
8122 * target.c (update_current_target): Don't inherit or default
8123 to_terminal_ours.
8124 * target.h (struct target_ops) <to_terminal_ours>: Use
8125 TARGET_DEFAULT_IGNORE.
8126
8127 2014-02-19 Tom Tromey <tromey@redhat.com>
8128
8129 * target-delegates.c: Rebuild.
8130 * target.c (update_current_target): Don't inherit or default
8131 to_terminal_ours_for_output.
8132 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8133 TARGET_DEFAULT_IGNORE.
8134
8135 2014-02-19 Tom Tromey <tromey@redhat.com>
8136
8137 * target-delegates.c: Rebuild.
8138 * target.c (update_current_target): Don't inherit or default
8139 to_terminal_inferior.
8140 * target.h (struct target_ops) <to_terminal_inferior>: Use
8141 TARGET_DEFAULT_IGNORE.
8142
8143 2014-02-19 Tom Tromey <tromey@redhat.com>
8144
8145 * target-delegates.c: Rebuild.
8146 * target.c (update_current_target): Don't inherit or default
8147 to_terminal_init.
8148 * target.h (struct target_ops) <to_terminal_init>: Use
8149 TARGET_DEFAULT_IGNORE.
8150
8151 2014-02-19 Tom Tromey <tromey@redhat.com>
8152
8153 * target-delegates.c: Rebuild.
8154 * target.c (update_current_target): Don't inherit or default
8155 to_can_accel_watchpoint_condition.
8156 * target.h (struct target_ops)
8157 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8158
8159 2014-02-19 Tom Tromey <tromey@redhat.com>
8160
8161 * target-delegates.c: Rebuild.
8162 * target.c (update_current_target): Don't inherit or default
8163 to_region_ok_for_hw_watchpoint.
8164 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8165 Use TARGET_DEFAULT_FUNC.
8166
8167 2014-02-19 Tom Tromey <tromey@redhat.com>
8168
8169 * target-delegates.c: Rebuild.
8170 * target.c (update_current_target): Don't inherit or default
8171 to_watchpoint_addr_within_range.
8172 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8173 Use TARGET_DEFAULT_FUNC.
8174
8175 2014-02-19 Tom Tromey <tromey@redhat.com>
8176
8177 * target-delegates.c: Rebuild.
8178 * target.c (update_current_target): Don't inherit or default
8179 to_remove_watchpoint.
8180 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8181 TARGET_DEFAULT_NORETURN.
8182
8183 2014-02-19 Tom Tromey <tromey@redhat.com>
8184
8185 * target-delegates.c: Rebuild.
8186 * target.c (update_current_target): Don't inherit or default
8187 to_insert_watchpoint.
8188 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8189 TARGET_DEFAULT_RETURN.
8190
8191 2014-02-19 Tom Tromey <tromey@redhat.com>
8192
8193 * target-delegates.c: Rebuild.
8194 * target.c (update_current_target): Don't inherit or default
8195 to_remove_hw_breakpoint.
8196 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8197 TARGET_DEFAULT_RETURN.
8198
8199 2014-02-19 Tom Tromey <tromey@redhat.com>
8200
8201 * target-delegates.c: Rebuild.
8202 * target.c (update_current_target): Don't inherit or default
8203 to_insert_hw_breakpoint.
8204 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8205 TARGET_DEFAULT_RETURN.
8206
8207 2014-02-19 Tom Tromey <tromey@redhat.com>
8208
8209 * target-delegates.c: Rebuild.
8210 * target.c (update_current_target): Don't inherit or default
8211 to_can_use_hw_breakpoint.
8212 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8213 TARGET_DEFAULT_RETURN.
8214
8215 2014-02-19 Tom Tromey <tromey@redhat.com>
8216
8217 * target-delegates.c: Rebuild.
8218 * target.c (update_current_target): Don't inherit or default
8219 to_files_info.
8220 * target.h (struct target_ops) <to_files_info>: Use
8221 TARGET_DEFAULT_IGNORE.
8222
8223 2014-02-19 Tom Tromey <tromey@redhat.com>
8224
8225 * target-delegates.c: Rebuild.
8226 * target.c (update_current_target): Don't inherit or default
8227 to_store.
8228 * target.h (struct target_ops) <to_store>: Use
8229 TARGET_DEFAULT_NORETURN.
8230
8231 2014-02-19 Tom Tromey <tromey@redhat.com>
8232
8233 * target-delegates.c: Rebuild.
8234 * target.c (update_current_target): Don't inherit or default
8235 to_post_attach.
8236 * target.h (struct target_ops) <to_post_attach>: Use
8237 TARGET_DEFAULT_IGNORE.
8238
8239 2014-02-19 Tom Tromey <tromey@redhat.com>
8240
8241 * target-delegates.c: Rebuild.
8242 * target.c (update_current_target): Don't inherit or default
8243 to_rcmd.
8244 (default_rcmd): New function.
8245 (do_monitor_command): Unconditionally delegate.
8246 * target.h (struct target_ops) <to_rmcd>: Use
8247 TARGET_DEFAULT_FUNC.
8248
8249 2014-02-19 Tom Tromey <tromey@redhat.com>
8250
8251 * target-delegates.c: Rebuild.
8252 * target.c (init_dummy_target): Don't initialize to_attach.
8253 (target_attach): Unconditionally delegate.
8254 * target.h (struct target_ops) <to_attach>: Use
8255 TARGET_DEFAULT_FUNC.
8256
8257 2014-02-19 Tom Tromey <tromey@redhat.com>
8258
8259 * target-delegates.c: Rebuild.
8260 * target.c (target_detach): Unconditionally delegate.
8261 (init_dummy_target): Don't initialize to_detach.
8262 * target.h (struct target_ops) <to_detach>: Use
8263 TARGET_DEFAULT_IGNORE.
8264
8265 2014-02-19 Tom Tromey <tromey@redhat.com>
8266
8267 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8268 Add argument.
8269 (target_augmented_libraries_svr4_read): Add argument.
8270 * target.c (update_current_target): Update.
8271 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8272 argument.
8273
8274 2014-02-19 Tom Tromey <tromey@redhat.com>
8275
8276 * target.h (struct target_ops) <to_call_history_range>: Add
8277 argument.
8278 * target.c (target_call_history_range): Add argument.
8279 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8280 argument.
8281 (record_btrace_call_history_from): Update.
8282
8283 2014-02-19 Tom Tromey <tromey@redhat.com>
8284
8285 * target.h (struct target_ops) <to_call_history_from>: Add
8286 argument.
8287 * target.c (target_call_history_from): Add argument.
8288 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8289 argument.
8290
8291 2014-02-19 Tom Tromey <tromey@redhat.com>
8292
8293 * target.h (struct target_ops) <to_call_history>: Add argument.
8294 * target.c (target_call_history): Add argument.
8295 * record-btrace.c (record_btrace_call_history): Add 'self'
8296 argument.
8297
8298 2014-02-19 Tom Tromey <tromey@redhat.com>
8299
8300 * target.h (struct target_ops) <to_insn_history_range>: Add
8301 argument.
8302 * target.c (target_insn_history_range): Add argument.
8303 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8304 argument.
8305 (record_btrace_insn_history_from): Update.
8306
8307 2014-02-19 Tom Tromey <tromey@redhat.com>
8308
8309 * target.h (struct target_ops) <to_insn_history_from>: Add
8310 argument.
8311 * target.c (target_insn_history_from): Add argument.
8312 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8313 argument.
8314
8315 2014-02-19 Tom Tromey <tromey@redhat.com>
8316
8317 * target.h (struct target_ops) <to_insn_history>: Add argument.
8318 * target.c (target_insn_history): Add argument.
8319 * record-btrace.c (record_btrace_insn_history): Add 'self'
8320 argument.
8321
8322 2014-02-19 Tom Tromey <tromey@redhat.com>
8323
8324 * target.h (struct target_ops) <to_goto_record>: Add argument.
8325 * target.c (target_goto_record): Add argument.
8326 * record-full.c (record_full_goto): Add 'self' argument.
8327 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8328
8329 2014-02-19 Tom Tromey <tromey@redhat.com>
8330
8331 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8332 * target.c (target_goto_record_end): Add argument.
8333 * record-full.c (record_full_goto_end): Add 'self' argument.
8334 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8335
8336 2014-02-19 Tom Tromey <tromey@redhat.com>
8337
8338 * target.h (struct target_ops) <to_goto_record_begin>: Add
8339 argument.
8340 * target.c (target_goto_record_begin): Add argument.
8341 * record-full.c (record_full_goto_begin): Add 'self' argument.
8342 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8343 argument.
8344
8345 2014-02-19 Tom Tromey <tromey@redhat.com>
8346
8347 * target.h (struct target_ops) <to_record_is_replaying>: Add
8348 argument.
8349 * target.c (target_record_is_replaying): Add argument.
8350 * record-full.c (record_full_is_replaying): Add 'self' argument.
8351 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8352 argument.
8353 (record_btrace_xfer_partial, record_btrace_store_registers)
8354 (record_btrace_prepare_to_store, record_btrace_resume)
8355 (record_btrace_wait, record_btrace_decr_pc_after_break)
8356 (record_btrace_find_new_threads, record_btrace_thread_alive):
8357 Update.
8358
8359 2014-02-19 Tom Tromey <tromey@redhat.com>
8360
8361 * target.h (struct target_ops) <to_delete_record>: Add argument.
8362 * target.c (target_delete_record): Add argument.
8363 * record-full.c (record_full_delete): Add 'self' argument.
8364
8365 2014-02-19 Tom Tromey <tromey@redhat.com>
8366
8367 * target.h (struct target_ops) <to_save_record>: Add argument.
8368 * target.c (target_save_record): Add argument.
8369 * record-full.c (record_full_save): Add 'self' argument.
8370 (record_full_save): Add 'self' argument.
8371
8372 2014-02-19 Tom Tromey <tromey@redhat.com>
8373
8374 * target.h (struct target_ops) <to_info_record>: Add argument.
8375 * target.c (target_info_record): Add argument.
8376 * record.c (info_record_command): Add argument.
8377 * record-full.c (record_full_info): Add 'self' argument.
8378 * record-btrace.c (record_btrace_info): Add 'self' argument.
8379
8380 2014-02-19 Tom Tromey <tromey@redhat.com>
8381
8382 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8383 * target.c (target_stop_recording): Add argument.
8384 * record.c (record_stop): Add argument.
8385 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8386 argument.
8387
8388 2014-02-19 Tom Tromey <tromey@redhat.com>
8389
8390 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8391 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8392 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8393 argument.
8394 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8395 (_initialize_amd64_linux_nat): Use it.
8396 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8397 (_initialize_i386_linux_nat): Use it.
8398
8399 2014-02-19 Tom Tromey <tromey@redhat.com>
8400
8401 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8402 * target.c (target_teardown_btrace): Add argument.
8403 * remote.c (remote_teardown_btrace): Add 'self' argument.
8404 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8405 argument.
8406 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8407 argument.
8408
8409 2014-02-19 Tom Tromey <tromey@redhat.com>
8410
8411 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8412 * target.c (target_disable_btrace): Add argument.
8413 * remote.c (remote_disable_btrace): Add 'self' argument.
8414 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8415 argument.
8416 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8417 argument.
8418
8419 2014-02-19 Tom Tromey <tromey@redhat.com>
8420
8421 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8422 * target.c (target_enable_btrace): Add argument.
8423 * remote.c (remote_enable_btrace): Add 'self' argument.
8424 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8425 argument.
8426 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8427 argument.
8428
8429 2014-02-19 Tom Tromey <tromey@redhat.com>
8430
8431 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8432 (target_can_use_agent): Add argument.
8433 * target.c (update_current_target): Update.
8434 * remote.c (remote_can_use_agent): Add 'self' argument.
8435 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8436
8437 2014-02-19 Tom Tromey <tromey@redhat.com>
8438
8439 * target.h (struct target_ops) <to_use_agent>: Add argument.
8440 (target_use_agent): Add argument.
8441 * target.c (update_current_target): Update.
8442 * remote.c (remote_use_agent): Add 'self' argument.
8443 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8444
8445 2014-02-19 Tom Tromey <tromey@redhat.com>
8446
8447 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8448 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8449 (target_traceframe_info): Add argument.
8450 * target.c (update_current_target): Update.
8451 * remote.c (remote_traceframe_info): Add 'self' argument.
8452 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8453
8454 2014-02-19 Tom Tromey <tromey@redhat.com>
8455
8456 * target.h (target_static_tracepoint_markers_by_strid): Add
8457 argument.
8458 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8459 'self' argument.
8460 * target.c (update_current_target): Update.
8461 * remote.c (struct target_ops)
8462 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8463 * linux-nat.c (struct target_ops)
8464 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8465
8466 2014-02-19 Tom Tromey <tromey@redhat.com>
8467
8468 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8469 Add argument.
8470 (target_static_tracepoint_marker_at): Add argument.
8471 * target.c (update_current_target): Update.
8472 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8473 argument.
8474
8475 2014-02-19 Tom Tromey <tromey@redhat.com>
8476
8477 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8478 (target_set_permissions): Add argument.
8479 * target.c (update_current_target): Update.
8480 * remote.c (remote_set_permissions): Add 'self' argument.
8481 (remote_start_remote): Update.
8482
8483 2014-02-19 Tom Tromey <tromey@redhat.com>
8484
8485 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8486 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8487 (target_get_tib_address): Add argument.
8488 * target.c (update_current_target): Update.
8489 * remote.c (remote_get_tib_address): Add 'self' argument.
8490
8491 2014-02-19 Tom Tromey <tromey@redhat.com>
8492
8493 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8494 (target_set_trace_notes): Add argument.
8495 * target.c (update_current_target): Update.
8496 * remote.c (remote_set_trace_notes): Add 'self' argument.
8497
8498 2014-02-19 Tom Tromey <tromey@redhat.com>
8499
8500 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8501 argument.
8502 (target_set_trace_buffer_size): Add argument.
8503 * target.c (update_current_target): Update.
8504 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8505
8506 2014-02-19 Tom Tromey <tromey@redhat.com>
8507
8508 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8509 argument.
8510 (target_set_circular_trace_buffer): Add argument.
8511 * target.c (update_current_target): Update.
8512 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8513 argument.
8514
8515 2014-02-19 Tom Tromey <tromey@redhat.com>
8516
8517 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8518 argument.
8519 (target_set_disconnected_tracing): Add argument.
8520 * target.c (update_current_target): Update.
8521 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8522
8523 2014-02-19 Tom Tromey <tromey@redhat.com>
8524
8525 * target.h (struct target_ops)
8526 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8527 (target_get_min_fast_tracepoint_insn_len): Add argument.
8528 * target.c (update_current_target): Update.
8529 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8530 argument.
8531
8532 2014-02-19 Tom Tromey <tromey@redhat.com>
8533
8534 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8535 argument.
8536 (target_get_raw_trace_data): Add argument.
8537 * target.c (update_current_target): Update.
8538 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8539
8540 2014-02-19 Tom Tromey <tromey@redhat.com>
8541
8542 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8543 Add argument.
8544 (target_upload_trace_state_variables): Add argument.
8545 * target.c (update_current_target): Update.
8546 * remote.c (remote_upload_trace_state_variables): Add 'self'
8547 argument.
8548 (remote_start_remote): Update.
8549
8550 2014-02-19 Tom Tromey <tromey@redhat.com>
8551
8552 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8553 argument.
8554 (target_upload_tracepoints): Add argument.
8555 * target.c (update_current_target): Update.
8556 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8557 (remote_start_remote): Update.
8558
8559 2014-02-19 Tom Tromey <tromey@redhat.com>
8560
8561 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8562 (target_save_trace_data): Add argument.
8563 * target.c (update_current_target): Update.
8564 * remote.c (remote_save_trace_data): Add 'self' argument.
8565
8566 2014-02-19 Tom Tromey <tromey@redhat.com>
8567
8568 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8569 argument.
8570 * target.h (struct target_ops)
8571 <to_get_trace_state_variable_value>: Add argument.
8572 (target_get_trace_state_variable_value): Add argument.
8573 * target.c (update_current_target): Update.
8574 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8575 argument.
8576 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8577
8578 2014-02-19 Tom Tromey <tromey@redhat.com>
8579
8580 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8581 * target.h (struct target_ops) <to_trace_find>: Add argument.
8582 (target_trace_find): Add argument.
8583 * target.c (update_current_target): Update.
8584 * remote.c (remote_trace_find): Add 'self' argument.
8585 * ctf.c (ctf_trace_find): Add 'self' argument.
8586
8587 2014-02-19 Tom Tromey <tromey@redhat.com>
8588
8589 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8590 (target_trace_stop): Add argument.
8591 * target.c (update_current_target): Update.
8592 * remote.c (remote_trace_stop): Add 'self' argument.
8593
8594 2014-02-19 Tom Tromey <tromey@redhat.com>
8595
8596 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8597 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8598 argument.
8599 (target_get_tracepoint_status): Add argument.
8600 * target.c (update_current_target): Update.
8601 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8602
8603 2014-02-19 Tom Tromey <tromey@redhat.com>
8604
8605 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8606 * target.h (struct target_ops) <to_get_trace_status>: Add
8607 argument.
8608 (target_get_trace_status): Add argument.
8609 * target.c (update_current_target): Update.
8610 * remote.c (remote_get_trace_status): Add 'self' argument.
8611 (remote_start_remote, remote_can_download_tracepoint): Update.
8612 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8613
8614 2014-02-19 Tom Tromey <tromey@redhat.com>
8615
8616 * target.h (struct target_ops) <to_trace_start>: Add argument.
8617 (target_trace_start): Add argument.
8618 * target.c (update_current_target): Update.
8619 * remote.c (remote_trace_start): Add 'self' argument.
8620
8621 2014-02-19 Tom Tromey <tromey@redhat.com>
8622
8623 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8624 Add argument.
8625 (target_trace_set_readonly_regions): Add argument.
8626 * target.c (update_current_target): Update.
8627 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8628 argument.
8629
8630 2014-02-19 Tom Tromey <tromey@redhat.com>
8631
8632 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8633 argument.
8634 (target_disable_tracepoint): Add argument.
8635 * target.c (update_current_target): Update.
8636 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8637
8638 2014-02-19 Tom Tromey <tromey@redhat.com>
8639
8640 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8641 argument.
8642 (target_enable_tracepoint): Add argument.
8643 * target.c (update_current_target): Update.
8644 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8645
8646 2014-02-19 Tom Tromey <tromey@redhat.com>
8647
8648 * target.h (struct target_ops) <to_download_trace_state_variable>:
8649 Add argument.
8650 (target_download_trace_state_variable): Add argument.
8651 * target.c (update_current_target): Update.
8652 * remote.c (remote_download_trace_state_variable): Add 'self'
8653 argument.
8654
8655 2014-02-19 Tom Tromey <tromey@redhat.com>
8656
8657 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8658 argument.
8659 (target_can_download_tracepoint): Add argument.
8660 * target.c (update_current_target): Update.
8661 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8662
8663 2014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * target.h (struct target_ops) <to_download_tracepoint>: Add
8666 argument.
8667 (target_download_tracepoint): Add argument.
8668 * target.c (update_current_target): Update.
8669 * remote.c (remote_download_tracepoint): Add 'self' argument.
8670
8671 2014-02-19 Tom Tromey <tromey@redhat.com>
8672
8673 * target.h (struct target_ops) <to_trace_init>: Add argument.
8674 (target_trace_init): Add argument.
8675 * target.c (update_current_target): Update.
8676 * remote.c (remote_trace_init): Add 'self' argument.
8677
8678 2014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8681 * target.c (target_fileio_readlink): Add argument.
8682 * remote.c (remote_hostio_readlink): Add 'self' argument.
8683 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8684
8685 2014-02-19 Tom Tromey <tromey@redhat.com>
8686
8687 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8688 * target.c (target_fileio_unlink): Add argument.
8689 * remote.c (remote_hostio_unlink): Add 'self' argument.
8690 (remote_file_delete): Update.
8691 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8692
8693 2014-02-19 Tom Tromey <tromey@redhat.com>
8694
8695 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8696 * target.c (target_fileio_close): Add argument.
8697 * remote.c (remote_hostio_close): Add 'self' argument.
8698 (remote_hostio_close_cleanup): Update.
8699 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8700 Update.
8701 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8702
8703 2014-02-19 Tom Tromey <tromey@redhat.com>
8704
8705 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8706 * target.c (target_fileio_pread): Add argument.
8707 * remote.c (remote_hostio_pread): Add 'self' argument.
8708 (remote_bfd_iovec_pread, remote_file_get): Update.
8709 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8710
8711 2014-02-19 Tom Tromey <tromey@redhat.com>
8712
8713 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8714 * target.c (target_fileio_pwrite): Add argument.
8715 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8716 (remote_file_put): Update.
8717 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8718
8719 2014-02-19 Tom Tromey <tromey@redhat.com>
8720
8721 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8722 * target.c (target_fileio_open): Add argument.
8723 * remote.c (remote_hostio_open): Add 'self' argument.
8724 (remote_bfd_iovec_open): Add 'self' argument.
8725 (remote_file_put): Add 'self' argument.
8726 (remote_file_get): Add 'self' argument.
8727 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8728
8729 2014-02-19 Tom Tromey <tromey@redhat.com>
8730
8731 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8732 Add argument.
8733 (target_can_run_breakpoint_commands): Add argument.
8734 * target.c (update_current_target): Update.
8735 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8736 argument.
8737 (remote_insert_breakpoint): Add 'self' argument.
8738 (remote_insert_hw_breakpoint): Add 'self' argument.
8739 (remote_can_run_breakpoint_commands): Add 'self' argument.
8740
8741 2014-02-19 Tom Tromey <tromey@redhat.com>
8742
8743 * target.h (struct target_ops)
8744 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8745 (target_supports_evaluation_of_breakpoint_conditions): Add
8746 argument.
8747 * target.c (update_current_target): Update.
8748 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8749 argument.
8750 (remote_insert_breakpoint): Add 'self' argument.
8751 (remote_insert_hw_breakpoint): Add 'self' argument.
8752 (remote_supports_cond_breakpoints): Add 'self' argument.
8753
8754 2014-02-19 Tom Tromey <tromey@redhat.com>
8755
8756 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8757 argument.
8758 (target_supports_string_tracing): Add argument.
8759 * target.c (update_current_target): Update.
8760 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8761
8762 2014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target.h (struct target_ops)
8765 <to_supports_disable_randomization>: Add argument.
8766 * target.c (find_default_supports_disable_randomization): Add
8767 argument.
8768 (target_supports_disable_randomization): Add argument.
8769 (find_default_supports_disable_randomization): Add 'self'
8770 argument.
8771 * remote.c (extended_remote_supports_disable_randomization): Add
8772 'self' argument.
8773 (remote_supports_disable_randomization): Add 'self' argument.
8774 (extended_remote_create_inferior): Update.
8775 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8776 'self' argument.
8777
8778 2014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target.h (struct target_ops)
8781 <to_supports_enable_disable_tracepoint>: Add argument.
8782 (target_supports_enable_disable_tracepoint): Add argument.
8783 * target.c (update_current_target): Update.
8784 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8785 argument.
8786
8787 2014-02-19 Tom Tromey <tromey@redhat.com>
8788
8789 * target.h (struct target_ops) <to_supports_multi_process>: Add
8790 argument.
8791 (target_supports_multi_process): Add argument.
8792 * target.c (update_current_target): Update.
8793 * remote.c (remote_supports_multi_process): Add 'self' argument.
8794 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8795 argument.
8796 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8797 argument.
8798
8799 2014-02-19 Tom Tromey <tromey@redhat.com>
8800
8801 * target.h (struct target_ops) <to_execution_direction>: Add
8802 argument.
8803 (target_execution_direction): Add argument.
8804 * target.c (default_execution_direction): Add 'self' argument.
8805 * record-full.c (record_full_execution_direction): Add 'self'
8806 argument.
8807
8808 2014-02-19 Tom Tromey <tromey@redhat.com>
8809
8810 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8811 argument.
8812 (target_can_execute_reverse): Add argument.
8813 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8814 * record-full.c (record_full_can_execute_reverse): Add 'self'
8815 argument.
8816 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8817 argument.
8818
8819 2014-02-19 Tom Tromey <tromey@redhat.com>
8820
8821 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8822 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8823 argument.
8824 (target_get_ada_task_ptid): Add argument.
8825 * target.c (update_current_target): Update.
8826 (default_get_ada_task_ptid): Add 'self' argument.
8827 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8828 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8829 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8830 argument.
8831 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8832 argument.
8833 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8834 argument.
8835 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8836 argument.
8837 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8838 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8839 argument.
8840
8841 2014-02-19 Tom Tromey <tromey@redhat.com>
8842
8843 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8844 (target_goto_bookmark): Add argument.
8845 * target.c (dummy_goto_bookmark): Add 'self' argument.
8846 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8847
8848 2014-02-19 Tom Tromey <tromey@redhat.com>
8849
8850 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8851 (target_get_bookmark): Add argument.
8852 * target.c (dummy_get_bookmark): Add 'self' argument.
8853 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8854
8855 2014-02-19 Tom Tromey <tromey@redhat.com>
8856
8857 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8858 argument.
8859 (target_make_corefile_notes): Add argument.
8860 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8861 * procfs.c (procfs_make_note_section): Add 'self' argument.
8862 (procfs_make_note_section): Add 'self' argument.
8863 (procfs_make_note_section): Add 'self' argument.
8864 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8865 argument.
8866 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8867 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8868 * exec.c (exec_make_note_section): Add 'self' argument.
8869 (exec_make_note_section): Add 'self' argument.
8870
8871 2014-02-19 Tom Tromey <tromey@redhat.com>
8872
8873 * target.h (struct target_ops) <to_find_memory_regions>: Add
8874 argument.
8875 (target_find_memory_regions): Add argument.
8876 * target.c (dummy_find_memory_regions): Add 'self' argument.
8877 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8878 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8879 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8880 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8881 * exec. (exec_do_find_memory_regions): New global.
8882 (exec_set_find_memory_regions): Rewrite.
8883 (exec_find_memory_regions): New function.
8884 (init_exec_ops): Use exec_find_memory_regions.
8885
8886 2014-02-19 Tom Tromey <tromey@redhat.com>
8887
8888 * target.h (struct target_ops) <to_supports_non_stop>: Add
8889 argument.
8890 * target.c (find_default_supports_non_stop): Add argument.
8891 (target_supports_non_stop): Add argument.
8892 (find_default_supports_non_stop): Add 'self' argument.
8893 * remote.c (remote_supports_non_stop): Add 'self' argument.
8894 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8895
8896 2014-02-19 Tom Tromey <tromey@redhat.com>
8897
8898 * target.h (struct target_ops) <to_log_command>: Add argument.
8899 (target_log_command): Add argument.
8900 * serial.h (serial_log_command): Add 'self' argument.
8901 * serial.c (serial_log_command): Add 'self' argument.
8902
8903 2014-02-19 Tom Tromey <tromey@redhat.com>
8904
8905 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8906 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8907 argument.
8908 (target_pid_to_exec_file): Add argument.
8909 * target.c (debug_to_pid_to_exec_file): Add argument.
8910 (update_current_target): Update.
8911 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8912 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8913 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8914 (linux_handle_extended_wait): Update.
8915 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8916 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8917 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8918 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8919
8920 2014-02-19 Tom Tromey <tromey@redhat.com>
8921
8922 * target.h (struct target_ops) <to_rcmd>: Add argument.
8923 (target_rcmd): Add argument.
8924 * target.c (debug_to_rcmd): Add argument.
8925 (update_current_target, do_monitor_command): Update.
8926 * remote.c (remote_rcmd): Add 'self' argument.
8927 * monitor.c (monitor_rcmd): Add 'self' argument.
8928
8929 2014-02-19 Tom Tromey <tromey@redhat.com>
8930
8931 * windows-nat.c (windows_stop): Add 'self' argument.
8932 * target.h (struct target_ops) <to_stop>: Add argument.
8933 * target.c (target_stop): Add argument.
8934 (debug_to_stop): Add argument.
8935 (update_current_target): Update.
8936 * remote.c (remote_stop): Add 'self' argument.
8937 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8938 (gdbsim_cntrl_c): Update.
8939 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8940 * procfs.c (procfs_stop): Add 'self' argument.
8941 * nto-procfs.c (procfs_stop): Add 'self' argument.
8942 * monitor.c (monitor_stop): Add 'self' argument.
8943 (monitor_open): Update.
8944 * linux-nat.c (linux_nat_stop): Add argument.
8945 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8946 * gnu-nat.c (gnu_stop): Add 'self' argument.
8947 * darwin-nat.c (darwin_stop): Add 'self' argument.
8948
8949 2014-02-19 Tom Tromey <tromey@redhat.com>
8950
8951 * target.h (struct target_ops) <to_thread_name>: Add argument.
8952 * target.c (target_thread_name): Add argument.
8953 (update_current_target): Update.
8954 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8955
8956 2014-02-19 Tom Tromey <tromey@redhat.com>
8957
8958 * target.h (struct target_ops) <to_extra_thread_info>: Add
8959 argument.
8960 (target_extra_thread_info): Add argument.
8961 * target.c (update_current_target): Update.
8962 * remote.c (remote_threads_extra_info): Add 'self' argument.
8963 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8964 argument.
8965 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8966 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8967 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8968 argument.
8969 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8970 argument.
8971 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8972 argument.
8973 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8974 argument.
8975
8976 2014-02-19 Tom Tromey <tromey@redhat.com>
8977
8978 * target.h (struct target_ops) <to_program_signals>: Add argument.
8979 * target.c (target_program_signals): Add argument.
8980 * remote.c (remote_program_signals): Add 'self' argument.
8981
8982 2014-02-19 Tom Tromey <tromey@redhat.com>
8983
8984 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8985 * target.c (target_pass_signals): Add argument.
8986 * remote.c (remote_pass_signals): Add 'self' argument.
8987 (remote_start_remote): Update.
8988 * procfs.c (procfs_pass_signals): Add 'self' argument.
8989 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8990 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8991 (linux_nat_create_inferior, linux_nat_attach): Update.
8992
8993 2014-02-19 Tom Tromey <tromey@redhat.com>
8994
8995 * windows-nat.c (windows_can_run): Add 'self' argument.
8996 * target.h (struct target_ops) <to_can_run>: Add argument.
8997 (target_can_run): Add argument.
8998 * target.c (debug_to_can_run): Add argument.
8999 (update_current_target): Update.
9000 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9001 * inf-child.c (inf_child_can_run): Add 'self' argument.
9002 * go32-nat.c (go32_can_run): Add 'self' argument.
9003
9004 2014-02-19 Tom Tromey <tromey@redhat.com>
9005
9006 * target.h (struct target_ops) <to_has_exited>: Add argument.
9007 (target_has_exited): Add argument.
9008 * target.c (debug_to_has_exited): Add argument.
9009 (update_current_target): Update.
9010
9011 2014-02-19 Tom Tromey <tromey@redhat.com>
9012
9013 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9014 argument.
9015 (target_set_syscall_catchpoint): Add argument.
9016 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9017 argument.
9018 * target.c (update_current_target): Update.
9019
9020 2014-02-19 Tom Tromey <tromey@redhat.com>
9021
9022 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9023 argument.
9024 (target_remove_exec_catchpoint): Add argument.
9025 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9026 (update_current_target): Update.
9027 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9028 argument.
9029
9030 2014-02-19 Tom Tromey <tromey@redhat.com>
9031
9032 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9033 argument.
9034 (target_insert_exec_catchpoint): Add argument.
9035 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9036 (update_current_target): Update.
9037 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9038 argument.
9039
9040 2014-02-19 Tom Tromey <tromey@redhat.com>
9041
9042 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9043 argument.
9044 (target_remove_vfork_catchpoint): Add argument.
9045 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9046 (update_current_target): Update.
9047 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9048 argument.
9049
9050 2014-02-19 Tom Tromey <tromey@redhat.com>
9051
9052 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9053 argument.
9054 (target_insert_vfork_catchpoint): Add argument.
9055 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9056 (update_current_target): Update.
9057 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9058 argument.
9059
9060 2014-02-19 Tom Tromey <tromey@redhat.com>
9061
9062 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9063 argument.
9064 (target_remove_fork_catchpoint): Add argument.
9065 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9066 (update_current_target): Update.
9067 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9068 argument.
9069
9070 2014-02-19 Tom Tromey <tromey@redhat.com>
9071
9072 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9073 argument.
9074 (target_insert_fork_catchpoint): Add argument.
9075 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9076 (update_current_target): Update.
9077 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9078 argument.
9079
9080 2014-02-19 Tom Tromey <tromey@redhat.com>
9081
9082 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9083 argument.
9084 (target_post_startup_inferior): Add argument.
9085 * target.c (debug_to_post_startup_inferior): Add argument.
9086 (update_current_target): Update.
9087 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9088 argument.
9089 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9090 argument.
9091 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9092 argument.
9093 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9094 argument.
9095 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9096 'self' argument.
9097 (super_post_startup_inferior): Likewise.
9098 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9099 'self' argument.
9100 (super_post_startup_inferior): Likewise.
9101 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9102 Add 'self' argument.
9103 (super_post_startup_inferior): Likewise.
9104
9105 2014-02-19 Tom Tromey <tromey@redhat.com>
9106
9107 * target.h (struct target_ops) <to_load>: Add argument.
9108 * target.c (target_load): Add argument.
9109 (debug_to_load): Add argument.
9110 (update_current_target): Update.
9111 * remote.c (remote_load): Add 'self' argument.
9112 * remote-sim.c (gdbsim_load): Add 'self' argument.
9113 * remote-mips.c (mips_load): Add 'self' argument.
9114 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9115 * monitor.c (monitor_load): Add 'self' argument.
9116 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9117
9118 2014-02-19 Tom Tromey <tromey@redhat.com>
9119
9120 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9121 (target_terminal_info): Add argument.
9122 * target.c (debug_to_terminal_info): Add argument.
9123 (default_terminal_info): Likewise.
9124 * inflow.c (child_terminal_info): Add 'self' argument.
9125 * inferior.h (child_terminal_info): Add 'self' argument.
9126 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9127
9128 2014-02-19 Tom Tromey <tromey@redhat.com>
9129
9130 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9131 argument.
9132 (target_terminal_save_ours): Add argument.
9133 * target.c (debug_to_terminal_save_ours): Add argument.
9134 (update_current_target): Update.
9135 * inflow.c (terminal_save_ours): Add 'self' argument.
9136 * inferior.h (terminal_save_ours): Add 'self' argument.
9137
9138 2014-02-19 Tom Tromey <tromey@redhat.com>
9139
9140 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9141 (target_terminal_ours): Add argument.
9142 * target.c (debug_to_terminal_ours): Add argument.
9143 (update_current_target): Update.
9144 * remote.c (remote_terminal_ours): Add 'self' argument.
9145 (remote_close): Update.
9146 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9147 * inflow.c (terminal_ours): Add 'self' argument.
9148 * inferior.h (terminal_ours): Add 'self' argument.
9149 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9150
9151 2014-02-19 Pedro Alves <palves@redhat.com>
9152 Tom Tromey <tromey@redhat.com>
9153
9154 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9155 argument.
9156 (target_terminal_ours_for_output): Add argument.
9157 * target.c (debug_to_terminal_ours_for_output): Add argument.
9158 (update_current_target): Update.
9159 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9160 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9161 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9162
9163 2014-02-19 Tom Tromey <tromey@redhat.com>
9164
9165 * target.h (struct target_ops) <to_terminal_inferior>: Add
9166 argument.
9167 * target.c (target_terminal_inferior): Add argument.
9168 (update_current_target): Update.
9169 * remote.c (remote_terminal_inferior): Add 'self' argument.
9170 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9171 * inflow.c (terminal_inferior): Add 'self' argument.
9172 * inferior.h (terminal_inferior): Add 'self' argument.
9173 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9174 (go32_terminal_inferior): Add 'self' argument.
9175
9176 2014-02-19 Tom Tromey <tromey@redhat.com>
9177
9178 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9179 (target_terminal_init): Add argument.
9180 * target.c (debug_to_terminal_init): Add argument.
9181 (update_current_target): Update.
9182 * inflow.c (terminal_init_inferior): Add 'self' argument.
9183 * inferior.h (terminal_init_inferior): Add 'self' argument.
9184 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9185 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9186
9187 2014-02-19 Tom Tromey <tromey@redhat.com>
9188
9189 * target.h (struct target_ops)
9190 <to_can_accel_watchpoint_condition>: Add argument.
9191 (target_can_accel_watchpoint_condition): Add argument.
9192 * target.c (debug_to_can_accel_watchpoint_condition): Add
9193 argument.
9194 (update_current_target): Update.
9195 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9196 'self' argument.
9197
9198 2014-02-19 Tom Tromey <tromey@redhat.com>
9199
9200 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9201 Add argument.
9202 (target_region_ok_for_hw_watchpoint): Add argument.
9203 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9204 (default_region_ok_for_hw_watchpoint): Add argument.
9205 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9206 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9207 argument.
9208 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9209 argument.
9210 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9211 argument.
9212 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9213 'self' argument.
9214 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9215 'self' argument.
9216 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9217 'self' argument.
9218 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9219 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9220 'self' argument.
9221 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9222 Add 'self' argument.
9223
9224 2014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9227 argument.
9228 (target_insert_watchpoint): Add argument.
9229 * target.c (debug_to_insert_watchpoint): Add argument.
9230 (update_current_target): Update.
9231 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9232 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9233 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9234 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9235 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9236 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9237 argument.
9238 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9239 (procfs_insert_hw_watchpoint): Add 'self' argument.
9240 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9241 argument.
9242 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9243 argument.
9244 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9245 argument.
9246 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9247 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9248 argument.
9249 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9250 'self' argument.
9251
9252 2014-02-19 Tom Tromey <tromey@redhat.com>
9253
9254 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9255 argument.
9256 (target_remove_watchpoint): Add argument.
9257 * target.c (debug_to_remove_watchpoint): Add argument.
9258 (update_current_target): Update.
9259 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9260 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9261 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9262 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9263 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9264 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9265 argument.
9266 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9267 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9268 argument.
9269 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9270 argument.
9271 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9272 argument.
9273 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9274 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9275 argument.
9276 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9277 'self' argument.
9278
9279 2014-02-19 Tom Tromey <tromey@redhat.com>
9280
9281 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9282 argument.
9283 (target_remove_hw_breakpoint): Add argument.
9284 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9285 (update_current_target): Update.
9286 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9287 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9288 argument.
9289 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9290 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9291 argument.
9292 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9293 'self' argument.
9294
9295 2014-02-19 Tom Tromey <tromey@redhat.com>
9296
9297 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9298 argument.
9299 (target_insert_hw_breakpoint): Add argument.
9300 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9301 (update_current_target): Update.
9302 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9303 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9304 argument.
9305 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9306 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9307 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9308 argument.
9309 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9310 'self' argument.
9311
9312 2014-02-19 Tom Tromey <tromey@redhat.com>
9313
9314 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9315 argument.
9316 (target_can_use_hardware_watchpoint): Add argument.
9317 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9318 (update_current_target): Update.
9319 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9320 argument.
9321 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9322 argument.
9323 * remote.c (remote_check_watch_resources): Add 'self' argument.
9324 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9325 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9326 argument.
9327 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9328 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9329 argument.
9330 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9331 argument.
9332 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9333 argument.
9334 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9335 argument.
9336 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9337 argument.
9338 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9339 argument.
9340 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9341 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9342 argument.
9343 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9344 'self' argument.
9345
9346 2014-02-19 Tom Tromey <tromey@redhat.com>
9347
9348 * target.h (struct target_ops) <to_post_attach>: Add argument.
9349 (target_post_attach): Add argument.
9350 * target.c (debug_to_post_attach): Add argument.
9351 (update_current_target): Update.
9352 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9353 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9354 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9355 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9356 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9357
9358 2014-02-19 Tom Tromey <tromey@redhat.com>
9359
9360 * windows-nat.c (windows_close): Add 'self' argument.
9361 * tracepoint.c (tfile_close): Add 'self' argument.
9362 * target.h (struct target_ops) <to_close>: Add argument.
9363 * target.c (target_close): Add argument.
9364 (update_current_target): Update.
9365 * remote.c (remote_close): Add 'self' argument.
9366 * remote-sim.c (gdbsim_close): Add 'self' argument.
9367 * remote-mips.c (mips_close): Add 'self' argument.
9368 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9369 * record-full.c (record_full_close): Add 'self' argument.
9370 * record-btrace.c (record_btrace_close): Add 'self' argument.
9371 * monitor.h (monitor_close): Add 'self' argument.
9372 * monitor.c (monitor_close): Add 'self' argument.
9373 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9374 * linux-nat.c (linux_nat_close): Add argument.
9375 * go32-nat.c (go32_close): Add 'self' argument.
9376 * exec.c (exec_close_1): Add 'self' argument.
9377 * ctf.c (ctf_close): Add 'self' argument.
9378 * corelow.c (core_close): Add 'self' argument.
9379 (core_close_cleanup): Update.
9380 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9381 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9382
9383 2014-02-19 Tom Tromey <tromey@redhat.com>
9384
9385 * remote.c (remote_load): New function.
9386 (init_remote_ops): Use it.
9387
9388 2014-02-19 Tom Tromey <tromey@redhat.com>
9389
9390 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9391 argument.
9392 * common/linux-btrace.h (linux_supports_btrace): Update.
9393 * remote.c (remote_supports_btrace): Add "self" argument.
9394 * target-delegates.c: Rebuild.
9395 * target.c (target_supports_btrace): Remove.
9396 * target.h (struct target_ops) <to_supports_btrace>: Add
9397 target_ops argument.
9398 (target_supports_btrace): New define.
9399
9400 2014-02-19 Tom Tromey <tromey@redhat.com>
9401
9402 * record-full.c (record_full_beneath_to_resume_ops)
9403 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9404 (record_full_beneath_to_wait)
9405 (record_full_beneath_to_store_registers_ops)
9406 (record_full_beneath_to_store_registers)
9407 (record_full_beneath_to_xfer_partial_ops)
9408 (record_full_beneath_to_xfer_partial)
9409 (record_full_beneath_to_insert_breakpoint_ops)
9410 (record_full_beneath_to_insert_breakpoint)
9411 (record_full_beneath_to_remove_breakpoint_ops)
9412 (record_full_beneath_to_remove_breakpoint)
9413 (record_full_beneath_to_stopped_by_watchpoint)
9414 (record_full_beneath_to_stopped_data_address)
9415 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9416 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9417 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9418 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9419 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9420 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9421 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9422 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9423 (record_full_resume, record_full_wait_1)
9424 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9425 (record_full_store_registers, record_full_xfer_partial)
9426 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9427 (record_full_async, record_full_core_xfer_partial): Use target
9428 delegation.
9429 * target-delegates.c: Rebuild.
9430 * target.c (current_xfer_partial): Remove.
9431 (update_current_target): Do not INHERIT or de_fault
9432 to_insert_breakpoint, to_remove_breakpoint,
9433 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9434 to_is_async_p, to_async. Do not set to_xfer_partial field.
9435 (default_xfer_partial): Simplify.
9436 (current_xfer_partial): Remove.
9437 (target_wait, target_resume): Simplify.
9438 (find_default_can_async_p, find_default_is_async_p): Update.
9439 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9440 to_xfer_partial, to_stopped_by_watchpoint,
9441 to_stopped_data_address.
9442 (target_store_registers): Simplify.
9443 (forward_target_remove_breakpoint)
9444 (forward_target_insert_breakpoint): Remove.
9445 (target_remove_breakpoint, target_insert_breakpoint)
9446 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9447 * target.h (struct target_ops) <to_resume, to_wait,
9448 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9449 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9450 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9451 markup.
9452 (forward_target_remove_breakpoint)
9453 (forward_target_insert_breakpoint): Remove.
9454 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9455 directly.
9456 (record_btrace_insert_breakpoint): Delegate directly.
9457
9458 2014-02-19 Tom Tromey <tromey@redhat.com>
9459
9460 PR build/7701:
9461 * target-delegates.c: New file.
9462 * target.c: Include target-delegates.c.
9463 (init_dummy_target): Call install_dummy_methods.
9464 (complete_target_initialization): Call install_delegators.
9465 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9466 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9467 * make-target-delegates: New file.
9468
9469 2014-02-19 Tom Tromey <tromey@redhat.com>
9470
9471 * record.c (find_record_target): Use find_target_at.
9472 * target.c (find_target_at): New function.
9473 * target.h (find_target_at): Declare.
9474
9475 2014-02-19 Tom Tromey <tromey@redhat.com>
9476
9477 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9478 Add 'ops' argument.
9479 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9480 'ops' argument.
9481 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9482 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9483 'ops' argument.
9484 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9485 argument.
9486 * linux-nat.c (save_sigtrap): Update.
9487 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9488 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9489 (linux_nat_close): Update.
9490 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9491 argument.
9492 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9493 argument.
9494 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9495 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9496 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9497 (tmp_to_async): Add 'ops' argument.
9498 (record_full_stopped_by_watchpoint, record_full_async)
9499 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9500 argument.
9501 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9502 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9503 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9504 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9505 (remote_is_async_p, remote_async): Add 'ops' argument.
9506 (remote_stopped_data_address): Update.
9507 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9508 * target.c (update_current_target)
9509 (find_default_can_async_p, find_default_is_async_p): Update.
9510 (init_dummy_target): Update.
9511 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9512 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9513 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9514 (target_can_async_p, target_is_async_p, target_async)
9515 (target_stopped_by_watchpoint): Update.
9516
9517 2014-02-19 Yao Qi <yao@codesourcery.com>
9518
9519 PR gdb/16220
9520 * gdbarch.sh: Remove startup_gdbarch.
9521 * gdbarch.c: Regenerated.
9522 * gdbarch.h: Likewise.
9523
9524 2014-02-17 Kevin Buettner <kevinb@redhat.com>
9525
9526 * rl78-tdep.c (rl78_g10_register_name): New function.
9527 (rl78_return_value): Add g10 support.
9528 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9529 g10.
9530
9531 2014-02-17 Doug Evans <xdje42@gmail.com>
9532
9533 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9534 (SUBDIR_GUILE_SRCS): Ditto.
9535 (scm-gsmob.o): Ditto.
9536
9537 2014-02-17 Yao Qi <yao@codesourcery.com>
9538
9539 * gnu-nat.c (ILL_RPC): Declare defined function.
9540
9541 2014-02-17 Yao Qi <yao@codesourcery.com>
9542
9543 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9544 mach_msg_type_number_t.
9545 (gnu_write_inferior): Likewise.
9546
9547 2014-02-17 Yao Qi <yao@codesourcery.com>
9548
9549 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9550 in format string.
9551 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9552 (inf_validate_procs, inf_signal): Likewise.
9553 (S_exception_raise_request): Likewise.
9554 (do_mach_notify_dead_name): Likewise.
9555 (steal_exc_port): Likewise.
9556 (gnu_read_inferior): Change 'copy_count''s type to
9557 mach_msg_type_number_t.
9558 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9559 format string.
9560
9561 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9562
9563 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9564 flag. Adjust all users; in particular...
9565 (gnu_wait): ..., don't decrement its value in here...
9566 (gnu_create_inferior): ..., and instead set the flag in here,
9567 around the startup_inferior call, and call that one with
9568 START_INFERIOR_TRAPS_EXPECTED.
9569
9570 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9571 (ILL_RPC): ... new macro.
9572 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9573 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9574 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9575 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9576 functions with ILL_RPC macro.
9577 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9578 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9579 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9580 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9581 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9582 (S_proc_getlogin_reply, S_proc_getsid_reply)
9583 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9584 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9585 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9586 (S_proc_getnports_reply, S_proc_is_important_reply)
9587 (S_proc_get_code_reply): New stub functions, generated with
9588 ILL_RPC macro.
9589
9590 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9591 collected the type check structures.
9592
9593 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9594
9595 2014-02-14 Doug Evans <dje@google.com>
9596
9597 * target.c (target_write_partial): Fix result type.
9598
9599 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9600
9601 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9602 the proper offsets to access fpregset_t.
9603
9604 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9605
9606 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9607 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9608 * h8300-tdep.c (setmachinelist): Remove global.
9609 * hppa-tdep.c (hppa_sigtramp): Remove global.
9610 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9611 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9612 * ravenscar-thread.c (update_target_observer): Remove global.
9613 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9614
9615 2014-02-12 Tom Tromey <tromey@redhat.com>
9616
9617 * common/rsp-low.c: Update comments.
9618 * common/rsp-low.h: Update comments.
9619
9620 2014-02-12 Tom Tromey <tromey@redhat.com>
9621
9622 * common/rsp-low.c (convert_ascii_to_int): Remove.
9623 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9624
9625 2014-02-12 Tom Tromey <tromey@redhat.com>
9626
9627 * common/rsp-low.h (unhexify): Don't declare.
9628 * common/rsp-low.c (unhexify): Remove.
9629
9630 2014-02-12 Tom Tromey <tromey@redhat.com>
9631
9632 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9633 * common/rsp-low.c (convert_int_to_ascii): Remove.
9634
9635 2014-02-12 Tom Tromey <tromey@redhat.com>
9636
9637 * common/rsp-low.h (hexify): Don't declare.
9638 * common/rsp-low.c (hexify): Remove.
9639
9640 2014-02-12 Tom Tromey <tromey@redhat.com>
9641
9642 * common/rsp-low.c (hexify): Never take strlen of argument.
9643
9644 2014-02-12 Tom Tromey <tromey@redhat.com>
9645
9646 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9647 * remote.c (extended_remote_run, remote_rcmd)
9648 (remote_download_trace_state_variable, remote_save_trace_data)
9649 (remote_set_trace_notes): Update.
9650 * tracepoint.c (encode_source_string, tfile_write_status)
9651 (tfile_write_uploaded_tsv): Update.
9652
9653 2014-02-12 Tom Tromey <tromey@redhat.com>
9654
9655 * tracepoint.c: Include rsp-low.h.
9656 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9657 * remote.c: Include rsp-low.h.
9658 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9659 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9660 (remote_unescape_input): Move to common/rsp-low.c.
9661 * common/rsp-low.h: New file.
9662 * common/rsp-low.c: New file.
9663 * Makefile.in (SFILES): Add common/rsp-low.c.
9664 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9665 (COMMON_OBS): Add rsp-low.o.
9666 (rsp-low.o): New target.
9667
9668 2014-02-12 Tom Tromey <tromey@redhat.com>
9669
9670 * utils.h: Include print-utils.h.
9671 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9672 (int_string, core_addr_to_string, core_addr_to_string_nz)
9673 (hex_string, hex_string_custom): Don't declare.
9674 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9675 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9676 (hex_string_custom, int_string, core_addr_to_string)
9677 (core_addr_to_string_nz, host_address_to_string): Move to
9678 common/print-utils.c.
9679 * common/print-utils.h: New file.
9680 * common/print-utils.c: New file
9681 * Makefile.in (SFILES): Add common/print-utils.c.
9682 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9683 (COMMON_OBS): Add print-utils.o.
9684 (print-utils.o): New target.
9685
9686 2014-02-12 Tom Tromey <tromey@redhat.com>
9687
9688 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9689
9690 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9691
9692 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9693
9694 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9695
9696 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9697 if a PT_IO ptrace request returns sucessfully but indicates that 0
9698 bytes were transferred.
9699
9700 2014-02-12 Pedro Alves <palves@redhat.com>
9701 Kevin Buettner <kevinb@redhat.com>
9702
9703 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9704 TYPE_INSTANCE_FLAG_CODE_SPACE.
9705
9706 2014-02-12 Pedro Alves <palves@redhat.com>
9707
9708 * h8300-tdep.c (pseudo_from_raw_register)
9709 (raw_from_pseudo_register): New functions.
9710 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9711 them.
9712
9713 2014-02-12 Pedro Alves <palves@redhat.com>
9714
9715 * h8300-tdep.c (h8300_register_sim_regno): New function.
9716 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9717 gdbarch_register_sim_regno hook.
9718
9719 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9720
9721 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9722
9723 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9724
9725 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9726
9727 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9728
9729 * obsd-tdep.h (obsd_init_abi): New prototype.
9730 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9731 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9732 (obsd_init_abi): New functions.
9733 * i386obsd-tdep.c: Include "obsd-tdep.h".
9734 (i386obsd_init_abi): Call obsd_init_abi.
9735 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9736 (amd64obsd_init_abi): Call obsd_init_abi.
9737 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9738 obsd-tdep.c to gdb_target_obs.
9739
9740 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9741
9742 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9743 double float arguments to 16-byte in the argument slots.
9744
9745 2014-02-11 Doug Evans <xdje42@gmail.com>
9746
9747 * configure.ac: Don't crash if pkg-config is not found and guile
9748 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9749 in guile checks.
9750 * configure: Regenerate.
9751
9752 2014-02-11 Yao Qi <yao@codesourcery.com>
9753
9754 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9755 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9756 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9757 * gnu-nat.c (gnu_xfer_memory): Likewise.
9758 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9759 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9760 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9761 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9762
9763 2014-02-11 Yao Qi <yao@codesourcery.com>
9764
9765 * target.h (enum target_xfer_error): Rename to ...
9766 (enum target_xfer_status): ... it. New. All users updated.
9767 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9768 New.
9769 (TARGET_XFER_STATUS_ERROR_P): New macro.
9770 (target_xfer_error_to_string): Remove declaration.
9771 (target_xfer_status_to_string): Declare.
9772 (target_xfer_partial_ftype): Adjust it.
9773 (struct target_ops) <to_xfer_partial>: Return
9774 target_xfer_status. Add argument xfered_len. Update
9775 comments.
9776 * target.c (target_xfer_error_to_string): Rename to ...
9777 (target_xfer_status_to_string): ... it. New. All callers
9778 updated.
9779 (target_read_live_memory): Likewise. Call target_xfer_partial
9780 instead of target_read.
9781 (memory_xfer_live_readonly_partial): Return
9782 target_xfer_status. Add argument xfered_len.
9783 (raw_memory_xfer_partial): Likewise.
9784 (memory_xfer_partial_1): Likewise.
9785 (memory_xfer_partial): Likewise.
9786 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9787 properly. Update debug message.
9788 (default_xfer_partial, current_xfer_partial): Likewise.
9789 (target_write_partial): Likewise.
9790 (target_read_partial): Likewise. All callers updated.
9791 (read_whatever_is_readable): Likewise.
9792 (target_write_with_progress): Likewise.
9793 (target_read_alloc_1): Likewise.
9794
9795 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9796 * auxv.c (procfs_xfer_auxv): Likewise.
9797 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9798 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9799 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9800 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9801 * corefile.c (read_memory): Adjust.
9802 * corelow.c (core_xfer_partial): Likewise.
9803 * ctf.c (ctf_xfer_partial): Likewise.
9804 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9805 updated.
9806 (darwin_xfer_partial): Likewise.
9807 * exec.c (section_table_xfer_memory_partial): Likewise. All
9808 callers updated.
9809 (exec_xfer_partial): Likewise.
9810 * exec.h (section_table_xfer_memory_partial): Update
9811 declaration.
9812 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9813 negative.
9814 (gnu_xfer_partial): Likewise.
9815 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9816 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9817 (ia64_hpux_xfer_solib_got): Likewise.
9818 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9819 type of 'partial_len' to ULONGEST.
9820 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9821 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9822 (linux_nat_xfer_partial): Likewise.
9823 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9824 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9825 * monitor.c (monitor_xfer_memory): Likewise.
9826 (monitor_xfer_partial): Likewise.
9827 * procfs.c (procfs_xfer_partial): Likewise.
9828 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9829 * record-full.c (record_full_xfer_partial): Likewise.
9830 (record_full_core_xfer_partial): Likewise.
9831 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9832 (gdbsim_xfer_partial): Likewise.
9833 * remote.c (remote_write_bytes_aux): Likewise. All callers
9834 updated.
9835 (remote_write_bytes, remote_read_bytes): Likewise. All
9836 callers updated.
9837 (remote_flash_erase): Likewise. All callers updated.
9838 (remote_write_qxfer): Likewise. All callers updated.
9839 (remote_read_qxfer): Likewise. All callers updated.
9840 (remote_xfer_partial): Likewise.
9841 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9842 (rs6000_xfer_shared_libraries): Likewise.
9843 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9844 (sol_thread_xfer_partial): Likewise.
9845 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9846 (sparc_xfer_partial): Likewise.
9847 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9848 updated.
9849 (spu_xfer_partial): Likewise.
9850 * spu-multiarch.c (spu_xfer_partial): Likewise.
9851 * tracepoint.c (tfile_xfer_partial): Likewise.
9852 * windows-nat.c (windows_xfer_memory): Likewise.
9853 (windows_xfer_shared_libraries): Likewise.
9854 (windows_xfer_partial): Likewise.
9855 * valprint.c: Replace 'target_xfer_error' with
9856 'target_xfer_status' in comments.
9857
9858 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9859
9860 Checked in by Joel Brobecker <brobecker@adacore.com>.
9861 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9862
9863 2014-02-11 Joel Brobecker <brobecker@adacore.com>
9864
9865 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9866 function parameters.
9867
9868 2014-02-10 Will Newton <will.newton@linaro.org>
9869
9870 * elfread.c (elf_rel_plt_read): Look for a .got section if
9871 looking up .got.plt fails.
9872 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9873 on address passed to elf_gnu_ifunc_record_cache.
9874 (elf_gnu_ifunc_resolve_addr): Likewise.
9875 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9876
9877 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9878
9879 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9880 (X_RETTURN): New macro.
9881 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9882
9883 * sparc64-tdep.c (sparc64_init_abi): Hook
9884 sparc_in_function_epilogue_p.
9885
9886 2014-02-10 Gary Benson <gbenson@redhat.com>
9887
9888 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9889 Rename name_matcher to symbol_matcher.
9890
9891 2014-02-10 Gary Benson <gbenson@redhat.com>
9892
9893 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9894 Use expand_symtabs_file_matcher_ftype and
9895 expand_symtabs_symbol_matcher_ftype.
9896
9897 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9898
9899 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9900 (struct ada_symbol_cache): New.
9901 (ada_free_symbol_cache): Forward declare.
9902 (struct ada_pspace_data): New.
9903 (ada_pspace_data_handle): New static global.
9904 (get_ada_pspace_data, ada_pspace_data_cleanup)
9905 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9906 (cache_space, cache): Delete, now folded inside struct
9907 ada_pspace_data.
9908 (ada_get_symbol_cache): New function.
9909 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9910 implementation.
9911 (_initialize_ada_language): Remove initialization of cache_space.
9912 Move call to observer_attach_inferior_exit up, grouping it
9913 with the other observer registrations inside this function.
9914 Rename command to be more general. Add call to
9915 register_program_space_data_with_cleanup.
9916
9917 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9918
9919 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9920 ada_new_objfile_observer.
9921 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9922 (_initialize_tasks): Update uses of ada_new_objfile_observer
9923 and ada_tasks_normal_stop_observer.
9924
9925 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9926
9927 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9928 returned by the 'Length attribute to integer.
9929
9930 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9931
9932 * ada-lang.c (_initialize_ada_language): Initialize
9933 cache_space obstack.
9934
9935 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9936
9937 * ada-lang.c (HASH_SIZE): New macro.
9938 (struct cache_entry): New type.
9939 (cache_space, cache): New static globals.
9940 (ada_clear_symbol_cache, find_entry): New functions.
9941 (lookup_cached_symbol, cache_symbol): Implement.
9942 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9943 (_initialize_ada_language): Attach ada_new_objfile_observer
9944 and ada_free_objfile_observer.
9945
9946 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9947
9948 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9949 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9950 struct block * parameter.
9951 (ada_lookup_symbol_list_worker): Constify local variable "block".
9952 Remove cast which is no longer necessary.
9953
9954 2014-02-10 Doug Evans <xdje42@gmail.com>
9955
9956 Add Guile as an extension language.
9957 * NEWS: Mention Guile scripting.
9958 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9959 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9960 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9961 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9962 (CLIBS): Add GUILE_LIBS.
9963 (install-guile): New rule.
9964 (guile.o): New rule.
9965 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9966 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9967 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9968 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9969 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9970 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9971 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9972 * configure.ac: New option --with-guile.
9973 * configure: Regenerate.
9974 * config.in: Regenerate.
9975 * auto-load.c: Remove #include "python/python.h". Add #include
9976 "gdb/section-scripts.h".
9977 (source_section_scripts): Handle Guile scripts.
9978 (_initialize_auto_load): Add name of Guile objfile script to
9979 scripts-directory help text.
9980 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9981 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9982 (struct breakpoint): New member scm_bp_object.
9983 * defs.h (enum command_control_type): New value guile_control.
9984 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9985 "extension.h".
9986 (show_user): Update comment.
9987 (_initialize_cli_cmds): Update help text for "show user". Update help
9988 text for max-user-call-depth.
9989 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9990 "extension.h".
9991 (multi_line_command_p): Add guile_control.
9992 (print_command_lines): Handle guile_control.
9993 (execute_control_command, recurse_read_control_structure): Ditto.
9994 (process_next_line): Recognize "guile" commands.
9995 * disasm.c (gdb_disassemble_info): Make non-static.
9996 * disasm.h: #include "dis-asm.h".
9997 (struct gdbarch): Add forward decl.
9998 (gdb_disassemble_info): Declare.
9999 * extension.c: #include "guile/guile.h".
10000 (extension_languages): Add guile.
10001 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10002 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10003 * gdbtypes.c (get_unsigned_type_max): New function.
10004 (get_signed_type_minmax): New function.
10005 * gdbtypes.h (get_unsigned_type_max): Declare.
10006 (get_signed_type_minmax): Declare.
10007 * guile/README: New file.
10008 * guile/guile-internal.h: New file.
10009 * guile/guile.c: New file.
10010 * guile/guile.h: New file.
10011 * guile/scm-arch.c: New file.
10012 * guile/scm-auto-load.c: New file.
10013 * guile/scm-block.c: New file.
10014 * guile/scm-breakpoint.c: New file.
10015 * guile/scm-disasm.c: New file.
10016 * guile/scm-exception.c: New file.
10017 * guile/scm-frame.c: New file.
10018 * guile/scm-gsmob.c: New file.
10019 * guile/scm-iterator.c: New file.
10020 * guile/scm-lazy-string.c: New file.
10021 * guile/scm-math.c: New file.
10022 * guile/scm-objfile.c: New file.
10023 * guile/scm-ports.c: New file.
10024 * guile/scm-pretty-print.c: New file.
10025 * guile/scm-safe-call.c: New file.
10026 * guile/scm-string.c: New file.
10027 * guile/scm-symbol.c: New file.
10028 * guile/scm-symtab.c: New file.
10029 * guile/scm-type.c: New file.
10030 * guile/scm-utils.c: New file.
10031 * guile/scm-value.c: New file.
10032 * guile/lib/gdb.scm: New file.
10033 * guile/lib/gdb/boot.scm: New file.
10034 * guile/lib/gdb/experimental.scm: New file.
10035 * guile/lib/gdb/init.scm: New file.
10036 * guile/lib/gdb/iterator.scm: New file.
10037 * guile/lib/gdb/printing.scm: New file.
10038 * guile/lib/gdb/types.scm: New file.
10039 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10040 (VPATH): Add $(GUILE_SRCDIR).
10041 (GUILE_DIR): New variable.
10042 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10043 (all): Add stamp-guile dependency.
10044 (stamp-guile): New rule.
10045 (clean-guile, install-guile, uninstall-guile): New rules.
10046 (install-only): Add install-guile dependency.
10047 (uninstall): Add uninstall-guile dependency.
10048 (clean): Add clean-guile dependency.
10049
10050 2014-02-09 Doug Evans <xdje42@gmail.com>
10051
10052 Revert this patch (which I approved, mea culpa).
10053
10054 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10055
10056 * Makefile.in (all-lib): Remove.
10057 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10058
10059 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10060
10061 Fix Python stack corruption.
10062 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10063 gdb_py_longest.
10064
10065 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10066
10067 * Makefile.in (all-lib): Remove.
10068 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10069
10070 2014-02-07 Doug Evans <dje@google.com>
10071
10072 * extension-priv.h (extension_language_script_ops): Add comment.
10073 (extension_language_ops): Add comment.
10074 (active_ext_lang_state): Fix typo in comment.
10075
10076 2014-02-07 Pedro Alves <palves@redhat.com>
10077
10078 PR breakpoints/16292
10079 * infrun.c (handle_signal_stop) <signal arrives while stepping
10080 over a breakpoint>: Switch back to the stepping thread.
10081
10082 2014-02-07 Yao Qi <yao@codesourcery.com>
10083
10084 * target.c (target_xfer_partial): Return zero if LEN is zero.
10085
10086 2014-02-07 Yao Qi <yao@codesourcery.com>
10087
10088 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10089 (ld_so_xfer_auxv): Likewise.
10090 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10091 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10092 * corelow.c (core_xfer_partial): Likewise.
10093 * ctf.c (ctf_xfer_partial): Likewise.
10094 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10095 (darwin_xfer_partial): Likewise.
10096 * exec.c (exec_xfer_partial): Likewise.
10097 * gnu-nat.c (gnu_xfer_partial): Likewise.
10098 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10099 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10100 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10101 * linux-nat.c (linux_xfer_siginfo): Likewise.
10102 (linux_proc_xfer_spu): Likewise.
10103 * procfs.c (procfs_xfer_partial): Likewise.
10104 * record-full.c (record_full_xfer_partial): Likewise.
10105 (record_full_core_xfer_partial): Likewise.
10106 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10107 * remote.c (remote_write_qxfer): Likewise.
10108 (remote_write_qxfer, remote_read_qxfer): Likewise.
10109 (remote_xfer_partial): Likewise.
10110 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10111 (rs6000_xfer_shared_libraries): Likewise.
10112 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10113 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10114 (spu_xfer_partial): Likewise.
10115 * target.c (memory_xfer_partial_1): Likewise.
10116 * tracepoint.c (tfile_xfer_partial): Likewise.
10117 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10118 (windows_xfer_partial): Likewise.
10119
10120 2014-02-07 Yao Qi <yao@codesourcery.com>
10121
10122 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10123 comments.
10124 (core_xfer_shared_libraries_aix): Likewise.
10125 * gdbarch.c, gdbarch.h: Regenerated.
10126 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10127 ULONGEST. Change 'len_avail' type to ULONGEST.
10128 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10129 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10130 declaration.
10131 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10132
10133 2014-02-07 Yao Qi <yao@codesourcery.com>
10134
10135 * corefile.c (memory_error): Get 'exception' from ERR and pass
10136 'exception' to throw_error.
10137
10138 2014-02-06 Doug Evans <xdje42@gmail.com>
10139
10140 * configure.ac (libpython checking): Remove all but python.o from
10141 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10142 * configure: Regenerate.
10143
10144 * Makefile.in (SFILES): Add extension.c.
10145 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10146 (COMMON_OBS): Add extension.o.
10147 * extension.h: New file.
10148 * extension-priv.h: New file.
10149 * extension.c: New file.
10150
10151 * python/python-internal.h: #include "extension.h".
10152 (gdbpy_auto_load_enabled): Declare.
10153 (gdbpy_apply_val_pretty_printer): Declare.
10154 (gdbpy_apply_frame_filter): Declare.
10155 (gdbpy_preserve_values): Declare.
10156 (gdbpy_breakpoint_cond_says_stop): Declare.
10157 (gdbpy_breakpoint_has_cond): Declare.
10158 (void source_python_script_for_objfile): Delete.
10159 * python/python.c: #include "extension-priv.h".
10160 Delete inclusion of "observer.h".
10161 (extension_language_python): Moved here and renamed from
10162 script_language_python in py-auto-load.c.
10163 Redefined to be of type extension_language_defn.
10164 (python_extension_script_ops): New global.
10165 (python_extension_ops): New global.
10166 (struct python_env): New member previous_active.
10167 (restore_python_env): Call restore_active_ext_lang.
10168 (ensure_python_env): Call set_active_ext_lang.
10169 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10170 New arg extlang.
10171 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10172 New arg extlang.
10173 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10174 New arg extlang.
10175 (gdbpy_eval_from_control_command): Renamed from
10176 eval_python_from_control_command, made static. New arg extlang.
10177 (gdbpy_source_script) Renamed from source_python_script, made static.
10178 New arg extlang.
10179 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10180 result to int. New arg extlang.
10181 (gdbpy_source_objfile_script): Renamed from
10182 source_python_script_for_objfile, made static. New arg extlang.
10183 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10184 static. New args extlang, extlang_printers. Change result type to
10185 "void".
10186 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10187 static. New arg extlang. Rename arg printers to extlang_printers
10188 and change type to ext_lang_type_printers *.
10189 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10190 static. Replace argument arg with extlang, extlang_printers.
10191 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10192 (!HAVE_PYTHON, source_python_script): Delete.
10193 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10194 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10195 (!HAVE_PYTHON, start_type_printers): Delete.
10196 (!HAVE_PYTHON, apply_type_printers): Delete.
10197 (!HAVE_PYTHON, free_type_printers): Delete.
10198 (_initialize_python): Delete call to observer_attach_before_prompt.
10199 (finalize_python): Set/restore active extension language.
10200 (gdbpy_finish_initialization) Renamed from
10201 finish_python_initialization, made static. New arg extlang.
10202 (gdbpy_initialized): New function.
10203 * python/python.h: #include "extension.h". Delete #include
10204 "value.h", "mi/mi-cmds.h".
10205 (extension_language_python): Declare.
10206 (GDBPY_AUTO_FILE_NAME): Delete.
10207 (enum py_bt_status): Moved to extension.h and renamed to
10208 ext_lang_bt_status.
10209 (enum frame_filter_flags): Moved to extension.h.
10210 (enum py_frame_args): Moved to extension.h and renamed to
10211 ext_lang_frame_args.
10212 (finish_python_initialization): Delete.
10213 (eval_python_from_control_command): Delete.
10214 (source_python_script): Delete.
10215 (apply_val_pretty_printer): Delete.
10216 (apply_frame_filter): Delete.
10217 (preserve_python_values): Delete.
10218 (gdbpy_script_language_defn): Delete.
10219 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10220 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10221
10222 * auto-load.c: #include "extension.h".
10223 (GDB_AUTO_FILE_NAME): Delete.
10224 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10225 (script_language_gdb): Delete, moved to extension.c and renamed to
10226 extension_language_gdb.
10227 (source_gdb_script_for_objfile): Delete.
10228 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10229 (loaded_script): Change type of language member to
10230 struct extension_language_defn *.
10231 (init_loaded_scripts_info): Initialize
10232 unsupported_script_warning_printed.
10233 (maybe_add_script): Make static. Change type of language arg to
10234 struct extension_language_defn *.
10235 (clear_section_scripts): Reset unsupported_script_warning_printed.
10236 (auto_load_objfile_script_1): Rewrite to use extension language API.
10237 (auto_load_objfile_script): Make public. Remove support-compiled-in
10238 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10239 (source_section_scripts): Rewrite to use extension language API.
10240 (load_auto_scripts_for_objfile): Rewrite to use
10241 auto_load_scripts_for_objfile.
10242 (collect_matching_scripts_data): Change type of language member to
10243 struct extension_language_defn *.
10244 (auto_load_info_scripts): Change type of language arg to
10245 struct extension_language_defn *.
10246 (unsupported_script_warning_print): New function.
10247 (script_not_found_warning_print): Make static.
10248 (_initialize_auto_load): Rewrite construction of scripts-directory
10249 help.
10250 * auto-load.h (struct objfile): Add forward decl.
10251 (struct script_language): Delete.
10252 (struct auto_load_pspace_info): Add forward decl.
10253 (struct extension_language_defn): Add forward decl.
10254 (maybe_add_script): Delete.
10255 (auto_load_objfile_script): Declare.
10256 (script_not_found_warning_print): Delete.
10257 (auto_load_info_scripts): Update prototype.
10258 (auto_load_gdb_scripts_enabled): Declare.
10259 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10260 auto_load_python_scripts_enabled and made public.
10261 (script_language_python): Delete, moved to python.c.
10262 (gdbpy_script_language_defn): Delete.
10263 (info_auto_load_python_scripts): Update to use
10264 extension_language_python.
10265
10266 * breakpoint.c (condition_command): Replace call to
10267 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10268 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10269 with call to breakpoint_ext_lang_cond_says_stop.
10270 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10271 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10272 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10273 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10274 New arg slang.
10275 (local_setattro): Print name of extension language with existing
10276 stop condition.
10277
10278 * valprint.c (val_print, value_print): Update to call
10279 apply_ext_lang_val_pretty_printer.
10280 * cp-valprint.c (cp_print_value): Update call to
10281 apply_ext_lang_val_pretty_printer.
10282 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10283 (gdbpy_apply_val_pretty_printer): Renamed from
10284 apply_val_pretty_printer. New arg extlang.
10285 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10286
10287 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10288 extension language API.
10289 * cli/cli-script.c (execute_control_command): Update to call
10290 eval_ext_lang_from_control_command.
10291
10292 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10293 enum ext_lang_bt_status values. Update call to
10294 apply_ext_lang_frame_filter.
10295 (mi_cmd_stack_list_locals): Ditto.
10296 (mi_cmd_stack_list_args): Ditto.
10297 (mi_cmd_stack_list_variables): Ditto.
10298 * mi/mi-main.c: Delete #include "python/python-internal.h".
10299 Add #include "extension.h".
10300 (mi_cmd_list_features): Replace reference to python internal variable
10301 gdb_python_initialized with call to ext_lang_initialized_p.
10302
10303 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10304 Update to use enum ext_lang_frame_args. Update to call
10305 apply_ext_lang_frame_filter.
10306 * python/py-framefilter.c (extract_sym): Update to use enum
10307 ext_lang_bt_status.
10308 (extract_value, py_print_type, py_print_value): Ditto.
10309 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10310 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10311 (py_print_frame): Ditto.
10312 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10313 New arg extlang. Update to use enum ext_lang_bt_status.
10314
10315 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10316 finish_python_initialization. Replace with call to
10317 finish_ext_lang_initialization.
10318
10319 * typeprint.c (do_free_global_table): Update to call
10320 free_ext_lang_type_printers.
10321 (create_global_typedef_table): Update to call
10322 start_ext_lang_type_printers.
10323 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10324 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10325 (type_print_options): Change type of global_printers from "void *"
10326 to "struct ext_lang_type_printers *".
10327
10328 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10329 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10330 (gdbpy_preserve_values): Renamed from preserve_python_values.
10331 New arg extlang.
10332 (!HAVE_PYTHON, preserve_python_values): Delete.
10333
10334 * utils.c (quit_flag): Delete, moved to extension.c.
10335 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10336 extension.c.
10337
10338 * eval.c: Delete #include "python/python.h".
10339 * main.c: Delete #include "python/python.h".
10340
10341 * defs.h: Update comment.
10342
10343 2014-02-06 Joel Brobecker <brobecker@adacore.com>
10344
10345 GDB 7.7 released.
10346
10347 2014-02-05 Mark Kettenis <kettenis@gnu.org>
10348
10349 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10350 defined.
10351
10352 2014-02-05 Yao Qi <yao@codesourcery.com>
10353
10354 * remote.c (remote_pass_signals): Remove local 'buf' and use
10355 rs->buf.
10356 (remote_program_signals): Likewise.
10357
10358 2014-02-05 Yao Qi <yao@codesourcery.com>
10359
10360 * ctf.c: Include "inferior.h" and "gdbthread.h".
10361 (CTF_PID): A new macro.
10362 (ctf_open): Call inferior_appeared and add_thread_silent.
10363 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10364 (ctf_thread_alive): New function.
10365 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10366
10367 2014-02-05 Yao Qi <yao@codesourcery.com>
10368
10369 Revert this patch:
10370
10371 2013-05-24 Yao Qi <yao@codesourcery.com>
10372
10373 * tracepoint.c (TFILE_PID): Remove.
10374 (tfile_open): Don't add thread and inferior.
10375 (tfile_close): Don't set 'inferior_ptid'. Don't call
10376 exit_inferior_silent.
10377 (tfile_thread_alive): Remove.
10378 (init_tfile_ops): Don't set field 'to_thread_alive' of
10379 tfile_ops.
10380
10381 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10382
10383 * remote.c (remote_start_remote): Call remote_check_symbols even
10384 if only symbol-file (not file) has been given.
10385
10386 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10387
10388 * gdbarch.sh (skip_entrypoint): New callback.
10389 * gdbarch.c, gdbarch.h: Regenerate.
10390 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10391 * infrun.c (fill_in_stop_func): Likewise.
10392 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10393 (ppc_elfv2_elf_make_msymbol_special): New function.
10394 (ppc_elfv2_skip_entrypoint): Likewise.
10395 (ppc_linux_init_abi): Install them for ELFv2.
10396
10397 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10398
10399 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10400 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10401 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10402 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10403 structures returned in GPRs.
10404
10405 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10406
10407 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10408 offset to the stack parameter list for the ELFv2 ABI.
10409
10410 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10411
10412 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10413 set_gdbarch_convert_from_func_ptr_addr and
10414 set_gdbarch_elf_make_msymbol_special for ELFv1.
10415 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10416 function descriptors on ELFv1.
10417 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10418 set up r12 at function entry.
10419
10420 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10421
10422 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10423 (struct gdbarch_tdep): New member elf_abi.
10424
10425 * rs6000-tdep.c: Include "elf/ppc64.h".
10426 (rs6000_gdbarch_init): Detect ELF ABI version.
10427
10428 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10429
10430 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10431 within a register pair holding a DFP 128-bit value on little-endian.
10432 (ppc64_sysv_abi_return_value_base): Likewise.
10433 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10434 (dfp_pseudo_register_write): Likewise.
10435
10436 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10437
10438 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10439 offset on little-endian when passing _Decimal32.
10440 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10441
10442 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10443
10444 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10445 of the overlapped FP register within the VSX register on little-
10446 endian platforms.
10447 (efpr_pseudo_register_write): Likewise.
10448
10449 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10450
10451 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10452 offset on little-endian when passing small structures.
10453
10454 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10455
10456 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10457 (struct ppc64_sysv_argpos): New data structure.
10458 (ppc64_sysv_abi_push_float): Remove.
10459 (ppc64_sysv_abi_push_val): New function.
10460 (ppc64_sysv_abi_push_integer): Likewise.
10461 (ppc64_sysv_abi_push_freg): Likewise.
10462 (ppc64_sysv_abi_push_vreg): Likewise.
10463 (ppc64_sysv_abi_push_param): Likewise.
10464 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10465 (ppc64_sysv_abi_return_value_base): New function.
10466 (ppc64_sysv_abi_return_value): Refactor to use it.
10467
10468 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10469
10470 * NEWS: Document new target powerpc64le-*-linux*.
10471
10472 2014-02-04 Mark Kettenis <kettenis@gnu.org>
10473
10474 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10475 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10476 core dumps.
10477 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10478 register set used in ELF core dumps. Add floating-point register set.
10479
10480 2014-02-03 Kevin Buettner <kevinb@redhat.com>
10481
10482 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
10483 dwarf2_to_gdb[] table using symbolic constants. Adjust
10484 penultimate entry from number representing the PC register
10485 to symbolic constant representing the MDR register. Add
10486 constant for the PC register to the end of the table.
10487
10488 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10489
10490 * bsd-kvm.c: Include <sys/param.h>
10491
10492 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10493
10494 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10495
10496 2014-01-31 Joel Brobecker <brobecker@adacore.com>
10497
10498 * ada-lang.h (clear_ada_sym_cache): Delete.
10499
10500 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10501
10502 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10503
10504 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10505
10506 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10507 the sigreturn register save area only if the syscall is
10508 sigreturn.
10509
10510 2014-01-29 Joel Brobecker <brobecker@adacore.com>
10511
10512 * valops.c (value_slice): Minor reformatting.
10513
10514 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10515
10516 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10517
10518 2014-01-28 Joel Brobecker <brobecker@adacore.com>
10519
10520 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10521 New static globals.
10522 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10523 (ada_ignore_descriptive_types_p): New static global.
10524 (find_parallel_type_by_descriptive_type): Return immediately
10525 if ada_ignore_descriptive_types_p is set.
10526 (_initialize_ada_language): Register new commands "maintenance
10527 set ada", "maintenance show ada", "maintenance set ada
10528 ignore-descriptive-types" and "maintenance show ada
10529 ignore-descriptive-types".
10530 * NEWS: Add entry for new "maint ada set/show
10531 ignore-descriptive-types" commands.
10532
10533 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10534
10535 * record-btrace.c (record_btrace_close): Call btrace_teardown
10536 for all threads.
10537
10538 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10539
10540 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10541 "ui-out.h".
10542
10543 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10544
10545 * ada-typeprint (type_is_full_subrange_of_target_type):
10546 New function.
10547 (print_range): Add parameter bounds_prefered_p. If not set,
10548 try printing range types using the name of their base type.
10549 (print_range_type): Add parameter bounds_prefered_p.
10550 Use it in call to print_range.
10551 (print_array_type, ada_print_type): Update calls to print_range
10552 and print_range_type.
10553
10554 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10555
10556 * ada-typeprint.c (print_array_type, print_choices, print_range)
10557 (print_range_bound, print_dynamic_range_bound, print_range_type):
10558 Remove declaration.
10559
10560 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10561
10562 * ada-typeprint.c (print_range): Add missing empty line
10563 after local declaration.
10564
10565 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10566
10567 * ada-valprint.c (print_optional_low_bound): Get index_type's
10568 target type for as long as it is a TYPE_CODE_RANGE.
10569
10570 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10571
10572 * procfs.c (procfs_make_note_section): Remove assertion and
10573 associated comment.
10574
10575 2014-01-24 Yao Qi <yao@codesourcery.com>
10576
10577 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10578 * corelow.c (get_core_siginfo): Likewise.
10579
10580 2014-01-24 Yao Qi <yao@codesourcery.com>
10581
10582 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10583 ULONGEST. Don't check 'len' is negative.
10584 (remote_write_bytes): Change type of 'len' to ULONGEST.
10585
10586 2014-01-23 Tom Tromey <tromey@redhat.com>
10587
10588 PR python/16485:
10589 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10590 Handle exception from frame.block.
10591 (FrameVars.fetch_frame_locals): Likewise.
10592
10593 2014-01-23 Tom Tromey <tromey@redhat.com>
10594
10595 PR python/16487:
10596 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10597 on a NULL pointer. Move "goto error" to correct place.
10598
10599 2014-01-23 Tom Tromey <tromey@redhat.com>
10600
10601 PR python/16491:
10602 * python/py-framefilter.c (apply_frame_filter): Call
10603 ensure_python_env after computing gdbarch.
10604
10605 2014-01-23 Yao Qi <yao@codesourcery.com>
10606
10607 * target.c (raw_memory_xfer_partial): Change argument type
10608 from void * to gdb_byte *.
10609 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10610
10611 2014-01-22 Doug Evans <dje@google.com>
10612
10613 New gdbserver option --debug-format=timestamp.
10614 * NEWS: Mention it.
10615
10616 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10617
10618 * syscalls/s390x-linux.xml: New file.
10619 * syscalls/s390-linux.xml: New file.
10620 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10621 (XML_SYSCALL_FILENAME_S390X): Likewise.
10622 (op_svc): New enum value for SVC opcode.
10623 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10624 (s390_linux_get_syscall_number): New function.
10625 (s390_gdbarch_init): Register '*get_syscall_number' and the
10626 syscall xml file name.
10627 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10628 "s390-linux.xml" and "s390x-linux.xml".
10629 * NEWS: Announce new feature.
10630
10631 2014-01-22 Baruch Siach <baruch@tkos.co.il>
10632
10633 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10634
10635 2014-01-22 Pedro Alves <palves@redhat.com>
10636
10637 * xtensa-config.c: Include defs.h.
10638
10639 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10640
10641 * common/common-utils.h: Add "ARI:" comment beside __func__
10642 reference.
10643
10644 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10645
10646 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10647 documentation a bit.
10648
10649 2014-01-21 Roland McGrath <mcgrathr@google.com>
10650
10651 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10652 * configure: Regenerate.
10653 * aclocal.m4: Regenerate.
10654 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10655 New substituted variables.
10656 (install-strip): New target.
10657 (INSTALL_SCRIPT): New substituted variable.
10658 (FLAGS_TO_PASS): Add it.
10659 (install-only): Use $(INSTALL_SCRIPT) rather than
10660 $(INSTALL_PROGRAM) for gcore.
10661
10662 2014-01-20 Tom Tromey <tromey@redhat.com>
10663
10664 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10665 together.
10666
10667 2014-01-20 Tom Tromey <tromey@redhat.com>
10668
10669 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10670 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10671 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10672 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10673 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10674 (struct cmd_list_element) <flags>: Remove.
10675 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10676 doc_allocated>: New fields.
10677 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10678 bitfields.
10679 * maint.c (maintenance_do_deprecate): Update.
10680 * top.c (execute_command): Update.
10681
10682 2014-01-20 Baruch Siach <baruch@tkos.co.il>
10683
10684 * xtensa-linux-nat.c: Include asm/ptrace.h.
10685
10686 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10687
10688 * Makefile.in (SFILES): Add d-support.c.
10689 (COMMON_OBS): Add d-support.o.
10690 * d-lang.h (d_parse_symbol): Add comment, now defined in
10691 d-support.c.
10692 * d-lang.c (parse_call_convention)
10693 (parse_attributes, parse_function_types)
10694 (parse_function_args, parse_type, parse_identifier)
10695 (call_convention_p, d_parse_symbol): Move functions to ...
10696 * d-support.c: ... New file.
10697
10698 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10699
10700 * d-lang.h (d_parse_symbol): Add declaration.
10701 * d-lang.c (extract_identifiers)
10702 (extract_type_info): Remove functions.
10703 (parse_call_convention, parse_attributes)
10704 (parse_function_types, parse_function_args)
10705 (parse_type, parse_identifier, call_convention_p)
10706 (d_parse_symbol): New functions.
10707 (d_demangle): Use d_parse_symbol to demangle D symbols.
10708
10709 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10710
10711 * d-lang.h (struct builtin_d_type): New data type.
10712 (builtin_d_type): Add declaration.
10713 * d-lang.c (d_language_arch_info, build_d_types)
10714 (builtin_d_type): New functions.
10715 (enum d_primitive_types): New data type.
10716 (d_language_defn): Change c_language_arch_info to
10717 d_language_arch_info.
10718 (d_type_data): New static variable.
10719 (_initialize_d_language): Initialize d_type_data.
10720
10721 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10722
10723 * d-lang.h (d_main_name): Add declaration.
10724 * d-lang.c (d_main_name): New function.
10725 * symtab.c (find_main_name): Add call to d_main_name.
10726
10727 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10728
10729 * d-lang.c (d_language_defn): Change macro_expansion_c to
10730 macro_expansion_no.
10731
10732 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10733
10734 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10735
10736 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10737
10738 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10739 gdb_exception" declaration.
10740 * remote.c (getpkt_or_notif_sane): Likewise.
10741
10742 2014-01-17 Doug Evans <dje@google.com>
10743
10744 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10745 function, contents of dirnames_to_char_ptr_vec_append moved here.
10746 (delim_string_to_char_ptr_vec): New function.
10747 (dirnames_to_char_ptr_vec_append): Rewrite.
10748 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10749
10750 2014-01-17 Doug Evans <dje@google.com>
10751
10752 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10753 and moved here ...
10754 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10755 #include "common-utils.h".
10756 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10757 * common/vec.h (VEC_ASSERT_PASS): Update.
10758 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10759 (MACH_CHECK_ERROR): Update.
10760
10761 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10762
10763 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10764 comments.
10765 * gdbarch.h: Regenerate.
10766
10767 2014-01-16 Tom Tromey <tromey@redhat.com>
10768
10769 * value.c (struct value) <regnum>: Move earlier.
10770
10771 2014-01-16 Tom Tromey <tromey@redhat.com>
10772
10773 * remote.c (extended_remote_create_inferior): Rename from
10774 extended_remote_create_inferior_1. Add "ops" argument. Remove
10775 old implementation.
10776
10777 2014-01-16 Pedro Alves <palves@redhat.com>
10778
10779 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10780 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10781 the backchain.
10782
10783 2014-01-16 Doug Evans <dje@google.com>
10784
10785 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10786
10787 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10788
10789 * btrace.h (btrace_thread_flag): New.
10790 (struct btrace_thread_info) <flags>: New.
10791 * record-btrace.c (record_btrace_resume_thread)
10792 (record_btrace_find_thread_to_move, btrace_step_no_history)
10793 (btrace_step_stopped, record_btrace_start_replaying)
10794 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10795 (record_btrace_find_resume_thread): New.
10796 (record_btrace_resume, record_btrace_wait): Extend.
10797 (record_btrace_can_execute_reverse): New.
10798 (record_btrace_open): Fail in non-stop mode.
10799 (record_btrace_set_replay): Split into this, ...
10800 (record_btrace_stop_replaying): ... this, ...
10801 (record_btrace_clear_histories): ... and this.
10802 (init_record_btrace_ops): Init to_can_execute_reverse.
10803 * NEWS: Announce it.
10804
10805 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10806
10807 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10808 (forward_target_decr_pc_after_break)
10809 (target_decr_pc_after_break): New.
10810 * target.c (forward_target_decr_pc_after_break)
10811 (target_decr_pc_after_break): New.
10812 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10813 instead of gdbarch_decr_pc_after_break.
10814 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10815 instead of gdbarch_decr_pc_after_break.
10816 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10817 instead of gdbarch_decr_pc_after_break.
10818 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10819 instead of gdbarch_decr_pc_after_break.
10820 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10821 instead of gdbarch_decr_pc_after_break.
10822 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10823 instead of gdbarch_decr_pc_after_break.
10824
10825 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10826
10827 * btrace.c: Include regcache.h.
10828 (btrace_add_pc): New.
10829 (btrace_enable): Call btrace_add_pc.
10830 (btrace_is_empty): New.
10831 * btrace.h (btrace_is_empty): New.
10832 * record-btrace.c (require_btrace, record_btrace_info): Call
10833 btrace_is_empty.
10834
10835 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10836
10837 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10838 Support delta reads.
10839 (linux_disable_btrace): Change return type.
10840 * common/linux-btrace.h (linux_read_btrace): Change parameters
10841 and return type to allow error reporting. Update users.
10842 (linux_disable_btrace): Change return type. Update users.
10843 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10844 New.
10845 (btrace_error): New.
10846 (btrace_block) <begin>: Comment on BEGIN == 0.
10847 * btrace.c (btrace_compute_ftrace): Start from the end of
10848 the current trace.
10849 (btrace_stitch_trace, btrace_clear_history): New.
10850 (btrace_fetch): Read delta trace, return if replaying.
10851 (btrace_clear): Move clear history code to btrace_clear_history.
10852 (parse_xml_btrace): Throw an error if parsing failed.
10853 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10854 and return type to allow error reporting.
10855 (target_read_btrace): Change parameters and return type to allow
10856 error reporting.
10857 * target.c (target_read_btrace): Update.
10858 * remote.c (remote_read_btrace): Support delta reads. Pass
10859 errors on.
10860 * NEWS: Announce it.
10861
10862 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10863
10864 * record.h (record_btrace_frame_unwind)
10865 (record_btrace_tailcall_frame_unwind): New declarations.
10866 * dwarf2-frame: Include record.h
10867 (dwarf2_frame_cfa): Throw an error for btrace frames.
10868 * record-btrace.c: Include hashtab.h.
10869 (btrace_get_bfun_name): New.
10870 (btrace_call_history): Call btrace_get_bfun_name.
10871 (struct btrace_frame_cache): New.
10872 (bfcache): New.
10873 (bfcache_hash, bfcache_eq, bfcache_new): New.
10874 (btrace_get_frame_function): New.
10875 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10876 (record_btrace_frame_this_id): Compute own id.
10877 (record_btrace_frame_prev_register): Provide PC, throw_error
10878 for all other registers.
10879 (record_btrace_frame_sniffer): Detect btrace frames.
10880 (record_btrace_tailcall_frame_sniffer): New.
10881 (record_btrace_frame_dealloc_cache): New.
10882 (record_btrace_frame_unwind): Add new functions.
10883 (record_btrace_tailcall_frame_unwind): New.
10884 (_initialize_record_btrace): Allocate cache.
10885 * btrace.c (btrace_clear): Call reinit_frame_cache.
10886 * NEWS: Announce it.
10887
10888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10889
10890 * record-btrace.c (record_btrace_set_replay)
10891 (record_btrace_goto_begin, record_btrace_goto_end)
10892 (record_btrace_goto): New.
10893 (init_record_btrace_ops): Initialize them.
10894 * NEWS: Announce it.
10895
10896 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10897
10898 * record-btrace.c (record_btrace_find_new_threads)
10899 (record_btrace_thread_alive): New.
10900 (init_record_btrace_ops): Initialize to_find_new_threads and
10901 to_thread_alive.
10902
10903 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10904
10905 * record-btrace.c (record_btrace_resume): New.
10906 (record_btrace_wait): New.
10907 (init_record_btrace_ops): Initialize to_wait and to_resume.
10908
10909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10910
10911 * record-btrace.c (record_btrace_xfer_partial)
10912 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10913 (record_btrace_allow_memory_access): New.
10914 (init_record_btrace_ops): Initialize new methods.
10915 * target.c (raw_memory_xfer_partial): Bail out if target reports
10916 that this memory is not available.
10917
10918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10919
10920 * target.h (target_ops) <to_insert_breakpoint>
10921 <to_remove_breakpoint>: Add target_ops parameter.
10922 (forward_target_insert_breakpoint): New.
10923 (forward_target_remove_breakpoint): New.
10924 (memory_remove_breakpoint, memory_insert_breakpoint):
10925 Add target_ops parameter.
10926 * target.c (target_insert_breakpoint): Split into this and ...
10927 (forward_target_insert_breakpoint): ... this.
10928 (target_remove_breakpoint): Split into this and ...
10929 (forward_target_remove_breakpoint): ... this.
10930 (debug_to_insert_breakpoint): Add target_ops parameter.
10931 Call forward_target_insert_breakpoint.
10932 (debug_to_remove_breakpoint): Add target_ops parameter.
10933 Call forward_target_remove_breakpoint.
10934 (update_current_target): Do not inherit or default to_insert_breakpoint
10935 and to_remove_breakpoint.
10936 * corelow.c (ignore): Add target_ops parameter.
10937 * exec.c (ignore): Add target_ops parameter.
10938 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10939 Add target_ops parameter.
10940 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10941 Add target_ops parameter.
10942 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10943 Add target_ops parameter.
10944 * record-full.c (record_full_beneath_to_insert_breakpoint)
10945 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10946 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10947 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10948 (record_full_core_remove_breakpoint): Add target_ops parameter.
10949 Update users.
10950 (record_full_beneath_to_insert_breakpoint_ops)
10951 (record_full_beneath_to_remove_breakpoint_ops)
10952 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10953 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10954 tmp_to_remove_breakpoint_ops,
10955 record_full_beneath_to_insert_breakpoint_ops, and
10956 record_full_beneath_to_remove_breakpoint_ops.
10957 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10958 (m32r_remove_breakpoint): Add target_ops parameter.
10959 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10960 Add target_ops parameter.
10961 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10962 Add target_ops parameter.
10963
10964 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10965 Markus Metzger <markus.t.metzger@intel.com>
10966
10967 * record-btrace.c: Include frame-unwind.h.
10968 (record_btrace_frame_unwind_stop_reason)
10969 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10970 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10971 New.
10972 (init_record_btrace_ops): Install it.
10973
10974 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10975
10976 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10977 get_prev_frame_1.
10978
10979 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10980
10981 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10982 earlier.
10983
10984 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10985
10986 * frame-unwind.c: Include target.h.
10987 (frame_unwind_try_unwinder): New function with code from ...
10988 (frame_unwind_find_by_frame): ... here. New variable
10989 unwinder_from_target, call also target_get_unwinder)
10990 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10991 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10992 * target.h (struct target_ops): New fields to_get_unwinder and
10993 to_get_tailcall_unwinder.
10994 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10995
10996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10997
10998 * record-btrace.c (record_btrace_fetch_registers)
10999 (record_btrace_store_registers)
11000 (record_btrace_to_prepare_to_store): New.
11001 (init_record_btrace_ops): Add the above.
11002
11003 2014-01-16 Tom Tromey <tromey@redhat.com>
11004
11005 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11006 * target.h (struct target_ops) <to_prepare_to_store>: Add
11007 argument.
11008 (target_prepare_to_store): Add argument.
11009 * target.c (debug_to_prepare_to_store): Add argument.
11010 (update_current_target): Update.
11011 * remote.c (remote_prepare_to_store): Add 'self' argument.
11012 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11013 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11014 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11015 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11016 argument.
11017 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11018 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11019 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11020 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11021 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11022
11023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11024
11025 * btrace.h (replay) <replay>: New.
11026 (btrace_is_replaying): New.
11027 * btrace.c (btrace_clear): Free replay iterator.
11028 (btrace_is_replaying): New.
11029 * record-btrace.c (record_btrace_is_replaying): New.
11030 (record_btrace_info): Print insn number if replaying.
11031 (record_btrace_insn_history): Start at replay position.
11032 (record_btrace_call_history): Start at replay position.
11033 (init_record_btrace_ops): Init to_record_is_replaying.
11034
11035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11036
11037 * record-btrace.c (record_btrace_insn_history_range): Include
11038 end.
11039 (record_btrace_insn_history_from): Adjust range.
11040 (record_btrace_call_history_range): Include
11041 end.
11042 (record_btrace_call_history_from): Adjust range.
11043 * NEWS: Announce changes.
11044
11045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11046
11047 * record.h (enum record_print_flag)
11048 <record_print_indent_calls>: New.
11049 * record.c (get_call_history_modifiers): Recognize /c modifier.
11050 (_initialize_record): Document /c modifier.
11051 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11052 Reorder fields. Optionally indent the function name. Update
11053 all users.
11054 * NEWS: Announce changes.
11055
11056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11057
11058 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11059
11060 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11061
11062 * btrace.c (ftrace_new_function): Start counting at one.
11063 * record-btrace.c (record_btrace_info): Adjust number of calls
11064 and insns.
11065 * NEWS: Announce it.
11066
11067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11068
11069 * record-btrace.c (btrace_call_history_insn_range): Print
11070 insn range as [begin, end].
11071
11072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11073
11074 * btrace.h (struct btrace_func_link): New.
11075 (enum btrace_function_flag): New.
11076 (struct btrace_inst): Rename to ...
11077 (struct btrace_insn): ...this. Update all users.
11078 (struct btrace_func) <ibegin, iend>: Remove.
11079 (struct btrace_func_link): New.
11080 (struct btrace_func): Rename to ...
11081 (struct btrace_function): ...this. Update all users.
11082 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11083 (number, level, flags>: New.
11084 (struct btrace_insn_iterator): Rename to ...
11085 (struct btrace_insn_history): ...this.
11086 Update all users.
11087 (struct btrace_insn_iterator, btrace_call_iterator): New.
11088 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11089 (struct btrace_target_info) <begin, end, level>
11090 <insn_history, call_history>: New.
11091 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11092 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11093 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11094 (btrace_call_number, btrace_call_begin, btrace_call_end)
11095 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11096 (btrace_find_function_by_number, btrace_set_insn_history)
11097 (btrace_set_call_history): New.
11098 * btrace.c (btrace_init_insn_iterator)
11099 (btrace_init_func_iterator, compute_itrace): Remove.
11100 (ftrace_print_function_name, ftrace_print_filename)
11101 (ftrace_skip_file): Change
11102 parameter to const.
11103 (ftrace_init_func): Remove.
11104 (ftrace_debug): Use new btrace_function fields.
11105 (ftrace_function_switched): Also consider gaining and
11106 losing symbol information).
11107 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11108 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11109 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11110 New.
11111 (ftrace_new_function): Move. Remove debug print.
11112 (ftrace_update_lines, ftrace_update_insns): New.
11113 (ftrace_update_function): Check for call, ret, and jump.
11114 (compute_ftrace): Renamed to ...
11115 (btrace_compute_ftrace): ...this. Rewritten to compute call
11116 stack.
11117 (btrace_fetch, btrace_clear): Updated.
11118 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11119 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11120 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11121 (btrace_call_number, btrace_call_begin, btrace_call_end)
11122 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11123 (btrace_find_function_by_number, btrace_set_insn_history)
11124 (btrace_set_call_history): New.
11125 * record-btrace.c (require_btrace): Use new btrace thread
11126 info fields.
11127 (record_btrace_info, btrace_insn_history)
11128 (record_btrace_insn_history, record_btrace_insn_history_range):
11129 Use new btrace thread info fields and new iterator.
11130 (btrace_func_history_src_line): Rename to ...
11131 (btrace_call_history_src_line): ...this. Use new btrace
11132 thread info fields.
11133 (btrace_func_history): Rename to ...
11134 (btrace_call_history): ...this. Use new btrace thread info
11135 fields and new iterator.
11136 (record_btrace_call_history, record_btrace_call_history_range):
11137 Use new btrace thread info fields and new iterator.
11138
11139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11140
11141 * frame.h (frame_id_build_unavailable_stack_special): New.
11142 * frame.c (frame_id_build_unavailable_stack_special): New.
11143
11144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11145
11146 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11147 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11148 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11149 to gdbarch.
11150 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11151 (i386_insn_is_jump, i386_jmp_p): New.
11152 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11153 insn_is_jump to gdbarch.
11154 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11155 * gdbarch.h: Regenerated.
11156 * gdbarch.c: Regenerated.
11157 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11158 (default_insn_is_jump): New.
11159 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11160 (default_insn_is_jump): New.
11161
11162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11163
11164 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11165 Change to ...
11166 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11167 (btrace_read_type) <btrace_read_new>: Change to ...
11168 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11169
11170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11171
11172 * common/linux-btrace.c (linux_read_btrace): Free trace from
11173 previous iteration.
11174
11175 2014-01-15 Doug Evans <dje@google.com>
11176
11177 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11178 uint32_t.
11179
11180 2014-01-15 Tom Tromey <tromey@redhat.com>
11181
11182 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11183 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11184 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11185 (set_objfile_main_name): New function.
11186 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11187 language_of_main>: New fields.
11188 (set_objfile_main_name): Declare.
11189 * symtab.c (find_main_name): Loop over objfiles to find the main
11190 name and language.
11191 (set_main_name): Now static.
11192 (get_main_info): Add comment.
11193 * symtab.h (set_main_name): Don't declare.
11194
11195 2014-01-15 Tom Tromey <tromey@redhat.com>
11196
11197 * symtab.c (main_progspace_key): New global.
11198 (struct main_info): New.
11199 (name_of_main, language_of_main): Remove.
11200 (get_main_info, main_info_cleanup): New function.
11201 (set_main_name, main_name, main_language): Use get_main_info.
11202 (_initialize_symtab): Initialize main_progspace_key.
11203
11204 2014-01-15 Tom Tromey <tromey@redhat.com>
11205
11206 * dbxread.c (process_one_symbol): Update.
11207 * dwarf2read.c (read_partial_die): Update.
11208 * symfile.c (set_initial_language): Call main_language.
11209 * symtab.c (language_of_main): Now static.
11210 (set_main_name): Add 'lang' parameter.
11211 (find_main_name): Update.
11212 (main_language): New function.
11213 (symtab_observer_executable_changed): Update.
11214 * symtab.h (set_main_name): Update.
11215 (language_of_main): Remove.
11216 (main_language): Declare.
11217
11218 2014-01-15 Tom Tromey <tromey@redhat.com>
11219
11220 * symfile.c (init_entry_point_info): Use new "initialized" field.
11221 Update.
11222 * objfiles.h (struct entry_point) <initialized>: New field.
11223 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11224 (struct objfile) <ei>: ...here. Remove.
11225 * objfiles.c (entry_point_address_query): Update.
11226
11227 2014-01-15 Tom Tromey <tromey@redhat.com>
11228
11229 * objfiles.c (entry_point_address_query): Relocate entry point
11230 address.
11231 (objfile_relocate1): Do not relocate entry point address.
11232 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11233 <the_bfd_section_index>: New field.
11234 * symfile.c (init_entry_point_info): Find the entry point's
11235 section.
11236
11237 2014-01-15 Tom Tromey <tromey@redhat.com>
11238
11239 * solib-frv.c (enable_break): Use entry_point_address_query.
11240
11241 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11242
11243 * NEWS: Add note on improved process record-replay on
11244 arm*-linux* targets.
11245
11246 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11247
11248 * arm-tdep.c (enum arm_record_result): New enum.
11249 (arm_record_unsupported_insn): New function.
11250 (arm_record_coproc_data_proc): Removed.
11251 (thumb2_record_ld_st_multiple): New function.
11252 (thumb2_record_ld_st_dual_ex_tbb): New function.
11253 (thumb2_record_data_proc_sreg_mimm): New function.
11254 (thumb2_record_ps_dest_generic): New function.
11255 (thumb2_record_branch_misc_cntrl): New function.
11256 (thumb2_record_str_single_data): New function.
11257 (thumb2_record_ld_mem_hints): New function.
11258 (thumb2_record_ld_word): New function.
11259 (thumb2_record_lmul_lmla_div): New function.
11260 (thumb2_record_decode_insn_handler): New function.
11261 (decode_insn): Add thumb32 instruction handlers.
11262
11263 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11264
11265 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11266 (struct arm_linux_record_tdep): Declare.
11267 (arm_canonicalize_syscall): New function.
11268 (arm_all_but_pc_registers_record): New function.
11269 (arm_linux_syscall_record): New function.
11270 (arm_linux_init_abi): Add syscall recording constructs.
11271 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11272 decoding. (arm_record_coproc_data_proc): Update arm syscall
11273 decoding.
11274 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11275 <arm_syscall_record>: New field.
11276 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11277 gdb_target_obs.
11278
11279 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11280
11281 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11282 register for push instruction recording.
11283
11284 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11285
11286 * arm-tdep.c (thumb_record_misc): Update to correct logical
11287 error while recording ldm, ldmia and pop instructions.
11288
11289 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11290
11291 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11292
11293 2014-01-15 Pedro Alves <palves@redhat.com>
11294
11295 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11296 (go32_resume, go32_fetch_registers, store_register)
11297 (go32_store_registers, go32_prepare_to_store)
11298 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11299 (go32_create_inferior, go32_can_run, go32_terminal_init)
11300 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11301 declarations.
11302
11303 2014-01-15 Tom Tromey <tromey@redhat.com>
11304
11305 * target.h (async_callback_ftype): New typedef.
11306 (struct target_ops) <to_async>: Use it.
11307
11308 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11309
11310 * python/py-value.c (get_field_type): Remove unnecessary curly
11311 braces for single-statement if block.
11312
11313 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11314
11315 * python/py-type.c (convert_field): Add missing empty line
11316 after declarations.
11317
11318 2014-01-14 Doug Evans <dje@google.com>
11319
11320 * symfile.h (expand_symtabs_matching): Renamed from
11321 expand_partial_symbol_names. Update prototype.
11322 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11323 * symfile.c (expand_symtabs_matching): Renamed from
11324 expand_partial_symbol_names. New args file_matcher, kind.
11325 Rename arg fun to symbol_matcher.
11326 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11327 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11328 ada_expand_partial_symbol_name.
11329 (ada_make_symbol_completion_list): Update to call
11330 expand_symtabs_matching.
11331 (ada_add_global_exceptions): Call expand_symtabs_matching.
11332 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11333 call map_symbol_filenames.
11334 * symtab.c (sources_info): Update to call map_symbol_filenames.
11335 (search_symbols): Call expand_symtabs_matching.
11336 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11337 (default_make_symbol_completion_list_break_on): Update to call
11338 expand_symtabs_matching.
11339 (make_source_files_completion_list): Update to call
11340 map_symbol_filenames.
11341
11342 2014-01-14 Doug Evans <dje@google.com>
11343
11344 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11345 (expand_symtabs_symbol_matcher_ftype): New typedef.
11346 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11347 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11348 * symfile.c (expand_partial_symbol_names): Update to use
11349 expand_symtabs_symbol_matcher_ftype.
11350 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11351 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11352 Arg name_matcher renamed to symbol_matcher.
11353 * psymtab.c (recursively_search_psymtabs): Update to use
11354 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11355 sym_matcher.
11356 (expand_symtabs_matching_via_partial): Update to use
11357 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11358 Arg name_matcher renamed to symbol_matcher.
11359
11360 2014-01-14 Doug Evans <dje@google.com>
11361
11362 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11363 (map_partial_symbol_filenames): Ditto.
11364 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11365 (map_partial_symbol_filenames): Ditto.
11366 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11367 (map_partial_symbol_filenames): Ditto.
11368 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11369 (map_partial_symbol_filenames): Ditto.
11370 * symtab.c: Delete #include "psymtab.h".
11371
11372 2014-01-14 Pedro Alves <palves@redhat.com>
11373 Tom Tromey <tromey@redhat.com>
11374
11375 * infrun.c (use_displaced_stepping): Use find_record_target
11376 instead of RECORD_IS_USED.
11377 (adjust_pc_after_break): Use record_full_is_used instead of
11378 RECORD_IS_USED.
11379 * record-btrace.c (record_btrace_open): Call record_preopen
11380 instead of checking RECORD_IS_USED.
11381 * record-full.c (record_full_shortname)
11382 (record_full_core_shortname): New globals.
11383 (record_full_is_used): New function.
11384 (find_full_open): Call record_preopen instead of checking
11385 RECORD_IS_USED.
11386 (init_record_full_ops): Set the target's shortname to
11387 record_full_shortname.
11388 (init_record_full_core_ops): Set the target's shortname to
11389 record_full_core_shortname.
11390 * record-full.h (record_full_is_used): Declare.
11391 * record.c (find_record_target): Make extern.
11392 (record_preopen): New function.
11393 * record.h (RECORD_IS_USED): Delete macro.
11394 (find_record_target, record_preopen): Declare functions.
11395
11396 2014-01-14 Yao Qi <yao@codesourcery.com>
11397
11398 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11399 'len''s type to ULONGEST.
11400 (core_xfer_shared_libraries_aix): Likewise.
11401 * gdbarch.c, gdbarch.h: Regenerated.
11402 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11403 Change type of 'len' to ULONGEST.
11404 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11405 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11406
11407 2014-01-14 Yao Qi <yao@codesourcery.com>
11408
11409 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11410 type of 'len' to ULONGEST.
11411 (linux_xfer_osdata_processgroups): Likewise.
11412 (linux_xfer_osdata_threads): Likewise.
11413 (linux_xfer_osdata_fds): Likewise.
11414 (linux_xfer_osdata_isockets): Likewise.
11415 (linux_xfer_osdata_shm): Likewise.
11416 (linux_xfer_osdata_sem): Likewise.
11417 (linux_xfer_osdata_msg): Likewise.
11418 (linux_common_xfer_osdata): Likewise.
11419 (struct osdata_type) <getter>: Likewise.
11420 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11421 the declaration.
11422
11423 2014-01-14 Yao Qi <yao@codesourcery.com>
11424
11425 * target.h (target_xfer_partial_ftype): Update.
11426 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11427 ULONGEST.
11428 * aix-thread.c (aix_thread_xfer_partial): Change type of
11429 argument 'len' to ULONGEST.
11430 * auxv.c (procfs_xfer_auxv): Likewise.
11431 (ld_so_xfer_auxv): Likewise.
11432 (memory_xfer_auxv): Likewise.
11433 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11434 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11435 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11436 * corelow.c (core_xfer_partial): Likewise.
11437 * ctf.c (ctf_xfer_partial): Likewise.
11438 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11439 '%u'.
11440 (darwin_read_dyld_info): Likewise.
11441 (darwin_xfer_partial): Likewise.
11442 * exec.c (section_table_xfer_memory_partial): Likewise.
11443 (exec_xfer_partial): Likewise.
11444 * exec.h (section_table_xfer_memory_partial): Update
11445 declaration.
11446 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11447 instead of plongest.
11448 (gnu_xfer_partial): Likewise.
11449 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11450 (ia64_hpux_xfer_solib_got): Likewise.
11451 (ia64_hpux_xfer_partial): Likewise.
11452 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11453 * inf-ptrace.c (inf_ptrace_xfer_partial):
11454 * inf-ttrace.c (inf_ttrace_xfer_partial):
11455 * linux-nat.c (linux_xfer_siginfo): Likewise.
11456 (linux_nat_xfer_partial): Likewise.
11457 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11458 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11459 * monitor.c (monitor_xfer_memory): Likewise.
11460 (monitor_xfer_partial): Likewise.
11461 * procfs.c (procfs_xfer_partial): Likewise.
11462 * record-full.c (record_full_xfer_partial): Likewise.
11463 (record_full_core_xfer_partial): Likewise.
11464 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11465 instead of plongest.
11466 (gdbsim_xfer_partial): Likewise.
11467 * remote.c (remote_xfer_partial): Likewise.
11468 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11469 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11470 declaration.
11471 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11472 (rs6000_xfer_shared_libraries): Likewise.
11473 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11474 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11475 (sparc_xfer_partial): Likewise.
11476 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11477 (spu_xfer_partial): Likewise.
11478 * spu-multiarch.c (spu_xfer_partial): Likewise.
11479 * target.c (target_read_live_memory): Likewise.
11480 (memory_xfer_live_readonly_partial): Likewise.
11481 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11482 (target_xfer_partial, default_xfer_partial): Likewise.
11483 (current_xfer_partial): Likewise.
11484 * tracepoint.c (tfile_xfer_partial): Likewise.
11485 * windows-nat.c (windows_xfer_memory): Likewise. Call
11486 pulongest instead of plongest.
11487 (windows_xfer_partial): Likewise.
11488 (windows_xfer_shared_libraries): Likewise.
11489
11490 2014-01-14 Yao Qi <yao@codesourcery.com>
11491
11492 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11493 target_xfer_partial_ftype.
11494
11495 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11496
11497 PR python/15464
11498 PR python/16113
11499 * valops.c (value_struct_elt_bitpos): New function
11500 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11501 object to 'None' if the field name is an empty string ("").
11502 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11503 attribute to look for a field when 'name' is 'None'.
11504 (get_field_type): New function
11505
11506 2014-01-13 Doug Evans <dje@google.com>
11507
11508 PR symtab/16426
11509 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11510 (try_open_dwop_file): Ditto.
11511 * gdb_bfd.c: #include "vec.h".
11512 (bfdp): New typedef.
11513 (struct gdb_bfd_data): New member included_bfds.
11514 (gdb_bfd_unref): Unref all included bfds.
11515 (gdb_bfd_record_inclusion): New function.
11516 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11517
11518 2014-01-13 Tom Tromey <tromey@redhat.com>
11519
11520 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11521
11522 2014-01-13 Tom Tromey <tromey@redhat.com>
11523
11524 * defs.h (use_windows): Remove.
11525 * gdb.c (main): Update.
11526 * main.c (captured_main, gdb_main): Update.
11527 * main.h (struct captured_main_args) <use_windows>: Remove.
11528 * top.c (use_windows): Remove.
11529
11530 2014-01-13 Tom Tromey <tromey@redhat.com>
11531
11532 * defs.h (deprecated_flush_hook): Remove.
11533
11534 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11535
11536 PR threads/16216
11537 * linux-thread-db.c (try_thread_db_load): Add parameter
11538 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11539 (try_thread_db_load_from_pdir_1): Move it there from here.
11540 (try_thread_db_load_from_sdir): Update caller.
11541 (try_thread_db_load_from_dir): Move it there from here.
11542
11543 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11544
11545 * regformats/regdat.sh: Always rewrite the register file.
11546
11547 2014-01-13 Pedro Alves <palves@redhat.com>
11548
11549 * Makefile.in (CHECK_HEADERS): New variable.
11550 (check-headers:): New rule.
11551
11552 2014-01-13 Tom Tromey <tromey@redhat.com>
11553
11554 * cli/cli-setshow.c (do_set_command): Update.
11555 * defs.h (deprecated_set_hook): Remove.
11556 * top.c (deprecated_set_hook): Remove.
11557
11558 2014-01-13 Pedro Alves <palves@redhat.com>
11559
11560 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11561 the tracepoint if the PC is a pseudo-register.
11562
11563 2014-01-13 Tom Tromey <tromey@redhat.com>
11564
11565 * defs.h (XCALLOC): Remove.
11566 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11567 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11568 * dwarf2loc.c (allocate_piece_closure): Likewise.
11569 * elfread.c (elf_symfile_segments): Likewise.
11570 (elf_symfile_segments): Likewise.
11571 * gdbtypes.c (copy_type_recursive): Likewise.
11572 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11573 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11574 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11575 XCALLOC.
11576 * mt-tdep.c (mt_gdbarch_init): Likewise.
11577 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11578 XCALLOC.
11579 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11580 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11581 * registry.c (registry_alloc_data): Likewise.
11582 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11583 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11584 * serial.c (serial_fdopen_ops): Likewise.
11585 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11586 XCALLOC.
11587 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11588 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11589 not XCALLOC.
11590
11591 2014-01-13 Tom Tromey <tromey@redhat.com>
11592
11593 * defs.h (XMALLOC): Remove.
11594 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11595 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11596 * cli-out.c (struct ui_out *): Likewise.
11597 * cli/cli-dump.c (add_dump_command): Likewise.
11598 (add_dump_command): Likewise.
11599 * complaints.c (get_complaints): Likewise.
11600 (find_complaint): Likewise.
11601 * dwarf2-frame.c (execute_cfa_program): Likewise.
11602 * dwarf2read.c (abbrev_table_read_table): Likewise.
11603 * gdbarch.sh: Likewise.
11604 * gdbarch.c: Rebuild.
11605 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11606 * interps.c (interp_new): Likewise.
11607 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11608 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11609 * mi/mi-console.c (mi_console_file_new): Likewise.
11610 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11611 * mi/mi-out.c (mi_out_new): Likewise.
11612 * mi/mi-parse.c (mi_parse): Likewise.
11613 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11614 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11615 * observer.c (xalloc_observer_list_node): Likewise.
11616 * regcache.c (regcache_xmalloc_1): Likewise.
11617 * reggroups.c (reggroup_new): Likewise.
11618 (_initialize_reggroup): Likewise.
11619 * registry.c (register_data_with_cleanup): Likewise.
11620 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11621 * ser-base.c (serial_ttystate): Likewise.
11622 * ser-mingw.c (make_pipe_state): Likewise.
11623 * ser-pipe.c (pipe_open): Likewise.
11624 * serial.c (serial_open): Likewise.
11625 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11626 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11627 (tui_alloc_win_info): Likewise.
11628 (tui_add_content_elements): Likewise.
11629 * tui/tui-file.c (tui_file_new): Likewise.
11630 * tui/tui-out.c (tui_out_new): Likewise.
11631 * ui-file.c (mem_file_new): Likewise.
11632 * ui-out.c (push_level): Likewise.
11633 (make_cleanup_ui_out_end): Likewise.
11634 (append_header_to_list): Likewise.
11635 (ui_out_new): Likewise.
11636 * user-regs.c (user_reg_add_builtin): Likewise.
11637
11638 2014-01-13 Tom Tromey <tromey@redhat.com>
11639
11640 * defs.h (XZALLOC): Remove.
11641 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11642 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11643 (get_ada_tasks_inferior_data): Likewise.
11644 * auto-load.c (get_auto_load_pspace_data): Likewise.
11645 * auxv.c (get_auxv_inferior_data): Likewise.
11646 * bfd-target.c (target_bfd_reopen): Likewise.
11647 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11648 (deprecated_insert_raw_breakpoint): Likewise.
11649 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11650 * corelow.c (core_open): Likewise.
11651 * darwin-nat.c (darwin_check_new_threads): Likewise.
11652 (darwin_attach_pid): Likewise.
11653 * dummy-frame.c (dummy_frame_push): Likewise.
11654 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11655 * dwarf2loc.c (allocate_piece_closure): Likewise.
11656 * elfread.c (elf_symfile_segments): Likewise.
11657 * eval.c (ptrmath_type_p): Likewise.
11658 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11659 * gdbtypes.c (alloc_type_arch): Likewise.
11660 (alloc_type_instance): Likewise.
11661 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11662 * inf-child.c (inf_child_can_use_agent): Likewise.
11663 * inflow.c (get_inflow_inferior_data): Likewise.
11664 * infrun.c (save_infcall_suspend_state): Likewise.
11665 * jit.c (jit_reader_load): Likewise.
11666 (get_jit_objfile_data): Likewise.
11667 (get_jit_program_space_data): Likewise.
11668 (jit_object_open_impl): Likewise.
11669 (jit_symtab_open_impl): Likewise.
11670 (jit_block_open_impl): Likewise.
11671 (jit_frame_sniffer): Likewise.
11672 * linux-fork.c (add_fork): Likewise.
11673 * maint.c (make_command_stats_cleanup): Likewise.
11674 * objfiles.c (get_objfile_pspace_data): Likewise.
11675 * opencl-lang.c (struct lval_closure): Likewise.
11676 * osdata.c (osdata_start_osdata): Likewise.
11677 * progspace.c (new_address_space): Likewise.
11678 (add_program_space): Likewise.
11679 * remote-sim.c (get_sim_inferior_data): Likewise.
11680 * sh-tdep.c (sh_gdbarch_init): Likewise.
11681 * skip.c (Ignore): Likewise.
11682 (skip_delete_command): Likewise.
11683 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11684 (library_list_start_library): Likewise.
11685 (solib_aix_current_sos): Likewise.
11686 * solib-darwin.c (get_darwin_info): Likewise.
11687 (darwin_current_sos): Likewise.
11688 * solib-dsbt.c (get_dsbt_info): Likewise.
11689 * solib-ia64-hpux.c (new_so_list): Likewise.
11690 (ia64_hpux_get_solib_linkage_addr): Likewise.
11691 * solib-spu.c (append_ocl_sos): Likewise.
11692 (spu_current_sos): Likewise.
11693 * solib-svr4.c (get_svr4_info): Likewise.
11694 (svr4_keep_data_in_core): Likewise.
11695 (library_list_start_library): Likewise.
11696 (svr4_default_sos): Likewise.
11697 (svr4_read_so_list): Likewise.
11698 * solib-target.c (library_list_start_library): Likewise.
11699 (solib_target_current_sos): Likewise.
11700 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11701 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11702 * symfile.c (default_symfile_segments): Likewise.
11703 * target-descriptions.c (tdesc_data_init): Likewise.
11704 (tdesc_create_reg): Likewise.
11705 (struct tdesc_type *): Likewise.
11706 (tdesc_create_vector): Likewise.
11707 (tdesc_set_struct_size): Likewise.
11708 (struct tdesc_type *): Likewise.
11709 (tdesc_free_feature): Likewise.
11710 (tdesc_create_feature): Likewise.
11711 * windows-nat.c (windows_add_thread): Likewise.
11712 (windows_make_so): Likewise.
11713 * xml-support.c (gdb_xml_body_text): Likewise.
11714 (gdb_xml_create_parser_and_cleanup): Likewise.
11715 (xml_process_xincludes): Likewise.
11716 * xml-syscall.c (allocate_syscalls_info): Likewise.
11717 (syscall_create_syscall_desc): Likewise.
11718
11719 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11720
11721 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11722 function, with code from i386_stap_parse_special_token.
11723 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11724 (i386_stap_parse_special_token): Move code to the two functions
11725 above; simplify it.
11726
11727 2014-01-09 Pedro Alves <palves@redhat.com>
11728 Hui Zhu <hui@codesourcery.com>
11729
11730 PR gdb/16101
11731 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11732 bp_err_string. Don't mark the location shlib_disabled if the
11733 error thrown wasn't a generic or memory error. Catch errors
11734 thrown while inserting breakpoints in overlayed code. Output
11735 error message of software breakpoints.
11736 * remote.c (remote_insert_breakpoint): If this breakpoint has
11737 target-side commands but this stub doesn't support Z0 packets,
11738 throw NOT_SUPPORTED_ERROR error.
11739 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11740 * target.h (target_insert_breakpoint): Extend comment.
11741 (target_insert_hw_breakpoint): Add comment.
11742
11743 2014-01-08 Pedro Alves <palves@redhat.com>
11744
11745 * remote.c (remote_add_thread): Add threads silently if starting
11746 up.
11747 (remote_notice_new_inferior): If in all-stop, and starting up,
11748 don't call notice_new_inferior.
11749 (get_current_thread): New function, factored out from ...
11750 (add_current_inferior_and_thread): ... this. Adjust.
11751 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11752 found any thread, then select the remote's current thread as GDB's
11753 current thread too.
11754
11755 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11756
11757 * NEWS: Create a new section for the next release branch.
11758 Rename the section of the current branch, now that it has
11759 been cut.
11760
11761 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11762
11763 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11764 * version.in: Bump version to 7.7.50.DATE-cvs.
11765
11766 2014-01-08 Yao Qi <yao@codesourcery.com>
11767
11768 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11769 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11770 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11771
11772 2014-01-08 Yao Qi <yao@codesourcery.com>
11773
11774 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11775 return value of bfd_get_filename to symbol_file_add_from_bfd.
11776
11777 2014-01-08 Pierre Muller <muller@sourceware.org>
11778
11779 Fix PR16201.
11780 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11781 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11782 to prim_record_mininal_symbol_and_info.
11783 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11784 in call to prim_record_minimal_symbol_and_info.
11785 (read_pe_exported_syms): Set index field of section_data.
11786
11787 2014-01-07 Andrew Pinski <apinski@cavium.com>
11788
11789 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11790 * features/aarch64.c: Regenerate.
11791
11792 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11793
11794 * target.c (return_null): Define.
11795 (update_current_target): Use it instead of return_zero for
11796 functions that return a pointer.
11797
11798 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11799
11800 * source.c (add_path): Fix check for duplicated paths in the previously
11801 included paths.
11802
11803 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11804
11805 * ada-lang.c: Remove duplicated include statements.
11806 * alphabsd-nat.c: Ditto.
11807 * amd64-darwin-tdep.c: Ditto.
11808 * amd64fbsd-nat.c: Ditto.
11809 * auto-load.c: Ditto.
11810 * ax-gdb.c: Ditto.
11811 * breakpoint.c: Ditto.
11812 * dbxread.c: Ditto.
11813 * fork-child.c: Ditto.
11814 * gdb_usleep.c: Ditto.
11815 * i386-darwin-tdep.c: Ditto.
11816 * i386fbsd-nat.c: Ditto.
11817 * infcmd.c: Ditto.
11818 * inferior.c: Ditto.
11819 * jv-lang.c: Ditto.
11820 * linux-nat.c: Ditto.
11821 * linux-tdep.c: Ditto.
11822 * m68kbsd-nat.c: Ditto.
11823 * m68klinux-nat.c: Ditto.
11824 * microblaze-tdep.c: Ditto.
11825 * mips-linux-tdep.c: Ditto.
11826 * mn10300-tdep.c: Ditto.
11827 * nto-tdep.c: Ditto.
11828 * opencl-lang.c: Ditto.
11829 * osdata.c: Ditto.
11830 * printcmd.c: Ditto.
11831 * regcache.c: Ditto.
11832 * remote-m32r-sdi.c: Ditto.
11833 * remote.c: Ditto.
11834 * symfile.c: Ditto.
11835 * symtab.c: Ditto.
11836 * tilegx-linux-nat.c: Ditto.
11837 * tilegx-tdep.c: Ditto.
11838 * tracepoint.c: Ditto.
11839 * valops.c: Ditto.
11840 * vaxbsd-nat.c: Ditto.
11841 * windows-nat.c: Ditto.
11842 * xtensa-tdep.c: Ditto.
11843
11844 2014-01-07 Yao Qi <yao@codesourcery.com>
11845
11846 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11847
11848 2014-01-07 Yao Qi <yao@codesourcery.com>
11849 Joel Brobecker <brobecker@adacore.com>
11850
11851 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11852 (pdc_write_regs): Likewise.
11853 (fetch_regs_kernel_thread): Likewise.
11854 (store_regs_kernel_thread): Likewise.
11855
11856 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11857
11858 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11859 tagged type objects to their actual type.
11860
11861 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11862
11863 * ada-valprint.c (print_field_values): Add "language" parameter.
11864 Update calls to print_field_values and print_variant_part.
11865 Pass new parameter "language" in call to val_print instead
11866 of "current_language". Replace call to ada_val_print by call
11867 to val_print.
11868 (print_variant_part): Add "language" parameter.
11869 (ada_val_print_struct_union): Update call to print_field_values.
11870
11871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11872
11873 * ada-valprint.c (ui_memcpy): Delete.
11874 (ada_print_floating): Update documentation. Add empty line
11875 between between function documentation and implementation.
11876 Delete variable "buffer". Use ui_file_xstrdup in place of
11877 ui_file_put. Minor adjustments following this change.
11878
11879 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11880
11881 * ada-valprint.c (ada_val_print_string): New function,
11882 extracted from ada_val_print_array.
11883 (ada_val_print_array): Replace extracted code by call
11884 to ada_val_print_string followed by a return. Move
11885 "else" branch to the function's top block.
11886
11887 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11888
11889 * ada-valprint.c (ada_val_print_array): Move implementation
11890 down. Rename parameter "offset" and "val" into "offset_aligned"
11891 and "original_value" respectively. Add parameter "offset".
11892
11893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11894
11895 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11896 re-organizing the code. Change the "???" message printed
11897 when target type is a TYPE_CODE_UNDEF into
11898 "<ref to undefined type>".
11899
11900 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11901
11902 * ada-valprint.c (print_record): Delete, implementation inlined...
11903 (ada_val_print_struct_union): ... here. Remove call to
11904 ada_check_typedef in inlined implementation.
11905
11906 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11907
11908 * ada-valprint.c (ada_val_print_gnat_array): New function,
11909 extracted from ada_val_print_1;
11910 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11911 (ada_val_print_flt, ada_val_print_struct_union)
11912 (ada_val_print_ref): Likewise.
11913 (ada_val_print_1): Delete variables i and elttype.
11914 Replace extracted-out code by call to corresponding
11915 new functions.
11916
11917 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11918
11919 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11920
11921 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11922
11923 * ada-valprint.c (ada_val_print_1): Replace calls to
11924 ada_val_print_1 by calls to val_print.
11925
11926 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11927
11928 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11929 Update calls to self accordingly. Replace calls to c_val_print
11930 by calls to val_print.
11931
11932 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11933
11934 * ada-valprint.c (print_record): Delete declaration.
11935 (adjust_type_signedness, ada_val_print_1): Likewise.
11936 (ada_val_print): Move function implementation down.
11937 (print_variant_part, print_field_values, print_record):
11938 Move function implementation up.
11939
11940 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11941
11942 * python/py-type.c (typy_get_name): New function.
11943 (type_object_getset): Add entry for attribute "name".
11944 * NEWS: Add entry mentioning this new attribute.
11945
11946 2014-01-07 Yao Qi <yao@codesourcery.com>
11947
11948 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11949 statement.
11950
11951 2014-01-07 Yao Qi <yao@codesourcery.com>
11952
11953 * gnu-nat.c (info_port_rights): Add qualifier const to
11954 argument args.
11955
11956 2014-01-07 Yao Qi <yao@codesourcery.com>
11957
11958 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11959
11960 2014-01-07 Yao Qi <yao@codesourcery.com>
11961
11962 * gnu-nat.c (make_inf) Update declaration.
11963 (make_inf): Make it static.
11964 (inf_set_traced): Likewise.
11965 (inf_port_to_thread, inf_task_died_status): Likewise.
11966
11967 2014-01-07 Yao Qi <yao@codesourcery.com>
11968
11969 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11970
11971 2014-01-07 Yao Qi <yao@codesourcery.com>
11972
11973 * gnu-nat.c (_initialize_gnu_nat): Declare.
11974
11975 2014-01-07 Yao Qi <yao@codesourcery.com>
11976
11977 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11978 'enum bfd_endian'.
11979 (struct gdbarch_info) <byte_order>: Change type to
11980 'enum bfd_endian'.
11981 <byte_order_for_code>: Likewise.
11982 * gdbarch.c, gdbarch.h: Regenerated.
11983
11984 2014-01-06 Sasha Smundak <asmundak@google.com>
11985
11986 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11987
11988 2014-01-06 Tom Tromey <tromey@redhat.com>
11989
11990 * doublest.c (convert_doublest_to_floatformat): Use const, not
11991 CONST.
11992 * somread.c (som_symtab_read): Likewise.
11993
11994 2014-01-07 Hui Zhu <hui@codesourcery.com>
11995
11996 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11997 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11998 (gdb_bfd_fopen): Ditto.
11999 (gdb_bfd_openr): Ditto.
12000 (gdb_bfd_openw): Ditto.
12001 (gdb_bfd_openr_iovec): Ditto.
12002 (gdb_bfd_fdopenr): Ditto.
12003 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12004 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12005 with xstrdup.
12006 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12007 with xstrdup.
12008 * symfile-mem.c (symbol_file_add_from_memory): Removed
12009 gdb_bfd_stash_filename.
12010
12011 2014-01-03 Doug Evans <dje@google.com>
12012
12013 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12014 output.
12015
12016 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12017
12018 Update year range in copyright notice of all files.
12019
12020 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12021
12022 * top.c (print_gdb_version): Set copyright year to 2014.
12023
12024 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12025
12026 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12027
12028 For older changes see ChangeLog-2013.
12029 \f
12030 Local Variables:
12031 mode: change-log
12032 left-margin: 8
12033 fill-column: 74
12034 version-control: never
12035 coding: utf-8
12036 End: