(dwarf_decode_lines_1): Delete local "column", unused.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-08-15 Doug Evans <dje@google.com>
2
3 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
4
5 2014-08-15 Doug Evans <dje@google.com>
6
7 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
8 unused.
9
10 2014-08-15 Eli Zaretskii <eliz@gnu.org>
11
12 * dcache.h: Include target.h, to avoid compile time warnings.
13
14 2014-08-15 Joel Brobecker <brobecker@adacore.com>
15
16 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
17 frame_info" partial declaration.
18 * gdbarch.h: Regenerate.
19
20 2014-08-15 Yao Qi <yao@codesourcery.com>
21
22 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
23 Add parameter 'decode_for_pst_p'. Callers update.
24
25 2014-08-13 Yao Qi <yao@codesourcery.com>
26
27 PR build/17104
28 * configure.ac: Use local variable 'pos'.
29 * configure: Regenerated.
30
31 2014-08-11 Doug Evans <dje@google.com>
32
33 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
34 message, it is redundant with "Reading symbols from ..." message.
35
36 2014-08-10 Doug Evans <xdje42@gmail.com>
37
38 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
39
40 2014-08-09 Yao Qi <yao@codesourcery.com>
41
42 PR remote/9053
43 * remote.c (remote_xfer_partial): Remove dead code.
44
45 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
46
47 * ia64-linux-tdep.c: Include "regset.h".
48 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
49 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
50 (ia64_linux_supply_fpregset): New function.
51 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
52 (ia64_linux_regset_from_core_section): New function.
53 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
54 method.
55
56 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
57
58 * m68klinux-tdep.c: Include "regset.h".
59 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
60 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
61 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
62 (m68k_linux_regset_from_core_section): New function.
63 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
64 method.
65
66 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
67
68 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
69 function. Move logic to...
70 (tilegx_linux_regmap): ... this new register map.
71 (tilegx_linux_regset): Refer to register map, replace supply
72 method by regcache_supply_regset, and add collect method.
73 * tilegx-tdep.h (enum tilegx_regnum): New enum value
74 TILEGX_FIRST_EASY_REGNUM.
75
76 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
77
78 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
79 that calls regcache_supply_regset and handles the EPC register
80 separately. Move main logic to...
81 (score7_linux_gregmap): ... this new register map.
82 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
83 (score7_linux_gregset): Refer to register map. Add collect method.
84 (score7_linux_regset_from_core_section): Replace
85 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
86 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
87 (struct regset): Delete unused forward declaraction.
88 (struct pt_regs): Delete structure definition.
89 (elf_gregset_t): Delete typedef.
90
91 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
92
93 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
94 (nios2_core_regset): Add collect method.
95
96 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
97
98 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
99 platform-independent and don't write to read-only input buffer.
100 (m32r_linux_collect_gregset): New function.
101 (m32r_linux_gregset): Add collect method.
102
103 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
104
105 * hppa-linux-tdep.c (greg_map): Rename to...
106 (hppa_linux_gregmap): ... this. Also convert to
107 regcache_map_entry format.
108 (hppa_linux_supply_regset): Delete function.
109 (hppa_linux_supply_fpregset): Delete function. Move logic to...
110 (hppa_linux_fpregmap): ... this new register map.
111 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
112 register map, replace supply method by regcache_supply_regset, and
113 add collect method regcache_collect_regset.
114
115 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
116
117 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
118 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
119 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
120 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
121 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
122 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
123 (frv_linux_supply_gregset): Replace main logic by call to
124 regcache_supply_regset, but keep clearing gr32-gr63.
125 (frv_linux_supply_fpregset): Delete function.
126 (frv_linux_gregset): Refer to appropriate register map and add
127 regcache_collect_regset as the collect method.
128 (frv_linux_fpregset): Likewise. Also exchange the supply method
129 by regcache_supply_regset.
130
131 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
132
133 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
134 by call to alpha_supply_int_regs.
135 (alpha_linux_collect_gregset): New function.
136 (alpha_linux_supply_fpregset): Replace logic by call to
137 alpha_supply_fp_regs.
138 (alpha_linux_collect_fpregset): New function.
139 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
140
141 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
142
143 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
144 by call to regcache_collect_regset.
145 (supply_gregset, supply_fpregset): Call regcache_supply_regset
146 instead of aarch64_linux_supply_gregset/_fpregset.
147 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
148 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
149 header file instead.
150 (aarch64_linux_supply_gregset, supply_gregset_from_core)
151 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
152 functions. Move logic to ...
153 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
154 register maps.
155 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
156 refer to new register maps, replace *_regset_from_core by
157 regcache_supply_regset, and also use regcache_collect_regset.
158 * aarch64-linux-tdep.h: Include "regset.h".
159 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
160 Delete prototypes.
161 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
162 macros, moved from C source file.
163 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
164 variable declarations.
165
166 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
167
168 * s390-linux-nat.c: Include "regset.h".
169 (regmap_gregset): Delete macro.
170 (s390_64_regmap_gregset): New register map for
171 regcache_supply/_collect_regset.
172 (s390_64_gregset): New regset.
173 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
174 (regmap_fpregset): Delete macro.
175 (s390_native_supply, s390_native_collect): Delete functions.
176 (supply_gregset, fill_gregset): Replace s390-specific regmap
177 handling by a call to regcache_supply/_collect_regset.
178 (supply_fpregset, fill_fpregset): Call regcache_supply/
179 _collect_regset instead of s390_native_supply/_collect.
180 (fetch_regset, store_regset): Likewise. Also change the last
181 parameter to a regset instead of a regmap.
182 (s390_linux_fetch_inferior_registers)
183 (390_linux_store_inferior_registers): Adjust last parameter in
184 calls to fetch_regset and store_regset.
185 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
186 (s390_gregmap): ... this. Also make static const and convert to
187 regcache_map_entry format.
188 (s390x_regmap_gregset): Delete.
189 (s390_regmap_fpregset): Rename to...
190 (s390_fpregmap): ... this. Make static const and convert to
191 regcache_map_entry format.
192 (s390_regmap_upper, s390_regmap_last_break)
193 (s390x_regmap_last_break, s390_regmap_system_call)
194 (s390_regmap_tdb): Likewise.
195 (s390_supply_regset, s390_collect_regset): Remove functions.
196 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
197 s390_supply_regset.
198 (s390_gregset, s390_fpregset, s390_upper_regset)
199 (s390_last_break_regset, s390x_last_break_regset)
200 (s390_system_call_regset, s390_tdb_regset): Make global and
201 replace s390_supply/_collect_regset by regcache_supply/
202 _collect_regset.
203 (s390x_gregset): Delete.
204 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
205 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
206 (s390_regmap_fpregset, s390_regmap_last_break)
207 (s390x_regmap_last_break, s390_regmap_system_call)
208 (s390_regmap_tdb): Delete global variable declarations.
209 (s390_gregset, s390_fpregset, s390_last_break_regset)
210 (s390x_last_break_regset, s390_system_call_regset)
211 (s390_tdb_regset): New global variable declarations.
212
213 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
214
215 * regcache.c: Include "regset.h".
216 (regcache_transfer_regset): New local function.
217 (regcache_supply_regset, regcache_collect_regset): New functions.
218 * regcache.h (struct regcache_map_entry): New structure.
219 (REGCACHE_MAP_SKIP): New enum value.
220 (regcache_supply_regset, regcache_collect_regset): New prototypes.
221
222 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
223
224 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
225 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
226 (ppc_linux_collect_gregset ): Likewise.
227 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
228 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
229 (ppc_collect_vrregset): Likewise.
230 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
231 Likewise.
232
233 2014-08-07 Yao Qi <yao@codesourcery.com>
234
235 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
236 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
237 * remote.c (remote_read_bytes): Likewise.
238
239 2014-08-07 Yao Qi <yao@codesourcery.com>
240
241 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
242
243 2014-08-07 Yao Qi <yao@codesourcery.com>
244
245 PR remote/17230
246 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
247 TARGET_XFER_OK instead of 0.
248
249 2014-08-07 Gary Benson <gbenson@redhat.com>
250
251 * common/common-defs.h: Include errno.h.
252 * defs.h: Do not include errno.h.
253 * ada-typeprint.c: Likewise.
254 * c-typeprint.c: Likewise.
255 * core-regset.c: Likewise.
256 * corefile.c: Likewise.
257 * corelow.c: Likewise.
258 * event-loop.c: Likewise.
259 * f-typeprint.c: Likewise.
260 * gnu-nat.c: Likewise.
261 * go32-nat.c: Likewise.
262 * i386gnu-nat.c: Likewise.
263 * m2-typeprint.c: Likewise.
264 * nat/linux-btrace.c: Likewise.
265 * p-typeprint.c: Likewise.
266 * procfs.c: Likewise.
267 * remote-sim.c: Likewise.
268 * rs6000-nat.c: Likewise.
269 * target.c: Likewise.
270 * typeprint.c: Likewise.
271 * ui-file.c: Likewise.
272 * valops.c: Likewise.
273 * valprint.c: Likewise.
274
275 2014-08-07 Gary Benson <gbenson@redhat.com>
276
277 * common/common-defs.h: Include string.h.
278 * aarch64-tdep.c: Do not include string.h.
279 * ada-exp.y: Likewise.
280 * ada-lang.c: Likewise.
281 * ada-lex.l: Likewise.
282 * ada-typeprint.c: Likewise.
283 * ada-valprint.c: Likewise.
284 * aix-thread.c: Likewise.
285 * alpha-linux-tdep.c: Likewise.
286 * alpha-mdebug-tdep.c: Likewise.
287 * alpha-nat.c: Likewise.
288 * alpha-osf1-tdep.c: Likewise.
289 * alpha-tdep.c: Likewise.
290 * alphanbsd-tdep.c: Likewise.
291 * amd64-dicos-tdep.c: Likewise.
292 * amd64-linux-tdep.c: Likewise.
293 * amd64-nat.c: Likewise.
294 * amd64-sol2-tdep.c: Likewise.
295 * amd64fbsd-tdep.c: Likewise.
296 * amd64obsd-tdep.c: Likewise.
297 * arch-utils.c: Likewise.
298 * arm-linux-nat.c: Likewise.
299 * arm-linux-tdep.c: Likewise.
300 * arm-tdep.c: Likewise.
301 * arm-wince-tdep.c: Likewise.
302 * armbsd-tdep.c: Likewise.
303 * armnbsd-nat.c: Likewise.
304 * armnbsd-tdep.c: Likewise.
305 * armobsd-tdep.c: Likewise.
306 * avr-tdep.c: Likewise.
307 * ax-gdb.c: Likewise.
308 * ax-general.c: Likewise.
309 * bcache.c: Likewise.
310 * bfin-tdep.c: Likewise.
311 * breakpoint.c: Likewise.
312 * build-id.c: Likewise.
313 * buildsym.c: Likewise.
314 * c-exp.y: Likewise.
315 * c-lang.c: Likewise.
316 * c-typeprint.c: Likewise.
317 * c-valprint.c: Likewise.
318 * charset.c: Likewise.
319 * cli-out.c: Likewise.
320 * cli/cli-cmds.c: Likewise.
321 * cli/cli-decode.c: Likewise.
322 * cli/cli-dump.c: Likewise.
323 * cli/cli-interp.c: Likewise.
324 * cli/cli-logging.c: Likewise.
325 * cli/cli-script.c: Likewise.
326 * cli/cli-setshow.c: Likewise.
327 * cli/cli-utils.c: Likewise.
328 * coffread.c: Likewise.
329 * common/agent.c: Likewise.
330 * common/buffer.c: Likewise.
331 * common/buffer.h: Likewise.
332 * common/common-utils.c: Likewise.
333 * common/filestuff.c: Likewise.
334 * common/filestuff.c: Likewise.
335 * common/format.c: Likewise.
336 * common/print-utils.c: Likewise.
337 * common/rsp-low.c: Likewise.
338 * common/signals.c: Likewise.
339 * common/vec.h: Likewise.
340 * common/xml-utils.c: Likewise.
341 * core-regset.c: Likewise.
342 * corefile.c: Likewise.
343 * corelow.c: Likewise.
344 * cp-abi.c: Likewise.
345 * cp-name-parser.y: Likewise.
346 * cp-support.c: Likewise.
347 * cp-valprint.c: Likewise.
348 * cris-tdep.c: Likewise.
349 * d-exp.y: Likewise.
350 * darwin-nat.c: Likewise.
351 * dbxread.c: Likewise.
352 * dcache.c: Likewise.
353 * demangle.c: Likewise.
354 * dicos-tdep.c: Likewise.
355 * disasm.c: Likewise.
356 * doublest.c: Likewise.
357 * dsrec.c: Likewise.
358 * dummy-frame.c: Likewise.
359 * dwarf2-frame.c: Likewise.
360 * dwarf2loc.c: Likewise.
361 * dwarf2read.c: Likewise.
362 * elfread.c: Likewise.
363 * environ.c: Likewise.
364 * eval.c: Likewise.
365 * event-loop.c: Likewise.
366 * exceptions.c: Likewise.
367 * exec.c: Likewise.
368 * expprint.c: Likewise.
369 * f-exp.y: Likewise.
370 * f-lang.c: Likewise.
371 * f-typeprint.c: Likewise.
372 * f-valprint.c: Likewise.
373 * fbsd-nat.c: Likewise.
374 * findcmd.c: Likewise.
375 * findvar.c: Likewise.
376 * fork-child.c: Likewise.
377 * frame.c: Likewise.
378 * frv-linux-tdep.c: Likewise.
379 * frv-tdep.c: Likewise.
380 * gdb.c: Likewise.
381 * gdb_bfd.c: Likewise.
382 * gdbarch.c: Likewise.
383 * gdbarch.sh: Likewise.
384 * gdbtypes.c: Likewise.
385 * gnu-nat.c: Likewise.
386 * gnu-v2-abi.c: Likewise.
387 * gnu-v3-abi.c: Likewise.
388 * go-exp.y: Likewise.
389 * go-lang.c: Likewise.
390 * go32-nat.c: Likewise.
391 * guile/guile.c: Likewise.
392 * guile/scm-auto-load.c: Likewise.
393 * hppa-hpux-tdep.c: Likewise.
394 * hppa-linux-nat.c: Likewise.
395 * hppanbsd-tdep.c: Likewise.
396 * hppaobsd-tdep.c: Likewise.
397 * i386-cygwin-tdep.c: Likewise.
398 * i386-dicos-tdep.c: Likewise.
399 * i386-linux-tdep.c: Likewise.
400 * i386-nto-tdep.c: Likewise.
401 * i386-sol2-tdep.c: Likewise.
402 * i386-tdep.c: Likewise.
403 * i386bsd-tdep.c: Likewise.
404 * i386gnu-nat.c: Likewise.
405 * i386nbsd-tdep.c: Likewise.
406 * i386obsd-tdep.c: Likewise.
407 * i387-tdep.c: Likewise.
408 * ia64-libunwind-tdep.c: Likewise.
409 * ia64-linux-nat.c: Likewise.
410 * inf-child.c: Likewise.
411 * inf-ptrace.c: Likewise.
412 * inf-ttrace.c: Likewise.
413 * infcall.c: Likewise.
414 * infcmd.c: Likewise.
415 * inflow.c: Likewise.
416 * infrun.c: Likewise.
417 * interps.c: Likewise.
418 * iq2000-tdep.c: Likewise.
419 * irix5-nat.c: Likewise.
420 * jv-exp.y: Likewise.
421 * jv-lang.c: Likewise.
422 * jv-typeprint.c: Likewise.
423 * jv-valprint.c: Likewise.
424 * language.c: Likewise.
425 * linux-fork.c: Likewise.
426 * linux-nat.c: Likewise.
427 * lm32-tdep.c: Likewise.
428 * m2-exp.y: Likewise.
429 * m2-typeprint.c: Likewise.
430 * m32c-tdep.c: Likewise.
431 * m32r-linux-nat.c: Likewise.
432 * m32r-linux-tdep.c: Likewise.
433 * m32r-rom.c: Likewise.
434 * m32r-tdep.c: Likewise.
435 * m68hc11-tdep.c: Likewise.
436 * m68k-tdep.c: Likewise.
437 * m68kbsd-tdep.c: Likewise.
438 * m68klinux-nat.c: Likewise.
439 * m68klinux-tdep.c: Likewise.
440 * m88k-tdep.c: Likewise.
441 * machoread.c: Likewise.
442 * macrocmd.c: Likewise.
443 * main.c: Likewise.
444 * mdebugread.c: Likewise.
445 * mem-break.c: Likewise.
446 * memattr.c: Likewise.
447 * memory-map.c: Likewise.
448 * mep-tdep.c: Likewise.
449 * mi/mi-cmd-break.c: Likewise.
450 * mi/mi-cmd-disas.c: Likewise.
451 * mi/mi-cmd-env.c: Likewise.
452 * mi/mi-cmd-stack.c: Likewise.
453 * mi/mi-cmd-var.c: Likewise.
454 * mi/mi-cmds.c: Likewise.
455 * mi/mi-console.c: Likewise.
456 * mi/mi-getopt.c: Likewise.
457 * mi/mi-interp.c: Likewise.
458 * mi/mi-main.c: Likewise.
459 * mi/mi-parse.c: Likewise.
460 * microblaze-rom.c: Likewise.
461 * microblaze-tdep.c: Likewise.
462 * mingw-hdep.c: Likewise.
463 * minidebug.c: Likewise.
464 * minsyms.c: Likewise.
465 * mips-irix-tdep.c: Likewise.
466 * mips-linux-tdep.c: Likewise.
467 * mips-tdep.c: Likewise.
468 * mips64obsd-tdep.c: Likewise.
469 * mipsnbsd-tdep.c: Likewise.
470 * mipsread.c: Likewise.
471 * mn10300-linux-tdep.c: Likewise.
472 * mn10300-tdep.c: Likewise.
473 * monitor.c: Likewise.
474 * moxie-tdep.c: Likewise.
475 * mt-tdep.c: Likewise.
476 * nat/linux-btrace.c: Likewise.
477 * nat/linux-osdata.c: Likewise.
478 * nat/linux-procfs.c: Likewise.
479 * nat/linux-ptrace.c: Likewise.
480 * nat/linux-waitpid.c: Likewise.
481 * nbsd-tdep.c: Likewise.
482 * nios2-linux-tdep.c: Likewise.
483 * nto-procfs.c: Likewise.
484 * nto-tdep.c: Likewise.
485 * objc-lang.c: Likewise.
486 * objfiles.c: Likewise.
487 * opencl-lang.c: Likewise.
488 * osabi.c: Likewise.
489 * osdata.c: Likewise.
490 * p-exp.y: Likewise.
491 * p-lang.c: Likewise.
492 * p-typeprint.c: Likewise.
493 * parse.c: Likewise.
494 * posix-hdep.c: Likewise.
495 * ppc-linux-nat.c: Likewise.
496 * ppc-sysv-tdep.c: Likewise.
497 * ppcfbsd-tdep.c: Likewise.
498 * ppcnbsd-tdep.c: Likewise.
499 * ppcobsd-tdep.c: Likewise.
500 * printcmd.c: Likewise.
501 * procfs.c: Likewise.
502 * prologue-value.c: Likewise.
503 * python/py-auto-load.c: Likewise.
504 * python/py-gdb-readline.c: Likewise.
505 * ravenscar-thread.c: Likewise.
506 * regcache.c: Likewise.
507 * registry.c: Likewise.
508 * remote-fileio.c: Likewise.
509 * remote-m32r-sdi.c: Likewise.
510 * remote-mips.c: Likewise.
511 * remote-notif.c: Likewise.
512 * remote-sim.c: Likewise.
513 * remote.c: Likewise.
514 * reverse.c: Likewise.
515 * rs6000-aix-tdep.c: Likewise.
516 * ser-base.c: Likewise.
517 * ser-go32.c: Likewise.
518 * ser-mingw.c: Likewise.
519 * ser-pipe.c: Likewise.
520 * ser-tcp.c: Likewise.
521 * ser-unix.c: Likewise.
522 * serial.c: Likewise.
523 * sh-tdep.c: Likewise.
524 * sh64-tdep.c: Likewise.
525 * shnbsd-tdep.c: Likewise.
526 * skip.c: Likewise.
527 * sol-thread.c: Likewise.
528 * solib-dsbt.c: Likewise.
529 * solib-frv.c: Likewise.
530 * solib-osf.c: Likewise.
531 * solib-som.c: Likewise.
532 * solib-spu.c: Likewise.
533 * solib-target.c: Likewise.
534 * solib.c: Likewise.
535 * somread.c: Likewise.
536 * source.c: Likewise.
537 * sparc-nat.c: Likewise.
538 * sparc-sol2-tdep.c: Likewise.
539 * sparc-tdep.c: Likewise.
540 * sparc64-tdep.c: Likewise.
541 * sparc64fbsd-tdep.c: Likewise.
542 * sparc64nbsd-tdep.c: Likewise.
543 * sparcnbsd-tdep.c: Likewise.
544 * spu-linux-nat.c: Likewise.
545 * spu-multiarch.c: Likewise.
546 * spu-tdep.c: Likewise.
547 * stabsread.c: Likewise.
548 * stack.c: Likewise.
549 * std-regs.c: Likewise.
550 * symfile.c: Likewise.
551 * symmisc.c: Likewise.
552 * symtab.c: Likewise.
553 * target.c: Likewise.
554 * thread.c: Likewise.
555 * tilegx-linux-nat.c: Likewise.
556 * tilegx-tdep.c: Likewise.
557 * top.c: Likewise.
558 * tracepoint.c: Likewise.
559 * tui/tui-command.c: Likewise.
560 * tui/tui-data.c: Likewise.
561 * tui/tui-disasm.c: Likewise.
562 * tui/tui-file.c: Likewise.
563 * tui/tui-layout.c: Likewise.
564 * tui/tui-out.c: Likewise.
565 * tui/tui-regs.c: Likewise.
566 * tui/tui-source.c: Likewise.
567 * tui/tui-stack.c: Likewise.
568 * tui/tui-win.c: Likewise.
569 * tui/tui-windata.c: Likewise.
570 * tui/tui-winsource.c: Likewise.
571 * typeprint.c: Likewise.
572 * ui-file.c: Likewise.
573 * ui-out.c: Likewise.
574 * user-regs.c: Likewise.
575 * utils.c: Likewise.
576 * v850-tdep.c: Likewise.
577 * valarith.c: Likewise.
578 * valops.c: Likewise.
579 * valprint.c: Likewise.
580 * value.c: Likewise.
581 * varobj.c: Likewise.
582 * vax-tdep.c: Likewise.
583 * vaxnbsd-tdep.c: Likewise.
584 * vaxobsd-tdep.c: Likewise.
585 * windows-nat.c: Likewise.
586 * xcoffread.c: Likewise.
587 * xml-support.c: Likewise.
588 * xstormy16-tdep.c: Likewise.
589 * xtensa-linux-nat.c: Likewise.
590
591 2014-08-07 Gary Benson <gbenson@redhat.com>
592
593 * common/common-defs.h: Include gdb_assert.h.
594 * aarch64-tdep.c: Do not include gdb_assert.h.
595 * addrmap.c: Likewise.
596 * aix-thread.c: Likewise.
597 * alpha-linux-tdep.c: Likewise.
598 * alpha-mdebug-tdep.c: Likewise.
599 * alphanbsd-tdep.c: Likewise.
600 * amd64-nat.c: Likewise.
601 * amd64-tdep.c: Likewise.
602 * amd64bsd-nat.c: Likewise.
603 * amd64fbsd-nat.c: Likewise.
604 * amd64fbsd-tdep.c: Likewise.
605 * amd64nbsd-nat.c: Likewise.
606 * amd64nbsd-tdep.c: Likewise.
607 * amd64obsd-nat.c: Likewise.
608 * amd64obsd-tdep.c: Likewise.
609 * arch-utils.c: Likewise.
610 * arm-tdep.c: Likewise.
611 * armbsd-tdep.c: Likewise.
612 * auxv.c: Likewise.
613 * bcache.c: Likewise.
614 * bfin-tdep.c: Likewise.
615 * blockframe.c: Likewise.
616 * breakpoint.c: Likewise.
617 * bsd-kvm.c: Likewise.
618 * bsd-uthread.c: Likewise.
619 * buildsym.c: Likewise.
620 * c-exp.y: Likewise.
621 * c-lang.c: Likewise.
622 * charset.c: Likewise.
623 * cleanups.c: Likewise.
624 * cli-out.c: Likewise.
625 * cli/cli-decode.c: Likewise.
626 * cli/cli-dump.c: Likewise.
627 * cli/cli-logging.c: Likewise.
628 * cli/cli-script.c: Likewise.
629 * cli/cli-utils.c: Likewise.
630 * coffread.c: Likewise.
631 * common/common-utils.c: Likewise.
632 * common/queue.h: Likewise.
633 * common/signals.c: Likewise.
634 * common/vec.h: Likewise.
635 * complaints.c: Likewise.
636 * completer.c: Likewise.
637 * corelow.c: Likewise.
638 * cp-abi.c: Likewise.
639 * cp-name-parser.y: Likewise.
640 * cp-namespace.c: Likewise.
641 * cp-support.c: Likewise.
642 * cris-tdep.c: Likewise.
643 * dbxread.c: Likewise.
644 * dictionary.c: Likewise.
645 * doublest.c: Likewise.
646 * dsrec.c: Likewise.
647 * dummy-frame.c: Likewise.
648 * dwarf2-frame-tailcall.c: Likewise.
649 * dwarf2-frame.c: Likewise.
650 * dwarf2expr.c: Likewise.
651 * dwarf2loc.c: Likewise.
652 * dwarf2read.c: Likewise.
653 * eval.c: Likewise.
654 * event-loop.c: Likewise.
655 * exceptions.c: Likewise.
656 * expprint.c: Likewise.
657 * f-valprint.c: Likewise.
658 * fbsd-nat.c: Likewise.
659 * findvar.c: Likewise.
660 * frame-unwind.c: Likewise.
661 * frame.c: Likewise.
662 * frv-tdep.c: Likewise.
663 * gcore.c: Likewise.
664 * gdb-dlfcn.c: Likewise.
665 * gdb_bfd.c: Likewise.
666 * gdbarch.c: Likewise.
667 * gdbarch.sh: Likewise.
668 * gdbtypes.c: Likewise.
669 * gnu-nat.c: Likewise.
670 * gnu-v3-abi.c: Likewise.
671 * go-lang.c: Likewise.
672 * guile/scm-exception.c: Likewise.
673 * guile/scm-gsmob.c: Likewise.
674 * guile/scm-lazy-string.c: Likewise.
675 * guile/scm-math.c: Likewise.
676 * guile/scm-pretty-print.c: Likewise.
677 * guile/scm-safe-call.c: Likewise.
678 * guile/scm-utils.c: Likewise.
679 * guile/scm-value.c: Likewise.
680 * h8300-tdep.c: Likewise.
681 * hppa-hpux-nat.c: Likewise.
682 * hppa-tdep.c: Likewise.
683 * hppanbsd-tdep.c: Likewise.
684 * hppaobsd-tdep.c: Likewise.
685 * i386-darwin-nat.c: Likewise.
686 * i386-darwin-tdep.c: Likewise.
687 * i386-nto-tdep.c: Likewise.
688 * i386-tdep.c: Likewise.
689 * i386bsd-nat.c: Likewise.
690 * i386fbsd-tdep.c: Likewise.
691 * i386gnu-nat.c: Likewise.
692 * i386nbsd-tdep.c: Likewise.
693 * i386obsd-tdep.c: Likewise.
694 * i387-tdep.c: Likewise.
695 * ia64-libunwind-tdep.c: Likewise.
696 * ia64-tdep.c: Likewise.
697 * inf-ptrace.c: Likewise.
698 * inf-ttrace.c: Likewise.
699 * infcall.c: Likewise.
700 * infcmd.c: Likewise.
701 * infrun.c: Likewise.
702 * inline-frame.c: Likewise.
703 * interps.c: Likewise.
704 * jv-lang.c: Likewise.
705 * jv-typeprint.c: Likewise.
706 * linux-fork.c: Likewise.
707 * linux-nat.c: Likewise.
708 * linux-thread-db.c: Likewise.
709 * m32c-tdep.c: Likewise.
710 * m32r-linux-nat.c: Likewise.
711 * m32r-tdep.c: Likewise.
712 * m68k-tdep.c: Likewise.
713 * m68kbsd-nat.c: Likewise.
714 * m68kbsd-tdep.c: Likewise.
715 * m88k-tdep.c: Likewise.
716 * machoread.c: Likewise.
717 * macroexp.c: Likewise.
718 * macrotab.c: Likewise.
719 * maint.c: Likewise.
720 * mdebugread.c: Likewise.
721 * memory-map.c: Likewise.
722 * mep-tdep.c: Likewise.
723 * mi/mi-common.c: Likewise.
724 * microblaze-tdep.c: Likewise.
725 * mingw-hdep.c: Likewise.
726 * mips-linux-nat.c: Likewise.
727 * mips-linux-tdep.c: Likewise.
728 * mips-tdep.c: Likewise.
729 * mips64obsd-tdep.c: Likewise.
730 * mipsnbsd-tdep.c: Likewise.
731 * mn10300-linux-tdep.c: Likewise.
732 * mn10300-tdep.c: Likewise.
733 * moxie-tdep.c: Likewise.
734 * mt-tdep.c: Likewise.
735 * nat/linux-btrace.c: Likewise.
736 * nat/linux-osdata.c: Likewise.
737 * nat/linux-ptrace.c: Likewise.
738 * nat/mips-linux-watch.c: Likewise.
739 * nios2-linux-tdep.c: Likewise.
740 * nios2-tdep.c: Likewise.
741 * objc-lang.c: Likewise.
742 * objfiles.c: Likewise.
743 * obsd-nat.c: Likewise.
744 * opencl-lang.c: Likewise.
745 * osabi.c: Likewise.
746 * parse.c: Likewise.
747 * ppc-linux-nat.c: Likewise.
748 * ppc-sysv-tdep.c: Likewise.
749 * ppcfbsd-nat.c: Likewise.
750 * ppcfbsd-tdep.c: Likewise.
751 * ppcnbsd-nat.c: Likewise.
752 * ppcnbsd-tdep.c: Likewise.
753 * ppcobsd-nat.c: Likewise.
754 * ppcobsd-tdep.c: Likewise.
755 * printcmd.c: Likewise.
756 * procfs.c: Likewise.
757 * prologue-value.c: Likewise.
758 * psymtab.c: Likewise.
759 * python/py-lazy-string.c: Likewise.
760 * python/py-value.c: Likewise.
761 * regcache.c: Likewise.
762 * reggroups.c: Likewise.
763 * registry.c: Likewise.
764 * remote-sim.c: Likewise.
765 * remote.c: Likewise.
766 * rs6000-aix-tdep.c: Likewise.
767 * rs6000-tdep.c: Likewise.
768 * s390-linux-tdep.c: Likewise.
769 * score-tdep.c: Likewise.
770 * ser-base.c: Likewise.
771 * ser-mingw.c: Likewise.
772 * sh-tdep.c: Likewise.
773 * sh64-tdep.c: Likewise.
774 * solib-darwin.c: Likewise.
775 * solib-spu.c: Likewise.
776 * solib-svr4.c: Likewise.
777 * source.c: Likewise.
778 * sparc-nat.c: Likewise.
779 * sparc-sol2-tdep.c: Likewise.
780 * sparc-tdep.c: Likewise.
781 * sparc64-sol2-tdep.c: Likewise.
782 * sparc64-tdep.c: Likewise.
783 * sparc64fbsd-tdep.c: Likewise.
784 * sparc64nbsd-tdep.c: Likewise.
785 * sparc64obsd-tdep.c: Likewise.
786 * sparcnbsd-tdep.c: Likewise.
787 * sparcobsd-tdep.c: Likewise.
788 * spu-multiarch.c: Likewise.
789 * spu-tdep.c: Likewise.
790 * stabsread.c: Likewise.
791 * stack.c: Likewise.
792 * symfile.c: Likewise.
793 * symtab.c: Likewise.
794 * target-descriptions.c: Likewise.
795 * target-memory.c: Likewise.
796 * target.c: Likewise.
797 * tic6x-linux-tdep.c: Likewise.
798 * tic6x-tdep.c: Likewise.
799 * tilegx-linux-nat.c: Likewise.
800 * tilegx-tdep.c: Likewise.
801 * top.c: Likewise.
802 * tramp-frame.c: Likewise.
803 * tui/tui-out.c: Likewise.
804 * tui/tui-winsource.c: Likewise.
805 * ui-out.c: Likewise.
806 * user-regs.c: Likewise.
807 * utils.c: Likewise.
808 * v850-tdep.c: Likewise.
809 * valops.c: Likewise.
810 * value.c: Likewise.
811 * varobj.c: Likewise.
812 * vax-nat.c: Likewise.
813 * xml-syscall.c: Likewise.
814 * xml-tdesc.c: Likewise.
815 * xstormy16-tdep.c: Likewise.
816 * xtensa-linux-nat.c: Likewise.
817 * xtensa-tdep.c: Likewise.
818
819 2014-08-07 Gary Benson <gbenson@redhat.com>
820
821 * common/common-defs.h: Include common-utils.h.
822 * defs.h: Do not include common-utils.h.
823 * common/gdb_assert.h: Likewise.
824 * darwin-nat.h: Likewise.
825 * nat/linux-btrace.c: Likewise.
826 * target/waitstatus.h: Likewise.
827
828 2014-08-07 Gary Benson <gbenson@redhat.com>
829
830 * common/common-defs.h: Include ptid.h.
831 * defs.h: Do not include ptid.h.
832 * inferior.h: Likewise.
833 * infrun.h: Likewise.
834 * nat/linux-btrace.h: Likewise.
835 * nat/linux-osdata.h: Likewise.
836 * target/waitstatus.h: Likewise.
837
838 2014-08-07 Gary Benson <gbenson@redhat.com>
839
840 * common/common-defs.h: Include gdb_locale.h.
841 * defs.h: Do not include gdb_locale.h.
842
843 2014-08-07 Gary Benson <gbenson@redhat.com>
844
845 * common/common-defs.h: Include gdb/signals.h.
846 * defs.h: Do not include gdb/signals.h.
847
848 2014-08-07 Gary Benson <gbenson@redhat.com>
849
850 * common/common-defs.h: Include pathmax.h.
851 * defs.h: Do not include pathmax.h.
852
853 2014-08-07 Gary Benson <gbenson@redhat.com>
854
855 * common/common-defs.h: Include libiberty.h.
856 * defs.h: Do not include libiberty.h.
857 * common/queue.h: Likewise.
858 * cp-name-parser.y: Likewise.
859 * mi/mi-cmd-catch.c: Likewise.
860 * python/python.c: Likewise.
861
862 2014-08-07 Gary Benson <gbenson@redhat.com>
863
864 * common/common-defs.h: Include ansidecl.h.
865 * defs.h: Do not include ansidecl.h.
866 * common/buffer.h: Likewise.
867 * common/common-utils.h: Likewise.
868
869 2014-08-07 Gary Benson <gbenson@redhat.com>
870
871 * common/common-defs.h: Include stddef.h.
872 * defs.h: Do not include stddef.h.
873 * common/common-utils.h: Likewise.
874 * amd64fbsd-nat.c: Likewise.
875 * bcache.c: Likewise.
876 * charset.c: Likewise.
877 * common/buffer.h: Likewise.
878 * common/vec.h: Likewise.
879 * i386bsd-nat.c: Likewise.
880 * nat/linux-btrace.h: Likewise.
881 * ppcfbsd-nat.c: Likewise.
882 * ppcnbsd-tdep.h: Likewise.
883 * ppcobsd-nat.c: Likewise.
884 * ppcobsd-tdep.h: Likewise.
885 * python/py-gdb-readline.c: Likewise.
886
887 2014-08-07 Gary Benson <gbenson@redhat.com>
888
889 * common/common-defs.h: Include stdarg.h.
890 * defs.h: Do not include stdarg.h.
891 * ada-lang.c: Likewise.
892 * common/common-utils.h: Likewise.
893 * guile/scm-string.c: Likewise.
894 * guile/scm-utils.c: Likewise.
895 * m32c-tdep.c: Likewise.
896
897 2014-08-07 Gary Benson <gbenson@redhat.com>
898
899 * common/common-defs.h: Include stdlib.h.
900 * defs.h: Do not include stdlib.h.
901 * addrmap.c: Likewise.
902 * bcache.c: Likewise.
903 * common/buffer.c: Likewise.
904 * common/common-utils.c: Likewise.
905 * cp-name-parser.y: Likewise.
906 * go32-nat.c: Likewise.
907 * mn10300-linux-tdep.c: Likewise.
908 * nat/linux-osdata.c: Likewise.
909 * tui/tui.c: Likewise.
910 * windows-nat.c: Likewise.
911
912 2014-08-07 Gary Benson <gbenson@redhat.com>
913
914 * common/common-defs.h: Include stdio.h.
915 * defs.h: Do not include stdio.h.
916 * ada-lang.c: Likewise.
917 * common/buffer.c: Likewise.
918 * common/common-utils.c: Likewise.
919 * cp-name-parser.y: Likewise.
920 * gnu-nat.c: Likewise.
921 * go32-nat.c: Likewise.
922 * i386gnu-nat.c: Likewise.
923 * proc-api.c: Likewise.
924 * proc-events.c: Likewise.
925 * proc-flags.c: Likewise.
926 * proc-why.c: Likewise.
927 * python/python-internal.h: Likewise.
928 * target-memory.c: Likewise.
929 * tui/tui-io.c: Likewise.
930 * tui/tui.c: Likewise.
931
932 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
933
934 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
935 (scan_dyntag_auxv): Same.
936
937 2014-08-06 Yao Qi <yao@codesourcery.com>
938
939 * amd64-linux-nat.c: Remove duplicated include
940 "x86-linux-nat.h".
941 * i386-linux-nat.c: Likewise.
942
943 2014-08-06 Yao Qi <yao@codesourcery.com>
944
945 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
946 operand" with "Special opcode" in comments.
947
948 2014-08-05 Gary Benson <gbenson@redhat.com>
949
950 * interps.c (initialize_interps): Remove prototype.
951 (interpreter_initialized): Remove static global.
952 (interp_add): Do not call initialize_interps.
953 (initialize_interps): Remove function.
954
955 2014-08-05 Gary Benson <gbenson@redhat.com>
956
957 * utils.c (vwarning): Remove spurious va_end.
958
959 2014-08-05 Alan Modra <amodra@gmail.com>
960
961 * charset.c (convert_between_encodings): Cast result of obstack_base.
962 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
963 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
964 (read_unwind_info): Use size_t for some locals.
965 * jit.c (finalize_symtab): Likewise.
966 * utils.c (hashtab_obstack_allocate): Likewise.
967 * symmisc.c (print_objfile_statistics): Update format strings.
968
969 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
970
971 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
972 (Changes in GDB 7.8): ... here.
973
974 2014-08-04 Tom Tromey <tromey@redhat.com>
975
976 * target.c (set_targetdebug): New function.
977 (initialize_targets): Pass set_targetdebug when creating "set
978 debug target".
979
980 2014-08-01 Joel Brobecker <brobecker@adacore.com>
981
982 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
983 if detecting a variable-sized field that is not the last field.
984 Fix struct type length computation.
985
986 2014-08-01 Joel Brobecker <brobecker@adacore.com>
987
988 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
989 Add debug trace.
990
991 2014-08-01 Joel Brobecker <brobecker@adacore.com>
992
993 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
994 Remove "+ 8" offset in computation of CHAIN_VMA.
995
996 2014-07-31 Doug Evans <dje@google.com>
997
998 * inflow.c (child_terminal_inferior): Add comment.
999 (child_terminal_ours_for_output): Add comment.
1000 (child_terminal_ours): Add comment.
1001 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1002 (linux_nat_terminal_ours): Add comment.
1003
1004 2014-07-31 Gary Benson <gbenson@redhat.com>
1005
1006 * common/btrace-common.h: Do not include defs.h or server.h.
1007 * nat/mips-linux-watch.h: Likewise.
1008 * gdb-dlfcn.h: Do not include defs.h.
1009 * tracefile.h: Likewise.
1010
1011 2014-07-30 Roland McGrath <mcgrathr@google.com>
1012
1013 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1014
1015 2014-07-30 Tom Tromey <tromey@redhat.com>
1016
1017 * bsd-kvm.c (bsd_kvm_open): Constify.
1018 * corelow.c (core_open): Constify.
1019 * ctf.c (ctf_open): Constify.
1020 * dbug-rom.c (dbug_open): Constify.
1021 * exec.c (exec_open): Constify.
1022 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1023 * microblaze-rom.c (picobug_open): Constify.
1024 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1025 Constify.
1026 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1027 * record-btrace.c (record_btrace_open): Constify.
1028 * record-full.c (record_full_core_open_1, record_full_open_1)
1029 (record_full_open): Constify.
1030 * remote-m32r-sdi.c (m32r_open): Constify.
1031 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1032 (rockhopper_open, lsi_open): Constify.
1033 * remote-sim.c (gdbsim_open): Constify.
1034 * remote.c (remote_open, extended_remote_open, remote_open_1):
1035 Constify.
1036 * target.h (struct target_ops) <to_open>: Make "arg" const.
1037 * tracefile-tfile.c (tfile_open): Constify.
1038
1039 2014-07-30 Tom Tromey <tromey@redhat.com>
1040
1041 * breakpoint.c (map_breakpoint_numbers): Update.
1042 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1043 (get_number_const): New function.
1044 (get_number): Rewrite using get_number_const.
1045 (init_number_or_range): Make "string" const.
1046 (number_is_in_list): Make "list" const.
1047 * cli/cli-utils.h (get_number_const): Declare.
1048 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1049 (init_number_or_range, number_is_in_list): Update.
1050 * printcmd.c (map_display_numbers): Update.
1051 * value.c (value_from_history_ref): Constify.
1052 * value.h (value_from_history_ref): Update.
1053
1054 2014-07-30 Tom Tromey <tromey@redhat.com>
1055
1056 * corefile.c (hook_type, call_extra_exec_file_hooks)
1057 (specify_exec_file_hook): Constify.
1058 * exec.c (exec_file_attach): Make "filename" const.
1059 * gdbcore.h (deprecated_exec_file_display_hook)
1060 (specify_exec_file_hook, exec_file_attach): Constify.
1061 * main.c (captured_main): Use catch_command_errors_const.
1062
1063 2014-07-30 Tom Tromey <tromey@redhat.com>
1064
1065 * target.c (open_target): New function.
1066 (add_target_with_completer, add_deprecated_target_alias): Use
1067 set_cmd_sfunc, set_cmd_context.
1068 (debug_to_open): Remove.
1069 (setup_target_debug): Update.
1070
1071 2014-07-30 Yao Qi <yao@codesourcery.com>
1072
1073 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1074 comments.
1075 * parse.c (exp_iterate): Update comments.
1076
1077 2014-07-30 Gary Benson <gbenson@redhat.com>
1078
1079 * common/common-defs.h: New file.
1080 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1081 * defs.h: Include common-defs.h.
1082 Do not include config.h or build-gnulib/config.h.
1083
1084 2014-07-30 Gary Benson <gbenson@redhat.com>
1085
1086 * common/common-utils.h: Do not include config.h.
1087 * nat/linux-btrace.h: Likewise.
1088
1089 2014-07-30 Gary Benson <gbenson@redhat.com>
1090
1091 * btrace.c: Include defs.h.
1092 * common/ptid.c: Include defs.h or server.h as appropriate.
1093 * nat/mips-linux-watch.c: Likewise.
1094
1095 2014-07-29 Tom Tromey <tromey@redhat.com>
1096
1097 * target.c (target_is_pushed): Simplify.
1098
1099 2014-07-29 Joel Brobecker <brobecker@adacore.com>
1100
1101 GDB 7.8 released.
1102
1103 2014-07-29 Yao Qi <yao@codesourcery.com>
1104
1105 PR gdb/17206
1106 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1107
1108 2014-07-28 Doug Evans <xdje42@gmail.com>
1109
1110 PR guile/17203
1111 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1112 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1113 parameters.
1114
1115 2014-07-28 Will Newton <will.newton@linaro.org>
1116
1117 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1118 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1119 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1120 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1121 (THUMB2_EABI_SYSCALL): Likewise.
1122 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1123 struct tramp_frame.
1124 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1125 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1126
1127 2014-07-27 Doug Evans <xdje42@gmail.com>
1128
1129 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1130
1131 2014-07-27 Doug Evans <xdje42@gmail.com>
1132
1133 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1134
1135 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1136 Doug Evans <xdje42@gmail.com>
1137
1138 PR guile/17146
1139 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1140 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1141 * configure.ac: Try to use guild to compile an scm file, if it fails
1142 then disable guile support.
1143 * configure: Regenerate.
1144 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1145 GUILE_FILE_LIST.
1146 (GUILE_COMPILED_FILES): New variable.
1147 (GUILE_FILES) Update.
1148 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1149 (stamp-guile): Compile scm files.
1150 * guile/guile.c (boot_guile_support): New function.
1151 (standard_throw_args_p): New function.
1152 (print_standard_throw_error, print_throw_error): New functions.
1153 (handle_boot_error): New function.
1154 (initialize_scheme_side): Rewrite to call boot_guile_support.
1155 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1156 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1157
1158 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1159 Doug Evans <xdje42@gmail.com>
1160
1161 PR guile/17146
1162 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1163 * guile/lib/gdb/support.scm: New file.
1164 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1165 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1166 All uses updated.
1167 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1168 All uses updated.
1169 (%assert-type): Ditto, and renamed to assert-type.
1170 (%exception-print-style): Delete.
1171
1172 2014-07-26 Doug Evans <xdje42@gmail.com>
1173
1174 PR build/17105
1175 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1176 * configure: Regenerate.
1177 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1178 PYTHON_FILES.
1179 (PYTHON_FILES): New variable.
1180 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1181 (GUILE_FILES): New variable.
1182 (stamp-python, install-python, uninstall-python): Handle empty
1183 file list.
1184 (stamp-guile, install-guile, uninstall-guile): Ditto.
1185
1186 2014-07-26 Doug Evans <xdje42@gmail.com>
1187
1188 PR guile/17177
1189 * guile/lib/gdb.scm (pretty-printers): Export.
1190 (set-pretty-printers!): Export.
1191 * guile/lib/gdb/printing.scm (gdb module): Update.
1192 (prepend-pretty-printer!, append-pretty-printer!): Update.
1193 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1194 (pretty_printer_list_var): Delete.
1195 (pretty_printer_list): New static global.
1196 (gdbscm_pretty_printers): New function.
1197 (gdbscm_set_pretty_printers_x): New function.
1198 (ppscm_find_pretty_printer_from_gdb): Update.
1199 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1200 (gdbscm_initialize_pretty_printers): Update.
1201
1202 2014-07-26 Doug Evans <xdje42@gmail.com>
1203
1204 PR 17185
1205 * configure.ac: Add check for header gc/gc.h.
1206 Add check for function setenv.
1207 * configure: Regenerate.
1208 * config.in: Regenerate.
1209 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1210
1211 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1212
1213 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1214 variation in gdbarch matching.
1215
1216 2014-07-25 Tom Tromey <tromey@redhat.com>
1217
1218 * exec.c (using_exec_ops): Remove.
1219 (exec_close_1): Update. Remove extraneous block, reindent.
1220 (add_target_sections): Use target_is_pushed.
1221
1222 2014-07-25 Pedro Alves <palves@redhat.com>
1223
1224 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1225 * monitor.c (monitor_create_inferior): Likewise.
1226 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1227 * remote-sim.c (gdbsim_create_inferior): Likewise.
1228 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1229 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1230 * windows-nat.c (do_initial_windows_stuff): Likewise.
1231
1232 2014-07-25 Pedro Alves <palves@redhat.com>
1233
1234 * NEWS: Mention signal passing and "signal" command changes.
1235 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1236 comment.
1237 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1238 call.
1239 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1240 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1241 (jump_command): Adjust clear_proceed_status call.
1242 (signal_command): Warn if other thread that are resumed have
1243 signals that will be delivered. Adjust clear_proceed_status call.
1244 (until_next_command, finish_command)
1245 (proceed_after_attach_callback, attach_command_post_wait)
1246 (attach_command): Adjust clear_proceed_status call.
1247 * infrun.c (proceed_after_vfork_done): Likewise.
1248 (proceed_after_attach_callback): Adjust comment.
1249 (clear_proceed_status_thread): Clear stop_signal if not in pass
1250 state.
1251 (clear_proceed_status_callback): Delete.
1252 (clear_proceed_status): New 'step' parameter. Only clear the
1253 proceed status of threads the command being prepared is about to
1254 resume.
1255 (proceed): If passed in an explicit signal, override stop_signal
1256 with it. Don't pass the last stop signal to the thread we're
1257 resuming.
1258 (init_wait_for_inferior): Adjust clear_proceed_status call.
1259 (switch_back_to_stepped_thread): Clear the signal if it should not
1260 be passed.
1261 * infrun.h (clear_proceed_status): New 'step' parameter.
1262 (user_visible_resume_ptid): Add comment.
1263 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1264 signal is in pass state.
1265 * remote.c (append_pending_thread_resumptions): Likewise.
1266 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1267
1268 2014-07-25 Tom Tromey <tromey@redhat.com>
1269
1270 * target.h (target_stopped_data_address)
1271 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1272 parentheses.
1273
1274 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1275
1276 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1277 comments.
1278 (avr_pointer_to_address): Likewise.
1279
1280 2014-07-24 Tom Tromey <tromey@redhat.com>
1281
1282 * monitor.c (compile_pattern): Update.
1283 * target.h (struct target_ops) <to_shortname, to_longname,
1284 to_doc>: Now const.
1285
1286 2014-07-24 Tom Tromey <tromey@redhat.com>
1287
1288 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1289 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1290 (add_info_alias, add_com): Make "doc" const.
1291 (print_doc_line): Make "str" const.
1292 (delete_cmd): Update.
1293 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1294 (print_doc_line): Update.
1295 * cli/cli-script.c (document_command): Update.
1296 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1297 (add_com, add_info, add_info_alias): Update.
1298 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1299 * python/py-cmd.c (cmdpy_destroyer): Update.
1300
1301 2014-07-24 Tom Tromey <tromey@redhat.com>
1302
1303 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1304 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1305 (help_cmd_list): Constify.
1306 (lookup_cmd): Update.
1307 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1308 const.
1309 (help_cmd_list, apropos_cmd): Update.
1310 * cli/cli-script.c (show_user): Update.
1311 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1312 * cli/cli-setshow.h (cmd_show_list): Update.
1313 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1314 (cmd_show_list): Update.
1315 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1316 * python/py-cmd.c (cmdpy_destroyer): Update.
1317
1318 2014-07-24 Tom Tromey <tromey@redhat.com>
1319
1320 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1321 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1322 const.
1323 * command.h (deprecate_cmd): Update.
1324 * maint.c (maintenance_do_deprecate): Add casts.
1325
1326 2014-07-24 Tom Tromey <tromey@redhat.com>
1327
1328 * cli/cli-decode.c (help_cmd): Make parameter "const".
1329 * cli/cli-decode.h (help_cmd): Update.
1330
1331 2014-07-24 Tom Tromey <tromey@redhat.com>
1332
1333 * stack.c (up_silently_base, down_silently_base): Make argument
1334 const.
1335
1336 2014-07-24 Tom Tromey <tromey@redhat.com>
1337
1338 * solib.c (solib_add): Make "pattern" const.
1339 * solib.h (solib_add): Update.
1340
1341 2014-07-24 Tom Tromey <tromey@redhat.com>
1342
1343 * remote.c (remote_serial_open, print_packet, putpkt)
1344 (putpkt_binary): Constify.
1345 * remote.h (putpkt): Update.
1346
1347 2014-07-24 Tom Tromey <tromey@redhat.com>
1348
1349 * monitor.c (monitor_open): Make "args" const.
1350 * monitor.h (monitor_open): Update.
1351
1352 2014-07-24 Tom Tromey <tromey@redhat.com>
1353
1354 * maint.c (match_bfd_flags): Make "string" const.
1355 (print_bfd_section_info): Remove casts.
1356 (print_objfile_section_info): Make "string" const.
1357
1358 2014-07-24 Tom Tromey <tromey@redhat.com>
1359
1360 * inf-child.c (inf_child_open_target): Make "arg" const.
1361 * inf-child.h (inf_child_open_target): Update.
1362
1363 2014-07-24 Tom Tromey <tromey@redhat.com>
1364
1365 * environ.c (unset_in_environ): Make "var" const.
1366 * environ.h (unset_in_environ): Update.
1367
1368 2014-07-24 Tom Tromey <tromey@redhat.com>
1369
1370 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1371 Make "cmd" const.
1372 (scan_filename_with_cleanup): Likewise.
1373 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1374 Make arguments const.
1375 (restore_command): Update.
1376
1377 2014-07-24 Pedro Alves <palves@redhat.com>
1378
1379 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1380
1381 2014-07-24 Tom Tromey <tromey@redhat.com>
1382 Gary Benson <gbenson@redhat.com>
1383
1384 * nat/linux-ptrace.c (additional_flags): New global.
1385 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1386 additional_flags; don't check GDBSERVER.
1387 (linux_ptrace_set_additional_flags): New function.
1388 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1389 Declare.
1390 * linux-nat.c (_initialize_linux_nat): Call
1391 linux_ptrace_set_additional_flags.
1392
1393 2014-07-24 Tom Tromey <tromey@redhat.com>
1394
1395 * make-target-delegates (munge_type, write_debugmethod): New
1396 functions.
1397 (debug_names): New global.
1398 ($TARGET_DEBUG_PRINTER): New global.
1399 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1400 name.
1401 Write debug methods. Generate init_debug_target.
1402 * target-debug.h: New file.
1403 * target-delegates.c: Rebuild.
1404 * target.c: Include target-debug.h.
1405 (debug_target): Hoist definition.
1406 (target_kill, target_get_section_table, target_memory_map)
1407 (target_flash_erase, target_flash_done, target_detach)
1408 (target_disconnect, target_wait, target_resume)
1409 (target_pass_signals, target_program_signals, target_follow_fork)
1410 (target_mourn_inferior, target_search_memory)
1411 (target_thread_address_space, target_close)
1412 (target_find_new_threads, target_core_of_thread)
1413 (target_verify_memory, target_insert_mask_watchpoint)
1414 (target_remove_mask_watchpoint): Remove targetdebug code.
1415 (debug_to_post_attach, debug_to_prepare_to_store)
1416 (debug_to_files_info, debug_to_insert_breakpoint)
1417 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1418 (debug_to_region_ok_for_hw_watchpoint)
1419 (debug_to_can_accel_watchpoint_condition)
1420 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1421 (debug_to_watchpoint_addr_within_range)
1422 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1423 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1424 (debug_to_terminal_init, debug_to_terminal_inferior)
1425 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1426 (debug_to_terminal_save_ours, debug_to_terminal_info)
1427 (debug_to_load, debug_to_post_startup_inferior)
1428 (debug_to_insert_fork_catchpoint)
1429 (debug_to_remove_fork_catchpoint)
1430 (debug_to_insert_vfork_catchpoint)
1431 (debug_to_remove_vfork_catchpoint)
1432 (debug_to_insert_exec_catchpoint)
1433 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1434 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1435 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1436 (setup_target_debug): Call init_debug_target.
1437 * target.h (TARGET_DEBUG_PRINTER): New macro.
1438 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1439 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1440
1441 2014-07-24 Gary Benson <gbenson@redhat.com>
1442
1443 * exceptions.h (throw_vfatal): Renamed to...
1444 (throw_vquit): New declaration.
1445 (throw_quit): Likewise.
1446 * exceptions.c (throw_vfatal): Renamed to...
1447 (throw_vquit): New function.
1448 (throw_quit): Likewise.
1449 (throw_error): Call throw_verror rather than throw_it.
1450 * utils.h (vfatal): Removed.
1451 (fatal): Likewise.
1452 * utils.c (vfatal): Removed.
1453 (fatal): Likewise.
1454 (internal_verror): Replaced call to fatal with call to throw_quit.
1455 (quit): Replaced calls to fatal with calls to throw_quit.
1456
1457 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1458
1459 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1460 target_read_code.
1461
1462 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1463
1464 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1465 less than zero in conditional expression.
1466
1467 2014-07-23 Tom Tromey <tromey@redhat.com>
1468
1469 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1470 ($INTRO_PART): Don't match whitespace.
1471 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1472 argument matching.
1473 ($METHOD): Add $METHOD_TRAILER.
1474 (trim): Rewrite.
1475 (scan_target_h): New sub.
1476 Change main loop not to collect state.
1477 * target-delegates.c: Rebuild.
1478
1479 2014-07-23 Gary Benson <gbenson@redhat.com>
1480
1481 * cp-support.c (gdb_demangle): Fix build on systems without
1482 sigaltstack.
1483
1484 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1487 for reference entry value target data value.
1488
1489 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1490
1491 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1492 value_available_contents_eq.
1493
1494 2014-07-22 Pedro Alves <palves@redhat.com>
1495
1496 * value.c (allocate_optimized_out_value): Don't mark value as
1497 non-lazy.
1498
1499 2014-07-22 Jiong Wang <jiong.wang@arm.com>
1500
1501 * MAINTAINERS (Write After Approval): Update my email address.
1502
1503 2014-07-20 Doug Evans <dje@google.com>
1504
1505 PR server/17147
1506 * remote.c (putpkt_binary): Add text to error message.
1507
1508 2014-07-20 Yao Qi <yao@codesourcery.com>
1509
1510 * eval.c: Remove "Chill" from comments.
1511 * gdbtypes.h: Likewise.
1512 * symtab.h: Likewise.
1513
1514 2014-07-20 Yao Qi <yao@codesourcery.com>
1515
1516 * std-operator.def: Update comments to TERNOP_SLICE.
1517
1518 2014-07-20 Yao Qi <yao@codesourcery.com>
1519
1520 * std-operator.def: Remove BINOP_RANGE.
1521 * breakpoint.c (watchpoint_exp_is_const): Update.
1522 * expprint.c (dump_subexp_body_standard): Likewise.
1523 * eval.c (init_array_element): Remove dead code.
1524 (evaluate_subexp_standard): Likewise.
1525
1526 2014-07-20 Yao Qi <yao@codesourcery.com>
1527
1528 * std-operator.def: Remove BINOP_IN.
1529 * breakpoint.c (watchpoint_exp_is_const): Update.
1530 * eval.c (evaluate_subexp_standard): Likewise.
1531 * expprint.c (dump_subexp_body_standard): Likewise.
1532
1533 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1534
1535 * microblaze-tdep.c (microblaze_register_names): Add
1536 the rshr and rslr register names.
1537 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1538 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1539 Use of tdesc_numbered_register. Use of
1540 microblaze_register_g_packet_guesses. Use of
1541 tdesc_use_registers. Use of set_gdbarch_register_type.
1542 (microblaze_register_g_packet_guesses): New.
1543 * microblaze-tdep.h (microblaze_reg_num): Add
1544 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1545 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1546 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1547 * features/microblaze-core.xml: New file.
1548 * features/microblaze-stack-protect.xml: New file.
1549 * features/microblaze-with-stack-protect.c: New file.
1550 * features/microblaze-with-stack-protect.xml: New file.
1551 * features/microblaze.xml: New file.
1552 * features/microblaze.c: New file.
1553 * features/Makefile (microblaze-with-stack-protect): Add
1554 microblaze-with-stack-protect microblaze and microblaze-expedite.
1555 * regformats/microblaze-with-stack-protect.dat: New file.
1556 * regformats/microblaze.dat: New file.
1557 * doc/gdb.texinfo (MicroBlaze Features): Added.
1558
1559 2014-07-18 Tom Tromey <tromey@redhat.com>
1560
1561 * exec.c (exec_ops): Now static.
1562 * exec.h (exec_ops): Don't declare.
1563
1564 2014-07-18 Tom Tromey <tromey@redhat.com>
1565
1566 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1567 to find_target_beneath.
1568 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1569 find_target_beneath.
1570 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1571
1572 2014-07-18 Tom Tromey <tromey@redhat.com>
1573
1574 PR gdb/17130:
1575 * utils.c (quit): Use target_supports_terminal_ours.
1576 * target.h (target_supports_terminal_ours): Declare.
1577 * target.c (target_supports_delete_record): Don't check
1578 to_delete_record against NULL.
1579 (target_supports_terminal_ours): New function.
1580
1581 2014-07-18 Tom Tromey <tromey@redhat.com>
1582
1583 PR gdb/17130:
1584 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1585 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1586 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1587 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1588 * windows-nat.c (windows_xfer_partial): Always delegate.
1589 * record-btrace.c (record_btrace_xfer_partial): Simplify
1590 delegation.
1591 (record_btrace_fetch_registers, record_btrace_store_registers)
1592 (record_btrace_prepare_to_store, record_btrace_resume)
1593 (record_btrace_wait, record_btrace_find_new_threads)
1594 (record_btrace_thread_alive): Likewise.
1595 * procfs.c (procfs_xfer_partial): Always delegate.
1596 * corelow.c (core_xfer_partial): Always delegate.
1597 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1598
1599 2014-07-18 Tom Tromey <tromey@redhat.com>
1600
1601 * exec.c (exec_make_note_section): Move earlier.
1602
1603 2014-07-17 Doug Evans <dje@google.com>
1604
1605 PR gdb/17170
1606 * maint.c (count_symtabs_and_blocks): Handle NULL
1607 current_program_space.
1608 (report_command_stats): Check global enabled flag in addition to
1609 recorded enabled flag.
1610 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1611
1612 2014-07-16 Pedro Alves <palves@redhat.com>
1613
1614 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1615
1616 2014-07-16 Tom Tromey <tromey@redhat.com>
1617
1618 * target.h (struct target_ops) <to_delete_record>: Reformat
1619 comment.
1620
1621 2014-07-16 Tom Tromey <tromey@redhat.com>
1622
1623 * target-delegates.c: Rebuild.
1624
1625 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1626
1627 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1628 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1629 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1630 (avr_pointer_to_address): Likewise.
1631 (avr_address_class_type_flags): New function.
1632 (avr_address_class_type_flags_to_name): Likewise.
1633 (avr_address_class_name_to_type_flags): Likewise.
1634 (avr_gdbarch_init): Set address_class_type_flags,
1635 address_class_type_flags_to_name and
1636 address_class_name_to_type_flags.
1637
1638 2014-07-15 Pedro Alves <palves@redhat.com>
1639
1640 * linux-nat.c (kill_callback): Save errno and work with saved
1641 copy.
1642
1643 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1644
1645 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1646
1647 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1648
1649 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1650 breakpoint support correctly.
1651
1652 2014-07-14 Pedro Alves <palves@redhat.com>
1653
1654 * utils.c (prompt_for_continue): Call target_terminal_ours.
1655
1656 2014-07-14 Pedro Alves <palves@redhat.com>
1657
1658 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1659 catch_errors. Don't re-enable stdin or notify observers where,
1660 and rethrow error.
1661 (fetch_inferior_event_wrapper): Delete.
1662
1663 2014-07-14 Pedro Alves <palves@redhat.com>
1664
1665 PR gdb/17072
1666 * top.c: Include "inf-loop.h".
1667 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1668 field.
1669 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1670 was async before.
1671 (gdb_readline_wrapper): Store whether the target is async, and
1672 make it sync.
1673
1674 2014-07-14 Pedro Alves <palves@redhat.com>
1675
1676 PR gdb/17072
1677 * top.c (gdb_readline_wrapper_line): Tweak comment.
1678 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1679 the input handler callback.
1680
1681 2014-07-14 Pedro Alves <palves@redhat.com>
1682
1683 PR gdb/17072
1684 * main.c: Include event-top.h.
1685 (handle_command_errors): New function.
1686 (catch_command_errors, catch_command_errors_const): Use it.
1687
1688 2014-07-14 Pedro Alves <palves@redhat.com>
1689
1690 * exceptions.c (catch_command_errors, catch_command_errors_const):
1691 Moved to main.c.
1692 * exceptions.h (catch_command_errors_ftype)
1693 (catch_command_errors_const_ftype): Moved to main.c.
1694 (catch_command_errors, catch_command_errors_const): Delete
1695 declarations.
1696 * main.c (catch_command_errors_ftype)
1697 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1698 (catch_command_errors, catch_command_errors_const)): Moved here
1699 from exceptions.c and make static.
1700
1701 2014-07-14 Pedro Alves <palves@redhat.com>
1702
1703 * exceptions.c (print_any_exception): Delete.
1704 (catch_exceptions_with_msg): Use exception_print instead of
1705 print_any_exception.
1706 (catch_errors): Use exception_fprintf instead of
1707 print_any_exception.
1708 (catch_command_errors, catch_command_errors_const): Use
1709 exception_print instead of print_any_exception.
1710
1711 2014-07-14 Pedro Alves <palves@redhat.com>
1712
1713 * infcall.c (run_inferior_call): Set 'sync_execution' while
1714 running the inferior call.
1715
1716 2014-07-14 Pedro Alves <palves@redhat.com>
1717
1718 * value.c (value_contents_equal): Delete function.
1719 * value.h (value_contents_equal): Delete declaration.
1720
1721 2014-07-14 Tom Tromey <tromey@redhat.com>
1722
1723 PR exp/17106:
1724 * gdbtypes.c (is_dynamic_type_internal): New function, from
1725 is_dynamic_type.
1726 (is_dynamic_type): Rewrite.
1727 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1728 (resolve_dynamic_struct): Likewise.
1729 (resolve_dynamic_type_internal): New function, from
1730 resolve_dynamic_type.
1731 (resolve_dynamic_type): Rewrite.
1732
1733 2014-07-14 Tom Tromey <tromey@redhat.com>
1734
1735 * target.c (target_require_runnable): Also check record_stratum.
1736 Update comment.
1737
1738 2014-07-11 Yao Qi <yao@codesourcery.com>
1739
1740 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1741 thumb_instruction_restores_sp return true.
1742
1743 2014-07-11 Yao Qi <yao@codesourcery.com>
1744
1745 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1746 (thumb_in_function_epilogue_p): Call
1747 thumb_instruction_restores_sp.
1748
1749 2014-07-11 Yao Qi <yao@codesourcery.com>
1750
1751 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1752 'add sp, #imm'.
1753 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1754
1755 2014-07-11 Gary Benson <gbenson@redhat.com>
1756
1757 * amd64-linux-nat.c (gdbcore.h): Remove include.
1758 (regset.h): Likewise.
1759 (nat/linux-btrace.h): Likewise.
1760 (btrace.h): Likewise.
1761 (gdb_assert.h): Likewise.
1762 (string.h): Likewise.
1763 (sys/uio.h): Likewise.
1764 (sys/debugreg.h): Likewise.
1765 (sys/syscall.h): Likewise.
1766 (sys/procfs.h): Likewise.
1767 (sys/user.h): Likewise.
1768 (asm/ptrace.h): Likewise.
1769 (i386-nat.h): Likewise.
1770 * i386-linux-nat.c (i386-nat.h): Likewise.
1771 (regset.h): Likewise.
1772 (target.h): Likewise.
1773 (linux-nat.h): Likewise.
1774 (nat/linux-btrace.h): Likewise.
1775 (btrace.h): Likewise.
1776 (gdb_assert.h): Likewise.
1777 (string.h): Likewise.
1778 (sys/uio.h): Likewise.
1779 (sys/user.h): Likewise.
1780 (sys/procfs.h): Likewise.
1781 (sys/reg.h): Likewise.
1782 (sys/debugreg.h): Likewise.
1783 (ORIG_EAX): Remove definition.
1784
1785 2014-07-11 Gary Benson <gbenson@redhat.com>
1786
1787 * i386-linux-nat.h: New file.
1788 * x86-linux-nat.h: Likewise.
1789 * x86-linux-nat.c: Likewise.
1790 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1791 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1792 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1793 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1794 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1795 (PTRACE_SETREGSET): Likewise.
1796 (arch_lwp_info): Now in x86-linux-nat.c.
1797 (have_ptrace_getregset): Now in x86-linux-nat.h.
1798 (x86_linux_dr_get): Now in x86-linux-nat.c.
1799 (x86_linux_dr_set): Likewise.
1800 (x86_linux_dr_get_addr): Likewise.
1801 (x86_linux_dr_get_control): Likewise.
1802 (x86_linux_dr_get_status): Likewise.
1803 (update_debug_registers_callback): Likewise.
1804 (x86_linux_dr_set_control): Likewise.
1805 (x86_linux_dr_set_addr): Likewise.
1806 (x86_linux_prepare_to_resume): Likewise.
1807 (x86_linux_new_thread): Likewise.
1808 (x86_linux_new_fork): Likewise.
1809 (x86_linux_get_thread_area): Likewise.
1810 (super_post_startup_inferior): Likewise.
1811 (x86_linux_child_post_startup_inferior): Likewise.
1812 (AMD64_LINUX_USER64_CS): Likewise.
1813 (AMD64_LINUX_X32_DS): Likewise.
1814 (x86_linux_read_description): Likewise.
1815 (x86_linux_enable_btrace): Likewise.
1816 (x86_linux_disable_btrace): Likewise.
1817 (x86_linux_teardown_btrace): Likewise.
1818 (x86_linux_read_btrace): Likewise.
1819 (x86_linux_create_target): Likewise.
1820 (x86_linux_add_target): Likewise.
1821 * i386-linux-nat.c (x86-linux-nat.h): New include.
1822 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1823 (PTRACE_SETREGSET): Likewise.
1824 (arch_lwp_info): Now in x86-linux-nat.c.
1825 (have_ptrace_getregset): Now in x86-linux-nat.h.
1826 (x86_linux_dr_get): Now in x86-linux-nat.c.
1827 (x86_linux_dr_set): Likewise.
1828 (x86_linux_dr_get_addr): Likewise.
1829 (x86_linux_dr_get_control): Likewise.
1830 (x86_linux_dr_get_status): Likewise.
1831 (update_debug_registers_callback): Likewise.
1832 (x86_linux_dr_set_control): Likewise.
1833 (x86_linux_dr_set_addr): Likewise.
1834 (x86_linux_prepare_to_resume): Likewise.
1835 (x86_linux_new_thread): Likewise.
1836 (x86_linux_new_fork): Likewise.
1837 (x86_linux_get_thread_area): Likewise.
1838 (super_post_startup_inferior): Likewise.
1839 (x86_linux_child_post_startup_inferior): Likewise.
1840 (AMD64_LINUX_USER64_CS): Likewise.
1841 (AMD64_LINUX_X32_DS): Likewise.
1842 (x86_linux_read_description): Likewise.
1843 (x86_linux_enable_btrace): Likewise.
1844 (x86_linux_disable_btrace): Likewise.
1845 (x86_linux_teardown_btrace): Likewise.
1846 (x86_linux_read_btrace): Likewise.
1847 (x86_linux_create_target): Likewise.
1848 (x86_linux_add_target): Likewise.
1849
1850 2014-07-11 Gary Benson <gbenson@redhat.com>
1851
1852 * amd64-linux-nat.c: Comment and whitespace changes.
1853 * i386-linux-nat.c: Comment and whitespace changes.
1854
1855 2014-07-11 Gary Benson <gbenson@redhat.com>
1856
1857 * amd64-linux-nat.c (x86_linux_create_target): New function.
1858 (x86_linux_add_target): Likewise.
1859 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1860 * i386-linux-nat.c (x86_linux_create_target): New function.
1861 (x86_linux_add_target): Likewise.
1862 (_initialize_i386_linux_nat): Delegate to the above new functions.
1863
1864 2014-07-11 Gary Benson <gbenson@redhat.com>
1865
1866 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1867 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1868 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1869 (ps_get_thread_area): Delegate to the above.
1870
1871 2014-07-11 Gary Benson <gbenson@redhat.com>
1872
1873 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1874 x86_linux_read_description. All uses updated. amd64-specific
1875 code conditionalized. Conditionalized i386-specific code added.
1876 Redundant cast removed.
1877 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1878 x86_linux_read_description. All uses updated. i386-specific
1879 code conditionalized. Conditionalized amd64-specific code added.
1880 One sizeof replaced with the actual type it is describing.
1881
1882 2014-07-11 Gary Benson <gbenson@redhat.com>
1883
1884 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1885 x86_linux_dr_get. All uses updated.
1886 (amd64_linux_dr_set): Renamed to
1887 x86_linux_dr_set. All uses updated.
1888 (amd64_linux_dr_get_addr): Renamed to
1889 x86_linux_dr_get_addr. All uses updated.
1890 (amd64_linux_dr_get_control): Renamed to
1891 x86_linux_dr_get_control. All uses updated.
1892 (amd64_linux_dr_get_status): Renamed to
1893 x86_linux_dr_get_status. All uses updated.
1894 (amd64_linux_dr_set_control): Renamed to
1895 x86_linux_dr_set_control. All uses updated.
1896 (amd64_linux_dr_set_addr): Renamed to
1897 x86_linux_dr_set_addr. All uses updated.
1898 (amd64_linux_prepare_to_resume): Renamed to
1899 x86_linux_prepare_to_resume. All uses updated.
1900 (amd64_linux_new_thread): Renamed to
1901 x86_linux_new_thread. All uses updated.
1902 (amd64_linux_new_fork): Renamed to
1903 x86_linux_new_fork. All uses updated.
1904 (amd64_linux_child_post_startup_inferior): Renamed to
1905 x86_linux_child_post_startup_inferior. All uses updated.
1906 (amd64_linux_enable_btrace): Renamed to
1907 x86_linux_enable_btrace. All uses updated.
1908 (amd64_linux_disable_btrace): Renamed to
1909 x86_linux_disable_btrace. All uses updated.
1910 (amd64_linux_teardown_btrace): Renamed to
1911 x86_linux_teardown_btrace. All uses updated.
1912 (amd64_linux_read_btrace): Renamed to
1913 x86_linux_read_btrace. All uses updated.
1914 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1915 x86_linux_dr_get. All uses updated.
1916 (i386_linux_dr_set): Renamed to
1917 x86_linux_dr_set. All uses updated.
1918 (i386_linux_dr_get_addr): Renamed to
1919 x86_linux_dr_get_addr. All uses updated.
1920 (i386_linux_dr_get_control): Renamed to
1921 x86_linux_dr_get_control. All uses updated.
1922 (i386_linux_dr_get_status): Renamed to
1923 x86_linux_dr_get_status. All uses updated.
1924 (i386_linux_dr_set_control): Renamed to
1925 x86_linux_dr_set_control. All uses updated.
1926 (i386_linux_dr_set_addr): Renamed to
1927 x86_linux_dr_set_addr. All uses updated.
1928 (i386_linux_prepare_to_resume): Renamed to
1929 x86_linux_prepare_to_resume. All uses updated.
1930 (i386_linux_new_thread): Renamed to
1931 x86_linux_new_thread. All uses updated.
1932 (i386_linux_new_fork): Renamed to
1933 x86_linux_new_fork. All uses updated.
1934 (i386_linux_child_post_startup_inferior): Renamed to
1935 x86_linux_child_post_startup_inferior. All uses updated.
1936 (i386_linux_enable_btrace): Renamed to
1937 x86_linux_enable_btrace. All uses updated.
1938 (i386_linux_disable_btrace): Renamed to
1939 x86_linux_disable_btrace. All uses updated.
1940 (i386_linux_teardown_btrace): Renamed to
1941 x86_linux_teardown_btrace. All uses updated.
1942 (i386_linux_read_btrace): Renamed to
1943 x86_linux_read_btrace. All uses updated.
1944
1945 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1946
1947 * remote.c (extended_remote_post_attach): New function.
1948 (init_extended_remote_ops): Install it as to_post_attach method.
1949
1950 2014-07-09 Pedro Alves <palves@redhat.com>
1951
1952 * infcmd.c (attach_command_post_wait): Don't call
1953 target_terminal_inferior here.
1954 (attach_command): Call it here instead.
1955
1956 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
1959 field.
1960 * c-varobj.c (c_is_path_expr_parent): New function, moved core
1961 from varobj.c, with additional checks.
1962 (c_varobj_ops): Fill in is_path_expr_parent field.
1963 (cplus_varobj_ops): Fill in is_path_expr_parent field.
1964 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
1965 field.
1966 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
1967 ops method.
1968 (varobj_default_is_path_expr_parent): New function.
1969 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
1970 (varobj_default_is_path_expr_parent): Declare new function.
1971
1972 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1973
1974 * infcmd.c (finish_backward): Turn internal error into normal error.
1975
1976 2014-07-07 Pedro Alves <palves@redhat.com>
1977
1978 PR gdb/17096
1979 * remote.c (async_handle_remote_sigint)
1980 (async_handle_remote_sigint_twice): Call
1981 gdb_call_async_signal_handler instead of
1982 mark_async_signal_handler.
1983
1984 2014-07-07 Tom Tromey <tromey@redhat.com>
1985
1986 * target-delegates.c: Rebuild.
1987 * target.c (target_info_record): Remove.
1988 * record.c (info_record_command): Unconditionally call
1989 to_info_record.
1990 * target.h (struct target_ops) <to_info_record>: Use
1991 TARGET_DEFAULT_IGNORE.
1992 (target_info_record): Remove.
1993
1994 2014-07-07 Tom Tromey <tromey@redhat.com>
1995
1996 * target.h (struct target_ops) <to_get_thread_local_address>: Use
1997 TARGET_DEFAULT_NORETURN.
1998 * target.c (generic_tls_error): New function.
1999 (target_translate_tls_address): Don't search target stack.
2000 * target-delegates.c: Rebuild.
2001 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2002 stack.
2003 * linux-thread-db.c (thread_db_get_thread_local_address):
2004 Unconditionally call beneath target.
2005
2006 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2007
2008 * cli/cli-logging.c (pop_output_files): Assign targerr to
2009 gdb_stdtargerr.
2010
2011 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2012
2013 * MAINTAINERS (Write After Approval): Update my email address.
2014
2015 2014-07-02 Gary Benson <gbenson@redhat.com>
2016
2017 * proc-service.c (ps_xfer_memory): Update comment.
2018 (ps_pstop): Remove unused function.
2019 (ps_pcontinue): Likewise.
2020 (ps_lstop): Likewise.
2021 (ps_lcontinue): Likewise.
2022 (ps_lgetxregsize): Likewise.
2023 (ps_lgetxregs): Likewise.
2024 (ps_lsetxregs): Likewise.
2025 (ps_plog): Likewise.
2026 (ps_ptread): Likewise.
2027 (ps_ptwrite): Likewise.
2028
2029 2014-07-01 Mark Wielaard <mjw@redhat.com>
2030
2031 * dwarf2read.c (add_array_cv_type): New function.
2032 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2033 (read_tag_volatile_type): Likewise.
2034
2035 2014-07-01 Tom Tromey <tromey@redhat.com>
2036
2037 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2038 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2039 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2040 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2041 * command.h (cmd_cfunc_ftype): Move earlier.
2042 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2043 (add_com, add_info): Use cmd_cfunc_ftype.
2044
2045 2014-06-30 Tom Tromey <tromey@redhat.com>
2046
2047 * symtab.c (operator_chars): Make parameters and return type
2048 const.
2049 (file_matches): Make "files" const.
2050 (struct search_symbols_data) <files>: Now const.
2051 (search_symbols): Make "regexp" and "files" parameters const.
2052 Update.
2053 (symtab_symbol_info): Remove cast.
2054 (rbreak_command): Update.
2055 * symtab.h (search_symbols): Update.
2056
2057 2014-06-27 Yao Qi <yao@codesourcery.com>
2058
2059 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2060 Change parameter type to 'struct thread_info *'. Caller
2061 updated.
2062 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2063 Update declaration.
2064 * dummy-frame.c (struct dummy_frame_id): New.
2065 (dummy_frame_id_eq): New function.
2066 (struct dummy_frame) <id>: Change its type to 'struct
2067 dummy_frame_id'.
2068 (dummy_frame_push): Add parameter ptid and save it in
2069 dummy_frame_id.
2070 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2071 inferior_ptid.
2072 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2073 to inferior_ptid.
2074 (lookup_dummy_frame): Change parameter type to 'struct
2075 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2076 instead of frame_id_eq.
2077 (dummy_frame_pop): Add parameter ptid. Callers updated.
2078 Update comments. Compose dummy_frame_id and pass it to
2079 lookup_dummy_frame.
2080 (dummy_frame_discard): Add parameter ptid.
2081 (dummy_frame_sniffer): Compose dummy_frame_id and call
2082 dummy_frame_id_eq instead of frame_id_eq.
2083 (fprint_dummy_frames): Print ptid.
2084 * dummy-frame.h: Remove comments.
2085 (dummy_frame_push): Add ptid in declaration.
2086 (dummy_frame_pop, dummy_frame_discard): Likewise.
2087
2088 2014-06-26 Tom Tromey <tromey@redhat.com>
2089
2090 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2091 * command.h (error_no_arg): Update.
2092
2093 2014-06-26 Tom Tromey <tromey@redhat.com>
2094
2095 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2096 (do_show_command): Make "arg" const.
2097 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2098
2099 2014-06-26 Tom Tromey <tromey@redhat.com>
2100
2101 * record-full.c (record_full_get_bookmark): Make "args" const.
2102 (record_full_goto_bookmark): Make "raw_bookmark" const.
2103 * record.c (record_goto): New function.
2104 (cmd_record_goto): Use it. Now static.
2105 * record.h (record_goto): Declare.
2106 (cmd_record_goto): Remove declaration.
2107 * target-delegates.c: Rebuild.
2108 * target.h (struct target_ops) <to_get_bookmark,
2109 to_goto_bookmark>: Make parameter const.
2110
2111 2014-06-26 Tom Tromey <tromey@redhat.com>
2112
2113 * defs.h (generic_load): Update.
2114 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2115 * monitor.c (monitor_load): Make "args" const.
2116 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2117 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2118 const.
2119 (mips_load): Make "file" const.
2120 * remote-sim.c (gdbsim_load): Make "args" const.
2121 * remote.c (remote_load): Make "name" const.
2122 * symfile.c (generic_load): Make "args" const.
2123 * target-delegates.c: Rebuild.
2124 * target.c (target_load): Make "arg" const.
2125 (debug_to_load): Make "args" const.
2126 * target.h (struct target_ops) <to_load>: Make parameter const.
2127 (target_load): Update.
2128
2129 2014-06-26 Tom Tromey <tromey@redhat.com>
2130
2131 PR symtab/16902:
2132 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2133 (dwarf2_physname, read_partial_die)
2134 (guess_partial_die_structure_name, fixup_partial_die)
2135 (guess_full_die_structure_name, anonymous_struct_prefix)
2136 (dwarf2_name): Use per-BFD obstack.
2137
2138 2014-06-26 Yao Qi <yao@codesourcery.com>
2139
2140 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2141 dummyframe and this_id into inner block below.
2142
2143 2014-06-26 Yao Qi <yao@codesourcery.com>
2144
2145 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2146 with "signal_pass[0]" in the initialization of signal_pass.
2147
2148 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2149
2150 * record-btrace.c (record_btrace_generating_corefile)
2151 (record_btrace_prepare_to_generate_core)
2152 (record_btrace_done_generating_core): New.
2153 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2154 (record_btrace_store_registers, record_btrace_prepare_to_store):
2155 Forward request when generating a core file.
2156 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2157 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2158 to_done_generating_core.
2159
2160 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2161
2162 * target.h (target_ops) <to_prepare_to_generate_core>
2163 <to_done_generating_core>: New.
2164 (target_prepare_to_generate_core, target_done_generating_core): New.
2165 * target.c (target_prepare_to_generate_core)
2166 (target_done_generating_core): New.
2167 * target-delegates.c: Regenerate.
2168 * gcore.c: (write_gcore_file): Rename to ...
2169 (write_gcore_file_1): ...this.
2170 (write_gcore_file): Call target_prepare_to_generate_core
2171 and target_done_generating_core.
2172
2173 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2174
2175 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2176 * gcore.c (write_gcore_file): Free memory returned from
2177 make_corefile_notes.
2178 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2179 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2180
2181 2014-06-24 Yao Qi <yao@codesourcery.com>
2182
2183 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2184 (arm_linux_init_abi): Set skip_trampoline_code with
2185 gdbarch_skip_trampoline_code instead of
2186 find_solib_trampoline_target.
2187
2188 2014-06-24 Yao Qi <yao@codesourcery.com>
2189
2190 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2191 arm_skip_bx_reg returns non-zero.
2192
2193 2014-06-24 Yao Qi <yao@codesourcery.com>
2194
2195 * arm-tdep.c (arm_skip_bx_reg): New function.
2196 (arm_skip_stub): Call arm_skip_bx_reg.
2197
2198 2014-06-23 Don Breazeal <donb@codesourcery.com>
2199
2200 * MAINTAINERS: Add myself as write-after-approval maintainer.
2201
2202 2014-06-23 Pedro Alves <palves@redhat.com>
2203
2204 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2205 DR_CONTROL before setting DR0..DR3.
2206 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2207 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2208 bits of DR_CONTROL related to the debug register slot being
2209 disabled. If all slots are vacant, clear local slowdown as well,
2210 and assert DR_CONTROL is 0.
2211
2212 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2213
2214 * python/lib/gdb/command/xmethods.py
2215 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2216 current progspace only if the string "progspace" matches LOCUS_RE.
2217
2218 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 Fix --with-system-readline with readline-6.3 patch 5.
2221 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2222 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2223 types.
2224
2225 2014-06-20 Tom Tromey <tromey@redhat.com>
2226
2227 * dwarf2read.c (dw2_get_real_path): Use correct type in
2228 OBSTACK_CALLOC.
2229 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2230
2231 2014-06-20 Gary Benson <gbenson@redhat.com>
2232
2233 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2234 * common/glibc_thread_db.h: Likewise.
2235 * common/i386-cpuid.h: Likewise.
2236 * common/i386-gcc-cpuid.h: Likewise.
2237 * common/linux-btrace.h: Likewise.
2238 * common/linux-osdata.h: Likewise.
2239 * common/linux-procfs.h: Likewise.
2240 * common/linux-ptrace.h: Likewise.
2241 * common/mips-linux-watch.h: Likewise.
2242 * common/linux-btrace.c: Moved to nat.
2243 * common/linux-osdata.c: Likewise.
2244 * common/linux-procfs.c: Likewise.
2245 * common/linux-ptrace.c: Likewise.
2246 * common/mips-linux-watch.c: Likewise.
2247 * nat/gdb_thread_db.h: Moved from common.
2248 * nat/glibc_thread_db.h: Likewise.
2249 * nat/i386-cpuid.h: Likewise.
2250 * nat/i386-gcc-cpuid.h: Likewise.
2251 * nat/linux-btrace.c: Likewise.
2252 * nat/linux-btrace.h: Likewise.
2253 * nat/linux-osdata.c: Likewise.
2254 * nat/linux-osdata.h: Likewise.
2255 * nat/linux-procfs.c: Likewise.
2256 * nat/linux-procfs.h: Likewise.
2257 * nat/linux-ptrace.c: Likewise.
2258 * nat/linux-ptrace.h: Likewise.
2259 * nat/mips-linux-watch.c: Likewise.
2260 * nat/mips-linux-watch.h: Likewise.
2261 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2262 (object file files): Reordered.
2263 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2264 of glibc_thread_db.h.
2265
2266 2014-06-20 Gary Benson <gbenson@redhat.com>
2267
2268 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2269 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2270 (i386_dr_low): Likewise.
2271 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2272 (i386_dr_low_set_addr): Likewise.
2273 (i386_dr_low_get_addr): Likewise.
2274 (i386_dr_low_can_set_control): Likewise.
2275 (i386_dr_low_set_control): Likewise.
2276 (i386_dr_low_get_control): Likewise.
2277 (i386_dr_low_get_status): Likewise.
2278 (i386_get_debug_register_length): Likewise.
2279 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2280 (i386_dr_low): Likewise.
2281 * nat/i386-dregs.c (i386-low.h): Remove include.
2282 (i386-nat.h): Likewise.
2283 (nat/i386-dregs.h): New include.
2284 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2285 (i386_dr_low_set_addr): Likewise.
2286 (i386_dr_low_get_addr): Likewise.
2287 (i386_dr_low_can_set_control): Likewise.
2288 (i386_dr_low_set_control): Likewise.
2289 (i386_dr_low_get_control): Likewise.
2290 (i386_dr_low_get_status): Likewise.
2291 (i386_get_debug_register_length): Likewise.
2292 (debug_hw_points): Likewise.
2293
2294 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2295
2296 * Makefile.in (SFILES): Add d-exp.y.
2297 (YYFILES): Add d-exp.c.
2298 (YYOBJ): Add d-exp.o.
2299 (local-maintainer-clean): Delete d-exp.c.
2300 * d-exp.y: New file.
2301 * d-lang.h (d_parse): New declaration.
2302 (d_error): New declaration.
2303 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2304 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2305 PREC_ORDER operators.
2306 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2307
2308 2014-06-19 Yao Qi <yao@codesourcery.com>
2309
2310 * gdbthread.h (any_running): Remove the declaration.
2311 * thread.c (any_running): Remove.
2312
2313 2014-06-19 Yao Qi <yao@codesourcery.com>
2314
2315 * gdbthread.h (struct thread_info) <state>: Change its type to
2316 'enum thread_state'. Update comments.
2317
2318 2014-06-19 Pedro Alves <palves@redhat.com>
2319
2320 * gdbthread.h (ALL_THREADS): Delete.
2321 (ALL_NON_EXITED_THREADS): New macro.
2322 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2323 instead of ALL_THREADS.
2324 * infrun.c (find_thread_needs_step_over)
2325 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2326 instead of ALL_THREADS.
2327 * record-btrace.c (record_btrace_open)
2328 (record_btrace_stop_recording, record_btrace_close)
2329 (record_btrace_is_replaying, record_btrace_resume)
2330 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2331 * remote.c (append_pending_thread_resumptions): Likewise.
2332 * thread.c (thread_apply_all_command): Likewise.
2333
2334 2014-06-19 Gary Benson <gbenson@redhat.com>
2335
2336 * i386-nat.c (i386_stopped_by_watchpoint):
2337 Use i386_dr_stopped_by_watchpoint.
2338 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2339 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2340
2341 2014-06-19 Gary Benson <gbenson@redhat.com>
2342
2343 * nat/i386-dregs.c: New file.
2344 * Makefile.in (i386-dregs.o): New rule.
2345 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2346 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2347 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2348 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2349 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2350 * config/i386/go32.mh (NATDEPFILES): Likewise.
2351 * config/i386/linux.mh (NATDEPFILES): Likewise.
2352 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2353 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2354 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2355 * i386-nat.h (debug_hw_points): New declaration.
2356 * i386-nat.c (breakpoint.h): Remove include.
2357 (command.h): Likewise.
2358 (target.h): Likewise.
2359 (gdb_assert.h): Likewise.
2360 (debug_hw_points): Made nonstatic.
2361 (debug_printf): Now in i386-dregs.c.
2362 (TARGET_HAS_DR_LEN_8): Likewise.
2363 (DR_CONTROL_SHIFT): Likewise.
2364 (DR_CONTROL_SIZE): Likewise.
2365 (DR_RW_EXECUTE): Likewise.
2366 (DR_RW_WRITE): Likewise.
2367 (DR_RW_READ): Likewise.
2368 (DR_RW_IORW): Likewise.
2369 (DR_LEN_1): Likewise.
2370 (DR_LEN_2): Likewise.
2371 (DR_LEN_4): Likewise.
2372 (DR_LEN_8): Likewise.
2373 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2374 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2375 (DR_ENABLE_SIZE): Likewise.
2376 (DR_LOCAL_SLOWDOWN): Likewise.
2377 (DR_GLOBAL_SLOWDOWN): Likewise.
2378 (DR_CONTROL_RESERVED): Likewise.
2379 (I386_DR_CONTROL_MASK): Likewise.
2380 (I386_DR_VACANT): Likewise.
2381 (I386_DR_LOCAL_ENABLE): Likewise.
2382 (I386_DR_GLOBAL_ENABLE): Likewise.
2383 (I386_DR_DISABLE): Likewise.
2384 (I386_DR_SET_RW_LEN): Likewise.
2385 (I386_DR_GET_RW_LEN): Likewise.
2386 (I386_DR_WATCH_HIT): Likewise.
2387 (i386_wp_op_t): Likewise.
2388 (i386_show_dr): Likewise.
2389 (i386_length_and_rw_bits): Likewise.
2390 (i386_insert_aligned_watchpoint): Likewise.
2391 (i386_remove_aligned_watchpoint): Likewise.
2392 (i386_handle_nonaligned_watchpoint): Likewise.
2393 (i386_update_inferior_debug_regs): Likewise.
2394 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2395 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2396 (i386_region_ok_for_watchpoint):
2397 Use i386_dr_region_ok_for_watchpoint.
2398 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2399
2400 2014-06-19 Gary Benson <gbenson@redhat.com>
2401
2402 * i386-nat.c (i386_insert_hw_breakpoint): Use
2403 i386_insert_watchpoint.
2404 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2405
2406 2014-06-19 Gary Benson <gbenson@redhat.com>
2407
2408 * i386-nat.c (i386_dr_show): Renamed to
2409 i386_show_dr and made static. All uses updated.
2410 (i386_dr_length_and_rw_bits): Renamed to
2411 i386_length_and_rw_bits and made static.
2412 All uses updated.
2413 (i386_dr_insert_aligned_watchpoint): Renamed to
2414 i386_insert_aligned_watchpoint and made static.
2415 All uses updated.
2416 (i386_dr_remove_aligned_watchpoint): Renamed to
2417 i386_remove_aligned_watchpoint and made static.
2418 All uses updated.
2419 (i386_dr_update_inferior_debug_regs): Renamed to
2420 i386_update_inferior_debug_regs and made static.
2421 All uses updated.
2422 * nat/i386-dregs.h (i386_dr_show): Removed.
2423 (i386_dr_length_and_rw_bits): Likewise.
2424 (i386_dr_insert_aligned_watchpoint): Likewise.
2425 (i386_dr_remove_aligned_watchpoint): Likewise.
2426 (i386_dr_update_inferior_debug_regs): Likewise.
2427
2428 2014-06-19 Gary Benson <gbenson@redhat.com>
2429
2430 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2431 * configure: Regenerate.
2432 * config.in: Likewise.
2433 * main.c (signal.h): New include.
2434 (setup_alternate_signal_stack): New function.
2435 (captured_main): Call the above.
2436 * cp-support.c (signal.h): New include.
2437 (catch_demangler_crashes): New flag.
2438 (SIGJMP_BUF): New define.
2439 (SIGSETJMP): Likewise.
2440 (SIGLONGJMP): Likewise.
2441 (gdb_demangle_jmp_buf): New static global.
2442 (gdb_demangle_attempt_core_dump): Likewise.
2443 (gdb_demangle_signal_handler): New function.
2444 (gdb_demangle): If catch_demangler_crashes is set, install the
2445 above signal handler before calling bfd_demangle, and restore
2446 the original signal handler afterwards. Display the offending
2447 symbol and call demangler_warning the first time a segmentation
2448 fault is caught.
2449 (_initialize_cp_support): New maint set/show command.
2450
2451 2014-06-19 Gary Benson <gbenson@redhat.com>
2452
2453 * utils.h (resource_limit_kind): New enum.
2454 (can_dump_core): New declaration.
2455 (warn_cant_dump_core): Likewise.
2456 (dump_core): Likewise.
2457 * utils.c (dump_core): Made nonstatic. Added new
2458 parameter "limit_kind".
2459 (can_dump_core): Made nonstatic. Moved printing code to...
2460 (warn_cant_dump_core): New function.
2461 (can_dump_core_warn): Likewise.
2462 (internal_vproblem): Replace calls to can_dump_core with
2463 calls to can_dump_core_warn. Supply new argument to each.
2464
2465 2014-06-19 Gary Benson <gbenson@redhat.com>
2466
2467 * utils.h (demangler_vwarning): New declaration.
2468 (demangler_warning): Likewise.
2469 * utils.c (struct internal_problem)
2470 <user_settable_should_quit>: New field.
2471 <user_settable_should_dump_core>: Likewise
2472 (internal_error_problem): Add values for above new fields.
2473 (internal_warning_problem): Likewise.
2474 (demangler_warning_problem): New static global.
2475 (demangler_vwarning): New function.
2476 (demangler_warning): Likewise.
2477 (add_internal_problem_command): Selectively add commands.
2478 (_initialize_utils): New internal problem command.
2479 * maint.c (maintenance_demangler_warning): New function.
2480 (_initialize_maint_cmds): New command.
2481
2482 2014-06-18 Tom Tromey <tromey@redhat.com>
2483
2484 * f-valprint.c (info_common_command_for_block): Update.
2485 * symtab.h (struct general_symbol_info) <common_block>: Now
2486 const.
2487
2488 2014-06-18 Tom Tromey <tromey@redhat.com>
2489
2490 * symtab.h (struct symtab) <blockvector>: Now const.
2491 * ada-lang.c (ada_add_global_exceptions): Update.
2492 * buildsym.c (augment_type_symtab): Update.
2493 * dwarf2read.c (dw2_lookup_symbol): Update.
2494 * jit.c (finalize_symtab): Update.
2495 * jv-lang.c (add_class_symtab_symbol): Update.
2496 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2497 Update.
2498 * objfiles.c (objfile_relocate1): Update.
2499 * psymtab.c (lookup_symbol_aux_psymtabs)
2500 (maintenance_check_psymtabs): Update.
2501 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2502 Update.
2503 * spu-tdep.c (spu_catch_start): Update.
2504 * symmisc.c (dump_symtab_1): Update.
2505 * symtab.c (lookup_global_symbol_from_objfile)
2506 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2507 (basic_lookup_transparent_type_quick)
2508 (basic_lookup_transparent_type, find_pc_sect_symtab)
2509 (find_pc_sect_line, search_symbols): Update.
2510 * block.c (find_block_in_blockvector): Make "bl" const.
2511 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2512 const.
2513 (blockvector_contains_pc): Make "bv" const.
2514 (block_for_pc_sect): Update.
2515 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2516 (blockvector_contains_pc): Update.
2517 * breakpoint.c (resolve_sal_pc): Update.
2518 * inline-frame.c (block_starting_point_at): Update.
2519
2520 2014-06-18 Tom Tromey <tromey@redhat.com>
2521
2522 * completer.c (complete_line): Make "line_buffer" const.
2523 * completer.h (complete_line): Update.
2524
2525 2014-06-18 Tom Tromey <tromey@redhat.com>
2526
2527 * symtab.c (add_macro_name): Remove unneeded cast.
2528
2529 2014-06-18 Tom Tromey <tromey@redhat.com>
2530
2531 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2532 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2533
2534 2014-06-18 Tom Tromey <tromey@redhat.com>
2535
2536 * probe.c (info_probes_for_ops): Make "arg" const.
2537 * probe.h (info_probes_for_ops): Update.
2538
2539 2014-06-18 Tom Tromey <tromey@redhat.com>
2540
2541 * varobj.c (varobj_create): Update.
2542 * valops.c (value_of_this): Update.
2543 * tracepoint.c (add_local_symbols, scope_info): Update.
2544 * symtab.h (struct general_symbol_info) <block>: Now const.
2545 * symtab.c (skip_prologue_sal)
2546 (default_make_symbol_completion_list_break_on)
2547 (skip_prologue_using_sal): Update.
2548 * stack.h (iterate_over_block_locals)
2549 (iterate_over_block_local_vars): Update.
2550 * stack.c (print_frame_args): Update.
2551 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2552 parameter const.
2553 (get_selected_block): Make return type const.
2554 * python/py-frame.c (frapy_block): Update.
2555 * python/py-block.c (gdbpy_block_for_pc): Update.
2556 * p-exp.y (%union) <bval>: Now const.
2557 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2558 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2559 * m2-exp.y (%union) <bval>: Now const.
2560 * linespec.c (get_current_search_block): Make return type const.
2561 (create_sals_line_offset, find_label_symbols): Update.
2562 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2563 Update.
2564 (block_starting_point_at): Make "block" const.
2565 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2566 (check_exception_resume): Update.
2567 * guile/scm-frame.c (gdbscm_frame_block): Update.
2568 * guile/scm-block.c (gdbscm_lookup_block): Update.
2569 * frame.h (get_frame_block): Update.
2570 (get_selected_block): Make return type const.
2571 * frame.c (frame_id_inner): Update.
2572 * f-valprint.c (info_common_command_for_block)
2573 (info_common_command): Update.
2574 * dwarf2loc.c (dwarf2_find_location_expression)
2575 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2576 (locexpr_describe_location_piece): Update.
2577 * c-exp.y (%union) <bval>: Now const.
2578 * breakpoint.c (resolve_sal_pc): Update.
2579 * blockframe.c (get_frame_block):Make return type const.
2580 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2581 (block_innermost_frame): Update.
2582 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2583 (block_for_pc, block_for_pc_sect): Update.
2584 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2585 'pblock' const.
2586 (block_for_pc_sect, block_for_pc): Make return type const.
2587 * ax-gdb.c (gen_expr): Update.
2588 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2589 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2590 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2591 (ada_read_var_value): Update.
2592 * ada-exp.y (struct name_info) <block>: Now const.
2593 (%union): Likewise.
2594 (block_lookup): Constify.
2595
2596 2014-06-18 Gary Benson <gbenson@redhat.com>
2597
2598 * nat/i386-dregs.h: New file.
2599 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2600 * i386-nat.h (i386-dregs.h): New include.
2601 (DR_FIRSTADDR): Now in i386-dregs.h.
2602 (DR_LASTADDR): Likewise.
2603 (DR_NADDR): Likewise.
2604 (DR_STATUS): Likewise.
2605 (DR_CONTROL): Likewise.
2606 (i386_debug_reg_state): Likewise.
2607 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2608
2609 2014-06-18 Don Breazeal <donb@codesourcery.com>
2610
2611 * breakpoint.c (set_longjmp_breakpoint): Call
2612 momentary_breakpoint_from_master with additional argument.
2613 (set_longjmp_breakpoint_for_call_dummy): Call
2614 momentary_breakpoint_from_master with additional argument.
2615 (set_std_terminate_breakpoint): Call
2616 momentary_breakpoint_from_master with additional argument.
2617 (momentary_breakpoint_from_master): Add argument to function
2618 definition and use it to initialize structure member flag.
2619 (clone_momentary_breakpoint): Call
2620 momentary_breakpoint_from_master with additional argument.
2621 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2622 member flags set in momentary_breakpoint_from_master.
2623
2624 2014-06-18 Gary Benson <gbenson@redhat.com>
2625
2626 * i386-nat.c (i386_show_dr): Renamed to
2627 i386_dr_show and made nonstatic. All uses updated.
2628 (i386_length_and_rw_bits): Renamed to
2629 i386_dr_length_and_rw_bits and made nonstatic.
2630 All uses updated.
2631 (i386_insert_aligned_watchpoint): Renamed to
2632 i386_dr_insert_aligned_watchpoint and made nonstatic.
2633 All uses updated.
2634 (i386_remove_aligned_watchpoint): Renamed to
2635 i386_dr_remove_aligned_watchpoint and made nonstatic.
2636 All uses updated.
2637 (i386_update_inferior_debug_regs): Renamed to
2638 i386_dr_update_inferior_debug_regs and made nonstatic.
2639 All uses updated.
2640
2641 2014-06-18 Gary Benson <gbenson@redhat.com>
2642
2643 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2644 (i386_dr_low_can_set_control): Likewise.
2645 (i386_dr_low_set_addr): Likewise.
2646 (i386_dr_low_set_control): Likewise.
2647 (i386_dr_low_get_addr): Likewise.
2648 (i386_dr_low_get_status): Likewise.
2649 (i386_dr_low_get_control): Likewise.
2650 (i386_insert_aligned_watchpoint): Use new macros.
2651 (i386_update_inferior_debug_regs): Likewise.
2652 (i386_stopped_data_address): Likewise.
2653
2654 2014-06-18 Gary Benson <gbenson@redhat.com>
2655
2656 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2657 New parameter. All uses updated.
2658
2659 2014-06-18 Gary Benson <gbenson@redhat.com>
2660
2661 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2662 All uses updated.
2663
2664 2014-06-18 Gary Benson <gbenson@redhat.com>
2665
2666 * i386-nat.c (debug_printf): New macro.
2667 (i386_get_debug_register_length): Likewise.
2668 (TARGET_HAS_DR_LEN_8): Use above macro.
2669 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2670 and printf_unfiltered. Use phex to format values.
2671
2672 2014-06-18 Gary Benson <gbenson@redhat.com>
2673
2674 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2675 Make const.
2676
2677 2014-06-18 Gary Benson <gbenson@redhat.com>
2678
2679 * i386-nat.c: Comment changes.
2680
2681 2014-06-18 Gary Benson <gbenson@redhat.com>
2682
2683 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2684
2685 2014-06-18 Gary Benson <gbenson@redhat.com>
2686
2687 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2688 (i386_insert_aligned_watchpoint): Likewise.
2689 (i386_remove_aligned_watchpoint): Likewise.
2690 (i386_handle_nonaligned_watchpoint): Likewise.
2691
2692 2014-06-18 Gary Benson <gbenson@redhat.com>
2693
2694 * i386-nat.c: Whitespace changes.
2695
2696 2014-06-17 Samuel Bronson <naesten@gmail.com>
2697
2698 * MAINTAINERS: Update Roland McGrath's email address.
2699 Thanks to Sergio Durigan Junior for pointing out that he left
2700 Red Hat a while ago, and giving me a current address.
2701
2702 2014-06-17 Tom Tromey <tromey@redhat.com>
2703
2704 * utils.h (savestring): Remove declaration.
2705
2706 2014-06-17 Tom Tromey <tromey@redhat.com>
2707
2708 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2709
2710 2014-06-16 Keith Seitz <keiths@redhat.com>
2711
2712 PR mi/15863
2713 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2714 to update the varobj if inferior_ptid is null_ptid.
2715
2716 2014-06-16 Tom Tromey <tromey@redhat.com>
2717
2718 * target.h (struct target_ops) <to_info_proc>: Make parameter
2719 const.
2720 (target_info_proc): Update.
2721 * target.c (target_info_proc): Make "args" const.
2722 * procfs.c (procfs_info_proc): Update.
2723 * linux-tdep.c (linux_info_proc): Update.
2724 (linux_core_info_proc_mappings): Make "args" const.
2725 (linux_core_info_proc): Update.
2726 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2727 * gdbarch.c: Rebuild.
2728 * gdbarch.h: Rebuild.
2729 * corelow.c (core_info_proc): Update.
2730
2731 2014-06-16 Tom Tromey <tromey@redhat.com>
2732
2733 * target.h (struct target_ops) <to_disconnect>: Make parameter
2734 const.
2735 (target_disconnect): Update.
2736 * target.c (target_disconnect): Make "args" const.
2737 * target-delegates.c: Rebuild.
2738 * remote.c (remote_disconnect): Update.
2739 * record.h (record_disconnect): Update.
2740 * record.c (record_disconnect): Update.
2741 * inf-child.c (inf_child_disconnect): Update.
2742
2743 2014-06-16 Tom Tromey <tromey@redhat.com>
2744
2745 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2746 * target.c (debug_to_rcmd, default_rcmd): Update.
2747 * target-delegates.c: Rebuild.
2748 * remote.c (remote_rcmd): Update.
2749 * monitor.c (monitor_rcmd): Update.
2750
2751 2014-06-16 Pedro Alves <palves@redhat.com>
2752
2753 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2754 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2755 have OBJF_SHARED set.
2756 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2757 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2758 instead of OBJF_USERLOADED.
2759 * objfiles.h (OBJF_SHARED): Update comment.
2760 (userloaded_objfile_contains_address_p): Rename to ...
2761 (shared_objfile_contains_address_p): ... this, and update
2762 comments.
2763 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2764 new objfile.
2765 (remove_symbol_file_command): Skip objfiles that don't have
2766 OBJF_SHARED set.
2767
2768 2014-06-16 Tom Tromey <tromey@redhat.com>
2769
2770 * minsyms.h (prim_record_minimal_symbol)
2771 (prim_record_minimal_symbol_and_info): Update comments.
2772
2773 2014-06-14 Eli Zaretskii <eliz@gnu.org>
2774
2775 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2776 or --without-guile, according to how GDB was built.
2777
2778 2014-06-13 Tom Tromey <tromey@redhat.com>
2779
2780 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2781 to help_list.
2782 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2783 to help_list.
2784 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2785 help_list.
2786 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2787 help_list.Pass all_commands, not -1, to help_list.
2788 * cli/cli-dump.c (dump_command, append_command)
2789 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2790 (binary_dump_command, binary_append_command): Pass all_commands,
2791 not -1, to help_list.
2792 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2793 -1, to help_list.
2794 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2795 -1, to help_list.
2796 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2797 help_list.
2798 * top.c (set_history): Pass all_commands, not -1, to help_list.
2799 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2800 all_commands, not -1, to help_list.
2801 * symfile.c (overlay_command): Pass all_commands, not -1, to
2802 help_list.
2803 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2804 help_list.
2805 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2806 help_list.
2807 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2808 -1, to help_list.
2809 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2810 not -1, to help_list.
2811 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2812 not -1, to help_list.
2813 * maint.c (maintenance_command, maintenance_info_command)
2814 (maintenance_print_command, maintenance_set_cmd): Pass
2815 all_commands, not -1, to help_list.
2816 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2817 help_list.
2818 * language.c (set_check): Pass all_commands, not -1, to help_list.
2819 * infcmd.c (unset_command): Pass all_commands, not -1, to
2820 help_list.
2821 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2822 help_list.
2823 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2824 help_list.
2825 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2826 help_list.
2827 * breakpoint.c (save_command): Pass all_commands, not -1, to
2828 help_list.
2829 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2830 all_commands, not -1, to help_list.
2831
2832 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2833
2834 * regcache.c (struct register_to_invalidate): New structure.
2835 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2836 functions.
2837 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2838
2839 2014-06-12 Yao Qi <yao@codesourcery.com>
2840
2841 * varobj.c (varobj_get_num_children): Call
2842 varobj_is_dynamic_p.
2843 (varobj_list_children): Likewise.
2844 (varobj_update): Likewise. Update comments.
2845
2846 2014-06-12 Yao Qi <yao@codesourcery.com>
2847
2848 * varobj.c (varobj_pretty_printed_p): Rename to ...
2849 (varobj_is_dynamic_p): ... this. New function.
2850 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2851 (varobj_is_dynamic_p): Declare.
2852 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2853 (mi_print_value_p, varobj_update_one): Likewise.
2854
2855 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2856 Yao Qi <yao@codesourcery.com>
2857
2858 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2859 (varobj_get_iterator): Wrap up code for pretty-printer by
2860 "#if HAVE_PYTHON" and "#endif".
2861 (update_dynamic_varobj_children): Likewise.
2862
2863 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2864 Yao Qi <yao@codesourcery.com>
2865
2866 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2867 gdb_python_initialized is false. Move some code from varobj.c.
2868 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2869 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2870 (struct varobj_item): Moved to varobj-iter.h".
2871 (varobj_clear_saved_item): New function.
2872 (update_dynamic_varobj_children): Move python-related code to
2873 py-varobj.c.
2874 (free_variable): Call varobj_clear_saved_item and
2875 varobj_iter_delete.
2876
2877 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2878 Yao Qi <yao@codesourcery.com>
2879
2880 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2881 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2882 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2883 (py-varobj.o): New rule.
2884 * python/py-varobj.c: New file.
2885 * python/python-internal.h (py_varobj_get_iterator): Declare.
2886 * varobj-iter.h: New file.
2887 * varobj.c: Include "varobj-iter.h"
2888 (struct varobj) <child_iter>: Change its type from "PyObject *"
2889 to "struct varobj_iter *".
2890 <saved_item>: Likewise.
2891 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2892 [HAVE_PYTHON] (varobj_get_iterator): New function.
2893 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2894 python-specific code to python/py-varobj.c.
2895 (install_visualizer): Call varobj_iter_delete instead of
2896 Py_XDECREF.
2897 * varobj.h (varobj_ensure_python_env): Declare.
2898
2899 2014-06-12 Yao Qi <yao@codesourcery.com>
2900
2901 * varobj.c (struct varobj_item): New structure.
2902 (create_child_with_value): Update declaration.
2903 (varobj_add_child): Replace arguments 'name' and 'value' with
2904 'item'. All callers updated.
2905 (install_dynamic_child): Likewise.
2906 (update_dynamic_varobj_children): Likewise.
2907 (varobj_add_child): Likewise.
2908 (create_child_with_value): Likewise.
2909
2910 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2911
2912 * NEWS: Create a new section for the next release branch.
2913 Rename the section of the current branch, now that it has
2914 been cut.
2915
2916 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2917
2918 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2919 * version.in: Bump version to 7.8.50.DATE-cvs.
2920
2921 2014-06-11 Pedro Alves <palves@redhat.com>
2922
2923 PR remote/17028
2924 * ser-mingw.c (net_windows_socket_check_pending): New function.
2925 (net_windows_select_thread): Ignore spurious wakeups. Use
2926 net_windows_socket_check_pending.
2927 (net_windows_wait_handle): Check for pending events with
2928 ioctlsocket, through net_windows_socket_check_pending, instead of
2929 checking the socket's event.
2930
2931 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2932
2933 * python/python-internal.h (gdb_PyObject_GetAttrString)
2934 (gdb_PyObject_HasAttrString): New inline function definitions.
2935 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2936 char * of the second argument to PyObject_GetAttrString.
2937
2938 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2939
2940 * serial.c (serial_write): Fix index of character to be printed
2941 in call to serial_logchar when serial debug traces are enabled.
2942
2943 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2944
2945 * gdbtypes (resolve_dynamic_range): Add function description.
2946
2947 2014-06-09 Pedro Alves <palves@redhat.com>
2948
2949 * linux-nat.c (linux_child_follow_fork): Initialize status with
2950 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
2951 inner block. Only pass the signal to PTRACE_DETACH if in pass
2952 state.
2953
2954 2014-06-09 Gary Benson <gbenson@redhat.com>
2955
2956 * common/signals.c (gdb_signal_from_host): Reorder to separate
2957 the always-available ANSI-standard signals from the signals that
2958 require checking.
2959 (do_gdb_signal_to_host): Likewise.
2960 * proc-events.c (signal_table): Likewise.
2961
2962 2014-06-08 Hui Zhu <hui@codesourcery.com>
2963
2964 * common/linux-ptrace.c (linux_disable_event_reporting): New
2965 function.
2966 * common/linux-ptrace.h (linux_disable_event_reporting): New
2967 declaration.
2968 * linux-nat.c (linux_child_follow_fork): Do a single step before
2969 detach.
2970
2971 2014-06-07 Keith Seitz <keiths@redhat.com>
2972
2973 Revert:
2974 PR c++/16253
2975 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
2976 from symbol_matches_domain in symtab.c. All local callers
2977 of symbol_matches_domain updated.
2978 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
2979 search STRUCT_DOMAIN.
2980 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
2981 independently. standard_lookup will do that automatically.
2982 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
2983 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2984 (cp_lookup_symbol_in_namespace): Likewise.
2985 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
2986 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
2987 may return a STRUCT_DOMAIN match.
2988 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
2989 * cp-support.c: Include language.h.
2990 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
2991 VAR_DOMAIN.
2992 * psymtab.c (match_partial_symbol): Compare the requested
2993 domain with the symbol's domain directly.
2994 (lookup_partial_symbol): Likewise.
2995 * symtab.c (lookup_symbol_in_language): Explain when/why
2996 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2997 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2998 appropriate languages.
2999 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3000 and moved to ada-lang.c
3001 (lookup_block_symbol): Explain that this function only returns
3002 symbol matching the requested DOMAIN.
3003 Compare the requested domain with the symbol's domain directly.
3004 (iterate_over_symbols): Compare the requested domain with the
3005 symbol's domain directly.
3006 * symtab.h (symbol_matches_domain): Remove.
3007
3008 2014-06-06 Doug Evans <xdje42@gmail.com>
3009
3010 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3011 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3012 (gdbscm_guile_version_is_at_least): Declare.
3013 (gdbscm_scm_string_to_int): Declare.
3014 * guile/guile.c (gdbscm_guile_major_version): New global.
3015 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3016 (guile_datadir): New static global.
3017 (gdbscm_guile_data_directory): New function.
3018 (initialize_scheme_side): Update.
3019 (misc_guile_functions): Add guile-data-directory.
3020 (initialize_gdb_module): Fetch guile version number.
3021 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3022 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3023 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3024 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3025 comments.
3026 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3027 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3028 * guile/scm-value.c (gdbscm_value_to_string): Only call
3029 scm_port_conversion_strategy if Guile version >= 2.0.6.
3030
3031 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3032
3033 * main.c (print_gdb_help): Add -q and --silent.
3034
3035 2014-06-06 Gary Benson <gbenson@redhat.com>
3036
3037 * common/signals.c: Remove preprocessor conditionals for
3038 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3039 SIGSEGV and SIGTERM.
3040 * proc-events.c: Likewise.
3041
3042 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3043
3044 * symfile.c (symfile_free_objfile): Remove restriction to
3045 OBJF_USERLOADED.
3046 * symfile-mem.c (symbol_file_add_from_memory): Call
3047 add_target_sections_of_objfile.
3048
3049 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3050
3051 * guile/scm-value.c (gdbscm_history_append_x): Use
3052 'vlscm_get_value_smob_arg_unsafe' instead of
3053 'vlscm_scm_to_value'.
3054
3055 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3056
3057 PR mi/15806
3058 * utils.c (printchar): Don't escape at all if quoter is NUL.
3059 Update function documentation to clarify effect of parameter
3060 QUOTER.
3061 * remote.c (escape_buffer): Pass '\\' as the quoter to
3062 fputstrn_unfiltered.
3063 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3064 generate the output.
3065 (mi_solib_unloaded): Same.
3066
3067 2014-06-05 Joel Brobecker <brobecker@adacore.com>
3068
3069 * development.sh: Delete.
3070 * Makefile.in (config.status): Adjust dependency on development.sh.
3071 * configure.ac: Adjust development.sh source call.
3072 * configure: Regenerate.
3073
3074 2014-06-04 Doug Evans <xdje42@gmail.com>
3075
3076 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3077 is_scheme_bkpt, spec.
3078 (bpscm_make_breakpoint_smob): Initialize new members.
3079 (gdbscm_create_breakpoint_x): Split into two ...
3080 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3081 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3082 (scheme_function breakpoint_functions): Update.
3083 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3084 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3085 register-breakpoint!.
3086
3087 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
3088
3089 PR server/17023
3090 * mem-break.c (z_type_supported): Return zero if
3091 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3092
3093 2014-06-04 Tom Tromey <tromey@redhat.com>
3094
3095 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3096 value_from_contents_and_address_unresolved.
3097 (ada_template_to_fixed_record_type_1): Likewise.
3098 (ada_which_variant_applies): Likewise.
3099 * value.h (value_from_contents_and_address_unresolved): Declare.
3100 * value.c (value_from_contents_and_address_unresolved): New
3101 function.
3102 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3103 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3104 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3105
3106 2014-06-04 Tom Tromey <tromey@redhat.com>
3107
3108 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3109
3110 2014-06-04 Tom Tromey <tromey@redhat.com>
3111
3112 * procfs.c (procfs_attach): Make "args" const.
3113 * windows-nat.c (windows_attach): Make "args" const.
3114 * nto-procfs.c (procfs_attach): Make "args" const.
3115 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3116 * go32-nat.c (go32_attach): Make "args" const.
3117 * gnu-nat.c (gnu_attach): Make "args" const.
3118 * darwin-nat.c (darwin_attach): Make "args" const.
3119 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3120 * linux-nat.c (linux_nat_attach): Make "args" const.
3121 * remote.c (extended_remote_attach_1, extended_remote_attach):
3122 Make "args" const.
3123 * target.h (struct target_ops) <to_attach>: Make "args" const.
3124 (find_default_attach): Likewise.
3125 * utils.c (parse_pid_to_attach): Make "args" const.
3126 * utils.h (parse_pid_to_attach): Update.
3127
3128 2014-06-04 Tom Tromey <tromey@redhat.com>
3129
3130 * target-delegates.c: Rebuild.
3131 * target.c (default_thread_address_space): New function.
3132 (target_thread_address_space): Simplify.
3133 * target.h (struct target_ops) <to_thread_address_space>: Add
3134 TARGET_DEFAULT_FUNC.
3135
3136 2014-06-04 Doug Evans <xdje42@gmail.com>
3137
3138 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3139
3140 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3141
3142 * record-btrace.c: Include event-loop.h and inf-loop.h.
3143 (record_btrace_resume_exec_dir)
3144 (record_btrace_async_inferior_event_handler)
3145 (record_btrace_handle_async_inferior_event): New.
3146 (record_btrace_open): Create async event handler.
3147 (record_btrace_close): Delete async event handler.
3148 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3149 Mark async event handler.
3150 (record_btrace_execution_direction): New.
3151 (init_record_btrace_ops): Initialize to_execution_direction.
3152
3153 2014-06-03 Doug Evans <xdje42@gmail.com>
3154
3155 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3156 (gdbscm_make_parameter): Ditto.
3157
3158 2014-06-03 Doug Evans <dje@google.com>
3159
3160 * exec.c (exec_close_1): Call clear_section_table instead of
3161 resize_section_table.
3162 (clear_section_table): New function.
3163 (resize_section_table): Make static. Rename arg num_added to
3164 adjustment.
3165 * exec.h (clear_section_table): Declare.
3166 (resize_section_table): Delete.
3167 * progspace.c (release_program_space): Call clear_section_table
3168 instead of resize_section_table.
3169
3170 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3171
3172 * NEWS (Python Scripting): Add entry about the new xmethods
3173 feature.
3174
3175 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3176
3177 * python/py-xmethods.c: New file.
3178 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3179 (objfpy_dealloc): XDECREF on the new xmethods field.
3180 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3181 field.
3182 (objfpy_get_xmethods): New function.
3183 (objfile_getset): New entry 'xmethods'.
3184 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3185 (pspy_dealloc): XDECREF on the new xmethods field.
3186 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3187 field.
3188 (pspy_get_xmethods): New function.
3189 (pspace_getset): New entry 'xmethods'.
3190 * python/python-internal.h: Add declarations for new functions.
3191 * python/python.c (_initialize_python): Invoke
3192 gdbpy_initialize_xmethods.
3193 * python/lib/gdb/__init__.py (xmethods): New
3194 attribute.
3195 * python/lib/gdb/xmethod.py: New file.
3196 * python/lib/gdb/command/xmethods.py: New file.
3197
3198 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3199
3200 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3201 best match method returned by find_overload_match is an xmethod.
3202 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3203 the best matching operator returned by find_overload_match is an
3204 xmethod.
3205 * valops.c: #include "extension.h".
3206 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3207 Return void. The list of matching source methods is returned in
3208 "fn_list" and a vector of matching debug method workers is
3209 returned in "xm_worker_vec". Update all callers.
3210 (value_find_oload_method_list): Likewise.
3211 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3212 non-NULL, then the index of the best matching method in this
3213 vector is returned. Update all callers.
3214 (find_overload_match): Include xmethods while performing overload
3215 resolution.
3216
3217 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3218
3219 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3220 * extension-priv.h (struct extension_language_ops): Add the
3221 xmethod interface.
3222 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3223 get_matching_xmethod_workers, get_xmethod_argtypes,
3224 invoke_xmethod, free_xmethod_worker,
3225 free_xmethod_worker_vec): New functions.
3226 * extension.h: #include "common/vec.h".
3227 New function declarations.
3228 (struct xmethod_worker): New struct.
3229 (VEC (xmethod_worker_ptr)): New vector type.
3230 (xmethod_worker_ptr): New typedef.
3231 (xmethod_worker_vec): Likewise.
3232 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3233 builtin_type.
3234 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3235 (struct builtin_type): New field "xmethod".
3236 * valarith.c (value_ptradd): Assert that the value argument is not
3237 lval_xcallable.
3238 * valops.c (value_must_coerce_to_target): Return 0 for
3239 lval_xcallable values.
3240 * value.c (struct value): New field XM_WORKER in the field
3241 LOCATION.
3242 (value_address, value_raw_address): Return 0 for lval_xcallable
3243 values.
3244 (set_value_address): Assert that the value is not an
3245 lval_xcallable.
3246 (value_free): Free the associated xmethod worker when freeing
3247 lval_xcallable values.
3248 (set_value_component_location): Assert that the WHOLE value is not
3249 lval_xcallable.
3250 (value_of_xmethod, call_xmethod): New functions.
3251 * value.h: Declare "struct xmethod_worker".
3252 Declare new functions value_of_xmethod, call_xmethod.
3253
3254 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3255 Pedro Alves <palves@redhat.com>
3256
3257 PR breakpoints/17000
3258 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3259 New function, extracted from software_breakpoint_inserted_here_p.
3260 (software_breakpoint_inserted_here_p): Replace factored out code
3261 by call to find_non_raw_software_breakpoint_inserted_here.
3262 (bp_target_info_copy_insertion_state): New function.
3263 (bkpt_insert_location): Handle the case of a single-step
3264 breakpoint already inserted at the same address.
3265 (bkpt_remove_location): Handle the case of a single-step
3266 breakpoint still inserted at the same address.
3267 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3268 breakpoint already inserted at the same address.
3269 (deprecated_remove_raw_breakpoint): Handle the case of a
3270 non-raw breakpoint still inserted at the same address.
3271 (find_single_step_breakpoint): New function, extracted from
3272 single_step_breakpoint_inserted_here_p.
3273 (find_single_step_breakpoint): New function,
3274 factored out from single_step_breakpoint_inserted_here_p.
3275 (single_step_breakpoint_inserted_here_p): Reimplement.
3276
3277 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3278
3279 Pushed by Joel Brobecker <brobecker@adacore.com>
3280 * source.c (show_substitute_path_command): Fix display of matching
3281 substitution rules.
3282
3283 2014-06-03 Gary Benson <gbenson@redhat.com>
3284
3285 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3286
3287 2014-06-02 Doug Evans <xdje42@gmail.com>
3288
3289 Add parameter support for Guile.
3290 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3291 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3292 (scm-param.o): New rule.
3293 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3294 (gdbscm_misc_error): Declare.
3295 (gdbscm_canonicalize_command_name): Declare.
3296 (gdbscm_scm_to_host_string): Declare.
3297 (gdbscm_scm_from_host_string): Declare.
3298 (gdbscm_initialize_parameters): Declare.
3299 * guile/guile.c (initialize_gdb_module): Call
3300 gdbscm_initialize_parameters.
3301 * guile/lib/gdb.scm: Export parameter symbols.
3302 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3303 cmdscm_canonicalize_name and made public. All callers updated.
3304 * guile/scm-exception.c (gdbscm_misc_error): New function.
3305 * guile/scm-param.c: New file.
3306 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3307 (gdbscm_scm_to_host_string): New function.
3308 (gdbscm_scm_from_host_string): New function.
3309 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3310
3311 2014-06-02 Doug Evans <xdje42@gmail.com>
3312
3313 Add command support for Guile.
3314 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3315 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3316 (scm-cmd.o): New rule.
3317 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3318 (gdbscm_user_error_p): Declare.
3319 (gdbscm_parse_command_name): Declare.
3320 (gdbscm_valid_command_class_p): Declare.
3321 (gdbscm_initialize_commands): Declare.
3322 * guile/guile.c (initialize_gdb_module): Call
3323 gdbscm_initialize_commands.
3324 * guile/lib/gdb.scm: Export command symbols.
3325 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3326 (throw-user-error): New function.
3327 * guile/scm-cmd.c: New file.
3328 * guile/scm-exception.c (user_error_symbol): New static global.
3329 (gdbscm_user_error_p): New function.
3330 (gdbscm_initialize_exceptions): Set user_error_symbol.
3331 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3332
3333 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3334
3335 * top.c (command_loop): Handle comments here...
3336 (command_line_input): ... not here.
3337
3338 2014-06-02 Doug Evans <xdje42@gmail.com>
3339
3340 Add progspace support for Guile.
3341 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3342 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3343 (scm-progspace.o): New rule.
3344 * guile/guile-internal.h (pspace_smob): New typedef.
3345 (psscm_pspace_smob_pretty_printers): Declare.
3346 (psscm_pspace_smob_from_pspace): Declare.
3347 (psscm_scm_from_pspace): Declare.
3348 * guile/guile.c (initialize_gdb_module): Call
3349 gdbscm_initialize_pspaces.
3350 * guile/lib/gdb.scm: Export progspace symbols.
3351 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3352 support.
3353 (append-pretty-printer!): Ditto.
3354 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3355 Implement.
3356 * guile/scm-progspace.c: New file.
3357
3358 2014-06-03 Alan Modra <amodra@gmail.com>
3359
3360 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3361 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3362
3363 2014-06-02 Doug Evans <dje@google.com>
3364
3365 Add support for skeletonless type units.
3366 * dwarf2read.c (struct dwarf2_per_objfile): New member
3367 n_allocated_type_units.
3368 (struct dwarf2_per_objfile) <tu_stats>: New member
3369 nr_all_type_units_reallocs.
3370 (create_signatured_type_table_from_index): Initialize
3371 n_allocated_type_units
3372 (create_all_type_units): Ditto.
3373 (add_type_unit): Move up in file. New arg slot.
3374 All callers updated. Increase space for all_type_units more
3375 efficiently.
3376 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3377 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3378 (lookup_dwp_signatured_type): Ditto.
3379 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3380 All callers updated.
3381 (build_type_psymtabs_1): Leave type_unit_groups as
3382 NULL if no TUs present.
3383 (print_tu_stats): New function.
3384 (process_skeletonless_type_unit): New function.
3385 (process_dwo_file_for_skeletonless_type_units): New
3386 function.
3387 (process_skeletonless_type_units): New function.
3388 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3389 Call print tu_stats if debugging enabled.
3390
3391 2014-06-02 Pedro Alves <palves@redhat.com>
3392
3393 * breakpoint.c (build_target_command_list): Don't build a command
3394 list if we have any duplicate location that isn't a dprintf.
3395
3396 2014-06-02 Pedro Alves <palves@redhat.com>
3397
3398 * breakpoint.c (dprintf_breakpoint_hit): New function.
3399 (initialize_breakpoint_ops): Install it as dprintf's
3400 breakpoint_hit method.
3401
3402 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3403
3404 * source.c (substitute_path_rule_matches): Simplify using
3405 filename_ncmp instead of FILENAME_CMP.
3406
3407 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3408
3409 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3410
3411 2014-06-01 Ludovic Courtès <ludo@gnu.org>
3412
3413 * configure.ac: When Guile is available, check for the
3414 availability of 'scm_new_smob'.
3415 * configure, config.h.in: Regenerate.
3416 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3417 function.
3418
3419 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3420
3421 * frame.c (struct frame_info): Add stop_string field.
3422 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3423 (get_prev_frame_always): Old content moved into
3424 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3425 TRY_CATCH, handle MEMORY_ERROR exceptions.
3426 (frame_stop_reason_string): New function definition.
3427 * frame.h (unwind_stop_reason_to_string): Extend comment to
3428 mention frame_stop_reason_string.
3429 (frame_stop_reason_string): New function declaration.
3430 * stack.c (frame_info): Switch to frame_stop_reason_string.
3431 (backtrace_command_1): Switch to frame_stop_reason_string.
3432 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3433 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3434 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3435
3436 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3437
3438 * frame.c (frame_stop_reason_string): Rename to ...
3439 (unwind_stop_reason_to_string): this.
3440 * frame.h (frame_stop_reason_string): Rename to ...
3441 (unwind_stop_reason_to_string): this.
3442 * stack.c (frame_info): Update call to frame_stop_reason_string.
3443 (backtrace_command_1): Likewise.
3444 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3445 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3446
3447 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3448
3449 * frame.c (remove_prev_frame): New function.
3450 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3451 remove_prev_frame.
3452
3453 2014-05-29 Pedro Alves <palves@redhat.com>
3454
3455 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3456 and make it const. When a single-step decays to a continue,
3457 clear 'step', not 'hw_step'. Pass whether the caller wanted
3458 to step to user_visible_resume_ptid, not what we ask the
3459 target to do.
3460
3461 2014-05-29 Pedro Alves <palves@redhat.com>
3462
3463 * infrun.c (process_event_stop_test, handle_step_into_function)
3464 (handle_step_into_function_backward): Adjust.
3465 Don't set the even thread's stop_step and call stop_waiting before
3466 calling end_stepping_range. Instead do that ...
3467 (end_stepping_range): ... here. Take an ecs pointer parameter.
3468
3469 2014-05-29 Pedro Alves <palves@redhat.com>
3470
3471 * infrun.c (stop_stepping): Rename to ...
3472 (stop_waiting): ... this.
3473 (proceed): Update comment.
3474 (process_event_stop_test, handle_inferior_event)
3475 (handle_signal_stop, handle_step_into_function)
3476 (handle_step_into_function_backward): Update.
3477
3478 2014-05-29 Pedro Alves <palves@redhat.com>
3479
3480 * infcall.c (run_inferior_call): Don't check whether the current
3481 thread is running after the proceed call.
3482
3483 2014-05-29 Pedro Alves <palves@redhat.com>
3484 Tom Tromey <tromey@redhat.com>
3485
3486 * NEWS: Mention "maint set target-async", "set mi-async", and that
3487 background execution commands are now always available.
3488 * target.h (target_async_permitted): Update comment.
3489 * target.c (target_async_permitted, target_async_permitted_1):
3490 Default to 1.
3491 (set_target_async_command): Rename to ...
3492 (maint_set_target_async_command): ... this.
3493 (show_target_async_command): Rename to ...
3494 (maint_show_target_async_command): ... this.
3495 (_initialize_target): Adjust.
3496 * infcmd.c (prepare_execution_command): Make extern.
3497 * inferior.h (prepare_execution_command): Declare.
3498 * infrun.c (set_observer_mode): Leave target async alone.
3499 * mi/mi-interp.c (mi_interpreter_init): Install
3500 mi_on_sync_execution_done as sync_execution_done observer.
3501 (mi_on_sync_execution_done): New function.
3502 (mi_execute_command_input_handler): Don't print the prompt if we
3503 just started a synchronous command with an async target.
3504 (mi_on_resume): Check sync_execution before printing prompt.
3505 * mi/mi-main.h (mi_async_p): Declare.
3506 * mi/mi-main.c: Include gdbcmd.h.
3507 (mi_async_p): New function.
3508 (mi_async, mi_async_1): New globals.
3509 (set_mi_async_command, show_mi_async_command, mi_async): New
3510 functions.
3511 (exec_continue): Call prepare_execution_command.
3512 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3513 (mi_execute_async_cli_command): Use mi_async_p.
3514 (_initialize_mi_main): Install "set mi-async". Make
3515 "target-async" a deprecated alias.
3516
3517 2014-05-29 Pedro Alves <palves@redhat.com>
3518
3519 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3520 (_initialize_cli_interp): Adjust.
3521 * event-loop.c: Include "observer.h".
3522 (start_event_loop): Notify 'command_error' observers instead of
3523 calling display_gdb_prompt. Remove FIXME comment.
3524 * event-top.c (display_gdb_prompt): Remove call into the
3525 interpreters.
3526 * inf-loop.c: Include "observer.h".
3527 (inferior_event_handler): Notify 'command_error' observers instead
3528 of calling display_gdb_prompt.
3529 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3530 observers instead of calling display_gdb_prompt.
3531 * interps.c (interp_set): Don't call display_gdb_prompt.
3532 (current_interp_display_prompt_p): Delete.
3533 * interps.h (interp_prompt_p): Delete declaration.
3534 (interp_prompt_p_ftype): Delete.
3535 (struct interp_procs) <prompt_proc_p>: Delete field.
3536 (current_interp_display_prompt_p): Delete declaration.
3537 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3538 (_initialize_mi_interp): Adjust.
3539 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3540 'command_error' observers.
3541 (tui_on_sync_execution_done, tui_on_command_error): New
3542 functions.
3543 (tui_display_prompt_p): Delete.
3544 (_initialize_tui_interp): Adjust.
3545
3546 2014-05-29 Pedro Alves <palves@redhat.com>
3547
3548 PR gdb/13860
3549 * cli/cli-interp.c: Include infrun.h and observer.h.
3550 (cli_uiout, cli_interp): New globals.
3551 (cli_on_signal_received, cli_on_end_stepping_range)
3552 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3553 functions.
3554 (cli_interpreter_init): Install them as 'end_stepping_range',
3555 'signal_received' 'signal_exited', 'exited' and 'no_history'
3556 observers.
3557 (_initialize_cli_interp): Remove cli_interp local.
3558 * infrun.c (handle_inferior_event): Call the several stop reason
3559 observers instead of printing the stop reason directly.
3560 (end_stepping_range): New function.
3561 (print_end_stepping_range_reason, print_signal_exited_reason)
3562 (print_exited_reason, print_signal_received_reason)
3563 (print_no_history_reason): Make static, and add an uiout
3564 parameter. Print to that instead of to CURRENT_UIOUT.
3565 * infrun.h (print_end_stepping_range_reason)
3566 (print_signal_exited_reason, print_exited_reason)
3567 (print_signal_received_reason print_no_history_reason): New
3568 declarations.
3569 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3570 'mi_uiout'.
3571 <cli_uiout>: New field.
3572 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3573 uiout for CLI output. Install 'signal_received',
3574 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3575 observers.
3576 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3577 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3578 (mi_on_no_history): New functions.
3579 (ui_out_free_cleanup): Delete function.
3580 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3581 instead use the one already stored in the MI interpreter data.
3582 (mi_ui_out): Adjust.
3583 * tui/tui-interp.c: Include infrun.h and observer.h.
3584 (tui_interp): New global.
3585 (tui_on_signal_received, tui_on_end_stepping_range)
3586 (tui_on_signal_exited, tui_on_exited)
3587 (tui_on_no_history): New functions.
3588 (tui_init): Install them as 'end_stepping_range',
3589 'signal_received' 'signal_exited', 'exited' and 'no_history'
3590 observers.
3591 (_initialize_tui_interp): Delete tui_interp local.
3592
3593 2014-05-29 Pedro Alves <palves@redhat.com>
3594
3595 PR gdb/15713
3596 * linux-nat.c (linux_nat_resume_callback): Rename the second
3597 parameter to 'except'. Skip LP if it points to EXCEPT.
3598 (linux_nat_resume): Don't mark the event lwp as not stopped
3599 before resuming sibling lwps. Instead ask
3600 linux_nat_resume_callback to skip the event lwp. Mark it as not
3601 stopped after actually resuming it.
3602 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3603 resuming it.
3604 (wait_lwp): Mark the lwp as stopped here.
3605 (stop_wait_callback): Mark the lwp as not stopped right after
3606 resuming it. Don't mark lwps as stopped here.
3607 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3608 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3609
3610 2014-05-29 Pedro Alves <palves@redhat.com>
3611
3612 PR PR15693
3613 * infrun.c (resume): Determine how much to resume depending on
3614 whether the caller wanted a step, not whether we can hardware step
3615 the target. Mark all threads that we intend to run as running,
3616 unless we're calling an inferior function.
3617 (normal_stop): If the thread is running an infcall, don't finish
3618 thread state.
3619 * target.c (target_resume): Don't mark threads as running here.
3620
3621 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3622
3623 * serial.c (_initialize_serial): Remove support for
3624 the "set remotebaud" and "show remotebaud" commands.
3625 * NEWS: Add entry documenting the removal of that command.
3626
3627 2014-05-28 Yao Qi <yao@codesourcery.com>
3628
3629 * charset.c: Fix typo in comments.
3630
3631 2014-05-27 Gary Benson <gbenson@redhat.com>
3632
3633 * utils.c (internal_vproblem): Prompt for a bug report.
3634
3635 2014-05-26 Andy Wingo <wingo@igalia.com>
3636
3637 * guile/scm-arch.c (arscm_mark_arch_smob):
3638 * guile/scm-block.c (bkscm_mark_block_smob)
3639 (bkscm_mark_block_syms_progress_smob):
3640 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3641 * guile/scm-exception.c (exscm_mark_exception_smob):
3642 * guile/scm-frame.c (frscm_mark_frame_smob):
3643 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3644 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3645 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3646 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3647 (ppscm_mark_pretty_printer_worker_smob):
3648 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3649 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3650 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3651 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3652 mark functions.
3653 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3654 function.
3655
3656 2014-05-26 Andy Wingo <wingo@igalia.com>
3657 Doug Evans <xdje42@gmail.com>
3658
3659 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3660 empty_base_class. All uses updated.
3661 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3662 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3663 Adapt all callers.
3664 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3665 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3666 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3667 (gdbscm_gsmob_has_property_p, add_property_name)
3668 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3669 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3670 (gdb-object-has-property?, gdb-object-properties): Remove.
3671 (gdb-object-kind): Renamed from gsmob-kind.
3672
3673 2014-05-26 Andy Wingo <wingo@igalia.com>
3674
3675 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3676 * configure: Regenerate.
3677
3678 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3679
3680 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3681
3682 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3683
3684 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3685 (replay_memory_access_read_only, replay_memory_access_read_write)
3686 (replay_memory_access_types, replay_memory_access)
3687 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3688 (cmd_set_record_btrace, cmd_show_record_btrace)
3689 (cmd_show_replay_memory_access): New.
3690 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3691 (record_btrace_remove_breakpoint): Replace
3692 record_btrace_allow_memory_access with replay_memory_access.
3693 (_initialize_record_btrace): Add commands.
3694 * NEWS: Announce it.
3695
3696 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3697
3698 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3699
3700 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3701
3702 * MAINTAINERS (Write After Approval): Move self back from
3703 paper trail.
3704
3705 2014-05-22 Pedro Alves <palves@redhat.com>
3706
3707 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3708 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3709 (disable_randomization, enum exec_direction_kind)
3710 (execution_direction, stop_registers, start_remote)
3711 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3712 (wait_for_inferior, normal_stop, get_last_target_status)
3713 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3714 (insert_step_resume_breakpoint_at_sal)
3715 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3716 (set_step_info, print_stop_event, signal_stop_state)
3717 (signal_print_state, signal_pass_state, signal_stop_update)
3718 (signal_print_update, signal_pass_update)
3719 (update_signals_program_target, clear_exit_convenience_vars)
3720 (displaced_step_dump_bytes, update_observer_mode)
3721 (signal_catch_update, gdb_signal_from_command): Move
3722 declarations ...
3723 * infrun.h: ... to this new file.
3724 * amd64-tdep.c: Include infrun.h.
3725 * annotate.c: Include infrun.h.
3726 * arch-utils.c: Include infrun.h.
3727 * arm-linux-tdep.c: Include infrun.h.
3728 * arm-tdep.c: Include infrun.h.
3729 * break-catch-sig.c: Include infrun.h.
3730 * breakpoint.c: Include infrun.h.
3731 * common/agent.c: Include infrun.h instead of inferior.h.
3732 * corelow.c: Include infrun.h.
3733 * event-top.c: Include infrun.h.
3734 * go32-nat.c: Include infrun.h.
3735 * i386-tdep.c: Include infrun.h.
3736 * inf-loop.c: Include infrun.h.
3737 * infcall.c: Include infrun.h.
3738 * infcmd.c: Include infrun.h.
3739 * infrun.c: Include infrun.h.
3740 * linux-fork.c: Include infrun.h.
3741 * linux-nat.c: Include infrun.h.
3742 * linux-thread-db.c: Include infrun.h.
3743 * monitor.c: Include infrun.h.
3744 * nto-tdep.c: Include infrun.h.
3745 * procfs.c: Include infrun.h.
3746 * record-btrace.c: Include infrun.h.
3747 * record-full.c: Include infrun.h.
3748 * remote-m32r-sdi.c: Include infrun.h.
3749 * remote-mips.c: Include infrun.h.
3750 * remote-notif.c: Include infrun.h.
3751 * remote-sim.c: Include infrun.h.
3752 * remote.c: Include infrun.h.
3753 * reverse.c: Include infrun.h.
3754 * rs6000-tdep.c: Include infrun.h.
3755 * s390-linux-tdep.c: Include infrun.h.
3756 * solib-irix.c: Include infrun.h.
3757 * solib-osf.c: Include infrun.h.
3758 * solib-svr4.c: Include infrun.h.
3759 * target.c: Include infrun.h.
3760 * top.c: Include infrun.h.
3761 * windows-nat.c: Include infrun.h.
3762 * mi/mi-interp.c: Include infrun.h.
3763 * mi/mi-main.c: Include infrun.h.
3764 * python/py-threadevent.c: Include infrun.h.
3765
3766 2014-05-22 Pedro Alves <palves@redhat.com>
3767
3768 * infrun.c (handle_inferior_event): Store the exit code for
3769 --return-child-result here, instead of ...
3770 (print_exited_reason): ... here.
3771
3772 2014-05-21 Pedro Alves <palves@redhat.com>
3773
3774 PR gdb/13860
3775 * gdbthread.h (struct thread_control_state): New field
3776 `command_interp'.
3777 * infrun.c (follow_fork): Copy the new thread control field to the
3778 child fork thread.
3779 (clear_proceed_status_thread): Clear the new thread control field.
3780 (proceed): Set the new thread control field.
3781 * interps.h (command_interp): Declare.
3782 * interps.c (command_interpreter): New global.
3783 (command_interp): New function.
3784 (interp_exec): Set `command_interpreter' while here.
3785 * cli-out.c (cli_uiout_dtor): New function.
3786 (cli_ui_out_impl): Install it.
3787 * mi/mi-interp.c: Include cli-out.h.
3788 (mi_cmd_interpreter_exec): Add comment.
3789 (restore_current_uiout_cleanup): New function.
3790 (ui_out_free_cleanup): New function.
3791 (mi_on_normal_stop): If finishing an execution command started by
3792 a CLI command, or any kind of breakpoint-like event triggered,
3793 print the stop event to the output (CLI) stream.
3794 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3795
3796 2014-05-21 Pedro Alves <palves@redhat.com>
3797
3798 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3799 current source line having changed.
3800 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3801 * infrun.c (normal_stop): Adjust call to
3802 set_current_sal_from_frame.
3803 * source.c (clear_lines_listed_range): New function.
3804 (set_current_source_symtab_and_line, identify_source_line): Clear
3805 the lines listed range.
3806 (line_info): Handle the first "info line" after the current source
3807 line having changed.
3808 * stack.c (print_stack_frame): Remove center handling.
3809 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3810 center sal.line.
3811
3812 2014-05-21 Pedro Alves <palves@redhat.com>
3813
3814 * inf-child.c (inf_child_mourn_inferior): New function.
3815 * inf-child.h (inf_child_mourn_inferior): New declaration.
3816 * darwin-nat.c (darwin_mourn_inferior): Use
3817 inf_child_mourn_inferior.
3818 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3819 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3820 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3821 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3822 * windows-nat.c (windows_mourn_inferior): Likewise.
3823
3824 2014-05-21 Doug Evans <xdje42@gmail.com>
3825
3826 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
3827
3828 2014-05-21 Doug Evans <xdje42@gmail.com>
3829
3830 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
3831 (gdbscm_out_of_range_error): Ditto.
3832 (gdbscm_memory_error): Ditto.
3833 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3834 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
3835 (gdbscm_out_of_range_error): Update.
3836 (gdbscm_memory_error): Update.
3837 (gdbscm_scm_to_target_string_unsafe): Delete.
3838
3839 2014-05-21 Pedro Alves <palves@redhat.com>
3840
3841 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3842 globals.
3843 (inf_child_open_target): New function.
3844 (inf_child_open): Use inf_child_open_target to push the target
3845 instead of erroring out.
3846 (inf_child_disconnect, inf_child_close)
3847 (inf_child_maybe_unpush_target): New functions.
3848 (inf_child_target): Install inf_child_disconnect and
3849 inf_child_close. Store a pointer to the returned object.
3850 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3851 declarations.
3852 * target.c (auto_connect_native_target): New global.
3853 (show_default_run_target): New function.
3854 (find_default_run_target): Return NULL if automatically connecting
3855 to the native target is disabled.
3856 (_initialize_target): Install set/show auto-connect-native-target.
3857 * NEWS: Mention "set auto-connect-native-target", and "target
3858 native".
3859 * linux-nat.c (super_close): New global.
3860 (linux_nat_close): Call super_close.
3861 (linux_nat_add_target): Store a pointer to the base class's
3862 to_close method.
3863 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3864 inf_child_maybe_unpush.
3865 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3866 already pushed.
3867 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3868 the inferior. Use inf_child_maybe_unpush_target.
3869 (inf_ttrace_attach): Don't push the target if it is already
3870 pushed.
3871 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3872 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3873 after mourning the inferior. Use inf_child_maybe_unpush_target.
3874 (darwin_attach_pid): Don't push the target if it is already
3875 pushed.
3876 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3877 mourning the inferior. Use inf_child_maybe_unpush_target.
3878 (gnu_detach): Use inf_child_maybe_unpush_target.
3879 * go32-nat.c (go32_create_inferior): Don't push the target if it
3880 is already pushed.
3881 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3882 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3883 (procfs_open): Rename to ...
3884 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3885 comments. Can target_preopen before changing node. Call
3886 inf_child_open_target to push the target explicitly.
3887 (procfs_attach): Don't push the target if it is already pushed.
3888 (procfs_detach): Use inf_child_maybe_unpush_target.
3889 (procfs_create_inferior): Don't push the target if it is already
3890 pushed.
3891 (nto_native_ops): New global.
3892 (procfs_open): Reimplement.
3893 (procfs_native_open): New function.
3894 (init_procfs_targets): Install procfs_native_open as to_open of
3895 "target native". Store a pointer to the "native" target in
3896 nto_native_ops.
3897 * procfs.c (procfs_attach): Don't push the target if it is already
3898 pushed.
3899 (procfs_detach): Use inf_child_maybe_unpush_target.
3900 (procfs_mourn_inferior): Only unpush the target after mourning the
3901 inferior. Use inf_child_maybe_unpush_target.
3902 (procfs_init_inferior): Don't push the target if it is already
3903 pushed.
3904 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3905 if it is already pushed.
3906
3907 2014-05-21 Pedro Alves <palves@redhat.com>
3908
3909 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3910 and "procfs" targets are now called "native" instead.
3911
3912 2014-05-21 Pedro Alves <palves@redhat.com>
3913
3914 * go32-nat.c (go32_open): Delete.
3915 (go32_target): Don't override the to_open method.
3916
3917 2014-05-21 Pedro Alves <palves@redhat.com>
3918
3919 * nto-procfs.c (procfs_can_run): New function.
3920 (nto_procfs_ops): New global.
3921 (init_procfs_targets): New, based on procfs_target. Install
3922 "target native" in addition to "target procfs".
3923 (_initialize_procfs): Call init_procfs_targets instead of adding
3924 the target here.
3925
3926 2014-05-21 Pedro Alves <palves@redhat.com>
3927
3928 * windows-nat.c (windows_target): Don't override to_shortname,
3929 to_longname or to_doc.
3930
3931 2014-05-21 Pedro Alves <palves@redhat.com>
3932
3933 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3934 to_doc.
3935
3936 2014-05-21 Pedro Alves <palves@redhat.com>
3937
3938 * darwin-nat.c (_initialize_darwin_inferior): Don't override
3939 to_shortname, to_longname or to_doc.
3940
3941 2014-05-21 Pedro Alves <palves@redhat.com>
3942
3943 * go32-nat.c (go32_target): Don't override to_shortname,
3944 to_longname or to_doc.
3945
3946 2014-05-21 Pedro Alves <palves@redhat.com>
3947
3948 * inf-child.c (inf_child_open): Remove mention of "child".
3949 (inf_child_target): Rename target to "native" instead of "child".
3950
3951 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3952
3953 * Makefile.in (SFILES): Delete "regset.c".
3954 (COMMON_OBS): Delete "regset.o".
3955 * regset.c: Remove.
3956 * regset.h (regset_alloc): Delete prototype.
3957
3958 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3959
3960 * sparc-linux-tdep.c (sparc32_linux_gregset)
3961 (sparc32_linux_fpregset): New static regset structures.
3962 (sparc32_linux_init_abi): Drop dynamic regset allocations.
3963 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
3964 'fpregset' fields.
3965 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
3966 (sparc64_linux_fpregset): New static regset structures.
3967 (sparc64_linux_init_abi): Drop dynamic regset allocations.
3968 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
3969 New static regset structures.
3970 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
3971 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
3972 New static regset structures.
3973 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
3974 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
3975 New static regset structures.
3976 (sparc64obsd_init_abi): Drop dynamic regset allocations.
3977 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
3978 New static regset structures.
3979 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
3980
3981 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3982
3983 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
3984 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
3985 register maps ("regmaps") from "*regset" to "*regmap". Do this
3986 for all regmap types and variables.
3987 * sparc-linux-tdep.c (sparc32_linux_step_trap)
3988 (sparc32_linux_supply_core_gregset)
3989 (sparc32_linux_collect_core_gregset)
3990 (sparc32_linux_supply_core_fpregset)
3991 (sparc32_linux_collect_core_fpregset): Likewise.
3992 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
3993 (sparc_gregmap, sparc_fpregmap): ... these.
3994 (sparc_supply_gregset, sparc_collect_gregset)
3995 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3996 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
3997 (_initialize_sparc_nat): Rename regmaps.
3998 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
3999 (sparc_gregmap, sparc_fpregmap): ... these.
4000 (sparc_supply_gregset, sparc_collect_gregset)
4001 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4002 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4003 Rename macros to...
4004 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4005 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4006 Likewise.
4007 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4008 Rename to...
4009 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4010 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4011 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4012 regmaps.
4013 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4014 (sparc32_bsd_fpregset): Rename to...
4015 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4016 (sparc32_bsd_fpregmap): ... these.
4017 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4018 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4019 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4020 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4021 (struct sparc_gregmap, struct sparc_fpregmap)
4022 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4023 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4024 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4025 (sparc32_supply_regset, sparc32_collect_gregset)
4026 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4027 prototypes.
4028 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4029 (sparc64_linux_ptrace_gregmap): ... this.
4030 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4031 (_initialize_sparc64_linux_nat): Rename regmaps.
4032 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4033 (sparc64_linux_core_gregmap): ... this.
4034 (sparc64_linux_supply_core_gregset)
4035 (sparc64_linux_collect_core_gregset)
4036 (sparc64_linux_supply_core_fpregset)
4037 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4038 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4039 (sparc64_sol2_fpregset): Rename to...
4040 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4041 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4042 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4043 regmaps.
4044 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4045 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4046 (sparc64_bsd_fpregset): Rename to...
4047 (struct sparc_gregmap, sparc64_sol2_gregmap)
4048 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4049 (sparc64_bsd_fpregmap): ... these.
4050 (sparc64_supply_gregset, sparc64_collect_gregset)
4051 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4052 prototypes.
4053 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4054 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4055 (sparc64fbsd_gregmap): ... this.
4056 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4057 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4058 Rename regmaps.
4059 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4060 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4061 (sparc64nbsd_collect_fpregset): Likewise.
4062 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4063 (sparc64nbsd_gregmap): ... this.
4064 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4065 regmaps.
4066 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4067 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4068 (sparc64obsd_gregmap): ... this.
4069 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4070 regmaps.
4071 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4072 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4073 (sparc32nbsd_gregmap): ... this.
4074 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4075 regmaps.
4076
4077 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4078
4079 * score-tdep.c (score7_linux_gregset): New static regset
4080 structure.
4081 (score7_linux_regset_from_core_section): Remove dynamic regset
4082 allocation.
4083 (score_gdbarch_init): Drop allocation of tdep structure.
4084 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4085
4086 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4087
4088 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4089 regset structures.
4090 (am33_regset_from_core_section): Remove dynamic regset
4091 allocations.
4092
4093 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4094
4095 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4096 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4097 structures.
4098 (mips_linux_regset_from_core_section): Remove dynamic regset
4099 allocations.
4100 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4101 'gregset64', 'fpregset', and 'fpregset64'.
4102 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4103 deleted tdep fields.
4104
4105 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4106
4107 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4108 regset structures.
4109 (amd64_regset_from_core_section): Remove dynamic regset
4110 allocations.
4111 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4112 structure.
4113 (amd64obsd_regset_from_core_section): Remove dynamic regset
4114 allocation.
4115 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4116 Likewise.
4117 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4118 x86-common regset supply function.
4119 * i386-tdep.c (i386_collect_gregset): Make static.
4120 (i386_gregset): New global regset structure.
4121 (i386_fpregset, i386_xstateregset): New static regset structures.
4122 (i386_regset_from_core_section): Remove dynamic regset
4123 allocations.
4124 (i386_gdbarch_init): Remove initialization of tdep fields
4125 'gregset', 'fpregset', and 'xstateregset'.
4126 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4127 'fpregset', and 'xstateregset'.
4128 (i386_collect_gregset): Remove prototype.
4129 (i386_gregset): New declaration.
4130 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4131 structure.
4132 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4133 allocation.
4134
4135 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4136
4137 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4138 (arm_linux_vfpregset): New static regset structures.
4139 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4140 regset structures.
4141 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4142 and 'vfpregset' fields.
4143
4144 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4145
4146 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4147 (aarch64_linux_fpregset): New static regset structures.
4148 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4149 of regset structures.
4150 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4151 'fpregset' fields.
4152
4153 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4154
4155 * regset.h (struct regset): Remove gdbarch field.
4156 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4157 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4158 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4159 Likewise.
4160 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4161 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4162 (ppc32_linux_vsxregset): Likewise.
4163 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4164 via the regcache instead of the regset.
4165 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4166 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4167 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4168 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4169 Likewise.
4170
4171 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4172
4173 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4174 Constify structures.
4175 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4176 (alphanbsd_aout_gregset): Likewise.
4177 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4178 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4179 Likewise.
4180 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4181 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4182 Likewise.
4183 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4184 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4185 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4186 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4187 * m88k-tdep.c (m88k_gregset): Likewise.
4188 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4189 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4190 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4191 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4192 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4193 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4194 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4195 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4196 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4197 Likewise.
4198 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4199 * sh-tdep.h (sh_corefile_gregset): Likewise.
4200 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4201 * vax-tdep.c (vax_gregset): Likewise.
4202
4203 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4204
4205 Fix TLS access for -static -pthread.
4206 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4207 (try_thread_db_load_1): Initialize it.
4208 (thread_db_get_thread_local_address): Call it if LM is zero.
4209 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4210 * target.h (struct target_ops) (to_get_thread_local_address): Add
4211 load_module_addr comment.
4212
4213 2014-05-21 Pedro Alves <palves@redhat.com>
4214
4215 * dcache.c (dcache_read_memory_partial): If reading the cache line
4216 fails, fallback to reading just the memory the caller wanted.
4217
4218 2014-05-20 Doug Evans <dje@google.com>
4219
4220 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4221 instead of get_current_arch.
4222
4223 2014-05-20 Pedro Alves <palves@redhat.com>
4224
4225 * NEWS: Mention that compare-sections now works with all targets.
4226
4227 * remote.c (PACKET_qCRC): New enum value.
4228 (remote_verify_memory): Don't send qCRC if the target has no
4229 execution. Use packet_support/packet_ok. If the target doesn't
4230 support the qCRC packet, fallback to a deep memory copy.
4231 (compare_sections_command): Say "target image" instead of "remote
4232 executable".
4233 (_initialize_remote): Add PACKET_qCRC to the list of config
4234 packets that have no associated command. Extend comment.
4235 * target.c (simple_verify_memory, default_verify_memory): New
4236 function.
4237 * target.h (struct target_ops) <to_verify_memory>: Default to
4238 default_verify_memory.
4239 (simple_verify_memory): New declaration.
4240 * target-delegates.c: Regenerate.
4241
4242 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4243
4244 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4245
4246 2014-05-20 Hui Zhu <hui@codesourcery.com>
4247 Yao Qi <yao@codesourcery.com>
4248
4249 PR backtrace/16558
4250 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4251 and change address of sp and pc.
4252
4253 2014-05-19 Tom Tromey <tromey@redhat.com>
4254
4255 * gdbtypes.c (rank_function): Use XNEWVEC.
4256 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4257
4258 2014-05-19 Doug Evans <dje@google.com>
4259
4260 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4261 build_type_unit_groups and moved closer to only caller. Remove
4262 arguments. All references updated. Remove outdated .gdb_index
4263 comment.
4264 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4265 build_type_psymtabs_1.
4266
4267 2014-05-19 Doug Evans <dje@google.com>
4268
4269 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4270 n_type_unit_groups, all_type_unit_groups. All uses removed.
4271 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4272 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4273 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4274 (add_type_unit_group_to_table): Delete.
4275
4276 2014-05-19 Doug Evans <dje@google.com>
4277
4278 * eval.c (evaluate_subexp_standard): Add some comments.
4279
4280 2014-05-17 Doug Evans <xdje42@gmail.com>
4281
4282 * progspace.c (remove_program_space): Delete, unused.
4283 * progspace.h (remove_program_space): Ditto.
4284
4285 2014-05-17 Doug Evans <xdje42@gmail.com>
4286
4287 * inferior.c (prune_inferiors): Fix comment.
4288 (remove_inferior_command): Call prune_program_spaces.
4289
4290 2014-05-16 Doug Evans <dje@google.com>
4291
4292 New command line option -D.
4293 * NEWS: Mention it.
4294 * main.c (set_gdb_data_directory): New function.
4295 (captured_main): Recognize -D. Flag error for --data-directory "".
4296 Call set_gdb_data_directory.
4297 (print_gdb_help): Print --data-directory, -D.
4298 * main.h (set_gdb_data_directory): Declare.
4299 * top.c (staged_gdb_datadir): New static global.
4300 (set_gdb_datadir): Call set_gdb_data_directory
4301 (show_gdb_datadir): New function.
4302 (init_main): Update init of data-directory parameter.
4303
4304 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4305
4306 Import the "dirfd" gnulib module.
4307 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4308 * gnulib/aclocal.m4: Update.
4309 * gnulib/config.in: Update.
4310 * gnulib/configure: Update.
4311 * gnulib/import/Makefile.am: Update.
4312 * gnulib/import/Makefile.in: Update.
4313 * gnulib/import/dirfd.c: New.
4314 * gnulib/import/m4/dirfd.m4: New.
4315 * gnulib/import/m4/gnulib-cache.m4: Update.
4316 * gnulib/import/m4/gnulib-comp.m4: Update.
4317
4318 2014-05-16 Pierre Muller <muller@sourceware.org>
4319 Yao Qi <yao@codesourcery.com>
4320
4321 * valprint.c (print_wchar): Move the code on checking whether
4322 W is a printable wide char to the default branch of switch
4323 statement below. Call wchar_printable instead of gdb_iswprint.
4324
4325 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4326
4327 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
4328 ldr.w and ldrd instructions.
4329
4330 2014-05-15 Doug Evans <dje@google.com>
4331
4332 * dwarf2read.c (read_structure_type): Delete outdated comments.
4333
4334 2014-05-14 Tom Tromey <tromey@redhat.com>
4335
4336 * macrocmd.c (print_macro_definition): Reindent.
4337
4338 2014-05-13 Doug Evans <xdje42@gmail.com>
4339
4340 * python/py-cmd.c (cmdpy_completer): Add comment.
4341 (completers): Make const.
4342
4343 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4344
4345 * infrun.c (resume): Remove should_resume (unused). Move up
4346 declaration of resume_ptid.
4347
4348 2014-05-13 Tom Tromey <tromey@redhat.com>
4349
4350 * language.h (unop_type_check): Remove.
4351 (binop_type_check): Don't declare.
4352
4353 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4354
4355 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4356 call to regcache_raw_collect.
4357
4358 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4359
4360 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4361 mi_console->quote as the quoting character.
4362
4363 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4364
4365 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4366
4367 2014-04-29 Tom Tromey <tromey@redhat.com>
4368
4369 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4370 "show debug varobj".
4371
4372 2014-05-07 Kyle McMartin <kyle@redhat.com>
4373
4374 Pushed by Joel Brobecker <brobecker@adacore.com>.
4375 * aarch64-tdep.c (aarch64_software_single_step): New function.
4376 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4377 with aarch64_software_single_step.
4378
4379 2014-05-05 Joel Brobecker <brobecker@adacore.com>
4380
4381 GDB 7.7.1 released.
4382
4383 2014-05-05 Keith Seitz <keiths@redhat.com>
4384
4385 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4386 variable or history value is successfully parsed.
4387
4388 2014-05-05 Yao Qi <yao@codesourcery.com>
4389 Pedro Alves <palves@redhat.com>
4390
4391 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4392 address of blocks that intersects the requested range. Trim
4393 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4394 sections.
4395 * ctf.c (ctf_xfer_partial): Likewise.
4396
4397 2014-05-05 Yao Qi <yao@codesourcery.com>
4398
4399 * printcmd.c (display_command): Remove the check to
4400 target_has_execution.
4401
4402 2014-05-03 Mark Kettenis <kettenis@gnu.org>
4403
4404 * ppcobsd-nat.c: Include "obsd-nat.h".
4405 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4406 add_target.
4407 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4408
4409 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4410
4411 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4412 and 16-bit signed and unsigned arguments. Update comment.
4413 (stap_parse_probe_arguments): Extend code to handle such
4414 arguments. Use warning instead of complaint to notify about
4415 unrecognized bitness.
4416
4417 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4418
4419 PR breakpoints/16889
4420 * stap-probe.c (stap_parse_probe_arguments): Simplify
4421 check for non-prefixed probes (i.e., probes whose
4422 arguments do not start with "N@"). Always set the
4423 argument type to a sane value.
4424
4425 2014-05-01 David Taylor <dtaylor@emc.com>
4426
4427 * remote.c (compare_sections_command): Add -r option to compare
4428 all loadable read-only sections.
4429
4430 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4431
4432 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4433 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4434 Update all callers.
4435 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4436 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4437 Remove unused CORE_ADDR argument. Update all callers.
4438
4439 2014-04-29 Pedro Alves <palves@redhat.com>
4440
4441 * remote.c (struct packet_config) <detect>: Extend comment.
4442 (add_packet_config_cmd): Don't set the config's detect or support
4443 fields here.
4444 (init_all_packet_configs): Also initialize the config's 'detect'
4445 field.
4446 (reset_all_packet_configs_support): New function.
4447 (remote_open_1): Call reset_all_packet_configs_support instead of
4448 init_all_packet_configs.
4449 (_initialize_remote): Initialize all packet configs. Assert that
4450 all packets have an associated command, except a few known
4451 outliers.
4452
4453 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4454
4455 * dwarf2read.c (read_subrange_type): Handle dynamic
4456 DW_AT_lower_bound attributes.
4457
4458 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4459
4460 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4461 dynamic bounds before computing its upper bound.
4462 (ada_discrete_type_low_bound): Same as above with the lower bound.
4463
4464 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4465
4466 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4467 range types. Adjust the array handling implementation to
4468 take advantage of this change.
4469 (resolve_dynamic_range): New function, mostly extracted from
4470 resolve_dynamic_bounds.
4471 (resolve_dynamic_array): New function, mostly extracted from
4472 resolve_dynamic_bounds.
4473 (resolve_dynamic_bounds): Delete.
4474 (resolve_dynamic_type): Reimplement. Add handling of
4475 TYPE_CODE_RANGE types.
4476
4477 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4478
4479 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4480 handling of parallel ___XA types.
4481
4482 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4483
4484 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4485 unnecessary second call to static_unwrap_type.
4486
4487 2014-04-27 Hui Zhu <hui@codesourcery.com>
4488
4489 * stack.c (print_frame_info): Call do_gdb_disassembly with
4490 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4491
4492 2014-04-26 Doug Evans <xdje42@gmail.com>
4493
4494 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4495
4496 2014-04-25 Pedro Alves <palves@redhat.com>
4497
4498 PR server/16255
4499 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4500 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4501 and newline from built string.
4502 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4503 (linux_ptrace_attach_fail_reason): ... this.
4504 * linux-nat.c (linux_nat_attach): Adjust to use
4505 linux_ptrace_attach_fail_reason.
4506
4507 2014-04-25 Pedro Alves <palves@redhat.com>
4508
4509 * remote.c (struct remote_state): Remove multi_process_aware,
4510 non_stop_aware, cond_tracepoints, cond_breakpoints,
4511 breakpoint_commands, fast_tracepoints, static_tracepoints,
4512 install_in_trace, disconnected_tracing,
4513 enable_disable_tracepoints, string_tracing, and
4514 augmented_libraries_svr4_read fields.
4515 (remote_multi_process_p): Move further below in the file.
4516 (struct packet_config): Add comments.
4517 (update_packet_config): Delete function.
4518 (show_packet_config_cmd): Use packet_config_support.
4519 (add_packet_config_cmd): Use NULL as set callback.
4520 (packet_ok): "set remote foo-packet"-style commands no longer
4521 change config->supported -- adjust.
4522 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4523 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4524 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4525 (PACKET_QNonStop, PACKET_multiprocess_feature)
4526 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4527 (PACKET_DisconnectedTracing_feature)
4528 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4529 (set_remote_protocol_packet_cmd): Delete function.
4530 (packet_config_support, packet_support): New functions.
4531 (set_remote_protocol_Z_packet_cmd): Don't call
4532 update_packet_config.
4533 (remote_query_attached, remote_pass_signals)
4534 (remote_program_signals, remote_threads_info)
4535 (remote_threads_extra_info, remote_start_remote): Use
4536 packet_support.
4537 (remote_start_remote): Use packet_config_support and
4538 packet_support.
4539 (init_all_packet_configs): Set all packets to unknown support,
4540 instead of calling update_packet_config.
4541 (remote_check_symbols): Use packet_support.
4542 (remote_supported_packet): Unconditionally set the packet config's
4543 support status.
4544 (remote_multi_process_feature, remote_non_stop_feature)
4545 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4546 (remote_breakpoint_commands_feature)
4547 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4548 (remote_install_in_trace_feature)
4549 (remote_disconnected_tracing_feature)
4550 (remote_enable_disable_tracepoint_feature)
4551 (remote_string_tracing_feature)
4552 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4553 (remote_protocol_features): Adjust to use remote_supported_packet
4554 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4555 "ConditionalTracepoints", "ConditionalBreakpoints",
4556 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4557 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4558 "EnableDisableTracepoints", and "tracenz".
4559 (remote_query_supported): Use packet_support.
4560 (remote_open_1): Adjust.
4561 (extended_remote_attach_1): Use packet_support. Switch on the
4562 result of packet_ok instead of checking whether the packet ended
4563 up disabled.
4564 (remote_vcont_resume): Use packet_support.
4565 (remote_resume, remote_stop_ns, fetch_register_using_p)
4566 (remote_prepare_to_store, store_register_using_P)
4567 (check_binary_download, remote_write_bytes): Use packet_support.
4568 (remote_vkill): Use packet_support. Switch on the result of
4569 packet_ok instead of checking whether the packet ended up
4570 disabled.
4571 (extended_remote_supports_disable_randomization): Use
4572 packet_support.
4573 (extended_remote_run): Switch on the result of packet_ok instead
4574 of checking whether the packet ended up disabled.
4575 (remote_insert_breakpoint, remote_remove_breakpoint)
4576 (remote_insert_watchpoint, remote_remove_watchpoint)
4577 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4578 packet_support.
4579 (remote_search_memory): Use packet_config_support.
4580 (remote_get_thread_local_address, remote_get_tib_address)
4581 (remote_hostio_send_command, remote_can_execute_reverse): Use
4582 packet_support.
4583 (remote_supports_cond_tracepoints)
4584 (remote_supports_cond_breakpoints)
4585 (remote_supports_fast_tracepoints)
4586 (remote_supports_static_tracepoints)
4587 (remote_supports_install_in_trace)
4588 (remote_supports_enable_disable_tracepoint)
4589 (remote_supports_string_tracing)
4590 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4591 the packet config says the feature is enabled or disabled.
4592 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4593 (remote_get_trace_status): Use packet_support.
4594 (remote_set_disconnected_tracing): Adjust to check whether the
4595 feature is enabled with packet_support.
4596 (remote_set_trace_buffer_size, remote_use_agent)
4597 (remote_can_use_agent, remote_supports_btrace): Use
4598 packet_support.
4599 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4600 Use packet_config_support.
4601 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4602 the packet config says the feature is enabled or disabled.
4603 (set_range_stepping): Use packet_support.
4604
4605 2014-04-25 Tom Tromey <tromey@redhat.com>
4606
4607 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4608 argument.
4609
4610 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4611
4612 * NEWS: Mention support for C99 variable length arrays.
4613
4614 2014-04-24 Joel Brobecker <brobecker@adacore.com>
4615
4616 * ada-lang.c (standard_exc): Expand introductory comment.
4617
4618 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4619 Walfred Tedeschi <walfred.tedeschi@intel.com>
4620
4621 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4622 AVX512 registers.
4623 (amd64_linux_read_description): Add code to handle AVX512 xstate
4624 mask and return respective tdesc.
4625 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4626 and features/i386/x32-avx512-linux.c.
4627 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4628 (amd64_linux_core_read_description): Add code to handle AVX512
4629 xstate mask and return respective tdesc.
4630 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4631 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4632 calculation.
4633 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4634 (tdesc_amd64_avx512_linux): New prototype.
4635 (tdesc_x32_avx512_linux): Likewise.
4636 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4637 features/i386/x32-avx512.c.
4638 (amd64_ymm_avx512_names): New register names for pseudo
4639 registers YMM16-31.
4640 (amd64_ymmh_avx512_names): New register names for raw registers
4641 YMMH16-31.
4642 (amd64_k_names): New register names for K registers.
4643 (amd64_zmmh_names): New register names for ZMM raw registers.
4644 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4645 (amd64_xmm_avx512_names): New register names for XMM16-31
4646 registers.
4647 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4648 registers.
4649 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4650 if feature is present.
4651 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4652 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4653 (AMD64_NUM_REGS): Adjust to new number of registers.
4654 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4655 registers supplied via XSTATE by AVX512 registers.
4656 (i386_linux_read_description): Add case for AVX512.
4657 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4658 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4659 (i386_linux_core_read_description): Add case for AVX512.
4660 (i386_linux_init_abi): Install supported register note section
4661 for AVX512.
4662 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4663 AVX512.
4664 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4665 registers to be number of zmm7h + 1.
4666 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4667 * i386-tdep.c: Include features/i386/i386-avx512.c.
4668 (i386_zmm_names): Add ZMM pseudo register names array.
4669 (i386_zmmh_names): Add ZMM raw register names array.
4670 (i386_k_names): Add K raw register names array.
4671 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4672 registers. AVX512 has 16 more ZMM registers than there are YMM
4673 registers.
4674 (i386_zmmh_regnum_p): Add function to look up register number of
4675 ZMM raw registers.
4676 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4677 (i386_k_regnum_p): Likewise for K raw registers.
4678 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4679 registers added by AVX512.
4680 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4681 registers added by AVX512.
4682 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4683 added by AVX512.
4684 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4685 (i386_pseudo_register_name): Add ZMM pseudo registers.
4686 (i386_zmm_type): Construct and return vector registers type for ZMM
4687 registers.
4688 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4689 ZMM0-31 pseudo registers and K registers.
4690 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4691 and YMM16-31 registers from register cache.
4692 (i386_pseudo_register_write): Add code to write K, ZMM and
4693 YMM16-31 registers.
4694 (i386_register_reggroup_p): Add code to include/exclude AVX512
4695 registers in/from respective register groups.
4696 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4697 registers if feature is present in xcr0.
4698 (i386_gdbarch_init): Add code to initialize AVX512 feature
4699 variables in tdep structure, wire in pseudo registers and call
4700 initialize_tdesc_i386_avx512.
4701 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4702 variables.
4703 (i386_regnum): Add AVX512 registers.
4704 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4705 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4706 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4707 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4708 512 bits wide.
4709 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4710 (i386_ymm_avx512_regnum_p): Likewise.
4711 (i386_k_regnum_p): Likewise.
4712 (i386_zmm_regnum_p): Likewise.
4713 (i386_zmmh_regnum_p): Likewise.
4714 * i387-tdep.c : Update year in copyright notice.
4715 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4716 XSAVE buffer.
4717 (XSAVE_YMM_AVX512_ADDR): New macro.
4718 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4719 XSAVE buffer.
4720 (XSAVE_XMM_AVX512_ADDR): New macro.
4721 (xsave_avx512_k_offset): New table for K register offsets in
4722 XSAVE buffer.
4723 (XSAVE_AVX512_K_ADDR): New macro.
4724 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4725 in XSAVE buffer.
4726 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4727 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4728 buffer.
4729 (i387_collect_xsave): Add code to collect AVX512 registers from
4730 XSAVE buffer.
4731 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4732 of XMM16-31 registers.
4733 (I387_NUM_K_REGS): New define for number of K registers.
4734 (I387_K0_REGNUM): New define for K0 register number.
4735 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4736 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4737 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4738 registers.
4739 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4740 (I387_XMM16_REGNUM): New define for XMM16 register number.
4741 (I387_YMM0_REGNUM): New define for YMM0 register number.
4742 (I387_KEND_REGNUM): New define for last K register number.
4743 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4744 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4745 number.
4746 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4747 number.
4748 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4749 size.
4750 * features/Makefile: Add AVX512 related files.
4751 * features/i386/32bit-avx512.xml: New file.
4752 * features/i386/64bit-avx512.xml: Likewise.
4753 * features/i386/amd64-avx512-linux.c: Likewise.
4754 * features/i386/amd64-avx512-linux.xml: Likewise.
4755 * features/i386/amd64-avx512.c: Likewise.
4756 * features/i386/amd64-avx512.xml: Likewise.
4757 * features/i386/i386-avx512-linux.c: Likewise.
4758 * features/i386/i386-avx512-linux.xml: Likewise.
4759 * features/i386/i386-avx512.c: Likewise.
4760 * features/i386/i386-avx512.xml: Likewise.
4761 * features/i386/x32-avx512-linux.c: Likewise.
4762 * features/i386/x32-avx512-linux.xml: Likewise.
4763 * features/i386/x32-avx512.c: Likewise.
4764 * features/i386/x32-avx512.xml: Likewise.
4765 * regformats/i386/amd64-avx512-linux.dat: New file.
4766 * regformats/i386/amd64-avx512.dat: Likewise.
4767 * regformats/i386/i386-avx512-linux.dat: Likewise.
4768 * regformats/i386/i386-avx512.dat: Likewise.
4769 * regformats/i386/x32-avx512-linux.dat: Likewise.
4770 * regformats/i386/x32-avx512.dat: Likewise.
4771 * NEWS: Add note about new support for AVX512.
4772
4773
4774 2014-04-23 Pedro Alves <palves@redhat.com>
4775
4776 * breakpoint.c (insert_bp_location): Tolerate errors if the
4777 breakpoint is set in a user-loaded objfile.
4778 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4779 location is marked shlib_disabled. If the breakpoint is set in a
4780 user-loaded objfile is a GDB-side memory breakpoint, validate it
4781 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4782 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4783 flag.
4784 * mem-break.c (memory_validate_breakpoint): New function.
4785 * objfiles.c (userloaded_objfile_contains_address_p): New
4786 function.
4787 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4788 * target.h (memory_validate_breakpoint): New declaration.
4789
4790 2014-04-23 Pedro Alves <palves@redhat.com>
4791
4792 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4793 the breakpoint is set in a shared library, only suppress
4794 errors for software breakpoints, not hardware breakpoints.
4795
4796 2014-04-22 Pedro Alves <palves@redhat.com>
4797
4798 * infrun.c (schedlock_applies): New function, factored out from
4799 find_thread_needs_step_over.
4800 (find_thread_needs_step_over): Use it.
4801 (switch_back_to_stepped_thread): Always clear trap_expected if the
4802 step over is finished. Return early if scheduler locking applies.
4803 Look for the stepping thread and a potential step-over thread with
4804 a single loop.
4805 (currently_stepping_or_nexting_callback): Delete.
4806
4807 2014-04-22 Nick Clifton <nickc@redhat.com>
4808
4809 * NEWS: Mention that ARM sim now supports tracing.
4810
4811 2014-04-22 Yao Qi <yao@codesourcery.com>
4812
4813 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4814 to ...
4815 * tracefile.c (tracefile_fetch_registers): ... it. New
4816 function.
4817 * tracefile.h (tracefile_fetch_registers): Declare.
4818 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4819 tracefile_fetch_registers.
4820
4821 2014-04-19 Eli Zaretskii <eliz@gnu.org>
4822
4823 PR gdb/14018
4824 * windows-nat.c (thread_rec): Don't display a warning when
4825 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4826 fails for any reason, set th->suspended to -1, so that we don't
4827 try to resume such a thread. Also, don't return NULL in these
4828 cases, to avoid completely ruin the session due to "PC register is
4829 not available" error.
4830 (do_windows_fetch_inferior_registers): Check errors in
4831 GetThreadContext call.
4832 (windows_continue): Accept an additional argument KILLED; if not
4833 zero, ignore errors in the SetThreadContext call, since the
4834 inferior was killed and is shutting down.
4835 (windows_resume, get_windows_debug_event)
4836 (windows_create_inferior, windows_mourn_inferior)
4837 (windows_kill_inferior): All callers of windows_continue changed
4838 to adjust to its new calling sequence.
4839
4840 2014-04-19 Yao Qi <yao@codesourcery.com>
4841
4842 * ctf.c (ctf_open): Call post_create_inferior.
4843
4844 2014-04-19 Yao Qi <yao@codesourcery.com>
4845
4846 * ctf.c (handle_id): New static variable.
4847 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4848 value. Get the declaration of event "register" and get length
4849 of field "contents".
4850
4851 2014-04-19 Yao Qi <yao@codesourcery.com>
4852
4853 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4854
4855 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4856
4857 * valops.c (oload_method_static): Remove unnecessary argument
4858 METHOD. Update all callers.
4859
4860 2014-04-18 Pedro alves <palves@redhat.com>
4861 Tom Tromey <tromey@redhat.com>
4862
4863 PR backtrace/15558
4864 * frame.c (get_prev_frame_1): Rename to ...
4865 (get_prev_frame_always): ... this, and make extern. Adjust.
4866 (skip_artificial_frames): Use get_prev_frame_always.
4867 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4868 (get_frame_unwind_stop_reason): Adjust to rename.
4869 * frame.h (get_prev_frame_always): Declare.
4870 * inline-frame.c: Include frame.h.
4871 (inline_frame_this_id): Use get_prev_frame_always.
4872
4873 2014-04-18 Tristan Gingold <gingold@adacore.com>
4874
4875 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4876 code by using bfd_mach_o_get_base_address.
4877
4878 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4879
4880 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4881 (spu_ax_pseudo_register_collect): New function.
4882 (spu_ax_pseudo_register_push_stack): Likewise.
4883 (spu_dwarf_reg_to_regnum): Likewise.
4884 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4885
4886 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4887
4888 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4889 Replace FRAME argument with FRAME_ID.
4890 * gdbarch.c, gdbarch.h: Regenerate.
4891 * findvar.c (default_value_from_register): Add GDBARCH argument;
4892 replace FRAME by FRAME_ID. No longer call get_frame_id.
4893 (value_from_register): Update call to gdbarch_value_from_register.
4894 * value.h (default_value_from_register): Update prototype.
4895 * s390-linux-tdep.c (s390_value_from_register): Update interface
4896 and call to default_value_from_register.
4897 * spu-tdep.c (spu_value_from_register): Likewise.
4898
4899 * findvar.c (address_from_register): Remove TYPE argument.
4900 Do not call value_from_register; use gdbarch_value_from_register
4901 with null_frame_id instead.
4902 * value.h (address_from_register): Update prototype.
4903 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4904 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4905 address_from_register interface change.
4906
4907 2014-04-17 Yao Qi <yao@codesourcery.com>
4908
4909 * gdbtypes.h: Update comments to link to types and macros'
4910 definitions.
4911
4912 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4913
4914 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4915
4916 2014-04-16 Keith Seitz <keiths@redhat.com>
4917
4918 PR gdb/15827
4919 * dwarf2read.c (skip_one_die): Check that all relative-offset
4920 sibling DIEs fall within range of the current reader's buffer.
4921 (read_partial_die): Likewise.
4922
4923 2014-04-16 Keith Seitz <keiths@redhat.com>
4924
4925 PR c++/16597
4926 * cp-namespace.c (lookup_symbol_file): If the type name of
4927 `this' is NULL, return immediately.
4928
4929 2014-04-14 Keith Seitz <keiths@redhat.com>
4930
4931 PR c++/16253
4932 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4933 from symbol_matches_domain in symtab.c. All local callers
4934 of symbol_matches_domain updated.
4935 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4936 search STRUCT_DOMAIN.
4937 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4938 independently. standard_lookup will do that automatically.
4939 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4940 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4941 (cp_lookup_symbol_in_namespace): Likewise.
4942 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4943 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4944 may return a STRUCT_DOMAIN match.
4945 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4946 * cp-support.c: Include language.h.
4947 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4948 VAR_DOMAIN.
4949 * psymtab.c (match_partial_symbol): Compare the requested
4950 domain with the symbol's domain directly.
4951 (lookup_partial_symbol): Likewise.
4952 * symtab.c (lookup_symbol_in_language): Explain when/why
4953 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4954 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4955 appropriate languages.
4956 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4957 and moved to ada-lang.c
4958 (lookup_block_symbol): Explain that this function only returns
4959 symbol matching the requested DOMAIN.
4960 Compare the requested domain with the symbol's domain directly.
4961 (iterate_over_symbols): Compare the requested domain with the
4962 symbol's domain directly.
4963 * symtab.h (symbol_matches_domain): Remove.
4964
4965 2014-04-14 Tom Tromey <tromey@redhat.com>
4966
4967 PR c++/15246:
4968 * c-exp.y (type_aggregate_p): New function.
4969 (qualified_name, classify_inner_name): Use it.
4970 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
4971 and TYPE_TARGET_TYPE of an enum type.
4972 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
4973 an enum type.
4974 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
4975 handle TYPE_DECLARED_CLASS.
4976 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
4977 types.
4978 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
4979 * valops.c (enum_constant_from_type): New function.
4980 (value_aggregate_elt): Use it.
4981 * cp-namespace.c (cp_lookup_nested_symbol): Handle
4982 TYPE_CODE_ENUM.
4983
4984 2014-04-14 Tom Tromey <tromey@redhat.com>
4985
4986 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
4987 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
4988 const.
4989 * value.h (value_aggregate_elt): Update.
4990
4991 2014-04-14 Tom Tromey <tromey@redhat.com>
4992
4993 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
4994
4995 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4996
4997 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4998 (evaluate_subexp_standard): Pass noside argument.
4999 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5000 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5001 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5002 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5003 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5004
5005 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5006
5007 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5008 points to a constant blob.
5009
5010 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5011
5012 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5013 property and store it as the high bound and flag the range accordingly.
5014 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5015 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5016 * gdbtypes.h (enum range_flags): New enum.
5017 (struct range_bounds): Add flags member.
5018
5019 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5020
5021 * c-typeprint.c (c_type_print_varspec_suffix): Added
5022 check for not yet resolved high bound. If unresolved, print
5023 "variable length" string to the console instead of random
5024 length.
5025
5026 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5027
5028 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5029 value.
5030 (ada_template_to_fixed_record_type_1): Likewise.
5031 (ada_to_fixed_type_1): Likewise.
5032 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5033 (cp_print_value): Likewise.
5034 * d-valprint.c (dynamic_array_type): Likewise.
5035 * findvar.c (address_of_variable): Likewise.
5036 * jv-valprint.c (java_value_print): Likewise.
5037 * valops.c (value_ind): Likewise.
5038 * value.c (coerce_ref): Likewise.
5039
5040 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5041
5042 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5043 value and retrieve the dynamic type size.
5044
5045 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5046
5047 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5048 passed to sizeof is dynamic evaluate the argument to compute the length.
5049
5050 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5051 Joel Brobecker <brobecker@adacore.com>
5052
5053 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5054 (dwarf2_evaluate_property): New function.
5055 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5056 * dwarf2read.c (attr_to_dynamic_prop): New function.
5057 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5058 attribute.
5059 * gdbtypes.c: Include dwarf2loc.h.
5060 (is_dynamic_type): New function.
5061 (resolve_dynamic_type): New function.
5062 (resolve_dynamic_bounds): New function.
5063 (get_type_length): New function.
5064 (check_typedef): Use get_type_length to compute type length.
5065 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5066 (TYPE_LOW_BOUND_KIND): New macro.
5067 (is_dynamic_type): New function prototype.
5068 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5069 to resolve dynamic properties of the type. Update comment.
5070 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5071
5072 2014-04-14 Richard Henderson <rth@redhat.com>
5073
5074 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5075
5076 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5077 Doug Evans <xdje42@gmail.com>
5078
5079 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5080 dereference TYPE_CODE_REF values.
5081
5082 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5083
5084 Revert the following changes due to regressions:
5085
5086 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5087 (dwarf2_evaluate_property): New function.
5088 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5089 * dwarf2read.c (attr_to_dynamic_prop): New function.
5090 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5091 attribute.
5092 * gdbtypes.c: Include dwarf2loc.h.
5093 (is_dynamic_type): New function.
5094 (resolve_dynamic_type): New function.
5095 (resolve_dynamic_bounds): New function.
5096 (get_type_length): New function.
5097 (check_typedef): Use get_type_length to compute type length.
5098 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5099 (TYPE_LOW_BOUND_KIND): New macro.
5100 (is_dynamic_type): New function prototype.
5101 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5102 to resolve dynamic properties of the type. Update comment.
5103 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5104
5105 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5106 passed to sizeof is dynamic evaluate the argument to compute the length.
5107
5108 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5109 value and retrieve the dynamic type size.
5110
5111 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5112 (ada_template_to_fixed_record_type_1): Likewise.
5113 (ada_to_fixed_type_1): Likewise.
5114 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5115 (cp_print_value): Likewise.
5116 * d-valprint.c (dynamic_array_type): Likewise.
5117 * eval.c (evaluate_subexp_with_coercion): Likewise.
5118 * findvar.c (address_of_variable): Likewise.
5119 * jv-valprint.c (java_value_print): Likewise.
5120 * valops.c (value_ind): Likewise.
5121 * value.c (coerce_ref): Likewise.
5122
5123 * c-typeprint.c (c_type_print_varspec_suffix): Added
5124 check for not yet resolved high bound. If unresolved, print
5125 "variable length" string to the console instead of random
5126 length.
5127
5128 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5129 property and store it as the high bound and flag the range accordingly.
5130 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5131 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5132 * gdbtypes.h (enum range_flags): New enum.
5133 (struct range_bounds): Add flags member.
5134
5135 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5136 points to a constant blob.
5137
5138 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5139 (evaluate_subexp_standard): Pass noside argument.
5140 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5141 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5142 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5143 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5144 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5145
5146 2014-04-11 Keith Seitz <keiths@redhat.com>
5147
5148 PR c++/16675
5149 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5150 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5151 reference types.
5152
5153 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5154
5155 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5156 (evaluate_subexp_standard): Pass noside argument.
5157 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5158 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5159 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5160 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5161 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5162
5163 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5164
5165 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5166 points to a constant blob.
5167
5168 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5169
5170 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5171 property and store it as the high bound and flag the range accordingly.
5172 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5173 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5174 * gdbtypes.h (enum range_flags): New enum.
5175 (struct range_bounds): Add flags member.
5176
5177 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5178
5179 * c-typeprint.c (c_type_print_varspec_suffix): Added
5180 check for not yet resolved high bound. If unresolved, print
5181 "variable length" string to the console instead of random
5182 length.
5183
5184 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5185
5186 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5187 (ada_template_to_fixed_record_type_1): Likewise.
5188 (ada_to_fixed_type_1): Likewise.
5189 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5190 (cp_print_value): Likewise.
5191 * d-valprint.c (dynamic_array_type): Likewise.
5192 * eval.c (evaluate_subexp_with_coercion): Likewise.
5193 * findvar.c (address_of_variable): Likewise.
5194 * jv-valprint.c (java_value_print): Likewise.
5195 * valops.c (value_ind): Likewise.
5196 * value.c (coerce_ref): Likewise.
5197
5198 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5199
5200 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5201 value and retrieve the dynamic type size.
5202
5203 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5204
5205 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5206 passed to sizeof is dynamic evaluate the argument to compute the length.
5207
5208 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5209
5210 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5211 (dwarf2_evaluate_property): New function.
5212 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5213 * dwarf2read.c (attr_to_dynamic_prop): New function.
5214 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5215 attribute.
5216 * gdbtypes.c: Include dwarf2loc.h.
5217 (is_dynamic_type): New function.
5218 (resolve_dynamic_type): New function.
5219 (resolve_dynamic_bounds): New function.
5220 (get_type_length): New function.
5221 (check_typedef): Use get_type_length to compute type length.
5222 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5223 (TYPE_LOW_BOUND_KIND): New macro.
5224 (is_dynamic_type): New function prototype.
5225 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5226 to resolve dynamic properties of the type. Update comment.
5227 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5228
5229 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5230
5231 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5232 declaring high/low bounds and change uses accordingly. Call
5233 create_range_type instead of create_static_range_type.
5234 * gdbtypes.c (create_range_type): New function.
5235 (create_range_type): Convert bounds into struct bound_prop and pass
5236 them to create_range_type.
5237 * gdbtypes.h (struct bound_prop): New struct.
5238 (create_range_type): New function prototype.
5239 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5240 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5241 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5242 part of the bound.
5243 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5244
5245 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5246
5247 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5248 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5249 * ada-lang.c: All uses of create_range_type updated.
5250 * coffread.c: All uses of create_range_type updated.
5251 * dwarf2read.c: All uses of create_range_type updated.
5252 * f-exp.y: All uses of create_range_type updated.
5253 * m2-valprint.c: All uses of create_range_type updated.
5254 * mdebugread.c: All uses of create_range_type updated.
5255 * stabsread.c: All uses of create_range_type updated.
5256 * valops.c: All uses of create_range_type updated.
5257 * valprint.c: All uses of create_range_type updated.
5258
5259 2014-04-10 Pedro Alves <palves@redhat.com>
5260
5261 * breakpoint.c (single_step_breakpoints)
5262 (single_step_gdbarch): Move up in the file.
5263 (one_breakpoint_xfer_memory): New function, factored out from ...
5264 (breakpoint_xfer_memory): ... here. Also process single-step
5265 breakpoints.
5266
5267 2014-04-09 Tristan Gingold <gingold@adacore.com>
5268
5269 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5270 comments.
5271 (darwin_decode_exception_message): Free port only after use.
5272
5273 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5274
5275 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5276 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5277 when setting the size of call_length.
5278
5279 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5280
5281 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5282 dereference TYPE_CODE_REF values.
5283
5284 2014-04-07 Joel Brobecker <brobecker@adacore.com>
5285
5286 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5287 end of warning message.
5288
5289 2014-04-03 Doug Evans <dje@google.com>
5290
5291 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5292 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5293
5294 2014-04-02 Alan Modra <amodra@gmail.com>
5295
5296 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5297 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5298 (struct symbol_file_add_from_memory_args): Add size field.
5299 (find_vdso_size): New function.
5300 (add_vsyscall_page): Attempt to find vdso size.
5301
5302 2014-04-01 Doug Evans <dje@google.com>
5303
5304 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5305
5306 2014-04-01 Tristan Gingold <gingold@adacore.com>
5307
5308 * darwin-nat.c (darwin_encode_reply): Add prototype.
5309 (darwin_decode_exception_message): Reply to unknown inferiors.
5310 (darwin_decode_message): Handle message by id. Ignore message
5311 to unknown inferior.
5312 (darwin_wait): Discard unknown messages, add debug trace.
5313
5314 2014-03-31 Doug Evans <dje@google.com>
5315
5316 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5317 comp_dir_string.
5318
5319 2014-03-31 Doug Evans <dje@google.com>
5320
5321 New option "set print symbol-loading".
5322 * NEWS: Mention it.
5323 * solib.c (solib_read_symbols): Only print symbol loading messages
5324 if requested.
5325 (solib_add): If symbol loading is in "brief" mode, notify user
5326 symbols are being loaded.
5327 (reload_shared_libraries_1): Ditto.
5328 * symfile.c (print_symbol_loading_off): New static global.
5329 (print_symbol_loading_brief): New static global.
5330 (print_symbol_loading_full): New static global.
5331 (print_symbol_loading_enums): New static global.
5332 (print_symbol_loading): New static global.
5333 (print_symbol_loading_p): New function.
5334 (symbol_file_add_with_addrs): Only print symbol loading messages
5335 if requested.
5336 (_initialize_symfile): Register "print symbol-loading" set/show
5337 command.
5338 * symfile.h (print_symbol_loading_p): Declare.
5339
5340 2014-03-30 Doug Evans <xdje42@gmail.com>
5341
5342 * infrun.c (set_last_target_status): New function.
5343 (handle_inferior_event): Call it.
5344
5345 2014-03-30 Doug Evans <xdje42@gmail.com>
5346
5347 * inferior.h (enum stop_kind): Improve comment.
5348
5349 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5350
5351 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5352 a reference, strip the reference layer before calling
5353 the lang_ops value_has_mutated callback.
5354
5355 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5356
5357 Remove some globals from our parser.
5358 * language.c (unk_lang_parser): Add "struct parser_state"
5359 argument.
5360 * language.h (struct language_defn) <la_parser>: Likewise.
5361 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5362 (initialize_expout): Add "struct parser_state" argument.
5363 Rewrite function to use the parser state.
5364 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5365 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5366 write_exp_elt_longcst, write_exp_elt_dblcst,
5367 write_exp_elt_decfloatcst, write_exp_elt_type,
5368 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5369 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5370 write_dollar_variable): Likewise.
5371 (parse_exp_in_context_1): Use parser state.
5372 (insert_type_address_space): Add "struct parser_state" argument.
5373 Use parser state.
5374 (increase_expout_size): New function.
5375 * parser-defs.h: Forward declare "struct language_defn" and
5376 "struct parser_state".
5377 (expout, expout_size, expout_ptr): Remove extern declarations.
5378 (parse_gdbarch, parse_language): Rewrite macro declarations to
5379 accept the parser state.
5380 (struct parser_state): New struct.
5381 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5382 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5383 write_exp_elt_decfloatcst, write_exp_elt_type,
5384 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5385 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5386 write_exp_msymbol, write_dollar_variable,
5387 mark_struct_expression, insert_type_address_space): Add "struct
5388 parser_state" argument.
5389 (increase_expout_size): New function.
5390 * utils.c (do_clear_parser_state): New function.
5391 (make_cleanup_clear_parser_state): Likewise.
5392 * utils.h (make_cleanup_clear_parser_state): New function
5393 prototype.
5394 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5395 Update calls to write_exp* in order to pass the parser state.
5396 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5397 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5398 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5399 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5400 * stap-probe.c (stap_parse_register_operand): Likewise.
5401 (stap_parse_single_operand): Likewise.
5402 (stap_parse_argument_1): Likewise.
5403 (stap_parse_argument): Use parser state.
5404 * stap-probe.h: Include "parser-defs.h".
5405 (struct stap_parse_info) <pstate>: New field.
5406 * c-exp.y (parse_type): Rewrite to use parser state.
5407 (yyparse): Redefine to c_parse_internal.
5408 (pstate): New global variable.
5409 (parse_number): Add "struct parser_state" argument.
5410 (write_destructor_name): Likewise.
5411 (type_exp): Update calls to write_exp* and similars in order to
5412 use parser state.
5413 (exp1, exp, variable, qualified_name, space_identifier,
5414 typename, typebase): Likewise.
5415 (write_destructor_name, parse_number, lex_one_token,
5416 classify_name, classify_inner_name, c_parse): Add "struct
5417 parser_state" argument. Update function to use parser state.
5418 * c-lang.h: Forward declare "struct parser_state".
5419 (c_parse): Add "struct parser_state" argument.
5420 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5421 (yyparse): Redefine macro to ada_parse_internal.
5422 (pstate): New variable.
5423 (write_int, write_object_renaming, write_var_or_type,
5424 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5425 type_int, type_long, type_long_long, type_float, type_double,
5426 type_long_double, type_char, type_boolean, type_system_address):
5427 Add "struct parser_state" argument.
5428 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5429 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5430 var_or_type, aggregate, aggregate_component_list,
5431 positional_list, others, component_group,
5432 component_associations): Update calls to write_exp* and similar
5433 functions in order to use parser state.
5434 (ada_parse, write_var_from_sym, write_int,
5435 write_exp_op_with_string, write_object_renaming,
5436 find_primitive_type, write_selectors, write_ambiguous_var,
5437 write_var_or_type, write_name_assoc, type_int, type_long,
5438 type_long_long, type_float, type_double, type_long_double,
5439 type_char, type_boolean, type_system_address): Add "struct
5440 parser_state" argument. Adjust function to use parser state.
5441 * ada-lang.c (parse): Likewise.
5442 * ada-lang.h: Forward declare "struct parser_state".
5443 (ada_parse): Add "struct parser_state" argument.
5444 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5445 calls to both functions.
5446 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5447 parser state.
5448 (yyparse): Redefine macro to f_parse_internal.
5449 (pstate): New variable.
5450 (parse_number): Add "struct parser_state" argument.
5451 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5452 and similars in order to use parser state.
5453 (parse_number): Adjust code to use parser state.
5454 (yylex): Likewise.
5455 (f_parse): New function.
5456 * f-lang.h: Forward declare "struct parser_state".
5457 (f_parse): Add "struct parser_state" argument.
5458 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5459 parser state.
5460 (yyparse): Redefine macro for java_parse_internal.
5461 (pstate): New variable.
5462 (push_expression_name, push_expression_name, insert_exp): Add
5463 "struct parser_state" argument.
5464 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5465 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5466 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5467 PostIncrementExpression, PostDecrementExpression,
5468 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5469 UnaryExpressionNotPlusMinus, CastExpression,
5470 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5471 RelationalExpression, EqualityExpression, AndExpression,
5472 ExclusiveOrExpression, InclusiveOrExpression,
5473 ConditionalAndExpression, ConditionalOrExpression,
5474 ConditionalExpression, Assignment, LeftHandSide): Update
5475 calls to write_exp* and similars in order to use parser state.
5476 (parse_number): Ajust code to use parser state.
5477 (yylex): Likewise.
5478 (java_parse): New function.
5479 (push_variable): Add "struct parser_state" argument. Adjust
5480 code to user parser state.
5481 (push_fieldnames, push_qualified_expression_name,
5482 push_expression_name, insert_exp): Likewise.
5483 * jv-lang.h: Forward declare "struct parser_state".
5484 (java_parse): Add "struct parser_state" argument.
5485 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5486 parser state.
5487 (yyparse): Redefine macro to m2_parse_internal.
5488 (pstate): New variable.
5489 (type_exp, exp, fblock, variable, type): Update calls to
5490 write_exp* and similars to use parser state.
5491 (yylex): Likewise.
5492 (m2_parse): New function.
5493 * m2-lang.h: Forward declare "struct parser_state".
5494 (m2_parse): Add "struct parser_state" argument.
5495 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5496 * objc-lang.h: Forward declare "struct parser_state".
5497 (end_msglist): Add "struct parser_state" argument.
5498 * p-exp.y (parse_type): Rewrite macro to use parser state.
5499 (yyparse): Redefine macro to pascal_parse_internal.
5500 (pstate): New variable.
5501 (parse_number): Add "struct parser_state" argument.
5502 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5503 write_exp* and similars in order to use parser state.
5504 (parse_number, yylex): Adjust code to use parser state.
5505 (pascal_parse): New function.
5506 * p-lang.h: Forward declare "struct parser_state".
5507 (pascal_parse): Add "struct parser_state" argument.
5508 * go-exp.y (parse_type): Rewrite macro to use parser state.
5509 (yyparse): Redefine macro to go_parse_internal.
5510 (pstate): New variable.
5511 (parse_number): Add "struct parser_state" argument.
5512 (type_exp, exp1, exp, variable, type): Update calls to
5513 write_exp* and similars in order to use parser state.
5514 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5515 to use parser state.
5516 (go_parse): Likewise.
5517 * go-lang.h: Forward declare "struct parser_state".
5518 (go_parse): Add "struct parser_state" argument.
5519
5520 2014-03-27 Doug Evans <dje@google.com>
5521
5522 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5523
5524 2014-03-27 Doug Evans <dje@google.com>
5525
5526 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5527 Remove argument abbrev_section. All callers updated.
5528
5529 2014-03-27 Doug Evans <dje@google.com>
5530
5531 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5532 addr_base, ranges_base.
5533
5534 2014-03-26 Keith Seitz <keiths@redhat.com>
5535
5536 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5537 types, not VAR_DOMAIN.
5538
5539 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5540
5541 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5542 "ra" registers.
5543 * features/nios2-linux.c: Regenerated.
5544 * features/nios2.c: Regenerated.
5545
5546 2014-03-25 Pedro Alves <palves@redhat.com>
5547
5548 * cli/cli-script.c (script_from_file): Force the interpreter to
5549 sync mode.
5550
5551 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5552
5553 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5554 small stack allocation.
5555
5556 2014-03-24 Tristan Gingold <gingold@adacore.com>
5557
5558 * darwin-nat.c (exc_server): Remove unused prototype.
5559 (darwin_dump_message): Correctly display data on x86_64.
5560 (darwin_encode_reply): Fix style.
5561 Add comments and fix indentation.
5562
5563 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5564
5565 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5566
5567 2014-03-22 Doug Evans <xdje42@gmail.com>
5568
5569 * infcmd.c: Whitespace fixes.
5570 (interrupt_command): Merge two function comments into one.
5571
5572 2014-03-22 Doug Evans <xdje42@gmail.com>
5573
5574 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5575 All uses updated.
5576
5577 2014-03-22 Yao Qi <yao@codesourcery.com>
5578
5579 * remote.c (target_read_live_memory): Remove.
5580 (memory_xfer_live_readonly_partial): Rename it to
5581 remote_xfer_live_readonly_partial. Remove argument 'object'.
5582 All callers updated. Call remote_read_bytes_1
5583 instead of target_read_live_memory.
5584 * tracepoint.c (set_traceframe_number): Remove.
5585 (make_cleanup_restore_traceframe_number): Likewise .
5586 * tracepoint.h (set_traceframe_number): Remove declaration.
5587 (make_cleanup_restore_traceframe_number): Likewise.
5588
5589 2014-03-22 Yao Qi <yao@codesourcery.com>
5590
5591 * remote.c (remote_read_bytes): Move code on reading from the
5592 remote stub to ...
5593 (remote_read_bytes_1): ... here. New function.
5594
5595 2014-03-22 Yao Qi <yao@codesourcery.com>
5596
5597 * ctf.c (ctf_xfer_partial): Check the return value of
5598 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5599 return TARGET_XFER_UNAVAILABLE.
5600 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5601 * target.c (target_read_live_memory): Move it to remote.c.
5602 (memory_xfer_live_readonly_partial): Likewise.
5603 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5604 * remote.c (target_read_live_memory): Moved from target.c.
5605 (memory_xfer_live_readonly_partial): Likewise.
5606 (remote_read_bytes): Factored out from
5607 memory_xfer_partial_1.
5608
5609 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5610
5611 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5612 NULL pointer.
5613
5614 2014-03-21 Pedro Alves <palves@redhat.com>
5615
5616 * infrun.c (normal_stop): Extend comment.
5617
5618 2014-03-21 Hui Zhu <hui@codesourcery.com>
5619 Pedro Alves <palves@redhat.com>
5620
5621 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5622 static buffer.
5623 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5624 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5625 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5626
5627 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5628
5629 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5630 `z' formatted output modifier.
5631
5632 2014-03-20 Tom Tromey <tromey@redhat.com>
5633 Sergio Durigan Junior <sergiodj@redhat.com>
5634
5635 * probe.c (parse_probes): Turn assert into an ordinary error.
5636 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5637 exceptions when parsing probes. Rearrange the code for clarity.
5638
5639 2014-03-20 Tom Tromey <tromey@redhat.com>
5640
5641 PR gdb/14135
5642 * top.c (execute_command): Only dispatch events if the command
5643 started the target.
5644
5645 2014-03-20 Tom Tromey <tromey@redhat.com>
5646
5647 PR cli/15718
5648 * infcall.c: Include event-top.h.
5649 (run_inferior_call): Call async_disable_stdin if needed.
5650
5651 2014-03-20 Pedro Alves <palves@redhat.com>
5652
5653 * infrun.c (prepare_to_proceed): Delete.
5654 (thread_still_needs_step_over): New function.
5655 (find_thread_needs_step_over): New function.
5656 (proceed): If the current thread needs a step-over, set its
5657 steping_over_breakpoint flag. Adjust to use
5658 find_thread_needs_step_over instead of prepare_to_proceed.
5659 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5660 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5661 breakpoint.
5662 (switch_back_to_stepped_thread): Step over breakpoints of all
5663 threads not the stepping thread, before switching back to the
5664 stepping thread.
5665
5666 2014-03-20 Pedro Alves <palves@redhat.com>
5667
5668 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5669 extern.
5670 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5671 * infrun.c (saved_singlestep_ptid)
5672 (stepping_past_singlestep_breakpoint): Delete.
5673 (resume): Remove stepping_past_singlestep_breakpoint handling.
5674 (proceed): Store the prev_pc of the stepping thread too.
5675 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5676 singlestep_pc.
5677 (enum infwait_states): Delete infwait_thread_hop_state.
5678 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5679 field.
5680 (handle_inferior_event): Adjust.
5681 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5682 handling and the thread-hop code. Before removing single-step
5683 breakpoints, check whether the thread hit a single-step breakpoint
5684 of another thread. If it did, the trap is not a random signal.
5685 (switch_back_to_stepped_thread): If the event thread hit a
5686 single-step breakpoint, unblock it before switching to the
5687 stepping thread. Handle the case of the stepped thread having
5688 advanced already.
5689 (keep_going): Handle the case of the current thread moving past a
5690 single-step breakpoint.
5691
5692 2014-03-20 Pedro Alves <palves@redhat.com>
5693
5694 PR breakpoints/7143
5695 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5696 are being stepped over.
5697 (breakpoint_address_match): Make extern.
5698 * breakpoint.h (breakpoint_address_match): New declaration.
5699 * inferior.h (stepping_past_instruction_at): New declaration.
5700 * infrun.c (struct step_over_info): New type.
5701 (step_over_info): New global.
5702 (set_step_over_info, clear_step_over_info)
5703 (stepping_past_instruction_at): New functions.
5704 (handle_inferior_event): Clear the step-over info when
5705 trap_expected is cleared.
5706 (resume): Remove now stale comment.
5707 (clear_proceed_status): Clear step-over info.
5708 (proceed): Adjust step-over handling to set or clear the step-over
5709 info instead of removing all breakpoints.
5710 (handle_signal_stop): When setting up a thread-hop, don't remove
5711 breakpoints here.
5712 (stop_stepping): Clear step-over info.
5713 (keep_going): Adjust step-over handling to set or clear step-over
5714 info and then always inserting breakpoints, instead of removing
5715 all breakpoints when stepping over one.
5716
5717 2014-03-20 Pedro Alves <palves@redhat.com>
5718
5719 * infrun.c (previous_inferior_ptid): Adjust comment.
5720 (deferred_step_ptid): Delete.
5721 (infrun_thread_ptid_changed, prepare_to_proceed)
5722 (init_wait_for_inferior): Adjust.
5723 (handle_signal_stop): Delete deferred_step_ptid handling.
5724
5725 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 PR gdb/15358
5728 * defs.h (sync_quit_force_run): New declaration.
5729 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5730 * event-top.c (async_sigterm_handler): New declaration.
5731 (async_sigterm_token): New variable.
5732 (async_init_signals): Create also async_sigterm_token.
5733 (async_sigterm_handler): New function.
5734 (sync_quit_force_run): New variable.
5735 (handle_sigterm): Replace quit_force call by other calls.
5736 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5737
5738 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5739
5740 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5741 offset into SPE pseudo registers.
5742
5743 2014-03-18 Pedro Alves <palves@redhat.com>
5744
5745 PR gdb/13860
5746 * inferior.h (print_stop_event): Declare.
5747 * infrun.c (print_stop_event): New, factored out from ...
5748 (normal_stop): ... this.
5749 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5750 of bpstat_print/print_stack_frame.
5751
5752 2014-03-17 Tom Tromey <tromey@redhat.com>
5753
5754 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5755
5756 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5757
5758 * ada-lang.c (decode_constrained_packed_array): Perform a
5759 minimal coercion for reference with coerce_ref instead of
5760 ada_coerce_ref.
5761
5762 2014-03-17 Tristan Gingold <gingold@adacore.com>
5763
5764 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5765 (darwin_solib_create_inferior_hook): Emit a warning if version
5766 is unhandled.
5767
5768 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5769
5770 * python/py-value.c (get_field_flag): Cast flag_name argument to
5771 PyObject_GetAttrString to support Python 2.4.
5772
5773 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5774
5775 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5776 (Global Maintainers): Remove Jan Kratochvil.
5777
5778 2014-03-14 Pedro Alves <palves@redhat.com>
5779
5780 * inferior.h (terminal_ours_for_output): Rename to ...
5781 (child_terminal_ours_for_output): ... this.
5782 (terminal_save_ours): Rename to ...
5783 (child_terminal_save_ours): ... this.
5784 (terminal_ours): Rename to ...
5785 (child_terminal_ours): ... this.
5786 (terminal_inferior): Rename to ...
5787 (child_terminal_inferior): ... this.
5788 (terminal_init_inferior): Rename to ...
5789 (child_terminal_init_inferior): ... this.
5790 (terminal_init_inferior_with_pgrp): Rename to ...
5791 (child_terminal_init_inferior_with_pgrp): ... this.
5792 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5793 (child_terminal_init_with_pgrp): ... this.
5794 (terminal_save_ours): Rename to ...
5795 (child_terminal_save_ours): ... this.
5796 (terminal_init_inferior): Rename to ...
5797 (child_terminal_init): ... this. Adjust.
5798 (terminal_inferior): Rename to ...
5799 (child_terminal_inferior): ... this.
5800 (terminal_ours_for_output): Rename to ...
5801 (child_terminal_ours_for_output): ... this. Adjust.
5802 (terminal_ours): Rename to ...
5803 (child_terminal_ours): ... this.
5804 (terminal_ours_1): Rename to ...
5805 (child_terminal_ours_1): ... this. Adjust.
5806 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5807 * windows-nat.c (do_initial_windows_stuff): Adjust.
5808 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5809 (gnu_terminal_init): ... this. Adjust.
5810 (gnu_target): Adjust.
5811 * inf-child.c (inf_child_target): Adjust.
5812
5813 2014-03-13 Doug Evans <xdje42@gmail.com>
5814
5815 PR guile/16612
5816 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5817 new eq?-hashtab.
5818
5819 2014-03-13 Doug Evans <xdje42@gmail.com>
5820
5821 * value.c (record_latest_value): Call release_value_or_incref
5822 instead of release_value.
5823
5824 2014-03-13 Pedro Alves <palves@redhat.com>
5825
5826 * procfs.c (procfs_target): Don't override to_shortname,
5827 to_longname or to_doc.
5828
5829 2014-03-13 Pedro Alves <palves@redhat.com>
5830
5831 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5832 Unix in user visible strings.
5833
5834 2014-03-12 Stan Shebs <stan@codesourcery.com>
5835
5836 * gdbtypes.h: Annotate comments for Doxygen, add a page
5837 block comment with some general info.
5838
5839 2014-03-12 Pedro Alves <palves@redhat.com>
5840
5841 * infcmd.c (prepare_execution_command): New function, factored out
5842 from several execution commands.
5843 (run_command_1, continue_command, step_1, jump_command)
5844 (signal_command, until_command, advance_command, finish_command)
5845 (attach_command): Use prepare_execution_command.
5846
5847 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
5848
5849 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5850 (MAX_BPTS): Define.
5851 (MAX_WPTS): Define.
5852 (struct arm_linux_thread_points): Removed.
5853 (struct arm_linux_process_info): New.
5854 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5855 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5856 (arm_linux_find_breakpoints_by_tid): Removed.
5857 (struct arch_lwp_info): New.
5858 (arm_linux_find_process_pid): New functions.
5859 (arm_linux_add_process): New functions.
5860 (arm_linux_process_info_get): New functions.
5861 (arm_linux_forget_process): New function.
5862 (arm_linux_get_debug_reg_state): New function.
5863 (struct update_registers_data): New.
5864 (update_registers_callback): New function.
5865 (arm_linux_insert_hw_breakpoint1): Updated.
5866 (arm_linux_remove_hw_breakpoint1): Updated.
5867 (arm_linux_insert_hw_breakpoint): Updated.
5868 (arm_linux_remove_hw_breakpoint): Updated.
5869 (arm_linux_insert_watchpoint): Updated.
5870 (arm_linux_remove_watchpoint): Updated.
5871 (arm_linux_new_thread): Updated.
5872 (arm_linux_prepare_to_resume): New function.
5873 (arm_linux_new_fork): New function.
5874 (_initialize_arm_linux_nat): Updated.
5875
5876 2014-03-12 Pedro Alves <palves@redhat.com>
5877
5878 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5879
5880 2014-03-12 Tom Tromey <tromey@redhat.com>
5881
5882 * inf-child.c (return_zero): New function.
5883 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5884 * aix-thread.c (aix_thread_inferior_created): New function.
5885 (aix_thread_attach): Remove.
5886 (init_aix_thread_ops): Don't set to_attach.
5887 (_initialize_aix_thread): Register inferior_created observer.
5888 * corelow.c (init_core_ops): Don't set to_attach or
5889 to_create_inferior.
5890 * exec.c (init_exec_ops): Don't set to_attach or
5891 to_create_inferior.
5892 * infcmd.c (run_command_1): Use find_run_target. Make direct
5893 target calls.
5894 (attach_command): Use find_attach_target. Make direct target
5895 calls.
5896 * record-btrace.c (init_record_btrace_ops): Don't set
5897 to_create_inferior.
5898 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5899 Remove.
5900 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5901 set to_create_inferior.
5902 * target.c (complete_target_initialization): Add assertion.
5903 (target_create_inferior): Remove.
5904 (find_default_attach, find_default_create_inferior): Remove.
5905 (find_attach_target, find_run_target): New functions.
5906 (find_default_is_async_p, find_default_can_async_p)
5907 (target_supports_non_stop, target_attach): Remove.
5908 (init_dummy_target): Don't set to_create_inferior or
5909 to_supports_non_stop.
5910 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5911 TARGET_DEFAULT_FUNC.
5912 <to_create_inferior>: Add comment.
5913 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5914 TARGET_DEFAULT_RETURN.
5915 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5916 (find_attach_target, find_run_target): Declare.
5917 (target_create_inferior): Remove.
5918 (target_has_execution_1): Update comment.
5919 (target_supports_non_stop): Remove.
5920 * target-delegates.c: Rebuild.
5921
5922 2014-03-12 Pedro Alves <palves@redhat.com>
5923
5924 * inf-child.h: Update comment to not mention Unix.
5925
5926 2014-03-12 Pedro Alves <palves@redhat.com>
5927
5928 * inf-child.c: Update top comment to not mention Unix. Add
5929 generic comment describing how this target is meant to be used.
5930 (inf_child_post_attach, inf_child_post_startup_inferior)
5931 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5932 Unix in comment.
5933
5934 2014-03-12 Pedro Alves <palves@redhat.com>
5935
5936 * nto-procfs.c: Include inf-child.h.
5937 (procfs_ops): Delete global.
5938 (procfs_can_run): Delete method.
5939 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
5940 target pointer instead of referencing procfs_ops.
5941 (procfs_prepare_to_store): Delete.
5942 (init_procfs_ops): Delete function.
5943 (procfs_target): New function, based on init_procfs_ops, but
5944 inherit inf_child_target.
5945 (_initialize_procfs): Use procfs_target.
5946
5947 2014-03-12 Pedro Alves <palves@redhat.com>
5948
5949 * windows-nat.c: Include inf-child.h.
5950 (windows_ops): Delete global.
5951 (windows_open, windows_prepare_to_store, windows_can_run): Delete
5952 methods.
5953 (init_windows_ops): Delete function.
5954 (windows_target): New function, based on init_windows_ops, but
5955 inherit inf_child_target.
5956 (_initialize_windows_nat): Use windows_target. Install x86
5957 specific target methods here.
5958
5959 2014-03-10 Doug Evans <xdje42@gmail.com>
5960
5961 * guile/guile.c (call_initialize_gdb_module): New function.
5962 (initialize_guile): Replace call to scm_init_guile with call to
5963 scm_with_guile.
5964
5965 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5966
5967 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
5968 in call to TYPE_CODE macro.
5969
5970 2014-03-10 Jerome Guitton <guitton@adacore.com>
5971
5972 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
5973 Resolve tagged types to full view.
5974
5975 2014-03-10 Hui Zhu <hui@codesourcery.com>
5976
5977 * target.h (target_insert_breakpoint): Remove "hardware" from its
5978 comments.
5979
5980 2014-03-07 Doug Evans <dje@google.com>
5981
5982 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
5983
5984 2014-03-07 Doug Evans <dje@google.com>
5985
5986 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
5987 Remove unused local comp_dir_attr. Assert exactly one of
5988 stub_comp_unit_die, stub_comp_dir is non-NULL.
5989
5990 2014-03-07 Joel Brobecker <brobecker@adacore.com>
5991
5992 * target.h (complete_target_initialization, add_target):
5993 Add comment.
5994
5995 2014-03-07 Pedro Alves <palves@redhat.com>
5996
5997 * go32-nat.c: Include inf-child.h.
5998 (go32_ops): Delete global.
5999 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6000 Delete methods.
6001 (go32_create_inferior): Push the passed in target pointer instead
6002 of referencing go32_ops.
6003 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6004 (go32_target): New function, based on init_go32_ops, but inherit
6005 inf_child_target.
6006 (_initialize_go32_nat): Use go32_target. Move parts of
6007 init_go32_ops here.
6008
6009 2014-03-06 Joel Brobecker <brobecker@adacore.com>
6010
6011 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6012 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6013 SYMBOL_VALUE_ADDRESS.
6014 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6015
6016 2014-03-06 Yao Qi <yao@codesourcery.com>
6017
6018 * breakpoint.c (get_tracepoint_by_number): Remove argument
6019 optional_p. All callers updated. Adjust comments. Update
6020 output message.
6021 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6022
6023 2014-03-06 Yao Qi <yao@codesourcery.com>
6024
6025 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6026 early if get_number returns zero. Use 'p' instead of 'args'.
6027
6028 2014-03-06 Yao Qi <yao@codesourcery.com>
6029
6030 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6031 message.
6032
6033 2014-03-06 Yao Qi <yao@codesourcery.com>
6034
6035 PR breakpoints/16508
6036 * tracepoint.c (check_trace_running): New function.
6037 (trace_find_command): Move code to check_trace_running and
6038 call check_trace_running.
6039 (trace_find_pc_command): Likewise.
6040 (trace_find_tracepoint_command): Likewise.
6041 (trace_find_line_command): Likewise.
6042 (trace_find_range_command): Likewise.
6043 * tracepoint.h (check_trace_running): Likewise.
6044 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6045
6046 2014-03-06 Yao Qi <yao@codesourcery.com>
6047
6048 * target.h (struct target_ops) <to_traceframe_info>: Use
6049 TARGET_DEFAULT_NORETURN (tcomplain ()).
6050 * target-delegates.c: Regenerated.
6051
6052 2014-03-05 Pedro Alves <palves@redhat.com>
6053
6054 PR gdb/16575
6055 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6056 void. Update comment.
6057 (dcache_xfer_memory): Delete.
6058 (dcache_read_memory_partial): New, based on the read bits of
6059 dcache_xfer_memory.
6060 (dcache_update): Add status parameter. Use ULONGEST for len, and
6061 adjust. Discard cache lines if the reason for the update was
6062 error.
6063 * dcache.h (dcache_xfer_memory): Delete declaration.
6064 (dcache_read_memory_partial): New declaration.
6065 (dcache_update): Update prototype.
6066 * target.c (raw_memory_xfer_partial): Update the dcache here.
6067 (memory_xfer_partial_1): Don't handle dcache writes here.
6068
6069 2014-03-05 Mike Frysinger <vapier@gentoo.org>
6070
6071 * remote-sim.c (gdbsim_load): Add const to prog.
6072
6073 2014-03-03 Tom Tromey <tromey@redhat.com>
6074
6075 * elfread.c (probe_key): Change to bfd_data.
6076 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6077 now per-BFD, not per-objfile.
6078 * stap-probe.c (stap_probe_destroy): Update comment.
6079 (handle_stap_probe): Allocate on the per-BFD obstack.
6080
6081 2014-03-03 Tom Tromey <tromey@redhat.com>
6082
6083 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6084 * breakpoint.c (create_longjmp_master_breakpoint): Use
6085 get_probe_address.
6086 (add_location_to_breakpoint, bkpt_probe_insert_location)
6087 (bkpt_probe_remove_location): Update.
6088 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6089 * elfread.c (elf_symfile_relocate_probe): Remove.
6090 (elf_probe_fns): Update.
6091 (insert_exception_resume_breakpoint): Change type of "probe"
6092 parameter to bound_probe.
6093 (check_exception_resume): Update.
6094 * objfiles.c (objfile_relocate1): Don't relocate probes.
6095 * probe.c (bound_probe_s): New typedef.
6096 (parse_probes): Use get_probe_address. Set sal's objfile.
6097 (find_probe_by_pc): Return a bound_probe.
6098 (collect_probes): Return a VEC(bound_probe_s).
6099 (compare_probes): Update.
6100 (gen_ui_out_table_header_info): Change type of "probes"
6101 parameter. Update.
6102 (info_probes_for_ops): Update.
6103 (get_probe_address): New function.
6104 (probe_safe_evaluate_at_pc): Update.
6105 * probe.h (struct probe_ops) <get_probe_address>: New field.
6106 <set_semaphore, clear_semaphore>: Add objfile parameter.
6107 (struct probe) <objfile>: Remove field.
6108 <arch>: New field.
6109 <address>: Update comment.
6110 (struct bound_probe): New.
6111 (find_probe_by_pc): Return a bound_probe.
6112 (get_probe_address): Declare.
6113 * solib-svr4.c (struct probe_and_action) <address>: New field.
6114 (hash_probe_and_action, equal_probe_and_action): Update.
6115 (register_solib_event_probe): Add address parameter.
6116 (solib_event_probe_at): Update.
6117 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6118 get_probe_address.
6119 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6120 (stap_get_probe_address): New function.
6121 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6122 (compile_probe_arg): Update.
6123 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6124 address.
6125 (handle_stap_probe): Don't relocate the probe.
6126 (stap_relocate): Remove.
6127 (stap_gen_info_probes_table_values): Update.
6128 (stap_probe_ops): Remove stap_relocate.
6129 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6130 (debug_sym_probe_fns): Update.
6131 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6132 * symtab.c (init_sal): Use memset.
6133 * symtab.h (struct symtab_and_line) <objfile>: New field.
6134 * tracepoint.c (start_tracing, stop_tracing): Update.
6135
6136 2014-03-03 Tom Tromey <tromey@redhat.com>
6137
6138 * probe.h (parse_probes, find_probe_by_pc)
6139 (find_probes_in_objfile): Fix comments.
6140
6141 2014-03-02 Doug Evans <xdje42@gmail.com>
6142
6143 * infrun.c (handle_signal_stop): Replace test for
6144 TARGET_WAITKIND_STOPPED with an assert.
6145
6146 2014-03-02 Doug Evans <xdje42@gmail.com>
6147
6148 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6149
6150 2014-03-02 Doug Evans <xdje42@gmail.com>
6151
6152 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6153
6154 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6155
6156 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6157
6158 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6159
6160 * i386obsd-nat.c: Include "obsd-nat.h".
6161 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6162 add_target.
6163 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6164
6165 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6166
6167 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6168
6169 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6170
6171 * mips64obsd-nat.c: Include "obsd-nath".
6172 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6173 add_target
6174 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6175
6176 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6177
6178 * amd64obsd-nat.c: Include "obsd-nat,h.
6179 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6180 add_target.
6181 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6182
6183 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6184
6185 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6186 (find_overload_match): Update call to find_oload_champ.
6187 (find_oload_champ_namespace_loop): Likewise
6188
6189 2014-02-28 Mark Kettenis <kettenis@gnu.org>
6190
6191 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6192
6193 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6194 * config/sparc/obsd64.mh: New file.
6195 * sparc64obsd-nat.c: New file.
6196
6197 * obsd-nat.h: New file.
6198 * obsd-nat.c: New file.
6199 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6200 (ALLDEPFILES): Add obsd-nat.c.
6201
6202 2014-02-28 Tom Tromey <tromey@redhat.com>
6203
6204 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6205 * cli-out.h (cli_ui_out_impl): Now const.
6206 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6207 * ui-out.c (struct ui_out) <impl>: Now const.
6208 (default_ui_out_impl): Now const.
6209 (ui_out_new): Make 'impl' parameter const.
6210 * ui-out.h (ui_out_new): Update.
6211
6212 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6213
6214 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6215
6216 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6217
6218 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6219
6220 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6221
6222 Additional PR 8882 fix.
6223 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6224
6225 2014-02-27 Pedro Alves <palves@redhat.com>
6226
6227 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6228 isn't set.
6229
6230 2014-02-27 Pedro Alves <palves@redhat.com>
6231
6232 PR 12702
6233 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6234 * nat/linux-waitpid.c: Include string.h.
6235 (status_to_str): Moved here and made extern.
6236 * nat/linux-waitpid.h (status_to_str): New declaration.
6237
6238 2014-02-27 Hui Zhu <hui@codesourcery.com>
6239
6240 PR 12702
6241 * infrun.c (ptid_match): Move ...
6242 * common/ptid.c (ptid_match): ... here.
6243 * inferior.h (ptid_match): Move ...
6244 * common/ptid.h (ptid_match): ... here.
6245
6246 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6247
6248 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6249 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6250 gdb_target_obs.
6251
6252 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6253
6254 * obsd-tdep.c (obsd_auxv_parse): New function.
6255 (obsd_init_abi): Set auxv_parse.
6256
6257 * gdbarch.sh (auxv_parse): New.
6258 * gdbarch.h: Regenerated.
6259 * gdbarch.c: Regenerated.
6260 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6261
6262 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6263
6264 * guile/scm-value.c (gdbscm_history_append_x): New function.
6265 (value_functions): Add it.
6266
6267 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6268
6269 * dwarf2read.c (attr_value_as_address): New function.
6270 (dwarf2_find_base_address, read_call_site_scope): Use
6271 attr_value_as_address in place of DW_ADDR.
6272 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6273 the low and high addresses. Slight rework of the handling
6274 of the high pc being a constant form, and limit it to
6275 DWARF verson 4 or higher.
6276 (dwarf2_record_block_ranges): Likewise.
6277 (read_partial_die): Likewise.
6278 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6279
6280 2014-02-26 Tom Tromey <tromey@redhat.com>
6281
6282 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6283
6284 2014-02-26 Tom Tromey <tromey@redhat.com>
6285
6286 * elfread.c (elf_read_minimal_symbols): Return early if
6287 minimal symbols have already been read. Add "ei" parameter.
6288 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6289 * minsyms.c (prim_record_minimal_symbol_full): Update.
6290 * objfiles.h (struct objstats) <n_minsyms>: Move...
6291 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6292 * symmisc.c (print_objfile_statistics): Update.
6293
6294 2014-02-26 Tom Tromey <tromey@redhat.com>
6295
6296 * elfread.c (elf_read_minimal_symbols): New function, from
6297 elf_symfile_read.
6298 (elf_symfile_read): Call it.
6299
6300 2014-02-26 Tom Tromey <tromey@redhat.com>
6301
6302 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6303 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6304 (lookup_minimal_symbol_solib_trampoline)
6305 (lookup_minimal_symbol_by_pc_section_1)
6306 (lookup_minimal_symbol_and_objfile): Update.
6307 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6308 Don't allocate a minimal symbol if minsyms have already been read.
6309 (build_minimal_symbol_hash_tables): Update.
6310 (install_minimal_symbols): Do nothing if minsyms already read.
6311 Use the per-BFD obstack.
6312 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6313 * objfiles.c (allocate_objfile): Call
6314 terminate_minimal_symbol_table later.
6315 (have_minimal_symbols): Update.
6316 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6317 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6318 Move from struct objfile.
6319 <minsyms_read>: New field.
6320 (struct objfile) <msymbols, minimal_symbol_count,
6321 msymbol_hash, msymbol_demangled_hash>: Move.
6322 (ALL_OBJFILE_MSYMBOLS): Update.
6323 * symfile.c (read_symbols): Set minsyms_read.
6324 (reread_symbols): Update.
6325 * symmisc.c (dump_objfile, dump_msymbols): Update.
6326
6327 2014-02-26 Tom Tromey <tromey@redhat.com>
6328
6329 * minsyms.c (msymbols_sort): Remove.
6330 * minsyms.h (msymbols_sort): Remove.
6331 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6332 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6333 * elfread.c (elf_symtab_read): Don't add section offsets.
6334 * xcoffread.c (record_minimal_symbol): Don't add section offset
6335 to minimal symbol address.
6336 * somread.c (text_offset, data_offset): Remove.
6337 (som_symtab_read): Don't add section offsets to minimal symbol
6338 addresses.
6339 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6340 Don't add section offsets to minimal symbols.
6341 * coffread.c (coff_symtab_read): Don't add section offsets
6342 to minimal symbol addresses.
6343 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6344 to minimal symbol addresses.
6345 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6346 section offset to minimal symbol addresses.
6347 * mdebugread.c (parse_partial_symbols): Don't add section
6348 offset to minimal symbol addresses.
6349 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6350 offset to minimal symbol addresses.
6351
6352 2014-02-26 Tom Tromey <tromey@redhat.com>
6353
6354 * ada-lang.c (ada_main_name): Update.
6355 (ada_add_standard_exceptions): Update.
6356 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6357 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6358 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6359 * auxv.c (ld_so_xfer_auxv): Update.
6360 * avr-tdep.c (avr_scan_prologue): Update.
6361 * ax-gdb.c (gen_var_ref): Update.
6362 * blockframe.c (get_pc_function_start)
6363 (find_pc_partial_function_gnu_ifunc): Update.
6364 * breakpoint.c (create_overlay_event_breakpoint)
6365 (create_longjmp_master_breakpoint)
6366 (create_std_terminate_master_breakpoint)
6367 (create_exception_master_breakpoint): Update.
6368 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6369 * c-valprint.c (c_val_print): Update.
6370 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6371 * common/agent.c (agent_look_up_symbols): Update.
6372 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6373 * dwarf2loc.c (call_site_to_target_addr): Update.
6374 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6375 * elfread.c (elf_gnu_ifunc_record_cache)
6376 (elf_gnu_ifunc_resolve_by_got): Update.
6377 * findvar.c (default_read_var_value): Update.
6378 * frame.c (inside_main_func): Update.
6379 * frv-tdep.c (frv_frame_this_id): Update.
6380 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6381 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6382 Update.
6383 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6384 (hppa_hpux_find_dummy_bpaddr): Update.
6385 * hppa-tdep.c (hppa_symbol_address): Update.
6386 * infcmd.c (until_next_command): Update.
6387 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6388 Update.
6389 * linespec.c (minsym_found, add_minsym): Update.
6390 * linux-nat.c (get_signo): Update.
6391 * linux-thread-db.c (inferior_has_bug): Update.
6392 * m32c-tdep.c (m32c_return_value)
6393 (m32c_m16c_address_to_pointer): Update.
6394 * m32r-tdep.c (m32r_frame_this_id): Update.
6395 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6396 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6397 * maint.c (maintenance_translate_address): Update.
6398 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6399 (frob_address): New function.
6400 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6401 frob_address. Rename parameter to "pc_in".
6402 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6403 addresses.
6404 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6405 Update.
6406 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6407 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6408 * objc-lang.c (find_objc_msgsend): Update.
6409 * objfiles.c (objfile_relocate1): Update.
6410 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6411 * p-valprint.c (pascal_val_print): Update.
6412 * parse.c (write_exp_msymbol): Update.
6413 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6414 (ppc_elfv2_skip_entrypoint): Update.
6415 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6416 * printcmd.c (build_address_symbolic, msym_info)
6417 (address_info): Update.
6418 * proc-service.c (ps_pglobal_lookup): Update.
6419 * psymtab.c (find_pc_sect_psymtab_closer)
6420 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6421 Change msymbol parameter to bound_minimal_symbol.
6422 * ravenscar-thread.c (get_running_thread_id): Update.
6423 * remote.c (remote_check_symbols): Update.
6424 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6425 address.
6426 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6427 * solib-dsbt.c (lm_base): Update.
6428 * solib-frv.c (lm_base, main_got): Update.
6429 * solib-irix.c (locate_base): Update.
6430 * solib-som.c (som_solib_create_inferior_hook)
6431 (link_map_start): Update.
6432 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6433 * solib-svr4.c (elf_locate_base, enable_break): Update.
6434 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6435 (flush_ea_cache): Update.
6436 * stabsread.c (define_symbol, scan_file_globals): Update.
6437 * stack.c (find_frame_funname): Update.
6438 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6439 (debug_qf_find_pc_sect_symtab): Update.
6440 * symfile.c (simple_read_overlay_table)
6441 (simple_overlay_update): Update.
6442 * symfile.h (struct quick_symbol_functions)
6443 <find_pc_sect_symtab>: Change type of msymbol to
6444 bound_minimal_symbol.
6445 * symmisc.c (dump_msymbols): Update.
6446 * symtab.c (find_pc_sect_symtab_via_partial)
6447 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6448 (search_symbols, print_msymbol_info): Update.
6449 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6450 (MSYMBOL_VALUE_ADDRESS): Redefine.
6451 (BMSYMBOL_VALUE_ADDRESS): New macro.
6452 * tracepoint.c (scope_info): Update.
6453 * tui/tui-disasm.c (tui_find_disassembly_address)
6454 (tui_get_begin_asm_address): Update.
6455 * valops.c (find_function_in_inferior): Update.
6456 * value.c (value_static_field, value_fn_field): Update.
6457
6458 2014-02-26 Tom Tromey <tromey@redhat.com>
6459
6460 * ada-lang.c (ada_update_initial_language): Update.
6461 (ada_main_name, ada_has_this_exception_support): Update.
6462 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6463 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6464 * arm-tdep.c (arm_skip_stub): Update.
6465 * auxv.c (ld_so_xfer_auxv): Update.
6466 * avr-tdep.c (avr_scan_prologue): Update.
6467 * ax-gdb.c (gen_var_ref): Update.
6468 * breakpoint.c (struct breakpoint_objfile_data)
6469 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6470 type to bound_minimal_symbol.
6471 (create_overlay_event_breakpoint)
6472 (create_longjmp_master_breakpoint)
6473 (create_std_terminate_master_breakpoint)
6474 (create_exception_master_breakpoint): Update.
6475 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6476 * c-exp.y (classify_name): Update.
6477 * coffread.c (coff_symfile_read): Update.
6478 * common/agent.c (agent_look_up_symbols): Update.
6479 * d-lang.c (d_main_name): Update.
6480 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6481 * dec-thread.c (enable_dec_thread): Update.
6482 * dwarf2loc.c (call_site_to_target_addr): Update.
6483 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6484 * eval.c (evaluate_subexp_standard): Update.
6485 * findvar.c (struct minsym_lookup_data) <result>: Change type
6486 to bound_minimal_symbol.
6487 <objfile>: Remove.
6488 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6489 * frame.c (inside_main_func): Update.
6490 * frv-tdep.c (frv_frame_this_id): Update.
6491 * gcore.c (call_target_sbrk): Update.
6492 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6493 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6494 Update.
6495 * go-lang.c (go_main_name): Update.
6496 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6497 (hppa_hpux_find_import_stub_for_addr): Update.
6498 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6499 Update. Change return type.
6500 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6501 type.
6502 * jit.c (jit_breakpoint_re_set_internal): Update.
6503 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6504 Update.
6505 * linux-nat.c (get_signo): Update.
6506 * linux-thread-db.c (inferior_has_bug): Update
6507 * m32c-tdep.c (m32c_return_value)
6508 (m32c_m16c_address_to_pointer): Update.
6509 * m32r-tdep.c (m32r_frame_this_id): Update.
6510 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6511 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6512 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6513 lookup_minimal_symbol. Change return type.
6514 (lookup_minimal_symbol): Remove.
6515 (lookup_bound_minimal_symbol): Update.
6516 (lookup_minimal_symbol_text): Change return type.
6517 (lookup_minimal_symbol_solib_trampoline): Change return type.
6518 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6519 (lookup_minimal_symbol_solib_trampoline): Change return type.
6520 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6521 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6522 (value_nsstring, find_imps): Update.
6523 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6524 * p-lang.c (pascal_main_name): Update.
6525 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6526 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6527 * proc-service.c (ps_pglobal_lookup): Update.
6528 * ravenscar-thread.c (get_running_thread_msymbol): Change
6529 return type.
6530 (has_ravenscar_runtime, get_running_thread_id): Update.
6531 * remote.c (remote_check_symbols): Update.
6532 * sol-thread.c (ps_pglobal_lookup): Update.
6533 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6534 * solib-dsbt.c (lm_base): Update.
6535 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6536 Update.
6537 * solib-irix.c (locate_base): Update.
6538 * solib-som.c (som_solib_create_inferior_hook)
6539 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6540 Update.
6541 * solib-spu.c (spu_enable_break): Update.
6542 * solib-svr4.c (elf_locate_base, enable_break): Update.
6543 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6544 (flush_ea_cache): Update.
6545 * stabsread.c (define_symbol): Update.
6546 * symfile.c (simple_read_overlay_table): Update.
6547 * symtab.c (find_pc_sect_line): Update.
6548 * tracepoint.c (scope_info): Update.
6549 * tui-disasm.c (tui_get_begin_asm_address): Update.
6550 * value.c (value_static_field): Update.
6551
6552 2014-02-26 Tom Tromey <tromey@redhat.com>
6553
6554 * minsyms.c (prim_record_minimal_symbol_full): Use
6555 SET_MSYMBOL_VALUE_ADDRESS.
6556 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6557 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6558 SET_MSYMBOL_VALUE_ADDRESS.
6559 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6560 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6561
6562 2014-02-26 Tom Tromey <tromey@redhat.com>
6563
6564 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6565 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6566 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6567 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6568 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6569 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6570 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6571 * ada-lang.c (ada_main_name): Update.
6572 (ada_lookup_simple_minsym): Update.
6573 (ada_make_symbol_completion_list): Update.
6574 (ada_add_standard_exceptions): Update.
6575 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6576 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6577 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6578 * arm-tdep.c (skip_prologue_function): Update.
6579 (arm_skip_stack_protector, arm_skip_stub): Update.
6580 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6581 (arm_wince_skip_main_prologue): Update.
6582 * auxv.c (ld_so_xfer_auxv): Update.
6583 * avr-tdep.c (avr_scan_prologue): Update.
6584 * ax-gdb.c (gen_var_ref): Update.
6585 * block.c (call_site_for_pc): Update.
6586 * blockframe.c (get_pc_function_start): Update.
6587 (find_pc_partial_function_gnu_ifunc): Update.
6588 * breakpoint.c (create_overlay_event_breakpoint): Update.
6589 (create_longjmp_master_breakpoint): Update.
6590 (create_std_terminate_master_breakpoint): Update.
6591 (create_exception_master_breakpoint): Update.
6592 (resolve_sal_pc): Update.
6593 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6594 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6595 Update.
6596 * c-valprint.c (c_val_print): Update.
6597 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6598 * coffread.c (coff_symfile_read): Update.
6599 * common/agent.c (agent_look_up_symbols): Update.
6600 * dbxread.c (find_stab_function_addr): Update.
6601 (end_psymtab): Update.
6602 * dwarf2loc.c (call_site_to_target_addr): Update.
6603 (func_verify_no_selftailcall): Update.
6604 (tailcall_dump): Update.
6605 (call_site_find_chain_1): Update.
6606 (dwarf_expr_reg_to_entry_parameter): Update.
6607 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6608 (elf_gnu_ifunc_resolve_by_got): Update.
6609 * f-valprint.c (info_common_command): Update.
6610 * findvar.c (read_var_value): Update.
6611 * frame.c (get_prev_frame_1): Update.
6612 (inside_main_func): Update.
6613 * frv-tdep.c (frv_skip_main_prologue): Update.
6614 (frv_frame_this_id): Update.
6615 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6616 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6617 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6618 (gnuv3_skip_trampoline): Update.
6619 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6620 (hppa64_hpux_in_solib_call_trampoline): Update.
6621 (hppa_hpux_skip_trampoline_code): Update.
6622 (hppa64_hpux_search_dummy_call_sequence): Update.
6623 (hppa_hpux_find_import_stub_for_addr): Update.
6624 (hppa_hpux_find_dummy_bpaddr): Update.
6625 * hppa-tdep.c (hppa_symbol_address)
6626 (hppa_lookup_stub_minimal_symbol): Update.
6627 * i386-tdep.c (i386_skip_main_prologue): Update.
6628 (i386_pe_skip_trampoline_code): Update.
6629 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6630 * infcall.c (get_function_name): Update.
6631 * infcmd.c (until_next_command): Update.
6632 * jit.c (jit_breakpoint_re_set_internal): Update.
6633 (jit_inferior_init): Update.
6634 * linespec.c (minsym_found): Update.
6635 (add_minsym): Update.
6636 * linux-fork.c (info_checkpoints_command): Update.
6637 * linux-nat.c (get_signo): Update.
6638 * linux-thread-db.c (inferior_has_bug): Update.
6639 * m32c-tdep.c (m32c_return_value): Update.
6640 (m32c_m16c_address_to_pointer): Update.
6641 (m32c_m16c_pointer_to_address): Update.
6642 * m32r-tdep.c (m32r_frame_this_id): Update.
6643 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6644 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6645 * maint.c (maintenance_translate_address): Update.
6646 * minsyms.c (add_minsym_to_hash_table): Update.
6647 (add_minsym_to_demangled_hash_table): Update.
6648 (msymbol_objfile): Update.
6649 (lookup_minimal_symbol): Update.
6650 (iterate_over_minimal_symbols): Update.
6651 (lookup_minimal_symbol_text): Update.
6652 (lookup_minimal_symbol_by_pc_name): Update.
6653 (lookup_minimal_symbol_solib_trampoline): Update.
6654 (lookup_minimal_symbol_by_pc_section_1): Update.
6655 (lookup_minimal_symbol_and_objfile): Update.
6656 (prim_record_minimal_symbol_full): Update.
6657 (compare_minimal_symbols): Update.
6658 (compact_minimal_symbols): Update.
6659 (build_minimal_symbol_hash_tables): Update.
6660 (install_minimal_symbols): Update.
6661 (terminate_minimal_symbol_table): Update.
6662 (find_solib_trampoline_target): Update.
6663 (minimal_symbol_upper_bound): Update.
6664 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6665 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6666 (mips_skip_pic_trampoline_code): Update.
6667 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6668 * objc-lang.c (selectors_info): Update.
6669 (classes_info): Update.
6670 (find_methods): Update.
6671 (find_imps): Update.
6672 (find_objc_msgsend): Update.
6673 * objfiles.c (objfile_relocate1): Update.
6674 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6675 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6676 * p-valprint.c (pascal_val_print): Update.
6677 * parse.c (write_exp_msymbol): Update.
6678 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6679 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6680 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6681 * printcmd.c (build_address_symbolic): Update.
6682 (sym_info): Update.
6683 (address_info): Update.
6684 * proc-service.c (ps_pglobal_lookup): Update.
6685 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6686 (find_pc_sect_psymtab): Update.
6687 * python/py-framefilter.c (py_print_frame): Update.
6688 * ravenscar-thread.c (get_running_thread_id): Update.
6689 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6690 Update.
6691 * remote.c (remote_check_symbols): Update.
6692 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6693 (rs6000_skip_trampoline_code): Update.
6694 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6695 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6696 * solib-dsbt.c (lm_base): Update.
6697 * solib-frv.c (lm_base): Update.
6698 (main_got): Update.
6699 * solib-irix.c (locate_base): Update.
6700 * solib-som.c (som_solib_create_inferior_hook): Update.
6701 (som_solib_desire_dynamic_linker_symbols): Update.
6702 (link_map_start): Update.
6703 * solib-spu.c (spu_enable_break): Update.
6704 (ocl_enable_break): Update.
6705 * solib-svr4.c (elf_locate_base): Update.
6706 (enable_break): Update.
6707 * spu-tdep.c (spu_get_overlay_table): Update.
6708 (spu_catch_start): Update.
6709 (flush_ea_cache): Update.
6710 * stabsread.c (define_symbol): Update.
6711 (scan_file_globals): Update.
6712 * stack.c (find_frame_funname): Update.
6713 (frame_info): Update.
6714 * symfile.c (simple_read_overlay_table): Update.
6715 (simple_overlay_update): Update.
6716 * symmisc.c (dump_msymbols): Update.
6717 * symtab.c (fixup_section): Update.
6718 (find_pc_sect_line): Update.
6719 (skip_prologue_sal): Update.
6720 (search_symbols): Update.
6721 (print_msymbol_info): Update.
6722 (rbreak_command): Update.
6723 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6724 (completion_list_objc_symbol): Update.
6725 (default_make_symbol_completion_list_break_on): Update.
6726 * tracepoint.c (scope_info): Update.
6727 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6728 (tui_get_begin_asm_address): Update.
6729 * valops.c (find_function_in_inferior): Update.
6730 * value.c (value_static_field): Update.
6731 (value_fn_field): Update.
6732
6733 2014-02-26 Tom Tromey <tromey@redhat.com>
6734
6735 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6736 bound minimal symbols. Move code that knows about minsym
6737 table layout...
6738 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6739 function.
6740 * minsyms.h (minimal_symbol_upper_bound): Declare.
6741 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6742 minimal_symbol_upper_bound.
6743
6744 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6745
6746 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6747 Use the type's name if its basic type does not have a tag.
6748
6749 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6750
6751 * dwarf2read.c (read_subrange_type): Add comment.
6752
6753 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6754
6755 * dwarf2read.c (update_enumeration_type_from_children): New
6756 function, mostly extracted from process_structure_scope.
6757 (read_enumeration_type): Call update_enumeration_type_from_children.
6758 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6759 and flag_flag_enum fields.
6760
6761 2014-02-26 Pedro Alves <palves@redhat.com>
6762
6763 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6764 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6765 to_xfer_partial method.
6766
6767 2014-02-26 Pedro Alves <palves@redhat.com>
6768
6769 * target.c (complete_target_initialization): Don't install
6770 default_xfer_partial as to_xfer_partial hook.
6771 (nomemory): Delete.
6772 (update_current_target): Don't INHERIT nor de_fault
6773 deprecated_xfer_memory. Delete de_fault macro.
6774 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6775 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6776 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6777 field.
6778
6779 2014-02-26 Pedro Alves <palves@redhat.com>
6780
6781 * go32-nat.c (my_write_child): New function.
6782 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6783 (go32_xfer_partial): New function.
6784 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6785 Instead install a to_xfer_partial hook.
6786
6787 2014-02-26 Pedro Alves <palves@redhat.com>
6788
6789 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6790 to_xfer_partial helper. Rewrite.
6791 (procfs_xfer_partial): New function.
6792 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6793 Install a to_xfer_partial hook.
6794
6795 2014-02-26 Pedro Alves <palves@redhat.com>
6796
6797 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6798 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6799 (m32r_xfer_partial): New function.
6800 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6801 Install a to_xfer_partial hook.
6802
6803 2014-02-26 Pedro Alves <palves@redhat.com>
6804
6805 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6806 helper.
6807 (mips_xfer_partial): New function.
6808 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6809 hook. Install a to_xfer_partial hook.
6810
6811 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6812
6813 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6814 * gdbtypes.c (create_array_type_with_stride): New function,
6815 renaming create_array_type, but with an added parameter
6816 called "bit_stride".
6817 (create_array_type): Re-implement using
6818 create_array_type_with_stride.
6819 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6820 and DW_AT_bit_stride attributes.
6821
6822 2014-02-26 Pedro Alves <palves@redhat.com>
6823
6824 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6825 task-specific breakpoints.
6826
6827 2014-02-25 Pedro Alves <palves@redhat.com>
6828
6829 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6830 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6831
6832 2014-02-25 Stan Shebs <stan@codesourcery.com>
6833
6834 * defs.h: Annotate comments for Doxygen.
6835
6836 2014-02-25 Tom Tromey <tromey@redhat.com>
6837
6838 * target.h (target_ignore): Don't declare.
6839 * target.c (target_ignore): Remove.
6840
6841 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 PR gdb/16626
6844 * auto-load.c (auto_load_objfile_script_1): Change filename to
6845 debugfile.
6846
6847 2014-02-25 Joel Brobecker <brobecker@adacore.com>
6848
6849 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6850 documentation. Adjust prototype to match the target_ops
6851 to_xfer_partial method. Adjust implementation accordingly.
6852
6853 2014-02-25 Hui Zhu <hui@codesourcery.com>
6854
6855 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6856 to_traceframe_info.
6857
6858 2014-02-25 Kevin Buettner <kevinb@redhat.com>
6859
6860 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6861 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6862 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6863 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6864 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6865 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6866 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6867 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6868 New constants.
6869 (rl78_register_type): Use a data pointer type for SP and
6870 new pseudo registers mentioned above. Use a 16 bit integer
6871 type for all other register pairs.
6872 (rl78_register_name, rl78_g10_register_name): Update for
6873 new pseudo registers.
6874 (rl78_pseudo_register_read): Likewise.
6875 (rl78_pseudo_register_write): Likewise.
6876 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6877 to the newly added pseudo registers.
6878
6879 2014-02-24 Doug Evans <dje@google.com>
6880
6881 * value.c (record_latest_value): Fix comment.
6882 * printcmd.c (print_command_1): Remove code to handle -1 return from
6883 record_latest_value.
6884
6885 2014-02-24 Pedro Alves <palves@redhat.com>
6886
6887 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6888 deprecated_xfer_memory hook.
6889 (procfs_xfer_partial): Call procfs_xfer_memory instead
6890 of the deprecated_xfer_memory target hook.
6891 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6892 helper.
6893
6894 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6895
6896 * windows-nat.c (windows_xfer_shared_libraries): Return
6897 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6898 requested object is TARGET_OBJECT_LIBRARIES.
6899
6900 2014-02-24 Yao Qi <yao@codesourcery.com>
6901
6902 * target.h (enum target_xfer_status)
6903 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6904 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6905 explicitly. New.
6906 * corefile.c (memory_error_message): User updated.
6907 * exec.c (section_table_read_available_memory): Likewise.
6908 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6909 * target.c (target_xfer_status_to_string): Likewise.
6910 (raw_memory_xfer_partial): Likewise.
6911 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6912 * valops.c (read_value_memory): Likewise.
6913 * exec.h: Update comments.
6914
6915 2014-02-24 Yao Qi <yao@codesourcery.com>
6916
6917 * target.c (target_xfer_status_to_string): Rename argument err
6918 to status.
6919 * target.h (target_xfer_status_to_string): Update declaration.
6920 Replace target_xfer_error_to_string with
6921 target_xfer_status_to_string in comment.
6922
6923 2014-02-24 Yao Qi <yao@codesourcery.com>
6924
6925 * mips-linux-nat.c (super_close): Update its type.
6926 (mips_linux_close): Pass 'self' to super_close.
6927
6928 2014-02-24 Yao Qi <yao@codesourcery.com>
6929
6930 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6931 * corefile.c (read_memory): Adjusted.
6932 * target.c (target_write_with_progress): Adjusted.
6933
6934 2014-02-23 Yao Qi <yao@codesourcery.com>
6935
6936 Revert two patches:
6937
6938 2013-10-25 Yao Qi <yao@codesourcery.com>
6939
6940 * remote.c (remote_traceframe_info): Return early if
6941 traceframe is not selected.
6942
6943 2013-07-19 Yao Qi <yao@codesourcery.com>
6944
6945 * target.c (update_current_target): Change the default action
6946 of 'to_traceframe_info' from tcomplain to return_zero.
6947 * target.h (struct target_ops) <to_traceframe_info>: Add more
6948 comments.
6949
6950 2014-02-23 Yao Qi <yao@codesourcery.com>
6951
6952 * valops.c (read_value_memory): Rewrite it. Call
6953 target_xfer_partial in a loop.
6954 * exec.h (section_table_available_memory): Remove declaration.
6955 Move comments to ...
6956 * exec.c (section_table_available_memory): ... here. Make it
6957 static.
6958
6959 2014-02-23 Yao Qi <yao@codesourcery.com>
6960
6961 * exec.c (section_table_read_available_memory): New function.
6962 * exec.h (section_table_read_available_memory): Declare.
6963 * ctf.c (ctf_xfer_partial): Call
6964 section_table_read_available_memory.
6965 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6966
6967 2014-02-23 Yao Qi <yao@codesourcery.com>
6968
6969 * ctf.c (ctf_xfer_partial): Move code to ...
6970 * exec.c (exec_read_partial_read_only): ... it. New function.
6971 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6972 * tracefile.c: Include "exec.h".
6973 * exec.h (exec_read_partial_read_only): Declare.
6974
6975 2014-02-23 Yao Qi <yao@codesourcery.com>
6976
6977 * tracefile-tfile.c (tfile_has_all_memory): Remove.
6978 (tfile_has_memory): Remove.
6979 (init_tfile_ops): Don't set fields to_has_all_memory and
6980 to_has_memory of tfile_ops.
6981 * tracefile.c (tracefile_has_all_memory): New function.
6982 (tracefile_has_memory): New function.
6983 (init_tracefile_ops): Initialize fields to_has_all_memory and
6984 to_has_memory of 'ops'.
6985
6986 2014-02-23 Yao Qi <yao@codesourcery.com>
6987
6988 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
6989 (ctf_thread_alive, ctf_get_trace_status): Remove.
6990 (init_ctf_ops): Don't set some fields of ctf_ops. Call
6991 init_tracefile_ops.
6992 * tracefile-tfile.c (tfile_get_trace_status): Remove.
6993 (tfile_has_stack, tfile_has_registers): Remove.
6994 (tfile_thread_alive): Remove.
6995 (init_tfile_ops): Don't set some fields of tfile_ops. Call
6996 init_tracefile_ops.
6997 * tracefile.c (tracefile_has_stack): New function.
6998 (tracefile_has_registers): New function.
6999 (tracefile_thread_alive): New function.
7000 (tracefile_get_trace_status): New function.
7001 (init_tracefile_ops): New function.
7002 * tracefile.h (init_tracefile_ops): Declare.
7003
7004 2014-02-23 Yao Qi <yao@codesourcery.com>
7005
7006 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7007 (O_LARGEFILE): Likewise.
7008 (tfile_ops): Likewise.
7009 (TRACE_HEADER_SIZE): Likewise.
7010 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7011 (cur_data_size): Likewise.
7012 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7013 (tfile_close, tfile_files_info): Likewise.
7014 (tfile_get_trace_status): Likewise.
7015 (tfile_get_tracepoint_status): Likewise.
7016 (tfile_get_traceframe_address): Likewise.
7017 (tfile_trace_find, match_blocktype): Likewise.
7018 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7019 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7020 (tfile_get_trace_state_variable_value): Likewise.
7021 (tfile_has_all_memory, tfile_has_memory): Likewise.
7022 (tfile_has_stack, tfile_has_registers): Likewise.
7023 (tfile_thread_alive, build_traceframe_info): Likewise.
7024 (tfile_traceframe_info, init_tfile_ops): Likewise.
7025 (_initialize_tracepoint): Don't call init_tfile_ops
7026 and add_target_with_completer.
7027 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7028 exec.h, completer.h and filenames.h.
7029 (_initialize_tracefile_tfile): New function.
7030
7031 2014-02-23 Yao Qi <yao@codesourcery.com>
7032
7033 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7034 tracefile-tfile.o.
7035 (HFILES_NO_SRCDIR): Add tracefile.h.
7036 * ctf.c: Include "tracefile.h".
7037 * tracefile.h: New file.
7038 * tracefile.c: New file
7039 * tracefile-tfile.c: New file.
7040 * tracepoint.c: Include "tracefile.h".
7041 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7042 (stop_reason_names): Add const.
7043 (trace_file_writer_xfree): Move it to tracefile.c.
7044 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7045 (trace_save_ctf): Likewise.
7046 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7047 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7048 (tfile_write_header, tfile_write_regblock_type): Likewise.
7049 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7050 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7051 (tfile_write_raw_data, tfile_end): Likewise.
7052 (tfile_trace_file_writer_new): Likewise.
7053 (free_uploaded_tp): Make it extern.
7054 (free_uploaded_tsv): Make it extern.
7055 (_initialize_tracepoint): Move code to register command 'tsave'
7056 to tracefile.c.
7057 * tracepoint.h (stop_reason_names): Declare.
7058 (struct trace_frame_write_ops): Move it to tracefile.h.
7059 (struct trace_file_write_ops): Likewise.
7060 (struct trace_file_writer): Likewise.
7061 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7062
7063 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 PR gdb/16594
7066 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7067 process name.
7068 (get_cores_used_by_process): New parameter num_cores, use it.
7069 (linux_xfer_osdata_processes): Pass num_cores to it.
7070 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7071 process name.
7072
7073 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7074
7075 * target.c (memory_xfer_partial): Fix length arg in call to
7076 breakpoint_xfer_memory.
7077
7078 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7079
7080 PR tdep/16397
7081 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7082 number comes after the + or - signs. Adjust length of register
7083 name to be extracted.
7084
7085 2014-02-20 Tom Tromey <tromey@redhat.com>
7086
7087 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7088 (ada_varobj_ops): Mark "extern".
7089
7090 2014-02-20 Tom Tromey <tromey@redhat.com>
7091
7092 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7093
7094 2014-02-20 Doug Evans <xdje42@gmail.com>
7095
7096 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7097 All callers updated.
7098 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7099 All callers updated.
7100 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7101 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7102
7103 2014-02-20 lin zuojian <manjian2006@gmail.com>
7104 Joel Brobecker <brobecker@adacore.com>
7105 Doug Evans <xdje42@gmail.com>
7106
7107 PR symtab/16581
7108 * dwarf2read.c (struct die_info): New member in_process.
7109 (reset_die_in_process): New function.
7110 (process_die): Set it at the start, reset when returning.
7111 (inherit_abstract_dies): Only call process_die if origin_child_die
7112 not already being processed.
7113
7114 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7115
7116 * windows-nat.c (handle_unload_dll): Add function documentation.
7117 (do_initial_windows_stuff): Add comment explaining why we wait
7118 until after inferior initialization has finished before
7119 processing all DLLs.
7120
7121 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7122
7123 * windows-nat.c (get_module_name): Delete.
7124 (windows_get_exec_module_filename): New function, mostly
7125 inspired from get_module_name.
7126 (windows_pid_to_exec_file): Replace call to get_module_name
7127 by call to windows_get_exec_module_filename.
7128
7129 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7130
7131 * windows-nat.c (handle_load_dll): Rewrite this function's
7132 introductory comment. Remove code using get_module_name
7133 to get the DLL's name.
7134
7135 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7136
7137 * windows-nat.c (get_windows_debug_event): Ignore
7138 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7139 if windows_initialization_done == 0.
7140 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7141 Adjust implementation to always load all DLLs.
7142 (do_initial_windows_stuff): Replace call to
7143 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7144
7145 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7146
7147 * windows-nat.c (_initialize_windows_nat): Deprecate the
7148 "dll-symbols" command. Turn the "add-shared-symbol-files"
7149 and "assf" aliases into commands, and deprecate them as well.
7150 * NEWS: Add entry explaining that "dll-symbols" and its two
7151 aliases are now deprecated.
7152
7153 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7154
7155 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7156 new-line in debug string. Remove trailing spaces.
7157
7158 2014-02-19 Stan Shebs <stan@codesourcery.com>
7159
7160 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7161
7162 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7163
7164 * NEWS: Add entry for the new feature
7165 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7166 and class values.
7167
7168 2014-02-19 Stan Shebs <stan@codesourcery.com>
7169
7170 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7171
7172 2014-02-19 Pedro Alves <palves@redhat.com>
7173
7174 * common/ptid.h (struct ptid): Mention that process_stratum
7175 targets should prefer ptid.lwp.
7176
7177 2014-02-19 Pedro Alves <palves@redhat.com>
7178
7179 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7180 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7181 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7182 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7183 store remote thread ids rather than ptid.tid.
7184 (_initialize_remote): Adjust.
7185
7186 2014-02-19 Tom Tromey <tromey@redhat.com>
7187
7188 * target.c (target_get_unwinder): Rewrite.
7189 (target_get_tailcall_unwinder): Rewrite.
7190 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7191 (record_btrace_to_get_tailcall_unwinder): New function.
7192 (init_record_btrace_ops): Update.
7193 * target.h (struct target_ops) <to_get_unwinder,
7194 to_get_tailcall_unwinder>: Now function pointers. Use
7195 TARGET_DEFAULT_RETURN.
7196
7197 2014-02-19 Tom Tromey <tromey@redhat.com>
7198
7199 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7200 argument.
7201 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7202
7203 2014-02-19 Tom Tromey <tromey@redhat.com>
7204
7205 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7206 directly.
7207 * target-delegates.c: Rebuild.
7208 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7209 TARGET_DEFAULT_FUNC.
7210 * target.c (default_target_decr_pc_after_break): Rename from
7211 forward_target_decr_pc_after_break. Simplify.
7212 (target_decr_pc_after_break): Rely on delegation.
7213
7214 2014-02-19 Tom Tromey <tromey@redhat.com>
7215
7216 * target.c (update_current_target): Do not INHERIT to_doc or
7217 to_magic. Do not de_fault to_open or to_close.
7218
7219 2014-02-19 Tom Tromey <tromey@redhat.com>
7220
7221 * gcore.h (objfile_find_memory_regions): Declare.
7222 * gcore.c (objfile_find_memory_regions): No longer static. Add
7223 "self" argument.
7224 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7225 * exec.c: Include gcore.h.
7226 (exec_set_find_memory_regions): Remove.
7227 (exec_find_memory_regions): Remove.
7228 (exec_do_find_memory_regions): Remove.
7229 (init_exec_ops): Update.
7230 * defs.h (exec_set_find_memory_regions): Remove.
7231
7232 2014-02-19 Tom Tromey <tromey@redhat.com>
7233
7234 * target-delegates.c: Rebuild.
7235 * target.h (struct target_ops) <to_extra_thread_info,
7236 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7237 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7238 not 0, in TARGET_DEFAULT_RETURN.
7239
7240 2014-02-19 Tom Tromey <tromey@redhat.com>
7241
7242 * target.c (complete_target_initialization): Remove casts. Use
7243 return_zero_has_execution.
7244 (return_zero): Add "ignore" argument.
7245 (return_zero_has_execution): New function.
7246 (init_dummy_target): Remove casts. Use
7247 return_zero_has_execution.
7248
7249 2014-02-19 Tom Tromey <tromey@redhat.com>
7250
7251 * target.c (update_current_target): Update comments. Do not
7252 INHERIT to_stratum.
7253
7254 2014-02-19 Tom Tromey <tromey@redhat.com>
7255
7256 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7257 needed.
7258 * corelow.c (core_read_description): Delegate when needed.
7259 * remote.c (remote_read_description): Delegate when needed.
7260 * target-delegates.c: Rebuild.
7261 * target.c (target_read_description): Rewrite.
7262 * target.h (struct target_ops) <to_read_description>: Update
7263 comment. Use TARGET_DEFAULT_RETURN.
7264
7265 2014-02-19 Tom Tromey <tromey@redhat.com>
7266
7267 * target-delegates.c: Rebuild.
7268 * target.c (update_current_target): Don't inherit or default
7269 to_can_run.
7270 (find_default_run_target): Check against delegate_can_run.
7271 * target.h (struct target_ops) <to_can_run>: Use
7272 TARGET_DEFAULT_RETURN.
7273
7274 2014-02-19 Tom Tromey <tromey@redhat.com>
7275
7276 * target-delegates.c: Rebuild.
7277 * target.c (target_disconnect): Unconditionally delegate.
7278 * target.h (struct target_ops) <to_disconnect>: Use
7279 TARGET_DEFAULT_NORETURN.
7280
7281 2014-02-19 Tom Tromey <tromey@redhat.com>
7282
7283 * record.c (record_stop): Unconditionally delegate.
7284 * target-delegates.c: Rebuild.
7285 * target.c (target_stop_recording): Unconditionally delegate.
7286 * target.h (struct target_ops) <to_stop_recording>: Use
7287 TARGET_DEFAULT_IGNORE.
7288
7289 2014-02-19 Tom Tromey <tromey@redhat.com>
7290
7291 * target-delegates.c: Rebuild.
7292 * target.c (target_enable_btrace): Unconditionally delegate.
7293 * target.h (struct target_ops) <to_enable_btrace>: Use
7294 TARGET_DEFAULT_NORETURN.
7295
7296 2014-02-19 Tom Tromey <tromey@redhat.com>
7297
7298 * target-delegates.c: Rebuild.
7299 * target.c (target_read_btrace): Unconditionally delegate.
7300 * target.h (struct target_ops) <to_read_btrace>: Use
7301 TARGET_DEFAULT_NORETURN.
7302
7303 2014-02-19 Tom Tromey <tromey@redhat.com>
7304
7305 * target-delegates.c: Rebuild.
7306 * target.c (target_teardown_btrace): Unconditionally delegate.
7307 * target.h (struct target_ops) <to_teardown_btrace>: Use
7308 TARGET_DEFAULT_NORETURN.
7309
7310 2014-02-19 Tom Tromey <tromey@redhat.com>
7311
7312 * target-delegates.c: Rebuild.
7313 * target.c (target_disable_btrace): Unconditionally delegate.
7314 * target.h (struct target_ops) <to_disable_btrace>: Use
7315 TARGET_DEFAULT_NORETURN.
7316
7317 2014-02-19 Tom Tromey <tromey@redhat.com>
7318
7319 * target-delegates.c: Rebuild.
7320 * target.c (default_search_memory): New function.
7321 (simple_search_memory): Update comment.
7322 (target_search_memory): Unconditionally delegate.
7323 * target.h (struct target_ops) <to_search_memory>: Use
7324 TARGET_DEFAULT_FUNC.
7325
7326 2014-02-19 Tom Tromey <tromey@redhat.com>
7327
7328 * auxv.c (default_auxv_parse): No longer static.
7329 (target_auxv_parse): Unconditionally delegate.
7330 * auxv.h (default_auxv_parse): Declare.
7331 * target-delegates.c: Rebuild.
7332 * target.c: Include auxv.h.
7333 * target.h (struct target_ops) <to_auxv_parse>: Use
7334 TARGET_DEFAULT_FUNC.
7335
7336 2014-02-19 Tom Tromey <tromey@redhat.com>
7337
7338 * target-delegates.c: Rebuild.
7339 * target.c (target_memory_map): Unconditionally delegate.
7340 * target.h (struct target_ops) <to_memory_map>: Use
7341 TARGET_DEFAULT_RETURN.
7342
7343 2014-02-19 Tom Tromey <tromey@redhat.com>
7344
7345 * target-delegates.c: Rebuild.
7346 * target.c (target_thread_alive): Unconditionally delegate.
7347 * target.h (struct target_ops) <to_thread_alive>: Use
7348 TARGET_DEFAULT_RETURN.
7349
7350 2014-02-19 Tom Tromey <tromey@redhat.com>
7351
7352 * target-delegates.c: Rebuild.
7353 * target.c (target_save_record): Unconditionally delegate.
7354 * target.h (struct target_ops) <to_save_record>: Use
7355 TARGET_DEFAULT_NORETURN.
7356
7357 2014-02-19 Tom Tromey <tromey@redhat.com>
7358
7359 * target-delegates.c: Rebuild.
7360 * target.c (target_delete_record): Unconditionally delegate.
7361 * target.h (struct target_ops) <to_delete_record>: Use
7362 TARGET_DEFAULT_NORETURN.
7363
7364 2014-02-19 Tom Tromey <tromey@redhat.com>
7365
7366 * target-delegates.c: Rebuild.
7367 * target.c (target_record_is_replaying): Unconditionally
7368 delegate.
7369 * target.h (struct target_ops) <to_record_is_replaying>: Use
7370 TARGET_DEFAULT_RETURN.
7371
7372 2014-02-19 Tom Tromey <tromey@redhat.com>
7373
7374 * target-delegates.c: Rebuild.
7375 * target.c (target_goto_record_begin): Unconditionally delegate.
7376 * target.h (struct target_ops) <to_goto_record_begin>: Use
7377 TARGET_DEFAULT_NORETURN.
7378
7379 2014-02-19 Tom Tromey <tromey@redhat.com>
7380
7381 * target-delegates.c: Rebuild.
7382 * target.c (target_goto_record_end): Unconditionally delegate.
7383 * target.h (struct target_ops) <to_goto_record_end>: Use
7384 TARGET_DEFAULT_NORETURN.
7385
7386 2014-02-19 Tom Tromey <tromey@redhat.com>
7387
7388 * target-delegates.c: Rebuild.
7389 * target.c (target_goto_record): Unconditionally delegate.
7390 * target.h (struct target_ops) <to_goto_record>: Use
7391 TARGET_DEFAULT_NORETURN.
7392
7393 2014-02-19 Tom Tromey <tromey@redhat.com>
7394
7395 * target-delegates.c: Rebuild.
7396 * target.c (target_insn_history): Unconditionally delegate.
7397 * target.h (struct target_ops) <to_insn_history>: Use
7398 TARGET_DEFAULT_NORETURN.
7399
7400 2014-02-19 Tom Tromey <tromey@redhat.com>
7401
7402 * target-delegates.c: Rebuild.
7403 * target.c (target_insn_history_from): Unconditionally delegate.
7404 * target.h (struct target_ops) <to_insn_history_from>: Use
7405 TARGET_DEFAULT_NORETURN.
7406
7407 2014-02-19 Tom Tromey <tromey@redhat.com>
7408
7409 * target-delegates.c: Rebuild.
7410 * target.c (target_insn_history_range): Unconditionally delegate.
7411 * target.h (struct target_ops) <to_insn_history_range>: Use
7412 TARGET_DEFAULT_NORETURN.
7413
7414 2014-02-19 Tom Tromey <tromey@redhat.com>
7415
7416 * target-delegates.c: Rebuild.
7417 * target.c (target_call_history): Unconditionally delegate.
7418 * target.h (struct target_ops) <to_call_history>: Use
7419 TARGET_DEFAULT_NORETURN.
7420
7421 2014-02-19 Tom Tromey <tromey@redhat.com>
7422
7423 * target-delegates.c: Rebuild.
7424 * target.c (target_call_history_from): Unconditionally delegate.
7425 * target.h (struct target_ops) <to_call_history_from>: Use
7426 TARGET_DEFAULT_NORETURN.
7427
7428 2014-02-19 Tom Tromey <tromey@redhat.com>
7429
7430 * target-delegates.c: Rebuild.
7431 * target.c (target_call_history_range): Unconditionally delegate.
7432 * target.h (struct target_ops) <to_call_history_range>: Use
7433 TARGET_DEFAULT_NORETURN.
7434
7435 2014-02-19 Tom Tromey <tromey@redhat.com>
7436
7437 * target-delegates.c: Rebuild.
7438 * target.c (target_verify_memory): Unconditionally delegate.
7439 * target.h (struct target_ops) <to_verify_memory>: 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_core_of_thread): Unconditionally delegate.
7446 * target.h (struct target_ops) <to_core_of_thread>: Use
7447 TARGET_DEFAULT_RETURN.
7448
7449 2014-02-19 Tom Tromey <tromey@redhat.com>
7450
7451 * target-delegates.c: Rebuild.
7452 * target.c (target_flash_done): Unconditionally delegate.
7453 * target.h (struct target_ops) <to_flash_done>: 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_flash_erase): Unconditionally delegate.
7460 * target.h (struct target_ops) <to_flash_erase>: 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_get_section_table): Unconditionally delegate.
7467 * target.h (struct target_ops) <to_get_section_table>: Use
7468 TARGET_DEFAULT_RETURN.
7469
7470 2014-02-19 Tom Tromey <tromey@redhat.com>
7471
7472 * target-delegates.c: Rebuild.
7473 * target.c (target_pid_to_str): Unconditionally delegate.
7474 (init_dummy_target): Don't initialize to_pid_to_str.
7475 (default_pid_to_str): Rename from dummy_pid_to_str.
7476 * target.h (struct target_ops) <to_pid_to_str>: Use
7477 TARGET_DEFAULT_FUNC.
7478
7479 2014-02-19 Tom Tromey <tromey@redhat.com>
7480
7481 * target-delegates.c: Rebuild.
7482 * target.c (target_find_new_threads): Unconditionally delegate.
7483 * target.h (struct target_ops) <to_find_new_threads>: Use
7484 TARGET_DEFAULT_RETURN.
7485
7486 2014-02-19 Tom Tromey <tromey@redhat.com>
7487
7488 * target-delegates.c: Rebuild.
7489 * target.c (target_program_signals): Unconditionally delegate.
7490 * target.h (struct target_ops) <to_program_signals>: Use
7491 TARGET_DEFAULT_IGNORE.
7492
7493 2014-02-19 Tom Tromey <tromey@redhat.com>
7494
7495 * target-delegates.c: Rebuild.
7496 * target.c (target_pass_signals): Unconditionally delegate.
7497 * target.h (struct target_ops) <to_pass_signals>: Use
7498 TARGET_DEFAULT_IGNORE.
7499
7500 2014-02-19 Tom Tromey <tromey@redhat.com>
7501
7502 * target-delegates.c: Rebuild.
7503 * target.c (default_mourn_inferior): New function.
7504 (target_mourn_inferior): Unconditionally delegate.
7505 * target.h (struct target_ops) <to_mourn_inferior>: Use
7506 TARGET_DEFAULT_FUNC.
7507
7508 2014-02-19 Tom Tromey <tromey@redhat.com>
7509
7510 * target-delegates.c: Rebuild.
7511 * target.c (default_follow_fork): New function.
7512 (target_follow_fork): Unconditionally delegate.
7513 * target.h (struct target_ops) <to_follow_fork>: Use
7514 TARGET_DEFAULT_FUNC.
7515
7516 2014-02-19 Tom Tromey <tromey@redhat.com>
7517
7518 * target-delegates.c: Rebuild.
7519 * target.c (target_kill): Unconditionally delegate.
7520 * target.h (struct target_ops) <to_kill>: Use
7521 TARGET_DEFAULT_NORETURN.
7522
7523 2014-02-19 Tom Tromey <tromey@redhat.com>
7524
7525 * target-delegates.c: Rebuild.
7526 * target.c (target_masked_watch_num_registers): Unconditionally
7527 delegate.
7528 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7529 Use TARGET_DEFAULT_RETURN.
7530
7531 2014-02-19 Tom Tromey <tromey@redhat.com>
7532
7533 * target-delegates.c: Rebuild.
7534 * target.c (target_remove_mask_watchpoint): Unconditionally
7535 delegate.
7536 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7537 TARGET_DEFAULT_RETURN.
7538
7539 2014-02-19 Tom Tromey <tromey@redhat.com>
7540
7541 * target-delegates.c: Rebuild.
7542 * target.c (target_insert_mask_watchpoint): Unconditionally
7543 delegate.
7544 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7545 TARGET_DEFAULT_RETURN.
7546
7547 2014-02-19 Tom Tromey <tromey@redhat.com>
7548
7549 * target-delegates.c: Rebuild.
7550 * target.c (target_ranged_break_num_registers): Unconditionally
7551 delegate.
7552 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7553 Use TARGET_DEFAULT_RETURN.
7554
7555 2014-02-19 Tom Tromey <tromey@redhat.com>
7556
7557 * target-delegates.c: Rebuild.
7558 * target.c (target_fetch_registers): Unconditionally delegate.
7559 * target.h (struct target_ops) <to_fetch_registers>: Use
7560 TARGET_DEFAULT_NORETURN.
7561
7562 2014-02-19 Tom Tromey <tromey@redhat.com>
7563
7564 * target-delegates.c: Rebuild.
7565 * target.c (update_current_target): Don't inherit or default
7566 to_stop.
7567 * target.h (struct target_ops) <to_stop>: Use
7568 TARGET_DEFAULT_IGNORE.
7569
7570 2014-02-19 Tom Tromey <tromey@redhat.com>
7571
7572 * target-delegates.c: Rebuild.
7573 * target.c (update_current_target): Don't inherit or default
7574 to_can_run_breakpoint_commands.
7575 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7576 Use TARGET_DEFAULT_RETURN.
7577
7578 2014-02-19 Tom Tromey <tromey@redhat.com>
7579
7580 * target-delegates.c: Rebuild.
7581 * target.c (update_current_target): Don't inherit or default
7582 to_supports_evaluation_of_breakpoint_conditions.
7583 * target.h (struct target_ops)
7584 <to_supports_evaluation_of_breakpoint_conditions>: Use
7585 TARGET_DEFAULT_RETURN.
7586
7587 2014-02-19 Tom Tromey <tromey@redhat.com>
7588
7589 * target-delegates.c: Rebuild.
7590 * target.c (update_current_target): Don't inherit or default
7591 to_augmented_libraries_svr4_read.
7592 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7593 Use TARGET_DEFAULT_RETURN.
7594
7595 2014-02-19 Tom Tromey <tromey@redhat.com>
7596
7597 * target-delegates.c: Rebuild.
7598 * target.c (update_current_target): Don't inherit or default
7599 to_can_use_agent.
7600 * target.h (struct target_ops) <to_can_use_agent>: Use
7601 TARGET_DEFAULT_RETURN.
7602
7603 2014-02-19 Tom Tromey <tromey@redhat.com>
7604
7605 * target-delegates.c: Rebuild.
7606 * target.c (update_current_target): Don't inherit or default
7607 to_use_agent.
7608 * target.h (struct target_ops) <to_use_agent>: Use
7609 TARGET_DEFAULT_NORETURN.
7610
7611 2014-02-19 Tom Tromey <tromey@redhat.com>
7612
7613 * target-delegates.c: Rebuild.
7614 * target.c (update_current_target): Don't inherit or default
7615 to_traceframe_info.
7616 (return_null): Remove.
7617 * target.h (struct target_ops) <to_traceframe_info>: Use
7618 TARGET_DEFAULT_RETURN.
7619
7620 2014-02-19 Tom Tromey <tromey@redhat.com>
7621
7622 * target-delegates.c: Rebuild.
7623 * target.c (update_current_target): Don't inherit or default
7624 to_static_tracepoint_markers_by_strid.
7625 * target.h (struct target_ops)
7626 <to_static_tracepoint_markers_by_strid>: Use
7627 TARGET_DEFAULT_NORETURN.
7628
7629 2014-02-19 Tom Tromey <tromey@redhat.com>
7630
7631 * target-delegates.c: Rebuild.
7632 * target.c (update_current_target): Don't inherit or default
7633 to_static_tracepoint_marker_at.
7634 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7635 Use TARGET_DEFAULT_RETURN.
7636
7637 2014-02-19 Tom Tromey <tromey@redhat.com>
7638
7639 * target-delegates.c: Rebuild.
7640 * target.c (update_current_target): Don't inherit or default
7641 to_set_permissions.
7642 * target.h (struct target_ops) <to_set_permissions>: Use
7643 TARGET_DEFAULT_IGNORE.
7644
7645 2014-02-19 Tom Tromey <tromey@redhat.com>
7646
7647 * target-delegates.c: Rebuild.
7648 * target.c (update_current_target): Don't inherit or default
7649 to_get_tib_address.
7650 * target.h (struct target_ops) <to_get_tib_address>: Use
7651 TARGET_DEFAULT_NORETURN.
7652
7653 2014-02-19 Tom Tromey <tromey@redhat.com>
7654
7655 * target-delegates.c: Rebuild.
7656 * target.c (update_current_target): Don't inherit or default
7657 to_set_trace_notes.
7658 * target.h (struct target_ops) <to_set_trace_notes>: Use
7659 TARGET_DEFAULT_RETURN.
7660
7661 2014-02-19 Tom Tromey <tromey@redhat.com>
7662
7663 * target-delegates.c: Rebuild.
7664 * target.c (update_current_target): Don't initialize
7665 to_set_trace_buffer_size.
7666 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7667 TARGET_DEFAULT_IGNORE.
7668
7669 2014-02-19 Tom Tromey <tromey@redhat.com>
7670
7671 * target-delegates.c: Rebuild.
7672 * target.c (update_current_target): Don't inherit or default
7673 to_set_circular_trace_buffer.
7674 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7675 TARGET_DEFAULT_IGNORE.
7676
7677 2014-02-19 Tom Tromey <tromey@redhat.com>
7678
7679 * target-delegates.c: Rebuild.
7680 * target.c (update_current_target): Don't inherit or default
7681 to_set_disconnected_tracing.
7682 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7683 TARGET_DEFAULT_IGNORE.
7684
7685 2014-02-19 Tom Tromey <tromey@redhat.com>
7686
7687 * target-delegates.c: Rebuild.
7688 * target.c (update_current_target): Don't inherit or default
7689 to_get_min_fast_tracepoint_insn_len.
7690 (return_minus_one): Remove.
7691 * target.h (struct target_ops)
7692 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7693
7694 2014-02-19 Tom Tromey <tromey@redhat.com>
7695
7696 * target-delegates.c: Rebuild.
7697 * target.c (update_current_target): Don't inherit or default
7698 to_get_raw_trace_data.
7699 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7700 TARGET_DEFAULT_NORETURN.
7701
7702 2014-02-19 Tom Tromey <tromey@redhat.com>
7703
7704 * target-delegates.c: Rebuild.
7705 * target.c (update_current_target): Don't inherit or default
7706 to_upload_trace_state_variables.
7707 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7708 Use TARGET_DEFAULT_RETURN.
7709
7710 2014-02-19 Tom Tromey <tromey@redhat.com>
7711
7712 * target-delegates.c: Rebuild.
7713 * target.c (update_current_target): Don't inherit or default
7714 to_upload_tracepoints.
7715 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7716 TARGET_DEFAULT_RETURN.
7717
7718 2014-02-19 Tom Tromey <tromey@redhat.com>
7719
7720 * target-delegates.c: Rebuild.
7721 * target.c (update_current_target): Don't inherit or default
7722 to_save_trace_data.
7723 * target.h (struct target_ops) <to_save_trace_data>: Use
7724 TARGET_DEFAULT_NORETURN.
7725
7726 2014-02-19 Tom Tromey <tromey@redhat.com>
7727
7728 * target-delegates.c: Rebuild.
7729 * target.c (update_current_target): Don't inherit or default
7730 to_get_trace_state_variable_value.
7731 * target.h (struct target_ops)
7732 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7733
7734 2014-02-19 Tom Tromey <tromey@redhat.com>
7735
7736 * target-delegates.c: Rebuild.
7737 * target.c (update_current_target): Don't inherit or default
7738 to_trace_find.
7739 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7740
7741 2014-02-19 Tom Tromey <tromey@redhat.com>
7742
7743 * target-delegates.c: Rebuild.
7744 * target.c (update_current_target): Don't inherit or default
7745 to_trace_stop.
7746 * target.h (struct target_ops) <to_trace_stop>: Use
7747 TARGET_DEFAULT_NORETURN.
7748
7749 2014-02-19 Tom Tromey <tromey@redhat.com>
7750
7751 * target-delegates.c: Rebuild.
7752 * target.c (update_current_target): Don't inherit or default
7753 to_get_tracepoint_status.
7754 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7755 TARGET_DEFAULT_NORETURN.
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_trace_status.
7762 * target.h (struct target_ops) <to_get_trace_status>: Use
7763 TARGET_DEFAULT_RETURN.
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_trace_start.
7770 * target.h (struct target_ops) <to_trace_start>: Use
7771 TARGET_DEFAULT_NORETURN.
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_trace_set_readonly_regions.
7778 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7779 Use TARGET_DEFAULT_NORETURN.
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_disable_tracepoint.
7786 * target.h (struct target_ops) <to_disable_tracepoint>: 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_enable_tracepoint.
7794 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7795 TARGET_DEFAULT_NORETURN.
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_download_trace_state_variable.
7802 * target.h (struct target_ops) <to_download_trace_state_variable>:
7803 Use TARGET_DEFAULT_NORETURN.
7804
7805 2014-02-19 Tom Tromey <tromey@redhat.com>
7806
7807 * target-delegates.c: Rebuild.
7808 * target.c (update_current_target): Don't inherit or default
7809 to_can_download_tracepoint.
7810 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7811 TARGET_DEFAULT_RETURN.
7812
7813 2014-02-19 Tom Tromey <tromey@redhat.com>
7814
7815 * target-delegates.c: Rebuild.
7816 * target.c (update_current_target): Don't inherit or default
7817 to_download_tracepoint.
7818 * target.h (struct target_ops) <to_download_tracepoint>: Use
7819 TARGET_DEFAULT_NORETURN.
7820
7821 2014-02-19 Tom Tromey <tromey@redhat.com>
7822
7823 * target-delegates.c: Rebuild.
7824 * target.c (update_current_target): Don't inherit or default
7825 to_trace_init.
7826 * target.h (struct target_ops) <to_trace_init>: Use
7827 TARGET_DEFAULT_RETURN.
7828
7829 2014-02-19 Tom Tromey <tromey@redhat.com>
7830
7831 * target-delegates.c: Rebuild.
7832 * target.c (update_current_target): Don't inherit or default
7833 to_supports_string_tracing.
7834 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7835 TARGET_DEFAULT_RETURN.
7836
7837 2014-02-19 Tom Tromey <tromey@redhat.com>
7838
7839 * target-delegates.c: Rebuild.
7840 * target.c (update_current_target): Don't inherit or default
7841 to_supports_enable_disable_tracepoint.
7842 * target.h (struct target_ops)
7843 <to_supports_enable_disable_tracepoint>: Use
7844 TARGET_DEFAULT_RETURN.
7845
7846 2014-02-19 Tom Tromey <tromey@redhat.com>
7847
7848 * target-delegates.c: Rebuild.
7849 * target.c (update_current_target): Don't inherit or default
7850 to_supports_multi_process.
7851 * target.h (struct target_ops) <to_supports_multi_process>: Use
7852 TARGET_DEFAULT_RETURN.
7853
7854 2014-02-19 Tom Tromey <tromey@redhat.com>
7855
7856 * target-delegates.c: Rebuild.
7857 * target.c (update_current_target): Don't inherit or default
7858 to_get_ada_task_ptid.
7859 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7860 TARGET_DEFAULT_FUNC.
7861
7862 2014-02-19 Tom Tromey <tromey@redhat.com>
7863
7864 * target-delegates.c: Rebuild.
7865 * target.c (update_current_target): Don't inherit or default
7866 to_thread_architecture.
7867 * target.h (struct target_ops) <to_thread_architecture>: Use
7868 TARGET_DEFAULT_FUNC.
7869
7870 2014-02-19 Tom Tromey <tromey@redhat.com>
7871
7872 * target-delegates.c: Rebuild.
7873 * target.c (update_current_target): Don't inherit or default
7874 to_execution_direction.
7875 * target.h (struct target_ops) <to_execution_direction>: Use
7876 TARGET_DEFAULT_FUNC.
7877
7878 2014-02-19 Tom Tromey <tromey@redhat.com>
7879
7880 * target-delegates.c: Rebuild.
7881 * target.c (update_current_target): Don't inherit or default
7882 to_can_execute_reverse.
7883 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7884 TARGET_DEFAULT_RETURN.
7885 (target_can_execute_reverse): Unconditionally delegate.
7886
7887 2014-02-19 Tom Tromey <tromey@redhat.com>
7888
7889 * target-delegates.c: Rebuild.
7890 * target.c (update_current_target): Don't inherit or default
7891 to_goto_bookmark.
7892 (dummy_goto_bookmark): Remove.
7893 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7894 * target.h (struct target_ops) <to_goto_bookmark>: Use
7895 TARGET_DEFAULT_NORETURN.
7896
7897 2014-02-19 Tom Tromey <tromey@redhat.com>
7898
7899 * target-delegates.c: Rebuild.
7900 * target.c (update_current_target): Don't inherit or default
7901 to_get_bookmark.
7902 (dummy_get_bookmark): Remove.
7903 (init_dummy_target): Don't inherit or default to_get_bookmark.
7904 * target.h (struct target_ops) <to_get_bookmark>: Use
7905 TARGET_DEFAULT_NORETURN
7906
7907 2014-02-19 Tom Tromey <tromey@redhat.com>
7908
7909 * target-delegates.c: Rebuild.
7910 * target.c (update_current_target): Don't inherit or default
7911 to_make_corefile_notes.
7912 (init_dummy_target): Don't initialize to_make_corefile_notes.
7913 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7914 TARGET_DEFAULT_FUNC.
7915
7916 2014-02-19 Tom Tromey <tromey@redhat.com>
7917
7918 * target-delegates.c: Rebuild.
7919 * target.c (update_current_target): Don't inherit or default
7920 to_find_memory_regions.
7921 (init_dummy_target): Don't initialize to_find_memory_regions.
7922 * target.h (struct target_ops) <to_find_memory_regions>: 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_log_command.
7930 * target.h (struct target_ops) <to_log_command>: Use
7931 TARGET_DEFAULT_IGNORE.
7932 (target_log_command): Unconditionally delegate.
7933
7934 2014-02-19 Tom Tromey <tromey@redhat.com>
7935
7936 * target-delegates.c: Rebuild.
7937 * target.c (update_current_target): Don't inherit or default
7938 to_pid_to_exec_file.
7939 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
7940 TARGET_DEFAULT_RETURN.
7941
7942 2014-02-19 Tom Tromey <tromey@redhat.com>
7943
7944 * target-delegates.c: Rebuild.
7945 * target.c (update_current_target): Don't inherit or default
7946 to_thread_name.
7947 (target_thread_name): Unconditionally delegate.
7948 * target.h (struct target_ops) <to_thread_name>: Use
7949 TARGET_DEFAULT_RETURN.
7950
7951 2014-02-19 Tom Tromey <tromey@redhat.com>
7952
7953 * target-delegates.c: Rebuild.
7954 * target.c (update_current_target): Don't inherit or default
7955 to_extra_thread_info.
7956 * target.h (struct target_ops) <to_extra_thread_info>: Use
7957 TARGET_DEFAULT_RETURN.
7958
7959 2014-02-19 Tom Tromey <tromey@redhat.com>
7960
7961 * target-delegates.c: Rebuild.
7962 * target.c (update_current_target): Don't inherit or default
7963 to_has_exited.
7964 * target.h (struct target_ops) <to_has_exited>: Use
7965 TARGET_DEFAULT_RETURN..
7966
7967 2014-02-19 Tom Tromey <tromey@redhat.com>
7968
7969 * target-delegates.c: Rebuild.
7970 * target.c (update_current_target): Don't inherit or default
7971 to_set_syscall_catchpoint.
7972 (return_one): Remove.
7973 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
7974 TARGET_DEFAULT_RETURN.
7975
7976 2014-02-19 Tom Tromey <tromey@redhat.com>
7977
7978 * target-delegates.c: Rebuild.
7979 * target.c (update_current_target): Don't inherit or default
7980 to_insert_exec_catchpoint.
7981 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7982 TARGET_DEFAULT_RETURN.
7983
7984 2014-01-08 Tom Tromey <tromey@redhat.com>
7985
7986 * target-delegates.c: Rebuild.
7987 * target.c (update_current_target): Don't inherit or default
7988 to_insert_exec_catchpoint.
7989 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7990 TARGET_DEFAULT_RETURN.
7991
7992 2014-02-19 Tom Tromey <tromey@redhat.com>
7993
7994 * target-delegates.c: Rebuild.
7995 * target.c (update_current_target): Don't inherit or default
7996 to_remove_vfork_catchpoint.
7997 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
7998 TARGET_DEFAULT_RETURN.
7999
8000 2014-02-19 Tom Tromey <tromey@redhat.com>
8001
8002 * target-delegates.c: Rebuild.
8003 * target.c (update_current_target): Don't inherit or default
8004 to_insert_vfork_catchpoint.
8005 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8006 TARGET_DEFAULT_RETURN.
8007
8008 2014-02-19 Tom Tromey <tromey@redhat.com>
8009
8010 * target-delegates.c: Rebuild.
8011 * target.c (update_current_target): Don't inherit or default
8012 to_remove_fork_catchpoint.
8013 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8014 TARGET_DEFAULT_RETURN.
8015
8016 2014-02-19 Tom Tromey <tromey@redhat.com>
8017
8018 * target-delegates.c: Rebuild.
8019 * target.c (update_current_target): Don't inherit or default
8020 to_insert_fork_catchpoint.
8021 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8022 TARGET_DEFAULT_RETURN.
8023
8024 2014-02-19 Tom Tromey <tromey@redhat.com>
8025
8026 * target-delegates.c: Rebuild.
8027 * target.c (update_current_target): Don't inherit or default
8028 to_post_startup_inferior.
8029 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8030 TARGET_DEFAULT_IGNORE.
8031
8032 2014-02-19 Tom Tromey <tromey@redhat.com>
8033
8034 * target-delegates.c: Rebuild.
8035 * target.c (update_current_target): Don't inherit or default
8036 to_load.
8037 * target.h (struct target_ops) <to_load>: Use
8038 TARGET_DEFAULT_NORETURN.
8039
8040 2014-02-19 Tom Tromey <tromey@redhat.com>
8041
8042 * target-delegates.c: Rebuild.
8043 * target.c (update_current_target): Don't inherit or default
8044 to_terminal_info.
8045 * target.h (struct target_ops) <to_terminal_info>: Use
8046 TARGET_DEFAULT_FUNC.
8047
8048 2014-02-19 Tom Tromey <tromey@redhat.com>
8049
8050 * target-delegates.c: Rebuild.
8051 * target.c (update_current_target): Don't inherit or default
8052 to_terminal_save_ours.
8053 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8054 TARGET_DEFAULT_IGNORE.
8055
8056 2014-02-19 Tom Tromey <tromey@redhat.com>
8057
8058 * target-delegates.c: Rebuild.
8059 * target.c (update_current_target): Don't inherit or default
8060 to_terminal_ours.
8061 * target.h (struct target_ops) <to_terminal_ours>: Use
8062 TARGET_DEFAULT_IGNORE.
8063
8064 2014-02-19 Tom Tromey <tromey@redhat.com>
8065
8066 * target-delegates.c: Rebuild.
8067 * target.c (update_current_target): Don't inherit or default
8068 to_terminal_ours_for_output.
8069 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8070 TARGET_DEFAULT_IGNORE.
8071
8072 2014-02-19 Tom Tromey <tromey@redhat.com>
8073
8074 * target-delegates.c: Rebuild.
8075 * target.c (update_current_target): Don't inherit or default
8076 to_terminal_inferior.
8077 * target.h (struct target_ops) <to_terminal_inferior>: Use
8078 TARGET_DEFAULT_IGNORE.
8079
8080 2014-02-19 Tom Tromey <tromey@redhat.com>
8081
8082 * target-delegates.c: Rebuild.
8083 * target.c (update_current_target): Don't inherit or default
8084 to_terminal_init.
8085 * target.h (struct target_ops) <to_terminal_init>: Use
8086 TARGET_DEFAULT_IGNORE.
8087
8088 2014-02-19 Tom Tromey <tromey@redhat.com>
8089
8090 * target-delegates.c: Rebuild.
8091 * target.c (update_current_target): Don't inherit or default
8092 to_can_accel_watchpoint_condition.
8093 * target.h (struct target_ops)
8094 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8095
8096 2014-02-19 Tom Tromey <tromey@redhat.com>
8097
8098 * target-delegates.c: Rebuild.
8099 * target.c (update_current_target): Don't inherit or default
8100 to_region_ok_for_hw_watchpoint.
8101 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8102 Use TARGET_DEFAULT_FUNC.
8103
8104 2014-02-19 Tom Tromey <tromey@redhat.com>
8105
8106 * target-delegates.c: Rebuild.
8107 * target.c (update_current_target): Don't inherit or default
8108 to_watchpoint_addr_within_range.
8109 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8110 Use TARGET_DEFAULT_FUNC.
8111
8112 2014-02-19 Tom Tromey <tromey@redhat.com>
8113
8114 * target-delegates.c: Rebuild.
8115 * target.c (update_current_target): Don't inherit or default
8116 to_remove_watchpoint.
8117 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8118 TARGET_DEFAULT_NORETURN.
8119
8120 2014-02-19 Tom Tromey <tromey@redhat.com>
8121
8122 * target-delegates.c: Rebuild.
8123 * target.c (update_current_target): Don't inherit or default
8124 to_insert_watchpoint.
8125 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8126 TARGET_DEFAULT_RETURN.
8127
8128 2014-02-19 Tom Tromey <tromey@redhat.com>
8129
8130 * target-delegates.c: Rebuild.
8131 * target.c (update_current_target): Don't inherit or default
8132 to_remove_hw_breakpoint.
8133 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8134 TARGET_DEFAULT_RETURN.
8135
8136 2014-02-19 Tom Tromey <tromey@redhat.com>
8137
8138 * target-delegates.c: Rebuild.
8139 * target.c (update_current_target): Don't inherit or default
8140 to_insert_hw_breakpoint.
8141 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8142 TARGET_DEFAULT_RETURN.
8143
8144 2014-02-19 Tom Tromey <tromey@redhat.com>
8145
8146 * target-delegates.c: Rebuild.
8147 * target.c (update_current_target): Don't inherit or default
8148 to_can_use_hw_breakpoint.
8149 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8150 TARGET_DEFAULT_RETURN.
8151
8152 2014-02-19 Tom Tromey <tromey@redhat.com>
8153
8154 * target-delegates.c: Rebuild.
8155 * target.c (update_current_target): Don't inherit or default
8156 to_files_info.
8157 * target.h (struct target_ops) <to_files_info>: Use
8158 TARGET_DEFAULT_IGNORE.
8159
8160 2014-02-19 Tom Tromey <tromey@redhat.com>
8161
8162 * target-delegates.c: Rebuild.
8163 * target.c (update_current_target): Don't inherit or default
8164 to_store.
8165 * target.h (struct target_ops) <to_store>: Use
8166 TARGET_DEFAULT_NORETURN.
8167
8168 2014-02-19 Tom Tromey <tromey@redhat.com>
8169
8170 * target-delegates.c: Rebuild.
8171 * target.c (update_current_target): Don't inherit or default
8172 to_post_attach.
8173 * target.h (struct target_ops) <to_post_attach>: Use
8174 TARGET_DEFAULT_IGNORE.
8175
8176 2014-02-19 Tom Tromey <tromey@redhat.com>
8177
8178 * target-delegates.c: Rebuild.
8179 * target.c (update_current_target): Don't inherit or default
8180 to_rcmd.
8181 (default_rcmd): New function.
8182 (do_monitor_command): Unconditionally delegate.
8183 * target.h (struct target_ops) <to_rmcd>: Use
8184 TARGET_DEFAULT_FUNC.
8185
8186 2014-02-19 Tom Tromey <tromey@redhat.com>
8187
8188 * target-delegates.c: Rebuild.
8189 * target.c (init_dummy_target): Don't initialize to_attach.
8190 (target_attach): Unconditionally delegate.
8191 * target.h (struct target_ops) <to_attach>: Use
8192 TARGET_DEFAULT_FUNC.
8193
8194 2014-02-19 Tom Tromey <tromey@redhat.com>
8195
8196 * target-delegates.c: Rebuild.
8197 * target.c (target_detach): Unconditionally delegate.
8198 (init_dummy_target): Don't initialize to_detach.
8199 * target.h (struct target_ops) <to_detach>: Use
8200 TARGET_DEFAULT_IGNORE.
8201
8202 2014-02-19 Tom Tromey <tromey@redhat.com>
8203
8204 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8205 Add argument.
8206 (target_augmented_libraries_svr4_read): Add argument.
8207 * target.c (update_current_target): Update.
8208 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8209 argument.
8210
8211 2014-02-19 Tom Tromey <tromey@redhat.com>
8212
8213 * target.h (struct target_ops) <to_call_history_range>: Add
8214 argument.
8215 * target.c (target_call_history_range): Add argument.
8216 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8217 argument.
8218 (record_btrace_call_history_from): Update.
8219
8220 2014-02-19 Tom Tromey <tromey@redhat.com>
8221
8222 * target.h (struct target_ops) <to_call_history_from>: Add
8223 argument.
8224 * target.c (target_call_history_from): Add argument.
8225 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8226 argument.
8227
8228 2014-02-19 Tom Tromey <tromey@redhat.com>
8229
8230 * target.h (struct target_ops) <to_call_history>: Add argument.
8231 * target.c (target_call_history): Add argument.
8232 * record-btrace.c (record_btrace_call_history): Add 'self'
8233 argument.
8234
8235 2014-02-19 Tom Tromey <tromey@redhat.com>
8236
8237 * target.h (struct target_ops) <to_insn_history_range>: Add
8238 argument.
8239 * target.c (target_insn_history_range): Add argument.
8240 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8241 argument.
8242 (record_btrace_insn_history_from): Update.
8243
8244 2014-02-19 Tom Tromey <tromey@redhat.com>
8245
8246 * target.h (struct target_ops) <to_insn_history_from>: Add
8247 argument.
8248 * target.c (target_insn_history_from): Add argument.
8249 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8250 argument.
8251
8252 2014-02-19 Tom Tromey <tromey@redhat.com>
8253
8254 * target.h (struct target_ops) <to_insn_history>: Add argument.
8255 * target.c (target_insn_history): Add argument.
8256 * record-btrace.c (record_btrace_insn_history): Add 'self'
8257 argument.
8258
8259 2014-02-19 Tom Tromey <tromey@redhat.com>
8260
8261 * target.h (struct target_ops) <to_goto_record>: Add argument.
8262 * target.c (target_goto_record): Add argument.
8263 * record-full.c (record_full_goto): Add 'self' argument.
8264 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8265
8266 2014-02-19 Tom Tromey <tromey@redhat.com>
8267
8268 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8269 * target.c (target_goto_record_end): Add argument.
8270 * record-full.c (record_full_goto_end): Add 'self' argument.
8271 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8272
8273 2014-02-19 Tom Tromey <tromey@redhat.com>
8274
8275 * target.h (struct target_ops) <to_goto_record_begin>: Add
8276 argument.
8277 * target.c (target_goto_record_begin): Add argument.
8278 * record-full.c (record_full_goto_begin): Add 'self' argument.
8279 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8280 argument.
8281
8282 2014-02-19 Tom Tromey <tromey@redhat.com>
8283
8284 * target.h (struct target_ops) <to_record_is_replaying>: Add
8285 argument.
8286 * target.c (target_record_is_replaying): Add argument.
8287 * record-full.c (record_full_is_replaying): Add 'self' argument.
8288 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8289 argument.
8290 (record_btrace_xfer_partial, record_btrace_store_registers)
8291 (record_btrace_prepare_to_store, record_btrace_resume)
8292 (record_btrace_wait, record_btrace_decr_pc_after_break)
8293 (record_btrace_find_new_threads, record_btrace_thread_alive):
8294 Update.
8295
8296 2014-02-19 Tom Tromey <tromey@redhat.com>
8297
8298 * target.h (struct target_ops) <to_delete_record>: Add argument.
8299 * target.c (target_delete_record): Add argument.
8300 * record-full.c (record_full_delete): Add 'self' argument.
8301
8302 2014-02-19 Tom Tromey <tromey@redhat.com>
8303
8304 * target.h (struct target_ops) <to_save_record>: Add argument.
8305 * target.c (target_save_record): Add argument.
8306 * record-full.c (record_full_save): Add 'self' argument.
8307 (record_full_save): Add 'self' argument.
8308
8309 2014-02-19 Tom Tromey <tromey@redhat.com>
8310
8311 * target.h (struct target_ops) <to_info_record>: Add argument.
8312 * target.c (target_info_record): Add argument.
8313 * record.c (info_record_command): Add argument.
8314 * record-full.c (record_full_info): Add 'self' argument.
8315 * record-btrace.c (record_btrace_info): Add 'self' argument.
8316
8317 2014-02-19 Tom Tromey <tromey@redhat.com>
8318
8319 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8320 * target.c (target_stop_recording): Add argument.
8321 * record.c (record_stop): Add argument.
8322 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8323 argument.
8324
8325 2014-02-19 Tom Tromey <tromey@redhat.com>
8326
8327 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8328 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8329 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8330 argument.
8331 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8332 (_initialize_amd64_linux_nat): Use it.
8333 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8334 (_initialize_i386_linux_nat): Use it.
8335
8336 2014-02-19 Tom Tromey <tromey@redhat.com>
8337
8338 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8339 * target.c (target_teardown_btrace): Add argument.
8340 * remote.c (remote_teardown_btrace): Add 'self' argument.
8341 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8342 argument.
8343 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8344 argument.
8345
8346 2014-02-19 Tom Tromey <tromey@redhat.com>
8347
8348 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8349 * target.c (target_disable_btrace): Add argument.
8350 * remote.c (remote_disable_btrace): Add 'self' argument.
8351 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8352 argument.
8353 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8354 argument.
8355
8356 2014-02-19 Tom Tromey <tromey@redhat.com>
8357
8358 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8359 * target.c (target_enable_btrace): Add argument.
8360 * remote.c (remote_enable_btrace): Add 'self' argument.
8361 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8362 argument.
8363 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8364 argument.
8365
8366 2014-02-19 Tom Tromey <tromey@redhat.com>
8367
8368 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8369 (target_can_use_agent): Add argument.
8370 * target.c (update_current_target): Update.
8371 * remote.c (remote_can_use_agent): Add 'self' argument.
8372 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8373
8374 2014-02-19 Tom Tromey <tromey@redhat.com>
8375
8376 * target.h (struct target_ops) <to_use_agent>: Add argument.
8377 (target_use_agent): Add argument.
8378 * target.c (update_current_target): Update.
8379 * remote.c (remote_use_agent): Add 'self' argument.
8380 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8381
8382 2014-02-19 Tom Tromey <tromey@redhat.com>
8383
8384 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8385 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8386 (target_traceframe_info): Add argument.
8387 * target.c (update_current_target): Update.
8388 * remote.c (remote_traceframe_info): Add 'self' argument.
8389 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8390
8391 2014-02-19 Tom Tromey <tromey@redhat.com>
8392
8393 * target.h (target_static_tracepoint_markers_by_strid): Add
8394 argument.
8395 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8396 'self' argument.
8397 * target.c (update_current_target): Update.
8398 * remote.c (struct target_ops)
8399 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8400 * linux-nat.c (struct target_ops)
8401 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8402
8403 2014-02-19 Tom Tromey <tromey@redhat.com>
8404
8405 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8406 Add argument.
8407 (target_static_tracepoint_marker_at): Add argument.
8408 * target.c (update_current_target): Update.
8409 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8410 argument.
8411
8412 2014-02-19 Tom Tromey <tromey@redhat.com>
8413
8414 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8415 (target_set_permissions): Add argument.
8416 * target.c (update_current_target): Update.
8417 * remote.c (remote_set_permissions): Add 'self' argument.
8418 (remote_start_remote): Update.
8419
8420 2014-02-19 Tom Tromey <tromey@redhat.com>
8421
8422 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8423 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8424 (target_get_tib_address): Add argument.
8425 * target.c (update_current_target): Update.
8426 * remote.c (remote_get_tib_address): Add 'self' argument.
8427
8428 2014-02-19 Tom Tromey <tromey@redhat.com>
8429
8430 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8431 (target_set_trace_notes): Add argument.
8432 * target.c (update_current_target): Update.
8433 * remote.c (remote_set_trace_notes): Add 'self' argument.
8434
8435 2014-02-19 Tom Tromey <tromey@redhat.com>
8436
8437 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8438 argument.
8439 (target_set_trace_buffer_size): Add argument.
8440 * target.c (update_current_target): Update.
8441 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8442
8443 2014-02-19 Tom Tromey <tromey@redhat.com>
8444
8445 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8446 argument.
8447 (target_set_circular_trace_buffer): Add argument.
8448 * target.c (update_current_target): Update.
8449 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8450 argument.
8451
8452 2014-02-19 Tom Tromey <tromey@redhat.com>
8453
8454 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8455 argument.
8456 (target_set_disconnected_tracing): Add argument.
8457 * target.c (update_current_target): Update.
8458 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8459
8460 2014-02-19 Tom Tromey <tromey@redhat.com>
8461
8462 * target.h (struct target_ops)
8463 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8464 (target_get_min_fast_tracepoint_insn_len): Add argument.
8465 * target.c (update_current_target): Update.
8466 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8467 argument.
8468
8469 2014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8472 argument.
8473 (target_get_raw_trace_data): Add argument.
8474 * target.c (update_current_target): Update.
8475 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8476
8477 2014-02-19 Tom Tromey <tromey@redhat.com>
8478
8479 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8480 Add argument.
8481 (target_upload_trace_state_variables): Add argument.
8482 * target.c (update_current_target): Update.
8483 * remote.c (remote_upload_trace_state_variables): Add 'self'
8484 argument.
8485 (remote_start_remote): Update.
8486
8487 2014-02-19 Tom Tromey <tromey@redhat.com>
8488
8489 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8490 argument.
8491 (target_upload_tracepoints): Add argument.
8492 * target.c (update_current_target): Update.
8493 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8494 (remote_start_remote): Update.
8495
8496 2014-02-19 Tom Tromey <tromey@redhat.com>
8497
8498 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8499 (target_save_trace_data): Add argument.
8500 * target.c (update_current_target): Update.
8501 * remote.c (remote_save_trace_data): Add 'self' argument.
8502
8503 2014-02-19 Tom Tromey <tromey@redhat.com>
8504
8505 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8506 argument.
8507 * target.h (struct target_ops)
8508 <to_get_trace_state_variable_value>: Add argument.
8509 (target_get_trace_state_variable_value): Add argument.
8510 * target.c (update_current_target): Update.
8511 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8512 argument.
8513 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8514
8515 2014-02-19 Tom Tromey <tromey@redhat.com>
8516
8517 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8518 * target.h (struct target_ops) <to_trace_find>: Add argument.
8519 (target_trace_find): Add argument.
8520 * target.c (update_current_target): Update.
8521 * remote.c (remote_trace_find): Add 'self' argument.
8522 * ctf.c (ctf_trace_find): Add 'self' argument.
8523
8524 2014-02-19 Tom Tromey <tromey@redhat.com>
8525
8526 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8527 (target_trace_stop): Add argument.
8528 * target.c (update_current_target): Update.
8529 * remote.c (remote_trace_stop): Add 'self' argument.
8530
8531 2014-02-19 Tom Tromey <tromey@redhat.com>
8532
8533 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8534 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8535 argument.
8536 (target_get_tracepoint_status): Add argument.
8537 * target.c (update_current_target): Update.
8538 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8539
8540 2014-02-19 Tom Tromey <tromey@redhat.com>
8541
8542 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8543 * target.h (struct target_ops) <to_get_trace_status>: Add
8544 argument.
8545 (target_get_trace_status): Add argument.
8546 * target.c (update_current_target): Update.
8547 * remote.c (remote_get_trace_status): Add 'self' argument.
8548 (remote_start_remote, remote_can_download_tracepoint): Update.
8549 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8550
8551 2014-02-19 Tom Tromey <tromey@redhat.com>
8552
8553 * target.h (struct target_ops) <to_trace_start>: Add argument.
8554 (target_trace_start): Add argument.
8555 * target.c (update_current_target): Update.
8556 * remote.c (remote_trace_start): Add 'self' argument.
8557
8558 2014-02-19 Tom Tromey <tromey@redhat.com>
8559
8560 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8561 Add argument.
8562 (target_trace_set_readonly_regions): Add argument.
8563 * target.c (update_current_target): Update.
8564 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8565 argument.
8566
8567 2014-02-19 Tom Tromey <tromey@redhat.com>
8568
8569 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8570 argument.
8571 (target_disable_tracepoint): Add argument.
8572 * target.c (update_current_target): Update.
8573 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8574
8575 2014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8578 argument.
8579 (target_enable_tracepoint): Add argument.
8580 * target.c (update_current_target): Update.
8581 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8582
8583 2014-02-19 Tom Tromey <tromey@redhat.com>
8584
8585 * target.h (struct target_ops) <to_download_trace_state_variable>:
8586 Add argument.
8587 (target_download_trace_state_variable): Add argument.
8588 * target.c (update_current_target): Update.
8589 * remote.c (remote_download_trace_state_variable): Add 'self'
8590 argument.
8591
8592 2014-02-19 Tom Tromey <tromey@redhat.com>
8593
8594 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8595 argument.
8596 (target_can_download_tracepoint): Add argument.
8597 * target.c (update_current_target): Update.
8598 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8599
8600 2014-02-19 Tom Tromey <tromey@redhat.com>
8601
8602 * target.h (struct target_ops) <to_download_tracepoint>: Add
8603 argument.
8604 (target_download_tracepoint): Add argument.
8605 * target.c (update_current_target): Update.
8606 * remote.c (remote_download_tracepoint): Add 'self' argument.
8607
8608 2014-02-19 Tom Tromey <tromey@redhat.com>
8609
8610 * target.h (struct target_ops) <to_trace_init>: Add argument.
8611 (target_trace_init): Add argument.
8612 * target.c (update_current_target): Update.
8613 * remote.c (remote_trace_init): Add 'self' argument.
8614
8615 2014-02-19 Tom Tromey <tromey@redhat.com>
8616
8617 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8618 * target.c (target_fileio_readlink): Add argument.
8619 * remote.c (remote_hostio_readlink): Add 'self' argument.
8620 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8621
8622 2014-02-19 Tom Tromey <tromey@redhat.com>
8623
8624 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8625 * target.c (target_fileio_unlink): Add argument.
8626 * remote.c (remote_hostio_unlink): Add 'self' argument.
8627 (remote_file_delete): Update.
8628 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8629
8630 2014-02-19 Tom Tromey <tromey@redhat.com>
8631
8632 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8633 * target.c (target_fileio_close): Add argument.
8634 * remote.c (remote_hostio_close): Add 'self' argument.
8635 (remote_hostio_close_cleanup): Update.
8636 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8637 Update.
8638 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8639
8640 2014-02-19 Tom Tromey <tromey@redhat.com>
8641
8642 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8643 * target.c (target_fileio_pread): Add argument.
8644 * remote.c (remote_hostio_pread): Add 'self' argument.
8645 (remote_bfd_iovec_pread, remote_file_get): Update.
8646 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8647
8648 2014-02-19 Tom Tromey <tromey@redhat.com>
8649
8650 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8651 * target.c (target_fileio_pwrite): Add argument.
8652 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8653 (remote_file_put): Update.
8654 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8655
8656 2014-02-19 Tom Tromey <tromey@redhat.com>
8657
8658 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8659 * target.c (target_fileio_open): Add argument.
8660 * remote.c (remote_hostio_open): Add 'self' argument.
8661 (remote_bfd_iovec_open): Add 'self' argument.
8662 (remote_file_put): Add 'self' argument.
8663 (remote_file_get): Add 'self' argument.
8664 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8665
8666 2014-02-19 Tom Tromey <tromey@redhat.com>
8667
8668 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8669 Add argument.
8670 (target_can_run_breakpoint_commands): Add argument.
8671 * target.c (update_current_target): Update.
8672 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8673 argument.
8674 (remote_insert_breakpoint): Add 'self' argument.
8675 (remote_insert_hw_breakpoint): Add 'self' argument.
8676 (remote_can_run_breakpoint_commands): Add 'self' argument.
8677
8678 2014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target.h (struct target_ops)
8681 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8682 (target_supports_evaluation_of_breakpoint_conditions): Add
8683 argument.
8684 * target.c (update_current_target): Update.
8685 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8686 argument.
8687 (remote_insert_breakpoint): Add 'self' argument.
8688 (remote_insert_hw_breakpoint): Add 'self' argument.
8689 (remote_supports_cond_breakpoints): Add 'self' argument.
8690
8691 2014-02-19 Tom Tromey <tromey@redhat.com>
8692
8693 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8694 argument.
8695 (target_supports_string_tracing): Add argument.
8696 * target.c (update_current_target): Update.
8697 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8698
8699 2014-02-19 Tom Tromey <tromey@redhat.com>
8700
8701 * target.h (struct target_ops)
8702 <to_supports_disable_randomization>: Add argument.
8703 * target.c (find_default_supports_disable_randomization): Add
8704 argument.
8705 (target_supports_disable_randomization): Add argument.
8706 (find_default_supports_disable_randomization): Add 'self'
8707 argument.
8708 * remote.c (extended_remote_supports_disable_randomization): Add
8709 'self' argument.
8710 (remote_supports_disable_randomization): Add 'self' argument.
8711 (extended_remote_create_inferior): Update.
8712 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8713 'self' argument.
8714
8715 2014-02-19 Tom Tromey <tromey@redhat.com>
8716
8717 * target.h (struct target_ops)
8718 <to_supports_enable_disable_tracepoint>: Add argument.
8719 (target_supports_enable_disable_tracepoint): Add argument.
8720 * target.c (update_current_target): Update.
8721 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8722 argument.
8723
8724 2014-02-19 Tom Tromey <tromey@redhat.com>
8725
8726 * target.h (struct target_ops) <to_supports_multi_process>: Add
8727 argument.
8728 (target_supports_multi_process): Add argument.
8729 * target.c (update_current_target): Update.
8730 * remote.c (remote_supports_multi_process): Add 'self' argument.
8731 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8732 argument.
8733 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8734 argument.
8735
8736 2014-02-19 Tom Tromey <tromey@redhat.com>
8737
8738 * target.h (struct target_ops) <to_execution_direction>: Add
8739 argument.
8740 (target_execution_direction): Add argument.
8741 * target.c (default_execution_direction): Add 'self' argument.
8742 * record-full.c (record_full_execution_direction): Add 'self'
8743 argument.
8744
8745 2014-02-19 Tom Tromey <tromey@redhat.com>
8746
8747 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8748 argument.
8749 (target_can_execute_reverse): Add argument.
8750 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8751 * record-full.c (record_full_can_execute_reverse): Add 'self'
8752 argument.
8753 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8754 argument.
8755
8756 2014-02-19 Tom Tromey <tromey@redhat.com>
8757
8758 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8759 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8760 argument.
8761 (target_get_ada_task_ptid): Add argument.
8762 * target.c (update_current_target): Update.
8763 (default_get_ada_task_ptid): Add 'self' argument.
8764 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8765 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8766 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8767 argument.
8768 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8769 argument.
8770 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8771 argument.
8772 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8773 argument.
8774 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8775 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8776 argument.
8777
8778 2014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8781 (target_goto_bookmark): Add argument.
8782 * target.c (dummy_goto_bookmark): Add 'self' argument.
8783 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8784
8785 2014-02-19 Tom Tromey <tromey@redhat.com>
8786
8787 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8788 (target_get_bookmark): Add argument.
8789 * target.c (dummy_get_bookmark): Add 'self' argument.
8790 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8791
8792 2014-02-19 Tom Tromey <tromey@redhat.com>
8793
8794 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8795 argument.
8796 (target_make_corefile_notes): Add argument.
8797 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8798 * procfs.c (procfs_make_note_section): Add 'self' argument.
8799 (procfs_make_note_section): Add 'self' argument.
8800 (procfs_make_note_section): Add 'self' argument.
8801 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8802 argument.
8803 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8804 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8805 * exec.c (exec_make_note_section): Add 'self' argument.
8806 (exec_make_note_section): Add 'self' argument.
8807
8808 2014-02-19 Tom Tromey <tromey@redhat.com>
8809
8810 * target.h (struct target_ops) <to_find_memory_regions>: Add
8811 argument.
8812 (target_find_memory_regions): Add argument.
8813 * target.c (dummy_find_memory_regions): Add 'self' argument.
8814 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8815 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8816 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8817 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8818 * exec. (exec_do_find_memory_regions): New global.
8819 (exec_set_find_memory_regions): Rewrite.
8820 (exec_find_memory_regions): New function.
8821 (init_exec_ops): Use exec_find_memory_regions.
8822
8823 2014-02-19 Tom Tromey <tromey@redhat.com>
8824
8825 * target.h (struct target_ops) <to_supports_non_stop>: Add
8826 argument.
8827 * target.c (find_default_supports_non_stop): Add argument.
8828 (target_supports_non_stop): Add argument.
8829 (find_default_supports_non_stop): Add 'self' argument.
8830 * remote.c (remote_supports_non_stop): Add 'self' argument.
8831 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8832
8833 2014-02-19 Tom Tromey <tromey@redhat.com>
8834
8835 * target.h (struct target_ops) <to_log_command>: Add argument.
8836 (target_log_command): Add argument.
8837 * serial.h (serial_log_command): Add 'self' argument.
8838 * serial.c (serial_log_command): Add 'self' argument.
8839
8840 2014-02-19 Tom Tromey <tromey@redhat.com>
8841
8842 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8843 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8844 argument.
8845 (target_pid_to_exec_file): Add argument.
8846 * target.c (debug_to_pid_to_exec_file): Add argument.
8847 (update_current_target): Update.
8848 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8849 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8850 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8851 (linux_handle_extended_wait): Update.
8852 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8853 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8854 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8855 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8856
8857 2014-02-19 Tom Tromey <tromey@redhat.com>
8858
8859 * target.h (struct target_ops) <to_rcmd>: Add argument.
8860 (target_rcmd): Add argument.
8861 * target.c (debug_to_rcmd): Add argument.
8862 (update_current_target, do_monitor_command): Update.
8863 * remote.c (remote_rcmd): Add 'self' argument.
8864 * monitor.c (monitor_rcmd): Add 'self' argument.
8865
8866 2014-02-19 Tom Tromey <tromey@redhat.com>
8867
8868 * windows-nat.c (windows_stop): Add 'self' argument.
8869 * target.h (struct target_ops) <to_stop>: Add argument.
8870 * target.c (target_stop): Add argument.
8871 (debug_to_stop): Add argument.
8872 (update_current_target): Update.
8873 * remote.c (remote_stop): Add 'self' argument.
8874 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8875 (gdbsim_cntrl_c): Update.
8876 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8877 * procfs.c (procfs_stop): Add 'self' argument.
8878 * nto-procfs.c (procfs_stop): Add 'self' argument.
8879 * monitor.c (monitor_stop): Add 'self' argument.
8880 (monitor_open): Update.
8881 * linux-nat.c (linux_nat_stop): Add argument.
8882 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8883 * gnu-nat.c (gnu_stop): Add 'self' argument.
8884 * darwin-nat.c (darwin_stop): Add 'self' argument.
8885
8886 2014-02-19 Tom Tromey <tromey@redhat.com>
8887
8888 * target.h (struct target_ops) <to_thread_name>: Add argument.
8889 * target.c (target_thread_name): Add argument.
8890 (update_current_target): Update.
8891 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8892
8893 2014-02-19 Tom Tromey <tromey@redhat.com>
8894
8895 * target.h (struct target_ops) <to_extra_thread_info>: Add
8896 argument.
8897 (target_extra_thread_info): Add argument.
8898 * target.c (update_current_target): Update.
8899 * remote.c (remote_threads_extra_info): Add 'self' argument.
8900 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8901 argument.
8902 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8903 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8904 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8905 argument.
8906 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8907 argument.
8908 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8909 argument.
8910 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8911 argument.
8912
8913 2014-02-19 Tom Tromey <tromey@redhat.com>
8914
8915 * target.h (struct target_ops) <to_program_signals>: Add argument.
8916 * target.c (target_program_signals): Add argument.
8917 * remote.c (remote_program_signals): Add 'self' argument.
8918
8919 2014-02-19 Tom Tromey <tromey@redhat.com>
8920
8921 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8922 * target.c (target_pass_signals): Add argument.
8923 * remote.c (remote_pass_signals): Add 'self' argument.
8924 (remote_start_remote): Update.
8925 * procfs.c (procfs_pass_signals): Add 'self' argument.
8926 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8927 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8928 (linux_nat_create_inferior, linux_nat_attach): Update.
8929
8930 2014-02-19 Tom Tromey <tromey@redhat.com>
8931
8932 * windows-nat.c (windows_can_run): Add 'self' argument.
8933 * target.h (struct target_ops) <to_can_run>: Add argument.
8934 (target_can_run): Add argument.
8935 * target.c (debug_to_can_run): Add argument.
8936 (update_current_target): Update.
8937 * nto-procfs.c (procfs_can_run): Add 'self' argument.
8938 * inf-child.c (inf_child_can_run): Add 'self' argument.
8939 * go32-nat.c (go32_can_run): Add 'self' argument.
8940
8941 2014-02-19 Tom Tromey <tromey@redhat.com>
8942
8943 * target.h (struct target_ops) <to_has_exited>: Add argument.
8944 (target_has_exited): Add argument.
8945 * target.c (debug_to_has_exited): Add argument.
8946 (update_current_target): Update.
8947
8948 2014-02-19 Tom Tromey <tromey@redhat.com>
8949
8950 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
8951 argument.
8952 (target_set_syscall_catchpoint): Add argument.
8953 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
8954 argument.
8955 * target.c (update_current_target): Update.
8956
8957 2014-02-19 Tom Tromey <tromey@redhat.com>
8958
8959 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
8960 argument.
8961 (target_remove_exec_catchpoint): Add argument.
8962 * target.c (debug_to_remove_exec_catchpoint): Add argument.
8963 (update_current_target): Update.
8964 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
8965 argument.
8966
8967 2014-02-19 Tom Tromey <tromey@redhat.com>
8968
8969 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
8970 argument.
8971 (target_insert_exec_catchpoint): Add argument.
8972 * target.c (debug_to_insert_exec_catchpoint): Add argument.
8973 (update_current_target): Update.
8974 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
8975 argument.
8976
8977 2014-02-19 Tom Tromey <tromey@redhat.com>
8978
8979 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
8980 argument.
8981 (target_remove_vfork_catchpoint): Add argument.
8982 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
8983 (update_current_target): Update.
8984 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
8985 argument.
8986
8987 2014-02-19 Tom Tromey <tromey@redhat.com>
8988
8989 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
8990 argument.
8991 (target_insert_vfork_catchpoint): Add argument.
8992 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
8993 (update_current_target): Update.
8994 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
8995 argument.
8996
8997 2014-02-19 Tom Tromey <tromey@redhat.com>
8998
8999 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9000 argument.
9001 (target_remove_fork_catchpoint): Add argument.
9002 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9003 (update_current_target): Update.
9004 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9005 argument.
9006
9007 2014-02-19 Tom Tromey <tromey@redhat.com>
9008
9009 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9010 argument.
9011 (target_insert_fork_catchpoint): Add argument.
9012 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9013 (update_current_target): Update.
9014 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9015 argument.
9016
9017 2014-02-19 Tom Tromey <tromey@redhat.com>
9018
9019 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9020 argument.
9021 (target_post_startup_inferior): Add argument.
9022 * target.c (debug_to_post_startup_inferior): Add argument.
9023 (update_current_target): Update.
9024 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9025 argument.
9026 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9027 argument.
9028 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9029 argument.
9030 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9031 argument.
9032 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9033 'self' argument.
9034 (super_post_startup_inferior): Likewise.
9035 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9036 'self' argument.
9037 (super_post_startup_inferior): Likewise.
9038 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9039 Add 'self' argument.
9040 (super_post_startup_inferior): Likewise.
9041
9042 2014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target.h (struct target_ops) <to_load>: Add argument.
9045 * target.c (target_load): Add argument.
9046 (debug_to_load): Add argument.
9047 (update_current_target): Update.
9048 * remote.c (remote_load): Add 'self' argument.
9049 * remote-sim.c (gdbsim_load): Add 'self' argument.
9050 * remote-mips.c (mips_load): Add 'self' argument.
9051 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9052 * monitor.c (monitor_load): Add 'self' argument.
9053 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9054
9055 2014-02-19 Tom Tromey <tromey@redhat.com>
9056
9057 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9058 (target_terminal_info): Add argument.
9059 * target.c (debug_to_terminal_info): Add argument.
9060 (default_terminal_info): Likewise.
9061 * inflow.c (child_terminal_info): Add 'self' argument.
9062 * inferior.h (child_terminal_info): Add 'self' argument.
9063 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9064
9065 2014-02-19 Tom Tromey <tromey@redhat.com>
9066
9067 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9068 argument.
9069 (target_terminal_save_ours): Add argument.
9070 * target.c (debug_to_terminal_save_ours): Add argument.
9071 (update_current_target): Update.
9072 * inflow.c (terminal_save_ours): Add 'self' argument.
9073 * inferior.h (terminal_save_ours): Add 'self' argument.
9074
9075 2014-02-19 Tom Tromey <tromey@redhat.com>
9076
9077 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9078 (target_terminal_ours): Add argument.
9079 * target.c (debug_to_terminal_ours): Add argument.
9080 (update_current_target): Update.
9081 * remote.c (remote_terminal_ours): Add 'self' argument.
9082 (remote_close): Update.
9083 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9084 * inflow.c (terminal_ours): Add 'self' argument.
9085 * inferior.h (terminal_ours): Add 'self' argument.
9086 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9087
9088 2014-02-19 Pedro Alves <palves@redhat.com>
9089 Tom Tromey <tromey@redhat.com>
9090
9091 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9092 argument.
9093 (target_terminal_ours_for_output): Add argument.
9094 * target.c (debug_to_terminal_ours_for_output): Add argument.
9095 (update_current_target): Update.
9096 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9097 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9098 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9099
9100 2014-02-19 Tom Tromey <tromey@redhat.com>
9101
9102 * target.h (struct target_ops) <to_terminal_inferior>: Add
9103 argument.
9104 * target.c (target_terminal_inferior): Add argument.
9105 (update_current_target): Update.
9106 * remote.c (remote_terminal_inferior): Add 'self' argument.
9107 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9108 * inflow.c (terminal_inferior): Add 'self' argument.
9109 * inferior.h (terminal_inferior): Add 'self' argument.
9110 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9111 (go32_terminal_inferior): Add 'self' argument.
9112
9113 2014-02-19 Tom Tromey <tromey@redhat.com>
9114
9115 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9116 (target_terminal_init): Add argument.
9117 * target.c (debug_to_terminal_init): Add argument.
9118 (update_current_target): Update.
9119 * inflow.c (terminal_init_inferior): Add 'self' argument.
9120 * inferior.h (terminal_init_inferior): Add 'self' argument.
9121 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9122 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9123
9124 2014-02-19 Tom Tromey <tromey@redhat.com>
9125
9126 * target.h (struct target_ops)
9127 <to_can_accel_watchpoint_condition>: Add argument.
9128 (target_can_accel_watchpoint_condition): Add argument.
9129 * target.c (debug_to_can_accel_watchpoint_condition): Add
9130 argument.
9131 (update_current_target): Update.
9132 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9133 'self' argument.
9134
9135 2014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9138 Add argument.
9139 (target_region_ok_for_hw_watchpoint): Add argument.
9140 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9141 (default_region_ok_for_hw_watchpoint): Add argument.
9142 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9143 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9144 argument.
9145 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9146 argument.
9147 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9148 argument.
9149 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9150 'self' argument.
9151 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9152 'self' argument.
9153 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9154 'self' argument.
9155 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9156 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9157 'self' argument.
9158 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9159 Add 'self' argument.
9160
9161 2014-02-19 Tom Tromey <tromey@redhat.com>
9162
9163 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9164 argument.
9165 (target_insert_watchpoint): Add argument.
9166 * target.c (debug_to_insert_watchpoint): Add argument.
9167 (update_current_target): Update.
9168 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9169 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9170 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9171 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9172 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9173 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9174 argument.
9175 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9176 (procfs_insert_hw_watchpoint): Add 'self' argument.
9177 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9178 argument.
9179 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9180 argument.
9181 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9182 argument.
9183 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9184 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9185 argument.
9186 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9187 'self' argument.
9188
9189 2014-02-19 Tom Tromey <tromey@redhat.com>
9190
9191 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9192 argument.
9193 (target_remove_watchpoint): Add argument.
9194 * target.c (debug_to_remove_watchpoint): Add argument.
9195 (update_current_target): Update.
9196 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9197 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9198 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9199 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9200 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9201 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9202 argument.
9203 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9204 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9205 argument.
9206 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9207 argument.
9208 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9209 argument.
9210 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9211 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9212 argument.
9213 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9214 'self' argument.
9215
9216 2014-02-19 Tom Tromey <tromey@redhat.com>
9217
9218 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9219 argument.
9220 (target_remove_hw_breakpoint): Add argument.
9221 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9222 (update_current_target): Update.
9223 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9224 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9225 argument.
9226 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9227 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9228 argument.
9229 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9230 'self' argument.
9231
9232 2014-02-19 Tom Tromey <tromey@redhat.com>
9233
9234 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9235 argument.
9236 (target_insert_hw_breakpoint): Add argument.
9237 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9238 (update_current_target): Update.
9239 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9240 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9241 argument.
9242 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9243 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9244 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9245 argument.
9246 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9247 'self' argument.
9248
9249 2014-02-19 Tom Tromey <tromey@redhat.com>
9250
9251 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9252 argument.
9253 (target_can_use_hardware_watchpoint): Add argument.
9254 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9255 (update_current_target): Update.
9256 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9257 argument.
9258 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9259 argument.
9260 * remote.c (remote_check_watch_resources): Add 'self' argument.
9261 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9262 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9263 argument.
9264 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9265 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9266 argument.
9267 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9268 argument.
9269 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9270 argument.
9271 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9272 argument.
9273 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9274 argument.
9275 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9276 argument.
9277 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9278 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9279 argument.
9280 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9281 'self' argument.
9282
9283 2014-02-19 Tom Tromey <tromey@redhat.com>
9284
9285 * target.h (struct target_ops) <to_post_attach>: Add argument.
9286 (target_post_attach): Add argument.
9287 * target.c (debug_to_post_attach): Add argument.
9288 (update_current_target): Update.
9289 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9290 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9291 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9292 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9293 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9294
9295 2014-02-19 Tom Tromey <tromey@redhat.com>
9296
9297 * windows-nat.c (windows_close): Add 'self' argument.
9298 * tracepoint.c (tfile_close): Add 'self' argument.
9299 * target.h (struct target_ops) <to_close>: Add argument.
9300 * target.c (target_close): Add argument.
9301 (update_current_target): Update.
9302 * remote.c (remote_close): Add 'self' argument.
9303 * remote-sim.c (gdbsim_close): Add 'self' argument.
9304 * remote-mips.c (mips_close): Add 'self' argument.
9305 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9306 * record-full.c (record_full_close): Add 'self' argument.
9307 * record-btrace.c (record_btrace_close): Add 'self' argument.
9308 * monitor.h (monitor_close): Add 'self' argument.
9309 * monitor.c (monitor_close): Add 'self' argument.
9310 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9311 * linux-nat.c (linux_nat_close): Add argument.
9312 * go32-nat.c (go32_close): Add 'self' argument.
9313 * exec.c (exec_close_1): Add 'self' argument.
9314 * ctf.c (ctf_close): Add 'self' argument.
9315 * corelow.c (core_close): Add 'self' argument.
9316 (core_close_cleanup): Update.
9317 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9318 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9319
9320 2014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * remote.c (remote_load): New function.
9323 (init_remote_ops): Use it.
9324
9325 2014-02-19 Tom Tromey <tromey@redhat.com>
9326
9327 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9328 argument.
9329 * common/linux-btrace.h (linux_supports_btrace): Update.
9330 * remote.c (remote_supports_btrace): Add "self" argument.
9331 * target-delegates.c: Rebuild.
9332 * target.c (target_supports_btrace): Remove.
9333 * target.h (struct target_ops) <to_supports_btrace>: Add
9334 target_ops argument.
9335 (target_supports_btrace): New define.
9336
9337 2014-02-19 Tom Tromey <tromey@redhat.com>
9338
9339 * record-full.c (record_full_beneath_to_resume_ops)
9340 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9341 (record_full_beneath_to_wait)
9342 (record_full_beneath_to_store_registers_ops)
9343 (record_full_beneath_to_store_registers)
9344 (record_full_beneath_to_xfer_partial_ops)
9345 (record_full_beneath_to_xfer_partial)
9346 (record_full_beneath_to_insert_breakpoint_ops)
9347 (record_full_beneath_to_insert_breakpoint)
9348 (record_full_beneath_to_remove_breakpoint_ops)
9349 (record_full_beneath_to_remove_breakpoint)
9350 (record_full_beneath_to_stopped_by_watchpoint)
9351 (record_full_beneath_to_stopped_data_address)
9352 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9353 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9354 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9355 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9356 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9357 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9358 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9359 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9360 (record_full_resume, record_full_wait_1)
9361 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9362 (record_full_store_registers, record_full_xfer_partial)
9363 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9364 (record_full_async, record_full_core_xfer_partial): Use target
9365 delegation.
9366 * target-delegates.c: Rebuild.
9367 * target.c (current_xfer_partial): Remove.
9368 (update_current_target): Do not INHERIT or de_fault
9369 to_insert_breakpoint, to_remove_breakpoint,
9370 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9371 to_is_async_p, to_async. Do not set to_xfer_partial field.
9372 (default_xfer_partial): Simplify.
9373 (current_xfer_partial): Remove.
9374 (target_wait, target_resume): Simplify.
9375 (find_default_can_async_p, find_default_is_async_p): Update.
9376 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9377 to_xfer_partial, to_stopped_by_watchpoint,
9378 to_stopped_data_address.
9379 (target_store_registers): Simplify.
9380 (forward_target_remove_breakpoint)
9381 (forward_target_insert_breakpoint): Remove.
9382 (target_remove_breakpoint, target_insert_breakpoint)
9383 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9384 * target.h (struct target_ops) <to_resume, to_wait,
9385 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9386 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9387 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9388 markup.
9389 (forward_target_remove_breakpoint)
9390 (forward_target_insert_breakpoint): Remove.
9391 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9392 directly.
9393 (record_btrace_insert_breakpoint): Delegate directly.
9394
9395 2014-02-19 Tom Tromey <tromey@redhat.com>
9396
9397 PR build/7701:
9398 * target-delegates.c: New file.
9399 * target.c: Include target-delegates.c.
9400 (init_dummy_target): Call install_dummy_methods.
9401 (complete_target_initialization): Call install_delegators.
9402 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9403 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9404 * make-target-delegates: New file.
9405
9406 2014-02-19 Tom Tromey <tromey@redhat.com>
9407
9408 * record.c (find_record_target): Use find_target_at.
9409 * target.c (find_target_at): New function.
9410 * target.h (find_target_at): Declare.
9411
9412 2014-02-19 Tom Tromey <tromey@redhat.com>
9413
9414 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9415 Add 'ops' argument.
9416 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9417 'ops' argument.
9418 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9419 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9420 'ops' argument.
9421 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9422 argument.
9423 * linux-nat.c (save_sigtrap): Update.
9424 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9425 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9426 (linux_nat_close): Update.
9427 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9428 argument.
9429 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9430 argument.
9431 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9432 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9433 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9434 (tmp_to_async): Add 'ops' argument.
9435 (record_full_stopped_by_watchpoint, record_full_async)
9436 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9437 argument.
9438 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9439 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9440 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9441 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9442 (remote_is_async_p, remote_async): Add 'ops' argument.
9443 (remote_stopped_data_address): Update.
9444 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9445 * target.c (update_current_target)
9446 (find_default_can_async_p, find_default_is_async_p): Update.
9447 (init_dummy_target): Update.
9448 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9449 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9450 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9451 (target_can_async_p, target_is_async_p, target_async)
9452 (target_stopped_by_watchpoint): Update.
9453
9454 2014-02-19 Yao Qi <yao@codesourcery.com>
9455
9456 PR gdb/16220
9457 * gdbarch.sh: Remove startup_gdbarch.
9458 * gdbarch.c: Regenerated.
9459 * gdbarch.h: Likewise.
9460
9461 2014-02-17 Kevin Buettner <kevinb@redhat.com>
9462
9463 * rl78-tdep.c (rl78_g10_register_name): New function.
9464 (rl78_return_value): Add g10 support.
9465 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9466 g10.
9467
9468 2014-02-17 Doug Evans <xdje42@gmail.com>
9469
9470 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9471 (SUBDIR_GUILE_SRCS): Ditto.
9472 (scm-gsmob.o): Ditto.
9473
9474 2014-02-17 Yao Qi <yao@codesourcery.com>
9475
9476 * gnu-nat.c (ILL_RPC): Declare defined function.
9477
9478 2014-02-17 Yao Qi <yao@codesourcery.com>
9479
9480 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9481 mach_msg_type_number_t.
9482 (gnu_write_inferior): Likewise.
9483
9484 2014-02-17 Yao Qi <yao@codesourcery.com>
9485
9486 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9487 in format string.
9488 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9489 (inf_validate_procs, inf_signal): Likewise.
9490 (S_exception_raise_request): Likewise.
9491 (do_mach_notify_dead_name): Likewise.
9492 (steal_exc_port): Likewise.
9493 (gnu_read_inferior): Change 'copy_count''s type to
9494 mach_msg_type_number_t.
9495 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9496 format string.
9497
9498 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9499
9500 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9501 flag. Adjust all users; in particular...
9502 (gnu_wait): ..., don't decrement its value in here...
9503 (gnu_create_inferior): ..., and instead set the flag in here,
9504 around the startup_inferior call, and call that one with
9505 START_INFERIOR_TRAPS_EXPECTED.
9506
9507 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9508 (ILL_RPC): ... new macro.
9509 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9510 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9511 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9512 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9513 functions with ILL_RPC macro.
9514 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9515 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9516 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9517 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9518 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9519 (S_proc_getlogin_reply, S_proc_getsid_reply)
9520 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9521 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9522 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9523 (S_proc_getnports_reply, S_proc_is_important_reply)
9524 (S_proc_get_code_reply): New stub functions, generated with
9525 ILL_RPC macro.
9526
9527 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9528 collected the type check structures.
9529
9530 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9531
9532 2014-02-14 Doug Evans <dje@google.com>
9533
9534 * target.c (target_write_partial): Fix result type.
9535
9536 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9537
9538 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9539 the proper offsets to access fpregset_t.
9540
9541 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9542
9543 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9544 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9545 * h8300-tdep.c (setmachinelist): Remove global.
9546 * hppa-tdep.c (hppa_sigtramp): Remove global.
9547 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9548 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9549 * ravenscar-thread.c (update_target_observer): Remove global.
9550 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9551
9552 2014-02-12 Tom Tromey <tromey@redhat.com>
9553
9554 * common/rsp-low.c: Update comments.
9555 * common/rsp-low.h: Update comments.
9556
9557 2014-02-12 Tom Tromey <tromey@redhat.com>
9558
9559 * common/rsp-low.c (convert_ascii_to_int): Remove.
9560 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9561
9562 2014-02-12 Tom Tromey <tromey@redhat.com>
9563
9564 * common/rsp-low.h (unhexify): Don't declare.
9565 * common/rsp-low.c (unhexify): Remove.
9566
9567 2014-02-12 Tom Tromey <tromey@redhat.com>
9568
9569 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9570 * common/rsp-low.c (convert_int_to_ascii): Remove.
9571
9572 2014-02-12 Tom Tromey <tromey@redhat.com>
9573
9574 * common/rsp-low.h (hexify): Don't declare.
9575 * common/rsp-low.c (hexify): Remove.
9576
9577 2014-02-12 Tom Tromey <tromey@redhat.com>
9578
9579 * common/rsp-low.c (hexify): Never take strlen of argument.
9580
9581 2014-02-12 Tom Tromey <tromey@redhat.com>
9582
9583 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9584 * remote.c (extended_remote_run, remote_rcmd)
9585 (remote_download_trace_state_variable, remote_save_trace_data)
9586 (remote_set_trace_notes): Update.
9587 * tracepoint.c (encode_source_string, tfile_write_status)
9588 (tfile_write_uploaded_tsv): Update.
9589
9590 2014-02-12 Tom Tromey <tromey@redhat.com>
9591
9592 * tracepoint.c: Include rsp-low.h.
9593 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9594 * remote.c: Include rsp-low.h.
9595 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9596 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9597 (remote_unescape_input): Move to common/rsp-low.c.
9598 * common/rsp-low.h: New file.
9599 * common/rsp-low.c: New file.
9600 * Makefile.in (SFILES): Add common/rsp-low.c.
9601 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9602 (COMMON_OBS): Add rsp-low.o.
9603 (rsp-low.o): New target.
9604
9605 2014-02-12 Tom Tromey <tromey@redhat.com>
9606
9607 * utils.h: Include print-utils.h.
9608 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9609 (int_string, core_addr_to_string, core_addr_to_string_nz)
9610 (hex_string, hex_string_custom): Don't declare.
9611 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9612 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9613 (hex_string_custom, int_string, core_addr_to_string)
9614 (core_addr_to_string_nz, host_address_to_string): Move to
9615 common/print-utils.c.
9616 * common/print-utils.h: New file.
9617 * common/print-utils.c: New file
9618 * Makefile.in (SFILES): Add common/print-utils.c.
9619 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9620 (COMMON_OBS): Add print-utils.o.
9621 (print-utils.o): New target.
9622
9623 2014-02-12 Tom Tromey <tromey@redhat.com>
9624
9625 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9626
9627 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9628
9629 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9630
9631 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9632
9633 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9634 if a PT_IO ptrace request returns sucessfully but indicates that 0
9635 bytes were transferred.
9636
9637 2014-02-12 Pedro Alves <palves@redhat.com>
9638 Kevin Buettner <kevinb@redhat.com>
9639
9640 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9641 TYPE_INSTANCE_FLAG_CODE_SPACE.
9642
9643 2014-02-12 Pedro Alves <palves@redhat.com>
9644
9645 * h8300-tdep.c (pseudo_from_raw_register)
9646 (raw_from_pseudo_register): New functions.
9647 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9648 them.
9649
9650 2014-02-12 Pedro Alves <palves@redhat.com>
9651
9652 * h8300-tdep.c (h8300_register_sim_regno): New function.
9653 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9654 gdbarch_register_sim_regno hook.
9655
9656 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9657
9658 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9659
9660 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9661
9662 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9663
9664 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9665
9666 * obsd-tdep.h (obsd_init_abi): New prototype.
9667 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9668 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9669 (obsd_init_abi): New functions.
9670 * i386obsd-tdep.c: Include "obsd-tdep.h".
9671 (i386obsd_init_abi): Call obsd_init_abi.
9672 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9673 (amd64obsd_init_abi): Call obsd_init_abi.
9674 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9675 obsd-tdep.c to gdb_target_obs.
9676
9677 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9678
9679 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9680 double float arguments to 16-byte in the argument slots.
9681
9682 2014-02-11 Doug Evans <xdje42@gmail.com>
9683
9684 * configure.ac: Don't crash if pkg-config is not found and guile
9685 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9686 in guile checks.
9687 * configure: Regenerate.
9688
9689 2014-02-11 Yao Qi <yao@codesourcery.com>
9690
9691 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9692 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9693 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9694 * gnu-nat.c (gnu_xfer_memory): Likewise.
9695 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9696 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9697 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9698 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9699
9700 2014-02-11 Yao Qi <yao@codesourcery.com>
9701
9702 * target.h (enum target_xfer_error): Rename to ...
9703 (enum target_xfer_status): ... it. New. All users updated.
9704 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9705 New.
9706 (TARGET_XFER_STATUS_ERROR_P): New macro.
9707 (target_xfer_error_to_string): Remove declaration.
9708 (target_xfer_status_to_string): Declare.
9709 (target_xfer_partial_ftype): Adjust it.
9710 (struct target_ops) <to_xfer_partial>: Return
9711 target_xfer_status. Add argument xfered_len. Update
9712 comments.
9713 * target.c (target_xfer_error_to_string): Rename to ...
9714 (target_xfer_status_to_string): ... it. New. All callers
9715 updated.
9716 (target_read_live_memory): Likewise. Call target_xfer_partial
9717 instead of target_read.
9718 (memory_xfer_live_readonly_partial): Return
9719 target_xfer_status. Add argument xfered_len.
9720 (raw_memory_xfer_partial): Likewise.
9721 (memory_xfer_partial_1): Likewise.
9722 (memory_xfer_partial): Likewise.
9723 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9724 properly. Update debug message.
9725 (default_xfer_partial, current_xfer_partial): Likewise.
9726 (target_write_partial): Likewise.
9727 (target_read_partial): Likewise. All callers updated.
9728 (read_whatever_is_readable): Likewise.
9729 (target_write_with_progress): Likewise.
9730 (target_read_alloc_1): Likewise.
9731
9732 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9733 * auxv.c (procfs_xfer_auxv): Likewise.
9734 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9735 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9736 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9737 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9738 * corefile.c (read_memory): Adjust.
9739 * corelow.c (core_xfer_partial): Likewise.
9740 * ctf.c (ctf_xfer_partial): Likewise.
9741 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9742 updated.
9743 (darwin_xfer_partial): Likewise.
9744 * exec.c (section_table_xfer_memory_partial): Likewise. All
9745 callers updated.
9746 (exec_xfer_partial): Likewise.
9747 * exec.h (section_table_xfer_memory_partial): Update
9748 declaration.
9749 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9750 negative.
9751 (gnu_xfer_partial): Likewise.
9752 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9753 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9754 (ia64_hpux_xfer_solib_got): Likewise.
9755 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9756 type of 'partial_len' to ULONGEST.
9757 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9758 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9759 (linux_nat_xfer_partial): Likewise.
9760 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9761 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9762 * monitor.c (monitor_xfer_memory): Likewise.
9763 (monitor_xfer_partial): Likewise.
9764 * procfs.c (procfs_xfer_partial): Likewise.
9765 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9766 * record-full.c (record_full_xfer_partial): Likewise.
9767 (record_full_core_xfer_partial): Likewise.
9768 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9769 (gdbsim_xfer_partial): Likewise.
9770 * remote.c (remote_write_bytes_aux): Likewise. All callers
9771 updated.
9772 (remote_write_bytes, remote_read_bytes): Likewise. All
9773 callers updated.
9774 (remote_flash_erase): Likewise. All callers updated.
9775 (remote_write_qxfer): Likewise. All callers updated.
9776 (remote_read_qxfer): Likewise. All callers updated.
9777 (remote_xfer_partial): Likewise.
9778 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9779 (rs6000_xfer_shared_libraries): Likewise.
9780 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9781 (sol_thread_xfer_partial): Likewise.
9782 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9783 (sparc_xfer_partial): Likewise.
9784 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9785 updated.
9786 (spu_xfer_partial): Likewise.
9787 * spu-multiarch.c (spu_xfer_partial): Likewise.
9788 * tracepoint.c (tfile_xfer_partial): Likewise.
9789 * windows-nat.c (windows_xfer_memory): Likewise.
9790 (windows_xfer_shared_libraries): Likewise.
9791 (windows_xfer_partial): Likewise.
9792 * valprint.c: Replace 'target_xfer_error' with
9793 'target_xfer_status' in comments.
9794
9795 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9796
9797 Checked in by Joel Brobecker <brobecker@adacore.com>.
9798 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9799
9800 2014-02-11 Joel Brobecker <brobecker@adacore.com>
9801
9802 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9803 function parameters.
9804
9805 2014-02-10 Will Newton <will.newton@linaro.org>
9806
9807 * elfread.c (elf_rel_plt_read): Look for a .got section if
9808 looking up .got.plt fails.
9809 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9810 on address passed to elf_gnu_ifunc_record_cache.
9811 (elf_gnu_ifunc_resolve_addr): Likewise.
9812 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9813
9814 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9815
9816 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9817 (X_RETTURN): New macro.
9818 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9819
9820 * sparc64-tdep.c (sparc64_init_abi): Hook
9821 sparc_in_function_epilogue_p.
9822
9823 2014-02-10 Gary Benson <gbenson@redhat.com>
9824
9825 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9826 Rename name_matcher to symbol_matcher.
9827
9828 2014-02-10 Gary Benson <gbenson@redhat.com>
9829
9830 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9831 Use expand_symtabs_file_matcher_ftype and
9832 expand_symtabs_symbol_matcher_ftype.
9833
9834 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9835
9836 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9837 (struct ada_symbol_cache): New.
9838 (ada_free_symbol_cache): Forward declare.
9839 (struct ada_pspace_data): New.
9840 (ada_pspace_data_handle): New static global.
9841 (get_ada_pspace_data, ada_pspace_data_cleanup)
9842 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9843 (cache_space, cache): Delete, now folded inside struct
9844 ada_pspace_data.
9845 (ada_get_symbol_cache): New function.
9846 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9847 implementation.
9848 (_initialize_ada_language): Remove initialization of cache_space.
9849 Move call to observer_attach_inferior_exit up, grouping it
9850 with the other observer registrations inside this function.
9851 Rename command to be more general. Add call to
9852 register_program_space_data_with_cleanup.
9853
9854 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9855
9856 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9857 ada_new_objfile_observer.
9858 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9859 (_initialize_tasks): Update uses of ada_new_objfile_observer
9860 and ada_tasks_normal_stop_observer.
9861
9862 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9863
9864 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9865 returned by the 'Length attribute to integer.
9866
9867 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9868
9869 * ada-lang.c (_initialize_ada_language): Initialize
9870 cache_space obstack.
9871
9872 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9873
9874 * ada-lang.c (HASH_SIZE): New macro.
9875 (struct cache_entry): New type.
9876 (cache_space, cache): New static globals.
9877 (ada_clear_symbol_cache, find_entry): New functions.
9878 (lookup_cached_symbol, cache_symbol): Implement.
9879 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9880 (_initialize_ada_language): Attach ada_new_objfile_observer
9881 and ada_free_objfile_observer.
9882
9883 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9884
9885 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9886 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9887 struct block * parameter.
9888 (ada_lookup_symbol_list_worker): Constify local variable "block".
9889 Remove cast which is no longer necessary.
9890
9891 2014-02-10 Doug Evans <xdje42@gmail.com>
9892
9893 Add Guile as an extension language.
9894 * NEWS: Mention Guile scripting.
9895 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9896 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9897 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9898 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9899 (CLIBS): Add GUILE_LIBS.
9900 (install-guile): New rule.
9901 (guile.o): New rule.
9902 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9903 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9904 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9905 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9906 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9907 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9908 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9909 * configure.ac: New option --with-guile.
9910 * configure: Regenerate.
9911 * config.in: Regenerate.
9912 * auto-load.c: Remove #include "python/python.h". Add #include
9913 "gdb/section-scripts.h".
9914 (source_section_scripts): Handle Guile scripts.
9915 (_initialize_auto_load): Add name of Guile objfile script to
9916 scripts-directory help text.
9917 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9918 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9919 (struct breakpoint): New member scm_bp_object.
9920 * defs.h (enum command_control_type): New value guile_control.
9921 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9922 "extension.h".
9923 (show_user): Update comment.
9924 (_initialize_cli_cmds): Update help text for "show user". Update help
9925 text for max-user-call-depth.
9926 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9927 "extension.h".
9928 (multi_line_command_p): Add guile_control.
9929 (print_command_lines): Handle guile_control.
9930 (execute_control_command, recurse_read_control_structure): Ditto.
9931 (process_next_line): Recognize "guile" commands.
9932 * disasm.c (gdb_disassemble_info): Make non-static.
9933 * disasm.h: #include "dis-asm.h".
9934 (struct gdbarch): Add forward decl.
9935 (gdb_disassemble_info): Declare.
9936 * extension.c: #include "guile/guile.h".
9937 (extension_languages): Add guile.
9938 (get_ext_lang_defn): Handle EXT_LANG_GDB.
9939 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
9940 * gdbtypes.c (get_unsigned_type_max): New function.
9941 (get_signed_type_minmax): New function.
9942 * gdbtypes.h (get_unsigned_type_max): Declare.
9943 (get_signed_type_minmax): Declare.
9944 * guile/README: New file.
9945 * guile/guile-internal.h: New file.
9946 * guile/guile.c: New file.
9947 * guile/guile.h: New file.
9948 * guile/scm-arch.c: New file.
9949 * guile/scm-auto-load.c: New file.
9950 * guile/scm-block.c: New file.
9951 * guile/scm-breakpoint.c: New file.
9952 * guile/scm-disasm.c: New file.
9953 * guile/scm-exception.c: New file.
9954 * guile/scm-frame.c: New file.
9955 * guile/scm-gsmob.c: New file.
9956 * guile/scm-iterator.c: New file.
9957 * guile/scm-lazy-string.c: New file.
9958 * guile/scm-math.c: New file.
9959 * guile/scm-objfile.c: New file.
9960 * guile/scm-ports.c: New file.
9961 * guile/scm-pretty-print.c: New file.
9962 * guile/scm-safe-call.c: New file.
9963 * guile/scm-string.c: New file.
9964 * guile/scm-symbol.c: New file.
9965 * guile/scm-symtab.c: New file.
9966 * guile/scm-type.c: New file.
9967 * guile/scm-utils.c: New file.
9968 * guile/scm-value.c: New file.
9969 * guile/lib/gdb.scm: New file.
9970 * guile/lib/gdb/boot.scm: New file.
9971 * guile/lib/gdb/experimental.scm: New file.
9972 * guile/lib/gdb/init.scm: New file.
9973 * guile/lib/gdb/iterator.scm: New file.
9974 * guile/lib/gdb/printing.scm: New file.
9975 * guile/lib/gdb/types.scm: New file.
9976 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
9977 (VPATH): Add $(GUILE_SRCDIR).
9978 (GUILE_DIR): New variable.
9979 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
9980 (all): Add stamp-guile dependency.
9981 (stamp-guile): New rule.
9982 (clean-guile, install-guile, uninstall-guile): New rules.
9983 (install-only): Add install-guile dependency.
9984 (uninstall): Add uninstall-guile dependency.
9985 (clean): Add clean-guile dependency.
9986
9987 2014-02-09 Doug Evans <xdje42@gmail.com>
9988
9989 Revert this patch (which I approved, mea culpa).
9990
9991 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9992
9993 * Makefile.in (all-lib): Remove.
9994 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9995
9996 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9997
9998 Fix Python stack corruption.
9999 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10000 gdb_py_longest.
10001
10002 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10003
10004 * Makefile.in (all-lib): Remove.
10005 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10006
10007 2014-02-07 Doug Evans <dje@google.com>
10008
10009 * extension-priv.h (extension_language_script_ops): Add comment.
10010 (extension_language_ops): Add comment.
10011 (active_ext_lang_state): Fix typo in comment.
10012
10013 2014-02-07 Pedro Alves <palves@redhat.com>
10014
10015 PR breakpoints/16292
10016 * infrun.c (handle_signal_stop) <signal arrives while stepping
10017 over a breakpoint>: Switch back to the stepping thread.
10018
10019 2014-02-07 Yao Qi <yao@codesourcery.com>
10020
10021 * target.c (target_xfer_partial): Return zero if LEN is zero.
10022
10023 2014-02-07 Yao Qi <yao@codesourcery.com>
10024
10025 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10026 (ld_so_xfer_auxv): Likewise.
10027 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10028 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10029 * corelow.c (core_xfer_partial): Likewise.
10030 * ctf.c (ctf_xfer_partial): Likewise.
10031 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10032 (darwin_xfer_partial): Likewise.
10033 * exec.c (exec_xfer_partial): Likewise.
10034 * gnu-nat.c (gnu_xfer_partial): Likewise.
10035 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10036 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10037 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10038 * linux-nat.c (linux_xfer_siginfo): Likewise.
10039 (linux_proc_xfer_spu): Likewise.
10040 * procfs.c (procfs_xfer_partial): Likewise.
10041 * record-full.c (record_full_xfer_partial): Likewise.
10042 (record_full_core_xfer_partial): Likewise.
10043 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10044 * remote.c (remote_write_qxfer): Likewise.
10045 (remote_write_qxfer, remote_read_qxfer): Likewise.
10046 (remote_xfer_partial): Likewise.
10047 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10048 (rs6000_xfer_shared_libraries): Likewise.
10049 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10050 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10051 (spu_xfer_partial): Likewise.
10052 * target.c (memory_xfer_partial_1): Likewise.
10053 * tracepoint.c (tfile_xfer_partial): Likewise.
10054 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10055 (windows_xfer_partial): Likewise.
10056
10057 2014-02-07 Yao Qi <yao@codesourcery.com>
10058
10059 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10060 comments.
10061 (core_xfer_shared_libraries_aix): Likewise.
10062 * gdbarch.c, gdbarch.h: Regenerated.
10063 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10064 ULONGEST. Change 'len_avail' type to ULONGEST.
10065 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10066 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10067 declaration.
10068 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10069
10070 2014-02-07 Yao Qi <yao@codesourcery.com>
10071
10072 * corefile.c (memory_error): Get 'exception' from ERR and pass
10073 'exception' to throw_error.
10074
10075 2014-02-06 Doug Evans <xdje42@gmail.com>
10076
10077 * configure.ac (libpython checking): Remove all but python.o from
10078 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10079 * configure: Regenerate.
10080
10081 * Makefile.in (SFILES): Add extension.c.
10082 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10083 (COMMON_OBS): Add extension.o.
10084 * extension.h: New file.
10085 * extension-priv.h: New file.
10086 * extension.c: New file.
10087
10088 * python/python-internal.h: #include "extension.h".
10089 (gdbpy_auto_load_enabled): Declare.
10090 (gdbpy_apply_val_pretty_printer): Declare.
10091 (gdbpy_apply_frame_filter): Declare.
10092 (gdbpy_preserve_values): Declare.
10093 (gdbpy_breakpoint_cond_says_stop): Declare.
10094 (gdbpy_breakpoint_has_cond): Declare.
10095 (void source_python_script_for_objfile): Delete.
10096 * python/python.c: #include "extension-priv.h".
10097 Delete inclusion of "observer.h".
10098 (extension_language_python): Moved here and renamed from
10099 script_language_python in py-auto-load.c.
10100 Redefined to be of type extension_language_defn.
10101 (python_extension_script_ops): New global.
10102 (python_extension_ops): New global.
10103 (struct python_env): New member previous_active.
10104 (restore_python_env): Call restore_active_ext_lang.
10105 (ensure_python_env): Call set_active_ext_lang.
10106 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10107 New arg extlang.
10108 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10109 New arg extlang.
10110 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10111 New arg extlang.
10112 (gdbpy_eval_from_control_command): Renamed from
10113 eval_python_from_control_command, made static. New arg extlang.
10114 (gdbpy_source_script) Renamed from source_python_script, made static.
10115 New arg extlang.
10116 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10117 result to int. New arg extlang.
10118 (gdbpy_source_objfile_script): Renamed from
10119 source_python_script_for_objfile, made static. New arg extlang.
10120 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10121 static. New args extlang, extlang_printers. Change result type to
10122 "void".
10123 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10124 static. New arg extlang. Rename arg printers to extlang_printers
10125 and change type to ext_lang_type_printers *.
10126 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10127 static. Replace argument arg with extlang, extlang_printers.
10128 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10129 (!HAVE_PYTHON, source_python_script): Delete.
10130 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10131 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10132 (!HAVE_PYTHON, start_type_printers): Delete.
10133 (!HAVE_PYTHON, apply_type_printers): Delete.
10134 (!HAVE_PYTHON, free_type_printers): Delete.
10135 (_initialize_python): Delete call to observer_attach_before_prompt.
10136 (finalize_python): Set/restore active extension language.
10137 (gdbpy_finish_initialization) Renamed from
10138 finish_python_initialization, made static. New arg extlang.
10139 (gdbpy_initialized): New function.
10140 * python/python.h: #include "extension.h". Delete #include
10141 "value.h", "mi/mi-cmds.h".
10142 (extension_language_python): Declare.
10143 (GDBPY_AUTO_FILE_NAME): Delete.
10144 (enum py_bt_status): Moved to extension.h and renamed to
10145 ext_lang_bt_status.
10146 (enum frame_filter_flags): Moved to extension.h.
10147 (enum py_frame_args): Moved to extension.h and renamed to
10148 ext_lang_frame_args.
10149 (finish_python_initialization): Delete.
10150 (eval_python_from_control_command): Delete.
10151 (source_python_script): Delete.
10152 (apply_val_pretty_printer): Delete.
10153 (apply_frame_filter): Delete.
10154 (preserve_python_values): Delete.
10155 (gdbpy_script_language_defn): Delete.
10156 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10157 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10158
10159 * auto-load.c: #include "extension.h".
10160 (GDB_AUTO_FILE_NAME): Delete.
10161 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10162 (script_language_gdb): Delete, moved to extension.c and renamed to
10163 extension_language_gdb.
10164 (source_gdb_script_for_objfile): Delete.
10165 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10166 (loaded_script): Change type of language member to
10167 struct extension_language_defn *.
10168 (init_loaded_scripts_info): Initialize
10169 unsupported_script_warning_printed.
10170 (maybe_add_script): Make static. Change type of language arg to
10171 struct extension_language_defn *.
10172 (clear_section_scripts): Reset unsupported_script_warning_printed.
10173 (auto_load_objfile_script_1): Rewrite to use extension language API.
10174 (auto_load_objfile_script): Make public. Remove support-compiled-in
10175 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10176 (source_section_scripts): Rewrite to use extension language API.
10177 (load_auto_scripts_for_objfile): Rewrite to use
10178 auto_load_scripts_for_objfile.
10179 (collect_matching_scripts_data): Change type of language member to
10180 struct extension_language_defn *.
10181 (auto_load_info_scripts): Change type of language arg to
10182 struct extension_language_defn *.
10183 (unsupported_script_warning_print): New function.
10184 (script_not_found_warning_print): Make static.
10185 (_initialize_auto_load): Rewrite construction of scripts-directory
10186 help.
10187 * auto-load.h (struct objfile): Add forward decl.
10188 (struct script_language): Delete.
10189 (struct auto_load_pspace_info): Add forward decl.
10190 (struct extension_language_defn): Add forward decl.
10191 (maybe_add_script): Delete.
10192 (auto_load_objfile_script): Declare.
10193 (script_not_found_warning_print): Delete.
10194 (auto_load_info_scripts): Update prototype.
10195 (auto_load_gdb_scripts_enabled): Declare.
10196 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10197 auto_load_python_scripts_enabled and made public.
10198 (script_language_python): Delete, moved to python.c.
10199 (gdbpy_script_language_defn): Delete.
10200 (info_auto_load_python_scripts): Update to use
10201 extension_language_python.
10202
10203 * breakpoint.c (condition_command): Replace call to
10204 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10205 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10206 with call to breakpoint_ext_lang_cond_says_stop.
10207 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10208 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10209 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10210 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10211 New arg slang.
10212 (local_setattro): Print name of extension language with existing
10213 stop condition.
10214
10215 * valprint.c (val_print, value_print): Update to call
10216 apply_ext_lang_val_pretty_printer.
10217 * cp-valprint.c (cp_print_value): Update call to
10218 apply_ext_lang_val_pretty_printer.
10219 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10220 (gdbpy_apply_val_pretty_printer): Renamed from
10221 apply_val_pretty_printer. New arg extlang.
10222 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10223
10224 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10225 extension language API.
10226 * cli/cli-script.c (execute_control_command): Update to call
10227 eval_ext_lang_from_control_command.
10228
10229 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10230 enum ext_lang_bt_status values. Update call to
10231 apply_ext_lang_frame_filter.
10232 (mi_cmd_stack_list_locals): Ditto.
10233 (mi_cmd_stack_list_args): Ditto.
10234 (mi_cmd_stack_list_variables): Ditto.
10235 * mi/mi-main.c: Delete #include "python/python-internal.h".
10236 Add #include "extension.h".
10237 (mi_cmd_list_features): Replace reference to python internal variable
10238 gdb_python_initialized with call to ext_lang_initialized_p.
10239
10240 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10241 Update to use enum ext_lang_frame_args. Update to call
10242 apply_ext_lang_frame_filter.
10243 * python/py-framefilter.c (extract_sym): Update to use enum
10244 ext_lang_bt_status.
10245 (extract_value, py_print_type, py_print_value): Ditto.
10246 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10247 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10248 (py_print_frame): Ditto.
10249 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10250 New arg extlang. Update to use enum ext_lang_bt_status.
10251
10252 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10253 finish_python_initialization. Replace with call to
10254 finish_ext_lang_initialization.
10255
10256 * typeprint.c (do_free_global_table): Update to call
10257 free_ext_lang_type_printers.
10258 (create_global_typedef_table): Update to call
10259 start_ext_lang_type_printers.
10260 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10261 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10262 (type_print_options): Change type of global_printers from "void *"
10263 to "struct ext_lang_type_printers *".
10264
10265 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10266 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10267 (gdbpy_preserve_values): Renamed from preserve_python_values.
10268 New arg extlang.
10269 (!HAVE_PYTHON, preserve_python_values): Delete.
10270
10271 * utils.c (quit_flag): Delete, moved to extension.c.
10272 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10273 extension.c.
10274
10275 * eval.c: Delete #include "python/python.h".
10276 * main.c: Delete #include "python/python.h".
10277
10278 * defs.h: Update comment.
10279
10280 2014-02-06 Joel Brobecker <brobecker@adacore.com>
10281
10282 GDB 7.7 released.
10283
10284 2014-02-05 Mark Kettenis <kettenis@gnu.org>
10285
10286 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10287 defined.
10288
10289 2014-02-05 Yao Qi <yao@codesourcery.com>
10290
10291 * remote.c (remote_pass_signals): Remove local 'buf' and use
10292 rs->buf.
10293 (remote_program_signals): Likewise.
10294
10295 2014-02-05 Yao Qi <yao@codesourcery.com>
10296
10297 * ctf.c: Include "inferior.h" and "gdbthread.h".
10298 (CTF_PID): A new macro.
10299 (ctf_open): Call inferior_appeared and add_thread_silent.
10300 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10301 (ctf_thread_alive): New function.
10302 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10303
10304 2014-02-05 Yao Qi <yao@codesourcery.com>
10305
10306 Revert this patch:
10307
10308 2013-05-24 Yao Qi <yao@codesourcery.com>
10309
10310 * tracepoint.c (TFILE_PID): Remove.
10311 (tfile_open): Don't add thread and inferior.
10312 (tfile_close): Don't set 'inferior_ptid'. Don't call
10313 exit_inferior_silent.
10314 (tfile_thread_alive): Remove.
10315 (init_tfile_ops): Don't set field 'to_thread_alive' of
10316 tfile_ops.
10317
10318 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10319
10320 * remote.c (remote_start_remote): Call remote_check_symbols even
10321 if only symbol-file (not file) has been given.
10322
10323 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10324
10325 * gdbarch.sh (skip_entrypoint): New callback.
10326 * gdbarch.c, gdbarch.h: Regenerate.
10327 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10328 * infrun.c (fill_in_stop_func): Likewise.
10329 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10330 (ppc_elfv2_elf_make_msymbol_special): New function.
10331 (ppc_elfv2_skip_entrypoint): Likewise.
10332 (ppc_linux_init_abi): Install them for ELFv2.
10333
10334 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10335
10336 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10337 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10338 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10339 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10340 structures returned in GPRs.
10341
10342 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10343
10344 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10345 offset to the stack parameter list for the ELFv2 ABI.
10346
10347 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10348
10349 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10350 set_gdbarch_convert_from_func_ptr_addr and
10351 set_gdbarch_elf_make_msymbol_special for ELFv1.
10352 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10353 function descriptors on ELFv1.
10354 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10355 set up r12 at function entry.
10356
10357 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10358
10359 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10360 (struct gdbarch_tdep): New member elf_abi.
10361
10362 * rs6000-tdep.c: Include "elf/ppc64.h".
10363 (rs6000_gdbarch_init): Detect ELF ABI version.
10364
10365 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10366
10367 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10368 within a register pair holding a DFP 128-bit value on little-endian.
10369 (ppc64_sysv_abi_return_value_base): Likewise.
10370 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10371 (dfp_pseudo_register_write): Likewise.
10372
10373 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10374
10375 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10376 offset on little-endian when passing _Decimal32.
10377 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10378
10379 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10380
10381 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10382 of the overlapped FP register within the VSX register on little-
10383 endian platforms.
10384 (efpr_pseudo_register_write): Likewise.
10385
10386 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10387
10388 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10389 offset on little-endian when passing small structures.
10390
10391 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10392
10393 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10394 (struct ppc64_sysv_argpos): New data structure.
10395 (ppc64_sysv_abi_push_float): Remove.
10396 (ppc64_sysv_abi_push_val): New function.
10397 (ppc64_sysv_abi_push_integer): Likewise.
10398 (ppc64_sysv_abi_push_freg): Likewise.
10399 (ppc64_sysv_abi_push_vreg): Likewise.
10400 (ppc64_sysv_abi_push_param): Likewise.
10401 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10402 (ppc64_sysv_abi_return_value_base): New function.
10403 (ppc64_sysv_abi_return_value): Refactor to use it.
10404
10405 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10406
10407 * NEWS: Document new target powerpc64le-*-linux*.
10408
10409 2014-02-04 Mark Kettenis <kettenis@gnu.org>
10410
10411 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10412 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10413 core dumps.
10414 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10415 register set used in ELF core dumps. Add floating-point register set.
10416
10417 2014-02-03 Kevin Buettner <kevinb@redhat.com>
10418
10419 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
10420 dwarf2_to_gdb[] table using symbolic constants. Adjust
10421 penultimate entry from number representing the PC register
10422 to symbolic constant representing the MDR register. Add
10423 constant for the PC register to the end of the table.
10424
10425 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10426
10427 * bsd-kvm.c: Include <sys/param.h>
10428
10429 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10430
10431 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10432
10433 2014-01-31 Joel Brobecker <brobecker@adacore.com>
10434
10435 * ada-lang.h (clear_ada_sym_cache): Delete.
10436
10437 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10438
10439 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10440
10441 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10442
10443 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10444 the sigreturn register save area only if the syscall is
10445 sigreturn.
10446
10447 2014-01-29 Joel Brobecker <brobecker@adacore.com>
10448
10449 * valops.c (value_slice): Minor reformatting.
10450
10451 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10452
10453 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10454
10455 2014-01-28 Joel Brobecker <brobecker@adacore.com>
10456
10457 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10458 New static globals.
10459 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10460 (ada_ignore_descriptive_types_p): New static global.
10461 (find_parallel_type_by_descriptive_type): Return immediately
10462 if ada_ignore_descriptive_types_p is set.
10463 (_initialize_ada_language): Register new commands "maintenance
10464 set ada", "maintenance show ada", "maintenance set ada
10465 ignore-descriptive-types" and "maintenance show ada
10466 ignore-descriptive-types".
10467 * NEWS: Add entry for new "maint ada set/show
10468 ignore-descriptive-types" commands.
10469
10470 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10471
10472 * record-btrace.c (record_btrace_close): Call btrace_teardown
10473 for all threads.
10474
10475 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10476
10477 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10478 "ui-out.h".
10479
10480 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10481
10482 * ada-typeprint (type_is_full_subrange_of_target_type):
10483 New function.
10484 (print_range): Add parameter bounds_prefered_p. If not set,
10485 try printing range types using the name of their base type.
10486 (print_range_type): Add parameter bounds_prefered_p.
10487 Use it in call to print_range.
10488 (print_array_type, ada_print_type): Update calls to print_range
10489 and print_range_type.
10490
10491 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10492
10493 * ada-typeprint.c (print_array_type, print_choices, print_range)
10494 (print_range_bound, print_dynamic_range_bound, print_range_type):
10495 Remove declaration.
10496
10497 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10498
10499 * ada-typeprint.c (print_range): Add missing empty line
10500 after local declaration.
10501
10502 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10503
10504 * ada-valprint.c (print_optional_low_bound): Get index_type's
10505 target type for as long as it is a TYPE_CODE_RANGE.
10506
10507 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10508
10509 * procfs.c (procfs_make_note_section): Remove assertion and
10510 associated comment.
10511
10512 2014-01-24 Yao Qi <yao@codesourcery.com>
10513
10514 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10515 * corelow.c (get_core_siginfo): Likewise.
10516
10517 2014-01-24 Yao Qi <yao@codesourcery.com>
10518
10519 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10520 ULONGEST. Don't check 'len' is negative.
10521 (remote_write_bytes): Change type of 'len' to ULONGEST.
10522
10523 2014-01-23 Tom Tromey <tromey@redhat.com>
10524
10525 PR python/16485:
10526 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10527 Handle exception from frame.block.
10528 (FrameVars.fetch_frame_locals): Likewise.
10529
10530 2014-01-23 Tom Tromey <tromey@redhat.com>
10531
10532 PR python/16487:
10533 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10534 on a NULL pointer. Move "goto error" to correct place.
10535
10536 2014-01-23 Tom Tromey <tromey@redhat.com>
10537
10538 PR python/16491:
10539 * python/py-framefilter.c (apply_frame_filter): Call
10540 ensure_python_env after computing gdbarch.
10541
10542 2014-01-23 Yao Qi <yao@codesourcery.com>
10543
10544 * target.c (raw_memory_xfer_partial): Change argument type
10545 from void * to gdb_byte *.
10546 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10547
10548 2014-01-22 Doug Evans <dje@google.com>
10549
10550 New gdbserver option --debug-format=timestamp.
10551 * NEWS: Mention it.
10552
10553 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10554
10555 * syscalls/s390x-linux.xml: New file.
10556 * syscalls/s390-linux.xml: New file.
10557 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10558 (XML_SYSCALL_FILENAME_S390X): Likewise.
10559 (op_svc): New enum value for SVC opcode.
10560 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10561 (s390_linux_get_syscall_number): New function.
10562 (s390_gdbarch_init): Register '*get_syscall_number' and the
10563 syscall xml file name.
10564 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10565 "s390-linux.xml" and "s390x-linux.xml".
10566 * NEWS: Announce new feature.
10567
10568 2014-01-22 Baruch Siach <baruch@tkos.co.il>
10569
10570 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10571
10572 2014-01-22 Pedro Alves <palves@redhat.com>
10573
10574 * xtensa-config.c: Include defs.h.
10575
10576 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10577
10578 * common/common-utils.h: Add "ARI:" comment beside __func__
10579 reference.
10580
10581 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10582
10583 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10584 documentation a bit.
10585
10586 2014-01-21 Roland McGrath <mcgrathr@google.com>
10587
10588 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10589 * configure: Regenerate.
10590 * aclocal.m4: Regenerate.
10591 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10592 New substituted variables.
10593 (install-strip): New target.
10594 (INSTALL_SCRIPT): New substituted variable.
10595 (FLAGS_TO_PASS): Add it.
10596 (install-only): Use $(INSTALL_SCRIPT) rather than
10597 $(INSTALL_PROGRAM) for gcore.
10598
10599 2014-01-20 Tom Tromey <tromey@redhat.com>
10600
10601 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10602 together.
10603
10604 2014-01-20 Tom Tromey <tromey@redhat.com>
10605
10606 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10607 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10608 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10609 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10610 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10611 (struct cmd_list_element) <flags>: Remove.
10612 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10613 doc_allocated>: New fields.
10614 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10615 bitfields.
10616 * maint.c (maintenance_do_deprecate): Update.
10617 * top.c (execute_command): Update.
10618
10619 2014-01-20 Baruch Siach <baruch@tkos.co.il>
10620
10621 * xtensa-linux-nat.c: Include asm/ptrace.h.
10622
10623 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10624
10625 * Makefile.in (SFILES): Add d-support.c.
10626 (COMMON_OBS): Add d-support.o.
10627 * d-lang.h (d_parse_symbol): Add comment, now defined in
10628 d-support.c.
10629 * d-lang.c (parse_call_convention)
10630 (parse_attributes, parse_function_types)
10631 (parse_function_args, parse_type, parse_identifier)
10632 (call_convention_p, d_parse_symbol): Move functions to ...
10633 * d-support.c: ... New file.
10634
10635 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10636
10637 * d-lang.h (d_parse_symbol): Add declaration.
10638 * d-lang.c (extract_identifiers)
10639 (extract_type_info): Remove functions.
10640 (parse_call_convention, parse_attributes)
10641 (parse_function_types, parse_function_args)
10642 (parse_type, parse_identifier, call_convention_p)
10643 (d_parse_symbol): New functions.
10644 (d_demangle): Use d_parse_symbol to demangle D symbols.
10645
10646 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10647
10648 * d-lang.h (struct builtin_d_type): New data type.
10649 (builtin_d_type): Add declaration.
10650 * d-lang.c (d_language_arch_info, build_d_types)
10651 (builtin_d_type): New functions.
10652 (enum d_primitive_types): New data type.
10653 (d_language_defn): Change c_language_arch_info to
10654 d_language_arch_info.
10655 (d_type_data): New static variable.
10656 (_initialize_d_language): Initialize d_type_data.
10657
10658 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10659
10660 * d-lang.h (d_main_name): Add declaration.
10661 * d-lang.c (d_main_name): New function.
10662 * symtab.c (find_main_name): Add call to d_main_name.
10663
10664 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10665
10666 * d-lang.c (d_language_defn): Change macro_expansion_c to
10667 macro_expansion_no.
10668
10669 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10670
10671 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10672
10673 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10674
10675 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10676 gdb_exception" declaration.
10677 * remote.c (getpkt_or_notif_sane): Likewise.
10678
10679 2014-01-17 Doug Evans <dje@google.com>
10680
10681 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10682 function, contents of dirnames_to_char_ptr_vec_append moved here.
10683 (delim_string_to_char_ptr_vec): New function.
10684 (dirnames_to_char_ptr_vec_append): Rewrite.
10685 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10686
10687 2014-01-17 Doug Evans <dje@google.com>
10688
10689 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10690 and moved here ...
10691 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10692 #include "common-utils.h".
10693 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10694 * common/vec.h (VEC_ASSERT_PASS): Update.
10695 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10696 (MACH_CHECK_ERROR): Update.
10697
10698 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10699
10700 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10701 comments.
10702 * gdbarch.h: Regenerate.
10703
10704 2014-01-16 Tom Tromey <tromey@redhat.com>
10705
10706 * value.c (struct value) <regnum>: Move earlier.
10707
10708 2014-01-16 Tom Tromey <tromey@redhat.com>
10709
10710 * remote.c (extended_remote_create_inferior): Rename from
10711 extended_remote_create_inferior_1. Add "ops" argument. Remove
10712 old implementation.
10713
10714 2014-01-16 Pedro Alves <palves@redhat.com>
10715
10716 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10717 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10718 the backchain.
10719
10720 2014-01-16 Doug Evans <dje@google.com>
10721
10722 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10723
10724 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10725
10726 * btrace.h (btrace_thread_flag): New.
10727 (struct btrace_thread_info) <flags>: New.
10728 * record-btrace.c (record_btrace_resume_thread)
10729 (record_btrace_find_thread_to_move, btrace_step_no_history)
10730 (btrace_step_stopped, record_btrace_start_replaying)
10731 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10732 (record_btrace_find_resume_thread): New.
10733 (record_btrace_resume, record_btrace_wait): Extend.
10734 (record_btrace_can_execute_reverse): New.
10735 (record_btrace_open): Fail in non-stop mode.
10736 (record_btrace_set_replay): Split into this, ...
10737 (record_btrace_stop_replaying): ... this, ...
10738 (record_btrace_clear_histories): ... and this.
10739 (init_record_btrace_ops): Init to_can_execute_reverse.
10740 * NEWS: Announce it.
10741
10742 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10743
10744 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10745 (forward_target_decr_pc_after_break)
10746 (target_decr_pc_after_break): New.
10747 * target.c (forward_target_decr_pc_after_break)
10748 (target_decr_pc_after_break): New.
10749 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10750 instead of gdbarch_decr_pc_after_break.
10751 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10752 instead of gdbarch_decr_pc_after_break.
10753 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10754 instead of gdbarch_decr_pc_after_break.
10755 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10756 instead of gdbarch_decr_pc_after_break.
10757 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10758 instead of gdbarch_decr_pc_after_break.
10759 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10760 instead of gdbarch_decr_pc_after_break.
10761
10762 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10763
10764 * btrace.c: Include regcache.h.
10765 (btrace_add_pc): New.
10766 (btrace_enable): Call btrace_add_pc.
10767 (btrace_is_empty): New.
10768 * btrace.h (btrace_is_empty): New.
10769 * record-btrace.c (require_btrace, record_btrace_info): Call
10770 btrace_is_empty.
10771
10772 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10773
10774 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10775 Support delta reads.
10776 (linux_disable_btrace): Change return type.
10777 * common/linux-btrace.h (linux_read_btrace): Change parameters
10778 and return type to allow error reporting. Update users.
10779 (linux_disable_btrace): Change return type. Update users.
10780 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10781 New.
10782 (btrace_error): New.
10783 (btrace_block) <begin>: Comment on BEGIN == 0.
10784 * btrace.c (btrace_compute_ftrace): Start from the end of
10785 the current trace.
10786 (btrace_stitch_trace, btrace_clear_history): New.
10787 (btrace_fetch): Read delta trace, return if replaying.
10788 (btrace_clear): Move clear history code to btrace_clear_history.
10789 (parse_xml_btrace): Throw an error if parsing failed.
10790 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10791 and return type to allow error reporting.
10792 (target_read_btrace): Change parameters and return type to allow
10793 error reporting.
10794 * target.c (target_read_btrace): Update.
10795 * remote.c (remote_read_btrace): Support delta reads. Pass
10796 errors on.
10797 * NEWS: Announce it.
10798
10799 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10800
10801 * record.h (record_btrace_frame_unwind)
10802 (record_btrace_tailcall_frame_unwind): New declarations.
10803 * dwarf2-frame: Include record.h
10804 (dwarf2_frame_cfa): Throw an error for btrace frames.
10805 * record-btrace.c: Include hashtab.h.
10806 (btrace_get_bfun_name): New.
10807 (btrace_call_history): Call btrace_get_bfun_name.
10808 (struct btrace_frame_cache): New.
10809 (bfcache): New.
10810 (bfcache_hash, bfcache_eq, bfcache_new): New.
10811 (btrace_get_frame_function): New.
10812 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10813 (record_btrace_frame_this_id): Compute own id.
10814 (record_btrace_frame_prev_register): Provide PC, throw_error
10815 for all other registers.
10816 (record_btrace_frame_sniffer): Detect btrace frames.
10817 (record_btrace_tailcall_frame_sniffer): New.
10818 (record_btrace_frame_dealloc_cache): New.
10819 (record_btrace_frame_unwind): Add new functions.
10820 (record_btrace_tailcall_frame_unwind): New.
10821 (_initialize_record_btrace): Allocate cache.
10822 * btrace.c (btrace_clear): Call reinit_frame_cache.
10823 * NEWS: Announce it.
10824
10825 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10826
10827 * record-btrace.c (record_btrace_set_replay)
10828 (record_btrace_goto_begin, record_btrace_goto_end)
10829 (record_btrace_goto): New.
10830 (init_record_btrace_ops): Initialize them.
10831 * NEWS: Announce it.
10832
10833 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10834
10835 * record-btrace.c (record_btrace_find_new_threads)
10836 (record_btrace_thread_alive): New.
10837 (init_record_btrace_ops): Initialize to_find_new_threads and
10838 to_thread_alive.
10839
10840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10841
10842 * record-btrace.c (record_btrace_resume): New.
10843 (record_btrace_wait): New.
10844 (init_record_btrace_ops): Initialize to_wait and to_resume.
10845
10846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10847
10848 * record-btrace.c (record_btrace_xfer_partial)
10849 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10850 (record_btrace_allow_memory_access): New.
10851 (init_record_btrace_ops): Initialize new methods.
10852 * target.c (raw_memory_xfer_partial): Bail out if target reports
10853 that this memory is not available.
10854
10855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10856
10857 * target.h (target_ops) <to_insert_breakpoint>
10858 <to_remove_breakpoint>: Add target_ops parameter.
10859 (forward_target_insert_breakpoint): New.
10860 (forward_target_remove_breakpoint): New.
10861 (memory_remove_breakpoint, memory_insert_breakpoint):
10862 Add target_ops parameter.
10863 * target.c (target_insert_breakpoint): Split into this and ...
10864 (forward_target_insert_breakpoint): ... this.
10865 (target_remove_breakpoint): Split into this and ...
10866 (forward_target_remove_breakpoint): ... this.
10867 (debug_to_insert_breakpoint): Add target_ops parameter.
10868 Call forward_target_insert_breakpoint.
10869 (debug_to_remove_breakpoint): Add target_ops parameter.
10870 Call forward_target_remove_breakpoint.
10871 (update_current_target): Do not inherit or default to_insert_breakpoint
10872 and to_remove_breakpoint.
10873 * corelow.c (ignore): Add target_ops parameter.
10874 * exec.c (ignore): Add target_ops parameter.
10875 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10876 Add target_ops parameter.
10877 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10878 Add target_ops parameter.
10879 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10880 Add target_ops parameter.
10881 * record-full.c (record_full_beneath_to_insert_breakpoint)
10882 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10883 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10884 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10885 (record_full_core_remove_breakpoint): Add target_ops parameter.
10886 Update users.
10887 (record_full_beneath_to_insert_breakpoint_ops)
10888 (record_full_beneath_to_remove_breakpoint_ops)
10889 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10890 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10891 tmp_to_remove_breakpoint_ops,
10892 record_full_beneath_to_insert_breakpoint_ops, and
10893 record_full_beneath_to_remove_breakpoint_ops.
10894 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10895 (m32r_remove_breakpoint): Add target_ops parameter.
10896 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10897 Add target_ops parameter.
10898 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10899 Add target_ops parameter.
10900
10901 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10902 Markus Metzger <markus.t.metzger@intel.com>
10903
10904 * record-btrace.c: Include frame-unwind.h.
10905 (record_btrace_frame_unwind_stop_reason)
10906 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10907 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10908 New.
10909 (init_record_btrace_ops): Install it.
10910
10911 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10912
10913 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10914 get_prev_frame_1.
10915
10916 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10917
10918 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10919 earlier.
10920
10921 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10922
10923 * frame-unwind.c: Include target.h.
10924 (frame_unwind_try_unwinder): New function with code from ...
10925 (frame_unwind_find_by_frame): ... here. New variable
10926 unwinder_from_target, call also target_get_unwinder)
10927 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10928 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10929 * target.h (struct target_ops): New fields to_get_unwinder and
10930 to_get_tailcall_unwinder.
10931 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10932
10933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10934
10935 * record-btrace.c (record_btrace_fetch_registers)
10936 (record_btrace_store_registers)
10937 (record_btrace_to_prepare_to_store): New.
10938 (init_record_btrace_ops): Add the above.
10939
10940 2014-01-16 Tom Tromey <tromey@redhat.com>
10941
10942 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
10943 * target.h (struct target_ops) <to_prepare_to_store>: Add
10944 argument.
10945 (target_prepare_to_store): Add argument.
10946 * target.c (debug_to_prepare_to_store): Add argument.
10947 (update_current_target): Update.
10948 * remote.c (remote_prepare_to_store): Add 'self' argument.
10949 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
10950 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
10951 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
10952 * record-full.c (record_full_core_prepare_to_store): Add 'self'
10953 argument.
10954 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
10955 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
10956 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
10957 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
10958 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
10959
10960 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10961
10962 * btrace.h (replay) <replay>: New.
10963 (btrace_is_replaying): New.
10964 * btrace.c (btrace_clear): Free replay iterator.
10965 (btrace_is_replaying): New.
10966 * record-btrace.c (record_btrace_is_replaying): New.
10967 (record_btrace_info): Print insn number if replaying.
10968 (record_btrace_insn_history): Start at replay position.
10969 (record_btrace_call_history): Start at replay position.
10970 (init_record_btrace_ops): Init to_record_is_replaying.
10971
10972 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10973
10974 * record-btrace.c (record_btrace_insn_history_range): Include
10975 end.
10976 (record_btrace_insn_history_from): Adjust range.
10977 (record_btrace_call_history_range): Include
10978 end.
10979 (record_btrace_call_history_from): Adjust range.
10980 * NEWS: Announce changes.
10981
10982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10983
10984 * record.h (enum record_print_flag)
10985 <record_print_indent_calls>: New.
10986 * record.c (get_call_history_modifiers): Recognize /c modifier.
10987 (_initialize_record): Document /c modifier.
10988 * record-btrace.c (btrace_call_history): Add btinfo parameter.
10989 Reorder fields. Optionally indent the function name. Update
10990 all users.
10991 * NEWS: Announce changes.
10992
10993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10994
10995 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
10996
10997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10998
10999 * btrace.c (ftrace_new_function): Start counting at one.
11000 * record-btrace.c (record_btrace_info): Adjust number of calls
11001 and insns.
11002 * NEWS: Announce it.
11003
11004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11005
11006 * record-btrace.c (btrace_call_history_insn_range): Print
11007 insn range as [begin, end].
11008
11009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11010
11011 * btrace.h (struct btrace_func_link): New.
11012 (enum btrace_function_flag): New.
11013 (struct btrace_inst): Rename to ...
11014 (struct btrace_insn): ...this. Update all users.
11015 (struct btrace_func) <ibegin, iend>: Remove.
11016 (struct btrace_func_link): New.
11017 (struct btrace_func): Rename to ...
11018 (struct btrace_function): ...this. Update all users.
11019 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11020 (number, level, flags>: New.
11021 (struct btrace_insn_iterator): Rename to ...
11022 (struct btrace_insn_history): ...this.
11023 Update all users.
11024 (struct btrace_insn_iterator, btrace_call_iterator): New.
11025 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11026 (struct btrace_target_info) <begin, end, level>
11027 <insn_history, call_history>: New.
11028 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11029 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11030 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11031 (btrace_call_number, btrace_call_begin, btrace_call_end)
11032 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11033 (btrace_find_function_by_number, btrace_set_insn_history)
11034 (btrace_set_call_history): New.
11035 * btrace.c (btrace_init_insn_iterator)
11036 (btrace_init_func_iterator, compute_itrace): Remove.
11037 (ftrace_print_function_name, ftrace_print_filename)
11038 (ftrace_skip_file): Change
11039 parameter to const.
11040 (ftrace_init_func): Remove.
11041 (ftrace_debug): Use new btrace_function fields.
11042 (ftrace_function_switched): Also consider gaining and
11043 losing symbol information).
11044 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11045 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11046 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11047 New.
11048 (ftrace_new_function): Move. Remove debug print.
11049 (ftrace_update_lines, ftrace_update_insns): New.
11050 (ftrace_update_function): Check for call, ret, and jump.
11051 (compute_ftrace): Renamed to ...
11052 (btrace_compute_ftrace): ...this. Rewritten to compute call
11053 stack.
11054 (btrace_fetch, btrace_clear): Updated.
11055 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11056 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11057 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11058 (btrace_call_number, btrace_call_begin, btrace_call_end)
11059 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11060 (btrace_find_function_by_number, btrace_set_insn_history)
11061 (btrace_set_call_history): New.
11062 * record-btrace.c (require_btrace): Use new btrace thread
11063 info fields.
11064 (record_btrace_info, btrace_insn_history)
11065 (record_btrace_insn_history, record_btrace_insn_history_range):
11066 Use new btrace thread info fields and new iterator.
11067 (btrace_func_history_src_line): Rename to ...
11068 (btrace_call_history_src_line): ...this. Use new btrace
11069 thread info fields.
11070 (btrace_func_history): Rename to ...
11071 (btrace_call_history): ...this. Use new btrace thread info
11072 fields and new iterator.
11073 (record_btrace_call_history, record_btrace_call_history_range):
11074 Use new btrace thread info fields and new iterator.
11075
11076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11077
11078 * frame.h (frame_id_build_unavailable_stack_special): New.
11079 * frame.c (frame_id_build_unavailable_stack_special): New.
11080
11081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11082
11083 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11084 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11085 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11086 to gdbarch.
11087 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11088 (i386_insn_is_jump, i386_jmp_p): New.
11089 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11090 insn_is_jump to gdbarch.
11091 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11092 * gdbarch.h: Regenerated.
11093 * gdbarch.c: Regenerated.
11094 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11095 (default_insn_is_jump): New.
11096 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11097 (default_insn_is_jump): New.
11098
11099 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11100
11101 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11102 Change to ...
11103 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11104 (btrace_read_type) <btrace_read_new>: Change to ...
11105 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11106
11107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11108
11109 * common/linux-btrace.c (linux_read_btrace): Free trace from
11110 previous iteration.
11111
11112 2014-01-15 Doug Evans <dje@google.com>
11113
11114 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11115 uint32_t.
11116
11117 2014-01-15 Tom Tromey <tromey@redhat.com>
11118
11119 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11120 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11121 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11122 (set_objfile_main_name): New function.
11123 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11124 language_of_main>: New fields.
11125 (set_objfile_main_name): Declare.
11126 * symtab.c (find_main_name): Loop over objfiles to find the main
11127 name and language.
11128 (set_main_name): Now static.
11129 (get_main_info): Add comment.
11130 * symtab.h (set_main_name): Don't declare.
11131
11132 2014-01-15 Tom Tromey <tromey@redhat.com>
11133
11134 * symtab.c (main_progspace_key): New global.
11135 (struct main_info): New.
11136 (name_of_main, language_of_main): Remove.
11137 (get_main_info, main_info_cleanup): New function.
11138 (set_main_name, main_name, main_language): Use get_main_info.
11139 (_initialize_symtab): Initialize main_progspace_key.
11140
11141 2014-01-15 Tom Tromey <tromey@redhat.com>
11142
11143 * dbxread.c (process_one_symbol): Update.
11144 * dwarf2read.c (read_partial_die): Update.
11145 * symfile.c (set_initial_language): Call main_language.
11146 * symtab.c (language_of_main): Now static.
11147 (set_main_name): Add 'lang' parameter.
11148 (find_main_name): Update.
11149 (main_language): New function.
11150 (symtab_observer_executable_changed): Update.
11151 * symtab.h (set_main_name): Update.
11152 (language_of_main): Remove.
11153 (main_language): Declare.
11154
11155 2014-01-15 Tom Tromey <tromey@redhat.com>
11156
11157 * symfile.c (init_entry_point_info): Use new "initialized" field.
11158 Update.
11159 * objfiles.h (struct entry_point) <initialized>: New field.
11160 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11161 (struct objfile) <ei>: ...here. Remove.
11162 * objfiles.c (entry_point_address_query): Update.
11163
11164 2014-01-15 Tom Tromey <tromey@redhat.com>
11165
11166 * objfiles.c (entry_point_address_query): Relocate entry point
11167 address.
11168 (objfile_relocate1): Do not relocate entry point address.
11169 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11170 <the_bfd_section_index>: New field.
11171 * symfile.c (init_entry_point_info): Find the entry point's
11172 section.
11173
11174 2014-01-15 Tom Tromey <tromey@redhat.com>
11175
11176 * solib-frv.c (enable_break): Use entry_point_address_query.
11177
11178 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11179
11180 * NEWS: Add note on improved process record-replay on
11181 arm*-linux* targets.
11182
11183 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11184
11185 * arm-tdep.c (enum arm_record_result): New enum.
11186 (arm_record_unsupported_insn): New function.
11187 (arm_record_coproc_data_proc): Removed.
11188 (thumb2_record_ld_st_multiple): New function.
11189 (thumb2_record_ld_st_dual_ex_tbb): New function.
11190 (thumb2_record_data_proc_sreg_mimm): New function.
11191 (thumb2_record_ps_dest_generic): New function.
11192 (thumb2_record_branch_misc_cntrl): New function.
11193 (thumb2_record_str_single_data): New function.
11194 (thumb2_record_ld_mem_hints): New function.
11195 (thumb2_record_ld_word): New function.
11196 (thumb2_record_lmul_lmla_div): New function.
11197 (thumb2_record_decode_insn_handler): New function.
11198 (decode_insn): Add thumb32 instruction handlers.
11199
11200 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11201
11202 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11203 (struct arm_linux_record_tdep): Declare.
11204 (arm_canonicalize_syscall): New function.
11205 (arm_all_but_pc_registers_record): New function.
11206 (arm_linux_syscall_record): New function.
11207 (arm_linux_init_abi): Add syscall recording constructs.
11208 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11209 decoding. (arm_record_coproc_data_proc): Update arm syscall
11210 decoding.
11211 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11212 <arm_syscall_record>: New field.
11213 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11214 gdb_target_obs.
11215
11216 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11217
11218 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11219 register for push instruction recording.
11220
11221 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11222
11223 * arm-tdep.c (thumb_record_misc): Update to correct logical
11224 error while recording ldm, ldmia and pop instructions.
11225
11226 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11227
11228 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11229
11230 2014-01-15 Pedro Alves <palves@redhat.com>
11231
11232 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11233 (go32_resume, go32_fetch_registers, store_register)
11234 (go32_store_registers, go32_prepare_to_store)
11235 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11236 (go32_create_inferior, go32_can_run, go32_terminal_init)
11237 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11238 declarations.
11239
11240 2014-01-15 Tom Tromey <tromey@redhat.com>
11241
11242 * target.h (async_callback_ftype): New typedef.
11243 (struct target_ops) <to_async>: Use it.
11244
11245 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11246
11247 * python/py-value.c (get_field_type): Remove unnecessary curly
11248 braces for single-statement if block.
11249
11250 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11251
11252 * python/py-type.c (convert_field): Add missing empty line
11253 after declarations.
11254
11255 2014-01-14 Doug Evans <dje@google.com>
11256
11257 * symfile.h (expand_symtabs_matching): Renamed from
11258 expand_partial_symbol_names. Update prototype.
11259 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11260 * symfile.c (expand_symtabs_matching): Renamed from
11261 expand_partial_symbol_names. New args file_matcher, kind.
11262 Rename arg fun to symbol_matcher.
11263 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11264 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11265 ada_expand_partial_symbol_name.
11266 (ada_make_symbol_completion_list): Update to call
11267 expand_symtabs_matching.
11268 (ada_add_global_exceptions): Call expand_symtabs_matching.
11269 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11270 call map_symbol_filenames.
11271 * symtab.c (sources_info): Update to call map_symbol_filenames.
11272 (search_symbols): Call expand_symtabs_matching.
11273 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11274 (default_make_symbol_completion_list_break_on): Update to call
11275 expand_symtabs_matching.
11276 (make_source_files_completion_list): Update to call
11277 map_symbol_filenames.
11278
11279 2014-01-14 Doug Evans <dje@google.com>
11280
11281 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11282 (expand_symtabs_symbol_matcher_ftype): New typedef.
11283 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11284 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11285 * symfile.c (expand_partial_symbol_names): Update to use
11286 expand_symtabs_symbol_matcher_ftype.
11287 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11288 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11289 Arg name_matcher renamed to symbol_matcher.
11290 * psymtab.c (recursively_search_psymtabs): Update to use
11291 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11292 sym_matcher.
11293 (expand_symtabs_matching_via_partial): Update to use
11294 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11295 Arg name_matcher renamed to symbol_matcher.
11296
11297 2014-01-14 Doug Evans <dje@google.com>
11298
11299 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11300 (map_partial_symbol_filenames): Ditto.
11301 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11302 (map_partial_symbol_filenames): Ditto.
11303 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11304 (map_partial_symbol_filenames): Ditto.
11305 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11306 (map_partial_symbol_filenames): Ditto.
11307 * symtab.c: Delete #include "psymtab.h".
11308
11309 2014-01-14 Pedro Alves <palves@redhat.com>
11310 Tom Tromey <tromey@redhat.com>
11311
11312 * infrun.c (use_displaced_stepping): Use find_record_target
11313 instead of RECORD_IS_USED.
11314 (adjust_pc_after_break): Use record_full_is_used instead of
11315 RECORD_IS_USED.
11316 * record-btrace.c (record_btrace_open): Call record_preopen
11317 instead of checking RECORD_IS_USED.
11318 * record-full.c (record_full_shortname)
11319 (record_full_core_shortname): New globals.
11320 (record_full_is_used): New function.
11321 (find_full_open): Call record_preopen instead of checking
11322 RECORD_IS_USED.
11323 (init_record_full_ops): Set the target's shortname to
11324 record_full_shortname.
11325 (init_record_full_core_ops): Set the target's shortname to
11326 record_full_core_shortname.
11327 * record-full.h (record_full_is_used): Declare.
11328 * record.c (find_record_target): Make extern.
11329 (record_preopen): New function.
11330 * record.h (RECORD_IS_USED): Delete macro.
11331 (find_record_target, record_preopen): Declare functions.
11332
11333 2014-01-14 Yao Qi <yao@codesourcery.com>
11334
11335 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11336 'len''s type to ULONGEST.
11337 (core_xfer_shared_libraries_aix): Likewise.
11338 * gdbarch.c, gdbarch.h: Regenerated.
11339 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11340 Change type of 'len' to ULONGEST.
11341 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11342 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11343
11344 2014-01-14 Yao Qi <yao@codesourcery.com>
11345
11346 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11347 type of 'len' to ULONGEST.
11348 (linux_xfer_osdata_processgroups): Likewise.
11349 (linux_xfer_osdata_threads): Likewise.
11350 (linux_xfer_osdata_fds): Likewise.
11351 (linux_xfer_osdata_isockets): Likewise.
11352 (linux_xfer_osdata_shm): Likewise.
11353 (linux_xfer_osdata_sem): Likewise.
11354 (linux_xfer_osdata_msg): Likewise.
11355 (linux_common_xfer_osdata): Likewise.
11356 (struct osdata_type) <getter>: Likewise.
11357 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11358 the declaration.
11359
11360 2014-01-14 Yao Qi <yao@codesourcery.com>
11361
11362 * target.h (target_xfer_partial_ftype): Update.
11363 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11364 ULONGEST.
11365 * aix-thread.c (aix_thread_xfer_partial): Change type of
11366 argument 'len' to ULONGEST.
11367 * auxv.c (procfs_xfer_auxv): Likewise.
11368 (ld_so_xfer_auxv): Likewise.
11369 (memory_xfer_auxv): Likewise.
11370 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11371 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11372 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11373 * corelow.c (core_xfer_partial): Likewise.
11374 * ctf.c (ctf_xfer_partial): Likewise.
11375 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11376 '%u'.
11377 (darwin_read_dyld_info): Likewise.
11378 (darwin_xfer_partial): Likewise.
11379 * exec.c (section_table_xfer_memory_partial): Likewise.
11380 (exec_xfer_partial): Likewise.
11381 * exec.h (section_table_xfer_memory_partial): Update
11382 declaration.
11383 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11384 instead of plongest.
11385 (gnu_xfer_partial): Likewise.
11386 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11387 (ia64_hpux_xfer_solib_got): Likewise.
11388 (ia64_hpux_xfer_partial): Likewise.
11389 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11390 * inf-ptrace.c (inf_ptrace_xfer_partial):
11391 * inf-ttrace.c (inf_ttrace_xfer_partial):
11392 * linux-nat.c (linux_xfer_siginfo): Likewise.
11393 (linux_nat_xfer_partial): Likewise.
11394 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11395 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11396 * monitor.c (monitor_xfer_memory): Likewise.
11397 (monitor_xfer_partial): Likewise.
11398 * procfs.c (procfs_xfer_partial): Likewise.
11399 * record-full.c (record_full_xfer_partial): Likewise.
11400 (record_full_core_xfer_partial): Likewise.
11401 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11402 instead of plongest.
11403 (gdbsim_xfer_partial): Likewise.
11404 * remote.c (remote_xfer_partial): Likewise.
11405 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11406 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11407 declaration.
11408 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11409 (rs6000_xfer_shared_libraries): Likewise.
11410 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11411 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11412 (sparc_xfer_partial): Likewise.
11413 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11414 (spu_xfer_partial): Likewise.
11415 * spu-multiarch.c (spu_xfer_partial): Likewise.
11416 * target.c (target_read_live_memory): Likewise.
11417 (memory_xfer_live_readonly_partial): Likewise.
11418 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11419 (target_xfer_partial, default_xfer_partial): Likewise.
11420 (current_xfer_partial): Likewise.
11421 * tracepoint.c (tfile_xfer_partial): Likewise.
11422 * windows-nat.c (windows_xfer_memory): Likewise. Call
11423 pulongest instead of plongest.
11424 (windows_xfer_partial): Likewise.
11425 (windows_xfer_shared_libraries): Likewise.
11426
11427 2014-01-14 Yao Qi <yao@codesourcery.com>
11428
11429 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11430 target_xfer_partial_ftype.
11431
11432 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11433
11434 PR python/15464
11435 PR python/16113
11436 * valops.c (value_struct_elt_bitpos): New function
11437 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11438 object to 'None' if the field name is an empty string ("").
11439 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11440 attribute to look for a field when 'name' is 'None'.
11441 (get_field_type): New function
11442
11443 2014-01-13 Doug Evans <dje@google.com>
11444
11445 PR symtab/16426
11446 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11447 (try_open_dwop_file): Ditto.
11448 * gdb_bfd.c: #include "vec.h".
11449 (bfdp): New typedef.
11450 (struct gdb_bfd_data): New member included_bfds.
11451 (gdb_bfd_unref): Unref all included bfds.
11452 (gdb_bfd_record_inclusion): New function.
11453 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11454
11455 2014-01-13 Tom Tromey <tromey@redhat.com>
11456
11457 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11458
11459 2014-01-13 Tom Tromey <tromey@redhat.com>
11460
11461 * defs.h (use_windows): Remove.
11462 * gdb.c (main): Update.
11463 * main.c (captured_main, gdb_main): Update.
11464 * main.h (struct captured_main_args) <use_windows>: Remove.
11465 * top.c (use_windows): Remove.
11466
11467 2014-01-13 Tom Tromey <tromey@redhat.com>
11468
11469 * defs.h (deprecated_flush_hook): Remove.
11470
11471 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11472
11473 PR threads/16216
11474 * linux-thread-db.c (try_thread_db_load): Add parameter
11475 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11476 (try_thread_db_load_from_pdir_1): Move it there from here.
11477 (try_thread_db_load_from_sdir): Update caller.
11478 (try_thread_db_load_from_dir): Move it there from here.
11479
11480 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11481
11482 * regformats/regdat.sh: Always rewrite the register file.
11483
11484 2014-01-13 Pedro Alves <palves@redhat.com>
11485
11486 * Makefile.in (CHECK_HEADERS): New variable.
11487 (check-headers:): New rule.
11488
11489 2014-01-13 Tom Tromey <tromey@redhat.com>
11490
11491 * cli/cli-setshow.c (do_set_command): Update.
11492 * defs.h (deprecated_set_hook): Remove.
11493 * top.c (deprecated_set_hook): Remove.
11494
11495 2014-01-13 Pedro Alves <palves@redhat.com>
11496
11497 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11498 the tracepoint if the PC is a pseudo-register.
11499
11500 2014-01-13 Tom Tromey <tromey@redhat.com>
11501
11502 * defs.h (XCALLOC): Remove.
11503 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11504 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11505 * dwarf2loc.c (allocate_piece_closure): Likewise.
11506 * elfread.c (elf_symfile_segments): Likewise.
11507 (elf_symfile_segments): Likewise.
11508 * gdbtypes.c (copy_type_recursive): Likewise.
11509 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11510 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11511 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11512 XCALLOC.
11513 * mt-tdep.c (mt_gdbarch_init): Likewise.
11514 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11515 XCALLOC.
11516 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11517 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11518 * registry.c (registry_alloc_data): Likewise.
11519 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11520 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11521 * serial.c (serial_fdopen_ops): Likewise.
11522 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11523 XCALLOC.
11524 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11525 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11526 not XCALLOC.
11527
11528 2014-01-13 Tom Tromey <tromey@redhat.com>
11529
11530 * defs.h (XMALLOC): Remove.
11531 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11532 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11533 * cli-out.c (struct ui_out *): Likewise.
11534 * cli/cli-dump.c (add_dump_command): Likewise.
11535 (add_dump_command): Likewise.
11536 * complaints.c (get_complaints): Likewise.
11537 (find_complaint): Likewise.
11538 * dwarf2-frame.c (execute_cfa_program): Likewise.
11539 * dwarf2read.c (abbrev_table_read_table): Likewise.
11540 * gdbarch.sh: Likewise.
11541 * gdbarch.c: Rebuild.
11542 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11543 * interps.c (interp_new): Likewise.
11544 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11545 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11546 * mi/mi-console.c (mi_console_file_new): Likewise.
11547 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11548 * mi/mi-out.c (mi_out_new): Likewise.
11549 * mi/mi-parse.c (mi_parse): Likewise.
11550 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11551 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11552 * observer.c (xalloc_observer_list_node): Likewise.
11553 * regcache.c (regcache_xmalloc_1): Likewise.
11554 * reggroups.c (reggroup_new): Likewise.
11555 (_initialize_reggroup): Likewise.
11556 * registry.c (register_data_with_cleanup): Likewise.
11557 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11558 * ser-base.c (serial_ttystate): Likewise.
11559 * ser-mingw.c (make_pipe_state): Likewise.
11560 * ser-pipe.c (pipe_open): Likewise.
11561 * serial.c (serial_open): Likewise.
11562 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11563 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11564 (tui_alloc_win_info): Likewise.
11565 (tui_add_content_elements): Likewise.
11566 * tui/tui-file.c (tui_file_new): Likewise.
11567 * tui/tui-out.c (tui_out_new): Likewise.
11568 * ui-file.c (mem_file_new): Likewise.
11569 * ui-out.c (push_level): Likewise.
11570 (make_cleanup_ui_out_end): Likewise.
11571 (append_header_to_list): Likewise.
11572 (ui_out_new): Likewise.
11573 * user-regs.c (user_reg_add_builtin): Likewise.
11574
11575 2014-01-13 Tom Tromey <tromey@redhat.com>
11576
11577 * defs.h (XZALLOC): Remove.
11578 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11579 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11580 (get_ada_tasks_inferior_data): Likewise.
11581 * auto-load.c (get_auto_load_pspace_data): Likewise.
11582 * auxv.c (get_auxv_inferior_data): Likewise.
11583 * bfd-target.c (target_bfd_reopen): Likewise.
11584 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11585 (deprecated_insert_raw_breakpoint): Likewise.
11586 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11587 * corelow.c (core_open): Likewise.
11588 * darwin-nat.c (darwin_check_new_threads): Likewise.
11589 (darwin_attach_pid): Likewise.
11590 * dummy-frame.c (dummy_frame_push): Likewise.
11591 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11592 * dwarf2loc.c (allocate_piece_closure): Likewise.
11593 * elfread.c (elf_symfile_segments): Likewise.
11594 * eval.c (ptrmath_type_p): Likewise.
11595 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11596 * gdbtypes.c (alloc_type_arch): Likewise.
11597 (alloc_type_instance): Likewise.
11598 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11599 * inf-child.c (inf_child_can_use_agent): Likewise.
11600 * inflow.c (get_inflow_inferior_data): Likewise.
11601 * infrun.c (save_infcall_suspend_state): Likewise.
11602 * jit.c (jit_reader_load): Likewise.
11603 (get_jit_objfile_data): Likewise.
11604 (get_jit_program_space_data): Likewise.
11605 (jit_object_open_impl): Likewise.
11606 (jit_symtab_open_impl): Likewise.
11607 (jit_block_open_impl): Likewise.
11608 (jit_frame_sniffer): Likewise.
11609 * linux-fork.c (add_fork): Likewise.
11610 * maint.c (make_command_stats_cleanup): Likewise.
11611 * objfiles.c (get_objfile_pspace_data): Likewise.
11612 * opencl-lang.c (struct lval_closure): Likewise.
11613 * osdata.c (osdata_start_osdata): Likewise.
11614 * progspace.c (new_address_space): Likewise.
11615 (add_program_space): Likewise.
11616 * remote-sim.c (get_sim_inferior_data): Likewise.
11617 * sh-tdep.c (sh_gdbarch_init): Likewise.
11618 * skip.c (Ignore): Likewise.
11619 (skip_delete_command): Likewise.
11620 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11621 (library_list_start_library): Likewise.
11622 (solib_aix_current_sos): Likewise.
11623 * solib-darwin.c (get_darwin_info): Likewise.
11624 (darwin_current_sos): Likewise.
11625 * solib-dsbt.c (get_dsbt_info): Likewise.
11626 * solib-ia64-hpux.c (new_so_list): Likewise.
11627 (ia64_hpux_get_solib_linkage_addr): Likewise.
11628 * solib-spu.c (append_ocl_sos): Likewise.
11629 (spu_current_sos): Likewise.
11630 * solib-svr4.c (get_svr4_info): Likewise.
11631 (svr4_keep_data_in_core): Likewise.
11632 (library_list_start_library): Likewise.
11633 (svr4_default_sos): Likewise.
11634 (svr4_read_so_list): Likewise.
11635 * solib-target.c (library_list_start_library): Likewise.
11636 (solib_target_current_sos): Likewise.
11637 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11638 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11639 * symfile.c (default_symfile_segments): Likewise.
11640 * target-descriptions.c (tdesc_data_init): Likewise.
11641 (tdesc_create_reg): Likewise.
11642 (struct tdesc_type *): Likewise.
11643 (tdesc_create_vector): Likewise.
11644 (tdesc_set_struct_size): Likewise.
11645 (struct tdesc_type *): Likewise.
11646 (tdesc_free_feature): Likewise.
11647 (tdesc_create_feature): Likewise.
11648 * windows-nat.c (windows_add_thread): Likewise.
11649 (windows_make_so): Likewise.
11650 * xml-support.c (gdb_xml_body_text): Likewise.
11651 (gdb_xml_create_parser_and_cleanup): Likewise.
11652 (xml_process_xincludes): Likewise.
11653 * xml-syscall.c (allocate_syscalls_info): Likewise.
11654 (syscall_create_syscall_desc): Likewise.
11655
11656 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11657
11658 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11659 function, with code from i386_stap_parse_special_token.
11660 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11661 (i386_stap_parse_special_token): Move code to the two functions
11662 above; simplify it.
11663
11664 2014-01-09 Pedro Alves <palves@redhat.com>
11665 Hui Zhu <hui@codesourcery.com>
11666
11667 PR gdb/16101
11668 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11669 bp_err_string. Don't mark the location shlib_disabled if the
11670 error thrown wasn't a generic or memory error. Catch errors
11671 thrown while inserting breakpoints in overlayed code. Output
11672 error message of software breakpoints.
11673 * remote.c (remote_insert_breakpoint): If this breakpoint has
11674 target-side commands but this stub doesn't support Z0 packets,
11675 throw NOT_SUPPORTED_ERROR error.
11676 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11677 * target.h (target_insert_breakpoint): Extend comment.
11678 (target_insert_hw_breakpoint): Add comment.
11679
11680 2014-01-08 Pedro Alves <palves@redhat.com>
11681
11682 * remote.c (remote_add_thread): Add threads silently if starting
11683 up.
11684 (remote_notice_new_inferior): If in all-stop, and starting up,
11685 don't call notice_new_inferior.
11686 (get_current_thread): New function, factored out from ...
11687 (add_current_inferior_and_thread): ... this. Adjust.
11688 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11689 found any thread, then select the remote's current thread as GDB's
11690 current thread too.
11691
11692 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11693
11694 * NEWS: Create a new section for the next release branch.
11695 Rename the section of the current branch, now that it has
11696 been cut.
11697
11698 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11699
11700 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11701 * version.in: Bump version to 7.7.50.DATE-cvs.
11702
11703 2014-01-08 Yao Qi <yao@codesourcery.com>
11704
11705 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11706 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11707 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11708
11709 2014-01-08 Yao Qi <yao@codesourcery.com>
11710
11711 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11712 return value of bfd_get_filename to symbol_file_add_from_bfd.
11713
11714 2014-01-08 Pierre Muller <muller@sourceware.org>
11715
11716 Fix PR16201.
11717 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11718 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11719 to prim_record_mininal_symbol_and_info.
11720 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11721 in call to prim_record_minimal_symbol_and_info.
11722 (read_pe_exported_syms): Set index field of section_data.
11723
11724 2014-01-07 Andrew Pinski <apinski@cavium.com>
11725
11726 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11727 * features/aarch64.c: Regenerate.
11728
11729 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11730
11731 * target.c (return_null): Define.
11732 (update_current_target): Use it instead of return_zero for
11733 functions that return a pointer.
11734
11735 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11736
11737 * source.c (add_path): Fix check for duplicated paths in the previously
11738 included paths.
11739
11740 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11741
11742 * ada-lang.c: Remove duplicated include statements.
11743 * alphabsd-nat.c: Ditto.
11744 * amd64-darwin-tdep.c: Ditto.
11745 * amd64fbsd-nat.c: Ditto.
11746 * auto-load.c: Ditto.
11747 * ax-gdb.c: Ditto.
11748 * breakpoint.c: Ditto.
11749 * dbxread.c: Ditto.
11750 * fork-child.c: Ditto.
11751 * gdb_usleep.c: Ditto.
11752 * i386-darwin-tdep.c: Ditto.
11753 * i386fbsd-nat.c: Ditto.
11754 * infcmd.c: Ditto.
11755 * inferior.c: Ditto.
11756 * jv-lang.c: Ditto.
11757 * linux-nat.c: Ditto.
11758 * linux-tdep.c: Ditto.
11759 * m68kbsd-nat.c: Ditto.
11760 * m68klinux-nat.c: Ditto.
11761 * microblaze-tdep.c: Ditto.
11762 * mips-linux-tdep.c: Ditto.
11763 * mn10300-tdep.c: Ditto.
11764 * nto-tdep.c: Ditto.
11765 * opencl-lang.c: Ditto.
11766 * osdata.c: Ditto.
11767 * printcmd.c: Ditto.
11768 * regcache.c: Ditto.
11769 * remote-m32r-sdi.c: Ditto.
11770 * remote.c: Ditto.
11771 * symfile.c: Ditto.
11772 * symtab.c: Ditto.
11773 * tilegx-linux-nat.c: Ditto.
11774 * tilegx-tdep.c: Ditto.
11775 * tracepoint.c: Ditto.
11776 * valops.c: Ditto.
11777 * vaxbsd-nat.c: Ditto.
11778 * windows-nat.c: Ditto.
11779 * xtensa-tdep.c: Ditto.
11780
11781 2014-01-07 Yao Qi <yao@codesourcery.com>
11782
11783 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11784
11785 2014-01-07 Yao Qi <yao@codesourcery.com>
11786 Joel Brobecker <brobecker@adacore.com>
11787
11788 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11789 (pdc_write_regs): Likewise.
11790 (fetch_regs_kernel_thread): Likewise.
11791 (store_regs_kernel_thread): Likewise.
11792
11793 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11794
11795 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11796 tagged type objects to their actual type.
11797
11798 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11799
11800 * ada-valprint.c (print_field_values): Add "language" parameter.
11801 Update calls to print_field_values and print_variant_part.
11802 Pass new parameter "language" in call to val_print instead
11803 of "current_language". Replace call to ada_val_print by call
11804 to val_print.
11805 (print_variant_part): Add "language" parameter.
11806 (ada_val_print_struct_union): Update call to print_field_values.
11807
11808 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11809
11810 * ada-valprint.c (ui_memcpy): Delete.
11811 (ada_print_floating): Update documentation. Add empty line
11812 between between function documentation and implementation.
11813 Delete variable "buffer". Use ui_file_xstrdup in place of
11814 ui_file_put. Minor adjustments following this change.
11815
11816 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11817
11818 * ada-valprint.c (ada_val_print_string): New function,
11819 extracted from ada_val_print_array.
11820 (ada_val_print_array): Replace extracted code by call
11821 to ada_val_print_string followed by a return. Move
11822 "else" branch to the function's top block.
11823
11824 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11825
11826 * ada-valprint.c (ada_val_print_array): Move implementation
11827 down. Rename parameter "offset" and "val" into "offset_aligned"
11828 and "original_value" respectively. Add parameter "offset".
11829
11830 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11831
11832 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11833 re-organizing the code. Change the "???" message printed
11834 when target type is a TYPE_CODE_UNDEF into
11835 "<ref to undefined type>".
11836
11837 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11838
11839 * ada-valprint.c (print_record): Delete, implementation inlined...
11840 (ada_val_print_struct_union): ... here. Remove call to
11841 ada_check_typedef in inlined implementation.
11842
11843 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11844
11845 * ada-valprint.c (ada_val_print_gnat_array): New function,
11846 extracted from ada_val_print_1;
11847 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11848 (ada_val_print_flt, ada_val_print_struct_union)
11849 (ada_val_print_ref): Likewise.
11850 (ada_val_print_1): Delete variables i and elttype.
11851 Replace extracted-out code by call to corresponding
11852 new functions.
11853
11854 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11855
11856 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11857
11858 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11859
11860 * ada-valprint.c (ada_val_print_1): Replace calls to
11861 ada_val_print_1 by calls to val_print.
11862
11863 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11864
11865 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11866 Update calls to self accordingly. Replace calls to c_val_print
11867 by calls to val_print.
11868
11869 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11870
11871 * ada-valprint.c (print_record): Delete declaration.
11872 (adjust_type_signedness, ada_val_print_1): Likewise.
11873 (ada_val_print): Move function implementation down.
11874 (print_variant_part, print_field_values, print_record):
11875 Move function implementation up.
11876
11877 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11878
11879 * python/py-type.c (typy_get_name): New function.
11880 (type_object_getset): Add entry for attribute "name".
11881 * NEWS: Add entry mentioning this new attribute.
11882
11883 2014-01-07 Yao Qi <yao@codesourcery.com>
11884
11885 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11886 statement.
11887
11888 2014-01-07 Yao Qi <yao@codesourcery.com>
11889
11890 * gnu-nat.c (info_port_rights): Add qualifier const to
11891 argument args.
11892
11893 2014-01-07 Yao Qi <yao@codesourcery.com>
11894
11895 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11896
11897 2014-01-07 Yao Qi <yao@codesourcery.com>
11898
11899 * gnu-nat.c (make_inf) Update declaration.
11900 (make_inf): Make it static.
11901 (inf_set_traced): Likewise.
11902 (inf_port_to_thread, inf_task_died_status): Likewise.
11903
11904 2014-01-07 Yao Qi <yao@codesourcery.com>
11905
11906 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11907
11908 2014-01-07 Yao Qi <yao@codesourcery.com>
11909
11910 * gnu-nat.c (_initialize_gnu_nat): Declare.
11911
11912 2014-01-07 Yao Qi <yao@codesourcery.com>
11913
11914 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11915 'enum bfd_endian'.
11916 (struct gdbarch_info) <byte_order>: Change type to
11917 'enum bfd_endian'.
11918 <byte_order_for_code>: Likewise.
11919 * gdbarch.c, gdbarch.h: Regenerated.
11920
11921 2014-01-06 Sasha Smundak <asmundak@google.com>
11922
11923 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11924
11925 2014-01-06 Tom Tromey <tromey@redhat.com>
11926
11927 * doublest.c (convert_doublest_to_floatformat): Use const, not
11928 CONST.
11929 * somread.c (som_symtab_read): Likewise.
11930
11931 2014-01-07 Hui Zhu <hui@codesourcery.com>
11932
11933 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11934 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11935 (gdb_bfd_fopen): Ditto.
11936 (gdb_bfd_openr): Ditto.
11937 (gdb_bfd_openw): Ditto.
11938 (gdb_bfd_openr_iovec): Ditto.
11939 (gdb_bfd_fdopenr): Ditto.
11940 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
11941 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
11942 with xstrdup.
11943 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
11944 with xstrdup.
11945 * symfile-mem.c (symbol_file_add_from_memory): Removed
11946 gdb_bfd_stash_filename.
11947
11948 2014-01-03 Doug Evans <dje@google.com>
11949
11950 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
11951 output.
11952
11953 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11954
11955 Update year range in copyright notice of all files.
11956
11957 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11958
11959 * top.c (print_gdb_version): Set copyright year to 2014.
11960
11961 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11962
11963 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
11964
11965 For older changes see ChangeLog-2013.
11966 \f
11967 Local Variables:
11968 mode: change-log
11969 left-margin: 8
11970 fill-column: 74
11971 version-control: never
11972 coding: utf-8
11973 End:
This page took 0.257139 seconds and 5 git commands to generate.